From be4cb4385d5cba2da21c695c6abbbd835cce77ea Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 20 Apr 2008 12:19:22 +0000 Subject: [PATCH] add X status to the summary display SVN revision: 34326 --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 99abac7..10dcc20 100644 --- a/configure.in +++ b/configure.in @@ -194,13 +194,13 @@ if test "x$have_x" = "xyes"; then x_dir=${x_dir:-/usr/X11R6} x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}} x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext" - AM_CONDITIONAL(BUILD_X11, true) AC_DEFINE(BUILD_X11, 1, [enabling X11 support]) else x_cflags="" x_libs="" - AM_CONDITIONAL(BUILD_X11, false) + have_x="no" fi +AM_CONDITIONAL(BUILD_X11, test "x$have_x" = "xyes") dlopen_libs="" AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl) @@ -610,6 +610,7 @@ echo " GIF.....................: $gif_ok" echo " ZLIB....................: $zlib_ok" echo " BZIP2...................: $bz2_ok" echo " ID3.....................: $id3_ok" +echo " X.......................: $have_x" echo echo echo "Use X86 MMX for speed.....: $mmx"