diff options
author | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:39:21 +0000 |
---|---|---|
committer | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:39:21 +0000 |
commit | 09f9da9675b33a31c605d9d1f913bc2b05522be2 (patch) | |
tree | e4e2b0bbc47b23f497e3f1b2208a9ac9a9d4ebea /config.in | |
parent | 1622a3e7058dec7de74889c69595693ac0c64187 (diff) | |
download | pcre-09f9da9675b33a31c605d9d1f913bc2b05522be2.tar.gz |
Load pcre-3.0 into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@43 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'config.in')
-rw-r--r-- | config.in | 30 |
1 files changed, 19 insertions, 11 deletions
@@ -1,20 +1,28 @@ -/* config.in is converted by configure into config.h. PCRE is written in -Standard C, but there are a few non-standard things it can cope with, allowing -it to run on SunOS4 and other "close to standard" systems. The defaults below -are the correct ones on a Standard C system. On a non-Unix system you can just -copy this file into config.h. */ +/* On Unix systems config.in is converted by configure into config.h. PCRE is +written in Standard C, but there are a few non-standard things it can cope +with, allowing it to run on SunOS4 and other "close to standard" systems. + +On a non-Unix system you should just copy this file into config.h and change +the definitions of HAVE_STRERROR and HAVE_MEMMOVE to 1. Unfortunately, because +of the way autoconf works, these cannot be made the defaults. */ + +/* Define to empty if the keyword does not work. */ -/* Define to empty if the keyword does not work. */ #undef const -/* Define to `unsigned' if <stddef.h> doesn't define size_t. */ +/* Define to `unsigned' if <stddef.h> doesn't define size_t. */ + #undef size_t -/* Undefine if you don't have the strerror function. */ -#define HAVE_STRERROR +/* The following two definitions are mainly for the benefit of SunOS4, which +doesn't have the strerror() or memmove() functions that should be present in +all Standard C libraries. The macros should normally be defined with the value +1 for other systems, but unfortunately we can't make this the default because +"configure" files generated by autoconf will only change 0 to 1; they won't +change 1 to 0 if the functions are not found. */ -/* Undefine if you don't have the memmove function. */ -#define HAVE_MEMMOVE +#define HAVE_STRERROR 0 +#define HAVE_MEMMOVE 0 /* End */ |