2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([ppastats], [0.0.x],[jeanfi@gmail.com],[ppastats],[http://wpitchoune.net/ppastats])
7 AM_INIT_AUTOMAKE([-Wall -Werror gnu])
9 AC_CONFIG_SRCDIR([src/main.c])
10 AC_CONFIG_HEADERS([config.h])
12 # Checks for programs.
20 AM_GNU_GETTEXT_VERSION([0.18.1])
21 AM_GNU_GETTEXT([external])
23 # Checks for header files.
25 AC_CHECK_HEADERS([getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h])
28 PKG_CHECK_MODULES(CURL, libcurl )
33 PKG_CHECK_MODULES(JSON, json )
37 AC_CONFIG_FILES([ po/Makefile.in
44 AC_CHECK_PROGS([HELP2MAN], [help2man])