diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-02 14:14:29 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-02 14:14:29 +0000 |
commit | 2a4a830933adcdc6aad26641428fc96e472bee1d (patch) | |
tree | ae29c3905e87a3bda0863a019381f27da845dd58 /hints/aix.sh | |
parent | b9c39e7333cadd99fd23059be7fbd6399d58fec4 (diff) | |
download | perl-2a4a830933adcdc6aad26641428fc96e472bee1d.tar.gz |
AIX -Duse64bits: old AIXen do not have the getconf variables.
p4raw-id: //depot/cfgperl@3888
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 9b155e7bdf..22a02d29da 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -183,10 +183,10 @@ EOM exit 1 ;; esac - ccflags="$ccflags `getconf XBS5_LPBIG_OFFBIG_CFLAGS`" + ccflags="$ccflags `getconf XBS5_LPBIG_OFFBIG_CFLAGS 2>/dev/null`" ccflags="$ccflags -DUSE_LONG_LONG" - ldflags="$ldflags `getconf XBS5_LPBIG_OFFBIG_LDFLAGS`" + ldflags="$ldflags `getconf XBS5_LPBIG_OFFBIG_LDFLAGS 2>/dev/null`" # _Somehow_ in AIX 4.3.1.0 the above getconf call manages to # insert(?) *something* to $ldflags so that later (in Configure) evaluating # $ldflags causes a newline after the '-b64' (the result of the getconf). @@ -197,7 +197,7 @@ EOM # AIX managed to break. --jhi ldflags="`echo $ldflags`" - libswanted="$libswanted `getconf XBS5_LPBIG_OFFBIG_LIBS|sed -e 's@^-l@@' -e 's@ -l@ @g'`" + libswanted="$libswanted `getconf XBS5_LPBIG_OFFBIG_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g'`" # When a 64-bit cc becomes available $archname64 # may need setting so that $archname gets it attached. ;; |