diff options
author | fluxgen <fluxgen> | 2003-04-28 22:19:54 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-28 22:19:54 (GMT) |
commit | 3c3f80fb867d0496a37160f0422a9914eb438a9c (patch) | |
tree | f99c701011ca8ca6c4116488ad9a49064a9f824b | |
parent | 41c0ea543c68b54fd4eef78a773d8d8d179963fd (diff) | |
download | fluxbox_lack-3c3f80fb867d0496a37160f0422a9914eb438a9c.zip fluxbox_lack-3c3f80fb867d0496a37160f0422a9914eb438a9c.tar.bz2 |
fixed xpm support
-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 | ||