summaryrefslogtreecommitdiffstats
path: root/srclib/pcre/config.hw
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-05-06 17:02:13 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-05-06 17:02:13 +0200
commitd8c829e6affef69e97d3b46b108c2515fec65026 (patch)
tree727f1934e3a4ef84ef32b134909b4fd56b1249bd /srclib/pcre/config.hw
parentserious bug fix: (diff)
downloadapache2-d8c829e6affef69e97d3b46b108c2515fec65026.tar.xz
apache2-d8c829e6affef69e97d3b46b108c2515fec65026.zip
First crack at getting Apache to build with pcre in Win32. Cleans up all the gen_ projects to strip off garbage files, as well, and follows the same pattern for dftables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85161 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'srclib/pcre/config.hw')
-rw-r--r--srclib/pcre/config.hw28
1 files changed, 28 insertions, 0 deletions
diff --git a/srclib/pcre/config.hw b/srclib/pcre/config.hw
new file mode 100644
index 0000000000..124f5de2ce
--- /dev/null
+++ b/srclib/pcre/config.hw
@@ -0,0 +1,28 @@
+
+/* 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. */
+
+#undef const
+
+/* Define to `unsigned' if <stddef.h> doesn't define size_t. */
+
+#undef size_t
+
+/* 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. */
+
+#define HAVE_STRERROR 1
+#define HAVE_MEMMOVE 1
+
+/* End */