summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..b7d0836
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,24 @@
+AC_INIT([rototiller], [1.0], [vcaputo@pengaru.com])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AC_CONFIG_MACRO_DIRS([m4])
+AC_PROG_CC
+AM_PROG_CC_C_O
+AM_PROG_AR
+AC_PROG_RANLIB
+AM_SILENT_RULES([yes])
+PKG_CHECK_MODULES(ROTOTILLER, libdrm)
+
+AX_PTHREAD
+LIBS="$PTHREAD_LIBS $LIBS"
+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+CC="$PTHREAD_CC"
+
+AC_CONFIG_FILES([
+ Makefile
+ modules/Makefile
+ modules/ray/Makefile
+ modules/roto/Makefile
+ modules/sparkler/Makefile
+ modules/stars/Makefile
+])
+AC_OUTPUT
© All Rights Reserved