diff options
author | sb <sb@openoffice.org> | 2010-07-02 16:20:52 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-07-02 16:20:52 +0200 |
commit | 30388450ec1cddcc581437597149f283e771d4d6 (patch) | |
tree | 475bc8f42674d858e8b37458cdb1d2370ff9fe17 /configure.in | |
parent | 08878b9a9e95bb9929dd4a9b5e0855c3c809c29a (diff) |
sb126: #i112803# prevent config.guess from mis-guessing on Mac OS X 10.6
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 00a5d5dde..bf21dbd67 100644 --- a/configure.in +++ b/configure.in @@ -1452,7 +1452,8 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; th fi if test "$_os" = "Darwin" -a "$GCCVER" -ge "040100" ; then if test -z "$save_CC" -a -x "$GCC_HOME/bin/gcc-4.0" ; then - CC=$GCC_HOME/bin/gcc-4.0 + export CC=$GCC_HOME/bin/gcc-4.0 + dnl export CC to have it available in set_soenv -> config.guess GCCVER2=`"$CC" -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'` if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100" ; then GCCVER=$GCCVER2 |