File: preconfigure.ac

package info (click to toggle)
glibc 2.41-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 299,604 kB
  • sloc: ansic: 1,049,984; asm: 238,842; makefile: 20,343; python: 13,537; sh: 11,812; cpp: 5,197; awk: 1,795; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (23 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GLIBC_PROVIDES[]dnl See aclocal.m4 in the top level source directory.
# 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
		  AC_MSG_ERROR([Cannot determine m68k processor variant], [1])
		fi
		base_machine=m68k machine=m68k/$variant
		if test "$variant" = "coldfire"; then
		  with_fp_cond="defined __mcffpu__"
		fi
		;;
esac