On Thu, 17 Feb 2005 20:36:20 -0600 "Laurence J. Lane" <[EMAIL PROTECTED]> (Bbabbled: (B (B> Stuff broke with the X header detection in imlib2's (B> configure script. (See http://bugs.debian.org/295350 (B> for details.) (B (Bthanks for the info :) fixed :) (B (B> Steven Langasek provided a patch. (B> (B> (B> --- imlib2-1.2.0.orig/configure.in (B> +++ imlib2-1.2.0/configure.in (B> @@ -139,35 +139,28 @@ (B> freetype_cflags=`$FREETYPE_CONFIG --cflags` (B> freetype_libs=`$FREETYPE_CONFIG --libs` (B> (B> -x11=no (B> -AC_ARG_ENABLE(x11,[ --disable-x11 attempt to build with X11 (Bsupport [default=yes]], (B> -[ (B> - if test x$enableval = xyes; then (B> - have_x=yes (B> - else (B> - have_x=no (B> - fi (B> -], (B> -[ (B> - AC_CHECK_HEADER(X11/X.h, (B> - [ have_x="yes" ], (B> - [ have_x="no" ] (B> - ) (B> -] (B> -) (B> -AC_MSG_CHECKING(whether X11 support is to be enabled) (B> +AC_PATH_X([X], [X11/Xlib.h], [XOpenDisplay(NULL)]) (B> + (B> +if test "x$have_x" = "xno"; then (B> + # If --without-x was passed, this will be "disabled" instead of "no" -- (B> + # so always treat "no" as an error (B> + AC_MSG_ERROR( (B> +[no X support found. Use --x-includes and --x-libraries to specify the X (B> +path on your system, or --without-x to disable X support.]) (B> +fi (B> + (B> if test "x$have_x" = "xyes"; then (B> - x_dir="/usr/X11R6"; (B> - x_cflags="-I"$x_dir"/include" (B> - x_libs="-L"$x_dir"/lib -lX11 -lXext" (B> - AC_MSG_RESULT(enabling X11 support) (B> + if test "x$x_includes" != "x"; then (B> + x_cflags="-I$x_includes" (B> + fi (B> + if test "x$x_libraries" != "x"; then (B> + x_libs="-L$x_libraries -lX11 -lXext" (B> + fi (B> AM_CONDITIONAL(BUILD_X11, true) (B> AC_DEFINE(BUILD_X11, 1, [enabling X11 support]) (B> else (B> - x_dir="" (B> x_cflags="" (B> x_libs="" (B> - AC_MSG_RESULT(disabling X11 support) (B> AM_CONDITIONAL(BUILD_X11, false) (B> fi (B> (B> (B> (B> ------------------------------------------------------- (B> SF email is sponsored by - The IT Product Guide (B> Read honest & candid reviews on hundreds of IT Products from real users. (B> Discover which products truly live up to the hype. Start reading now. (B> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click (B> _______________________________________________ (B> enlightenment-devel mailing list (B> [email protected] (B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel (B> (B (B (B-- (B------------- Codito, ergo sum - "I code, therefore I am" -------------- (BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED] $BMg9%B?(B [EMAIL PROTECTED] (BTokyo, Japan ($BEl5~(B $BF|K\(B) (B (B (B------------------------------------------------------- (BSF email is sponsored by - The IT Product Guide (BRead honest & candid reviews on hundreds of IT Products from real users. (BDiscover which products truly live up to the hype. Start reading now. (Bhttp://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click (B_______________________________________________ (Benlightenment-devel mailing list ([email protected] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel
