diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-29 15:24:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-29 15:24:13 +0000 |
commit | d7d93a8159c0ca10065c583e76157a51736a62cd (patch) | |
tree | f3a39f4d05385b4024b9735f2f8326d9b408756b /hints | |
parent | f868067f71962292cefa95e71c0bed29258aec96 (diff) | |
download | perl-d7d93a8159c0ca10065c583e76157a51736a62cd.tar.gz |
Remove quad logic from perl.h; regen Configure;
add -DUSE_LONG_LONG to ccflags if not already there.
p4raw-id: //depot/cfgperl@4487
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 5 | ||||
-rw-r--r-- | hints/irix_6.sh | 5 | ||||
-rw-r--r-- | hints/solaris_2.sh | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index b7cfe4624f..5fd75471d8 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -194,7 +194,10 @@ EOM exit 1 ;; esac - ccflags="$ccflags -DUSE_LONG_LONG" + case "$ccflags" in + *-DUSE_LONG_LONG*) ;; + *) ccflags="$ccflags -DUSE_LONG_LONG" ;; + esac ccflags="$ccflags `getconf XBS5_ILP32_OFFBIG_CFLAGS 2>/dev/null`" ldflags="$ldflags `getconf XBS5_ILP32_OFFBIG_LDFLAGS 2>/dev/null`" diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 2c14041198..8a0b318693 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -243,7 +243,10 @@ EOM esac case "$ccflags" in *-n32*) - ccflags="$ccflags -DUSE_LONG_LONG" + case "$ccflags" in + *-DUSE_LONG_LONG) ;; + *) ccflags="$ccflags -DUSE_LONG_LONG" ;; + esac archname64="-n32" ;; esac diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 9b4f5e21fa..050cacc699 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -350,7 +350,10 @@ EOM ccflags="$ccflags `getconf LFS_CFLAGS`" ldflags="$ldflags `getconf LFS_LDFLAGS`" libswanted="$libswanted `getconf LFS_LIBS`" - ccflags="$ccflags -DUSE_LONG_LONG" + case "$ccflags" in + *-DUSE_LONG_LONG*) ;; + *) ccflags="$ccflags -DUSE_LONG_LONG" ;; + esac # When a 64-bit cc becomes available $archname64 # may need setting so that $archname gets it attached. ;; |