diff options
author | Daniil Baturin <daniil@baturin.org> | 2013-05-31 23:02:09 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2013-05-31 23:02:09 -0700 |
commit | 834a3aa02dc8989126116f942a6b1accd1df3b18 (patch) | |
tree | b5fcd212b143c218b950b59853360c4f7beffd6e | |
parent | bc4c24a6d1c36533b6640ee9aefbda7d46f6cbfa (diff) | |
download | ipaddrcheck-834a3aa02dc8989126116f942a6b1accd1df3b18.tar.gz ipaddrcheck-834a3aa02dc8989126116f942a6b1accd1df3b18.zip |
Make configure fail if pcre.h and libcidr.h are not found.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7974e82..3d63193 100644 --- a/configure.ac +++ b/configure.ac @@ -4,8 +4,8 @@ AC_COPYRIGHT([Copyright (c) 2013 SO3Group.]) #AC_PROG_CC AM_PROG_CC_C_O -AC_CHECK_HEADER(pcre.h) -AC_CHECK_HEADER(libcidr.h) +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]) |