mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-23 15:40:14 +08:00
9a5f78d80e
Move the minor m68k-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
17 lines
399 B
Plaintext
17 lines
399 B
Plaintext
M68K_TARGET=m68k
|
|
case "${target}" in
|
|
fido-*-* | m68*-*-*)
|
|
AC_MSG_CHECKING([target cpu family])
|
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
|
|
#ifndef __mcoldfire__
|
|
#error we are not coldfire
|
|
#endif])], M68K_TARGET="cf")
|
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
|
|
#ifndef __mfido__
|
|
#error we are not fido
|
|
#endif])], M68K_TARGET="fido")
|
|
AC_MSG_RESULT($M68K_TARGET)
|
|
;;
|
|
esac
|
|
AC_SUBST(M68K_TARGET)
|