mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
fe7dd93db3
Switch to using AC_MSG_ERROR rather than `echo' and `exit' directly for error handling. Owing to the lack of any kind of error annotation it makes it difficult to spot the message in the flood in a parallel build and neither it is logged in `config.log'.
24 lines
690 B
Plaintext
24 lines
690 B
Plaintext
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
|
# Local preconfigure fragment for sysdeps/m68k
|
|
|
|
# This fragment canonicalizes the machine names for m68k variants.
|
|
|
|
case "$machine" in
|
|
m680?0) base_machine=m68k machine=m68k/m680x0/$machine ;;
|
|
m68k) variant=`(echo "#ifdef __mcoldfire__"
|
|
echo "coldfire"
|
|
echo "#else"
|
|
echo "m680x0/m68020"
|
|
echo "#endif") |
|
|
$CC $CFLAGS $CPPFLAGS -E - |
|
|
grep '^[a-z]'`
|
|
if test -z "$variant"; then
|
|
as_fn_error 1 "Cannot determine m68k processor variant" "$LINENO" 5
|
|
fi
|
|
base_machine=m68k machine=m68k/$variant
|
|
if test "$variant" = "coldfire"; then
|
|
with_fp_cond="defined __mcffpu__"
|
|
fi
|
|
;;
|
|
esac
|