diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-07-15 12:11:43 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-19 06:33:29 +0000 |
commit | 961f3f0014060f56fd0841f7247d821d995bd7ec (patch) | |
tree | e815ca045529bdd7fba6789128e3cc62702a229d /hints | |
parent | 6921e3ed0b3684dd54de352bf282b5808bd3dcd2 (diff) | |
download | perl-961f3f0014060f56fd0841f7247d821d995bd7ec.tar.gz |
tweak hpux hints in vain attempt to get cppstdin set properly
Date: Wed, 15 Jul 1998 16:11:43 -0400 (EDT)
Subject: Re: HP-UX 11, perl 5.004_04, Oracle 7.3.3.4, DBI 0.93
Message-Id: <Pine.SUN.3.96.980715161018.1560D-100000@newton.phys>
--
From: Andy Dougherty <doughera@lafcol.lafayette.edu>
Date: Thu, 16 Jul 1998 11:37:58 -0400 (EDT)
Subject: Re: Configure misses preprocessor on HP-UX
Message-Id: <Pine.SUN.3.96.980716113128.2651N-100000@newton.phys>
p4raw-id: //depot/perl@1553
Diffstat (limited to 'hints')
-rw-r--r-- | hints/hpux.sh | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 9b8b3b48ef..84669242de 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -185,10 +185,21 @@ esac # These warnings are harmless and can be safely ignored. # -# You should enable these if you use the unbundled ANSI C compiler -# (*not* when using the bundled K&R compiler or gcc) -# [XXX this should be enabled automatically] +# cppstdin and cpprun need the -Aa option if you use the unbundled +# ANSI C compiler (*not* the bundled K&R compiler or gcc) +# [XXX this should be enabled automatically by Configure, but isn't yet.] +# [XXX This is reported not to work. You may have to edit config.sh. +# After running Configure, set cpprun and cppstdin in config.sh, +# run "Configure -S" and then "make".] # -#cpprun='/opt/ansic/bin/cc -E -Aa' -#cppstdin="$cpprun" - +case "$cppstdin" in +'') + case "$ccflags" in + *-Aa*) + cpprun="${cc:-cc} -E -Aa" + cppstdin="$cpprun" + cppminus='-' + ;; + esac + ;; +esac |