summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlp Toker <alp@atoker.com>2006-06-24 19:46:26 +0100
committerAlp Toker <alp@atoker.com>2006-06-24 19:46:26 +0100
commit8597901ff9d99e02502870244f87d81f1481e9e0 (patch)
tree7f2ba1bf15c562c2e3c1c7827e6841432f9ed0a9 /configure.ac
parentf2d690ce55078094e6b81a4845bf7f2135d3c710 (diff)
downloadcompiz-cil-8597901ff9d99e02502870244f87d81f1481e9e0.tar.gz
compiz-cil-8597901ff9d99e02502870244f87d81f1481e9e0.tar.bz2
Build system fixes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 17 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index f6bdfa4..38ea1f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
AC_PREREQ(2.57)
-
AC_INIT([compiz-sharp], [0.1], [alp@atoker.com])
-
-AM_INIT_AUTOMAKE([1.7])
+AC_CONFIG_SRCDIR([Makefile.am])
+AM_INIT_AUTOMAKE([dist-bzip2 foreign])
+AM_MAINTAINER_MODE
AC_ISC_POSIX
AC_PROG_CC
@@ -11,6 +11,20 @@ AC_PROG_LIBTOOL
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h sys/time.h unistd.h])
+PKG_CHECK_MODULES(MONO, mono >= 1.0)
+AC_SUBST(MONO_LIBS)
+AC_SUBST(MONO_CFLAGS)
+
+PKG_CHECK_MODULES(COMPIZ, compiz >= 0.0.13)
+AC_SUBST(COMPIZ_LIBS)
+AC_SUBST(COMPIZ_CFLAGS)
+
+plugindir=$libdir/compiz
+AC_SUBST(plugindir)
+
+imagedir=$datadir/compiz
+AC_SUBST(imagedir)
+
AC_OUTPUT([
Makefile
glue/Makefile