/[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 1226 by ph10, Fri Nov 30 09:14:29 2012 UTC revision 1320 by ph10, Wed May 1 16:39:35 2013 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, [32])  m4_define(pcre_minor, [33])
13  m4_define(pcre_prerelease, [])  m4_define(pcre_prerelease, [-RC1])
14  m4_define(pcre_date, [2012-11-30])  m4_define(pcre_date, [2013-04-28])
15    
16  # NOTE: The CMakeLists.txt file searches for the above variables in the first  # NOTE: The CMakeLists.txt file searches for the above variables in the first
17  # 50 lines of this file. Please update that if the variables above are moved.  # 50 lines of this file. Please update that if the variables above are moved.
18    
19  # Libtool shared library interface versions (current:revision:age)  # Libtool shared library interface versions (current:revision:age)
20  m4_define(libpcre_version, [3:0:2])  m4_define(libpcre_version, [3:1:2])
21  m4_define(libpcre16_version, [2:0:2])  m4_define(libpcre16_version, [2:1:2])
22  m4_define(libpcre32_version, [0:0:0])  m4_define(libpcre32_version, [0:1:0])
23  m4_define(libpcreposix_version, [0:1:0])  m4_define(libpcreposix_version, [0:2:0])
24  m4_define(libpcrecpp_version, [0:0:0])  m4_define(libpcrecpp_version, [0:0:0])
25    
26  AC_PREREQ(2.57)  AC_PREREQ(2.57)
# Line 30  AM_INIT_AUTOMAKE([dist-bzip2 dist-zip]) Line 30  AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
30  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
31  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(config.h)
32    
33    # This is a new thing required to stop a warning from automake 1.12
34    m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
35    
36  # This was added at the suggestion of libtoolize (03-Jan-10)  # This was added at the suggestion of libtoolize (03-Jan-10)
37  AC_CONFIG_MACRO_DIR([m4])  AC_CONFIG_MACRO_DIR([m4])
38    
# Line 427  AH_TOP([ Line 430  AH_TOP([
430  can cope with, allowing it to run on SunOS4 and other "close to standard"  can cope with, allowing it to run on SunOS4 and other "close to standard"
431  systems.  systems.
432    
433  In environments that support the facilities, config.h.in is converted by  In environments that support the GNU autotools, config.h.in is converted into
434  "configure", or config-cmake.h.in is converted by CMake, into config.h. If you  config.h by the "configure" script. In environments that use CMake,
435  are going to build PCRE "by hand" without using "configure" or CMake, you  config-cmake.in is converted into config.h. If you are going to build PCRE "by
436  should copy the distributed config.h.generic to config.h, and then edit the  hand" without using "configure" or CMake, you should copy the distributed
437  macro definitions to be the way you need them. You must then add  config.h.generic to config.h, and edit the macro definitions to be the way you
438  -DHAVE_CONFIG_H to all of your compile commands, so that config.h is included  need them. You must then add -DHAVE_CONFIG_H to all of your compile commands,
439  at the start of every source.  so that config.h is included at the start of every source.
440    
441  Alternatively, you can avoid editing by using -D on the compiler command line  Alternatively, you can avoid editing by using -D on the compiler command line
442  to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.  to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H,
443    but if you do, default values will be taken from config.h for non-boolean
444  PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if  macros that are not defined on the command line.
445  HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set  
446  them both to 0; an emulation function will be used. */])  Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE8 should either be defined
447    (conventionally to 1) for TRUE, and not defined at all for FALSE. All such
448    macros are listed as a commented #undef in config.h.generic. Macros such as
449    MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are
450    surrounded by #ifndef/#endif lines so that the value can be overridden by -D.
451    
452    PCRE uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if
453    HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make
454    sure both macros are undefined; an emulation function will then be used. */])
455    
456  # Checks for header files.  # Checks for header files.
457  AC_HEADER_STDC  AC_HEADER_STDC
# Line 838  fi Line 849  fi
849    
850  if test "$enable_valgrind" = "yes"; then  if test "$enable_valgrind" = "yes"; then
851    AC_DEFINE_UNQUOTED([SUPPORT_VALGRIND], [], [    AC_DEFINE_UNQUOTED([SUPPORT_VALGRIND], [], [
852       Valgrind support to find invalid memory reads.])       Define to any value for valgrind support to find invalid memory reads.])
853  fi  fi
854    
855  # Platform specific issues  # Platform specific issues

Legend:
Removed from v.1226  
changed lines
  Added in v.1320

  ViewVC Help
Powered by ViewVC 1.1.5