projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no way to avoid the typedef for supporting old json releases
[ppastats.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
8a48e55
..
9af918e
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,7
+2,7
@@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
-AC_INIT([ppastats], [0.0.
5
],[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])
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
@@
-16,9
+16,13
@@
AM_PROG_CC_C_O
# Checks lib build
AC_PROG_RANLIB
# 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
# 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 )
# Checks CURL
PKG_CHECK_MODULES(CURL, libcurl )
@@
-30,12
+34,14
@@
PKG_CHECK_MODULES(JSON, json )
AC_SUBST(JSON_CFLAGS)
AC_SUBST(JSON_LIBS)
AC_SUBST(JSON_CFLAGS)
AC_SUBST(JSON_LIBS)
+AC_CHECK_TYPE(json_bool, [AC_DEFINE([HAVE_JSON_BOOL], 1, [Use json_bool])], [], [[#include <json/json.h>]])
-AC_CONFIG_FILES([
+AC_CONFIG_FILES([
po/Makefile.in
Makefile
src/Makefile
tests/Makefile
Makefile
src/Makefile
tests/Makefile
- www/Makefile
+ www/footer.tpl
+ www/Makefile
])
AC_CHECK_PROGS([HELP2MAN], [help2man])
])
AC_CHECK_PROGS([HELP2MAN], [help2man])