X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=f93f3910478f14f0acbb4693b70aa9645f2d7245;hb=55d2916c1e24e021d9b9692d2373dc4afff4c5c2;hp=4b85d8077089448cf662ad9b97ca5c5067536599;hpb=c567f5937b09708848c6b83c29f808f3d44145cc;p=chaz%2Fopenbox diff --git a/configure.ac b/configure.ac index 4b85d807..f93f3910 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ LIBTOOL="$LIBTOOL --silent" AC_PROG_INSTALL -AM_GNU_GETTEXT_VERSION(0.12.1) +AM_GNU_GETTEXT_VERSION(0.14.4) 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