From: Jarkko Hietaniemi Date: Mon, 2 Aug 1999 14:14:29 +0000 (+0000) Subject: AIX -Duse64bits: old AIXen do not have the getconf variables. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a4a830933adcdc6aad26641428fc96e472bee1d;p=p5sagit%2Fp5-mst-13.2.git AIX -Duse64bits: old AIXen do not have the getconf variables. p4raw-id: //depot/cfgperl@3888 --- diff --git a/hints/aix.sh b/hints/aix.sh index 9b155e7..22a02d2 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. ;;