Enlightenment CVS committal Author : englebass Project : e17 Module : apps/emphasis
Dir : e17/apps/emphasis Modified Files: configure.in Log Message: Better configure check and define =================================================================== RCS file: /cvs/e/e17/apps/emphasis/configure.in,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- configure.in 5 Jan 2008 15:47:29 -0000 1.17 +++ configure.in 8 Jan 2008 18:52:50 -0000 1.18 @@ -75,16 +75,8 @@ # now check for the actual version of libmpd -- it seems stupid enough # not to publish its version number via the headers or the lib itself. -libmpd_v_cflags="" -if `pkg-config --atleast-version=0.12.4 libmpd` -then - libmpd_v_cflags="-DLIBMPD_0_12_4" -fi -if `pkg-config --atleast-version=0.13 libmpd` -then - libmpd_v_cflags="${libmpd_v_cflags} -DLIBMPD_0_13" -fi -AC_SUBST(libmpd_v_cflags) +PKG_CHECK_EXISTS(libmpd >= 0.12.4, AC_DEFINE(LIBMPD_0_12_4, 1, [ Have libmpd >= 0.12.4 ]), []) +PKG_CHECK_EXISTS(libmpd >= 0.13, AC_DEFINE(LIBMPD_0_13, 1, [ Have libmpd >= 0.13 ]), []) AC_OUTPUT([ Makefile ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs