Mercurial > hg > octave-nkf > gnulib-hg
changeset 12026:6e27d5a192d0
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Sat, 19 Sep 2009 06:56:46 -0700 |
parents | c93cc27b8c19 |
children | b10ac4488b07 |
files | build-aux/config.guess |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -1198,6 +1198,16 @@ *: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}