Commit a913c08f authored by Nils Goroll's avatar Nils Goroll Committed by Pål Hermunn Johansen

When test-compiling to check for jit, also use CFLAGS and LIBS

rather than the values from pkg-config only. CLAGS and LIBS
may contain important generic compiler / linker flags for this
platform.
parent 7419397b
......@@ -160,9 +160,9 @@ AC_ARG_ENABLE(pcre-jit,
if test "$enable_pcre_jit" = yes; then
AC_MSG_CHECKING(for PCRE JIT usability)
save_CFLAGS="${CFLAGS}"
CFLAGS="${PCRE_CFLAGS}"
CFLAGS="${CFLAGS} ${PCRE_CFLAGS}"
save_LIBS="${LIBS}"
LIBS="${PCRE_LIBS}"
LIBS="${LIBS} ${PCRE_LIBS}"
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[
#include <pcre.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment