]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - configure.ac
include: nuke include directory for BSD and Linux
[thirdparty/lldpd.git] / configure.ac
index c855234c0bfe420ade3910289b346ba43e823b1f..11ec21a82b5e46c75ad201001566c14d78f399f0 100644 (file)
@@ -5,7 +5,7 @@
 ### Base configuration
 
 # Configure autoconf
-AC_PREREQ([2.71])
+AC_PREREQ([2.69])
 
 AC_INIT([lldpd],
         [m4_esyscmd_s([./get-version])],
@@ -44,14 +44,21 @@ gl_LD_VERSION_SCRIPT
 
 # Checks for programs.
 AC_PROG_CC
+AC_PROG_CC_C99
 if test x"$ac_cv_prog_cc_c99" = x"no"; then
   AC_MSG_FAILURE([*** C99 support is mandatory])
 fi
+AC_PROG_CPP
 AM_PROG_CC_C_O
 LT_INIT
 AC_PROG_LN_S
 AC_PROG_EGREP
 AC_PROG_AWK
+AC_PROG_SED
+
+# Check for pkg-config
+m4_ifndef([PKG_CHECK_MODULES], [
+  AC_MSG_ERROR([PKG_CHECK_MODULES not found. Please install pkg-config and re-run autogen.sh])])
 
 # Doxygen
 DX_HTML_FEATURE(ON)