about summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in27
1 files changed, 25 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in
index 485f86170f..52332beda2 100644
--- a/config.h.in
+++ b/config.h.in
@@ -34,12 +34,22 @@
 /* Define to use GNU libio instead of GNU stdio.
    This is defined by configure under --enable-libio.  */
 #undef	USE_IN_LIBIO
-/*  */
-/* These symbols might be defined by some sysdeps configures.  */
+
+/*
+ */
+
+#ifndef	_LIBC
+
+/* These symbols might be defined by some sysdeps configures.
+   They are used only in miscellaneous generator programs, not
+   in compiling libc itself.   */
 
 /* sysdeps/generic/configure.in */
 #undef	HAVE_PSIGNAL
 
+/* sysdeps/unix/configure.in */
+#undef	HAVE_STRERROR
+
 /* sysdeps/unix/common/configure.in */
 #undef	HAVE_SYS_SIGLIST
 #undef	HAVE__SYS_SIGLIST
@@ -49,3 +59,16 @@
 #undef	HAVE__CTYPE__
 #undef	HAVE__CTYPE
 #undef	HAVE__LOCP
+
+#endif
+
+/*
+ */
+
+#ifdef	_LIBC
+
+/* The zic and zdump programs need these definitions.  */
+
+#define	HAVE_STRERROR	1
+
+#endif