diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2019-03-01 16:24:05 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2019-03-01 16:24:05 +0000 |
commit | b3f0b27b472075ecf05d7ce9d50ef1ffd3bcb057 (patch) | |
tree | 14596f4e692163c57c31c47e5501ce1a576ce1ba | |
parent | 9940989e8681320ff90aa8339f7771f14a445c4f (diff) | |
download | pcre-b3f0b27b472075ecf05d7ce9d50ef1ffd3bcb057.tar.gz |
Fix --enable-jit=auto for out-of-tree builds.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1750 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.ac | 9 |
2 files changed, 14 insertions, 3 deletions
@@ -5,6 +5,14 @@ Note that the PCRE 8.xx series (PCRE1) is now in a bugfix-only state. All development is happening in the PCRE2 10.xx series. +Version 8.44-RC1 01 March-2019 +------------------------------ + +1. Setting --enable-jit=auto for an out-of-tree build failed because the +source directory wasn't in the search path for AC_TRY_COMPILE always. Patch +from Ross Burton. + + Version 8.43 23-February-2019 ----------------------------- diff --git a/configure.ac b/configure.ac index d2e5236..8a82cf1 100644 --- a/configure.ac +++ b/configure.ac @@ -9,9 +9,9 @@ dnl The PCRE_PRERELEASE feature is for identifying release candidates. It might dnl be defined as -RC2, for example. For real releases, it should be empty. m4_define(pcre_major, [8]) -m4_define(pcre_minor, [43]) -m4_define(pcre_prerelease, []) -m4_define(pcre_date, [2019-02-23]) +m4_define(pcre_minor, [44]) +m4_define(pcre_prerelease, [-RC1]) +m4_define(pcre_date, [2019-03-01]) # NOTE: The CMakeLists.txt file searches for the above variables in the first # 50 lines of this file. Please update that if the variables above are moved. @@ -159,12 +159,15 @@ AC_ARG_ENABLE(jit, if test "$enable_jit" = "auto"; then AC_LANG(C) + SAVE_CPPFLAGS=$CPPFLAGS + CPPFLAGS=-I$srcdir AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #define SLJIT_CONFIG_AUTO 1 #include "sljit/sljitConfigInternal.h" #if (defined SLJIT_CONFIG_UNSUPPORTED && SLJIT_CONFIG_UNSUPPORTED) #error unsupported #endif]])], enable_jit=yes, enable_jit=no) + CPPFLAGS=$SAVE_CPPFLAGS fi # Handle --disable-pcregrep-jit (enabled by default) |