X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=579a5dd1777fb004e574b00b3a4783f24682b3a9;hb=0e9bd66b75725b4d6632eafcaeb34b9fe310e4ea;hp=80441ffacf584d7d104f389ebaeb50ec5875fbc0;hpb=36effc5ab7cc1fb656d2547a291ffe57e4cef44c;p=chaz%2Fopenbox diff --git a/configure.ac b/configure.ac index 80441ffa..579a5dd1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.54]) -AC_INIT([openbox], [3.3.1], [http://bugzilla.icculus.org]) +AC_INIT([openbox], [3.4.0], [http://bugzilla.icculus.org]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([openbox/openbox.c]) @@ -14,10 +14,10 @@ dnl dnl if MAJOR or MINOR version changes, be sure to change AC_INIT above to match dnl OB_MAJOR_VERSION=3 -OB_MINOR_VERSION=3 -OB_MICRO_VERSION=5 -OB_INTERFACE_AGE=1 -OB_BINARY_AGE=5 +OB_MINOR_VERSION=4 +OB_MICRO_VERSION=6 +OB_INTERFACE_AGE=0 +OB_BINARY_AGE=0 OB_VERSION=$OB_MAJOR_VERSION.$OB_MINOR_VERSION AC_SUBST(OB_MAJOR_VERSION) @@ -70,11 +70,11 @@ if test "$SED" = "no"; then AC_MSG_ERROR([The program "sed" is not available. This program is required to build Openbox.]) fi -PKG_CHECK_MODULES([GLIB], [glib-2.0]) +PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.6.0]) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) -PKG_CHECK_MODULES(PANGO, [pango pangoxft]) +PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0 pangoxft >= 1.8.0]) AC_SUBST(PANGO_CFLAGS) AC_SUBST(PANGO_LIBS) @@ -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,31 @@ 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]) + AC_SUBST(XCURSOR_CFLAGS) + AC_SUBST(XCURSOR_LIBS) + xcursor_found=yes + ], + [ + xcursor_found=no + ] +) +else + xcursor_found=no +fi + dnl Check for session management X11_SM @@ -133,6 +158,7 @@ AC_OUTPUT AC_MSG_RESULT AC_MSG_RESULT([Compiling with these options: Startup Notification... $sn_found + X Cursor Library... $xcursor_found Session Management... $SM ]) AC_MSG_RESULT([configure complete, now type "make"])