Enlightenment CVS committal Author : mej Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2 Modified Files: configure.in Log Message: Mon Mar 10 22:38:16 2008 Michael Jennings (mej) Do not use PKG_CHECK_EXISTS. ---------------------------------------------------------------------- =================================================================== RCS file: /cvs/e/e17/libs/imlib2/configure.in,v retrieving revision 1.144 retrieving revision 1.145 diff -u -3 -r1.144 -r1.145 --- configure.in 25 Jan 2008 03:35:49 -0000 1.144 +++ configure.in 11 Mar 2008 05:38:05 -0000 1.145 @@ -273,15 +273,11 @@ AC_MSG_RESULT($png_loader) if test "$png_loader" != no ; then - PKG_CHECK_EXISTS(libpng12, - [ PKG_CHECK_MODULES(PNG, libpng12, [ png_ok="yes" ], [ png_ok="no"]) ], - [ - PKG_CHECK_EXISTS(libpng10, - [ PKG_CHECK_MODULES(PNG, libpng10, [ png_ok="yes" ], [ png_ok="no"]) ], - [ PKG_CHECK_MODULES(PNG, libpng, [ png_ok="yes" ], [ png_ok="no"]) ] - ) - ] - ) + PKG_CHECK_MODULES(PNG, libpng, [ png_ok="yes" ], [ + PKG_CHECK_MODULES(PNG, libpng12, [ png_ok="yes" ], [ + PKG_CHECK_MODULES(PNG, libpng10, [ png_ok="yes" ], [ png_ok="no"]) + ]) + ]) fi AM_CONDITIONAL(BUILD_PNG_LOADER, test "$png_ok" = yes) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs