2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gold 0.1.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
269 PACKAGE_TARNAME='gold'
270 PACKAGE_VERSION='0.1'
271 PACKAGE_STRING='gold 0.1'
274 ac_unique_file="gold.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar THREADS_TRUE THREADS_FALSE TARGETOBJS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC RANLIB ac_ct_RANLIB LN_S USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE NATIVE_LINKER_TRUE NATIVE_LINKER_FALSE GCC_TRUE GCC_FALSE FN_PTRS_IN_SO_WITHOUT_PIC_TRUE FN_PTRS_IN_SO_WITHOUT_PIC_FALSE TLS_TRUE TLS_FALSE STATIC_TLS_TRUE STATIC_TLS_FALSE OMP_SUPPORT_TRUE OMP_SUPPORT_FALSE TLS_GNU2_DIALECT_TRUE TLS_GNU2_DIALECT_FALSE TLS_DESCRIPTORS_TRUE TLS_DESCRIPTORS_FALSE CONSTRUCTOR_PRIORITY_TRUE CONSTRUCTOR_PRIORITY_FALSE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CFLAGS LIBOBJS CPP EGREP HAVE_ZLIB_TRUE HAVE_ZLIB_FALSE CXXCPP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CXX_set=${CXX+set}
770 ac_env_CXX_value=$CXX
771 ac_cv_env_CXX_set=${CXX+set}
772 ac_cv_env_CXX_value=$CXX
773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777 ac_env_CPP_set=${CPP+set}
778 ac_env_CPP_value=$CPP
779 ac_cv_env_CPP_set=${CPP+set}
780 ac_cv_env_CPP_value=$CPP
781 ac_env_CXXCPP_set=${CXXCPP+set}
782 ac_env_CXXCPP_value=$CXXCPP
783 ac_cv_env_CXXCPP_set=${CXXCPP+set}
784 ac_cv_env_CXXCPP_value=$CXXCPP
787 # Report the --help message.
789 if test "$ac_init_help" = "long"; then
790 # Omit some internal or obsolete options to make the list less imposing.
791 # This message is too long to be a string in the A/UX 3.1 sh.
793 \`configure' configures gold 0.1 to adapt to many kinds of systems.
795 Usage: $0 [OPTION]... [VAR=VALUE]...
797 To assign environment variables (e.g., CC, CFLAGS...), specify them as
798 VAR=VALUE. See below for descriptions of some of the useful variables.
800 Defaults for the options are specified in brackets.
803 -h, --help display this help and exit
804 --help=short display options specific to this package
805 --help=recursive display the short help of all the included packages
806 -V, --version display version information and exit
807 -q, --quiet, --silent do not print \`checking...' messages
808 --cache-file=FILE cache test results in FILE [disabled]
809 -C, --config-cache alias for \`--cache-file=config.cache'
810 -n, --no-create do not create output files
811 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816 Installation directories:
817 --prefix=PREFIX install architecture-independent files in PREFIX
819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 By default, \`make install' will install all the files in
823 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
824 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
825 for instance \`--prefix=\$HOME'.
827 For better control, use the options below.
829 Fine tuning of the installation directories:
830 --bindir=DIR user executables [EPREFIX/bin]
831 --sbindir=DIR system admin executables [EPREFIX/sbin]
832 --libexecdir=DIR program executables [EPREFIX/libexec]
833 --datadir=DIR read-only architecture-independent data [PREFIX/share]
834 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
835 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
836 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
837 --libdir=DIR object code libraries [EPREFIX/lib]
838 --includedir=DIR C header files [PREFIX/include]
839 --oldincludedir=DIR C header files for non-gcc [/usr/include]
840 --infodir=DIR info documentation [PREFIX/info]
841 --mandir=DIR man documentation [PREFIX/man]
847 --program-prefix=PREFIX prepend PREFIX to installed program names
848 --program-suffix=SUFFIX append SUFFIX to installed program names
849 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
852 --build=BUILD configure for building on BUILD [guessed]
853 --host=HOST cross-compile to build programs to run on HOST [BUILD]
854 --target=TARGET configure for building compilers for TARGET [HOST]
858 if test -n "$ac_init_help"; then
859 case $ac_init_help in
860 short | recursive ) echo "Configuration of gold 0.1:";;
865 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
866 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
867 --enable-threads multi-threaded linking
868 --enable-targets alternative target configurations
869 --disable-dependency-tracking speeds up one-time build
870 --enable-dependency-tracking do not reject slow dependency extractors
871 --disable-nls do not use Native Language Support
872 --enable-werror treat compile warnings as errors
873 --enable-build-warnings enable build-time compiler warnings
874 --enable-maintainer-mode enable make rules and dependencies not useful
875 (and sometimes confusing) to the casual installer
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-sysroot=DIR search for usr/lib et al within DIR
882 Some influential environment variables:
883 CC C compiler command
884 CFLAGS C compiler flags
885 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
886 nonstandard directory <lib dir>
887 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
888 headers in a nonstandard directory <include dir>
889 CXX C++ compiler command
890 CXXFLAGS C++ compiler flags
892 CXXCPP C++ preprocessor
894 Use these variables to override the choices made by `configure' or to help
895 it to find libraries and programs with nonstandard names/locations.
900 if test "$ac_init_help" = "recursive"; then
901 # If there are subdirs, report their specific --help.
903 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
904 test -d $ac_dir || continue
907 if test "$ac_dir" != .; then
908 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
909 # A "../" for each directory in $ac_dir_suffix.
910 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
912 ac_dir_suffix= ac_top_builddir=
916 .) # No --srcdir option. We are building in place.
918 if test -z "$ac_top_builddir"; then
921 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
923 [\\/]* | ?:[\\/]* ) # Absolute path.
924 ac_srcdir=$srcdir$ac_dir_suffix;
925 ac_top_srcdir=$srcdir ;;
927 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
928 ac_top_srcdir=$ac_top_builddir$srcdir ;;
931 # Do not use `cd foo && pwd` to compute absolute paths, because
932 # the directories may not exist.
934 .) ac_abs_builddir="$ac_dir";;
937 .) ac_abs_builddir=`pwd`;;
938 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
939 *) ac_abs_builddir=`pwd`/"$ac_dir";;
942 case $ac_abs_builddir in
943 .) ac_abs_top_builddir=${ac_top_builddir}.;;
945 case ${ac_top_builddir}. in
946 .) ac_abs_top_builddir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
948 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
951 case $ac_abs_builddir in
952 .) ac_abs_srcdir=$ac_srcdir;;
955 .) ac_abs_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
957 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
960 case $ac_abs_builddir in
961 .) ac_abs_top_srcdir=$ac_top_srcdir;;
963 case $ac_top_srcdir in
964 .) ac_abs_top_srcdir=$ac_abs_builddir;;
965 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
966 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
971 # Check for guested configure; otherwise get Cygnus style configure.
972 if test -f $ac_srcdir/configure.gnu; then
974 $SHELL $ac_srcdir/configure.gnu --help=recursive
975 elif test -f $ac_srcdir/configure; then
977 $SHELL $ac_srcdir/configure --help=recursive
978 elif test -f $ac_srcdir/configure.ac ||
979 test -f $ac_srcdir/configure.in; then
983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
989 test -n "$ac_init_help" && exit 0
990 if $ac_init_version; then
993 generated by GNU Autoconf 2.59
995 Copyright (C) 2003 Free Software Foundation, Inc.
996 This configure script is free software; the Free Software Foundation
997 gives unlimited permission to copy, distribute and modify it.
1003 This file contains any messages produced by compilers while
1004 running configure, to aid debugging if configure makes a mistake.
1006 It was created by gold $as_me 0.1, which was
1007 generated by GNU Autoconf 2.59. Invocation command line was
1018 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1019 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1020 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1021 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1022 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1024 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1025 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1027 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1028 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1029 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1030 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1031 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1032 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1033 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1041 test -z "$as_dir" && as_dir=.
1042 echo "PATH: $as_dir"
1057 # Keep a trace of the command line.
1058 # Strip out --no-create and --no-recursion so they do not pile up.
1059 # Strip out --silent because we don't want to record it for future runs.
1060 # Also quote any args containing shell meta-characters.
1061 # Make two passes to allow for proper duplicate-argument suppression.
1066 ac_must_keep_next=false
1072 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1076 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1077 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1080 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1082 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1083 if test $ac_must_keep_next = true; then
1084 ac_must_keep_next=false # Got value, back to normal.
1087 *=* | --config-cache | -C | -disable-* | --disable-* \
1088 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1089 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1090 | -with-* | --with-* | -without-* | --without-* | --x)
1091 case "$ac_configure_args0 " in
1092 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1095 -* ) ac_must_keep_next=true ;;
1098 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1099 # Get rid of the leading space.
1105 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1106 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1108 # When interrupted or exit'd, cleanup temporary files, and complete
1109 # config.log. We remove comments because anyway the quotes in there
1110 # would cause problems or look ugly.
1111 # WARNING: Be sure not to use single quotes in there, as some shells,
1112 # such as our DU 5.0 friend, will then `close' the trap.
1113 trap 'exit_status=$?
1114 # Save into config.log some information that might help in debugging.
1119 ## ---------------- ##
1120 ## Cache variables. ##
1121 ## ---------------- ##
1124 # The following way of writing the cache mishandles newlines in values,
1127 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1130 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1142 ## ----------------- ##
1143 ## Output variables. ##
1144 ## ----------------- ##
1147 for ac_var in $ac_subst_vars
1149 eval ac_val=$`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -n "$ac_subst_files"; then
1161 for ac_var in $ac_subst_files
1163 eval ac_val=$`echo $ac_var`
1164 echo "$ac_var='"'"'$ac_val'"'"'"
1169 if test -s confdefs.h; then
1176 sed "/^$/d" confdefs.h | sort
1179 test "$ac_signal" != 0 &&
1180 echo "$as_me: caught signal $ac_signal"
1181 echo "$as_me: exit $exit_status"
1183 rm -f core *.core &&
1184 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1187 for ac_signal in 1 2 13 15; do
1188 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1193 rm -rf conftest* confdefs.h
1194 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1197 # Predefined preprocessor variables.
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_NAME "$PACKAGE_NAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_STRING "$PACKAGE_STRING"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1224 # Let the site file select an alternate cache file if it wants to.
1225 # Prefer explicitly selected file to automatically selected ones.
1226 if test -z "$CONFIG_SITE"; then
1227 if test "x$prefix" != xNONE; then
1228 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1230 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1233 for ac_site_file in $CONFIG_SITE; do
1234 if test -r "$ac_site_file"; then
1235 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1236 echo "$as_me: loading site script $ac_site_file" >&6;}
1237 sed 's/^/| /' "$ac_site_file" >&5
1242 if test -r "$cache_file"; then
1243 # Some versions of bash will fail to source /dev/null (special
1244 # files actually), so we avoid doing that.
1245 if test -f "$cache_file"; then
1246 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1247 echo "$as_me: loading cache $cache_file" >&6;}
1249 [\\/]* | ?:[\\/]* ) . $cache_file;;
1250 *) . ./$cache_file;;
1254 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1255 echo "$as_me: creating cache $cache_file" >&6;}
1259 # Check that the precious variables saved in the cache have kept the same
1261 ac_cache_corrupted=false
1262 for ac_var in `(set) 2>&1 |
1263 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1264 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1265 eval ac_new_set=\$ac_env_${ac_var}_set
1266 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1267 eval ac_new_val="\$ac_env_${ac_var}_value"
1268 case $ac_old_set,$ac_new_set in
1270 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1271 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1272 ac_cache_corrupted=: ;;
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1276 ac_cache_corrupted=: ;;
1279 if test "x$ac_old_val" != "x$ac_new_val"; then
1280 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1281 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1282 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1283 echo "$as_me: former value: $ac_old_val" >&2;}
1284 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1285 echo "$as_me: current value: $ac_new_val" >&2;}
1286 ac_cache_corrupted=:
1289 # Pass precious variables to config.status.
1290 if test "$ac_new_set" = set; then
1292 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1294 *) ac_arg=$ac_var=$ac_new_val ;;
1296 case " $ac_configure_args " in
1297 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1298 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1302 if $ac_cache_corrupted; then
1303 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1304 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1305 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1306 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1307 { (exit 1); exit 1; }; }
1311 ac_cpp='$CPP $CPPFLAGS'
1312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1346 if test -f $ac_dir/install-sh; then
1348 ac_install_sh="$ac_aux_dir/install-sh -c"
1350 elif test -f $ac_dir/install.sh; then
1352 ac_install_sh="$ac_aux_dir/install.sh -c"
1354 elif test -f $ac_dir/shtool; then
1356 ac_install_sh="$ac_aux_dir/shtool install -c"
1360 if test -z "$ac_aux_dir"; then
1361 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1362 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1363 { (exit 1); exit 1; }; }
1365 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1366 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1367 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1369 # Make sure we can run config.sub.
1370 $ac_config_sub sun4 >/dev/null 2>&1 ||
1371 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1372 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1373 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: checking build system type" >&5
1376 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1377 if test "${ac_cv_build+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_build_alias=$build_alias
1381 test -z "$ac_cv_build_alias" &&
1382 ac_cv_build_alias=`$ac_config_guess`
1383 test -z "$ac_cv_build_alias" &&
1384 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1385 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1386 { (exit 1); exit 1; }; }
1387 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1394 echo "${ECHO_T}$ac_cv_build" >&6
1396 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1397 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1398 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1401 echo "$as_me:$LINENO: checking host system type" >&5
1402 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1403 if test "${ac_cv_host+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_host_alias=$host_alias
1407 test -z "$ac_cv_host_alias" &&
1408 ac_cv_host_alias=$ac_cv_build_alias
1409 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1416 echo "${ECHO_T}$ac_cv_host" >&6
1418 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1419 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1420 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1423 echo "$as_me:$LINENO: checking target system type" >&5
1424 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1425 if test "${ac_cv_target+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 ac_cv_target_alias=$target_alias
1429 test "x$ac_cv_target_alias" = "x" &&
1430 ac_cv_target_alias=$ac_cv_host_alias
1431 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1432 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1433 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1434 { (exit 1); exit 1; }; }
1437 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1438 echo "${ECHO_T}$ac_cv_target" >&6
1439 target=$ac_cv_target
1440 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1441 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1442 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1445 # The aliases save the names the user supplied, while $host etc.
1446 # will get canonicalized.
1447 test -n "$target_alias" &&
1448 test "$program_prefix$program_suffix$program_transform_name" = \
1450 program_prefix=${target_alias}-
1452 am__api_version="1.9"
1453 # Find a good install program. We prefer a C program (faster),
1454 # so one script is as good as another. But avoid the broken or
1455 # incompatible versions:
1456 # SysV /etc/install, /usr/sbin/install
1457 # SunOS /usr/etc/install
1458 # IRIX /sbin/install
1460 # AmigaOS /C/install, which installs bootblocks on floppy discs
1461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1464 # OS/2's system install, which has a completely different semantic
1465 # ./install, which can be erroneously created by make from ./install.sh.
1466 # Reject install programs that cannot install multiple files.
1467 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1468 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1469 if test -z "$INSTALL"; then
1470 if test "${ac_cv_path_install+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 test -z "$as_dir" && as_dir=.
1478 # Account for people who put trailing slashes in PATH elements.
1480 ./ | .// | /cC/* | \
1481 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1482 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1485 # OSF1 and SCO ODT 3.0 have their own names for install.
1486 # Don't use installbsd from OSF since it installs stuff as root
1488 for ac_prog in ginstall scoinst install; do
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1491 if test $ac_prog = install &&
1492 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1493 # AIX install. It has an incompatible calling convention.
1495 elif test $ac_prog = install &&
1496 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1497 # program-specific install script used by HP pwplus--don't use.
1500 rm -rf conftest.one conftest.two conftest.dir
1501 echo one > conftest.one
1502 echo two > conftest.two
1504 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1505 test -s conftest.one && test -s conftest.two &&
1506 test -s conftest.dir/conftest.one &&
1507 test -s conftest.dir/conftest.two
1509 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1520 rm -rf conftest.one conftest.two conftest.dir
1523 if test "${ac_cv_path_install+set}" = set; then
1524 INSTALL=$ac_cv_path_install
1526 # As a last resort, use the slow shell script. Don't cache a
1527 # value for INSTALL within a source directory, because that will
1528 # break other packages using the cache if that directory is
1529 # removed, or if the value is a relative name.
1530 INSTALL=$ac_install_sh
1533 echo "$as_me:$LINENO: result: $INSTALL" >&5
1534 echo "${ECHO_T}$INSTALL" >&6
1536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1537 # It thinks the first close brace ends the variable substitution.
1538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1542 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1544 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1545 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1548 echo timestamp > conftest.file
1549 # Do `set' in a subshell so we don't clobber the current shell's
1550 # arguments. Must try -L first in case configure is actually a
1551 # symlink; some systems play weird games with the mod time of symlinks
1552 # (eg FreeBSD returns the mod time of the symlink's containing
1555 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1556 if test "$*" = "X"; then
1558 set X `ls -t $srcdir/configure conftest.file`
1561 if test "$*" != "X $srcdir/configure conftest.file" \
1562 && test "$*" != "X conftest.file $srcdir/configure"; then
1564 # If neither matched, then we have a broken ls. This can happen
1565 # if, for instance, CONFIG_SHELL is bash and it inherits a
1566 # broken ls alias from the environment. This has actually
1567 # happened. Such a system could not be considered "sane".
1568 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1569 alias in your environment" >&5
1570 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1571 alias in your environment" >&2;}
1572 { (exit 1); exit 1; }; }
1575 test "$2" = conftest.file
1581 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1582 Check your system clock" >&5
1583 echo "$as_me: error: newly created file is older than distributed files!
1584 Check your system clock" >&2;}
1585 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: yes" >&5
1588 echo "${ECHO_T}yes" >&6
1589 test "$program_prefix" != NONE &&
1590 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1591 # Use a double $ so make ignores it.
1592 test "$program_suffix" != NONE &&
1593 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1594 # Double any \ or $. echo might interpret backslashes.
1595 # By default was `s,x,x', remove it if useless.
1596 cat <<\_ACEOF >conftest.sed
1597 s/[\\$]/&&/g;s/;s,x,x,$//
1599 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1602 # expand $ac_aux_dir to an absolute path
1603 am_aux_dir=`cd $ac_aux_dir && pwd`
1605 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1606 # Use eval to expand $SHELL
1607 if eval "$MISSING --run true"; then
1608 am_missing_run="$MISSING --run "
1611 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1612 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1615 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1616 # We used to keeping the `.' as first argument, in order to
1617 # allow $(mkdir_p) to be used without argument. As in
1618 # $(mkdir_p) $(somedir)
1619 # where $(somedir) is conditionally defined. However this is wrong
1621 # 1. if the package is installed by a user who cannot write `.'
1622 # make install will fail,
1623 # 2. the above comment should most certainly read
1624 # $(mkdir_p) $(DESTDIR)$(somedir)
1625 # so it does not work when $(somedir) is undefined and
1626 # $(DESTDIR) is not.
1627 # To support the latter case, we have to write
1628 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1629 # so the `.' trick is pointless.
1630 mkdir_p='mkdir -p --'
1632 # On NextStep and OpenStep, the `mkdir' command does not
1633 # recognize any option. It will interpret all options as
1634 # directories to create, and then abort because `.' already
1636 for d in ./-p ./--version;
1638 test -d $d && rmdir $d
1640 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1641 if test -f "$ac_aux_dir/mkinstalldirs"; then
1642 mkdir_p='$(mkinstalldirs)'
1644 mkdir_p='$(install_sh) -d'
1648 for ac_prog in gawk mawk nawk awk
1650 # Extract the first word of "$ac_prog", so it can be a program name with args.
1651 set dummy $ac_prog; ac_word=$2
1652 echo "$as_me:$LINENO: checking for $ac_word" >&5
1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1654 if test "${ac_cv_prog_AWK+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 if test -n "$AWK"; then
1658 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 test -z "$as_dir" && as_dir=.
1665 for ac_exec_ext in '' $ac_executable_extensions; do
1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1667 ac_cv_prog_AWK="$ac_prog"
1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 if test -n "$AWK"; then
1678 echo "$as_me:$LINENO: result: $AWK" >&5
1679 echo "${ECHO_T}$AWK" >&6
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1685 test -n "$AWK" && break
1688 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1689 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1690 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1691 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 cat >conftest.make <<\_ACEOF
1696 @echo 'ac_maketemp="$(MAKE)"'
1698 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1699 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1700 if test -n "$ac_maketemp"; then
1701 eval ac_cv_prog_make_${ac_make}_set=yes
1703 eval ac_cv_prog_make_${ac_make}_set=no
1707 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1708 echo "$as_me:$LINENO: result: yes" >&5
1709 echo "${ECHO_T}yes" >&6
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1714 SET_MAKE="MAKE=${MAKE-make}"
1717 rm -rf .tst 2>/dev/null
1718 mkdir .tst 2>/dev/null
1719 if test -d .tst; then
1724 rmdir .tst 2>/dev/null
1726 # test to see if srcdir already configured
1727 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1728 test -f $srcdir/config.status; then
1729 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1730 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1731 { (exit 1); exit 1; }; }
1734 # test whether we have cygpath
1735 if test -z "$CYGPATH_W"; then
1736 if (cygpath --version) >/dev/null 2>/dev/null; then
1737 CYGPATH_W='cygpath -w'
1744 # Define the identity of the package.
1749 cat >>confdefs.h <<_ACEOF
1750 #define PACKAGE "$PACKAGE"
1754 cat >>confdefs.h <<_ACEOF
1755 #define VERSION "$VERSION"
1758 # Some tools Automake needs.
1760 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1763 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1766 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1769 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1772 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1774 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1776 # Installed binaries are usually stripped using `strip' when the user
1777 # run `make install-strip'. However `strip' might not be the right
1778 # tool to use in cross-compilation environments, therefore Automake
1779 # will honor the `STRIP' environment variable to overrule this program.
1780 if test "$cross_compiling" != no; then
1781 if test -n "$ac_tool_prefix"; then
1782 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1783 set dummy ${ac_tool_prefix}strip; ac_word=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_STRIP+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$STRIP"; then
1790 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 STRIP=$ac_cv_prog_STRIP
1809 if test -n "$STRIP"; then
1810 echo "$as_me:$LINENO: result: $STRIP" >&5
1811 echo "${ECHO_T}$STRIP" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1818 if test -z "$ac_cv_prog_STRIP"; then
1820 # Extract the first word of "strip", so it can be a program name with args.
1821 set dummy strip; ac_word=$2
1822 echo "$as_me:$LINENO: checking for $ac_word" >&5
1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1824 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 if test -n "$ac_ct_STRIP"; then
1828 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 for ac_exec_ext in '' $ac_executable_extensions; do
1836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1837 ac_cv_prog_ac_ct_STRIP="strip"
1838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1847 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1848 if test -n "$ac_ct_STRIP"; then
1849 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1850 echo "${ECHO_T}$ac_ct_STRIP" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1858 STRIP="$ac_cv_prog_STRIP"
1862 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1864 # We need awk for the "check" target. The system "awk" is bad on
1866 # Always define AMTAR for backward compatibility.
1868 AMTAR=${AMTAR-"${am_missing_run}tar"}
1870 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1877 ac_config_headers="$ac_config_headers config.h:config.in"
1881 # Check whether --with-sysroot or --without-sysroot was given.
1882 if test "${with_sysroot+set}" = set; then
1883 withval="$with_sysroot"
1889 if test "$sysroot" = "yes"; then
1890 sysroot='${exec_prefix}/${target_alias}/sys-root'
1891 elif test "$sysroot" = "no"; then
1895 sysroot_relocatable=0
1896 if test -n "$sysroot"; then
1898 "${prefix}" | "${prefix}/"* | \
1899 "${exec_prefix}" | "${exec_prefix}/"* | \
1900 '${prefix}' | '${prefix}/'*| \
1901 '${exec_prefix}' | '${exec_prefix}/'*)
1902 sysroot_relocatable=1
1908 cat >>confdefs.h <<_ACEOF
1909 #define TARGET_SYSTEM_ROOT "$sysroot"
1913 cat >>confdefs.h <<_ACEOF
1914 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1918 # Check whether --enable-threads or --disable-threads was given.
1919 if test "${enable_threads+set}" = set; then
1920 enableval="$enable_threads"
1921 case "${enableval}" in
1922 yes | "") threads=yes ;;
1929 if test "$threads" = "yes"; then
1931 cat >>confdefs.h <<\_ACEOF
1932 #define ENABLE_THREADS 1
1938 if test "$threads" = "yes"; then
1947 # Check whether --enable-targets or --disable-targets was given.
1948 if test "${enable_targets+set}" = set; then
1949 enableval="$enable_targets"
1950 case "${enableval}" in
1952 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1953 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1954 { (exit 1); exit 1; }; }
1960 enable_targets=$enableval
1964 # For now, enable all targets by default
1969 # Canonicalize the enabled targets.
1970 if test -n "$enable_targets"; then
1971 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
1972 result=`$ac_config_sub $targ 2>/dev/null`
1973 if test -n "$result"; then
1974 canon_targets="$canon_targets $result"
1976 # Permit unrecognized target names, like "all".
1977 canon_targets="$canon_targets $targ"
1982 # See which specific instantiations we need.
1992 for targ in $target $canon_targets; do
1993 if test "$targ" = "all"; then
2000 . ${srcdir}/configure.tgt
2002 if test "$targ_obj" = "UNKNOWN"; then
2003 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
2004 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
2005 { (exit 1); exit 1; }; }
2007 targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
2008 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
2009 if test "$targ_big_endian" = "true" \
2010 -o "$targ_extra_big_endian" = "true"; then
2013 if test "$targ_big_endian" = "false" \
2014 -o "$targ_extra_big_endian" = "false"; then
2018 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
2019 if test "$targ_big_endian" = "true" \
2020 -o "$targ_extra_big_endian" = "true"; then
2023 if test "$targ_big_endian" = "false" \
2024 -o "$targ_extra_big_endian" = "false"; then
2029 if test "$target" = "$targ"; then
2030 default_machine=$targ_machine
2031 default_size=$targ_size
2032 default_big_endian=$targ_big_endian
2038 if test -n "$targ_32_little"; then
2040 cat >>confdefs.h <<\_ACEOF
2041 #define HAVE_TARGET_32_LITTLE 1
2045 if test -n "$targ_32_big"; then
2047 cat >>confdefs.h <<\_ACEOF
2048 #define HAVE_TARGET_32_BIG 1
2052 if test -n "$targ_64_little"; then
2054 cat >>confdefs.h <<\_ACEOF
2055 #define HAVE_TARGET_64_LITTLE 1
2059 if test -n "$targ_64_big"; then
2061 cat >>confdefs.h <<\_ACEOF
2062 #define HAVE_TARGET_64_BIG 1
2067 if test -n "$all_targets"; then
2068 TARGETOBJS='$(ALL_TARGETOBJS)'
2070 TARGETOBJS="$targetobjs"
2075 cat >>confdefs.h <<_ACEOF
2076 #define GOLD_DEFAULT_MACHINE $default_machine
2080 cat >>confdefs.h <<_ACEOF
2081 #define GOLD_DEFAULT_SIZE $default_size
2085 cat >>confdefs.h <<_ACEOF
2086 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
2091 ac_cpp='$CPP $CPPFLAGS'
2092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2095 if test -n "$ac_tool_prefix"; then
2096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2097 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_CC+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC="$CC" # Let the user override the test.
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$CC"; then
2124 echo "$as_me:$LINENO: result: $CC" >&5
2125 echo "${ECHO_T}$CC" >&6
2127 echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6
2132 if test -z "$ac_cv_prog_CC"; then
2134 # Extract the first word of "gcc", so it can be a program name with args.
2135 set dummy gcc; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$ac_ct_CC"; then
2142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_ac_ct_CC="gcc"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2161 if test -n "$ac_ct_CC"; then
2162 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2163 echo "${ECHO_T}$ac_ct_CC" >&6
2165 echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2174 if test -z "$CC"; then
2175 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2177 set dummy ${ac_tool_prefix}cc; ac_word=$2
2178 echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$CC"; then
2184 ac_cv_prog_CC="$CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_CC="${ac_tool_prefix}cc"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2212 if test -z "$ac_cv_prog_CC"; then
2214 # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$ac_ct_CC"; then
2222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2231 ac_cv_prog_ac_ct_CC="cc"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2241 if test -n "$ac_ct_CC"; then
2242 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2243 echo "${ECHO_T}$ac_ct_CC" >&6
2245 echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6
2255 if test -z "$CC"; then
2256 # Extract the first word of "cc", so it can be a program name with args.
2257 set dummy cc; ac_word=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2275 ac_prog_rejected=yes
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 if test $ac_prog_rejected = yes; then
2286 # We found a bogon in the path, so make sure we never use it.
2287 set dummy $ac_cv_prog_CC
2289 if test $# != 0; then
2290 # We chose a different compiler from the bogus one.
2291 # However, it has the same basename, so the bogon will be chosen
2292 # first if we set CC to just the basename; use the full file name.
2294 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2300 if test -n "$CC"; then
2301 echo "$as_me:$LINENO: result: $CC" >&5
2302 echo "${ECHO_T}$CC" >&6
2304 echo "$as_me:$LINENO: result: no" >&5
2305 echo "${ECHO_T}no" >&6
2309 if test -z "$CC"; then
2310 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC="$CC" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CC"; then
2341 echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$CC" && break
2351 if test -z "$CC"; then
2355 # Extract the first word of "$ac_prog", so it can be a program name with args.
2356 set dummy $ac_prog; ac_word=$2
2357 echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_CC"; then
2363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_ac_ct_CC="$ac_prog"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2382 if test -n "$ac_ct_CC"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2384 echo "${ECHO_T}$ac_ct_CC" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 test -n "$ac_ct_CC" && break
2399 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }
2405 # Provide some information about the compiler.
2406 echo "$as_me:$LINENO:" \
2407 "checking for C compiler version" >&5
2408 ac_compiler=`set X $ac_compile; echo $2`
2409 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2410 (eval $ac_compiler --version </dev/null >&5) 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }
2414 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2415 (eval $ac_compiler -v </dev/null >&5) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }
2419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2420 (eval $ac_compiler -V </dev/null >&5) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }
2425 cat >conftest.$ac_ext <<_ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 ac_clean_files_save=$ac_clean_files
2441 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2442 # Try to create an executable without -o first, disregard a.out.
2443 # It will help us diagnose broken compilers, and finding out an intuition
2445 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2446 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2447 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2449 (eval $ac_link_default) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; then
2453 # Find the output, starting from the most likely. This scheme is
2454 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2457 # Be careful to initialize this variable, since it used to be cached.
2458 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2460 # b.out is created by i960 compilers.
2461 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2463 test -f "$ac_file" || continue
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2468 # This is the source file.
2471 # We found the default executable, but exeext='' is most
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 # FIXME: I believe we export ac_cv_exeext for Libtool,
2477 # but it would be cool to find out if it's true. Does anybody
2478 # maintain Libtool? --akim.
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&5
2491 echo "$as_me: error: C compiler cannot create executables
2492 See \`config.log' for more details." >&2;}
2493 { (exit 77); exit 77; }; }
2496 ac_exeext=$ac_cv_exeext
2497 echo "$as_me:$LINENO: result: $ac_file" >&5
2498 echo "${ECHO_T}$ac_file" >&6
2500 # Check the compiler produces executables we can run. If not, either
2501 # the compiler is broken, or we cross compile.
2502 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2503 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2504 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2505 # If not cross compiling, check that we can run a simple program.
2506 if test "$cross_compiling" != yes; then
2507 if { ac_try='./$ac_file'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2515 if test "$cross_compiling" = maybe; then
2518 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2519 If you meant to cross compile, use \`--host'.
2520 See \`config.log' for more details." >&5
2521 echo "$as_me: error: cannot run C compiled programs.
2522 If you meant to cross compile, use \`--host'.
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2531 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2532 ac_clean_files=$ac_clean_files_save
2533 # Check the compiler produces executables we can run. If not, either
2534 # the compiler is broken, or we cross compile.
2535 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2536 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2537 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2538 echo "${ECHO_T}$cross_compiling" >&6
2540 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2541 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2543 (eval $ac_link) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe'), while it won't with
2551 for ac_file in conftest.exe conftest conftest.*; do
2552 test -f "$ac_file" || continue
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2555 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2562 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&5
2564 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2565 See \`config.log' for more details." >&2;}
2566 { (exit 1); exit 1; }; }
2569 rm -f conftest$ac_cv_exeext
2570 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2571 echo "${ECHO_T}$ac_cv_exeext" >&6
2573 rm -f conftest.$ac_ext
2574 EXEEXT=$ac_cv_exeext
2576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578 if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2596 rm -f conftest.o conftest.obj
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2622 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623 echo "${ECHO_T}$ac_cv_objext" >&6
2624 OBJEXT=$ac_cv_objext
2626 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.$ac_ext <<_ACEOF
2634 cat confdefs.h >>conftest.$ac_ext
2635 cat >>conftest.$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2649 rm -f conftest.$ac_objext
2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2653 grep -v '^ *+' conftest.er1 >conftest.err
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
2658 { ac_try='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 cat >conftest.$ac_ext <<_ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.$ac_objext
2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
2717 { ac_try='test -z "$ac_c_werror_flag"
2718 || test ! -s conftest.err'
2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2740 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2750 if test "$GCC" = yes; then
2756 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2757 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2758 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 ac_cv_prog_cc_stdc=no
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2771 #include <sys/types.h>
2772 #include <sys/stat.h>
2773 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2774 struct buf { int x; };
2775 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2776 static char *e (p, i)
2782 static char *f (char * (*g) (char **, int), char **p, ...)
2787 s = g (p, va_arg (v,int));
2792 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2793 function prototypes and stuff, but not '\xHH' hex character constants.
2794 These don't provoke an error unfortunately, instead are silently treated
2795 as 'x'. The following induces an error, until -std1 is added to get
2796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2797 array size at least. It's necessary to write '\x00'==0 to get something
2798 that's true only with -std1. */
2799 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2801 int test (int i, double x);
2802 struct s1 {int (*f) (int a);};
2803 struct s2 {int (*f) (double a);};
2804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2815 # Don't try gcc -ansi; that turns off useful extensions and
2816 # breaks some systems' header files.
2817 # AIX -qlanglvl=ansi
2818 # Ultrix and OSF/1 -std1
2819 # HP-UX 10.20 and later -Ae
2820 # HP-UX older versions -Aa -D_HPUX_SOURCE
2821 # SVR4 -Xc -D__EXTENSIONS__
2822 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2824 CC="$ac_save_CC $ac_arg"
2825 rm -f conftest.$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1 >conftest.err
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_stdc=$ac_arg
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2854 rm -f conftest.err conftest.$ac_objext
2856 rm -f conftest.$ac_ext conftest.$ac_objext
2861 case "x$ac_cv_prog_cc_stdc" in
2863 echo "$as_me:$LINENO: result: none needed" >&5
2864 echo "${ECHO_T}none needed" >&6 ;;
2866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2867 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2868 CC="$CC $ac_cv_prog_cc_stdc" ;;
2871 # Some people use a C++ compiler to compile C. Since we use `exit',
2872 # in C++ we need to declare it. In case someone uses the same compiler
2873 # for both compiling C and C++ we need to have the C++ compiler decide
2874 # the declaration of exit, since it's the most demanding environment.
2875 cat >conftest.$ac_ext <<_ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 for ac_declaration in \
2904 'extern "C" void std::exit (int) throw (); using std::exit;' \
2905 'extern "C" void std::exit (int); using std::exit;' \
2906 'extern "C" void exit (int) throw ();' \
2907 'extern "C" void exit (int);' \
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2926 rm -f conftest.$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
2980 { ac_try='test -z "$ac_c_werror_flag"
2981 || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3002 if test -n "$ac_declaration"; then
3003 echo '#ifdef __cplusplus' >>confdefs.h
3004 echo $ac_declaration >>confdefs.h
3005 echo '#endif' >>confdefs.h
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3015 ac_cpp='$CPP $CPPFLAGS'
3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 DEPDIR="${am__leading_dot}deps"
3021 ac_config_commands="$ac_config_commands depfiles"
3024 am_make=${MAKE-make}
3025 cat > confinc << 'END'
3030 # If we don't find an include directive, just comment out the code.
3031 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3032 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3036 # First try GNU make style include.
3037 echo "include confinc" > confmf
3038 # We grep out `Entering directory' and `Leaving directory'
3039 # messages which can occur if `w' ends up in MAKEFLAGS.
3040 # In particular we don't look at `^make:' because GNU make might
3041 # be invoked under some other name (usually "gmake"), in which
3042 # case it prints its new name instead of `make'.
3043 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3048 # Now try BSD make style include.
3049 if test "$am__include" = "#"; then
3050 echo '.include "confinc"' > confmf
3051 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3052 am__include=.include
3059 echo "$as_me:$LINENO: result: $_am_result" >&5
3060 echo "${ECHO_T}$_am_result" >&6
3061 rm -f confinc confmf
3063 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3064 if test "${enable_dependency_tracking+set}" = set; then
3065 enableval="$enable_dependency_tracking"
3068 if test "x$enable_dependency_tracking" != xno; then
3069 am_depcomp="$ac_aux_dir/depcomp"
3074 if test "x$enable_dependency_tracking" != xno; then
3085 depcc="$CC" am_compiler_list=
3087 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3088 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3093 # We make a subdir and do the tests there. Otherwise we can end up
3094 # making bogus files that we don't know about and never remove. For
3095 # instance it was reported that on HP-UX the gcc test will end up
3096 # making a dummy file named `D' -- because `-MD' means `put the output
3099 # Copy depcomp to subdir because otherwise we won't find it if we're
3100 # using a relative directory.
3101 cp "$am_depcomp" conftest.dir
3103 # We will build objects and dependencies in a subdirectory because
3104 # it helps to detect inapplicable dependency modes. For instance
3105 # both Tru64's cc and ICC support -MD to output dependencies as a
3106 # side effect of compilation, but ICC will put the dependencies in
3107 # the current directory while Tru64 will put them in the object
3111 am_cv_CC_dependencies_compiler_type=none
3112 if test "$am_compiler_list" = ""; then
3113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3115 for depmode in $am_compiler_list; do
3116 # Setup a source with many dependencies, because some compilers
3117 # like to wrap large dependency lists on column 80 (with \), and
3118 # we should not choose a depcomp mode which is confused by this.
3120 # We need to recreate these files for each test, as the compiler may
3121 # overwrite some of them when testing with obscure command lines.
3122 # This happens at least with the AIX C compiler.
3124 for i in 1 2 3 4 5 6; do
3125 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3127 # Solaris 8's {/usr,}/bin/sh.
3128 touch sub/conftst$i.h
3130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3134 # after this tag, mechanisms are not by side-effect, so they'll
3135 # only be used when explicitly requested
3136 if test "x$enable_dependency_tracking" = xyes; then
3144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3145 # mode. It turns out that the SunPro C++ compiler does not properly
3146 # handle `-M -o', and we need to detect this.
3147 if depmode=$depmode \
3148 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3149 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3150 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3151 >/dev/null 2>conftest.err &&
3152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3153 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3155 # icc doesn't choke on unknown options, it will just issue warnings
3156 # or remarks (even with -Werror). So we grep stderr for any message
3157 # that says an option was ignored or not supported.
3158 # When given -MP, icc 7.0 and 7.1 complain thusly:
3159 # icc: Command line warning: ignoring option '-M'; no argument required
3160 # The diagnosis changed in icc 8.0:
3161 # icc: Command line remark: option '-MP' not supported
3162 if (grep 'ignoring option' conftest.err ||
3163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3164 am_cv_CC_dependencies_compiler_type=$depmode
3173 am_cv_CC_dependencies_compiler_type=none
3177 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3178 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3179 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3187 am__fastdepCC_FALSE='#'
3189 am__fastdepCC_TRUE='#'
3190 am__fastdepCC_FALSE=
3195 ac_cpp='$CXXCPP $CPPFLAGS'
3196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3199 if test -n "$ac_tool_prefix"; then
3200 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3204 echo "$as_me:$LINENO: checking for $ac_word" >&5
3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3206 if test "${ac_cv_prog_CXX+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 if test -n "$CXX"; then
3210 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 if test -n "$CXX"; then
3230 echo "$as_me:$LINENO: result: $CXX" >&5
3231 echo "${ECHO_T}$CXX" >&6
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3237 test -n "$CXX" && break
3240 if test -z "$CXX"; then
3242 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3244 # Extract the first word of "$ac_prog", so it can be a program name with args.
3245 set dummy $ac_prog; ac_word=$2
3246 echo "$as_me:$LINENO: checking for $ac_word" >&5
3247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3248 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 if test -n "$ac_ct_CXX"; then
3252 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir=.
3259 for ac_exec_ext in '' $ac_executable_extensions; do
3260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_ac_ct_CXX="$ac_prog"
3262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3271 if test -n "$ac_ct_CXX"; then
3272 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3273 echo "${ECHO_T}$ac_ct_CXX" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3279 test -n "$ac_ct_CXX" && break
3281 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3287 # Provide some information about the compiler.
3288 echo "$as_me:$LINENO:" \
3289 "checking for C++ compiler version" >&5
3290 ac_compiler=`set X $ac_compile; echo $2`
3291 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3292 (eval $ac_compiler --version </dev/null >&5) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }
3296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3297 (eval $ac_compiler -v </dev/null >&5) 2>&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }
3301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3302 (eval $ac_compiler -V </dev/null >&5) 2>&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }
3307 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3308 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3309 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 cat >conftest.$ac_ext <<_ACEOF
3315 cat confdefs.h >>conftest.$ac_ext
3316 cat >>conftest.$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1 >conftest.err
3336 cat conftest.err >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try='test -z "$ac_cxx_werror_flag"
3340 || test ! -s conftest.err'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; } &&
3346 { ac_try='test -s conftest.$ac_objext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3363 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3364 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3365 GXX=`test $ac_compiler_gnu = yes && echo yes`
3366 ac_test_CXXFLAGS=${CXXFLAGS+set}
3367 ac_save_CXXFLAGS=$CXXFLAGS
3369 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3370 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3371 if test "${ac_cv_prog_cxx_g+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3389 rm -f conftest.$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3393 grep -v '^ *+' conftest.er1 >conftest.err
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try='test -z "$ac_cxx_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3411 ac_cv_prog_cxx_g=yes
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3420 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3421 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3422 if test "$ac_test_CXXFLAGS" = set; then
3423 CXXFLAGS=$ac_save_CXXFLAGS
3424 elif test $ac_cv_prog_cxx_g = yes; then
3425 if test "$GXX" = yes; then
3431 if test "$GXX" = yes; then
3437 for ac_declaration in \
3439 'extern "C" void std::exit (int) throw (); using std::exit;' \
3440 'extern "C" void std::exit (int); using std::exit;' \
3441 'extern "C" void exit (int) throw ();' \
3442 'extern "C" void exit (int);' \
3445 cat >conftest.$ac_ext <<_ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3461 rm -f conftest.$ac_objext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try='test -z "$ac_cxx_werror_flag"
3471 || test ! -s conftest.err'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; } &&
3477 { ac_try='test -s conftest.$ac_objext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3491 cat >conftest.$ac_ext <<_ACEOF
3494 cat confdefs.h >>conftest.$ac_ext
3495 cat >>conftest.$ac_ext <<_ACEOF
3496 /* end confdefs.h. */
3506 rm -f conftest.$ac_objext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3508 (eval $ac_compile) 2>conftest.er1
3510 grep -v '^ *+' conftest.er1 >conftest.err
3512 cat conftest.err >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try='test -z "$ac_cxx_werror_flag"
3516 || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try='test -s conftest.$ac_objext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.$ac_ext >&5
3534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3537 if test -n "$ac_declaration"; then
3538 echo '#ifdef __cplusplus' >>confdefs.h
3539 echo $ac_declaration >>confdefs.h
3540 echo '#endif' >>confdefs.h
3544 ac_cpp='$CPP $CPPFLAGS'
3545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 depcc="$CXX" am_compiler_list=
3551 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3552 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3553 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3557 # We make a subdir and do the tests there. Otherwise we can end up
3558 # making bogus files that we don't know about and never remove. For
3559 # instance it was reported that on HP-UX the gcc test will end up
3560 # making a dummy file named `D' -- because `-MD' means `put the output
3563 # Copy depcomp to subdir because otherwise we won't find it if we're
3564 # using a relative directory.
3565 cp "$am_depcomp" conftest.dir
3567 # We will build objects and dependencies in a subdirectory because
3568 # it helps to detect inapplicable dependency modes. For instance
3569 # both Tru64's cc and ICC support -MD to output dependencies as a
3570 # side effect of compilation, but ICC will put the dependencies in
3571 # the current directory while Tru64 will put them in the object
3575 am_cv_CXX_dependencies_compiler_type=none
3576 if test "$am_compiler_list" = ""; then
3577 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3579 for depmode in $am_compiler_list; do
3580 # Setup a source with many dependencies, because some compilers
3581 # like to wrap large dependency lists on column 80 (with \), and
3582 # we should not choose a depcomp mode which is confused by this.
3584 # We need to recreate these files for each test, as the compiler may
3585 # overwrite some of them when testing with obscure command lines.
3586 # This happens at least with the AIX C compiler.
3588 for i in 1 2 3 4 5 6; do
3589 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3590 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3591 # Solaris 8's {/usr,}/bin/sh.
3592 touch sub/conftst$i.h
3594 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3598 # after this tag, mechanisms are not by side-effect, so they'll
3599 # only be used when explicitly requested
3600 if test "x$enable_dependency_tracking" = xyes; then
3608 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3609 # mode. It turns out that the SunPro C++ compiler does not properly
3610 # handle `-M -o', and we need to detect this.
3611 if depmode=$depmode \
3612 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3613 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3614 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3615 >/dev/null 2>conftest.err &&
3616 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3617 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3618 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3619 # icc doesn't choke on unknown options, it will just issue warnings
3620 # or remarks (even with -Werror). So we grep stderr for any message
3621 # that says an option was ignored or not supported.
3622 # When given -MP, icc 7.0 and 7.1 complain thusly:
3623 # icc: Command line warning: ignoring option '-M'; no argument required
3624 # The diagnosis changed in icc 8.0:
3625 # icc: Command line remark: option '-MP' not supported
3626 if (grep 'ignoring option' conftest.err ||
3627 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3628 am_cv_CXX_dependencies_compiler_type=$depmode
3637 am_cv_CXX_dependencies_compiler_type=none
3641 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3642 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3643 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3648 test "x$enable_dependency_tracking" != xno \
3649 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3650 am__fastdepCXX_TRUE=
3651 am__fastdepCXX_FALSE='#'
3653 am__fastdepCXX_TRUE='#'
3654 am__fastdepCXX_FALSE=
3658 for ac_prog in 'bison -y' byacc
3660 # Extract the first word of "$ac_prog", so it can be a program name with args.
3661 set dummy $ac_prog; ac_word=$2
3662 echo "$as_me:$LINENO: checking for $ac_word" >&5
3663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3664 if test "${ac_cv_prog_YACC+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 if test -n "$YACC"; then
3668 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir=.
3675 for ac_exec_ext in '' $ac_executable_extensions; do
3676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3677 ac_cv_prog_YACC="$ac_prog"
3678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 YACC=$ac_cv_prog_YACC
3687 if test -n "$YACC"; then
3688 echo "$as_me:$LINENO: result: $YACC" >&5
3689 echo "${ECHO_T}$YACC" >&6
3691 echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6
3695 test -n "$YACC" && break
3697 test -n "$YACC" || YACC="yacc"
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3701 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3702 echo "$as_me:$LINENO: checking for $ac_word" >&5
3703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3704 if test "${ac_cv_prog_RANLIB+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 if test -n "$RANLIB"; then
3708 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 RANLIB=$ac_cv_prog_RANLIB
3727 if test -n "$RANLIB"; then
3728 echo "$as_me:$LINENO: result: $RANLIB" >&5
3729 echo "${ECHO_T}$RANLIB" >&6
3731 echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6
3736 if test -z "$ac_cv_prog_RANLIB"; then
3737 ac_ct_RANLIB=$RANLIB
3738 # Extract the first word of "ranlib", so it can be a program name with args.
3739 set dummy ranlib; ac_word=$2
3740 echo "$as_me:$LINENO: checking for $ac_word" >&5
3741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 if test -n "$ac_ct_RANLIB"; then
3746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_RANLIB="ranlib"
3756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3766 if test -n "$ac_ct_RANLIB"; then
3767 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3768 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3774 RANLIB=$ac_ct_RANLIB
3776 RANLIB="$ac_cv_prog_RANLIB"
3779 # Find a good install program. We prefer a C program (faster),
3780 # so one script is as good as another. But avoid the broken or
3781 # incompatible versions:
3782 # SysV /etc/install, /usr/sbin/install
3783 # SunOS /usr/etc/install
3784 # IRIX /sbin/install
3786 # AmigaOS /C/install, which installs bootblocks on floppy discs
3787 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3788 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3789 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3790 # OS/2's system install, which has a completely different semantic
3791 # ./install, which can be erroneously created by make from ./install.sh.
3792 # Reject install programs that cannot install multiple files.
3793 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3794 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3795 if test -z "$INSTALL"; then
3796 if test "${ac_cv_path_install+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir=.
3804 # Account for people who put trailing slashes in PATH elements.
3806 ./ | .// | /cC/* | \
3807 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3808 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3811 # OSF1 and SCO ODT 3.0 have their own names for install.
3812 # Don't use installbsd from OSF since it installs stuff as root
3814 for ac_prog in ginstall scoinst install; do
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3817 if test $ac_prog = install &&
3818 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3819 # AIX install. It has an incompatible calling convention.
3821 elif test $ac_prog = install &&
3822 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3823 # program-specific install script used by HP pwplus--don't use.
3826 rm -rf conftest.one conftest.two conftest.dir
3827 echo one > conftest.one
3828 echo two > conftest.two
3830 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3831 test -s conftest.one && test -s conftest.two &&
3832 test -s conftest.dir/conftest.one &&
3833 test -s conftest.dir/conftest.two
3835 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3846 rm -rf conftest.one conftest.two conftest.dir
3849 if test "${ac_cv_path_install+set}" = set; then
3850 INSTALL=$ac_cv_path_install
3852 # As a last resort, use the slow shell script. Don't cache a
3853 # value for INSTALL within a source directory, because that will
3854 # break other packages using the cache if that directory is
3855 # removed, or if the value is a relative name.
3856 INSTALL=$ac_install_sh
3859 echo "$as_me:$LINENO: result: $INSTALL" >&5
3860 echo "${ECHO_T}$INSTALL" >&6
3862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3863 # It thinks the first close brace ends the variable substitution.
3864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3870 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3871 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3873 if test "$LN_S" = "ln -s"; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3878 echo "${ECHO_T}no, using $LN_S" >&6
3883 cat >>confdefs.h <<\_ACEOF
3884 #define _GNU_SOURCE 1
3889 # If we haven't got the data from the intl directory,
3890 # assume NLS is disabled.
3899 if test -f ../intl/config.intl; then
3900 . ../intl/config.intl
3902 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3903 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3904 if test x"$USE_NLS" != xyes; then
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3908 echo "$as_me:$LINENO: result: yes" >&5
3909 echo "${ECHO_T}yes" >&6
3911 cat >>confdefs.h <<\_ACEOF
3912 #define ENABLE_NLS 1
3916 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3917 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3918 # Look for .po and .gmo files in the source directory.
3921 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3922 # If there aren't any .gmo files the shell will give us the
3923 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3925 case "$cat" in *\**)
3928 # The quadruple backslash is collapsed to a double backslash
3929 # by the backticks, then collapsed again by the double quotes,
3930 # leaving us with one backslash in the sed expression (right
3931 # before the dot that mustn't act as a wildcard).
3932 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3933 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
3934 # The user is allowed to set LINGUAS to a list of languages to
3935 # install catalogs for. If it's empty that means "all of them."
3936 if test "x$LINGUAS" = x; then
3937 CATALOGS="$CATALOGS $cat"
3938 XLINGUAS="$XLINGUAS $lang"
3940 case "$LINGUAS" in *$lang*)
3941 CATALOGS="$CATALOGS $cat"
3942 XLINGUAS="$XLINGUAS $lang"
3948 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3949 echo "${ECHO_T}$LINGUAS" >&6
3963 if test -n "$ac_aux_dir"; then
3964 case "$ac_aux_dir" in
3965 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3966 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3969 if test -z "$MKINSTALLDIRS"; then
3970 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3975 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3976 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3977 # Check whether --enable-nls or --disable-nls was given.
3978 if test "${enable_nls+set}" = set; then
3979 enableval="$enable_nls"
3984 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3985 echo "${ECHO_T}$USE_NLS" >&6
3992 # Prepare PATH_SEPARATOR.
3993 # The user is always right.
3994 if test "${PATH_SEPARATOR+set}" != set; then
3995 echo "#! /bin/sh" >conf$$.sh
3996 echo "exit 0" >>conf$$.sh
3998 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4006 # Find out how to test for executable files. Don't use a zero-byte file,
4007 # as systems may use methods other than mode bits to determine executability.
4008 cat >conf$$.file <<_ASEOF
4012 chmod +x conf$$.file
4013 if test -x conf$$.file >/dev/null 2>&1; then
4014 ac_executable_p="test -x"
4016 ac_executable_p="test -f"
4020 # Extract the first word of "msgfmt", so it can be a program name with args.
4021 set dummy msgfmt; ac_word=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_path_MSGFMT+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4032 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4033 for ac_dir in $PATH; do
4035 test -z "$ac_dir" && ac_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4038 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4039 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4040 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4047 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4051 MSGFMT="$ac_cv_path_MSGFMT"
4052 if test "$MSGFMT" != ":"; then
4053 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4054 echo "${ECHO_T}$MSGFMT" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4060 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4061 set dummy gmsgfmt; ac_word=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4090 GMSGFMT=$ac_cv_path_GMSGFMT
4092 if test -n "$GMSGFMT"; then
4093 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4094 echo "${ECHO_T}$GMSGFMT" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4102 # Prepare PATH_SEPARATOR.
4103 # The user is always right.
4104 if test "${PATH_SEPARATOR+set}" != set; then
4105 echo "#! /bin/sh" >conf$$.sh
4106 echo "exit 0" >>conf$$.sh
4108 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4116 # Find out how to test for executable files. Don't use a zero-byte file,
4117 # as systems may use methods other than mode bits to determine executability.
4118 cat >conf$$.file <<_ASEOF
4122 chmod +x conf$$.file
4123 if test -x conf$$.file >/dev/null 2>&1; then
4124 ac_executable_p="test -x"
4126 ac_executable_p="test -f"
4130 # Extract the first word of "xgettext", so it can be a program name with args.
4131 set dummy xgettext; ac_word=$2
4132 echo "$as_me:$LINENO: checking for $ac_word" >&5
4133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4134 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4142 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4143 for ac_dir in $PATH; do
4145 test -z "$ac_dir" && ac_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4148 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4149 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4150 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4157 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4161 XGETTEXT="$ac_cv_path_XGETTEXT"
4162 if test "$XGETTEXT" != ":"; then
4163 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4164 echo "${ECHO_T}$XGETTEXT" >&6
4166 echo "$as_me:$LINENO: result: no" >&5
4167 echo "${ECHO_T}no" >&6
4173 # Prepare PATH_SEPARATOR.
4174 # The user is always right.
4175 if test "${PATH_SEPARATOR+set}" != set; then
4176 echo "#! /bin/sh" >conf$$.sh
4177 echo "exit 0" >>conf$$.sh
4179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4187 # Find out how to test for executable files. Don't use a zero-byte file,
4188 # as systems may use methods other than mode bits to determine executability.
4189 cat >conf$$.file <<_ASEOF
4193 chmod +x conf$$.file
4194 if test -x conf$$.file >/dev/null 2>&1; then
4195 ac_executable_p="test -x"
4197 ac_executable_p="test -f"
4201 # Extract the first word of "msgmerge", so it can be a program name with args.
4202 set dummy msgmerge; ac_word=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4213 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4214 for ac_dir in $PATH; do
4216 test -z "$ac_dir" && ac_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4219 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4220 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4227 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4231 MSGMERGE="$ac_cv_path_MSGMERGE"
4232 if test "$MSGMERGE" != ":"; then
4233 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4234 echo "${ECHO_T}$MSGMERGE" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4241 if test "$GMSGFMT" != ":"; then
4242 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4243 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4246 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4247 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4248 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4253 if test "$XGETTEXT" != ":"; then
4254 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4255 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4258 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4259 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4265 ac_config_commands="$ac_config_commands default-1"
4270 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4271 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4272 if test "${ac_cv_c_bigendian+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 # See if sys/param.h defines the BYTE_ORDER macro.
4276 cat >conftest.$ac_ext <<_ACEOF
4279 cat confdefs.h >>conftest.$ac_ext
4280 cat >>conftest.$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4282 #include <sys/types.h>
4283 #include <sys/param.h>
4288 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4296 rm -f conftest.$ac_objext
4297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4298 (eval $ac_compile) 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try='test -z "$ac_c_werror_flag"
4306 || test ! -s conftest.err'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; } &&
4312 { ac_try='test -s conftest.$ac_objext'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; }; then
4318 # It does; now see whether it defined to BIG_ENDIAN or not.
4319 cat >conftest.$ac_ext <<_ACEOF
4322 cat confdefs.h >>conftest.$ac_ext
4323 cat >>conftest.$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4325 #include <sys/types.h>
4326 #include <sys/param.h>
4331 #if BYTE_ORDER != BIG_ENDIAN
4339 rm -f conftest.$ac_objext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4341 (eval $ac_compile) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try='test -z "$ac_c_werror_flag"
4349 || test ! -s conftest.err'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; } &&
4355 { ac_try='test -s conftest.$ac_objext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_c_bigendian=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4366 ac_cv_c_bigendian=no
4368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 # It does not; compile a test program.
4374 if test "$cross_compiling" = yes; then
4375 # try to guess the endianness by grepping values into an object file
4376 ac_cv_c_bigendian=unknown
4377 cat >conftest.$ac_ext <<_ACEOF
4380 cat confdefs.h >>conftest.$ac_ext
4381 cat >>conftest.$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4383 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4384 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4385 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4386 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4387 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4388 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4392 _ascii (); _ebcdic ();
4397 rm -f conftest.$ac_objext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4399 (eval $ac_compile) 2>conftest.er1
4401 grep -v '^ *+' conftest.er1 >conftest.err
4403 cat conftest.err >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } &&
4406 { ac_try='test -z "$ac_c_werror_flag"
4407 || test ! -s conftest.err'
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; } &&
4413 { ac_try='test -s conftest.$ac_objext'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; }; then
4419 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4420 ac_cv_c_bigendian=yes
4422 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4423 if test "$ac_cv_c_bigendian" = unknown; then
4424 ac_cv_c_bigendian=no
4426 # finding both strings is unlikely to happen, but who knows?
4427 ac_cv_c_bigendian=unknown
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4437 cat >conftest.$ac_ext <<_ACEOF
4440 cat confdefs.h >>conftest.$ac_ext
4441 cat >>conftest.$ac_ext <<_ACEOF
4442 /* end confdefs.h. */
4446 /* Are we little or big endian? From Harbison&Steele. */
4450 char c[sizeof (long)];
4453 exit (u.c[sizeof (long) - 1] == 1);
4456 rm -f conftest$ac_exeext
4457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4458 (eval $ac_link) 2>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; }; then
4467 ac_cv_c_bigendian=no
4469 echo "$as_me: program exited with status $ac_status" >&5
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.$ac_ext >&5
4474 ac_cv_c_bigendian=yes
4476 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4481 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4482 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4483 case $ac_cv_c_bigendian in
4486 cat >>confdefs.h <<\_ACEOF
4487 #define WORDS_BIGENDIAN 1
4493 { { echo "$as_me:$LINENO: error: unknown endianness
4494 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4495 echo "$as_me: error: unknown endianness
4496 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4497 { (exit 1); exit 1; }; } ;;
4505 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4507 NATIVE_LINKER_FALSE='#'
4509 NATIVE_LINKER_TRUE='#'
4510 NATIVE_LINKER_FALSE=
4515 if test "$GCC" = yes; then
4533 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
4534 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
4536 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
4537 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
4541 echo "$as_me:$LINENO: checking for thread support" >&5
4542 echo $ECHO_N "checking for thread support... $ECHO_C" >&6
4543 if test "${gold_cv_c_thread+set}" = set; then
4544 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 cat >conftest.$ac_ext <<_ACEOF
4549 rm -f conftest.$ac_objext
4550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4551 (eval $ac_compile) 2>conftest.er1
4553 grep -v '^ *+' conftest.er1 >conftest.err
4555 cat conftest.err >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } &&
4558 { ac_try='test -z "$ac_c_werror_flag"
4559 || test ! -s conftest.err'
4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); }; } &&
4565 { ac_try='test -s conftest.$ac_objext'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; }; then
4571 gold_cv_c_thread=yes
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4580 echo "$as_me:$LINENO: result: $gold_cv_c_thread" >&5
4581 echo "${ECHO_T}$gold_cv_c_thread" >&6
4585 if test "$gold_cv_c_thread" = "yes"; then
4594 echo "$as_me:$LINENO: checking for glibc >= 2.4" >&5
4595 echo $ECHO_N "checking for glibc >= 2.4... $ECHO_C" >&6
4596 if test "${gold_cv_lib_glibc24+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 cat >conftest.$ac_ext <<_ACEOF
4601 #include <features.h>
4602 #if !defined __GLIBC__
4604 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
4609 rm -f conftest.$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1 >conftest.err
4615 cat conftest.err >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try='test -s conftest.$ac_objext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 gold_cv_lib_glibc24=yes
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.$ac_ext >&5
4636 gold_cv_lib_glibc24=no
4638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4640 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc24" >&5
4641 echo "${ECHO_T}$gold_cv_lib_glibc24" >&6
4645 if test "$gold_cv_lib_glibc24" = "yes"; then
4647 STATIC_TLS_FALSE='#'
4654 echo "$as_me:$LINENO: checking for omp support" >&5
4655 echo $ECHO_N "checking for omp support... $ECHO_C" >&6
4656 if test "${gold_cv_c_threadprivate+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 save_CFLAGS="$CFLAGS"
4660 CFLAGS="$CFLAGS -fopenmp"
4661 cat >conftest.$ac_ext <<_ACEOF
4665 #pragma omp threadprivate (i)
4668 rm -f conftest.$ac_objext
4669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4670 (eval $ac_compile) 2>conftest.er1
4672 grep -v '^ *+' conftest.er1 >conftest.err
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } &&
4677 { ac_try='test -z "$ac_c_werror_flag"
4678 || test ! -s conftest.err'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; } &&
4684 { ac_try='test -s conftest.$ac_objext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 gold_cv_c_threadprivate=yes
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.$ac_ext >&5
4695 gold_cv_c_threadprivate=no
4697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4698 CFLAGS="$save_CFLAGS"
4700 echo "$as_me:$LINENO: result: $gold_cv_c_threadprivate" >&5
4701 echo "${ECHO_T}$gold_cv_c_threadprivate" >&6
4702 if test "$gold_cv_c_threadprivate" = "yes"; then
4704 cat >>confdefs.h <<\_ACEOF
4705 #define HAVE_OMP_SUPPORT 1
4711 if test "$gold_cv_c_threadprivate" = "yes"; then
4713 OMP_SUPPORT_FALSE='#'
4715 OMP_SUPPORT_TRUE='#'
4720 save_CFLAGS="$CFLAGS"
4721 CFLAGS="$CFLAGS -mtls-dialect=gnu2"
4722 cat >conftest.$ac_ext <<_ACEOF
4725 rm -f conftest.$ac_objext
4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4727 (eval $ac_compile) 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -z "$ac_c_werror_flag"
4735 || test ! -s conftest.err'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest.$ac_objext'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4755 CFLAGS="$save_CFLAGS"
4758 if test "$have_tls_gnu2" = "yes"; then
4759 TLS_GNU2_DIALECT_TRUE=
4760 TLS_GNU2_DIALECT_FALSE='#'
4762 TLS_GNU2_DIALECT_TRUE='#'
4763 TLS_GNU2_DIALECT_FALSE=
4767 echo "$as_me:$LINENO: checking for glibc >= 2.5" >&5
4768 echo $ECHO_N "checking for glibc >= 2.5... $ECHO_C" >&6
4769 if test "${gold_cv_lib_glibc25+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4774 #include <features.h>
4775 #if !defined __GLIBC__
4777 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 5)
4782 rm -f conftest.$ac_objext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try='test -z "$ac_c_werror_flag"
4792 || test ! -s conftest.err'
4793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; } &&
4798 { ac_try='test -s conftest.$ac_objext'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; }; then
4804 gold_cv_lib_glibc25=yes
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.$ac_ext >&5
4809 gold_cv_lib_glibc25=no
4811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4813 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc25" >&5
4814 echo "${ECHO_T}$gold_cv_lib_glibc25" >&6
4818 if test "$gold_cv_lib_glibc25" = "yes"; then
4819 TLS_DESCRIPTORS_TRUE=
4820 TLS_DESCRIPTORS_FALSE='#'
4822 TLS_DESCRIPTORS_TRUE='#'
4823 TLS_DESCRIPTORS_FALSE=
4827 echo "$as_me:$LINENO: checking for constructor priorities" >&5
4828 echo $ECHO_N "checking for constructor priorities... $ECHO_C" >&6
4829 if test "${gold_cv_c_conprio+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 cat >conftest.$ac_ext <<_ACEOF
4833 void f() __attribute__ ((constructor (1)));
4835 rm -f conftest.$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag"
4845 || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; } &&
4851 { ac_try='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; }; then
4857 gold_cv_c_conprio=yes
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.$ac_ext >&5
4862 gold_cv_c_conprio=no
4864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4866 echo "$as_me:$LINENO: result: $gold_cv_c_conprio" >&5
4867 echo "${ECHO_T}$gold_cv_c_conprio" >&6
4871 if test "$gold_cv_c_conprio" = "yes"; then
4872 CONSTRUCTOR_PRIORITY_TRUE=
4873 CONSTRUCTOR_PRIORITY_FALSE='#'
4875 CONSTRUCTOR_PRIORITY_TRUE='#'
4876 CONSTRUCTOR_PRIORITY_FALSE=
4881 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4883 # Check whether --enable-werror or --disable-werror was given.
4884 if test "${enable_werror+set}" = set; then
4885 enableval="$enable_werror"
4886 case "${enableval}" in
4887 yes | y) ERROR_ON_WARNING="yes" ;;
4888 no | n) ERROR_ON_WARNING="no" ;;
4889 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4890 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4891 { (exit 1); exit 1; }; } ;;
4895 # Enable -Wno-format by default when using gcc on mingw
4898 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4899 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
4905 # Enable -Werror by default when using gcc
4906 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4907 ERROR_ON_WARNING=yes
4911 if test "${ERROR_ON_WARNING}" = yes ; then
4912 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4913 NO_WERROR="-Wno-error"
4916 if test "${GCC}" = yes ; then
4917 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4920 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4921 if test "${enable_build_warnings+set}" = set; then
4922 enableval="$enable_build_warnings"
4923 case "${enableval}" in
4924 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4925 no) if test "${GCC}" = yes ; then
4928 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4929 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4930 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4931 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4932 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4936 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4937 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4944 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4947 LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4951 for ac_func in pread
4953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4954 echo "$as_me:$LINENO: checking for $ac_func" >&5
4955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4956 if eval "test \"\${$as_ac_var+set}\" = set"; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 cat >conftest.$ac_ext <<_ACEOF
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
4964 /* end confdefs.h. */
4965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4967 #define $ac_func innocuous_$ac_func
4969 /* System header to define __stub macros and hopefully few prototypes,
4970 which can conflict with char $ac_func (); below.
4971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4972 <limits.h> exists even on freestanding compilers. */
4975 # include <limits.h>
4977 # include <assert.h>
4982 /* Override any gcc2 internal prototype to avoid an error. */
4987 /* We use char because int might match the return type of a gcc2
4988 builtin and then its argument prototype would still apply. */
4990 /* The GNU C library defines this for functions which it implements
4991 to always fail with ENOSYS. Some functions are actually named
4992 something starting with __ and the normal name is an alias. */
4993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4996 char (*f) () = $ac_func;
5005 return f != $ac_func;
5010 rm -f conftest.$ac_objext conftest$ac_exeext
5011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5012 (eval $ac_link) 2>conftest.er1
5014 grep -v '^ *+' conftest.er1 >conftest.err
5016 cat conftest.err >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); } &&
5019 { ac_try='test -z "$ac_c_werror_flag"
5020 || test ! -s conftest.err'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; } &&
5026 { ac_try='test -s conftest$ac_exeext'
5027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); }; }; then
5032 eval "$as_ac_var=yes"
5034 echo "$as_me: failed program was:" >&5
5035 sed 's/^/| /' conftest.$ac_ext >&5
5037 eval "$as_ac_var=no"
5039 rm -f conftest.err conftest.$ac_objext \
5040 conftest$ac_exeext conftest.$ac_ext
5042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5044 if test `eval echo '${'$as_ac_var'}'` = yes; then
5045 cat >>confdefs.h <<_ACEOF
5046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5051 "$ac_func.$ac_objext" | \
5052 *" $ac_func.$ac_objext" | \
5053 "$ac_func.$ac_objext "* | \
5054 *" $ac_func.$ac_objext "* ) ;;
5055 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
5063 # Link in zlib if we can. This allows us to write compressed sections.
5065 ac_cpp='$CPP $CPPFLAGS'
5066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5069 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5070 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5071 # On Suns, sometimes $CPP names a directory.
5072 if test -n "$CPP" && test -d "$CPP"; then
5075 if test -z "$CPP"; then
5076 if test "${ac_cv_prog_CPP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 # Double quotes because CPP needs to be expanded
5080 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5083 for ac_c_preproc_warn_flag in '' yes
5085 # Use a header file that comes with gcc, so configuring glibc
5086 # with a fresh cross-compiler works.
5087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 # <limits.h> exists even on freestanding compilers.
5089 # On the NeXT, cc -E runs the code through the compiler's parser,
5090 # not just through cpp. "Syntax error" is here to catch this case.
5091 cat >conftest.$ac_ext <<_ACEOF
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5098 # include <limits.h>
5100 # include <assert.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1 >conftest.err
5109 cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev/null; then
5112 if test -s conftest.err; then
5113 ac_cpp_err=$ac_c_preproc_warn_flag
5114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5121 if test -z "$ac_cpp_err"; then
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5127 # Broken: fails on valid input.
5130 rm -f conftest.err conftest.$ac_ext
5132 # OK, works on sane cases. Now check whether non-existent headers
5133 # can be detected and how.
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 #include <ac_nonexistent.h>
5142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5145 grep -v '^ *+' conftest.er1 >conftest.err
5147 cat conftest.err >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } >/dev/null; then
5150 if test -s conftest.err; then
5151 ac_cpp_err=$ac_c_preproc_warn_flag
5152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5159 if test -z "$ac_cpp_err"; then
5160 # Broken: success on invalid input.
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 # Passes both tests.
5170 rm -f conftest.err conftest.$ac_ext
5173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5174 rm -f conftest.err conftest.$ac_ext
5175 if $ac_preproc_ok; then
5187 echo "$as_me:$LINENO: result: $CPP" >&5
5188 echo "${ECHO_T}$CPP" >&6
5190 for ac_c_preproc_warn_flag in '' yes
5192 # Use a header file that comes with gcc, so configuring glibc
5193 # with a fresh cross-compiler works.
5194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5195 # <limits.h> exists even on freestanding compilers.
5196 # On the NeXT, cc -E runs the code through the compiler's parser,
5197 # not just through cpp. "Syntax error" is here to catch this case.
5198 cat >conftest.$ac_ext <<_ACEOF
5201 cat confdefs.h >>conftest.$ac_ext
5202 cat >>conftest.$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5205 # include <limits.h>
5207 # include <assert.h>
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1 >conftest.err
5216 cat conftest.err >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev/null; then
5219 if test -s conftest.err; then
5220 ac_cpp_err=$ac_c_preproc_warn_flag
5221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5228 if test -z "$ac_cpp_err"; then
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5234 # Broken: fails on valid input.
5237 rm -f conftest.err conftest.$ac_ext
5239 # OK, works on sane cases. Now check whether non-existent headers
5240 # can be detected and how.
5241 cat >conftest.$ac_ext <<_ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 #include <ac_nonexistent.h>
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1 >conftest.err
5254 cat conftest.err >&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev/null; then
5257 if test -s conftest.err; then
5258 ac_cpp_err=$ac_c_preproc_warn_flag
5259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5266 if test -z "$ac_cpp_err"; then
5267 # Broken: success on invalid input.
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5273 # Passes both tests.
5277 rm -f conftest.err conftest.$ac_ext
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.$ac_ext
5282 if $ac_preproc_ok; then
5285 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5286 See \`config.log' for more details." >&5
5287 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5288 See \`config.log' for more details." >&2;}
5289 { (exit 1); exit 1; }; }
5293 ac_cpp='$CPP $CPPFLAGS'
5294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5299 echo "$as_me:$LINENO: checking for egrep" >&5
5300 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5301 if test "${ac_cv_prog_egrep+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5305 then ac_cv_prog_egrep='grep -E'
5306 else ac_cv_prog_egrep='egrep'
5309 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5310 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5311 EGREP=$ac_cv_prog_egrep
5314 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5315 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5316 if test "${ac_cv_header_stdc+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 cat >conftest.$ac_ext <<_ACEOF
5322 cat confdefs.h >>conftest.$ac_ext
5323 cat >>conftest.$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5338 rm -f conftest.$ac_objext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 (eval $ac_compile) 2>conftest.er1
5342 grep -v '^ *+' conftest.er1 >conftest.err
5344 cat conftest.err >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try='test -z "$ac_c_werror_flag"
5348 || test ! -s conftest.err'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; } &&
5354 { ac_try='test -s conftest.$ac_objext'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5360 ac_cv_header_stdc=yes
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 ac_cv_header_stdc=no
5367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5369 if test $ac_cv_header_stdc = yes; then
5370 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5371 cat >conftest.$ac_ext <<_ACEOF
5374 cat confdefs.h >>conftest.$ac_ext
5375 cat >>conftest.$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5381 $EGREP "memchr" >/dev/null 2>&1; then
5384 ac_cv_header_stdc=no
5390 if test $ac_cv_header_stdc = yes; then
5391 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5392 cat >conftest.$ac_ext <<_ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5402 $EGREP "free" >/dev/null 2>&1; then
5405 ac_cv_header_stdc=no
5411 if test $ac_cv_header_stdc = yes; then
5412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5413 if test "$cross_compiling" = yes; then
5416 cat >conftest.$ac_ext <<_ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5423 #if ((' ' & 0x0FF) == 0x020)
5424 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5425 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5427 # define ISLOWER(c) \
5428 (('a' <= (c) && (c) <= 'i') \
5429 || ('j' <= (c) && (c) <= 'r') \
5430 || ('s' <= (c) && (c) <= 'z'))
5431 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5434 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5439 for (i = 0; i < 256; i++)
5440 if (XOR (islower (i), ISLOWER (i))
5441 || toupper (i) != TOUPPER (i))
5446 rm -f conftest$ac_exeext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5448 (eval $ac_link) 2>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5459 echo "$as_me: program exited with status $ac_status" >&5
5460 echo "$as_me: failed program was:" >&5
5461 sed 's/^/| /' conftest.$ac_ext >&5
5464 ac_cv_header_stdc=no
5466 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5470 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5471 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5472 if test $ac_cv_header_stdc = yes; then
5474 cat >>confdefs.h <<\_ACEOF
5475 #define STDC_HEADERS 1
5480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5490 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5491 inttypes.h stdint.h unistd.h
5493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5494 echo "$as_me:$LINENO: checking for $ac_header" >&5
5495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 cat >conftest.$ac_ext <<_ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 $ac_includes_default
5507 #include <$ac_header>
5509 rm -f conftest.$ac_objext
5510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5511 (eval $ac_compile) 2>conftest.er1
5513 grep -v '^ *+' conftest.er1 >conftest.err
5515 cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } &&
5518 { ac_try='test -z "$ac_c_werror_flag"
5519 || test ! -s conftest.err'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; } &&
5525 { ac_try='test -s conftest.$ac_objext'
5526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 eval "$as_ac_Header=yes"
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 eval "$as_ac_Header=no"
5538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5543 cat >>confdefs.h <<_ACEOF
5544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5552 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5553 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
5554 if test "${ac_cv_search_zlibVersion+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 ac_func_search_save_LIBS=$LIBS
5558 ac_cv_search_zlibVersion=no
5559 cat >conftest.$ac_ext <<_ACEOF
5562 cat confdefs.h >>conftest.$ac_ext
5563 cat >>conftest.$ac_ext <<_ACEOF
5564 /* end confdefs.h. */
5566 /* Override any gcc2 internal prototype to avoid an error. */
5570 /* We use char because int might match the return type of a gcc2
5571 builtin and then its argument prototype would still apply. */
5572 char zlibVersion ();
5581 rm -f conftest.$ac_objext conftest$ac_exeext
5582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5583 (eval $ac_link) 2>conftest.er1
5585 grep -v '^ *+' conftest.er1 >conftest.err
5587 cat conftest.err >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try='test -z "$ac_c_werror_flag"
5591 || test ! -s conftest.err'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; } &&
5597 { ac_try='test -s conftest$ac_exeext'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; }; then
5603 ac_cv_search_zlibVersion="none required"
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.$ac_ext >&5
5609 rm -f conftest.err conftest.$ac_objext \
5610 conftest$ac_exeext conftest.$ac_ext
5611 if test "$ac_cv_search_zlibVersion" = no; then
5613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5621 /* Override any gcc2 internal prototype to avoid an error. */
5625 /* We use char because int might match the return type of a gcc2
5626 builtin and then its argument prototype would still apply. */
5627 char zlibVersion ();
5636 rm -f conftest.$ac_objext conftest$ac_exeext
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>conftest.er1
5640 grep -v '^ *+' conftest.er1 >conftest.err
5642 cat conftest.err >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } &&
5645 { ac_try='test -z "$ac_c_werror_flag"
5646 || test ! -s conftest.err'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; } &&
5652 { ac_try='test -s conftest$ac_exeext'
5653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); }; }; then
5658 ac_cv_search_zlibVersion="-l$ac_lib"
5661 echo "$as_me: failed program was:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5665 rm -f conftest.err conftest.$ac_objext \
5666 conftest$ac_exeext conftest.$ac_ext
5669 LIBS=$ac_func_search_save_LIBS
5671 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5672 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
5673 if test "$ac_cv_search_zlibVersion" != no; then
5674 test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
5676 for ac_header in zlib.h
5678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo "$as_me:$LINENO: checking for $ac_header" >&5
5681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5688 # Is the header compilable?
5689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 $ac_includes_default
5698 #include <$ac_header>
5700 rm -f conftest.$ac_objext
5701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5702 (eval $ac_compile) 2>conftest.er1
5704 grep -v '^ *+' conftest.er1 >conftest.err
5706 cat conftest.err >&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); } &&
5709 { ac_try='test -z "$ac_c_werror_flag"
5710 || test ! -s conftest.err'
5711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; } &&
5716 { ac_try='test -s conftest.$ac_objext'
5717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); }; }; then
5722 ac_header_compiler=yes
5724 echo "$as_me: failed program was:" >&5
5725 sed 's/^/| /' conftest.$ac_ext >&5
5727 ac_header_compiler=no
5729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5731 echo "${ECHO_T}$ac_header_compiler" >&6
5733 # Is the header present?
5734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5736 cat >conftest.$ac_ext <<_ACEOF
5739 cat confdefs.h >>conftest.$ac_ext
5740 cat >>conftest.$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5742 #include <$ac_header>
5744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5747 grep -v '^ *+' conftest.er1 >conftest.err
5749 cat conftest.err >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } >/dev/null; then
5752 if test -s conftest.err; then
5753 ac_cpp_err=$ac_c_preproc_warn_flag
5754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5761 if test -z "$ac_cpp_err"; then
5762 ac_header_preproc=yes
5764 echo "$as_me: failed program was:" >&5
5765 sed 's/^/| /' conftest.$ac_ext >&5
5767 ac_header_preproc=no
5769 rm -f conftest.err conftest.$ac_ext
5770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5771 echo "${ECHO_T}$ac_header_preproc" >&6
5773 # So? What about this header?
5774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5776 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5777 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5779 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5780 ac_header_preproc=yes
5783 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5784 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5785 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5786 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5787 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5788 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5789 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5790 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5793 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5794 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5797 ## ------------------------------- ##
5798 ## Report this to the gold lists. ##
5799 ## ------------------------------- ##
5802 sed "s/^/$as_me: WARNING: /" >&2
5805 echo "$as_me:$LINENO: checking for $ac_header" >&5
5806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 eval "$as_ac_Header=\$ac_header_preproc"
5812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5817 cat >>confdefs.h <<_ACEOF
5818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5829 if test "$ac_cv_search_zlibVersion" != "no"; then
5839 ac_cpp='$CXXCPP $CPPFLAGS'
5840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5847 ac_cpp='$CXXCPP $CPPFLAGS'
5848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5851 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5852 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5853 if test -z "$CXXCPP"; then
5854 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 # Double quotes because CXXCPP needs to be expanded
5858 for CXXCPP in "$CXX -E" "/lib/cpp"
5861 for ac_cxx_preproc_warn_flag in '' yes
5863 # Use a header file that comes with gcc, so configuring glibc
5864 # with a fresh cross-compiler works.
5865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5866 # <limits.h> exists even on freestanding compilers.
5867 # On the NeXT, cc -E runs the code through the compiler's parser,
5868 # not just through cpp. "Syntax error" is here to catch this case.
5869 cat >conftest.$ac_ext <<_ACEOF
5872 cat confdefs.h >>conftest.$ac_ext
5873 cat >>conftest.$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5876 # include <limits.h>
5878 # include <assert.h>
5882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5885 grep -v '^ *+' conftest.er1 >conftest.err
5887 cat conftest.err >&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); } >/dev/null; then
5890 if test -s conftest.err; then
5891 ac_cpp_err=$ac_cxx_preproc_warn_flag
5892 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5899 if test -z "$ac_cpp_err"; then
5902 echo "$as_me: failed program was:" >&5
5903 sed 's/^/| /' conftest.$ac_ext >&5
5905 # Broken: fails on valid input.
5908 rm -f conftest.err conftest.$ac_ext
5910 # OK, works on sane cases. Now check whether non-existent headers
5911 # can be detected and how.
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #include <ac_nonexistent.h>
5920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1 >conftest.err
5925 cat conftest.err >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } >/dev/null; then
5928 if test -s conftest.err; then
5929 ac_cpp_err=$ac_cxx_preproc_warn_flag
5930 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5937 if test -z "$ac_cpp_err"; then
5938 # Broken: success on invalid input.
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5944 # Passes both tests.
5948 rm -f conftest.err conftest.$ac_ext
5951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5952 rm -f conftest.err conftest.$ac_ext
5953 if $ac_preproc_ok; then
5958 ac_cv_prog_CXXCPP=$CXXCPP
5961 CXXCPP=$ac_cv_prog_CXXCPP
5963 ac_cv_prog_CXXCPP=$CXXCPP
5965 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5966 echo "${ECHO_T}$CXXCPP" >&6
5968 for ac_cxx_preproc_warn_flag in '' yes
5970 # Use a header file that comes with gcc, so configuring glibc
5971 # with a fresh cross-compiler works.
5972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5973 # <limits.h> exists even on freestanding compilers.
5974 # On the NeXT, cc -E runs the code through the compiler's parser,
5975 # not just through cpp. "Syntax error" is here to catch this case.
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5983 # include <limits.h>
5985 # include <assert.h>
5989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5992 grep -v '^ *+' conftest.er1 >conftest.err
5994 cat conftest.err >&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } >/dev/null; then
5997 if test -s conftest.err; then
5998 ac_cpp_err=$ac_cxx_preproc_warn_flag
5999 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6006 if test -z "$ac_cpp_err"; then
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.$ac_ext >&5
6012 # Broken: fails on valid input.
6015 rm -f conftest.err conftest.$ac_ext
6017 # OK, works on sane cases. Now check whether non-existent headers
6018 # can be detected and how.
6019 cat >conftest.$ac_ext <<_ACEOF
6022 cat confdefs.h >>conftest.$ac_ext
6023 cat >>conftest.$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6025 #include <ac_nonexistent.h>
6027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6030 grep -v '^ *+' conftest.er1 >conftest.err
6032 cat conftest.err >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } >/dev/null; then
6035 if test -s conftest.err; then
6036 ac_cpp_err=$ac_cxx_preproc_warn_flag
6037 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6044 if test -z "$ac_cpp_err"; then
6045 # Broken: success on invalid input.
6048 echo "$as_me: failed program was:" >&5
6049 sed 's/^/| /' conftest.$ac_ext >&5
6051 # Passes both tests.
6055 rm -f conftest.err conftest.$ac_ext
6058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6059 rm -f conftest.err conftest.$ac_ext
6060 if $ac_preproc_ok; then
6063 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6064 See \`config.log' for more details." >&5
6065 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6066 See \`config.log' for more details." >&2;}
6067 { (exit 1); exit 1; }; }
6071 ac_cpp='$CXXCPP $CPPFLAGS'
6072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6079 for ac_header in tr1/unordered_set tr1/unordered_map
6081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6083 echo "$as_me:$LINENO: checking for $ac_header" >&5
6084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6091 # Is the header compilable?
6092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6094 cat >conftest.$ac_ext <<_ACEOF
6097 cat confdefs.h >>conftest.$ac_ext
6098 cat >>conftest.$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6100 $ac_includes_default
6101 #include <$ac_header>
6103 rm -f conftest.$ac_objext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6105 (eval $ac_compile) 2>conftest.er1
6107 grep -v '^ *+' conftest.er1 >conftest.err
6109 cat conftest.err >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } &&
6112 { ac_try='test -z "$ac_cxx_werror_flag"
6113 || test ! -s conftest.err'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; } &&
6119 { ac_try='test -s conftest.$ac_objext'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; }; then
6125 ac_header_compiler=yes
6127 echo "$as_me: failed program was:" >&5
6128 sed 's/^/| /' conftest.$ac_ext >&5
6130 ac_header_compiler=no
6132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6134 echo "${ECHO_T}$ac_header_compiler" >&6
6136 # Is the header present?
6137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6139 cat >conftest.$ac_ext <<_ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6145 #include <$ac_header>
6147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1 >conftest.err
6152 cat conftest.err >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } >/dev/null; then
6155 if test -s conftest.err; then
6156 ac_cpp_err=$ac_cxx_preproc_warn_flag
6157 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6164 if test -z "$ac_cpp_err"; then
6165 ac_header_preproc=yes
6167 echo "$as_me: failed program was:" >&5
6168 sed 's/^/| /' conftest.$ac_ext >&5
6170 ac_header_preproc=no
6172 rm -f conftest.err conftest.$ac_ext
6173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6174 echo "${ECHO_T}$ac_header_preproc" >&6
6176 # So? What about this header?
6177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6183 ac_header_preproc=yes
6186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6200 ## ------------------------------- ##
6201 ## Report this to the gold lists. ##
6202 ## ------------------------------- ##
6205 sed "s/^/$as_me: WARNING: /" >&2
6208 echo "$as_me:$LINENO: checking for $ac_header" >&5
6209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 eval "$as_ac_Header=\$ac_header_preproc"
6215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6220 cat >>confdefs.h <<_ACEOF
6221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6230 for ac_header in ext/hash_map ext/hash_set
6232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6234 echo "$as_me:$LINENO: checking for $ac_header" >&5
6235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6242 # Is the header compilable?
6243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6245 cat >conftest.$ac_ext <<_ACEOF
6248 cat confdefs.h >>conftest.$ac_ext
6249 cat >>conftest.$ac_ext <<_ACEOF
6250 /* end confdefs.h. */
6251 $ac_includes_default
6252 #include <$ac_header>
6254 rm -f conftest.$ac_objext
6255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6256 (eval $ac_compile) 2>conftest.er1
6258 grep -v '^ *+' conftest.er1 >conftest.err
6260 cat conftest.err >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); } &&
6263 { ac_try='test -z "$ac_cxx_werror_flag"
6264 || test ! -s conftest.err'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; } &&
6270 { ac_try='test -s conftest.$ac_objext'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; }; then
6276 ac_header_compiler=yes
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6281 ac_header_compiler=no
6283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6285 echo "${ECHO_T}$ac_header_compiler" >&6
6287 # Is the header present?
6288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6290 cat >conftest.$ac_ext <<_ACEOF
6293 cat confdefs.h >>conftest.$ac_ext
6294 cat >>conftest.$ac_ext <<_ACEOF
6295 /* end confdefs.h. */
6296 #include <$ac_header>
6298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6301 grep -v '^ *+' conftest.er1 >conftest.err
6303 cat conftest.err >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); } >/dev/null; then
6306 if test -s conftest.err; then
6307 ac_cpp_err=$ac_cxx_preproc_warn_flag
6308 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6315 if test -z "$ac_cpp_err"; then
6316 ac_header_preproc=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_header_preproc=no
6323 rm -f conftest.err conftest.$ac_ext
6324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6325 echo "${ECHO_T}$ac_header_preproc" >&6
6327 # So? What about this header?
6328 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6334 ac_header_preproc=yes
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6351 ## ------------------------------- ##
6352 ## Report this to the gold lists. ##
6353 ## ------------------------------- ##
6356 sed "s/^/$as_me: WARNING: /" >&2
6359 echo "$as_me:$LINENO: checking for $ac_header" >&5
6360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 eval "$as_ac_Header=\$ac_header_preproc"
6366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6371 cat >>confdefs.h <<_ACEOF
6372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6380 for ac_func in mallinfo
6382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6383 echo "$as_me:$LINENO: checking for $ac_func" >&5
6384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6385 if eval "test \"\${$as_ac_var+set}\" = set"; then
6386 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 cat >conftest.$ac_ext <<_ACEOF
6391 cat confdefs.h >>conftest.$ac_ext
6392 cat >>conftest.$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6396 #define $ac_func innocuous_$ac_func
6398 /* System header to define __stub macros and hopefully few prototypes,
6399 which can conflict with char $ac_func (); below.
6400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6401 <limits.h> exists even on freestanding compilers. */
6404 # include <limits.h>
6406 # include <assert.h>
6411 /* Override any gcc2 internal prototype to avoid an error. */
6416 /* We use char because int might match the return type of a gcc2
6417 builtin and then its argument prototype would still apply. */
6419 /* The GNU C library defines this for functions which it implements
6420 to always fail with ENOSYS. Some functions are actually named
6421 something starting with __ and the normal name is an alias. */
6422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6425 char (*f) () = $ac_func;
6434 return f != $ac_func;
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6441 (eval $ac_link) 2>conftest.er1
6443 grep -v '^ *+' conftest.er1 >conftest.err
6445 cat conftest.err >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } &&
6448 { ac_try='test -z "$ac_cxx_werror_flag"
6449 || test ! -s conftest.err'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; } &&
6455 { ac_try='test -s conftest$ac_exeext'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; }; then
6461 eval "$as_ac_var=yes"
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 eval "$as_ac_var=no"
6468 rm -f conftest.err conftest.$ac_objext \
6469 conftest$ac_exeext conftest.$ac_ext
6471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6473 if test `eval echo '${'$as_ac_var'}'` = yes; then
6474 cat >>confdefs.h <<_ACEOF
6475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6482 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6483 # function. Check for that. This is gcc bug 35546. This test can
6484 # probably be removed after the bug has been fixed for a while.
6485 echo "$as_me:$LINENO: checking whether we can use attributes with template functions" >&5
6486 echo $ECHO_N "checking whether we can use attributes with template functions... $ECHO_C" >&6
6487 if test "${gold_cv_template_attribute+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 cat >conftest.$ac_ext <<_ACEOF
6492 template<typename T> extern void foo(const char*, ...)
6493 __attribute__ ((__format__ (__printf__, 1, 2)));
6494 template<typename T> void foo(const char* format, ...) {}
6495 void bar() { foo<int>("%s\n", "foo"); }
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } &&
6507 { ac_try='test -z "$ac_cxx_werror_flag"
6508 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } &&
6514 { ac_try='test -s conftest.$ac_objext'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; }; then
6520 gold_cv_template_attribute=yes
6522 echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6525 gold_cv_template_attribute=no
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 echo "$as_me:$LINENO: result: $gold_cv_template_attribute" >&5
6530 echo "${ECHO_T}$gold_cv_template_attribute" >&6
6531 if test "$gold_cv_template_attribute" = "yes"; then
6533 cat >>confdefs.h <<\_ACEOF
6534 #define HAVE_TEMPLATE_ATTRIBUTES 1
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6547 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6548 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6549 if test "${enable_maintainer_mode+set}" = set; then
6550 enableval="$enable_maintainer_mode"
6551 USE_MAINTAINER_MODE=$enableval
6553 USE_MAINTAINER_MODE=no
6555 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6556 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6559 if test $USE_MAINTAINER_MODE = yes; then
6560 MAINTAINER_MODE_TRUE=
6561 MAINTAINER_MODE_FALSE='#'
6563 MAINTAINER_MODE_TRUE='#'
6564 MAINTAINER_MODE_FALSE=
6567 MAINT=$MAINTAINER_MODE_TRUE
6571 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
6572 cat >confcache <<\_ACEOF
6573 # This file is a shell script that caches the results of configure
6574 # tests run on this system so they can be shared between configure
6575 # scripts and configure runs, see configure's option --config-cache.
6576 # It is not useful on other systems. If it contains results you don't
6577 # want to keep, you may remove or edit it.
6579 # config.status only pays attention to the cache file if you give it
6580 # the --recheck option to rerun configure.
6582 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6583 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6588 # The following way of writing the cache mishandles newlines in values,
6589 # but we know of no workaround that is simple, portable, and efficient.
6590 # So, don't put newlines in cache variables' values.
6591 # Ultrix sh set writes to stderr and can't be redirected directly,
6592 # and sets the high bit in the cache file unless we assign to the vars.
6595 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6597 # `set' does not quote correctly, so add quotes (double-quote
6598 # substitution turns \\\\ into \\, and sed turns \\ into \).
6601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6604 # `set' quotes correctly as required by POSIX, so do not add quotes.
6606 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6613 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6615 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6617 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6618 if test -w $cache_file; then
6619 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6620 cat confcache >$cache_file
6622 echo "not updating unwritable cache $cache_file"
6627 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6628 # Let make expand exec_prefix.
6629 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6631 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6632 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6633 # trailing colons and then remove the whole line if VPATH becomes empty
6634 # (actually we leave an empty line to preserve line numbers).
6635 if test "x$srcdir" = x.; then
6636 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6637 s/:*\$(srcdir):*/:/;
6638 s/:*\${srcdir}:*/:/;
6640 s/^\([^=]*=[ ]*\):*/\1/;
6646 DEFS=-DHAVE_CONFIG_H
6650 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6651 # 1. Remove the extension, and $U if already installed.
6652 ac_i=`echo "$ac_i" |
6653 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6655 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6656 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6660 LTLIBOBJS=$ac_ltlibobjs
6663 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
6664 { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
6665 Usually this means the macro was only invoked conditionally." >&5
6666 echo "$as_me: error: conditional \"THREADS\" was never defined.
6667 Usually this means the macro was only invoked conditionally." >&2;}
6668 { (exit 1); exit 1; }; }
6670 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6671 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6672 Usually this means the macro was only invoked conditionally." >&5
6673 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6674 Usually this means the macro was only invoked conditionally." >&2;}
6675 { (exit 1); exit 1; }; }
6677 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6678 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6679 Usually this means the macro was only invoked conditionally." >&5
6680 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6681 Usually this means the macro was only invoked conditionally." >&2;}
6682 { (exit 1); exit 1; }; }
6684 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6685 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6686 Usually this means the macro was only invoked conditionally." >&5
6687 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6688 Usually this means the macro was only invoked conditionally." >&2;}
6689 { (exit 1); exit 1; }; }
6691 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
6692 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
6693 Usually this means the macro was only invoked conditionally." >&5
6694 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
6695 Usually this means the macro was only invoked conditionally." >&2;}
6696 { (exit 1); exit 1; }; }
6698 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
6699 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
6700 Usually this means the macro was only invoked conditionally." >&5
6701 echo "$as_me: error: conditional \"GCC\" was never defined.
6702 Usually this means the macro was only invoked conditionally." >&2;}
6703 { (exit 1); exit 1; }; }
6705 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
6706 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
6707 Usually this means the macro was only invoked conditionally." >&5
6708 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
6709 Usually this means the macro was only invoked conditionally." >&2;}
6710 { (exit 1); exit 1; }; }
6712 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
6713 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
6714 Usually this means the macro was only invoked conditionally." >&5
6715 echo "$as_me: error: conditional \"TLS\" was never defined.
6716 Usually this means the macro was only invoked conditionally." >&2;}
6717 { (exit 1); exit 1; }; }
6719 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
6720 { { echo "$as_me:$LINENO: error: conditional \"STATIC_TLS\" was never defined.
6721 Usually this means the macro was only invoked conditionally." >&5
6722 echo "$as_me: error: conditional \"STATIC_TLS\" was never defined.
6723 Usually this means the macro was only invoked conditionally." >&2;}
6724 { (exit 1); exit 1; }; }
6726 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
6727 { { echo "$as_me:$LINENO: error: conditional \"OMP_SUPPORT\" was never defined.
6728 Usually this means the macro was only invoked conditionally." >&5
6729 echo "$as_me: error: conditional \"OMP_SUPPORT\" was never defined.
6730 Usually this means the macro was only invoked conditionally." >&2;}
6731 { (exit 1); exit 1; }; }
6733 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
6734 { { echo "$as_me:$LINENO: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
6735 Usually this means the macro was only invoked conditionally." >&5
6736 echo "$as_me: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
6737 Usually this means the macro was only invoked conditionally." >&2;}
6738 { (exit 1); exit 1; }; }
6740 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
6741 { { echo "$as_me:$LINENO: error: conditional \"TLS_DESCRIPTORS\" was never defined.
6742 Usually this means the macro was only invoked conditionally." >&5
6743 echo "$as_me: error: conditional \"TLS_DESCRIPTORS\" was never defined.
6744 Usually this means the macro was only invoked conditionally." >&2;}
6745 { (exit 1); exit 1; }; }
6747 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
6748 { { echo "$as_me:$LINENO: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
6749 Usually this means the macro was only invoked conditionally." >&5
6750 echo "$as_me: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
6751 Usually this means the macro was only invoked conditionally." >&2;}
6752 { (exit 1); exit 1; }; }
6754 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
6755 { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
6756 Usually this means the macro was only invoked conditionally." >&5
6757 echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
6758 Usually this means the macro was only invoked conditionally." >&2;}
6759 { (exit 1); exit 1; }; }
6761 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6762 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6763 Usually this means the macro was only invoked conditionally." >&5
6764 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6765 Usually this means the macro was only invoked conditionally." >&2;}
6766 { (exit 1); exit 1; }; }
6769 : ${CONFIG_STATUS=./config.status}
6770 ac_clean_files_save=$ac_clean_files
6771 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6774 cat >$CONFIG_STATUS <<_ACEOF
6776 # Generated by $as_me.
6777 # Run this file to recreate the current configuration.
6778 # Compiler output produced by configure, useful for debugging
6779 # configure, is in config.log if it exists.
6784 SHELL=\${CONFIG_SHELL-$SHELL}
6787 cat >>$CONFIG_STATUS <<\_ACEOF
6788 ## --------------------- ##
6789 ## M4sh Initialization. ##
6790 ## --------------------- ##
6792 # Be Bourne compatible
6793 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6797 # is contrary to our usage. Disable this feature.
6798 alias -g '${1+"$@"}'='"$@"'
6799 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6802 DUALCASE=1; export DUALCASE # for MKS sh
6804 # Support unset when possible.
6805 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6812 # Work around bugs in pre-3.0 UWIN ksh.
6813 $as_unset ENV MAIL MAILPATH
6820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6822 LC_TELEPHONE LC_TIME
6824 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6825 eval $as_var=C; export $as_var
6831 # Required to use basename.
6832 if expr a : '\(a\)' >/dev/null 2>&1; then
6838 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6839 as_basename=basename
6845 # Name of the executable.
6846 as_me=`$as_basename "$0" ||
6847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6848 X"$0" : 'X\(//\)$' \| \
6849 X"$0" : 'X\(/\)$' \| \
6850 . : '\(.\)' 2>/dev/null ||
6852 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6853 /^X\/\(\/\/\)$/{ s//\1/; q; }
6854 /^X\/\(\/\).*/{ s//\1/; q; }
6858 # PATH needs CR, and LINENO needs CR and PATH.
6859 # Avoid depending upon Character Ranges.
6860 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6861 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6862 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6863 as_cr_digits='0123456789'
6864 as_cr_alnum=$as_cr_Letters$as_cr_digits
6866 # The user is always right.
6867 if test "${PATH_SEPARATOR+set}" != set; then
6868 echo "#! /bin/sh" >conf$$.sh
6869 echo "exit 0" >>conf$$.sh
6871 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6882 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6883 test "x$as_lineno_1" != "x$as_lineno_2" &&
6884 test "x$as_lineno_3" = "x$as_lineno_2" || {
6885 # Find who we are. Look in the path if we contain no path at all
6888 *[\\/]* ) as_myself=$0 ;;
6889 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6899 # We did not find ourselves, most probably we were run as `sh COMMAND'
6900 # in which case we are not to be found in the path.
6901 if test "x$as_myself" = x; then
6904 if test ! -f "$as_myself"; then
6905 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6906 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6907 { (exit 1); exit 1; }; }
6909 case $CONFIG_SHELL in
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6915 test -z "$as_dir" && as_dir=.
6916 for as_base in sh bash ksh sh5; do
6919 if ("$as_dir/$as_base" -c '
6922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6923 test "x$as_lineno_1" != "x$as_lineno_2" &&
6924 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6925 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6926 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6927 CONFIG_SHELL=$as_dir/$as_base
6929 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6937 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6938 # uniformly replaced by the line number. The first 'sed' inserts a
6939 # line-number line before each line; the second 'sed' does the real
6940 # work. The second script uses 'N' to pair each line-number line
6941 # with the numbered line, and appends trailing '-' during
6942 # substitution so that $LINENO is not a special case at line end.
6943 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6944 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6945 sed '=' <$as_myself |
6950 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6953 s,^['$as_cr_digits']*\n,,
6955 chmod +x $as_me.lineno ||
6956 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6957 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6958 { (exit 1); exit 1; }; }
6960 # Don't try to exec as it changes $[0], causing all sort of problems
6961 # (the dirname of $[0] is not the place where we might find the
6962 # original and so on. Autoconf is especially sensible to this).
6964 # Exit status is that of the last command.
6969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6970 *c*,-n*) ECHO_N= ECHO_C='
6972 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6973 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6976 if expr a : '\(a\)' >/dev/null 2>&1; then
6982 rm -f conf$$ conf$$.exe conf$$.file
6984 if ln -s conf$$.file conf$$ 2>/dev/null; then
6985 # We could just check for DJGPP; but this test a) works b) is more generic
6986 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6987 if test -f conf$$.exe; then
6988 # Don't use ln at all; we don't have any links
6993 elif ln conf$$.file conf$$ 2>/dev/null; then
6998 rm -f conf$$ conf$$.exe conf$$.file
7000 if mkdir -p . 2>/dev/null; then
7003 test -d ./-p && rmdir ./-p
7007 as_executable_p="test -f"
7009 # Sed expression to map a string onto a valid CPP name.
7010 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7012 # Sed expression to map a string onto a valid variable name.
7013 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7017 # We need space, tab and new line, in precisely that order.
7027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7028 # report actual input values of CONFIG_FILES etc. instead of their
7029 # values after options handling. Logging --version etc. is OK.
7033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7034 ## Running $as_me. ##
7039 This file was extended by gold $as_me 0.1, which was
7040 generated by GNU Autoconf 2.59. Invocation command line was
7042 CONFIG_FILES = $CONFIG_FILES
7043 CONFIG_HEADERS = $CONFIG_HEADERS
7044 CONFIG_LINKS = $CONFIG_LINKS
7045 CONFIG_COMMANDS = $CONFIG_COMMANDS
7049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7053 # Files that config.status was made for.
7054 if test -n "$ac_config_files"; then
7055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7058 if test -n "$ac_config_headers"; then
7059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7062 if test -n "$ac_config_links"; then
7063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7066 if test -n "$ac_config_commands"; then
7067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7070 cat >>$CONFIG_STATUS <<\_ACEOF
7073 \`$as_me' instantiates files from templates according to the
7074 current configuration.
7076 Usage: $0 [OPTIONS] [FILE]...
7078 -h, --help print this help, then exit
7079 -V, --version print version number, then exit
7080 -q, --quiet do not print progress messages
7081 -d, --debug don't remove temporary files
7082 --recheck update $as_me by reconfiguring in the same conditions
7083 --file=FILE[:TEMPLATE]
7084 instantiate the configuration file FILE
7085 --header=FILE[:TEMPLATE]
7086 instantiate the configuration header FILE
7088 Configuration files:
7091 Configuration headers:
7094 Configuration commands:
7097 Report bugs to <bug-autoconf@gnu.org>."
7100 cat >>$CONFIG_STATUS <<_ACEOF
7102 gold config.status 0.1
7103 configured by $0, generated by GNU Autoconf 2.59,
7104 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7106 Copyright (C) 2003 Free Software Foundation, Inc.
7107 This config.status script is free software; the Free Software Foundation
7108 gives unlimited permission to copy, distribute and modify it."
7113 cat >>$CONFIG_STATUS <<\_ACEOF
7114 # If no file are specified by the user, then we need to provide default
7115 # value. By we need to know if files were specified by the user.
7121 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7122 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7130 *) # This is not an option, so the user has probably given explicit
7133 ac_need_defaults=false;;
7137 # Handling of the options.
7139 cat >>$CONFIG_STATUS <<\_ACEOF
7140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7142 --version | --vers* | -V )
7143 echo "$ac_cs_version"; exit 0 ;;
7145 # Conflict between --help and --header
7146 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7147 Try \`$0 --help' for more information." >&5
7148 echo "$as_me: error: ambiguous option: $1
7149 Try \`$0 --help' for more information." >&2;}
7150 { (exit 1); exit 1; }; };;
7151 --help | --hel | -h )
7152 echo "$ac_cs_usage"; exit 0 ;;
7153 --debug | --d* | -d )
7155 --file | --fil | --fi | --f )
7157 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7158 ac_need_defaults=false;;
7159 --header | --heade | --head | --hea )
7161 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7162 ac_need_defaults=false;;
7163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7168 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7169 Try \`$0 --help' for more information." >&5
7170 echo "$as_me: error: unrecognized option: $1
7171 Try \`$0 --help' for more information." >&2;}
7172 { (exit 1); exit 1; }; } ;;
7174 *) ac_config_targets="$ac_config_targets $1" ;;
7180 ac_configure_extra_args=
7182 if $ac_cs_silent; then
7184 ac_configure_extra_args="$ac_configure_extra_args --silent"
7188 cat >>$CONFIG_STATUS <<_ACEOF
7189 if \$ac_cs_recheck; then
7190 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7191 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7196 cat >>$CONFIG_STATUS <<_ACEOF
7198 # INIT-COMMANDS section.
7201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7202 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7203 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7205 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7206 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7207 LINGUAS="${LINGUAS-%UNSET%}"
7214 cat >>$CONFIG_STATUS <<\_ACEOF
7215 for ac_config_target in $ac_config_targets
7217 case "$ac_config_target" in
7218 # Handling of arguments.
7219 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7220 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
7221 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7222 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7223 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7224 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
7225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7227 { (exit 1); exit 1; }; };;
7231 # If the user did not use the arguments to specify the items to instantiate,
7232 # then the envvar interface is used. Set only those that are not.
7233 # We use the long form for the default assignment because of an extremely
7234 # bizarre bug on SunOS 4.1.3.
7235 if $ac_need_defaults; then
7236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7238 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7241 # Have a temporary directory for convenience. Make it in the build tree
7242 # simply because there is no reason to put it here, and in addition,
7243 # creating and moving files from /tmp can sometimes cause problems.
7244 # Create a temporary directory, and hook for its removal unless debugging.
7247 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7248 trap '{ (exit 1); exit 1; }' 1 2 13 15
7251 # Create a (secure) tmp directory for tmp files.
7254 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7255 test -n "$tmp" && test -d "$tmp"
7258 tmp=./confstat$$-$RANDOM
7259 (umask 077 && mkdir $tmp)
7262 echo "$me: cannot create a temporary directory in ." >&2
7263 { (exit 1); exit 1; }
7268 cat >>$CONFIG_STATUS <<_ACEOF
7271 # CONFIG_FILES section.
7274 # No need to generate the scripts if there are no CONFIG_FILES.
7275 # This happens for instance when ./config.status config.h
7276 if test -n "\$CONFIG_FILES"; then
7277 # Protect against being on the right side of a sed subst in config.status.
7278 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7279 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7280 s,@SHELL@,$SHELL,;t t
7281 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7282 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7283 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7284 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7285 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7286 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7287 s,@exec_prefix@,$exec_prefix,;t t
7288 s,@prefix@,$prefix,;t t
7289 s,@program_transform_name@,$program_transform_name,;t t
7290 s,@bindir@,$bindir,;t t
7291 s,@sbindir@,$sbindir,;t t
7292 s,@libexecdir@,$libexecdir,;t t
7293 s,@datadir@,$datadir,;t t
7294 s,@sysconfdir@,$sysconfdir,;t t
7295 s,@sharedstatedir@,$sharedstatedir,;t t
7296 s,@localstatedir@,$localstatedir,;t t
7297 s,@libdir@,$libdir,;t t
7298 s,@includedir@,$includedir,;t t
7299 s,@oldincludedir@,$oldincludedir,;t t
7300 s,@infodir@,$infodir,;t t
7301 s,@mandir@,$mandir,;t t
7302 s,@build_alias@,$build_alias,;t t
7303 s,@host_alias@,$host_alias,;t t
7304 s,@target_alias@,$target_alias,;t t
7306 s,@ECHO_C@,$ECHO_C,;t t
7307 s,@ECHO_N@,$ECHO_N,;t t
7308 s,@ECHO_T@,$ECHO_T,;t t
7310 s,@build@,$build,;t t
7311 s,@build_cpu@,$build_cpu,;t t
7312 s,@build_vendor@,$build_vendor,;t t
7313 s,@build_os@,$build_os,;t t
7315 s,@host_cpu@,$host_cpu,;t t
7316 s,@host_vendor@,$host_vendor,;t t
7317 s,@host_os@,$host_os,;t t
7318 s,@target@,$target,;t t
7319 s,@target_cpu@,$target_cpu,;t t
7320 s,@target_vendor@,$target_vendor,;t t
7321 s,@target_os@,$target_os,;t t
7322 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7323 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7324 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7325 s,@CYGPATH_W@,$CYGPATH_W,;t t
7326 s,@PACKAGE@,$PACKAGE,;t t
7327 s,@VERSION@,$VERSION,;t t
7328 s,@ACLOCAL@,$ACLOCAL,;t t
7329 s,@AUTOCONF@,$AUTOCONF,;t t
7330 s,@AUTOMAKE@,$AUTOMAKE,;t t
7331 s,@AUTOHEADER@,$AUTOHEADER,;t t
7332 s,@MAKEINFO@,$MAKEINFO,;t t
7333 s,@install_sh@,$install_sh,;t t
7334 s,@STRIP@,$STRIP,;t t
7335 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7336 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7337 s,@mkdir_p@,$mkdir_p,;t t
7339 s,@SET_MAKE@,$SET_MAKE,;t t
7340 s,@am__leading_dot@,$am__leading_dot,;t t
7341 s,@AMTAR@,$AMTAR,;t t
7342 s,@am__tar@,$am__tar,;t t
7343 s,@am__untar@,$am__untar,;t t
7344 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
7345 s,@THREADS_FALSE@,$THREADS_FALSE,;t t
7346 s,@TARGETOBJS@,$TARGETOBJS,;t t
7348 s,@CFLAGS@,$CFLAGS,;t t
7349 s,@LDFLAGS@,$LDFLAGS,;t t
7350 s,@CPPFLAGS@,$CPPFLAGS,;t t
7351 s,@ac_ct_CC@,$ac_ct_CC,;t t
7352 s,@EXEEXT@,$EXEEXT,;t t
7353 s,@OBJEXT@,$OBJEXT,;t t
7354 s,@DEPDIR@,$DEPDIR,;t t
7355 s,@am__include@,$am__include,;t t
7356 s,@am__quote@,$am__quote,;t t
7357 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7358 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7359 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7360 s,@CCDEPMODE@,$CCDEPMODE,;t t
7361 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7362 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7364 s,@CXXFLAGS@,$CXXFLAGS,;t t
7365 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7366 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7367 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7368 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7370 s,@RANLIB@,$RANLIB,;t t
7371 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7373 s,@USE_NLS@,$USE_NLS,;t t
7374 s,@LIBINTL@,$LIBINTL,;t t
7375 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7376 s,@INCINTL@,$INCINTL,;t t
7377 s,@XGETTEXT@,$XGETTEXT,;t t
7378 s,@GMSGFMT@,$GMSGFMT,;t t
7379 s,@POSUB@,$POSUB,;t t
7380 s,@CATALOGS@,$CATALOGS,;t t
7381 s,@DATADIRNAME@,$DATADIRNAME,;t t
7382 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7383 s,@GENCAT@,$GENCAT,;t t
7384 s,@CATOBJEXT@,$CATOBJEXT,;t t
7385 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7386 s,@MSGFMT@,$MSGFMT,;t t
7387 s,@MSGMERGE@,$MSGMERGE,;t t
7388 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
7389 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
7390 s,@GCC_TRUE@,$GCC_TRUE,;t t
7391 s,@GCC_FALSE@,$GCC_FALSE,;t t
7392 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
7393 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
7394 s,@TLS_TRUE@,$TLS_TRUE,;t t
7395 s,@TLS_FALSE@,$TLS_FALSE,;t t
7396 s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
7397 s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
7398 s,@OMP_SUPPORT_TRUE@,$OMP_SUPPORT_TRUE,;t t
7399 s,@OMP_SUPPORT_FALSE@,$OMP_SUPPORT_FALSE,;t t
7400 s,@TLS_GNU2_DIALECT_TRUE@,$TLS_GNU2_DIALECT_TRUE,;t t
7401 s,@TLS_GNU2_DIALECT_FALSE@,$TLS_GNU2_DIALECT_FALSE,;t t
7402 s,@TLS_DESCRIPTORS_TRUE@,$TLS_DESCRIPTORS_TRUE,;t t
7403 s,@TLS_DESCRIPTORS_FALSE@,$TLS_DESCRIPTORS_FALSE,;t t
7404 s,@CONSTRUCTOR_PRIORITY_TRUE@,$CONSTRUCTOR_PRIORITY_TRUE,;t t
7405 s,@CONSTRUCTOR_PRIORITY_FALSE@,$CONSTRUCTOR_PRIORITY_FALSE,;t t
7406 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7407 s,@NO_WERROR@,$NO_WERROR,;t t
7408 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
7409 s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
7410 s,@LIBOBJS@,$LIBOBJS,;t t
7412 s,@EGREP@,$EGREP,;t t
7413 s,@HAVE_ZLIB_TRUE@,$HAVE_ZLIB_TRUE,;t t
7414 s,@HAVE_ZLIB_FALSE@,$HAVE_ZLIB_FALSE,;t t
7415 s,@CXXCPP@,$CXXCPP,;t t
7416 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7417 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7418 s,@MAINT@,$MAINT,;t t
7419 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7424 cat >>$CONFIG_STATUS <<\_ACEOF
7425 # Split the substitutions into bite-sized pieces for seds with
7426 # small command number limits, like on Digital OSF/1 and HP-UX.
7428 ac_sed_frag=1 # Number of current file.
7429 ac_beg=1 # First line for current file.
7430 ac_end=$ac_max_sed_lines # Line after last line for current file.
7433 while $ac_more_lines; do
7434 if test $ac_beg -gt 1; then
7435 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7437 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7439 if test ! -s $tmp/subs.frag; then
7442 # The purpose of the label and of the branching condition is to
7443 # speed up the sed processing (if there are no `@' at all, there
7444 # is no need to browse any of the substitutions).
7445 # These are the two extra sed commands mentioned above.
7447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7448 if test -z "$ac_sed_cmds"; then
7449 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7451 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7453 ac_sed_frag=`expr $ac_sed_frag + 1`
7455 ac_end=`expr $ac_end + $ac_max_sed_lines`
7458 if test -z "$ac_sed_cmds"; then
7461 fi # test -n "$CONFIG_FILES"
7464 cat >>$CONFIG_STATUS <<\_ACEOF
7465 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7466 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7468 - | *:- | *:-:* ) # input from stdin
7470 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7472 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7473 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7474 * ) ac_file_in=$ac_file.in ;;
7477 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7478 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7479 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7480 X"$ac_file" : 'X\(//\)[^/]' \| \
7481 X"$ac_file" : 'X\(//\)$' \| \
7482 X"$ac_file" : 'X\(/\)' \| \
7483 . : '\(.\)' 2>/dev/null ||
7485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7487 /^X\(\/\/\)$/{ s//\1/; q; }
7488 /^X\(\/\).*/{ s//\1/; q; }
7490 { if $as_mkdir_p; then
7495 while test ! -d "$as_dir"; do
7496 as_dirs="$as_dir $as_dirs"
7497 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7499 X"$as_dir" : 'X\(//\)[^/]' \| \
7500 X"$as_dir" : 'X\(//\)$' \| \
7501 X"$as_dir" : 'X\(/\)' \| \
7502 . : '\(.\)' 2>/dev/null ||
7504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7506 /^X\(\/\/\)$/{ s//\1/; q; }
7507 /^X\(\/\).*/{ s//\1/; q; }
7510 test ! -n "$as_dirs" || mkdir $as_dirs
7511 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7512 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7513 { (exit 1); exit 1; }; }; }
7517 if test "$ac_dir" != .; then
7518 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7519 # A "../" for each directory in $ac_dir_suffix.
7520 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7522 ac_dir_suffix= ac_top_builddir=
7526 .) # No --srcdir option. We are building in place.
7528 if test -z "$ac_top_builddir"; then
7531 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7533 [\\/]* | ?:[\\/]* ) # Absolute path.
7534 ac_srcdir=$srcdir$ac_dir_suffix;
7535 ac_top_srcdir=$srcdir ;;
7537 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7538 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7541 # Do not use `cd foo && pwd` to compute absolute paths, because
7542 # the directories may not exist.
7544 .) ac_abs_builddir="$ac_dir";;
7547 .) ac_abs_builddir=`pwd`;;
7548 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7549 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7552 case $ac_abs_builddir in
7553 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7555 case ${ac_top_builddir}. in
7556 .) ac_abs_top_builddir=$ac_abs_builddir;;
7557 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7558 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7561 case $ac_abs_builddir in
7562 .) ac_abs_srcdir=$ac_srcdir;;
7565 .) ac_abs_srcdir=$ac_abs_builddir;;
7566 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7567 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7570 case $ac_abs_builddir in
7571 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7573 case $ac_top_srcdir in
7574 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7575 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7576 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7582 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7583 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7586 if test x"$ac_file" != x-; then
7587 { echo "$as_me:$LINENO: creating $ac_file" >&5
7588 echo "$as_me: creating $ac_file" >&6;}
7591 # Let's still pretend it is `configure' which instantiates (i.e., don't
7592 # use $as_me), people would be surprised to read:
7593 # /* config.h. Generated by config.status. */
7594 if test x"$ac_file" = x-; then
7597 configure_input="$ac_file. "
7599 configure_input=$configure_input"Generated from `echo $ac_file_in |
7600 sed 's,.*/,,'` by configure."
7602 # First look for the input files in the build tree, otherwise in the
7604 ac_file_inputs=`IFS=:
7605 for f in $ac_file_in; do
7607 -) echo $tmp/stdin ;;
7609 # Absolute (can't be DOS-style, as IFS=:)
7610 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7611 echo "$as_me: error: cannot find input file: $f" >&2;}
7612 { (exit 1); exit 1; }; }
7615 if test -f "$f"; then
7618 elif test -f "$srcdir/$f"; then
7623 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7624 echo "$as_me: error: cannot find input file: $f" >&2;}
7625 { (exit 1); exit 1; }; }
7628 done` || { (exit 1); exit 1; }
7630 cat >>$CONFIG_STATUS <<_ACEOF
7634 cat >>$CONFIG_STATUS <<\_ACEOF
7636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7637 s,@configure_input@,$configure_input,;t t
7638 s,@srcdir@,$ac_srcdir,;t t
7639 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7640 s,@top_srcdir@,$ac_top_srcdir,;t t
7641 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7642 s,@builddir@,$ac_builddir,;t t
7643 s,@abs_builddir@,$ac_abs_builddir,;t t
7644 s,@top_builddir@,$ac_top_builddir,;t t
7645 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7646 s,@INSTALL@,$ac_INSTALL,;t t
7647 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7649 if test x"$ac_file" != x-; then
7650 mv $tmp/out $ac_file
7658 cat >>$CONFIG_STATUS <<\_ACEOF
7661 # CONFIG_HEADER section.
7664 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7665 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7667 # ac_d sets the value in "#define NAME VALUE" lines.
7668 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7669 ac_dB='[ ].*$,\1#\2'
7672 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7673 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7674 ac_uB='$,\1#\2define\3'
7678 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7679 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7681 - | *:- | *:-:* ) # input from stdin
7683 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7684 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7685 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7686 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7687 * ) ac_file_in=$ac_file.in ;;
7690 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7691 echo "$as_me: creating $ac_file" >&6;}
7693 # First look for the input files in the build tree, otherwise in the
7695 ac_file_inputs=`IFS=:
7696 for f in $ac_file_in; do
7698 -) echo $tmp/stdin ;;
7700 # Absolute (can't be DOS-style, as IFS=:)
7701 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7702 echo "$as_me: error: cannot find input file: $f" >&2;}
7703 { (exit 1); exit 1; }; }
7704 # Do quote $f, to prevent DOS paths from being IFS'd.
7707 if test -f "$f"; then
7710 elif test -f "$srcdir/$f"; then
7715 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7716 echo "$as_me: error: cannot find input file: $f" >&2;}
7717 { (exit 1); exit 1; }; }
7720 done` || { (exit 1); exit 1; }
7721 # Remove the trailing spaces.
7722 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7726 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7727 # `conftest.undefs', that substitutes the proper values into
7728 # config.h.in to produce config.h. The first handles `#define'
7729 # templates, and the second `#undef' templates.
7730 # And first: Protect against being on the right side of a sed subst in
7731 # config.status. Protect against being in an unquoted here document
7733 rm -f conftest.defines conftest.undefs
7734 # Using a here document instead of a string reduces the quoting nightmare.
7735 # Putting comments in sed scripts is not portable.
7737 # `end' is used to avoid that the second main sed command (meant for
7738 # 0-ary CPP macros) applies to n-ary macro definitions.
7739 # See the Autoconf documentation for `clear'.
7740 cat >confdef2sed.sed <<\_ACEOF
7745 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7747 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7750 # If some macros were called several times there might be several times
7751 # the same #defines, which is useless. Nevertheless, we may not want to
7752 # sort them, since we want the *last* AC-DEFINE to be honored.
7753 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7754 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7755 rm -f confdef2sed.sed
7757 # This sed command replaces #undef with comments. This is necessary, for
7758 # example, in the case of _POSIX_SOURCE, which is predefined and required
7759 # on some systems where configure will not decide to define it.
7760 cat >>conftest.undefs <<\_ACEOF
7761 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7764 # Break up conftest.defines because some shells have a limit on the size
7765 # of here documents, and old seds have small limits too (100 cmds).
7766 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7767 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7768 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7769 echo ' :' >>$CONFIG_STATUS
7771 while grep . conftest.defines >/dev/null
7773 # Write a limited-size here document to $tmp/defines.sed.
7774 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7775 # Speed up: don't consider the non `#define' lines.
7776 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7777 # Work around the forget-to-reset-the-flag bug.
7778 echo 't clr' >>$CONFIG_STATUS
7779 echo ': clr' >>$CONFIG_STATUS
7780 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7782 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7786 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7787 rm -f conftest.defines
7788 mv conftest.tail conftest.defines
7790 rm -f conftest.defines
7791 echo ' fi # grep' >>$CONFIG_STATUS
7792 echo >>$CONFIG_STATUS
7794 # Break up conftest.undefs because some shells have a limit on the size
7795 # of here documents, and old seds have small limits too (100 cmds).
7796 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7798 while grep . conftest.undefs >/dev/null
7800 # Write a limited-size here document to $tmp/undefs.sed.
7801 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7802 # Speed up: don't consider the non `#undef'
7803 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7804 # Work around the forget-to-reset-the-flag bug.
7805 echo 't clr' >>$CONFIG_STATUS
7806 echo ': clr' >>$CONFIG_STATUS
7807 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7809 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7813 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7814 rm -f conftest.undefs
7815 mv conftest.tail conftest.undefs
7817 rm -f conftest.undefs
7819 cat >>$CONFIG_STATUS <<\_ACEOF
7820 # Let's still pretend it is `configure' which instantiates (i.e., don't
7821 # use $as_me), people would be surprised to read:
7822 # /* config.h. Generated by config.status. */
7823 if test x"$ac_file" = x-; then
7824 echo "/* Generated by configure. */" >$tmp/config.h
7826 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7828 cat $tmp/in >>$tmp/config.h
7830 if test x"$ac_file" != x-; then
7831 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7832 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7833 echo "$as_me: $ac_file is unchanged" >&6;}
7835 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7837 X"$ac_file" : 'X\(//\)[^/]' \| \
7838 X"$ac_file" : 'X\(//\)$' \| \
7839 X"$ac_file" : 'X\(/\)' \| \
7840 . : '\(.\)' 2>/dev/null ||
7842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7844 /^X\(\/\/\)$/{ s//\1/; q; }
7845 /^X\(\/\).*/{ s//\1/; q; }
7847 { if $as_mkdir_p; then
7852 while test ! -d "$as_dir"; do
7853 as_dirs="$as_dir $as_dirs"
7854 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7856 X"$as_dir" : 'X\(//\)[^/]' \| \
7857 X"$as_dir" : 'X\(//\)$' \| \
7858 X"$as_dir" : 'X\(/\)' \| \
7859 . : '\(.\)' 2>/dev/null ||
7861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7863 /^X\(\/\/\)$/{ s//\1/; q; }
7864 /^X\(\/\).*/{ s//\1/; q; }
7867 test ! -n "$as_dirs" || mkdir $as_dirs
7868 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7869 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7870 { (exit 1); exit 1; }; }; }
7873 mv $tmp/config.h $ac_file
7879 # Compute $ac_file's index in $config_headers.
7881 for _am_header in $config_headers :; do
7883 $ac_file | $ac_file:* )
7886 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7889 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7890 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7891 X$ac_file : 'X\(//\)[^/]' \| \
7892 X$ac_file : 'X\(//\)$' \| \
7893 X$ac_file : 'X\(/\)' \| \
7894 . : '\(.\)' 2>/dev/null ||
7896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7898 /^X\(\/\/\)$/{ s//\1/; q; }
7899 /^X\(\/\).*/{ s//\1/; q; }
7900 s/.*/./; q'`/stamp-h$_am_stamp_count
7903 cat >>$CONFIG_STATUS <<\_ACEOF
7906 # CONFIG_COMMANDS section.
7908 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7909 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7910 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7911 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7912 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7913 X"$ac_dest" : 'X\(//\)[^/]' \| \
7914 X"$ac_dest" : 'X\(//\)$' \| \
7915 X"$ac_dest" : 'X\(/\)' \| \
7916 . : '\(.\)' 2>/dev/null ||
7918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7920 /^X\(\/\/\)$/{ s//\1/; q; }
7921 /^X\(\/\).*/{ s//\1/; q; }
7923 { if $as_mkdir_p; then
7928 while test ! -d "$as_dir"; do
7929 as_dirs="$as_dir $as_dirs"
7930 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7932 X"$as_dir" : 'X\(//\)[^/]' \| \
7933 X"$as_dir" : 'X\(//\)$' \| \
7934 X"$as_dir" : 'X\(/\)' \| \
7935 . : '\(.\)' 2>/dev/null ||
7937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7939 /^X\(\/\/\)$/{ s//\1/; q; }
7940 /^X\(\/\).*/{ s//\1/; q; }
7943 test ! -n "$as_dirs" || mkdir $as_dirs
7944 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7945 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7946 { (exit 1); exit 1; }; }; }
7950 if test "$ac_dir" != .; then
7951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7952 # A "../" for each directory in $ac_dir_suffix.
7953 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7955 ac_dir_suffix= ac_top_builddir=
7959 .) # No --srcdir option. We are building in place.
7961 if test -z "$ac_top_builddir"; then
7964 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7966 [\\/]* | ?:[\\/]* ) # Absolute path.
7967 ac_srcdir=$srcdir$ac_dir_suffix;
7968 ac_top_srcdir=$srcdir ;;
7970 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7971 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7974 # Do not use `cd foo && pwd` to compute absolute paths, because
7975 # the directories may not exist.
7977 .) ac_abs_builddir="$ac_dir";;
7980 .) ac_abs_builddir=`pwd`;;
7981 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7982 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7985 case $ac_abs_builddir in
7986 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7988 case ${ac_top_builddir}. in
7989 .) ac_abs_top_builddir=$ac_abs_builddir;;
7990 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7991 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7994 case $ac_abs_builddir in
7995 .) ac_abs_srcdir=$ac_srcdir;;
7998 .) ac_abs_srcdir=$ac_abs_builddir;;
7999 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8000 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8003 case $ac_abs_builddir in
8004 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8006 case $ac_top_srcdir in
8007 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8008 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8009 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8014 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8015 echo "$as_me: executing $ac_dest commands" >&6;}
8017 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8018 # Strip MF so we end up with the name of the file.
8019 mf=`echo "$mf" | sed -e 's/:.*$//'`
8020 # Check whether this is an Automake generated Makefile or not.
8021 # We used to match only the files named `Makefile.in', but
8022 # some people rename them; so instead we look at the file content.
8023 # Grep'ing the first line is not enough: some people post-process
8024 # each Makefile.in and add a new line on top of each file to say so.
8025 # So let's grep whole file.
8026 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8027 dirpart=`(dirname "$mf") 2>/dev/null ||
8028 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8029 X"$mf" : 'X\(//\)[^/]' \| \
8030 X"$mf" : 'X\(//\)$' \| \
8031 X"$mf" : 'X\(/\)' \| \
8032 . : '\(.\)' 2>/dev/null ||
8034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8035 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8036 /^X\(\/\/\)$/{ s//\1/; q; }
8037 /^X\(\/\).*/{ s//\1/; q; }
8042 # Extract the definition of DEPDIR, am__include, and am__quote
8043 # from the Makefile without running `make'.
8044 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8045 test -z "$DEPDIR" && continue
8046 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8047 test -z "am__include" && continue
8048 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8049 # When using ansi2knr, U may be empty or an underscore; expand it
8050 U=`sed -n 's/^U = //p' < "$mf"`
8051 # Find all dependency output files, they are included files with
8052 # $(DEPDIR) in their names. We invoke sed twice because it is the
8053 # simplest approach to changing $(DEPDIR) to its actual value in the
8055 for file in `sed -n "
8056 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8057 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8058 # Make sure the directory exists.
8059 test -f "$dirpart/$file" && continue
8060 fdir=`(dirname "$file") 2>/dev/null ||
8061 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8062 X"$file" : 'X\(//\)[^/]' \| \
8063 X"$file" : 'X\(//\)$' \| \
8064 X"$file" : 'X\(/\)' \| \
8065 . : '\(.\)' 2>/dev/null ||
8067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8069 /^X\(\/\/\)$/{ s//\1/; q; }
8070 /^X\(\/\).*/{ s//\1/; q; }
8072 { if $as_mkdir_p; then
8073 mkdir -p $dirpart/$fdir
8075 as_dir=$dirpart/$fdir
8077 while test ! -d "$as_dir"; do
8078 as_dirs="$as_dir $as_dirs"
8079 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8081 X"$as_dir" : 'X\(//\)[^/]' \| \
8082 X"$as_dir" : 'X\(//\)$' \| \
8083 X"$as_dir" : 'X\(/\)' \| \
8084 . : '\(.\)' 2>/dev/null ||
8086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8087 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8088 /^X\(\/\/\)$/{ s//\1/; q; }
8089 /^X\(\/\).*/{ s//\1/; q; }
8092 test ! -n "$as_dirs" || mkdir $as_dirs
8093 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8094 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8095 { (exit 1); exit 1; }; }; }
8097 # echo "creating $dirpart/$file"
8098 echo '# dummy' > "$dirpart/$file"
8103 for ac_file in $CONFIG_FILES; do
8104 # Support "outfile[:infile[:infile...]]"
8106 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8108 # PO directories have a Makefile.in generated from Makefile.in.in.
8109 case "$ac_file" in */Makefile.in)
8110 # Adjust a relative srcdir.
8111 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8112 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8113 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8114 # In autoconf-2.13 it is called $ac_given_srcdir.
8115 # In autoconf-2.50 it is called $srcdir.
8116 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8117 case "$ac_given_srcdir" in
8118 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8119 /*) top_srcdir="$ac_given_srcdir" ;;
8120 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8122 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8123 rm -f "$ac_dir/POTFILES"
8124 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8125 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8126 POMAKEFILEDEPS="POTFILES.in"
8127 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8128 # on $ac_dir but don't depend on user-specified configuration
8130 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8131 # The LINGUAS file contains the set of available languages.
8132 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8133 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8135 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8136 # Hide the ALL_LINGUAS assigment from automake.
8137 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8138 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8140 # The set of available languages was given in configure.in.
8141 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8143 case "$ac_given_srcdir" in
8145 *) srcdirpre='$(srcdir)/' ;;
8151 for lang in $ALL_LINGUAS; do
8152 POFILES="$POFILES $srcdirpre$lang.po"
8153 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8154 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8155 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8157 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8158 # environment variable.
8160 if test -n "$ALL_LINGUAS"; then
8161 for presentlang in $ALL_LINGUAS; do
8163 if test "%UNSET%" != "$LINGUAS"; then
8164 desiredlanguages="$LINGUAS"
8166 desiredlanguages="$ALL_LINGUAS"
8168 for desiredlang in $desiredlanguages; do
8169 # Use the presentlang catalog if desiredlang is
8170 # a. equal to presentlang, or
8171 # b. a variant of presentlang (because in this case,
8172 # presentlang can be used as a fallback for messages
8173 # which are not translated in the desiredlang catalog).
8174 case "$desiredlang" in
8175 "$presentlang"*) useit=yes;;
8178 if test $useit = yes; then
8179 INST_LINGUAS="$INST_LINGUAS $presentlang"
8184 if test -n "$INST_LINGUAS"; then
8185 for lang in $INST_LINGUAS; do
8186 CATALOGS="$CATALOGS $lang.gmo"
8189 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8190 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8191 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8192 if test -f "$f"; then
8194 *.orig | *.bak | *~) ;;
8195 *) cat "$f" >> "$ac_dir/Makefile" ;;
8207 cat >>$CONFIG_STATUS <<\_ACEOF
8209 { (exit 0); exit 0; }
8211 chmod +x $CONFIG_STATUS
8212 ac_clean_files=$ac_clean_files_save
8215 # configure is writing to config.log, and then calls config.status.
8216 # config.status does its own redirection, appending to config.log.
8217 # Unfortunately, on DOS this fails, as config.log is still kept open
8218 # by configure, so config.status won't be able to write to it; its
8219 # output is simply discarded. So we exec the FD to /dev/null,
8220 # effectively closing config.log, so it can be properly (re)opened and
8221 # appended to by config.status. When coming back to configure, we
8222 # need to make the FD available again.
8223 if test "$no_create" != yes; then
8225 ac_config_status_args=
8226 test "$silent" = yes &&
8227 ac_config_status_args="$ac_config_status_args --quiet"
8229 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8231 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8232 # would make configure fail if this is the last instruction.
8233 $ac_cs_success || { (exit 1); exit 1; }