Commit 32f65aa0 by Manfred Hollstein

fixinc.wrap: Renamed from fixinc.math.

d
	* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
	curses.h if it contains `typedef char bool;', as suggested by
	Manfred Hollstein <manfred@s-direktnet.de>.
	* configure.in: Rename fixinc.math to fixinc.wrap.

From-SVN: r19629
parent dea4ae0d
...@@ -2264,7 +2264,7 @@ for machine in $build $host $target; do ...@@ -2264,7 +2264,7 @@ for machine in $build $host $target; do
xm_file="xm-siglist.h ${xm_file}" xm_file="xm-siglist.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
;; ;;
arm-*-linux-gnuaout*) # ARM GNU/Linux arm-*-linux-gnuaout*) # ARM GNU/Linux
cpu_type=arm cpu_type=arm
...@@ -2604,7 +2604,7 @@ for machine in $build $host $target; do ...@@ -2604,7 +2604,7 @@ for machine in $build $host $target; do
i[34567]86-*-freebsdelf*) i[34567]86-*-freebsdelf*)
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h" tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
# On FreeBSD, the headers are already ok, except for math.h. # On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=i386/t-freebsd tmake_file=i386/t-freebsd
gas=yes gas=yes
gnu_ld=yes gnu_ld=yes
...@@ -2613,13 +2613,13 @@ for machine in $build $host $target; do ...@@ -2613,13 +2613,13 @@ for machine in $build $host $target; do
i[34567]86-*-freebsd*) i[34567]86-*-freebsd*)
tm_file=i386/freebsd.h tm_file=i386/freebsd.h
# On FreeBSD, the headers are already ok, except for math.h. # On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=i386/t-freebsd tmake_file=i386/t-freebsd
;; ;;
i[34567]86-*-netbsd*) i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h tm_file=i386/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
i[34567]86-*-coff*) i[34567]86-*-coff*)
...@@ -2819,7 +2819,7 @@ for machine in $build $host $target; do ...@@ -2819,7 +2819,7 @@ for machine in $build $host $target; do
*-*-solaris2.[0-4]) *-*-solaris2.[0-4])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
if [ x$enable_threads = xyes ]; then if [ x$enable_threads = xyes ]; then
thread_file='solaris' thread_file='solaris'
...@@ -3353,7 +3353,7 @@ for machine in $build $host $target; do ...@@ -3353,7 +3353,7 @@ for machine in $build $host $target; do
m68k-*-netbsd*) m68k-*-netbsd*)
tm_file=m68k/netbsd.h tm_file=m68k/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
m68k-*-sysv3*) # Motorola m68k's running system V.3 m68k-*-sysv3*) # Motorola m68k's running system V.3
...@@ -3663,7 +3663,7 @@ for machine in $build $host $target; do ...@@ -3663,7 +3663,7 @@ for machine in $build $host $target; do
mips-dec-netbsd*) # Decstation running NetBSD mips-dec-netbsd*) # Decstation running NetBSD
tm_file=mips/netbsd.h tm_file=mips/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news. mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
...@@ -3993,7 +3993,7 @@ for machine in $build $host $target; do ...@@ -3993,7 +3993,7 @@ for machine in $build $host $target; do
ns32k-pc532-netbsd*) ns32k-pc532-netbsd*)
tm_file=ns32k/netbsd.h tm_file=ns32k/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
pdp11-*-bsd) pdp11-*-bsd)
...@@ -4182,7 +4182,7 @@ for machine in $build $host $target; do ...@@ -4182,7 +4182,7 @@ for machine in $build $host $target; do
*-*-solaris2.[0-4]) *-*-solaris2.[0-4])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
...@@ -4261,7 +4261,7 @@ for machine in $build $host $target; do ...@@ -4261,7 +4261,7 @@ for machine in $build $host $target; do
sparc-*-netbsd*) sparc-*-netbsd*)
tm_file=sparc/netbsd.h tm_file=sparc/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
sparc-*-bsd*) sparc-*-bsd*)
...@@ -4333,7 +4333,7 @@ for machine in $build $host $target; do ...@@ -4333,7 +4333,7 @@ for machine in $build $host $target; do
*-*-solaris2.[0-4]) *-*-solaris2.[0-4])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
float_format=i128 float_format=i128
if [ x${enable_threads} = x ]; then if [ x${enable_threads} = x ]; then
...@@ -4452,7 +4452,7 @@ for machine in $build $host $target; do ...@@ -4452,7 +4452,7 @@ for machine in $build $host $target; do
vax-*-netbsd*) vax-*-netbsd*)
tm_file="${tm_file} netbsd.h vax/netbsd.h" tm_file="${tm_file} netbsd.h vax/netbsd.h"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
float_format=vax float_format=vax
;; ;;
......
...@@ -460,7 +460,7 @@ for machine in $build $host $target; do ...@@ -460,7 +460,7 @@ for machine in $build $host $target; do
xm_file="xm-siglist.h ${xm_file}" xm_file="xm-siglist.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
;; ;;
arm-*-linux-gnuaout*) # ARM GNU/Linux arm-*-linux-gnuaout*) # ARM GNU/Linux
cpu_type=arm cpu_type=arm
...@@ -800,7 +800,7 @@ for machine in $build $host $target; do ...@@ -800,7 +800,7 @@ for machine in $build $host $target; do
i[[34567]]86-*-freebsdelf*) i[[34567]]86-*-freebsdelf*)
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h" tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
# On FreeBSD, the headers are already ok, except for math.h. # On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=i386/t-freebsd tmake_file=i386/t-freebsd
gas=yes gas=yes
gnu_ld=yes gnu_ld=yes
...@@ -809,13 +809,13 @@ for machine in $build $host $target; do ...@@ -809,13 +809,13 @@ for machine in $build $host $target; do
i[[34567]]86-*-freebsd*) i[[34567]]86-*-freebsd*)
tm_file=i386/freebsd.h tm_file=i386/freebsd.h
# On FreeBSD, the headers are already ok, except for math.h. # On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=i386/t-freebsd tmake_file=i386/t-freebsd
;; ;;
i[[34567]]86-*-netbsd*) i[[34567]]86-*-netbsd*)
tm_file=i386/netbsd.h tm_file=i386/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
i[[34567]]86-*-coff*) i[[34567]]86-*-coff*)
...@@ -1015,7 +1015,7 @@ for machine in $build $host $target; do ...@@ -1015,7 +1015,7 @@ for machine in $build $host $target; do
*-*-solaris2.[[0-4]]) *-*-solaris2.[[0-4]])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
if [[ x$enable_threads = xyes ]]; then if [[ x$enable_threads = xyes ]]; then
thread_file='solaris' thread_file='solaris'
...@@ -1549,7 +1549,7 @@ for machine in $build $host $target; do ...@@ -1549,7 +1549,7 @@ for machine in $build $host $target; do
m68k-*-netbsd*) m68k-*-netbsd*)
tm_file=m68k/netbsd.h tm_file=m68k/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
m68k-*-sysv3*) # Motorola m68k's running system V.3 m68k-*-sysv3*) # Motorola m68k's running system V.3
...@@ -1859,7 +1859,7 @@ for machine in $build $host $target; do ...@@ -1859,7 +1859,7 @@ for machine in $build $host $target; do
mips-dec-netbsd*) # Decstation running NetBSD mips-dec-netbsd*) # Decstation running NetBSD
tm_file=mips/netbsd.h tm_file=mips/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news. mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
...@@ -2189,7 +2189,7 @@ for machine in $build $host $target; do ...@@ -2189,7 +2189,7 @@ for machine in $build $host $target; do
ns32k-pc532-netbsd*) ns32k-pc532-netbsd*)
tm_file=ns32k/netbsd.h tm_file=ns32k/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
pdp11-*-bsd) pdp11-*-bsd)
...@@ -2378,7 +2378,7 @@ for machine in $build $host $target; do ...@@ -2378,7 +2378,7 @@ for machine in $build $host $target; do
*-*-solaris2.[[0-4]]) *-*-solaris2.[[0-4]])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
...@@ -2457,7 +2457,7 @@ for machine in $build $host $target; do ...@@ -2457,7 +2457,7 @@ for machine in $build $host $target; do
sparc-*-netbsd*) sparc-*-netbsd*)
tm_file=sparc/netbsd.h tm_file=sparc/netbsd.h
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
;; ;;
sparc-*-bsd*) sparc-*-bsd*)
...@@ -2529,7 +2529,7 @@ for machine in $build $host $target; do ...@@ -2529,7 +2529,7 @@ for machine in $build $host $target; do
*-*-solaris2.[[0-4]]) *-*-solaris2.[[0-4]])
fixincludes=fixinc.svr4;; fixincludes=fixinc.svr4;;
*) *)
fixincludes=fixinc.math;; fixincludes=fixinc.wrap;;
esac esac
float_format=i128 float_format=i128
if [[ x${enable_threads} = x ]]; then if [[ x${enable_threads} = x ]]; then
...@@ -2648,7 +2648,7 @@ for machine in $build $host $target; do ...@@ -2648,7 +2648,7 @@ for machine in $build $host $target; do
vax-*-netbsd*) vax-*-netbsd*)
tm_file="${tm_file} netbsd.h vax/netbsd.h" tm_file="${tm_file} netbsd.h vax/netbsd.h"
# On NetBSD, the headers are already okay, except for math.h. # On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.math fixincludes=fixinc.wrap
tmake_file=t-netbsd tmake_file=t-netbsd
float_format=vax float_format=vax
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment