summaryrefslogtreecommitdiff
path: root/config.h.SH
diff options
context:
space:
mode:
authorDan Faigin, Doug Landauer <unknown@longtimeago>1988-01-21 09:21:04 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-21 09:21:04 +0000
commit36ce8bec6e5bbc05c8d60ee17f105fc8b751cada (patch)
tree261095fa1f31159593c5eda983baf59884b33246 /config.h.SH
parent8d063cd8450e59ea1c611a2f4f5a21059a2804f1 (diff)
downloadperl-36ce8bec6e5bbc05c8d60ee17f105fc8b751cada.tar.gz
perl 1.0 patch 1: Portability bugs and one possible SIGSEGV
On some systems the Configure script and C compilations get warning messages that may scare some folks unnecessarily. Also, use of the "redo" command if debugging is compiled in overflows a stack on which the trace context is kept.
Diffstat (limited to 'config.h.SH')
-rw-r--r--config.h.SH34
1 files changed, 34 insertions, 0 deletions
diff --git a/config.h.SH b/config.h.SH
index 0789bc69f2..d8d975c838 100644
--- a/config.h.SH
+++ b/config.h.SH
@@ -37,6 +37,20 @@ cat <<!GROK!THIS! >config.h
#$d_eunice EUNICE /**/
#$d_eunice VMS /**/
+/* CPP:
+ * This symbol contains the first part of the string which will invoke
+ * the C preprocessor on the standard input and produce to standard
+ * output. Typical value of "cc -E" or "/lib/cpp".
+ */
+/* CPPMINUS:
+ * This symbol contains the second part of the string which will invoke
+ * the C preprocessor on the standard input and produce to standard
+ * output. This symbol will have the value "-" if CPP needs a minus
+ * to specify standard input, otherwise the value is "".
+ */
+#define CPP "$cpp"
+#define CPPMINUS "$cppminus"
+
/* CHARSPRINTF:
* This symbol is defined if this system declares "char *sprintf()" in
* stdio.h. The trend seems to be to declare it as "int sprintf()". It
@@ -56,6 +70,12 @@ cat <<!GROK!THIS! >config.h
#$d_index index strchr /* cultural */
#$d_index rindex strrchr /* differences? */
+/* STDSTDIO:
+ * This symbol is defined if this system has a FILE structure declaring
+ * _ptr and _cnt in stdio.h.
+ */
+#$d_stdstdio STDSTDIO /**/
+
/* STRUCTCOPY:
* This symbol, if defined, indicates that this C compiler knows how
* to copy structures. If undefined, you'll need to use a block copy
@@ -69,6 +89,20 @@ cat <<!GROK!THIS! >config.h
*/
#$d_vfork vfork fork /**/
+/* VOIDSIG:
+ * This symbol is defined if this system declares "void (*signal())()" in
+ * signal.h. The old way was to declare it as "int (*signal())()". It
+ * is up to the package author to declare things correctly based on the
+ * symbol.
+ */
+#$d_voidsig VOIDSIG /**/
+
+/* STDCHAR:
+ * This symbol is defined to be the type of char used in stdio.h.
+ * It has the values "unsigned char" or "char".
+ */
+#define STDCHAR $stdchar /**/
+
/* VOIDFLAGS:
* This symbol indicates how much support of the void type is given by this
* compiler. What various bits mean: