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
# 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