diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-07-26 22:10:42 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-07-27 22:01:02 -0400 |
commit | 86ea01eb2de6e15e79ff54031d7fabfb5f628d4e (patch) | |
tree | 573942559ffb7859c41a259805110b2410bd4f34 /Configure | |
parent | a0cc6aaf62d581814737e0f0869cd9ee9d8f88ef (diff) | |
download | perl-86ea01eb2de6e15e79ff54031d7fabfb5f628d4e.tar.gz |
Configure: VAX format H
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -7044,6 +7044,16 @@ int main() { exit(0); } #endif +/* We are largely making this up because it may well be + * that the VAX format H was never made available to C, + * only to Fortran. */ +#if LONGDBLSIZE == 16 && defined(__vax__) + if (b[0] == 0xFD && b[15] == 0x99) { + /* VAX format H, PDP-11 mixed endian. */ + printf("9\n"); + exit(0); + } +#endif printf("-1\n"); /* unknown */ exit(0); } @@ -7065,8 +7075,9 @@ case "$longdblkind" in 4) echo "You have x86 80-bit big endian long doubles." >& 4 ;; 5) echo "You have 128-bit fully little-endian double-double long doubles (64-bit LEs in LE)." >& 4 ;; 6) echo "You have 128-bit fully big-endian double-double long doubles (64-bit BEs in BE)." >& 4 ;; -7) echo "You have 128-bit mixed double-double long doubles (64-bit LEs in BE)." >& 4 ;; -8) echo "You have 128-bit mixed double-double long doubles (64-bit BEs in LE)." >& 4 ;; +7) echo "You have 128-bit mixed-endian double-double long doubles (64-bit LEs in BE)." >& 4 ;; +8) echo "You have 128-bit mixed-endian double-double long doubles (64-bit BEs in LE)." >& 4 ;; +9) echo "You have 128-bit PDP-style mixed-endian long doubles." >& 4 ;; *) echo "Cannot figure out your long double." >&4 ;; esac $rm_try |