/[pcre]/code/trunk/configure.ac
ViewVC logotype

Diff of /code/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 665 by ph10, Tue Aug 16 09:48:29 2011 UTC revision 666 by ph10, Mon Aug 22 14:56:43 2011 UTC
# Line 9  dnl The PCRE_PRERELEASE feature is for i Line 9  dnl The PCRE_PRERELEASE feature is for i
9  dnl be defined as -RC2, for example. For real releases, it should be empty.  dnl be defined as -RC2, for example. For real releases, it should be empty.
10    
11  m4_define(pcre_major, [8])  m4_define(pcre_major, [8])
12  m4_define(pcre_minor, [13])  m4_define(pcre_minor, [20])
13  m4_define(pcre_prerelease, [])  m4_define(pcre_prerelease, [-RC1])
14  m4_define(pcre_date, [2011-08-16])  m4_define(pcre_date, [2011-08-18])
15    
16  # Libtool shared library interface versions (current:revision:age)  # Libtool shared library interface versions (current:revision:age)
17  m4_define(libpcre_version, [0:1:0])  m4_define(libpcre_version, [0:1:0])
# Line 112  AC_ARG_ENABLE(cpp, Line 112  AC_ARG_ENABLE(cpp,
112                , enable_cpp=yes)                , enable_cpp=yes)
113  AC_SUBST(enable_cpp)  AC_SUBST(enable_cpp)
114    
115    # Handle --enable-jit (disabled by default)
116    AC_ARG_ENABLE(jit,
117                  AS_HELP_STRING([--enable-jit],
118                                 [enable Just-In-Time compiling support]),
119                  , enable_jit=no)
120    
121  # Handle --enable-rebuild-chartables  # Handle --enable-rebuild-chartables
122  AC_ARG_ENABLE(rebuild-chartables,  AC_ARG_ENABLE(rebuild-chartables,
123                AS_HELP_STRING([--enable-rebuild-chartables],                AS_HELP_STRING([--enable-rebuild-chartables],
# Line 400  AC_SUBST(pcre_have_bits_type_traits) Line 406  AC_SUBST(pcre_have_bits_type_traits)
406  # Conditional compilation  # Conditional compilation
407  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")
408  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")
409    AM_CONDITIONAL(WITH_JIT, test "x$enable_jit" = "xyes")
410    
411  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
412    
# Line 468  AC_SUBST(PCRE_STATIC_CFLAG) Line 475  AC_SUBST(PCRE_STATIC_CFLAG)
475    
476  # Here is where pcre specific defines are handled  # Here is where pcre specific defines are handled
477    
478    if test "$enable_jit" = "yes"; then
479      AC_DEFINE([SUPPORT_JIT], [], [
480        Define to enable support for Just-In-Time compiling.])
481    fi
482    
483  if test "$enable_utf8" = "yes"; then  if test "$enable_utf8" = "yes"; then
484    AC_DEFINE([SUPPORT_UTF8], [], [    AC_DEFINE([SUPPORT_UTF8], [], [
485      Define to enable support for the UTF-8 Unicode encoding. This will      Define to enable support for the UTF-8 Unicode encoding. This will
# Line 478  fi Line 490  fi
490    
491  if test "$enable_unicode_properties" = "yes"; then  if test "$enable_unicode_properties" = "yes"; then
492    AC_DEFINE([SUPPORT_UCP], [], [    AC_DEFINE([SUPPORT_UCP], [], [
493      Define to enable support for Unicode properties])      Define to enable support for Unicode properties.])
494  fi  fi
495    
496  if test "$enable_stack_for_recursion" = "no"; then  if test "$enable_stack_for_recursion" = "no"; then
# Line 643  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS) Line 655  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS)
655  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)
656    
657  # When we run 'make distcheck', use these arguments.  # When we run 'make distcheck', use these arguments.
658  DISTCHECK_CONFIGURE_FLAGS="--enable-cpp --enable-unicode-properties"  DISTCHECK_CONFIGURE_FLAGS="--enable-jit --enable-cpp --enable-unicode-properties"
659  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
660    
661  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
# Line 731  $PACKAGE-$VERSION configuration summary: Line 743  $PACKAGE-$VERSION configuration summary:
743      Extra libraries ................. : ${LIBS}      Extra libraries ................. : ${LIBS}
744    
745      Build C++ library ............... : ${enable_cpp}      Build C++ library ............... : ${enable_cpp}
746        Enable JIT compiling support .... : ${enable_jit}
747      Enable UTF-8 support ............ : ${enable_utf8}      Enable UTF-8 support ............ : ${enable_utf8}
748      Unicode properties .............. : ${enable_unicode_properties}      Unicode properties .............. : ${enable_unicode_properties}
749      Newline char/sequence ........... : ${enable_newline}      Newline char/sequence ........... : ${enable_newline}

Legend:
Removed from v.665  
changed lines
  Added in v.666

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12