diff options
author | fluxgen <fluxgen> | 2003-04-20 14:39:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-20 14:39:34 (GMT) |
commit | 8137eb377ac0d1a9eede02cc279793fcfc0739bb (patch) | |
tree | b9cfe9e0dfdabd817b0a5c6c1560b45ea89d10d6 /configure.in | |
parent | 4be176add0819cb57c1e9a4ac01168fffddd0667 (diff) | |
download | fluxbox_lack-8137eb377ac0d1a9eede02cc279793fcfc0739bb.zip fluxbox_lack-8137eb377ac0d1a9eede02cc279793fcfc0739bb.tar.bz2 |
fixed xrender checking, HAVE_XRENDER defined when you have xrender
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 581bc2b..34feb1d 100644 --- a/configure.in +++ b/configure.in | |||
@@ -104,7 +104,7 @@ AC_ARG_ENABLE( | |||
104 | AC_MSG_CHECKING([whether to include the new WM Spec]) | 104 | AC_MSG_CHECKING([whether to include the new WM Spec]) |
105 | AC_ARG_ENABLE( | 105 | AC_ARG_ENABLE( |
106 | newwmspec, | 106 | newwmspec, |
107 | [ --enable-newwmspec include code for the new WM Spec [default=yes]], | 107 | [ --enable-newwmspec include code for the new WM Spec [default=yes]], |
108 | if test x$enableval = "xyes"; then | 108 | if test x$enableval = "xyes"; then |
109 | AC_MSG_RESULT([yes]) | 109 | AC_MSG_RESULT([yes]) |
110 | NEWWMSPEC=true | 110 | NEWWMSPEC=true |
@@ -205,7 +205,7 @@ dnl Check GNOME | |||
205 | AC_MSG_CHECKING([whether to have GNOME support]) | 205 | AC_MSG_CHECKING([whether to have GNOME support]) |
206 | AC_ARG_ENABLE( | 206 | AC_ARG_ENABLE( |
207 | gnome, | 207 | gnome, |
208 | [ --enable-gnome GNOME support [default=yes]], | 208 | [ --enable-gnome GNOME support [default=yes]], |
209 | if test x$enableval = "xyes"; then | 209 | if test x$enableval = "xyes"; then |
210 | AC_MSG_RESULT([yes]) | 210 | AC_MSG_RESULT([yes]) |
211 | AC_DEFINE(USE_GNOME, 1, "Gnome 1 support") | 211 | AC_DEFINE(USE_GNOME, 1, "Gnome 1 support") |
@@ -249,6 +249,27 @@ fi | |||
249 | 249 | ||
250 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) | 250 | AM_CONDITIONAL(XFT, test x$XFT = xtrue) |
251 | 251 | ||
252 | AC_MSG_CHECKING([wheter to have Xrender (transparent) support]) | ||
253 | AC_ARG_ENABLE( | ||
254 | xrender, | ||
255 | [ --enable-xrender Xrender (transparent) support [default=yes]], | ||
256 | if test x$enableval = "xyes"; then | ||
257 | AC_MSG_RESULT([yes]) | ||
258 | AC_CHECK_LIB(Xrender, XRenderCreatePicture, | ||
259 | AC_DEFINE(HAVE_XRENDER, 1, "Xrender support") | ||
260 | LIBS="$LIBS -lXrender") | ||
261 | else | ||
262 | AC_MSG_RESULT([no]) | ||
263 | fi, | ||
264 | AC_MSG_RESULT([yes]) | ||
265 | AC_CHECK_LIB(Xrender, XRenderCreatePicture, | ||
266 | AC_DEFINE(HAVE_XRENDER, 1, "Xrender support") | ||
267 | LIBS="$LIBS -lXrender") | ||
268 | ) | ||
269 | |||
270 | |||
271 | |||
272 | |||
252 | 273 | ||
253 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) | 274 | AC_MSG_CHECKING([whether to have Xmb (multibyte font, utf-8) support]) |
254 | AC_ARG_ENABLE( | 275 | AC_ARG_ENABLE( |