diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 680881e..781f9ad 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,7 +1,7 @@ | |||
1 | dnl Initialize autoconf and automake | 1 | dnl Initialize autoconf and automake |
2 | AC_INIT(src/main.cc) | 2 | AC_INIT(src/main.cc) |
3 | AC_PREREQ(2.52) | 3 | AC_PREREQ(2.52) |
4 | AM_INIT_AUTOMAKE(fluxbox,0.9.5, no-define) | 4 | AM_INIT_AUTOMAKE(fluxbox,0.9.5pre1, no-define) |
5 | 5 | ||
6 | dnl Determine default prefix | 6 | dnl Determine default prefix |
7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
@@ -354,6 +354,7 @@ AC_ARG_ENABLE( | |||
354 | LIBS="$LIBS -lXrender") | 354 | LIBS="$LIBS -lXrender") |
355 | ) | 355 | ) |
356 | 356 | ||
357 | XPM=false | ||
357 | AC_MSG_CHECKING([whether to have Xpm (pixmap themes) support]) | 358 | AC_MSG_CHECKING([whether to have Xpm (pixmap themes) support]) |
358 | AC_ARG_ENABLE( | 359 | AC_ARG_ENABLE( |
359 | xpm, | 360 | xpm, |
@@ -362,6 +363,7 @@ AC_ARG_ENABLE( | |||
362 | AC_MSG_RESULT([yes]) | 363 | AC_MSG_RESULT([yes]) |
363 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, | 364 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, |
364 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") | 365 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") |
366 | XPM=true | ||
365 | LIBS="$LIBS -lXpm") | 367 | LIBS="$LIBS -lXpm") |
366 | else | 368 | else |
367 | AC_MSG_RESULT([no]) | 369 | AC_MSG_RESULT([no]) |
@@ -369,9 +371,11 @@ AC_ARG_ENABLE( | |||
369 | AC_MSG_RESULT([yes]) | 371 | AC_MSG_RESULT([yes]) |
370 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, | 372 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, |
371 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") | 373 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") |
374 | XPM=true | ||
372 | LIBS="$LIBS -lXpm") | 375 | LIBS="$LIBS -lXpm") |
373 | ) | 376 | ) |
374 | 377 | ||
378 | AM_CONDITIONAL(XPM, test x$XPM = xtrue) | ||
375 | 379 | ||
376 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) | 380 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) |
377 | AC_ARG_ENABLE( | 381 | AC_ARG_ENABLE( |