summaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.in')
-rw-r--r--config.in30
1 files changed, 19 insertions, 11 deletions
diff --git a/config.in b/config.in
index c0f4537..7631d46 100644
--- a/config.in
+++ b/config.in
@@ -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 */