/[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 127 by ph10, Mon Mar 19 11:44:45 2007 UTC revision 128 by ph10, Tue Mar 20 11:46:50 2007 UTC
# Line 9  dnl empty. Line 9  dnl empty.
9  m4_define(pcre_major, [7])  m4_define(pcre_major, [7])
10  m4_define(pcre_minor, [1])  m4_define(pcre_minor, [1])
11  m4_define(pcre_prerelease, [-RC2])  m4_define(pcre_prerelease, [-RC2])
12  m4_define(pcre_date, [2007-03-19])  m4_define(pcre_date, [2007-03-20])
13    
14  # Libtool shared library interface versions (current:revision:age)  # Libtool shared library interface versions (current:revision:age)
15  m4_define(libpcre_version, [0:1:0])  m4_define(libpcre_version, [0:1:0])
# Line 49  AC_ARG_ENABLE(cpp, Line 49  AC_ARG_ENABLE(cpp,
49                               [disable C++ support]),                               [disable C++ support]),
50                , enable_cpp=yes)                , enable_cpp=yes)
51    
52    # Handle --enable-rebuild-chartables
53    AC_ARG_ENABLE(rebuild-chartables,
54                  AS_HELP_STRING([--enable-rebuild-chartables],
55                                 [rebuild character tables in current locale]),
56                  , enable_rebuild_chartables=no)
57    
58  # Handle --enable-utf8 (disabled by default)  # Handle --enable-utf8 (disabled by default)
59  AC_ARG_ENABLE(utf8,  AC_ARG_ENABLE(utf8,
60                AS_HELP_STRING([--enable-utf8],                AS_HELP_STRING([--enable-utf8],
# Line 90  enable_newline="$ac_pcre_newline" Line 96  enable_newline="$ac_pcre_newline"
96  # Handle --enable-ebcdic  # Handle --enable-ebcdic
97  AC_ARG_ENABLE(ebcdic,  AC_ARG_ENABLE(ebcdic,
98                AS_HELP_STRING([--enable-ebcdic],                AS_HELP_STRING([--enable-ebcdic],
99                               [assume EBCDIC coding rather than ASCII]),                               [assume EBCDIC coding rather than ASCII (implies --enable-rebuild-chartables)]),
100                , enable_ebcdic=no)                , enable_ebcdic=no)
101    
102  # Handle --disable-stack-for-recursion  # Handle --disable-stack-for-recursion
# Line 147  then Line 153  then
153    enable_utf8=no    enable_utf8=no
154  fi  fi
155    
156    # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
157    #
158    if test "x$enable_ebcdie" = "xyes"
159    then
160      enable_rebuild_chartables=yes
161    fi
162    
163  # Convert the newline identifier into the appropriate integer value.  # Convert the newline identifier into the appropriate integer value.
164  case "$enable_newline" in  case "$enable_newline" in
165    lf)   ac_pcre_newline_value=10   ;;    lf)   ac_pcre_newline_value=10   ;;
# Line 209  AC_SUBST(pcre_have_bits_type_traits) Line 222  AC_SUBST(pcre_have_bits_type_traits)
222    
223  # Conditional compilation  # Conditional compilation
224  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")
225    AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")
226    
227  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
228    
# Line 389  AC_CONFIG_COMMANDS([script-chmod], [chmo Line 403  AC_CONFIG_COMMANDS([script-chmod], [chmo
403    
404  AC_OUTPUT  AC_OUTPUT
405    
406    # Make sure that pcre_chartables.c is removed in case the method for
407    # creating it was changed by reconfiguration.
408    
409    rm -f pcre_chartables.c
410    
411  # Print out a nice little message after configure is run displaying your  # Print out a nice little message after configure is run displaying your
412  # chosen options.  # chosen options.
413  #  #
# Line 413  $PACKAGE-$VERSION configuration summary: Line 432  $PACKAGE-$VERSION configuration summary:
432      Unicode properties ..... : ${enable_unicode_properties}      Unicode properties ..... : ${enable_unicode_properties}
433      Newline char/sequence .. : ${enable_newline}      Newline char/sequence .. : ${enable_newline}
434      EBCDIC coding .......... : ${enable_ebcdic}      EBCDIC coding .......... : ${enable_ebcdic}
435        Rebuild char tables .... : ${enable_rebuild_chartables}
436      Use stack recursion .... : ${enable_stack_for_recursion}      Use stack recursion .... : ${enable_stack_for_recursion}
437      POSIX mem threshold .... : ${with_posix_malloc_threshold}      POSIX mem threshold .... : ${with_posix_malloc_threshold}
438      Internal link size ..... : ${with_link_size}      Internal link size ..... : ${with_link_size}

Legend:
Removed from v.127  
changed lines
  Added in v.128

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12