diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-25 00:04:18 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-25 00:04:18 +0000 |
commit | 58e775659dec144880f7212793771f18cf88682b (patch) | |
tree | 270d80cc73421f1d9ad4b1b15d109d5b3246b794 /Configure | |
parent | dbf49cb098a5781302cf9cf4ca4e241115e64837 (diff) | |
download | perl-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-x | Configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |