/[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 99 by ph10, Tue Mar 6 12:27:42 2007 UTC revision 100 by ph10, Tue Mar 6 14:53:10 2007 UTC
# Line 167  case "$with_link_size" in Line 167  case "$with_link_size" in
167  esac  esac
168    
169  AH_TOP([  AH_TOP([
170  /* On Unix-like systems config.in is converted by "configure" into  /* On Unix-like systems config.h.in is converted by "configure" into config.h.
171  config.h.  Some other environments also support the use of "configure".  Some other environments also support the use of "configure". PCRE is written in
172  PCRE is written in Standard C, but there are a few non-standard things  Standard C, but there are a few non-standard things it can cope with, allowing
173  it can cope with, allowing it to run on SunOS4 and other "close to  it to run on SunOS4 and other "close to standard" systems.
174  standard" systems.  
175    On a system without "configure" you should use the distributed config.h, and
176  On a non-Unix-like system you should just copy this file into config.h,  set up the macros the way you need them.
177  and set up the macros the way you need them.  You should normally change  
178  the definitions of HAVE_STRERROR and HAVE_MEMMOVE to 1.  Unfortunately,  If your system has bcopy() and not memmove(), change the definitions of
179  because of the way autoconf works, these cannot be made the defaults.  HAVE_BCOPY and HAVE_MEMMOVE. If your system has neither bcopy() nor memmove(),
180  If your system has bcopy() and not memmove(), change the definition of  leave them both undefined; an emulation function will be used. */])
 HAVE_BCOPY instead of HAVE_MEMMOVE.  If your system has neither bcopy()  
 nor memmove(), leave them both as 0; an emulation function will be  
 used. */])  
181    
182  # Checks for header files.  # Checks for header files.
183  AC_HEADER_STDC  AC_HEADER_STDC
# Line 253  if test "$enable_stack_for_recursion" = Line 250  if test "$enable_stack_for_recursion" =
250    AC_DEFINE([NO_RECURSE], [], [    AC_DEFINE([NO_RECURSE], [], [
251      PCRE uses recursive function calls to handle backtracking while      PCRE uses recursive function calls to handle backtracking while
252      matching.  This can sometimes be a problem on systems that have      matching.  This can sometimes be a problem on systems that have
253      stacks of limited size.  Define NO_RECURSE to get a version that      stacks of limited size. Define NO_RECURSE to get a version that
254      doesn't use recursion in the match() function; instead it creates      doesn't use recursion in the match() function; instead it creates
255      its own stack by steam using pcre_recurse_malloc() to obtain memory      its own stack by steam using pcre_recurse_malloc() to obtain memory
256      from the heap. For more detail, see the comments and other stuff      from the heap. For more detail, see the comments and other stuff
# Line 263  if test "$enable_stack_for_recursion" = Line 260  if test "$enable_stack_for_recursion" =
260  fi  fi
261    
262  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [
263    The value of NEWLINE determines the newline character. The default is    The value of NEWLINE determines the newline character. On Unix-like
264    to leave it up to the compiler, but some sites want to force a    systems, "configure" can be used to override the default.])
   particular value.  On Unix-like systems, "configure" can be used to  
   override this default.])  
265    
266  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [
267    The value of LINK_SIZE determines the number of bytes used to store    The value of LINK_SIZE determines the number of bytes used to store
# Line 290  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHO Line 285  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHO
285  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with_match_limit], [  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with_match_limit], [
286    The value of MATCH_LIMIT determines the default number of times the    The value of MATCH_LIMIT determines the default number of times the
287    internal match() function can be called during a single execution of    internal match() function can be called during a single execution of
288    pcre_exec().  There is a runtime interface for setting a different    pcre_exec(). There is a runtime interface for setting a different
289    limit. The limit exists in order to catch runaway regular    limit. The limit exists in order to catch runaway regular
290    expressions that take for ever to determine that they do not match.    expressions that take for ever to determine that they do not match.
291    The default is set very large so that it does not accidentally catch    The default is set very large so that it does not accidentally catch
# Line 305  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSIO Line 300  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSIO
300    NO_RECURSE is defined) that is used. The value of    NO_RECURSE is defined) that is used. The value of
301    MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To    MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To
302    have any useful effect, it must be less than the value of    have any useful effect, it must be less than the value of
303    MATCH_LIMIT. There is a runtime method for setting a different    MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT.
304    limit. On systems that support it, "configure" can be used to    There is a runtime method for setting a different limit. On systems
305    override this default default.])    that support it, "configure" can be used to override the default.])
306    
307  AC_DEFINE([MAX_NAME_SIZE], [32], [  AC_DEFINE([MAX_NAME_SIZE], [32], [
308    This limit is parameterized just in case anybody ever wants to    This limit is parameterized just in case anybody ever wants to

Legend:
Removed from v.99  
changed lines
  Added in v.100

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12