summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-02 21:06:53 +0100
committerHaru <haru@dotalux.com>2015-12-02 21:08:21 +0100
commit1e2f24a2fcb13b8a2fe06f4cc829670303760929 (patch)
tree30451ce67ff9d99ac943a8ad785126e2b0f0930a /configure
parent60dc92a6f2367fe6d75b0e7e6227d4fa5baaa60b (diff)
downloadhercules-1e2f24a2fcb13b8a2fe06f4cc829670303760929.tar.gz
hercules-1e2f24a2fcb13b8a2fe06f4cc829670303760929.tar.bz2
hercules-1e2f24a2fcb13b8a2fe06f4cc829670303760929.tar.xz
hercules-1e2f24a2fcb13b8a2fe06f4cc829670303760929.zip
Fixed an issue with the HPMDataCheck when PCRE is enabled
- Follow-up to 300668d, thanks to AnnieRuru Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
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