configure.ac
authorAlan Knowles <alan@roojs.com>
Fri, 11 Aug 2017 03:39:29 +0000 (11:39 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 11 Aug 2017 03:39:29 +0000 (11:39 +0800)
configure.ac [new file with mode: 0644]

diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..2cabc0d
--- /dev/null
@@ -0,0 +1,40 @@
+
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ([2.68])
+
+AC_INIT([gitlive], [4.0.0])
+
+AC_CONFIG_HEADERS([config.h])
+
+AM_INIT_AUTOMAKE([1.11 subdir-objects])
+AM_MAINTAINER_MODE([enable])
+
+AM_SILENT_RULES([yes])
+
+AC_PROG_CC
+
+AM_PROG_VALAC([0.22.0])
+
+
+AC_CHECK_LIB([m],[cos])
+
+dnl we need to check these exist, then it will generate a compile string for them.
+
+PKG_CHECK_MODULES(GITLIVE, [
+                glib-2.0 >= 2.24.1
+                gobject-2.0 >= 2.24.1
+                gtk+-3.0 >= 3.11.3
+                libnotify
+         libwnck-3.0
+])
+
+AC_CONFIG_FILES([
+       Makefile
+])
+
+  
+AC_SUBST(GITLIVE_CFLAGS)
+AC_SUBST(GITLIVE_LIBS)
+
+
+AC_OUTPUT