summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-16 10:30:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-16 10:30:57 +0000
commit11e2f3951f887b9dc9a05482e3aef1a5feaf3528 (patch)
tree9c52712da2704d9e453d37d383bd6308c3c59d18 /cflags.SH
parenta175606a30f95b0b54b847f1cf01c02212f3ec62 (diff)
downloadperl-11e2f3951f887b9dc9a05482e3aef1a5feaf3528.tar.gz
Avoid to run config_h.SH twice during configuration.
p4raw-id: //depot/perl@30327
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH3
1 files changed, 2 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index 8acb57d83e..fe4bacc219 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -17,8 +17,9 @@ case "$0" in
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
-if ! test -f config.h; then
+if test -f config_h.SH && ! test -f config.h; then
. ./config_h.SH
+ CONFIG_H=already-done
fi
warn=''