3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-gnu-ld arrange to work with GNU ld."
17 --with-ld arrange to use the specified ld (full pathname)."
19 --with-gnu-as arrange to work with GNU as."
21 --with-as arrange to use the specified as (full pathname)."
23 --with-stabs arrange to use stabs instead of host debug format."
25 --with-elf arrange to use ELF instead of host debug format."
27 --with-local-prefix=DIR specifies directory to put local include."
29 --with-gxx-include-dir=DIR
30 specifies directory to put g++ header files."
32 --enable-checking[=LIST]
33 enable expensive run-time checks. With LIST,
34 enable only specific categories of checks.
35 Categories are: misc,tree,rtl,gc,gcac; default
38 --disable-cpp don't provide a user-visible C preprocessor."
40 --with-cpp-install-dir=DIR
41 install the user visible C preprocessor in DIR
42 (relative to PREFIX) as well as PREFIX/bin."
44 --enable-c-cpplib link cpplib directly into C and C++ compilers
45 (HIGHLY EXPERIMENTAL)."
47 --enable-c-mbchar Enable multibyte characters for C and C++."
49 --enable-threads enable thread usage for target GCC.
50 --enable-threads=LIB use LIB thread package for target GCC."
52 --enable-objc-gc enable the use of Boehm's garbage collector with
53 the GNU Objective-C runtime."
55 --with-dwarf2 force the default debug format to be DWARF2."
57 --disable-shared don't provide a shared libgcc."
59 --enable-nls use Native Language Support (default)"
61 --disable-nls do not use Native Language Support"
63 --with-included-gettext use the GNU gettext library included here"
65 --with-catgets use catgets functions if available"
67 --disable-win32-registry
68 Disable lookup of installation paths in the
69 Registry on Windows hosts.
70 --enable-win32-registry Enable registry lookup (default).
71 --enable-win32-registry=KEY
72 Use KEY instead of GCC version as the last portion
75 --with-gc={simple,page} Choose the garbage collection mechanism to use
78 --with-system-zlib use installed libz"
81 select the new abi for g++. You must select an ABI
82 at configuration time, so that the correct runtime
83 support is built. You cannot mix ABIs."
86 enable libstdc++-v3 for building and installation"
88 --enable-maintainer-mode enable make rules and dependencies not useful
89 (and sometimes confusing) to the casual installer"
91 # Initialize some variables set by options.
92 # The variables have the same names as the options, with
93 # dashes changed to underlines.
95 cache_file
=.
/config.cache
104 program_transform_name
=s
,x
,x
,
112 bindir
='${exec_prefix}/bin'
113 sbindir
='${exec_prefix}/sbin'
114 libexecdir
='${exec_prefix}/libexec'
115 datadir
='${prefix}/share'
116 sysconfdir
='${prefix}/etc'
117 sharedstatedir
='${prefix}/com'
118 localstatedir
='${prefix}/var'
119 libdir
='${exec_prefix}/lib'
120 includedir
='${prefix}/include'
121 oldincludedir
='/usr/include'
122 infodir
='${prefix}/info'
123 mandir
='${prefix}/man'
125 # Initialize some other variables.
128 SHELL
=${CONFIG_SHELL-/bin/sh}
129 # Maximum number of lines to put in a shell here document.
136 # If the previous option needs an argument, assign it.
137 if test -n "$ac_prev"; then
138 eval "$ac_prev=\$ac_option"
144 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
148 # Accept the important Cygnus configure options, so we can diagnose typos.
152 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
154 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
155 bindir
="$ac_optarg" ;;
157 -build |
--build |
--buil |
--bui |
--bu)
159 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
160 build
="$ac_optarg" ;;
162 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
163 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
164 ac_prev
=cache_file
;;
165 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
166 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
167 cache_file
="$ac_optarg" ;;
169 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
171 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
173 datadir
="$ac_optarg" ;;
175 -disable-* |
--disable-*)
176 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
177 # Reject names that are not valid shell variable names.
178 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
179 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
181 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
182 eval "enable_${ac_feature}=no" ;;
184 -enable-* |
--enable-*)
185 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
186 # Reject names that are not valid shell variable names.
187 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
188 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
190 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
195 eval "enable_${ac_feature}='$ac_optarg'" ;;
197 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
198 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
199 |
--exec |
--exe |
--ex)
200 ac_prev
=exec_prefix
;;
201 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
202 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
203 |
--exec=* |
--exe=* |
--ex=*)
204 exec_prefix
="$ac_optarg" ;;
206 -gas |
--gas |
--ga |
--g)
207 # Obsolete; use --with-gas.
210 -help |
--help |
--hel |
--he)
211 # Omit some internal or obsolete options to make the list less imposing.
212 # This message is too long to be a string in the A/UX 3.1 sh.
214 Usage: configure [options] [host]
215 Options: [defaults in brackets after descriptions]
217 --cache-file=FILE cache test results in FILE
218 --help print this message
219 --no-create do not create output files
220 --quiet, --silent do not print \`checking...' messages
221 --version print the version of autoconf that created configure
222 Directory and file names:
223 --prefix=PREFIX install architecture-independent files in PREFIX
225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
227 --bindir=DIR user executables in DIR [EPREFIX/bin]
228 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
229 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
230 --datadir=DIR read-only architecture-independent data in DIR
232 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
233 --sharedstatedir=DIR modifiable architecture-independent data in DIR
235 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
236 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
237 --includedir=DIR C header files in DIR [PREFIX/include]
238 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
239 --infodir=DIR info documentation in DIR [PREFIX/info]
240 --mandir=DIR man documentation in DIR [PREFIX/man]
241 --srcdir=DIR find the sources in DIR [configure dir or ..]
242 --program-prefix=PREFIX prepend PREFIX to installed program names
243 --program-suffix=SUFFIX append SUFFIX to installed program names
244 --program-transform-name=PROGRAM
245 run sed PROGRAM on installed program names
249 --build=BUILD configure for building on BUILD [BUILD=HOST]
250 --host=HOST configure for HOST [guessed]
251 --target=TARGET configure for TARGET [TARGET=HOST]
252 Features and packages:
253 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
254 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
257 --x-includes=DIR X include files are in DIR
258 --x-libraries=DIR X library files are in DIR
260 if test -n "$ac_help"; then
261 echo "--enable and --with options recognized:$ac_help"
265 -host |
--host |
--hos |
--ho)
267 -host=* |
--host=* |
--hos=* |
--ho=*)
270 -includedir |
--includedir |
--includedi |
--included |
--include \
271 |
--includ |
--inclu |
--incl |
--inc)
272 ac_prev
=includedir
;;
273 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
274 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
275 includedir
="$ac_optarg" ;;
277 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
279 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
280 infodir
="$ac_optarg" ;;
282 -libdir |
--libdir |
--libdi |
--libd)
284 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
285 libdir
="$ac_optarg" ;;
287 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
288 |
--libexe |
--libex |
--libe)
289 ac_prev
=libexecdir
;;
290 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
291 |
--libexe=* |
--libex=* |
--libe=*)
292 libexecdir
="$ac_optarg" ;;
294 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
295 |
--localstate |
--localstat |
--localsta |
--localst \
296 |
--locals |
--local |
--loca |
--loc |
--lo)
297 ac_prev
=localstatedir
;;
298 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
299 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
300 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
301 localstatedir
="$ac_optarg" ;;
303 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
305 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
306 mandir
="$ac_optarg" ;;
309 # Obsolete; use --without-fp.
312 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
316 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
317 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
320 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
321 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
322 |
--oldin |
--oldi |
--old |
--ol |
--o)
323 ac_prev
=oldincludedir
;;
324 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
325 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
326 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
327 oldincludedir
="$ac_optarg" ;;
329 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
331 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
332 prefix
="$ac_optarg" ;;
334 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
335 |
--program-pre |
--program-pr |
--program-p)
336 ac_prev
=program_prefix
;;
337 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
338 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
339 program_prefix
="$ac_optarg" ;;
341 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
342 |
--program-suf |
--program-su |
--program-s)
343 ac_prev
=program_suffix
;;
344 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
345 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
346 program_suffix
="$ac_optarg" ;;
348 -program-transform-name |
--program-transform-name \
349 |
--program-transform-nam |
--program-transform-na \
350 |
--program-transform-n |
--program-transform- \
351 |
--program-transform |
--program-transfor \
352 |
--program-transfo |
--program-transf \
353 |
--program-trans |
--program-tran \
354 |
--progr-tra |
--program-tr |
--program-t)
355 ac_prev
=program_transform_name
;;
356 -program-transform-name=* |
--program-transform-name=* \
357 |
--program-transform-nam=* |
--program-transform-na=* \
358 |
--program-transform-n=* |
--program-transform-=* \
359 |
--program-transform=* |
--program-transfor=* \
360 |
--program-transfo=* |
--program-transf=* \
361 |
--program-trans=* |
--program-tran=* \
362 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
363 program_transform_name
="$ac_optarg" ;;
365 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
366 |
-silent |
--silent |
--silen |
--sile |
--sil)
369 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
371 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
373 sbindir
="$ac_optarg" ;;
375 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
376 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
377 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
379 ac_prev
=sharedstatedir
;;
380 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
381 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
382 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
384 sharedstatedir
="$ac_optarg" ;;
386 -site |
--site |
--sit)
388 -site=* |
--site=* |
--sit=*)
391 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
393 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
394 srcdir
="$ac_optarg" ;;
396 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
397 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
398 ac_prev
=sysconfdir
;;
399 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
400 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
401 sysconfdir
="$ac_optarg" ;;
403 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
405 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
406 target
="$ac_optarg" ;;
408 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
411 -version |
--version |
--versio |
--versi |
--vers)
412 echo "configure generated by autoconf version 2.13"
416 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
417 # Reject names that are not valid shell variable names.
418 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
419 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
421 ac_package
=`echo $ac_package| sed 's/-/_/g'`
426 eval "with_${ac_package}='$ac_optarg'" ;;
428 -without-* |
--without-*)
429 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
430 # Reject names that are not valid shell variable names.
431 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
432 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
434 ac_package
=`echo $ac_package| sed 's/-/_/g'`
435 eval "with_${ac_package}=no" ;;
438 # Obsolete; use --with-x.
441 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
442 |
--x-incl |
--x-inc |
--x-in |
--x-i)
443 ac_prev
=x_includes
;;
444 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
445 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
446 x_includes
="$ac_optarg" ;;
448 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
449 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
450 ac_prev
=x_libraries
;;
451 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
452 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
453 x_libraries
="$ac_optarg" ;;
455 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
459 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
460 echo "configure: warning: $ac_option: invalid host type" 1>&2
462 if test "x$nonopt" != xNONE
; then
463 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
471 if test -n "$ac_prev"; then
472 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
475 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
477 # File descriptor usage:
480 # 2 errors and warnings
481 # 3 some systems may open it to /dev/tty
482 # 4 used on the Kubota Titan
483 # 6 checking for... messages and results
484 # 5 compiler messages saved in config.log
485 if test "$silent" = yes; then
493 This file contains any messages produced by compilers while
494 running configure, to aid debugging if configure makes a mistake.
497 # Strip out --no-create and --no-recursion so they do not pile up.
498 # Also quote any args containing shell metacharacters.
503 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
504 |
--no-cr |
--no-c) ;;
505 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
506 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
507 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
508 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
509 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
514 # Only set these to C if already set. These must not be set unconditionally
515 # because not all systems understand e.g. LANG=C (notably SCO).
516 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
517 # Non-C LC_CTYPE values break the ctype check.
518 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
519 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
520 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
521 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
524 rm -rf conftest
* confdefs.h
525 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
528 # A filename unique to this package, relative to the directory that
529 # configure is in, which we can look for to find out if srcdir is correct.
530 ac_unique_file
=tree.c
532 # Find the source files, if location was not specified.
533 if test -z "$srcdir"; then
534 ac_srcdir_defaulted
=yes
535 # Try the directory containing this script, then its parent.
537 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
538 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
540 if test ! -r $srcdir/$ac_unique_file; then
544 ac_srcdir_defaulted
=no
546 if test ! -r $srcdir/$ac_unique_file; then
547 if test "$ac_srcdir_defaulted" = yes; then
548 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
550 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
553 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
555 # Prefer explicitly selected file to automatically selected ones.
556 if test -z "$CONFIG_SITE"; then
557 if test "x$prefix" != xNONE
; then
558 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
560 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
563 for ac_site_file
in $CONFIG_SITE; do
564 if test -r "$ac_site_file"; then
565 echo "loading site script $ac_site_file"
570 if test -r "$cache_file"; then
571 echo "loading cache $cache_file"
574 echo "creating cache $cache_file"
579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
580 ac_cpp
='$CPP $CPPFLAGS'
581 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
582 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
583 cross_compiling
=$ac_cv_prog_cc_cross
587 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
588 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
589 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
596 ac_n
= ac_c
='\c' ac_t
=
604 symbolic_link
='ln -s'
607 # Check for bogus environment variables.
608 # Test if LIBRARY_PATH contains the notation for the current directory
609 # since this would lead to problems installing/building glibc.
610 # LIBRARY_PATH contains the current directory if one of the following
612 # - one of the terminals (":" and ";") is the first or last sign
613 # - two terminals occur directly after each other
614 # - the path contains an element with a dot in it
615 echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
616 echo "configure:617: checking LIBRARY_PATH variable" >&5
617 case ${LIBRARY_PATH} in
618 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
619 library_path_setting
="contains current directory"
622 library_path_setting
="ok"
625 echo "$ac_t""$library_path_setting" 1>&6
626 if test "$library_path_setting" != "ok"; then
627 { echo "configure: error:
628 *** LIBRARY_PATH shouldn't contain the current directory when
629 *** building gcc. Please change the environment variable
630 *** and run configure again." 1>&2; exit 1; }
633 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
634 # since this would lead to problems installing/building glibc.
635 # GCC_EXEC_PREFIX contains the current directory if one of the following
637 # - one of the terminals (":" and ";") is the first or last sign
638 # - two terminals occur directly after each other
639 # - the path contains an element with a dot in it
640 echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
641 echo "configure:642: checking GCC_EXEC_PREFIX variable" >&5
642 case ${GCC_EXEC_PREFIX} in
643 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
644 gcc_exec_prefix_setting
="contains current directory"
647 gcc_exec_prefix_setting
="ok"
650 echo "$ac_t""$gcc_exec_prefix_setting" 1>&6
651 if test "$gcc_exec_prefix_setting" != "ok"; then
652 { echo "configure: error:
653 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
654 *** building gcc. Please change the environment variable
655 *** and run configure again." 1>&2; exit 1; }
658 # Check for additional parameters
661 # Check whether --with-gnu-ld or --without-gnu-ld was given.
662 if test "${with_gnu_ld+set}" = set; then
663 withval
="$with_gnu_ld"
664 gnu_ld_flag
="$with_gnu_ld"
670 # With pre-defined ld
671 # Check whether --with-ld or --without-ld was given.
672 if test "${with_ld+set}" = set; then
674 DEFAULT_LINKER
="$with_ld"
677 if test x
"${DEFAULT_LINKER+set}" = x
"set"; then
678 if test ! -x "$DEFAULT_LINKER"; then
679 echo "configure: warning: cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" 1>&2
680 elif $DEFAULT_LINKER -v < /dev
/null
2>&1 |
grep GNU
> /dev
/null
; then
683 cat >> confdefs.h
<<EOF
684 #define DEFAULT_LINKER "$DEFAULT_LINKER"
690 # Check whether --with-gnu-as or --without-gnu-as was given.
691 if test "${with_gnu_as+set}" = set; then
692 withval
="$with_gnu_as"
693 gas_flag
="$with_gnu_as"
699 # Check whether --with-as or --without-as was given.
700 if test "${with_as+set}" = set; then
702 DEFAULT_ASSEMBLER
="$with_as"
705 if test x
"${DEFAULT_ASSEMBLER+set}" = x
"set"; then
706 if test ! -x "$DEFAULT_ASSEMBLER"; then
707 echo "configure: warning: cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" 1>&2
708 elif $DEFAULT_ASSEMBLER -v < /dev
/null
2>&1 |
grep GNU
> /dev
/null
; then
711 cat >> confdefs.h
<<EOF
712 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
718 # Check whether --with-stabs or --without-stabs was given.
719 if test "${with_stabs+set}" = set; then
720 withval
="$with_stabs"
728 # Check whether --with-elf or --without-elf was given.
729 if test "${with_elf+set}" = set; then
737 # Specify the local prefix
739 # Check whether --with-local-prefix or --without-local-prefix was given.
740 if test "${with_local_prefix+set}" = set; then
741 withval
="$with_local_prefix"
743 yes) { echo "configure: error: bad value ${withval} given for local include directory prefix" 1>&2; exit 1; } ;;
745 *) local_prefix
=$with_local_prefix ;;
750 # Default local prefix if it is empty
751 if test x
$local_prefix = x
; then
752 local_prefix
=/usr
/local
755 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
756 # passed in by the toplevel make and thus we'd get different behavior
757 # depending on where we built the sources.
759 # Specify the g++ header file directory
760 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
761 if test "${with_gxx_include_dir+set}" = set; then
762 withval
="$with_gxx_include_dir"
764 yes) { echo "configure: error: bad value ${withval} given for g++ include directory" 1>&2; exit 1; } ;;
766 *) gcc_gxx_include_dir
=$with_gxx_include_dir ;;
771 if test x
${gcc_gxx_include_dir} = x
; then
772 if test x
${enable_version_specific_runtime_libs} = xyes
; then
773 gcc_gxx_include_dir
='${libsubdir}/include/g++'
775 topsrcdir
=${srcdir}/.. .
${srcdir}/..
/config.
if
776 gcc_gxx_include_dir
="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/g++"-${libstdcxx_interface}
780 # Enable expensive internal checks
781 # Check whether --enable-checking or --disable-checking was given.
782 if test "${enable_checking+set}" = set; then
783 enableval
="$enable_checking"
788 ac_gc_always_collect
=
789 case "${enableval}" in
790 yes) ac_checking
=1 ; ac_tree_checking
=1 ; ac_gc_checking
=1 ;;
792 *) IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
793 set fnord
$enableval; shift
798 misc
) ac_checking
=1 ;;
799 tree
) ac_tree_checking
=1 ;;
800 rtl
) ac_rtl_checking
=1 ;;
801 gc
) ac_gc_checking
=1 ;;
802 gcac
) ac_gc_always_collect
=1 ;;
803 *) { echo "configure: error: unknown check category $check" 1>&2; exit 1; } ;;
810 # Enable some checks by default for development versions of GCC
811 ac_checking
=1; ac_tree_checking
=1; ac_gc_checking
=1;
814 if test x
$ac_checking != x
; then
815 cat >> confdefs.h
<<\EOF
816 #define ENABLE_CHECKING 1
820 if test x
$ac_tree_checking != x
; then
821 cat >> confdefs.h
<<\EOF
822 #define ENABLE_TREE_CHECKING 1
826 if test x
$ac_rtl_checking != x
; then
827 cat >> confdefs.h
<<\EOF
828 #define ENABLE_RTL_CHECKING 1
832 if test x
$ac_gc_checking != x
; then
833 cat >> confdefs.h
<<\EOF
834 #define ENABLE_GC_CHECKING 1
838 if test x
$ac_gc_always_collect != x
; then
839 cat >> confdefs.h
<<\EOF
840 #define ENABLE_GC_ALWAYS_COLLECT 1
846 # Check whether --enable-cpp or --disable-cpp was given.
847 if test "${enable_cpp+set}" = set; then
848 enableval
="$enable_cpp"
855 # Check whether --with-cpp_install_dir or --without-cpp_install_dir was given.
856 if test "${with_cpp_install_dir+set}" = set; then
857 withval
="$with_cpp_install_dir"
858 if test x
$withval = xyes
; then
859 { echo "configure: error: option --with-cpp-install-dir requires an argument" 1>&2; exit 1; }
860 elif test x
$withval != xno
; then
861 cpp_install_dir
=$withval
866 # Link cpplib into the compiler proper, for C/C++/ObjC.
867 # Check whether --enable-c-cpplib or --disable-c-cpplib was given.
868 if test "${enable_c_cpplib+set}" = set; then
869 enableval
="$enable_c_cpplib"
870 if test x
$enable_c_cpplib != xno
; then
871 extra_c_objs
="${extra_c_objs} libcpp.a"
872 extra_cxx_objs
="${extra_cxx_objs} ../libcpp.a"
873 cat >> confdefs.h
<<\EOF
881 # Enable Multibyte Characters for C/C++
882 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
883 if test "${enable_c_mbchar+set}" = set; then
884 enableval
="$enable_c_mbchar"
885 if test x
$enable_c_mbchar != xno
; then
886 cat >> confdefs.h
<<\EOF
887 #define MULTIBYTE_CHARS 1
895 # Pass with no value to take the default
896 # Pass with a value to specify a thread package
897 # Check whether --enable-threads or --disable-threads was given.
898 if test "${enable_threads+set}" = set; then
899 enableval
="$enable_threads"
906 enable_threads_flag
=$enable_threads
907 # Check if a valid thread package
908 case x
${enable_threads_flag} in
911 target_thread_file
='single'
915 target_thread_file
=''
917 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
918 xsolaris | xwin32 | xdce | xvxworks | xaix
)
919 target_thread_file
=$enable_threads_flag
922 echo "$enable_threads is an unknown thread package" 1>&2
927 # Check whether --enable-objc-gc or --disable-objc-gc was given.
928 if test "${enable_objc_gc+set}" = set; then
929 enableval
="$enable_objc_gc"
930 if test x
$enable_objc_gc = xno
; then
940 # Check whether --with-dwarf2 or --without-dwarf2 was given.
941 if test "${with_dwarf2+set}" = set; then
942 withval
="$with_dwarf2"
943 dwarf2
="$with_dwarf2"
949 # Check whether --enable-shared or --disable-shared was given.
950 if test "${enable_shared+set}" = set; then
951 enableval
="$enable_shared"
959 # Determine the host, build, and target systems
961 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
962 if test -f $ac_dir/install-sh
; then
964 ac_install_sh
="$ac_aux_dir/install-sh -c"
966 elif test -f $ac_dir/install.sh
; then
968 ac_install_sh
="$ac_aux_dir/install.sh -c"
972 if test -z "$ac_aux_dir"; then
973 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
975 ac_config_guess
=$ac_aux_dir/config.guess
976 ac_config_sub
=$ac_aux_dir/config.sub
977 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
980 # Do some error checking and defaulting for the host and target type.
982 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
985 # 1. You are not allowed to specify --host, --target, and nonopt at the
987 # 2. Host defaults to nonopt.
988 # 3. If nonopt is not specified, then host defaults to the current host,
989 # as determined by config.guess.
990 # 4. Target and build default to nonopt.
991 # 5. If nonopt is not specified, then target and build default to host.
993 # The aliases save the names the user supplied, while $host etc.
994 # will get canonicalized.
995 case $host---$target---$nonopt in
996 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
997 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1001 # Make sure we can run config.sub.
1002 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1003 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1006 echo $ac_n "checking host system type""... $ac_c" 1>&6
1007 echo "configure:1008: checking host system type" >&5
1010 case "$host_alias" in
1014 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1015 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1017 *) host_alias
=$nonopt ;;
1021 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1022 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1023 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1024 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1025 echo "$ac_t""$host" 1>&6
1027 echo $ac_n "checking target system type""... $ac_c" 1>&6
1028 echo "configure:1029: checking target system type" >&5
1030 target_alias
=$target
1031 case "$target_alias" in
1034 NONE
) target_alias
=$host_alias ;;
1035 *) target_alias
=$nonopt ;;
1039 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1040 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1041 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1042 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1043 echo "$ac_t""$target" 1>&6
1045 echo $ac_n "checking build system type""... $ac_c" 1>&6
1046 echo "configure:1047: checking build system type" >&5
1049 case "$build_alias" in
1052 NONE
) build_alias
=$host_alias ;;
1053 *) build_alias
=$nonopt ;;
1057 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1058 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1059 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1060 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1061 echo "$ac_t""$build" 1>&6
1063 test "$host_alias" != "$target_alias" &&
1064 test "$program_prefix$program_suffix$program_transform_name" = \
1066 program_prefix
=${target_alias}-
1069 # Find the native compiler
1070 # Extract the first word of "gcc", so it can be a program name with args.
1071 set dummy gcc
; ac_word
=$2
1072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1073 echo "configure:1074: checking for $ac_word" >&5
1074 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1075 echo $ac_n "(cached) $ac_c" 1>&6
1077 if test -n "$CC"; then
1078 ac_cv_prog_CC
="$CC" # Let the user override the test.
1080 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1082 for ac_dir
in $ac_dummy; do
1083 test -z "$ac_dir" && ac_dir
=.
1084 if test -f $ac_dir/$ac_word; then
1093 if test -n "$CC"; then
1094 echo "$ac_t""$CC" 1>&6
1096 echo "$ac_t""no" 1>&6
1099 if test -z "$CC"; then
1100 # Extract the first word of "cc", so it can be a program name with args.
1101 set dummy cc
; ac_word
=$2
1102 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1103 echo "configure:1104: checking for $ac_word" >&5
1104 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1105 echo $ac_n "(cached) $ac_c" 1>&6
1107 if test -n "$CC"; then
1108 ac_cv_prog_CC
="$CC" # Let the user override the test.
1110 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1113 for ac_dir
in $ac_dummy; do
1114 test -z "$ac_dir" && ac_dir
=.
1115 if test -f $ac_dir/$ac_word; then
1116 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1117 ac_prog_rejected
=yes
1125 if test $ac_prog_rejected = yes; then
1126 # We found a bogon in the path, so make sure we never use it.
1127 set dummy
$ac_cv_prog_CC
1129 if test $# -gt 0; then
1130 # We chose a different compiler from the bogus one.
1131 # However, it has the same basename, so the bogon will be chosen
1132 # first if we set CC to just the basename; use the full file name.
1134 set dummy
"$ac_dir/$ac_word" "$@"
1142 if test -n "$CC"; then
1143 echo "$ac_t""$CC" 1>&6
1145 echo "$ac_t""no" 1>&6
1148 if test -z "$CC"; then
1149 case "`uname -s`" in
1151 # Extract the first word of "cl", so it can be a program name with args.
1152 set dummy cl
; ac_word
=$2
1153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1154 echo "configure:1155: checking for $ac_word" >&5
1155 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1156 echo $ac_n "(cached) $ac_c" 1>&6
1158 if test -n "$CC"; then
1159 ac_cv_prog_CC
="$CC" # Let the user override the test.
1161 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1163 for ac_dir
in $ac_dummy; do
1164 test -z "$ac_dir" && ac_dir
=.
1165 if test -f $ac_dir/$ac_word; then
1174 if test -n "$CC"; then
1175 echo "$ac_t""$CC" 1>&6
1177 echo "$ac_t""no" 1>&6
1182 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1185 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1186 echo "configure:1187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1190 ac_cpp
='$CPP $CPPFLAGS'
1191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1192 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1193 cross_compiling
=$ac_cv_prog_cc_cross
1195 cat > conftest.
$ac_ext << EOF
1197 #line 1198 "configure"
1198 #include "confdefs.h"
1202 if { (eval echo configure
:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1203 ac_cv_prog_cc_works
=yes
1204 # If we can't run a trivial program, we are probably using a cross compiler.
1205 if (.
/conftest
; exit) 2>/dev
/null
; then
1206 ac_cv_prog_cc_cross
=no
1208 ac_cv_prog_cc_cross
=yes
1211 echo "configure: failed program was:" >&5
1212 cat conftest.
$ac_ext >&5
1213 ac_cv_prog_cc_works
=no
1217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1218 ac_cpp
='$CPP $CPPFLAGS'
1219 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1220 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1221 cross_compiling
=$ac_cv_prog_cc_cross
1223 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1224 if test $ac_cv_prog_cc_works = no
; then
1225 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1227 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1228 echo "configure:1229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1229 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1230 cross_compiling
=$ac_cv_prog_cc_cross
1232 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1233 echo "configure:1234: checking whether we are using GNU C" >&5
1234 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1235 echo $ac_n "(cached) $ac_c" 1>&6
1237 cat > conftest.c
<<EOF
1242 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1249 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1251 if test $ac_cv_prog_gcc = yes; then
1257 ac_test_CFLAGS
="${CFLAGS+set}"
1258 ac_save_CFLAGS
="$CFLAGS"
1260 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1261 echo "configure:1262: checking whether ${CC-cc} accepts -g" >&5
1262 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1263 echo $ac_n "(cached) $ac_c" 1>&6
1265 echo 'void f(){}' > conftest.c
1266 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1275 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1276 if test "$ac_test_CFLAGS" = set; then
1277 CFLAGS
="$ac_save_CFLAGS"
1278 elif test $ac_cv_prog_cc_g = yes; then
1279 if test "$GCC" = yes; then
1285 if test "$GCC" = yes; then
1292 if test "x$CC" != xcc
; then
1293 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
1294 echo "configure:1295: checking whether $CC and cc understand -c and -o together" >&5
1296 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
1297 echo "configure:1298: checking whether cc understands -c and -o together" >&5
1299 set dummy
$CC; ac_cc
="`echo $2 |
1300 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
1301 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
1302 echo $ac_n "(cached) $ac_c" 1>&6
1304 echo 'foo(){}' > conftest.c
1305 # Make sure it works both with $CC and with simple cc.
1306 # We do the test twice because some compilers refuse to overwrite an
1307 # existing .o file with -o, though they will create one.
1308 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
1309 if { (eval echo configure
:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1310 test -f conftest.o
&& { (eval echo configure
:1311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1312 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
1313 if test "x$CC" != xcc
; then
1314 # Test first that cc exists at all.
1315 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1316 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
1317 if { (eval echo configure
:1318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1318 test -f conftest.o
&& { (eval echo configure
:1319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1323 # cc exists but doesn't like -o.
1324 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
1329 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
1334 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
1335 echo "$ac_t""yes" 1>&6
1337 echo "$ac_t""no" 1>&6
1338 cat >> confdefs.h
<<\EOF
1339 #define NO_MINUS_C_MINUS_O 1
1344 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
1345 NO_MINUS_C_MINUS_O
=yes
1349 echo $ac_n "checking for long double""... $ac_c" 1>&6
1350 echo "configure:1351: checking for long double" >&5
1351 if eval "test \"`echo '$''{'gcc_cv_c_long_double'+set}'`\" = set"; then
1352 echo $ac_n "(cached) $ac_c" 1>&6
1354 if test "$GCC" = yes; then
1355 gcc_cv_c_long_double
=yes
1357 cat > conftest.
$ac_ext <<EOF
1358 #line 1359 "configure"
1359 #include "confdefs.h"
1362 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
1363 long double foo = 0.0;
1364 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
1365 switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;
1368 if { (eval echo configure
:1369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1370 gcc_cv_c_long_double
=yes
1372 echo "configure: failed program was:" >&5
1373 cat conftest.
$ac_ext >&5
1375 gcc_cv_c_long_double
=no
1381 echo "$ac_t""$gcc_cv_c_long_double" 1>&6
1382 if test $gcc_cv_c_long_double = yes; then
1383 cat >> confdefs.h
<<\EOF
1384 #define HAVE_LONG_DOUBLE 1
1390 echo $ac_n "checking whether ${CC-cc} accepts -Wno-long-long""... $ac_c" 1>&6
1391 echo "configure:1392: checking whether ${CC-cc} accepts -Wno-long-long" >&5
1392 if eval "test \"`echo '$''{'ac_cv_prog_cc_no_long_long'+set}'`\" = set"; then
1393 echo $ac_n "(cached) $ac_c" 1>&6
1395 save_CFLAGS
="$CFLAGS"
1396 CFLAGS
="-Wno-long-long"
1397 cat > conftest.
$ac_ext <<EOF
1398 #line 1399 "configure"
1399 #include "confdefs.h"
1405 if { (eval echo configure
:1406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1407 ac_cv_prog_cc_no_long_long
=yes
1409 echo "configure: failed program was:" >&5
1410 cat conftest.
$ac_ext >&5
1412 ac_cv_prog_cc_no_long_long
=no
1415 CFLAGS
="$save_CFLAGS"
1418 echo "$ac_t""$ac_cv_prog_cc_no_long_long" 1>&6
1420 # If the native compiler is GCC, we can enable warnings even in stage1.
1421 # That's useful for people building cross-compilers, or just running a
1423 stage1_warn_cflags
=" -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
1424 stage2_warn_cflags
="$stage1_warn_cflags -pedantic -Wno-long-long"
1425 if test "x$GCC" = "xyes"; then
1426 if test $ac_cv_prog_cc_no_long_long = yes; then
1427 stage1_warn_cflags
="$stage1_warn_cflags -pedantic -Wno-long-long"
1430 stage1_warn_cflags
=""
1433 # Stage specific cflags for build.
1436 if test x
$GCC = xyes
1438 stage1_warn_cflags
="$stage1_warn_cflags -Wa,-J"
1440 stage1_warn_cflags
="$stage1_warn_cflags -J"
1448 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1449 echo "configure:1450: checking whether ${MAKE-make} sets \${MAKE}" >&5
1450 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
1451 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1452 echo $ac_n "(cached) $ac_c" 1>&6
1454 cat > conftestmake
<<\EOF
1456 @
echo 'ac_maketemp="${MAKE}"'
1458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1459 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1460 if test -n "$ac_maketemp"; then
1461 eval ac_cv_prog_make_
${ac_make}_set
=yes
1463 eval ac_cv_prog_make_
${ac_make}_set
=no
1467 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1468 echo "$ac_t""yes" 1>&6
1471 echo "$ac_t""no" 1>&6
1472 SET_MAKE
="MAKE=${MAKE-make}"
1476 echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
1477 echo "configure:1478: checking whether a default assembler was specified" >&5
1478 if test x
"${DEFAULT_ASSEMBLER+set}" = x
"set"; then
1479 if test x
"$gas_flag" = x
"no"; then
1480 echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
1482 echo "$ac_t""yes ($DEFAULT_ASSEMBLER - GNU as)" 1>&6
1485 echo "$ac_t""no" 1>&6
1488 echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
1489 echo "configure:1490: checking whether a default linker was specified" >&5
1490 if test x
"${DEFAULT_LINKER+set}" = x
"set"; then
1491 if test x
"$gnu_ld_flag" = x
"no"; then
1492 echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
1494 echo "$ac_t""yes ($DEFAULT_LINKER - GNU ld)" 1>&6
1497 echo "$ac_t""no" 1>&6
1500 echo $ac_n "checking for GNU C library""... $ac_c" 1>&6
1501 echo "configure:1502: checking for GNU C library" >&5
1502 if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then
1503 echo $ac_n "(cached) $ac_c" 1>&6
1505 cat > conftest.
$ac_ext <<EOF
1506 #line 1507 "configure"
1507 #include "confdefs.h"
1508 #include <features.h>
1511 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
1512 #error Not a GNU C library system
1516 if { (eval echo configure
:1517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1520 echo "configure: failed program was:" >&5
1521 cat conftest.
$ac_ext >&5
1528 echo "$ac_t""$gcc_cv_glibc" 1>&6
1529 if test $gcc_cv_glibc = yes; then
1530 cat >> confdefs.h
<<\EOF
1531 #define _GNU_SOURCE 1
1536 echo $ac_n "checking for inline""... $ac_c" 1>&6
1537 echo "configure:1538: checking for inline" >&5
1538 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1539 echo $ac_n "(cached) $ac_c" 1>&6
1542 for ac_kw
in inline __inline__ __inline
; do
1543 cat > conftest.
$ac_ext <<EOF
1544 #line 1545 "configure"
1545 #include "confdefs.h"
1551 if { (eval echo configure
:1552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1553 ac_cv_c_inline
=$ac_kw; break
1555 echo "configure: failed program was:" >&5
1556 cat conftest.
$ac_ext >&5
1563 echo "$ac_t""$ac_cv_c_inline" 1>&6
1564 case "$ac_cv_c_inline" in
1566 no
) cat >> confdefs.h
<<\EOF
1570 *) cat >> confdefs.h
<<EOF
1571 #define inline $ac_cv_c_inline
1577 # Find some useful tools
1578 for ac_prog
in mawk gawk nawk
awk
1580 # Extract the first word of "$ac_prog", so it can be a program name with args.
1581 set dummy
$ac_prog; ac_word
=$2
1582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1583 echo "configure:1584: checking for $ac_word" >&5
1584 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1585 echo $ac_n "(cached) $ac_c" 1>&6
1587 if test -n "$AWK"; then
1588 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1590 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1592 for ac_dir
in $ac_dummy; do
1593 test -z "$ac_dir" && ac_dir
=.
1594 if test -f $ac_dir/$ac_word; then
1595 ac_cv_prog_AWK
="$ac_prog"
1602 AWK
="$ac_cv_prog_AWK"
1603 if test -n "$AWK"; then
1604 echo "$ac_t""$AWK" 1>&6
1606 echo "$ac_t""no" 1>&6
1609 test -n "$AWK" && break
1612 # Extract the first word of "flex", so it can be a program name with args.
1613 set dummy flex
; ac_word
=$2
1614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1615 echo "configure:1616: checking for $ac_word" >&5
1616 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1617 echo $ac_n "(cached) $ac_c" 1>&6
1619 if test -n "$LEX"; then
1620 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
1622 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1624 for ac_dir
in $ac_dummy; do
1625 test -z "$ac_dir" && ac_dir
=.
1626 if test -f $ac_dir/$ac_word; then
1627 ac_cv_prog_LEX
="flex"
1632 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
1635 LEX
="$ac_cv_prog_LEX"
1636 if test -n "$LEX"; then
1637 echo "$ac_t""$LEX" 1>&6
1639 echo "$ac_t""no" 1>&6
1642 if test -z "$LEXLIB"
1648 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
1649 echo "configure:1650: checking for yywrap in -l$ac_lib" >&5
1650 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
1651 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1652 echo $ac_n "(cached) $ac_c" 1>&6
1654 ac_save_LIBS
="$LIBS"
1655 LIBS
="-l$ac_lib $LIBS"
1656 cat > conftest.
$ac_ext <<EOF
1657 #line 1658 "configure"
1658 #include "confdefs.h"
1659 /* Override any gcc2 internal prototype to avoid an error. */
1660 /* We use char because int might match the return type of a gcc2
1661 builtin and then its argument prototype would still apply. */
1668 if { (eval echo configure
:1669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1670 eval "ac_cv_lib_$ac_lib_var=yes"
1672 echo "configure: failed program was:" >&5
1673 cat conftest.
$ac_ext >&5
1675 eval "ac_cv_lib_$ac_lib_var=no"
1678 LIBS
="$ac_save_LIBS"
1681 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1682 echo "$ac_t""yes" 1>&6
1685 echo "$ac_t""no" 1>&6
1690 echo $ac_n "checking whether ln works""... $ac_c" 1>&6
1691 echo "configure:1692: checking whether ln works" >&5
1692 if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
1693 echo $ac_n "(cached) $ac_c" 1>&6
1695 rm -f conftestdata_t
1696 echo >conftestdata_f
1697 if ln conftestdata_f conftestdata_t
2>/dev
/null
1701 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
1703 gcc_cv_prog_LN
="ln -s"
1708 rm -f conftestdata_f conftestdata_t
1711 LN
="$gcc_cv_prog_LN"
1712 if test "$gcc_cv_prog_LN" = "ln"; then
1713 echo "$ac_t""yes" 1>&6
1715 if test "$gcc_cv_prog_LN" = "ln -s"; then
1716 echo "$ac_t""no, using ln -s" 1>&6
1718 echo "$ac_t""no, and neither does ln -s, so using cp" 1>&6
1722 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1723 echo "configure:1724: checking whether ln -s works" >&5
1724 if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
1725 echo $ac_n "(cached) $ac_c" 1>&6
1727 rm -f conftestdata_t
1728 echo >conftestdata_f
1729 if ln -s conftestdata_f conftestdata_t
2>/dev
/null
1731 gcc_cv_prog_LN_S
="ln -s"
1733 if ln conftestdata_f conftestdata_t
2>/dev
/null
1740 rm -f conftestdata_f conftestdata_t
1743 LN_S
="$gcc_cv_prog_LN_S"
1744 if test "$gcc_cv_prog_LN_S" = "ln -s"; then
1745 echo "$ac_t""yes" 1>&6
1747 if test "$gcc_cv_prog_LN_S" = "ln"; then
1748 echo "$ac_t""no, using ln" 1>&6
1750 echo "$ac_t""no, and neither does ln, so using cp" 1>&6
1754 echo $ac_n "checking for volatile""... $ac_c" 1>&6
1755 echo "configure:1756: checking for volatile" >&5
1756 if eval "test \"`echo '$''{'gcc_cv_c_volatile'+set}'`\" = set"; then
1757 echo $ac_n "(cached) $ac_c" 1>&6
1759 cat > conftest.
$ac_ext <<EOF
1760 #line 1761 "configure"
1761 #include "confdefs.h"
1767 if { (eval echo configure
:1768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1769 gcc_cv_c_volatile
=yes
1771 echo "configure: failed program was:" >&5
1772 cat conftest.
$ac_ext >&5
1774 gcc_cv_c_volatile
=no
1779 echo "$ac_t""$gcc_cv_c_volatile" 1>&6
1780 if test $gcc_cv_c_volatile = yes ; then
1781 cat >> confdefs.h
<<\EOF
1782 #define HAVE_VOLATILE 1
1787 # Extract the first word of "ranlib", so it can be a program name with args.
1788 set dummy ranlib
; ac_word
=$2
1789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1790 echo "configure:1791: checking for $ac_word" >&5
1791 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1792 echo $ac_n "(cached) $ac_c" 1>&6
1794 if test -n "$RANLIB"; then
1795 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1797 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1799 for ac_dir
in $ac_dummy; do
1800 test -z "$ac_dir" && ac_dir
=.
1801 if test -f $ac_dir/$ac_word; then
1802 ac_cv_prog_RANLIB
="ranlib"
1807 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1810 RANLIB
="$ac_cv_prog_RANLIB"
1811 if test -n "$RANLIB"; then
1812 echo "$ac_t""$RANLIB" 1>&6
1814 echo "$ac_t""no" 1>&6
1817 for ac_prog
in 'bison -y' byacc
1819 # Extract the first word of "$ac_prog", so it can be a program name with args.
1820 set dummy
$ac_prog; ac_word
=$2
1821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1822 echo "configure:1823: checking for $ac_word" >&5
1823 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1824 echo $ac_n "(cached) $ac_c" 1>&6
1826 if test -n "$YACC"; then
1827 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1829 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1831 for ac_dir
in $ac_dummy; do
1832 test -z "$ac_dir" && ac_dir
=.
1833 if test -f $ac_dir/$ac_word; then
1834 ac_cv_prog_YACC
="$ac_prog"
1841 YACC
="$ac_cv_prog_YACC"
1842 if test -n "$YACC"; then
1843 echo "$ac_t""$YACC" 1>&6
1845 echo "$ac_t""no" 1>&6
1848 test -n "$YACC" && break
1850 test -n "$YACC" || YACC
="yacc"
1852 # Find a good install program. We prefer a C program (faster),
1853 # so one script is as good as another. But avoid the broken or
1854 # incompatible versions:
1855 # SysV /etc/install, /usr/sbin/install
1856 # SunOS /usr/etc/install
1857 # IRIX /sbin/install
1859 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1860 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1861 # ./install, which can be erroneously created by make from ./install.sh.
1862 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1863 echo "configure:1864: checking for a BSD compatible install" >&5
1864 if test -z "$INSTALL"; then
1865 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1866 echo $ac_n "(cached) $ac_c" 1>&6
1868 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1869 for ac_dir
in $PATH; do
1870 # Account for people who put trailing slashes in PATH elements.
1872 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1874 # OSF1 and SCO ODT 3.0 have their own names for install.
1875 for ac_prog
in ginstall scoinst
install; do
1876 if test -f $ac_dir/$ac_prog; then
1877 if test $ac_prog = install &&
1878 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1879 # AIX install. It has an incompatible calling convention.
1880 # OSF/1 installbsd also uses dspmsg, but is usable.
1883 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1894 if test "${ac_cv_path_install+set}" = set; then
1895 INSTALL
="$ac_cv_path_install"
1897 # As a last resort, use the slow shell script. We don't cache a
1898 # path for INSTALL within a source directory, because that will
1899 # break other packages using the cache if that directory is
1900 # removed, or if the path is relative.
1901 INSTALL
="$ac_install_sh"
1904 echo "$ac_t""$INSTALL" 1>&6
1906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1907 # It thinks the first close brace ends the variable substitution.
1908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1910 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1913 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1914 echo "configure:1915: checking how to run the C preprocessor" >&5
1915 # On Suns, sometimes $CPP names a directory.
1916 if test -n "$CPP" && test -d "$CPP"; then
1919 if test -z "$CPP"; then
1920 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1921 echo $ac_n "(cached) $ac_c" 1>&6
1923 # This must be in double quotes, not single quotes, because CPP may get
1924 # substituted into the Makefile and "${CC-cc}" will confuse make.
1926 # On the NeXT, cc -E runs the code through the compiler's parser,
1927 # not just through cpp.
1928 cat > conftest.
$ac_ext <<EOF
1929 #line 1930 "configure"
1930 #include "confdefs.h"
1934 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1935 { (eval echo configure
:1936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1936 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1937 if test -z "$ac_err"; then
1941 echo "configure: failed program was:" >&5
1942 cat conftest.
$ac_ext >&5
1944 CPP
="${CC-cc} -E -traditional-cpp"
1945 cat > conftest.
$ac_ext <<EOF
1946 #line 1947 "configure"
1947 #include "confdefs.h"
1951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1952 { (eval echo configure
:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1953 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1954 if test -z "$ac_err"; then
1958 echo "configure: failed program was:" >&5
1959 cat conftest.
$ac_ext >&5
1961 CPP
="${CC-cc} -nologo -E"
1962 cat > conftest.
$ac_ext <<EOF
1963 #line 1964 "configure"
1964 #include "confdefs.h"
1968 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1969 { (eval echo configure
:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1970 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1971 if test -z "$ac_err"; then
1975 echo "configure: failed program was:" >&5
1976 cat conftest.
$ac_ext >&5
1985 ac_cv_prog_CPP
="$CPP"
1987 CPP
="$ac_cv_prog_CPP"
1989 ac_cv_prog_CPP
="$CPP"
1991 echo "$ac_t""$CPP" 1>&6
1993 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1994 echo "configure:1995: checking for ANSI C header files" >&5
1995 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1996 echo $ac_n "(cached) $ac_c" 1>&6
1998 cat > conftest.
$ac_ext <<EOF
1999 #line 2000 "configure"
2000 #include "confdefs.h"
2006 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2007 { (eval echo configure
:2008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2008 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2009 if test -z "$ac_err"; then
2011 ac_cv_header_stdc
=yes
2014 echo "configure: failed program was:" >&5
2015 cat conftest.
$ac_ext >&5
2017 ac_cv_header_stdc
=no
2021 if test $ac_cv_header_stdc = yes; then
2022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2023 cat > conftest.
$ac_ext <<EOF
2024 #line 2025 "configure"
2025 #include "confdefs.h"
2028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2029 egrep "memchr" >/dev
/null
2>&1; then
2033 ac_cv_header_stdc
=no
2039 if test $ac_cv_header_stdc = yes; then
2040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2041 cat > conftest.
$ac_ext <<EOF
2042 #line 2043 "configure"
2043 #include "confdefs.h"
2046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2047 egrep "free" >/dev
/null
2>&1; then
2051 ac_cv_header_stdc
=no
2057 if test $ac_cv_header_stdc = yes; then
2058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2059 if test "$cross_compiling" = yes; then
2062 cat > conftest.
$ac_ext <<EOF
2063 #line 2064 "configure"
2064 #include "confdefs.h"
2066 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2067 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2068 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2069 int main () { int i; for (i = 0; i < 256; i++)
2070 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2074 if { (eval echo configure
:2075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2078 echo "configure: failed program was:" >&5
2079 cat conftest.
$ac_ext >&5
2081 ac_cv_header_stdc
=no
2089 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2090 if test $ac_cv_header_stdc = yes; then
2091 cat >> confdefs.h
<<\EOF
2092 #define STDC_HEADERS 1
2097 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2098 echo "configure:2099: checking whether time.h and sys/time.h may both be included" >&5
2099 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2100 echo $ac_n "(cached) $ac_c" 1>&6
2102 cat > conftest.
$ac_ext <<EOF
2103 #line 2104 "configure"
2104 #include "confdefs.h"
2105 #include <sys/types.h>
2106 #include <sys/time.h>
2112 if { (eval echo configure
:2113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2114 ac_cv_header_time
=yes
2116 echo "configure: failed program was:" >&5
2117 cat conftest.
$ac_ext >&5
2119 ac_cv_header_time
=no
2124 echo "$ac_t""$ac_cv_header_time" 1>&6
2125 if test $ac_cv_header_time = yes; then
2126 cat >> confdefs.h
<<\EOF
2127 #define TIME_WITH_SYS_TIME 1
2132 echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
2133 echo "configure:2134: checking whether string.h and strings.h may both be included" >&5
2134 if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
2135 echo $ac_n "(cached) $ac_c" 1>&6
2137 cat > conftest.
$ac_ext <<EOF
2138 #line 2139 "configure"
2139 #include "confdefs.h"
2141 #include <strings.h>
2146 if { (eval echo configure
:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2148 gcc_cv_header_string
=yes
2150 echo "configure: failed program was:" >&5
2151 cat conftest.
$ac_ext >&5
2153 gcc_cv_header_string
=no
2158 echo "$ac_t""$gcc_cv_header_string" 1>&6
2159 if test $gcc_cv_header_string = yes; then
2160 cat >> confdefs.h
<<\EOF
2161 #define STRING_WITH_STRINGS 1
2166 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2167 echo "configure:2168: checking for sys/wait.h that is POSIX.1 compatible" >&5
2168 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2169 echo $ac_n "(cached) $ac_c" 1>&6
2171 cat > conftest.
$ac_ext <<EOF
2172 #line 2173 "configure"
2173 #include "confdefs.h"
2174 #include <sys/types.h>
2175 #include <sys/wait.h>
2177 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2180 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2185 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2188 if { (eval echo configure
:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2190 ac_cv_header_sys_wait_h
=yes
2192 echo "configure: failed program was:" >&5
2193 cat conftest.
$ac_ext >&5
2195 ac_cv_header_sys_wait_h
=no
2200 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2201 if test $ac_cv_header_sys_wait_h = yes; then
2202 cat >> confdefs.h
<<\EOF
2203 #define HAVE_SYS_WAIT_H 1
2208 for ac_hdr
in limits.h stddef.h string.h
strings.h stdlib.h
time.h \
2209 fcntl.h unistd.h stab.h sys
/file.h sys
/time.h \
2210 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
2211 direct.h malloc.h langinfo.h
iconv.h
2213 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2215 echo "configure:2216: checking for $ac_hdr" >&5
2216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2217 echo $ac_n "(cached) $ac_c" 1>&6
2219 cat > conftest.
$ac_ext <<EOF
2220 #line 2221 "configure"
2221 #include "confdefs.h"
2224 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2225 { (eval echo configure
:2226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2226 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2227 if test -z "$ac_err"; then
2229 eval "ac_cv_header_$ac_safe=yes"
2232 echo "configure: failed program was:" >&5
2233 cat conftest.
$ac_ext >&5
2235 eval "ac_cv_header_$ac_safe=no"
2239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2240 echo "$ac_t""yes" 1>&6
2241 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2242 cat >> confdefs.h
<<EOF
2243 #define $ac_tr_hdr 1
2247 echo "$ac_t""no" 1>&6
2252 # Check for thread headers.
2253 ac_safe
=`echo "thread.h" | sed 'y%./+-%__p_%'`
2254 echo $ac_n "checking for thread.h""... $ac_c" 1>&6
2255 echo "configure:2256: checking for thread.h" >&5
2256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2257 echo $ac_n "(cached) $ac_c" 1>&6
2259 cat > conftest.
$ac_ext <<EOF
2260 #line 2261 "configure"
2261 #include "confdefs.h"
2264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2265 { (eval echo configure
:2266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2267 if test -z "$ac_err"; then
2269 eval "ac_cv_header_$ac_safe=yes"
2272 echo "configure: failed program was:" >&5
2273 cat conftest.
$ac_ext >&5
2275 eval "ac_cv_header_$ac_safe=no"
2279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2280 echo "$ac_t""yes" 1>&6
2283 echo "$ac_t""no" 1>&6
2287 ac_safe
=`echo "pthread.h" | sed 'y%./+-%__p_%'`
2288 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
2289 echo "configure:2290: checking for pthread.h" >&5
2290 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2291 echo $ac_n "(cached) $ac_c" 1>&6
2293 cat > conftest.
$ac_ext <<EOF
2294 #line 2295 "configure"
2295 #include "confdefs.h"
2296 #include <pthread.h>
2298 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2299 { (eval echo configure
:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2300 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2301 if test -z "$ac_err"; then
2303 eval "ac_cv_header_$ac_safe=yes"
2306 echo "configure: failed program was:" >&5
2307 cat conftest.
$ac_ext >&5
2309 eval "ac_cv_header_$ac_safe=no"
2313 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2314 echo "$ac_t""yes" 1>&6
2317 echo "$ac_t""no" 1>&6
2322 # See if GNAT has been installed
2323 # Extract the first word of "gnatbind", so it can be a program name with args.
2324 set dummy gnatbind
; ac_word
=$2
2325 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2326 echo "configure:2327: checking for $ac_word" >&5
2327 if eval "test \"`echo '$''{'ac_cv_prog_gnat'+set}'`\" = set"; then
2328 echo $ac_n "(cached) $ac_c" 1>&6
2330 if test -n "$gnat"; then
2331 ac_cv_prog_gnat
="$gnat" # Let the user override the test.
2333 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2335 for ac_dir
in $ac_dummy; do
2336 test -z "$ac_dir" && ac_dir
=.
2337 if test -f $ac_dir/$ac_word; then
2338 ac_cv_prog_gnat
="yes"
2343 test -z "$ac_cv_prog_gnat" && ac_cv_prog_gnat
="no"
2346 gnat
="$ac_cv_prog_gnat"
2347 if test -n "$gnat"; then
2348 echo "$ac_t""$gnat" 1>&6
2350 echo "$ac_t""no" 1>&6
2354 # Do we have a single-tree copy of texinfo?
2355 if test -f $srcdir/..
/texinfo
/Makefile.
in; then
2356 MAKEINFO
='$(objdir)/../texinfo/makeinfo/makeinfo'
2357 gcc_cv_prog_makeinfo_modern
=yes
2358 echo "$ac_t""Using makeinfo from the unified source tree." 1>&6
2360 # See if makeinfo has been installed and is modern enough
2361 # that we can use it.
2362 # Extract the first word of "makeinfo", so it can be a program name with args.
2363 set dummy makeinfo
; ac_word
=$2
2364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2365 echo "configure:2366: checking for $ac_word" >&5
2366 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2369 if test -n "$MAKEINFO"; then
2370 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2372 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2374 for ac_dir
in $ac_dummy; do
2375 test -z "$ac_dir" && ac_dir
=.
2376 if test -f $ac_dir/$ac_word; then
2377 ac_cv_prog_MAKEINFO
="makeinfo"
2384 MAKEINFO
="$ac_cv_prog_MAKEINFO"
2385 if test -n "$MAKEINFO"; then
2386 echo "$ac_t""$MAKEINFO" 1>&6
2388 echo "$ac_t""no" 1>&6
2391 if test -n "$MAKEINFO"; then
2392 # Found it, now check the version.
2393 echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6
2394 echo "configure:2395: checking for modern makeinfo" >&5
2395 if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then
2396 echo $ac_n "(cached) $ac_c" 1>&6
2398 ac_prog_version
=`$MAKEINFO --version 2>&1 |
2399 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
2400 echo "configure:2401: version of makeinfo is $ac_prog_version" >&5
2401 case $ac_prog_version in
2402 '') gcc_cv_prog_makeinfo_modern
=no
;;
2403 3.1[2-9] |
3.
[2-9][0-9] |
4.
* |
1.6[89] |
1.7[0-9])
2404 gcc_cv_prog_makeinfo_modern
=yes;;
2405 *) gcc_cv_prog_makeinfo_modern
=no
;;
2410 echo "$ac_t""$gcc_cv_prog_makeinfo_modern" 1>&6
2412 gcc_cv_prog_makeinfo_modern
=no
2417 if test $gcc_cv_prog_makeinfo_modern = no
; then
2418 echo "configure: warning:
2419 *** Makeinfo is missing or too old.
2420 *** Info documentation will not be built or installed." 1>&2
2425 INSTALL_INFO
=install-info
2428 # See if the stage1 system preprocessor understands the ANSI C
2429 # preprocessor stringification operator.
2432 echo $ac_n "checking for preprocessor stringizing operator""... $ac_c" 1>&6
2433 echo "configure:2434: checking for preprocessor stringizing operator" >&5
2434 if eval "test \"`echo '$''{'ac_cv_c_stringize'+set}'`\" = set"; then
2435 echo $ac_n "(cached) $ac_c" 1>&6
2437 cat > conftest.
$ac_ext <<EOF
2438 #line 2439 "configure"
2439 #include "confdefs.h"
2443 char *s = x(teststring);
2446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2447 egrep "#teststring" >/dev
/null
2>&1; then
2449 ac_cv_c_stringize
=no
2452 ac_cv_c_stringize
=yes
2458 if test "${ac_cv_c_stringize}" = yes
2460 cat >> confdefs.h
<<\EOF
2461 #define HAVE_STRINGIZE 1
2465 echo "$ac_t""${ac_cv_c_stringize}" 1>&6
2468 # Use <inttypes.h> only if it exists,
2469 # doesn't clash with <sys/types.h>, and declares intmax_t.
2470 echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
2471 echo "configure:2472: checking for inttypes.h" >&5
2472 if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
2473 echo $ac_n "(cached) $ac_c" 1>&6
2475 cat > conftest.
$ac_ext <<EOF
2476 #line 2477 "configure"
2477 #include "confdefs.h"
2478 #include <sys/types.h>
2479 #include <inttypes.h>
2484 if { (eval echo configure
:2485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2486 gcc_cv_header_inttypes_h
=yes
2488 echo "configure: failed program was:" >&5
2489 cat conftest.
$ac_ext >&5
2491 gcc_cv_header_inttypes_h
=no
2496 echo "$ac_t""$gcc_cv_header_inttypes_h" 1>&6
2497 if test $gcc_cv_header_inttypes_h = yes; then
2498 cat >> confdefs.h
<<\EOF
2499 #define HAVE_INTTYPES_H 1
2505 # Determine if enumerated bitfields are unsigned. ISO C says they can
2506 # be either signed or unsigned.
2508 echo $ac_n "checking for unsigned enumerated bitfields""... $ac_c" 1>&6
2509 echo "configure:2510: checking for unsigned enumerated bitfields" >&5
2510 if eval "test \"`echo '$''{'gcc_cv_enum_bf_unsigned'+set}'`\" = set"; then
2511 echo $ac_n "(cached) $ac_c" 1>&6
2513 if test "$cross_compiling" = yes; then
2514 gcc_cv_enum_bf_unsigned
=yes
2516 cat > conftest.
$ac_ext <<EOF
2517 #line 2518 "configure"
2518 #include "confdefs.h"
2520 enum t { BLAH = 128 } ;
2521 struct s_t { enum t member : 8; } s ;
2525 if (s.member < 0) exit(1);
2530 if { (eval echo configure
:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2532 gcc_cv_enum_bf_unsigned
=yes
2534 echo "configure: failed program was:" >&5
2535 cat conftest.
$ac_ext >&5
2537 gcc_cv_enum_bf_unsigned
=no
2544 echo "$ac_t""$gcc_cv_enum_bf_unsigned" 1>&6
2545 if test $gcc_cv_enum_bf_unsigned = yes; then
2546 cat >> confdefs.h
<<\EOF
2547 #define ENUM_BITFIELDS_ARE_UNSIGNED 1
2552 for ac_func
in strtoul bsearch putenv popen bcopy bzero bcmp \
2553 index rindex strchr strrchr
kill getrlimit setrlimit atoll atoq \
2554 sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \
2555 fputs_unlocked getrusage valloc
iconv nl_langinfo
2557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2558 echo "configure:2559: checking for $ac_func" >&5
2559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2560 echo $ac_n "(cached) $ac_c" 1>&6
2562 cat > conftest.
$ac_ext <<EOF
2563 #line 2564 "configure"
2564 #include "confdefs.h"
2565 /* System header to define __stub macros and hopefully few prototypes,
2566 which can conflict with char $ac_func(); below. */
2568 /* Override any gcc2 internal prototype to avoid an error. */
2569 /* We use char because int might match the return type of a gcc2
2570 builtin and then its argument prototype would still apply. */
2575 /* The GNU C library defines this for functions which it implements
2576 to always fail with ENOSYS. Some functions are actually named
2577 something starting with __ and the normal name is an alias. */
2578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2586 if { (eval echo configure
:2587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2588 eval "ac_cv_func_$ac_func=yes"
2590 echo "configure: failed program was:" >&5
2591 cat conftest.
$ac_ext >&5
2593 eval "ac_cv_func_$ac_func=no"
2598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2599 echo "$ac_t""yes" 1>&6
2600 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2601 cat >> confdefs.h
<<EOF
2602 #define $ac_tr_func 1
2606 echo "$ac_t""no" 1>&6
2611 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
2612 echo "configure:2613: checking for ssize_t" >&5
2613 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
2614 echo $ac_n "(cached) $ac_c" 1>&6
2616 cat > conftest.
$ac_ext <<EOF
2617 #line 2618 "configure"
2618 #include "confdefs.h"
2619 #include <sys/types.h>
2625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2626 egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2628 ac_cv_type_ssize_t
=yes
2631 ac_cv_type_ssize_t
=no
2636 echo "$ac_t""$ac_cv_type_ssize_t" 1>&6
2637 if test $ac_cv_type_ssize_t = no
; then
2638 cat >> confdefs.h
<<\EOF
2645 # Try to determine the array type of the second argument of getgroups
2646 # for the target system (int or gid_t).
2647 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2648 echo "configure:2649: checking for uid_t in sys/types.h" >&5
2649 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2650 echo $ac_n "(cached) $ac_c" 1>&6
2652 cat > conftest.
$ac_ext <<EOF
2653 #line 2654 "configure"
2654 #include "confdefs.h"
2655 #include <sys/types.h>
2657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2658 egrep "uid_t" >/dev
/null
2>&1; then
2660 ac_cv_type_uid_t
=yes
2669 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2670 if test $ac_cv_type_uid_t = no
; then
2671 cat >> confdefs.h
<<\EOF
2675 cat >> confdefs.h
<<\EOF
2681 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2682 echo "configure:2683: checking type of array argument to getgroups" >&5
2683 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 if test "$cross_compiling" = yes; then
2687 ac_cv_type_getgroups
=cross
2689 cat > conftest.
$ac_ext <<EOF
2690 #line 2691 "configure"
2691 #include "confdefs.h"
2693 /* Thanks to Mike Rendell for this test. */
2694 #include <sys/types.h>
2697 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2702 union { gid_t gval; long lval; } val;
2705 for (i = 0; i < NGID; i++)
2706 gidset[i] = val.gval;
2707 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2709 /* Exit non-zero if getgroups seems to require an array of ints. This
2710 happens when gid_t is short but getgroups modifies an array of ints. */
2711 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2715 if { (eval echo configure
:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2717 ac_cv_type_getgroups
=gid_t
2719 echo "configure: failed program was:" >&5
2720 cat conftest.
$ac_ext >&5
2722 ac_cv_type_getgroups
=int
2727 if test $ac_cv_type_getgroups = cross
; then
2728 cat > conftest.
$ac_ext <<EOF
2729 #line 2730 "configure"
2730 #include "confdefs.h"
2733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2734 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2736 ac_cv_type_getgroups
=gid_t
2739 ac_cv_type_getgroups
=int
2746 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2747 cat >> confdefs.h
<<EOF
2748 #define GETGROUPS_T $ac_cv_type_getgroups
2752 if test "${target}" = "${build}"; then
2753 TARGET_GETGROUPS_T
=$ac_cv_type_getgroups
2756 # This condition may need some tweaking. It should include all
2757 # targets where the array type of the second argument of getgroups
2758 # is int and the type of gid_t is not equivalent to int.
2759 *-*-sunos* |
*-*-ultrix*)
2760 TARGET_GETGROUPS_T
=int
2763 TARGET_GETGROUPS_T
=gid_t
2769 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2770 echo "configure:2771: checking for vprintf" >&5
2771 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2772 echo $ac_n "(cached) $ac_c" 1>&6
2774 cat > conftest.
$ac_ext <<EOF
2775 #line 2776 "configure"
2776 #include "confdefs.h"
2777 /* System header to define __stub macros and hopefully few prototypes,
2778 which can conflict with char vprintf(); below. */
2780 /* Override any gcc2 internal prototype to avoid an error. */
2781 /* We use char because int might match the return type of a gcc2
2782 builtin and then its argument prototype would still apply. */
2787 /* The GNU C library defines this for functions which it implements
2788 to always fail with ENOSYS. Some functions are actually named
2789 something starting with __ and the normal name is an alias. */
2790 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2798 if { (eval echo configure
:2799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2800 eval "ac_cv_func_vprintf=yes"
2802 echo "configure: failed program was:" >&5
2803 cat conftest.
$ac_ext >&5
2805 eval "ac_cv_func_vprintf=no"
2810 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2811 echo "$ac_t""yes" 1>&6
2812 cat >> confdefs.h
<<\EOF
2813 #define HAVE_VPRINTF 1
2817 echo "$ac_t""no" 1>&6
2820 if test "$ac_cv_func_vprintf" != yes; then
2821 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2822 echo "configure:2823: checking for _doprnt" >&5
2823 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2824 echo $ac_n "(cached) $ac_c" 1>&6
2826 cat > conftest.
$ac_ext <<EOF
2827 #line 2828 "configure"
2828 #include "confdefs.h"
2829 /* System header to define __stub macros and hopefully few prototypes,
2830 which can conflict with char _doprnt(); below. */
2832 /* Override any gcc2 internal prototype to avoid an error. */
2833 /* We use char because int might match the return type of a gcc2
2834 builtin and then its argument prototype would still apply. */
2839 /* The GNU C library defines this for functions which it implements
2840 to always fail with ENOSYS. Some functions are actually named
2841 something starting with __ and the normal name is an alias. */
2842 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2850 if { (eval echo configure
:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2852 eval "ac_cv_func__doprnt=yes"
2854 echo "configure: failed program was:" >&5
2855 cat conftest.
$ac_ext >&5
2857 eval "ac_cv_func__doprnt=no"
2862 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2863 echo "$ac_t""yes" 1>&6
2864 cat >> confdefs.h
<<\EOF
2865 #define HAVE_DOPRNT 1
2869 echo "$ac_t""no" 1>&6
2876 if test $ac_cv_func_vprintf != yes ; then
2878 if test $ac_cv_func__doprnt != yes ; then
2885 echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
2886 echo "configure:2887: checking whether the printf functions support %p" >&5
2887 if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
2888 echo $ac_n "(cached) $ac_c" 1>&6
2890 if test "$cross_compiling" = yes; then
2891 gcc_cv_func_printf_ptr
=no
2893 cat > conftest.
$ac_ext <<EOF
2894 #line 2895 "configure"
2895 #include "confdefs.h"
2901 char *p = buf, *q = NULL;
2902 sprintf(buf, "%p", p);
2903 sscanf(buf, "%p", &q);
2907 if { (eval echo configure
:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2909 gcc_cv_func_printf_ptr
=yes
2911 echo "configure: failed program was:" >&5
2912 cat conftest.
$ac_ext >&5
2914 gcc_cv_func_printf_ptr
=no
2919 rm -f core core.
* *.core
2922 echo "$ac_t""$gcc_cv_func_printf_ptr" 1>&6
2923 if test $gcc_cv_func_printf_ptr = yes ; then
2924 cat >> confdefs.h
<<\EOF
2925 #define HAVE_PRINTF_PTR 1
2933 # Under some versions of uwin, vfork is notoriously buggy and the test
2934 # can hang configure; on other versions, vfork exists just as a stub.
2935 # FIXME: This should be removed once vfork in uwin's runtime is fixed.
2936 ac_cv_func_vfork_works
=no
2939 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2940 echo "configure:2941: checking for pid_t" >&5
2941 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2942 echo $ac_n "(cached) $ac_c" 1>&6
2944 cat > conftest.
$ac_ext <<EOF
2945 #line 2946 "configure"
2946 #include "confdefs.h"
2947 #include <sys/types.h>
2953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2954 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2956 ac_cv_type_pid_t
=yes
2964 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2965 if test $ac_cv_type_pid_t = no
; then
2966 cat >> confdefs.h
<<\EOF
2972 ac_safe
=`echo "vfork.h" | sed 'y%./+-%__p_%'`
2973 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
2974 echo "configure:2975: checking for vfork.h" >&5
2975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2976 echo $ac_n "(cached) $ac_c" 1>&6
2978 cat > conftest.
$ac_ext <<EOF
2979 #line 2980 "configure"
2980 #include "confdefs.h"
2983 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2984 { (eval echo configure
:2985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2985 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2986 if test -z "$ac_err"; then
2988 eval "ac_cv_header_$ac_safe=yes"
2991 echo "configure: failed program was:" >&5
2992 cat conftest.
$ac_ext >&5
2994 eval "ac_cv_header_$ac_safe=no"
2998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2999 echo "$ac_t""yes" 1>&6
3000 cat >> confdefs.h
<<\EOF
3001 #define HAVE_VFORK_H 1
3005 echo "$ac_t""no" 1>&6
3008 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
3009 echo "configure:3010: checking for working vfork" >&5
3010 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
3011 echo $ac_n "(cached) $ac_c" 1>&6
3013 if test "$cross_compiling" = yes; then
3014 echo $ac_n "checking for vfork""... $ac_c" 1>&6
3015 echo "configure:3016: checking for vfork" >&5
3016 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
3017 echo $ac_n "(cached) $ac_c" 1>&6
3019 cat > conftest.
$ac_ext <<EOF
3020 #line 3021 "configure"
3021 #include "confdefs.h"
3022 /* System header to define __stub macros and hopefully few prototypes,
3023 which can conflict with char vfork(); below. */
3025 /* Override any gcc2 internal prototype to avoid an error. */
3026 /* We use char because int might match the return type of a gcc2
3027 builtin and then its argument prototype would still apply. */
3032 /* The GNU C library defines this for functions which it implements
3033 to always fail with ENOSYS. Some functions are actually named
3034 something starting with __ and the normal name is an alias. */
3035 #if defined (__stub_vfork) || defined (__stub___vfork)
3043 if { (eval echo configure
:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3045 eval "ac_cv_func_vfork=yes"
3047 echo "configure: failed program was:" >&5
3048 cat conftest.
$ac_ext >&5
3050 eval "ac_cv_func_vfork=no"
3055 if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
3056 echo "$ac_t""yes" 1>&6
3059 echo "$ac_t""no" 1>&6
3062 ac_cv_func_vfork_works
=$ac_cv_func_vfork
3064 cat > conftest.
$ac_ext <<EOF
3065 #line 3066 "configure"
3066 #include "confdefs.h"
3067 /* Thanks to Paul Eggert for this test. */
3069 #include <sys/types.h>
3070 #include <sys/stat.h>
3071 #ifdef HAVE_UNISTD_H
3077 /* On some sparc systems, changes by the child to local and incoming
3078 argument registers are propagated back to the parent.
3079 The compiler is told about this with #include <vfork.h>,
3080 but some compilers (e.g. gcc -O) don't grok <vfork.h>.
3081 Test for this by using a static variable whose address
3082 is put into a register that is clobbered by the vfork. */
3085 sparc_address_test (int arg)
3087 sparc_address_test (arg) int arg;
3105 pid_t parent = getpid ();
3108 sparc_address_test ();
3113 /* Here is another test for sparc vfork register problems.
3114 This test uses lots of local variables, at least
3115 as many local variables as main has allocated so far
3116 including compiler temporaries. 4 locals are enough for
3117 gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
3118 A buggy compiler should reuse the register of parent
3119 for one of the local variables, since it will think that
3120 parent can't possibly be used any more in this routine.
3121 Assigning to the local variable will thus munge parent
3122 in the parent process. */
3124 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
3125 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
3126 /* Convince the compiler that p..p7 are live; otherwise, it might
3127 use the same hardware register for all 8 local variables. */
3128 if (p != p1 || p != p2 || p != p3 || p != p4
3129 || p != p5 || p != p6 || p != p7)
3132 /* On some systems (e.g. IRIX 3.3),
3133 vfork doesn't separate parent from child file descriptors.
3134 If the child closes a descriptor before it execs or exits,
3135 this munges the parent's descriptor as well.
3136 Test for this by closing stdout in the child. */
3137 _exit(close(fileno(stdout)) != 0);
3142 while (wait(&status) != child)
3145 /* Was there some problem with vforking? */
3148 /* Did the child fail? (This shouldn't happen.) */
3151 /* Did the vfork/compiler bug occur? */
3152 || parent != getpid()
3154 /* Did the file descriptor bug occur? */
3155 || fstat(fileno(stdout), &st) != 0
3160 if { (eval echo configure
:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3162 ac_cv_func_vfork_works
=yes
3164 echo "configure: failed program was:" >&5
3165 cat conftest.
$ac_ext >&5
3167 ac_cv_func_vfork_works
=no
3174 echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
3175 if test $ac_cv_func_vfork_works = no
; then
3176 cat >> confdefs.h
<<\EOF
3182 for ac_hdr
in unistd.h
3184 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3186 echo "configure:3187: checking for $ac_hdr" >&5
3187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3188 echo $ac_n "(cached) $ac_c" 1>&6
3190 cat > conftest.
$ac_ext <<EOF
3191 #line 3192 "configure"
3192 #include "confdefs.h"
3195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3196 { (eval echo configure
:3197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3197 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3198 if test -z "$ac_err"; then
3200 eval "ac_cv_header_$ac_safe=yes"
3203 echo "configure: failed program was:" >&5
3204 cat conftest.
$ac_ext >&5
3206 eval "ac_cv_header_$ac_safe=no"
3210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3211 echo "$ac_t""yes" 1>&6
3212 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3213 cat >> confdefs.h
<<EOF
3214 #define $ac_tr_hdr 1
3218 echo "$ac_t""no" 1>&6
3222 for ac_func
in getpagesize
3224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3225 echo "configure:3226: checking for $ac_func" >&5
3226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3227 echo $ac_n "(cached) $ac_c" 1>&6
3229 cat > conftest.
$ac_ext <<EOF
3230 #line 3231 "configure"
3231 #include "confdefs.h"
3232 /* System header to define __stub macros and hopefully few prototypes,
3233 which can conflict with char $ac_func(); below. */
3235 /* Override any gcc2 internal prototype to avoid an error. */
3236 /* We use char because int might match the return type of a gcc2
3237 builtin and then its argument prototype would still apply. */
3242 /* The GNU C library defines this for functions which it implements
3243 to always fail with ENOSYS. Some functions are actually named
3244 something starting with __ and the normal name is an alias. */
3245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3253 if { (eval echo configure
:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3255 eval "ac_cv_func_$ac_func=yes"
3257 echo "configure: failed program was:" >&5
3258 cat conftest.
$ac_ext >&5
3260 eval "ac_cv_func_$ac_func=no"
3265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3266 echo "$ac_t""yes" 1>&6
3267 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3268 cat >> confdefs.h
<<EOF
3269 #define $ac_tr_func 1
3273 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking for working mmap which provides zeroed pages anywhere""... $ac_c" 1>&6
3278 echo "configure:3279: checking for working mmap which provides zeroed pages anywhere" >&5
3279 if eval "test \"`echo '$''{'ac_cv_func_mmap_anywhere'+set}'`\" = set"; then
3280 echo $ac_n "(cached) $ac_c" 1>&6
3282 if test "$cross_compiling" = yes; then
3283 ac_cv_func_mmap_anywhere
=no
3285 cat > conftest.
$ac_ext <<EOF
3286 #line 3287 "configure"
3287 #include "confdefs.h"
3289 /* Test by Richard Henderson and Alexandre Oliva.
3290 Check whether mmap MAP_ANONYMOUS or mmap from /dev/zero works. */
3291 #include <sys/types.h>
3293 #include <sys/mman.h>
3295 #if !defined (MAP_ANONYMOUS) && defined (MAP_ANON)
3296 # define MAP_ANONYMOUS MAP_ANON
3299 /* This mess was copied from the GNU getpagesize.h. */
3300 #ifndef HAVE_GETPAGESIZE
3301 # ifdef HAVE_UNISTD_H
3302 # include <unistd.h>
3305 /* Assume that all systems that can run configure have sys/param.h. */
3306 # ifndef HAVE_SYS_PARAM_H
3307 # define HAVE_SYS_PARAM_H 1
3310 # ifdef _SC_PAGESIZE
3311 # define getpagesize() sysconf(_SC_PAGESIZE)
3312 # else /* no _SC_PAGESIZE */
3313 # ifdef HAVE_SYS_PARAM_H
3314 # include <sys/param.h>
3315 # ifdef EXEC_PAGESIZE
3316 # define getpagesize() EXEC_PAGESIZE
3317 # else /* no EXEC_PAGESIZE */
3319 # define getpagesize() NBPG * CLSIZE
3322 # endif /* no CLSIZE */
3323 # else /* no NBPG */
3325 # define getpagesize() NBPC
3326 # else /* no NBPC */
3328 # define getpagesize() PAGESIZE
3329 # endif /* PAGESIZE */
3330 # endif /* no NBPC */
3331 # endif /* no NBPG */
3332 # endif /* no EXEC_PAGESIZE */
3333 # else /* no HAVE_SYS_PARAM_H */
3334 # define getpagesize() 8192 /* punt totally */
3335 # endif /* no HAVE_SYS_PARAM_H */
3336 # endif /* no _SC_PAGESIZE */
3338 #endif /* no HAVE_GETPAGESIZE */
3345 #ifndef MAP_ANONYMOUS
3346 fd = open("/dev/zero", O_RDWR);
3352 #ifdef MAP_ANONYMOUS
3353 x = (char*)mmap(0, pg, PROT_READ|PROT_WRITE,
3354 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
3356 x = (char*)mmap(0, pg, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
3358 if (x == (char *) -1)
3363 if (munmap(x, pg) < 0)
3369 if { (eval echo configure
:3370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3371 ac_cv_func_mmap_anywhere
=yes
3373 echo "configure: failed program was:" >&5
3374 cat conftest.
$ac_ext >&5
3376 ac_cv_func_mmap_anywhere
=no
3383 echo "$ac_t""$ac_cv_func_mmap_anywhere" 1>&6
3384 if test $ac_cv_func_mmap_anywhere = yes; then
3385 cat >> confdefs.h
<<\EOF
3386 #define HAVE_MMAP_ANYWHERE 1
3391 echo $ac_n "checking for working mmap of a file""... $ac_c" 1>&6
3392 echo "configure:3393: checking for working mmap of a file" >&5
3393 if eval "test \"`echo '$''{'ac_cv_func_mmap_file'+set}'`\" = set"; then
3394 echo $ac_n "(cached) $ac_c" 1>&6
3396 # Create a file one thousand bytes long.
3397 for i
in 1 2 3 4 5 6 7 8 9 0
3398 do for j
in 1 2 3 4 5 6 7 8 9 0
3401 done > conftestdata$$
3403 if test "$cross_compiling" = yes; then
3404 ac_cv_func_mmap_file
=no
3406 cat > conftest.
$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3410 /* Test by Zack Weinberg. Modified from MMAP_ANYWHERE test by
3411 Richard Henderson and Alexandre Oliva.
3412 Check whether read-only mmap of a plain file works. */
3413 #include <sys/types.h>
3414 #include <sys/stat.h>
3416 #include <sys/mman.h>
3424 fd = open("conftestdata$$", O_RDONLY);
3428 if (fstat (fd, &st))
3431 x = (char*)mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
3432 if (x == (char *) -1)
3435 if (x[0] != '1' || x[1] != ' ' || x[2] != '1' || x[3] != ' ')
3438 if (munmap(x, st.st_size) < 0)
3444 if { (eval echo configure
:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3446 ac_cv_func_mmap_file
=yes
3448 echo "configure: failed program was:" >&5
3449 cat conftest.
$ac_ext >&5
3451 ac_cv_func_mmap_file
=no
3458 echo "$ac_t""$ac_cv_func_mmap_file" 1>&6
3459 if test $ac_cv_func_mmap_file = yes; then
3460 cat >> confdefs.h
<<\EOF
3461 #define HAVE_MMAP_FILE 1
3467 # We will need to find libiberty.h and ansidecl.h
3468 saved_CFLAGS
="$CFLAGS"
3469 CFLAGS
="$CFLAGS -I${srcdir} -I${srcdir}/../include"
3470 for ac_func
in bcopy bzero bcmp \
3471 index rindex getenv atol sbrk abort atof getcwd getwd \
3472 strsignal putc_unlocked fputs_unlocked strstr environ \
3473 malloc realloc calloc free
basename getopt
3475 ac_tr_decl
=HAVE_DECL_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3476 echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
3477 echo "configure:3478: checking whether $ac_func is declared" >&5
3478 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
3479 echo $ac_n "(cached) $ac_c" 1>&6
3481 cat > conftest.
$ac_ext <<EOF
3482 #line 3483 "configure"
3483 #include "confdefs.h"
3484 #include "gansidecl.h"
3489 char *(*pfn) = (char *(*)) $ac_func ;
3493 if { (eval echo configure
:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 eval "gcc_cv_have_decl_$ac_func=yes"
3497 echo "configure: failed program was:" >&5
3498 cat conftest.
$ac_ext >&5
3500 eval "gcc_cv_have_decl_$ac_func=no"
3505 if eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; then
3506 echo "$ac_t""yes" 1>&6 ; cat >> confdefs.h
<<EOF
3507 #define $ac_tr_decl 1
3511 echo "$ac_t""no" 1>&6 ; cat >> confdefs.h
<<EOF
3512 #define $ac_tr_decl 0
3518 if test x
= y
; then
3519 cat >> confdefs.h
<<EOF
3520 #define HAVE_DECL_BCOPY 1
3522 cat >> confdefs.h
<<EOF
3523 #define HAVE_DECL_BZERO 1
3525 cat >> confdefs.h
<<EOF
3526 #define HAVE_DECL_BCMP 1
3529 cat >> confdefs.h
<<EOF
3530 #define HAVE_DECL_INDEX 1
3532 cat >> confdefs.h
<<EOF
3533 #define HAVE_DECL_RINDEX 1
3535 cat >> confdefs.h
<<EOF
3536 #define HAVE_DECL_GETENV 1
3538 cat >> confdefs.h
<<EOF
3539 #define HAVE_DECL_ATOL 1
3541 cat >> confdefs.h
<<EOF
3542 #define HAVE_DECL_SBRK 1
3544 cat >> confdefs.h
<<EOF
3545 #define HAVE_DECL_ABORT 1
3547 cat >> confdefs.h
<<EOF
3548 #define HAVE_DECL_ATOF 1
3550 cat >> confdefs.h
<<EOF
3551 #define HAVE_DECL_GETCWD 1
3553 cat >> confdefs.h
<<EOF
3554 #define HAVE_DECL_GETWD 1
3557 cat >> confdefs.h
<<EOF
3558 #define HAVE_DECL_STRSIGNAL 1
3560 cat >> confdefs.h
<<EOF
3561 #define HAVE_DECL_PUTC_UNLOCKED 1
3563 cat >> confdefs.h
<<EOF
3564 #define HAVE_DECL_FPUTS_UNLOCKED 1
3566 cat >> confdefs.h
<<EOF
3567 #define HAVE_DECL_STRSTR 1
3569 cat >> confdefs.h
<<EOF
3570 #define HAVE_DECL_ENVIRON 1
3573 cat >> confdefs.h
<<EOF
3574 #define HAVE_DECL_MALLOC 1
3576 cat >> confdefs.h
<<EOF
3577 #define HAVE_DECL_REALLOC 1
3579 cat >> confdefs.h
<<EOF
3580 #define HAVE_DECL_CALLOC 1
3582 cat >> confdefs.h
<<EOF
3583 #define HAVE_DECL_FREE 1
3585 cat >> confdefs.h
<<EOF
3586 #define HAVE_DECL_BASENAME 1
3588 cat >> confdefs.h
<<EOF
3589 #define HAVE_DECL_GETOPT 1
3594 for ac_func
in getrlimit setrlimit getrusage
3596 ac_tr_decl
=HAVE_DECL_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3597 echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
3598 echo "configure:3599: checking whether $ac_func is declared" >&5
3599 if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
3600 echo $ac_n "(cached) $ac_c" 1>&6
3602 cat > conftest.
$ac_ext <<EOF
3603 #line 3604 "configure"
3604 #include "confdefs.h"
3605 #include "gansidecl.h"
3607 #ifdef HAVE_SYS_RESOURCE_H
3608 #include <sys/resource.h>
3614 char *(*pfn) = (char *(*)) $ac_func ;
3618 if { (eval echo configure
:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 eval "gcc_cv_have_decl_$ac_func=yes"
3622 echo "configure: failed program was:" >&5
3623 cat conftest.
$ac_ext >&5
3625 eval "gcc_cv_have_decl_$ac_func=no"
3630 if eval "test \"`echo '$gcc_cv_have_decl_'$ac_func`\" = yes"; then
3631 echo "$ac_t""yes" 1>&6 ; cat >> confdefs.h
<<EOF
3632 #define $ac_tr_decl 1
3636 echo "$ac_t""no" 1>&6 ; cat >> confdefs.h
<<EOF
3637 #define $ac_tr_decl 0
3643 if test x
= y
; then
3644 cat >> confdefs.h
<<EOF
3645 #define HAVE_DECL_GETRLIMIT 1
3647 cat >> confdefs.h
<<EOF
3648 #define HAVE_DECL_SETRLIMIT 1
3650 cat >> confdefs.h
<<EOF
3651 #define HAVE_DECL_GETRUSAGE 1
3656 # Restore CFLAGS from before the gcc_AC_NEED_DECLARATIONS tests.
3657 CFLAGS
="$saved_CFLAGS"
3659 # mkdir takes a single argument on some systems.
3660 echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
3661 echo "configure:3662: checking if mkdir takes one argument" >&5
3662 if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
3663 echo $ac_n "(cached) $ac_c" 1>&6
3665 cat > conftest.
$ac_ext <<EOF
3666 #line 3667 "configure"
3667 #include "confdefs.h"
3669 #include <sys/types.h>
3670 #ifdef HAVE_SYS_STAT_H
3671 # include <sys/stat.h>
3673 #ifdef HAVE_UNISTD_H
3674 # include <unistd.h>
3676 #ifdef HAVE_DIRECT_H
3677 # include <direct.h>
3683 if { (eval echo configure
:3684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3685 gcc_cv_mkdir_takes_one_arg
=no
3687 echo "configure: failed program was:" >&5
3688 cat conftest.
$ac_ext >&5
3690 gcc_cv_mkdir_takes_one_arg
=yes
3695 echo "$ac_t""$gcc_cv_mkdir_takes_one_arg" 1>&6
3696 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
3697 cat >> confdefs.h
<<\EOF
3698 #define MKDIR_TAKES_ONE_ARG 1
3712 build_install_headers_dir
=install-headers-tar
3717 host_truncate_target
=
3720 # Decode the host machine, then the target machine.
3721 # For the host machine, we save the xm_file variable as host_xm_file;
3722 # then we decode the target machine and forget everything else
3723 # that came from the host machine.
3724 for machine
in $build $host $target; do
3738 # Set this to force installation and use of collect2.
3740 # Set this to override the default target model.
3742 # Set this to control how the header file directory is installed.
3743 install_headers_dir
=install-headers-tar
3744 # Set this to a non-empty list of args to pass to cpp if the target
3745 # wants its .md file passed through cpp.
3747 # Set this if directory names should be truncated to 14 characters.
3749 # Set this if gdb needs a dir command with `dirname $out_file`
3750 gdb_needs_out_file_path
=
3751 # Set this if the build machine requires executables to have a
3754 # Set this to control which thread package will be used.
3756 # Reinitialize these from the flag values every loop pass, since some
3757 # configure entries modify them.
3759 gnu_ld
="$gnu_ld_flag"
3760 enable_threads
=$enable_threads_flag
3762 # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
3763 # updated in each machine entry.
3765 cpu_type
=`echo $machine | sed 's/-.*$//'`
3805 tm_file
=${cpu_type}/${cpu_type}.h
3806 xm_file
=${cpu_type}/xm-
${cpu_type}.h
3807 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h
;
3809 tm_p_file
=${cpu_type}/${cpu_type}-protos.h
;
3811 # On a.out targets, we need to use collect2.
3818 # Common parts for linux and openbsd systems
3821 xm_defines
="HAVE_ATEXIT POSIX BSTRING"
3824 tm_file
=${cpu_type}/openbsd.h
3825 tmake_file
="t-libc-ok t-openbsd"
3826 # avoid surprises, always provide an xm-openbsd file
3827 xm_file
=${cpu_type}/xm-openbsd.h
3828 # don't depend on processor x-fragments as well
3830 if test x
$enable_threads = xyes
; then
3832 tmake_file
="${tmake_file} t-openbsd-thread"
3838 # Support site-specific machine types.
3840 cpu_type
=`echo $machine | sed -e 's/-.*//'`
3841 rest
=`echo $machine | sed -e "s/$cpu_type-//"`
3842 xm_file
=${cpu_type}/xm-
$rest.h
3843 tm_file
=${cpu_type}/$rest.h
3844 if test -f $srcdir/config
/${cpu_type}/x-
$rest; \
3845 then xmake_file
=${cpu_type}/x-
$rest; \
3848 if test -f $srcdir/config
/${cpu_type}/t-
$rest; \
3849 then tmake_file
=${cpu_type}/t-
$rest; \
3855 a29k-
*-bsd* | a29k-
*-sym1*)
3856 tm_file
="${tm_file} a29k/unix.h"
3858 xmake_file
=a29k
/x-unix
3861 a29k-
*-udi | a29k-
*-coff)
3862 tm_file
="${tm_file} dbxcoff.h a29k/udi.h"
3863 tmake_file
=a29k
/t-a29kbare
3866 tm_file
="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
3867 tmake_file
=a29k
/t-vx29k
3868 extra_parts
="crtbegin.o crtend.o"
3869 thread_file
='vxworks'
3871 a29k-
*-*) # Default a29k environment.
3875 tm_file
="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h"
3877 # GAS + IEEE_CONFORMANT+IEEE (no inexact);
3878 #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE"
3880 # GAS + IEEE_CONFORMANT
3881 target_cpu_default
="MASK_GAS|MASK_IEEE_CONFORMANT"
3883 xm_file
="alpha/xm-alpha-interix.h xm-interix.h"
3884 xmake_file
="x-interix alpha/t-pe"
3885 tmake_file
="alpha/t-alpha alpha/t-interix alpha/t-ieee"
3886 if test x
$enable_threads = xyes
; then
3889 if test x
$stabs = xyes
; then
3890 tm_file
="${tm_file} dbxcoff.h"
3892 #prefix='$$INTERIX_ROOT'/usr/contrib
3893 #local_prefix='$$INTERIX_ROOT'/usr/contrib
3895 alpha
*-*-linux*ecoff
*)
3896 tm_file
="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
3897 target_cpu_default
="MASK_GAS"
3898 tmake_file
="alpha/t-alpha alpha/t-ieee"
3903 alpha
*-*-linux*libc1
*)
3904 tm_file
="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
3905 target_cpu_default
="MASK_GAS"
3906 tmake_file
="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
3907 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3910 if test x
$enable_threads = xyes
; then
3915 tm_file
="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
3916 target_cpu_default
="MASK_GAS"
3917 tmake_file
="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
3918 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3921 if test x
$enable_threads = xyes
; then
3926 tm_file
="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
3927 target_cpu_default
="MASK_GAS"
3928 tmake_file
="alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
3929 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3935 # default x-alpha is only appropriate for dec-osf.
3936 target_cpu_default
="MASK_GAS"
3937 tmake_file
="alpha/t-alpha alpha/t-ieee"
3941 if test x
$stabs = xyes
3943 tm_file
="${tm_file} dbx.h"
3945 if test x
$gas != xyes
3947 extra_passes
="mips-tfile mips-tdump"
3950 tmake_file
="alpha/t-alpha alpha/t-ieee alpha/t-osf"
3951 xmake_file
=alpha
/x-osf
3954 tm_file
="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
3957 tm_file
="${tm_file} alpha/osf.h alpha/osf2or3.h"
3960 tm_file
="${tm_file} alpha/osf.h"
3961 tmake_file
="$tmake_file alpha/t-osf4"
3962 # Some versions of OSF4 (specifically X4.0-9 296.7) have
3963 # a broken tar, so we use cpio instead.
3964 install_headers_dir
=install-headers-cpio
3967 tm_file
="${tm_file} alpha/osf.h alpha/osf5.h"
3968 tmake_file
="$tmake_file alpha/t-osf4"
3972 *-*-osf4.0
[b-z
] |
*-*-osf4.
[1-9]* |
*-*-osf5*)
3973 target_cpu_default
=MASK_SUPPORT_ARCH
3978 tm_file
="${tm_file} dbx.h alpha/vxworks.h"
3979 tmake_file
="alpha/t-alpha alpha/t-ieee"
3982 extra_passes
="mips-tfile mips-tdump"
3985 thread_file
='vxworks'
3988 tm_file
="${tm_file} alpha/alpha32.h alpha/win-nt.h winnt/win-nt.h"
3989 xm_file
="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
3990 tmake_file
="t-libc-ok alpha/t-alpha alpha/t-ieee"
3991 xmake_file
=winnt
/x-winnt
3992 extra_host_objs
=oldnames.o
3993 extra_gcc_objs
="spawnv.o oldnames.o"
3994 if test x
$gnu_ld != xyes
3996 extra_programs
=ld.exe
3998 if test x
$enable_threads = xyes
; then
4004 xm_file
="${xm_file} alpha/xm-vms.h"
4005 tmake_file
="alpha/t-alpha alpha/t-vms alpha/t-ieee"
4008 extra_parts
="crtinit.o crtfini.o"
4010 arm-
*-coff* | armel-
*-coff*)
4012 tmake_file
=arm
/t-arm-coff
4016 tmake_file
=arm
/t-arm-coff
4017 thread_file
='vxworks'
4019 arm-
*-riscix1.
[01]*) # Acorn RISC machine (early versions)
4020 tm_file
=arm
/riscix1-1.h
4023 arm-
*-riscix*) # Acorn RISC machine
4024 if test x
$gas = xyes
4026 tm_file
=arm
/rix-gas.h
4028 tm_file
=arm
/riscix.h
4030 xmake_file
=arm
/x-riscix
4031 tmake_file
=arm
/t-riscix
4034 arm-semi-aout | armel-semi-aout
)
4036 tmake_file
=arm
/t-semi
4038 arm-semi-aof | armel-semi-aof
)
4039 tm_file
=arm
/semiaof.h
4040 tmake_file
=arm
/t-semiaof
4043 tm_file
=arm
/netbsd.h
4044 tmake_file
="t-netbsd arm/t-netbsd"
4047 arm
*-*-linux*aout
*) # ARM GNU/Linux with a.out
4050 tm_file
=arm
/linux-aout.h
4051 tmake_file
=arm
/t-linux
4054 arm
*-*-linux*oldld
*) # ARM GNU/Linux with old ELF linker
4055 xm_file
=arm
/xm-linux.h
4057 tm_file
="arm/linux-oldld.h arm/linux-elf.h"
4060 tm_file
="arm/linux-elf26.h $tm_file"
4063 tmake_file
="t-linux arm/t-linux"
4064 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4066 case x
${enable_threads} in
4067 x | xyes | xpthreads | xposix
)
4072 arm
*-*-linux*) # ARM GNU/Linux with ELF
4073 xm_file
=arm
/xm-linux.h
4075 tm_file
="arm/linux-elf.h"
4078 tm_file
="arm/linux-elf26.h $tm_file"
4081 tmake_file
="t-linux arm/t-linux"
4082 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4084 case x
${enable_threads} in
4085 x | xyes | xpthreads | xposix
)
4090 arm
*-*-uclinux*) # ARM ucLinux
4091 tm_file
=arm
/uclinux-elf.h
4092 tmake_file
=arm
/t-arm-elf
4096 tmake_file
=arm
/t-arm-aout
4099 tm_file
=arm
/ecos-elf.h
4100 tmake_file
=arm
/t-arm-elf
4103 tm_file
=arm
/unknown-elf.h
4104 tmake_file
=arm
/t-arm-elf
4107 tm_file
=arm
/conix-elf.h
4108 tmake_file
=arm
/t-arm-elf
4111 tm_file
=arm
/unknown-elf-oabi.h
4112 tmake_file
=arm
/t-arm-elf
4121 c1-convex-
*) # Convex C1
4122 target_cpu_default
=1
4125 c2-convex-
*) # Convex C2
4126 target_cpu_default
=2
4130 target_cpu_default
=4
4134 target_cpu_default
=8
4138 target_cpu_default
=16
4144 tmake_file
=c4x
/t-c4x
4146 clipper-intergraph-clix
*)
4147 tm_file
="${tm_file} svr3.h clipper/clix.h"
4148 xm_file
=clipper
/xm-clix.h
4149 xmake_file
=clipper
/x-clix
4150 extra_headers
=va-clipper.h
4151 extra_parts
="crtbegin.o crtend.o"
4152 install_headers_dir
=install-headers-cpio
4163 tm_file
="fr30/fr30.h"
4164 tmake_file
=fr30
/t-fr30
4165 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
4171 target_cpu_default
="(MASK_PA_11 | MASK_GAS | MASK_JUMP_IN_DELAY)"
4172 tm_file
="${tm_file} pa/elf.h linux.h pa/pa-linux.h"
4173 tmake_file
="t-linux pa/t-linux"
4174 extra_parts
="crtbegin.o crtend.o"
4177 if test x
$enable_threads = xyes
; then
4182 target_cpu_default
="MASK_PA_11"
4183 tmake_file
=pa
/t-openbsd
4186 target_cpu_default
="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
4187 tm_file
="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
4188 xm_file
=pa
/xm-papro.h
4192 target_cpu_default
="MASK_PA_11"
4193 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
4197 target_cpu_default
="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
4198 tm_file
="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h"
4199 xm_file
=pa
/xm-papro.h
4203 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
4207 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h"
4208 target_cpu_default
="MASK_PA_11"
4212 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h"
4216 tm_file
="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
4217 xm_file
=pa
/xm-pahpux.h
4218 xmake_file
=pa
/x-pa-hpux
4219 if test x
$gas = xyes
4221 tm_file
="${tm_file} pa/gas.h"
4223 install_headers_dir
=install-headers-cpio
4226 hppa1.0
-*-hpux8.0
[0-2]*)
4227 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
4228 xm_file
=pa
/xm-pahpux.h
4229 xmake_file
=pa
/x-pa-hpux
4230 if test x
$gas = xyes
4232 tm_file
="${tm_file} pa/pa-gas.h"
4234 tm_file
="pa/pa-oldas.h ${tm_file}"
4236 install_headers_dir
=install-headers-cpio
4239 hppa1.1
-*-hpux8.0
[0-2]*)
4240 target_cpu_default
="MASK_PA_11"
4241 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
4242 xm_file
=pa
/xm-pahpux.h
4243 xmake_file
=pa
/x-pa-hpux
4244 if test x
$gas = xyes
4246 tm_file
="${tm_file} pa/pa-gas.h"
4248 tm_file
="pa/pa-oldas.h ${tm_file}"
4250 install_headers_dir
=install-headers-cpio
4254 target_cpu_default
="MASK_PA_11"
4255 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
4256 xm_file
=pa
/xm-pahpux.h
4257 xmake_file
=pa
/x-pa-hpux
4258 if test x
$gas = xyes
4260 tm_file
="${tm_file} pa/pa-gas.h"
4262 install_headers_dir
=install-headers-cpio
4266 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
4267 xm_file
=pa
/xm-pahpux.h
4268 xmake_file
=pa
/x-pa-hpux
4269 if test x
$gas = xyes
4271 tm_file
="${tm_file} pa/pa-gas.h"
4273 install_headers_dir
=install-headers-cpio
4276 hppa1.1
-*-hpux10* | hppa2
*-*-hpux10*)
4277 target_cpu_default
="MASK_PA_11"
4278 tm_file
="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
4280 xm_file
=pa
/xm-pahpux.h
4281 xmake_file
=pa
/x-pa-hpux
4283 if test x
$gas = xyes
4285 tm_file
="${tm_file} pa/pa-gas.h"
4287 if test x
$enable_threads = x
; then
4288 enable_threads
=$have_pthread_h
4290 case x
${enable_threads} in
4292 tmake_file
="${tmake_file} pa/t-dce-thr"
4295 install_headers_dir
=install-headers-cpio
4299 tm_file
="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
4301 xm_file
=pa
/xm-pahpux.h
4302 xmake_file
=pa
/x-pa-hpux
4304 if test x
$gas = xyes
4306 tm_file
="${tm_file} pa/pa-gas.h"
4308 if test x
$enable_threads = x
; then
4309 enable_threads
=$have_pthread_h
4311 case x
${enable_threads} in
4313 tmake_file
="${tmake_file} pa/t-dce-thr"
4316 install_headers_dir
=install-headers-cpio
4320 target_cpu_default
="MASK_PA_11"
4321 xm_file
=pa
/xm-pa64hpux.h
4322 xmake_file
=pa
/x-pa-hpux
4324 tm_file
="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h"
4326 tmake_file
=pa
/t-pa64
4327 target_cpu_default
="(MASK_PA_11|MASK_PA_20)"
4331 tm_file
="${tm_file} pa/pa-gas.h"
4333 # if [[ x$enable_threads = x ]]; then
4334 # enable_threads=$have_pthread_h
4336 # if [[ x$enable_threads = xyes ]]; then
4338 # tmake_file="${tmake_file} pa/t-dce-thr"
4340 install_headers_dir
=install-headers-cpio
4343 hppa1.1
-*-hpux11* | hppa2
*-*-hpux11*)
4344 target_cpu_default
="MASK_PA_11"
4345 tm_file
="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
4347 xm_file
=pa
/xm-pahpux.h
4348 xmake_file
=pa
/x-pa-hpux
4350 if test x
$gas = xyes
4352 tm_file
="${tm_file} pa/pa-gas.h"
4354 # if test x$enable_threads = x; then
4355 # enable_threads=$have_pthread_h
4357 # if test x$enable_threads = xyes; then
4359 # tmake_file="${tmake_file} pa/t-dce-thr"
4361 install_headers_dir
=install-headers-cpio
4365 tm_file
="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
4367 xm_file
=pa
/xm-pahpux.h
4368 xmake_file
=pa
/x-pa-hpux
4369 if test x
$gas = xyes
4371 tm_file
="${tm_file} pa/pa-gas.h"
4373 # if test x$enable_threads = x; then
4374 # enable_threads=$have_pthread_h
4376 # if test x$enable_threads = xyes; then
4378 # tmake_file="${tmake_file} pa/t-dce-thr"
4380 install_headers_dir
=install-headers-cpio
4383 hppa1.1
-*-hpux* | hppa2
*-*-hpux*)
4384 target_cpu_default
="MASK_PA_11"
4385 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
4386 xm_file
=pa
/xm-pahpux.h
4387 xmake_file
=pa
/x-pa-hpux
4388 if test x
$gas = xyes
4390 tm_file
="${tm_file} pa/pa-gas.h"
4392 install_headers_dir
=install-headers-cpio
4396 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
4397 xm_file
=pa
/xm-pahpux.h
4398 xmake_file
=pa
/x-pa-hpux
4399 if test x
$gas = xyes
4401 tm_file
="${tm_file} pa/pa-gas.h"
4403 install_headers_dir
=install-headers-cpio
4406 hppa1.1
-*-hiux* | hppa2
*-*-hiux*)
4407 target_cpu_default
="MASK_PA_11"
4408 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
4409 xm_file
=pa
/xm-pahpux.h
4410 xmake_file
=pa
/x-pa-hpux
4411 if test x
$gas = xyes
4413 tm_file
="${tm_file} pa/pa-gas.h"
4415 install_headers_dir
=install-headers-cpio
4419 tm_file
="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
4420 xm_file
=pa
/xm-pahpux.h
4421 xmake_file
=pa
/x-pa-hpux
4422 if test x
$gas = xyes
4424 tm_file
="${tm_file} pa/pa-gas.h"
4426 install_headers_dir
=install-headers-cpio
4430 tm_file
="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h"
4431 target_cpu_default
="MASK_PA_11"
4435 tm_file
="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h"
4436 xm_file
=pa
/xm-pampeix.h
4437 xmake_file
=pa
/x-pa-mpeix
4438 echo "You must use gas. Assuming it is already installed."
4439 install_headers_dir
=install-headers-tar
4442 i370-
*-opened*) # IBM 360/370/390 Architecture
4443 xm_file
=i370
/xm-oe.h
4445 xmake_file
=i370
/x-oe
4446 tmake_file
=i370
/t-oe
4449 xm_file
=i370
/xm-mvs.h
4451 tmake_file
=i370
/t-mvs
4454 xm_file
="xm-linux.h i370/xm-linux.h"
4456 tm_file
="i370/linux.h ${tm_file}"
4457 tmake_file
="t-linux i370/t-linux"
4458 # broken_install=yes
4459 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4460 # extra_parts="crtbegin.o crtend.o"
4464 if test x
$enable_threads = xyes
; then
4469 xm_file
="${xm_file} xm-svr4.h i386/xm-sysv4.h"
4470 tm_file
=i386
/i386elf.h
4471 tmake_file
=i386
/t-i386elf
4474 i
[34567]86-ibm-aix*) # IBM PS/2 running AIX
4475 if test x
$gas = xyes
4477 tm_file
=i386
/aix386.h
4478 extra_parts
="crtbegin.o crtend.o"
4479 tmake_file
=i386
/t-crtstuff
4481 tm_file
=i386
/aix386ng.h
4484 xm_file
="xm-alloca.h i386/xm-aix.h ${xm_file}"
4486 xmake_file
=i386
/x-aix
4488 i
[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
4489 xm_file
="xm-alloca.h ${xm_file}"
4490 xm_defines
="USG POSIX SMALL_ARG_MAX"
4491 xmake_file
=i386
/x-ncr3000
4492 if test x
$stabs = xyes
-a x
$gas = xyes
4494 tm_file
=i386
/sysv4gdb.h
4496 tm_file
=i386
/sysv4.h
4498 extra_parts
="crtbegin.o crtend.o"
4499 tmake_file
=i386
/t-crtpic
4503 xm_file
=i386
/xm-next.h
4504 tmake_file
=i386
/t-next
4505 xmake_file
=i386
/x-next
4506 extra_objs
=nextstep.o
4507 extra_parts
="crtbegin.o crtend.o"
4508 if test x
$enable_threads = xyes
; then
4512 i
[34567]86-*-netware) # Intel 80386's running netware
4513 tm_file
=i386
/netware.h
4514 tmake_file
=i386
/t-netware
4516 i
[34567]86-sequent-bsd*) # 80386 from Sequent
4518 if test x
$gas = xyes
4520 tm_file
=i386
/seq-gas.h
4522 tm_file
=i386
/sequent.h
4525 i
[34567]86-sequent-ptx1*)
4526 xm_defines
="USG SVR3"
4527 xmake_file
=i386
/x-sysv3
4528 tm_file
=i386
/seq-sysv3.h
4529 tmake_file
=i386
/t-crtstuff
4530 extra_parts
="crtbegin.o crtend.o"
4531 install_headers_dir
=install-headers-cpio
4533 i
[34567]86-sequent-ptx2* | i
[34567]86-sequent-sysv3*)
4534 xm_defines
="USG SVR3"
4535 xmake_file
=i386
/x-sysv3
4536 tm_file
=i386
/seq2-sysv3.h
4537 tmake_file
=i386
/t-crtstuff
4538 extra_parts
="crtbegin.o crtend.o"
4539 install_headers_dir
=install-headers-cpio
4541 i
[34567]86-sequent-ptx4* | i
[34567]86-sequent-sysv4*)
4542 xm_file
="xm-alloca.h ${xm_file}"
4543 xm_defines
="USG POSIX SMALL_ARG_MAX"
4545 tm_file
=i386
/ptx4-i.h
4547 extra_parts
="crtbegin.o crtend.o"
4548 install_headers_dir
=install-headers-cpio
4550 i386-sun-sunos
*) # Sun i386 roadrunner
4555 i
[34567]86-wrs-vxworks*)
4556 tm_file
=i386
/vxi386.h
4557 tmake_file
=i386
/t-i386bare
4558 thread_file
='vxworks'
4561 tm_file
=i386
/i386-aout.h
4562 tmake_file
=i386
/t-i386bare
4564 i
[34567]86-*-beoself* | i
[34567]86-*-beos*)
4565 xm_file
=i386
/xm-beos.h
4566 tmake_file
='i386/t-beos i386/t-crtpic'
4567 tm_file
=i386
/beos-elf.h
4568 xmake_file
=i386
/x-beos
4569 extra_parts
='crtbegin.o crtend.o'
4571 i
[34567]86-*-bsdi* | i
[34567]86-*-bsd386*)
4572 tm_file
=i386
/bsd386.h
4573 # tmake_file=t-libc-ok
4576 tm_file
=i386
/386bsd.h
4577 # tmake_file=t-libc-ok
4578 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
4581 i
[34567]86-*-freebsd[12] | i
[34567]86-*-freebsd[12].
* | i
[34567]86-*-freebsd*aout
*)
4582 tm_file
="i386/freebsd-aout.h i386/perform.h"
4583 tmake_file
=t-freebsd
4585 i
[34567]86-*-freebsd*)
4586 tm_file
="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd.h i386/perform.h"
4587 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4588 tmake_file
=t-freebsd
4592 case x
${enable_threads} in
4593 xyes | xpthreads | xposix
)
4595 tmake_file
="${tmake_file} t-freebsd-thread"
4599 i
[34567]86-*-netbsd*)
4600 tm_file
=i386
/netbsd.h
4604 i
[34567]86-*-openbsd*)
4605 # we need collect2 until our bug is fixed...
4609 tm_file
=i386
/i386-coff.h
4610 tmake_file
=i386
/t-i386bare
4612 i
[34567]86-*-isc*) # 80386 running ISC system
4613 xm_file
="${xm_file} i386/xm-isc.h"
4614 xm_defines
="USG SVR3"
4616 i
[34567]86-*-isc[34]*)
4617 xmake_file
=i386
/x-isc3
4620 xmake_file
=i386
/x-isc
4623 if test x
$gas = xyes
-a x
$stabs = xyes
4625 tm_file
=i386
/iscdbx.h
4626 tmake_file
=i386
/t-svr3dbx
4627 extra_parts
="svr3.ifile svr3z.ifile"
4629 tm_file
=i386
/isccoff.h
4630 tmake_file
=i386
/t-crtstuff
4631 extra_parts
="crtbegin.o crtend.o"
4633 tmake_file
="$tmake_file i386/t-i386bare"
4634 install_headers_dir
=install-headers-cpio
4636 i
[34567]86-*-linux*oldld
*) # Intel 80386's running GNU/Linux
4638 xmake_file
=x-linux-aout
4639 tmake_file
="t-linux-aout i386/t-crtstuff"
4640 tm_file
=i386
/linux-oldld.h
4644 i
[34567]86-*-linux*aout
*) # Intel 80386's running GNU/Linux
4645 xmake_file
=x-linux-aout
4646 tmake_file
="t-linux-aout i386/t-crtstuff"
4647 tm_file
=i386
/linux-aout.h
4651 i
[34567]86-*-linux*libc1
) # Intel 80386's running GNU/Linux
4652 # GNU/Linux C library 5
4654 tm_file
=i386
/linux.h
4655 tmake_file
="t-linux t-linux-gnulibc1 i386/t-crtstuff"
4656 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4659 if test x
$enable_threads = xyes
; then
4660 thread_file
='single'
4663 i
[34567]86-*-linux*) # Intel 80386's running GNU/Linux
4664 # aka GNU/Linux C library 6
4666 tm_file
=i386
/linux.h
4667 tmake_file
="t-linux i386/t-crtstuff"
4668 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
4671 if test x
$enable_threads = xyes
; then
4678 i
[34567]86-go32-msdos | i
[34567]86-*-go32*)
4679 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
4682 i
[34567]86-pc-msdosdjgpp*)
4683 xm_file
=i386
/xm-djgpp.h
4684 tm_file
=i386
/djgpp.h
4685 tmake_file
=i386
/t-djgpp
4686 xmake_file
=i386
/x-djgpp
4691 case $host in *pc-msdosdjgpp
*)
4696 i
[34567]86-moss-msdos* | i
[34567]86-*-moss*)
4698 tmake_file
=t-libc-ok
4702 i
[34567]86-*-lynxos*)
4703 if test x
$gas = xyes
4707 tm_file
=i386
/lynx-ng.h
4709 xm_file
=i386
/xm-lynx.h
4710 tmake_file
=i386
/t-i386bare
4715 # tmake_file=t-libc-ok
4718 i
[34567]86-*-osfrose*) # 386 using OSF/rose
4719 if test x
$elf = xyes
4721 tm_file
=i386
/osfelf.h
4724 tm_file
=i386
/osfrose.h
4727 xm_file
="i386/xm-osf.h ${xm_file}"
4728 xmake_file
=i386
/x-osfrose
4729 tmake_file
=i386
/t-osf
4730 extra_objs
=halfpic.o
4732 i
[34567]86-go32-rtems*)
4734 xm_file
=i386
/xm-go32.h
4735 tm_file
=i386
/go32-rtems.h
4736 tmake_file
="i386/t-go32 t-rtems"
4738 i
[34567]86-*-rtemscoff*)
4740 tm_file
=i386
/rtems.h
4741 tmake_file
="i386/t-i386bare t-rtems"
4743 i
[34567]86-*-rtems*|i
[34567]86-*-rtemself*)
4745 tm_file
=i386
/rtemself.h
4746 extra_parts
="crtbegin.o crtend.o crti.o crtn.o"
4747 tmake_file
="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
4749 i
[34567]86-*-sco3.2v5
*) # 80386 running SCO Open Server 5
4750 xm_file
="xm-alloca.h ${xm_file} i386/xm-sco5.h"
4751 xm_defines
="USG SVR3"
4752 xmake_file
=i386
/x-sco5
4753 install_headers_dir
=install-headers-cpio
4755 if test x
$gas = xyes
4757 tm_file
="i386/sco5gas.h ${tm_file}"
4758 tmake_file
=i386
/t-sco5gas
4760 tmake_file
=i386
/t-sco5
4762 tmake_file
="$tmake_file i386/t-i386bare"
4763 extra_parts
="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
4765 i
[34567]86-*-sco3.2v4
*) # 80386 running SCO 3.2v4 system
4766 xm_file
="${xm_file} i386/xm-sco.h"
4767 xm_defines
="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX"
4768 xmake_file
=i386
/x-sco4
4769 install_headers_dir
=install-headers-cpio
4770 if test x
$stabs = xyes
4772 tm_file
=i386
/sco4dbx.h
4773 tmake_file
=i386
/t-svr3dbx
4774 extra_parts
="svr3.ifile svr3z.rfile"
4777 tmake_file
=i386
/t-crtstuff
4778 extra_parts
="crtbegin.o crtend.o"
4780 tmake_file
="$tmake_file i386/t-i386bare"
4781 # The default EAFS filesystem supports long file names.
4782 # Truncating the target makes $host != $target which
4783 # makes gcc think it is doing a cross-compile.
4784 # truncate_target=yes
4786 i
[34567]86-*-sco*) # 80386 running SCO system
4787 xm_file
=i386
/xm-sco.h
4788 xmake_file
=i386
/x-sco
4789 install_headers_dir
=install-headers-cpio
4790 if test x
$stabs = xyes
4792 tm_file
=i386
/scodbx.h
4793 tmake_file
=i386
/t-svr3dbx
4794 extra_parts
="svr3.ifile svr3z.rfile"
4797 extra_parts
="crtbegin.o crtend.o"
4798 tmake_file
=i386
/t-crtstuff
4800 tmake_file
="$tmake_file i386/t-i386bare"
4803 i
[34567]86-*-solaris2*)
4804 xm_file
="xm-alloca.h ${xm_file}"
4805 xm_defines
="USG POSIX SMALL_ARG_MAX"
4807 if test x
$gas = xyes
; then
4808 # Only needed if gas does not support -s
4809 tm_file
="i386/sol2gas.h ${tm_file}"
4811 tmake_file
="i386/t-i386bare i386/t-sol2"
4812 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
4814 if test x
${enable_threads} = x
; then
4815 enable_threads
=$have_pthread_h
4816 if test x
${enable_threads} = x
; then
4817 enable_threads
=$have_thread_h
4820 if test x
${enable_threads} = xyes
; then
4821 if test x
${have_pthread_h} = xyes
; then
4824 thread_file
='solaris'
4828 i
[34567]86-*-sysv5*) # Intel x86 on System V Release 5
4829 xm_file
="xm-alloca.h ${xm_file}"
4830 xm_defines
="USG POSIX"
4831 tm_file
=i386
/sysv5.h
4832 if test x
$stabs = xyes
4834 tm_file
="${tm_file} dbx.h"
4836 tmake_file
="i386/t-i386bare i386/t-crtpic"
4838 extra_parts
="crtbegin.o crtend.o"
4839 if test x
$enable_threads = xyes
; then
4843 i
[34567]86-*-sysv4*) # Intel 80386's running system V.4
4844 xm_file
="xm-alloca.h ${xm_file}"
4845 xm_defines
="USG POSIX SMALL_ARG_MAX"
4846 tm_file
=i386
/sysv4.h
4847 if test x
$stabs = xyes
4849 tm_file
="${tm_file} dbx.h"
4851 tmake_file
="i386/t-i386bare i386/t-crtpic"
4853 extra_parts
="crtbegin.o crtend.o"
4855 i
[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
4856 xm_file
="xm-alloca.h ${xm_file}"
4857 xm_defines
="USG POSIX"
4859 tmake_file
="i386/t-i386bare i386/t-crtpic i386/t-udk"
4861 extra_parts
="crtbegin.o crtend.o"
4862 install_headers_dir
=install-headers-cpio
4864 i
[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
4866 xm_file
="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
4867 xm_defines
="USE_C_ALLOCA SMALL_ARG_MAX"
4868 if test x
$stabs = xyes
4870 tm_file
=i386
/osf1elfgdb.h
4872 tm_file
=i386
/osf1elf.h
4874 tmake_file
=i386
/t-osf1elf
4875 xmake_file
=i386
/x-osf1elf
4876 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
4878 i
[34567]86-*-sysv*) # Intel 80386's running system V
4879 xm_defines
="USG SVR3"
4880 xmake_file
=i386
/x-sysv3
4881 if test x
$gas = xyes
4883 if test x
$stabs = xyes
4885 tm_file
=i386
/svr3dbx.h
4886 tmake_file
=i386
/t-svr3dbx
4887 extra_parts
="svr3.ifile svr3z.rfile"
4889 tm_file
=i386
/svr3gas.h
4890 extra_parts
="crtbegin.o crtend.o"
4891 tmake_file
=i386
/t-crtstuff
4894 tm_file
=i386
/sysv3.h
4895 extra_parts
="crtbegin.o crtend.o"
4896 tmake_file
=i386
/t-crtstuff
4898 tmake_file
="$tmake_file i386/t-crtpic"
4900 i386-
*-vsta) # Intel 80386's running VSTa kernel
4901 xm_file
="${xm_file} i386/xm-vsta.h"
4903 tmake_file
=i386
/t-vsta
4904 xmake_file
=i386
/x-vsta
4907 xm_file
="${xm_file} i386/xm-cygwin.h"
4908 tmake_file
=i386
/t-cygwin
4909 tm_file
=i386
/win32.h
4910 xmake_file
=i386
/x-cygwin
4912 if test x
$enable_threads = xyes
; then
4917 i
[34567]86-*-pe | i
[34567]86-*-cygwin*)
4918 xm_file
="${xm_file} i386/xm-cygwin.h"
4919 tmake_file
=i386
/t-cygwin
4920 tm_file
=i386
/cygwin.h
4921 xmake_file
=i386
/x-cygwin
4923 if test x
$enable_threads = xyes
; then
4928 i
[34567]86-*-mingw32*)
4929 tm_file
=i386
/mingw32.h
4930 xm_file
="${xm_file} i386/xm-mingw32.h"
4931 tmake_file
="i386/t-cygwin i386/t-mingw32"
4933 xmake_file
=i386
/x-cygwin
4934 if test x
$enable_threads = xyes
; then
4941 *minwg32crt
* |
*mingw32
*)
4942 tm_file
="${tm_file} i386/crtdll.h"
4948 xm_file
="${xm_file} i386/xm-uwin.h"
4949 xm_defines
="USG NO_STAB_H"
4950 tmake_file
="i386/t-cygwin i386/t-uwin"
4952 xmake_file
=i386
/x-cygwin
4953 if test x
$enable_threads = xyes
; then
4958 i
[34567]86-*-interix*)
4959 tm_file
="i386/i386-interix.h interix.h"
4960 xm_file
="i386/xm-i386-interix.h xm-interix.h"
4962 tmake_file
="i386/t-interix"
4963 extra_objs
=interix.o
4964 xmake_file
=x-interix
4965 if test x
$enable_threads = xyes
; then
4968 if test x
$stabs = xyes
; then
4969 tm_file
="${tm_file} dbxcoff.h"
4972 i
[34567]86-*-winnt3*)
4973 tm_file
=i386
/win-nt.h
4974 out_file
=i386
/i386.c
4975 xm_file
="xm-winnt.h ${xm_file}"
4976 xmake_file
=winnt
/x-winnt
4977 tmake_file
=i386
/t-winnt
4978 extra_host_objs
="winnt.o oldnames.o"
4979 extra_gcc_objs
="spawnv.o oldnames.o"
4980 if test x
$gnu_ld != xyes
4982 extra_programs
=ld.exe
4984 if test x
$enable_threads = xyes
; then
4988 i
[34567]86-dg-dgux*)
4989 xm_file
="xm-alloca.h ${xm_file}"
4990 xm_defines
="USG POSIX"
4991 out_file
=i386
/dgux.c
4993 tmake_file
=i386
/t-dgux
4994 xmake_file
=i386
/x-dgux
4995 install_headers_dir
=install-headers-cpio
4997 i860-alliant-
*) # Alliant FX/2800
4998 tm_file
="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
4999 xm_file
="${xm_file}"
5000 xmake_file
=i860
/x-fx2800
5001 tmake_file
=i860
/t-fx2800
5002 extra_parts
="crtbegin.o crtend.o"
5005 tm_file
="${tm_file} i860/bsd.h"
5006 if test x
$gas = xyes
5008 tm_file
="${tm_file} i860/bsd-gas.h"
5013 tm_file
="${tm_file} i860/mach.h"
5014 tmake_file
=t-libc-ok
5016 i860-
*-osf*) # Intel Paragon XP/S, OSF/1AD
5017 tm_file
="${tm_file} svr3.h i860/paragon.h"
5018 xm_defines
="USG SVR3"
5022 tm_file
="${tm_file} svr3.h i860/sysv3.h"
5023 xm_defines
="USG SVR3"
5024 xmake_file
=i860
/x-sysv3
5025 extra_parts
="crtbegin.o crtend.o"
5028 tm_file
="${tm_file} svr4.h i860/sysv4.h"
5029 xm_defines
="USG SVR3"
5030 xmake_file
=i860
/x-sysv4
5032 extra_parts
="crtbegin.o crtend.o"
5034 i960-wrs-vxworks5 | i960-wrs-vxworks5.0
*)
5035 tm_file
="${tm_file} i960/vx960.h"
5036 tmake_file
=i960
/t-vxworks960
5038 thread_file
='vxworks'
5040 i960-wrs-vxworks5
* | i960-wrs-vxworks
)
5041 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
5042 tmake_file
=i960
/t-vxworks960
5044 thread_file
='vxworks'
5047 tm_file
="${tm_file} i960/vx960.h"
5048 tmake_file
=i960
/t-vxworks960
5050 thread_file
='vxworks'
5053 tm_file
="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
5054 tmake_file
=i960
/t-960bare
5058 tmake_file
="i960/t-960bare t-rtems"
5059 tm_file
="${tm_file} dbxcoff.h i960/rtems.h"
5062 i960-
*-*) # Default i960 environment.
5067 tmake_file
="ia64/t-ia64"
5068 target_cpu_default
="0"
5069 if test x
$gas = xyes
5071 target_cpu_default
="${target_cpu_default}|MASK_GNU_AS"
5073 if test x
$gnu_ld = xyes
5075 target_cpu_default
="${target_cpu_default}|MASK_GNU_LD"
5080 tm_file
=ia64
/linux.h
5081 tmake_file
="t-linux ia64/t-ia64 ia64/t-glibc"
5082 target_cpu_default
="MASK_GNU_AS|MASK_GNU_LD"
5083 if test x
$enable_threads = xyes
; then
5089 extra_parts
="crtinit.o crtfini.o"
5091 # m68hc11 and m68hc12 share the same machine description.
5092 m68hc11-
*-*|m6811-
*-*)
5093 tm_file
="m68hc11/m68hc11.h"
5094 xm_file
="m68hc11/xm-m68hc11.h"
5095 tm_p_file
="m68hc11/m68hc11-protos.h"
5096 md_file
="m68hc11/m68hc11.md"
5097 out_file
="m68hc11/m68hc11.c"
5098 tmake_file
="m68hc11/t-m68hc11-gas"
5100 m68hc12-
*-*|m6812-
*-*)
5101 tm_file
="m68hc11/m68hc12.h"
5102 tm_p_file
="m68hc11/m68hc11-protos.h"
5103 xm_file
="m68hc11/xm-m68hc11.h"
5104 md_file
="m68hc11/m68hc11.md"
5105 out_file
="m68hc11/m68hc11.c"
5106 tmake_file
="m68hc11/t-m68hc11-gas"
5108 m68000-convergent-sysv
*)
5110 xm_file
="m68k/xm-3b1.h ${xm_file}"
5113 extra_headers
=math-68881.h
5115 m68000-hp-bsd
*) # HP 9000/200 running BSD
5116 tm_file
=m68k
/hp2bsd.h
5117 xmake_file
=m68k
/x-hp2bsd
5119 extra_headers
=math-68881.h
5121 m68000-hp-hpux
*) # HP 9000 series 300
5122 xm_file
="xm-alloca.h ${xm_file}"
5124 if test x
$gas = xyes
5126 xmake_file
=m68k
/x-hp320g
5127 tm_file
=m68k
/hp310g.h
5129 xmake_file
=m68k
/x-hp320
5130 tm_file
=m68k
/hp310.h
5132 install_headers_dir
=install-headers-cpio
5134 extra_headers
=math-68881.h
5139 extra_headers
=math-68881.h
5142 tm_file
=m68k
/sun2o4.h
5144 extra_headers
=math-68881.h
5147 xm_file
="m68k/xm-3b1.h ${xm_file}"
5149 if test x
$gas = xyes
5156 extra_headers
=math-68881.h
5158 m68k-apple-aux
*) # Apple Macintosh running A/UX
5159 xm_defines
="USG AUX"
5160 tmake_file
=m68k
/t-aux
5161 install_headers_dir
=install-headers-cpio
5162 extra_headers
=math-68881.h
5163 extra_parts
="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
5165 if test "$gnu_ld" = yes
5167 tm_file
="${tm_file} m68k/auxgld.h"
5169 tm_file
="${tm_file} m68k/auxld.h"
5171 if test "$gas" = yes
5173 tm_file
="${tm_file} m68k/auxgas.h"
5175 tm_file
="${tm_file} m68k/auxas.h"
5177 tm_file
="${tm_file} m68k/a-ux.h"
5181 tm_file
=m68k
/apollo68.h
5182 xmake_file
=m68k
/x-apollo68
5184 extra_headers
=math-68881.h
5187 m68k-altos-sysv
*) # Altos 3068
5188 if test x
$gas = xyes
5190 tm_file
=m68k
/altos3068.h
5193 echo "The Altos is supported only with the GNU assembler" 1>&2
5196 extra_headers
=math-68881.h
5198 m68k-bull-sysv
*) # Bull DPX/2
5199 if test x
$gas = xyes
5201 if test x
$stabs = xyes
5203 tm_file
=m68k
/dpx2cdbx.h
5205 tm_file
=m68k
/dpx2g.h
5210 xm_file
="xm-alloca.h ${xm_file}"
5212 xmake_file
=m68k
/x-dpx2
5214 extra_headers
=math-68881.h
5216 m68k-atari-sysv4
*) # Atari variant of V.4.
5217 tm_file
=m68k
/atari.h
5218 xm_file
="xm-alloca.h ${xm_file}"
5219 xm_defines
="USG FULL_PROTOTYPES"
5221 extra_parts
="crtbegin.o crtend.o"
5222 extra_headers
=math-68881.h
5225 m68k-motorola-sysv
*)
5226 tm_file
=m68k
/mot3300.h
5227 xm_file
="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
5228 if test x
$gas = xyes
5230 xmake_file
=m68k
/x-mot3300-gas
5231 if test x
$gnu_ld = xyes
5233 tmake_file
=m68k
/t-mot3300-gald
5235 tmake_file
=m68k
/t-mot3300-gas
5239 xmake_file
=m68k
/x-mot3300
5240 if test x
$gnu_ld = xyes
5242 tmake_file
=m68k
/t-mot3300-gld
5244 tmake_file
=m68k
/t-mot3300
5248 gdb_needs_out_file_path
=yes
5249 extra_parts
="crt0.o mcrt0.o"
5250 extra_headers
=math-68881.h
5253 m68k-ncr-sysv
*) # NCR Tower 32 SVR3
5254 tm_file
=m68k
/tower-as.h
5255 xm_defines
="USG SVR3"
5256 xmake_file
=m68k
/x-tower
5257 extra_parts
="crtbegin.o crtend.o"
5258 extra_headers
=math-68881.h
5261 tm_file
=m68k
/plexus.h
5262 xm_file
="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
5265 extra_headers
=math-68881.h
5269 xm_file
="xm-alloca.h ${xm_file}"
5271 extra_headers
=math-68881.h
5274 xm_file
="xm-alloca.h m68k/xm-crds.h ${xm_file}"
5275 xm_defines
="USG unos"
5276 xmake_file
=m68k
/x-crds
5279 extra_headers
=math-68881.h
5281 m68k-cbm-sysv4
*) # Commodore variant of V.4.
5283 xm_file
="xm-alloca.h ${xm_file}"
5284 xm_defines
="USG FULL_PROTOTYPES"
5285 xmake_file
=m68k
/x-amix
5287 extra_parts
="crtbegin.o crtend.o"
5288 extra_headers
=math-68881.h
5292 tm_file
=m68k
/ccur-GAS.h
5293 xmake_file
=m68k
/x-ccur
5294 extra_headers
=math-68881.h
5298 m68k-hp-bsd4.4
*) # HP 9000/3xx running 4.4bsd
5299 tm_file
=m68k
/hp3bsd44.h
5300 xmake_file
=m68k
/x-hp3bsd44
5302 extra_headers
=math-68881.h
5305 m68k-hp-bsd
*) # HP 9000/3xx running Berkeley Unix
5306 tm_file
=m68k
/hp3bsd.h
5308 extra_headers
=math-68881.h
5312 if test x
$with_fp = xno
5314 tm_file
=m68k
/isi-nfp.h
5320 extra_headers
=math-68881.h
5322 m68k-hp-hpux7
*) # HP 9000 series 300 running HPUX version 7.
5323 xm_file
="xm-alloca.h ${xm_file}"
5325 if test x
$gas = xyes
5327 xmake_file
=m68k
/x-hp320g
5328 tm_file
=m68k
/hp320g.h
5330 xmake_file
=m68k
/x-hp320
5331 tm_file
=m68k
/hpux7.h
5333 install_headers_dir
=install-headers-cpio
5335 extra_headers
=math-68881.h
5338 m68k-hp-hpux
*) # HP 9000 series 300
5339 xm_file
="xm-alloca.h ${xm_file}"
5341 if test x
$gas = xyes
5343 xmake_file
=m68k
/x-hp320g
5344 tm_file
=m68k
/hp320g.h
5346 xmake_file
=m68k
/x-hp320
5347 tm_file
=m68k
/hp320.h
5349 install_headers_dir
=install-headers-cpio
5351 extra_headers
=math-68881.h
5355 tm_file
=m68k
/sun3mach.h
5357 extra_headers
=math-68881.h
5361 if test x
$gas = xyes
5363 tm_file
=m68k
/news3gas.h
5365 tm_file
=m68k
/news3.h
5368 extra_headers
=math-68881.h
5371 m68k-sony-bsd
* | m68k-sony-newsos
*)
5372 if test x
$gas = xyes
5374 tm_file
=m68k
/newsgas.h
5379 extra_headers
=math-68881.h
5382 m68k-next-nextstep2
*)
5383 tm_file
=m68k
/next21.h
5384 xm_file
="m68k/xm-next.h ${xm_file}"
5385 tmake_file
=m68k
/t-next
5386 xmake_file
=m68k
/x-next
5387 extra_objs
=nextstep.o
5388 extra_headers
=math-68881.h
5392 m68k-next-nextstep
[34]*)
5394 xm_file
="m68k/xm-next.h ${xm_file}"
5395 tmake_file
=m68k
/t-next
5396 xmake_file
=m68k
/x-next
5397 extra_objs
=nextstep.o
5398 extra_parts
="crtbegin.o crtend.o"
5399 extra_headers
=math-68881.h
5401 if test x
$enable_threads = xyes
; then
5406 if test x
$with_fp = xno
5408 tm_file
=m68k
/sun3n3.h
5410 tm_file
=m68k
/sun3o3.h
5414 extra_headers
=math-68881.h
5416 m68k-sun-sunos
*) # For SunOS 4 (the default).
5417 if test x
$with_fp = xno
5419 tm_file
=m68k
/sun3n.h
5425 extra_headers
=math-68881.h
5428 tm_file
=m68k
/vxm68k.h
5429 tmake_file
=m68k
/t-vxworks68
5430 extra_headers
=math-68881.h
5431 thread_file
='vxworks'
5435 tmake_file
=m68k
/t-m68kbare
5436 tm_file
="m68k/m68k-aout.h libgloss.h"
5437 extra_headers
=math-68881.h
5441 tmake_file
=m68k
/t-m68kbare
5442 tm_file
="m68k/m68k-coff.h dbx.h libgloss.h"
5443 extra_headers
=math-68881.h
5446 m68020-
*-elf* | m68k-
*-elf*)
5447 tm_file
="m68k/m68020-elf.h"
5448 xm_file
=m68k
/xm-m68kv.h
5449 tmake_file
=m68k
/t-m68kelf
5450 header_files
=math-68881.h
5453 if test x
$gas = xyes
5457 tm_file
=m68k
/lynx-ng.h
5459 xm_file
=m68k
/xm-lynx.h
5461 tmake_file
=m68k
/t-lynx
5462 extra_headers
=math-68881.h
5466 tm_file
=m68k
/netbsd.h
5473 # we need collect2 until our bug is fixed...
5476 m68k-
*-sysv3*) # Motorola m68k's running system V.3
5477 xm_file
="xm-alloca.h ${xm_file}"
5479 xmake_file
=m68k
/x-m68kv
5480 extra_parts
="crtbegin.o crtend.o"
5481 extra_headers
=math-68881.h
5484 m68k-
*-sysv4*) # Motorola m68k's running system V.4
5485 tm_file
=m68k
/m68kv4.h
5486 xm_file
="xm-alloca.h ${xm_file}"
5489 extra_parts
="crtbegin.o crtend.o"
5490 extra_headers
=math-68881.h
5493 m68k-
*-linux*aout
*) # Motorola m68k's running GNU/Linux
5496 tm_file
=m68k
/linux-aout.h
5497 tmake_file
="t-linux-aout m68k/t-linux-aout"
5498 extra_headers
=math-68881.h
5502 m68k-
*-linux*libc1
) # Motorola m68k's running GNU/Linux
5503 # with ELF format using the
5504 # GNU/Linux C library 5
5506 tm_file
=m68k
/linux.h
5507 tmake_file
="t-linux t-linux-gnulibc1 m68k/t-linux"
5508 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5509 extra_headers
=math-68881.h
5513 m68k-
*-linux*) # Motorola m68k's running GNU/Linux
5514 # with ELF format using glibc 2
5515 # aka the GNU/Linux C library 6.
5517 tm_file
=m68k
/linux.h
5518 tmake_file
="t-linux m68k/t-linux"
5519 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5520 extra_headers
=math-68881.h
5523 if test x
$enable_threads = xyes
; then
5528 tmake_file
=m68k
/t-m68kbare
5529 tm_file
=m68k
/m68k-psos.h
5530 extra_headers
=math-68881.h
5534 tmake_file
="m68k/t-m68kbare t-rtems"
5535 tm_file
=m68k
/rtems.h
5536 extra_headers
=math-68881.h
5539 m68k-
*-rtemself*|m68k-
*-rtems*)
5540 tmake_file
="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
5541 tm_file
=m68k
/rtemself.h
5542 extra_headers
=math-68881.h
5548 tm_file
=m88k
/dguxbcs.h
5549 tmake_file
=m88k
/t-dguxbcs
5553 tmake_file
=m88k
/t-dgux
5556 extra_parts
="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
5557 xmake_file
=m88k
/x-dgux
5558 if test x
$gas = xyes
5560 tmake_file
=m88k
/t-dgux-gas
5563 m88k-dolphin-sysv3
*)
5564 tm_file
=m88k
/dolph.h
5565 extra_parts
="crtbegin.o crtend.o"
5566 xm_file
="m88k/xm-sysv3.h ${xm_file}"
5567 xmake_file
=m88k
/x-dolph
5568 if test x
$gas = xyes
5570 tmake_file
=m88k
/t-m88k-gas
5573 m88k-tektronix-sysv3
)
5574 tm_file
=m88k
/tekXD88.h
5575 extra_parts
="crtbegin.o crtend.o"
5576 xm_file
="m88k/xm-sysv3.h ${xm_file}"
5577 xmake_file
=m88k
/x-tekXD88
5578 if test x
$gas = xyes
5580 tmake_file
=m88k
/t-m88k-gas
5584 tm_file
=m88k
/m88k-aout.h
5587 tm_file
=m88k
/m88k-coff.h
5588 tmake_file
=m88k
/t-bug
5592 extra_parts
="crtbegin.o crtend.o"
5593 if test x
$gas = xyes
5595 tmake_file
=m88k
/t-luna-gas
5597 tmake_file
=m88k
/t-luna
5601 tmake_file
="${tmake_file} m88k/t-luna-gas"
5602 tm_file
="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
5603 xm_file
="xm-openbsd.h m88k/xm-m88k.h ${xm_file}"
5606 tm_file
=m88k
/sysv3.h
5607 extra_parts
="crtbegin.o crtend.o"
5608 xm_file
="m88k/xm-sysv3.h ${xm_file}"
5609 xmake_file
=m88k
/x-sysv3
5610 if test x
$gas = xyes
5612 tmake_file
=m88k
/t-m88k-gas
5616 tm_file
=m88k
/sysv4.h
5617 extra_parts
="crtbegin.o crtend.o"
5618 xmake_file
=m88k
/x-sysv4
5619 tmake_file
=m88k
/t-sysv4
5622 tm_file
=mcore
/mcore-elf.h
5623 tmake_file
=mcore
/t-mcore
5626 tm_file
=mcore
/mcore-pe.h
5627 tmake_file
=mcore
/t-mcore-pe
5629 mips-sgi-irix6
*) # SGI System V.4., IRIX 6
5630 if test "x$gnu_ld" = xyes
5632 tm_file
="mips/iris6.h mips/iris6gld.h"
5634 tm_file
=mips
/iris6.h
5636 tmake_file
=mips
/t-iris6
5637 xm_file
=mips
/xm-iris6.h
5638 xmake_file
=mips
/x-iris6
5639 # if test x$enable_threads = xyes; then
5640 # thread_file='irix'
5644 tm_file
="mips/elf.h mips/vxworks.h"
5645 tmake_file
=mips
/t-ecoff
5648 extra_parts
="crtbegin.o crtend.o"
5649 thread_file
='vxworks'
5651 mips-sgi-irix5cross64
) # Irix5 host, Irix 6 target, cross64
5652 tm_file
="mips/iris6.h mips/cross64.h"
5654 xm_file
="mips/xm-iris5.h"
5655 xmake_file
=mips
/x-iris
5656 tmake_file
=mips
/t-cross64
5657 # See comment in mips/iris[56].h files.
5659 # if test x$enable_threads = xyes; then
5660 # thread_file='irix'
5664 if test x
$gas = xyes
5666 if test x
$stabs = xyes
5668 tm_file
=mips
/iris5gdb.h
5670 tm_file
="mips/sni-svr4.h mips/sni-gas.h"
5673 tm_file
=mips
/sni-svr4.h
5676 xmake_file
=mips
/x-sni-svr4
5677 tmake_file
=mips
/t-mips-gas
5678 if test x
$gnu_ld != xyes
5683 mips-sgi-irix5
*) # SGI System V.4., IRIX 5
5684 if test x
$gas = xyes
5686 tm_file
="mips/iris5.h mips/iris5gas.h"
5687 if test x
$stabs = xyes
5689 tm_file
="${tm_file} dbx.h"
5692 tm_file
=mips
/iris5.h
5695 xm_file
="mips/xm-iris5.h"
5696 xmake_file
=mips
/x-iris
5697 # mips-tfile doesn't work yet
5698 tmake_file
=mips
/t-mips-gas
5699 # See comment in mips/iris5.h file.
5701 # if test x$enable_threads = xyes; then
5702 # thread_file='irix'
5705 mips-sgi-irix4loser
*) # Mostly like a MIPS.
5706 tm_file
="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
5707 if test x
$stabs = xyes
; then
5708 tm_file
="${tm_file} dbx.h"
5711 xmake_file
=mips
/x-iris
5712 if test x
$gas = xyes
5714 tmake_file
=mips
/t-mips-gas
5716 extra_passes
="mips-tfile mips-tdump"
5718 if test x
$gnu_ld != xyes
5722 # if test x$enable_threads = xyes; then
5723 # thread_file='irix'
5726 mips-sgi-irix4
*) # Mostly like a MIPS.
5727 tm_file
="mips/iris3.h ${tm_file} mips/iris4.h"
5728 if test x
$stabs = xyes
; then
5729 tm_file
="${tm_file} dbx.h"
5732 xmake_file
=mips
/x-iris
5733 if test x
$gas = xyes
5735 tmake_file
=mips
/t-mips-gas
5737 extra_passes
="mips-tfile mips-tdump"
5739 if test x
$gnu_ld != xyes
5743 # if test x$enable_threads = xyes; then
5744 # thread_file='irix'
5747 mips-sgi-
*) # Mostly like a MIPS.
5748 tm_file
="mips/iris3.h ${tm_file}"
5749 if test x
$stabs = xyes
; then
5750 tm_file
="${tm_file} dbx.h"
5753 xmake_file
=mips
/x-iris3
5754 if test x
$gas = xyes
5756 tmake_file
=mips
/t-mips-gas
5758 extra_passes
="mips-tfile mips-tdump"
5760 if test x
$gnu_ld != xyes
5765 mips-dec-osfrose
*) # Decstation running OSF/1 reference port with OSF/rose.
5766 tm_file
="mips/osfrose.h ${tm_file}"
5767 xmake_file
=mips
/x-osfrose
5768 tmake_file
=mips
/t-osfrose
5769 extra_objs
=halfpic.o
5772 mips-dec-osf
*) # Decstation running OSF/1 as shipped by DIGITAL
5773 tm_file
=mips
/dec-osf1.h
5774 if test x
$stabs = xyes
; then
5775 tm_file
="${tm_file} dbx.h"
5777 xmake_file
=mips
/x-dec-osf1
5778 if test x
$gas = xyes
5780 tmake_file
=mips
/t-mips-gas
5782 tmake_file
=mips
/t-ultrix
5783 extra_passes
="mips-tfile mips-tdump"
5785 if test x
$gnu_ld != xyes
5790 mips-dec-bsd
*) # Decstation running 4.4 BSD
5791 tm_file
=mips
/dec-bsd.h
5792 if test x
$gas = xyes
5794 tmake_file
=mips
/t-mips-gas
5796 tmake_file
=mips
/t-ultrix
5797 extra_passes
="mips-tfile mips-tdump"
5799 if test x
$gnu_ld != xyes
5804 mipsel-
*-netbsd* | mips-dec-netbsd
*) # Decstation running NetBSD
5805 tm_file
=mips
/netbsd.h
5806 # On NetBSD, the headers are already okay, except for math.h.
5809 mips
*-*-linux*) # Linux MIPS, either endian.
5812 mips
*el-
*) tm_file
="mips/elfl.h mips/linux.h" ;;
5813 *) tm_file
="mips/elf.h mips/linux.h" ;;
5816 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
5819 if test x
$enable_threads = xyes
; then
5823 mips
*el-
*-openbsd*) # mips little endian
5824 target_cpu_default
="MASK_GAS|MASK_ABICALLS"
5826 mips
*-*-openbsd*) # mips big endian
5827 target_cpu_default
="MASK_GAS|MASK_ABICALLS"
5828 tm_file
="mips/openbsd-be.h ${tm_file}"
5830 mips-sony-bsd
* | mips-sony-newsos
*) # Sony NEWS 3600 or risc/news.
5831 tm_file
="mips/news4.h ${tm_file}"
5832 if test x
$stabs = xyes
; then
5833 tm_file
="${tm_file} dbx.h"
5835 if test x
$gas = xyes
5837 tmake_file
=mips
/t-mips-gas
5839 extra_passes
="mips-tfile mips-tdump"
5841 if test x
$gnu_ld != xyes
5845 xmake_file
=mips
/x-sony
5847 mips-sony-sysv
*) # Sony NEWS 3800 with NEWSOS5.0.
5848 # That is based on svr4.
5849 # t-svr4 is not right because this system doesn't use ELF.
5850 tm_file
="mips/news5.h ${tm_file}"
5851 if test x
$stabs = xyes
; then
5852 tm_file
="${tm_file} dbx.h"
5855 if test x
$gas = xyes
5857 tmake_file
=mips
/t-mips-gas
5859 extra_passes
="mips-tfile mips-tdump"
5861 if test x
$gnu_ld != xyes
5866 mips-tandem-sysv4
*) # Tandem S2 running NonStop UX
5867 tm_file
="mips/svr4-5.h mips/svr4-t.h"
5868 if test x
$stabs = xyes
; then
5869 tm_file
="${tm_file} dbx.h"
5872 xmake_file
=mips
/x-sysv
5873 if test x
$gas = xyes
5875 tmake_file
=mips
/t-mips-gas
5876 extra_parts
="crtbegin.o crtend.o"
5878 tmake_file
=mips
/t-mips
5879 extra_passes
="mips-tfile mips-tdump"
5881 if test x
$gnu_ld != xyes
5886 mips-
*-ultrix* | mips-dec-mach3
) # Decstation.
5887 tm_file
="mips/ultrix.h ${tm_file}"
5888 if test x
$stabs = xyes
; then
5889 tm_file
="${tm_file} dbx.h"
5891 xmake_file
=mips
/x-ultrix
5892 if test x
$gas = xyes
5894 tmake_file
=mips
/t-mips-gas
5896 tmake_file
=mips
/t-ultrix
5897 extra_passes
="mips-tfile mips-tdump"
5899 if test x
$gnu_ld != xyes
5904 mips-
*-riscos[56789]bsd
*)
5905 tm_file
=mips
/bsd-5.h
# MIPS BSD 4.3, RISC-OS 5.0
5906 if test x
$stabs = xyes
; then
5907 tm_file
="${tm_file} dbx.h"
5909 if test x
$gas = xyes
5911 tmake_file
=mips
/t-bsd-gas
5913 tmake_file
=mips
/t-bsd
5914 extra_passes
="mips-tfile mips-tdump"
5916 if test x
$gnu_ld != xyes
5921 mips-
*-bsd* | mips-
*-riscosbsd* | mips-
*-riscos[1234]bsd
*)
5922 tm_file
="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
5923 if test x
$stabs = xyes
; then
5924 tm_file
="${tm_file} dbx.h"
5926 if test x
$gas = xyes
5928 tmake_file
=mips
/t-bsd-gas
5930 tmake_file
=mips
/t-bsd
5931 extra_passes
="mips-tfile mips-tdump"
5933 if test x
$gnu_ld != xyes
5938 mips-
*-riscos[56789]sysv4
*)
5939 tm_file
=mips
/svr4-5.h
# MIPS System V.4., RISC-OS 5.0
5940 if test x
$stabs = xyes
; then
5941 tm_file
="${tm_file} dbx.h"
5943 xmake_file
=mips
/x-sysv
5944 if test x
$gas = xyes
5946 tmake_file
=mips
/t-svr4-gas
5948 tmake_file
=mips
/t-svr4
5949 extra_passes
="mips-tfile mips-tdump"
5951 if test x
$gnu_ld != xyes
5956 mips-
*-sysv4* | mips-
*-riscos[1234]sysv4
* | mips-
*-riscossysv4*)
5957 tm_file
="mips/svr4-4.h ${tm_file}"
5958 if test x
$stabs = xyes
; then
5959 tm_file
="${tm_file} dbx.h"
5962 xmake_file
=mips
/x-sysv
5963 if test x
$gas = xyes
5965 tmake_file
=mips
/t-svr4-gas
5967 tmake_file
=mips
/t-svr4
5968 extra_passes
="mips-tfile mips-tdump"
5970 if test x
$gnu_ld != xyes
5975 mips-
*-riscos[56789]sysv
*)
5976 tm_file
=mips
/svr3-5.h
# MIPS System V.3, RISC-OS 5.0
5977 if test x
$stabs = xyes
; then
5978 tm_file
="${tm_file} dbx.h"
5981 xmake_file
=mips
/x-sysv
5982 if test x
$gas = xyes
5984 tmake_file
=mips
/t-svr3-gas
5986 tmake_file
=mips
/t-svr3
5987 extra_passes
="mips-tfile mips-tdump"
5989 if test x
$gnu_ld != xyes
5994 mips-
*-sysv* | mips-
*-riscos*sysv
*)
5995 tm_file
="mips/svr3-4.h ${tm_file}"
5996 if test x
$stabs = xyes
; then
5997 tm_file
="${tm_file} dbx.h"
6000 xmake_file
=mips
/x-sysv
6001 if test x
$gas = xyes
6003 tmake_file
=mips
/t-svr3-gas
6005 tmake_file
=mips
/t-svr3
6006 extra_passes
="mips-tfile mips-tdump"
6008 if test x
$gnu_ld != xyes
6013 mips-
*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
6014 tm_file
=mips
/mips-5.h
6015 if test x
$stabs = xyes
; then
6016 tm_file
="${tm_file} dbx.h"
6018 if test x
$gas = xyes
6020 tmake_file
=mips
/t-mips-gas
6022 extra_passes
="mips-tfile mips-tdump"
6024 if test x
$gnu_ld != xyes
6032 tm_file
=mips
/ecoffl.h
6033 if test x
$stabs = xyes
; then
6034 tm_file
="${tm_file} dbx.h"
6036 tmake_file
=mips
/t-ecoff
6039 tm_file
="gofast.h mips/ecoff.h"
6040 if test x
$stabs = xyes
; then
6041 tm_file
="${tm_file} dbx.h"
6043 tmake_file
=mips
/t-ecoff
6046 tm_file
="mips/elfl.h"
6047 tmake_file
=mips
/t-elf
6050 tm_file
="mips/elf.h"
6051 tmake_file
=mips
/t-elf
6054 tm_file
="mips/elfl64.h"
6055 tmake_file
=mips
/t-elf
6057 mips64orionel-
*-elf*)
6058 tm_file
="mips/elforion.h mips/elfl64.h"
6059 tmake_file
=mips
/t-elf
6062 tm_file
="mips/elf64.h"
6063 tmake_file
=mips
/t-elf
6066 tm_file
="mips/elforion.h mips/elf64.h"
6067 tmake_file
=mips
/t-elf
6069 mips64orion-
*-rtems*)
6070 tm_file
="mips/elforion.h mips/elf64.h mips/rtems64.h"
6071 tmake_file
="mips/t-elf t-rtems"
6074 tm_file
="mips/r3900.h mips/elfl.h mips/abi64.h"
6075 tmake_file
=mips
/t-r3900
6078 tm_file
="mips/r3900.h mips/elf.h mips/abi64.h"
6079 tmake_file
=mips
/t-r3900
6081 mips-
*-*) # Default MIPS RISC-OS 4.0.
6082 if test x
$stabs = xyes
; then
6083 tm_file
="${tm_file} dbx.h"
6085 if test x
$gas = xyes
6087 tmake_file
=mips
/t-mips-gas
6089 extra_passes
="mips-tfile mips-tdump"
6091 if test x
$gnu_ld != xyes
6099 tm_file
="mn10200/mn10200.h"
6100 if test x
$stabs = xyes
6102 tm_file
="${tm_file} dbx.h"
6108 tm_file
="mn10300/mn10300.h"
6109 if test x
$stabs = xyes
6111 tm_file
="${tm_file} dbx.h"
6116 tm_file
=ns32k
/encore.h
6120 tm_file
=ns32k
/sequent.h
6124 tm_file
=ns32k
/tek6100.h
6128 tm_file
=ns32k
/tek6200.h
6132 tm_file
=ns32k
/merlin.h
6136 tm_file
=ns32k
/pc532-mach.h
6140 tm_file
=ns32k
/pc532-min.h
6141 xm_file
="ns32k/xm-pc532-min.h ${xm-file}"
6146 tm_file
=ns32k
/netbsd.h
6147 xm_file
="ns32k/xm-netbsd.h ${xm_file}"
6148 # On NetBSD, the headers are already okay, except for math.h.
6153 tm_file
="${tm_file} pdp11/2bsd.h"
6163 tm_file
="svr4.h pj/linux.h ${tm_file}"
6168 tm_file
="svr4.h pj/pjl.h ${tm_file}"
6175 xmake_file
=romp
/x-mach
6182 tmake_file
="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
6186 tm_file
=rs6000
/beos.h
6187 xm_file
=rs6000
/xm-beos.h
6188 tmake_file
=rs6000
/t-beos
6189 xmake_file
=rs6000
/x-beos
6192 tm_file
=rs6000
/sysv4.h
6193 xm_file
="rs6000/xm-sysv4.h"
6194 xm_defines
="USG POSIX"
6195 extra_headers
=ppc-asm.h
6196 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
6197 xmake_file
=rs6000
/x-sysv4
6200 tm_file
="rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
6201 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6202 extra_headers
=ppc-asm.h
6205 tm_file
="rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
6206 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6207 extra_headers
=ppc-asm.h
6210 tm_file
="rs6000/sysv4.h"
6211 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6212 extra_headers
=ppc-asm.h
6215 tm_file
="rs6000/sysv4.h rs6000/eabi.h"
6216 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6217 extra_headers
=ppc-asm.h
6220 tm_file
="rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h"
6221 tmake_file
="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
6222 extra_headers
=ppc-asm.h
6224 powerpc-
*-linux*libc1
)
6225 tm_file
="rs6000/sysv4.h rs6000/linux.h"
6226 xm_file
=rs6000
/xm-sysv4.h
6227 out_file
=rs6000
/rs6000.c
6228 tmake_file
="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
6230 extra_headers
=ppc-asm.h
6231 if test x
$enable_threads = xyes
; then
6236 tm_file
="rs6000/sysv4.h rs6000/linux.h"
6237 xm_file
="rs6000/xm-sysv4.h"
6238 xm_defines
="USG ${xm_defines}"
6239 out_file
=rs6000
/rs6000.c
6240 tmake_file
="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
6242 extra_headers
=ppc-asm.h
6243 if test x
$enable_threads = xyes
; then
6247 powerpc-wrs-vxworks
*)
6249 xm_file
="rs6000/xm-sysv4.h"
6250 xm_defines
="USG POSIX"
6251 tm_file
="rs6000/sysv4.h rs6000/vxppc.h"
6252 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6253 extra_headers
=ppc-asm.h
6254 thread_file
='vxworks'
6256 powerpcle-wrs-vxworks
*)
6258 xm_file
="rs6000/xm-sysv4.h"
6259 xm_defines
="USG POSIX"
6260 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
6261 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6262 extra_headers
=ppc-asm.h
6263 thread_file
='vxworks'
6266 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h"
6267 xm_file
="rs6000/xm-sysv4.h"
6268 xm_defines
="USG POSIX"
6269 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
6270 xmake_file
=rs6000
/x-sysv4
6271 extra_headers
=ppc-asm.h
6274 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h"
6275 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6276 extra_headers
=ppc-asm.h
6278 powerpcle-
*-eabisim*)
6279 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
6280 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6281 extra_headers
=ppc-asm.h
6284 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
6285 tmake_file
="rs6000/t-ppcgas rs6000/t-ppccomm"
6286 extra_headers
=ppc-asm.h
6288 powerpcle-
*-solaris2*)
6289 tm_file
="rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
6290 xm_file
="rs6000/xm-sysv4.h"
6291 xm_defines
="USG POSIX"
6292 tmake_file
="rs6000/t-ppcos rs6000/t-ppccomm"
6293 xmake_file
=rs6000
/x-sysv4
6294 extra_headers
=ppc-asm.h
6296 rs6000-ibm-aix3.
[01]*)
6297 tm_file
=rs6000
/aix31.h
6298 xmake_file
=rs6000
/x-aix31
6302 rs6000-ibm-aix3.2.
[456789]* | powerpc-ibm-aix3.2.
[456789]*)
6303 tm_file
=rs6000
/aix3newas.h
6304 if test x
$host != x
$target
6306 tmake_file
=rs6000
/t-xnewas
6308 tmake_file
=rs6000
/t-newas
6313 rs6000-ibm-aix4.
[12]* | powerpc-ibm-aix4.
[12]*)
6314 tm_file
=rs6000
/aix41.h
6315 if test x
$host != x
$target
6317 tmake_file
=rs6000
/t-xnewas
6319 tmake_file
=rs6000
/t-newas
6321 if test "$gnu_ld" = yes
6323 xmake_file
=rs6000
/x-aix41-gld
6325 tmake_file
='rs6000/t-newas'
6327 xmake_file
=rs6000
/x-aix41
6331 rs6000-ibm-aix4.
[3456789]* | powerpc-ibm-aix4.
[3456789]*)
6332 tm_file
=rs6000
/aix43.h
6333 tmake_file
=rs6000
/t-aix43
6334 xmake_file
=rs6000
/x-aix41
6339 rs6000-ibm-aix
[56789].
* | powerpc-ibm-aix
[56789].
*)
6340 tm_file
=rs6000
/aix43.h
6341 tmake_file
=rs6000
/t-aix43
6342 xmake_file
=rs6000
/x-aix41
6356 tm_file
=rs6000
/mach.h
6357 xm_file
="${xm_file} rs6000/xm-mach.h"
6358 xmake_file
=rs6000
/x-mach
6362 tm_file
=rs6000
/lynx.h
6363 xm_file
=rs6000
/xm-lynx.h
6364 tmake_file
=rs6000
/t-rs6000
6365 xmake_file
=rs6000
/x-lynx
6369 tmake_file
="sh/t-sh sh/t-elf"
6370 tm_file
="sh/sh.h sh/elf.h"
6374 tmake_file
="sh/t-sh sh/t-elf t-rtems"
6375 tm_file
="sh/sh.h sh/elf.h sh/rtemself.h"
6379 tmake_file
="sh/t-sh t-rtems"
6380 tm_file
="sh/sh.h sh/rtems.h"
6384 tm_file
="sh/sh.h sh/elf.h sh/linux.h"
6385 tmake_file
="sh/t-sh sh/t-elf sh/t-linux"
6388 if test x
$enable_threads = xyes
; then
6398 xm_file
="xm-alloca.h ${xm_file}"
6401 sparc-wrs-vxworks
* | sparclite-wrs-vxworks
*)
6402 tm_file
=sparc
/vxsparc.h
6403 tmake_file
=sparc
/t-vxsparc
6405 thread_file
='vxworks'
6408 tmake_file
=sparc
/t-sparcbare
6409 tm_file
="sparc/aout.h libgloss.h"
6412 tm_file
=sparc
/netbsd.h
6417 # we need collect2 until our bug is fixed...
6425 tmake_file
=sparc
/t-elf
6426 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
6430 sparc-
*-linux*aout
*) # Sparc's running GNU/Linux, a.out
6431 xm_file
="${xm_file} sparc/xm-linux.h"
6432 tm_file
=sparc
/linux-aout.h
6436 sparc-
*-linux*libc1
*) # Sparc's running GNU/Linux, libc5
6437 xm_file
="${xm_file} sparc/xm-linux.h"
6439 tm_file
=sparc
/linux.h
6440 tmake_file
="t-linux t-linux-gnulibc1"
6441 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
6445 sparc-
*-linux*) # Sparc's running GNU/Linux, libc6
6446 xm_file
="${xm_file} sparc/xm-linux.h"
6448 tm_file
=sparc
/linux.h
6449 tmake_file
="t-linux"
6450 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
6452 if test x
$enable_threads = xyes
; then
6458 if test x
$gas = xyes
6460 tm_file
=sparc
/lynx.h
6462 tm_file
=sparc
/lynx-ng.h
6464 xm_file
=sparc
/xm-lynx.h
6465 tmake_file
=sparc
/t-sunos41
6469 tmake_file
="sparc/t-sparcbare t-rtems"
6470 tm_file
=sparc
/rtems.h
6472 sparc-
*-rtems*|sparc-
*-rtemself*)
6473 tm_file
="sparc/rtemself.h"
6474 tmake_file
="sparc/t-elf t-rtems"
6475 extra_parts
="crti.o crtn.o crtbegin.o crtend.o"
6479 sparcv9-
*-solaris2*)
6480 if test x
$gnu_ld = xyes
6482 tm_file
=sparc
/sol2-64.h
6484 tm_file
=sparc
/sol2-sld-64.h
6486 xm_file
="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
6487 xm_defines
="USG POSIX"
6488 tmake_file
="sparc/t-sol2 sparc/t-sol2-64"
6489 if test x
$gnu_ld = xyes
; then
6490 tmake_file
="$tmake_file sparc/t-slibgcc"
6492 tmake_file
="$tmake_file sparc/t-slibgcc-sld"
6494 xmake_file
=sparc
/x-sysv4
6495 extra_parts
="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
6497 if test x
${enable_threads} = x
; then
6498 enable_threads
=$have_pthread_h
6499 if test x
${enable_threads} = x
; then
6500 enable_threads
=$have_thread_h
6503 if test x
${enable_threads} = xyes
; then
6504 if test x
${have_pthread_h} = xyes
; then
6507 thread_file
='solaris'
6511 sparc-hal-solaris2
*)
6512 xm_file
="sparc/xm-sysv4.h sparc/xm-sol2.h"
6513 xm_defines
="USG POSIX"
6514 tm_file
="sparc/sol2.h sparc/hal.h"
6515 tmake_file
="sparc/t-halos sparc/t-sol2"
6516 if test x
$gnu_ld = xyes
; then
6517 tmake_file
="$tmake_file sparc/t-slibgcc"
6519 tmake_file
="$tmake_file sparc/t-slibgcc-sld"
6521 xmake_file
=sparc
/x-sysv4
6522 extra_parts
="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
6531 thread_file
='solaris'
6534 if test x
$gnu_ld = xyes
6536 tm_file
=sparc
/sol2.h
6538 tm_file
=sparc
/sol2-sld.h
6540 xm_file
="sparc/xm-sysv4.h sparc/xm-sol2.h"
6541 xm_defines
="USG POSIX"
6542 tmake_file
=sparc
/t-sol2
6543 if test x
$gnu_ld = xyes
; then
6544 tmake_file
="$tmake_file sparc/t-slibgcc"
6546 tmake_file
="$tmake_file sparc/t-slibgcc-sld"
6548 xmake_file
=sparc
/x-sysv4
6549 extra_parts
="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
6550 # At the moment, 32-to-64 cross compilation doesn't work.
6553 # *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
6554 #changequote([,])dnl
6556 # if test x$gnu_ld = xyes
6558 # tm_file=sparc/sol2-64.h
6560 # tm_file=sparc/sol2-sld-64.h
6562 # tmake_file="$tmake_file sparc/t-sol2-64"
6573 if test x
${enable_threads} = x
; then
6574 enable_threads
=$have_pthread_h
6575 if test x
${enable_threads} = x
; then
6576 enable_threads
=$have_thread_h
6579 if test x
${enable_threads} = xyes
; then
6580 if test x
${have_pthread_h} = xyes
; then
6583 thread_file
='solaris'
6588 tm_file
=sparc
/sunos4.h
6589 tmake_file
=sparc
/t-sunos40
6593 tm_file
=sparc
/sunos4.h
6594 tmake_file
=sparc
/t-sunos41
6596 if test x
$gas = xyes
; then
6597 tm_file
="${tm_file} sparc/sun4gas.h"
6601 tm_file
=sparc
/sun4o3.h
6605 tm_file
=sparc
/sysv4.h
6606 xm_file
="sparc/xm-sysv4.h"
6607 xm_defines
="USG POSIX"
6609 xmake_file
=sparc
/x-sysv4
6610 extra_parts
="crtbegin.o crtend.o"
6613 xm_file
="sparc/xm-sysv4.h sparc/xm-sol2.h"
6614 xm_defines
="USG POSIX"
6615 tm_file
=sparc
/vxsim.h
6616 tmake_file
=sparc
/t-vxsparc
6617 xmake_file
=sparc
/x-sysv4
6620 tm_file
="sparc/splet.h libgloss.h"
6621 tmake_file
=sparc
/t-splet
6624 tm_file
="sparc/litecoff.h libgloss.h"
6625 tmake_file
=sparc
/t-sparclite
6628 tm_file
="sparc/lite.h aoutos.h libgloss.h"
6629 tmake_file
=sparc
/t-sparclite
6632 tm_file
="sparc/liteelf.h"
6633 tmake_file
=sparc
/t-sparclite
6634 extra_parts
="crtbegin.o crtend.o"
6637 tm_file
="sparc/sp86x-aout.h aoutos.h libgloss.h"
6638 tmake_file
=sparc
/t-sp86x
6641 tm_file
="sparc/sp86x-elf.h"
6642 tmake_file
=sparc
/t-sp86x
6643 extra_parts
="crtbegin.o crtend.o"
6646 tmake_file
=sparc
/t-sp64
6647 tm_file
=sparc
/sp64-aout.h
6650 tmake_file
=sparc
/t-sp64
6651 tm_file
=sparc
/sp64-elf.h
6652 extra_parts
="crtbegin.o crtend.o"
6654 sparc64-
*-linux*) # 64-bit Sparc's running GNU/Linux
6655 tmake_file
="t-linux sparc/t-linux64"
6656 xm_file
="sparc/xm-sp64.h sparc/xm-linux.h"
6657 tm_file
=sparc
/linux64.h
6659 extra_parts
="crtbegin.o crtbeginS.o crtend.o crtendS.o"
6661 if test x
$enable_threads = xyes
; then
6667 { echo "configure: error:
6668 *** The Thumb targets have been depreciated. The equivalent
6669 *** ARM based toolchain can now generated Thumb instructions
6670 *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
6674 tm_file
="v850/rtems.h"
6675 xm_file
="v850/xm-v850.h"
6676 tmake_file
="v850/t-v850 t-rtems"
6677 if test x
$stabs = xyes
6679 tm_file
="${tm_file} dbx.h"
6684 target_cpu_default
="TARGET_CPU_generic"
6686 tm_file
="v850/v850.h"
6687 xm_file
="v850/xm-v850.h"
6688 tmake_file
=v850
/t-v850
6689 if test x
$stabs = xyes
6691 tm_file
="${tm_file} dbx.h"
6695 vax-
*-bsd*) # vaxen running BSD
6699 vax-
*-sysv*) # vaxen running system V
6700 tm_file
="${tm_file} vax/vaxv.h"
6705 tm_file
="${tm_file} netbsd.h vax/netbsd.h"
6711 tmake_file
="${tmake_file} vax/t-openbsd"
6712 tm_file
="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
6713 xm_file
="xm-openbsd.h vax/xm-vax.h"
6717 vax-
*-ultrix*) # vaxen running ultrix
6718 tm_file
="${tm_file} vax/ultrix.h"
6721 vax-
*-vms*) # vaxen running VMS
6722 xm_file
=vax
/xm-vms.h
6726 vax-
*-*) # vax default entry
6730 xm_file
="${xm_file} xm-svr3"
6734 echo "Configuration $machine not supported" 1>&2
6741 ;; # Existing GNU/Linux systems do not use the GNU setup.
6743 # On the GNU system, the setup is just about the same on
6744 # each different CPU. The specific machines that GNU
6745 # supports are matched above and just set $cpu_type.
6746 xm_file
="xm-gnu.h ${xm_file}"
6747 tm_file
=${cpu_type}/gnu.h
6748 extra_parts
="crtbegin.o crtend.o crtbeginS.o crtendS.o"
6749 # GNU always uses ELF.
6751 # GNU tools are the only tools.
6754 xmake_file
=x-linux
# These details are the same as Linux.
6755 tmake_file
=t-gnu
# These are not.
6758 xmake_try_sysv
=x-sysv
6759 install_headers_dir
=install-headers-cpio
6762 install_headers_dir
=install-headers-cpio
6766 # Distinguish i[34567]86
6767 # Also, do not run mips-tfile on MIPS if using gas.
6768 # Process --with-cpu= for PowerPC/rs6000
6769 target_cpu_default2
=
6772 target_cpu_default2
=1
6775 case $target_alias in
6777 target_cpu_default2
=4
6780 target_cpu_default2
=2
6784 i686-
*-* | i786-
*-*)
6785 target_cpu_default2
=3
6790 target_cpu_default2
="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX"
6793 target_cpu_default2
="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX"
6796 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
6799 target_cpu_default2
="MASK_CPU_EV5|MASK_BWX"
6802 target_cpu_default2
="MASK_CPU_EV5"
6806 if test x
$gas = xyes
6808 if test "$target_cpu_default2" = ""
6810 target_cpu_default2
="MASK_GAS"
6812 target_cpu_default2
="${target_cpu_default2}|MASK_GAS"
6817 case "x$with_cpu" in
6820 target_cpu_default2
="TARGET_CPU_generic"
6823 # Distinguish cores, and major variants
6824 # arm7m doesn't exist, but D & I don't affect code
6825 xarm
[23678] | xarm250 | xarm
[67][01]0 \
6826 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
6827 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
6828 | xstrongarm | xstrongarm110 | xstrongarm1100
)
6829 target_cpu_default2
="TARGET_CPU_$with_cpu"
6833 echo "--with-cpu must be passed a value" 1>&2
6838 if test x
$pass2done = xyes
6840 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
6847 mips
*-*-ecoff* | mips
*-*-elf*)
6848 if test x
$gas = xyes
6850 if test x
$gnu_ld = xyes
6852 target_cpu_default2
="MASK_GAS|MASK_SPLIT_ADDR"
6854 target_cpu_default2
="MASK_GAS"
6859 if test x
$gas = xyes
6861 target_cpu_default2
="MASK_GAS"
6864 powerpc
*-*-* | rs6000-
*-*)
6865 case "x$with_cpu" in
6869 xcommon | xpower | xpower2 | xpowerpc | xrios \
6870 | xrios1 | xrios2 | xrsc | xrsc1 \
6871 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
6872 | xec603e | x740 | x750 | x401 \
6873 | x403 | x505 | x801 | x821 | x823 | x860
)
6874 target_cpu_default2
="\"$with_cpu\""
6878 echo "--with-cpu must be passed a value" 1>&2
6883 if test x
$pass2done = xyes
6885 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
6892 case ".$with_cpu" in
6894 target_cpu_default2
=TARGET_CPU_
"`echo $machine | sed 's/-.*$//'`"
6896 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9
)
6897 target_cpu_default2
="TARGET_CPU_$with_cpu"
6900 if test x
$pass2done = xyes
6902 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
6910 if test "$target_cpu_default2" != ""
6912 if test "$target_cpu_default" != ""
6914 target_cpu_default
="(${target_cpu_default}|${target_cpu_default2})"
6916 target_cpu_default
=$target_cpu_default2
6920 # No need for collect2 if we have the GNU linker.
6921 # Actually, there is now; GNU ld doesn't handle the EH info or
6922 # collecting for shared libraries.
6929 # Save data on machine being used to compile GCC in build_xm_file.
6930 # Save data on host machine in vars host_xm_file and host_xmake_file.
6931 if test x
$pass1done = x
6933 if test x
"$xm_file" = x
6934 then build_xm_file
=$cpu_type/xm-
$cpu_type.h
6935 else build_xm_file
=$xm_file
6937 build_xm_defines
=$xm_defines
6938 build_install_headers_dir
=$install_headers_dir
6939 build_exeext
=$exeext
6942 if test x
$pass2done = x
6944 if test x
"$xm_file" = x
6945 then host_xm_file
=$cpu_type/xm-
$cpu_type.h
6946 else host_xm_file
=$xm_file
6948 host_xm_defines
=$xm_defines
6949 if test x
"$xmake_file" = x
6950 then xmake_file
=$cpu_type/x-
$cpu_type
6952 host_xmake_file
="$xmake_file"
6953 host_truncate_target
=$truncate_target
6954 host_extra_gcc_objs
=$extra_gcc_objs
6955 host_extra_objs
=$extra_host_objs
6962 extra_objs
="${host_extra_objs} ${extra_objs}"
6964 # Default the target-machine variables that were not explicitly set.
6965 if test x
"$tm_file" = x
6966 then tm_file
=$cpu_type/$cpu_type.h
; fi
6968 if test x
$extra_headers = x
6969 then extra_headers
=; fi
6971 if test x
"$xm_file" = x
6972 then xm_file
=$cpu_type/xm-
$cpu_type.h
; fi
6974 if test x
$md_file = x
6975 then md_file
=$cpu_type/$cpu_type.md
; fi
6977 if test x
$out_file = x
6978 then out_file
=$cpu_type/$cpu_type.c
; fi
6980 if test x
"$tmake_file" = x
6981 then tmake_file
=$cpu_type/t-
$cpu_type
6984 if test x
"$dwarf2" = xyes
6985 then tm_file
="$tm_file tm-dwarf2.h"
6988 if test x
$float_format = x
6989 then float_format
=i64
6992 if test $float_format = none
6993 then float_h_file
=Makefile.
in
6994 else float_h_file
=float-
$float_format.h
6997 # Handle cpp installation.
6998 if test x
$enable_cpp != xno
7000 tmake_file
="$tmake_file t-install-cpp"
7003 # Say what files are being used for the output code and MD file.
7004 echo "Using \`$srcdir/config/$out_file' to output insns."
7005 echo "Using \`$srcdir/config/$md_file' as machine description file."
7008 for f
in $tm_file; do
7011 if test $count = ax
; then
7012 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
7014 echo "Using the following target machine macro files:"
7015 for f
in $tm_file; do
7016 echo " $srcdir/config/$f"
7021 for f
in $host_xm_file; do
7024 if test $count = ax
; then
7025 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
7027 echo "Using the following host machine macro files:"
7028 for f
in $host_xm_file; do
7029 echo " $srcdir/config/$f"
7033 if test "$host_xm_file" != "$build_xm_file"; then
7035 for f
in $build_xm_file; do
7038 if test $count = ax
; then
7039 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
7041 echo "Using the following build machine macro files:"
7042 for f
in $build_xm_file; do
7043 echo " $srcdir/config/$f"
7048 if test x
$thread_file = x
; then
7049 if test x
$target_thread_file != x
; then
7050 thread_file
=$target_thread_file
7052 thread_file
='single'
7056 # Set up the header files.
7057 # $links is the list of header files to create.
7058 # $vars is the list of shell variables with file names to include.
7059 # auto-host.h is the file containing items generated by autoconf and is
7060 # the first file included by config.h.
7062 host_xm_file
="auto-host.h gansidecl.h ${host_xm_file} hwint.h"
7064 # If host=build, it is correct to have hconfig include auto-host.h
7065 # as well. If host!=build, we are in error and need to do more
7066 # work to find out the build config parameters.
7067 if test x
$host = x
$build
7069 build_xm_file
="auto-host.h gansidecl.h ${build_xm_file} hwint.h"
7071 # We create a subdir, then run autoconf in the subdir.
7072 # To prevent recursion we set host and build for the new
7073 # invocation of configure to the build for this invocation
7080 /*) realsrcdir
=${srcdir};;
7081 *) realsrcdir
=..
/${srcdir};;
7083 CC
=${CC_FOR_BUILD} ${realsrcdir}/configure \
7084 --target=$target --host=$build --build=$build
7086 # We just finished tests for the build machine, so rename
7087 # the file auto-build.h in the gcc directory.
7088 mv auto-host.h ..
/auto-build.h
7091 build_xm_file
="auto-build.h gansidecl.h ${build_xm_file} hwint.h"
7094 xm_file
="gansidecl.h ${xm_file}"
7095 tm_file
="gansidecl.h ${tm_file}"
7097 vars
="host_xm_file tm_file tm_p_file xm_file build_xm_file"
7098 links
="config.h tm.h tm_p.h tconfig.h hconfig.h"
7099 defines
="host_xm_defines null_defines null_defines xm_defines build_xm_defines"
7102 if test -f config.status
; then mv -f config.status config.bak
; fi
7105 while test -n "$vars"
7107 set $vars; var
=$1; shift; vars
=$
*
7108 set $links; link
=$1; shift; links
=$
*
7109 set $defines; define
=$1; shift; defines
=$
*
7112 # Make sure the file is created, even if it is empty.
7115 # Define TARGET_CPU_DEFAULT if the system wants one.
7116 # This substitutes for lots of *.h files.
7117 if test "$target_cpu_default" != "" -a $link = tm.h
7119 echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
7122 for file in `eval echo '$'$var`; do
7124 auto-host.h | auto-build.h
)
7127 echo '#ifdef IN_GCC' >>$link
7130 echo "#include \"$file\"" >>$link
7132 auto-host.h | auto-build.h
)
7135 echo '#endif' >>$link
7140 for def
in `eval echo '$'$define`; do
7141 echo "#ifndef $def" >>$link
7142 echo "#define $def" >>$link
7143 echo "#endif" >>$link
7147 # Truncate the target if necessary
7148 if test x
$host_truncate_target != x
; then
7149 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
7152 # Get the version trigger filename from the toplevel
7153 if test "${with_gcc_version_trigger+set}" = set; then
7154 gcc_version_trigger
=$with_gcc_version_trigger
7156 gcc_version_trigger
=${srcdir}/version.c
7158 gcc_version
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
7160 # Internationalization
7162 VERSION
="$gcc_version"
7163 cat >> confdefs.h
<<EOF
7164 #define PACKAGE "$PACKAGE"
7167 cat >> confdefs.h
<<EOF
7168 #define VERSION "$VERSION"
7176 # Enable NLS support by default
7177 # Check whether --enable-nls or --disable-nls was given.
7178 if test "${enable_nls+set}" = set; then
7179 enableval
="$enable_nls"
7186 # if cross compiling, disable NLS support.
7187 # It's not worth the trouble, at least for now.
7189 if test "${build}" != "${host}" && test "x$enable_nls" = "xyes"; then
7190 echo "configure: warning: Disabling NLS support for canadian cross compiler." 1>&2
7195 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
7196 echo "configure:7193: checking for strerror in -lcposix" >&5
7197 ac_lib_var
=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
7198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7199 echo $ac_n "(cached) $ac_c" 1>&6
7201 ac_save_LIBS
="$LIBS"
7202 LIBS
="-lcposix $LIBS"
7203 cat > conftest.
$ac_ext <<EOF
7204 #line 7201 "configure"
7205 #include "confdefs.h"
7206 /* Override any gcc2 internal prototype to avoid an error. */
7207 /* We use char because int might match the return type of a gcc2
7208 builtin and then its argument prototype would still apply. */
7215 if { (eval echo configure
:7212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7217 eval "ac_cv_lib_$ac_lib_var=yes"
7219 echo "configure: failed program was:" >&5
7220 cat conftest.
$ac_ext >&5
7222 eval "ac_cv_lib_$ac_lib_var=no"
7225 LIBS
="$ac_save_LIBS"
7228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7229 echo "$ac_t""yes" 1>&6
7230 LIBS
="$LIBS -lcposix"
7232 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for working const""... $ac_c" 1>&6
7238 echo "configure:7235: checking for working const" >&5
7239 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7240 echo $ac_n "(cached) $ac_c" 1>&6
7242 cat > conftest.
$ac_ext <<EOF
7243 #line 7240 "configure"
7244 #include "confdefs.h"
7248 /* Ultrix mips cc rejects this. */
7249 typedef int charset[2]; const charset x;
7250 /* SunOS 4.1.1 cc rejects this. */
7251 char const *const *ccp;
7253 /* NEC SVR4.0.2 mips cc rejects this. */
7254 struct point {int x, y;};
7255 static struct point const zero = {0,0};
7256 /* AIX XL C 1.02.0.0 rejects this.
7257 It does not let you subtract one const X* pointer from another in an arm
7258 of an if-expression whose if-part is not a constant expression */
7259 const char *g = "string";
7260 ccp = &g + (g ? g-g : 0);
7261 /* HPUX 7.0 cc rejects these. */
7264 ccp = (char const *const *) p;
7265 { /* SCO 3.2v4 cc rejects this. */
7267 char const *s = 0 ? (char *) 0 : (char const *) 0;
7271 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7273 const int *foo = &x[0];
7276 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7277 typedef const int *iptr;
7281 { /* AIX XL C 1.02.0.0 rejects this saying
7282 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7283 struct s { int j; const int *ap[3]; };
7284 struct s *b; b->j = 5;
7286 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7292 if { (eval echo configure
:7289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7296 echo "configure: failed program was:" >&5
7297 cat conftest.
$ac_ext >&5
7304 echo "$ac_t""$ac_cv_c_const" 1>&6
7305 if test $ac_cv_c_const = no
; then
7306 cat >> confdefs.h
<<\EOF
7312 echo $ac_n "checking for off_t""... $ac_c" 1>&6
7313 echo "configure:7310: checking for off_t" >&5
7314 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7315 echo $ac_n "(cached) $ac_c" 1>&6
7317 cat > conftest.
$ac_ext <<EOF
7318 #line 7315 "configure"
7319 #include "confdefs.h"
7320 #include <sys/types.h>
7326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7327 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7329 ac_cv_type_off_t
=yes
7337 echo "$ac_t""$ac_cv_type_off_t" 1>&6
7338 if test $ac_cv_type_off_t = no
; then
7339 cat >> confdefs.h
<<\EOF
7345 echo $ac_n "checking for size_t""... $ac_c" 1>&6
7346 echo "configure:7343: checking for size_t" >&5
7347 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7348 echo $ac_n "(cached) $ac_c" 1>&6
7350 cat > conftest.
$ac_ext <<EOF
7351 #line 7348 "configure"
7352 #include "confdefs.h"
7353 #include <sys/types.h>
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7362 ac_cv_type_size_t
=yes
7365 ac_cv_type_size_t
=no
7370 echo "$ac_t""$ac_cv_type_size_t" 1>&6
7371 if test $ac_cv_type_size_t = no
; then
7372 cat >> confdefs.h
<<\EOF
7373 #define size_t unsigned
7378 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7379 # for constant arguments. Useless!
7380 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
7381 echo "configure:7378: checking for working alloca.h" >&5
7382 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7385 cat > conftest.
$ac_ext <<EOF
7386 #line 7383 "configure"
7387 #include "confdefs.h"
7390 char *p = alloca(2 * sizeof(int));
7393 if { (eval echo configure
:7390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7395 ac_cv_header_alloca_h
=yes
7397 echo "configure: failed program was:" >&5
7398 cat conftest.
$ac_ext >&5
7400 ac_cv_header_alloca_h
=no
7405 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
7406 if test $ac_cv_header_alloca_h = yes; then
7407 cat >> confdefs.h
<<\EOF
7408 #define HAVE_ALLOCA_H 1
7413 echo $ac_n "checking for alloca""... $ac_c" 1>&6
7414 echo "configure:7411: checking for alloca" >&5
7415 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
7416 echo $ac_n "(cached) $ac_c" 1>&6
7418 cat > conftest.
$ac_ext <<EOF
7419 #line 7416 "configure"
7420 #include "confdefs.h"
7423 # define alloca __builtin_alloca
7426 # include <malloc.h>
7427 # define alloca _alloca
7430 # include <alloca.h>
7435 # ifndef alloca /* predefined by HP cc +Olibcalls */
7444 char *p = (char *) alloca(1);
7447 if { (eval echo configure
:7444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7449 ac_cv_func_alloca_works
=yes
7451 echo "configure: failed program was:" >&5
7452 cat conftest.
$ac_ext >&5
7454 ac_cv_func_alloca_works
=no
7459 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
7460 if test $ac_cv_func_alloca_works = yes; then
7461 cat >> confdefs.h
<<\EOF
7462 #define HAVE_ALLOCA 1
7467 if test $ac_cv_func_alloca_works = no
; then
7468 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7469 # that cause trouble. Some versions do not even contain alloca or
7470 # contain a buggy version. If you still want to use their alloca,
7471 # use ar to extract alloca.o from them instead of compiling alloca.c.
7472 ALLOCA
=alloca.
${ac_objext}
7473 cat >> confdefs.h
<<\EOF
7478 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
7479 echo "configure:7476: checking whether alloca needs Cray hooks" >&5
7480 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
7481 echo $ac_n "(cached) $ac_c" 1>&6
7483 cat > conftest.
$ac_ext <<EOF
7484 #line 7481 "configure"
7485 #include "confdefs.h"
7486 #if defined(CRAY) && ! defined(CRAY2)
7493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7494 egrep "webecray" >/dev
/null
2>&1; then
7505 echo "$ac_t""$ac_cv_os_cray" 1>&6
7506 if test $ac_cv_os_cray = yes; then
7507 for ac_func
in _getb67 GETB67 getb67
; do
7508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7509 echo "configure:7506: checking for $ac_func" >&5
7510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7511 echo $ac_n "(cached) $ac_c" 1>&6
7513 cat > conftest.
$ac_ext <<EOF
7514 #line 7511 "configure"
7515 #include "confdefs.h"
7516 /* System header to define __stub macros and hopefully few prototypes,
7517 which can conflict with char $ac_func(); below. */
7519 /* Override any gcc2 internal prototype to avoid an error. */
7520 /* We use char because int might match the return type of a gcc2
7521 builtin and then its argument prototype would still apply. */
7526 /* The GNU C library defines this for functions which it implements
7527 to always fail with ENOSYS. Some functions are actually named
7528 something starting with __ and the normal name is an alias. */
7529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7537 if { (eval echo configure
:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7539 eval "ac_cv_func_$ac_func=yes"
7541 echo "configure: failed program was:" >&5
7542 cat conftest.
$ac_ext >&5
7544 eval "ac_cv_func_$ac_func=no"
7549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7550 echo "$ac_t""yes" 1>&6
7551 cat >> confdefs.h
<<EOF
7552 #define CRAY_STACKSEG_END $ac_func
7557 echo "$ac_t""no" 1>&6
7563 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
7564 echo "configure:7561: checking stack direction for C alloca" >&5
7565 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
7566 echo $ac_n "(cached) $ac_c" 1>&6
7568 if test "$cross_compiling" = yes; then
7569 ac_cv_c_stack_direction
=0
7571 cat > conftest.
$ac_ext <<EOF
7572 #line 7569 "configure"
7573 #include "confdefs.h"
7574 find_stack_direction ()
7576 static char *addr = 0;
7581 return find_stack_direction ();
7584 return (&dummy > addr) ? 1 : -1;
7588 exit (find_stack_direction() < 0);
7591 if { (eval echo configure
:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7593 ac_cv_c_stack_direction
=1
7595 echo "configure: failed program was:" >&5
7596 cat conftest.
$ac_ext >&5
7598 ac_cv_c_stack_direction
=-1
7605 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
7606 cat >> confdefs.h
<<EOF
7607 #define STACK_DIRECTION $ac_cv_c_stack_direction
7613 for ac_hdr
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
7614 unistd.h sys
/param.h
7616 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7617 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7618 echo "configure:7615: checking for $ac_hdr" >&5
7619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7622 cat > conftest.
$ac_ext <<EOF
7623 #line 7620 "configure"
7624 #include "confdefs.h"
7627 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7628 { (eval echo configure
:7625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7629 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7630 if test -z "$ac_err"; then
7632 eval "ac_cv_header_$ac_safe=yes"
7635 echo "configure: failed program was:" >&5
7636 cat conftest.
$ac_ext >&5
7638 eval "ac_cv_header_$ac_safe=no"
7642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7643 echo "$ac_t""yes" 1>&6
7644 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7645 cat >> confdefs.h
<<EOF
7646 #define $ac_tr_hdr 1
7650 echo "$ac_t""no" 1>&6
7654 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7655 strdup __argz_count __argz_stringify __argz_next
7657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7658 echo "configure:7655: checking for $ac_func" >&5
7659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7660 echo $ac_n "(cached) $ac_c" 1>&6
7662 cat > conftest.
$ac_ext <<EOF
7663 #line 7660 "configure"
7664 #include "confdefs.h"
7665 /* System header to define __stub macros and hopefully few prototypes,
7666 which can conflict with char $ac_func(); below. */
7668 /* Override any gcc2 internal prototype to avoid an error. */
7669 /* We use char because int might match the return type of a gcc2
7670 builtin and then its argument prototype would still apply. */
7675 /* The GNU C library defines this for functions which it implements
7676 to always fail with ENOSYS. Some functions are actually named
7677 something starting with __ and the normal name is an alias. */
7678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7686 if { (eval echo configure
:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7688 eval "ac_cv_func_$ac_func=yes"
7690 echo "configure: failed program was:" >&5
7691 cat conftest.
$ac_ext >&5
7693 eval "ac_cv_func_$ac_func=no"
7698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7699 echo "$ac_t""yes" 1>&6
7700 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7701 cat >> confdefs.h
<<EOF
7702 #define $ac_tr_func 1
7706 echo "$ac_t""no" 1>&6
7711 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7712 for ac_func
in stpcpy
7714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7715 echo "configure:7712: checking for $ac_func" >&5
7716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7717 echo $ac_n "(cached) $ac_c" 1>&6
7719 cat > conftest.
$ac_ext <<EOF
7720 #line 7717 "configure"
7721 #include "confdefs.h"
7722 /* System header to define __stub macros and hopefully few prototypes,
7723 which can conflict with char $ac_func(); below. */
7725 /* Override any gcc2 internal prototype to avoid an error. */
7726 /* We use char because int might match the return type of a gcc2
7727 builtin and then its argument prototype would still apply. */
7732 /* The GNU C library defines this for functions which it implements
7733 to always fail with ENOSYS. Some functions are actually named
7734 something starting with __ and the normal name is an alias. */
7735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7743 if { (eval echo configure
:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7745 eval "ac_cv_func_$ac_func=yes"
7747 echo "configure: failed program was:" >&5
7748 cat conftest.
$ac_ext >&5
7750 eval "ac_cv_func_$ac_func=no"
7755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7756 echo "$ac_t""yes" 1>&6
7757 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7758 cat >> confdefs.h
<<EOF
7759 #define $ac_tr_func 1
7763 echo "$ac_t""no" 1>&6
7768 if test "${ac_cv_func_stpcpy}" = "yes"; then
7769 cat >> confdefs.h
<<\EOF
7770 #define HAVE_STPCPY 1
7775 if test $ac_cv_header_locale_h = yes; then
7776 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
7777 echo "configure:7774: checking for LC_MESSAGES" >&5
7778 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
7779 echo $ac_n "(cached) $ac_c" 1>&6
7781 cat > conftest.
$ac_ext <<EOF
7782 #line 7779 "configure"
7783 #include "confdefs.h"
7789 if { (eval echo configure
:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7791 am_cv_val_LC_MESSAGES
=yes
7793 echo "configure: failed program was:" >&5
7794 cat conftest.
$ac_ext >&5
7796 am_cv_val_LC_MESSAGES
=no
7801 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
7802 if test $am_cv_val_LC_MESSAGES = yes; then
7803 cat >> confdefs.h
<<\EOF
7804 #define HAVE_LC_MESSAGES 1
7809 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
7810 echo "configure:7807: checking whether NLS is requested" >&5
7811 # Check whether --enable-nls or --disable-nls was given.
7812 if test "${enable_nls+set}" = set; then
7813 enableval
="$enable_nls"
7819 echo "$ac_t""$USE_NLS" 1>&6
7822 USE_INCLUDED_LIBINTL
=no
7824 if test "$USE_NLS" = "yes"; then
7825 cat >> confdefs.h
<<\EOF
7826 #define ENABLE_NLS 1
7829 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
7830 echo "configure:7827: checking whether included gettext is requested" >&5
7831 # Check whether --with-included-gettext or --without-included-gettext was given.
7832 if test "${with_included_gettext+set}" = set; then
7833 withval
="$with_included_gettext"
7834 nls_cv_force_use_gnu_gettext
=$withval
7836 nls_cv_force_use_gnu_gettext
=no
7839 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
7841 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7842 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7844 nls_cv_header_libgt
=
7847 ac_safe
=`echo "libintl.h" | sed 'y%./+-%__p_%'`
7848 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
7849 echo "configure:7846: checking for libintl.h" >&5
7850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7851 echo $ac_n "(cached) $ac_c" 1>&6
7853 cat > conftest.
$ac_ext <<EOF
7854 #line 7851 "configure"
7855 #include "confdefs.h"
7856 #include <libintl.h>
7858 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7859 { (eval echo configure
:7856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7860 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7861 if test -z "$ac_err"; then
7863 eval "ac_cv_header_$ac_safe=yes"
7866 echo "configure: failed program was:" >&5
7867 cat conftest.
$ac_ext >&5
7869 eval "ac_cv_header_$ac_safe=no"
7873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7874 echo "$ac_t""yes" 1>&6
7875 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
7876 echo "configure:7873: checking for gettext in libc" >&5
7877 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
7878 echo $ac_n "(cached) $ac_c" 1>&6
7880 cat > conftest.
$ac_ext <<EOF
7881 #line 7878 "configure"
7882 #include "confdefs.h"
7883 #include <libintl.h>
7885 return (int) gettext ("")
7888 if { (eval echo configure
:7885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7890 gt_cv_func_gettext_libc
=yes
7892 echo "configure: failed program was:" >&5
7893 cat conftest.
$ac_ext >&5
7895 gt_cv_func_gettext_libc
=no
7900 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
7902 if test "$gt_cv_func_gettext_libc" != "yes"; then
7903 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
7904 echo "configure:7901: checking for bindtextdomain in -lintl" >&5
7905 ac_lib_var
=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
7906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7907 echo $ac_n "(cached) $ac_c" 1>&6
7909 ac_save_LIBS
="$LIBS"
7911 cat > conftest.
$ac_ext <<EOF
7912 #line 7909 "configure"
7913 #include "confdefs.h"
7914 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7917 char bindtextdomain();
7923 if { (eval echo configure
:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7925 eval "ac_cv_lib_$ac_lib_var=yes"
7927 echo "configure: failed program was:" >&5
7928 cat conftest.
$ac_ext >&5
7930 eval "ac_cv_lib_$ac_lib_var=no"
7933 LIBS
="$ac_save_LIBS"
7936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7937 echo "$ac_t""yes" 1>&6
7938 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
7939 echo "configure:7936: checking for gettext in libintl" >&5
7940 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
7941 echo $ac_n "(cached) $ac_c" 1>&6
7943 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
7944 echo "configure:7941: checking for gettext in -lintl" >&5
7945 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
7946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7947 echo $ac_n "(cached) $ac_c" 1>&6
7949 ac_save_LIBS
="$LIBS"
7951 cat > conftest.
$ac_ext <<EOF
7952 #line 7949 "configure"
7953 #include "confdefs.h"
7954 /* Override any gcc2 internal prototype to avoid an error. */
7955 /* We use char because int might match the return type of a gcc2
7956 builtin and then its argument prototype would still apply. */
7963 if { (eval echo configure
:7960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7965 eval "ac_cv_lib_$ac_lib_var=yes"
7967 echo "configure: failed program was:" >&5
7968 cat conftest.
$ac_ext >&5
7970 eval "ac_cv_lib_$ac_lib_var=no"
7973 LIBS
="$ac_save_LIBS"
7976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7977 echo "$ac_t""yes" 1>&6
7978 gt_cv_func_gettext_libintl
=yes
7980 echo "$ac_t""no" 1>&6
7981 gt_cv_func_gettext_libintl
=no
7986 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
7988 echo "$ac_t""no" 1>&6
7993 if test "$gt_cv_func_gettext_libc" = "yes" \
7994 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7995 cat >> confdefs.h
<<\EOF
7996 #define HAVE_GETTEXT 1
7999 # Extract the first word of "msgfmt", so it can be a program name with args.
8000 set dummy msgfmt
; ac_word
=$2
8001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8002 echo "configure:7999: checking for $ac_word" >&5
8003 if eval "test \"`echo '$''{'gcc_cv_path_MSGFMT'+set}'`\" = set"; then
8004 echo $ac_n "(cached) $ac_c" 1>&6
8008 gcc_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8012 for ac_dir
in $PATH; do
8013 test -z "$ac_dir" && ac_dir
=.
8014 if test -f $ac_dir/$ac_word; then
8015 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8016 gcc_cv_path_MSGFMT
="$ac_dir/$ac_word"
8022 test -z "$gcc_cv_path_MSGFMT" && gcc_cv_path_MSGFMT
="no"
8026 MSGFMT
="$gcc_cv_path_MSGFMT"
8027 if test -n "$MSGFMT"; then
8028 echo "$ac_t""$MSGFMT" 1>&6
8030 echo "$ac_t""no" 1>&6
8032 if test "$MSGFMT" != "no"; then
8033 for ac_func
in dcgettext
8035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8036 echo "configure:8033: checking for $ac_func" >&5
8037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8038 echo $ac_n "(cached) $ac_c" 1>&6
8040 cat > conftest.
$ac_ext <<EOF
8041 #line 8038 "configure"
8042 #include "confdefs.h"
8043 /* System header to define __stub macros and hopefully few prototypes,
8044 which can conflict with char $ac_func(); below. */
8046 /* Override any gcc2 internal prototype to avoid an error. */
8047 /* We use char because int might match the return type of a gcc2
8048 builtin and then its argument prototype would still apply. */
8053 /* The GNU C library defines this for functions which it implements
8054 to always fail with ENOSYS. Some functions are actually named
8055 something starting with __ and the normal name is an alias. */
8056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8064 if { (eval echo configure
:8061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8066 eval "ac_cv_func_$ac_func=yes"
8068 echo "configure: failed program was:" >&5
8069 cat conftest.
$ac_ext >&5
8071 eval "ac_cv_func_$ac_func=no"
8076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8077 echo "$ac_t""yes" 1>&6
8078 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8079 cat >> confdefs.h
<<EOF
8080 #define $ac_tr_func 1
8084 echo "$ac_t""no" 1>&6
8088 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8089 set dummy gmsgfmt
; ac_word
=$2
8090 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8091 echo "configure:8088: checking for $ac_word" >&5
8092 if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8097 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8100 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
8103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8105 for ac_dir
in $ac_dummy; do
8106 test -z "$ac_dir" && ac_dir
=.
8107 if test -f $ac_dir/$ac_word; then
8108 gcc_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8113 test -z "$gcc_cv_path_GMSGFMT" && gcc_cv_path_GMSGFMT
="$MSGFMT"
8117 GMSGFMT
="$gcc_cv_path_GMSGFMT"
8118 if test -n "$GMSGFMT"; then
8119 echo "$ac_t""$GMSGFMT" 1>&6
8121 echo "$ac_t""no" 1>&6
8124 # Extract the first word of "xgettext", so it can be a program name with args.
8125 set dummy xgettext
; ac_word
=$2
8126 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8127 echo "configure:8124: checking for $ac_word" >&5
8128 if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
8129 echo $ac_n "(cached) $ac_c" 1>&6
8133 gcc_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8136 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8137 for ac_dir
in $PATH; do
8138 test -z "$ac_dir" && ac_dir
=.
8139 if test -f $ac_dir/$ac_word; then
8140 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8141 gcc_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8147 test -z "$gcc_cv_path_XGETTEXT" && gcc_cv_path_XGETTEXT
=":"
8151 XGETTEXT
="$gcc_cv_path_XGETTEXT"
8152 if test -n "$XGETTEXT"; then
8153 echo "$ac_t""$XGETTEXT" 1>&6
8155 echo "$ac_t""no" 1>&6
8158 cat > conftest.
$ac_ext <<EOF
8159 #line 8156 "configure"
8160 #include "confdefs.h"
8163 extern int _nl_msg_cat_cntr;
8164 return _nl_msg_cat_cntr
8167 if { (eval echo configure
:8164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8172 echo "configure: failed program was:" >&5
8173 cat conftest.
$ac_ext >&5
8181 create_catalogs
="no"
8186 echo "$ac_t""no" 1>&6
8190 if test "$CATOBJEXT" = "NONE"; then
8191 echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
8192 echo "configure:8189: checking whether catgets can be used" >&5
8193 # Check whether --with-catgets or --without-catgets was given.
8194 if test "${with_catgets+set}" = set; then
8195 withval
="$with_catgets"
8196 nls_cv_use_catgets
=$withval
8198 nls_cv_use_catgets
=no
8201 echo "$ac_t""$nls_cv_use_catgets" 1>&6
8203 if test "$nls_cv_use_catgets" = "yes"; then
8204 echo $ac_n "checking for main in -li""... $ac_c" 1>&6
8205 echo "configure:8202: checking for main in -li" >&5
8206 ac_lib_var
=`echo i'_'main | sed 'y%./+-%__p_%'`
8207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8208 echo $ac_n "(cached) $ac_c" 1>&6
8210 ac_save_LIBS
="$LIBS"
8212 cat > conftest.
$ac_ext <<EOF
8213 #line 8210 "configure"
8214 #include "confdefs.h"
8220 if { (eval echo configure
:8217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8222 eval "ac_cv_lib_$ac_lib_var=yes"
8224 echo "configure: failed program was:" >&5
8225 cat conftest.
$ac_ext >&5
8227 eval "ac_cv_lib_$ac_lib_var=no"
8230 LIBS
="$ac_save_LIBS"
8233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8234 echo "$ac_t""yes" 1>&6
8235 ac_tr_lib
=HAVE_LIB
`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8236 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8237 cat >> confdefs.h
<<EOF
8238 #define $ac_tr_lib 1
8244 echo "$ac_t""no" 1>&6
8247 echo $ac_n "checking for catgets""... $ac_c" 1>&6
8248 echo "configure:8245: checking for catgets" >&5
8249 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
8250 echo $ac_n "(cached) $ac_c" 1>&6
8252 cat > conftest.
$ac_ext <<EOF
8253 #line 8250 "configure"
8254 #include "confdefs.h"
8255 /* System header to define __stub macros and hopefully few prototypes,
8256 which can conflict with char catgets(); below. */
8258 /* Override any gcc2 internal prototype to avoid an error. */
8259 /* We use char because int might match the return type of a gcc2
8260 builtin and then its argument prototype would still apply. */
8265 /* The GNU C library defines this for functions which it implements
8266 to always fail with ENOSYS. Some functions are actually named
8267 something starting with __ and the normal name is an alias. */
8268 #if defined (__stub_catgets) || defined (__stub___catgets)
8276 if { (eval echo configure
:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8278 eval "ac_cv_func_catgets=yes"
8280 echo "configure: failed program was:" >&5
8281 cat conftest.
$ac_ext >&5
8283 eval "ac_cv_func_catgets=no"
8288 if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
8289 echo "$ac_t""yes" 1>&6
8290 cat >> confdefs.h
<<\EOF
8291 #define HAVE_CATGETS 1
8294 INTLOBJS
="\$(CATOBJS)"
8295 # Extract the first word of "gencat", so it can be a program name with args.
8296 set dummy gencat
; ac_word
=$2
8297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8298 echo "configure:8295: checking for $ac_word" >&5
8299 if eval "test \"`echo '$''{'gcc_cv_path_GENCAT'+set}'`\" = set"; then
8300 echo $ac_n "(cached) $ac_c" 1>&6
8304 gcc_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a path.
8307 gcc_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a dos path.
8310 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8312 for ac_dir
in $ac_dummy; do
8313 test -z "$ac_dir" && ac_dir
=.
8314 if test -f $ac_dir/$ac_word; then
8315 gcc_cv_path_GENCAT
="$ac_dir/$ac_word"
8320 test -z "$gcc_cv_path_GENCAT" && gcc_cv_path_GENCAT
="no"
8324 GENCAT
="$gcc_cv_path_GENCAT"
8325 if test -n "$GENCAT"; then
8326 echo "$ac_t""$GENCAT" 1>&6
8328 echo "$ac_t""no" 1>&6
8330 if test "$GENCAT" != "no"; then
8331 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8332 set dummy gmsgfmt
; ac_word
=$2
8333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8334 echo "configure:8331: checking for $ac_word" >&5
8335 if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
8336 echo $ac_n "(cached) $ac_c" 1>&6
8340 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8343 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
8346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8348 for ac_dir
in $ac_dummy; do
8349 test -z "$ac_dir" && ac_dir
=.
8350 if test -f $ac_dir/$ac_word; then
8351 gcc_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8356 test -z "$gcc_cv_path_GMSGFMT" && gcc_cv_path_GMSGFMT
="no"
8360 GMSGFMT
="$gcc_cv_path_GMSGFMT"
8361 if test -n "$GMSGFMT"; then
8362 echo "$ac_t""$GMSGFMT" 1>&6
8364 echo "$ac_t""no" 1>&6
8367 if test "$GMSGFMT" = "no"; then
8368 # Extract the first word of "msgfmt", so it can be a program name with args.
8369 set dummy msgfmt
; ac_word
=$2
8370 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8371 echo "configure:8368: checking for $ac_word" >&5
8372 if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8377 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8381 for ac_dir
in $PATH; do
8382 test -z "$ac_dir" && ac_dir
=.
8383 if test -f $ac_dir/$ac_word; then
8384 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8385 gcc_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8391 test -z "$gcc_cv_path_GMSGFMT" && gcc_cv_path_GMSGFMT
="msgfmt"
8395 GMSGFMT
="$gcc_cv_path_GMSGFMT"
8396 if test -n "$GMSGFMT"; then
8397 echo "$ac_t""$GMSGFMT" 1>&6
8399 echo "$ac_t""no" 1>&6
8402 if test "$GMSGFMT" = "msgfmt"; then
8403 create_catalogs
="no"
8406 # Extract the first word of "xgettext", so it can be a program name with args.
8407 set dummy xgettext
; ac_word
=$2
8408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8409 echo "configure:8406: checking for $ac_word" >&5
8410 if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8415 gcc_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8419 for ac_dir
in $PATH; do
8420 test -z "$ac_dir" && ac_dir
=.
8421 if test -f $ac_dir/$ac_word; then
8422 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8423 gcc_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8429 test -z "$gcc_cv_path_XGETTEXT" && gcc_cv_path_XGETTEXT
=":"
8433 XGETTEXT
="$gcc_cv_path_XGETTEXT"
8434 if test -n "$XGETTEXT"; then
8435 echo "$ac_t""$XGETTEXT" 1>&6
8437 echo "$ac_t""no" 1>&6
8440 USE_INCLUDED_LIBINTL
=yes
8444 INTLDEPS
='$(top_builddir)/intl/libintl.a'
8446 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8447 nls_cv_header_intl
=intl
/libintl.h
8448 nls_cv_header_libgt
=intl
/libgettext.h
8451 echo "$ac_t""no" 1>&6
8457 if test "$CATOBJEXT" = "NONE"; then
8458 nls_cv_use_gnu_gettext
=yes
8462 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8463 INTLOBJS
="\$(GETTOBJS)"
8464 # Extract the first word of "msgfmt", so it can be a program name with args.
8465 set dummy msgfmt
; ac_word
=$2
8466 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8467 echo "configure:8464: checking for $ac_word" >&5
8468 if eval "test \"`echo '$''{'gcc_cv_path_MSGFMT'+set}'`\" = set"; then
8469 echo $ac_n "(cached) $ac_c" 1>&6
8473 gcc_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8476 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8477 for ac_dir
in $PATH; do
8478 test -z "$ac_dir" && ac_dir
=.
8479 if test -f $ac_dir/$ac_word; then
8480 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8481 gcc_cv_path_MSGFMT
="$ac_dir/$ac_word"
8487 test -z "$gcc_cv_path_MSGFMT" && gcc_cv_path_MSGFMT
="msgfmt"
8491 MSGFMT
="$gcc_cv_path_MSGFMT"
8492 if test -n "$MSGFMT"; then
8493 echo "$ac_t""$MSGFMT" 1>&6
8495 echo "$ac_t""no" 1>&6
8498 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8499 set dummy gmsgfmt
; ac_word
=$2
8500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8501 echo "configure:8498: checking for $ac_word" >&5
8502 if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
8503 echo $ac_n "(cached) $ac_c" 1>&6
8507 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8510 gcc_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a dos path.
8513 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8515 for ac_dir
in $ac_dummy; do
8516 test -z "$ac_dir" && ac_dir
=.
8517 if test -f $ac_dir/$ac_word; then
8518 gcc_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8523 test -z "$gcc_cv_path_GMSGFMT" && gcc_cv_path_GMSGFMT
="$MSGFMT"
8527 GMSGFMT
="$gcc_cv_path_GMSGFMT"
8528 if test -n "$GMSGFMT"; then
8529 echo "$ac_t""$GMSGFMT" 1>&6
8531 echo "$ac_t""no" 1>&6
8534 if test "$MSGFMT" = "msgfmt" && test "$GMSGFMT" = "msgfmt"; then
8535 create_catalogs
="no"
8537 # Extract the first word of "xgettext", so it can be a program name with args.
8538 set dummy xgettext
; ac_word
=$2
8539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8540 echo "configure:8537: checking for $ac_word" >&5
8541 if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
8542 echo $ac_n "(cached) $ac_c" 1>&6
8546 gcc_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8549 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8550 for ac_dir
in $PATH; do
8551 test -z "$ac_dir" && ac_dir
=.
8552 if test -f $ac_dir/$ac_word; then
8553 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8554 gcc_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8560 test -z "$gcc_cv_path_XGETTEXT" && gcc_cv_path_XGETTEXT
=":"
8564 XGETTEXT
="$gcc_cv_path_XGETTEXT"
8565 if test -n "$XGETTEXT"; then
8566 echo "$ac_t""$XGETTEXT" 1>&6
8568 echo "$ac_t""no" 1>&6
8572 USE_INCLUDED_LIBINTL
=yes
8576 INTLDEPS
='$(top_builddir)/intl/libintl.a'
8578 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8579 nls_cv_header_intl
=intl
/libintl.h
8580 nls_cv_header_libgt
=intl
/libgettext.h
8583 if test "$XGETTEXT" != ":"; then
8584 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8587 echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
8594 # We need to process the po/ directory.
8598 nls_cv_header_intl
=intl
/libintl.h
8599 nls_cv_header_libgt
=intl
/libgettext.h
8605 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8606 # because some of the sources are only built for this goal.
8607 if test "$PACKAGE" = gettext; then
8609 USE_INCLUDED_LIBINTL
=yes
8612 for lang
in $ALL_LINGUAS; do
8613 GMOFILES
="$GMOFILES $lang.gmo"
8614 POFILES
="$POFILES $lang.po"
8630 if test "x$create_catalogs" = "xno"; then
8631 echo "configure: warning: No program for building catalogs found -> building disabled" 1>&2
8634 if test "x$CATOBJEXT" != "x" && test "x$create_catalogs" != "xno" ; then
8635 if test "x$ALL_LINGUAS" = "x"; then
8638 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
8639 echo "configure:8636: checking for catalogs to be installed" >&5
8640 if test "x$LINGUAS" = "x"; then
8641 LINGUAS
=$ALL_LINGUAS
8644 for lang
in $ALL_LINGUAS; do
8645 case " $LINGUAS " in
8646 *" $lang "*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8649 LINGUAS
=$NEW_LINGUAS
8651 echo "$ac_t""$LINGUAS" 1>&6
8654 if test -n "$LINGUAS"; then
8655 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8659 if test $ac_cv_header_locale_h = yes; then
8660 INCLUDE_LOCALE_H
="#include <locale.h>"
8663 /* The system does not provide the header <locale.h>. Take care yourself. */"
8667 test -d intl || mkdir intl
8668 if test "$CATOBJEXT" = ".cat"; then
8669 ac_safe
=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
8670 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
8671 echo "configure:8668: checking for linux/version.h" >&5
8672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8673 echo $ac_n "(cached) $ac_c" 1>&6
8675 cat > conftest.
$ac_ext <<EOF
8676 #line 8673 "configure"
8677 #include "confdefs.h"
8678 #include <linux/version.h>
8680 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8681 { (eval echo configure
:8678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8682 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8683 if test -z "$ac_err"; then
8685 eval "ac_cv_header_$ac_safe=yes"
8688 echo "configure: failed program was:" >&5
8689 cat conftest.
$ac_ext >&5
8691 eval "ac_cv_header_$ac_safe=no"
8695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8696 echo "$ac_t""yes" 1>&6
8699 echo "$ac_t""no" 1>&6
8704 sed -e '/^#/d' $srcdir/intl
/$msgformat-msg.
sed > intl
/po2msg.
sed
8706 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8707 $srcdir/intl
/po2tbl.
sed.
in > intl
/po2tbl.
sed
8709 if test "$PACKAGE" = "gettext"; then
8720 if test -n "$ac_aux_dir"; then
8721 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
8723 if test -z "$MKINSTALLDIRS"; then
8724 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
8731 test -d po || mkdir po
8732 if test "x$srcdir" != "x."; then
8733 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8734 posrcprefix
="$srcdir/"
8736 posrcprefix
="../$srcdir/"
8742 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8743 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8745 XGETTEXT
="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
8747 # Windows32 Registry support for specifying GCC installation paths.
8748 # Check whether --enable-win32-registry or --disable-win32-registry was given.
8749 if test "${enable_win32_registry+set}" = set; then
8750 enableval
="$enable_win32_registry"
8755 echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
8756 echo "configure:8753: checking whether windows registry support is requested" >&5
8757 if test x
$enable_win32_registry != xno
; then
8758 cat >> confdefs.h
<<\EOF
8759 #define ENABLE_WIN32_REGISTRY 1
8762 echo "$ac_t""yes" 1>&6
8764 echo "$ac_t""no" 1>&6
8767 # Check if user specified a different registry key.
8768 case x
${enable_win32_registry} in
8771 gcc_cv_win32_registry_key
="$VERSION"
8774 # no registry lookup.
8775 gcc_cv_win32_registry_key
=''
8778 # user-specified key.
8779 gcc_cv_win32_registry_key
="$enable_win32_registry"
8783 if test x
$enable_win32_registry != xno
; then
8784 echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
8785 echo "configure:8782: checking registry key on windows hosts" >&5
8786 cat >> confdefs.h
<<EOF
8787 #define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
8790 echo "$ac_t""$gcc_cv_win32_registry_key" 1>&6
8793 # Get an absolute path to the GCC top-level source directory
8799 # Conditionalize the makefile for this host machine.
8800 # Make-host contains the concatenation of all host makefile fragments
8801 # [there can be more than one]. This file is built by configure.frag.
8802 host_overrides
=Make-host
8803 dep_host_xmake_file
=
8804 for f
in ..
${host_xmake_file}
8806 if test -f ${srcdir}/config
/$f
8808 dep_host_xmake_file
="${dep_host_xmake_file} ${srcdir}/config/$f"
8812 # Conditionalize the makefile for this target machine.
8813 # Make-target contains the concatenation of all host makefile fragments
8814 # [there can be more than one]. This file is built by configure.frag.
8815 target_overrides
=Make-target
8817 for f
in ..
${tmake_file}
8819 if test -f ${srcdir}/config
/$f
8821 dep_tmake_file
="${dep_tmake_file} ${srcdir}/config/$f"
8825 # If the host doesn't support symlinks, modify CC in
8826 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
8827 # Otherwise, we can use "CC=$(CC)".
8829 if $symbolic_link $srcdir/gcc.c symtest.tem
2>/dev
/null
8831 cc_set_by_configure
="\$(CC)"
8832 quoted_cc_set_by_configure
="\$(CC)"
8833 stage_prefix_set_by_configure
="\$(STAGE_PREFIX)"
8836 if cp -p $srcdir/gcc.c symtest.tem
2>/dev
/null
8838 symbolic_link
="cp -p"
8842 cc_set_by_configure
="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
8843 quoted_cc_set_by_configure
="\\\`case '\\\$(CC)' in stage*) echo '\\\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\\\$(CC)';; esac\\\`"
8844 stage_prefix_set_by_configure
="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
8848 out_object_file
=`basename $out_file .c`.o
8851 for f
in $tm_file; do
8854 tm_file_list
="${tm_file_list} $f" ;;
8855 *) tm_file_list
="${tm_file_list} \$(srcdir)/config/$f" ;;
8860 for f
in $host_xm_file; do
8862 auto-host.h | gansidecl.h | hwint.h
)
8863 host_xm_file_list
="${host_xm_file_list} $f" ;;
8864 *) host_xm_file_list
="${host_xm_file_list} \$(srcdir)/config/$f" ;;
8869 for f
in $build_xm_file; do
8871 auto-build.h | auto-host.h | gansidecl.h | hwint.h
)
8872 build_xm_file_list
="${build_xm_file_list} $f" ;;
8873 *) build_xm_file_list
="${build_xm_file_list} \$(srcdir)/config/$f" ;;
8877 # Define macro CROSS_COMPILE in compilation
8878 # if this is a cross-compiler.
8879 # Also use all.cross instead of all.internal
8880 # and add cross-make to Makefile.
8881 cross_overrides
="/dev/null"
8882 if test x
$host != x
$target
8884 cross_defines
="CROSS=-DCROSS_COMPILE"
8885 cross_overrides
="${topdir}/cross-make"
8888 # If this is a cross-compiler that does not
8889 # have its own set of headers then define
8892 # If this is using newlib, then define inhibit_libc in
8893 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
8894 # libgcc.a, but that's OK because newlib should have its own version of
8897 if test x
$host != x
$target && test x
$with_headers = x
; then
8898 inhibit_libc
=-Dinhibit_libc
8900 if test x
$with_newlib = xyes
; then
8901 inhibit_libc
=-Dinhibit_libc
8906 # When building gcc with a cross-compiler, we need to fix a few things.
8907 # This must come after cross-make as we want all.build to override
8909 build_overrides
="/dev/null"
8910 if test x
$build != x
$host
8912 build_overrides
="${topdir}/build-make"
8915 # Expand extra_headers to include complete path.
8916 # This substitutes for lots of t-* files.
8918 if test "x$extra_headers" = x
8921 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
8922 for file in $extra_headers;
8924 extra_headers_list
="${extra_headers_list} \$(srcdir)/ginclude/${file}"
8928 if test x
$use_collect2 = xno
; then
8932 # Add a definition of USE_COLLECT2 if system wants one.
8933 # Also tell toplev.c what to do.
8934 # This substitutes for lots of t-* files.
8935 if test x
$use_collect2 = x
8940 will_use_collect2
="collect2"
8941 maybe_use_collect2
="-DUSE_COLLECT2"
8945 # Set MD_DEPS if the real md file is in md.pre-cpp.
8946 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
8947 # for line oriented comments, so we must always use a GNU cpp. If
8948 # building gcc with a cross compiler, use the cross compiler just
8949 # built. Otherwise, we can use the cpp just built.
8951 if test "x$md_cppflags" = x
8953 md_file_sub
=$srcdir/config
/$md_file
8958 # If we have gas in the build tree, make a link to it.
8959 if test -f ..
/gas
/Makefile
; then
8960 rm -f as
; $symbolic_link ..
/gas
/as-new
$host_exeext as
$host_exeext 2>/dev
/null
8963 # If we have nm in the build tree, make a link to it.
8964 if test -f ..
/binutils
/Makefile
; then
8965 rm -f nm
; $symbolic_link ..
/binutils
/nm-new
$host_exeext nm
$host_exeext 2>/dev
/null
8968 # If we have ld in the build tree, make a link to it.
8969 if test -f ..
/ld
/Makefile
; then
8970 # if test x$use_collect2 = x; then
8971 # rm -f ld; $symbolic_link ../ld/ld-new$host_exeext ld$host_exeext 2>/dev/null
8973 rm -f collect-ld
; $symbolic_link ..
/ld
/ld-new
$host_exeext collect-ld
$host_exeext 2>/dev
/null
8977 # Figure out what assembler we will be using.
8978 echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
8979 echo "configure:8976: checking what assembler to use" >&5
8981 gcc_cv_gas_major_version
=
8982 gcc_cv_gas_minor_version
=
8983 gcc_cv_as_gas_srcdir
=`echo $srcdir | sed -e 's,/gcc$,,'`/gas
8984 if test -x "$DEFAULT_ASSEMBLER"; then
8985 gcc_cv_as
="$DEFAULT_ASSEMBLER"
8986 elif test -x "$AS"; then
8988 elif test -x as
$host_exeext; then
8989 # Build using assembler in the current directory.
8990 gcc_cv_as
=.
/as
$host_exeext
8991 elif test -f $gcc_cv_as_gas_srcdir/configure.
in -a -f ..
/gas
/Makefile
; then
8992 # Single tree build which includes gas.
8993 for f
in $gcc_cv_as_gas_srcdir/configure
$gcc_cv_as_gas_srcdir/configure.
in $gcc_cv_as_gas_srcdir/Makefile.
in
8995 gcc_cv_gas_version
=`grep '^VERSION=[0-9]*\.[0-9]*' $f`
8996 if test x
$gcc_cv_gas_version != x
; then
9000 gcc_cv_gas_major_version
=`expr "$gcc_cv_gas_version" : "VERSION=\([0-9]*\)"`
9001 gcc_cv_gas_minor_version
=`expr "$gcc_cv_gas_version" : "VERSION=[0-9]*\.\([0-9]*\)"`
9004 if test "x$gcc_cv_as" = x
-a x
$host = x
$target; then
9006 # Search the same directories that the installed compiler will
9007 # search. Else we may find the wrong assembler and lose. If we
9008 # do not find a suitable assembler binary, then try the user's
9011 # Also note we have to check MD_EXEC_PREFIX before checking the
9012 # user's path. Unfortunately, there is no good way to get at the
9013 # value of MD_EXEC_PREFIX here. So we do a brute force search
9014 # through all the known MD_EXEC_PREFIX values. Ugh. This needs
9015 # to be fixed as part of the make/configure rewrite too.
9017 if test "x$exec_prefix" = xNONE
; then
9018 if test "x$prefix" = xNONE
; then
9019 test_prefix
=/usr
/local
9024 test_prefix
=$exec_prefix
9027 # If the loop below does not find an assembler, then use whatever
9028 # one we can find in the users's path.
9032 test_dirs
="$test_prefix/lib/gcc-lib/$target/$gcc_version \
9033 $test_prefix/lib/gcc-lib/$target \
9034 /usr/lib/gcc/$target/$gcc_version \
9035 /usr/lib/gcc/$target \
9036 $test_prefix/$target/bin/$target/$gcc_version \
9037 $test_prefix/$target/bin \
9042 /bsd43/usr/lib/cmplrs/cc \
9043 /usr/cross64/usr/bin \
9044 /usr/lib/cmplrs/cc \
9045 /sysv/usr/lib/cmplrs/cc \
9046 /svr4/usr/lib/cmplrs/cc \
9049 for dir
in $test_dirs; do
9050 if test -f $dir/as
$host_exeext; then
9051 gcc_cv_as
=$dir/as
$host_exeext
9056 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9057 echo "$ac_t"""newly built gas
"" 1>&6
9059 echo "$ac_t""$gcc_cv_as" 1>&6
9062 # Figure out what nm we will be using.
9063 echo $ac_n "checking what nm to use""... $ac_c" 1>&6
9064 echo "configure:9061: checking what nm to use" >&5
9065 if test -x nm
$host_exeext; then
9066 gcc_cv_nm
=.
/nm
$host_exeext
9067 elif test x
$host = x
$target; then
9069 gcc_cv_nm
=nm
$host_exeext
9071 echo "$ac_t""$gcc_cv_nm" 1>&6
9073 # Figure out what assembler alignment features are present.
9074 echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
9075 echo "configure:9072: checking assembler alignment features" >&5
9076 gcc_cv_as_alignment_features
=
9077 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9078 # Gas version 2.6 and later support for .balign and .p2align.
9079 # bytes to skip when using .p2align.
9080 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 6 -o "$gcc_cv_gas_major_version" -gt 2; then
9081 gcc_cv_as_alignment_features
=".balign and .p2align"
9082 cat >> confdefs.h
<<\EOF
9083 #define HAVE_GAS_BALIGN_AND_P2ALIGN 1
9087 # Gas version 2.8 and later support specifying the maximum
9088 # bytes to skip when using .p2align.
9089 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 8 -o "$gcc_cv_gas_major_version" -gt 2; then
9090 gcc_cv_as_alignment_features
=".p2align including maximum skip"
9091 cat >> confdefs.h
<<\EOF
9092 #define HAVE_GAS_MAX_SKIP_P2ALIGN 1
9096 elif test x
$gcc_cv_as != x
; then
9097 # Check if we have .balign and .p2align
9098 echo ".balign 4" > conftest.s
9099 echo ".p2align 2" >> conftest.s
9100 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9101 gcc_cv_as_alignment_features
=".balign and .p2align"
9102 cat >> confdefs.h
<<\EOF
9103 #define HAVE_GAS_BALIGN_AND_P2ALIGN 1
9107 rm -f conftest.s conftest.o
9108 # Check if specifying the maximum bytes to skip when
9109 # using .p2align is supported.
9110 echo ".p2align 4,,7" > conftest.s
9111 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9112 gcc_cv_as_alignment_features
=".p2align including maximum skip"
9113 cat >> confdefs.h
<<\EOF
9114 #define HAVE_GAS_MAX_SKIP_P2ALIGN 1
9118 rm -f conftest.s conftest.o
9120 echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
9122 echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
9123 echo "configure:9120: checking assembler subsection support" >&5
9124 gcc_cv_as_subsections
=
9125 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9126 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ..
/gas
/Makefile
> /dev
/null
; then
9127 gcc_cv_as_subsections
="working .subsection -1"
9129 elif test x
$gcc_cv_as != x
; then
9130 # Check if we have .subsection
9131 echo ".subsection 1" > conftest.s
9132 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9133 gcc_cv_as_subsections
=".subsection"
9134 if test x
$gcc_cv_nm != x
; then
9135 cat > conftest.s
<<EOF
9136 conftest_label1: .word 0
9138 conftest_label2: .word 0
9141 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9142 $gcc_cv_nm conftest.o |
grep conftest_label1
> conftest.nm1
9143 $gcc_cv_nm conftest.o |
grep conftest_label2 |
sed -e 's/label2/label1/' > conftest.nm2
9144 if cmp conftest.nm1 conftest.nm2
> /dev
/null
2>&1; then
9147 gcc_cv_as_subsections
="working .subsection -1"
9152 rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
9154 if test x
"$gcc_cv_as_subsections" = x
"working .subsection -1"; then
9155 cat >> confdefs.h
<<\EOF
9156 #define HAVE_GAS_SUBSECTION_ORDERING 1
9160 echo "$ac_t""$gcc_cv_as_subsections" 1>&6
9162 echo $ac_n "checking assembler weak support""... $ac_c" 1>&6
9163 echo "configure:9160: checking assembler weak support" >&5
9165 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9166 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 2 -o "$gcc_cv_gas_major_version" -gt 2; then
9167 gcc_cv_as_weak
="yes"
9169 elif test x
$gcc_cv_as != x
; then
9170 # Check if we have .weak
9171 echo " .weak foobar" > conftest.s
9172 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9173 gcc_cv_as_weak
="yes"
9175 rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
9177 if test x
"$gcc_cv_as_weak" = xyes
; then
9178 cat >> confdefs.h
<<\EOF
9179 #define HAVE_GAS_WEAK 1
9183 echo "$ac_t""$gcc_cv_as_weak" 1>&6
9185 echo $ac_n "checking assembler hidden support""... $ac_c" 1>&6
9186 echo "configure:9183: checking assembler hidden support" >&5
9188 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9189 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ..
/gas
/Makefile
> /dev
/null
; then
9190 gcc_cv_as_hidden
="yes"
9192 elif test x
$gcc_cv_as != x
; then
9193 # Check if we have .hidden
9194 echo " .hidden foobar" > conftest.s
9195 echo "foobar:" >> conftest.s
9196 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9197 gcc_cv_as_hidden
="yes"
9199 rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
9201 if test x
"$gcc_cv_as_hidden" = xyes
; then
9202 cat >> confdefs.h
<<\EOF
9203 #define HAVE_GAS_HIDDEN 1
9207 echo "$ac_t""$gcc_cv_as_hidden" 1>&6
9211 echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
9212 echo "configure:9209: checking assembler .register pseudo-op support" >&5
9213 if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then
9214 echo $ac_n "(cached) $ac_c" 1>&6
9217 gcc_cv_as_register_pseudo_op
=unknown
9218 if test x
$gcc_cv_as != x
; then
9219 # Check if we have .register
9220 echo ".register %g2, #scratch" > conftest.s
9221 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9222 gcc_cv_as_register_pseudo_op
=yes
9224 gcc_cv_as_register_pseudo_op
=no
9226 rm -f conftest.s conftest.o
9231 echo "$ac_t""$gcc_cv_as_register_pseudo_op" 1>&6
9232 if test "x$gcc_cv_as_register_pseudo_op" = xyes
; then
9233 cat >> confdefs.h
<<\EOF
9234 #define HAVE_AS_REGISTER_PSEUDO_OP 1
9239 echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
9240 echo "configure:9237: checking assembler supports -relax" >&5
9241 if eval "test \"`echo '$''{'gcc_cv_as_relax_opt'+set}'`\" = set"; then
9242 echo $ac_n "(cached) $ac_c" 1>&6
9245 gcc_cv_as_relax_opt
=unknown
9246 if test x
$gcc_cv_as != x
; then
9247 # Check if gas supports -relax
9248 echo ".text" > conftest.s
9249 if $gcc_cv_as -relax -o conftest.o conftest.s
> /dev
/null
2>&1; then
9250 gcc_cv_as_relax_opt
=yes
9252 gcc_cv_as_relax_opt
=no
9254 rm -f conftest.s conftest.o
9259 echo "$ac_t""$gcc_cv_as_relax_opt" 1>&6
9260 if test "x$gcc_cv_as_relax_opt" = xyes
; then
9261 cat >> confdefs.h
<<\EOF
9262 #define HAVE_AS_RELAX_OPTION 1
9269 echo $ac_n "checking for 64 bit support in assembler ($gcc_cv_as)""... $ac_c" 1>&6
9270 echo "configure:9267: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
9271 if eval "test \"`echo '$''{'gcc_cv_as_flags64'+set}'`\" = set"; then
9272 echo $ac_n "(cached) $ac_c" 1>&6
9275 if test -n "$gcc_cv_as"; then
9276 echo ".xword foo" > conftest.s
9277 gcc_cv_as_flags64
=no
9278 for flag
in "-xarch=v9" "-64 -Av9"; do
9279 if $gcc_cv_as $flag -o conftest.o conftest.s \
9280 > /dev
/null
2>&1; then
9281 gcc_cv_as_flags64
=$flag
9285 rm -f conftest.s conftest.o
9287 if test "$gas" = yes; then
9288 gcc_cv_as_flags64
="-64 -Av9"
9290 gcc_cv_as_flags64
="-xarch=v9"
9296 echo "$ac_t""$gcc_cv_as_flags64" 1>&6
9297 if test "x$gcc_cv_as_flags64" = xno
; then
9299 tmake_file
=`echo " $tmake_file " | sed -e 's, sparc/t-sol2-64 , ,' -e 's,^ ,,' -e 's, $,,'`
9300 dep_tmake_file
=`echo " $dep_tmake_file " | sed -e 's, [^ ]*/config/sparc/t-sol2-64 , ,' -e 's,^ ,,' -e 's, $,,'`
9303 cat >> confdefs.h
<<EOF
9304 #define AS_SPARC64_FLAG "$gcc_cv_as_flags64"
9309 *) gcc_cv_as_flags64
=${gcc_cv_as_flags64-no}
9313 if test "x$gcc_cv_as_flags64" != xno
; then
9314 echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
9315 echo "configure:9312: checking for assembler offsetable %lo() support" >&5
9316 if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
9317 echo $ac_n "(cached) $ac_c" 1>&6
9320 gcc_cv_as_offsetable_lo10
=unknown
9321 if test "x$gcc_cv_as" != x
; then
9322 # Check if assembler has offsetable %lo()
9323 echo "or %g1, %lo(ab) + 12, %g1" > conftest.s
9324 echo "or %g1, %lo(ab + 12), %g1" > conftest1.s
9325 if $gcc_cv_as $gcc_cv_as_flags64 -o conftest.o conftest.s \
9327 $gcc_cv_as $gcc_cv_as_flags64 -o conftest1.o conftest1.s \
9328 > /dev
/null
2>&1; then
9329 if cmp conftest.o conftest1.o
> /dev
/null
2>&1; then
9330 gcc_cv_as_offsetable_lo10
=no
9332 gcc_cv_as_offsetable_lo10
=yes
9335 gcc_cv_as_offsetable_lo10
=no
9337 rm -f conftest.s conftest.o conftest1.s conftest1.o
9342 echo "$ac_t""$gcc_cv_as_offsetable_lo10" 1>&6
9343 if test "x$gcc_cv_as_offsetable_lo10" = xyes
; then
9344 cat >> confdefs.h
<<\EOF
9345 #define HAVE_AS_OFFSETABLE_LO10 1
9353 echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
9354 echo "configure:9351: checking assembler instructions" >&5
9355 gcc_cv_as_instructions
=
9356 if test x
$gcc_cv_gas_major_version != x
-a x
$gcc_cv_gas_minor_version != x
; then
9357 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2; then
9358 gcc_cv_as_instructions
="filds fists"
9360 elif test x
$gcc_cv_as != x
; then
9361 set "filds fists" "filds mem; fists mem"
9364 echo "$2" > conftest.s
9365 if $gcc_cv_as -o conftest.o conftest.s
> /dev
/null
2>&1; then
9366 gcc_cv_as_instructions
=${gcc_cv_as_instructions}$1" "
9370 rm -f conftest.s conftest.o
9372 if test x
"$gcc_cv_as_instructions" != x
; then
9373 cat >> confdefs.h
<<EOF
9374 #define HAVE_GAS_`echo "$gcc_cv_as_instructions" | tr 'a-z ' 'A-Z_'` 1
9378 echo "$ac_t""$gcc_cv_as_instructions" 1>&6
9382 # Figure out what language subdirectories are present.
9383 # Look if the user specified --enable-languages="..."; if not, use
9384 # the environment variable $LANGUAGES if defined. $LANGUAGES might
9386 if test x
"${enable_languages+set}" != xset
; then
9387 if test x
"${LANGUAGES+set}" = xset
; then
9388 enable_languages
="`echo ${LANGUAGES} | tr ' ' ','`"
9390 enable_languages
=all
9393 if test x
"${enable_languages}" = x
; then
9394 { echo "configure: error: --enable-languages needs at least one argument" 1>&2; exit 1; }
9398 for lang
in ${srcdir}/*/config-lang.
in ..
9402 # The odd quoting in the next line works around
9403 # an apparent bug in bash 1.12 on linux.
9404 ${srcdir}/[*]/config-lang.
in) ;;
9406 lang_alias
=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
9407 if test "x$lang_alias" = x
9409 echo "$lang doesn't set \$language." 1>&2
9412 if test x
"${enable_languages}" = xall
&& test x
"${lang_alias}" != xCHILL
; then
9415 case "${enable_languages}" in
9416 ${lang_alias} | "${lang_alias},"* | *",${lang_alias},"* | *",${lang_alias}" )
9424 if test x"${add_this_lang}" = xyes; then
9426 ${srcdir}/ada/config-lang.in)
9427 if test x$gnat = xyes ; then
9428 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
9432 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
9440 # Make gthr-default.h if we have a thread file.
9442 if test $thread_file != single; then
9443 rm -f gthr-default.h
9444 echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
9445 gthread_flags
=-DHAVE_GTHR_DEFAULT
9449 # Find out what GC implementation we want, or may, use.
9450 # Check whether --with-gc or --without-gc was given.
9451 if test "${with_gc+set}" = set; then
9458 { echo "configure: error: $withval is an invalid option to --with-gc" 1>&2; exit 1; }
9462 if test $ac_cv_func_mmap_anywhere = yes \
9463 ||
test $ac_cv_func_valloc = yes; then
9471 echo "Using $GGC for garbage collection."
9473 # Use the system's zlib library.
9474 zlibdir
=-L..
/..
/zlib
9475 zlibinc
="-I\$(srcdir)/../../zlib"
9476 # Check whether --with-system-zlib or --without-system-zlib was given.
9477 if test "${with_system_zlib+set}" = set; then
9478 withval
="$with_system_zlib"
9487 # Build a new-abi (c++) system
9488 # Check whether --enable-new-gxx-abi or --disable-new-gxx-abi was given.
9489 if test "${enable_new_gxx_abi+set}" = set; then
9490 enableval
="$enable_new_gxx_abi"
9491 cat >> confdefs.h
<<\EOF
9492 #define ENABLE_NEW_GXX_ABI 1
9495 GXX_ABI_FLAG
='-fnew-abi'
9496 echo "Building a new-abi g++ compiler."
9502 # Build a new-libstdc++ system (ie libstdc++-v3)
9503 echo $ac_n "checking for libstdc++ to install""... $ac_c" 1>&6
9504 echo "configure:9501: checking for libstdc++ to install" >&5
9505 # Check whether --enable-libstdcxx-v3 or --disable-libstdcxx-v3 was given.
9506 if test "${enable_libstdcxx_v3+set}" = set; then
9507 enableval
="$enable_libstdcxx_v3"
9508 enable_libstdcxx_v3
="$enableval"
9510 enable_libstdcxx_v3
=no
9514 if test x
$enable_libstdcxx_v3 = xyes
; then
9515 echo "$ac_t""v3" 1>&6
9518 echo "$ac_t""v2" 1>&6
9521 cat >> confdefs.h
<<EOF
9522 #define ENABLE_STD_NAMESPACE $ac_esn
9527 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
9528 echo "configure:9525: checking whether to enable maintainer-specific portions of Makefiles" >&5
9529 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9530 if test "${enable_maintainer_mode+set}" = set; then
9531 enableval
="$enable_maintainer_mode"
9532 maintainer_mode
=$enableval
9538 echo "$ac_t""$maintainer_mode" 1>&6
9540 if test "$maintainer_mode" = "yes"; then
9546 # Make empty files to contain the specs and options for each language.
9547 # Then add #include lines to for a compiler that has specs and/or options.
9552 rm -f specs.h options.h gencheck.h
9553 touch specs.h options.h gencheck.h
9554 for subdir
in .
$subdirs
9556 if test -f $srcdir/$subdir/lang-specs.h
; then
9557 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
9558 lang_specs_files
="$lang_specs_files $srcdir/$subdir/lang-specs.h"
9560 if test -f $srcdir/$subdir/lang-options.h
; then
9561 echo "#include \"$subdir/lang-options.h\"" >>options.h
9562 lang_options_files
="$lang_options_files $srcdir/$subdir/lang-options.h"
9564 if test -f $srcdir/$subdir/$subdir-tree.def
; then
9565 echo "#include \"$subdir/$subdir-tree.def\"" >>gencheck.h
9566 lang_tree_files
="$lang_tree_files $srcdir/$subdir/$subdir-tree.def"
9570 # These (without "all_") are set in each config-lang.in.
9571 # `language' must be a single word so is spelled singularly.
9577 all_outputs
='Makefile intl/Makefile po/Makefile.in fixinc/Makefile gccbug mklibgcc'
9578 # List of language makefile fragments.
9583 # Add the language fragments.
9584 # Languages are added via two mechanisms. Some information must be
9585 # recorded in makefile variables, these are defined in config-lang.in.
9586 # We accumulate them and plug them into the main Makefile.
9587 # The other mechanism is a set of hooks for each of the main targets
9588 # like `clean', `install', etc.
9590 language_fragments
="Make-lang"
9591 language_hooks
="Make-hooks"
9594 for s
in ..
$subdirs
9606 .
${srcdir}/$s/config-lang.
in
9607 if test "x$language" = x
9609 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
9612 all_lang_makefiles
="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
9613 all_languages
="$all_languages $language"
9614 if test "x$boot_language" = xyes
9616 all_boot_languages
="$all_boot_languages $language"
9618 all_compilers
="$all_compilers $compilers"
9619 all_stagestuff
="$all_stagestuff $stagestuff"
9620 all_diff_excludes
="$all_diff_excludes $diff_excludes"
9621 all_headers
="$all_headers $headers"
9622 all_outputs
="$all_outputs $outputs"
9623 if test x
$outputs = x
9625 oldstyle_subdirs
="$oldstyle_subdirs $s"
9627 all_lib2funcs
="$all_lib2funcs $lib2funcs"
9631 # Since we can't use `::' targets, we link each language in
9632 # with a set of hooks, reached indirectly via lang.${target}.
9636 target_list
="all.build all.cross start.encap rest.encap \
9638 install-normal install-common install-info install-man \
9640 mostlyclean clean distclean extraclean maintainer-clean \
9641 stage1 stage2 stage3 stage4"
9642 for t
in $target_list
9645 for lang
in ..
$all_languages
9647 if test $lang != ".."; then
9651 echo "lang.$t: $x" >> Make-hooks
9654 # If we're not building in srcdir, create .gdbinit.
9656 if test ! -f Makefile.
in; then
9657 echo "dir ." > .gdbinit
9658 echo "dir ${srcdir}" >> .gdbinit
9659 if test x
$gdb_needs_out_file_path = xyes
9661 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
9663 if test "x$subdirs" != x
; then
9666 echo "dir ${srcdir}/$s" >> .gdbinit
9669 echo "source ${srcdir}/.gdbinit" >> .gdbinit
9672 # Define variables host_canonical and build_canonical
9673 # because some Cygnus local changes in the Makefile depend on them.
9674 build_canonical
=${build}
9675 host_canonical
=${host}
9677 if test "${host}" != "${target}" ; then
9678 target_subdir
=${target}/
9684 # If $(exec_prefix) exists and is not the same as $(prefix), then compute an
9685 # absolute path for gcc_tooldir based on inserting the number of up-directory
9686 # movements required to get from $(exec_prefix) to $(prefix) into the basic
9687 # $(libsubdir)/@(unlibsubdir) based path.
9688 # Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel
9689 # make and thus we'd get different behavior depending on where we built the
9691 if test x
$exec_prefix = xNONE
-o x
$exec_prefix = x
$prefix; then
9692 gcc_tooldir
='$(libsubdir)/$(unlibsubdir)/../$(target_alias)'
9694 # An explanation of the sed strings:
9695 # -e 's|^\$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'
9696 # -e 's|/$||' match a trailing forward slash and eliminates it
9697 # -e 's|^[^/]|/|' forces the string to start with a forward slash (*)
9698 # -e 's|/[^/]*|../|g' replaces each occurance of /<directory> with ../
9700 # (*) Note this pattern overwrites the first character of the string
9701 # with a forward slash if one is not already present. This is not a
9702 # problem because the exact names of the sub-directories concerned is
9703 # unimportant, just the number of them matters.
9705 # The practical upshot of these patterns is like this:
9707 # prefix exec_prefix result
9708 # ------ ----------- ------
9710 # /foo/ /foo/bar ../
9711 # /foo /foo/bar/ ../
9712 # /foo/ /foo/bar/ ../
9713 # /foo /foo/bar/ugg ../../
9716 gcc_tooldir
="\$(libsubdir)/\$(unlibsubdir)/\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/\$(dollar)||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'\`\$(target_alias)"
9721 # Nothing to do for FLOAT_H, float_format already handled.
9725 # Process the language and host/target makefile fragments.
9726 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag
$srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
9728 # Substitute configuration variables
9787 # Echo that links are built
9788 if test x
$host = x
$target
9796 if test x
$host != x
$build
9798 str3
=" on a $build system"
9801 if test "x$str2" != x ||
test "x$str3" != x
9806 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
9808 if test "x$str2" != x ||
test "x$str3" != x
9810 echo " ${str2}${str3}." 1>&2
9813 # Truncate the target if necessary
9814 if test x
$host_truncate_target != x
; then
9815 target
=`echo $target | sed -e 's/\(..............\).*/\1/'`
9818 # Configure the subdirectories
9819 # AC_CONFIG_SUBDIRS($subdirs)
9821 # Create the Makefile
9822 # and configure language subdirectories
9824 cat > confcache
<<\EOF
9825 # This file is a shell script that caches the results of configure
9826 # tests run on this system so they can be shared between configure
9827 # scripts and configure runs. It is not useful on other systems.
9828 # If it contains results you don't want to keep, you may remove or edit it.
9830 # By default, configure uses ./config.cache as the cache file,
9831 # creating it if it does not exist already. You can give configure
9832 # the --cache-file=FILE option to use a different cache file; that is
9833 # what configure does when it calls configure scripts in
9834 # subdirectories, so they share the cache.
9835 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9836 # config.status only pays attention to the cache file if you give it the
9837 # --recheck option to rerun configure.
9840 # The following way of writing the cache mishandles newlines in values,
9841 # but we know of no workaround that is simple, portable, and efficient.
9842 # So, don't put newlines in cache variables' values.
9843 # Ultrix sh set writes to stderr and can't be redirected directly,
9844 # and sets the high bit in the cache file unless we assign to the vars.
9846 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9848 # `set' does not quote correctly, so add quotes (double-quote substitution
9849 # turns \\\\ into \\, and sed turns \\ into \).
9851 -e "s/'/'\\\\''/g" \
9852 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9855 # `set' quotes correctly as required by POSIX, so do not add quotes.
9856 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9859 if cmp -s $cache_file confcache
; then
9862 if test -w $cache_file; then
9863 echo "updating cache $cache_file"
9864 cat confcache
> $cache_file
9866 echo "not updating unwritable cache $cache_file"
9871 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
9873 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9874 # Let make expand exec_prefix.
9875 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9877 # Any assignment to VPATH causes Sun make to only execute
9878 # the first set of double-colon rules, so remove it if not needed.
9879 # If there is a colon in the path, we need to keep it.
9880 if test "x$srcdir" = x.
; then
9881 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
9884 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
9886 DEFS
=-DHAVE_CONFIG_H
9888 # Without the "./", some shells look in PATH for config.status.
9889 : ${CONFIG_STATUS=./config.status}
9891 echo creating
$CONFIG_STATUS
9892 rm -f $CONFIG_STATUS
9893 cat > $CONFIG_STATUS <<EOF
9895 # Generated automatically by configure.
9896 # Run this file to recreate the current configuration.
9897 # This directory was configured as follows,
9898 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9900 # $0 $ac_configure_args
9902 # Compiler output produced by configure, useful for debugging
9903 # configure, is in ./config.log if it exists.
9905 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
9908 case "\$ac_option" in
9909 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9910 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
9911 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
9912 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
9913 echo "$CONFIG_STATUS generated by autoconf version 2.13"
9915 -help | --help | --hel | --he | --h)
9916 echo "\$ac_cs_usage"; exit 0 ;;
9917 *) echo "\$ac_cs_usage"; exit 1 ;;
9921 ac_given_srcdir=$srcdir
9923 trap 'rm -fr `echo "$all_outputs auto-host.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
9925 cat >> $CONFIG_STATUS <<EOF
9927 # Protect against being on the right side of a sed subst in config.status.
9928 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
9929 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
9933 s%@CFLAGS@%$CFLAGS%g
9934 s%@CPPFLAGS@%$CPPFLAGS%g
9935 s%@CXXFLAGS@%$CXXFLAGS%g
9936 s%@FFLAGS@%$FFLAGS%g
9938 s%@LDFLAGS@%$LDFLAGS%g
9940 s%@exec_prefix@%$exec_prefix%g
9941 s%@prefix@%$prefix%g
9942 s%@program_transform_name@%$program_transform_name%g
9943 s%@bindir@%$bindir%g
9944 s%@sbindir@%$sbindir%g
9945 s%@libexecdir@%$libexecdir%g
9946 s%@datadir@%$datadir%g
9947 s%@sysconfdir@%$sysconfdir%g
9948 s%@sharedstatedir@%$sharedstatedir%g
9949 s%@localstatedir@%$localstatedir%g
9950 s%@libdir@%$libdir%g
9951 s%@includedir@%$includedir%g
9952 s%@oldincludedir@%$oldincludedir%g
9953 s%@infodir@%$infodir%g
9954 s%@mandir@%$mandir%g
9955 s%@enable_shared@%$enable_shared%g
9957 s%@host_alias@%$host_alias%g
9958 s%@host_cpu@%$host_cpu%g
9959 s%@host_vendor@%$host_vendor%g
9960 s%@host_os@%$host_os%g
9961 s%@target@%$target%g
9962 s%@target_alias@%$target_alias%g
9963 s%@target_cpu@%$target_cpu%g
9964 s%@target_vendor@%$target_vendor%g
9965 s%@target_os@%$target_os%g
9967 s%@build_alias@%$build_alias%g
9968 s%@build_cpu@%$build_cpu%g
9969 s%@build_vendor@%$build_vendor%g
9970 s%@build_os@%$build_os%g
9972 s%@NO_MINUS_C_MINUS_O@%$NO_MINUS_C_MINUS_O%g
9973 s%@stage1_warn_cflags@%$stage1_warn_cflags%g
9974 s%@stage2_warn_cflags@%$stage2_warn_cflags%g
9975 s%@SET_MAKE@%$SET_MAKE%g
9978 s%@LEXLIB@%$LEXLIB%g
9981 s%@RANLIB@%$RANLIB%g
9983 s%@INSTALL@%$INSTALL%g
9984 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
9985 s%@INSTALL_DATA@%$INSTALL_DATA%g
9988 s%@MAKEINFO@%$MAKEINFO%g
9989 s%@BUILD_INFO@%$BUILD_INFO%g
9990 s%@INSTALL_INFO@%$INSTALL_INFO%g
9991 s%@TARGET_GETGROUPS_T@%$TARGET_GETGROUPS_T%g
9992 s%@vfprintf@%$vfprintf%g
9993 s%@doprint@%$doprint%g
9994 s%@manext@%$manext%g
9995 s%@objext@%$objext%g
9996 s%@PACKAGE@%$PACKAGE%g
9997 s%@VERSION@%$VERSION%g
9998 s%@ALLOCA@%$ALLOCA%g
9999 s%@USE_NLS@%$USE_NLS%g
10000 s%@MSGFMT@%$MSGFMT%g
10001 s%@GMSGFMT@%$GMSGFMT%g
10002 s%@XGETTEXT@%$XGETTEXT%g
10003 s%@GENCAT@%$GENCAT%g
10004 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
10005 s%@CATALOGS@%$CATALOGS%g
10006 s%@CATOBJEXT@%$CATOBJEXT%g
10007 s%@DATADIRNAME@%$DATADIRNAME%g
10008 s%@GMOFILES@%$GMOFILES%g
10009 s%@INSTOBJEXT@%$INSTOBJEXT%g
10010 s%@INTLDEPS@%$INTLDEPS%g
10011 s%@INTLLIBS@%$INTLLIBS%g
10012 s%@INTLOBJS@%$INTLOBJS%g
10013 s%@POFILES@%$POFILES%g
10015 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
10017 s%@GT_YES@%$GT_YES%g
10018 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
10020 s%@inhibit_libc@%$inhibit_libc%g
10021 s%@gthread_flags@%$gthread_flags%g
10023 s%@zlibdir@%$zlibdir%g
10024 s%@zlibinc@%$zlibinc%g
10025 s%@GXX_ABI_FLAG@%$GXX_ABI_FLAG%g
10027 s%@build_canonical@%$build_canonical%g
10028 s%@host_canonical@%$host_canonical%g
10029 s%@target_subdir@%$target_subdir%g
10030 s%@gcc_tooldir@%$gcc_tooldir%g
10031 s%@dollar@%$dollar%g
10032 s%@objdir@%$objdir%g
10033 s%@subdirs@%$subdirs%g
10034 s%@all_boot_languages@%$all_boot_languages%g
10035 s%@all_compilers@%$all_compilers%g
10036 s%@all_diff_excludes@%$all_diff_excludes%g
10037 s%@all_headers@%$all_headers%g
10038 s%@all_lang_makefiles@%$all_lang_makefiles%g
10039 s%@all_languages@%$all_languages%g
10040 s%@all_lib2funcs@%$all_lib2funcs%g
10041 s%@all_stagestuff@%$all_stagestuff%g
10042 s%@build_exeext@%$build_exeext%g
10043 s%@build_install_headers_dir@%$build_install_headers_dir%g
10044 s%@build_xm_file_list@%$build_xm_file_list%g
10045 s%@cc_set_by_configure@%$cc_set_by_configure%g
10046 s%@quoted_cc_set_by_configure@%$quoted_cc_set_by_configure%g
10047 s%@cpp_install_dir@%$cpp_install_dir%g
10048 s%@dep_host_xmake_file@%$dep_host_xmake_file%g
10049 s%@dep_tmake_file@%$dep_tmake_file%g
10050 s%@extra_c_flags@%$extra_c_flags%g
10051 s%@extra_c_objs@%$extra_c_objs%g
10052 s%@extra_cpp_objs@%$extra_cpp_objs%g
10053 s%@extra_cxx_objs@%$extra_cxx_objs%g
10054 s%@extra_headers_list@%$extra_headers_list%g
10055 s%@extra_objs@%$extra_objs%g
10056 s%@extra_parts@%$extra_parts%g
10057 s%@extra_passes@%$extra_passes%g
10058 s%@extra_programs@%$extra_programs%g
10059 s%@float_h_file@%$float_h_file%g
10060 s%@gcc_gxx_include_dir@%$gcc_gxx_include_dir%g
10061 s%@gcc_version@%$gcc_version%g
10062 s%@gcc_version_trigger@%$gcc_version_trigger%g
10063 s%@host_exeext@%$host_exeext%g
10064 s%@host_extra_gcc_objs@%$host_extra_gcc_objs%g
10065 s%@host_xm_file_list@%$host_xm_file_list%g
10066 s%@install@%$install%g
10067 s%@lang_options_files@%$lang_options_files%g
10068 s%@lang_specs_files@%$lang_specs_files%g
10069 s%@lang_tree_files@%$lang_tree_files%g
10070 s%@local_prefix@%$local_prefix%g
10071 s%@maybe_use_collect2@%$maybe_use_collect2%g
10072 s%@md_file@%$md_file%g
10073 s%@objc_boehm_gc@%$objc_boehm_gc%g
10074 s%@out_file@%$out_file%g
10075 s%@out_object_file@%$out_object_file%g
10076 s%@stage_prefix_set_by_configure@%$stage_prefix_set_by_configure%g
10077 s%@symbolic_link@%$symbolic_link%g
10078 s%@thread_file@%$thread_file%g
10079 s%@tm_file_list@%$tm_file_list%g
10080 s%@will_use_collect2@%$will_use_collect2%g
10081 /@target_overrides@/r $target_overrides
10082 s%@target_overrides@%%g
10083 /@host_overrides@/r $host_overrides
10084 s%@host_overrides@%%g
10085 s%@cross_defines@%$cross_defines%g
10086 /@cross_overrides@/r $cross_overrides
10087 s%@cross_overrides@%%g
10088 /@build_overrides@/r $build_overrides
10089 s%@build_overrides@%%g
10090 /@language_fragments@/r $language_fragments
10091 s%@language_fragments@%%g
10092 /@language_hooks@/r $language_hooks
10093 s%@language_hooks@%%g
10098 cat >> $CONFIG_STATUS <<\EOF
10100 # Split the substitutions into bite-sized pieces for seds with
10101 # small command number limits, like on Digital OSF/1 and HP-UX.
10102 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
10103 ac_file
=1 # Number of current file.
10104 ac_beg
=1 # First line for current file.
10105 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
10108 while $ac_more_lines; do
10109 if test $ac_beg -gt 1; then
10110 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
10112 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
10114 if test ! -s conftest.s
$ac_file; then
10115 ac_more_lines
=false
10116 rm -f conftest.s
$ac_file
10118 if test -z "$ac_sed_cmds"; then
10119 ac_sed_cmds
="sed -f conftest.s$ac_file"
10121 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
10123 ac_file
=`expr $ac_file + 1`
10125 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
10128 if test -z "$ac_sed_cmds"; then
10133 cat >> $CONFIG_STATUS <<EOF
10135 CONFIG_FILES=\${CONFIG_FILES-"$all_outputs"}
10137 cat >> $CONFIG_STATUS <<\EOF
10138 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
10139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10141 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
10142 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10143 *) ac_file_in
="${ac_file}.in" ;;
10146 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
10148 # Remove last slash and all that follows it. Not all systems have dirname.
10149 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
10150 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
10151 # The file is in a subdirectory.
10152 test ! -d "$ac_dir" && mkdir
"$ac_dir"
10153 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
10154 # A "../" for each directory in $ac_dir_suffix.
10155 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
10157 ac_dir_suffix
= ac_dots
=
10160 case "$ac_given_srcdir" in
10162 if test -z "$ac_dots"; then top_srcdir
=.
10163 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
10164 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
10165 *) # Relative path.
10166 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
10167 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10171 echo creating
"$ac_file"
10173 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
10175 *Makefile
*) ac_comsub
="1i\\
10176 # $configure_input" ;;
10180 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
10182 s%@configure_input@%$configure_input%g
10183 s%@srcdir@%$srcdir%g
10184 s%@top_srcdir@%$top_srcdir%g
10185 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
10189 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10190 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10192 # ac_d sets the value in "#define NAME VALUE" lines.
10193 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10194 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
10197 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
10198 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10199 ac_uB
='\([ ]\)%\1#\2define\3'
10202 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10203 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10204 ac_eB
='$%\1#\2define\3'
10208 if test "${CONFIG_HEADERS+set}" != set; then
10210 cat >> $CONFIG_STATUS <<EOF
10211 CONFIG_HEADERS="auto-host.h:config.in"
10213 cat >> $CONFIG_STATUS <<\EOF
10215 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
10216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10218 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
10219 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10220 *) ac_file_in
="${ac_file}.in" ;;
10223 echo creating
$ac_file
10225 rm -f conftest.frag conftest.
in conftest.out
10226 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
10227 cat $ac_file_inputs > conftest.
in
10231 # Transform confdefs.h into a sed script conftest.vals that substitutes
10232 # the proper values into config.h.in to produce config.h. And first:
10233 # Protect against being on the right side of a sed subst in config.status.
10234 # Protect against being in an unquoted here document in config.status.
10235 rm -f conftest.vals
10236 cat > conftest.hdr
<<\EOF
10239 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
10243 sed -n -f conftest.hdr confdefs.h > conftest.vals
10246 # This sed command replaces #undef with comments. This is necessary, for
10247 # example, in the case of _POSIX_SOURCE, which is predefined and required
10248 # on some systems where configure will not decide to define it.
10249 cat >> conftest.vals <<\EOF
10250 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
10253 # Break up conftest.vals because some shells have a limit on
10254 # the size of here documents, and old seds have small limits too.
10256 rm -f conftest.tail
10259 ac_lines=`grep -c . conftest.vals
`
10260 # grep -c gives empty output for an empty file on some AIX systems.
10261 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
10262 # Write a limited-size here document to conftest.frag.
10263 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
10264 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
10266 sed -f conftest.frag conftest.in > conftest.out
10268 mv conftest.out conftest.in
10269 ' >> $CONFIG_STATUS
10270 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
10271 rm -f conftest.vals
10272 mv conftest.tail conftest.vals
10274 rm -f conftest.vals
10276 cat >> $CONFIG_STATUS <<\EOF
10277 rm -f conftest.frag conftest.h
10278 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
10279 cat conftest.in >> conftest.h
10281 if cmp -s $ac_file conftest.h 2>/dev/null; then
10282 echo "$ac_file is unchanged"
10285 # Remove last slash and all that follows it. Not all systems have dirname.
10286 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
10287 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
10288 # The file is in a subdirectory.
10289 test ! -d "$ac_dir" && mkdir "$ac_dir"
10292 mv conftest.h $ac_file
10298 cat >> $CONFIG_STATUS <<EOF
10299 ac_sources="$nls_cv_header_libgt"
10300 ac_dests="$nls_cv_header_intl"
10303 cat >> $CONFIG_STATUS <<\EOF
10304 srcdir=$ac_given_srcdir
10305 while test -n "$ac_sources"; do
10306 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
10307 set $ac_sources; ac_source=$1; shift; ac_sources=$*
10309 echo "linking $srcdir/$ac_source to $ac_dest"
10311 if test ! -r $srcdir/$ac_source; then
10312 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
10316 # Make relative symlinks.
10317 # Remove last slash and all that follows it. Not all systems have dirname.
10318 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
10319 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
10320 # The dest file is in a subdirectory.
10321 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
10322 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
10323 # A "../" for each directory in $ac_dest_dir_suffix.
10324 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
10326 ac_dest_dir_suffix= ac_dots=
10330 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
10331 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
10334 # Make a symlink if possible; otherwise try a hard link.
10335 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
10336 ln $srcdir/$ac_source $ac_dest; then :
10338 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
10342 cat >> $CONFIG_STATUS <<EOF
10348 target_alias='${target_alias}'
10350 subdirs='${subdirs}'
10351 oldstyle_subdirs='${oldstyle_subdirs}'
10352 symbolic_link='${symbolic_link}'
10353 program_transform_set='${program_transform_set}'
10354 program_transform_name='${program_transform_name}'
10355 dep_host_xmake_file='${dep_host_xmake_file}'
10356 host_xmake_file='${host_xmake_file}'
10357 dep_tmake_file='${dep_tmake_file}'
10358 tmake_file='${tmake_file}'
10359 thread_file='${thread_file}'
10360 gcc_version='${gcc_version}'
10361 gcc_version_trigger='${gcc_version_trigger}'
10362 local_prefix='${local_prefix}'
10363 build_install_headers_dir='${build_install_headers_dir}'
10364 build_exeext='${build_exeext}'
10365 host_exeext='${host_exeext}'
10366 out_file='${out_file}'
10367 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
10368 SET_MAKE='${SET_MAKE}'
10369 target_list='${target_list}'
10370 target_overrides='${target_overrides}'
10371 host_overrides='${host_overrides}'
10372 cross_defines='${cross_defines}'
10373 cross_overrides='${cross_overrides}'
10374 build_overrides='${build_overrides}'
10375 cpp_install_dir='${cpp_install_dir}'
10378 cat >> $CONFIG_STATUS <<\EOF
10379 case "$CONFIG_FILES" in *po/Makefile.in*)
10380 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
10383 . $srcdir/configure.lang
10384 case x$CONFIG_HEADERS in
10385 xauto-host.h:config.in)
10388 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
10389 # bootstrapping and the installation procedure can still use
10390 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
10391 # FLAGS_TO_PASS has been modified to solve the problem there.
10392 # This is virtually a duplicate of what happens in configure.lang; we do
10393 # an extra check to make sure this only happens if ln -s can be used.
10394 if test "$symbolic_link" = "ln -s"; then
10395 for d in .. ${subdirs} ; do
10396 if test $d != ..; then
10399 for t in stage1 stage2 stage3 stage4 include
10402 $symbolic_link ../$t $t 2>/dev/null
10408 # Avoid having to add intl to our include paths.
10409 if test -f intl/libintl.h; then
10410 echo creating libintl.h
10411 echo '#include "intl/libintl.h"' >libintl.h
10416 chmod +x $CONFIG_STATUS
10417 rm -fr confdefs* $ac_clean_files
10418 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1