]> granicus.if.org Git - python/commitdiff
Richard Jones: I think we can be confident in using 'CC="-Aa
authorGuido van Rossum <guido@python.org>
Thu, 21 Aug 1997 00:08:11 +0000 (00:08 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 21 Aug 1997 00:08:11 +0000 (00:08 +0000)
-D_HPUX_SOURCE"' on HP 9.x and 10.x platforms.

configure.in

index 10545dcfc65ed9b54952bc2b454fc9f22db4ebd5..5e6e8765a12e40fc1e43ae16f5e13ff5d047d0a1 100644 (file)
@@ -82,6 +82,13 @@ fi
 
 AC_PROG_CC
 
+case $ac_sys_system in
+hp*|HP*)
+    case $CC in
+    cc|*/cc) CC="$CC -Aa -D_HPUX_SOURCE";;
+    esac;;
+esac
+
 # LINKCC is the command that links the python executable -- default is $(CC).
 # This is altered for AIX in order to build the export list before linking.
 AC_SUBST(LINKCC)