summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Okamoto <okamoto@corp.hp.com>1998-09-02 03:06:49 -0700
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 07:27:34 +0000
commit959c26a4a6d12a2702abfdc7685ff27cc059a76c (patch)
tree52b61411cea2c4843c875988044241ce6bd9ab50
parentaf19f77d54ad7ce74934a7be5619339fbffeb899 (diff)
downloadperl-959c26a4a6d12a2702abfdc7685ff27cc059a76c.tar.gz
PATCH: 5.005_02 hint/hpux.sh
Message-Id: <199809021706.KAA26349@xfiles.intercon.hp.com> p4raw-id: //depot/perl@1833
-rw-r--r--hints/hpux.sh31
1 files changed, 10 insertions, 21 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 7ff265cfd1..d1fbb3a480 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -80,6 +80,16 @@ EOM
esac
else
ccflags="$ccflags -Aa" # The add-on compiler supports ANSI C
+ # 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 set 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="${cc:-cc} -E -Aa"
+ cppstdin="$cpprun"
+ cppminus='-'
+ cpplast='-'
fi
# For HP's ANSI C compiler, up to "+O3" is safe for everything
# except shared libraries (PIC code). Max safe for PIC is "+O2".
@@ -204,24 +214,3 @@ esac
# assembler of the form:
# (warning) Use of GR3 when frame >= 8192 may cause conflict.
# These warnings are harmless and can be safely ignored.
-
-#
-# 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".]
-#
-case "$cppstdin" in
-'')
- case "$ccflags" in
- *-Aa*)
- cpprun="${cc:-cc} -E -Aa"
- cppstdin="$cpprun"
- cppminus='-'
- cpplast='-'
- ;;
- esac
- ;;
-esac