aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorPaul Eggert2017-05-30 09:15:05 -0700
committerPaul Eggert2017-05-30 09:16:28 -0700
commitebcc70ab1be968a9d98eaa7cf6a51421ff8ea62f (patch)
treecfe1d8550be03f2fc9e630ac58dafef1aaf24162 /build-aux
parent412c38aa28dd7e8363b481a09d1df62c40f9a5b7 (diff)
downloademacs-ebcc70ab1be968a9d98eaa7cf6a51421ff8ea62f.tar.gz
emacs-ebcc70ab1be968a9d98eaa7cf6a51421ff8ea62f.zip
Merge from gnulib
* build-aux/config.guess: Copy from gnulib. * lib/gnulib.mk.in: Regenerate.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/config.guess13
1 files changed, 10 insertions, 3 deletions
diff --git a/build-aux/config.guess b/build-aux/config.guess
index faa63aa9429..2193702b12a 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -2,7 +2,7 @@
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright 1992-2017 Free Software Foundation, Inc. 3# Copyright 1992-2017 Free Software Foundation, Inc.
4 4
5timestamp='2017-05-11' 5timestamp='2017-05-27'
6 6
7# This file is free software; you can redistribute it and/or modify it 7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by 8# under the terms of the GNU General Public License as published by
@@ -1304,14 +1304,21 @@ EOF
1304 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then 1304 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1305 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then 1305 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1306 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ 1306 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1307 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ 1307 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1308 grep IS_64BIT_ARCH >/dev/null 1308 grep IS_64BIT_ARCH >/dev/null
1309 then 1309 then
1310 case $UNAME_PROCESSOR in 1310 case $UNAME_PROCESSOR in
1311 i386) UNAME_PROCESSOR=x86_64 ;; 1311 i386) UNAME_PROCESSOR=x86_64 ;;
1312 powerpc) UNAME_PROCESSOR=powerpc64 ;; 1312 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1313 esac 1313 esac
1314 fi 1314 fi
1315 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1316 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1317 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1318 grep IS_PPC >/dev/null
1319 then
1320 UNAME_PROCESSOR=powerpc
1321 fi
1315 fi 1322 fi
1316 elif test "$UNAME_PROCESSOR" = i386 ; then 1323 elif test "$UNAME_PROCESSOR" = i386 ; then
1317 # Avoid executing cc on OS X 10.9, as it ships with a stub 1324 # Avoid executing cc on OS X 10.9, as it ships with a stub