From 7e110482499a8b7834f0f91b11df44b4826a6717 Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 1 Feb 2005 19:18:28 +0000 Subject: imlib2 wasnt default-off as it seems, this should fix it --- configure.in | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/configure.in b/configure.in index 40acb6b..f01c9f3 100644 --- a/configure.in +++ b/configure.in @@ -426,32 +426,33 @@ AC_ARG_ENABLE( AM_CONDITIONAL(XPM, test x$XPM = xtrue) +dnl Check whether to use imlib2 IMLIB2=false AC_MSG_CHECKING([whether to have Imlib2 (pixmap themes) support]) AC_ARG_ENABLE(imlib2, -[ --enable-imlib2 Imlib2 (pixmap themes) support [default=no]]) - -if test "x$enableval" = "xyes"; then - AC_MSG_RESULT([yes]) - AC_PATH_GENERIC(imlib2, 1.0.0, - [ + AC_HELP_STRING([--enable-imlib2], + [Imlib2 (pixmap themes) support [default=no]]), , + [enable_imlib2=no]) +if test x$enable_imlib2 = "xyes"; then + AC_MSG_RESULT([yes]) + AC_PATH_GENERIC(imlib2, 1.0.0, + [ IMLIB2=true AC_DEFINE(HAVE_IMLIB2, [], [Imlib2 support]) IMLIB2_LIBS=`imlib2-config --libs` IMLIB2_CFLAGS=`imlib2-config --cflags` LIBS="$LIBS $IMLIB2_LIBS" CXXFLAGS="$CXXFLAGS $IMLIB2_CFLAGS" - ], - [ - AC_MSG_RESULT(no) - ]) + ], [ AC_MSG_RESULT(no)] + ) else - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) fi AM_CONDITIONAL(IMLIB2, test x$IMLIB2 = xtrue) + AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) AC_ARG_ENABLE( xmb, @@ -493,7 +494,7 @@ dnl Check for Xinerama support AC_MSG_CHECKING([whether to build support for the Xinerama extension]) AC_ARG_ENABLE( xinerama, -[ --enable-xinerama enable xinerama extension [default=no]], +[ --enable-xinerama enable xinerama extension [default=no]], if test x$enableval = "xyes"; then AC_MSG_RESULT([yes]) AC_CHECK_LIB(Xinerama, XineramaQueryScreens, -- cgit v0.11.2