summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-25 00:04:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-25 00:04:18 +0000
commit58e775659dec144880f7212793771f18cf88682b (patch)
tree270d80cc73421f1d9ad4b1b15d109d5b3246b794 /Configure
parentdbf49cb098a5781302cf9cf4ca4e241115e64837 (diff)
downloadperl-58e775659dec144880f7212793771f18cf88682b.tar.gz
Allow setting cppflags hints. This may affect Darwin (Mac OS X)
(which is actually the reason for the change, we need to pass cppflags='-traditional-cpp' so that Errno builds right), Dynix/ptx, EP/IX, OS/2, and TitanOS, based on the hints files. p4raw-id: //depot/perl@9828
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/Configure b/Configure
index 45311384e4..2fad9f47a5 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Thu Apr 19 03:28:20 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Wed Apr 25 03:57:52 EET DST 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -4062,7 +4062,10 @@ none) ccflags='';;
esac
: the following weeds options from ccflags that are of no interest to cpp
-cppflags="$ccflags"
+case "$cppflags" in
+'') cppflags="$ccflags" ;;
+*) cppflags="$cppflags $ccflags" ;;
+esac
case "$gccversion" in
1*) cppflags="$cppflags -D__GNUC__"
esac