From 3c3f80fb867d0496a37160f0422a9914eb438a9c Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 28 Apr 2003 22:19:54 +0000 Subject: fixed xpm support --- configure.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 37c612e..dd36e9c 100644 --- a/configure.in +++ b/configure.in @@ -263,7 +263,7 @@ fi AM_CONDITIONAL(XFT, test x$XFT = xtrue) -AC_MSG_CHECKING([wheter to have Xrender (transparent) support]) +AC_MSG_CHECKING([whether to have Xrender (transparent) support]) AC_ARG_ENABLE( xrender, [ --enable-xrender Xrender (transparent) support [default=yes]], @@ -281,6 +281,24 @@ AC_ARG_ENABLE( LIBS="$LIBS -lXrender") ) +AC_MSG_CHECKING([whether to have Xpm (pixmap themes) support]) +AC_ARG_ENABLE( + xpm, +[ --enable-xpm Xpm (pixmap themes) support [default=yes]], + if test x$enableval = "xyes"; then + AC_MSG_RESULT([yes]) + AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, + AC_DEFINE(HAVE_XPM, 1, "Xpm support") + LIBS="$LIBS -lXpm") + else + AC_MSG_RESULT([no]) + fi, + AC_MSG_RESULT([yes]) + AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, + AC_DEFINE(HAVE_XPM, 1, "Xpm support") + LIBS="$LIBS -lXpm") +) + -- cgit v0.11.2