X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=configure.ac;h=9af918eb65d296c918573578a99dd71fdd3526c4;hb=99b65b5be32158ebc793df4ab2b825633e32a100;hp=3ab3616018fefee33d5ab5df36474c0f43d7ddbe;hpb=5ed73c995d6fcb5f3b4626bf7ebf609fc52f5d94;p=ppastats.git diff --git a/configure.ac b/configure.ac index 3ab3616..9af918e 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.64]) -AC_INIT([ppastats], [0.0.1],[jeanfi@gmail.com],[ppastats],[http://wpitchoune.net/ppastats]) +AC_INIT([ppastats], [0.0.x],[jeanfi@gmail.com],[ppastats],[http://wpitchoune.net/ppastats]) AM_INIT_AUTOMAKE([-Wall -Werror gnu]) @@ -16,9 +16,13 @@ AM_PROG_CC_C_O # Checks lib build AC_PROG_RANLIB +# Intl support +AM_GNU_GETTEXT_VERSION([0.18.1]) +AM_GNU_GETTEXT([external]) + # Checks for header files. AC_PATH_X -AC_CHECK_HEADERS([stdlib.h getopt.h]) +AC_CHECK_HEADERS([getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h]) # Checks CURL PKG_CHECK_MODULES(CURL, libcurl ) @@ -30,10 +34,14 @@ PKG_CHECK_MODULES(JSON, json ) AC_SUBST(JSON_CFLAGS) AC_SUBST(JSON_LIBS) +AC_CHECK_TYPE(json_bool, [AC_DEFINE([HAVE_JSON_BOOL], 1, [Use json_bool])], [], [[#include ]]) -AC_CONFIG_FILES([ +AC_CONFIG_FILES([ po/Makefile.in Makefile src/Makefile + tests/Makefile + www/footer.tpl + www/Makefile ]) AC_CHECK_PROGS([HELP2MAN], [help2man])