X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9015ce354743d7a3a73400c8b91cd85a6ceaeb96..e926fbc3973297be694469ce932cb40cea5356c7:/configure.ac diff --git a/configure.ac b/configure.ac index 89ab3f06..49bf6d2d 100755 --- a/configure.ac +++ b/configure.ac @@ -45,9 +45,14 @@ AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") JPEG_LIBS="-ljpeg" AC_SUBST(JPEG_LIBS) -AC_CHECK_LIB(ungif, DGifOpenFileName, HAVE_LIBUNGIF="yes", HAVE_LIBUNGIF="no") -LIBUNGIF_LIBS="-lungif" -AC_SUBST(LIBUNGIF_LIBS) +AC_SUBST(LIBUNGIF_LIBS,"") +AC_CHECK_HEADERS(gif_lib.h, + AC_CHECK_LIB(ungif,DGifOpen, + [AC_DEFINE(HAVE_LIBUNGIF,1,[Define if you have libgif/libungif including devel headers]) + LIBUNGIF_LIBS="-lungif"], + [AC_CHECK_LIB(gif,DGifOpen, + [AC_DEFINE(HAVE_LIUNBGIF,1) + LIBUNGIF_LIBS="-lgif"])])) TUXBOX_APPS_LIB_PKGCONFIG(XML2,libxml-2.0) @@ -108,7 +113,7 @@ lib/python/Components/Sources/Makefile lib/python/Screens/Makefile lib/python/Plugins/Makefile lib/python/Plugins/SystemPlugins/Makefile -lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile +lib/python/Plugins/SystemPlugins/SoftwareManager/Makefile lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile lib/python/Plugins/SystemPlugins/Hotplug/Makefile