diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-03 01:25:21 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-03 01:25:21 +0000 |
commit | e9a51be3c8837e8108362613c249a64299f11c48 (patch) | |
tree | 97f97a9d31d27be9560380a39e81617e681ee40e /hints/solaris_2.sh | |
parent | e8e5d526ead5afadb48fbf7bcb46f1503c83f8d7 (diff) | |
download | perl-e9a51be3c8837e8108362613c249a64299f11c48.tar.gz |
solaris hints tweak
p4raw-id: //depot/cfgperl@5458
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index b21c7a1e86..2d6cae9198 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -56,8 +56,8 @@ esac # Here's another draft of the perl5/solaris/gcc sanity-checker. -test -z "`${cc:-cc} -V 2>/dev/null|grep -i workshop`" || ccisworkshop="$define" -test -z "`${cc:-cc} -v 2>/dev/null|grep -i gcc`" || ccisgcc="$define" +test -z "`${cc:-cc} -V 2>&1|grep -i workshop`" || ccisworkshop="$define" +test -z "`${cc:-cc} -v 2>&1|grep -i gcc`" || ccisgcc="$define" case "$ccisworkshop" in "$define") @@ -380,8 +380,8 @@ EOCBU cat > UU/use64bitall.cbu <<'EOCBU' # This script UU/use64bitall.cbu will get 'called-back' by Configure # after it has prompted the user for whether to be maximally 64 bitty. -case "$use64bitall" in -"$define"|true|[yY]*) +case "$use64bitall-$use64bitall_done" in +"$define-"|true-|[yY]*-) libc='/usr/lib/sparcv9/libc.so' if test ! -f $libc; then cat >&4 <<EOM @@ -427,12 +427,13 @@ EOM *64-bit*|*SPARCV9*) ;; *) xxx=/no/64-bit$xxx ;; esac' + use64bitall_done=yes ;; esac EOCBU # Actually, we want to run this already now, if so requested, -# because we need to fix up the flags right now. +# because we need to fix up things right now. case "$use64bitall" in "$define"|true|[yY]*) . ./UU/use64bitall.cbu @@ -442,8 +443,8 @@ esac cat > UU/uselongdouble.cbu <<'EOCBU' # This script UU/uselongdouble.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use long doubles. -case "$uselongdouble" in -"$define"|true|[yY]*) +case "$uselongdouble-$uselongdouble_done" in +"$define-"|true-|[yY]*-) case "$ccisworkshop" in '') cat <<EOM @@ -456,10 +457,19 @@ EOM esac libswanted="$libswanted sunmath" loclibpth="$loclibpth /opt/SUNWspro/lib" + uselongdouble_done=yes ;; esac EOCBU +# Actually, we want to run this already now, if so requested, +# because we need to fix up things right now. +case "$uselongdouble" in +"$define"|true|[yY]*) + . ./UU/uselongdouble.cbu + ;; +esac + rm -f try.c try.o try # keep that leading tab ccisworkshop='' |