3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-gnu-ld arrange to work with GNU ld."
17 --with-gnu-as arrange to work with GNU as."
19 --with-stabs arrange to use stabs instead of host debug format."
21 --with-elf arrange to use ELF instead of host debug format."
23 --with-local-prefix=DIR specifies directory to put local include."
25 --with-gxx-include-dir=DIR
26 specifies directory to put g++ header files."
28 --enable-c-cpplib Use cpplib for C."
30 --enable-threads enable thread usage for target GCC.
31 --enable-threads=LIB use LIB thread package for target GCC."
33 # Initialize some variables set by options.
34 # The variables have the same names as the options, with
35 # dashes changed to underlines.
37 cache_file
=.
/config.cache
46 program_transform_name
=s
,x
,x
,
54 bindir
='${exec_prefix}/bin'
55 sbindir
='${exec_prefix}/sbin'
56 libexecdir
='${exec_prefix}/libexec'
57 datadir
='${prefix}/share'
58 sysconfdir
='${prefix}/etc'
59 sharedstatedir
='${prefix}/com'
60 localstatedir
='${prefix}/var'
61 libdir
='${exec_prefix}/lib'
62 includedir
='${prefix}/include'
63 oldincludedir
='/usr/include'
64 infodir
='${prefix}/info'
65 mandir
='${prefix}/man'
67 # Initialize some other variables.
70 # Maximum number of lines to put in a shell here document.
77 # If the previous option needs an argument, assign it.
78 if test -n "$ac_prev"; then
79 eval "$ac_prev=\$ac_option"
85 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
89 # Accept the important Cygnus configure options, so we can diagnose typos.
93 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
95 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
96 bindir
="$ac_optarg" ;;
98 -build |
--build |
--buil |
--bui |
--bu)
100 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
101 build
="$ac_optarg" ;;
103 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
104 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
105 ac_prev
=cache_file
;;
106 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
107 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
108 cache_file
="$ac_optarg" ;;
110 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
112 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
114 datadir
="$ac_optarg" ;;
116 -disable-* |
--disable-*)
117 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
118 # Reject names that are not valid shell variable names.
119 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
120 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
122 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
123 eval "enable_${ac_feature}=no" ;;
125 -enable-* |
--enable-*)
126 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
127 # Reject names that are not valid shell variable names.
128 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
129 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
131 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
136 eval "enable_${ac_feature}='$ac_optarg'" ;;
138 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
139 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
140 |
--exec |
--exe |
--ex)
141 ac_prev
=exec_prefix
;;
142 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
143 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
144 |
--exec=* |
--exe=* |
--ex=*)
145 exec_prefix
="$ac_optarg" ;;
147 -gas |
--gas |
--ga |
--g)
148 # Obsolete; use --with-gas.
151 -help |
--help |
--hel |
--he)
152 # Omit some internal or obsolete options to make the list less imposing.
153 # This message is too long to be a string in the A/UX 3.1 sh.
155 Usage: configure [options] [host]
156 Options: [defaults in brackets after descriptions]
158 --cache-file=FILE cache test results in FILE
159 --help print this message
160 --no-create do not create output files
161 --quiet, --silent do not print \`checking...' messages
162 --version print the version of autoconf that created configure
163 Directory and file names:
164 --prefix=PREFIX install architecture-independent files in PREFIX
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
168 --bindir=DIR user executables in DIR [EPREFIX/bin]
169 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
170 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
171 --datadir=DIR read-only architecture-independent data in DIR
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
176 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
177 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
178 --includedir=DIR C header files in DIR [PREFIX/include]
179 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
180 --infodir=DIR info documentation in DIR [PREFIX/info]
181 --mandir=DIR man documentation in DIR [PREFIX/man]
182 --srcdir=DIR find the sources in DIR [configure dir or ..]
183 --program-prefix=PREFIX prepend PREFIX to installed program names
184 --program-suffix=SUFFIX append SUFFIX to installed program names
185 --program-transform-name=PROGRAM
186 run sed PROGRAM on installed program names
190 --build=BUILD configure for building on BUILD [BUILD=HOST]
191 --host=HOST configure for HOST [guessed]
192 --target=TARGET configure for TARGET [TARGET=HOST]
193 Features and packages:
194 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
195 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
196 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
197 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
198 --x-includes=DIR X include files are in DIR
199 --x-libraries=DIR X library files are in DIR
201 if test -n "$ac_help"; then
202 echo "--enable and --with options recognized:$ac_help"
206 -host |
--host |
--hos |
--ho)
208 -host=* |
--host=* |
--hos=* |
--ho=*)
211 -includedir |
--includedir |
--includedi |
--included |
--include \
212 |
--includ |
--inclu |
--incl |
--inc)
213 ac_prev
=includedir
;;
214 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
215 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
216 includedir
="$ac_optarg" ;;
218 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
220 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
221 infodir
="$ac_optarg" ;;
223 -libdir |
--libdir |
--libdi |
--libd)
225 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
226 libdir
="$ac_optarg" ;;
228 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
229 |
--libexe |
--libex |
--libe)
230 ac_prev
=libexecdir
;;
231 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
232 |
--libexe=* |
--libex=* |
--libe=*)
233 libexecdir
="$ac_optarg" ;;
235 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
236 |
--localstate |
--localstat |
--localsta |
--localst \
237 |
--locals |
--local |
--loca |
--loc |
--lo)
238 ac_prev
=localstatedir
;;
239 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
240 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
241 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
242 localstatedir
="$ac_optarg" ;;
244 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
246 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
247 mandir
="$ac_optarg" ;;
250 # Obsolete; use --without-fp.
253 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
257 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
258 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
261 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
262 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
263 |
--oldin |
--oldi |
--old |
--ol |
--o)
264 ac_prev
=oldincludedir
;;
265 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
266 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
267 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
268 oldincludedir
="$ac_optarg" ;;
270 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
272 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
273 prefix
="$ac_optarg" ;;
275 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
276 |
--program-pre |
--program-pr |
--program-p)
277 ac_prev
=program_prefix
;;
278 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
279 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
280 program_prefix
="$ac_optarg" ;;
282 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
283 |
--program-suf |
--program-su |
--program-s)
284 ac_prev
=program_suffix
;;
285 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
286 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
287 program_suffix
="$ac_optarg" ;;
289 -program-transform-name |
--program-transform-name \
290 |
--program-transform-nam |
--program-transform-na \
291 |
--program-transform-n |
--program-transform- \
292 |
--program-transform |
--program-transfor \
293 |
--program-transfo |
--program-transf \
294 |
--program-trans |
--program-tran \
295 |
--progr-tra |
--program-tr |
--program-t)
296 ac_prev
=program_transform_name
;;
297 -program-transform-name=* |
--program-transform-name=* \
298 |
--program-transform-nam=* |
--program-transform-na=* \
299 |
--program-transform-n=* |
--program-transform-=* \
300 |
--program-transform=* |
--program-transfor=* \
301 |
--program-transfo=* |
--program-transf=* \
302 |
--program-trans=* |
--program-tran=* \
303 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
304 program_transform_name
="$ac_optarg" ;;
306 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
307 |
-silent |
--silent |
--silen |
--sile |
--sil)
310 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
312 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
314 sbindir
="$ac_optarg" ;;
316 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
317 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
318 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
320 ac_prev
=sharedstatedir
;;
321 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
322 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
323 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
325 sharedstatedir
="$ac_optarg" ;;
327 -site |
--site |
--sit)
329 -site=* |
--site=* |
--sit=*)
332 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
334 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
335 srcdir
="$ac_optarg" ;;
337 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
338 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
339 ac_prev
=sysconfdir
;;
340 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
341 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
342 sysconfdir
="$ac_optarg" ;;
344 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
346 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
347 target
="$ac_optarg" ;;
349 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
352 -version |
--version |
--versio |
--versi |
--vers)
353 echo "configure generated by autoconf version 2.12"
357 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
360 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362 ac_package
=`echo $ac_package| sed 's/-/_/g'`
367 eval "with_${ac_package}='$ac_optarg'" ;;
369 -without-* |
--without-*)
370 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
373 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375 ac_package
=`echo $ac_package| sed 's/-/_/g'`
376 eval "with_${ac_package}=no" ;;
379 # Obsolete; use --with-x.
382 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
383 |
--x-incl |
--x-inc |
--x-in |
--x-i)
384 ac_prev
=x_includes
;;
385 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
386 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
387 x_includes
="$ac_optarg" ;;
389 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
390 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
391 ac_prev
=x_libraries
;;
392 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
393 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
394 x_libraries
="$ac_optarg" ;;
396 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
400 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
401 echo "configure: warning: $ac_option: invalid host type" 1>&2
403 if test "x$nonopt" != xNONE
; then
404 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
412 if test -n "$ac_prev"; then
413 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
416 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
418 # File descriptor usage:
421 # 2 errors and warnings
422 # 3 some systems may open it to /dev/tty
423 # 4 used on the Kubota Titan
424 # 6 checking for... messages and results
425 # 5 compiler messages saved in config.log
426 if test "$silent" = yes; then
434 This file contains any messages produced by compilers while
435 running configure, to aid debugging if configure makes a mistake.
438 # Strip out --no-create and --no-recursion so they do not pile up.
439 # Also quote any args containing shell metacharacters.
444 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
445 |
--no-cr |
--no-c) ;;
446 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
447 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
448 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
449 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
450 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
455 # Only set these to C if already set. These must not be set unconditionally
456 # because not all systems understand e.g. LANG=C (notably SCO).
457 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
458 # Non-C LC_CTYPE values break the ctype check.
459 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
460 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
461 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
462 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
465 rm -rf conftest
* confdefs.h
466 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
469 # A filename unique to this package, relative to the directory that
470 # configure is in, which we can look for to find out if srcdir is correct.
471 ac_unique_file
=tree.c
473 # Find the source files, if location was not specified.
474 if test -z "$srcdir"; then
475 ac_srcdir_defaulted
=yes
476 # Try the directory containing this script, then its parent.
478 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
479 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
481 if test ! -r $srcdir/$ac_unique_file; then
485 ac_srcdir_defaulted
=no
487 if test ! -r $srcdir/$ac_unique_file; then
488 if test "$ac_srcdir_defaulted" = yes; then
489 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
491 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
494 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
496 # Prefer explicitly selected file to automatically selected ones.
497 if test -z "$CONFIG_SITE"; then
498 if test "x$prefix" != xNONE
; then
499 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
501 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
504 for ac_site_file
in $CONFIG_SITE; do
505 if test -r "$ac_site_file"; then
506 echo "loading site script $ac_site_file"
511 if test -r "$cache_file"; then
512 echo "loading cache $cache_file"
515 echo "creating cache $cache_file"
520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
521 ac_cpp
='$CPP $CPPFLAGS'
522 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
523 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
524 cross_compiling
=$ac_cv_prog_cc_cross
526 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
527 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
528 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
535 ac_n
= ac_c
='\c' ac_t
=
544 symbolic_link
='ln -s'
547 # Check for additional parameters
550 # Check whether --with-gnu-ld or --without-gnu-ld was given.
551 if test "${with_gnu_ld+set}" = set; then
552 withval
="$with_gnu_ld"
560 # Check whether --with-gnu-as or --without-gnu-as was given.
561 if test "${with_gnu_as+set}" = set; then
562 withval
="$with_gnu_as"
570 # Check whether --with-stabs or --without-stabs was given.
571 if test "${with_stabs+set}" = set; then
572 withval
="$with_stabs"
580 # Check whether --with-elf or --without-elf was given.
581 if test "${with_elf+set}" = set; then
589 # Specify the local prefix
590 # Check whether --with-local-prefix or --without-local-prefix was given.
591 if test "${with_local_prefix+set}" = set; then
592 withval
="$with_local_prefix"
593 local_prefix
=$with_local_prefix
595 local_prefix
=/usr
/local
599 # Default local prefix if it is empty
600 if [ x
$local_prefix = x
]; then
601 local_prefix
=/usr
/local
604 # Specify the g++ header file directory
605 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
606 if test "${with_gxx_include_dir+set}" = set; then
607 withval
="$with_gxx_include_dir"
608 gxx_include_dir
=$with_gxx_include_dir
610 gxx_include_dir
='${prefix}/include/g++'
614 # Default g++ header file directory if it is empty
615 if [ x
$gxx_include_dir = x
]; then
616 gxx_include_dir
='${prefix}/include/g++'
619 # Enable use of cpplib for C.
620 # Check whether --enable-c-cpplib or --disable-c-cpplib was given.
621 if test "${enable_c_cpplib+set}" = set; then
622 enableval
="$enable_c_cpplib"
623 if [ x
$enable_c_cpplib != xno
]; then
624 extra_c_objs
="${extra_c_objs} cpplib.o cppexp.o cpphash.o cpperror.o"
625 extra_c_flags
=-DUSE_CPPLIB=1
631 # Pass with no value to take the default
632 # Pass with a value to specify a thread package
633 # Check whether --enable-threads or --disable-threads was given.
634 if test "${enable_threads+set}" = set; then
635 enableval
="$enable_threads"
636 if [ x
$enable_threads = xno
]; then
644 # Check if a valid thread package
645 case x
${enable_threads} in
654 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
656 thread_file
=$enable_threads
659 echo "$enable_threads is an unknown thread package" 1>&2
664 # Determine the host, build, and target systems
666 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
667 if test -f $ac_dir/install-sh
; then
669 ac_install_sh
="$ac_aux_dir/install-sh -c"
671 elif test -f $ac_dir/install.sh
; then
673 ac_install_sh
="$ac_aux_dir/install.sh -c"
677 if test -z "$ac_aux_dir"; then
678 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
680 ac_config_guess
=$ac_aux_dir/config.guess
681 ac_config_sub
=$ac_aux_dir/config.sub
682 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
685 # Do some error checking and defaulting for the host and target type.
687 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
690 # 1. You are not allowed to specify --host, --target, and nonopt at the
692 # 2. Host defaults to nonopt.
693 # 3. If nonopt is not specified, then host defaults to the current host,
694 # as determined by config.guess.
695 # 4. Target and build default to nonopt.
696 # 5. If nonopt is not specified, then target and build default to host.
698 # The aliases save the names the user supplied, while $host etc.
699 # will get canonicalized.
700 case $host---$target---$nonopt in
701 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
702 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
706 # Make sure we can run config.sub.
707 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
708 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
711 echo $ac_n "checking host system type""... $ac_c" 1>&6
712 echo "configure:713: checking host system type" >&5
715 case "$host_alias" in
719 if host_alias
=`$ac_config_guess`; then :
720 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
722 *) host_alias
=$nonopt ;;
726 host=`$ac_config_sub $host_alias`
727 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$host" 1>&6
732 echo $ac_n "checking target system type""... $ac_c" 1>&6
733 echo "configure:734: checking target system type" >&5
736 case "$target_alias" in
739 NONE
) target_alias
=$host_alias ;;
740 *) target_alias
=$nonopt ;;
744 target
=`$ac_config_sub $target_alias`
745 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$target" 1>&6
750 echo $ac_n "checking build system type""... $ac_c" 1>&6
751 echo "configure:752: checking build system type" >&5
754 case "$build_alias" in
757 NONE
) build_alias
=$host_alias ;;
758 *) build_alias
=$nonopt ;;
762 build
=`$ac_config_sub $build_alias`
763 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
764 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
765 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
766 echo "$ac_t""$build" 1>&6
768 test "$host_alias" != "$target_alias" &&
769 test "$program_prefix$program_suffix$program_transform_name" = \
771 program_prefix
=${target_alias}-
774 # Find the native compiler
775 # Extract the first word of "gcc", so it can be a program name with args.
776 set dummy gcc
; ac_word
=$2
777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
778 echo "configure:779: checking for $ac_word" >&5
779 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
780 echo $ac_n "(cached) $ac_c" 1>&6
782 if test -n "$CC"; then
783 ac_cv_prog_CC
="$CC" # Let the user override the test.
785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
786 for ac_dir
in $PATH; do
787 test -z "$ac_dir" && ac_dir
=.
788 if test -f $ac_dir/$ac_word; then
797 if test -n "$CC"; then
798 echo "$ac_t""$CC" 1>&6
800 echo "$ac_t""no" 1>&6
803 if test -z "$CC"; then
804 # Extract the first word of "cc", so it can be a program name with args.
805 set dummy cc
; ac_word
=$2
806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
807 echo "configure:808: checking for $ac_word" >&5
808 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
809 echo $ac_n "(cached) $ac_c" 1>&6
811 if test -n "$CC"; then
812 ac_cv_prog_CC
="$CC" # Let the user override the test.
814 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
816 for ac_dir
in $PATH; do
817 test -z "$ac_dir" && ac_dir
=.
818 if test -f $ac_dir/$ac_word; then
819 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
828 if test $ac_prog_rejected = yes; then
829 # We found a bogon in the path, so make sure we never use it.
830 set dummy
$ac_cv_prog_CC
832 if test $# -gt 0; then
833 # We chose a different compiler from the bogus one.
834 # However, it has the same basename, so the bogon will be chosen
835 # first if we set CC to just the basename; use the full file name.
837 set dummy
"$ac_dir/$ac_word" "$@"
845 if test -n "$CC"; then
846 echo "$ac_t""$CC" 1>&6
848 echo "$ac_t""no" 1>&6
851 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
854 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
855 echo "configure:856: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
859 ac_cpp
='$CPP $CPPFLAGS'
860 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
861 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
862 cross_compiling
=$ac_cv_prog_cc_cross
864 cat > conftest.
$ac_ext <<EOF
865 #line 866 "configure"
866 #include "confdefs.h"
869 if { (eval echo configure
:870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
870 ac_cv_prog_cc_works
=yes
871 # If we can't run a trivial program, we are probably using a cross compiler.
872 if (.
/conftest
; exit) 2>/dev
/null
; then
873 ac_cv_prog_cc_cross
=no
875 ac_cv_prog_cc_cross
=yes
878 echo "configure: failed program was:" >&5
879 cat conftest.
$ac_ext >&5
880 ac_cv_prog_cc_works
=no
884 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
885 if test $ac_cv_prog_cc_works = no
; then
886 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
889 echo "configure:890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
890 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
891 cross_compiling
=$ac_cv_prog_cc_cross
893 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
894 echo "configure:895: checking whether we are using GNU C" >&5
895 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
896 echo $ac_n "(cached) $ac_c" 1>&6
898 cat > conftest.c
<<EOF
903 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
910 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
912 if test $ac_cv_prog_gcc = yes; then
914 ac_test_CFLAGS
="${CFLAGS+set}"
915 ac_save_CFLAGS
="$CFLAGS"
917 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
918 echo "configure:919: checking whether ${CC-cc} accepts -g" >&5
919 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
920 echo $ac_n "(cached) $ac_c" 1>&6
922 echo 'void f(){}' > conftest.c
923 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
932 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
933 if test "$ac_test_CFLAGS" = set; then
934 CFLAGS
="$ac_save_CFLAGS"
935 elif test $ac_cv_prog_cc_g = yes; then
942 test "${CFLAGS+set}" = set || CFLAGS
="-g"
945 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
946 echo "configure:947: checking whether ${MAKE-make} sets \${MAKE}" >&5
947 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
948 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
949 echo $ac_n "(cached) $ac_c" 1>&6
951 cat > conftestmake
<<\EOF
953 @
echo 'ac_maketemp="${MAKE}"'
955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
956 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
957 if test -n "$ac_maketemp"; then
958 eval ac_cv_prog_make_
${ac_make}_set
=yes
960 eval ac_cv_prog_make_
${ac_make}_set
=no
964 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
965 echo "$ac_t""yes" 1>&6
968 echo "$ac_t""no" 1>&6
969 SET_MAKE
="MAKE=${MAKE-make}"
973 # Find some useful tools
974 for ac_prog
in mawk gawk nawk
awk
976 # Extract the first word of "$ac_prog", so it can be a program name with args.
977 set dummy
$ac_prog; ac_word
=$2
978 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
979 echo "configure:980: checking for $ac_word" >&5
980 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
981 echo $ac_n "(cached) $ac_c" 1>&6
983 if test -n "$AWK"; then
984 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
986 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
987 for ac_dir
in $PATH; do
988 test -z "$ac_dir" && ac_dir
=.
989 if test -f $ac_dir/$ac_word; then
990 ac_cv_prog_AWK
="$ac_prog"
997 AWK
="$ac_cv_prog_AWK"
998 if test -n "$AWK"; then
999 echo "$ac_t""$AWK" 1>&6
1001 echo "$ac_t""no" 1>&6
1004 test -n "$AWK" && break
1007 # Extract the first word of "flex", so it can be a program name with args.
1008 set dummy flex
; ac_word
=$2
1009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1010 echo "configure:1011: checking for $ac_word" >&5
1011 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1012 echo $ac_n "(cached) $ac_c" 1>&6
1014 if test -n "$LEX"; then
1015 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
1017 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1018 for ac_dir
in $PATH; do
1019 test -z "$ac_dir" && ac_dir
=.
1020 if test -f $ac_dir/$ac_word; then
1021 ac_cv_prog_LEX
="flex"
1026 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
1029 LEX
="$ac_cv_prog_LEX"
1030 if test -n "$LEX"; then
1031 echo "$ac_t""$LEX" 1>&6
1033 echo "$ac_t""no" 1>&6
1036 if test -z "$LEXLIB"
1042 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
1043 echo "configure:1044: checking for yywrap in -l$ac_lib" >&5
1044 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
1045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1046 echo $ac_n "(cached) $ac_c" 1>&6
1048 ac_save_LIBS
="$LIBS"
1049 LIBS
="-l$ac_lib $LIBS"
1050 cat > conftest.
$ac_ext <<EOF
1051 #line 1052 "configure"
1052 #include "confdefs.h"
1053 /* Override any gcc2 internal prototype to avoid an error. */
1054 /* We use char because int might match the return type of a gcc2
1055 builtin and then its argument prototype would still apply. */
1062 if { (eval echo configure
:1063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1064 eval "ac_cv_lib_$ac_lib_var=yes"
1066 echo "configure: failed program was:" >&5
1067 cat conftest.
$ac_ext >&5
1069 eval "ac_cv_lib_$ac_lib_var=no"
1072 LIBS
="$ac_save_LIBS"
1075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1076 echo "$ac_t""yes" 1>&6
1079 echo "$ac_t""no" 1>&6
1084 # Extract the first word of "ranlib", so it can be a program name with args.
1085 set dummy ranlib
; ac_word
=$2
1086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1087 echo "configure:1088: checking for $ac_word" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1091 if test -n "$RANLIB"; then
1092 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1094 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1095 for ac_dir
in $PATH; do
1096 test -z "$ac_dir" && ac_dir
=.
1097 if test -f $ac_dir/$ac_word; then
1098 ac_cv_prog_RANLIB
="ranlib"
1103 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1106 RANLIB
="$ac_cv_prog_RANLIB"
1107 if test -n "$RANLIB"; then
1108 echo "$ac_t""$RANLIB" 1>&6
1110 echo "$ac_t""no" 1>&6
1113 for ac_prog
in 'bison -y' byacc
1115 # Extract the first word of "$ac_prog", so it can be a program name with args.
1116 set dummy
$ac_prog; ac_word
=$2
1117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1118 echo "configure:1119: checking for $ac_word" >&5
1119 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1120 echo $ac_n "(cached) $ac_c" 1>&6
1122 if test -n "$YACC"; then
1123 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1126 for ac_dir
in $PATH; do
1127 test -z "$ac_dir" && ac_dir
=.
1128 if test -f $ac_dir/$ac_word; then
1129 ac_cv_prog_YACC
="$ac_prog"
1136 YACC
="$ac_cv_prog_YACC"
1137 if test -n "$YACC"; then
1138 echo "$ac_t""$YACC" 1>&6
1140 echo "$ac_t""no" 1>&6
1143 test -n "$YACC" && break
1145 test -n "$YACC" || YACC
="yacc"
1147 # Find a good install program. We prefer a C program (faster),
1148 # so one script is as good as another. But avoid the broken or
1149 # incompatible versions:
1150 # SysV /etc/install, /usr/sbin/install
1151 # SunOS /usr/etc/install
1152 # IRIX /sbin/install
1154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1156 # ./install, which can be erroneously created by make from ./install.sh.
1157 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1158 echo "configure:1159: checking for a BSD compatible install" >&5
1159 if test -z "$INSTALL"; then
1160 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1163 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1164 for ac_dir
in $PATH; do
1165 # Account for people who put trailing slashes in PATH elements.
1167 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1169 # OSF1 and SCO ODT 3.0 have their own names for install.
1170 for ac_prog
in ginstall installbsd scoinst
install; do
1171 if test -f $ac_dir/$ac_prog; then
1172 if test $ac_prog = install &&
1173 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1174 # AIX install. It has an incompatible calling convention.
1175 # OSF/1 installbsd also uses dspmsg, but is usable.
1178 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1189 if test "${ac_cv_path_install+set}" = set; then
1190 INSTALL
="$ac_cv_path_install"
1192 # As a last resort, use the slow shell script. We don't cache a
1193 # path for INSTALL within a source directory, because that will
1194 # break other packages using the cache if that directory is
1195 # removed, or if the path is relative.
1196 INSTALL
="$ac_install_sh"
1199 echo "$ac_t""$INSTALL" 1>&6
1201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1202 # It thinks the first close brace ends the variable substitution.
1203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1205 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1208 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1209 echo "configure:1210: checking how to run the C preprocessor" >&5
1210 # On Suns, sometimes $CPP names a directory.
1211 if test -n "$CPP" && test -d "$CPP"; then
1214 if test -z "$CPP"; then
1215 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 # This must be in double quotes, not single quotes, because CPP may get
1219 # substituted into the Makefile and "${CC-cc}" will confuse make.
1221 # On the NeXT, cc -E runs the code through the compiler's parser,
1222 # not just through cpp.
1223 cat > conftest.
$ac_ext <<EOF
1224 #line 1225 "configure"
1225 #include "confdefs.h"
1229 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1230 { (eval echo configure
:1231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1231 ac_err
=`grep -v '^ *+' conftest.out`
1232 if test -z "$ac_err"; then
1236 echo "configure: failed program was:" >&5
1237 cat conftest.
$ac_ext >&5
1239 CPP
="${CC-cc} -E -traditional-cpp"
1240 cat > conftest.
$ac_ext <<EOF
1241 #line 1242 "configure"
1242 #include "confdefs.h"
1246 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1247 { (eval echo configure
:1248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1248 ac_err
=`grep -v '^ *+' conftest.out`
1249 if test -z "$ac_err"; then
1253 echo "configure: failed program was:" >&5
1254 cat conftest.
$ac_ext >&5
1261 ac_cv_prog_CPP
="$CPP"
1263 CPP
="$ac_cv_prog_CPP"
1265 ac_cv_prog_CPP
="$CPP"
1267 echo "$ac_t""$CPP" 1>&6
1269 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1270 echo "configure:1271: checking for ANSI C header files" >&5
1271 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1272 echo $ac_n "(cached) $ac_c" 1>&6
1274 cat > conftest.
$ac_ext <<EOF
1275 #line 1276 "configure"
1276 #include "confdefs.h"
1282 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1283 { (eval echo configure
:1284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1284 ac_err
=`grep -v '^ *+' conftest.out`
1285 if test -z "$ac_err"; then
1287 ac_cv_header_stdc
=yes
1290 echo "configure: failed program was:" >&5
1291 cat conftest.
$ac_ext >&5
1293 ac_cv_header_stdc
=no
1297 if test $ac_cv_header_stdc = yes; then
1298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1299 cat > conftest.
$ac_ext <<EOF
1300 #line 1301 "configure"
1301 #include "confdefs.h"
1304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1305 egrep "memchr" >/dev
/null
2>&1; then
1309 ac_cv_header_stdc
=no
1315 if test $ac_cv_header_stdc = yes; then
1316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1317 cat > conftest.
$ac_ext <<EOF
1318 #line 1319 "configure"
1319 #include "confdefs.h"
1322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1323 egrep "free" >/dev
/null
2>&1; then
1327 ac_cv_header_stdc
=no
1333 if test $ac_cv_header_stdc = yes; then
1334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1335 if test "$cross_compiling" = yes; then
1338 cat > conftest.
$ac_ext <<EOF
1339 #line 1340 "configure"
1340 #include "confdefs.h"
1342 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1343 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1345 int main () { int i; for (i = 0; i < 256; i++)
1346 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1350 if { (eval echo configure
:1351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
1354 echo "configure: failed program was:" >&5
1355 cat conftest.
$ac_ext >&5
1357 ac_cv_header_stdc
=no
1365 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1366 if test $ac_cv_header_stdc = yes; then
1367 cat >> confdefs.h
<<\EOF
1368 #define STDC_HEADERS 1
1373 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1374 echo "configure:1375: checking whether time.h and sys/time.h may both be included" >&5
1375 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1378 cat > conftest.
$ac_ext <<EOF
1379 #line 1380 "configure"
1380 #include "confdefs.h"
1381 #include <sys/types.h>
1382 #include <sys/time.h>
1388 if { (eval echo configure
:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1390 ac_cv_header_time
=yes
1392 echo "configure: failed program was:" >&5
1393 cat conftest.
$ac_ext >&5
1395 ac_cv_header_time
=no
1400 echo "$ac_t""$ac_cv_header_time" 1>&6
1401 if test $ac_cv_header_time = yes; then
1402 cat >> confdefs.h
<<\EOF
1403 #define TIME_WITH_SYS_TIME 1
1408 for ac_hdr
in limits.h stddef.h string.h
strings.h stdlib.h
time.h fcntl.h unistd.h sys
/file.h sys
/time.h sys
/resource.h sys
/param.h sys
/times.h
1410 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1411 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1412 echo "configure:1413: checking for $ac_hdr" >&5
1413 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1414 echo $ac_n "(cached) $ac_c" 1>&6
1416 cat > conftest.
$ac_ext <<EOF
1417 #line 1418 "configure"
1418 #include "confdefs.h"
1421 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1422 { (eval echo configure
:1423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1423 ac_err
=`grep -v '^ *+' conftest.out`
1424 if test -z "$ac_err"; then
1426 eval "ac_cv_header_$ac_safe=yes"
1429 echo "configure: failed program was:" >&5
1430 cat conftest.
$ac_ext >&5
1432 eval "ac_cv_header_$ac_safe=no"
1436 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1437 echo "$ac_t""yes" 1>&6
1438 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1439 cat >> confdefs.h
<<EOF
1440 #define $ac_tr_hdr 1
1444 echo "$ac_t""no" 1>&6
1449 # Use <inttypes.h> only if it exists,
1450 # doesn't clash with <sys/types.h>, and declares intmax_t.
1451 echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
1452 echo "configure:1453: checking for inttypes.h" >&5
1453 if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
1454 echo $ac_n "(cached) $ac_c" 1>&6
1456 cat > conftest.
$ac_ext <<EOF
1457 #line 1458 "configure"
1458 #include "confdefs.h"
1459 #include <sys/types.h>
1460 #include <inttypes.h>
1465 if { (eval echo configure
:1466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1467 gcc_cv_header_inttypes_h
=yes
1469 echo "configure: failed program was:" >&5
1470 cat conftest.
$ac_ext >&5
1472 gcc_cv_header_inttypes_h
=no
1477 echo "$ac_t""$gcc_cv_header_inttypes_h" 1>&6
1478 if test $gcc_cv_header_inttypes_h = yes; then
1479 cat >> confdefs.h
<<\EOF
1480 #define HAVE_INTTYPES_H 1
1485 for ac_func
in strerror
1487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1488 echo "configure:1489: checking for $ac_func" >&5
1489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1490 echo $ac_n "(cached) $ac_c" 1>&6
1492 cat > conftest.
$ac_ext <<EOF
1493 #line 1494 "configure"
1494 #include "confdefs.h"
1495 /* System header to define __stub macros and hopefully few prototypes,
1496 which can conflict with char $ac_func(); below. */
1498 /* Override any gcc2 internal prototype to avoid an error. */
1499 /* We use char because int might match the return type of a gcc2
1500 builtin and then its argument prototype would still apply. */
1505 /* The GNU C library defines this for functions which it implements
1506 to always fail with ENOSYS. Some functions are actually named
1507 something starting with __ and the normal name is an alias. */
1508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1516 if { (eval echo configure
:1517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1518 eval "ac_cv_func_$ac_func=yes"
1520 echo "configure: failed program was:" >&5
1521 cat conftest.
$ac_ext >&5
1523 eval "ac_cv_func_$ac_func=no"
1528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1529 echo "$ac_t""yes" 1>&6
1530 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1531 cat >> confdefs.h
<<EOF
1532 #define $ac_tr_func 1
1536 echo "$ac_t""no" 1>&6
1540 for ac_func
in putenv
1542 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1543 echo "configure:1544: checking for $ac_func" >&5
1544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1545 echo $ac_n "(cached) $ac_c" 1>&6
1547 cat > conftest.
$ac_ext <<EOF
1548 #line 1549 "configure"
1549 #include "confdefs.h"
1550 /* System header to define __stub macros and hopefully few prototypes,
1551 which can conflict with char $ac_func(); below. */
1553 /* Override any gcc2 internal prototype to avoid an error. */
1554 /* We use char because int might match the return type of a gcc2
1555 builtin and then its argument prototype would still apply. */
1560 /* The GNU C library defines this for functions which it implements
1561 to always fail with ENOSYS. Some functions are actually named
1562 something starting with __ and the normal name is an alias. */
1563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1571 if { (eval echo configure
:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1573 eval "ac_cv_func_$ac_func=yes"
1575 echo "configure: failed program was:" >&5
1576 cat conftest.
$ac_ext >&5
1578 eval "ac_cv_func_$ac_func=no"
1583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1584 echo "$ac_t""yes" 1>&6
1585 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1586 cat >> confdefs.h
<<EOF
1587 #define $ac_tr_func 1
1591 echo "$ac_t""no" 1>&6
1595 for ac_func
in popen
1597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1598 echo "configure:1599: checking for $ac_func" >&5
1599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1600 echo $ac_n "(cached) $ac_c" 1>&6
1602 cat > conftest.
$ac_ext <<EOF
1603 #line 1604 "configure"
1604 #include "confdefs.h"
1605 /* System header to define __stub macros and hopefully few prototypes,
1606 which can conflict with char $ac_func(); below. */
1608 /* Override any gcc2 internal prototype to avoid an error. */
1609 /* We use char because int might match the return type of a gcc2
1610 builtin and then its argument prototype would still apply. */
1615 /* The GNU C library defines this for functions which it implements
1616 to always fail with ENOSYS. Some functions are actually named
1617 something starting with __ and the normal name is an alias. */
1618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1626 if { (eval echo configure
:1627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1628 eval "ac_cv_func_$ac_func=yes"
1630 echo "configure: failed program was:" >&5
1631 cat conftest.
$ac_ext >&5
1633 eval "ac_cv_func_$ac_func=no"
1638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1639 echo "$ac_t""yes" 1>&6
1640 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1641 cat >> confdefs.h
<<EOF
1642 #define $ac_tr_func 1
1646 echo "$ac_t""no" 1>&6
1650 for ac_func
in vprintf
1652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1653 echo "configure:1654: checking for $ac_func" >&5
1654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1655 echo $ac_n "(cached) $ac_c" 1>&6
1657 cat > conftest.
$ac_ext <<EOF
1658 #line 1659 "configure"
1659 #include "confdefs.h"
1660 /* System header to define __stub macros and hopefully few prototypes,
1661 which can conflict with char $ac_func(); below. */
1663 /* Override any gcc2 internal prototype to avoid an error. */
1664 /* We use char because int might match the return type of a gcc2
1665 builtin and then its argument prototype would still apply. */
1670 /* The GNU C library defines this for functions which it implements
1671 to always fail with ENOSYS. Some functions are actually named
1672 something starting with __ and the normal name is an alias. */
1673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1681 if { (eval echo configure
:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1683 eval "ac_cv_func_$ac_func=yes"
1685 echo "configure: failed program was:" >&5
1686 cat conftest.
$ac_ext >&5
1688 eval "ac_cv_func_$ac_func=no"
1693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1694 echo "$ac_t""yes" 1>&6
1695 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1696 cat >> confdefs.h
<<EOF
1697 #define $ac_tr_func 1
1701 echo "$ac_t""no" 1>&6
1705 for ac_func
in bcopy
1707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1708 echo "configure:1709: checking for $ac_func" >&5
1709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1710 echo $ac_n "(cached) $ac_c" 1>&6
1712 cat > conftest.
$ac_ext <<EOF
1713 #line 1714 "configure"
1714 #include "confdefs.h"
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $ac_func(); below. */
1718 /* Override any gcc2 internal prototype to avoid an error. */
1719 /* We use char because int might match the return type of a gcc2
1720 builtin and then its argument prototype would still apply. */
1725 /* The GNU C library defines this for functions which it implements
1726 to always fail with ENOSYS. Some functions are actually named
1727 something starting with __ and the normal name is an alias. */
1728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1736 if { (eval echo configure
:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1738 eval "ac_cv_func_$ac_func=yes"
1740 echo "configure: failed program was:" >&5
1741 cat conftest.
$ac_ext >&5
1743 eval "ac_cv_func_$ac_func=no"
1748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1749 echo "$ac_t""yes" 1>&6
1750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1751 cat >> confdefs.h
<<EOF
1752 #define $ac_tr_func 1
1756 echo "$ac_t""no" 1>&6
1760 for ac_func
in bzero
1762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1763 echo "configure:1764: checking for $ac_func" >&5
1764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1765 echo $ac_n "(cached) $ac_c" 1>&6
1767 cat > conftest.
$ac_ext <<EOF
1768 #line 1769 "configure"
1769 #include "confdefs.h"
1770 /* System header to define __stub macros and hopefully few prototypes,
1771 which can conflict with char $ac_func(); below. */
1773 /* Override any gcc2 internal prototype to avoid an error. */
1774 /* We use char because int might match the return type of a gcc2
1775 builtin and then its argument prototype would still apply. */
1780 /* The GNU C library defines this for functions which it implements
1781 to always fail with ENOSYS. Some functions are actually named
1782 something starting with __ and the normal name is an alias. */
1783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1791 if { (eval echo configure
:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1793 eval "ac_cv_func_$ac_func=yes"
1795 echo "configure: failed program was:" >&5
1796 cat conftest.
$ac_ext >&5
1798 eval "ac_cv_func_$ac_func=no"
1803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1804 echo "$ac_t""yes" 1>&6
1805 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1806 cat >> confdefs.h
<<EOF
1807 #define $ac_tr_func 1
1811 echo "$ac_t""no" 1>&6
1817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1818 echo "configure:1819: checking for $ac_func" >&5
1819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 cat > conftest.
$ac_ext <<EOF
1823 #line 1824 "configure"
1824 #include "confdefs.h"
1825 /* System header to define __stub macros and hopefully few prototypes,
1826 which can conflict with char $ac_func(); below. */
1828 /* Override any gcc2 internal prototype to avoid an error. */
1829 /* We use char because int might match the return type of a gcc2
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1846 if { (eval echo configure
:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1848 eval "ac_cv_func_$ac_func=yes"
1850 echo "configure: failed program was:" >&5
1851 cat conftest.
$ac_ext >&5
1853 eval "ac_cv_func_$ac_func=no"
1858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1859 echo "$ac_t""yes" 1>&6
1860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1861 cat >> confdefs.h
<<EOF
1862 #define $ac_tr_func 1
1866 echo "$ac_t""no" 1>&6
1870 for ac_func
in index
1872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1873 echo "configure:1874: checking for $ac_func" >&5
1874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1875 echo $ac_n "(cached) $ac_c" 1>&6
1877 cat > conftest.
$ac_ext <<EOF
1878 #line 1879 "configure"
1879 #include "confdefs.h"
1880 /* System header to define __stub macros and hopefully few prototypes,
1881 which can conflict with char $ac_func(); below. */
1883 /* Override any gcc2 internal prototype to avoid an error. */
1884 /* We use char because int might match the return type of a gcc2
1885 builtin and then its argument prototype would still apply. */
1890 /* The GNU C library defines this for functions which it implements
1891 to always fail with ENOSYS. Some functions are actually named
1892 something starting with __ and the normal name is an alias. */
1893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1901 if { (eval echo configure
:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1903 eval "ac_cv_func_$ac_func=yes"
1905 echo "configure: failed program was:" >&5
1906 cat conftest.
$ac_ext >&5
1908 eval "ac_cv_func_$ac_func=no"
1913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1914 echo "$ac_t""yes" 1>&6
1915 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1916 cat >> confdefs.h
<<EOF
1917 #define $ac_tr_func 1
1921 echo "$ac_t""no" 1>&6
1925 for ac_func
in rindex
1927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1928 echo "configure:1929: checking for $ac_func" >&5
1929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1930 echo $ac_n "(cached) $ac_c" 1>&6
1932 cat > conftest.
$ac_ext <<EOF
1933 #line 1934 "configure"
1934 #include "confdefs.h"
1935 /* System header to define __stub macros and hopefully few prototypes,
1936 which can conflict with char $ac_func(); below. */
1938 /* Override any gcc2 internal prototype to avoid an error. */
1939 /* We use char because int might match the return type of a gcc2
1940 builtin and then its argument prototype would still apply. */
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1956 if { (eval echo configure
:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1958 eval "ac_cv_func_$ac_func=yes"
1960 echo "configure: failed program was:" >&5
1961 cat conftest.
$ac_ext >&5
1963 eval "ac_cv_func_$ac_func=no"
1968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1969 echo "$ac_t""yes" 1>&6
1970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1971 cat >> confdefs.h
<<EOF
1972 #define $ac_tr_func 1
1976 echo "$ac_t""no" 1>&6
1982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1983 echo "configure:1984: checking for $ac_func" >&5
1984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1985 echo $ac_n "(cached) $ac_c" 1>&6
1987 cat > conftest.
$ac_ext <<EOF
1988 #line 1989 "configure"
1989 #include "confdefs.h"
1990 /* System header to define __stub macros and hopefully few prototypes,
1991 which can conflict with char $ac_func(); below. */
1993 /* Override any gcc2 internal prototype to avoid an error. */
1994 /* We use char because int might match the return type of a gcc2
1995 builtin and then its argument prototype would still apply. */
2000 /* The GNU C library defines this for functions which it implements
2001 to always fail with ENOSYS. Some functions are actually named
2002 something starting with __ and the normal name is an alias. */
2003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2011 if { (eval echo configure
:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2013 eval "ac_cv_func_$ac_func=yes"
2015 echo "configure: failed program was:" >&5
2016 cat conftest.
$ac_ext >&5
2018 eval "ac_cv_func_$ac_func=no"
2023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2024 echo "$ac_t""yes" 1>&6
2025 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2026 cat >> confdefs.h
<<EOF
2027 #define $ac_tr_func 1
2031 echo "$ac_t""no" 1>&6
2035 for ac_func
in getrlimit
2037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2038 echo "configure:2039: checking for $ac_func" >&5
2039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2040 echo $ac_n "(cached) $ac_c" 1>&6
2042 cat > conftest.
$ac_ext <<EOF
2043 #line 2044 "configure"
2044 #include "confdefs.h"
2045 /* System header to define __stub macros and hopefully few prototypes,
2046 which can conflict with char $ac_func(); below. */
2048 /* Override any gcc2 internal prototype to avoid an error. */
2049 /* We use char because int might match the return type of a gcc2
2050 builtin and then its argument prototype would still apply. */
2055 /* The GNU C library defines this for functions which it implements
2056 to always fail with ENOSYS. Some functions are actually named
2057 something starting with __ and the normal name is an alias. */
2058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2066 if { (eval echo configure
:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2068 eval "ac_cv_func_$ac_func=yes"
2070 echo "configure: failed program was:" >&5
2071 cat conftest.
$ac_ext >&5
2073 eval "ac_cv_func_$ac_func=no"
2078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2079 echo "$ac_t""yes" 1>&6
2080 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2081 cat >> confdefs.h
<<EOF
2082 #define $ac_tr_func 1
2086 echo "$ac_t""no" 1>&6
2090 for ac_func
in setrlimit
2092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2093 echo "configure:2094: checking for $ac_func" >&5
2094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2095 echo $ac_n "(cached) $ac_c" 1>&6
2097 cat > conftest.
$ac_ext <<EOF
2098 #line 2099 "configure"
2099 #include "confdefs.h"
2100 /* System header to define __stub macros and hopefully few prototypes,
2101 which can conflict with char $ac_func(); below. */
2103 /* Override any gcc2 internal prototype to avoid an error. */
2104 /* We use char because int might match the return type of a gcc2
2105 builtin and then its argument prototype would still apply. */
2110 /* The GNU C library defines this for functions which it implements
2111 to always fail with ENOSYS. Some functions are actually named
2112 something starting with __ and the normal name is an alias. */
2113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2121 if { (eval echo configure
:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2123 eval "ac_cv_func_$ac_func=yes"
2125 echo "configure: failed program was:" >&5
2126 cat conftest.
$ac_ext >&5
2128 eval "ac_cv_func_$ac_func=no"
2133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2134 echo "$ac_t""yes" 1>&6
2135 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2136 cat >> confdefs.h
<<EOF
2137 #define $ac_tr_func 1
2141 echo "$ac_t""no" 1>&6
2145 for ac_func
in sysconf
2147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2148 echo "configure:2149: checking for $ac_func" >&5
2149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2150 echo $ac_n "(cached) $ac_c" 1>&6
2152 cat > conftest.
$ac_ext <<EOF
2153 #line 2154 "configure"
2154 #include "confdefs.h"
2155 /* System header to define __stub macros and hopefully few prototypes,
2156 which can conflict with char $ac_func(); below. */
2158 /* Override any gcc2 internal prototype to avoid an error. */
2159 /* We use char because int might match the return type of a gcc2
2160 builtin and then its argument prototype would still apply. */
2165 /* The GNU C library defines this for functions which it implements
2166 to always fail with ENOSYS. Some functions are actually named
2167 something starting with __ and the normal name is an alias. */
2168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2176 if { (eval echo configure
:2177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2178 eval "ac_cv_func_$ac_func=yes"
2180 echo "configure: failed program was:" >&5
2181 cat conftest.
$ac_ext >&5
2183 eval "ac_cv_func_$ac_func=no"
2188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2189 echo "$ac_t""yes" 1>&6
2190 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2191 cat >> confdefs.h
<<EOF
2192 #define $ac_tr_func 1
2196 echo "$ac_t""no" 1>&6
2201 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
2202 echo "configure:2203: checking whether malloc must be declared" >&5
2203 if eval "test \"`echo '$''{'gcc_cv_decl_needed_malloc'+set}'`\" = set"; then
2204 echo $ac_n "(cached) $ac_c" 1>&6
2206 cat > conftest.
$ac_ext <<EOF
2207 #line 2208 "configure"
2208 #include "confdefs.h"
2211 #ifdef HAVE_STRING_H
2214 #ifdef HAVE_STRINGS_H
2215 #include <strings.h>
2218 #ifdef HAVE_STDLIB_H
2221 #ifdef HAVE_UNISTD_H
2225 #define rindex strrchr
2228 #define index strchr
2231 char *(*pfn) = (char *(*)) malloc
2234 if { (eval echo configure
:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2236 gcc_cv_decl_needed_malloc
=no
2238 echo "configure: failed program was:" >&5
2239 cat conftest.
$ac_ext >&5
2241 gcc_cv_decl_needed_malloc
=yes
2246 echo "$ac_t""$gcc_cv_decl_needed_malloc" 1>&6
2247 if test $gcc_cv_decl_needed_malloc = yes; then
2248 gcc_tr_decl
=NEED_DECLARATION_
`echo malloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2249 cat >> confdefs.h
<<EOF
2250 #define $gcc_tr_decl 1
2255 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
2256 echo "configure:2257: checking whether realloc must be declared" >&5
2257 if eval "test \"`echo '$''{'gcc_cv_decl_needed_realloc'+set}'`\" = set"; then
2258 echo $ac_n "(cached) $ac_c" 1>&6
2260 cat > conftest.
$ac_ext <<EOF
2261 #line 2262 "configure"
2262 #include "confdefs.h"
2265 #ifdef HAVE_STRING_H
2268 #ifdef HAVE_STRINGS_H
2269 #include <strings.h>
2272 #ifdef HAVE_STDLIB_H
2275 #ifdef HAVE_UNISTD_H
2279 #define rindex strrchr
2282 #define index strchr
2285 char *(*pfn) = (char *(*)) realloc
2288 if { (eval echo configure
:2289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2290 gcc_cv_decl_needed_realloc
=no
2292 echo "configure: failed program was:" >&5
2293 cat conftest.
$ac_ext >&5
2295 gcc_cv_decl_needed_realloc
=yes
2300 echo "$ac_t""$gcc_cv_decl_needed_realloc" 1>&6
2301 if test $gcc_cv_decl_needed_realloc = yes; then
2302 gcc_tr_decl
=NEED_DECLARATION_
`echo realloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2303 cat >> confdefs.h
<<EOF
2304 #define $gcc_tr_decl 1
2309 echo $ac_n "checking whether calloc must be declared""... $ac_c" 1>&6
2310 echo "configure:2311: checking whether calloc must be declared" >&5
2311 if eval "test \"`echo '$''{'gcc_cv_decl_needed_calloc'+set}'`\" = set"; then
2312 echo $ac_n "(cached) $ac_c" 1>&6
2314 cat > conftest.
$ac_ext <<EOF
2315 #line 2316 "configure"
2316 #include "confdefs.h"
2319 #ifdef HAVE_STRING_H
2322 #ifdef HAVE_STRINGS_H
2323 #include <strings.h>
2326 #ifdef HAVE_STDLIB_H
2329 #ifdef HAVE_UNISTD_H
2333 #define rindex strrchr
2336 #define index strchr
2339 char *(*pfn) = (char *(*)) calloc
2342 if { (eval echo configure
:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2344 gcc_cv_decl_needed_calloc
=no
2346 echo "configure: failed program was:" >&5
2347 cat conftest.
$ac_ext >&5
2349 gcc_cv_decl_needed_calloc
=yes
2354 echo "$ac_t""$gcc_cv_decl_needed_calloc" 1>&6
2355 if test $gcc_cv_decl_needed_calloc = yes; then
2356 gcc_tr_decl
=NEED_DECLARATION_
`echo calloc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2357 cat >> confdefs.h
<<EOF
2358 #define $gcc_tr_decl 1
2363 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
2364 echo "configure:2365: checking whether free must be declared" >&5
2365 if eval "test \"`echo '$''{'gcc_cv_decl_needed_free'+set}'`\" = set"; then
2366 echo $ac_n "(cached) $ac_c" 1>&6
2368 cat > conftest.
$ac_ext <<EOF
2369 #line 2370 "configure"
2370 #include "confdefs.h"
2373 #ifdef HAVE_STRING_H
2376 #ifdef HAVE_STRINGS_H
2377 #include <strings.h>
2380 #ifdef HAVE_STDLIB_H
2383 #ifdef HAVE_UNISTD_H
2387 #define rindex strrchr
2390 #define index strchr
2393 char *(*pfn) = (char *(*)) free
2396 if { (eval echo configure
:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 gcc_cv_decl_needed_free
=no
2400 echo "configure: failed program was:" >&5
2401 cat conftest.
$ac_ext >&5
2403 gcc_cv_decl_needed_free
=yes
2408 echo "$ac_t""$gcc_cv_decl_needed_free" 1>&6
2409 if test $gcc_cv_decl_needed_free = yes; then
2410 gcc_tr_decl
=NEED_DECLARATION_
`echo free | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2411 cat >> confdefs.h
<<EOF
2412 #define $gcc_tr_decl 1
2417 echo $ac_n "checking whether index must be declared""... $ac_c" 1>&6
2418 echo "configure:2419: checking whether index must be declared" >&5
2419 if eval "test \"`echo '$''{'gcc_cv_decl_needed_index'+set}'`\" = set"; then
2420 echo $ac_n "(cached) $ac_c" 1>&6
2422 cat > conftest.
$ac_ext <<EOF
2423 #line 2424 "configure"
2424 #include "confdefs.h"
2427 #ifdef HAVE_STRING_H
2430 #ifdef HAVE_STRINGS_H
2431 #include <strings.h>
2434 #ifdef HAVE_STDLIB_H
2437 #ifdef HAVE_UNISTD_H
2441 #define rindex strrchr
2444 #define index strchr
2447 char *(*pfn) = (char *(*)) index
2450 if { (eval echo configure
:2451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2452 gcc_cv_decl_needed_index
=no
2454 echo "configure: failed program was:" >&5
2455 cat conftest.
$ac_ext >&5
2457 gcc_cv_decl_needed_index
=yes
2462 echo "$ac_t""$gcc_cv_decl_needed_index" 1>&6
2463 if test $gcc_cv_decl_needed_index = yes; then
2464 gcc_tr_decl
=NEED_DECLARATION_
`echo index | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2465 cat >> confdefs.h
<<EOF
2466 #define $gcc_tr_decl 1
2471 echo $ac_n "checking whether rindex must be declared""... $ac_c" 1>&6
2472 echo "configure:2473: checking whether rindex must be declared" >&5
2473 if eval "test \"`echo '$''{'gcc_cv_decl_needed_rindex'+set}'`\" = set"; then
2474 echo $ac_n "(cached) $ac_c" 1>&6
2476 cat > conftest.
$ac_ext <<EOF
2477 #line 2478 "configure"
2478 #include "confdefs.h"
2481 #ifdef HAVE_STRING_H
2484 #ifdef HAVE_STRINGS_H
2485 #include <strings.h>
2488 #ifdef HAVE_STDLIB_H
2491 #ifdef HAVE_UNISTD_H
2495 #define rindex strrchr
2498 #define index strchr
2501 char *(*pfn) = (char *(*)) rindex
2504 if { (eval echo configure
:2505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2506 gcc_cv_decl_needed_rindex
=no
2508 echo "configure: failed program was:" >&5
2509 cat conftest.
$ac_ext >&5
2511 gcc_cv_decl_needed_rindex
=yes
2516 echo "$ac_t""$gcc_cv_decl_needed_rindex" 1>&6
2517 if test $gcc_cv_decl_needed_rindex = yes; then
2518 gcc_tr_decl
=NEED_DECLARATION_
`echo rindex | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2519 cat >> confdefs.h
<<EOF
2520 #define $gcc_tr_decl 1
2525 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6
2526 echo "configure:2527: checking whether getenv must be declared" >&5
2527 if eval "test \"`echo '$''{'gcc_cv_decl_needed_getenv'+set}'`\" = set"; then
2528 echo $ac_n "(cached) $ac_c" 1>&6
2530 cat > conftest.
$ac_ext <<EOF
2531 #line 2532 "configure"
2532 #include "confdefs.h"
2535 #ifdef HAVE_STRING_H
2538 #ifdef HAVE_STRINGS_H
2539 #include <strings.h>
2542 #ifdef HAVE_STDLIB_H
2545 #ifdef HAVE_UNISTD_H
2549 #define rindex strrchr
2552 #define index strchr
2555 char *(*pfn) = (char *(*)) getenv
2558 if { (eval echo configure
:2559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2560 gcc_cv_decl_needed_getenv
=no
2562 echo "configure: failed program was:" >&5
2563 cat conftest.
$ac_ext >&5
2565 gcc_cv_decl_needed_getenv
=yes
2570 echo "$ac_t""$gcc_cv_decl_needed_getenv" 1>&6
2571 if test $gcc_cv_decl_needed_getenv = yes; then
2572 gcc_tr_decl
=NEED_DECLARATION_
`echo getenv | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2573 cat >> confdefs.h
<<EOF
2574 #define $gcc_tr_decl 1
2579 echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6
2580 echo "configure:2581: checking whether sbrk must be declared" >&5
2581 if eval "test \"`echo '$''{'gcc_cv_decl_needed_sbrk'+set}'`\" = set"; then
2582 echo $ac_n "(cached) $ac_c" 1>&6
2584 cat > conftest.
$ac_ext <<EOF
2585 #line 2586 "configure"
2586 #include "confdefs.h"
2589 #ifdef HAVE_STRING_H
2592 #ifdef HAVE_STRINGS_H
2593 #include <strings.h>
2596 #ifdef HAVE_STDLIB_H
2599 #ifdef HAVE_UNISTD_H
2603 #define rindex strrchr
2606 #define index strchr
2609 char *(*pfn) = (char *(*)) sbrk
2612 if { (eval echo configure
:2613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2614 gcc_cv_decl_needed_sbrk
=no
2616 echo "configure: failed program was:" >&5
2617 cat conftest.
$ac_ext >&5
2619 gcc_cv_decl_needed_sbrk
=yes
2624 echo "$ac_t""$gcc_cv_decl_needed_sbrk" 1>&6
2625 if test $gcc_cv_decl_needed_sbrk = yes; then
2626 gcc_tr_decl
=NEED_DECLARATION_
`echo sbrk | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2627 cat >> confdefs.h
<<EOF
2628 #define $gcc_tr_decl 1
2634 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2635 echo "configure:2636: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2636 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2637 echo $ac_n "(cached) $ac_c" 1>&6
2639 cat > conftest.
$ac_ext <<EOF
2640 #line 2641 "configure"
2641 #include "confdefs.h"
2642 #include <sys/types.h>
2644 /* NetBSD declares sys_siglist in unistd.h. */
2645 #ifdef HAVE_UNISTD_H
2649 char *msg = *(sys_siglist + 1);
2652 if { (eval echo configure
:2653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2654 ac_cv_decl_sys_siglist
=yes
2656 echo "configure: failed program was:" >&5
2657 cat conftest.
$ac_ext >&5
2659 ac_cv_decl_sys_siglist
=no
2664 echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
2665 if test $ac_cv_decl_sys_siglist = yes; then
2666 cat >> confdefs.h
<<\EOF
2667 #define SYS_SIGLIST_DECLARED 1
2680 build_broken_install
=
2681 build_install_headers_dir
=install-headers-tar
2685 host_truncate_target
=
2687 # Decode the host machine, then the target machine.
2688 # For the host machine, we save the xm_file variable as host_xm_file;
2689 # then we decode the target machine and forget everything else
2690 # that came from the host machine.
2691 for machine
in $build $host $target; do
2704 # Set this to force installation and use of collect2.
2706 # Set this to override the default target model.
2708 # Set this to force use of install.sh.
2710 # Set this to control which fixincludes program to use.
2711 fixincludes
=fixincludes
2712 # Set this to control how the header file directory is installed.
2713 install_headers_dir
=install-headers-tar
2714 # Set this to a non-empty list of args to pass to cpp if the target
2715 # wants its .md file passed through cpp.
2717 # Set this if directory names should be truncated to 14 characters.
2719 # Set this if gdb needs a dir command with `dirname $out_file`
2720 gdb_needs_out_file_path
=
2721 # Set this if the build machine requires executables to have a
2725 # Set default cpu_type, tm_file and xm_file so it can be updated in
2726 # each machine entry.
2727 cpu_type
=`echo $machine | sed 's/-.*$//'`
2761 tm_file
=${cpu_type}/${cpu_type}.h
2762 xm_file
=${cpu_type}/xm-
${cpu_type}.h
2765 # Support site-specific machine types.
2767 cpu_type
=`echo $machine | sed -e 's/-.*//'`
2768 rest
=`echo $machine | sed -e "s/$cpu_type-//"`
2769 xm_file
=${cpu_type}/xm-
$rest.h
2770 tm_file
=${cpu_type}/$rest.h
2771 if [ -f $srcdir/config
/${cpu_type}/x-
$rest ] ; \
2772 then xmake_file
=${cpu_type}/x-
$rest; \
2775 if [ -f $srcdir/config
/${cpu_type}/t-
$rest ] ; \
2776 then tmake_file
=${cpu_type}/t-
$rest; \
2782 a29k-
*-bsd* | a29k-
*-sym1*)
2783 tm_file
="${tm_file} a29k/unix.h"
2784 xm_file
=a29k
/xm-unix.h
2785 xmake_file
=a29k
/x-unix
2788 a29k-
*-udi | a29k-
*-coff)
2789 tm_file
="${tm_file} dbxcoff.h a29k/udi.h"
2790 tmake_file
=a29k
/t-a29kbare
2793 tm_file
="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
2794 tmake_file
=a29k
/t-vx29k
2795 extra_parts
="crtbegin.o crtend.o"
2797 a29k-
*-*) # Default a29k environment.
2800 alpha
*-*-linux-gnuecoff*)
2801 tm_file
="${tm_file} alpha/linux.h"
2802 xm_file
="${xm_file} alpha/xm-linux.h"
2803 target_cpu_default
="MASK_GAS"
2806 fixincludes
=Makefile.
in
2809 alpha
*-*-linux-gnulibc1*)
2810 tm_file
="${tm_file} alpha/linux.h alpha/elf.h"
2811 xm_file
="${xm_file} alpha/xm-linux.h"
2812 target_cpu_default
="MASK_GAS"
2813 tmake_file
="t-linux t-linux-gnulibc1 alpha/t-linux"
2815 fixincludes
=Makefile.
in
2817 if [ x
$enable_threads = xyes
]; then
2821 alpha
*-*-linux-gnu*)
2822 tm_file
="${tm_file} alpha/linux.h alpha/elf.h"
2823 xm_file
="${xm_file} alpha/xm-linux.h"
2824 target_cpu_default
="MASK_GAS"
2825 tmake_file
="t-linux alpha/t-linux"
2826 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2828 fixincludes
=Makefile.
in
2830 if [ x
$enable_threads = xyes
]; then
2835 if [ x
$stabs = xyes
]
2837 tm_file
="${tm_file} dbx.h"
2839 if [ x
$gas != xyes
]
2841 extra_passes
="mips-tfile mips-tdump"
2847 tm_file
="${tm_file} alpha/osf12.h alpha/osf2or3.h"
2850 tm_file
="${tm_file} alpha/osf2or3.h"
2853 # Some versions of OSF4 (specifically X4.0-9 296.7) have
2854 # a broken tar, so we use cpio instead.
2855 install_headers_dir
=install-headers-cpio
2859 *-*-osf4.0
[b-z
] |
*-*-osf4.
[1-9]*)
2860 target_cpu_default
=MASK_SUPPORT_ARCH
2865 tm_file
="${tm_file} alpha/win-nt.h"
2866 target_cpu_default
=MASK_WINDOWS_NT
2867 xm_file
="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
2868 tmake_file
=t-libc-ok
2869 xmake_file
=winnt
/x-winnt
2870 extra_host_objs
=oldnames.o
2871 extra_gcc_objs
="spawnv.o oldnames.o"
2872 fixincludes
=fixinc.winnt
2873 if [ x
$gnu_ld != xyes
]
2875 extra_programs
=ld.exe
2877 if [ x
$enable_threads = xyes
]; then
2883 xm_file
="${xm_file} alpha/xm-vms.h"
2884 tmake_file
=alpha
/t-vms
2885 fixincludes
=Makefile.
in
2888 extra_parts
="crtinit.o crtfini.o"
2890 arm-
*-coff* | armel-
*-coff*)
2892 tmake_file
=arm
/t-bare
2894 arm-
*-riscix1.
[01]*) # Acorn RISC machine (early versions)
2895 tm_file
=arm
/riscix1-1.h
2898 arm-
*-riscix*) # Acorn RISC machine
2901 tm_file
=arm
/rix-gas.h
2903 tm_file
=arm
/riscix.h
2905 xmake_file
=arm
/x-riscix
2906 tmake_file
=arm
/t-riscix
2909 arm-semi-aout | armel-semi-aout
)
2911 tmake_file
=arm
/t-semi
2912 fixincludes
=Makefile.
in # There is nothing to fix
2914 arm-semi-aof | armel-semi-aof
)
2915 tm_file
=arm
/semiaof.h
2916 tmake_file
=arm
/t-semiaof
2917 fixincludes
=Makefile.
in # There is nothing to fix
2920 tm_file
=arm
/netbsd.h
2921 xm_file
=arm
/xm-netbsd.h
2922 tmake_file
="t-netbsd arm/t-netbsd"
2923 # On NetBSD, the headers are already okay, except for math.h.
2924 fixincludes
=fixinc.math
2926 arm-
*-linux-gnuaout*) # ARM GNU/Linux
2928 xm_file
=arm
/xm-linux.h
2930 tm_file
=arm
/linux-gas.h
2931 tmake_file
=arm
/t-linux
2932 fixincludes
=Makefile.
in
2938 tmake_file
=arm
/t-bare
2940 c1-convex-
*) # Convex C1
2941 target_cpu_default
=1
2943 fixincludes
=Makefile.
in
2945 c2-convex-
*) # Convex C2
2946 target_cpu_default
=2
2948 fixincludes
=Makefile.
in
2951 target_cpu_default
=4
2953 fixincludes
=Makefile.
in
2956 target_cpu_default
=8
2958 fixincludes
=Makefile.
in
2961 target_cpu_default
=16
2963 fixincludes
=Makefile.
in
2965 clipper-intergraph-clix
*)
2966 tm_file
="${tm_file} svr3.h clipper/clix.h"
2967 xm_file
=clipper
/xm-clix.h
2968 xmake_file
=clipper
/x-clix
2969 extra_headers
=va-clipper.h
2970 extra_parts
="crtbegin.o crtend.o"
2971 install_headers_dir
=install-headers-cpio
2979 # This hasn't been upgraded to GCC 2.
2980 # fx80-alliant-*) # Alliant FX/80
2986 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
2987 xm_file
=pa
/xm-papro.h
2991 target_cpu_default
=1
2992 tm_file
="${tm_file} pa/pa-osf.h"
2994 fixincludes
=Makefile.
in
2997 tm_file
="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
2998 xm_file
=pa
/xm-papro.h
3002 tm_file
="${tm_file} pa/pa-osf.h"
3004 fixincludes
=Makefile.
in
3007 target_cpu_default
=1
3009 fixincludes
=Makefile.
in
3013 fixincludes
=Makefile.
in
3016 tm_file
="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
3017 xm_file
=pa
/xm-pahpux.h
3018 xmake_file
=pa
/x-pa-hpux
3021 tm_file
="${tm_file} pa/gas.h"
3024 install_headers_dir
=install-headers-cpio
3027 hppa1.0
-*-hpux8.0
[0-2]*)
3028 tm_file
="${tm_file} pa/pa-hpux.h"
3029 xm_file
=pa
/xm-pahpux.h
3030 xmake_file
=pa
/x-pa-hpux
3033 tm_file
="${tm_file} pa/pa-gas.h"
3035 tm_file
="pa/pa-oldas.h ${tm_file}"
3038 install_headers_dir
=install-headers-cpio
3041 hppa1.1
-*-hpux8.0
[0-2]*)
3042 target_cpu_default
=1
3043 tm_file
="${tm_file} pa/pa-hpux.h"
3044 xm_file
=pa
/xm-pahpux.h
3045 xmake_file
=pa
/x-pa-hpux
3048 tm_file
="${tm_file} pa/pa-gas.h"
3050 tm_file
="pa/pa-oldas.h ${tm_file}"
3053 install_headers_dir
=install-headers-cpio
3057 target_cpu_default
=1
3058 tm_file
="${tm_file} pa/pa-hpux.h"
3059 xm_file
=pa
/xm-pahpux.h
3060 xmake_file
=pa
/x-pa-hpux
3063 tm_file
="${tm_file} pa/pa-gas.h"
3066 install_headers_dir
=install-headers-cpio
3070 tm_file
="${tm_file} pa/pa-hpux.h"
3071 xm_file
=pa
/xm-pahpux.h
3072 xmake_file
=pa
/x-pa-hpux
3075 tm_file
="${tm_file} pa/pa-gas.h"
3078 install_headers_dir
=install-headers-cpio
3082 target_cpu_default
=1
3083 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
3084 xm_file
=pa
/xm-pahpux.h
3085 xmake_file
=pa
/x-pa-hpux
3088 tm_file
="${tm_file} pa/pa-gas.h"
3091 install_headers_dir
=install-headers-cpio
3095 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
3096 xm_file
=pa
/xm-pahpux.h
3097 xmake_file
=pa
/x-pa-hpux
3100 tm_file
="${tm_file} pa/pa-gas.h"
3103 install_headers_dir
=install-headers-cpio
3107 target_cpu_default
=1
3108 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
3109 xm_file
=pa
/xm-pahpux.h
3110 xmake_file
=pa
/x-pa-hpux
3113 tm_file
="${tm_file} pa/pa-gas.h"
3116 install_headers_dir
=install-headers-cpio
3120 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
3121 xm_file
=pa
/xm-pahpux.h
3122 xmake_file
=pa
/x-pa-hpux
3125 tm_file
="${tm_file} pa/pa-gas.h"
3128 install_headers_dir
=install-headers-cpio
3132 target_cpu_default
=1
3133 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
3134 xm_file
=pa
/xm-pahpux.h
3135 xmake_file
=pa
/x-pa-hpux
3138 tm_file
="${tm_file} pa/pa-gas.h"
3141 install_headers_dir
=install-headers-cpio
3145 tm_file
="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
3146 xm_file
=pa
/xm-pahpux.h
3147 xmake_file
=pa
/x-pa-hpux
3150 tm_file
="${tm_file} pa/pa-gas.h"
3153 install_headers_dir
=install-headers-cpio
3157 target_cpu_default
=1
3159 fixincludes
=Makefile.
in
3163 i
[34567]86-ibm-aix*) # IBM PS/2 running AIX
3166 tm_file
=i386
/aix386.h
3167 extra_parts
="crtbegin.o crtend.o"
3168 tmake_file
=i386
/t-crtstuff
3170 tm_file
=i386
/aix386ng.h
3173 xm_file
=i386
/xm-aix.h
3174 xmake_file
=i386
/x-aix
3177 i486-ncr-sysv4
*) # NCR 3000 - i486 running system V.4
3178 xm_file
=i386
/xm-sysv4.h
3179 xmake_file
=i386
/x-ncr3000
3180 if [ x
$stabs = xyes
-a x
$gas = xyes
]
3182 tm_file
=i386
/sysv4gdb.h
3184 tm_file
=i386
/sysv4.h
3186 extra_parts
="crtbegin.o crtend.o"
3187 tmake_file
=i386
/t-crtpic
3191 xm_file
=i386
/xm-next.h
3192 tmake_file
=i386
/t-next
3193 xmake_file
=i386
/x-next
3194 extra_objs
=nextstep.o
3195 if [ x
$enable_threads = xyes
]; then
3199 i
[34567]86-sequent-bsd*) # 80386 from Sequent
3203 tm_file
=i386
/seq-gas.h
3205 tm_file
=i386
/sequent.h
3208 i
[34567]86-sequent-ptx1*)
3209 xm_file
=i386
/xm-sysv3.h
3210 xmake_file
=i386
/x-sysv3
3211 tm_file
=i386
/seq-sysv3.h
3212 tmake_file
=i386
/t-crtstuff
3213 fixincludes
=fixinc.
ptx
3214 extra_parts
="crtbegin.o crtend.o"
3215 install_headers_dir
=install-headers-cpio
3218 i
[34567]86-sequent-ptx2* | i
[34567]86-sequent-sysv3*)
3219 xm_file
=i386
/xm-sysv3.h
3220 xmake_file
=i386
/x-sysv3
3221 tm_file
=i386
/seq2-sysv3.h
3222 tmake_file
=i386
/t-crtstuff
3223 extra_parts
="crtbegin.o crtend.o"
3224 fixincludes
=fixinc.
ptx
3225 install_headers_dir
=install-headers-cpio
3228 i
[34567]86-sequent-ptx4* | i
[34567]86-sequent-sysv4*)
3229 xm_file
=i386
/xm-sysv4.h
3231 tm_file
=i386
/ptx4-i.h
3233 extra_parts
="crtbegin.o crtend.o"
3234 fixincludes
=fixinc.
ptx
3235 install_headers_dir
=install-headers-cpio
3238 i386-sun-sunos
*) # Sun i386 roadrunner
3239 xm_file
=i386
/xm-sun.h
3244 tm_file
=i386
/i386-aout.h
3245 tmake_file
=i386
/t-i386bare
3247 i
[34567]86-*-bsdi* | i
[34567]86-*-bsd386*)
3248 tm_file
=i386
/bsd386.h
3249 xm_file
=i386
/xm-bsd386.h
3250 # tmake_file=t-libc-ok
3253 tm_file
=i386
/386bsd.h
3254 xm_file
=i386
/xm-bsd386.h
3255 # tmake_file=t-libc-ok
3256 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
3259 i
[34567]86-*-freebsdelf*)
3260 tm_file
="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
3261 # On FreeBSD, the headers are already ok, except for math.h.
3262 fixincludes
=fixinc.math
3263 tmake_file
=i386
/t-freebsd
3268 i
[34567]86-*-freebsd*)
3269 tm_file
=i386
/freebsd.h
3270 # On FreeBSD, the headers are already ok, except for math.h.
3271 fixincludes
=fixinc.math
3272 tmake_file
=i386
/t-freebsd
3274 i
[34567]86-*-netbsd*)
3275 tm_file
=i386
/netbsd.h
3276 # On NetBSD, the headers are already okay, except for math.h.
3277 fixincludes
=fixinc.math
3281 tm_file
=i386
/i386-coff.h
3282 tmake_file
=i386
/t-i386bare
3284 i
[34567]86-*-isc*) # 80386 running ISC system
3285 xm_file
=i386
/xm-isc.h
3287 i
[34567]86-*-isc[34]*)
3288 xmake_file
=i386
/x-isc3
3291 xmake_file
=i386
/x-isc
3294 if [ x
$gas = xyes
-a x
$stabs = xyes
]
3296 tm_file
=i386
/iscdbx.h
3297 tmake_file
=i386
/t-svr3dbx
3298 extra_parts
="svr3.ifile svr3z.ifile"
3300 tm_file
=i386
/isccoff.h
3301 tmake_file
=i386
/t-crtstuff
3302 extra_parts
="crtbegin.o crtend.o"
3304 install_headers_dir
=install-headers-cpio
3307 i
[34567]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
3308 xm_file
=i386
/xm-linux.h
# with a.out format using pre BFD linkers
3309 xmake_file
=x-linux-aout
3310 tmake_file
="t-linux-aout i386/t-crtstuff"
3311 tm_file
=i386
/linux-oldld.h
3312 fixincludes
=Makefile.
in
3316 i
[34567]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
3317 xm_file
=i386
/xm-linux.h
# with a.out format
3318 xmake_file
=x-linux-aout
3319 tmake_file
="t-linux-aout i386/t-crtstuff"
3320 tm_file
=i386
/linux-aout.h
3321 fixincludes
=Makefile.
in #The headers are ok already.
3325 i
[34567]86-*-linux-gnulibc1)
3326 xm_file
=i386
/xm-linux.h
# Intel 80386's running GNU/Linux
3327 xmake_file
=x-linux
# with ELF format using the
3328 tm_file
=i386
/linux.h
# GNU/Linux C library 5
3329 tmake_file
="t-linux t-linux-gnulibc1 i386/t-crtstuff"
3330 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3331 fixincludes
=Makefile.
in # The headers are ok already.
3334 if [ x
$enable_threads = xyes
]; then
3335 thread_file
='single'
3338 i
[34567]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
3339 xm_file
=i386
/xm-linux.h
# with ELF format using glibc 2
3340 xmake_file
=x-linux
# aka GNU/Linux C library 6
3341 tm_file
=i386
/linux.h
3342 tmake_file
="t-linux i386/t-crtstuff"
3343 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3344 fixincludes
=Makefile.
in # The headers are ok already.
3347 if [ x
$enable_threads = xyes
]; then
3353 i
[34567]86-go32-msdos | i
[34567]86-*-go32*)
3354 xm_file
=i386
/xm-go32.h
3356 tmake_file
=i386
/t-go32
3358 i
[34567]86-pc-msdosdjgpp*)
3359 xm_file
=i386
/xm-go32.h
3361 tmake_file
=i386
/t-go32
3365 i
[34567]86-moss-msdos* | i
[34567]86-*-moss*)
3367 tmake_file
=t-libc-ok
3368 fixincludes
=Makefile.
in
3372 i
[34567]86-*-lynxos*)
3377 tm_file
=i386
/lynx-ng.h
3379 xm_file
=i386
/xm-lynx.h
3380 tmake_file
=i386
/t-i386bare
3385 # tmake_file=t-libc-ok
3388 i
[34567]86-*-osfrose*) # 386 using OSF/rose
3391 tm_file
=i386
/osfelf.h
3394 tm_file
=i386
/osfrose.h
3397 xm_file
=i386
/xm-osf.h
3398 xmake_file
=i386
/x-osfrose
3399 tmake_file
=i386
/t-osf
3400 extra_objs
=halfpic.o
3402 i
[34567]86-go32-rtems*)
3404 xm_file
=i386
/xm-go32.h
3405 tm_file
=i386
/go32-rtems.h
3406 tmake_file
="i386/t-go32 t-rtems"
3408 i
[34567]86-*-rtems*)
3410 tm_file
=i386
/rtems.h
3411 tmake_file
="i386/t-i386bare t-rtems"
3413 i
[34567]86-*-sco3.2v5
*) # 80386 running SCO Open Server 5
3414 xm_file
=i386
/xm-sco5.h
3415 xmake_file
=i386
/x-sco5
3416 fixincludes
=fixinc.sco
3418 install_headers_dir
=install-headers-cpio
3420 tmake_file
=i386
/t-sco5
3421 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3423 i
[34567]86-*-sco3.2v4
*) # 80386 running SCO 3.2v4 system
3424 xm_file
=i386
/xm-sco.h
3425 xmake_file
=i386
/x-sco4
3426 fixincludes
=fixinc.sco
3428 install_headers_dir
=install-headers-cpio
3429 if [ x
$stabs = xyes
]
3431 tm_file
=i386
/sco4dbx.h
3432 tmake_file
=i386
/t-svr3dbx
3433 extra_parts
="svr3.ifile svr3z.rfile"
3436 tmake_file
=i386
/t-crtstuff
3437 extra_parts
="crtbegin.o crtend.o"
3441 i
[34567]86-*-sco*) # 80386 running SCO system
3442 xm_file
=i386
/xm-sco.h
3443 xmake_file
=i386
/x-sco
3445 install_headers_dir
=install-headers-cpio
3446 if [ x
$stabs = xyes
]
3448 tm_file
=i386
/scodbx.h
3449 tmake_file
=i386
/t-svr3dbx
3450 extra_parts
="svr3.ifile svr3z.rfile"
3453 extra_parts
="crtbegin.o crtend.o"
3454 tmake_file
=i386
/t-crtstuff
3458 i
[34567]86-*-solaris2*)
3459 xm_file
=i386
/xm-sysv4.h
3460 if [ x
$stabs = xyes
]
3462 tm_file
=i386
/sol2dbg.h
3466 tmake_file
=i386
/t-sol2
3467 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3469 fixincludes
=fixinc.math
3471 if [ x
$enable_threads = xyes
]; then
3472 thread_file
='solaris'
3475 i
[34567]86-*-sysv4*) # Intel 80386's running system V.4
3476 xm_file
=i386
/xm-sysv4.h
3477 tm_file
=i386
/sysv4.h
3478 if [ x
$stabs = xyes
]
3480 tm_file
="${tm_file} dbx.h"
3482 tmake_file
=i386
/t-crtpic
3484 extra_parts
="crtbegin.o crtend.o"
3486 i
[34567]86-*-sysv*) # Intel 80386's running system V
3487 xm_file
=i386
/xm-sysv3.h
3488 xmake_file
=i386
/x-sysv3
3491 if [ x
$stabs = xyes
]
3493 tm_file
=i386
/svr3dbx.h
3494 tmake_file
=i386
/t-svr3dbx
3495 extra_parts
="svr3.ifile svr3z.rfile"
3497 tm_file
=i386
/svr3gas.h
3498 extra_parts
="crtbegin.o crtend.o"
3499 tmake_file
=i386
/t-crtstuff
3502 tm_file
=i386
/sysv3.h
3503 extra_parts
="crtbegin.o crtend.o"
3504 tmake_file
=i386
/t-crtstuff
3507 i386-
*-vsta) # Intel 80386's running VSTa kernel
3508 xm_file
=i386
/xm-vsta.h
3510 tmake_file
=i386
/t-vsta
3511 xmake_file
=i386
/x-vsta
3513 i
[34567]86-*-pe | i
[34567]86-*-cygwin32)
3514 xm_file
="${xm_file} i386/xm-cygwin32.h"
3515 tmake_file
=i386
/t-cygwin32
3516 tm_file
=i386
/cygwin32.h
3517 xmake_file
=i386
/x-cygwin32
3519 fixincludes
=Makefile.
in
3520 if [ x
$enable_threads = xyes
]; then
3525 i
[34567]86-*-mingw32*)
3526 tm_file
=i386
/mingw32.h
3527 xm_file
="${xm_file} i386/xm-mingw32.h"
3528 tmake_file
=i386
/t-cygwin32
3530 xmake_file
=i386
/x-cygwin32
3531 fixincludes
=Makefile.
in
3532 if [ x
$enable_threads = xyes
]; then
3539 *minwg32crt
* |
*mingw32
*)
3540 tm_file
="${tm_file} i386/crtdll.h"
3544 i
[34567]86-*-winnt3*)
3545 tm_file
=i386
/win-nt.h
3546 out_file
=i386
/i386.c
3547 xm_file
=i386
/xm-winnt.h
3548 xmake_file
=winnt
/x-winnt
3549 tmake_file
=i386
/t-winnt
3550 extra_host_objs
="winnt.o oldnames.o"
3551 extra_gcc_objs
="spawnv.o oldnames.o"
3552 fixincludes
=fixinc.winnt
3553 if [ x
$gnu_ld != xyes
]
3555 extra_programs
=ld.exe
3557 if [ x
$enable_threads = xyes
]; then
3561 i
[34567]86-dg-dgux*)
3562 xm_file
=i386
/xm-dgux.h
3563 out_file
=i386
/dgux.c
3565 tmake_file
=i386
/t-dgux
3566 xmake_file
=i386
/x-dgux
3567 fixincludes
=Makefile.
in # There is nothing to fix
3568 install_headers_dir
=install-headers-cpio
3570 i860-alliant-
*) # Alliant FX/2800
3571 tm_file
="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
3572 xm_file
="${xm_file}"
3573 xmake_file
=i860
/x-fx2800
3574 tmake_file
=i860
/t-fx2800
3575 extra_parts
="crtbegin.o crtend.o"
3578 tm_file
="${tm_file} i860/bsd.h"
3581 tm_file
="${tm_file} i860/bsd-gas.h"
3586 tm_file
="${tm_file} i860/mach.h"
3587 tmake_file
=t-libc-ok
3589 i860-
*-osf*) # Intel Paragon XP/S, OSF/1AD
3590 tm_file
="${tm_file} svr3.h i860/paragon.h"
3591 xm_file
="${xm_file} xm-svr3.h"
3596 tm_file
="${tm_file} svr3.h i860/sysv3.h"
3597 xm_file
="${tm_file} xm-svr3.h"
3598 xmake_file
=i860
/x-sysv3
3599 extra_parts
="crtbegin.o crtend.o"
3602 tm_file
="${tm_file} svr4.h i860/sysv4.h"
3603 xm_file
="${xm_file} xm-svr3.h"
3604 xmake_file
=i860
/x-sysv4
3606 extra_parts
="crtbegin.o crtend.o"
3608 i960-wrs-vxworks5 | i960-wrs-vxworks5.0
*)
3609 tm_file
="${tm_file} i960/vx960.h"
3610 tmake_file
=i960
/t-vxworks960
3613 i960-wrs-vxworks5
* | i960-wrs-vxworks
)
3614 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
3615 tmake_file
=i960
/t-vxworks960
3619 tm_file
="${tm_file} i960/vx960.h"
3620 tmake_file
=i960
/t-vxworks960
3624 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
3625 tmake_file
=i960
/t-960bare
3629 tmake_file
="i960/t-960bare t-rtems"
3630 tm_file
="${tm_file} dbxcoff.h i960/rtems.h"
3633 i960-
*-*) # Default i960 environment.
3637 extra_parts
="crtinit.o crtfini.o"
3639 m68000-convergent-sysv
*)
3641 xm_file
=m68k
/xm-3b1.h
3643 extra_headers
=math-68881.h
3645 m68000-hp-bsd
*) # HP 9000/200 running BSD
3646 tm_file
=m68k
/hp2bsd.h
3647 xmake_file
=m68k
/x-hp2bsd
3649 extra_headers
=math-68881.h
3651 m68000-hp-hpux
*) # HP 9000 series 300
3652 xm_file
=m68k
/xm-hp320.h
3655 xmake_file
=m68k
/x-hp320g
3656 tm_file
=m68k
/hp310g.h
3658 xmake_file
=m68k
/x-hp320
3659 tm_file
=m68k
/hp310.h
3662 install_headers_dir
=install-headers-cpio
3664 extra_headers
=math-68881.h
3669 extra_headers
=math-68881.h
3672 tm_file
=m68k
/sun2o4.h
3674 extra_headers
=math-68881.h
3677 xm_file
=m68k
/xm-3b1.h
3685 extra_headers
=math-68881.h
3687 m68k-apple-aux
*) # Apple Macintosh running A/UX
3688 xm_file
=m68k
/xm-aux.h
3689 tmake_file
=m68k
/t-aux
3691 install_headers_dir
=install-headers-cpio
3692 extra_headers
=math-68881.h
3693 extra_parts
="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
3695 if [ "$gnu_ld" = yes ]
3697 tm_file
="${tm_file} m68k/auxgld.h"
3699 tm_file
="${tm_file} m68k/auxld.h"
3703 tm_file
="${tm_file} m68k/auxgas.h"
3705 tm_file
="${tm_file} m68k/auxas.h"
3707 tm_file
="${tm_file} m68k/a-ux.h"
3710 tm_file
=m68k
/apollo68.h
3711 xmake_file
=m68k
/x-apollo68
3713 extra_headers
=math-68881.h
3715 m68k-altos-sysv
*) # Altos 3068
3718 tm_file
=m68k
/altos3068.h
3719 xm_file
=m68k
/xm-altos3068.h
3721 echo "The Altos is supported only with the GNU assembler" 1>&2
3724 extra_headers
=math-68881.h
3726 m68k-bull-sysv
*) # Bull DPX/2
3729 if [ x
$stabs = xyes
]
3731 tm_file
=m68k
/dpx2cdbx.h
3733 tm_file
=m68k
/dpx2g.h
3738 xm_file
=m68k
/xm-m68kv.h
3739 xmake_file
=m68k
/x-dpx2
3741 extra_headers
=math-68881.h
3743 m68k-atari-sysv4
*) # Atari variant of V.4.
3744 tm_file
=m68k
/atari.h
3745 xm_file
=m68k
/xm-atari.h
3747 extra_parts
="crtbegin.o crtend.o"
3748 extra_headers
=math-68881.h
3750 m68k-motorola-sysv
*)
3751 tm_file
=m68k
/mot3300.h
3752 xm_file
=m68k
/xm-mot3300.h
3755 xmake_file
=m68k
/x-mot3300-gas
3756 if [ x
$gnu_ld = xyes
]
3758 tmake_file
=m68k
/t-mot3300-gald
3760 tmake_file
=m68k
/t-mot3300-gas
3764 xmake_file
=m68k
/x-mot3300
3765 if [ x
$gnu_ld = xyes
]
3767 tmake_file
=m68k
/t-mot3300-gld
3769 tmake_file
=m68k
/t-mot3300
3773 gdb_needs_out_file_path
=yes
3774 extra_parts
="crt0.o mcrt0.o"
3775 extra_headers
=math-68881.h
3777 m68k-ncr-sysv
*) # NCR Tower 32 SVR3
3778 tm_file
=m68k
/tower-as.h
3779 xm_file
="${xm_file} xm-svr3.h"
3780 xmake_file
=m68k
/x-tower
3781 extra_parts
="crtbegin.o crtend.o"
3782 extra_headers
=math-68881.h
3785 tm_file
=m68k
/plexus.h
3786 xm_file
=m68k
/xm-plexus.h
3788 extra_headers
=math-68881.h
3792 xm_file
=m68k
/xm-m68kv.h
3793 extra_headers
=math-68881.h
3796 xm_file
=m68k
/xm-crds.h
3797 xmake_file
=m68k
/x-crds
3801 extra_headers
=math-68881.h
3803 m68k-cbm-sysv4
*) # Commodore variant of V.4.
3805 xm_file
=m68k
/xm-amix.h
3806 xmake_file
=m68k
/x-amix
3808 extra_parts
="crtbegin.o crtend.o"
3809 extra_headers
=math-68881.h
3812 tm_file
=m68k
/ccur-GAS.h
3813 xmake_file
=m68k
/x-ccur
3814 extra_headers
=math-68881.h
3818 m68k-hp-bsd4.4
*) # HP 9000/3xx running 4.4bsd
3819 tm_file
=m68k
/hp3bsd44.h
3820 xmake_file
=m68k
/x-hp3bsd44
3822 extra_headers
=math-68881.h
3824 m68k-hp-bsd
*) # HP 9000/3xx running Berkeley Unix
3825 tm_file
=m68k
/hp3bsd.h
3827 extra_headers
=math-68881.h
3830 if [ x
$with_fp = xno
]
3832 tm_file
=m68k
/isi-nfp.h
3837 extra_headers
=math-68881.h
3839 m68k-hp-hpux7
*) # HP 9000 series 300 running HPUX version 7.
3840 xm_file
=m68k
/xm-hp320.h
3843 xmake_file
=m68k
/x-hp320g
3844 tm_file
=m68k
/hp320g.h
3846 xmake_file
=m68k
/x-hp320
3847 tm_file
=m68k
/hpux7.h
3850 install_headers_dir
=install-headers-cpio
3852 extra_headers
=math-68881.h
3854 m68k-hp-hpux
*) # HP 9000 series 300
3855 xm_file
=m68k
/xm-hp320.h
3858 xmake_file
=m68k
/x-hp320g
3859 tm_file
=m68k
/hp320g.h
3861 xmake_file
=m68k
/x-hp320
3862 tm_file
=m68k
/hp320.h
3865 install_headers_dir
=install-headers-cpio
3867 extra_headers
=math-68881.h
3870 tm_file
=m68k
/sun3mach.h
3872 extra_headers
=math-68881.h
3877 tm_file
=m68k
/news3gas.h
3879 tm_file
=m68k
/news3.h
3882 extra_headers
=math-68881.h
3884 m68k-sony-bsd
* | m68k-sony-newsos
*)
3887 tm_file
=m68k
/newsgas.h
3892 extra_headers
=math-68881.h
3894 m68k-next-nextstep2
*)
3895 tm_file
=m68k
/next21.h
3896 xm_file
=m68k
/xm-next.h
3897 tmake_file
=m68k
/t-next
3898 xmake_file
=m68k
/x-next
3899 extra_objs
=nextstep.o
3900 extra_headers
=math-68881.h
3903 m68k-next-nextstep3
*)
3905 xm_file
=m68k
/xm-next.h
3906 tmake_file
=m68k
/t-next
3907 xmake_file
=m68k
/x-next
3908 extra_objs
=nextstep.o
3909 extra_headers
=math-68881.h
3910 if [ x
$enable_threads = xyes
]; then
3915 if [ x
$with_fp = xno
]
3917 tm_file
=m68k
/sun3n3.h
3919 tm_file
=m68k
/sun3o3.h
3922 extra_headers
=math-68881.h
3924 m68k-sun-sunos
*) # For SunOS 4 (the default).
3925 if [ x
$with_fp = xno
]
3927 tm_file
=m68k
/sun3n.h
3932 extra_headers
=math-68881.h
3935 tm_file
=m68k
/vxm68k.h
3936 tmake_file
=m68k
/t-vxworks68
3937 extra_headers
=math-68881.h
3940 tmake_file
=m68k
/t-m68kbare
3941 tm_file
="m68k/m68k-aout.h libgloss.h"
3942 extra_headers
=math-68881.h
3945 tmake_file
=m68k
/t-m68kbare
3946 tm_file
="m68k/m68k-coff.h dbx.h libgloss.h"
3947 extra_headers
=math-68881.h
3954 tm_file
=m68k
/lynx-ng.h
3956 xm_file
=m68k
/xm-lynx.h
3958 tmake_file
=m68k
/t-lynx
3959 extra_headers
=math-68881.h
3962 tm_file
=m68k
/netbsd.h
3963 # On NetBSD, the headers are already okay, except for math.h.
3964 fixincludes
=fixinc.math
3967 m68k-
*-sysv3*) # Motorola m68k's running system V.3
3968 xm_file
=m68k
/xm-m68kv.h
3969 xmake_file
=m68k
/x-m68kv
3970 extra_parts
="crtbegin.o crtend.o"
3971 extra_headers
=math-68881.h
3973 m68k-
*-sysv4*) # Motorola m68k's running system V.4
3974 tm_file
=m68k
/m68kv4.h
3975 xm_file
=m68k
/xm-m68kv.h
3977 extra_parts
="crtbegin.o crtend.o"
3978 extra_headers
=math-68881.h
3980 m68k-
*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
3981 xm_file
=m68k
/xm-linux.h
# with a.out format
3983 tm_file
=m68k
/linux-aout.h
3984 tmake_file
="t-linux-aout m68k/t-linux-aout"
3985 fixincludes
=Makefile.
in # The headers are ok already.
3986 extra_headers
=math-68881.h
3989 m68k-
*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
3990 xm_file
=m68k
/xm-linux.h
# with ELF format using the
3991 xmake_file
=x-linux
# GNU/Linux C library 5
3992 tm_file
=m68k
/linux.h
3993 tmake_file
="t-linux t-linux-gnulibc1 m68k/t-linux"
3994 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3995 fixincludes
=Makefile.
in # The headers are ok already.
3996 extra_headers
=math-68881.h
3999 m68k-
*-linux-gnu*) # Motorola m68k's running GNU/Linux
4000 xm_file
=m68k
/xm-linux.h
# with ELF format using glibc 2
4001 xmake_file
=x-linux
# aka the GNU/Linux C library 6.
4002 tm_file
=m68k
/linux.h
4003 tmake_file
="t-linux m68k/t-linux"
4004 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4005 fixincludes
=Makefile.
in # The headers are ok already.
4006 extra_headers
=math-68881.h
4008 if [ x
$enable_threads = xyes
]; then
4013 tmake_file
=m68k
/t-m68kbare
4014 tm_file
=m68k
/m68k-psos.h
4015 extra_headers
=math-68881.h
4018 tmake_file
="m68k/t-m68kbare t-rtems"
4019 tm_file
=m68k
/rtems.h
4020 extra_headers
=math-68881.h
4026 tm_file
=m88k
/dguxbcs.h
4027 tmake_file
=m88k
/t-dguxbcs
4031 tmake_file
=m88k
/t-dgux
4034 extra_parts
="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
4036 xmake_file
=m88k
/x-dgux
4039 tmake_file
=m88k
/t-dgux-gas
4041 fixincludes
=fixinc.dgux
4043 m88k-dolphin-sysv3
*)
4044 tm_file
=m88k
/dolph.h
4045 extra_parts
="crtbegin.o crtend.o"
4046 xm_file
=m88k
/xm-sysv3.h
4047 xmake_file
=m88k
/x-dolph
4050 tmake_file
=m88k
/t-m88k-gas
4053 m88k-tektronix-sysv3
)
4054 tm_file
=m88k
/tekXD88.h
4055 extra_parts
="crtbegin.o crtend.o"
4056 xm_file
=m88k
/xm-sysv3.h
4057 xmake_file
=m88k
/x-tekXD88
4060 tmake_file
=m88k
/t-m88k-gas
4064 tm_file
=m88k
/m88k-aout.h
4067 tm_file
=m88k
/m88k-coff.h
4068 tmake_file
=m88k
/t-bug
4072 extra_parts
="crtbegin.o crtend.o"
4075 tmake_file
=m88k
/t-luna-gas
4077 tmake_file
=m88k
/t-luna
4081 tm_file
=m88k
/sysv3.h
4082 extra_parts
="crtbegin.o crtend.o"
4083 xm_file
=m88k
/xm-sysv3.h
4084 xmake_file
=m88k
/x-sysv3
4087 tmake_file
=m88k
/t-m88k-gas
4091 tm_file
=m88k
/sysv4.h
4092 extra_parts
="crtbegin.o crtend.o"
4093 xmake_file
=m88k
/x-sysv4
4094 tmake_file
=m88k
/t-sysv4
4096 mips-sgi-irix6
*) # SGI System V.4., IRIX 6
4097 tm_file
=mips
/iris6.h
4098 xm_file
=mips
/xm-iris6.h
4100 fixincludes
=fixinc.irix
4101 xmake_file
=mips
/x-iris6
4102 tmake_file
=mips
/t-iris6
4103 if [ x
$enable_threads = xyes
]; then
4107 mips-sgi-irix5cross64
) # Irix5 host, Irix 6 target, cross64
4108 tm_file
=mips
/cross64.h
4109 xm_file
=mips
/xm-iris5.h
4111 fixincludes
=Makefile.
in
4112 xmake_file
=mips
/x-iris
4113 tmake_file
=mips
/t-cross64
4114 # See comment in mips/iris[56].h files.
4116 if [ x
$enable_threads = xyes
]; then
4123 if [ x
$stabs = xyes
]
4125 tm_file
=mips
/iris5gdb.h
4127 tm_file
=mips
/sni-gas.h
4130 tm_file
=mips
/sni-svr4.h
4132 xm_file
=mips
/xm-sysv.h
4133 xmake_file
=mips
/x-sni-svr4
4134 tmake_file
=mips
/t-mips-gas
4135 if [ x
$gnu_ld != xyes
]
4141 mips-sgi-irix5
*) # SGI System V.4., IRIX 5
4144 tm_file
=mips
/iris5gas.h
4145 if [ x
$stabs = xyes
]
4147 tm_file
="${tm_file} dbx.h"
4150 tm_file
=mips
/iris5.h
4152 xm_file
=mips
/xm-iris5.h
4154 fixincludes
=fixinc.irix
4155 xmake_file
=mips
/x-iris
4156 # mips-tfile doesn't work yet
4157 tmake_file
=mips
/t-mips-gas
4158 # See comment in mips/iris5.h file.
4160 if [ x
$enable_threads = xyes
]; then
4164 mips-sgi-irix4loser
*) # Mostly like a MIPS.
4165 tm_file
=mips
/iris4loser.h
4166 if [ x
$stabs = xyes
]; then
4167 tm_file
="${tm_file} dbx.h"
4169 xm_file
=mips
/xm-iris4.h
4171 xmake_file
=mips
/x-iris
4174 tmake_file
=mips
/t-mips-gas
4176 extra_passes
="mips-tfile mips-tdump"
4178 if [ x
$gnu_ld != xyes
]
4182 if [ x
$enable_threads = xyes
]; then
4186 mips-sgi-irix4
*) # Mostly like a MIPS.
4187 tm_file
=mips
/iris4.h
4188 if [ x
$stabs = xyes
]; then
4189 tm_file
="${tm_file} dbx.h"
4191 xm_file
=mips
/xm-iris4.h
4193 xmake_file
=mips
/x-iris
4196 tmake_file
=mips
/t-mips-gas
4198 extra_passes
="mips-tfile mips-tdump"
4200 if [ x
$gnu_ld != xyes
]
4204 if [ x
$enable_threads = xyes
]; then
4208 mips-sgi-
*) # Mostly like a MIPS.
4209 tm_file
=mips
/iris3.h
4210 if [ x
$stabs = xyes
]; then
4211 tm_file
="${tm_file} dbx.h"
4213 xm_file
=mips
/xm-iris3.h
4215 xmake_file
=mips
/x-iris3
4218 tmake_file
=mips
/t-mips-gas
4220 extra_passes
="mips-tfile mips-tdump"
4222 if [ x
$gnu_ld != xyes
]
4227 mips-dec-osfrose
*) # Decstation running OSF/1 reference port with OSF/rose.
4228 tm_file
=mips
/osfrose.h
4229 xmake_file
=mips
/x-osfrose
4230 tmake_file
=mips
/t-osfrose
4231 extra_objs
=halfpic.o
4234 mips-dec-osf
*) # Decstation running OSF/1 as shipped by DIGITAL
4235 tm_file
=mips
/dec-osf1.h
4236 if [ x
$stabs = xyes
]; then
4237 tm_file
="${tm_file} dbx.h"
4239 xmake_file
=mips
/x-dec-osf1
4242 tmake_file
=mips
/t-mips-gas
4244 tmake_file
=mips
/t-ultrix
4245 extra_passes
="mips-tfile mips-tdump"
4247 if [ x
$gnu_ld != xyes
]
4252 mips-dec-bsd
*) # Decstation running 4.4 BSD
4253 tm_file
=mips
/dec-bsd.h
4257 tmake_file
=mips
/t-mips-gas
4259 tmake_file
=mips
/t-ultrix
4260 extra_passes
="mips-tfile mips-tdump"
4262 if [ x
$gnu_ld != xyes
]
4267 mips-dec-netbsd
*) # Decstation running NetBSD
4268 tm_file
=mips
/netbsd.h
4269 # On NetBSD, the headers are already okay, except for math.h.
4270 fixincludes
=fixinc.math
4272 if [ x
$prefix = xNONE
]; then
4273 prefix
=$native_prefix
4276 mips-sony-bsd
* | mips-sony-newsos
*) # Sony NEWS 3600 or risc/news.
4277 tm_file
=mips
/news4.h
4278 if [ x
$stabs = xyes
]; then
4279 tm_file
="${tm_file} dbx.h"
4283 tmake_file
=mips
/t-mips-gas
4285 extra_passes
="mips-tfile mips-tdump"
4287 if [ x
$gnu_ld != xyes
]
4291 xmake_file
=mips
/x-sony
4293 mips-sony-sysv
*) # Sony NEWS 3800 with NEWSOS5.0.
4294 # That is based on svr4.
4295 # t-svr4 is not right because this system doesn't use ELF.
4296 tm_file
=mips
/news5.h
4297 if [ x
$stabs = xyes
]; then
4298 tm_file
="${tm_file} dbx.h"
4300 xm_file
=mips
/xm-news.h
4303 tmake_file
=mips
/t-mips-gas
4305 extra_passes
="mips-tfile mips-tdump"
4307 if [ x
$gnu_ld != xyes
]
4312 mips-tandem-sysv4
*) # Tandem S2 running NonStop UX
4313 tm_file
=mips
/svr4-t.h
4314 if [ x
$stabs = xyes
]; then
4315 tm_file
="${tm_file} dbx.h"
4317 xm_file
=mips
/xm-sysv4.h
4318 xmake_file
=mips
/x-sysv
4321 tmake_file
=mips
/t-mips-gas
4322 extra_parts
="crtbegin.o crtend.o"
4324 tmake_file
=mips
/t-mips
4325 extra_passes
="mips-tfile mips-tdump"
4327 if [ x
$gnu_ld != xyes
]
4333 mips-
*-ultrix* | mips-dec-mach3
) # Decstation.
4334 tm_file
=mips
/ultrix.h
4335 if [ x
$stabs = xyes
]; then
4336 tm_file
="${tm_file} dbx.h"
4338 xmake_file
=mips
/x-ultrix
4341 tmake_file
=mips
/t-mips-gas
4343 tmake_file
=mips
/t-ultrix
4344 extra_passes
="mips-tfile mips-tdump"
4346 if [ x
$gnu_ld != xyes
]
4351 mips-
*-riscos[56789]bsd
*)
4352 tm_file
=mips
/bsd-5.h
# MIPS BSD 4.3, RISC-OS 5.0
4353 if [ x
$stabs = xyes
]; then
4354 tm_file
="${tm_file} dbx.h"
4358 tmake_file
=mips
/t-bsd-gas
4360 tmake_file
=mips
/t-bsd
4361 extra_passes
="mips-tfile mips-tdump"
4363 if [ x
$gnu_ld != xyes
]
4369 mips-
*-bsd* | mips-
*-riscosbsd* | mips-
*-riscos[1234]bsd
*)
4370 tm_file
=mips
/bsd-4.h
# MIPS BSD 4.3, RISC-OS 4.0
4371 if [ x
$stabs = xyes
]; then
4372 tm_file
="${tm_file} dbx.h"
4376 tmake_file
=mips
/t-bsd-gas
4378 tmake_file
=mips
/t-bsd
4379 extra_passes
="mips-tfile mips-tdump"
4381 if [ x
$gnu_ld != xyes
]
4387 mips-
*-riscos[56789]sysv4
*)
4388 tm_file
=mips
/svr4-5.h
# MIPS System V.4., RISC-OS 5.0
4389 if [ x
$stabs = xyes
]; then
4390 tm_file
="${tm_file} dbx.h"
4392 xm_file
=mips
/xm-sysv4.h
4393 xmake_file
=mips
/x-sysv
4396 tmake_file
=mips
/t-svr4-gas
4398 tmake_file
=mips
/t-svr4
4399 extra_passes
="mips-tfile mips-tdump"
4401 if [ x
$gnu_ld != xyes
]
4407 mips-
*-sysv4* | mips-
*-riscos[1234]sysv4
* | mips-
*-riscossysv4*)
4408 tm_file
=mips
/svr4-4.h
# MIPS System V.4. RISC-OS 4.0
4409 if [ x
$stabs = xyes
]; then
4410 tm_file
="${tm_file} dbx.h"
4412 xm_file
=mips
/xm-sysv.h
4413 xmake_file
=mips
/x-sysv
4416 tmake_file
=mips
/t-svr4-gas
4418 tmake_file
=mips
/t-svr4
4419 extra_passes
="mips-tfile mips-tdump"
4421 if [ x
$gnu_ld != xyes
]
4427 mips-
*-riscos[56789]sysv
*)
4428 tm_file
=mips
/svr3-5.h
# MIPS System V.3, RISC-OS 5.0
4429 if [ x
$stabs = xyes
]; then
4430 tm_file
="${tm_file} dbx.h"
4432 xm_file
=mips
/xm-sysv.h
4433 xmake_file
=mips
/x-sysv
4436 tmake_file
=mips
/t-svr3-gas
4438 tmake_file
=mips
/t-svr3
4439 extra_passes
="mips-tfile mips-tdump"
4441 if [ x
$gnu_ld != xyes
]
4447 mips-
*-sysv* | mips-
*-riscos*sysv
*)
4448 tm_file
=mips
/svr3-4.h
# MIPS System V.3, RISC-OS 4.0
4449 if [ x
$stabs = xyes
]; then
4450 tm_file
="${tm_file} dbx.h"
4452 xm_file
=mips
/xm-sysv.h
4453 xmake_file
=mips
/x-sysv
4456 tmake_file
=mips
/t-svr3-gas
4458 tmake_file
=mips
/t-svr3
4459 extra_passes
="mips-tfile mips-tdump"
4461 if [ x
$gnu_ld != xyes
]
4467 mips-
*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
4468 tm_file
=mips
/mips-5.h
4469 if [ x
$stabs = xyes
]; then
4470 tm_file
="${tm_file} dbx.h"
4474 tmake_file
=mips
/t-mips-gas
4476 extra_passes
="mips-tfile mips-tdump"
4478 if [ x
$gnu_ld != xyes
]
4487 tm_file
=mips
/ecoffl.h
4488 if [ x
$stabs = xyes
]; then
4489 tm_file
="${tm_file} dbx.h"
4491 tmake_file
=mips
/t-ecoff
4494 tm_file
=mips
/ecoff.h
4495 if [ x
$stabs = xyes
]; then
4496 tm_file
="${tm_file} dbx.h"
4498 tmake_file
=mips
/t-ecoff
4502 tm_file
="mips/elfl.h libgloss.h"
4503 tmake_file
=mips
/t-ecoff
4506 tm_file
="mips/elf.h libgloss.h"
4507 tmake_file
=mips
/t-ecoff
4510 tm_file
="mips/elfl64.h libgloss.h"
4511 tmake_file
=mips
/t-ecoff
4513 mips64orionel-
*-elf*)
4514 tm_file
="mips/elflorion.h libgloss.h"
4515 tmake_file
=mips
/t-ecoff
4518 tm_file
="mips/elf64.h libgloss.h"
4519 tmake_file
=mips
/t-ecoff
4522 tm_file
="mips/elforion.h libgloss.h"
4523 tmake_file
=mips
/t-ecoff
4525 mips64orion-
*-rtems*)
4526 tm_file
=mips
/rtems64.h
4527 tmake_file
="mips/t-ecoff t-rtems"
4530 tm_file
="mips/r3900.h mips/elfl.h mips/abi64.h libgloss.h"
4531 tmake_file
=mips
/t-ecoff
4534 tm_file
="mips/r3900.h mips/elf.h mips/abi64.h libgloss.h"
4535 tmake_file
=mips
/t-ecoff
4537 mips-
*-*) # Default MIPS RISC-OS 4.0.
4538 if [ x
$stabs = xyes
]; then
4539 tm_file
="${tm_file} dbx.h"
4543 tmake_file
=mips
/t-mips-gas
4545 extra_passes
="mips-tfile mips-tdump"
4547 if [ x
$gnu_ld != xyes
]
4554 tm_file
="mn10200/mn10200.h"
4555 if [ x
$stabs = xyes
]
4557 tm_file
="${tm_file} dbx.h"
4563 tm_file
="mn10300/mn10300.h"
4564 if [ x
$stabs = xyes
]
4566 tm_file
="${tm_file} dbx.h"
4571 tm_file
=ns32k
/encore.h
4575 tm_file
=ns32k
/sequent.h
4579 tm_file
=ns32k
/tek6100.h
4584 tm_file
=ns32k
/tek6200.h
4588 # This has not been updated to GCC 2.
4590 # xm_file=ns32k/xm-genix.h
4591 # xmake_file=ns32k/x-genix
4592 # tm_file=ns32k/genix.h
4593 # broken_install=yes
4597 tm_file
=ns32k
/merlin.h
4601 tm_file
=ns32k
/pc532-mach.h
4605 tm_file
=ns32k
/pc532-min.h
4606 xm_file
=ns32k
/xm-pc532-min.h
4609 ns32k-pc532-netbsd
*)
4610 tm_file
=ns32k
/netbsd.h
4611 # On NetBSD, the headers are already okay, except for math.h.
4612 fixincludes
=fixinc.math
4616 tm_file
="${tm_file} pdp11/2bsd.h"
4622 xmake_file
=pyr
/x-pyr
4629 xmake_file
=romp
/x-mach
4632 powerpc-
*-sysv* | powerpc-
*-elf*)
4633 tm_file
=rs6000
/sysv4.h
4634 xm_file
=rs6000
/xm-sysv4.h
4635 extra_headers
=ppc-asm.h
4638 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
4640 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4642 xmake_file
=rs6000
/x-sysv4
4645 tm_file
=rs6000
/eabiaix.h
4646 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4647 fixincludes
=Makefile.
in
4648 extra_headers
=ppc-asm.h
4651 tm_file
=rs6000
/eabisim.h
4652 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4653 fixincludes
=Makefile.
in
4654 extra_headers
=ppc-asm.h
4657 tm_file
=rs6000
/eabi.h
4660 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4662 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4664 fixincludes
=Makefile.
in
4665 extra_headers
=ppc-asm.h
4668 tm_file
=rs6000
/rtems.h
4671 tmake_file
="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
4673 tmake_file
="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
4675 fixincludes
=Makefile.
in
4676 extra_headers
=ppc-asm.h
4678 powerpc-
*-linux-gnu*)
4679 tm_file
=rs6000
/linux.h
4680 xm_file
=rs6000
/xm-sysv4.h
4681 out_file
=rs6000
/rs6000.c
4684 tmake_file
="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
4686 tmake_file
="rs6000/t-ppc t-linux rs6000/t-ppccomm"
4689 fixincludes
=Makefile.
in
4690 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4691 extra_headers
=ppc-asm.h
4692 if [ x
$enable_threads = xyes
]; then
4698 xm_file
=rs6000
/xm-sysv4.h
4699 tm_file
=rs6000
/vxppc.h
4700 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4701 extra_headers
=ppc-asm.h
4703 powerpcle-
*-sysv* | powerpcle-
*-elf*)
4704 tm_file
=rs6000
/sysv4le.h
4705 xm_file
=rs6000
/xm-sysv4.h
4708 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
4710 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4712 xmake_file
=rs6000
/x-sysv4
4713 extra_headers
=ppc-asm.h
4715 powerpcle-
*-eabisim*)
4716 tm_file
=rs6000
/eabilesim.h
4717 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4718 fixincludes
=Makefile.
in
4719 extra_headers
=ppc-asm.h
4722 tm_file
=rs6000
/eabile.h
4725 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
4727 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4729 fixincludes
=Makefile.
in
4730 extra_headers
=ppc-asm.h
4732 powerpcle-
*-winnt* )
4733 tm_file
=rs6000
/win-nt.h
4734 tmake_file
=rs6000
/t-winnt
4736 fixincludes
=Makefile.
in
4737 if [ x
$enable_threads = xyes
]; then
4740 extra_headers
=ppc-asm.h
4742 powerpcle-
*-pe | powerpcle-
*-cygwin32)
4743 tm_file
=rs6000
/cygwin32.h
4744 xm_file
=rs6000
/xm-cygwin32.h
4745 tmake_file
=rs6000
/t-winnt
4746 xmake_file
=rs6000
/x-cygwin32
4748 fixincludes
=Makefile.
in
4749 if [ x
$enable_threads = xyes
]; then
4753 extra_headers
=ppc-asm.h
4755 powerpcle-
*-solaris2*)
4756 tm_file
=rs6000
/sol2.h
4757 xm_file
=rs6000
/xm-sysv4.h
4760 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
4762 tmake_file
="rs6000/t-ppc rs6000/t-ppccomm"
4764 xmake_file
=rs6000
/x-sysv4
4765 fixincludes
=fixinc.math
4766 extra_headers
=ppc-asm.h
4768 rs6000-ibm-aix3.
[01]*)
4769 tm_file
=rs6000
/aix31.h
4770 xmake_file
=rs6000
/x-aix31
4773 rs6000-ibm-aix3.2.
[456789]* | powerpc-ibm-aix3.2.
[456789]*)
4774 tm_file
=rs6000
/aix3newas.h
4775 if [ x
$host != x
$target ]
4777 tmake_file
=rs6000
/t-xnewas
4779 tmake_file
=rs6000
/t-newas
4783 rs6000-ibm-aix
[456789].
* | powerpc-ibm-aix
[456789].
*)
4784 tm_file
=rs6000
/aix41.h
4785 if [ x
$host != x
$target ]
4787 tmake_file
=rs6000
/t-xnewas
4789 tmake_file
=rs6000
/t-newas
4791 xmake_file
=rs6000
/x-aix31
4801 tm_file
=rs6000
/mach.h
4802 xm_file
=rs6000
/xm-mach.h
4803 xmake_file
=rs6000
/x-mach
4807 tm_file
=rs6000
/lynx.h
4808 xm_file
=rs6000
/xm-lynx.h
4809 tmake_file
=rs6000
/t-rs6000
4810 xmake_file
=rs6000
/x-lynx
4818 tmake_file
="sh/t-sh t-rtems"
4827 xm_file
=sparc
/xm-pbd.h
4829 sparc-wrs-vxworks
* | sparclite-wrs-vxworks
*)
4830 tm_file
=sparc
/vxsparc.h
4831 tmake_file
=sparc
/t-vxsparc
4835 tmake_file
=sparc
/t-sparcbare
4836 tm_file
="sparc/aout.h libgloss.h"
4839 tm_file
=sparc
/netbsd.h
4840 # On NetBSD, the headers are already okay, except for math.h.
4841 fixincludes
=fixinc.math
4849 tmake_file
=sparc
/t-elf
4850 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
4854 sparc-
*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
4855 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
4856 tm_file
=sparc
/linux-aout.h
4858 fixincludes
=Makefile.
in # The headers are ok already.
4862 sparc-
*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
4863 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
4865 tm_file
=sparc
/linux.h
4866 tmake_file
="t-linux t-linux-gnulibc1 sparc/t-linux"
4867 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4868 fixincludes
=Makefile.
in # The headers are ok already.
4872 sparc-
*-linux-gnu*) # Sparc's running GNU/Linux, libc6
4873 xm_file
="sparc/xm-sparc.h sparc/xm-linux.h"
4875 tm_file
=sparc
/linux.h
4876 tmake_file
="t-linux sparc/t-linux"
4877 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4878 fixincludes
=Makefile.
in # The headers are ok already.
4881 if [ x
$enable_threads = xyes
]; then
4888 tm_file
=sparc
/lynx.h
4890 tm_file
=sparc
/lynx-ng.h
4892 xm_file
=sparc
/xm-lynx.h
4893 tmake_file
=sparc
/t-sunos41
4897 tmake_file
="sparc/t-sparcbare t-rtems"
4898 tm_file
=sparc
/rtems.h
4901 if [ x
$gnu_ld = xyes
]
4903 tm_file
=sparc
/sol2.h
4905 tm_file
=sparc
/sol2-sld.h
4907 xm_file
=sparc
/xm-sol2.h
4908 tmake_file
=sparc
/t-sol2
4909 xmake_file
=sparc
/x-sysv4
4910 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
4911 fixincludes
=fixinc.math
4914 if [ x
$enable_threads = xyes
]; then
4915 thread_file
='solaris'
4919 tm_file
=sparc
/sunos4.h
4920 tmake_file
=sparc
/t-sunos40
4924 tm_file
=sparc
/sunos4.h
4925 tmake_file
=sparc
/t-sunos41
4927 if [ x
$gas = xyes
]; then
4928 tm_file
="${tm_file} sparc/sun4gas.h"
4932 tm_file
=sparc
/sun4o3.h
4936 tm_file
=sparc
/sysv4.h
4937 xm_file
=sparc
/xm-sysv4.h
4939 xmake_file
=sparc
/x-sysv4
4940 extra_parts
="crtbegin.o crtend.o"
4943 xm_file
=sparc
/xm-sol2.h
4944 tm_file
=sparc
/vxsim.h
4945 tmake_file
=sparc
/t-vxsparc
4946 xmake_file
=sparc
/x-sysv4
4949 tm_file
="sparc/splet.h libgloss.h"
4950 tmake_file
=sparc
/t-splet
4953 tm_file
="sparc/litecoff.h libgloss.h"
4954 tmake_file
=sparc
/t-sparclite
4957 tm_file
="sparc/lite.h aoutos.h libgloss.h"
4958 tmake_file
=sparc
/t-sparclite
4961 tmake_file
=sparc
/t-sp64
4962 tm_file
=sparc
/sp64-aout.h
4965 tmake_file
=sparc
/t-sp64
4966 tm_file
=sparc
/sp64-elf.h
4967 extra_parts
="crtbegin.o crtend.o"
4969 sparc64-
*-linux*) # 64-bit Sparc's running GNU/Linux
4970 tmake_file
=sparc
/t-sp64
4971 xm_file
="sparc/xm-sp64.h sparc/xm-linux.h"
4972 tm_file
=sparc
/linux64.h
4974 fixincludes
=Makefile.
in # The headers are ok already.
4977 # This hasn't been upgraded to GCC 2.
4978 # tahoe-harris-*) # Harris tahoe, using COFF.
4979 # tm_file=tahoe/harris.h
4981 # tahoe-*-bsd*) # tahoe running BSD
4983 # This hasn't been upgraded to GCC 2.
4990 tm_file
="v850/v850.h"
4991 xm_file
="v850/xm-v850.h"
4992 if [ x
$stabs = xyes
]
4994 tm_file
="${tm_file} dbx.h"
4998 vax-
*-bsd*) # vaxen running BSD
5002 vax-
*-sysv*) # vaxen running system V
5003 tm_file
="${tm_file} vax/vaxv.h"
5004 xm_file
="${xm_file} vax/xm-vaxv.h"
5008 tm_file
="${tm_file} netbsd.h vax/netbsd.h"
5009 # On NetBSD, the headers are already okay, except for math.h.
5010 fixincludes
=fixinc.math
5014 vax-
*-ultrix*) # vaxen running ultrix
5015 tm_file
="${tm_file} vax/ultrix.h"
5019 vax-
*-vms*) # vaxen running VMS
5020 xm_file
=vax
/xm-vms.h
5024 vax-
*-*) # vax default entry
5028 xm_file
="${xm_file} xm-svr3"
5032 echo "Configuration $machine not supported" 1>&2
5039 ;; # Existing Linux/GNU systems do not use the GNU setup.
5041 # On the GNU system, the setup is just about the same on
5042 # each different CPU. The specific machines that GNU
5043 # supports are matched above and just set $cpu_type.
5044 xm_file
=${cpu_type}/xm-gnu.h
5045 tm_file
=${cpu_type}/gnu.h
5046 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
5047 # GNU always uses ELF.
5049 # GNU tools are the only tools.
5052 # On GNU, the headers are already okay.
5053 fixincludes
=Makefile.
in
5054 xmake_file
=x-linux
# These details are the same as Linux.
5055 tmake_file
=t-gnu
# These are not.
5058 fixincludes
=fixinc.svr4
5059 xmake_try_sysv
=x-sysv
5061 install_headers_dir
=install-headers-cpio
5065 install_headers_dir
=install-headers-cpio
5069 # Distinguish i[34567]86
5070 # Also, do not run mips-tfile on MIPS if using gas.
5071 # Process --with-cpu= for PowerPC/rs6000
5072 target_cpu_default2
=
5075 target_cpu_default2
=1
5078 target_cpu_default2
=2
5080 i686-
*-* | i786-
*-*)
5081 target_cpu_default2
=3
5086 target_cpu_default2
="MASK_CPU_EV6|MASK_BXW|MASK_CIX|MASK_MAX"
5089 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX|TASK_MAX"
5092 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX"
5095 target_cpu_default2
="MASK_CPU_EV5"
5101 if [ x
$target_cpu_default2 = x
]
5103 target_cpu_default2
="MASK_GAS"
5105 target_cpu_default2
="${target_cpu_default2}|MASK_GAS"
5110 case "x$with_cpu" in
5113 target_cpu_default2
="TARGET_CPU_generic"
5116 # Distinguish cores, and major variants
5117 # arm7m doesn't exist, but D & I don't affect code
5118 xarm23678 | xarm250 | xarm67010 \
5119 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
5120 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
5121 | xstrongarm | xstrongarm110
)
5122 target_cpu_default2
="TARGET_CPU_$with_cpu"
5126 echo "--with-cpu must be passed a value" 1>&2
5131 if [ x
$pass2done = xyes
]
5133 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5140 mips
*-*-ecoff* | mips
*-*-elf*)
5143 if [ x
$gnu_ld = xyes
]
5145 target_cpu_default2
=20
5147 target_cpu_default2
=16
5154 target_cpu_default2
=16
5157 powerpc
*-*-* | rs6000-
*-*)
5158 case "x$with_cpu" in
5162 xcommon | xpower | xpower2 | xpowerpc | xrios \
5163 | xrios1 | xrios2 | xrsc | xrsc1 \
5164 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
5165 | x403 | x505 | x801 | x821 | x823 | x860
)
5166 target_cpu_default2
="\"$with_cpu\""
5170 echo "--with-cpu must be passed a value" 1>&2
5175 if [ x
$pass2done = xyes
]
5177 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5184 case ".$with_cpu" in
5186 target_cpu_default2
=TARGET_CPU_
"`echo $machine | sed 's/-.*$//'`"
5188 .supersparc | .ultrasparc | .v7 | .v8 | .v9
)
5189 target_cpu_default2
="TARGET_CPU_$with_cpu"
5192 if [ x
$pass2done = xyes
]
5194 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
5202 if [ x
$target_cpu_default2 != x
]
5204 if [ x
$target_cpu_default != x
]
5206 target_cpu_default
="(${target_cpu_default}|${target_cpu_default2})"
5208 target_cpu_default
=$target_cpu_default2
5212 # No need for collect2 if we have the GNU linker.
5219 # Save data on machine being used to compile GCC in build_xm_file.
5220 # Save data on host machine in vars host_xm_file and host_xmake_file.
5221 if [ x
$pass1done = x
]
5223 if [ x
"$xm_file" = x
]
5224 then build_xm_file
=$cpu_type/xm-
$cpu_type.h
5225 else build_xm_file
=$xm_file
5227 build_broken_install
=$broken_install
5228 build_install_headers_dir
=$install_headers_dir
5229 build_exeext
=$exeext
5232 if [ x
$pass2done = x
]
5234 if [ x
"$xm_file" = x
]
5235 then host_xm_file
=$cpu_type/xm-
$cpu_type.h
5236 else host_xm_file
=$xm_file
5238 if [ x
"$xmake_file" = x
]
5239 then xmake_file
=$cpu_type/x-
$cpu_type
5241 host_xmake_file
="$xmake_file"
5242 host_truncate_target
=$truncate_target
5243 host_extra_gcc_objs
=$extra_gcc_objs
5244 host_extra_objs
=$extra_host_objs
5250 extra_objs
="${host_extra_objs} ${extra_objs}"
5252 # Default the target-machine variables that were not explicitly set.
5253 if [ x
"$tm_file" = x
]
5254 then tm_file
=$cpu_type/$cpu_type.h
; fi
5256 if [ x
$extra_headers = x
]
5257 then extra_headers
=; fi
5259 if [ x
"$xm_file" = x
]
5260 then xm_file
=$cpu_type/xm-
$cpu_type.h
; fi
5262 md_file
=$cpu_type/$cpu_type.md
5264 if [ x
$out_file = x
]
5265 then out_file
=$cpu_type/$cpu_type.c
; fi
5267 if [ x
"$tmake_file" = x
]
5268 then tmake_file
=$cpu_type/t-
$cpu_type
5271 if [ x
$float_format = x
]
5272 then float_format
=i64
5275 # Say what files are being used for the output code and MD file.
5276 echo "Using \`$srcdir/config/$out_file' to output insns."
5277 echo "Using \`$srcdir/config/$md_file' as machine description file."
5280 for f
in $tm_file; do
5283 if [ $count = ax
]; then
5284 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
5286 echo "Using the following target machine macro files:"
5287 for f
in $tm_file; do
5288 echo " $srcdir/config/$f"
5293 for f
in $host_xm_file; do
5296 if [ $count = ax
]; then
5297 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
5299 echo "Using the following host machine macro files:"
5300 for f
in $host_xm_file; do
5301 echo " $srcdir/config/$f"
5305 if [ "$host_xm_file" != "$build_xm_file" ]; then
5307 for f
in $build_xm_file; do
5310 if [ $count = ax
]; then
5311 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
5313 echo "Using the following build machine macro files:"
5314 for f
in $build_xm_file; do
5315 echo " $srcdir/config/$f"
5320 if [ x
$thread_file = x
]
5321 then thread_file
='single'
5324 # Set up the header files.
5325 # $links is the list of header files to create.
5326 # $vars is the list of shell variables with file names to include.
5327 # auto-conf.h is the file containing items generated by autoconf and is
5328 # the first file included by config.h.
5329 host_xm_file
="auto-config.h ${host_xm_file}"
5330 vars
="host_xm_file tm_file xm_file build_xm_file"
5331 links
="config.h tm.h tconfig.h hconfig.h"
5334 if [ -f config.status
]; then mv -f config.status config.bak
; fi
5337 while [ -n "$vars" ]
5339 # set file to car of files, files to cdr of files
5340 set $vars; var
=$1; shift; vars
=$
*
5341 set $links; link
=$1; shift; links
=$
*
5345 # Define TARGET_CPU_DEFAULT if the system wants one.
5346 # This substitutes for lots of *.h files.
5347 if [ x
$target_cpu_default != x
-a $link = tm.h
]
5349 echo "#define TARGET_CPU_DEFAULT $target_cpu_default" >>$link
5352 for file in `eval echo '$'$var`; do
5353 echo "#include \"$file\"" >>$link
5357 # If we have a CVS directory, set up a rule so verion.c will be made
5358 # from CVS tag information and use a dummy version number here if we
5359 # don't have version.c.
5362 if [ -d $srcdir/CVS
]; then
5363 version_dep
=ChangeLog
5366 if [ ! -f $srcdir/version.c
-a -d $srcdir/CVS
]
5370 # Get the version number from the toplevel
5371 version
=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${srcdir}/version.c`
5374 # Are we using gcc as the native compiler?
5376 *linux
* |
*cygwin32
* |
*mingw32
*)
5377 if [ x
$prefix = xNONE
]; then
5378 prefix
=$native_prefix
5383 # Get an absolute path to the GCC top-level source directory
5389 # Conditionalize the makefile for this host machine.
5390 # Make-host contains the concatenation of all host makefile fragments
5391 # [there can be more than one]. This file is built by configure.frag.
5392 host_overrides
=Make-host
5393 dep_host_xmake_file
=
5394 for f
in ..
${host_xmake_file}
5396 if [ -f ${srcdir}/config
/$f ]
5398 dep_host_xmake_file
="${dep_host_xmake_file} ${srcdir}/config/$f"
5402 # Conditionalize the makefile for this target machine.
5403 # Make-target contains the concatenation of all host makefile fragments
5404 # [there can be more than one]. This file is built by configure.frag.
5405 target_overrides
=Make-target
5407 for f
in ..
${tmake_file}
5409 if [ -f ${srcdir}/config
/$f ]
5411 dep_tmake_file
="${dep_tmake_file} ${srcdir}/config/$f"
5415 # If the host doesn't support symlinks, modify CC in
5416 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
5417 # Otherwise, we can use "CC=$(CC)".
5419 if $symbolic_link $srcdir/gcc.c symtest.tem
2>/dev
/null
5421 cc_set_by_configure
="\$(CC)"
5422 stage_prefix_set_by_configure
="\$(STAGE_PREFIX)"
5425 if cp -p $srcdir/gcc.c symtest.tem
2>/dev
/null
5427 symbolic_link
="cp -p"
5431 cc_set_by_configure
="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
5432 stage_prefix_set_by_configure
="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
5436 out_object_file
=`basename $out_file .c`.o
5439 for f
in $tm_file; do
5440 tm_file_list
="${tm_file_list} \$(srcdir)/config/$f"
5444 for f
in $host_xm_file; do
5445 host_xm_file_list
="${host_xm_file_list} \$(srcdir)/config/$f"
5449 for f
in $build_xm_file; do
5450 build_xm_file_list
="${build_xm_file_list} \$(srcdir)/config/$f"
5453 # Define macro CROSS_COMPILE in compilation
5454 # if this is a cross-compiler.
5455 # Also use all.cross instead of all.internal
5456 # and add cross-make to Makefile.
5457 cross_overrides
="/dev/null"
5458 if [ x
$host != x
$target ]
5460 cross_defines
="CROSS=-DCROSS_COMPILE"
5461 cross_overrides
="${topdir}/cross-make"
5464 # When building gcc with a cross-compiler, we need to fix a few things.
5465 # This must come after cross-make as we want all.build to override
5467 build_overrides
="/dev/null"
5468 if [ x
$build != x
$host ]
5470 build_overrides
="${topdir}/build-make"
5473 # Expand extra_headers to include complete path.
5474 # This substitutes for lots of t-* files.
5476 if [ "x$extra_headers" = x
]
5479 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
5480 for file in $extra_headers;
5482 extra_headers_list
="${extra_headers_list} \$(srcdir)/ginclude/${file}"
5486 # Add a definition of USE_COLLECT2 if system wants one.
5487 # Also tell toplev.c what to do.
5488 # This substitutes for lots of t-* files.
5489 if [ x
$use_collect2 = x
]
5494 will_use_collect2
="ld"
5495 maybe_use_collect2
="-DUSE_COLLECT2"
5499 # Set MD_DEPS if the real md file is in md.pre-cpp.
5500 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
5501 # for line oriented comments, so we must always use a GNU cpp. If
5502 # building gcc with a cross compiler, use the cross compiler just
5503 # built. Otherwise, we can use the cpp just built.
5505 if [ "x$md_cppflags" = x
]
5507 md_file_sub
=$srcdir/config
/$md_file
5512 # If we have gas in the build tree, make a link to it.
5513 if [ -f ..
/gas
/Makefile
]; then
5514 rm -f as
; $symbolic_link ..
/gas
/as.new as
2>/dev
/null
5517 # If we have ld in the build tree, make a link to it.
5518 if [ -f ..
/ld
/Makefile
]; then
5519 if [ x
$use_collect2 = x
]; then
5520 rm -f ld
; $symbolic_link ..
/ld
/ld.new ld
2>/dev
/null
5522 rm -f collect-ld
; $symbolic_link ..
/ld
/ld.new collect-ld
2>/dev
/null
5526 # Figure out what language subdirectories are present.
5528 for lang
in ${srcdir}/*/config-lang.
in ..
5532 # The odd quoting in the next line works around
5533 # an apparent bug in bash 1.12 on linux.
5534 ${srcdir}/[*]/config-lang.
in) ;;
5535 *) subdirs
="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" ;;
5539 # Make empty files to contain the specs and options for each language.
5540 # Then add #include lines to for a compiler that has specs and/or options.
5544 rm -f specs.h options.h
5545 touch specs.h options.h
5546 for subdir
in .
$subdirs
5548 if [ -f $srcdir/$subdir/lang-specs.h
]; then
5549 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
5550 lang_specs_files
="$lang_specs_files $srcdir/$subdir/lang-specs.h"
5552 if [ -f $srcdir/$subdir/lang-options.h
]; then
5553 echo "#include \"$subdir/lang-options.h\"" >>options.h
5554 lang_options_files
="$lang_options_files $srcdir/$subdir/lang-options.h"
5558 # These (without "all_") are set in each config-lang.in.
5559 # `language' must be a single word so is spelled singularly.
5565 all_outputs
=Makefile
5566 # List of language makefile fragments.
5571 # Add the language fragments.
5572 # Languages are added via two mechanisms. Some information must be
5573 # recorded in makefile variables, these are defined in config-lang.in.
5574 # We accumulate them and plug them into the main Makefile.
5575 # The other mechanism is a set of hooks for each of the main targets
5576 # like `clean', `install', etc.
5578 language_fragments
="Make-lang"
5579 language_hooks
="Make-hooks"
5582 for s
in ..
$subdirs
5594 .
${srcdir}/$s/config-lang.
in
5595 if [ "x$language" = x
]
5597 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
5600 all_lang_makefiles
="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
5601 all_languages
="$all_languages $language"
5602 if [ "x$boot_language" = xyes
]
5604 all_boot_languages
="$all_boot_languages $language"
5606 all_compilers
="$all_compilers $compilers"
5607 all_stagestuff
="$all_stagestuff $stagestuff"
5608 all_diff_excludes
="$all_diff_excludes $diff_excludes"
5609 all_headers
="$all_headers $headers"
5610 all_outputs
="$all_outputs $outputs"
5611 if [ x
$outputs = x
]
5613 oldstyle_subdirs
="$oldstyle_subdirs $s"
5615 all_lib2funcs
="$all_lib2funcs $lib2funcs"
5619 # Since we can't use `::' targets, we link each language in
5620 # with a set of hooks, reached indirectly via lang.${target}.
5624 target_list
="all.build all.cross start.encap rest.encap \
5626 install-normal install-common install-info install-man \
5628 mostlyclean clean distclean extraclean maintainer-clean \
5629 stage1 stage2 stage3 stage4"
5630 for t
in $target_list
5633 for l
in ..
$all_languages
5635 if [ $l != ".." ]; then
5639 echo "lang.$t: $x" >> Make-hooks
5642 # If we're not building in srcdir, create .gdbinit.
5644 if [ ! -f Makefile.
in ]; then
5645 echo "dir ." > .gdbinit
5646 echo "dir ${srcdir}" >> .gdbinit
5647 if [ x
$gdb_needs_out_file_path = xyes
]
5649 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
5651 if [ "x$subdirs" != x
]; then
5654 echo "dir ${srcdir}/$s" >> .gdbinit
5657 echo "source ${srcdir}/.gdbinit" >> .gdbinit
5660 # Process the language and host/target makefile fragments.
5661 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag
$srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
5663 # Substitute configuration variables
5714 # Echo that links are built
5715 if [ x
$host = x
$target ]
5723 if [ x
$host != x
$build ]
5725 str3
=" on a $build system"
5728 if [ "x$str2" != x
] ||
[ "x$str3" != x
]
5733 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
5735 if [ "x$str2" != x
] ||
[ "x$str3" != x
]
5737 echo " ${str2}${str3}." 1>&2
5740 # Truncate the target if necessary
5741 if [ x
$host_truncate_target != x
]; then
5742 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
5745 # Configure the subdirectories
5746 # AC_CONFIG_SUBDIRS($subdirs)
5748 # Create the Makefile
5749 # and configure language subdirectories
5751 cat > confcache
<<\EOF
5752 # This file is a shell script that caches the results of configure
5753 # tests run on this system so they can be shared between configure
5754 # scripts and configure runs. It is not useful on other systems.
5755 # If it contains results you don't want to keep, you may remove or edit it.
5757 # By default, configure uses ./config.cache as the cache file,
5758 # creating it if it does not exist already. You can give configure
5759 # the --cache-file=FILE option to use a different cache file; that is
5760 # what configure does when it calls configure scripts in
5761 # subdirectories, so they share the cache.
5762 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5763 # config.status only pays attention to the cache file if you give it the
5764 # --recheck option to rerun configure.
5767 # The following way of writing the cache mishandles newlines in values,
5768 # but we know of no workaround that is simple, portable, and efficient.
5769 # So, don't put newlines in cache variables' values.
5770 # Ultrix sh set writes to stderr and can't be redirected directly,
5771 # and sets the high bit in the cache file unless we assign to the vars.
5773 case `(ac_space=' '; set) 2>&1` in
5775 # `set' does not quote correctly, so add quotes (double-quote substitution
5776 # turns \\\\ into \\, and sed turns \\ into \).
5778 -e "s/'/'\\\\''/g" \
5779 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5782 # `set' quotes correctly as required by POSIX, so do not add quotes.
5783 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5786 if cmp -s $cache_file confcache
; then
5789 if test -w $cache_file; then
5790 echo "updating cache $cache_file"
5791 cat confcache
> $cache_file
5793 echo "not updating unwritable cache $cache_file"
5798 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5800 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5801 # Let make expand exec_prefix.
5802 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5804 # Any assignment to VPATH causes Sun make to only execute
5805 # the first set of double-colon rules, so remove it if not needed.
5806 # If there is a colon in the path, we need to keep it.
5807 if test "x$srcdir" = x.
; then
5808 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
5811 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5813 DEFS
=-DHAVE_CONFIG_H
5815 # Without the "./", some shells look in PATH for config.status.
5816 : ${CONFIG_STATUS=./config.status}
5818 echo creating
$CONFIG_STATUS
5819 rm -f $CONFIG_STATUS
5820 cat > $CONFIG_STATUS <<EOF
5822 # Generated automatically by configure.
5823 # Run this file to recreate the current configuration.
5824 # This directory was configured as follows,
5825 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5827 # $0 $ac_configure_args
5829 # Compiler output produced by configure, useful for debugging
5830 # configure, is in ./config.log if it exists.
5832 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5835 case "\$ac_option" in
5836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5837 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5838 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5839 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5840 echo "$CONFIG_STATUS generated by autoconf version 2.12"
5842 -help | --help | --hel | --he | --h)
5843 echo "\$ac_cs_usage"; exit 0 ;;
5844 *) echo "\$ac_cs_usage"; exit 1 ;;
5848 ac_given_srcdir=$srcdir
5849 ac_given_INSTALL="$INSTALL"
5851 trap 'rm -fr `echo "$all_outputs auto-config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5853 cat >> $CONFIG_STATUS <<EOF
5855 # Protect against being on the right side of a sed subst in config.status.
5856 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5857 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5860 s%@CFLAGS@%$CFLAGS%g
5861 s%@CPPFLAGS@%$CPPFLAGS%g
5862 s%@CXXFLAGS@%$CXXFLAGS%g
5864 s%@LDFLAGS@%$LDFLAGS%g
5866 s%@exec_prefix@%$exec_prefix%g
5867 s%@prefix@%$prefix%g
5868 s%@program_transform_name@%$program_transform_name%g
5869 s%@bindir@%$bindir%g
5870 s%@sbindir@%$sbindir%g
5871 s%@libexecdir@%$libexecdir%g
5872 s%@datadir@%$datadir%g
5873 s%@sysconfdir@%$sysconfdir%g
5874 s%@sharedstatedir@%$sharedstatedir%g
5875 s%@localstatedir@%$localstatedir%g
5876 s%@libdir@%$libdir%g
5877 s%@includedir@%$includedir%g
5878 s%@oldincludedir@%$oldincludedir%g
5879 s%@infodir@%$infodir%g
5880 s%@mandir@%$mandir%g
5882 s%@host_alias@%$host_alias%g
5883 s%@host_cpu@%$host_cpu%g
5884 s%@host_vendor@%$host_vendor%g
5885 s%@host_os@%$host_os%g
5886 s%@target@%$target%g
5887 s%@target_alias@%$target_alias%g
5888 s%@target_cpu@%$target_cpu%g
5889 s%@target_vendor@%$target_vendor%g
5890 s%@target_os@%$target_os%g
5892 s%@build_alias@%$build_alias%g
5893 s%@build_cpu@%$build_cpu%g
5894 s%@build_vendor@%$build_vendor%g
5895 s%@build_os@%$build_os%g
5897 s%@SET_MAKE@%$SET_MAKE%g
5900 s%@LEXLIB@%$LEXLIB%g
5901 s%@RANLIB@%$RANLIB%g
5903 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5904 s%@INSTALL_DATA@%$INSTALL_DATA%g
5906 s%@manext@%$manext%g
5907 s%@objext@%$objext%g
5908 s%@subdirs@%$subdirs%g
5909 s%@all_languages@%$all_languages%g
5910 s%@all_boot_languages@%$all_boot_languages%g
5911 s%@all_compilers@%$all_compilers%g
5912 s%@all_lang_makefiles@%$all_lang_makefiles%g
5913 s%@all_stagestuff@%$all_stagestuff%g
5914 s%@all_diff_excludes@%$all_diff_excludes%g
5915 s%@all_lib2funcs@%$all_lib2funcs%g
5916 s%@all_headers@%$all_headers%g
5917 s%@extra_passes@%$extra_passes%g
5918 s%@extra_programs@%$extra_programs%g
5919 s%@extra_parts@%$extra_parts%g
5920 s%@extra_c_objs@%$extra_c_objs%g
5921 s%@extra_c_flags@%$extra_c_flags%g
5922 s%@extra_objs@%$extra_objs%g
5923 s%@host_extra_gcc_objs@%$host_extra_gcc_objs%g
5924 s%@extra_headers_list@%$extra_headers_list%g
5925 s%@dep_host_xmake_file@%$dep_host_xmake_file%g
5926 s%@dep_tmake_file@%$dep_tmake_file%g
5927 s%@out_file@%$out_file%g
5928 s%@out_object_file@%$out_object_file%g
5929 s%@md_file@%$md_file%g
5930 s%@tm_file_list@%$tm_file_list%g
5931 s%@build_xm_file_list@%$build_xm_file_list%g
5932 s%@host_xm_file_list@%$host_xm_file_list%g
5933 s%@lang_specs_files@%$lang_specs_files%g
5934 s%@lang_options_files@%$lang_options_files%g
5935 s%@thread_file@%$thread_file%g
5936 s%@version@%$version%g
5937 s%@local_prefix@%$local_prefix%g
5938 s%@gxx_include_dir@%$gxx_include_dir%g
5939 s%@fixincludes@%$fixincludes%g
5940 s%@build_install_headers_dir@%$build_install_headers_dir%g
5941 s%@build_exeext@%$build_exeext%g
5942 s%@float_format@%$float_format%g
5943 s%@will_use_collect2@%$will_use_collect2%g
5944 s%@maybe_use_collect2@%$maybe_use_collect2%g
5945 s%@cc_set_by_configure@%$cc_set_by_configure%g
5946 s%@stage_prefix_set_by_configure@%$stage_prefix_set_by_configure%g
5947 s%@symbolic_link@%$symbolic_link%g
5948 s%@version_dep@%$version_dep%g
5949 /@target_overrides@/r $target_overrides
5950 s%@target_overrides@%%g
5951 /@host_overrides@/r $host_overrides
5952 s%@host_overrides@%%g
5953 s%@cross_defines@%$cross_defines%g
5954 /@cross_overrides@/r $cross_overrides
5955 s%@cross_overrides@%%g
5956 /@build_overrides@/r $build_overrides
5957 s%@build_overrides@%%g
5958 /@language_fragments@/r $language_fragments
5959 s%@language_fragments@%%g
5960 /@language_hooks@/r $language_hooks
5961 s%@language_hooks@%%g
5966 cat >> $CONFIG_STATUS <<\EOF
5968 # Split the substitutions into bite-sized pieces for seds with
5969 # small command number limits, like on Digital OSF/1 and HP-UX.
5970 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
5971 ac_file
=1 # Number of current file.
5972 ac_beg
=1 # First line for current file.
5973 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
5976 while $ac_more_lines; do
5977 if test $ac_beg -gt 1; then
5978 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
5980 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
5982 if test ! -s conftest.s
$ac_file; then
5984 rm -f conftest.s
$ac_file
5986 if test -z "$ac_sed_cmds"; then
5987 ac_sed_cmds
="sed -f conftest.s$ac_file"
5989 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
5991 ac_file
=`expr $ac_file + 1`
5993 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
5996 if test -z "$ac_sed_cmds"; then
6001 cat >> $CONFIG_STATUS <<EOF
6003 CONFIG_FILES=\${CONFIG_FILES-"$all_outputs"}
6005 cat >> $CONFIG_STATUS <<\EOF
6006 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
6007 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6009 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6010 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6011 *) ac_file_in
="${ac_file}.in" ;;
6014 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6016 # Remove last slash and all that follows it. Not all systems have dirname.
6017 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6018 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6019 # The file is in a subdirectory.
6020 test ! -d "$ac_dir" && mkdir
"$ac_dir"
6021 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
6022 # A "../" for each directory in $ac_dir_suffix.
6023 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6025 ac_dir_suffix
= ac_dots
=
6028 case "$ac_given_srcdir" in
6030 if test -z "$ac_dots"; then top_srcdir
=.
6031 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6032 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
6034 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6035 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6038 case "$ac_given_INSTALL" in
6039 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
6040 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
6043 echo creating
"$ac_file"
6045 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6047 *Makefile
*) ac_comsub
="1i\\
6048 # $configure_input" ;;
6052 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6054 s%@configure_input@%$configure_input%g
6055 s%@srcdir@%$srcdir%g
6056 s%@top_srcdir@%$top_srcdir%g
6057 s%@INSTALL@%$INSTALL%g
6058 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
6062 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6063 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6065 # ac_d sets the value in "#define NAME VALUE" lines.
6066 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6067 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
6070 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6071 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6072 ac_uB
='\([ ]\)%\1#\2define\3'
6075 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6076 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6077 ac_eB
='$%\1#\2define\3'
6081 if test "${CONFIG_HEADERS+set}" != set; then
6083 cat >> $CONFIG_STATUS <<EOF
6084 CONFIG_HEADERS="auto-config.h:config.in"
6086 cat >> $CONFIG_STATUS <<\EOF
6088 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
6089 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6091 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6092 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6093 *) ac_file_in
="${ac_file}.in" ;;
6096 echo creating
$ac_file
6098 rm -f conftest.frag conftest.
in conftest.out
6099 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6100 cat $ac_file_inputs > conftest.
in
6104 # Transform confdefs.h into a sed script conftest.vals that substitutes
6105 # the proper values into config.h.in to produce config.h. And first:
6106 # Protect against being on the right side of a sed subst in config.status.
6107 # Protect against being in an unquoted here document in config.status.
6109 cat > conftest.hdr
<<\EOF
6112 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
6116 sed -n -f conftest.hdr confdefs.h > conftest.vals
6119 # This sed command replaces #undef with comments. This is necessary, for
6120 # example, in the case of _POSIX_SOURCE, which is predefined and required
6121 # on some systems where configure will not decide to define it.
6122 cat >> conftest.vals <<\EOF
6123 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
6126 # Break up conftest.vals because some shells have a limit on
6127 # the size of here documents, and old seds have small limits too.
6132 ac_lines=`grep -c . conftest.vals
`
6133 # grep -c gives empty output for an empty file on some AIX systems.
6134 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
6135 # Write a limited-size here document to conftest.frag.
6136 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
6137 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
6139 sed -f conftest.frag conftest.in > conftest.out
6141 mv conftest.out conftest.in
6143 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
6145 mv conftest.tail conftest.vals
6149 cat >> $CONFIG_STATUS <<\EOF
6150 rm -f conftest.frag conftest.h
6151 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
6152 cat conftest.in >> conftest.h
6154 if cmp -s $ac_file conftest.h 2>/dev/null; then
6155 echo "$ac_file is unchanged"
6158 # Remove last slash and all that follows it. Not all systems have dirname.
6159 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
6160 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6161 # The file is in a subdirectory.
6162 test ! -d "$ac_dir" && mkdir "$ac_dir"
6165 mv conftest.h $ac_file
6170 cat >> $CONFIG_STATUS <<EOF
6175 target_alias='${target_alias}'
6177 subdirs='${subdirs}'
6178 oldstyle_subdirs='${oldstyle_subdirs}'
6179 symbolic_link='${symbolic_link}'
6180 version_dep='${version_dep}'
6181 program_transform_set='${program_transform_set}'
6182 program_transform_name='${program_transform_name}'
6183 dep_host_xmake_file='${dep_host_xmake_file}'
6184 host_xmake_file='${host_xmake_file}'
6185 dep_tmake_file='${dep_tmake_file}'
6186 tmake_file='${tmake_file}'
6187 thread_file='${thread_file}'
6188 version='${version}'
6189 local_prefix='${local_prefix}'
6190 build_install_headers_dir='${build_install_headers_dir}'
6191 build_exeext='${build_exeext}'
6192 out_file='${out_file}'
6193 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
6194 SET_MAKE='${SET_MAKE}'
6195 build_broken_install='${build_broken_install}'
6196 target_list='${target_list}'
6197 target_overrides='${target_overrides}'
6198 host_overrides='${host_overrides}'
6199 cross_defines='${cross_defines}'
6200 cross_overrides='${cross_overrides}'
6201 build_overrides='${build_overrides}'
6204 cat >> $CONFIG_STATUS <<\EOF
6206 . $srcdir/configure.lang
6207 case x$CONFIG_HEADERS in
6208 xauto-config.h:config.in)
6211 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
6212 # bootstrapping and the installation procedure can still use
6213 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
6214 # FLAGS_TO_PASS has been modified to solve the problem there.
6215 # This is virtually a duplicate of what happens in configure.lang; we do
6216 # an extra check to make sure this only happens if ln -s can be used.
6217 if [ "$symbolic_link" = "ln -s" ]; then
6218 for d in .. ${subdirs} ; do
6219 if [ $d != .. ]; then
6222 for t in stage1 stage2 stage3 stage4 include
6225 $symbolic_link ../$t $t 2>/dev/null
6234 chmod +x $CONFIG_STATUS
6235 rm -fr confdefs* $ac_clean_files
6236 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1