From 8456161fcd155b0c60f9bdeaa0e706ad9f54b0c8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 21 Aug 1997 00:08:11 +0000 Subject: Richard Jones: I think we can be confident in using 'CC="-Aa -D_HPUX_SOURCE"' on HP 9.x and 10.x platforms. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index 10545dc..5e6e876 100644 --- a/configure.in +++ b/configure.in @@ -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) -- cgit v0.12