projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed useless empty lines
[ppastats.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
817d4ff
..
0a898e9
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,9
+2,9
@@
# 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.x
],[jeanfi@gmail.com],[ppastats],[http://wpitchoune.net/ppastats])
+AC_INIT([ppastats], [
1.3.2
],[jeanfi@gmail.com],[ppastats],[http://wpitchoune.net/ppastats])
-AM_INIT_AUTOMAKE([-Wall
-Werror
gnu])
+AM_INIT_AUTOMAKE([-Wall gnu])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([config.h])
@@
-32,13
+32,13
@@
AC_SUBST(CURL_LIBS)
# Checks JSON
JSON_LIBS=
PKG_CHECK_MODULES(JSON,
# Checks JSON
JSON_LIBS=
PKG_CHECK_MODULES(JSON,
- json-c
,
+ json-c
>= 0.11.99,
[AC_DEFINE([HAVE_JSON],[1],[Use JSON])],
[AC_MSG_WARN("json-c missing")])
if test "$JSON_LIBS" == ""; then
PKG_CHECK_MODULES(JSON,
[AC_DEFINE([HAVE_JSON],[1],[Use JSON])],
[AC_MSG_WARN("json-c missing")])
if test "$JSON_LIBS" == ""; then
PKG_CHECK_MODULES(JSON,
- json,
+ json
>= 0.11.99
,
[AC_DEFINE([HAVE_JSON],[1],[Use JSON])
AC_DEFINE([HAVE_JSON_0],[1],[Use JSON0])],
[AC_MSG_WARN("json0 missing")])
[AC_DEFINE([HAVE_JSON],[1],[Use JSON])
AC_DEFINE([HAVE_JSON_0],[1],[Use JSON0])],
[AC_MSG_WARN("json0 missing")])
@@
-54,10
+54,16
@@
AC_CONFIG_FILES([ po/Makefile.in
Makefile
src/Makefile
tests/Makefile
Makefile
src/Makefile
tests/Makefile
- www/footer.tpl
- www/Makefile
+ themes/Makefile
+ themes/default/css/Makefile
+ themes/default/js/Makefile
+ themes/default/templates/Makefile
+ themes/default/templates/footer.tpl
])
AC_CHECK_PROGS([HELP2MAN], [help2man])
])
AC_CHECK_PROGS([HELP2MAN], [help2man])
+AC_CHECK_PROG(HAVE_CPPCHECK, cppcheck, yes)
+AM_CONDITIONAL(CPPCHECK, test -n "$HAVE_CPPCHECK")
+
AC_OUTPUT
AC_OUTPUT