diff build-aux/config.guess @ 9510:3542c129d35e

autoupdate
author Karl Berry <karl@freefriends.org>
date Fri, 07 Dec 2007 09:46:02 -0800
parents d98bd7cfa473
children 89950f94a6f7
line wrap: on
line diff
--- a/build-aux/config.guess	Thu Dec 06 16:49:19 2007 +0100
+++ b/build-aux/config.guess	Fri Dec 07 09:46:02 2007 -0800
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2007-11-19'
+timestamp='2007-12-05'
 
 # 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
@@ -833,7 +833,14 @@
 	echo ${UNAME_MACHINE}-pc-minix
 	exit ;;
     arm*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	eval $set_cc_for_build
+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+	    | grep -q __ARM_EABI__
+	then
+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
+	else
+	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	fi
 	exit ;;
     avr32*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu