autoupdate
authorKarl Berry <karl@freefriends.org>
Sat, 19 Sep 2009 13:56:46 +0000 (06:56 -0700)
committerKarl Berry <karl@freefriends.org>
Sat, 19 Sep 2009 13:56:46 +0000 (06:56 -0700)
build-aux/config.guess

index 0e902ee..e792aac 100755 (executable)
@@ -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}