summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-25 17:06:43 +0000
committerDana Jansens <danakj@orodu.net>2007-03-25 17:06:43 +0000
commit03be1f8db3adde11d82eb478f182106750effc3f (patch)
treee03d1f7bebd8b5489c4f33f09119347ca93eb567
parentc567f5937b09708848c6b83c29f808f3d44145cc (diff)
add --disable-xcursor, if you don't want to use it.
fix help text for --disable-startup-notification
-rw-r--r--configure.ac17
1 files changed, 15 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4b85d807..579a5dd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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