summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 3d63193db0ddb39a3f6c6ad783b54f66d009de79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_INIT([ipaddrcheck], [0.1], [daniil@baturin.org], [ipaddrcheck], [https://github.com/SO3Group/ipaddrcheck])
AC_COPYRIGHT([Copyright (c) 2013 SO3Group.])

#AC_PROG_CC
AM_PROG_CC_C_O

AC_CHECK_HEADER([pcre.h], [], [AC_MSG_FAILURE([pcre.h is not found.])])
AC_CHECK_HEADER([libcidr.h], [], [AC_MSG_FAILURE([libcidr.h is not found.])])

AM_INIT_AUTOMAKE([gnu no-dist-gzip dist-bzip2 subdir-objects])
AC_PREFIX_DEFAULT([/usr])

AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
AC_CONFIG_HEADERS([src/config.h])

PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])

AC_OUTPUT