]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
CentOS 5.11 pkg-config fix
authorVictor Julien <victor@inliniac.net>
Thu, 19 Feb 2015 09:29:14 +0000 (10:29 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 4 Mar 2015 14:55:42 +0000 (15:55 +0100)
Check for the minimal pkg-config 0.21 version. Without it, CentOS'
pkg-config will fail with the warning:

configure: error: The pkg-config script could not be found or is too old.

configure.ac

index 0cbba4477128e9476e8eb4486a8c480afcb580eb..ec2941ce87c1560f221f5755b61e03087aa24d30 100644 (file)
@@ -11,6 +11,7 @@
     AC_LANG_C
     AC_PROG_CC_C99
     AC_PROG_LIBTOOL
+    PKG_PROG_PKG_CONFIG(0.21) # 0.21 is the CentOS 5.11 version
 
     AC_DEFUN([FAIL_MESSAGE],[
             echo