diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-01-26 18:28:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-01-26 18:28:42 +0000 |
commit | 6ef8aa7c9cfbc9b6bc5d5b07d6e1506e3058b4aa (patch) | |
tree | 57cf5bfed12af50f8bd79ff2f0be8e665df779ad /cflags.SH | |
parent | 52944de88edafadedb887e82afd3ce438ba96487 (diff) | |
download | perl-6ef8aa7c9cfbc9b6bc5d5b07d6e1506e3058b4aa.tar.gz |
cflags.SH was broken: it was compiling a C file for testing available
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
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |