From: Alan Knowles Date: Fri, 11 Aug 2017 03:39:29 +0000 (+0800) Subject: configure.ac X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=79453478c983994bd997b232174f718bd2f7cdea 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