diff options
-rw-r--r-- | configure.in | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 37c612e..dd36e9c 100644 --- a/configure.in +++ b/configure.in | |||
@@ -263,7 +263,7 @@ fi | |||
263 | 263 | ||
264 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) | 264 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) |
265 | 265 | ||
266 | AC_MSG_CHECKING([wheter to have Xrender (transparent) support]) | 266 | AC_MSG_CHECKING([whether to have Xrender (transparent) support]) |
267 | AC_ARG_ENABLE( | 267 | AC_ARG_ENABLE( |
268 | xrender, | 268 | xrender, |
269 | [ --enable-xrender Xrender (transparent) support [default=yes]], | 269 | [ --enable-xrender Xrender (transparent) support [default=yes]], |
@@ -281,6 +281,24 @@ AC_ARG_ENABLE( | |||
281 | LIBS="$LIBS -lXrender") | 281 | LIBS="$LIBS -lXrender") |
282 | ) | 282 | ) |
283 | 283 | ||
284 | AC_MSG_CHECKING([whether to have Xpm (pixmap themes) support]) | ||
285 | AC_ARG_ENABLE( | ||
286 | xpm, | ||
287 | [ --enable-xpm Xpm (pixmap themes) support [default=yes]], | ||
288 | if test x$enableval = "xyes"; then | ||
289 | AC_MSG_RESULT([yes]) | ||
290 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, | ||
291 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") | ||
292 | LIBS="$LIBS -lXpm") | ||
293 | else | ||
294 | AC_MSG_RESULT([no]) | ||
295 | fi, | ||
296 | AC_MSG_RESULT([yes]) | ||
297 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, | ||
298 | AC_DEFINE(HAVE_XPM, 1, "Xpm support") | ||
299 | LIBS="$LIBS -lXpm") | ||
300 | ) | ||
301 | |||
284 | 302 | ||
285 | 303 | ||
286 | 304 | ||