diff options
author | Haru <haru@dotalux.com> | 2015-12-02 21:06:53 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-02 21:08:21 +0100 |
commit | 1e2f24a2fcb13b8a2fe06f4cc829670303760929 (patch) | |
tree | 30451ce67ff9d99ac943a8ad785126e2b0f0930a /configure | |
parent | 60dc92a6f2367fe6d75b0e7e6227d4fa5baaa60b (diff) | |
download | hercules-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-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |