]> Dogcows Code - chaz/openbox/blobdiff - configure.ac
add the 'engine="box"' to the theme format, and require it to be there so we can...
[chaz/openbox] / configure.ac
index 4b85d8077089448cf662ad9b97ca5c5067536599..b6c7803f61b02074705c7cfb5bbc72fe27d71d46 100644 (file)
@@ -57,7 +57,7 @@ LIBTOOL="$LIBTOOL --silent"
 
 AC_PROG_INSTALL
 
-AM_GNU_GETTEXT_VERSION(0.12.1)
+AM_GNU_GETTEXT_VERSION(0.15)
 AM_GNU_GETTEXT([external])
 
 AC_CHECK_HEADERS(ctype.h fcntl.h locale.h signal.h string.h stdio.h stdlib.h)
@@ -84,8 +84,8 @@ AC_SUBST(XML_LIBS)
 
 AC_ARG_ENABLE(startup-notification,
   AC_HELP_STRING(
-    [--enable-startup-notification],
-    [enable the startup notification library. [[default=enabled]]]
+    [--disable-startup-notification],
+    [disable the startup notification library. [[default=enabled]]]
   ),
   [enable_sn=$enableval],
   [enable_sn=yes]
@@ -107,6 +107,16 @@ else
   sn_found=no
 fi
 
+AC_ARG_ENABLE(xcursor,
+  AC_HELP_STRING(
+    [--disable-xcursor],
+    [disable use of the X Cursor library. [[default=enabled]]]
+  ),
+  [enable_xcursor=$enableval],
+  [enable_xcursor=yes]
+)
+
+if test "$enable_xcursor" = yes; then
 PKG_CHECK_MODULES(XCURSOR, [xcursor],
   [
     AC_DEFINE(USE_XCURSOR, [1], [Use X Cursor library])
@@ -118,6 +128,9 @@ PKG_CHECK_MODULES(XCURSOR, [xcursor],
     xcursor_found=no
   ]
 )
+else
+  xcursor_found=no
+fi
 
 dnl Check for session management
 X11_SM
@@ -131,6 +144,7 @@ X11_EXT_XKB
 X11_EXT_XRANDR
 X11_EXT_SHAPE
 X11_EXT_XINERAMA
+X11_EXT_SYNC
 
 AC_CONFIG_FILES([
   Makefile
This page took 0.023654 seconds and 4 git commands to generate.