the ll constant. The suffix doesn't seem
to bother other ll platforms.
p4raw-id: //depot/cfgperl@3891
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Aug 2 15:32:21 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Mon Aug 2 17:42:55 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
#include <sys/types.h>
#include <stdio.h>
int main() {
- long long q = 12345678901;
+ long long q = 12345678901LL; /* AIX cc requires the LL prefix. */
printf("%lld\n", q);
}
EOCP
esac
ccflags="$ccflags `getconf XBS5_LPBIG_OFFBIG_CFLAGS 2>/dev/null`"
ccflags="$ccflags -DUSE_LONG_LONG"
+ case "$cc" in
+ *c89) ccflags="$ccflags -qlonglong" ;;
+ # Plus AIX also requires LL prefixes for all long long constants.
+ esac
ldflags="$ldflags `getconf XBS5_LPBIG_OFFBIG_LDFLAGS 2>/dev/null`"
# _Somehow_ in AIX 4.3.1.0 the above getconf call manages to