3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12.1
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-ld arrange to use the specified ld (full pathname)."
19 --with-gnu-as arrange to work with GNU as."
21 --with-as arrange to use the specified as (full pathname)."
23 --with-stabs arrange to use stabs instead of host debug format."
25 --with-elf arrange to use ELF instead of host debug format."
27 --with-local-prefix=DIR specifies directory to put local include."
29 --with-gxx-include-dir=DIR
30 specifies directory to put g++ header files."
32 --enable-checking enable expensive run-time checks."
34 --enable-cpplib use cpplib for the C preprocessor."
36 --enable-c-cpplib link cpplib directly into C and C++ compilers
37 (implies --enable-cpplib)."
39 --enable-c-mbchar enable multibyte characters for C and C++."
41 --enable-haifa use the experimental scheduler.
42 --disable-haifa don't use the experimental scheduler for the
43 targets which normally enable it."
45 --with-fast-fixincludes use a faster fixinclude program (experimental)"
47 --enable-init-priority use attributes to assign initialization order
49 --disable-init-priority conform to ISO C++ rules for ordering static objects
50 (i.e. initialized in order of declaration). "
52 --enable-threads enable thread usage for target GCC.
53 --enable-threads=LIB use LIB thread package for target GCC."
55 --enable-objc-gc enable the use of Boehm's garbage collector with
56 the GNU Objective-C runtime."
58 --enable-java-gc=TYPE choose garbage collector [boehm]"
60 --enable-dwarf2 enable DWARF2 debugging as default."
62 # Initialize some variables set by options.
63 # The variables have the same names as the options, with
64 # dashes changed to underlines.
66 cache_file
=.
/config.cache
75 program_transform_name
=s
,x
,x
,
83 bindir
='${exec_prefix}/bin'
84 sbindir
='${exec_prefix}/sbin'
85 libexecdir
='${exec_prefix}/libexec'
86 datadir
='${prefix}/share'
87 sysconfdir
='${prefix}/etc'
88 sharedstatedir
='${prefix}/com'
89 localstatedir
='${prefix}/var'
90 libdir
='${exec_prefix}/lib'
91 includedir
='${prefix}/include'
92 oldincludedir
='/usr/include'
93 infodir
='${prefix}/info'
94 mandir
='${prefix}/man'
96 # Initialize some other variables.
99 SHELL
=${CONFIG_SHELL-/bin/sh}
100 # Maximum number of lines to put in a shell here document.
107 # If the previous option needs an argument, assign it.
108 if test -n "$ac_prev"; then
109 eval "$ac_prev=\$ac_option"
115 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
119 # Accept the important Cygnus configure options, so we can diagnose typos.
123 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
125 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
126 bindir
="$ac_optarg" ;;
128 -build |
--build |
--buil |
--bui |
--bu)
130 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
131 build
="$ac_optarg" ;;
133 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
134 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
135 ac_prev
=cache_file
;;
136 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
137 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
138 cache_file
="$ac_optarg" ;;
140 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
142 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
144 datadir
="$ac_optarg" ;;
146 -disable-* |
--disable-*)
147 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
148 # Reject names that are not valid shell variable names.
149 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
150 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
152 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
153 eval "enable_${ac_feature}=no" ;;
155 -enable-* |
--enable-*)
156 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
157 # Reject names that are not valid shell variable names.
158 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
159 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
161 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}='$ac_optarg'" ;;
168 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
169 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
170 |
--exec |
--exe |
--ex)
171 ac_prev
=exec_prefix
;;
172 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
173 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
174 |
--exec=* |
--exe=* |
--ex=*)
175 exec_prefix
="$ac_optarg" ;;
177 -gas |
--gas |
--ga |
--g)
178 # Obsolete; use --with-gas.
181 -help |
--help |
--hel |
--he)
182 # Omit some internal or obsolete options to make the list less imposing.
183 # This message is too long to be a string in the A/UX 3.1 sh.
185 Usage: configure [options] [host]
186 Options: [defaults in brackets after descriptions]
188 --cache-file=FILE cache test results in FILE
189 --help print this message
190 --no-create do not create output files
191 --quiet, --silent do not print \`checking...' messages
192 --version print the version of autoconf that created configure
193 Directory and file names:
194 --prefix=PREFIX install architecture-independent files in PREFIX
196 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
198 --bindir=DIR user executables in DIR [EPREFIX/bin]
199 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
200 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
201 --datadir=DIR read-only architecture-independent data in DIR
203 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
204 --sharedstatedir=DIR modifiable architecture-independent data in DIR
206 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
207 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
208 --includedir=DIR C header files in DIR [PREFIX/include]
209 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
210 --infodir=DIR info documentation in DIR [PREFIX/info]
211 --mandir=DIR man documentation in DIR [PREFIX/man]
212 --srcdir=DIR find the sources in DIR [configure dir or ..]
213 --program-prefix=PREFIX prepend PREFIX to installed program names
214 --program-suffix=SUFFIX append SUFFIX to installed program names
215 --program-transform-name=PROGRAM
216 run sed PROGRAM on installed program names
220 --build=BUILD configure for building on BUILD [BUILD=HOST]
221 --host=HOST configure for HOST [guessed]
222 --target=TARGET configure for TARGET [TARGET=HOST]
223 Features and packages:
224 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
225 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
226 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
227 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
228 --x-includes=DIR X include files are in DIR
229 --x-libraries=DIR X library files are in DIR
231 if test -n "$ac_help"; then
232 echo "--enable and --with options recognized:$ac_help"
236 -host |
--host |
--hos |
--ho)
238 -host=* |
--host=* |
--hos=* |
--ho=*)
241 -includedir |
--includedir |
--includedi |
--included |
--include \
242 |
--includ |
--inclu |
--incl |
--inc)
243 ac_prev
=includedir
;;
244 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
245 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
246 includedir
="$ac_optarg" ;;
248 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
250 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
251 infodir
="$ac_optarg" ;;
253 -libdir |
--libdir |
--libdi |
--libd)
255 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
256 libdir
="$ac_optarg" ;;
258 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
259 |
--libexe |
--libex |
--libe)
260 ac_prev
=libexecdir
;;
261 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
262 |
--libexe=* |
--libex=* |
--libe=*)
263 libexecdir
="$ac_optarg" ;;
265 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
266 |
--localstate |
--localstat |
--localsta |
--localst \
267 |
--locals |
--local |
--loca |
--loc |
--lo)
268 ac_prev
=localstatedir
;;
269 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
270 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
271 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
272 localstatedir
="$ac_optarg" ;;
274 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
276 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
277 mandir
="$ac_optarg" ;;
280 # Obsolete; use --without-fp.
283 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
287 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
288 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
291 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
292 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
293 |
--oldin |
--oldi |
--old |
--ol |
--o)
294 ac_prev
=oldincludedir
;;
295 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
296 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
297 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
298 oldincludedir
="$ac_optarg" ;;
300 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
302 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
303 prefix
="$ac_optarg" ;;
305 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
306 |
--program-pre |
--program-pr |
--program-p)
307 ac_prev
=program_prefix
;;
308 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
309 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
310 program_prefix
="$ac_optarg" ;;
312 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
313 |
--program-suf |
--program-su |
--program-s)
314 ac_prev
=program_suffix
;;
315 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
316 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
317 program_suffix
="$ac_optarg" ;;
319 -program-transform-name |
--program-transform-name \
320 |
--program-transform-nam |
--program-transform-na \
321 |
--program-transform-n |
--program-transform- \
322 |
--program-transform |
--program-transfor \
323 |
--program-transfo |
--program-transf \
324 |
--program-trans |
--program-tran \
325 |
--progr-tra |
--program-tr |
--program-t)
326 ac_prev
=program_transform_name
;;
327 -program-transform-name=* |
--program-transform-name=* \
328 |
--program-transform-nam=* |
--program-transform-na=* \
329 |
--program-transform-n=* |
--program-transform-=* \
330 |
--program-transform=* |
--program-transfor=* \
331 |
--program-transfo=* |
--program-transf=* \
332 |
--program-trans=* |
--program-tran=* \
333 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
334 program_transform_name
="$ac_optarg" ;;
336 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
337 |
-silent |
--silent |
--silen |
--sile |
--sil)
340 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
342 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
344 sbindir
="$ac_optarg" ;;
346 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
347 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
348 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
350 ac_prev
=sharedstatedir
;;
351 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
352 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
353 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
355 sharedstatedir
="$ac_optarg" ;;
357 -site |
--site |
--sit)
359 -site=* |
--site=* |
--sit=*)
362 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
364 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
365 srcdir
="$ac_optarg" ;;
367 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
368 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
369 ac_prev
=sysconfdir
;;
370 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
371 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
372 sysconfdir
="$ac_optarg" ;;
374 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
376 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
377 target
="$ac_optarg" ;;
379 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
382 -version |
--version |
--versio |
--versi |
--vers)
383 echo "configure generated by autoconf version 2.12.1"
387 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
388 # Reject names that are not valid shell variable names.
389 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
390 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
392 ac_package
=`echo $ac_package| sed 's/-/_/g'`
397 eval "with_${ac_package}='$ac_optarg'" ;;
399 -without-* |
--without-*)
400 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package
=`echo $ac_package| sed 's/-/_/g'`
406 eval "with_${ac_package}=no" ;;
409 # Obsolete; use --with-x.
412 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
413 |
--x-incl |
--x-inc |
--x-in |
--x-i)
414 ac_prev
=x_includes
;;
415 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
416 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
417 x_includes
="$ac_optarg" ;;
419 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
420 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
421 ac_prev
=x_libraries
;;
422 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
423 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
424 x_libraries
="$ac_optarg" ;;
426 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
430 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
431 echo "configure: warning: $ac_option: invalid host type" 1>&2
433 if test "x$nonopt" != xNONE
; then
434 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
442 if test -n "$ac_prev"; then
443 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
446 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
448 # File descriptor usage:
451 # 2 errors and warnings
452 # 3 some systems may open it to /dev/tty
453 # 4 used on the Kubota Titan
454 # 6 checking for... messages and results
455 # 5 compiler messages saved in config.log
456 if test "$silent" = yes; then
464 This file contains any messages produced by compilers while
465 running configure, to aid debugging if configure makes a mistake.
468 # Strip out --no-create and --no-recursion so they do not pile up.
469 # Also quote any args containing shell metacharacters.
474 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
475 |
--no-cr |
--no-c) ;;
476 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
477 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
478 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
479 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
480 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
485 # Only set these to C if already set. These must not be set unconditionally
486 # because not all systems understand e.g. LANG=C (notably SCO).
487 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
488 # Non-C LC_CTYPE values break the ctype check.
489 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
490 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
491 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
492 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
494 # confdefs.h avoids OS command line length limits that DEFS can exceed.
495 rm -rf conftest
* confdefs.h
496 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
499 # A filename unique to this package, relative to the directory that
500 # configure is in, which we can look for to find out if srcdir is correct.
501 ac_unique_file
=tree.c
503 # Find the source files, if location was not specified.
504 if test -z "$srcdir"; then
505 ac_srcdir_defaulted
=yes
506 # Try the directory containing this script, then its parent.
508 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
509 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
511 if test ! -r $srcdir/$ac_unique_file; then
515 ac_srcdir_defaulted
=no
517 if test ! -r $srcdir/$ac_unique_file; then
518 if test "$ac_srcdir_defaulted" = yes; then
519 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
521 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
524 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
526 # Prefer explicitly selected file to automatically selected ones.
527 if test -z "$CONFIG_SITE"; then
528 if test "x$prefix" != xNONE
; then
529 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
531 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
534 for ac_site_file
in $CONFIG_SITE; do
535 if test -r "$ac_site_file"; then
536 echo "loading site script $ac_site_file"
541 if test -r "$cache_file"; then
542 echo "loading cache $cache_file"
545 echo "creating cache $cache_file"
550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
551 ac_cpp
='$CPP $CPPFLAGS'
552 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
553 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
554 cross_compiling
=$ac_cv_prog_cc_cross
556 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
557 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
558 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
565 ac_n
= ac_c
='\c' ac_t
=
573 symbolic_link
='ln -s'
576 # Check for bogus environment variables.
577 # Test if LIBRARY_PATH contains the notation for the current directory
578 # since this would lead to problems installing/building glibc.
579 # LIBRARY_PATH contains the current directory if one of the following
581 # - one of the terminals (":" and ";") is the first or last sign
582 # - two terminals occur directly after each other
583 # - the path contains an element with a dot in it
584 echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
585 echo "configure:586: checking LIBRARY_PATH variable" >&5
586 case ${LIBRARY_PATH} in
587 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
588 library_path_setting
="contains current directory"
591 library_path_setting
="ok"
594 echo "$ac_t""$library_path_setting" 1>&6
595 if test "$library_path_setting" != "ok"; then
596 { echo "configure: error:
597 *** LIBRARY_PATH shouldn't contain the current directory when
598 *** building egcs. Please change the environment variable
599 *** and run configure again." 1>&2; exit 1; }
602 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
603 # since this would lead to problems installing/building glibc.
604 # GCC_EXEC_PREFIX contains the current directory if one of the following
606 # - one of the terminals (":" and ";") is the first or last sign
607 # - two terminals occur directly after each other
608 # - the path contains an element with a dot in it
609 echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
610 echo "configure:611: checking GCC_EXEC_PREFIX variable" >&5
611 case ${GCC_EXEC_PREFIX} in
612 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
613 gcc_exec_prefix_setting
="contains current directory"
616 gcc_exec_prefix_setting
="ok"
619 echo "$ac_t""$gcc_exec_prefix_setting" 1>&6
620 if test "$gcc_exec_prefix_setting" != "ok"; then
621 { echo "configure: error:
622 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
623 *** building egcs. Please change the environment variable
624 *** and run configure again." 1>&2; exit 1; }
627 # Check for additional parameters
630 # Check whether --with-gnu-ld or --without-gnu-ld was given.
631 if test "${with_gnu_ld+set}" = set; then
632 withval
="$with_gnu_ld"
633 gnu_ld_flag
="$with_gnu_ld"
639 # With pre-defined ld
640 # Check whether --with-ld or --without-ld was given.
641 if test "${with_ld+set}" = set; then
643 DEFAULT_LINKER
="$with_ld"
646 if test x
"${DEFAULT_LINKER+set}" = x
"set"; then
647 if test ! -x "$DEFAULT_LINKER"; then
648 echo "configure: warning: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" 1>&2
649 elif test "GNU" = `$DEFAULT_LINKER -v </dev/null 2>&1 | sed '1s/^GNU.*/GNU/;q'`; then
652 cat >> confdefs.h
<<EOF
653 #define DEFAULT_LINKER "$DEFAULT_LINKER"
659 # Check whether --with-gnu-as or --without-gnu-as was given.
660 if test "${with_gnu_as+set}" = set; then
661 withval
="$with_gnu_as"
662 gas_flag
="$with_gnu_as"
668 # Check whether --with-as or --without-as was given.
669 if test "${with_as+set}" = set; then
671 DEFAULT_ASSEMBLER
="$with_as"
674 if test x
"${DEFAULT_ASSEMBLER+set}" = x
"set"; then
675 if test ! -x "$DEFAULT_ASSEMBLER"; then
676 echo "configure: warning: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" 1>&2
677 elif test "GNU" = `$DEFAULT_ASSEMBLER -v </dev/null 2>&1 | sed '1s/^GNU.*/GNU/;q'`; then
680 cat >> confdefs.h
<<EOF
681 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
687 # Check whether --with-stabs or --without-stabs was given.
688 if test "${with_stabs+set}" = set; then
689 withval
="$with_stabs"
697 # Check whether --with-elf or --without-elf was given.
698 if test "${with_elf+set}" = set; then
706 # Specify the local prefix
708 # Check whether --with-local-prefix or --without-local-prefix was given.
709 if test "${with_local_prefix+set}" = set; then
710 withval
="$with_local_prefix"
712 yes) { echo "configure: error: bad value ${withval} given for local include directory prefix" 1>&2; exit 1; } ;;
714 *) local_prefix
=$with_local_prefix ;;
719 # Default local prefix if it is empty
720 if test x
$local_prefix = x
; then
721 local_prefix
=/usr
/local
725 # Specify the g++ header file directory
726 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
727 if test "${with_gxx_include_dir+set}" = set; then
728 withval
="$with_gxx_include_dir"
730 yes) { echo "configure: error: bad value ${withval} given for g++ include directory" 1>&2; exit 1; } ;;
732 *) gxx_include_dir
=$with_gxx_include_dir ;;
737 if test x
${gxx_include_dir} = x
; then
738 if test x
${enable_version_specific_runtime_libs} = xyes
; then
739 gxx_include_dir
='${libsubdir}/include/g++'
741 topsrcdir
=${srcdir}/.. .
${srcdir}/..
/config.
if
742 gxx_include_dir
="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/g++"-${libstdcxx_interface}
746 # Enable expensive internal checks
747 # Check whether --enable-checking or --disable-checking was given.
748 if test "${enable_checking+set}" = set; then
749 enableval
="$enable_checking"
750 case "${enableval}" in
751 yes) cat >> confdefs.h
<<\EOF
752 #define ENABLE_CHECKING 1
756 *) { echo "configure: error: bad value ${enableval} given for checking option" 1>&2; exit 1; } ;;
761 # Use cpplib+cppmain for the preprocessor, but don't link it with the compiler.
763 # Check whether --enable-cpplib or --disable-cpplib was given.
764 if test "${enable_cpplib+set}" = set; then
765 enableval
="$enable_cpplib"
766 if test x
$enable_cpplib != xno
; then
772 # Link cpplib into the compiler proper, for C/C++/ObjC.
773 # Check whether --enable-c-cpplib or --disable-c-cpplib was given.
774 if test "${enable_c_cpplib+set}" = set; then
775 enableval
="$enable_c_cpplib"
776 if test x
$enable_c_cpplib != xno
; then
777 extra_c_objs
="${extra_c_objs} libcpp.a"
778 extra_cxx_objs
="${extra_cxx_objs} ../libcpp.a"
779 extra_c_flags
=-DUSE_CPPLIB=1
785 # Enable Multibyte Characters for C/C++
786 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
787 if test "${enable_c_mbchar+set}" = set; then
788 enableval
="$enable_c_mbchar"
789 if test x
$enable_c_mbchar != xno
; then
790 extra_c_flags
=-DMULTIBYTE_CHARS=1
795 # Enable Haifa scheduler.
796 # Check whether --enable-haifa or --disable-haifa was given.
797 if test "${enable_haifa+set}" = set; then
798 enableval
="$enable_haifa"
804 # This is a work in progress...
805 # Check whether --with-fast-fixincludes or --without-fast-fixincludes was given.
806 if test "${with_fast_fixincludes+set}" = set; then
807 withval
="$with_fast_fixincludes"
808 fast_fixinc
="$with_fast_fixincludes"
814 # Enable init_priority.
815 # Check whether --enable-init-priority or --disable-init-priority was given.
816 if test "${enable_init_priority+set}" = set; then
817 enableval
="$enable_init_priority"
818 if test x
$enable_init_priority != xno
; then
819 extra_c_flags
=-DUSE_INIT_PRIORITY
825 # Pass with no value to take the default
826 # Pass with a value to specify a thread package
827 # Check whether --enable-threads or --disable-threads was given.
828 if test "${enable_threads+set}" = set; then
829 enableval
="$enable_threads"
830 if test x
$enable_threads = xno
; then
838 enable_threads_flag
=$enable_threads
839 # Check if a valid thread package
840 case x
${enable_threads_flag} in
843 target_thread_file
='single'
847 target_thread_file
=''
849 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
850 xsolaris | xwin32 | xdce | xvxworks
)
851 target_thread_file
=$enable_threads_flag
854 echo "$enable_threads is an unknown thread package" 1>&2
859 # Check whether --enable-objc-gc or --disable-objc-gc was given.
860 if test "${enable_objc_gc+set}" = set; then
861 enableval
="$enable_objc_gc"
862 if [ x
$enable_objc_gc = xno
]; then
872 # Check whether --enable-java-gc or --disable-java-gc was given.
873 if test "${enable_java_gc+set}" = set; then
874 enableval
="$enable_java_gc"
882 # Check whether --with-dwarf2 or --without-dwarf2 was given.
883 if test "${with_dwarf2+set}" = set; then
884 withval
="$with_dwarf2"
885 dwarf2
="$with_dwarf2"
891 # Determine the host, build, and target systems
893 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
894 if test -f $ac_dir/install-sh
; then
896 ac_install_sh
="$ac_aux_dir/install-sh -c"
898 elif test -f $ac_dir/install.sh
; then
900 ac_install_sh
="$ac_aux_dir/install.sh -c"
904 if test -z "$ac_aux_dir"; then
905 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
907 ac_config_guess
=$ac_aux_dir/config.guess
908 ac_config_sub
=$ac_aux_dir/config.sub
909 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
912 # Do some error checking and defaulting for the host and target type.
914 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
917 # 1. You are not allowed to specify --host, --target, and nonopt at the
919 # 2. Host defaults to nonopt.
920 # 3. If nonopt is not specified, then host defaults to the current host,
921 # as determined by config.guess.
922 # 4. Target and build default to nonopt.
923 # 5. If nonopt is not specified, then target and build default to host.
925 # The aliases save the names the user supplied, while $host etc.
926 # will get canonicalized.
927 case $host---$target---$nonopt in
928 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
929 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
933 # Make sure we can run config.sub.
934 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
935 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
938 echo $ac_n "checking host system type""... $ac_c" 1>&6
939 echo "configure:940: checking host system type" >&5
942 case "$host_alias" in
946 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
947 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
949 *) host_alias
=$nonopt ;;
953 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
954 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
955 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
956 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
957 echo "$ac_t""$host" 1>&6
959 echo $ac_n "checking target system type""... $ac_c" 1>&6
960 echo "configure:961: checking target system type" >&5
963 case "$target_alias" in
966 NONE
) target_alias
=$host_alias ;;
967 *) target_alias
=$nonopt ;;
971 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
972 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
973 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
974 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
975 echo "$ac_t""$target" 1>&6
977 echo $ac_n "checking build system type""... $ac_c" 1>&6
978 echo "configure:979: checking build system type" >&5
981 case "$build_alias" in
984 NONE
) build_alias
=$host_alias ;;
985 *) build_alias
=$nonopt ;;
989 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
990 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
991 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
992 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
993 echo "$ac_t""$build" 1>&6
995 test "$host_alias" != "$target_alias" &&
996 test "$program_prefix$program_suffix$program_transform_name" = \
998 program_prefix
=${target_alias}-
1001 # Find the native compiler
1002 # Extract the first word of "gcc", so it can be a program name with args.
1003 set dummy gcc
; ac_word
=$2
1004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1005 echo "configure:1006: checking for $ac_word" >&5
1006 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1007 echo $ac_n "(cached) $ac_c" 1>&6
1009 if test -n "$CC"; then
1010 ac_cv_prog_CC
="$CC" # Let the user override the test.
1012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1013 for ac_dir
in $PATH; do
1014 test -z "$ac_dir" && ac_dir
=.
1015 if test -f $ac_dir/$ac_word; then
1024 if test -n "$CC"; then
1025 echo "$ac_t""$CC" 1>&6
1027 echo "$ac_t""no" 1>&6
1030 if test -z "$CC"; then
1031 # Extract the first word of "cc", so it can be a program name with args.
1032 set dummy cc
; ac_word
=$2
1033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1034 echo "configure:1035: checking for $ac_word" >&5
1035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1036 echo $ac_n "(cached) $ac_c" 1>&6
1038 if test -n "$CC"; then
1039 ac_cv_prog_CC
="$CC" # Let the user override the test.
1041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1043 for ac_dir
in $PATH; do
1044 test -z "$ac_dir" && ac_dir
=.
1045 if test -f $ac_dir/$ac_word; then
1046 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1047 ac_prog_rejected
=yes
1055 if test $ac_prog_rejected = yes; then
1056 # We found a bogon in the path, so make sure we never use it.
1057 set dummy
$ac_cv_prog_CC
1059 if test $# -gt 0; then
1060 # We chose a different compiler from the bogus one.
1061 # However, it has the same basename, so the bogon will be chosen
1062 # first if we set CC to just the basename; use the full file name.
1064 set dummy
"$ac_dir/$ac_word" "$@"
1072 if test -n "$CC"; then
1073 echo "$ac_t""$CC" 1>&6
1075 echo "$ac_t""no" 1>&6
1078 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1081 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1082 echo "configure:1083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1086 ac_cpp
='$CPP $CPPFLAGS'
1087 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1088 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1089 cross_compiling
=$ac_cv_prog_cc_cross
1091 cat > conftest.
$ac_ext <<EOF
1092 #line 1093 "configure"
1093 #include "confdefs.h"
1096 if { (eval echo configure
:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1097 ac_cv_prog_cc_works
=yes
1098 # If we can't run a trivial program, we are probably using a cross compiler.
1099 if (.
/conftest
; exit) 2>/dev
/null
; then
1100 ac_cv_prog_cc_cross
=no
1102 ac_cv_prog_cc_cross
=yes
1105 echo "configure: failed program was:" >&5
1106 cat conftest.
$ac_ext >&5
1107 ac_cv_prog_cc_works
=no
1111 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1112 if test $ac_cv_prog_cc_works = no
; then
1113 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1115 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1116 echo "configure:1117: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1117 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1118 cross_compiling
=$ac_cv_prog_cc_cross
1120 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1121 echo "configure:1122: checking whether we are using GNU C" >&5
1122 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1123 echo $ac_n "(cached) $ac_c" 1>&6
1125 cat > conftest.c
<<EOF
1130 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1137 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1139 if test $ac_cv_prog_gcc = yes; then
1141 ac_test_CFLAGS
="${CFLAGS+set}"
1142 ac_save_CFLAGS
="$CFLAGS"
1144 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether ${CC-cc} accepts -g" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1147 echo $ac_n "(cached) $ac_c" 1>&6
1149 echo 'void f(){}' > conftest.c
1150 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1159 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1160 if test "$ac_test_CFLAGS" = set; then
1161 CFLAGS
="$ac_save_CFLAGS"
1162 elif test $ac_cv_prog_cc_g = yes; then
1169 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1173 # If the native compiler is GCC, we can enable warnings even in stage1.
1174 # That's useful for people building cross-compilers, or just running a
1176 if test "x$GCC" = "xyes"; then
1177 stage1_warn_cflags
='$(WARN_CFLAGS)'
1179 stage1_warn_cflags
=""
1183 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1184 echo "configure:1185: checking whether ${MAKE-make} sets \${MAKE}" >&5
1185 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
1186 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1187 echo $ac_n "(cached) $ac_c" 1>&6
1189 cat > conftestmake
<<\EOF
1191 @
echo 'ac_maketemp="${MAKE}"'
1193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1194 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1195 if test -n "$ac_maketemp"; then
1196 eval ac_cv_prog_make_
${ac_make}_set
=yes
1198 eval ac_cv_prog_make_
${ac_make}_set
=no
1202 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1203 echo "$ac_t""yes" 1>&6
1206 echo "$ac_t""no" 1>&6
1207 SET_MAKE
="MAKE=${MAKE-make}"
1211 echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
1212 echo "configure:1213: checking whether a default assembler was specified" >&5
1213 if test x
"${DEFAULT_ASSEMBLER+set}" = x
"set"; then
1214 if test x
"$with_gas" = x
"no"; then
1215 echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
1217 echo "$ac_t""yes ($DEFAULT_ASSEMBLER - GNU as)" 1>&6
1220 echo "$ac_t""no" 1>&6
1223 echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
1224 echo "configure:1225: checking whether a default linker was specified" >&5
1225 if test x
"${DEFAULT_LINKER+set}" = x
"set"; then
1226 if test x
"$with_gnu_ld" = x
"no"; then
1227 echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
1229 echo "$ac_t""yes ($DEFAULT_LINKER - GNU ld)" 1>&6
1232 echo "$ac_t""no" 1>&6
1235 # Find some useful tools
1236 for ac_prog
in mawk gawk nawk
awk
1238 # Extract the first word of "$ac_prog", so it can be a program name with args.
1239 set dummy
$ac_prog; ac_word
=$2
1240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1241 echo "configure:1242: checking for $ac_word" >&5
1242 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1243 echo $ac_n "(cached) $ac_c" 1>&6
1245 if test -n "$AWK"; then
1246 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1248 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1249 for ac_dir
in $PATH; do
1250 test -z "$ac_dir" && ac_dir
=.
1251 if test -f $ac_dir/$ac_word; then
1252 ac_cv_prog_AWK
="$ac_prog"
1259 AWK
="$ac_cv_prog_AWK"
1260 if test -n "$AWK"; then
1261 echo "$ac_t""$AWK" 1>&6
1263 echo "$ac_t""no" 1>&6
1266 test -n "$AWK" && break
1269 # Extract the first word of "flex", so it can be a program name with args.
1270 set dummy flex
; ac_word
=$2
1271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1272 echo "configure:1273: checking for $ac_word" >&5
1273 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1274 echo $ac_n "(cached) $ac_c" 1>&6
1276 if test -n "$LEX"; then
1277 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
1279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1280 for ac_dir
in $PATH; do
1281 test -z "$ac_dir" && ac_dir
=.
1282 if test -f $ac_dir/$ac_word; then
1283 ac_cv_prog_LEX
="flex"
1288 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
1291 LEX
="$ac_cv_prog_LEX"
1292 if test -n "$LEX"; then
1293 echo "$ac_t""$LEX" 1>&6
1295 echo "$ac_t""no" 1>&6
1298 if test -z "$LEXLIB"
1304 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
1305 echo "configure:1306: checking for yywrap in -l$ac_lib" >&5
1306 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
1307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1308 echo $ac_n "(cached) $ac_c" 1>&6
1310 ac_save_LIBS
="$LIBS"
1311 LIBS
="-l$ac_lib $LIBS"
1312 cat > conftest.
$ac_ext <<EOF
1313 #line 1314 "configure"
1314 #include "confdefs.h"
1315 /* Override any gcc2 internal prototype to avoid an error. */
1316 /* We use char because int might match the return type of a gcc2
1317 builtin and then its argument prototype would still apply. */
1324 if { (eval echo configure
:1325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1326 eval "ac_cv_lib_$ac_lib_var=yes"
1328 echo "configure: failed program was:" >&5
1329 cat conftest.
$ac_ext >&5
1331 eval "ac_cv_lib_$ac_lib_var=no"
1334 LIBS
="$ac_save_LIBS"
1337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1338 echo "$ac_t""yes" 1>&6
1341 echo "$ac_t""no" 1>&6
1346 echo $ac_n "checking whether ln works""... $ac_c" 1>&6
1347 echo "configure:1348: checking whether ln works" >&5
1348 if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
1349 echo $ac_n "(cached) $ac_c" 1>&6
1351 rm -f conftestdata_t
1352 echo >conftestdata_f
1353 if ln conftestdata_f conftestdata_t
2>/dev
/null
1357 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
1359 gcc_cv_prog_LN
="ln -s"
1364 rm -f conftestdata_f conftestdata_t
1367 LN
="$gcc_cv_prog_LN"
1368 if test "$gcc_cv_prog_LN" = "ln"; then
1369 echo "$ac_t""yes" 1>&6
1371 if test "$gcc_cv_prog_LN" = "ln -s"; then
1372 echo "$ac_t""no, using ln -s" 1>&6
1374 echo "$ac_t""no, and neither does ln -s, so using cp" 1>&6
1378 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1379 echo "configure:1380: checking whether ln -s works" >&5
1380 if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 rm -f conftestdata_t
1384 echo >conftestdata_f
1385 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
1387 gcc_cv_prog_LN_S
="ln -s"
1389 if ln conftestdata_f conftestdata_t
2>/dev
/null
1396 rm -f conftestdata_f conftestdata_t
1399 LN_S
="$gcc_cv_prog_LN_S"
1400 if test "$gcc_cv_prog_LN_S" = "ln -s"; then
1401 echo "$ac_t""yes" 1>&6
1403 if test "$gcc_cv_prog_LN_S" = "ln"; then
1404 echo "$ac_t""no, using ln" 1>&6
1406 echo "$ac_t""no, and neither does ln, so using cp" 1>&6
1410 echo $ac_n "checking for volatile""... $ac_c" 1>&6
1411 echo "configure:1412: checking for volatile" >&5
1412 if eval "test \"`echo '$''{'gcc_cv_c_volatile'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 cat > conftest.
$ac_ext <<EOF
1416 #line 1417 "configure"
1417 #include "confdefs.h"
1423 if { (eval echo configure
:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1425 gcc_cv_c_volatile
=yes
1427 echo "configure: failed program was:" >&5
1428 cat conftest.
$ac_ext >&5
1430 gcc_cv_c_volatile
=no
1435 echo "$ac_t""$gcc_cv_c_volatile" 1>&6
1436 if test $gcc_cv_c_volatile = yes ; then
1437 cat >> confdefs.h
<<\EOF
1438 #define HAVE_VOLATILE 1
1443 # Extract the first word of "ranlib", so it can be a program name with args.
1444 set dummy ranlib
; ac_word
=$2
1445 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1446 echo "configure:1447: checking for $ac_word" >&5
1447 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1448 echo $ac_n "(cached) $ac_c" 1>&6
1450 if test -n "$RANLIB"; then
1451 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1453 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1454 for ac_dir
in $PATH; do
1455 test -z "$ac_dir" && ac_dir
=.
1456 if test -f $ac_dir/$ac_word; then
1457 ac_cv_prog_RANLIB
="ranlib"
1462 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1465 RANLIB
="$ac_cv_prog_RANLIB"
1466 if test -n "$RANLIB"; then
1467 echo "$ac_t""$RANLIB" 1>&6
1469 echo "$ac_t""no" 1>&6
1472 for ac_prog
in 'bison -y' byacc
1474 # Extract the first word of "$ac_prog", so it can be a program name with args.
1475 set dummy
$ac_prog; ac_word
=$2
1476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1477 echo "configure:1478: checking for $ac_word" >&5
1478 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1479 echo $ac_n "(cached) $ac_c" 1>&6
1481 if test -n "$YACC"; then
1482 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1484 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1485 for ac_dir
in $PATH; do
1486 test -z "$ac_dir" && ac_dir
=.
1487 if test -f $ac_dir/$ac_word; then
1488 ac_cv_prog_YACC
="$ac_prog"
1495 YACC
="$ac_cv_prog_YACC"
1496 if test -n "$YACC"; then
1497 echo "$ac_t""$YACC" 1>&6
1499 echo "$ac_t""no" 1>&6
1502 test -n "$YACC" && break
1504 test -n "$YACC" || YACC
="yacc"
1506 # Find a good install program. We prefer a C program (faster),
1507 # so one script is as good as another. But avoid the broken or
1508 # incompatible versions:
1509 # SysV /etc/install, /usr/sbin/install
1510 # SunOS /usr/etc/install
1511 # IRIX /sbin/install
1513 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1514 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1515 # ./install, which can be erroneously created by make from ./install.sh.
1516 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1517 echo "configure:1518: checking for a BSD compatible install" >&5
1518 if test -z "$INSTALL"; then
1519 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1520 echo $ac_n "(cached) $ac_c" 1>&6
1522 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1523 for ac_dir
in $PATH; do
1524 # Account for people who put trailing slashes in PATH elements.
1526 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1528 # OSF1 and SCO ODT 3.0 have their own names for install.
1529 for ac_prog
in ginstall scoinst
install; do
1530 if test -f $ac_dir/$ac_prog; then
1531 if test $ac_prog = install &&
1532 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1533 # AIX install. It has an incompatible calling convention.
1534 # OSF/1 installbsd also uses dspmsg, but is usable.
1537 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1548 if test "${ac_cv_path_install+set}" = set; then
1549 INSTALL
="$ac_cv_path_install"
1551 # As a last resort, use the slow shell script. We don't cache a
1552 # path for INSTALL within a source directory, because that will
1553 # break other packages using the cache if that directory is
1554 # removed, or if the path is relative.
1555 INSTALL
="$ac_install_sh"
1558 echo "$ac_t""$INSTALL" 1>&6
1560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1561 # It thinks the first close brace ends the variable substitution.
1562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1564 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1567 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1568 echo "configure:1569: checking how to run the C preprocessor" >&5
1569 # On Suns, sometimes $CPP names a directory.
1570 if test -n "$CPP" && test -d "$CPP"; then
1573 if test -z "$CPP"; then
1574 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1575 echo $ac_n "(cached) $ac_c" 1>&6
1577 # This must be in double quotes, not single quotes, because CPP may get
1578 # substituted into the Makefile and "${CC-cc}" will confuse make.
1580 # On the NeXT, cc -E runs the code through the compiler's parser,
1581 # not just through cpp.
1582 cat > conftest.
$ac_ext <<EOF
1583 #line 1584 "configure"
1584 #include "confdefs.h"
1588 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1589 { (eval echo configure
:1590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1590 ac_err
=`grep -v '^ *+' conftest.out`
1591 if test -z "$ac_err"; then
1595 echo "configure: failed program was:" >&5
1596 cat conftest.
$ac_ext >&5
1598 CPP
="${CC-cc} -E -traditional-cpp"
1599 cat > conftest.
$ac_ext <<EOF
1600 #line 1601 "configure"
1601 #include "confdefs.h"
1605 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1606 { (eval echo configure
:1607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1607 ac_err
=`grep -v '^ *+' conftest.out`
1608 if test -z "$ac_err"; then
1612 echo "configure: failed program was:" >&5
1613 cat conftest.
$ac_ext >&5
1620 ac_cv_prog_CPP
="$CPP"
1622 CPP
="$ac_cv_prog_CPP"
1624 ac_cv_prog_CPP
="$CPP"
1626 echo "$ac_t""$CPP" 1>&6
1628 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1629 echo "configure:1630: checking for ANSI C header files" >&5
1630 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1631 echo $ac_n "(cached) $ac_c" 1>&6
1633 cat > conftest.
$ac_ext <<EOF
1634 #line 1635 "configure"
1635 #include "confdefs.h"
1641 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1642 { (eval echo configure
:1643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1643 ac_err
=`grep -v '^ *+' conftest.out`
1644 if test -z "$ac_err"; then
1646 ac_cv_header_stdc
=yes
1649 echo "configure: failed program was:" >&5
1650 cat conftest.
$ac_ext >&5
1652 ac_cv_header_stdc
=no
1656 if test $ac_cv_header_stdc = yes; then
1657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1658 cat > conftest.
$ac_ext <<EOF
1659 #line 1660 "configure"
1660 #include "confdefs.h"
1663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1664 egrep "memchr" >/dev
/null
2>&1; then
1668 ac_cv_header_stdc
=no
1674 if test $ac_cv_header_stdc = yes; then
1675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1676 cat > conftest.
$ac_ext <<EOF
1677 #line 1678 "configure"
1678 #include "confdefs.h"
1681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1682 egrep "free" >/dev
/null
2>&1; then
1686 ac_cv_header_stdc
=no
1692 if test $ac_cv_header_stdc = yes; then
1693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1694 if test "$cross_compiling" = yes; then
1697 cat > conftest.
$ac_ext <<EOF
1698 #line 1699 "configure"
1699 #include "confdefs.h"
1701 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1702 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1703 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1704 int main () { int i; for (i = 0; i < 256; i++)
1705 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1709 if { (eval echo configure
:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
1713 echo "configure: failed program was:" >&5
1714 cat conftest.
$ac_ext >&5
1716 ac_cv_header_stdc
=no
1724 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1725 if test $ac_cv_header_stdc = yes; then
1726 cat >> confdefs.h
<<\EOF
1727 #define STDC_HEADERS 1
1732 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1733 echo "configure:1734: checking whether time.h and sys/time.h may both be included" >&5
1734 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1735 echo $ac_n "(cached) $ac_c" 1>&6
1737 cat > conftest.
$ac_ext <<EOF
1738 #line 1739 "configure"
1739 #include "confdefs.h"
1740 #include <sys/types.h>
1741 #include <sys/time.h>
1747 if { (eval echo configure
:1748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1749 ac_cv_header_time
=yes
1751 echo "configure: failed program was:" >&5
1752 cat conftest.
$ac_ext >&5
1754 ac_cv_header_time
=no
1759 echo "$ac_t""$ac_cv_header_time" 1>&6
1760 if test $ac_cv_header_time = yes; then
1761 cat >> confdefs.h
<<\EOF
1762 #define TIME_WITH_SYS_TIME 1
1767 echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
1768 echo "configure:1769: checking whether string.h and strings.h may both be included" >&5
1769 if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
1770 echo $ac_n "(cached) $ac_c" 1>&6
1772 cat > conftest.
$ac_ext <<EOF
1773 #line 1774 "configure"
1774 #include "confdefs.h"
1776 #include <strings.h>
1781 if { (eval echo configure
:1782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1783 gcc_cv_header_string
=yes
1785 echo "configure: failed program was:" >&5
1786 cat conftest.
$ac_ext >&5
1788 gcc_cv_header_string
=no
1793 echo "$ac_t""$gcc_cv_header_string" 1>&6
1794 if test $gcc_cv_header_string = yes; then
1795 cat >> confdefs.h
<<\EOF
1796 #define STRING_WITH_STRINGS 1
1801 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1802 echo "configure:1803: checking for sys/wait.h that is POSIX.1 compatible" >&5
1803 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1804 echo $ac_n "(cached) $ac_c" 1>&6
1806 cat > conftest.
$ac_ext <<EOF
1807 #line 1808 "configure"
1808 #include "confdefs.h"
1809 #include <sys/types.h>
1810 #include <sys/wait.h>
1812 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1815 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1820 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1823 if { (eval echo configure
:1824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1825 ac_cv_header_sys_wait_h
=yes
1827 echo "configure: failed program was:" >&5
1828 cat conftest.
$ac_ext >&5
1830 ac_cv_header_sys_wait_h
=no
1835 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
1836 if test $ac_cv_header_sys_wait_h = yes; then
1837 cat >> confdefs.h
<<\EOF
1838 #define HAVE_SYS_WAIT_H 1
1843 for ac_hdr
in limits.h stddef.h string.h
strings.h stdlib.h
time.h fcntl.h unistd.h stab.h sys
/file.h sys
/time.h sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h
1845 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1846 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1847 echo "configure:1848: checking for $ac_hdr" >&5
1848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1849 echo $ac_n "(cached) $ac_c" 1>&6
1851 cat > conftest.
$ac_ext <<EOF
1852 #line 1853 "configure"
1853 #include "confdefs.h"
1856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1857 { (eval echo configure
:1858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1858 ac_err
=`grep -v '^ *+' conftest.out`
1859 if test -z "$ac_err"; then
1861 eval "ac_cv_header_$ac_safe=yes"
1864 echo "configure: failed program was:" >&5
1865 cat conftest.
$ac_ext >&5
1867 eval "ac_cv_header_$ac_safe=no"
1871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1872 echo "$ac_t""yes" 1>&6
1873 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1874 cat >> confdefs.h
<<EOF
1875 #define $ac_tr_hdr 1
1879 echo "$ac_t""no" 1>&6
1884 # Check for thread headers.
1885 ac_safe
=`echo "thread.h" | sed 'y%./+-%__p_%'`
1886 echo $ac_n "checking for thread.h""... $ac_c" 1>&6
1887 echo "configure:1888: checking for thread.h" >&5
1888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1889 echo $ac_n "(cached) $ac_c" 1>&6
1891 cat > conftest.
$ac_ext <<EOF
1892 #line 1893 "configure"
1893 #include "confdefs.h"
1896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1897 { (eval echo configure
:1898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1898 ac_err
=`grep -v '^ *+' conftest.out`
1899 if test -z "$ac_err"; then
1901 eval "ac_cv_header_$ac_safe=yes"
1904 echo "configure: failed program was:" >&5
1905 cat conftest.
$ac_ext >&5
1907 eval "ac_cv_header_$ac_safe=no"
1911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1912 echo "$ac_t""yes" 1>&6
1915 echo "$ac_t""no" 1>&6
1919 ac_safe
=`echo "pthread.h" | sed 'y%./+-%__p_%'`
1920 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
1921 echo "configure:1922: checking for pthread.h" >&5
1922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1923 echo $ac_n "(cached) $ac_c" 1>&6
1925 cat > conftest.
$ac_ext <<EOF
1926 #line 1927 "configure"
1927 #include "confdefs.h"
1928 #include <pthread.h>
1930 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1931 { (eval echo configure
:1932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1932 ac_err
=`grep -v '^ *+' conftest.out`
1933 if test -z "$ac_err"; then
1935 eval "ac_cv_header_$ac_safe=yes"
1938 echo "configure: failed program was:" >&5
1939 cat conftest.
$ac_ext >&5
1941 eval "ac_cv_header_$ac_safe=no"
1945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1946 echo "$ac_t""yes" 1>&6
1949 echo "$ac_t""no" 1>&6
1954 # See if GNAT has been installed
1955 # Extract the first word of "gnatbind", so it can be a program name with args.
1956 set dummy gnatbind
; ac_word
=$2
1957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1958 echo "configure:1959: checking for $ac_word" >&5
1959 if eval "test \"`echo '$''{'ac_cv_prog_gnat'+set}'`\" = set"; then
1960 echo $ac_n "(cached) $ac_c" 1>&6
1962 if test -n "$gnat"; then
1963 ac_cv_prog_gnat
="$gnat" # Let the user override the test.
1965 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1966 for ac_dir
in $PATH; do
1967 test -z "$ac_dir" && ac_dir
=.
1968 if test -f $ac_dir/$ac_word; then
1969 ac_cv_prog_gnat
="yes"
1974 test -z "$ac_cv_prog_gnat" && ac_cv_prog_gnat
="no"
1977 gnat
="$ac_cv_prog_gnat"
1978 if test -n "$gnat"; then
1979 echo "$ac_t""$gnat" 1>&6
1981 echo "$ac_t""no" 1>&6
1985 # See if the system preprocessor understands the ANSI C preprocessor
1986 # stringification operator.
1987 echo $ac_n "checking whether cpp understands the stringify operator""... $ac_c" 1>&6
1988 echo "configure:1989: checking whether cpp understands the stringify operator" >&5
1989 if eval "test \"`echo '$''{'gcc_cv_c_have_stringify'+set}'`\" = set"; then
1990 echo $ac_n "(cached) $ac_c" 1>&6
1992 cat > conftest.
$ac_ext <<EOF
1993 #line 1994 "configure"
1994 #include "confdefs.h"
1998 char *test = S(foo);
2001 if { (eval echo configure
:2002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2003 gcc_cv_c_have_stringify
=yes
2005 echo "configure: failed program was:" >&5
2006 cat conftest.
$ac_ext >&5
2008 gcc_cv_c_have_stringify
=no
2013 echo "$ac_t""$gcc_cv_c_have_stringify" 1>&6
2014 if test $gcc_cv_c_have_stringify = yes; then
2015 cat >> confdefs.h
<<\EOF
2016 #define HAVE_CPP_STRINGIFY 1
2021 # Use <inttypes.h> only if it exists,
2022 # doesn't clash with <sys/types.h>, and declares intmax_t.
2023 echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
2024 echo "configure:2025: checking for inttypes.h" >&5
2025 if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
2026 echo $ac_n "(cached) $ac_c" 1>&6
2028 cat > conftest.
$ac_ext <<EOF
2029 #line 2030 "configure"
2030 #include "confdefs.h"
2031 #include <sys/types.h>
2032 #include <inttypes.h>
2037 if { (eval echo configure
:2038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2039 gcc_cv_header_inttypes_h
=yes
2041 echo "configure: failed program was:" >&5
2042 cat conftest.
$ac_ext >&5
2044 gcc_cv_header_inttypes_h
=no
2049 echo "$ac_t""$gcc_cv_header_inttypes_h" 1>&6
2050 if test $gcc_cv_header_inttypes_h = yes; then
2051 cat >> confdefs.h
<<\EOF
2052 #define HAVE_INTTYPES_H 1
2057 for ac_func
in strtoul bsearch strerror putenv popen bcopy bzero bcmp \
2058 index rindex strchr strrchr
kill getrlimit setrlimit atoll atoq \
2059 sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \
2062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2063 echo "configure:2064: checking for $ac_func" >&5
2064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2065 echo $ac_n "(cached) $ac_c" 1>&6
2067 cat > conftest.
$ac_ext <<EOF
2068 #line 2069 "configure"
2069 #include "confdefs.h"
2070 /* System header to define __stub macros and hopefully few prototypes,
2071 which can conflict with char $ac_func(); below. */
2073 /* Override any gcc2 internal prototype to avoid an error. */
2074 /* We use char because int might match the return type of a gcc2
2075 builtin and then its argument prototype would still apply. */
2080 /* The GNU C library defines this for functions which it implements
2081 to always fail with ENOSYS. Some functions are actually named
2082 something starting with __ and the normal name is an alias. */
2083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2091 if { (eval echo configure
:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2093 eval "ac_cv_func_$ac_func=yes"
2095 echo "configure: failed program was:" >&5
2096 cat conftest.
$ac_ext >&5
2098 eval "ac_cv_func_$ac_func=no"
2103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2104 echo "$ac_t""yes" 1>&6
2105 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2106 cat >> confdefs.h
<<EOF
2107 #define $ac_tr_func 1
2111 echo "$ac_t""no" 1>&6
2116 # Make sure wchar_t is available
2117 #AC_CHECK_TYPE(wchar_t, unsigned int)
2119 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2120 echo "configure:2121: checking for vprintf" >&5
2121 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2122 echo $ac_n "(cached) $ac_c" 1>&6
2124 cat > conftest.
$ac_ext <<EOF
2125 #line 2126 "configure"
2126 #include "confdefs.h"
2127 /* System header to define __stub macros and hopefully few prototypes,
2128 which can conflict with char vprintf(); below. */
2130 /* Override any gcc2 internal prototype to avoid an error. */
2131 /* We use char because int might match the return type of a gcc2
2132 builtin and then its argument prototype would still apply. */
2137 /* The GNU C library defines this for functions which it implements
2138 to always fail with ENOSYS. Some functions are actually named
2139 something starting with __ and the normal name is an alias. */
2140 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2148 if { (eval echo configure
:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2150 eval "ac_cv_func_vprintf=yes"
2152 echo "configure: failed program was:" >&5
2153 cat conftest.
$ac_ext >&5
2155 eval "ac_cv_func_vprintf=no"
2160 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2161 echo "$ac_t""yes" 1>&6
2162 cat >> confdefs.h
<<\EOF
2163 #define HAVE_VPRINTF 1
2167 echo "$ac_t""no" 1>&6
2170 if test "$ac_cv_func_vprintf" != yes; then
2171 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2172 echo "configure:2173: checking for _doprnt" >&5
2173 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2174 echo $ac_n "(cached) $ac_c" 1>&6
2176 cat > conftest.
$ac_ext <<EOF
2177 #line 2178 "configure"
2178 #include "confdefs.h"
2179 /* System header to define __stub macros and hopefully few prototypes,
2180 which can conflict with char _doprnt(); below. */
2182 /* Override any gcc2 internal prototype to avoid an error. */
2183 /* We use char because int might match the return type of a gcc2
2184 builtin and then its argument prototype would still apply. */
2189 /* The GNU C library defines this for functions which it implements
2190 to always fail with ENOSYS. Some functions are actually named
2191 something starting with __ and the normal name is an alias. */
2192 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2200 if { (eval echo configure
:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2202 eval "ac_cv_func__doprnt=yes"
2204 echo "configure: failed program was:" >&5
2205 cat conftest.
$ac_ext >&5
2207 eval "ac_cv_func__doprnt=no"
2212 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2213 echo "$ac_t""yes" 1>&6
2214 cat >> confdefs.h
<<\EOF
2215 #define HAVE_DOPRNT 1
2219 echo "$ac_t""no" 1>&6
2226 if test $ac_cv_func_vprintf != yes ; then
2228 if test $ac_cv_func__doprnt != yes ; then
2235 echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
2236 echo "configure:2237: checking whether the printf functions support %p" >&5
2237 if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
2238 echo $ac_n "(cached) $ac_c" 1>&6
2240 if test "$cross_compiling" = yes; then
2241 gcc_cv_func_printf_ptr
=no
2243 cat > conftest.
$ac_ext <<EOF
2244 #line 2245 "configure"
2245 #include "confdefs.h"
2251 char *p = buf, *q = NULL;
2252 sprintf(buf, "%p", p);
2253 sscanf(buf, "%p", &q);
2257 if { (eval echo configure
:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2259 gcc_cv_func_printf_ptr
=yes
2261 echo "configure: failed program was:" >&5
2262 cat conftest.
$ac_ext >&5
2264 gcc_cv_func_printf_ptr
=no
2269 rm -f core core.
* *.core
2272 echo "$ac_t""$gcc_cv_func_printf_ptr" 1>&6
2273 if test $gcc_cv_func_printf_ptr = yes ; then
2274 cat >> confdefs.h
<<\EOF
2275 #define HAVE_PRINTF_PTR 1
2280 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2281 echo "configure:2282: checking for pid_t" >&5
2282 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2283 echo $ac_n "(cached) $ac_c" 1>&6
2285 cat > conftest.
$ac_ext <<EOF
2286 #line 2287 "configure"
2287 #include "confdefs.h"
2288 #include <sys/types.h>
2294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2295 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2297 ac_cv_type_pid_t
=yes
2305 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2306 if test $ac_cv_type_pid_t = no
; then
2307 cat >> confdefs.h
<<\EOF
2313 ac_safe
=`echo "vfork.h" | sed 'y%./+-%__p_%'`
2314 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
2315 echo "configure:2316: checking for vfork.h" >&5
2316 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 cat > conftest.
$ac_ext <<EOF
2320 #line 2321 "configure"
2321 #include "confdefs.h"
2324 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2325 { (eval echo configure
:2326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2326 ac_err
=`grep -v '^ *+' conftest.out`
2327 if test -z "$ac_err"; then
2329 eval "ac_cv_header_$ac_safe=yes"
2332 echo "configure: failed program was:" >&5
2333 cat conftest.
$ac_ext >&5
2335 eval "ac_cv_header_$ac_safe=no"
2339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2340 echo "$ac_t""yes" 1>&6
2341 cat >> confdefs.h
<<\EOF
2342 #define HAVE_VFORK_H 1
2346 echo "$ac_t""no" 1>&6
2349 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
2350 echo "configure:2351: checking for working vfork" >&5
2351 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
2352 echo $ac_n "(cached) $ac_c" 1>&6
2354 if test "$cross_compiling" = yes; then
2355 echo $ac_n "checking for vfork""... $ac_c" 1>&6
2356 echo "configure:2357: checking for vfork" >&5
2357 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
2358 echo $ac_n "(cached) $ac_c" 1>&6
2360 cat > conftest.
$ac_ext <<EOF
2361 #line 2362 "configure"
2362 #include "confdefs.h"
2363 /* System header to define __stub macros and hopefully few prototypes,
2364 which can conflict with char vfork(); below. */
2366 /* Override any gcc2 internal prototype to avoid an error. */
2367 /* We use char because int might match the return type of a gcc2
2368 builtin and then its argument prototype would still apply. */
2373 /* The GNU C library defines this for functions which it implements
2374 to always fail with ENOSYS. Some functions are actually named
2375 something starting with __ and the normal name is an alias. */
2376 #if defined (__stub_vfork) || defined (__stub___vfork)
2384 if { (eval echo configure
:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2386 eval "ac_cv_func_vfork=yes"
2388 echo "configure: failed program was:" >&5
2389 cat conftest.
$ac_ext >&5
2391 eval "ac_cv_func_vfork=no"
2396 if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
2397 echo "$ac_t""yes" 1>&6
2400 echo "$ac_t""no" 1>&6
2403 ac_cv_func_vfork_works
=$ac_cv_func_vfork
2405 cat > conftest.
$ac_ext <<EOF
2406 #line 2407 "configure"
2407 #include "confdefs.h"
2408 /* Thanks to Paul Eggert for this test. */
2410 #include <sys/types.h>
2411 #include <sys/stat.h>
2412 #ifdef HAVE_UNISTD_H
2418 /* On some sparc systems, changes by the child to local and incoming
2419 argument registers are propagated back to the parent.
2420 The compiler is told about this with #include <vfork.h>,
2421 but some compilers (e.g. gcc -O) don't grok <vfork.h>.
2422 Test for this by using a static variable whose address
2423 is put into a register that is clobbered by the vfork. */
2426 sparc_address_test (int arg)
2428 sparc_address_test (arg) int arg;
2446 pid_t parent = getpid ();
2449 sparc_address_test ();
2454 /* Here is another test for sparc vfork register problems.
2455 This test uses lots of local variables, at least
2456 as many local variables as main has allocated so far
2457 including compiler temporaries. 4 locals are enough for
2458 gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
2459 A buggy compiler should reuse the register of parent
2460 for one of the local variables, since it will think that
2461 parent can't possibly be used any more in this routine.
2462 Assigning to the local variable will thus munge parent
2463 in the parent process. */
2465 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
2466 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
2467 /* Convince the compiler that p..p7 are live; otherwise, it might
2468 use the same hardware register for all 8 local variables. */
2469 if (p != p1 || p != p2 || p != p3 || p != p4
2470 || p != p5 || p != p6 || p != p7)
2473 /* On some systems (e.g. IRIX 3.3),
2474 vfork doesn't separate parent from child file descriptors.
2475 If the child closes a descriptor before it execs or exits,
2476 this munges the parent's descriptor as well.
2477 Test for this by closing stdout in the child. */
2478 _exit(close(fileno(stdout)) != 0);
2483 while (wait(&status) != child)
2486 /* Was there some problem with vforking? */
2489 /* Did the child fail? (This shouldn't happen.) */
2492 /* Did the vfork/compiler bug occur? */
2493 || parent != getpid()
2495 /* Did the file descriptor bug occur? */
2496 || fstat(fileno(stdout), &st) != 0
2501 if { (eval echo configure
:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2503 ac_cv_func_vfork_works
=yes
2505 echo "configure: failed program was:" >&5
2506 cat conftest.
$ac_ext >&5
2508 ac_cv_func_vfork_works
=no
2515 echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
2516 if test $ac_cv_func_vfork_works = no
; then
2517 cat >> confdefs.h
<<\EOF
2524 for ac_func
in malloc realloc calloc free bcopy bzero bcmp \
2525 index rindex getenv atol sbrk abort atof strerror getcwd getwd \
2528 echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
2529 echo "configure:2530: checking whether $ac_func must be declared" >&5
2530 if eval "test \"`echo '$''{'gcc_cv_decl_needed_$ac_func'+set}'`\" = set"; then
2531 echo $ac_n "(cached) $ac_c" 1>&6
2533 cat > conftest.
$ac_ext <<EOF
2534 #line 2535 "configure"
2535 #include "confdefs.h"
2538 #ifdef STRING_WITH_STRINGS
2539 # include <string.h>
2540 # include <strings.h>
2542 # ifdef HAVE_STRING_H
2543 # include <string.h>
2545 # ifdef HAVE_STRINGS_H
2546 # include <strings.h>
2550 #ifdef HAVE_STDLIB_H
2553 #ifdef HAVE_UNISTD_H
2557 #define rindex strrchr
2560 #define index strchr
2564 char *(*pfn) = (char *(*)) $ac_func
2567 if { (eval echo configure
:2568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2569 eval "gcc_cv_decl_needed_$ac_func=no"
2571 echo "configure: failed program was:" >&5
2572 cat conftest.
$ac_ext >&5
2574 eval "gcc_cv_decl_needed_$ac_func=yes"
2579 if eval "test \"`echo '$gcc_cv_decl_needed_'$ac_func`\" = yes"; then
2580 echo "$ac_t""yes" 1>&6
2581 gcc_tr_decl
=NEED_DECLARATION_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2582 cat >> confdefs.h
<<EOF
2583 #define $gcc_tr_decl 1
2587 echo "$ac_t""no" 1>&6
2593 for ac_func
in getrlimit setrlimit
2595 echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
2596 echo "configure:2597: checking whether $ac_func must be declared" >&5
2597 if eval "test \"`echo '$''{'gcc_cv_decl_needed_$ac_func'+set}'`\" = set"; then
2598 echo $ac_n "(cached) $ac_c" 1>&6
2600 cat > conftest.
$ac_ext <<EOF
2601 #line 2602 "configure"
2602 #include "confdefs.h"
2605 #ifdef STRING_WITH_STRINGS
2606 # include <string.h>
2607 # include <strings.h>
2609 # ifdef HAVE_STRING_H
2610 # include <string.h>
2612 # ifdef HAVE_STRINGS_H
2613 # include <strings.h>
2617 #ifdef HAVE_STDLIB_H
2620 #ifdef HAVE_UNISTD_H
2624 #define rindex strrchr
2627 #define index strchr
2629 #include <sys/types.h>
2630 #ifdef HAVE_SYS_RESOURCE_H
2631 #include <sys/resource.h>
2635 char *(*pfn) = (char *(*)) $ac_func
2638 if { (eval echo configure
:2639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2640 eval "gcc_cv_decl_needed_$ac_func=no"
2642 echo "configure: failed program was:" >&5
2643 cat conftest.
$ac_ext >&5
2645 eval "gcc_cv_decl_needed_$ac_func=yes"
2650 if eval "test \"`echo '$gcc_cv_decl_needed_'$ac_func`\" = yes"; then
2651 echo "$ac_t""yes" 1>&6
2652 gcc_tr_decl
=NEED_DECLARATION_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2653 cat >> confdefs.h
<<EOF
2654 #define $gcc_tr_decl 1
2658 echo "$ac_t""no" 1>&6
2664 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2665 echo "configure:2666: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2666 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2667 echo $ac_n "(cached) $ac_c" 1>&6
2669 cat > conftest.
$ac_ext <<EOF
2670 #line 2671 "configure"
2671 #include "confdefs.h"
2672 #include <sys/types.h>
2674 /* NetBSD declares sys_siglist in unistd.h. */
2675 #ifdef HAVE_UNISTD_H
2679 char *msg = *(sys_siglist + 1);
2682 if { (eval echo configure
:2683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2684 ac_cv_decl_sys_siglist
=yes
2686 echo "configure: failed program was:" >&5
2687 cat conftest.
$ac_ext >&5
2689 ac_cv_decl_sys_siglist
=no
2694 echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
2695 if test $ac_cv_decl_sys_siglist = yes; then
2696 cat >> confdefs.h
<<\EOF
2697 #define SYS_SIGLIST_DECLARED 1
2711 build_install_headers_dir
=install-headers-tar
2716 host_truncate_target
=
2719 # Decode the host machine, then the target machine.
2720 # For the host machine, we save the xm_file variable as host_xm_file;
2721 # then we decode the target machine and forget everything else
2722 # that came from the host machine.
2723 for machine
in $build $host $target; do
2737 # Set this to force installation and use of collect2.
2739 # Set this to override the default target model.
2741 # Set this to control which fixincludes program to use.
2742 if test x
$fast_fixinc != xyes
; then
2743 fixincludes
=fixincludes
2744 else fixincludes
=fixinc.sh
; fi
2745 # Set this to control how the header file directory is installed.
2746 install_headers_dir
=install-headers-tar
2747 # Set this to a non-empty list of args to pass to cpp if the target
2748 # wants its .md file passed through cpp.
2750 # Set this if directory names should be truncated to 14 characters.
2752 # Set this if gdb needs a dir command with `dirname $out_file`
2753 gdb_needs_out_file_path
=
2754 # Set this if the build machine requires executables to have a
2757 # Set this to control which thread package will be used.
2759 # Reinitialize these from the flag values every loop pass, since some
2760 # configure entries modify them.
2762 gnu_ld
="$gnu_ld_flag"
2763 enable_threads
=$enable_threads_flag
2765 # Set default cpu_type, tm_file and xm_file so it can be updated in
2766 # each machine entry.
2767 cpu_type
=`echo $machine | sed 's/-.*$//'`
2801 tm_file
=${cpu_type}/${cpu_type}.h
2802 xm_file
=${cpu_type}/xm-
${cpu_type}.h
2804 # Set the default macros to define for GNU/Linux systems.
2807 xm_defines
="HAVE_ATEXIT POSIX BSTRING"
2812 # Support site-specific machine types.
2814 cpu_type
=`echo $machine | sed -e 's/-.*//'`
2815 rest
=`echo $machine | sed -e "s/$cpu_type-//"`
2816 xm_file
=${cpu_type}/xm-
$rest.h
2817 tm_file
=${cpu_type}/$rest.h
2818 if test -f $srcdir/config
/${cpu_type}/x-
$rest; \
2819 then xmake_file
=${cpu_type}/x-
$rest; \
2822 if test -f $srcdir/config
/${cpu_type}/t-
$rest; \
2823 then tmake_file
=${cpu_type}/t-
$rest; \
2829 a29k-
*-bsd* | a29k-
*-sym1*)
2830 tm_file
="${tm_file} a29k/unix.h"
2832 xmake_file
=a29k
/x-unix
2835 a29k-
*-udi | a29k-
*-coff)
2836 tm_file
="${tm_file} dbxcoff.h a29k/udi.h"
2837 tmake_file
=a29k
/t-a29kbare
2840 tm_file
="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
2841 tmake_file
=a29k
/t-vx29k
2842 extra_parts
="crtbegin.o crtend.o"
2843 thread_file
='vxworks'
2845 a29k-
*-*) # Default a29k environment.
2848 alpha
*-*-linux-gnuecoff*)
2849 tm_file
="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
2850 target_cpu_default
="MASK_GAS"
2855 alpha
*-*-linux-gnulibc1*)
2856 tm_file
="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
2857 target_cpu_default
="MASK_GAS"
2858 tmake_file
="t-linux t-linux-gnulibc1 alpha/t-linux alpha/t-crtbe"
2859 extra_parts
="crtbegin.o crtend.o"
2860 fixincludes
=fixinc.wrap
2863 if test x
$enable_threads = xyes
; then
2867 alpha
*-*-linux-gnu*)
2868 tm_file
="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
2869 target_cpu_default
="MASK_GAS"
2870 tmake_file
="t-linux alpha/t-linux alpha/t-crtbe"
2871 extra_parts
="crtbegin.o crtend.o"
2873 fixincludes
=Makefile.
in
2875 if test x
$enable_threads = xyes
; then
2880 tm_file
="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
2881 target_cpu_default
="MASK_GAS"
2882 tmake_file
="alpha/t-crtbe"
2883 extra_parts
="crtbegin.o crtend.o"
2885 fixincludes
=fixinc.wrap
2890 if test x
$stabs = xyes
2892 tm_file
="${tm_file} dbx.h"
2894 if test x
$gas != xyes
2896 extra_passes
="mips-tfile mips-tdump"
2901 tm_file
="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
2904 tm_file
="${tm_file} alpha/osf.h alpha/osf2or3.h"
2907 tm_file
="${tm_file} alpha/osf.h"
2908 # Some versions of OSF4 (specifically X4.0-9 296.7) have
2909 # a broken tar, so we use cpio instead.
2910 install_headers_dir
=install-headers-cpio
2914 *-*-osf4.0
[b-z
] |
*-*-osf4.
[1-9]*)
2915 target_cpu_default
=MASK_SUPPORT_ARCH
2920 tm_file
="${tm_file} dbx.h alpha/vxworks.h"
2923 extra_passes
="mips-tfile mips-tdump"
2928 tm_file
="${tm_file} alpha/win-nt.h"
2929 xm_file
="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
2930 tmake_file
=t-libc-ok
2931 xmake_file
=winnt
/x-winnt
2932 extra_host_objs
=oldnames.o
2933 extra_gcc_objs
="spawnv.o oldnames.o"
2934 fixincludes
=fixinc.winnt
2935 if test x
$gnu_ld != xyes
2937 extra_programs
=ld.exe
2939 if test x
$enable_threads = xyes
; then
2945 xm_file
="${xm_file} alpha/xm-vms.h"
2946 tmake_file
=alpha
/t-vms
2947 fixincludes
=Makefile.
in
2950 extra_parts
="crtinit.o crtfini.o"
2952 arm-
*-coff* | armel-
*-coff*)
2954 tmake_file
=arm
/t-bare
2956 arm-
*-riscix1.
[01]*) # Acorn RISC machine (early versions)
2957 tm_file
=arm
/riscix1-1.h
2960 arm-
*-riscix*) # Acorn RISC machine
2961 if test x
$gas = xyes
2963 tm_file
=arm
/rix-gas.h
2965 tm_file
=arm
/riscix.h
2967 xmake_file
=arm
/x-riscix
2968 tmake_file
=arm
/t-riscix
2971 arm-semi-aout | armel-semi-aout
)
2973 tmake_file
=arm
/t-semi
2974 fixincludes
=Makefile.
in # There is nothing to fix
2976 arm-semi-aof | armel-semi-aof
)
2977 tm_file
=arm
/semiaof.h
2978 tmake_file
=arm
/t-semiaof
2979 fixincludes
=Makefile.
in # There is nothing to fix
2982 tm_file
=arm
/netbsd.h
2983 xm_file
="arm/xm-netbsd.h ${xm_file}"
2984 tmake_file
="t-netbsd arm/t-netbsd"
2985 # On NetBSD, the headers are already okay, except for math.h.
2986 fixincludes
=fixinc.wrap
2988 arm
*-*-linux-gnuaout*) # ARM GNU/Linux with a.out
2991 tm_file
=arm
/linux-aout.h
2992 tmake_file
=arm
/t-linux
2993 fixincludes
=Makefile.
in
2996 arm
*-*-linux-gnu*) # ARM GNU/Linux with ELF
2997 xm_file
=arm
/xm-linux.h
3001 tm_file
=arm
/linux-elf26.h
3004 tm_file
=arm
/linux-elf.h
3007 tmake_file
="t-linux arm/t-linux"
3008 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3009 fixincludes
=Makefile.
in # Nothing to fix
3014 tmake_file
=arm
/t-bare
3017 tm_file
=arm
/ecos-elf.h
3018 tmake_file
=arm
/t-elf
3021 tm_file
=arm
/unknown-elf.h
3022 tmake_file
=arm
/t-arm-elf
3024 c1-convex-
*) # Convex C1
3025 target_cpu_default
=1
3027 fixincludes
=Makefile.
in
3029 c2-convex-
*) # Convex C2
3030 target_cpu_default
=2
3032 fixincludes
=Makefile.
in
3035 target_cpu_default
=4
3037 fixincludes
=Makefile.
in
3040 target_cpu_default
=8
3042 fixincludes
=Makefile.
in
3045 target_cpu_default
=16
3047 fixincludes
=Makefile.
in
3051 tmake_file
=c4x
/t-c4x
3053 clipper-intergraph-clix
*)
3054 tm_file
="${tm_file} svr3.h clipper/clix.h"
3055 xm_file
=clipper
/xm-clix.h
3056 xmake_file
=clipper
/x-clix
3057 extra_headers
=va-clipper.h
3058 extra_parts
="crtbegin.o crtend.o"
3059 install_headers_dir
=install-headers-cpio
3066 # This hasn't been upgraded to GCC 2.
3067 # fx80-alliant-*) # Alliant FX/80
3073 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
3074 xm_file
=pa
/xm-papro.h
3078 target_cpu_default
=1
3079 tm_file
="${tm_file} pa/pa-osf.h"
3081 fixincludes
=Makefile.
in
3084 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
3085 xm_file
=pa
/xm-papro.h
3089 tm_file
="${tm_file} pa/pa-osf.h"
3091 fixincludes
=Makefile.
in
3094 target_cpu_default
=1
3096 fixincludes
=Makefile.
in
3100 fixincludes
=Makefile.
in
3103 tm_file
="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
3104 xm_file
=pa
/xm-pahpux.h
3105 xmake_file
=pa
/x-pa-hpux
3106 if test x
$gas = xyes
3108 tm_file
="${tm_file} pa/gas.h"
3110 install_headers_dir
=install-headers-cpio
3113 hppa1.0
-*-hpux8.0
[0-2]*)
3114 tm_file
="${tm_file} pa/pa-hpux.h"
3115 xm_file
=pa
/xm-pahpux.h
3116 xmake_file
=pa
/x-pa-hpux
3117 if test x
$gas = xyes
3119 tm_file
="${tm_file} pa/pa-gas.h"
3121 tm_file
="pa/pa-oldas.h ${tm_file}"
3123 install_headers_dir
=install-headers-cpio
3126 hppa1.1
-*-hpux8.0
[0-2]*)
3127 target_cpu_default
=1
3128 tm_file
="${tm_file} pa/pa-hpux.h"
3129 xm_file
=pa
/xm-pahpux.h
3130 xmake_file
=pa
/x-pa-hpux
3131 if test x
$gas = xyes
3133 tm_file
="${tm_file} pa/pa-gas.h"
3135 tm_file
="pa/pa-oldas.h ${tm_file}"
3137 install_headers_dir
=install-headers-cpio
3141 target_cpu_default
=1
3142 tm_file
="${tm_file} pa/pa-hpux.h"
3143 xm_file
=pa
/xm-pahpux.h
3144 xmake_file
=pa
/x-pa-hpux
3145 if test x
$gas = xyes
3147 tm_file
="${tm_file} pa/pa-gas.h"
3149 install_headers_dir
=install-headers-cpio
3153 tm_file
="${tm_file} pa/pa-hpux.h"
3154 xm_file
=pa
/xm-pahpux.h
3155 xmake_file
=pa
/x-pa-hpux
3156 if test x
$gas = xyes
3158 tm_file
="${tm_file} pa/pa-gas.h"
3160 install_headers_dir
=install-headers-cpio
3163 hppa1.1
-*-hpux10* | hppa2
*-*-hpux10*)
3164 target_cpu_default
=1
3165 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
3166 xm_file
=pa
/xm-pahpux.h
3167 xmake_file
=pa
/x-pa-hpux
3169 if test x
$gas = xyes
3171 tm_file
="${tm_file} pa/pa-gas.h"
3173 if test x
$enable_threads = x
; then
3174 enable_threads
=$have_pthread_h
3176 if test x
$enable_threads = xyes
; then
3178 tmake_file
="${tmake_file} pa/t-dce-thr"
3180 install_headers_dir
=install-headers-cpio
3184 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
3185 xm_file
=pa
/xm-pahpux.h
3186 xmake_file
=pa
/x-pa-hpux
3187 if test x
$gas = xyes
3189 tm_file
="${tm_file} pa/pa-gas.h"
3191 if test x
$enable_threads = x
; then
3192 enable_threads
=$have_pthread_h
3194 if test x
$enable_threads = xyes
; then
3196 tmake_file
="${tmake_file} pa/t-dce-thr"
3198 install_headers_dir
=install-headers-cpio
3201 hppa1.1
-*-hpux* | hppa2
*-*-hpux*)
3202 target_cpu_default
=1
3203 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
3204 xm_file
=pa
/xm-pahpux.h
3205 xmake_file
=pa
/x-pa-hpux
3206 if test x
$gas = xyes
3208 tm_file
="${tm_file} pa/pa-gas.h"
3210 install_headers_dir
=install-headers-cpio
3214 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
3215 xm_file
=pa
/xm-pahpux.h
3216 xmake_file
=pa
/x-pa-hpux
3217 if test x
$gas = xyes
3219 tm_file
="${tm_file} pa/pa-gas.h"
3221 install_headers_dir
=install-headers-cpio
3224 hppa1.1
-*-hiux* | hppa2
*-*-hiux*)
3225 target_cpu_default
=1
3226 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
3227 xm_file
=pa
/xm-pahpux.h
3228 xmake_file
=pa
/x-pa-hpux
3229 if test x
$gas = xyes
3231 tm_file
="${tm_file} pa/pa-gas.h"
3233 install_headers_dir
=install-headers-cpio
3237 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
3238 xm_file
=pa
/xm-pahpux.h
3239 xmake_file
=pa
/x-pa-hpux
3240 if test x
$gas = xyes
3242 tm_file
="${tm_file} pa/pa-gas.h"
3244 install_headers_dir
=install-headers-cpio
3248 target_cpu_default
=1
3250 fixincludes
=Makefile.
in
3254 i
[34567]86-ibm-aix*) # IBM PS/2 running AIX
3255 if test x
$gas = xyes
3257 tm_file
=i386
/aix386.h
3258 extra_parts
="crtbegin.o crtend.o"
3259 tmake_file
=i386
/t-crtstuff
3261 tm_file
=i386
/aix386ng.h
3264 xm_file
="xm-alloca.h i386/xm-aix.h ${xm_file}"
3266 xmake_file
=i386
/x-aix
3268 i
[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
3269 xm_file
="xm-siglist.h xm-alloca.h ${xm_file}"
3270 xm_defines
="USG POSIX SMALL_ARG_MAX"
3271 xmake_file
=i386
/x-ncr3000
3272 if test x
$stabs = xyes
-a x
$gas = xyes
3274 tm_file
=i386
/sysv4gdb.h
3276 tm_file
=i386
/sysv4.h
3278 extra_parts
="crtbegin.o crtend.o"
3279 tmake_file
=i386
/t-crtpic
3283 xm_file
=i386
/xm-next.h
3284 tmake_file
=i386
/t-next
3285 xmake_file
=i386
/x-next
3286 extra_objs
=nextstep.o
3287 extra_parts
="crtbegin.o crtend.o"
3288 if test x
$enable_threads = xyes
; then
3292 i
[34567]86-sequent-bsd*) # 80386 from Sequent
3294 if test x
$gas = xyes
3296 tm_file
=i386
/seq-gas.h
3298 tm_file
=i386
/sequent.h
3301 i
[34567]86-sequent-ptx1*)
3302 xm_defines
="USG SVR3"
3303 xmake_file
=i386
/x-sysv3
3304 tm_file
=i386
/seq-sysv3.h
3305 tmake_file
=i386
/t-crtstuff
3306 fixincludes
=fixinc.
ptx
3307 extra_parts
="crtbegin.o crtend.o"
3308 install_headers_dir
=install-headers-cpio
3310 i
[34567]86-sequent-ptx2* | i
[34567]86-sequent-sysv3*)
3311 xm_defines
="USG SVR3"
3312 xmake_file
=i386
/x-sysv3
3313 tm_file
=i386
/seq2-sysv3.h
3314 tmake_file
=i386
/t-crtstuff
3315 extra_parts
="crtbegin.o crtend.o"
3316 fixincludes
=fixinc.
ptx
3317 install_headers_dir
=install-headers-cpio
3319 i
[34567]86-sequent-ptx4* | i
[34567]86-sequent-sysv4*)
3320 xm_file
="xm-siglist.h xm-alloca.h ${xm_file}"
3321 xm_defines
="USG POSIX SMALL_ARG_MAX"
3323 tm_file
=i386
/ptx4-i.h
3325 extra_parts
="crtbegin.o crtend.o"
3326 fixincludes
=fixinc.
ptx
3327 install_headers_dir
=install-headers-cpio
3329 i386-sun-sunos
*) # Sun i386 roadrunner
3334 i
[34567]86-wrs-vxworks*)
3335 tm_file
=i386
/vxi386.h
3336 tmake_file
=i386
/t-i386bare
3339 tm_file
=i386
/i386-aout.h
3340 tmake_file
=i386
/t-i386bare
3342 i
[34567]86-*-bsdi* | i
[34567]86-*-bsd386*)
3343 tm_file
=i386
/bsd386.h
3344 # tmake_file=t-libc-ok
3347 tm_file
=i386
/386bsd.h
3348 # tmake_file=t-libc-ok
3349 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
3352 i
[34567]86-*-freebsdelf*)
3353 tm_file
="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
3354 # On FreeBSD, the headers are already ok, except for math.h.
3355 fixincludes
=fixinc.wrap
3356 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3357 tmake_file
=i386
/t-freebsd
3362 i
[34567]86-*-freebsd*)
3363 tm_file
=i386
/freebsd.h
3364 # On FreeBSD, the headers are already ok, except for math.h.
3365 fixincludes
=fixinc.wrap
3366 tmake_file
=i386
/t-freebsd
3368 # We are hoping OpenBSD is still close enough to NetBSD that we can
3369 # share the configurations.
3370 i
[34567]86-*-netbsd* | i
[34567]86-*-openbsd*)
3371 tm_file
=i386
/netbsd.h
3372 # On NetBSD, the headers are already okay, except for math.h.
3373 fixincludes
=fixinc.wrap
3377 tm_file
=i386
/i386-coff.h
3378 tmake_file
=i386
/t-i386bare
3380 i
[34567]86-*-isc*) # 80386 running ISC system
3381 xm_file
="${xm_file} i386/xm-isc.h"
3382 xm_defines
="USG SVR3"
3384 i
[34567]86-*-isc[34]*)
3385 xmake_file
=i386
/x-isc3
3388 xmake_file
=i386
/x-isc
3391 if test x
$gas = xyes
-a x
$stabs = xyes
3393 tm_file
=i386
/iscdbx.h
3394 tmake_file
=i386
/t-svr3dbx
3395 extra_parts
="svr3.ifile svr3z.ifile"
3397 tm_file
=i386
/isccoff.h
3398 tmake_file
=i386
/t-crtstuff
3399 extra_parts
="crtbegin.o crtend.o"
3401 install_headers_dir
=install-headers-cpio
3403 i
[34567]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
3405 xmake_file
=x-linux-aout
3406 tmake_file
="t-linux-aout i386/t-crtstuff"
3407 tm_file
=i386
/linux-oldld.h
3408 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3412 i
[34567]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
3413 xmake_file
=x-linux-aout
3414 tmake_file
="t-linux-aout i386/t-crtstuff"
3415 tm_file
=i386
/linux-aout.h
3416 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3420 i
[34567]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
3421 # GNU/Linux C library 5
3423 tm_file
=i386
/linux.h
3424 tmake_file
="t-linux t-linux-gnulibc1 i386/t-crtstuff"
3425 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3426 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3429 if test x
$enable_threads = xyes
; then
3430 thread_file
='single'
3433 i
[34567]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
3434 # aka GNU/Linux C library 6
3436 tm_file
=i386
/linux.h
3437 tmake_file
="t-linux i386/t-crtstuff"
3438 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3439 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
3442 if test x
$enable_threads = xyes
; then
3448 i
[34567]86-go32-msdos | i
[34567]86-*-go32*)
3449 xm_file
=i386
/xm-go32.h
3451 tmake_file
=i386
/t-go32
3453 i
[34567]86-pc-msdosdjgpp*)
3454 xm_file
=i386
/xm-go32.h
3456 tmake_file
=i386
/t-go32
3457 xmake_file
=i386
/x-go32
3467 i
[34567]86-moss-msdos* | i
[34567]86-*-moss*)
3469 tmake_file
=t-libc-ok
3470 fixincludes
=Makefile.
in
3474 i
[34567]86-*-lynxos*)
3475 if test x
$gas = xyes
3479 tm_file
=i386
/lynx-ng.h
3481 xm_file
=i386
/xm-lynx.h
3482 tmake_file
=i386
/t-i386bare
3487 # tmake_file=t-libc-ok
3490 i
[34567]86-*-osfrose*) # 386 using OSF/rose
3491 if test x
$elf = xyes
3493 tm_file
=i386
/osfelf.h
3496 tm_file
=i386
/osfrose.h
3499 xm_file
="i386/xm-osf.h ${xm_file}"
3500 xmake_file
=i386
/x-osfrose
3501 tmake_file
=i386
/t-osf
3502 extra_objs
=halfpic.o
3504 i
[34567]86-go32-rtems*)
3506 xm_file
=i386
/xm-go32.h
3507 tm_file
=i386
/go32-rtems.h
3508 tmake_file
="i386/t-go32 t-rtems"
3510 i
[34567]86-*-rtemself*)
3512 tm_file
=i386
/rtemself.h
3513 tmake_file
="i386/t-i386bare t-rtems"
3515 i
[34567]86-*-rtems*)
3517 tm_file
=i386
/rtems.h
3518 tmake_file
="i386/t-i386bare t-rtems"
3520 i
[34567]86-*-sco3.2v5
*) # 80386 running SCO Open Server 5
3521 xm_file
="xm-siglist.h xm-alloca.h ${xm_file} i386/xm-sco5.h"
3522 xm_defines
="USG SVR3"
3523 xmake_file
=i386
/x-sco5
3524 fixincludes
=fixinc.sco
3525 install_headers_dir
=install-headers-cpio
3527 if test x
$gas = xyes
3529 tm_file
="i386/sco5gas.h ${tm_file}"
3530 tmake_file
=i386
/t-sco5gas
3532 tmake_file
=i386
/t-sco5
3534 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3536 i
[34567]86-*-sco3.2v4
*) # 80386 running SCO 3.2v4 system
3537 xm_file
="${xm_file} i386/xm-sco.h"
3538 xm_defines
="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX NO_SYS_SIGLIST"
3539 xmake_file
=i386
/x-sco4
3540 fixincludes
=fixinc.sco
3541 install_headers_dir
=install-headers-cpio
3542 if test x
$stabs = xyes
3544 tm_file
=i386
/sco4dbx.h
3545 tmake_file
=i386
/t-svr3dbx
3546 extra_parts
="svr3.ifile svr3z.rfile"
3549 tmake_file
=i386
/t-crtstuff
3550 extra_parts
="crtbegin.o crtend.o"
3554 i
[34567]86-*-sco*) # 80386 running SCO system
3555 xm_file
=i386
/xm-sco.h
3556 xmake_file
=i386
/x-sco
3557 install_headers_dir
=install-headers-cpio
3558 if test x
$stabs = xyes
3560 tm_file
=i386
/scodbx.h
3561 tmake_file
=i386
/t-svr3dbx
3562 extra_parts
="svr3.ifile svr3z.rfile"
3565 extra_parts
="crtbegin.o crtend.o"
3566 tmake_file
=i386
/t-crtstuff
3570 i
[34567]86-*-solaris2*)
3571 xm_file
="xm-siglist.h xm-alloca.h ${xm_file}"
3572 xm_defines
="USG POSIX SMALL_ARG_MAX"
3573 if test x
$stabs = xyes
3575 tm_file
=i386
/sol2dbg.h
3579 tmake_file
=i386
/t-sol2
3580 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3584 fixincludes
=fixinc.svr4
;;
3586 fixincludes
=fixinc.wrap
;;
3588 if test x
$enable_threads = xyes
; then
3589 thread_file
='solaris'
3592 i
[34567]86-*-sysv5*) # Intel x86 on System V Release 5
3593 xm_file
="xm-alloca.h xm-siglist.h ${xm_file}"
3594 xm_defines
="USG POSIX"
3595 tm_file
=i386
/sysv4.h
3596 if test x
$stabs = xyes
3598 tm_file
="${tm_file} dbx.h"
3600 tmake_file
=i386
/t-crtpic
3602 extra_parts
="crtbegin.o crtend.o"
3603 fixincludes
=fixinc.svr4
3605 i
[34567]86-*-sysv4*) # Intel 80386's running system V.4
3606 xm_file
="xm-siglist.h xm-alloca.h ${xm_file}"
3607 xm_defines
="USG POSIX SMALL_ARG_MAX"
3608 tm_file
=i386
/sysv4.h
3609 if test x
$stabs = xyes
3611 tm_file
="${tm_file} dbx.h"
3613 tmake_file
=i386
/t-crtpic
3615 extra_parts
="crtbegin.o crtend.o"
3617 i
[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
3618 xm_file
="xm-alloca.h xm-siglist.h ${xm_file}"
3619 xm_defines
="USG POSIX"
3621 tmake_file
="i386/t-crtpic i386/t-udk"
3623 extra_parts
="crtbegin.o crtend.o"
3624 fixincludes
="fixinc.svr4"
3626 i
[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
3628 xm_file
="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
3629 xm_defines
="USE_C_ALLOCA SMALL_ARG_MAX"
3630 fixincludes
=Makefile.
in #Don't do it on OSF/1
3631 if test x
$stabs = xyes
3633 tm_file
=i386
/osf1elfgdb.h
3635 tm_file
=i386
/osf1elf.h
3637 tmake_file
=i386
/t-osf1elf
3638 xmake_file
=i386
/x-osf1elf
3639 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
3641 i
[34567]86-*-sysv*) # Intel 80386's running system V
3642 xm_defines
="USG SVR3"
3643 xmake_file
=i386
/x-sysv3
3644 if test x
$gas = xyes
3646 if test x
$stabs = xyes
3648 tm_file
=i386
/svr3dbx.h
3649 tmake_file
=i386
/t-svr3dbx
3650 extra_parts
="svr3.ifile svr3z.rfile"
3652 tm_file
=i386
/svr3gas.h
3653 extra_parts
="crtbegin.o crtend.o"
3654 tmake_file
=i386
/t-crtstuff
3657 tm_file
=i386
/sysv3.h
3658 extra_parts
="crtbegin.o crtend.o"
3659 tmake_file
=i386
/t-crtstuff
3662 i386-
*-vsta) # Intel 80386's running VSTa kernel
3663 xm_file
="${xm_file} i386/xm-vsta.h"
3665 tmake_file
=i386
/t-vsta
3666 xmake_file
=i386
/x-vsta
3669 xm_file
="${xm_file} i386/xm-cygwin.h"
3670 tmake_file
=i386
/t-cygwin
3671 tm_file
=i386
/win32.h
3672 xmake_file
=i386
/x-cygwin
3674 fixincludes
=Makefile.
in
3675 if test x
$enable_threads = xyes
; then
3680 i
[34567]86-*-pe | i
[34567]86-*-cygwin*)
3681 xm_file
="${xm_file} i386/xm-cygwin.h"
3682 tmake_file
=i386
/t-cygwin
3683 tm_file
=i386
/cygwin.h
3684 xmake_file
=i386
/x-cygwin
3686 fixincludes
=Makefile.
in
3687 if test x
$enable_threads = xyes
; then
3692 i
[34567]86-*-mingw32*)
3693 tm_file
=i386
/mingw32.h
3694 xm_file
="${xm_file} i386/xm-mingw32.h"
3695 tmake_file
="i386/t-cygwin i386/t-mingw32"
3697 xmake_file
=i386
/x-cygwin
3698 fixincludes
=Makefile.
in
3699 if test x
$enable_threads = xyes
; then
3706 *minwg32crt
* |
*mingw32
*)
3707 tm_file
="${tm_file} i386/crtdll.h"
3711 i
[34567]86-*-winnt3*)
3712 tm_file
=i386
/win-nt.h
3713 out_file
=i386
/i386.c
3714 xm_file
="xm-winnt.h ${xm_file}"
3715 xmake_file
=winnt
/x-winnt
3716 tmake_file
=i386
/t-winnt
3717 extra_host_objs
="winnt.o oldnames.o"
3718 extra_gcc_objs
="spawnv.o oldnames.o"
3719 fixincludes
=fixinc.winnt
3720 if test x
$gnu_ld != xyes
3722 extra_programs
=ld.exe
3724 if test x
$enable_threads = xyes
; then
3728 i
[34567]86-dg-dgux*)
3729 xm_file
="xm-alloca.h xm-siglist.h ${xm_file}"
3730 xm_defines
="USG POSIX"
3731 out_file
=i386
/dgux.c
3733 tmake_file
=i386
/t-dgux
3734 xmake_file
=i386
/x-dgux
3735 fixincludes
=fixinc.dgux
3736 install_headers_dir
=install-headers-cpio
3738 i860-alliant-
*) # Alliant FX/2800
3739 tm_file
="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
3740 xm_file
="${xm_file}"
3741 xmake_file
=i860
/x-fx2800
3742 tmake_file
=i860
/t-fx2800
3743 extra_parts
="crtbegin.o crtend.o"
3746 tm_file
="${tm_file} i860/bsd.h"
3747 if test x
$gas = xyes
3749 tm_file
="${tm_file} i860/bsd-gas.h"
3754 tm_file
="${tm_file} i860/mach.h"
3755 tmake_file
=t-libc-ok
3757 i860-
*-osf*) # Intel Paragon XP/S, OSF/1AD
3758 tm_file
="${tm_file} svr3.h i860/paragon.h"
3759 xm_defines
="USG SVR3"
3763 tm_file
="${tm_file} svr3.h i860/sysv3.h"
3764 xm_defines
="USG SVR3"
3765 xmake_file
=i860
/x-sysv3
3766 extra_parts
="crtbegin.o crtend.o"
3769 tm_file
="${tm_file} svr4.h i860/sysv4.h"
3770 xm_defines
="USG SVR3"
3771 xmake_file
=i860
/x-sysv4
3773 extra_parts
="crtbegin.o crtend.o"
3775 i960-wrs-vxworks5 | i960-wrs-vxworks5.0
*)
3776 tm_file
="${tm_file} i960/vx960.h"
3777 tmake_file
=i960
/t-vxworks960
3779 thread_file
='vxworks'
3781 i960-wrs-vxworks5
* | i960-wrs-vxworks
)
3782 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
3783 tmake_file
=i960
/t-vxworks960
3785 thread_file
='vxworks'
3788 tm_file
="${tm_file} i960/vx960.h"
3789 tmake_file
=i960
/t-vxworks960
3791 thread_file
='vxworks'
3794 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
3795 tmake_file
=i960
/t-960bare
3799 tmake_file
="i960/t-960bare t-rtems"
3800 tm_file
="${tm_file} dbxcoff.h i960/rtems.h"
3803 i960-
*-*) # Default i960 environment.
3807 extra_parts
="crtinit.o crtfini.o"
3809 m68000-convergent-sysv
*)
3811 xm_file
="m68k/xm-3b1.h ${xm_file}"
3814 extra_headers
=math-68881.h
3816 m68000-hp-bsd
*) # HP 9000/200 running BSD
3817 tm_file
=m68k
/hp2bsd.h
3818 xmake_file
=m68k
/x-hp2bsd
3820 extra_headers
=math-68881.h
3822 m68000-hp-hpux
*) # HP 9000 series 300
3823 xm_file
="xm_alloca.h ${xm_file}"
3824 xm_defines
="USG NO_SYS_SIGLIST"
3825 if test x
$gas = xyes
3827 xmake_file
=m68k
/x-hp320g
3828 tm_file
=m68k
/hp310g.h
3830 xmake_file
=m68k
/x-hp320
3831 tm_file
=m68k
/hp310.h
3833 install_headers_dir
=install-headers-cpio
3835 extra_headers
=math-68881.h
3840 extra_headers
=math-68881.h
3843 tm_file
=m68k
/sun2o4.h
3845 extra_headers
=math-68881.h
3848 xm_file
="m68k/xm-3b1.h ${xm_file}"
3850 if test x
$gas = xyes
3857 extra_headers
=math-68881.h
3859 m68k-apple-aux
*) # Apple Macintosh running A/UX
3860 xm_defines
="USG AUX"
3861 tmake_file
=m68k
/t-aux
3862 install_headers_dir
=install-headers-cpio
3863 extra_headers
=math-68881.h
3864 extra_parts
="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
3866 if test "$gnu_ld" = yes
3868 tm_file
="${tm_file} m68k/auxgld.h"
3870 tm_file
="${tm_file} m68k/auxld.h"
3872 if test "$gas" = yes
3874 tm_file
="${tm_file} m68k/auxgas.h"
3876 tm_file
="${tm_file} m68k/auxas.h"
3878 tm_file
="${tm_file} m68k/a-ux.h"
3882 tm_file
=m68k
/apollo68.h
3883 xmake_file
=m68k
/x-apollo68
3885 extra_headers
=math-68881.h
3888 m68k-altos-sysv
*) # Altos 3068
3889 if test x
$gas = xyes
3891 tm_file
=m68k
/altos3068.h
3894 echo "The Altos is supported only with the GNU assembler" 1>&2
3897 extra_headers
=math-68881.h
3899 m68k-bull-sysv
*) # Bull DPX/2
3900 if test x
$gas = xyes
3902 if test x
$stabs = xyes
3904 tm_file
=m68k
/dpx2cdbx.h
3906 tm_file
=m68k
/dpx2g.h
3911 xm_file
="xm-alloca.h ${xm_file}"
3913 xmake_file
=m68k
/x-dpx2
3915 extra_headers
=math-68881.h
3917 m68k-atari-sysv4
*) # Atari variant of V.4.
3918 tm_file
=m68k
/atari.h
3919 xm_file
="xm-alloca.h ${xm_file}"
3920 xm_defines
="USG FULL_PROTOTYPES"
3922 extra_parts
="crtbegin.o crtend.o"
3923 extra_headers
=math-68881.h
3926 m68k-motorola-sysv
*)
3927 tm_file
=m68k
/mot3300.h
3928 xm_file
="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
3929 xm_defines
=NO_SYS_SIGLIST
3930 if test x
$gas = xyes
3932 xmake_file
=m68k
/x-mot3300-gas
3933 if test x
$gnu_ld = xyes
3935 tmake_file
=m68k
/t-mot3300-gald
3937 tmake_file
=m68k
/t-mot3300-gas
3941 xmake_file
=m68k
/x-mot3300
3942 if test x
$gnu_ld = xyes
3944 tmake_file
=m68k
/t-mot3300-gld
3946 tmake_file
=m68k
/t-mot3300
3950 gdb_needs_out_file_path
=yes
3951 extra_parts
="crt0.o mcrt0.o"
3952 extra_headers
=math-68881.h
3955 m68k-ncr-sysv
*) # NCR Tower 32 SVR3
3956 tm_file
=m68k
/tower-as.h
3957 xm_defines
="USG SVR3"
3958 xmake_file
=m68k
/x-tower
3959 extra_parts
="crtbegin.o crtend.o"
3960 extra_headers
=math-68881.h
3963 tm_file
=m68k
/plexus.h
3964 xm_file
="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
3967 extra_headers
=math-68881.h
3971 xm_file
="xm-alloca.h ${xm_file}"
3973 extra_headers
=math-68881.h
3976 xm_file
="xm-alloca.h m68k/xm-crds.h ${xm_file}"
3977 xm_defines
="USG unos"
3978 xmake_file
=m68k
/x-crds
3981 extra_headers
=math-68881.h
3983 m68k-cbm-sysv4
*) # Commodore variant of V.4.
3985 xm_file
="xm-alloca.h ${xm_file}"
3986 xm_defines
="USG FULL_PROTOTYPES"
3987 xmake_file
=m68k
/x-amix
3989 extra_parts
="crtbegin.o crtend.o"
3990 extra_headers
=math-68881.h
3994 tm_file
=m68k
/ccur-GAS.h
3995 xmake_file
=m68k
/x-ccur
3996 extra_headers
=math-68881.h
4000 m68k-hp-bsd4.4
*) # HP 9000/3xx running 4.4bsd
4001 tm_file
=m68k
/hp3bsd44.h
4002 xmake_file
=m68k
/x-hp3bsd44
4004 extra_headers
=math-68881.h
4007 m68k-hp-bsd
*) # HP 9000/3xx running Berkeley Unix
4008 tm_file
=m68k
/hp3bsd.h
4010 extra_headers
=math-68881.h
4014 if test x
$with_fp = xno
4016 tm_file
=m68k
/isi-nfp.h
4022 extra_headers
=math-68881.h
4024 m68k-hp-hpux7
*) # HP 9000 series 300 running HPUX version 7.
4025 xm_file
="xm_alloca.h ${xm_file}"
4026 xm_defines
="USG NO_SYS_SIGLIST"
4027 if test x
$gas = xyes
4029 xmake_file
=m68k
/x-hp320g
4030 tm_file
=m68k
/hp320g.h
4032 xmake_file
=m68k
/x-hp320
4033 tm_file
=m68k
/hpux7.h
4035 install_headers_dir
=install-headers-cpio
4037 extra_headers
=math-68881.h
4040 m68k-hp-hpux
*) # HP 9000 series 300
4041 xm_file
="xm_alloca.h ${xm_file}"
4042 xm_defines
="USG NO_SYS_SIGLIST"
4043 if test x
$gas = xyes
4045 xmake_file
=m68k
/x-hp320g
4046 tm_file
=m68k
/hp320g.h
4048 xmake_file
=m68k
/x-hp320
4049 tm_file
=m68k
/hp320.h
4051 install_headers_dir
=install-headers-cpio
4053 extra_headers
=math-68881.h
4057 tm_file
=m68k
/sun3mach.h
4059 extra_headers
=math-68881.h
4063 if test x
$gas = xyes
4065 tm_file
=m68k
/news3gas.h
4067 tm_file
=m68k
/news3.h
4070 extra_headers
=math-68881.h
4073 m68k-sony-bsd
* | m68k-sony-newsos
*)
4074 if test x
$gas = xyes
4076 tm_file
=m68k
/newsgas.h
4081 extra_headers
=math-68881.h
4084 m68k-next-nextstep2
*)
4085 tm_file
=m68k
/next21.h
4086 xm_file
="m68k/xm-next.h ${xm_file}"
4087 tmake_file
=m68k
/t-next
4088 xmake_file
=m68k
/x-next
4089 extra_objs
=nextstep.o
4090 extra_headers
=math-68881.h
4094 m68k-next-nextstep3
*)
4096 xm_file
="m68k/xm-next.h ${xm_file}"
4097 tmake_file
=m68k
/t-next
4098 xmake_file
=m68k
/x-next
4099 extra_objs
=nextstep.o
4100 extra_parts
="crtbegin.o crtend.o"
4101 extra_headers
=math-68881.h
4103 if test x
$enable_threads = xyes
; then
4108 if test x
$with_fp = xno
4110 tm_file
=m68k
/sun3n3.h
4112 tm_file
=m68k
/sun3o3.h
4116 extra_headers
=math-68881.h
4118 m68k-sun-sunos
*) # For SunOS 4 (the default).
4119 if test x
$with_fp = xno
4121 tm_file
=m68k
/sun3n.h
4127 extra_headers
=math-68881.h
4130 tm_file
=m68k
/vxm68k.h
4131 tmake_file
=m68k
/t-vxworks68
4132 extra_headers
=math-68881.h
4133 thread_file
='vxworks'
4137 tmake_file
=m68k
/t-m68kbare
4138 tm_file
="m68k/m68k-aout.h libgloss.h"
4139 extra_headers
=math-68881.h
4143 tmake_file
=m68k
/t-m68kbare
4144 tm_file
="m68k/m68k-coff.h dbx.h libgloss.h"
4145 extra_headers
=math-68881.h
4148 m68020-
*-elf* | m68k-
*-elf*)
4149 tm_file
="m68k/m68020-elf.h libgloss.h"
4150 xm_file
=m68k
/xm-m68kv.h
4151 tmake_file
=m68k
/t-m68kelf
4152 header_files
=math-68881.h
4155 if test x
$gas = xyes
4159 tm_file
=m68k
/lynx-ng.h
4161 xm_file
=m68k
/xm-lynx.h
4163 tmake_file
=m68k
/t-lynx
4164 extra_headers
=math-68881.h
4168 tm_file
=m68k
/netbsd.h
4169 # On NetBSD, the headers are already okay, except for math.h.
4170 fixincludes
=fixinc.wrap
4174 m68k-
*-sysv3*) # Motorola m68k's running system V.3
4175 xm_file
="xm-alloca.h ${xm_file}"
4177 xmake_file
=m68k
/x-m68kv
4178 extra_parts
="crtbegin.o crtend.o"
4179 extra_headers
=math-68881.h
4182 m68k-
*-sysv4*) # Motorola m68k's running system V.4
4183 tm_file
=m68k
/m68kv4.h
4184 xm_file
="xm-alloca.h ${xm_file}"
4187 extra_parts
="crtbegin.o crtend.o"
4188 extra_headers
=math-68881.h
4191 m68k-
*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
4194 tm_file
=m68k
/linux-aout.h
4195 tmake_file
="t-linux-aout m68k/t-linux-aout"
4196 fixincludes
=Makefile.
in # The headers are ok already.
4197 extra_headers
=math-68881.h
4201 m68k-
*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
4202 # with ELF format using the
4203 # GNU/Linux C library 5
4205 tm_file
=m68k
/linux.h
4206 tmake_file
="t-linux t-linux-gnulibc1 m68k/t-linux"
4207 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4208 fixincludes
=Makefile.
in # The headers are ok already.
4209 extra_headers
=math-68881.h
4213 m68k-
*-linux-gnu*) # Motorola m68k's running GNU/Linux
4214 # with ELF format using glibc 2
4215 # aka the GNU/Linux C library 6.
4217 tm_file
=m68k
/linux.h
4218 tmake_file
="t-linux m68k/t-linux"
4219 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4220 fixincludes
=Makefile.
in # The headers are ok already.
4221 extra_headers
=math-68881.h
4224 if test x
$enable_threads = xyes
; then
4229 tmake_file
=m68k
/t-m68kbare
4230 tm_file
=m68k
/m68k-psos.h
4231 extra_headers
=math-68881.h
4235 tmake_file
="m68k/t-m68kbare t-rtems"
4236 tm_file
=m68k
/rtems.h
4237 extra_headers
=math-68881.h
4244 tm_file
=m88k
/dguxbcs.h
4245 tmake_file
=m88k
/t-dguxbcs
4249 tmake_file
=m88k
/t-dgux
4252 extra_parts
="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
4253 xmake_file
=m88k
/x-dgux
4254 if test x
$gas = xyes
4256 tmake_file
=m88k
/t-dgux-gas
4258 fixincludes
=fixinc.dgux
4260 m88k-dolphin-sysv3
*)
4261 tm_file
=m88k
/dolph.h
4262 extra_parts
="crtbegin.o crtend.o"
4263 xm_file
="m88k/xm-sysv3.h ${xm_file}"
4264 xmake_file
=m88k
/x-dolph
4265 if test x
$gas = xyes
4267 tmake_file
=m88k
/t-m88k-gas
4270 m88k-tektronix-sysv3
)
4271 tm_file
=m88k
/tekXD88.h
4272 extra_parts
="crtbegin.o crtend.o"
4273 xm_file
="m88k/xm-sysv3.h ${xm_file}"
4274 xmake_file
=m88k
/x-tekXD88
4275 if test x
$gas = xyes
4277 tmake_file
=m88k
/t-m88k-gas
4281 tm_file
=m88k
/m88k-aout.h
4284 tm_file
=m88k
/m88k-coff.h
4285 tmake_file
=m88k
/t-bug
4289 extra_parts
="crtbegin.o crtend.o"
4290 if test x
$gas = xyes
4292 tmake_file
=m88k
/t-luna-gas
4294 tmake_file
=m88k
/t-luna
4298 tm_file
=m88k
/sysv3.h
4299 extra_parts
="crtbegin.o crtend.o"
4300 xm_file
="m88k/xm-sysv3.h ${xm_file}"
4301 xmake_file
=m88k
/x-sysv3
4302 if test x
$gas = xyes
4304 tmake_file
=m88k
/t-m88k-gas
4308 tm_file
=m88k
/sysv4.h
4309 extra_parts
="crtbegin.o crtend.o"
4310 xmake_file
=m88k
/x-sysv4
4311 tmake_file
=m88k
/t-sysv4
4313 mips-sgi-irix6
*) # SGI System V.4., IRIX 6
4314 tm_file
=mips
/iris6.h
4315 xm_file
=mips
/xm-iris6.h
4316 fixincludes
=fixinc.irix
4317 xmake_file
=mips
/x-iris6
4318 tmake_file
=mips
/t-iris6
4319 # if test x$enable_threads = xyes; then
4320 # thread_file='irix'
4324 tm_file
="mips/elf.h libgloss.h"
4325 tmake_file
=mips
/t-ecoff
4328 extra_parts
="crtbegin.o crtend.o"
4329 # thread_file='vxworks'
4331 mips-sgi-irix5cross64
) # Irix5 host, Irix 6 target, cross64
4332 tm_file
="mips/iris6.h mips/cross64.h"
4334 xm_file
="mips/xm-iris5.h"
4335 fixincludes
=Makefile.
in
4336 xmake_file
=mips
/x-iris
4337 tmake_file
=mips
/t-cross64
4338 # See comment in mips/iris[56].h files.
4340 # if test x$enable_threads = xyes; then
4341 # thread_file='irix'
4345 if test x
$gas = xyes
4347 if test x
$stabs = xyes
4349 tm_file
=mips
/iris5gdb.h
4351 tm_file
="mips/sni-svr4.h mips/sni-gas.h"
4354 tm_file
=mips
/sni-svr4.h
4357 xmake_file
=mips
/x-sni-svr4
4358 tmake_file
=mips
/t-mips-gas
4359 if test x
$gnu_ld != xyes
4364 mips-sgi-irix5
*) # SGI System V.4., IRIX 5
4365 if test x
$gas = xyes
4367 tm_file
="mips/iris5.h mips/iris5gas.h"
4368 if test x
$stabs = xyes
4370 tm_file
="${tm_file} dbx.h"
4373 tm_file
=mips
/iris5.h
4376 xm_file
="mips/xm-iris5.h"
4377 fixincludes
=fixinc.irix
4378 xmake_file
=mips
/x-iris
4379 # mips-tfile doesn't work yet
4380 tmake_file
=mips
/t-mips-gas
4381 # See comment in mips/iris5.h file.
4383 # if test x$enable_threads = xyes; then
4384 # thread_file='irix'
4387 mips-sgi-irix4loser
*) # Mostly like a MIPS.
4388 tm_file
="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
4389 if test x
$stabs = xyes
; then
4390 tm_file
="${tm_file} dbx.h"
4393 xmake_file
=mips
/x-iris
4394 if test x
$gas = xyes
4396 tmake_file
=mips
/t-mips-gas
4398 extra_passes
="mips-tfile mips-tdump"
4400 if test x
$gnu_ld != xyes
4404 # if test x$enable_threads = xyes; then
4405 # thread_file='irix'
4408 mips-sgi-irix4
*) # Mostly like a MIPS.
4409 tm_file
="mips/iris3.h ${tm_file} mips/iris4.h"
4410 if test x
$stabs = xyes
; then
4411 tm_file
="${tm_file} dbx.h"
4414 xmake_file
=mips
/x-iris
4415 if test x
$gas = xyes
4417 tmake_file
=mips
/t-mips-gas
4419 extra_passes
="mips-tfile mips-tdump"
4421 if test x
$gnu_ld != xyes
4425 # if test x$enable_threads = xyes; then
4426 # thread_file='irix'
4429 mips-sgi-
*) # Mostly like a MIPS.
4430 tm_file
="mips/iris3.h ${tm_file}"
4431 if test x
$stabs = xyes
; then
4432 tm_file
="${tm_file} dbx.h"
4435 xmake_file
=mips
/x-iris3
4436 if test x
$gas = xyes
4438 tmake_file
=mips
/t-mips-gas
4440 extra_passes
="mips-tfile mips-tdump"
4442 if test x
$gnu_ld != xyes
4447 mips-dec-osfrose
*) # Decstation running OSF/1 reference port with OSF/rose.
4448 tm_file
="mips/osfrose.h ${tm_file}"
4449 xmake_file
=mips
/x-osfrose
4450 tmake_file
=mips
/t-osfrose
4451 extra_objs
=halfpic.o
4454 mips-dec-osf
*) # Decstation running OSF/1 as shipped by DIGITAL
4455 tm_file
=mips
/dec-osf1.h
4456 if test x
$stabs = xyes
; then
4457 tm_file
="${tm_file} dbx.h"
4459 xmake_file
=mips
/x-dec-osf1
4460 if test x
$gas = xyes
4462 tmake_file
=mips
/t-mips-gas
4464 tmake_file
=mips
/t-ultrix
4465 extra_passes
="mips-tfile mips-tdump"
4467 if test x
$gnu_ld != xyes
4472 mips-dec-bsd
*) # Decstation running 4.4 BSD
4473 tm_file
=mips
/dec-bsd.h
4475 if test x
$gas = xyes
4477 tmake_file
=mips
/t-mips-gas
4479 tmake_file
=mips
/t-ultrix
4480 extra_passes
="mips-tfile mips-tdump"
4482 if test x
$gnu_ld != xyes
4487 mipsel-
*-netbsd* | mips-dec-netbsd
*) # Decstation running NetBSD
4488 tm_file
=mips
/netbsd.h
4489 # On NetBSD, the headers are already okay, except for math.h.
4490 fixincludes
=fixinc.wrap
4493 mips
*-*-linux*) # Linux MIPS, either endian.
4495 xm_file
="xm-siglist.h ${xm_file}"
4497 mipsel-
*) tm_file
="mips/elfl.h mips/linux.h" ;;
4498 *) tm_file
="mips/elf.h mips/linux.h" ;;
4500 extra_parts
="crtbegin.o crtend.o"
4503 fixincludes
=Makefile.
in
4505 mips-sony-bsd
* | mips-sony-newsos
*) # Sony NEWS 3600 or risc/news.
4506 tm_file
="mips/news4.h ${tm_file}"
4507 if test x
$stabs = xyes
; then
4508 tm_file
="${tm_file} dbx.h"
4510 if test x
$gas = xyes
4512 tmake_file
=mips
/t-mips-gas
4514 extra_passes
="mips-tfile mips-tdump"
4516 if test x
$gnu_ld != xyes
4520 xmake_file
=mips
/x-sony
4522 mips-sony-sysv
*) # Sony NEWS 3800 with NEWSOS5.0.
4523 # That is based on svr4.
4524 # t-svr4 is not right because this system doesn't use ELF.
4525 tm_file
="mips/news5.h ${tm_file}"
4526 if test x
$stabs = xyes
; then
4527 tm_file
="${tm_file} dbx.h"
4529 xm_file
="xm-siglist.h ${xm_file}"
4531 if test x
$gas = xyes
4533 tmake_file
=mips
/t-mips-gas
4535 extra_passes
="mips-tfile mips-tdump"
4537 if test x
$gnu_ld != xyes
4542 mips-tandem-sysv4
*) # Tandem S2 running NonStop UX
4543 tm_file
="mips/svr4-5.h mips/svr4-t.h"
4544 if test x
$stabs = xyes
; then
4545 tm_file
="${tm_file} dbx.h"
4547 xm_file
="xm-siglist.h ${xm_file}"
4549 xmake_file
=mips
/x-sysv
4550 if test x
$gas = xyes
4552 tmake_file
=mips
/t-mips-gas
4553 extra_parts
="crtbegin.o crtend.o"
4555 tmake_file
=mips
/t-mips
4556 extra_passes
="mips-tfile mips-tdump"
4558 if test x
$gnu_ld != xyes
4563 mips-
*-ultrix* | mips-dec-mach3
) # Decstation.
4564 tm_file
="mips/ultrix.h ${tm_file}"
4565 if test x
$stabs = xyes
; then
4566 tm_file
="${tm_file} dbx.h"
4568 xmake_file
=mips
/x-ultrix
4569 if test x
$gas = xyes
4571 tmake_file
=mips
/t-mips-gas
4573 tmake_file
=mips
/t-ultrix
4574 extra_passes
="mips-tfile mips-tdump"
4576 if test x
$gnu_ld != xyes
4581 mips-
*-riscos[56789]bsd
*)
4582 tm_file
=mips
/bsd-5.h
# MIPS BSD 4.3, RISC-OS 5.0
4583 if test x
$stabs = xyes
; then
4584 tm_file
="${tm_file} dbx.h"
4586 if test x
$gas = xyes
4588 tmake_file
=mips
/t-bsd-gas
4590 tmake_file
=mips
/t-bsd
4591 extra_passes
="mips-tfile mips-tdump"
4593 if test x
$gnu_ld != xyes
4598 mips-
*-bsd* | mips-
*-riscosbsd* | mips-
*-riscos[1234]bsd
*)
4599 tm_file
="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
4600 if test x
$stabs = xyes
; then
4601 tm_file
="${tm_file} dbx.h"
4603 if test x
$gas = xyes
4605 tmake_file
=mips
/t-bsd-gas
4607 tmake_file
=mips
/t-bsd
4608 extra_passes
="mips-tfile mips-tdump"
4610 if test x
$gnu_ld != xyes
4615 mips-
*-riscos[56789]sysv4
*)
4616 tm_file
=mips
/svr4-5.h
# MIPS System V.4., RISC-OS 5.0
4617 if test x
$stabs = xyes
; then
4618 tm_file
="${tm_file} dbx.h"
4620 xm_file
="xm-siglist.h ${xm_file}"
4621 xmake_file
=mips
/x-sysv
4622 if test x
$gas = xyes
4624 tmake_file
=mips
/t-svr4-gas
4626 tmake_file
=mips
/t-svr4
4627 extra_passes
="mips-tfile mips-tdump"
4629 if test x
$gnu_ld != xyes
4634 mips-
*-sysv4* | mips-
*-riscos[1234]sysv4
* | mips-
*-riscossysv4*)
4635 tm_file
="mips/svr4-4.h ${tm_file}"
4636 if test x
$stabs = xyes
; then
4637 tm_file
="${tm_file} dbx.h"
4640 xmake_file
=mips
/x-sysv
4641 if test x
$gas = xyes
4643 tmake_file
=mips
/t-svr4-gas
4645 tmake_file
=mips
/t-svr4
4646 extra_passes
="mips-tfile mips-tdump"
4648 if test x
$gnu_ld != xyes
4653 mips-
*-riscos[56789]sysv
*)
4654 tm_file
=mips
/svr3-5.h
# MIPS System V.3, RISC-OS 5.0
4655 if test x
$stabs = xyes
; then
4656 tm_file
="${tm_file} dbx.h"
4659 xmake_file
=mips
/x-sysv
4660 if test x
$gas = xyes
4662 tmake_file
=mips
/t-svr3-gas
4664 tmake_file
=mips
/t-svr3
4665 extra_passes
="mips-tfile mips-tdump"
4667 if test x
$gnu_ld != xyes
4672 mips-
*-sysv* | mips-
*-riscos*sysv
*)
4673 tm_file
="mips/svr3-4.h ${tm_file}"
4674 if test x
$stabs = xyes
; then
4675 tm_file
="${tm_file} dbx.h"
4678 xmake_file
=mips
/x-sysv
4679 if test x
$gas = xyes
4681 tmake_file
=mips
/t-svr3-gas
4683 tmake_file
=mips
/t-svr3
4684 extra_passes
="mips-tfile mips-tdump"
4686 if test x
$gnu_ld != xyes
4691 mips-
*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
4692 tm_file
=mips
/mips-5.h
4693 if test x
$stabs = xyes
; then
4694 tm_file
="${tm_file} dbx.h"
4696 if test x
$gas = xyes
4698 tmake_file
=mips
/t-mips-gas
4700 extra_passes
="mips-tfile mips-tdump"
4702 if test x
$gnu_ld != xyes
4710 tm_file
=mips
/ecoffl.h
4711 if test x
$stabs = xyes
; then
4712 tm_file
="${tm_file} dbx.h"
4714 tmake_file
=mips
/t-ecoff
4717 tm_file
="gofast.h mips/ecoff.h"
4718 if test x
$stabs = xyes
; then
4719 tm_file
="${tm_file} dbx.h"
4721 tmake_file
=mips
/t-ecoff
4724 tm_file
="mips/elfl.h libgloss.h"
4725 tmake_file
=mips
/t-ecoff
4728 tm_file
="mips/elf.h libgloss.h"
4729 tmake_file
=mips
/t-ecoff
4732 tm_file
="mips/elfl64.h libgloss.h"
4733 tmake_file
=mips
/t-ecoff
4735 mips64orionel-
*-elf*)
4736 tm_file
="mips/elforion.h mips/elfl64.h libgloss.h"
4737 tmake_file
=mips
/t-ecoff
4740 tm_file
="mips/elf64.h libgloss.h"
4741 tmake_file
=mips
/t-ecoff
4744 tm_file
="mips/elforion.h mips/elf64.h libgloss.h"
4745 tmake_file
=mips
/t-ecoff
4747 mips64orion-
*-rtems*)
4748 tm_file
="mips/elforion.h mips/elf64.h mips/rtems64.h"
4749 tmake_file
="mips/t-ecoff t-rtems"
4752 tm_file
="mips/r3900.h mips/elfl.h mips/abi64.h libgloss.h"
4753 tmake_file
=mips
/t-r3900
4756 tm_file
="mips/r3900.h mips/elf.h mips/abi64.h libgloss.h"
4757 tmake_file
=mips
/t-r3900
4758 # FIXME mips-elf should be fixed to use crtstuff.
4761 mips-
*-*) # Default MIPS RISC-OS 4.0.
4762 if test x
$stabs = xyes
; then
4763 tm_file
="${tm_file} dbx.h"
4765 if test x
$gas = xyes
4767 tmake_file
=mips
/t-mips-gas
4769 extra_passes
="mips-tfile mips-tdump"
4771 if test x
$gnu_ld != xyes
4778 tm_file
="mn10200/mn10200.h"
4779 if test x
$stabs = xyes
4781 tm_file
="${tm_file} dbx.h"
4787 tm_file
="mn10300/mn10300.h"
4788 if test x
$stabs = xyes
4790 tm_file
="${tm_file} dbx.h"
4795 tm_file
=ns32k
/encore.h
4799 tm_file
=ns32k
/sequent.h
4803 tm_file
=ns32k
/tek6100.h
4807 tm_file
=ns32k
/tek6200.h
4810 # This has not been updated to GCC 2.
4813 # xmake_file=ns32k/x-genix
4814 # tm_file=ns32k/genix.h
4818 tm_file
=ns32k
/merlin.h
4822 tm_file
=ns32k
/pc532-mach.h
4826 tm_file
=ns32k
/pc532-min.h
4827 xm_file
="ns32k/xm-pc532-min.h ${xm-file}"
4832 tm_file
=ns32k
/netbsd.h
4833 xm_file
="ns32k/xm-netbsd.h ${xm_file}"
4834 # On NetBSD, the headers are already okay, except for math.h.
4835 fixincludes
=fixinc.wrap
4839 tm_file
="${tm_file} pdp11/2bsd.h"
4845 xmake_file
=pyr
/x-pyr
4852 xmake_file
=romp
/x-mach
4857 tm_file
=rs6000
/beos.h
4858 xm_file
=rs6000
/xm-beos.h
4859 tmake_file
=rs6000
/t-beos
4860 xmake_file
=rs6000
/x-beos
4862 powerpc-
*-sysv* | powerpc-
*-elf*)
4863 tm_file
=rs6000
/sysv4.h
4864 xm_file
="xm-siglist.h rs6000/xm-sysv4.h"
4865 xm_defines
="USG POSIX"
4866 extra_headers
=ppc-asm.h
4867 if test x
$gas = xyes
4869 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
4871 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4873 xmake_file
=rs6000
/x-sysv4
4876 tm_file
=rs6000
/eabiaix.h
4877 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4878 fixincludes
=Makefile.
in
4879 extra_headers
=ppc-asm.h
4882 tm_file
=rs6000
/eabisim.h
4883 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4884 fixincludes
=Makefile.
in
4885 extra_headers
=ppc-asm.h
4888 tm_file
=rs6000
/eabi.h
4889 if test x
$gas = xyes
4891 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4893 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4895 fixincludes
=Makefile.
in
4896 extra_headers
=ppc-asm.h
4899 tm_file
=rs6000
/rtems.h
4900 if test x
$gas = xyes
4902 tmake_file
="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
4904 tmake_file
="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
4906 fixincludes
=Makefile.
in
4907 extra_headers
=ppc-asm.h
4909 powerpc-
*-linux-gnulibc1)
4910 tm_file
=rs6000
/linux.h
4911 xm_file
=rs6000
/xm-sysv4.h
4912 out_file
=rs6000
/rs6000.c
4913 if test x
$gas = xyes
4915 tmake_file
="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
4917 tmake_file
="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
4920 fixincludes
=Makefile.
in
4921 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4922 extra_headers
=ppc-asm.h
4923 if test x
$enable_threads = xyes
; then
4927 powerpc-
*-linux-gnu*)
4928 tm_file
=rs6000
/linux.h
4929 xm_file
="xm-siglist.h rs6000/xm-sysv4.h"
4930 xm_defines
="USG ${xm_defines}"
4931 out_file
=rs6000
/rs6000.c
4932 if test x
$gas = xyes
4934 tmake_file
="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
4936 tmake_file
="rs6000/t-ppc t-linux rs6000/t-ppccomm"
4939 fixincludes
=Makefile.
in
4940 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4941 extra_headers
=ppc-asm.h
4942 if test x
$enable_threads = xyes
; then
4946 powerpc-wrs-vxworks
*)
4948 xm_file
="xm-siglist.h rs6000/xm-sysv4.h"
4949 xm_defines
="USG POSIX"
4950 tm_file
=rs6000
/vxppc.h
4951 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4952 extra_headers
=ppc-asm.h
4953 thread_file
='vxworks'
4955 powerpcle-
*-sysv* | powerpcle-
*-elf*)
4956 tm_file
=rs6000
/sysv4le.h
4957 xm_file
="xm-siglist.h rs6000/xm-sysv4.h"
4958 xm_defines
="USG POSIX"
4959 if test x
$gas = xyes
4961 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
4963 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4965 xmake_file
=rs6000
/x-sysv4
4966 extra_headers
=ppc-asm.h
4968 powerpcle-
*-eabisim*)
4969 tm_file
=rs6000
/eabilesim.h
4970 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4971 fixincludes
=Makefile.
in
4972 extra_headers
=ppc-asm.h
4975 tm_file
=rs6000
/eabile.h
4976 if test x
$gas = xyes
4978 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4980 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4982 fixincludes
=Makefile.
in
4983 extra_headers
=ppc-asm.h
4985 powerpcle-
*-winnt* )
4986 tm_file
=rs6000
/win-nt.h
4987 tmake_file
=rs6000
/t-winnt
4989 fixincludes
=Makefile.
in
4990 if test x
$enable_threads = xyes
; then
4993 extra_headers
=ppc-asm.h
4995 powerpcle-
*-pe | powerpcle-
*-cygwin*)
4996 tm_file
=rs6000
/cygwin.h
4997 xm_file
="rs6000/xm-cygwin.h ${xm_file}"
4998 tmake_file
=rs6000
/t-winnt
4999 xmake_file
=rs6000
/x-cygwin
5001 fixincludes
=Makefile.
in
5002 if test x
$enable_threads = xyes
; then
5006 extra_headers
=ppc-asm.h
5008 powerpcle-
*-solaris2*)
5009 tm_file
=rs6000
/sol2.h
5010 xm_file
="xm-siglist.h rs6000/xm-sysv4.h"
5011 xm_defines
="USG POSIX"
5012 if test x
$gas = xyes
5014 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
5016 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
5018 xmake_file
=rs6000
/x-sysv4
5021 fixincludes
=fixinc.svr4
;;
5023 fixincludes
=fixinc.wrap
;;
5025 extra_headers
=ppc-asm.h
5027 rs6000-ibm-aix3.
[01]*)
5028 tm_file
=rs6000
/aix31.h
5029 xmake_file
=rs6000
/x-aix31
5032 rs6000-ibm-aix3.2.
[456789]* | powerpc-ibm-aix3.2.
[456789]*)
5033 tm_file
=rs6000
/aix3newas.h
5034 if test x
$host != x
$target
5036 tmake_file
=rs6000
/t-xnewas
5038 tmake_file
=rs6000
/t-newas
5042 rs6000-ibm-aix4.
[12]* | powerpc-ibm-aix4.
[12]*)
5043 if test "$gnu_ld" = yes
5045 tm_file
=rs6000
/aix41-gld.h
5047 tm_file
=rs6000
/aix41.h
5049 if test x
$host != x
$target
5051 tmake_file
=rs6000
/t-xnewas
5053 tmake_file
=rs6000
/t-newas
5055 xmake_file
=rs6000
/x-aix41
5058 rs6000-ibm-aix4.
[3456789].
* | powerpc-ibm-aix4.
[3456789].
*)
5059 tm_file
=rs6000
/aix43.h
5060 if test x
$host != x
$target
5062 tmake_file
=rs6000
/t-xaix43
5064 tmake_file
=rs6000
/t-aix43
5066 xmake_file
=rs6000
/x-aix43
5069 rs6000-ibm-aix
[56789].
* | powerpc-ibm-aix
[56789].
*)
5070 tm_file
=rs6000
/aix43.h
5071 if test x
$host != x
$target
5073 tmake_file
=rs6000
/t-xaix43
5075 tmake_file
=rs6000
/t-aix43
5077 xmake_file
=rs6000
/x-aix43
5087 tm_file
=rs6000
/mach.h
5088 xm_file
="${xm_file} rs6000/xm-mach.h"
5089 xmake_file
=rs6000
/x-mach
5093 tm_file
=rs6000
/lynx.h
5094 xm_file
=rs6000
/xm-lynx.h
5095 tmake_file
=rs6000
/t-rs6000
5096 xmake_file
=rs6000
/x-lynx
5104 tmake_file
="sh/t-sh t-rtems"
5105 tm_file
=sh
/rtemself.h
5109 tmake_file
="sh/t-sh t-rtems"
5118 xm_file
="xm-alloca.h ${xm_file}"
5121 sparc-wrs-vxworks
* | sparclite-wrs-vxworks
*)
5122 tm_file
=sparc
/vxsparc.h
5123 tmake_file
=sparc
/t-vxsparc
5125 thread_file
='vxworks'
5128 tmake_file
=sparc
/t-sparcbare
5129 tm_file
="sparc/aout.h libgloss.h"
5132 tm_file
=sparc
/netbsd.h
5133 # On NetBSD, the headers are already okay, except for math.h.
5134 fixincludes
=fixinc.wrap
5142 tmake_file
=sparc
/t-elf
5143 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
5147 sparc-
*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
5148 xm_file
="${xm_file} sparc/xm-linux.h"
5149 tm_file
=sparc
/linux-aout.h
5151 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
5154 sparc-
*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
5155 xm_file
="${xm_file} sparc/xm-linux.h"
5157 tm_file
=sparc
/linux.h
5158 tmake_file
="t-linux t-linux-gnulibc1"
5159 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5160 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
5163 sparc-
*-linux-gnu*) # Sparc's running GNU/Linux, libc6
5164 xm_file
="${xm_file} sparc/xm-linux.h"
5166 tm_file
=sparc
/linux.h
5167 tmake_file
="t-linux"
5168 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5169 fixincludes
=Makefile.
in #On Linux, the headers are ok already.
5171 if test x
$enable_threads = xyes
; then
5176 if test x
$gas = xyes
5178 tm_file
=sparc
/lynx.h
5180 tm_file
=sparc
/lynx-ng.h
5182 xm_file
=sparc
/xm-lynx.h
5183 tmake_file
=sparc
/t-sunos41
5187 tmake_file
="sparc/t-sparcbare t-rtems"
5188 tm_file
=sparc
/rtems.h
5190 sparcv9-
*-solaris2*)
5191 tm_file
=sparc
/sol2-sld-64.h
5192 xm_file
="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
5193 xm_defines
="USG POSIX"
5194 tmake_file
="sparc/t-sol2 sparc/t-sol2-64"
5195 xmake_file
=sparc
/x-sysv4
5196 extra_parts
="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
5197 fixincludes
=fixinc.wrap
5199 if test x
${enable_threads} = x
; then
5200 enable_threads
=$have_pthread_h
5201 if test x
${enable_threads} = x
; then
5202 enable_threads
=$have_thread_h
5205 if test x
${enable_threads} = xyes
; then
5206 if test x
${have_pthread_h} = xyes
; then
5209 thread_file
='solaris'
5214 if test x
$gnu_ld = xyes
5216 tm_file
=sparc
/sol2.h
5218 tm_file
=sparc
/sol2-sld.h
5220 xm_file
="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
5221 xm_defines
="USG POSIX"
5222 tmake_file
=sparc
/t-sol2
5223 xmake_file
=sparc
/x-sysv4
5224 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
5227 fixincludes
=fixinc.svr4
;;
5229 fixincludes
=fixinc.wrap
;;
5232 if test x
${enable_threads} = x
; then
5233 enable_threads
=$have_pthread_h
5234 if test x
${enable_threads} = x
; then
5235 enable_threads
=$have_thread_h
5238 if test x
${enable_threads} = xyes
; then
5239 if test x
${have_pthread_h} = xyes
; then
5242 thread_file
='solaris'
5247 tm_file
=sparc
/sunos4.h
5248 tmake_file
=sparc
/t-sunos40
5252 tm_file
=sparc
/sunos4.h
5253 tmake_file
=sparc
/t-sunos41
5255 if test x
$gas = xyes
; then
5256 tm_file
="${tm_file} sparc/sun4gas.h"
5260 tm_file
=sparc
/sun4o3.h
5264 tm_file
=sparc
/sysv4.h
5265 xm_file
="xm-siglist.h sparc/xm-sysv4.h"
5266 xm_defines
="USG POSIX"
5268 xmake_file
=sparc
/x-sysv4
5269 extra_parts
="crtbegin.o crtend.o"
5272 xm_file
="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
5273 xm_defines
="USG POSIX"
5274 tm_file
=sparc
/vxsim.h
5275 tmake_file
=sparc
/t-vxsparc
5276 xmake_file
=sparc
/x-sysv4
5279 tm_file
="sparc/splet.h libgloss.h"
5280 tmake_file
=sparc
/t-splet
5283 tm_file
="sparc/litecoff.h libgloss.h"
5284 tmake_file
=sparc
/t-sparclite
5287 tm_file
="sparc/lite.h aoutos.h libgloss.h"
5288 tmake_file
=sparc
/t-sparclite
5291 tmake_file
=sparc
/t-sp64
5292 tm_file
=sparc
/sp64-aout.h
5295 tmake_file
=sparc
/t-sp64
5296 tm_file
=sparc
/sp64-elf.h
5297 extra_parts
="crtbegin.o crtend.o"
5299 sparc64-
*-linux*) # 64-bit Sparc's running GNU/Linux
5300 tmake_file
="t-linux sparc/t-linux64"
5301 xm_file
="sparc/xm-sp64.h sparc/xm-linux.h"
5302 tm_file
=sparc
/linux64.h
5304 fixincludes
=Makefile.
in # The headers are ok already.
5305 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5308 # This hasn't been upgraded to GCC 2.
5309 # tahoe-harris-*) # Harris tahoe, using COFF.
5310 # tm_file=tahoe/harris.h
5312 # tahoe-*-bsd*) # tahoe running BSD
5314 thumb-
*-coff* | thumbel-
*-coff*)
5316 out_file
=arm
/thumb.c
5317 xm_file
=arm
/xm-thumb.h
5318 md_file
=arm
/thumb.md
5319 tmake_file
=arm
/t-thumb
5320 fixincludes
=Makefile.
in # There is nothing to fix
5322 # This hasn't been upgraded to GCC 2.
5329 tm_file
="v850/v850.h"
5330 xm_file
="v850/xm-v850.h"
5331 tmake_file
=v850
/t-v850
5332 if test x
$stabs = xyes
5334 tm_file
="${tm_file} dbx.h"
5338 vax-
*-bsd*) # vaxen running BSD
5342 vax-
*-sysv*) # vaxen running system V
5343 tm_file
="${tm_file} vax/vaxv.h"
5348 tm_file
="${tm_file} netbsd.h vax/netbsd.h"
5349 # On NetBSD, the headers are already okay, except for math.h.
5350 fixincludes
=fixinc.wrap
5354 vax-
*-ultrix*) # vaxen running ultrix
5355 tm_file
="${tm_file} vax/ultrix.h"
5359 vax-
*-vms*) # vaxen running VMS
5360 xm_file
=vax
/xm-vms.h
5364 vax-
*-*) # vax default entry
5368 xm_file
="${xm_file} xm-svr3"
5372 echo "Configuration $machine not supported" 1>&2
5379 ;; # Existing GNU/Linux systems do not use the GNU setup.
5381 # On the GNU system, the setup is just about the same on
5382 # each different CPU. The specific machines that GNU
5383 # supports are matched above and just set $cpu_type.
5384 xm_file
="xm-gnu.h ${xm_file}"
5385 tm_file
=${cpu_type}/gnu.h
5386 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
5387 # GNU always uses ELF.
5389 # GNU tools are the only tools.
5392 # On GNU, the headers are already okay.
5393 fixincludes
=Makefile.
in
5394 xmake_file
=x-linux
# These details are the same as Linux.
5395 tmake_file
=t-gnu
# These are not.
5398 fixincludes
=fixinc.svr4
5399 xmake_try_sysv
=x-sysv
5400 install_headers_dir
=install-headers-cpio
5403 install_headers_dir
=install-headers-cpio
5407 # Distinguish i[34567]86
5408 # Also, do not run mips-tfile on MIPS if using gas.
5409 # Process --with-cpu= for PowerPC/rs6000
5410 target_cpu_default2
=
5413 target_cpu_default2
=1
5416 target_cpu_default2
=2
5418 i686-
*-* | i786-
*-*)
5419 target_cpu_default2
=3
5424 target_cpu_default2
="MASK_CPU_EV6|MASK_BXW|MASK_CIX|MASK_MAX"
5427 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
5430 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX"
5433 target_cpu_default2
="MASK_CPU_EV5"
5437 if test x
$gas = xyes
5439 if test "$target_cpu_default2" = ""
5441 target_cpu_default2
="MASK_GAS"
5443 target_cpu_default2
="${target_cpu_default2}|MASK_GAS"
5448 case "x$with_cpu" in
5451 target_cpu_default2
="TARGET_CPU_generic"
5454 # Distinguish cores, and major variants
5455 # arm7m doesn't exist, but D & I don't affect code
5456 xarm23678 | xarm250 | xarm67010 \
5457 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
5458 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
5459 | xstrongarm | xstrongarm110
)
5460 target_cpu_default2
="TARGET_CPU_$with_cpu"
5464 echo "--with-cpu must be passed a value" 1>&2
5469 if test x
$pass2done = xyes
5471 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5478 mips
*-*-ecoff* | mips
*-*-elf*)
5479 if test x
$gas = xyes
5481 if test x
$gnu_ld = xyes
5483 target_cpu_default2
=20
5485 target_cpu_default2
=16
5490 if test x
$gas = xyes
5492 target_cpu_default2
=16
5495 powerpc
*-*-* | rs6000-
*-*)
5496 case "x$with_cpu" in
5500 xcommon | xpower | xpower2 | xpowerpc | xrios \
5501 | xrios1 | xrios2 | xrsc | xrsc1 \
5502 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
5503 | x403 | x505 | x801 | x821 | x823 | x860
)
5504 target_cpu_default2
="\"$with_cpu\""
5508 echo "--with-cpu must be passed a value" 1>&2
5513 if test x
$pass2done = xyes
5515 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5522 case ".$with_cpu" in
5524 target_cpu_default2
=TARGET_CPU_
"`echo $machine | sed 's/-.*$//'`"
5526 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9
)
5527 target_cpu_default2
="TARGET_CPU_$with_cpu"
5530 if test x
$pass2done = xyes
5532 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5540 if test "$target_cpu_default2" != ""
5542 if test "$target_cpu_default" != ""
5544 target_cpu_default
="(${target_cpu_default}|${target_cpu_default2})"
5546 target_cpu_default
=$target_cpu_default2
5550 # No need for collect2 if we have the GNU linker.
5551 # Actually, there is now; GNU ld doesn't handle the EH info or
5552 # collecting for shared libraries.
5559 # Save data on machine being used to compile GCC in build_xm_file.
5560 # Save data on host machine in vars host_xm_file and host_xmake_file.
5561 if test x
$pass1done = x
5563 if test x
"$xm_file" = x
5564 then build_xm_file
=$cpu_type/xm-
$cpu_type.h
5565 else build_xm_file
=$xm_file
5567 build_xm_defines
=$xm_defines
5568 build_install_headers_dir
=$install_headers_dir
5569 build_exeext
=$exeext
5572 if test x
$pass2done = x
5574 if test x
"$xm_file" = x
5575 then host_xm_file
=$cpu_type/xm-
$cpu_type.h
5576 else host_xm_file
=$xm_file
5578 host_xm_defines
=$xm_defines
5579 if test x
"$xmake_file" = x
5580 then xmake_file
=$cpu_type/x-
$cpu_type
5582 host_xmake_file
="$xmake_file"
5583 host_truncate_target
=$truncate_target
5584 host_extra_gcc_objs
=$extra_gcc_objs
5585 host_extra_objs
=$extra_host_objs
5592 extra_objs
="${host_extra_objs} ${extra_objs}"
5594 # Default the target-machine variables that were not explicitly set.
5595 if test x
"$tm_file" = x
5596 then tm_file
=$cpu_type/$cpu_type.h
; fi
5598 if test x
$extra_headers = x
5599 then extra_headers
=; fi
5601 if test x
"$xm_file" = x
5602 then xm_file
=$cpu_type/xm-
$cpu_type.h
; fi
5604 if test x
$md_file = x
5605 then md_file
=$cpu_type/$cpu_type.md
; fi
5607 if test x
$out_file = x
5608 then out_file
=$cpu_type/$cpu_type.c
; fi
5610 if test x
"$tmake_file" = x
5611 then tmake_file
=$cpu_type/t-
$cpu_type
5614 if test x
"$dwarf2" = xyes
5615 then tm_file
="tm-dwarf2.h $tm_file"
5618 if test x
$float_format = x
5619 then float_format
=i64
5622 if test x
$enable_haifa = x
5625 alpha
*-* | hppa
*-* | powerpc
*-* | rs6000-
* |
*sparc
*-* | m32r
*-*)
5630 # Say what files are being used for the output code and MD file.
5631 echo "Using \`$srcdir/config/$out_file' to output insns."
5632 echo "Using \`$srcdir/config/$md_file' as machine description file."
5635 for f
in $tm_file; do
5638 if test $count = ax
; then
5639 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
5641 echo "Using the following target machine macro files:"
5642 for f
in $tm_file; do
5643 echo " $srcdir/config/$f"
5648 for f
in $host_xm_file; do
5651 if test $count = ax
; then
5652 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
5654 echo "Using the following host machine macro files:"
5655 for f
in $host_xm_file; do
5656 echo " $srcdir/config/$f"
5660 if test "$host_xm_file" != "$build_xm_file"; then
5662 for f
in $build_xm_file; do
5665 if test $count = ax
; then
5666 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
5668 echo "Using the following build machine macro files:"
5669 for f
in $build_xm_file; do
5670 echo " $srcdir/config/$f"
5675 if test x
$thread_file = x
; then
5676 if test x
$target_thread_file != x
; then
5677 thread_file
=$target_thread_file
5679 thread_file
='single'
5683 # Set up the header files.
5684 # $links is the list of header files to create.
5685 # $vars is the list of shell variables with file names to include.
5686 # auto-host.h is the file containing items generated by autoconf and is
5687 # the first file included by config.h.
5689 host_xm_file
="auto-host.h gansidecl.h ${host_xm_file}"
5691 # If host=build, it is correct to have hconfig include auto-host.h
5692 # as well. If host!=build, we are in error and need to do more
5693 # work to find out the build config parameters.
5694 if test x
$host = x
$build
5696 build_xm_file
="auto-host.h gansidecl.h ${build_xm_file}"
5698 # We create a subdir, then run autoconf in the subdir.
5699 # To prevent recursion we set host and build for the new
5700 # invocation of configure to the build for this invocation
5707 /*) realsrcdir
=${srcdir};;
5708 *) realsrcdir
=..
/${srcdir};;
5710 CC
=${CC_FOR_BUILD} ${realsrcdir}/configure \
5711 --target=$target --host=$build --build=$build
5713 # We just finished tests for the build machine, so rename
5714 # the file auto-build.h in the gcc directory.
5715 mv auto-host.h ..
/auto-build.h
5718 build_xm_file
="auto-build.h gansidecl.h ${build_xm_file}"
5721 xm_file
="gansidecl.h ${xm_file}"
5722 tm_file
="gansidecl.h ${tm_file}"
5724 vars
="host_xm_file tm_file xm_file build_xm_file"
5725 links
="config.h tm.h tconfig.h hconfig.h"
5726 defines
="host_xm_defines null_defines xm_defines build_xm_defines"
5729 if test -f config.status
; then mv -f config.status config.bak
; fi
5732 while test -n "$vars"
5734 set $vars; var
=$1; shift; vars
=$
*
5735 set $links; link
=$1; shift; links
=$
*
5736 set $defines; define
=$1; shift; defines
=$
*
5740 # Define TARGET_CPU_DEFAULT if the system wants one.
5741 # This substitutes for lots of *.h files.
5742 if test "$target_cpu_default" != "" -a $link = tm.h
5744 echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
5747 for file in `eval echo '$'$var`; do
5748 echo "#include \"$file\"" >>$link
5751 for def
in `eval echo '$'$define`; do
5752 echo "#ifndef $def" >>$link
5753 echo "#define $def" >>$link
5754 echo "#endif" >>$link
5758 # Truncate the target if necessary
5759 if test x
$host_truncate_target != x
; then
5760 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
5763 # Get the version trigger filename from the toplevel
5764 if test "${with_gcc_version_trigger+set}" = set; then
5765 gcc_version_trigger
=$with_gcc_version_trigger
5767 gcc_version_trigger
=${srcdir}/version.c
5769 gcc_version
=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${gcc_version_trigger}`
5771 # Get an absolute path to the GCC top-level source directory
5777 # Conditionalize the makefile for this host machine.
5778 # Make-host contains the concatenation of all host makefile fragments
5779 # [there can be more than one]. This file is built by configure.frag.
5780 host_overrides
=Make-host
5781 dep_host_xmake_file
=
5782 for f
in ..
${host_xmake_file}
5784 if test -f ${srcdir}/config
/$f
5786 dep_host_xmake_file
="${dep_host_xmake_file} ${srcdir}/config/$f"
5790 # Conditionalize the makefile for this target machine.
5791 # Make-target contains the concatenation of all host makefile fragments
5792 # [there can be more than one]. This file is built by configure.frag.
5793 target_overrides
=Make-target
5795 for f
in ..
${tmake_file}
5797 if test -f ${srcdir}/config
/$f
5799 dep_tmake_file
="${dep_tmake_file} ${srcdir}/config/$f"
5803 # If the host doesn't support symlinks, modify CC in
5804 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
5805 # Otherwise, we can use "CC=$(CC)".
5807 if $symbolic_link $srcdir/gcc.c symtest.tem
2>/dev
/null
5809 cc_set_by_configure
="\$(CC)"
5810 stage_prefix_set_by_configure
="\$(STAGE_PREFIX)"
5813 if cp -p $srcdir/gcc.c symtest.tem
2>/dev
/null
5815 symbolic_link
="cp -p"
5819 cc_set_by_configure
="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
5820 stage_prefix_set_by_configure
="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
5824 out_object_file
=`basename $out_file .c`.o
5827 for f
in $tm_file; do
5828 if test $f != "gansidecl.h" ; then
5829 tm_file_list
="${tm_file_list} \$(srcdir)/config/$f"
5831 tm_file_list
="${tm_file_list} $f"
5836 for f
in $host_xm_file; do
5837 if test $f != "auto-host.h" -a $f != "gansidecl.h" ; then
5838 host_xm_file_list
="${host_xm_file_list} \$(srcdir)/config/$f"
5840 host_xm_file_list
="${host_xm_file_list} $f"
5845 for f
in $build_xm_file; do
5846 if test $f != "auto-build.h" -a $f != "auto-host.h" -a $f != "gansidecl.h" ; then
5847 build_xm_file_list
="${build_xm_file_list} \$(srcdir)/config/$f"
5849 build_xm_file_list
="${build_xm_file_list} $f"
5853 # Define macro CROSS_COMPILE in compilation
5854 # if this is a cross-compiler.
5855 # Also use all.cross instead of all.internal
5856 # and add cross-make to Makefile.
5857 cross_overrides
="/dev/null"
5858 if test x
$host != x
$target
5860 cross_defines
="CROSS=-DCROSS_COMPILE"
5861 cross_overrides
="${topdir}/cross-make"
5864 # When building gcc with a cross-compiler, we need to fix a few things.
5865 # This must come after cross-make as we want all.build to override
5867 build_overrides
="/dev/null"
5868 if test x
$build != x
$host
5870 build_overrides
="${topdir}/build-make"
5873 # Expand extra_headers to include complete path.
5874 # This substitutes for lots of t-* files.
5876 if test "x$extra_headers" = x
5879 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
5880 for file in $extra_headers;
5882 extra_headers_list
="${extra_headers_list} \$(srcdir)/ginclude/${file}"
5886 if test x
$use_collect2 = xno
; then
5890 # Add a definition of USE_COLLECT2 if system wants one.
5891 # Also tell toplev.c what to do.
5892 # This substitutes for lots of t-* files.
5893 if test x
$use_collect2 = x
5898 will_use_collect2
="collect2"
5899 maybe_use_collect2
="-DUSE_COLLECT2"
5903 # Set MD_DEPS if the real md file is in md.pre-cpp.
5904 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
5905 # for line oriented comments, so we must always use a GNU cpp. If
5906 # building gcc with a cross compiler, use the cross compiler just
5907 # built. Otherwise, we can use the cpp just built.
5909 if test "x$md_cppflags" = x
5911 md_file_sub
=$srcdir/config
/$md_file
5916 # If we have gas in the build tree, make a link to it.
5917 if test -f ..
/gas
/Makefile
; then
5918 rm -f as
; $symbolic_link ..
/gas
/as-new
$host_exeext as
$host_exeext 2>/dev
/null
5921 # If we have nm in the build tree, make a link to it.
5922 if test -f ..
/binutils
/Makefile
; then
5923 rm -f nm
; $symbolic_link ..
/binutils
/nm-new
$host_exeext nm
$host_exeext 2>/dev
/null
5926 # If we have ld in the build tree, make a link to it.
5927 if test -f ..
/ld
/Makefile
; then
5928 # if test x$use_collect2 = x; then
5929 # rm -f ld; $symbolic_link ../ld/ld-new$host_exeext ld$host_exeext 2>/dev/null
5931 rm -f collect-ld
; $symbolic_link ..
/ld
/ld-new
$host_exeext collect-ld
$host_exeext 2>/dev
/null
5935 # Figure out what assembler alignment features are present.
5936 echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
5937 echo "configure:5938: checking assembler alignment features" >&5
5939 gcc_cv_as_alignment_features
=
5940 gcc_cv_as_gas_srcdir
=`echo $srcdir | sed -e 's,/gcc$,,'`/gas
5941 if test -x "$DEFAULT_ASSEMBLER"; then
5942 gcc_cv_as
="$DEFAULT_ASSEMBLER"
5943 elif test -x "$AS"; then
5945 elif test -x as
$host_exeext; then
5946 # Build using assembler in the current directory.
5947 gcc_cv_as
=.
/as
$host_exeext
5948 elif test -f $gcc_cv_as_gas_srcdir/configure.
in -a -f ..
/gas
/Makefile
; then
5949 # Single tree build which includes gas.
5950 for f
in $gcc_cv_as_gas_srcdir/configure
$gcc_cv_as_gas_srcdir/configure.
in $gcc_cv_as_gas_srcdir/Makefile.
in
5952 gcc_cv_gas_version
=`grep '^VERSION=[0-9]*\.[0-9]*' $f`
5953 if test x
$gcc_cv_gas_version != x
; then
5957 gcc_cv_gas_major_version
=`expr "$gcc_cv_gas_version" : "VERSION=\([0-9]*\)"`
5958 gcc_cv_gas_minor_version
=`expr "$gcc_cv_gas_version" : "VERSION=[0-9]*\.\([0-9]*\)"`
5959 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
5960 # Gas version 2.6 and later support for .balign and .p2align.
5961 # bytes to skip when using .p2align.
5962 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 6 -o "$gcc_cv_gas_major_version" -gt 2; then
5963 gcc_cv_as_alignment_features
=".balign and .p2align"
5964 cat >> confdefs.h
<<\EOF
5965 #define HAVE_GAS_BALIGN_AND_P2ALIGN 1
5969 # Gas version 2.8 and later support specifying the maximum
5970 # bytes to skip when using .p2align.
5971 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 8 -o "$gcc_cv_gas_major_version" -gt 2; then
5972 gcc_cv_as_alignment_features
=".p2align including maximum skip"
5973 cat >> confdefs.h
<<\EOF
5974 #define HAVE_GAS_MAX_SKIP_P2ALIGN 1
5979 elif test x
$host = x
$target; then
5981 gcc_cv_as
=as
$host_exeext
5983 if test x
$gcc_cv_as != x
; then
5984 # Check if we have .balign and .p2align
5985 echo ".balign 4" > conftest.s
5986 echo ".p2align 2" >> conftest.s
5987 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
5988 gcc_cv_as_alignment_features
=".balign and .p2align"
5989 cat >> confdefs.h
<<\EOF
5990 #define HAVE_GAS_BALIGN_AND_P2ALIGN 1
5994 rm -f conftest.s conftest.o
5995 # Check if specifying the maximum bytes to skip when
5996 # using .p2align is supported.
5997 echo ".p2align 4,,7" > conftest.s
5998 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
5999 gcc_cv_as_alignment_features
=".p2align including maximum skip"
6000 cat >> confdefs.h
<<\EOF
6001 #define HAVE_GAS_MAX_SKIP_P2ALIGN 1
6005 rm -f conftest.s conftest.o
6007 echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
6009 echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
6010 echo "configure:6011: checking assembler subsection support" >&5
6011 gcc_cv_as_subsections
=
6012 if test x
$gcc_cv_as != x
; then
6013 # Check if we have .subsection
6014 echo ".subsection 1" > conftest.s
6015 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
6016 gcc_cv_as_subsections
=".subsection"
6017 if test -x nm
$host_exeext; then
6018 gcc_cv_nm
=.
/nm
$host_exeext
6019 elif test x
$host = x
$target; then
6021 gcc_cv_nm
=nm
$host_exeext
6023 if test x
$gcc_cv_nm != x
; then
6024 cat > conftest.s
<<EOF
6025 conftest_label1: .word 0
6027 conftest_label2: .word 0
6030 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
6031 $gcc_cv_nm conftest.o |
grep conftest_label1
> conftest.nm1
6032 $gcc_cv_nm conftest.o |
grep conftest_label2 |
sed -e 's/label2/label1/' > conftest.nm2
6033 if cmp conftest.nm1 conftest.nm2
> /dev
/null
2>&1; then
6036 gcc_cv_as_subsections
="working .subsection -1"
6037 cat >> confdefs.h
<<\EOF
6038 #define HAVE_GAS_SUBSECTION_ORDERING 1
6045 rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
6047 echo "$ac_t""$gcc_cv_as_subsections" 1>&6
6049 # Figure out what language subdirectories are present.
6050 # Look if the user specified --enable-languages="..."; if not, use
6051 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6053 if test x
"${enable_languages+set}" != xset
; then
6054 if test x
"${LANGUAGES+set}" = xset
; then
6055 enable_languages
="`echo ${LANGUAGES} | tr ' ' ','`"
6057 enable_languages
=all
6061 for lang
in ${srcdir}/*/config-lang.
in ..
6065 # The odd quoting in the next line works around
6066 # an apparent bug in bash 1.12 on linux.
6067 ${srcdir}/[*]/config-lang.
in) ;;
6069 lang_alias
=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
6070 if test "x$lang_alias" = x
6072 echo "$lang doesn't set \$language." 1>&2
6075 if test x
"${enable_languages}" = xall
; then
6078 case "${enable_languages}" in
6079 ${lang_alias} | "${lang_alias},"* | *",${lang_alias},"* | *",${lang_alias}" )
6087 if test x"${add_this_lang}" = xyes; then
6089 ${srcdir}/ada/config-lang.in)
6090 if test x$gnat = xyes ; then
6091 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
6095 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
6103 # Make gthr-default.h if we have a thread file.
6105 if test $thread_file != single; then
6106 rm -f gthr-default.h
6107 echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
6108 gthread_flags
=-DHAVE_GTHR_DEFAULT
6112 # Make empty files to contain the specs and options for each language.
6113 # Then add #include lines to for a compiler that has specs and/or options.
6118 rm -f specs.h options.h gencheck.h
6119 touch specs.h options.h gencheck.h
6120 for subdir
in .
$subdirs
6122 if test -f $srcdir/$subdir/lang-specs.h
; then
6123 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
6124 lang_specs_files
="$lang_specs_files $srcdir/$subdir/lang-specs.h"
6126 if test -f $srcdir/$subdir/lang-options.h
; then
6127 echo "#include \"$subdir/lang-options.h\"" >>options.h
6128 lang_options_files
="$lang_options_files $srcdir/$subdir/lang-options.h"
6130 if test -f $srcdir/$subdir/$subdir-tree.def
; then
6131 echo "#include \"$subdir/$subdir-tree.def\"" >>gencheck.h
6132 lang_tree_files
="$lang_tree_files $srcdir/$subdir/$subdir-tree.def"
6136 # These (without "all_") are set in each config-lang.in.
6137 # `language' must be a single word so is spelled singularly.
6143 all_outputs
=Makefile
6144 # List of language makefile fragments.
6149 # Add the language fragments.
6150 # Languages are added via two mechanisms. Some information must be
6151 # recorded in makefile variables, these are defined in config-lang.in.
6152 # We accumulate them and plug them into the main Makefile.
6153 # The other mechanism is a set of hooks for each of the main targets
6154 # like `clean', `install', etc.
6156 language_fragments
="Make-lang"
6157 language_hooks
="Make-hooks"
6160 for s
in ..
$subdirs
6172 .
${srcdir}/$s/config-lang.
in
6173 if test "x$language" = x
6175 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
6178 all_lang_makefiles
="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
6179 all_languages
="$all_languages $language"
6180 if test "x$boot_language" = xyes
6182 all_boot_languages
="$all_boot_languages $language"
6184 all_compilers
="$all_compilers $compilers"
6185 all_stagestuff
="$all_stagestuff $stagestuff"
6186 all_diff_excludes
="$all_diff_excludes $diff_excludes"
6187 all_headers
="$all_headers $headers"
6188 all_outputs
="$all_outputs $outputs"
6189 if test x
$outputs = x
6191 oldstyle_subdirs
="$oldstyle_subdirs $s"
6193 all_lib2funcs
="$all_lib2funcs $lib2funcs"
6197 # Since we can't use `::' targets, we link each language in
6198 # with a set of hooks, reached indirectly via lang.${target}.
6202 target_list
="all.build all.cross start.encap rest.encap \
6204 install-normal install-common install-info install-man \
6206 mostlyclean clean distclean extraclean maintainer-clean \
6207 stage1 stage2 stage3 stage4"
6208 for t
in $target_list
6211 for l
in ..
$all_languages
6213 if test $l != ".."; then
6217 echo "lang.$t: $x" >> Make-hooks
6220 # If we're not building in srcdir, create .gdbinit.
6222 if test ! -f Makefile.
in; then
6223 echo "dir ." > .gdbinit
6224 echo "dir ${srcdir}" >> .gdbinit
6225 if test x
$gdb_needs_out_file_path = xyes
6227 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
6229 if test "x$subdirs" != x
; then
6232 echo "dir ${srcdir}/$s" >> .gdbinit
6235 echo "source ${srcdir}/.gdbinit" >> .gdbinit
6238 # Define variables host_canonical and build_canonical
6239 # because some Cygnus local changes in the Makefile depend on them.
6240 build_canonical
=${build}
6241 host_canonical
=${host}
6243 if test "${host}" != "${target}" ; then
6244 target_subdir
=${target}/
6250 # If this is using newlib, then define inhibit_libc in
6251 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
6252 # libgcc.a, but that's OK because newib should have its own version of
6255 if test x
$with_newlib = xyes
; then
6256 inhibit_libc
=-Dinhibit_libc
6260 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
6263 if test x
$enable_haifa = xyes
; then
6264 echo "Using the Haifa scheduler."
6266 sched_cflags
=-DHAIFA
6270 if test x
$enable_haifa != x
; then
6271 # Explicitly remove files that need to be recompiled for the Haifa scheduler.
6272 for x
in genattrtab.o toplev.o loop.o unroll.o
*sched.o
; do
6280 # if $(exec_prefix) is not the same as $(prefix), then do not use a relative
6281 # directory to get to $gcc_tooldir.
6282 # Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel
6283 # make and thus we'd get different behavior depending on where we built the
6285 if test x
$exec_prefix = x
$prefix; then
6286 gcc_tooldir
='$(libsubdir)/$(unlibsubdir)/../$(target_alias)'
6288 gcc_tooldir
='$(exec_prefix)'/${target_alias}
6292 # Warn if using init_priority.
6293 echo $ac_n "checking whether to enable init_priority by default""... $ac_c" 1>&6
6294 echo "configure:6295: checking whether to enable init_priority by default" >&5
6295 if test x
$enable_init_priority != xyes
; then
6296 enable_init_priority
=no
6298 echo "$ac_t""$enable_init_priority" 1>&6
6300 # Nothing to do for FLOAT_H, float_format already handled.
6304 # Process the language and host/target makefile fragments.
6305 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag
$srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
6307 # Substitute configuration variables
6366 # Echo that links are built
6367 if test x
$host = x
$target
6375 if test x
$host != x
$build
6377 str3
=" on a $build system"
6380 if test "x$str2" != x ||
test "x$str3" != x
6385 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
6387 if test "x$str2" != x ||
test "x$str3" != x
6389 echo " ${str2}${str3}." 1>&2
6392 # Truncate the target if necessary
6393 if test x
$host_truncate_target != x
; then
6394 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
6397 # Configure the subdirectories
6398 # AC_CONFIG_SUBDIRS($subdirs)
6400 # Create the Makefile
6401 # and configure language subdirectories
6403 cat > confcache
<<\EOF
6404 # This file is a shell script that caches the results of configure
6405 # tests run on this system so they can be shared between configure
6406 # scripts and configure runs. It is not useful on other systems.
6407 # If it contains results you don't want to keep, you may remove or edit it.
6409 # By default, configure uses ./config.cache as the cache file,
6410 # creating it if it does not exist already. You can give configure
6411 # the --cache-file=FILE option to use a different cache file; that is
6412 # what configure does when it calls configure scripts in
6413 # subdirectories, so they share the cache.
6414 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6415 # config.status only pays attention to the cache file if you give it the
6416 # --recheck option to rerun configure.
6419 # The following way of writing the cache mishandles newlines in values,
6420 # but we know of no workaround that is simple, portable, and efficient.
6421 # So, don't put newlines in cache variables' values.
6422 # Ultrix sh set writes to stderr and can't be redirected directly,
6423 # and sets the high bit in the cache file unless we assign to the vars.
6425 case `(ac_space=' '; set) 2>&1 | grep ac_space` in
6427 # `set' does not quote correctly, so add quotes (double-quote substitution
6428 # turns \\\\ into \\, and sed turns \\ into \).
6430 -e "s/'/'\\\\''/g" \
6431 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6434 # `set' quotes correctly as required by POSIX, so do not add quotes.
6435 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6438 if cmp -s $cache_file confcache
; then
6441 if test -w $cache_file; then
6442 echo "updating cache $cache_file"
6443 cat confcache
> $cache_file
6445 echo "not updating unwritable cache $cache_file"
6450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6452 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6453 # Let make expand exec_prefix.
6454 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6456 # Any assignment to VPATH causes Sun make to only execute
6457 # the first set of double-colon rules, so remove it if not needed.
6458 # If there is a colon in the path, we need to keep it.
6459 if test "x$srcdir" = x.
; then
6460 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6463 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
6465 DEFS
=-DHAVE_CONFIG_H
6467 # Without the "./", some shells look in PATH for config.status.
6468 : ${CONFIG_STATUS=./config.status}
6470 echo creating
$CONFIG_STATUS
6471 rm -f $CONFIG_STATUS
6472 cat > $CONFIG_STATUS <<EOF
6474 # Generated automatically by configure.
6475 # Run this file to recreate the current configuration.
6476 # This directory was configured as follows,
6477 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6479 # $0 $ac_configure_args
6481 # Compiler output produced by configure, useful for debugging
6482 # configure, is in ./config.log if it exists.
6484 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6487 case "\$ac_option" in
6488 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6489 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6490 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6491 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6492 echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
6494 -help | --help | --hel | --he | --h)
6495 echo "\$ac_cs_usage"; exit 0 ;;
6496 *) echo "\$ac_cs_usage"; exit 1 ;;
6500 ac_given_srcdir=$srcdir
6502 trap 'rm -fr `echo "$all_outputs auto-host.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
6504 cat >> $CONFIG_STATUS <<EOF
6506 # Protect against being on the right side of a sed subst in config.status.
6507 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6508 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6512 s%@CFLAGS@%$CFLAGS%g
6513 s%@CPPFLAGS@%$CPPFLAGS%g
6514 s%@CXXFLAGS@%$CXXFLAGS%g
6516 s%@LDFLAGS@%$LDFLAGS%g
6518 s%@exec_prefix@%$exec_prefix%g
6519 s%@prefix@%$prefix%g
6520 s%@program_transform_name@%$program_transform_name%g
6521 s%@bindir@%$bindir%g
6522 s%@sbindir@%$sbindir%g
6523 s%@libexecdir@%$libexecdir%g
6524 s%@datadir@%$datadir%g
6525 s%@sysconfdir@%$sysconfdir%g
6526 s%@sharedstatedir@%$sharedstatedir%g
6527 s%@localstatedir@%$localstatedir%g
6528 s%@libdir@%$libdir%g
6529 s%@includedir@%$includedir%g
6530 s%@oldincludedir@%$oldincludedir%g
6531 s%@infodir@%$infodir%g
6532 s%@mandir@%$mandir%g
6534 s%@host_alias@%$host_alias%g
6535 s%@host_cpu@%$host_cpu%g
6536 s%@host_vendor@%$host_vendor%g
6537 s%@host_os@%$host_os%g
6538 s%@target@%$target%g
6539 s%@target_alias@%$target_alias%g
6540 s%@target_cpu@%$target_cpu%g
6541 s%@target_vendor@%$target_vendor%g
6542 s%@target_os@%$target_os%g
6544 s%@build_alias@%$build_alias%g
6545 s%@build_cpu@%$build_cpu%g
6546 s%@build_vendor@%$build_vendor%g
6547 s%@build_os@%$build_os%g
6549 s%@stage1_warn_cflags@%$stage1_warn_cflags%g
6550 s%@SET_MAKE@%$SET_MAKE%g
6553 s%@LEXLIB@%$LEXLIB%g
6556 s%@RANLIB@%$RANLIB%g
6558 s%@INSTALL@%$INSTALL%g
6559 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6560 s%@INSTALL_DATA@%$INSTALL_DATA%g
6563 s%@vfprintf@%$vfprintf%g
6564 s%@doprint@%$doprint%g
6565 s%@manext@%$manext%g
6566 s%@objext@%$objext%g
6567 s%@gthread_flags@%$gthread_flags%g
6568 s%@build_canonical@%$build_canonical%g
6569 s%@host_canonical@%$host_canonical%g
6570 s%@target_subdir@%$target_subdir%g
6571 s%@inhibit_libc@%$inhibit_libc%g
6572 s%@sched_prefix@%$sched_prefix%g
6573 s%@sched_cflags@%$sched_cflags%g
6574 s%@gcc_tooldir@%$gcc_tooldir%g
6575 s%@objdir@%$objdir%g
6576 s%@subdirs@%$subdirs%g
6577 s%@all_languages@%$all_languages%g
6578 s%@all_boot_languages@%$all_boot_languages%g
6579 s%@all_compilers@%$all_compilers%g
6580 s%@all_lang_makefiles@%$all_lang_makefiles%g
6581 s%@all_stagestuff@%$all_stagestuff%g
6582 s%@all_diff_excludes@%$all_diff_excludes%g
6583 s%@all_lib2funcs@%$all_lib2funcs%g
6584 s%@all_headers@%$all_headers%g
6585 s%@cpp_main@%$cpp_main%g
6586 s%@extra_passes@%$extra_passes%g
6587 s%@extra_programs@%$extra_programs%g
6588 s%@extra_parts@%$extra_parts%g
6589 s%@extra_c_objs@%$extra_c_objs%g
6590 s%@extra_cxx_objs@%$extra_cxx_objs%g
6591 s%@extra_cpp_objs@%$extra_cpp_objs%g
6592 s%@extra_c_flags@%$extra_c_flags%g
6593 s%@extra_objs@%$extra_objs%g
6594 s%@host_extra_gcc_objs@%$host_extra_gcc_objs%g
6595 s%@extra_headers_list@%$extra_headers_list%g
6596 s%@dep_host_xmake_file@%$dep_host_xmake_file%g
6597 s%@dep_tmake_file@%$dep_tmake_file%g
6598 s%@out_file@%$out_file%g
6599 s%@out_object_file@%$out_object_file%g
6600 s%@md_file@%$md_file%g
6601 s%@tm_file_list@%$tm_file_list%g
6602 s%@build_xm_file_list@%$build_xm_file_list%g
6603 s%@host_xm_file_list@%$host_xm_file_list%g
6604 s%@lang_specs_files@%$lang_specs_files%g
6605 s%@lang_options_files@%$lang_options_files%g
6606 s%@lang_tree_files@%$lang_tree_files%g
6607 s%@thread_file@%$thread_file%g
6608 s%@objc_boehm_gc@%$objc_boehm_gc%g
6609 s%@JAVAGC@%$JAVAGC%g
6610 s%@gcc_version@%$gcc_version%g
6611 s%@gcc_version_trigger@%$gcc_version_trigger%g
6612 s%@local_prefix@%$local_prefix%g
6613 s%@gxx_include_dir@%$gxx_include_dir%g
6614 s%@fixincludes@%$fixincludes%g
6615 s%@build_install_headers_dir@%$build_install_headers_dir%g
6616 s%@build_exeext@%$build_exeext%g
6617 s%@host_exeext@%$host_exeext%g
6618 s%@float_format@%$float_format%g
6619 s%@will_use_collect2@%$will_use_collect2%g
6620 s%@maybe_use_collect2@%$maybe_use_collect2%g
6621 s%@cc_set_by_configure@%$cc_set_by_configure%g
6622 s%@stage_prefix_set_by_configure@%$stage_prefix_set_by_configure%g
6623 s%@install@%$install%g
6624 s%@symbolic_link@%$symbolic_link%g
6625 /@target_overrides@/r $target_overrides
6626 s%@target_overrides@%%g
6627 /@host_overrides@/r $host_overrides
6628 s%@host_overrides@%%g
6629 s%@cross_defines@%$cross_defines%g
6630 /@cross_overrides@/r $cross_overrides
6631 s%@cross_overrides@%%g
6632 /@build_overrides@/r $build_overrides
6633 s%@build_overrides@%%g
6634 /@language_fragments@/r $language_fragments
6635 s%@language_fragments@%%g
6636 /@language_hooks@/r $language_hooks
6637 s%@language_hooks@%%g
6642 cat >> $CONFIG_STATUS <<\EOF
6644 # Split the substitutions into bite-sized pieces for seds with
6645 # small command number limits, like on Digital OSF/1 and HP-UX.
6646 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
6647 ac_file
=1 # Number of current file.
6648 ac_beg
=1 # First line for current file.
6649 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
6652 while $ac_more_lines; do
6653 if test $ac_beg -gt 1; then
6654 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
6656 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
6658 if test ! -s conftest.s
$ac_file; then
6660 rm -f conftest.s
$ac_file
6662 if test -z "$ac_sed_cmds"; then
6663 ac_sed_cmds
="sed -f conftest.s$ac_file"
6665 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
6667 ac_file
=`expr $ac_file + 1`
6669 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
6672 if test -z "$ac_sed_cmds"; then
6677 cat >> $CONFIG_STATUS <<EOF
6679 CONFIG_FILES=\${CONFIG_FILES-"$all_outputs"}
6681 cat >> $CONFIG_STATUS <<\EOF
6682 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
6683 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6685 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6686 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6687 *) ac_file_in
="${ac_file}.in" ;;
6690 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6692 # Remove last slash and all that follows it. Not all systems have dirname.
6693 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6694 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6695 # The file is in a subdirectory.
6696 test ! -d "$ac_dir" && mkdir
"$ac_dir"
6697 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
6698 # A "../" for each directory in $ac_dir_suffix.
6699 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6701 ac_dir_suffix
= ac_dots
=
6704 case "$ac_given_srcdir" in
6706 if test -z "$ac_dots"; then top_srcdir
=.
6707 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6708 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
6710 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6711 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6715 echo creating
"$ac_file"
6717 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6719 *Makefile
*) ac_comsub
="1i\\
6720 # $configure_input" ;;
6724 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6726 s%@configure_input@%$configure_input%g
6727 s%@srcdir@%$srcdir%g
6728 s%@top_srcdir@%$top_srcdir%g
6729 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
6733 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6734 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6736 # ac_d sets the value in "#define NAME VALUE" lines.
6737 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6738 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
6741 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6742 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6743 ac_uB
='\([ ]\)%\1#\2define\3'
6746 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6747 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6748 ac_eB
='$%\1#\2define\3'
6752 if test "${CONFIG_HEADERS+set}" != set; then
6754 cat >> $CONFIG_STATUS <<EOF
6755 CONFIG_HEADERS="auto-host.h:config.in"
6757 cat >> $CONFIG_STATUS <<\EOF
6759 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
6760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6762 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6763 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6764 *) ac_file_in
="${ac_file}.in" ;;
6767 echo creating
$ac_file
6769 rm -f conftest.frag conftest.
in conftest.out
6770 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6771 cat $ac_file_inputs > conftest.
in
6775 # Transform confdefs.h into a sed script conftest.vals that substitutes
6776 # the proper values into config.h.in to produce config.h. And first:
6777 # Protect against being on the right side of a sed subst in config.status.
6778 # Protect against being in an unquoted here document in config.status.
6780 cat > conftest.hdr
<<\EOF
6783 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
6787 sed -n -f conftest.hdr confdefs.h > conftest.vals
6790 # This sed command replaces #undef with comments. This is necessary, for
6791 # example, in the case of _POSIX_SOURCE, which is predefined and required
6792 # on some systems where configure will not decide to define it.
6793 cat >> conftest.vals <<\EOF
6794 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
6797 # Break up conftest.vals because some shells have a limit on
6798 # the size of here documents, and old seds have small limits too.
6803 ac_lines=`grep -c . conftest.vals
`
6804 # grep -c gives empty output for an empty file on some AIX systems.
6805 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
6806 # Write a limited-size here document to conftest.frag.
6807 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
6808 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
6810 sed -f conftest.frag conftest.in > conftest.out
6812 mv conftest.out conftest.in
6814 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
6816 mv conftest.tail conftest.vals
6820 cat >> $CONFIG_STATUS <<\EOF
6821 rm -f conftest.frag conftest.h
6822 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
6823 cat conftest.in >> conftest.h
6825 if cmp -s $ac_file conftest.h 2>/dev/null; then
6826 echo "$ac_file is unchanged"
6829 # Remove last slash and all that follows it. Not all systems have dirname.
6830 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
6831 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6832 # The file is in a subdirectory.
6833 test ! -d "$ac_dir" && mkdir "$ac_dir"
6836 mv conftest.h $ac_file
6841 cat >> $CONFIG_STATUS <<EOF
6846 target_alias='${target_alias}'
6848 subdirs='${subdirs}'
6849 oldstyle_subdirs='${oldstyle_subdirs}'
6850 symbolic_link='${symbolic_link}'
6851 program_transform_set='${program_transform_set}'
6852 program_transform_name='${program_transform_name}'
6853 dep_host_xmake_file='${dep_host_xmake_file}'
6854 host_xmake_file='${host_xmake_file}'
6855 dep_tmake_file='${dep_tmake_file}'
6856 tmake_file='${tmake_file}'
6857 thread_file='${thread_file}'
6858 gcc_version='${gcc_version}'
6859 gcc_version_trigger='${gcc_version_trigger}'
6860 local_prefix='${local_prefix}'
6861 build_install_headers_dir='${build_install_headers_dir}'
6862 build_exeext='${build_exeext}'
6863 host_exeext='${host_exeext}'
6864 out_file='${out_file}'
6865 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
6866 SET_MAKE='${SET_MAKE}'
6867 target_list='${target_list}'
6868 target_overrides='${target_overrides}'
6869 host_overrides='${host_overrides}'
6870 cross_defines='${cross_defines}'
6871 cross_overrides='${cross_overrides}'
6872 build_overrides='${build_overrides}'
6875 cat >> $CONFIG_STATUS <<\EOF
6877 . $srcdir/configure.lang
6878 case x$CONFIG_HEADERS in
6879 xauto-host.h:config.in)
6882 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
6883 # bootstrapping and the installation procedure can still use
6884 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
6885 # FLAGS_TO_PASS has been modified to solve the problem there.
6886 # This is virtually a duplicate of what happens in configure.lang; we do
6887 # an extra check to make sure this only happens if ln -s can be used.
6888 if test "$symbolic_link" = "ln -s"; then
6889 for d in .. ${subdirs} ; do
6890 if test $d != ..; then
6893 for t in stage1 stage2 stage3 stage4 include
6896 $symbolic_link ../$t $t 2>/dev/null
6905 chmod +x $CONFIG_STATUS
6906 rm -fr confdefs* $ac_clean_files
6907 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1