diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d03429e..5fd74a9 100644 --- a/configure.in +++ b/configure.in | |||
@@ -426,6 +426,32 @@ AC_ARG_ENABLE( | |||
426 | 426 | ||
427 | AM_CONDITIONAL(XPM, test x$XPM = xtrue) | 427 | AM_CONDITIONAL(XPM, test x$XPM = xtrue) |
428 | 428 | ||
429 | IMLIB2=false | ||
430 | AC_MSG_CHECKING([whether to have Imlib2 (pixmap themes) support]) | ||
431 | AC_ARG_ENABLE(imlib2, | ||
432 | [ --enable-imlib2 Imlib2 (pixmap themes) support [default=no]]) | ||
433 | |||
434 | if test "x$enableval" = "xyes"; then | ||
435 | AC_MSG_RESULT([yes]) | ||
436 | AC_PATH_GENERIC(imlib2, 1.0.0, | ||
437 | [ | ||
438 | IMLIB2=true | ||
439 | AC_DEFINE(HAVE_IMLIB2, [], [Imlib2 support]) | ||
440 | IMLIB2_LIBS=`imlib2-config --libs` | ||
441 | IMLIB2_CFLAGS=`imlib2-config --cflags` | ||
442 | LIBS="$LIBS $IMLIB2_LIBS" | ||
443 | CXXFLAGS="$CXXFLAGS $IMLIB2_CFLAGS" | ||
444 | ], | ||
445 | [ | ||
446 | AC_MSG_RESULT(no) | ||
447 | ]) | ||
448 | else | ||
449 | AC_MSG_RESULT([no]) | ||
450 | fi | ||
451 | |||
452 | AM_CONDITIONAL(IMLIB2, test x$IMLIB2 = xtrue) | ||
453 | |||
454 | |||
429 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) | 455 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) |
430 | AC_ARG_ENABLE( | 456 | AC_ARG_ENABLE( |
431 | xmb, | 457 | xmb, |