From 112523aea20cc9254b36e0644ca2029b634bfae6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 19 Sep 2009 06:56:46 -0700 Subject: [PATCH] autoupdate --- build-aux/config.guess | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build-aux/config.guess b/build-aux/config.guess index 0e902ee54..e792aac60 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -1198,6 +1198,16 @@ EOF *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} -- 2.11.0