mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-25 14:54:43 +08:00
config-ml.in: Remove 64bit configure tests.
2007-12-02 Matthias Klose <doko@ubuntu.com> * config-ml.in: Remove 64bit configure tests. From-SVN: r130568
This commit is contained in:
parent
d48b46e04d
commit
aba7501e3f
@ -1,3 +1,7 @@
|
|||||||
|
2007-12-02 Matthias Klose <doko@ubuntu.com>
|
||||||
|
|
||||||
|
* config-ml.in: Remove 64bit configure tests.
|
||||||
|
|
||||||
2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* config-ml.in: Robustify against white space in absolute file
|
* config-ml.in: Robustify against white space in absolute file
|
||||||
|
46
config-ml.in
46
config-ml.in
@ -382,28 +382,6 @@ mips*-*-*)
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
case " $multidirs " in
|
|
||||||
*" mabi=64 "*)
|
|
||||||
# We will not be able to create libraries with -mabi=64 if
|
|
||||||
# we cannot even link a trivial program. It usually
|
|
||||||
# indicates the 64bit libraries are missing.
|
|
||||||
if echo 'main() {}' > conftest.c &&
|
|
||||||
${CC-gcc} -mabi=64 conftest.c -o conftest; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
echo Could not link program with -mabi=64, disabling it.
|
|
||||||
old_multidirs="${multidirs}"
|
|
||||||
multidirs=""
|
|
||||||
for x in ${old_multidirs}; do
|
|
||||||
case "$x" in
|
|
||||||
*mabi=64* ) : ;;
|
|
||||||
*) multidirs="${multidirs} ${x}" ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
rm -f conftest.c conftest
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
powerpc*-*-* | rs6000*-*-*)
|
powerpc*-*-* | rs6000*-*-*)
|
||||||
if [ x$enable_aix64 = xno ]
|
if [ x$enable_aix64 = xno ]
|
||||||
@ -495,30 +473,6 @@ powerpc*-*-* | rs6000*-*-*)
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
sparc*-*-*)
|
|
||||||
case " $multidirs " in
|
|
||||||
*" m64 "*)
|
|
||||||
# We will not be able to create libraries with -m64 if
|
|
||||||
# we cannot even link a trivial program. It usually
|
|
||||||
# indicates the 64bit libraries are missing.
|
|
||||||
if echo 'main() {}' > conftest.c &&
|
|
||||||
${CC-gcc} -m64 conftest.c -o conftest; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
echo Could not link program with -m64, disabling it.
|
|
||||||
old_multidirs="${multidirs}"
|
|
||||||
multidirs=""
|
|
||||||
for x in ${old_multidirs}; do
|
|
||||||
case "$x" in
|
|
||||||
*m64* ) : ;;
|
|
||||||
*) multidirs="${multidirs} ${x}" ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
rm -f conftest.c conftest
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Remove extraneous blanks from multidirs.
|
# Remove extraneous blanks from multidirs.
|
||||||
|
Loading…
Reference in New Issue
Block a user