Enlightenment CVS committal Author : vapier Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2 Modified Files: configure.in Log Message: need to call AC_PATH_X to make sure have_x is set early enough and then we need to not clobber it when checking for X11/X.h =================================================================== RCS file: /cvs/e/e17/libs/imlib2/configure.in,v retrieving revision 1.134 retrieving revision 1.135 diff -u -3 -r1.134 -r1.135 --- configure.in 7 Nov 2006 04:37:34 -0000 1.134 +++ configure.in 8 Nov 2006 06:46:58 -0000 1.135 @@ -183,10 +183,13 @@ freetype_cflags=`$FREETYPE_CONFIG --cflags` freetype_libs=`$FREETYPE_CONFIG --libs` -AC_CHECK_HEADER(X11/X.h, - [ have_x="yes" ], - [ have_x="no" ]) - +AC_PATH_X +if test "x$have_x" != "xdisabled"; then + AC_CHECK_HEADER(X11/X.h, + [ have_x="yes" ], + [ have_x="no" ]) +fi + if test "x$have_x" = "xno"; then # If --without-x was passed, this will be "disabled" instead of "no" -- # so always treat "no" as an error ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs