aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorjorn <jorn@b067294f-1dea-0310-9683-c47a78595994>2006-08-17 17:31:59 +0000
committerjorn <jorn@b067294f-1dea-0310-9683-c47a78595994>2006-08-17 17:31:59 +0000
commitdfddf9f0746878424ecb7e17dbb5085acaef5470 (patch)
tree6d7522c7a03f4739dd9a786aa2458714db8e3368 /configure.ac
downloadmatchbox-panel-2-dfddf9f0746878424ecb7e17dbb5085acaef5470.tar.gz
matchbox-panel-2-dfddf9f0746878424ecb7e17dbb5085acaef5470.tar.bz2
matchbox-panel-2-dfddf9f0746878424ecb7e17dbb5085acaef5470.zip
import matchbox-panel-2
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1376 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac44
1 files changed, 44 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..9ba8694
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,44 @@
+AC_PREREQ(2.53)
+AC_INIT(matchbox-panel, 0.1, http://www.openedhand.com/)
+AM_INIT_AUTOMAKE()
+AC_CONFIG_SRCDIR(matchbox-panel/mb-panel.c)
+AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
+
+AC_ISC_POSIX
+AC_PROG_CC
+AC_STDC_HEADERS
+AC_PROG_LIBTOOL
+
+PKG_CHECK_MODULES(MATCHBOX_PANEL,
+ glib-2.0
+ gtk+-2.0 >= 2.6
+ gmodule-2.0)
+
+AC_ARG_ENABLE(startup_notification,
+ [ --enable-startup-notification enable startup notification support],
+ enable_startup_notification=$enableval, enable_startup_notification=yes )
+
+if test x$enable_startup_notification != xno; then
+ PKG_CHECK_MODULES(SN, libstartup-notification-1.0, ,
+ AC_MSG_ERROR([*** Required Startup Notification library not installed ***]))
+
+ AC_DEFINE(USE_LIBSN, [1], [Has Startup Notification Support])
+fi
+
+GETTEXT_PACKAGE=matchbox-panel
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"],
+ [Define the gettext package to be used])
+
+ALL_LINGUAS=""
+AM_GLIB_GNU_GETTEXT
+
+AC_OUTPUT([
+Makefile
+matchbox-panel.pc
+matchbox-panel/Makefile
+applets/Makefile
+po/Makefile.in
+po/Makefile
+])