fixed xpm support
This commit is contained in:
parent
41c0ea543c
commit
3c3f80fb86
1 changed files with 19 additions and 1 deletions
20
configure.in
20
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")
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue