X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ptask.git;a=blobdiff_plain;f=configure.ac;h=423a386c917860787ef7a23995b2c9f013458338;hp=526dca99f6d375ba34a70d944ac45a0470a99c7f;hb=8e16d048071d7c880b118643b3beea50ede5b4c6;hpb=796ae3c2d3d27ea0ce5dbd72e29e4fe5f87d7966 diff --git a/configure.ac b/configure.ac index 526dca9..423a386 100644 --- a/configure.ac +++ b/configure.ac @@ -2,14 +2,16 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT([gtask], [0.0.x],[jeanfi@gmail.com],[gtask],[http://wpitchoune.net/gtask]) +AC_INIT([ptask], [0.0.x],[jeanfi@gmail.com],[ptask],[http://wpitchoune.net/ptask]) AM_INIT_AUTOMAKE([-Wall -Werror gnu]) AC_CONFIG_SRCDIR([src/main.c]) +AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC +AC_PROG_CC_C99 AM_PROG_CC_C_O # Checks for header files. @@ -42,18 +44,19 @@ AC_SUBST(GTK_LIBS) # Check JSON JSON_LIBS= -PKG_CHECK_MODULES(JSON, - json, - [AC_DEFINE([HAVE_JSON],[1],[Use JSON])], - [AC_MSG_WARN("Remote monitoring disabled, json missing")]) -AM_CONDITIONAL(JSON, test -n "$JSON_LIBS") +PKG_CHECK_MODULES(JSON, json) AC_SUBST(JSON_CFLAGS) AC_SUBST(JSON_LIBS) +# Gsettings +GLIB_GSETTINGS + AC_CONFIG_FILES([ Makefile + icons/hicolor/scalable/Makefile po/Makefile.in src/Makefile + src/glade/Makefile tests/Makefile ])