fixed xrender checking, HAVE_XRENDER defined when you have xrender
This commit is contained in:
parent
4be176add0
commit
8137eb377a
1 changed files with 23 additions and 2 deletions
25
configure.in
25
configure.in
|
@ -104,7 +104,7 @@ AC_ARG_ENABLE(
|
||||||
AC_MSG_CHECKING([whether to include the new WM Spec])
|
AC_MSG_CHECKING([whether to include the new WM Spec])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
newwmspec,
|
newwmspec,
|
||||||
[ --enable-newwmspec include code for the new WM Spec [default=yes]],
|
[ --enable-newwmspec include code for the new WM Spec [default=yes]],
|
||||||
if test x$enableval = "xyes"; then
|
if test x$enableval = "xyes"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
NEWWMSPEC=true
|
NEWWMSPEC=true
|
||||||
|
@ -205,7 +205,7 @@ dnl Check GNOME
|
||||||
AC_MSG_CHECKING([whether to have GNOME support])
|
AC_MSG_CHECKING([whether to have GNOME support])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
gnome,
|
gnome,
|
||||||
[ --enable-gnome GNOME support [default=yes]],
|
[ --enable-gnome GNOME support [default=yes]],
|
||||||
if test x$enableval = "xyes"; then
|
if test x$enableval = "xyes"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(USE_GNOME, 1, "Gnome 1 support")
|
AC_DEFINE(USE_GNOME, 1, "Gnome 1 support")
|
||||||
|
@ -249,6 +249,27 @@ fi
|
||||||
|
|
||||||
AM_CONDITIONAL(XFT, test x$XFT = xtrue)
|
AM_CONDITIONAL(XFT, test x$XFT = xtrue)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([wheter to have Xrender (transparent) support])
|
||||||
|
AC_ARG_ENABLE(
|
||||||
|
xrender,
|
||||||
|
[ --enable-xrender Xrender (transparent) support [default=yes]],
|
||||||
|
if test x$enableval = "xyes"; then
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_CHECK_LIB(Xrender, XRenderCreatePicture,
|
||||||
|
AC_DEFINE(HAVE_XRENDER, 1, "Xrender support")
|
||||||
|
LIBS="$LIBS -lXrender")
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
fi,
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_CHECK_LIB(Xrender, XRenderCreatePicture,
|
||||||
|
AC_DEFINE(HAVE_XRENDER, 1, "Xrender support")
|
||||||
|
LIBS="$LIBS -lXrender")
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support])
|
AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
|
|
Loading…
Reference in a new issue