X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=configure.ac;h=c9eff5119464197b118c0b18ee6f11a5698b99b1;hb=7c65d82829b7dc2880f69f2ed6830f8fdd7a3ec9;hp=526dca99f6d375ba34a70d944ac45a0470a99c7f;hpb=796ae3c2d3d27ea0ce5dbd72e29e4fe5f87d7966;p=ptask.git diff --git a/configure.ac b/configure.ac index 526dca9..c9eff51 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,12 @@ # 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 @@ -42,18 +43,18 @@ 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 po/Makefile.in src/Makefile + src/glade/Makefile tests/Makefile ])