aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorross <ross@b067294f-1dea-0310-9683-c47a78595994>2007-10-11 14:28:54 +0000
committerross <ross@b067294f-1dea-0310-9683-c47a78595994>2007-10-11 14:28:54 +0000
commitb8b527647f83dc02215f9c6eff4f6de91ac154c8 (patch)
treeeaf99e21825835533d249595b8deed399b98a71c /configure.ac
parentec0afaeb9c3148ed7cd13ba7e813b71461cbf196 (diff)
downloadmatchbox-panel-2-b8b527647f83dc02215f9c6eff4f6de91ac154c8.tar.gz
matchbox-panel-2-b8b527647f83dc02215f9c6eff4f6de91ac154c8.tar.bz2
matchbox-panel-2-b8b527647f83dc02215f9c6eff4f6de91ac154c8.zip
2007-10-11 Ross Burton <ross@openedhand.com>
* configure.ac: Use AC_HELP_STRING, make the help output reflect reality, and fix building without libstartup-notification. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1738 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index dd35515..5f2b751 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ PKG_CHECK_MODULES(MATCHBOX_PANEL,
# startup-notification
AC_ARG_ENABLE(startup_notification,
- [ --enable-startup-notification enable startup notification support],
+ AC_HELP_STRING([--disable-startup-notification], [disable startup notification support]),
enable_startup_notification=$enableval, enable_startup_notification=yes )
if test x$enable_startup_notification != xno; then
@@ -26,12 +26,12 @@ if test x$enable_startup_notification != xno; then
AC_MSG_ERROR([*** Required Startup Notification library not installed ***]))
AC_DEFINE(USE_LIBSN, [1], [Has Startup Notification Support])
- AM_CONDITIONAL(HAVE_LIBSN, true)
fi
+AM_CONDITIONAL(HAVE_LIBSN, test x$enable_startup_notification = xyes)
# libnotify
AC_ARG_ENABLE(libnotify,
- [ --enable-libnotify enable libnotify support],
+ AC_HELP_STRING([--disable-libnotify], [disable libnotifysupport]),
enable_libnotify=$enableval, enable_libnotify=yes )
if test x$enable_libnotify != xno; then