From 1e2f24a2fcb13b8a2fe06f4cc829670303760929 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 2 Dec 2015 21:06:53 +0100 Subject: Fixed an issue with the HPMDataCheck when PCRE is enabled - Follow-up to 300668d, thanks to AnnieRuru Signed-off-by: Haru --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 629451942..d9a15ac7d 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in d2e3acb. +# From configure.in 60dc92a. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -8166,6 +8166,7 @@ fi if test "$HAVE_PCRE" = "yes" ; then PCRE_LIBS="-lpcre" + PCRE_CFLAGS="-DPCRE_SUPPORT" fi else PCRE_OLD_LDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$PCRE_HOME/lib" @@ -8214,7 +8215,7 @@ fi LDFLAGS="$PCRE_OLD_LDFLAGS" if test "$HAVE_PCRE" = "yes" ; then PCRE_LIBS="-L$PCRE_HOME/lib -lpcre" - test -d "$PCRE_HOME/include" && PCRE_CFLAGS="-I$PCRE_HOME/include" + test -d "$PCRE_HOME/include" && PCRE_CFLAGS="-I$PCRE_HOME/include -DPCRE_SUPPORT" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking PCRE library (optional)" >&5 -- cgit v1.2.3-70-g09d2