From 79453478c983994bd997b232174f718bd2f7cdea Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 11 Aug 2017 11:39:29 +0800 Subject: [PATCH] configure.ac --- configure.ac | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 configure.ac diff --git a/configure.ac b/configure.ac new file mode 100644 index 00000000..2cabc0d4 --- /dev/null +++ b/configure.ac @@ -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 -- 2.39.2