3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-gnu-ld arrange to work with GNU ld."
17 --with-gnu-as arrange to work with GNU as."
19 --with-stabs arrange to use stabs instead of host debug format."
21 --with-elf arrange to use ELF instead of host debug format."
23 --with-local-prefix=DIR specifies directory to put local include."
25 --with-gxx-include-dir=DIR
26 specifies directory to put g++ header files."
28 --enable-c-cpplib Use cpplib for C."
30 --enable-haifa Use the experimental scheduler.
31 --disable-haifa Don't use the experimental scheduler for the
32 targets which normally enable it."
34 --enable-threads enable thread usage for target GCC.
35 --enable-threads=LIB use LIB thread package for target GCC."
37 # Initialize some variables set by options.
38 # The variables have the same names as the options, with
39 # dashes changed to underlines.
41 cache_file
=.
/config.cache
50 program_transform_name
=s
,x
,x
,
58 bindir
='${exec_prefix}/bin'
59 sbindir
='${exec_prefix}/sbin'
60 libexecdir
='${exec_prefix}/libexec'
61 datadir
='${prefix}/share'
62 sysconfdir
='${prefix}/etc'
63 sharedstatedir
='${prefix}/com'
64 localstatedir
='${prefix}/var'
65 libdir
='${exec_prefix}/lib'
66 includedir
='${prefix}/include'
67 oldincludedir
='/usr/include'
68 infodir
='${prefix}/info'
69 mandir
='${prefix}/man'
71 # Initialize some other variables.
74 # Maximum number of lines to put in a shell here document.
81 # If the previous option needs an argument, assign it.
82 if test -n "$ac_prev"; then
83 eval "$ac_prev=\$ac_option"
89 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
93 # Accept the important Cygnus configure options, so we can diagnose typos.
97 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
99 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
100 bindir
="$ac_optarg" ;;
102 -build |
--build |
--buil |
--bui |
--bu)
104 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
105 build
="$ac_optarg" ;;
107 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
108 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
109 ac_prev
=cache_file
;;
110 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
111 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
112 cache_file
="$ac_optarg" ;;
114 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
116 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
118 datadir
="$ac_optarg" ;;
120 -disable-* |
--disable-*)
121 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
122 # Reject names that are not valid shell variable names.
123 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
124 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
126 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
127 eval "enable_${ac_feature}=no" ;;
129 -enable-* |
--enable-*)
130 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
131 # Reject names that are not valid shell variable names.
132 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
133 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
135 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
140 eval "enable_${ac_feature}='$ac_optarg'" ;;
142 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
143 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
144 |
--exec |
--exe |
--ex)
145 ac_prev
=exec_prefix
;;
146 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
147 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
148 |
--exec=* |
--exe=* |
--ex=*)
149 exec_prefix
="$ac_optarg" ;;
151 -gas |
--gas |
--ga |
--g)
152 # Obsolete; use --with-gas.
155 -help |
--help |
--hel |
--he)
156 # Omit some internal or obsolete options to make the list less imposing.
157 # This message is too long to be a string in the A/UX 3.1 sh.
159 Usage: configure [options] [host]
160 Options: [defaults in brackets after descriptions]
162 --cache-file=FILE cache test results in FILE
163 --help print this message
164 --no-create do not create output files
165 --quiet, --silent do not print \`checking...' messages
166 --version print the version of autoconf that created configure
167 Directory and file names:
168 --prefix=PREFIX install architecture-independent files in PREFIX
170 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
172 --bindir=DIR user executables in DIR [EPREFIX/bin]
173 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
174 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
175 --datadir=DIR read-only architecture-independent data in DIR
177 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
178 --sharedstatedir=DIR modifiable architecture-independent data in DIR
180 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
181 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
182 --includedir=DIR C header files in DIR [PREFIX/include]
183 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
184 --infodir=DIR info documentation in DIR [PREFIX/info]
185 --mandir=DIR man documentation in DIR [PREFIX/man]
186 --srcdir=DIR find the sources in DIR [configure dir or ..]
187 --program-prefix=PREFIX prepend PREFIX to installed program names
188 --program-suffix=SUFFIX append SUFFIX to installed program names
189 --program-transform-name=PROGRAM
190 run sed PROGRAM on installed program names
194 --build=BUILD configure for building on BUILD [BUILD=HOST]
195 --host=HOST configure for HOST [guessed]
196 --target=TARGET configure for TARGET [TARGET=HOST]
197 Features and packages:
198 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
199 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
200 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
201 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
202 --x-includes=DIR X include files are in DIR
203 --x-libraries=DIR X library files are in DIR
205 if test -n "$ac_help"; then
206 echo "--enable and --with options recognized:$ac_help"
210 -host |
--host |
--hos |
--ho)
212 -host=* |
--host=* |
--hos=* |
--ho=*)
215 -includedir |
--includedir |
--includedi |
--included |
--include \
216 |
--includ |
--inclu |
--incl |
--inc)
217 ac_prev
=includedir
;;
218 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
219 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
220 includedir
="$ac_optarg" ;;
222 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
224 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
225 infodir
="$ac_optarg" ;;
227 -libdir |
--libdir |
--libdi |
--libd)
229 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
230 libdir
="$ac_optarg" ;;
232 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
233 |
--libexe |
--libex |
--libe)
234 ac_prev
=libexecdir
;;
235 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
236 |
--libexe=* |
--libex=* |
--libe=*)
237 libexecdir
="$ac_optarg" ;;
239 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
240 |
--localstate |
--localstat |
--localsta |
--localst \
241 |
--locals |
--local |
--loca |
--loc |
--lo)
242 ac_prev
=localstatedir
;;
243 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
244 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
245 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
246 localstatedir
="$ac_optarg" ;;
248 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
250 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
251 mandir
="$ac_optarg" ;;
254 # Obsolete; use --without-fp.
257 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
261 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
262 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
265 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
266 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
267 |
--oldin |
--oldi |
--old |
--ol |
--o)
268 ac_prev
=oldincludedir
;;
269 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
270 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
271 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
272 oldincludedir
="$ac_optarg" ;;
274 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
276 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
277 prefix
="$ac_optarg" ;;
279 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
280 |
--program-pre |
--program-pr |
--program-p)
281 ac_prev
=program_prefix
;;
282 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
283 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
284 program_prefix
="$ac_optarg" ;;
286 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
287 |
--program-suf |
--program-su |
--program-s)
288 ac_prev
=program_suffix
;;
289 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
290 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
291 program_suffix
="$ac_optarg" ;;
293 -program-transform-name |
--program-transform-name \
294 |
--program-transform-nam |
--program-transform-na \
295 |
--program-transform-n |
--program-transform- \
296 |
--program-transform |
--program-transfor \
297 |
--program-transfo |
--program-transf \
298 |
--program-trans |
--program-tran \
299 |
--progr-tra |
--program-tr |
--program-t)
300 ac_prev
=program_transform_name
;;
301 -program-transform-name=* |
--program-transform-name=* \
302 |
--program-transform-nam=* |
--program-transform-na=* \
303 |
--program-transform-n=* |
--program-transform-=* \
304 |
--program-transform=* |
--program-transfor=* \
305 |
--program-transfo=* |
--program-transf=* \
306 |
--program-trans=* |
--program-tran=* \
307 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
308 program_transform_name
="$ac_optarg" ;;
310 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
311 |
-silent |
--silent |
--silen |
--sile |
--sil)
314 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
316 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
318 sbindir
="$ac_optarg" ;;
320 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
321 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
322 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
324 ac_prev
=sharedstatedir
;;
325 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
326 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
327 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
329 sharedstatedir
="$ac_optarg" ;;
331 -site |
--site |
--sit)
333 -site=* |
--site=* |
--sit=*)
336 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
338 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
339 srcdir
="$ac_optarg" ;;
341 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
342 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
343 ac_prev
=sysconfdir
;;
344 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
345 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
346 sysconfdir
="$ac_optarg" ;;
348 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
350 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
351 target
="$ac_optarg" ;;
353 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
356 -version |
--version |
--versio |
--versi |
--vers)
357 echo "configure generated by autoconf version 2.12"
361 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
362 # Reject names that are not valid shell variable names.
363 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
366 ac_package
=`echo $ac_package| sed 's/-/_/g'`
371 eval "with_${ac_package}='$ac_optarg'" ;;
373 -without-* |
--without-*)
374 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
375 # Reject names that are not valid shell variable names.
376 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
377 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
379 ac_package
=`echo $ac_package| sed 's/-/_/g'`
380 eval "with_${ac_package}=no" ;;
383 # Obsolete; use --with-x.
386 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
387 |
--x-incl |
--x-inc |
--x-in |
--x-i)
388 ac_prev
=x_includes
;;
389 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
390 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
391 x_includes
="$ac_optarg" ;;
393 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
394 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
395 ac_prev
=x_libraries
;;
396 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
397 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
398 x_libraries
="$ac_optarg" ;;
400 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
404 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
405 echo "configure: warning: $ac_option: invalid host type" 1>&2
407 if test "x$nonopt" != xNONE
; then
408 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
416 if test -n "$ac_prev"; then
417 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
420 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
422 # File descriptor usage:
425 # 2 errors and warnings
426 # 3 some systems may open it to /dev/tty
427 # 4 used on the Kubota Titan
428 # 6 checking for... messages and results
429 # 5 compiler messages saved in config.log
430 if test "$silent" = yes; then
438 This file contains any messages produced by compilers while
439 running configure, to aid debugging if configure makes a mistake.
442 # Strip out --no-create and --no-recursion so they do not pile up.
443 # Also quote any args containing shell metacharacters.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c) ;;
450 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
451 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
452 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
453 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
454 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
459 # Only set these to C if already set. These must not be set unconditionally
460 # because not all systems understand e.g. LANG=C (notably SCO).
461 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
462 # Non-C LC_CTYPE values break the ctype check.
463 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
464 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
465 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
466 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
468 # confdefs.h avoids OS command line length limits that DEFS can exceed.
469 rm -rf conftest
* confdefs.h
470 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
473 # A filename unique to this package, relative to the directory that
474 # configure is in, which we can look for to find out if srcdir is correct.
475 ac_unique_file
=tree.c
477 # Find the source files, if location was not specified.
478 if test -z "$srcdir"; then
479 ac_srcdir_defaulted
=yes
480 # Try the directory containing this script, then its parent.
482 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
483 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
485 if test ! -r $srcdir/$ac_unique_file; then
489 ac_srcdir_defaulted
=no
491 if test ! -r $srcdir/$ac_unique_file; then
492 if test "$ac_srcdir_defaulted" = yes; then
493 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
495 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
498 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
500 # Prefer explicitly selected file to automatically selected ones.
501 if test -z "$CONFIG_SITE"; then
502 if test "x$prefix" != xNONE
; then
503 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
505 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
508 for ac_site_file
in $CONFIG_SITE; do
509 if test -r "$ac_site_file"; then
510 echo "loading site script $ac_site_file"
515 if test -r "$cache_file"; then
516 echo "loading cache $cache_file"
519 echo "creating cache $cache_file"
524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
525 ac_cpp
='$CPP $CPPFLAGS'
526 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
527 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
528 cross_compiling
=$ac_cv_prog_cc_cross
530 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
531 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
532 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
539 ac_n
= ac_c
='\c' ac_t
=
547 symbolic_link
='ln -s'
550 # Check for additional parameters
553 # Check whether --with-gnu-ld or --without-gnu-ld was given.
554 if test "${with_gnu_ld+set}" = set; then
555 withval
="$with_gnu_ld"
563 # Check whether --with-gnu-as or --without-gnu-as was given.
564 if test "${with_gnu_as+set}" = set; then
565 withval
="$with_gnu_as"
573 # Check whether --with-stabs or --without-stabs was given.
574 if test "${with_stabs+set}" = set; then
575 withval
="$with_stabs"
583 # Check whether --with-elf or --without-elf was given.
584 if test "${with_elf+set}" = set; then
592 # Specify the local prefix
593 # Check whether --with-local-prefix or --without-local-prefix was given.
594 if test "${with_local_prefix+set}" = set; then
595 withval
="$with_local_prefix"
596 local_prefix
=$with_local_prefix
598 local_prefix
=/usr
/local
602 # Default local prefix if it is empty
603 if [ x
$local_prefix = x
]; then
604 local_prefix
=/usr
/local
607 # Specify the g++ header file directory
608 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
609 if test "${with_gxx_include_dir+set}" = set; then
610 withval
="$with_gxx_include_dir"
611 gxx_include_dir
=$with_gxx_include_dir
613 gxx_include_dir
='${prefix}/include/g++'
617 # Default g++ header file directory if it is empty
618 if [ x
$gxx_include_dir = x
]; then
619 gxx_include_dir
='${prefix}/include/g++'
622 # Enable use of cpplib for C.
623 # Check whether --enable-c-cpplib or --disable-c-cpplib was given.
624 if test "${enable_c_cpplib+set}" = set; then
625 enableval
="$enable_c_cpplib"
626 if [ x
$enable_c_cpplib != xno
]; then
627 extra_c_objs
="${extra_c_objs} cpplib.o cppexp.o cpphash.o cpperror.o"
628 extra_c_flags
=-DUSE_CPPLIB=1
633 # Enable Haifa scheduler.
634 # Check whether --enable-haifa or --disable-haifa was given.
635 if test "${enable_haifa+set}" = set; then
636 enableval
="$enable_haifa"
642 # Pass with no value to take the default
643 # Pass with a value to specify a thread package
644 # Check whether --enable-threads or --disable-threads was given.
645 if test "${enable_threads+set}" = set; then
646 enableval
="$enable_threads"
647 if [ x
$enable_threads = xno
]; then
655 # Check if a valid thread package
656 case x
${enable_threads} in
665 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
667 thread_file
=$enable_threads
670 echo "$enable_threads is an unknown thread package" 1>&2
675 # Determine the host, build, and target systems
677 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
678 if test -f $ac_dir/install-sh
; then
680 ac_install_sh
="$ac_aux_dir/install-sh -c"
682 elif test -f $ac_dir/install.sh
; then
684 ac_install_sh
="$ac_aux_dir/install.sh -c"
688 if test -z "$ac_aux_dir"; then
689 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
691 ac_config_guess
=$ac_aux_dir/config.guess
692 ac_config_sub
=$ac_aux_dir/config.sub
693 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
696 # Do some error checking and defaulting for the host and target type.
698 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
701 # 1. You are not allowed to specify --host, --target, and nonopt at the
703 # 2. Host defaults to nonopt.
704 # 3. If nonopt is not specified, then host defaults to the current host,
705 # as determined by config.guess.
706 # 4. Target and build default to nonopt.
707 # 5. If nonopt is not specified, then target and build default to host.
709 # The aliases save the names the user supplied, while $host etc.
710 # will get canonicalized.
711 case $host---$target---$nonopt in
712 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
713 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
717 # Make sure we can run config.sub.
718 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
719 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
722 echo $ac_n "checking host system type""... $ac_c" 1>&6
723 echo "configure:724: checking host system type" >&5
726 case "$host_alias" in
730 if host_alias
=`$ac_config_guess`; then :
731 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
733 *) host_alias
=$nonopt ;;
737 host=`$ac_config_sub $host_alias`
738 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
739 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
740 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
741 echo "$ac_t""$host" 1>&6
743 echo $ac_n "checking target system type""... $ac_c" 1>&6
744 echo "configure:745: checking target system type" >&5
747 case "$target_alias" in
750 NONE
) target_alias
=$host_alias ;;
751 *) target_alias
=$nonopt ;;
755 target
=`$ac_config_sub $target_alias`
756 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
757 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
758 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
759 echo "$ac_t""$target" 1>&6
761 echo $ac_n "checking build system type""... $ac_c" 1>&6
762 echo "configure:763: checking build system type" >&5
765 case "$build_alias" in
768 NONE
) build_alias
=$host_alias ;;
769 *) build_alias
=$nonopt ;;
773 build
=`$ac_config_sub $build_alias`
774 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
775 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
776 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
777 echo "$ac_t""$build" 1>&6
779 test "$host_alias" != "$target_alias" &&
780 test "$program_prefix$program_suffix$program_transform_name" = \
782 program_prefix
=${target_alias}-
785 # Find some useful tools
786 for ac_prog
in mawk gawk nawk
awk
788 # Extract the first word of "$ac_prog", so it can be a program name with args.
789 set dummy
$ac_prog; ac_word
=$2
790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
791 echo "configure:792: checking for $ac_word" >&5
792 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
793 echo $ac_n "(cached) $ac_c" 1>&6
795 if test -n "$AWK"; then
796 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
798 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
799 for ac_dir
in $PATH; do
800 test -z "$ac_dir" && ac_dir
=.
801 if test -f $ac_dir/$ac_word; then
802 ac_cv_prog_AWK
="$ac_prog"
809 AWK
="$ac_cv_prog_AWK"
810 if test -n "$AWK"; then
811 echo "$ac_t""$AWK" 1>&6
813 echo "$ac_t""no" 1>&6
816 test -n "$AWK" && break
819 # Extract the first word of "flex", so it can be a program name with args.
820 set dummy flex
; ac_word
=$2
821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
822 echo "configure:823: checking for $ac_word" >&5
823 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
824 echo $ac_n "(cached) $ac_c" 1>&6
826 if test -n "$LEX"; then
827 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
829 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
830 for ac_dir
in $PATH; do
831 test -z "$ac_dir" && ac_dir
=.
832 if test -f $ac_dir/$ac_word; then
833 ac_cv_prog_LEX
="flex"
838 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
841 LEX
="$ac_cv_prog_LEX"
842 if test -n "$LEX"; then
843 echo "$ac_t""$LEX" 1>&6
845 echo "$ac_t""no" 1>&6
854 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
855 echo "configure:856: checking for yywrap in -l$ac_lib" >&5
856 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
861 LIBS
="-l$ac_lib $LIBS"
862 cat > conftest.
$ac_ext <<EOF
863 #line 864 "configure"
864 #include "confdefs.h"
865 /* Override any gcc2 internal prototype to avoid an error. */
866 /* We use char because int might match the return type of a gcc2
867 builtin and then its argument prototype would still apply. */
874 if { (eval echo configure
:875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
876 eval "ac_cv_lib_$ac_lib_var=yes"
878 echo "configure: failed program was:" >&5
879 cat conftest.
$ac_ext >&5
881 eval "ac_cv_lib_$ac_lib_var=no"
887 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
888 echo "$ac_t""yes" 1>&6
891 echo "$ac_t""no" 1>&6
896 echo $ac_n "checking whether ln works""... $ac_c" 1>&6
897 echo "configure:898: checking whether ln works" >&5
898 if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
899 echo $ac_n "(cached) $ac_c" 1>&6
903 if ln conftestdata_f conftestdata_t
2>/dev
/null
907 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
909 gcc_cv_prog_LN
="ln -s"
914 rm -f conftestdata_f conftestdata_t
918 if test "$gcc_cv_prog_LN" = "ln"; then
919 echo "$ac_t""yes" 1>&6
921 if test "$gcc_cv_prog_LN" = "ln -s"; then
922 echo "$ac_t""no, using ln -s" 1>&6
924 echo "$ac_t""no, and neither does ln -s, so using cp" 1>&6
928 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
929 echo "configure:930: checking whether ln -s works" >&5
930 if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
931 echo $ac_n "(cached) $ac_c" 1>&6
935 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
937 gcc_cv_prog_LN_S
="ln -s"
939 if ln conftestdata_f conftestdata_t
2>/dev
/null
946 rm -f conftestdata_f conftestdata_t
949 LN_S
="$gcc_cv_prog_LN_S"
950 if test "$gcc_cv_prog_LN_S" = "ln -s"; then
951 echo "$ac_t""yes" 1>&6
953 if test "$gcc_cv_prog_LN_S" = "ln"; then
954 echo "$ac_t""no, using ln" 1>&6
956 echo "$ac_t""no, and neither does ln, so using cp" 1>&6
960 # Extract the first word of "ranlib", so it can be a program name with args.
961 set dummy ranlib
; ac_word
=$2
962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
963 echo "configure:964: checking for $ac_word" >&5
964 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
965 echo $ac_n "(cached) $ac_c" 1>&6
967 if test -n "$RANLIB"; then
968 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
971 for ac_dir
in $PATH; do
972 test -z "$ac_dir" && ac_dir
=.
973 if test -f $ac_dir/$ac_word; then
974 ac_cv_prog_RANLIB
="ranlib"
979 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
982 RANLIB
="$ac_cv_prog_RANLIB"
983 if test -n "$RANLIB"; then
984 echo "$ac_t""$RANLIB" 1>&6
986 echo "$ac_t""no" 1>&6
989 for ac_prog
in 'bison -y' byacc
991 # Extract the first word of "$ac_prog", so it can be a program name with args.
992 set dummy
$ac_prog; ac_word
=$2
993 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
994 echo "configure:995: checking for $ac_word" >&5
995 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
996 echo $ac_n "(cached) $ac_c" 1>&6
998 if test -n "$YACC"; then
999 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1001 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1002 for ac_dir
in $PATH; do
1003 test -z "$ac_dir" && ac_dir
=.
1004 if test -f $ac_dir/$ac_word; then
1005 ac_cv_prog_YACC
="$ac_prog"
1012 YACC
="$ac_cv_prog_YACC"
1013 if test -n "$YACC"; then
1014 echo "$ac_t""$YACC" 1>&6
1016 echo "$ac_t""no" 1>&6
1019 test -n "$YACC" && break
1021 test -n "$YACC" || YACC
="yacc"
1023 # Find a good install program. We prefer a C program (faster),
1024 # so one script is as good as another. But avoid the broken or
1025 # incompatible versions:
1026 # SysV /etc/install, /usr/sbin/install
1027 # SunOS /usr/etc/install
1028 # IRIX /sbin/install
1030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1032 # ./install, which can be erroneously created by make from ./install.sh.
1033 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1034 echo "configure:1035: checking for a BSD compatible install" >&5
1035 if test -z "$INSTALL"; then
1036 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1037 echo $ac_n "(cached) $ac_c" 1>&6
1039 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1040 for ac_dir
in $PATH; do
1041 # Account for people who put trailing slashes in PATH elements.
1043 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1045 # OSF1 and SCO ODT 3.0 have their own names for install.
1046 for ac_prog
in ginstall scoinst
install; do
1047 if test -f $ac_dir/$ac_prog; then
1048 if test $ac_prog = install &&
1049 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1050 # AIX install. It has an incompatible calling convention.
1051 # OSF/1 installbsd also uses dspmsg, but is usable.
1054 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1065 if test "${ac_cv_path_install+set}" = set; then
1066 INSTALL
="$ac_cv_path_install"
1068 # As a last resort, use the slow shell script. We don't cache a
1069 # path for INSTALL within a source directory, because that will
1070 # break other packages using the cache if that directory is
1071 # removed, or if the path is relative.
1072 INSTALL
="$ac_install_sh"
1075 echo "$ac_t""$INSTALL" 1>&6
1077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1078 # It thinks the first close brace ends the variable substitution.
1079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1081 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1084 # Find the native compiler
1085 # Extract the first word of "gcc", so it can be a program name with args.
1086 set dummy gcc
; ac_word
=$2
1087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1088 echo "configure:1089: checking for $ac_word" >&5
1089 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1090 echo $ac_n "(cached) $ac_c" 1>&6
1092 if test -n "$CC"; then
1093 ac_cv_prog_CC
="$CC" # Let the user override the test.
1095 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1096 for ac_dir
in $PATH; do
1097 test -z "$ac_dir" && ac_dir
=.
1098 if test -f $ac_dir/$ac_word; then
1107 if test -n "$CC"; then
1108 echo "$ac_t""$CC" 1>&6
1110 echo "$ac_t""no" 1>&6
1113 if test -z "$CC"; then
1114 # Extract the first word of "cc", so it can be a program name with args.
1115 set dummy cc
; ac_word
=$2
1116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1117 echo "configure:1118: checking for $ac_word" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1121 if test -n "$CC"; then
1122 ac_cv_prog_CC
="$CC" # Let the user override the test.
1124 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1126 for ac_dir
in $PATH; do
1127 test -z "$ac_dir" && ac_dir
=.
1128 if test -f $ac_dir/$ac_word; then
1129 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1130 ac_prog_rejected
=yes
1138 if test $ac_prog_rejected = yes; then
1139 # We found a bogon in the path, so make sure we never use it.
1140 set dummy
$ac_cv_prog_CC
1142 if test $# -gt 0; then
1143 # We chose a different compiler from the bogus one.
1144 # However, it has the same basename, so the bogon will be chosen
1145 # first if we set CC to just the basename; use the full file name.
1147 set dummy
"$ac_dir/$ac_word" "$@"
1155 if test -n "$CC"; then
1156 echo "$ac_t""$CC" 1>&6
1158 echo "$ac_t""no" 1>&6
1161 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1164 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1165 echo "configure:1166: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1169 ac_cpp
='$CPP $CPPFLAGS'
1170 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1171 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1172 cross_compiling
=$ac_cv_prog_cc_cross
1174 cat > conftest.
$ac_ext <<EOF
1175 #line 1176 "configure"
1176 #include "confdefs.h"
1179 if { (eval echo configure
:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1180 ac_cv_prog_cc_works
=yes
1181 # If we can't run a trivial program, we are probably using a cross compiler.
1182 if (.
/conftest
; exit) 2>/dev
/null
; then
1183 ac_cv_prog_cc_cross
=no
1185 ac_cv_prog_cc_cross
=yes
1188 echo "configure: failed program was:" >&5
1189 cat conftest.
$ac_ext >&5
1190 ac_cv_prog_cc_works
=no
1194 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1195 if test $ac_cv_prog_cc_works = no
; then
1196 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1198 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1199 echo "configure:1200: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1200 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1201 cross_compiling
=$ac_cv_prog_cc_cross
1203 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1204 echo "configure:1205: checking whether we are using GNU C" >&5
1205 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1206 echo $ac_n "(cached) $ac_c" 1>&6
1208 cat > conftest.c
<<EOF
1213 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1220 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1222 if test $ac_cv_prog_gcc = yes; then
1224 ac_test_CFLAGS
="${CFLAGS+set}"
1225 ac_save_CFLAGS
="$CFLAGS"
1227 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1228 echo "configure:1229: checking whether ${CC-cc} accepts -g" >&5
1229 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1230 echo $ac_n "(cached) $ac_c" 1>&6
1232 echo 'void f(){}' > conftest.c
1233 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1242 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1243 if test "$ac_test_CFLAGS" = set; then
1244 CFLAGS
="$ac_save_CFLAGS"
1245 elif test $ac_cv_prog_cc_g = yes; then
1252 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1255 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1256 echo "configure:1257: checking whether ${MAKE-make} sets \${MAKE}" >&5
1257 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
1258 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1259 echo $ac_n "(cached) $ac_c" 1>&6
1261 cat > conftestmake
<<\EOF
1263 @
echo 'ac_maketemp="${MAKE}"'
1265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1266 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1267 if test -n "$ac_maketemp"; then
1268 eval ac_cv_prog_make_
${ac_make}_set
=yes
1270 eval ac_cv_prog_make_
${ac_make}_set
=no
1274 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1275 echo "$ac_t""yes" 1>&6
1278 echo "$ac_t""no" 1>&6
1279 SET_MAKE
="MAKE=${MAKE-make}"
1283 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1284 echo "configure:1285: checking how to run the C preprocessor" >&5
1285 # On Suns, sometimes $CPP names a directory.
1286 if test -n "$CPP" && test -d "$CPP"; then
1289 if test -z "$CPP"; then
1290 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1291 echo $ac_n "(cached) $ac_c" 1>&6
1293 # This must be in double quotes, not single quotes, because CPP may get
1294 # substituted into the Makefile and "${CC-cc}" will confuse make.
1296 # On the NeXT, cc -E runs the code through the compiler's parser,
1297 # not just through cpp.
1298 cat > conftest.
$ac_ext <<EOF
1299 #line 1300 "configure"
1300 #include "confdefs.h"
1304 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1305 { (eval echo configure
:1306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1306 ac_err
=`grep -v '^ *+' conftest.out`
1307 if test -z "$ac_err"; then
1311 echo "configure: failed program was:" >&5
1312 cat conftest.
$ac_ext >&5
1314 CPP
="${CC-cc} -E -traditional-cpp"
1315 cat > conftest.
$ac_ext <<EOF
1316 #line 1317 "configure"
1317 #include "confdefs.h"
1321 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1322 { (eval echo configure
:1323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1323 ac_err
=`grep -v '^ *+' conftest.out`
1324 if test -z "$ac_err"; then
1328 echo "configure: failed program was:" >&5
1329 cat conftest.
$ac_ext >&5
1336 ac_cv_prog_CPP
="$CPP"
1338 CPP
="$ac_cv_prog_CPP"
1340 ac_cv_prog_CPP
="$CPP"
1342 echo "$ac_t""$CPP" 1>&6
1344 for ac_hdr
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h varargs.h sys
/varargs.h
1346 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1347 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1348 echo "configure:1349: checking for $ac_hdr" >&5
1349 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1350 echo $ac_n "(cached) $ac_c" 1>&6
1352 cat > conftest.
$ac_ext <<EOF
1353 #line 1354 "configure"
1354 #include "confdefs.h"
1357 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1358 { (eval echo configure
:1359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1359 ac_err
=`grep -v '^ *+' conftest.out`
1360 if test -z "$ac_err"; then
1362 eval "ac_cv_header_$ac_safe=yes"
1365 echo "configure: failed program was:" >&5
1366 cat conftest.
$ac_ext >&5
1368 eval "ac_cv_header_$ac_safe=no"
1372 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1373 echo "$ac_t""yes" 1>&6
1374 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1375 cat >> confdefs.h
<<EOF
1376 #define $ac_tr_hdr 1
1380 echo "$ac_t""no" 1>&6
1385 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
1386 echo "configure:1387: checking whether malloc must be declared" >&5
1387 if eval "test \"`echo '$''{'gcc_cv_decl_needed_malloc'+set}'`\" = set"; then
1388 echo $ac_n "(cached) $ac_c" 1>&6
1390 cat > conftest.
$ac_ext <<EOF
1391 #line 1392 "configure"
1392 #include "confdefs.h"
1395 #ifdef HAVE_STRING_H
1398 #ifdef HAVE_STRINGS_H
1399 #include <strings.h>
1402 #ifdef HAVE_STDLIB_H
1405 #ifdef HAVE_UNISTD_H
1409 char *(*pfn) = (char *(*)) malloc
1412 if { (eval echo configure
:1413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1414 gcc_cv_decl_needed_malloc
=no
1416 echo "configure: failed program was:" >&5
1417 cat conftest.
$ac_ext >&5
1419 gcc_cv_decl_needed_malloc
=yes
1424 echo "$ac_t""$gcc_cv_decl_needed_malloc" 1>&6
1425 if test $gcc_cv_decl_needed_malloc = yes; then
1426 gcc_tr_decl
=NEED_DECLARATION_
`echo malloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1427 cat >> confdefs.h
<<EOF
1428 #define $gcc_tr_decl 1
1433 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
1434 echo "configure:1435: checking whether realloc must be declared" >&5
1435 if eval "test \"`echo '$''{'gcc_cv_decl_needed_realloc'+set}'`\" = set"; then
1436 echo $ac_n "(cached) $ac_c" 1>&6
1438 cat > conftest.
$ac_ext <<EOF
1439 #line 1440 "configure"
1440 #include "confdefs.h"
1443 #ifdef HAVE_STRING_H
1446 #ifdef HAVE_STRINGS_H
1447 #include <strings.h>
1450 #ifdef HAVE_STDLIB_H
1453 #ifdef HAVE_UNISTD_H
1457 char *(*pfn) = (char *(*)) realloc
1460 if { (eval echo configure
:1461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1462 gcc_cv_decl_needed_realloc
=no
1464 echo "configure: failed program was:" >&5
1465 cat conftest.
$ac_ext >&5
1467 gcc_cv_decl_needed_realloc
=yes
1472 echo "$ac_t""$gcc_cv_decl_needed_realloc" 1>&6
1473 if test $gcc_cv_decl_needed_realloc = yes; then
1474 gcc_tr_decl
=NEED_DECLARATION_
`echo realloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1475 cat >> confdefs.h
<<EOF
1476 #define $gcc_tr_decl 1
1481 echo $ac_n "checking whether calloc must be declared""... $ac_c" 1>&6
1482 echo "configure:1483: checking whether calloc must be declared" >&5
1483 if eval "test \"`echo '$''{'gcc_cv_decl_needed_calloc'+set}'`\" = set"; then
1484 echo $ac_n "(cached) $ac_c" 1>&6
1486 cat > conftest.
$ac_ext <<EOF
1487 #line 1488 "configure"
1488 #include "confdefs.h"
1491 #ifdef HAVE_STRING_H
1494 #ifdef HAVE_STRINGS_H
1495 #include <strings.h>
1498 #ifdef HAVE_STDLIB_H
1501 #ifdef HAVE_UNISTD_H
1505 char *(*pfn) = (char *(*)) calloc
1508 if { (eval echo configure
:1509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1510 gcc_cv_decl_needed_calloc
=no
1512 echo "configure: failed program was:" >&5
1513 cat conftest.
$ac_ext >&5
1515 gcc_cv_decl_needed_calloc
=yes
1520 echo "$ac_t""$gcc_cv_decl_needed_calloc" 1>&6
1521 if test $gcc_cv_decl_needed_calloc = yes; then
1522 gcc_tr_decl
=NEED_DECLARATION_
`echo calloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1523 cat >> confdefs.h
<<EOF
1524 #define $gcc_tr_decl 1
1529 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
1530 echo "configure:1531: checking whether free must be declared" >&5
1531 if eval "test \"`echo '$''{'gcc_cv_decl_needed_free'+set}'`\" = set"; then
1532 echo $ac_n "(cached) $ac_c" 1>&6
1534 cat > conftest.
$ac_ext <<EOF
1535 #line 1536 "configure"
1536 #include "confdefs.h"
1539 #ifdef HAVE_STRING_H
1542 #ifdef HAVE_STRINGS_H
1543 #include <strings.h>
1546 #ifdef HAVE_STDLIB_H
1549 #ifdef HAVE_UNISTD_H
1553 char *(*pfn) = (char *(*)) free
1556 if { (eval echo configure
:1557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1558 gcc_cv_decl_needed_free
=no
1560 echo "configure: failed program was:" >&5
1561 cat conftest.
$ac_ext >&5
1563 gcc_cv_decl_needed_free
=yes
1568 echo "$ac_t""$gcc_cv_decl_needed_free" 1>&6
1569 if test $gcc_cv_decl_needed_free = yes; then
1570 gcc_tr_decl
=NEED_DECLARATION_
`echo free | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1571 cat >> confdefs.h
<<EOF
1572 #define $gcc_tr_decl 1
1578 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
1579 echo "configure:1580: checking for sys_siglist declaration in signal.h or unistd.h" >&5
1580 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
1581 echo $ac_n "(cached) $ac_c" 1>&6
1583 cat > conftest.
$ac_ext <<EOF
1584 #line 1585 "configure"
1585 #include "confdefs.h"
1586 #include <sys/types.h>
1588 /* NetBSD declares sys_siglist in unistd.h. */
1589 #ifdef HAVE_UNISTD_H
1593 char *msg = *(sys_siglist + 1);
1596 if { (eval echo configure
:1597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1598 ac_cv_decl_sys_siglist
=yes
1600 echo "configure: failed program was:" >&5
1601 cat conftest.
$ac_ext >&5
1603 ac_cv_decl_sys_siglist
=no
1608 echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
1609 if test $ac_cv_decl_sys_siglist = yes; then
1610 cat >> confdefs.h
<<\EOF
1611 #define SYS_SIGLIST_DECLARED 1
1617 for ac_func
in strerror strtoul bsearch
1619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1620 echo "configure:1621: checking for $ac_func" >&5
1621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1622 echo $ac_n "(cached) $ac_c" 1>&6
1624 cat > conftest.
$ac_ext <<EOF
1625 #line 1626 "configure"
1626 #include "confdefs.h"
1627 /* System header to define __stub macros and hopefully few prototypes,
1628 which can conflict with char $ac_func(); below. */
1630 /* Override any gcc2 internal prototype to avoid an error. */
1631 /* We use char because int might match the return type of a gcc2
1632 builtin and then its argument prototype would still apply. */
1637 /* The GNU C library defines this for functions which it implements
1638 to always fail with ENOSYS. Some functions are actually named
1639 something starting with __ and the normal name is an alias. */
1640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1648 if { (eval echo configure
:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1650 eval "ac_cv_func_$ac_func=yes"
1652 echo "configure: failed program was:" >&5
1653 cat conftest.
$ac_ext >&5
1655 eval "ac_cv_func_$ac_func=no"
1660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1661 echo "$ac_t""yes" 1>&6
1662 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1663 cat >> confdefs.h
<<EOF
1664 #define $ac_tr_func 1
1668 echo "$ac_t""no" 1>&6
1680 build_install_headers_dir
=install-headers-tar
1684 host_truncate_target
=
1686 # Decode the host machine, then the target machine.
1687 # For the host machine, we save the xm_file variable as host_xm_file;
1688 # then we decode the target machine and forget everything else
1689 # that came from the host machine.
1690 for machine
in $build $host $target; do
1703 # Set this to force installation and use of collect2.
1705 # Set this to override the default target model.
1707 # Set this to control which fixincludes program to use.
1708 fixincludes
=fixincludes
1709 # Set this to control how the header file directory is installed.
1710 install_headers_dir
=install-headers-tar
1711 # Set this to a non-empty list of args to pass to cpp if the target
1712 # wants its .md file passed through cpp.
1714 # Set this if directory names should be truncated to 14 characters.
1716 # Set this if gdb needs a dir command with `dirname $out_file`
1717 gdb_needs_out_file_path
=
1718 # Set this if the build machine requires executables to have a
1722 # Set default cpu_type, tm_file and xm_file so it can be updated in
1723 # each machine entry.
1724 cpu_type
=`echo $machine | sed 's/-.*$//'`
1758 tm_file
=${cpu_type}/${cpu_type}.h
1759 xm_file
=${cpu_type}/xm-
${cpu_type}.h
1762 # Support site-specific machine types.
1764 cpu_type
=`echo $machine | sed -e 's/-.*//'`
1765 rest
=`echo $machine | sed -e "s/$cpu_type-//"`
1766 xm_file
=${cpu_type}/xm-
$rest.h
1767 tm_file
=${cpu_type}/$rest.h
1768 if [ -f $srcdir/config
/${cpu_type}/x-
$rest ] ; \
1769 then xmake_file
=${cpu_type}/x-
$rest; \
1772 if [ -f $srcdir/config
/${cpu_type}/t-
$rest ] ; \
1773 then tmake_file
=${cpu_type}/t-
$rest; \
1779 a29k-
*-bsd* | a29k-
*-sym1*)
1780 tm_file
="${tm_file} a29k/unix.h"
1781 xm_file
=a29k
/xm-unix.h
1782 xmake_file
=a29k
/x-unix
1785 a29k-
*-udi | a29k-
*-coff)
1786 tm_file
="${tm_file} dbxcoff.h a29k/udi.h"
1787 tmake_file
=a29k
/t-a29kbare
1790 tm_file
="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
1791 tmake_file
=a29k
/t-vx29k
1792 extra_parts
="crtbegin.o crtend.o"
1794 a29k-
*-*) # Default a29k environment.
1797 alpha
*-*-linux-gnuecoff*)
1798 tm_file
="${tm_file} alpha/linux.h"
1799 xm_file
="${xm_file} alpha/xm-linux.h"
1800 target_cpu_default
="MASK_GAS"
1803 fixincludes
=Makefile.
in
1806 alpha
*-*-linux-gnulibc1*)
1807 tm_file
="${tm_file} alpha/linux.h alpha/elf.h"
1808 xm_file
="${xm_file} alpha/xm-linux.h"
1809 target_cpu_default
="MASK_GAS"
1810 tmake_file
="t-linux t-linux-gnulibc1 alpha/t-linux"
1812 fixincludes
=Makefile.
in
1814 if [ x
$enable_threads = xyes
]; then
1818 alpha
*-*-linux-gnu*)
1819 tm_file
="${tm_file} alpha/linux.h alpha/elf.h"
1820 xm_file
="${xm_file} alpha/xm-linux.h"
1821 target_cpu_default
="MASK_GAS"
1822 tmake_file
="t-linux alpha/t-linux"
1824 fixincludes
=Makefile.
in
1826 if [ x
$enable_threads = xyes
]; then
1830 alpha
*-dec-osf[456789]*)
1831 if [ x
$stabs = xyes
]
1833 tm_file
="${tm_file} dbx.h"
1835 if [ x
$gas != xyes
]
1837 extra_passes
="mips-tfile mips-tdump"
1840 # Some versions of OSF4 (specifically X4.0-9 296.7) have
1841 # a broken tar, so we use cpio instead.
1844 install_headers_dir
=install-headers-cpio
1848 alpha
*-dec-osf[23]*)
1849 tm_file
="${tm_file} alpha/osf2or3.h"
1850 if [ x
$stabs = xyes
]
1852 tm_file
="${tm_file} dbx.h"
1854 if [ x
$gas != xyes
]
1856 extra_passes
="mips-tfile mips-tdump"
1861 tm_file
="${tm_file} alpha/osf12.h"
1862 if [ x
$stabs = xyes
]
1864 tm_file
="${tm_file} dbx.h"
1866 if [ x
$gas != xyes
]
1868 extra_passes
="mips-tfile mips-tdump"
1873 if [ x
$stabs = xyes
]
1875 tm_file
="${tm_file} dbx.h"
1877 if [ x
$gas != xyes
]
1879 extra_passes
="mips-tfile mips-tdump"
1884 tm_file
="${tm_file} alpha/win-nt.h"
1885 target_cpu_default
=MASK_WINDOWS_NT
1886 xm_file
="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
1887 tmake_file
=t-libc-ok
1888 xmake_file
=winnt
/x-winnt
1889 extra_host_objs
=oldnames.o
1890 extra_gcc_objs
="spawnv.o oldnames.o"
1891 fixincludes
=fixinc.winnt
1892 if [ x
$gnu_ld != xyes
]
1894 extra_programs
=ld.exe
1896 if [ x
$enable_threads = xyes
]; then
1902 xm_file
="${xm_file} alpha/xm-vms.h"
1903 tmake_file
=alpha
/t-vms
1904 fixincludes
=Makefile.
in
1907 extra_parts
="crtinit.o crtfini.o"
1909 arm-
*-coff* | armel-
*-coff*)
1911 tmake_file
=arm
/t-bare
1913 arm-
*-riscix1.
[01]*) # Acorn RISC machine (early versions)
1914 tm_file
=arm
/riscix1-1.h
1917 arm-
*-riscix*) # Acorn RISC machine
1920 tm_file
=arm
/rix-gas.h
1922 tm_file
=arm
/riscix.h
1924 xmake_file
=arm
/x-riscix
1925 tmake_file
=arm
/t-riscix
1928 arm-semi-aout | armel-semi-aout
)
1930 tmake_file
=arm
/t-semi
1931 fixincludes
=Makefile.
in # There is nothing to fix
1933 arm-semi-aof | armel-semi-aof
)
1934 tm_file
=arm
/semiaof.h
1935 tmake_file
=arm
/t-semiaof
1936 fixincludes
=Makefile.
in # There is nothing to fix
1939 tm_file
=arm
/netbsd.h
1940 xm_file
=arm
/xm-netbsd.h
1941 tmake_file
=arm
/t-netbsd
1942 # On NetBSD, the headers are already okay, except for math.h.
1943 fixincludes
=fixinc.math
1946 arm-
*-linux-gnuaout*) # ARM Linux
1948 xm_file
=arm
/xm-linux.h
1950 tm_file
=arm
/linux-gas.h
1951 tmake_file
=arm
/t-linux
1952 fixincludes
=Makefile.
in
1958 c1-convex-
*) # Convex C1
1959 target_cpu_default
=1
1961 fixincludes
=Makefile.
in
1963 c2-convex-
*) # Convex C2
1964 target_cpu_default
=2
1966 fixincludes
=Makefile.
in
1969 target_cpu_default
=4
1971 fixincludes
=Makefile.
in
1974 target_cpu_default
=8
1976 fixincludes
=Makefile.
in
1979 target_cpu_default
=16
1981 fixincludes
=Makefile.
in
1983 clipper-intergraph-clix
*)
1984 tm_file
="${tm_file} svr3.h clipper/clix.h"
1985 xm_file
=clipper
/xm-clix.h
1986 xmake_file
=clipper
/x-clix
1987 extra_headers
=va-clipper.h
1988 extra_parts
="crtbegin.o crtend.o"
1989 install_headers_dir
=install-headers-cpio
1996 # This hasn't been upgraded to GCC 2.
1997 # fx80-alliant-*) # Alliant FX/80
2003 if [ x
$enable_haifa != xno
]; then
2006 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
2007 xm_file
=pa
/xm-papro.h
2011 if [ x
$enable_haifa != xno
]; then
2014 target_cpu_default
=1
2015 tm_file
="${tm_file} pa/pa-osf.h"
2017 fixincludes
=Makefile.
in
2020 if [ x
$enable_haifa != xno
]; then
2023 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
2024 xm_file
=pa
/xm-papro.h
2028 if [ x
$enable_haifa != xno
]; then
2031 tm_file
="${tm_file} pa/pa-osf.h"
2033 fixincludes
=Makefile.
in
2036 if [ x
$enable_haifa != xno
]; then
2039 target_cpu_default
=1
2041 fixincludes
=Makefile.
in
2044 if [ x
$enable_haifa != xno
]; then
2048 fixincludes
=Makefile.
in
2051 if [ x
$enable_haifa != xno
]; then
2054 tm_file
="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
2055 xm_file
=pa
/xm-pahpux.h
2056 xmake_file
=pa
/x-pa-hpux
2059 tm_file
="${tm_file} pa/gas.h"
2061 install_headers_dir
=install-headers-cpio
2064 hppa1.0
-*-hpux8.0
[0-2]*)
2065 if [ x
$enable_haifa != xno
]; then
2068 tm_file
="${tm_file} pa/pa-hpux.h"
2069 xm_file
=pa
/xm-pahpux.h
2070 xmake_file
=pa
/x-pa-hpux
2073 tm_file
="${tm_file} pa/pa-gas.h"
2075 tm_file
="pa/pa-oldas.h ${tm_file}"
2077 install_headers_dir
=install-headers-cpio
2080 hppa1.1
-*-hpux8.0
[0-2]*)
2081 if [ x
$enable_haifa != xno
]; then
2084 target_cpu_default
=1
2085 tm_file
="${tm_file} pa/pa-hpux.h"
2086 xm_file
=pa
/xm-pahpux.h
2087 xmake_file
=pa
/x-pa-hpux
2090 tm_file
="${tm_file} pa/pa-gas.h"
2092 tm_file
="pa/pa-oldas.h ${tm_file}"
2094 install_headers_dir
=install-headers-cpio
2098 if [ x
$enable_haifa != xno
]; then
2101 target_cpu_default
=1
2102 tm_file
="${tm_file} pa/pa-hpux.h"
2103 xm_file
=pa
/xm-pahpux.h
2104 xmake_file
=pa
/x-pa-hpux
2107 tm_file
="${tm_file} pa/pa-gas.h"
2109 install_headers_dir
=install-headers-cpio
2113 if [ x
$enable_haifa != xno
]; then
2116 tm_file
="${tm_file} pa/pa-hpux.h"
2117 xm_file
=pa
/xm-pahpux.h
2118 xmake_file
=pa
/x-pa-hpux
2121 tm_file
="${tm_file} pa/pa-gas.h"
2123 install_headers_dir
=install-headers-cpio
2127 if [ x
$enable_haifa != xno
]; then
2130 target_cpu_default
=1
2131 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
2132 xm_file
=pa
/xm-pahpux.h
2133 xmake_file
=pa
/x-pa-hpux
2136 tm_file
="${tm_file} pa/pa-gas.h"
2138 install_headers_dir
=install-headers-cpio
2142 if [ x
$enable_haifa != xno
]; then
2145 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
2146 xm_file
=pa
/xm-pahpux.h
2147 xmake_file
=pa
/x-pa-hpux
2150 tm_file
="${tm_file} pa/pa-gas.h"
2152 install_headers_dir
=install-headers-cpio
2156 if [ x
$enable_haifa != xno
]; then
2159 target_cpu_default
=1
2160 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
2161 xm_file
=pa
/xm-pahpux.h
2162 xmake_file
=pa
/x-pa-hpux
2165 tm_file
="${tm_file} pa/pa-gas.h"
2167 install_headers_dir
=install-headers-cpio
2171 if [ x
$enable_haifa != xno
]; then
2174 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
2175 xm_file
=pa
/xm-pahpux.h
2176 xmake_file
=pa
/x-pa-hpux
2179 tm_file
="${tm_file} pa/pa-gas.h"
2181 install_headers_dir
=install-headers-cpio
2185 if [ x
$enable_haifa != xno
]; then
2188 target_cpu_default
=1
2189 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
2190 xm_file
=pa
/xm-pahpux.h
2191 xmake_file
=pa
/x-pa-hpux
2194 tm_file
="${tm_file} pa/pa-gas.h"
2196 install_headers_dir
=install-headers-cpio
2200 if [ x
$enable_haifa != xno
]; then
2203 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
2204 xm_file
=pa
/xm-pahpux.h
2205 xmake_file
=pa
/x-pa-hpux
2208 tm_file
="${tm_file} pa/pa-gas.h"
2210 install_headers_dir
=install-headers-cpio
2214 if [ x
$enable_haifa != xno
]; then
2217 target_cpu_default
=1
2219 fixincludes
=Makefile.
in
2223 i
[3456]86-ibm-aix*) # IBM PS/2 running AIX
2226 tm_file
=i386
/aix386.h
2227 extra_parts
="crtbegin.o crtend.o"
2228 tmake_file
=i386
/t-crtstuff
2230 tm_file
=i386
/aix386ng.h
2233 xm_file
=i386
/xm-aix.h
2234 xmake_file
=i386
/x-aix
2236 i45686-ncr-sysv4
*) # NCR 3000 - ix86 running system V.4
2237 xm_file
=i386
/xm-sysv4.h
2238 xmake_file
=i386
/x-ncr3000
2239 if [ x
$stabs = xyes
-a x
$gas = xyes
]
2241 tm_file
=i386
/sysv4gdb.h
2243 tm_file
=i386
/sysv4.h
2245 extra_parts
="crtbegin.o crtend.o"
2246 tmake_file
=i386
/t-crtpic
2250 xm_file
=i386
/xm-next.h
2251 tmake_file
=i386
/t-next
2252 xmake_file
=i386
/x-next
2253 extra_objs
=nextstep.o
2254 if [ x
$enable_threads = xyes
]; then
2258 i
[3456]86-sequent-bsd*) # 80386 from Sequent
2262 tm_file
=i386
/seq-gas.h
2264 tm_file
=i386
/sequent.h
2267 i
[3456]86-sequent-ptx1*)
2268 xm_file
=i386
/xm-sysv3.h
2269 xmake_file
=i386
/x-sysv3
2270 tm_file
=i386
/seq-sysv3.h
2271 tmake_file
=i386
/t-crtstuff
2272 fixincludes
=fixinc.
ptx
2273 extra_parts
="crtbegin.o crtend.o"
2274 install_headers_dir
=install-headers-cpio
2276 i
[3456]86-sequent-ptx2* | i
[3456]86-sequent-sysv3*)
2277 xm_file
=i386
/xm-sysv3.h
2278 xmake_file
=i386
/x-sysv3
2279 tm_file
=i386
/seq2-sysv3.h
2280 tmake_file
=i386
/t-crtstuff
2281 extra_parts
="crtbegin.o crtend.o"
2282 fixincludes
=fixinc.
ptx
2283 install_headers_dir
=install-headers-cpio
2285 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4*)
2286 xm_file
=i386
/xm-sysv4.h
2288 tm_file
=i386
/ptx4-i.h
2290 extra_parts
="crtbegin.o crtend.o"
2291 fixincludes
=fixinc.
ptx
2292 install_headers_dir
=install-headers-cpio
2294 i386-sun-sunos
*) # Sun i386 roadrunner
2295 xm_file
=i386
/xm-sun.h
2300 tm_file
=i386
/i386-aout.h
2301 tmake_file
=i386
/t-i386bare
2303 i
[3456]86-*-bsdi* | i
[345]86-*-bsd386*)
2304 tm_file
=i386
/bsd386.h
2305 xm_file
=i386
/xm-bsd386.h
2306 # tmake_file=t-libc-ok
2309 tm_file
=i386
/386bsd.h
2310 xm_file
=i386
/xm-bsd386.h
2311 # tmake_file=t-libc-ok
2312 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
2315 i
[3456]86-*-freebsdelf*)
2316 tm_file
="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
2317 xm_file
=i386
/xm-freebsd.h
2318 # On FreeBSD, the headers are already ok, except for math.h.
2319 fixincludes
=fixinc.math
2320 tmake_file
=i386
/t-freebsd
2325 i
[3456]86-*-freebsd*)
2326 tm_file
=i386
/freebsd.h
2327 xm_file
=i386
/xm-freebsd.h
2328 # On FreeBSD, the headers are already ok, except for math.h.
2329 fixincludes
=fixinc.math
2330 tmake_file
=i386
/t-freebsd
2332 i
[3456]86-*-netbsd*)
2333 tm_file
=i386
/netbsd.h
2334 xm_file
=i386
/xm-netbsd.h
2335 # On NetBSD, the headers are already okay, except for math.h.
2336 fixincludes
=fixinc.math
2340 tm_file
=i386
/i386-coff.h
2341 tmake_file
=i386
/t-i386bare
2343 i
[3456]86-*-isc*) # 80386 running ISC system
2344 xm_file
=i386
/xm-isc.h
2346 i
[345]86-*-isc[34]*)
2347 xmake_file
=i386
/x-isc3
2350 xmake_file
=i386
/x-isc
2353 if [ x
$gas = xyes
-a x
$stabs = xyes
]
2355 tm_file
=i386
/iscdbx.h
2356 tmake_file
=i386
/t-svr3dbx
2357 extra_parts
="svr3.ifile svr3z.ifile"
2359 tm_file
=i386
/isccoff.h
2360 tmake_file
=i386
/t-crtstuff
2361 extra_parts
="crtbegin.o crtend.o"
2363 install_headers_dir
=install-headers-cpio
2365 i
[3456]86-*-linux-gnuoldld*) # Intel 80386's running Linux
2366 xm_file
=i386
/xm-linux.h
# with a.out format using pre BFD linkers
2367 xmake_file
=x-linux-aout
2368 tmake_file
="t-linux-aout i386/t-crtstuff"
2369 tm_file
=i386
/linux-oldld.h
2370 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
2373 i
[3456]86-*-linux-gnuaout*) # Intel 80386's running Linux
2374 xm_file
=i386
/xm-linux.h
# with a.out format
2375 xmake_file
=x-linux-aout
2376 tmake_file
="t-linux-aout i386/t-crtstuff"
2377 tm_file
=i386
/linux-aout.h
2378 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
2381 i
[3456]86-*-linux-gnulibc1)
2382 xm_file
=i386
/xm-linux.h
# Intel 80386's running Linux
2383 xmake_file
=x-linux
# with ELF format using the
2384 tm_file
=i386
/linux.h
# Linux C library 5
2385 tmake_file
="t-linux t-linux-gnulibc1 i386/t-crtstuff"
2386 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2387 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
2389 if [ x
$enable_threads = xyes
]; then
2390 thread_file
='single'
2393 i
[3456]86-*-linux-gnu*) # Intel 80386's running Linux
2394 xm_file
=i386
/xm-linux.h
# with ELF format using glibc 2
2395 xmake_file
=x-linux
# aka Linux C library 6
2396 tm_file
=i386
/linux.h
2397 tmake_file
="t-linux i386/t-crtstuff"
2398 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2399 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
2401 if [ x
$enable_threads = xyes
]; then
2407 i
[3456]86-go32-msdos | i
[3456]86-*-go32*)
2408 xm_file
=i386
/xm-go32.h
2410 tmake_file
=i386
/t-go32
2412 i
[3456]86-moss-msdos* | i
[3456]86-*-moss*)
2414 tmake_file
=t-libc-ok
2415 fixincludes
=Makefile.
in
2419 i
[3456]86-*-lynxos*)
2424 tm_file
=i386
/lynx-ng.h
2426 xm_file
=i386
/xm-lynx.h
2427 tmake_file
=i386
/t-i386bare
2432 # tmake_file=t-libc-ok
2435 i
[3456]86-*-osfrose*) # 386 using OSF/rose
2438 tm_file
=i386
/osfelf.h
2441 tm_file
=i386
/osfrose.h
2444 xm_file
=i386
/xm-osf.h
2445 xmake_file
=i386
/x-osfrose
2446 tmake_file
=i386
/t-osf
2447 extra_objs
=halfpic.o
2449 i
[345]86-go32-rtems*)
2451 xm_file
=i386
/xm-go32.h
2452 tm_file
=i386
/go32-rtems.h
2453 tmake_file
="i386/t-go32 t-rtems"
2457 tm_file
=i386
/rtems.h
2458 tmake_file
="i386/t-i386bare t-rtems"
2460 i
[3456]86-*-sco3.2v5
*) # 80386 running SCO Open Server 5
2461 xm_file
=i386
/xm-sco5.h
2462 xmake_file
=i386
/x-sco5
2463 fixincludes
=fixinc.sco
2464 install_headers_dir
=install-headers-cpio
2466 tmake_file
=i386
/t-sco5
2467 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2469 i
[3456]86-*-sco3.2v4
*) # 80386 running SCO 3.2v4 system
2470 xm_file
=i386
/xm-sco.h
2471 xmake_file
=i386
/x-sco4
2472 fixincludes
=fixinc.sco
2473 install_headers_dir
=install-headers-cpio
2474 if [ x
$stabs = xyes
]
2476 tm_file
=i386
/sco4dbx.h
2477 tmake_file
=i386
/t-svr3dbx
2478 extra_parts
="svr3.ifile svr3z.rfile"
2481 tmake_file
=i386
/t-crtstuff
2482 extra_parts
="crtbegin.o crtend.o"
2486 i
[3456]86-*-sco*) # 80386 running SCO system
2487 xm_file
=i386
/xm-sco.h
2488 xmake_file
=i386
/x-sco
2489 install_headers_dir
=install-headers-cpio
2490 if [ x
$stabs = xyes
]
2492 tm_file
=i386
/scodbx.h
2493 tmake_file
=i386
/t-svr3dbx
2494 extra_parts
="svr3.ifile svr3z.rfile"
2497 extra_parts
="crtbegin.o crtend.o"
2498 tmake_file
=i386
/t-crtstuff
2502 i
[3456]86-*-solaris2*)
2503 xm_file
=i386
/xm-sysv4.h
2504 if [ x
$stabs = xyes
]
2506 tm_file
=i386
/sol2dbg.h
2510 tmake_file
=i386
/t-sol2
2511 extra_parts
="crt1.o crti.o crtn.o crtbegin.o crtend.o"
2513 fixincludes
=fixinc.svr4
2514 if [ x
$enable_threads = xyes
]; then
2515 thread_file
='solaris'
2518 i
[3456]86-*-sysv4*) # Intel 80386's running system V.4
2519 xm_file
=i386
/xm-sysv4.h
2520 tm_file
=i386
/sysv4.h
2521 if [ x
$stabs = xyes
]
2523 tm_file
="${tm_file} dbx.h"
2525 tmake_file
=i386
/t-crtpic
2527 extra_parts
="crtbegin.o crtend.o"
2529 i
[3456]86-*-sysv*) # Intel 80386's running system V
2530 xm_file
=i386
/xm-sysv3.h
2531 xmake_file
=i386
/x-sysv3
2534 if [ x
$stabs = xyes
]
2536 tm_file
=i386
/svr3dbx.h
2537 tmake_file
=i386
/t-svr3dbx
2538 extra_parts
="svr3.ifile svr3z.rfile"
2540 tm_file
=i386
/svr3gas.h
2541 extra_parts
="crtbegin.o crtend.o"
2542 tmake_file
=i386
/t-crtstuff
2545 tm_file
=i386
/sysv3.h
2546 extra_parts
="crtbegin.o crtend.o"
2547 tmake_file
=i386
/t-crtstuff
2550 i386-
*-vsta) # Intel 80386's running VSTa kernel
2551 xm_file
=i386
/xm-vsta.h
2553 tmake_file
=i386
/t-vsta
2554 xmake_file
=i386
/x-vsta
2556 i
[3456]86-*-pe | i
[3456]86-*-cygwin32)
2557 xm_file
="${xm_file} i386/xm-cygwin32.h"
2558 tmake_file
=i386
/t-cygwin32
2559 tm_file
=i386
/cygwin32.h
2560 xmake_file
=i386
/x-cygwin32
2562 fixincludes
=Makefile.
in
2563 if [ x
$enable_threads = xyes
]; then
2568 i
[3456]86-*-mingw32)
2569 tm_file
=i386
/mingw32.h
2570 xm_file
="${xm_file} i386/xm-mingw32.h"
2571 tmake_file
=i386
/t-cygwin32
2573 xmake_file
=i386
/x-cygwin32
2574 fixincludes
=Makefile.
in
2575 if [ x
$enable_threads = xyes
]; then
2580 i
[3456]86-*-winnt3*)
2581 tm_file
=i386
/win-nt.h
2582 out_file
=i386
/i386.c
2583 xm_file
=i386
/xm-winnt.h
2584 xmake_file
=winnt
/x-winnt
2585 tmake_file
=i386
/t-winnt
2586 extra_host_objs
="winnt.o oldnames.o"
2587 extra_gcc_objs
="spawnv.o oldnames.o"
2588 fixincludes
=fixinc.winnt
2589 if [ x
$gnu_ld != xyes
]
2591 extra_programs
=ld.exe
2593 if [ x
$enable_threads = xyes
]; then
2598 xm_file
=i386
/xm-dgux.h
2599 out_file
=i386
/dgux.c
2601 tmake_file
=i386
/t-dgux
2602 xmake_file
=i386
/x-dgux
2603 fixincludes
=fixinc.dgux
2604 install_headers_dir
=install-headers-cpio
2606 i860-alliant-
*) # Alliant FX/2800
2607 tm_file
="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
2608 xm_file
="${xm_file} i860/xm-fx2800.h"
2609 xmake_file
=i860
/x-fx2800
2610 tmake_file
=i860
/t-fx2800
2611 extra_parts
="crtbegin.o crtend.o"
2614 tm_file
="${tm_file} i860/bsd.h"
2617 tm_file
="${tm_file} i860/bsd-gas.h"
2622 tm_file
="${tm_file} i860/mach.h"
2623 tmake_file
=t-libc-ok
2625 i860-
*-osf*) # Intel Paragon XP/S, OSF/1AD
2626 tm_file
="${tm_file} svr3.h i860/paragon.h"
2627 xm_file
="${xm_file} xm-svr3.h"
2631 tm_file
="${tm_file} svr3.h i860/sysv3.h"
2632 xm_file
="${tm_file} xm-svr3.h"
2633 xmake_file
=i860
/x-sysv3
2634 extra_parts
="crtbegin.o crtend.o"
2637 tm_file
="${tm_file} svr4.h i860/sysv4.h"
2638 xm_file
="${xm_file} xm-svr3.h"
2639 xmake_file
=i860
/x-sysv4
2641 extra_parts
="crtbegin.o crtend.o"
2643 i960-wrs-vxworks5 | i960-wrs-vxworks5.0
*)
2644 tm_file
="${tm_file} i960/vx960.h"
2645 tmake_file
=i960
/t-vxworks960
2649 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
2650 tmake_file
=i960
/t-vxworks960
2654 tm_file
="${tm_file} i960/vx960.h"
2655 tmake_file
=i960
/t-vxworks960
2659 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
2660 tmake_file
=i960
/t-960bare
2664 tmake_file
="i960/t-960bare t-rtems"
2665 tm_file
="${tm_file} dbxcoff.h i960/rtems.h"
2668 i960-
*-*) # Default i960 environment.
2672 extra_parts
="crtinit.o crtfini.o"
2674 m68000-convergent-sysv
*)
2676 xm_file
=m68k
/xm-3b1.h
2678 extra_headers
=math-68881.h
2680 m68000-hp-bsd
*) # HP 9000/200 running BSD
2681 tm_file
=m68k
/hp2bsd.h
2682 xmake_file
=m68k
/x-hp2bsd
2684 extra_headers
=math-68881.h
2686 m68000-hp-hpux
*) # HP 9000 series 300
2687 xm_file
=m68k
/xm-hp320.h
2690 xmake_file
=m68k
/x-hp320g
2691 tm_file
=m68k
/hp310g.h
2693 xmake_file
=m68k
/x-hp320
2694 tm_file
=m68k
/hp310.h
2696 install_headers_dir
=install-headers-cpio
2698 extra_headers
=math-68881.h
2703 extra_headers
=math-68881.h
2706 tm_file
=m68k
/sun2o4.h
2708 extra_headers
=math-68881.h
2711 xm_file
=m68k
/xm-3b1.h
2719 extra_headers
=math-68881.h
2721 m68k-apple-aux
*) # Apple Macintosh running A/UX
2722 xm_file
=m68k
/xm-aux.h
2723 tmake_file
=m68k
/t-aux
2724 install_headers_dir
=install-headers-cpio
2725 extra_headers
=math-68881.h
2726 extra_parts
="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
2728 if [ "$gnu_ld" = yes ]
2730 tm_file
="${tm_file} m68k/auxgld.h"
2732 tm_file
="${tm_file} m68k/auxld.h"
2736 tm_file
="${tm_file} m68k/auxgas.h"
2738 tm_file
="${tm_file} m68k/auxas.h"
2740 tm_file
="${tm_file} m68k/a-ux.h"
2743 tm_file
=m68k
/apollo68.h
2744 xmake_file
=m68k
/x-apollo68
2746 extra_headers
=math-68881.h
2748 m68k-altos-sysv
*) # Altos 3068
2751 tm_file
=m68k
/altos3068.h
2752 xm_file
=m68k
/xm-altos3068.h
2754 echo "The Altos is supported only with the GNU assembler" 1>&2
2757 extra_headers
=math-68881.h
2759 m68k-bull-sysv
*) # Bull DPX/2
2762 if [ x
$stabs = xyes
]
2764 tm_file
=m68k
/dpx2cdbx.h
2766 tm_file
=m68k
/dpx2g.h
2771 xm_file
=m68k
/xm-m68kv.h
2772 xmake_file
=m68k
/x-dpx2
2774 extra_headers
=math-68881.h
2776 m68k-atari-sysv4
*) # Atari variant of V.4.
2777 tm_file
=m68k
/atari.h
2778 xm_file
=m68k
/xm-atari.h
2780 extra_parts
="crtbegin.o crtend.o"
2781 extra_headers
=math-68881.h
2783 m68k-motorola-sysv
*)
2784 tm_file
=m68k
/mot3300.h
2785 xm_file
=m68k
/xm-mot3300.h
2788 xmake_file
=m68k
/x-mot3300-gas
2789 if [ x
$gnu_ld = xyes
]
2791 tmake_file
=m68k
/t-mot3300-gald
2793 tmake_file
=m68k
/t-mot3300-gas
2797 xmake_file
=m68k
/x-mot3300
2798 if [ x
$gnu_ld = xyes
]
2800 tmake_file
=m68k
/t-mot3300-gld
2802 tmake_file
=m68k
/t-mot3300
2806 gdb_needs_out_file_path
=yes
2807 extra_parts
="crt0.o mcrt0.o"
2808 extra_headers
=math-68881.h
2810 m68k-ncr-sysv
*) # NCR Tower 32 SVR3
2811 tm_file
=m68k
/tower-as.h
2812 xm_file
=m68k
/xm-tower.h
2813 xmake_file
=m68k
/x-tower
2814 extra_parts
="crtbegin.o crtend.o"
2815 extra_headers
=math-68881.h
2818 tm_file
=m68k
/plexus.h
2819 xm_file
=m68k
/xm-plexus.h
2821 extra_headers
=math-68881.h
2825 xm_file
=m68k
/xm-m68kv.h
2826 extra_headers
=math-68881.h
2829 xm_file
=m68k
/xm-crds.h
2830 xmake_file
=m68k
/x-crds
2833 extra_headers
=math-68881.h
2835 m68k-cbm-sysv4
*) # Commodore variant of V.4.
2837 xm_file
=m68k
/xm-amix.h
2838 xmake_file
=m68k
/x-amix
2840 extra_parts
="crtbegin.o crtend.o"
2841 extra_headers
=math-68881.h
2844 tm_file
=m68k
/ccur-GAS.h
2845 xmake_file
=m68k
/x-ccur
2846 extra_headers
=math-68881.h
2849 m68k-hp-bsd4.4
*) # HP 9000/3xx running 4.4bsd
2850 tm_file
=m68k
/hp3bsd44.h
2851 xmake_file
=m68k
/x-hp3bsd44
2853 extra_headers
=math-68881.h
2855 m68k-hp-bsd
*) # HP 9000/3xx running Berkeley Unix
2856 tm_file
=m68k
/hp3bsd.h
2858 extra_headers
=math-68881.h
2861 if [ x
$with_fp = xno
]
2863 tm_file
=m68k
/isi-nfp.h
2868 extra_headers
=math-68881.h
2870 m68k-hp-hpux7
*) # HP 9000 series 300 running HPUX version 7.
2871 xm_file
=m68k
/xm-hp320.h
2874 xmake_file
=m68k
/x-hp320g
2875 tm_file
=m68k
/hp320g.h
2877 xmake_file
=m68k
/x-hp320
2878 tm_file
=m68k
/hpux7.h
2880 install_headers_dir
=install-headers-cpio
2882 extra_headers
=math-68881.h
2884 m68k-hp-hpux
*) # HP 9000 series 300
2885 xm_file
=m68k
/xm-hp320.h
2888 xmake_file
=m68k
/x-hp320g
2889 tm_file
=m68k
/hp320g.h
2891 xmake_file
=m68k
/x-hp320
2892 tm_file
=m68k
/hp320.h
2894 install_headers_dir
=install-headers-cpio
2896 extra_headers
=math-68881.h
2899 tm_file
=m68k
/sun3mach.h
2901 extra_headers
=math-68881.h
2906 tm_file
=m68k
/news3gas.h
2908 tm_file
=m68k
/news3.h
2911 extra_headers
=math-68881.h
2913 m68k-sony-bsd
* | m68k-sony-newsos
*)
2916 tm_file
=m68k
/newsgas.h
2921 extra_headers
=math-68881.h
2923 m68k-next-nextstep2
*)
2924 tm_file
=m68k
/next21.h
2925 xm_file
=m68k
/xm-next.h
2926 tmake_file
=m68k
/t-next
2927 xmake_file
=m68k
/x-next
2928 extra_objs
=nextstep.o
2929 extra_headers
=math-68881.h
2932 m68k-next-nextstep3
*)
2934 xm_file
=m68k
/xm-next.h
2935 tmake_file
=m68k
/t-next
2936 xmake_file
=m68k
/x-next
2937 extra_objs
=nextstep.o
2938 extra_headers
=math-68881.h
2939 if [ x
$enable_threads = xyes
]; then
2944 if [ x
$with_fp = xno
]
2946 tm_file
=m68k
/sun3n3.h
2948 tm_file
=m68k
/sun3o3.h
2951 extra_headers
=math-68881.h
2953 m68k-sun-sunos
*) # For SunOS 4 (the default).
2954 if [ x
$with_fp = xno
]
2956 tm_file
=m68k
/sun3n.h
2960 xm_file
=m68k
/xm-sun3.h
2962 extra_headers
=math-68881.h
2965 tm_file
=m68k
/vxm68k.h
2966 tmake_file
=m68k
/t-vxworks68
2967 extra_headers
=math-68881.h
2970 tmake_file
=m68k
/t-m68kbare
2971 tm_file
="m68k/m68k-aout.h libgloss.h"
2972 extra_headers
=math-68881.h
2975 tmake_file
=m68k
/t-m68kbare
2976 tm_file
="m68k/m68k-coff.h dbx.h libgloss.h"
2977 extra_headers
=math-68881.h
2984 tm_file
=m68k
/lynx-ng.h
2986 xm_file
=m68k
/xm-lynx.h
2988 tmake_file
=m68k
/t-lynx
2989 extra_headers
=math-68881.h
2992 tm_file
=m68k
/netbsd.h
2993 xm_file
=m68k
/xm-netbsd.h
2994 # On NetBSD, the headers are already okay, except for math.h.
2995 fixincludes
=fixinc.math
2998 m68k-
*-sysv3*) # Motorola m68k's running system V.3
2999 xm_file
=m68k
/xm-m68kv.h
3000 xmake_file
=m68k
/x-m68kv
3001 extra_parts
="crtbegin.o crtend.o"
3002 extra_headers
=math-68881.h
3004 m68k-
*-sysv4*) # Motorola m68k's running system V.4
3005 tm_file
=m68k
/m68kv4.h
3006 xm_file
=m68k
/xm-m68kv.h
3008 extra_parts
="crtbegin.o crtend.o"
3009 extra_headers
=math-68881.h
3011 m68k-
*-linux-gnuaout*) # Motorola m68k's running Linux
3012 xm_file
=m68k
/xm-linux.h
# with a.out format
3014 tm_file
=m68k
/linux-aout.h
3015 tmake_file
="t-linux-aout m68k/t-linux-aout"
3016 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3017 extra_headers
=math-68881.h
3020 m68k-
*-linux-gnulibc1) # Motorola m68k's running Linux
3021 xm_file
=m68k
/xm-linux.h
# with ELF format using the
3022 xmake_file
=x-linux
# Linux C library 5
3023 tm_file
=m68k
/linux.h
3024 tmake_file
="t-linux t-linux-gnulibc1 m68k/t-linux"
3025 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3026 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3027 extra_headers
=math-68881.h
3030 m68k-
*-linux-gnu*) # Motorola m68k's running Linux
3031 xm_file
=m68k
/xm-linux.h
# with ELF format using glibc 2
3032 xmake_file
=x-linux
# aka the Linux C library 6.
3033 tm_file
=m68k
/linux.h
3034 tmake_file
="t-linux m68k/t-linux"
3035 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3036 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3037 extra_headers
=math-68881.h
3039 if [ x
$enable_threads = xyes
]; then
3044 tmake_file
=m68k
/t-m68kbare
3045 tm_file
=m68k
/m68k-psos.h
3046 extra_headers
=math-68881.h
3049 tmake_file
="m68k/t-m68kbare t-rtems"
3050 tm_file
=m68k
/rtems.h
3051 extra_headers
=math-68881.h
3057 tm_file
=m88k
/dguxbcs.h
3058 tmake_file
=m88k
/t-dguxbcs
3062 tmake_file
=m88k
/t-dgux
3065 extra_parts
="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
3066 xmake_file
=m88k
/x-dgux
3069 tmake_file
=m88k
/t-dgux-gas
3071 fixincludes
=fixinc.dgux
3073 m88k-dolphin-sysv3
*)
3074 tm_file
=m88k
/dolph.h
3075 extra_parts
="crtbegin.o crtend.o"
3076 xm_file
=m88k
/xm-sysv3.h
3077 xmake_file
=m88k
/x-dolph
3080 tmake_file
=m88k
/t-m88k-gas
3083 m88k-tektronix-sysv3
)
3084 tm_file
=m88k
/tekXD88.h
3085 extra_parts
="crtbegin.o crtend.o"
3086 xm_file
=m88k
/xm-sysv3.h
3087 xmake_file
=m88k
/x-tekXD88
3090 tmake_file
=m88k
/t-m88k-gas
3094 tm_file
=m88k
/m88k-aout.h
3097 tm_file
=m88k
/m88k-coff.h
3098 tmake_file
=m88k
/t-bug
3102 extra_parts
="crtbegin.o crtend.o"
3105 tmake_file
=m88k
/t-luna-gas
3107 tmake_file
=m88k
/t-luna
3111 tm_file
=m88k
/sysv3.h
3112 extra_parts
="crtbegin.o crtend.o"
3113 xm_file
=m88k
/xm-sysv3.h
3114 xmake_file
=m88k
/x-sysv3
3117 tmake_file
=m88k
/t-m88k-gas
3121 tm_file
=m88k
/sysv4.h
3122 extra_parts
="crtbegin.o crtend.o"
3123 xmake_file
=m88k
/x-sysv4
3124 tmake_file
=m88k
/t-sysv4
3126 mips-sgi-irix6
*) # SGI System V.4., IRIX 6
3127 tm_file
=mips
/iris6.h
3128 xm_file
=mips
/xm-iris6.h
3129 fixincludes
=fixinc.irix
3130 xmake_file
=mips
/x-iris6
3131 tmake_file
=mips
/t-iris6
3132 if [ x
$enable_threads = xyes
]; then
3136 mips-sgi-irix5cross64
) # Irix5 host, Irix 6 target, cross64
3137 tm_file
=mips
/cross64.h
3138 xm_file
=mips
/xm-iris5.h
3139 fixincludes
=Makefile.
in
3140 xmake_file
=mips
/x-iris
3141 tmake_file
=mips
/t-cross64
3142 # See comment in mips/iris[56].h files.
3144 if [ x
$enable_threads = xyes
]; then
3151 if [ x
$stabs = xyes
]
3153 tm_file
=mips
/iris5gdb.h
3155 tm_file
=mips
/sni-gas.h
3158 tm_file
=mips
/sni-svr4.h
3160 xm_file
=mips
/xm-sysv.h
3161 xmake_file
=mips
/x-sni-svr4
3162 tmake_file
=mips
/t-mips-gas
3163 if [ x
$gnu_ld != xyes
]
3168 mips-sgi-irix5
*) # SGI System V.4., IRIX 5
3171 tm_file
=mips
/iris5gas.h
3172 if [ x
$stabs = xyes
]
3174 tm_file
="${tm_file} dbx.h"
3177 tm_file
=mips
/iris5.h
3179 xm_file
=mips
/xm-iris5.h
3180 fixincludes
=fixinc.irix
3181 xmake_file
=mips
/x-iris
3182 # mips-tfile doesn't work yet
3183 tmake_file
=mips
/t-mips-gas
3184 # See comment in mips/iris5.h file.
3186 if [ x
$enable_threads = xyes
]; then
3190 mips-sgi-irix4loser
*) # Mostly like a MIPS.
3191 tm_file
=mips
/iris4loser.h
3192 if [ x
$stabs = xyes
]; then
3193 tm_file
="${tm_file} dbx.h"
3195 xm_file
=mips
/xm-iris4.h
3196 xmake_file
=mips
/x-iris
3199 tmake_file
=mips
/t-mips-gas
3201 extra_passes
="mips-tfile mips-tdump"
3203 if [ x
$gnu_ld != xyes
]
3207 if [ x
$enable_threads = xyes
]; then
3211 mips-sgi-irix4
*) # Mostly like a MIPS.
3212 tm_file
=mips
/iris4.h
3213 if [ x
$stabs = xyes
]; then
3214 tm_file
="${tm_file} dbx.h"
3216 xm_file
=mips
/xm-iris4.h
3217 xmake_file
=mips
/x-iris
3220 tmake_file
=mips
/t-mips-gas
3222 extra_passes
="mips-tfile mips-tdump"
3224 if [ x
$gnu_ld != xyes
]
3228 if [ x
$enable_threads = xyes
]; then
3232 mips-sgi-
*) # Mostly like a MIPS.
3233 tm_file
=mips
/iris3.h
3234 if [ x
$stabs = xyes
]; then
3235 tm_file
="${tm_file} dbx.h"
3237 xm_file
=mips
/xm-iris3.h
3238 xmake_file
=mips
/x-iris3
3241 tmake_file
=mips
/t-mips-gas
3243 extra_passes
="mips-tfile mips-tdump"
3245 if [ x
$gnu_ld != xyes
]
3250 mips-dec-osfrose
*) # Decstation running OSF/1 reference port with OSF/rose.
3251 tm_file
=mips
/osfrose.h
3252 xmake_file
=mips
/x-osfrose
3253 tmake_file
=mips
/t-osfrose
3254 extra_objs
=halfpic.o
3257 mips-dec-osf
*) # Decstation running OSF/1 as shipped by DIGITAL
3258 tm_file
=mips
/dec-osf1.h
3259 if [ x
$stabs = xyes
]; then
3260 tm_file
="${tm_file} dbx.h"
3262 xmake_file
=mips
/x-dec-osf1
3265 tmake_file
=mips
/t-mips-gas
3267 tmake_file
=mips
/t-ultrix
3268 extra_passes
="mips-tfile mips-tdump"
3270 if [ x
$gnu_ld != xyes
]
3275 mips-dec-bsd
*) # Decstation running 4.4 BSD
3276 tm_file
=mips
/dec-bsd.h
3280 tmake_file
=mips
/t-mips-gas
3282 tmake_file
=mips
/t-ultrix
3283 extra_passes
="mips-tfile mips-tdump"
3285 if [ x
$gnu_ld != xyes
]
3290 mips-dec-netbsd
*) # Decstation running NetBSD
3291 tm_file
=mips
/netbsd.h
3292 xm_file
=mips
/xm-netbsd.h
3293 # On NetBSD, the headers are already okay, except for math.h.
3294 fixincludes
=fixinc.math
3297 mips-sony-bsd
* | mips-sony-newsos
*) # Sony NEWS 3600 or risc/news.
3298 tm_file
=mips
/news4.h
3299 if [ x
$stabs = xyes
]; then
3300 tm_file
="${tm_file} dbx.h"
3304 tmake_file
=mips
/t-mips-gas
3306 extra_passes
="mips-tfile mips-tdump"
3308 if [ x
$gnu_ld != xyes
]
3312 xmake_file
=mips
/x-sony
3314 mips-sony-sysv
*) # Sony NEWS 3800 with NEWSOS5.0.
3315 # That is based on svr4.
3316 # t-svr4 is not right because this system doesn't use ELF.
3317 tm_file
=mips
/news5.h
3318 if [ x
$stabs = xyes
]; then
3319 tm_file
="${tm_file} dbx.h"
3321 xm_file
=mips
/xm-news.h
3324 tmake_file
=mips
/t-mips-gas
3326 extra_passes
="mips-tfile mips-tdump"
3328 if [ x
$gnu_ld != xyes
]
3333 mips-tandem-sysv4
*) # Tandem S2 running NonStop UX
3334 tm_file
=mips
/svr4-t.h
3335 if [ x
$stabs = xyes
]; then
3336 tm_file
="${tm_file} dbx.h"
3338 xm_file
=mips
/xm-sysv4.h
3339 xmake_file
=mips
/x-sysv
3342 tmake_file
=mips
/t-mips-gas
3343 extra_parts
="crtbegin.o crtend.o"
3345 tmake_file
=mips
/t-mips
3346 extra_passes
="mips-tfile mips-tdump"
3348 if [ x
$gnu_ld != xyes
]
3353 mips-
*-ultrix* | mips-dec-mach3
) # Decstation.
3354 tm_file
=mips
/ultrix.h
3355 if [ x
$stabs = xyes
]; then
3356 tm_file
="${tm_file} dbx.h"
3358 xmake_file
=mips
/x-ultrix
3361 tmake_file
=mips
/t-mips-gas
3363 tmake_file
=mips
/t-ultrix
3364 extra_passes
="mips-tfile mips-tdump"
3366 if [ x
$gnu_ld != xyes
]
3371 mips-
*-riscos[56789]bsd
*)
3372 tm_file
=mips
/bsd-5.h
# MIPS BSD 4.3, RISC-OS 5.0
3373 if [ x
$stabs = xyes
]; then
3374 tm_file
="${tm_file} dbx.h"
3378 tmake_file
=mips
/t-bsd-gas
3380 tmake_file
=mips
/t-bsd
3381 extra_passes
="mips-tfile mips-tdump"
3383 if [ x
$gnu_ld != xyes
]
3388 mips-
*-bsd* | mips-
*-riscosbsd* | mips-
*-riscos[1234]bsd
*)
3389 tm_file
=mips
/bsd-4.h
# MIPS BSD 4.3, RISC-OS 4.0
3390 if [ x
$stabs = xyes
]; then
3391 tm_file
="${tm_file} dbx.h"
3395 tmake_file
=mips
/t-bsd-gas
3397 tmake_file
=mips
/t-bsd
3398 extra_passes
="mips-tfile mips-tdump"
3400 if [ x
$gnu_ld != xyes
]
3405 mips-
*-riscos[56789]sysv4
*)
3406 tm_file
=mips
/svr4-5.h
# MIPS System V.4., RISC-OS 5.0
3407 if [ x
$stabs = xyes
]; then
3408 tm_file
="${tm_file} dbx.h"
3410 xm_file
=mips
/xm-sysv4.h
3411 xmake_file
=mips
/x-sysv
3414 tmake_file
=mips
/t-svr4-gas
3416 tmake_file
=mips
/t-svr4
3417 extra_passes
="mips-tfile mips-tdump"
3419 if [ x
$gnu_ld != xyes
]
3424 mips-
*-sysv4* | mips-
*-riscos[1234]sysv4
* | mips-
*-riscossysv4*)
3425 tm_file
=mips
/svr4-4.h
# MIPS System V.4. RISC-OS 4.0
3426 if [ x
$stabs = xyes
]; then
3427 tm_file
="${tm_file} dbx.h"
3429 xm_file
=mips
/xm-sysv.h
3430 xmake_file
=mips
/x-sysv
3433 tmake_file
=mips
/t-svr4-gas
3435 tmake_file
=mips
/t-svr4
3436 extra_passes
="mips-tfile mips-tdump"
3438 if [ x
$gnu_ld != xyes
]
3443 mips-
*-riscos[56789]sysv
*)
3444 tm_file
=mips
/svr3-5.h
# MIPS System V.3, RISC-OS 5.0
3445 if [ x
$stabs = xyes
]; then
3446 tm_file
="${tm_file} dbx.h"
3448 xm_file
=mips
/xm-sysv.h
3449 xmake_file
=mips
/x-sysv
3452 tmake_file
=mips
/t-svr3-gas
3454 tmake_file
=mips
/t-svr3
3455 extra_passes
="mips-tfile mips-tdump"
3457 if [ x
$gnu_ld != xyes
]
3462 mips-
*-sysv* | mips-
*-riscos*sysv
*)
3463 tm_file
=mips
/svr3-4.h
# MIPS System V.3, RISC-OS 4.0
3464 if [ x
$stabs = xyes
]; then
3465 tm_file
="${tm_file} dbx.h"
3467 xm_file
=mips
/xm-sysv.h
3468 xmake_file
=mips
/x-sysv
3471 tmake_file
=mips
/t-svr3-gas
3473 tmake_file
=mips
/t-svr3
3474 extra_passes
="mips-tfile mips-tdump"
3476 if [ x
$gnu_ld != xyes
]
3481 mips-
*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
3482 tm_file
=mips
/mips-5.h
3483 if [ x
$stabs = xyes
]; then
3484 tm_file
="${tm_file} dbx.h"
3488 tmake_file
=mips
/t-mips-gas
3490 extra_passes
="mips-tfile mips-tdump"
3492 if [ x
$gnu_ld != xyes
]
3500 tm_file
=mips
/ecoffl.h
3501 if [ x
$stabs = xyes
]; then
3502 tm_file
="${tm_file} dbx.h"
3504 tmake_file
=mips
/t-ecoff
3507 tm_file
=mips
/ecoff.h
3508 if [ x
$stabs = xyes
]; then
3509 tm_file
="${tm_file} dbx.h"
3511 tmake_file
=mips
/t-ecoff
3514 tm_file
="mips/elfl.h libgloss.h"
3515 tmake_file
=mips
/t-ecoff
3518 tm_file
="mips/elf.h libgloss.h"
3519 tmake_file
=mips
/t-ecoff
3522 tm_file
="mips/elfl64.h libgloss.h"
3523 tmake_file
=mips
/t-ecoff
3525 mips64orionel-
*-elf*)
3526 tm_file
="mips/elflorion.h libgloss.h"
3527 tmake_file
=mips
/t-ecoff
3530 tm_file
="mips/elf64.h libgloss.h"
3531 tmake_file
=mips
/t-ecoff
3534 tm_file
="mips/elforion.h libgloss.h"
3535 tmake_file
=mips
/t-ecoff
3537 mips64orion-
*-rtems*)
3538 tm_file
=mips
/rtems64.h
3539 tmake_file
="mips/t-ecoff t-rtems"
3541 mips-
*-*) # Default MIPS RISC-OS 4.0.
3542 if [ x
$stabs = xyes
]; then
3543 tm_file
="${tm_file} dbx.h"
3547 tmake_file
=mips
/t-mips-gas
3549 extra_passes
="mips-tfile mips-tdump"
3551 if [ x
$gnu_ld != xyes
]
3558 tm_file
="mn10200/mn10200.h"
3559 if [ x
$stabs = xyes
]
3561 tm_file
="${tm_file} dbx.h"
3567 tm_file
="mn10300/mn10300.h"
3568 if [ x
$stabs = xyes
]
3570 tm_file
="${tm_file} dbx.h"
3575 tm_file
=ns32k
/encore.h
3579 tm_file
=ns32k
/sequent.h
3583 tm_file
=ns32k
/tek6100.h
3587 tm_file
=ns32k
/tek6200.h
3590 # This has not been updated to GCC 2.
3592 # xm_file=ns32k/xm-genix.h
3593 # xmake_file=ns32k/x-genix
3594 # tm_file=ns32k/genix.h
3598 tm_file
=ns32k
/merlin.h
3602 tm_file
=ns32k
/pc532-mach.h
3606 tm_file
=ns32k
/pc532-min.h
3607 xm_file
=ns32k
/xm-pc532-min.h
3610 ns32k-pc532-netbsd
*)
3611 tm_file
=ns32k
/netbsd.h
3612 xm_file
=ns32k
/xm-netbsd.h
3613 # On NetBSD, the headers are already okay, except for math.h.
3614 fixincludes
=fixinc.math
3618 tm_file
="${tm_file} pdp11/2bsd.h"
3624 xmake_file
=pyr
/x-pyr
3631 xmake_file
=romp
/x-mach
3634 powerpc-
*-sysv* | powerpc-
*-elf*)
3635 tm_file
=rs6000
/sysv4.h
3636 xm_file
=rs6000
/xm-sysv4.h
3637 extra_headers
=ppc-asm.h
3640 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
3642 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
3644 xmake_file
=rs6000
/x-sysv4
3647 tm_file
=rs6000
/eabiaix.h
3648 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3649 fixincludes
=Makefile.
in
3650 extra_headers
=ppc-asm.h
3653 tm_file
=rs6000
/eabisim.h
3654 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3655 fixincludes
=Makefile.
in
3656 extra_headers
=ppc-asm.h
3659 tm_file
=rs6000
/eabi.h
3662 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3664 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
3666 fixincludes
=Makefile.
in
3667 extra_headers
=ppc-asm.h
3670 tm_file
=rs6000
/rtems.h
3673 tmake_file
="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
3675 tmake_file
="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
3677 fixincludes
=Makefile.
in
3678 extra_headers
=ppc-asm.h
3680 powerpc-
*-linux-gnu*)
3681 tm_file
=rs6000
/linux.h
3682 xm_file
=rs6000
/xm-sysv4.h
3683 out_file
=rs6000
/rs6000.c
3686 tmake_file
="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
3688 tmake_file
="rs6000/t-ppc t-linux rs6000/t-ppccomm"
3691 fixincludes
=Makefile.
in
3692 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3693 extra_headers
=ppc-asm.h
3694 if [ x
$enable_threads = xyes
]; then
3700 xm_file
=rs6000
/xm-sysv4.h
3701 tm_file
=rs6000
/vxppc.h
3702 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3703 extra_headers
=ppc-asm.h
3705 powerpcle-
*-sysv* | powerpcle-
*-elf*)
3706 tm_file
=rs6000
/sysv4le.h
3707 xm_file
=rs6000
/xm-sysv4.h
3710 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
3712 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
3714 xmake_file
=rs6000
/x-sysv4
3715 extra_headers
=ppc-asm.h
3717 powerpcle-
*-eabisim*)
3718 tm_file
=rs6000
/eabilesim.h
3719 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3720 fixincludes
=Makefile.
in
3721 extra_headers
=ppc-asm.h
3724 tm_file
=rs6000
/eabile.h
3727 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
3729 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
3731 fixincludes
=Makefile.
in
3732 extra_headers
=ppc-asm.h
3734 powerpcle-
*-winnt* )
3735 tm_file
=rs6000
/win-nt.h
3736 tmake_file
=rs6000
/t-winnt
3738 fixincludes
=Makefile.
in
3739 if [ x
$enable_threads = xyes
]; then
3742 extra_headers
=ppc-asm.h
3744 powerpcle-
*-pe | powerpcle-
*-cygwin32)
3745 tm_file
=rs6000
/cygwin32.h
3746 xm_file
=rs6000
/xm-cygwin32.h
3747 tmake_file
=rs6000
/t-winnt
3748 xmake_file
=rs6000
/x-cygwin32
3750 fixincludes
=Makefile.
in
3751 if [ x
$enable_threads = xyes
]; then
3755 extra_headers
=ppc-asm.h
3757 powerpcle-
*-solaris2*)
3758 tm_file
=rs6000
/sol2.h
3759 xm_file
=rs6000
/xm-sysv4.h
3762 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
3764 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
3766 xmake_file
=rs6000
/x-sysv4
3767 fixincludes
=fixinc.svr4
3768 extra_headers
=ppc-asm.h
3770 rs6000-ibm-aix3.
[01]*)
3771 tm_file
=rs6000
/aix31.h
3772 xmake_file
=rs6000
/x-aix31
3775 rs6000-ibm-aix3.2.
[456789]* | powerpc-ibm-aix3.2.
[456789]*)
3776 tm_file
=rs6000
/aix3newas.h
3777 if [ x
$host != x
$target ]
3779 tmake_file
=rs6000
/t-xnewas
3781 tmake_file
=rs6000
/t-newas
3785 rs6000-ibm-aix
[456789].
* | powerpc-ibm-aix
[456789].
*)
3786 tm_file
=rs6000
/aix41.h
3787 if [ x
$host != x
$target ]
3789 tmake_file
=rs6000
/t-xnewas
3791 tmake_file
=rs6000
/t-newas
3793 xmake_file
=rs6000
/x-aix31
3803 tm_file
=rs6000
/mach.h
3804 xm_file
=rs6000
/xm-mach.h
3805 xmake_file
=rs6000
/x-mach
3809 tm_file
=rs6000
/lynx.h
3810 xm_file
=rs6000
/xm-lynx.h
3811 tmake_file
=rs6000
/t-rs6000
3812 xmake_file
=rs6000
/x-lynx
3820 tmake_file
="sh/t-sh t-rtems"
3829 xm_file
=sparc
/xm-pbd.h
3831 sparc-wrs-vxworks
* | sparclite-wrs-vxworks
*)
3832 tm_file
=sparc
/vxsparc.h
3833 tmake_file
=sparc
/t-vxsparc
3837 tmake_file
=sparc
/t-sparcbare
3838 tm_file
="sparc/aout.h libgloss.h"
3841 tm_file
=sparc
/netbsd.h
3842 xm_file
=sparc
/xm-netbsd.h
3843 # On NetBSD, the headers are already okay, except for math.h.
3844 fixincludes
=fixinc.math
3852 tmake_file
=sparc
/t-elf
3853 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
3857 sparc-
*-linux-gnuaout*) # Sparc's running Linux, a.out
3858 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
3859 tm_file
=sparc
/linux-aout.h
3861 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3864 sparc-
*-linux-gnulibc1*) # Sparc's running Linux, libc5
3865 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
3867 tm_file
=sparc
/linux.h
3868 tmake_file
="t-linux t-linux-gnulibc1 sparc/t-linux"
3869 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3870 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3873 sparc-
*-linux-gnu*) # Sparc's running Linux, libc6
3874 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
3876 tm_file
=sparc
/linux.h
3877 tmake_file
="t-linux sparc/t-linux"
3878 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3879 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3881 if [ x
$enable_threads = xyes
]; then
3888 tm_file
=sparc
/lynx.h
3890 tm_file
=sparc
/lynx-ng.h
3892 xm_file
=sparc
/xm-lynx.h
3893 tmake_file
=sparc
/t-sunos41
3897 tmake_file
="sparc/t-sparcbare t-rtems"
3898 tm_file
=sparc
/rtems.h
3901 tm_file
=sparc
/sol2.h
3902 xm_file
=sparc
/xm-sol2.h
3903 tmake_file
=sparc
/t-sol2
3904 xmake_file
=sparc
/x-sysv4
3905 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3906 fixincludes
=fixinc.svr4
3907 if [ x
$enable_threads = xyes
]; then
3908 thread_file
='solaris'
3912 tm_file
=sparc
/sunos4.h
3913 tmake_file
=sparc
/t-sunos40
3917 tm_file
=sparc
/sunos4.h
3918 tmake_file
=sparc
/t-sunos41
3920 if [ x
$gas = xyes
]; then
3921 tm_file
="${tm_file} sparc/sun4gas.h"
3925 tm_file
=sparc
/sun4o3.h
3929 tm_file
=sparc
/sysv4.h
3930 xm_file
=sparc
/xm-sysv4.h
3932 xmake_file
=sparc
/x-sysv4
3933 extra_parts
="crtbegin.o crtend.o"
3936 xm_file
=sparc
/xm-sol2.h
3937 tm_file
=sparc
/vxsim.h
3938 tmake_file
=sparc
/t-vxsparc
3939 xmake_file
=sparc
/x-sysv4
3942 tm_file
="sparc/splet.h libgloss.h"
3943 tmake_file
=sparc
/t-splet
3946 tm_file
="sparc/litecoff.h libgloss.h"
3947 tmake_file
=sparc
/t-sparclite
3950 tm_file
="sparc/lite.h aoutos.h libgloss.h"
3951 tmake_file
=sparc
/t-sparclite
3954 tmake_file
=sparc
/t-sp64
3955 tm_file
=sparc
/sp64-aout.h
3958 tmake_file
=sparc
/t-sp64
3959 tm_file
=sparc
/sp64-elf.h
3960 extra_parts
="crtbegin.o crtend.o"
3962 sparc64-
*-linux*) # 64-bit Sparc's running Linux
3963 tmake_file
=sparc
/t-sp64
3964 xm_file
="sparc/xm-sp64.h sparc/xm-linux.h"
3965 tm_file
=sparc
/linux64.h
3967 fixincludes
=Makefile.
in # On Linux, the headers are ok already.
3970 # This hasn't been upgraded to GCC 2.
3971 # tahoe-harris-*) # Harris tahoe, using COFF.
3972 # tm_file=tahoe/harris.h
3974 # tahoe-*-bsd*) # tahoe running BSD
3976 # This hasn't been upgraded to GCC 2.
3983 tm_file
="v850/v850.h"
3984 xm_file
="v850/xm-v850.h"
3985 if [ x
$stabs = xyes
]
3987 tm_file
="${tm_file} dbx.h"
3991 vax-
*-bsd*) # vaxen running BSD
3995 vax-
*-sysv*) # vaxen running system V
3996 tm_file
="${tm_file} vax/vaxv.h"
3997 xm_file
="${tm_file} vax/xm-vaxv.h"
4001 tm_file
="${tm_file} netbsd.h vax/netbsd.h"
4002 xm_file
="${xm_file} xm-netbsd.h"
4003 # On NetBSD, the headers are already okay, except for math.h.
4004 fixincludes
=fixinc.math
4008 vax-
*-ultrix*) # vaxen running ultrix
4009 tm_file
="${tm_file} vax/ultrix.h"
4013 vax-
*-vms*) # vaxen running VMS
4014 xm_file
=vax
/xm-vms.h
4018 vax-
*-*) # vax default entry
4022 xm_file
="${xm_file} xm-svr3"
4026 echo "Configuration $machine not supported" 1>&2
4033 ;; # Existing Linux/GNU systems do not use the GNU setup.
4035 # On the GNU system, the setup is just about the same on
4036 # each different CPU. The specific machines that GNU
4037 # supports are matched above and just set $cpu_type.
4038 xm_file
=${cpu_type}/xm-gnu.h
4039 tm_file
=${cpu_type}/gnu.h
4040 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
4041 # GNU always uses ELF.
4043 # GNU tools are the only tools.
4046 # On GNU, the headers are already okay.
4047 fixincludes
=Makefile.
in
4048 xmake_file
=x-linux
# These details are the same as Linux.
4049 tmake_file
=t-gnu
# These are not.
4052 fixincludes
=fixinc.svr4
4053 xmake_try_sysv
=x-sysv
4054 install_headers_dir
=install-headers-cpio
4057 install_headers_dir
=install-headers-cpio
4061 # Distinguish i[3456]86
4062 # Also, do not run mips-tfile on MIPS if using gas.
4063 # Process --with-cpu= for PowerPC/rs6000
4064 target_cpu_default2
=
4067 target_cpu_default2
=1
4070 target_cpu_default2
=2
4073 target_cpu_default2
=3
4078 target_cpu_default2
="MASK_CPU_EV5"
4081 target_cpu_default2
="MASK_CPU_EV5"
4087 if [ x
$target_cpu_default2 = x
]
4089 target_cpu_default2
="MASK_GAS"
4091 target_cpu_default2
="${target_cpu_default2}|MASK_GAS"
4095 mips
*-*-ecoff* | mips
*-*-elf*)
4098 if [ x
$gnu_ld = xyes
]
4100 target_cpu_default2
=20
4102 target_cpu_default2
=16
4109 target_cpu_default2
=16
4112 powerpc
*-*-* | rs6000-
*-*)
4113 case "x$with_cpu" in
4117 xcommon | xpower | xpower2 | xpowerpc | xrios \
4118 | xrios1 | xrios2 | xrsc | xrsc1 \
4119 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
4120 | x403 | x505 | x801 | x821 | x823 | x860
)
4121 target_cpu_default2
="\"$with_cpu\""
4125 echo "--with-cpu must be passed a value" 1>&2
4130 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
4136 case ".$with_cpu" in
4138 target_cpu_default2
=TARGET_CPU_
"`echo $machine | sed 's/-.*$//'`"
4140 .supersparc | .ultrasparc | .v7 | .v8 | .v9
)
4141 target_cpu_default2
="TARGET_CPU_$with_cpu"
4144 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
4151 if [ x
$target_cpu_default2 != x
]
4153 if [ x
$target_cpu_default != x
]
4155 target_cpu_default
="(${target_cpu_default}|${target_cpu_default2})"
4157 target_cpu_default
=$target_cpu_default2
4161 # No need for collect2 if we have the GNU linker.
4168 # Save data on machine being used to compile GCC in build_xm_file.
4169 # Save data on host machine in vars host_xm_file and host_xmake_file.
4170 if [ x
$pass1done = x
]
4172 if [ x
"$xm_file" = x
]
4173 then build_xm_file
=$cpu_type/xm-
$cpu_type.h
4174 else build_xm_file
=$xm_file
4176 build_install_headers_dir
=$install_headers_dir
4177 build_exeext
=$exeext
4180 if [ x
$pass2done = x
]
4182 if [ x
"$xm_file" = x
]
4183 then host_xm_file
=$cpu_type/xm-
$cpu_type.h
4184 else host_xm_file
=$xm_file
4186 if [ x
"$xmake_file" = x
]
4187 then xmake_file
=$cpu_type/x-
$cpu_type
4189 host_xmake_file
="$xmake_file"
4190 host_truncate_target
=$truncate_target
4191 host_extra_gcc_objs
=$extra_gcc_objs
4192 host_extra_objs
=$extra_host_objs
4198 extra_objs
="${host_extra_objs} ${extra_objs}"
4200 # Default the target-machine variables that were not explicitly set.
4201 if [ x
"$tm_file" = x
]
4202 then tm_file
=$cpu_type/$cpu_type.h
; fi
4204 if [ x
$extra_headers = x
]
4205 then extra_headers
=; fi
4207 if [ x
"$xm_file" = x
]
4208 then xm_file
=$cpu_type/xm-
$cpu_type.h
; fi
4210 md_file
=$cpu_type/$cpu_type.md
4212 if [ x
$out_file = x
]
4213 then out_file
=$cpu_type/$cpu_type.c
; fi
4215 if [ x
"$tmake_file" = x
]
4216 then tmake_file
=$cpu_type/t-
$cpu_type
4219 if [ x
$float_format = x
]
4220 then float_format
=i64
4223 # Say what files are being used for the output code and MD file.
4224 echo "Using \`$srcdir/config/$out_file' to output insns."
4225 echo "Using \`$srcdir/config/$md_file' as machine description file."
4228 for f
in $tm_file; do
4231 if [ $count = ax
]; then
4232 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
4234 echo "Using the following target machine macro files:"
4235 for f
in $tm_file; do
4236 echo " $srcdir/config/$f"
4241 for f
in $host_xm_file; do
4244 if [ $count = ax
]; then
4245 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
4247 echo "Using the following host machine macro files:"
4248 for f
in $host_xm_file; do
4249 echo " $srcdir/config/$f"
4253 if [ "$host_xm_file" != "$build_xm_file" ]; then
4255 for f
in $build_xm_file; do
4258 if [ $count = ax
]; then
4259 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
4261 echo "Using the following build machine macro files:"
4262 for f
in $build_xm_file; do
4263 echo " $srcdir/config/$f"
4268 if [ x
$thread_file = x
]
4269 then thread_file
='single'
4272 # Set up the header files.
4273 # $links is the list of header files to create.
4274 # $vars is the list of shell variables with file names to include.
4275 # config2.h is the old config.h. It is included by the new config.h which
4276 # created from config.in. The goal is to simplify the transition to autoconf.
4277 vars
="host_xm_file tm_file xm_file build_xm_file"
4278 links
="config2.h tm.h tconfig.h hconfig.h"
4281 if [ -f config.status
]; then mv -f config.status config.bak
; fi
4284 while [ -n "$vars" ]
4286 # set file to car of files, files to cdr of files
4287 set $vars; var
=$1; shift; vars
=$
*
4288 set $links; link
=$1; shift; links
=$
*
4292 # Define TARGET_CPU_DEFAULT if the system wants one.
4293 # This substitutes for lots of *.h files.
4294 if [ x
$target_cpu_default != x
-a $link = tm.h
]
4296 echo "#define TARGET_CPU_DEFAULT $target_cpu_default" >>$link
4299 for file in `eval echo '$'$var`; do
4300 echo "#include \"$file\"" >>$link
4304 # Truncate the target if necessary
4305 if [ x
$host_truncate_target != x
]; then
4306 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
4309 # Get the version number from the toplevel
4310 version
=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${srcdir}/version.c`
4312 # Get an absolute path to the GCC top-level source directory
4318 # Conditionalize the makefile for this host machine.
4319 # Make-host contains the concatenation of all host makefile fragments
4320 # [there can be more than one]. This file is built by configure.frag.
4321 host_overrides
=Make-host
4322 dep_host_xmake_file
=
4323 for f
in ..
${host_xmake_file}
4325 if [ -f ${srcdir}/config
/$f ]
4327 dep_host_xmake_file
="${dep_host_xmake_file} ${srcdir}/config/$f"
4331 # Conditionalize the makefile for this target machine.
4332 # Make-target contains the concatenation of all host makefile fragments
4333 # [there can be more than one]. This file is built by configure.frag.
4334 target_overrides
=Make-target
4336 for f
in ..
${tmake_file}
4338 if [ -f ${srcdir}/config
/$f ]
4340 dep_tmake_file
="${dep_tmake_file} ${srcdir}/config/$f"
4344 # If the host doesn't support symlinks, modify CC in
4345 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
4346 # Otherwise, we can use "CC=$(CC)".
4348 if $symbolic_link symtest1.tem symtest.tem
2>/dev
/null
4350 cc_set_by_configure
="\$(CC)"
4351 stage_prefix_set_by_configure
="\$(STAGE_PREFIX)"
4353 cc_set_by_configure
="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
4354 stage_prefix_set_by_configure
="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
4358 out_object_file
=`basename $out_file .c`.o
4361 for f
in $tm_file; do
4362 tm_file_list
="${tm_file_list} \$(srcdir)/config/$f"
4366 for f
in $host_xm_file; do
4367 host_xm_file_list
="${host_xm_file_list} \$(srcdir)/config/$f"
4371 for f
in $build_xm_file; do
4372 build_xm_file_list
="${build_xm_file_list} \$(srcdir)/config/$f"
4375 # Define macro CROSS_COMPILE in compilation
4376 # if this is a cross-compiler.
4377 # Also use all.cross instead of all.internal
4378 # and add cross-make to Makefile.
4379 cross_overrides
="/dev/null"
4380 if [ x
$host != x
$target ]
4382 cross_defines
="CROSS=-DCROSS_COMPILE"
4383 cross_overrides
="${topdir}/cross-make"
4386 # When building gcc with a cross-compiler, we need to fix a few things.
4387 # This must come after cross-make as we want all.build to override
4389 build_overrides
="/dev/null"
4390 if [ x
$build != x
$host ]
4392 build_overrides
="${topdir}/build-make"
4395 # Expand extra_headers to include complete path.
4396 # This substitutes for lots of t-* files.
4398 if [ "x$extra_headers" = x
]
4401 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
4402 for file in $extra_headers;
4404 extra_headers_list
="${extra_headers_list} \$(srcdir)/ginclude/${file}"
4408 # Add a definition of USE_COLLECT2 if system wants one.
4409 # Also tell toplev.c what to do.
4410 # This substitutes for lots of t-* files.
4411 if [ x
$use_collect2 = x
]
4416 will_use_collect2
="ld"
4417 maybe_use_collect2
="-DUSE_COLLECT2"
4421 # Set MD_DEPS if the real md file is in md.pre-cpp.
4422 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
4423 # for line oriented comments, so we must always use a GNU cpp. If
4424 # building gcc with a cross compiler, use the cross compiler just
4425 # built. Otherwise, we can use the cpp just built.
4427 if [ "x$md_cppflags" = x
]
4429 md_file_sub
=$srcdir/config
/$md_file
4434 # If we have gas in the build tree, make a link to it.
4435 if [ -f ..
/gas
/Makefile
]; then
4436 rm -f as
; $symbolic_link ..
/gas
/as-new as
2>/dev
/null
4439 # If we have ld in the build tree, make a link to it.
4440 if [ -f ..
/ld
/Makefile
]; then
4441 # if [[ x$use_collect2 = x ]]; then
4442 # rm -f ld; $symbolic_link ../ld/ld-new ld 2>/dev/null
4444 rm -f collect-ld
; $symbolic_link ..
/ld
/ld-new collect-ld
2>/dev
/null
4448 # Figure out what language subdirectories are present.
4450 for lang
in ${srcdir}/*/config-lang.
in ..
4454 # The odd quoting in the next line works around
4455 # an apparent bug in bash 1.12 on linux.
4456 ${srcdir}/[*]/config-lang.
in) ;;
4457 *) subdirs
="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" ;;
4461 # Make empty files to contain the specs and options for each language.
4462 # Then add #include lines to for a compiler that has specs and/or options.
4466 rm -f specs.h options.h
4467 touch specs.h options.h
4468 for subdir
in .
$subdirs
4470 if [ -f $srcdir/$subdir/lang-specs.h
]; then
4471 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
4472 lang_specs_files
="$lang_specs_files $srcdir/$subdir/lang-specs.h"
4474 if [ -f $srcdir/$subdir/lang-options.h
]; then
4475 echo "#include \"$subdir/lang-options.h\"" >>options.h
4476 lang_options_files
="$lang_options_files $srcdir/$subdir/lang-options.h"
4480 # These (without "all_") are set in each config-lang.in.
4481 # `language' must be a single word so is spelled singularly.
4487 all_outputs
=Makefile
4488 # List of language makefile fragments.
4493 # Add the language fragments.
4494 # Languages are added via two mechanisms. Some information must be
4495 # recorded in makefile variables, these are defined in config-lang.in.
4496 # We accumulate them and plug them into the main Makefile.
4497 # The other mechanism is a set of hooks for each of the main targets
4498 # like `clean', `install', etc.
4500 language_fragments
="Make-lang"
4501 language_hooks
="Make-hooks"
4504 for s
in ..
$subdirs
4516 .
${srcdir}/$s/config-lang.
in
4517 if [ "x$language" = x
]
4519 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
4522 all_lang_makefiles
="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
4523 all_languages
="$all_languages $language"
4524 if [ "x$boot_language" = xyes
]
4526 all_boot_languages
="$all_boot_languages $language"
4528 all_compilers
="$all_compilers $compilers"
4529 all_stagestuff
="$all_stagestuff $stagestuff"
4530 all_diff_excludes
="$all_diff_excludes $diff_excludes"
4531 all_headers
="$all_headers $headers"
4532 all_outputs
="$all_outputs $outputs"
4533 if [ x
$outputs = x
]
4535 oldstyle_subdirs
="$oldstyle_subdirs $s"
4537 all_lib2funcs
="$all_lib2funcs $lib2funcs"
4541 # Since we can't use `::' targets, we link each language in
4542 # with a set of hooks, reached indirectly via lang.${target}.
4546 target_list
="all.build all.cross start.encap rest.encap \
4548 install-normal install-common install-info install-man \
4550 mostlyclean clean distclean extraclean maintainer-clean \
4551 stage1 stage2 stage3 stage4"
4552 for t
in $target_list
4555 for l
in ..
$all_languages
4557 if [ $l != ".." ]; then
4561 echo "lang.$t: $x" >> Make-hooks
4564 # If we're not building in srcdir, create .gdbinit.
4566 if [ ! -f Makefile.
in ]; then
4567 echo "dir ." > .gdbinit
4568 echo "dir ${srcdir}" >> .gdbinit
4569 if [ x
$gdb_needs_out_file_path = xyes
]
4571 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
4573 if [ "x$subdirs" != x
]; then
4576 echo "dir ${srcdir}/$s" >> .gdbinit
4579 echo "source ${srcdir}/.gdbinit" >> .gdbinit
4582 # If this is using newlib, then define inhibit_libc in
4583 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
4584 # libgcc.a, but that's OK because newib should have its own version of
4587 if [ x
$with_newlib = xyes
]; then
4588 inhibit_libc
=-Dinhibit_libc
4592 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
4595 if [ x
$enable_haifa = xyes
]; then
4596 echo "Using the Haifa scheduler."
4598 sched_cflags
=-DHAIFA
4602 if [ x
$enable_haifa != x
]; then
4603 # Explicitly remove files that need to be recompiled for the Haifa scheduler.
4604 for x
in genattrtab.o toplev.o loop.o unroll.o
*sched.o
; do
4612 # Process the language and host/target makefile fragments.
4613 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag
$srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
4615 # Substitute configuration variables
4665 # Echo that links are built
4666 if [ x
$host = x
$target ]
4674 if [ x
$host != x
$build ]
4676 str3
=" on a $build system"
4679 if [ "x$str2" != x
] ||
[ "x$str3" != x
]
4684 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
4686 if [ "x$str2" != x
] ||
[ "x$str3" != x
]
4688 echo " ${str2}${str3}." 1>&2
4691 # Configure the subdirectories
4692 # AC_CONFIG_SUBDIRS($subdirs)
4694 # Create the Makefile
4695 # and configure language subdirectories
4697 cat > confcache
<<\EOF
4698 # This file is a shell script that caches the results of configure
4699 # tests run on this system so they can be shared between configure
4700 # scripts and configure runs. It is not useful on other systems.
4701 # If it contains results you don't want to keep, you may remove or edit it.
4703 # By default, configure uses ./config.cache as the cache file,
4704 # creating it if it does not exist already. You can give configure
4705 # the --cache-file=FILE option to use a different cache file; that is
4706 # what configure does when it calls configure scripts in
4707 # subdirectories, so they share the cache.
4708 # Giving --cache-file=/dev/null disables caching, for debugging configure.
4709 # config.status only pays attention to the cache file if you give it the
4710 # --recheck option to rerun configure.
4713 # The following way of writing the cache mishandles newlines in values,
4714 # but we know of no workaround that is simple, portable, and efficient.
4715 # So, don't put newlines in cache variables' values.
4716 # Ultrix sh set writes to stderr and can't be redirected directly,
4717 # and sets the high bit in the cache file unless we assign to the vars.
4719 case `(ac_space=' '; set) 2>&1` in
4721 # `set' does not quote correctly, so add quotes (double-quote substitution
4722 # turns \\\\ into \\, and sed turns \\ into \).
4724 -e "s/'/'\\\\''/g" \
4725 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4728 # `set' quotes correctly as required by POSIX, so do not add quotes.
4729 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4732 if cmp -s $cache_file confcache
; then
4735 if test -w $cache_file; then
4736 echo "updating cache $cache_file"
4737 cat confcache
> $cache_file
4739 echo "not updating unwritable cache $cache_file"
4744 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4746 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4747 # Let make expand exec_prefix.
4748 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4750 # Any assignment to VPATH causes Sun make to only execute
4751 # the first set of double-colon rules, so remove it if not needed.
4752 # If there is a colon in the path, we need to keep it.
4753 if test "x$srcdir" = x.
; then
4754 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
4757 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4759 DEFS
=-DHAVE_CONFIG_H
4761 # Without the "./", some shells look in PATH for config.status.
4762 : ${CONFIG_STATUS=./config.status}
4764 echo creating
$CONFIG_STATUS
4765 rm -f $CONFIG_STATUS
4766 cat > $CONFIG_STATUS <<EOF
4768 # Generated automatically by configure.
4769 # Run this file to recreate the current configuration.
4770 # This directory was configured as follows,
4771 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4773 # $0 $ac_configure_args
4775 # Compiler output produced by configure, useful for debugging
4776 # configure, is in ./config.log if it exists.
4778 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
4781 case "\$ac_option" in
4782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4783 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
4784 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
4785 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
4786 echo "$CONFIG_STATUS generated by autoconf version 2.12"
4788 -help | --help | --hel | --he | --h)
4789 echo "\$ac_cs_usage"; exit 0 ;;
4790 *) echo "\$ac_cs_usage"; exit 1 ;;
4794 ac_given_srcdir=$srcdir
4796 trap 'rm -fr `echo "$all_outputs config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
4798 cat >> $CONFIG_STATUS <<EOF
4800 # Protect against being on the right side of a sed subst in config.status.
4801 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4802 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4805 s%@CFLAGS@%$CFLAGS%g
4806 s%@CPPFLAGS@%$CPPFLAGS%g
4807 s%@CXXFLAGS@%$CXXFLAGS%g
4809 s%@LDFLAGS@%$LDFLAGS%g
4811 s%@exec_prefix@%$exec_prefix%g
4812 s%@prefix@%$prefix%g
4813 s%@program_transform_name@%$program_transform_name%g
4814 s%@bindir@%$bindir%g
4815 s%@sbindir@%$sbindir%g
4816 s%@libexecdir@%$libexecdir%g
4817 s%@datadir@%$datadir%g
4818 s%@sysconfdir@%$sysconfdir%g
4819 s%@sharedstatedir@%$sharedstatedir%g
4820 s%@localstatedir@%$localstatedir%g
4821 s%@libdir@%$libdir%g
4822 s%@includedir@%$includedir%g
4823 s%@oldincludedir@%$oldincludedir%g
4824 s%@infodir@%$infodir%g
4825 s%@mandir@%$mandir%g
4827 s%@host_alias@%$host_alias%g
4828 s%@host_cpu@%$host_cpu%g
4829 s%@host_vendor@%$host_vendor%g
4830 s%@host_os@%$host_os%g
4831 s%@target@%$target%g
4832 s%@target_alias@%$target_alias%g
4833 s%@target_cpu@%$target_cpu%g
4834 s%@target_vendor@%$target_vendor%g
4835 s%@target_os@%$target_os%g
4837 s%@build_alias@%$build_alias%g
4838 s%@build_cpu@%$build_cpu%g
4839 s%@build_vendor@%$build_vendor%g
4840 s%@build_os@%$build_os%g
4843 s%@LEXLIB@%$LEXLIB%g
4846 s%@RANLIB@%$RANLIB%g
4848 s%@INSTALL@%$INSTALL%g
4849 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
4850 s%@INSTALL_DATA@%$INSTALL_DATA%g
4852 s%@SET_MAKE@%$SET_MAKE%g
4854 s%@manext@%$manext%g
4855 s%@objext@%$objext%g
4856 s%@inhibit_libc@%$inhibit_libc%g
4857 s%@sched_prefix@%$sched_prefix%g
4858 s%@sched_cflags@%$sched_cflags%g
4859 s%@subdirs@%$subdirs%g
4860 s%@all_languages@%$all_languages%g
4861 s%@all_boot_languages@%$all_boot_languages%g
4862 s%@all_compilers@%$all_compilers%g
4863 s%@all_lang_makefiles@%$all_lang_makefiles%g
4864 s%@all_stagestuff@%$all_stagestuff%g
4865 s%@all_diff_excludes@%$all_diff_excludes%g
4866 s%@all_lib2funcs@%$all_lib2funcs%g
4867 s%@all_headers@%$all_headers%g
4868 s%@extra_passes@%$extra_passes%g
4869 s%@extra_programs@%$extra_programs%g
4870 s%@extra_parts@%$extra_parts%g
4871 s%@extra_c_objs@%$extra_c_objs%g
4872 s%@extra_c_flags@%$extra_c_flags%g
4873 s%@extra_objs@%$extra_objs%g
4874 s%@host_extra_gcc_objs@%$host_extra_gcc_objs%g
4875 s%@extra_headers_list@%$extra_headers_list%g
4876 s%@dep_host_xmake_file@%$dep_host_xmake_file%g
4877 s%@dep_tmake_file@%$dep_tmake_file%g
4878 s%@out_file@%$out_file%g
4879 s%@out_object_file@%$out_object_file%g
4880 s%@md_file@%$md_file%g
4881 s%@tm_file_list@%$tm_file_list%g
4882 s%@build_xm_file_list@%$build_xm_file_list%g
4883 s%@host_xm_file_list@%$host_xm_file_list%g
4884 s%@lang_specs_files@%$lang_specs_files%g
4885 s%@lang_options_files@%$lang_options_files%g
4886 s%@thread_file@%$thread_file%g
4887 s%@version@%$version%g
4888 s%@local_prefix@%$local_prefix%g
4889 s%@gxx_include_dir@%$gxx_include_dir%g
4890 s%@fixincludes@%$fixincludes%g
4891 s%@build_install_headers_dir@%$build_install_headers_dir%g
4892 s%@build_exeext@%$build_exeext%g
4893 s%@float_format@%$float_format%g
4894 s%@will_use_collect2@%$will_use_collect2%g
4895 s%@maybe_use_collect2@%$maybe_use_collect2%g
4896 s%@cc_set_by_configure@%$cc_set_by_configure%g
4897 s%@stage_prefix_set_by_configure@%$stage_prefix_set_by_configure%g
4898 s%@install@%$install%g
4899 /@target_overrides@/r $target_overrides
4900 s%@target_overrides@%%g
4901 /@host_overrides@/r $host_overrides
4902 s%@host_overrides@%%g
4903 s%@cross_defines@%$cross_defines%g
4904 /@cross_overrides@/r $cross_overrides
4905 s%@cross_overrides@%%g
4906 /@build_overrides@/r $build_overrides
4907 s%@build_overrides@%%g
4908 /@language_fragments@/r $language_fragments
4909 s%@language_fragments@%%g
4910 /@language_hooks@/r $language_hooks
4911 s%@language_hooks@%%g
4916 cat >> $CONFIG_STATUS <<\EOF
4918 # Split the substitutions into bite-sized pieces for seds with
4919 # small command number limits, like on Digital OSF/1 and HP-UX.
4920 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
4921 ac_file
=1 # Number of current file.
4922 ac_beg
=1 # First line for current file.
4923 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
4926 while $ac_more_lines; do
4927 if test $ac_beg -gt 1; then
4928 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
4930 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
4932 if test ! -s conftest.s
$ac_file; then
4934 rm -f conftest.s
$ac_file
4936 if test -z "$ac_sed_cmds"; then
4937 ac_sed_cmds
="sed -f conftest.s$ac_file"
4939 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
4941 ac_file
=`expr $ac_file + 1`
4943 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
4946 if test -z "$ac_sed_cmds"; then
4951 cat >> $CONFIG_STATUS <<EOF
4953 CONFIG_FILES=\${CONFIG_FILES-"$all_outputs"}
4955 cat >> $CONFIG_STATUS <<\EOF
4956 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
4957 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4959 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4960 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4961 *) ac_file_in
="${ac_file}.in" ;;
4964 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
4966 # Remove last slash and all that follows it. Not all systems have dirname.
4967 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
4968 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
4969 # The file is in a subdirectory.
4970 test ! -d "$ac_dir" && mkdir
"$ac_dir"
4971 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
4972 # A "../" for each directory in $ac_dir_suffix.
4973 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
4975 ac_dir_suffix
= ac_dots
=
4978 case "$ac_given_srcdir" in
4980 if test -z "$ac_dots"; then top_srcdir
=.
4981 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
4982 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
4984 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
4985 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
4989 echo creating
"$ac_file"
4991 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
4993 *Makefile
*) ac_comsub
="1i\\
4994 # $configure_input" ;;
4998 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5000 s%@configure_input@%$configure_input%g
5001 s%@srcdir@%$srcdir%g
5002 s%@top_srcdir@%$top_srcdir%g
5003 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
5007 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5008 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5010 # ac_d sets the value in "#define NAME VALUE" lines.
5011 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5012 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
5015 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5016 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5017 ac_uB
='\([ ]\)%\1#\2define\3'
5020 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5021 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5022 ac_eB
='$%\1#\2define\3'
5026 if test "${CONFIG_HEADERS+set}" != set; then
5028 cat >> $CONFIG_STATUS <<EOF
5029 CONFIG_HEADERS="config.h:config.in"
5031 cat >> $CONFIG_STATUS <<\EOF
5033 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
5034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5036 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5037 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5038 *) ac_file_in
="${ac_file}.in" ;;
5041 echo creating
$ac_file
5043 rm -f conftest.frag conftest.
in conftest.out
5044 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5045 cat $ac_file_inputs > conftest.
in
5049 # Transform confdefs.h into a sed script conftest.vals that substitutes
5050 # the proper values into config.h.in to produce config.h. And first:
5051 # Protect against being on the right side of a sed subst in config.status.
5052 # Protect against being in an unquoted here document in config.status.
5054 cat > conftest.hdr
<<\EOF
5057 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5061 sed -n -f conftest.hdr confdefs.h > conftest.vals
5064 # This sed command replaces #undef with comments. This is necessary, for
5065 # example, in the case of _POSIX_SOURCE, which is predefined and required
5066 # on some systems where configure will not decide to define it.
5067 cat >> conftest.vals <<\EOF
5068 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5071 # Break up conftest.vals because some shells have a limit on
5072 # the size of here documents, and old seds have small limits too.
5077 ac_lines=`grep -c . conftest.vals
`
5078 # grep -c gives empty output for an empty file on some AIX systems.
5079 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5080 # Write a limited-size here document to conftest.frag.
5081 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5082 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5084 sed -f conftest.frag conftest.in > conftest.out
5086 mv conftest.out conftest.in
5088 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5090 mv conftest.tail conftest.vals
5094 cat >> $CONFIG_STATUS <<\EOF
5095 rm -f conftest.frag conftest.h
5096 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5097 cat conftest.in >> conftest.h
5099 if cmp -s $ac_file conftest.h 2>/dev/null; then
5100 echo "$ac_file is unchanged"
5103 # Remove last slash and all that follows it. Not all systems have dirname.
5104 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
5105 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5106 # The file is in a subdirectory.
5107 test ! -d "$ac_dir" && mkdir "$ac_dir"
5110 mv conftest.h $ac_file
5115 cat >> $CONFIG_STATUS <<EOF
5120 target_alias='${target_alias}'
5122 subdirs='${subdirs}'
5123 oldstyle_subdirs='${oldstyle_subdirs}'
5124 symbolic_link='${symbolic_link}'
5125 program_transform_set='${program_transform_set}'
5126 program_transform_name='${program_transform_name}'
5127 dep_host_xmake_file='${dep_host_xmake_file}'
5128 host_xmake_file='${host_xmake_file}'
5129 dep_tmake_file='${dep_tmake_file}'
5130 tmake_file='${tmake_file}'
5131 thread_file='${thread_file}'
5132 version='${version}'
5133 local_prefix='${local_prefix}'
5134 build_install_headers_dir='${build_install_headers_dir}'
5135 build_exeext='${build_exeext}'
5136 out_file='${out_file}'
5137 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
5138 SET_MAKE='${SET_MAKE}'
5139 target_list='${target_list}'
5140 target_overrides='${target_overrides}'
5141 host_overrides='${host_overrides}'
5142 cross_defines='${cross_defines}'
5143 cross_overrides='${cross_overrides}'
5144 build_overrides='${build_overrides}'
5147 cat >> $CONFIG_STATUS <<\EOF
5149 . $srcdir/configure.lang
5150 case x$CONFIG_HEADERS in
5151 xconfig.h:config.in)
5154 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
5155 # bootstrapping and the installation procedure can still use
5156 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
5157 # FLAGS_TO_PASS has been modified to solve the problem there.
5158 # This is virtually a duplicate of what happens in configure.lang; we do
5159 # an extra check to make sure this only happens if ln -s can be used.
5160 if [ "$symbolic_link" = "ln -s" ]; then
5161 for d in .. ${subdirs} ; do
5162 if [ $d != .. ]; then
5165 for t in stage1 stage2 stage3 stage4 include
5168 $symbolic_link ../$t $t 2>/dev/null
5177 chmod +x $CONFIG_STATUS
5178 rm -fr confdefs* $ac_clean_files
5179 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1