diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-02-26 08:57:44 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-02-26 08:58:38 -0800 |
commit | 7df482a82065f3c4ea78a4f53462c627fa820860 (patch) | |
tree | f6de63594553058ce9baf9cee310ee02e0f0ce23 /build-aux/config.guess | |
parent | 9f56d04df40cac6767b7fbed89737ce9f03f5d80 (diff) | |
download | emacs-7df482a82065f3c4ea78a4f53462c627fa820860.tar.gz |
Update from gnulib
* build-aux/config.guess, build-aux/config.sub: Copy from gnulib.
Diffstat (limited to 'build-aux/config.guess')
-rwxr-xr-x | build-aux/config.guess | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build-aux/config.guess b/build-aux/config.guess index 9baaa270bfc..f50dcdb6de2 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-01-26' +timestamp='2018-02-24' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1046,7 +1046,11 @@ EOF echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + if objdump -f /bin/sh | grep -q elf32-x86-64; then + echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 + else + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + fi exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" |