2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([ppastats], [0.0.1],[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.
19 # Checks for header files.
21 AC_CHECK_HEADERS([stdlib.h getopt.h])
24 PKG_CHECK_MODULES(CURL, libcurl )
29 PKG_CHECK_MODULES(JSON, json )
39 AC_CHECK_PROGS([HELP2MAN], [help2man])