cflags.SH was broken: it was compiling a C file for testing available
Rafael Garcia-Suarez [Fri, 26 Jan 2007 18:28:42 +0000 (18:28 +0000)]
command-line options, but this C file was including perl.h, which in
turn includes config.h, which might not be present at that time. So
force the generation of config.h.

p4raw-id: //depot/perl@30019

cflags.SH

index a52c850..62d19d6 100755 (executable)
--- a/cflags.SH
+++ b/cflags.SH
@@ -17,6 +17,10 @@ case "$0" in
 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
 esac
 
+if ! test -f config.h; then
+    . ./config_h.SH
+fi
+
 warn=''
 
 # Add -Wall for the core modules iff gcc and not already -Wall