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 RANDOM_SEED_CFLAGS 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'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CXX_set
=${CXX+set}
771 ac_env_CXX_value
=$CXX
772 ac_cv_env_CXX_set
=${CXX+set}
773 ac_cv_env_CXX_value
=$CXX
774 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
775 ac_env_CXXFLAGS_value
=$CXXFLAGS
776 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
777 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
778 ac_env_CPP_set
=${CPP+set}
779 ac_env_CPP_value
=$CPP
780 ac_cv_env_CPP_set
=${CPP+set}
781 ac_cv_env_CPP_value
=$CPP
782 ac_env_CXXCPP_set
=${CXXCPP+set}
783 ac_env_CXXCPP_value
=$CXXCPP
784 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
785 ac_cv_env_CXXCPP_value
=$CXXCPP
788 # Report the --help message.
790 if test "$ac_init_help" = "long"; then
791 # Omit some internal or obsolete options to make the list less imposing.
792 # This message is too long to be a string in the A/UX 3.1 sh.
794 \`configure' configures gold 0.1 to adapt to many kinds of systems.
796 Usage: $0 [OPTION]... [VAR=VALUE]...
798 To assign environment variables (e.g., CC, CFLAGS...), specify them as
799 VAR=VALUE. See below for descriptions of some of the useful variables.
801 Defaults for the options are specified in brackets.
804 -h, --help display this help and exit
805 --help=short display options specific to this package
806 --help=recursive display the short help of all the included packages
807 -V, --version display version information and exit
808 -q, --quiet, --silent do not print \`checking...' messages
809 --cache-file=FILE cache test results in FILE [disabled]
810 -C, --config-cache alias for \`--cache-file=config.cache'
811 -n, --no-create do not create output files
812 --srcdir=DIR find the sources in DIR [configure dir or \`..']
817 Installation directories:
818 --prefix=PREFIX install architecture-independent files in PREFIX
820 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 By default, \`make install' will install all the files in
824 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
825 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
826 for instance \`--prefix=\$HOME'.
828 For better control, use the options below.
830 Fine tuning of the installation directories:
831 --bindir=DIR user executables [EPREFIX/bin]
832 --sbindir=DIR system admin executables [EPREFIX/sbin]
833 --libexecdir=DIR program executables [EPREFIX/libexec]
834 --datadir=DIR read-only architecture-independent data [PREFIX/share]
835 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
836 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
837 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
838 --libdir=DIR object code libraries [EPREFIX/lib]
839 --includedir=DIR C header files [PREFIX/include]
840 --oldincludedir=DIR C header files for non-gcc [/usr/include]
841 --infodir=DIR info documentation [PREFIX/info]
842 --mandir=DIR man documentation [PREFIX/man]
848 --program-prefix=PREFIX prepend PREFIX to installed program names
849 --program-suffix=SUFFIX append SUFFIX to installed program names
850 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
853 --build=BUILD configure
for building on BUILD
[guessed
]
854 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
855 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive
) echo "Configuration of gold 0.1:";;
866 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
867 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
868 --enable-threads multi-threaded linking
869 --enable-targets alternative target configurations
870 --disable-dependency-tracking speeds up one-time build
871 --enable-dependency-tracking do not reject slow dependency extractors
872 --disable-nls do not use Native Language Support
873 --enable-werror treat compile warnings as errors
874 --enable-build-warnings enable build-time compiler warnings
875 --enable-maintainer-mode enable make rules and dependencies not useful
876 (and sometimes confusing
) to the casual installer
879 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
880 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
881 --with-sysroot=DIR search
for usr
/lib et al within DIR
883 Some influential environment variables
:
884 CC C compiler
command
885 CFLAGS C compiler flags
886 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
887 nonstandard directory
<lib dir
>
888 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
889 headers
in a nonstandard directory
<include dir
>
890 CXX C
++ compiler
command
891 CXXFLAGS C
++ compiler flags
893 CXXCPP C
++ preprocessor
895 Use these variables to override the choices made by
`configure' or to help
896 it to find libraries and programs with nonstandard names/locations.
901 if test "$ac_init_help" = "recursive"; then
902 # If there are subdirs, report their specific --help.
904 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
905 test -d $ac_dir || continue
908 if test "$ac_dir" != .; then
909 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
910 # A "../" for each directory in $ac_dir_suffix.
911 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
913 ac_dir_suffix= ac_top_builddir=
917 .) # No --srcdir option. We are building in place.
919 if test -z "$ac_top_builddir"; then
922 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
924 [\\/]* | ?:[\\/]* ) # Absolute path.
925 ac_srcdir=$srcdir$ac_dir_suffix;
926 ac_top_srcdir=$srcdir ;;
928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
929 ac_top_srcdir=$ac_top_builddir$srcdir ;;
932 # Do not use `cd foo
&& pwd` to compute absolute paths, because
933 # the directories may not exist.
935 .) ac_abs_builddir="$ac_dir";;
938 .) ac_abs_builddir=`pwd`;;
939 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
940 *) ac_abs_builddir=`pwd`/"$ac_dir";;
943 case $ac_abs_builddir in
944 .) ac_abs_top_builddir=${ac_top_builddir}.;;
946 case ${ac_top_builddir}. in
947 .) ac_abs_top_builddir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
949 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
952 case $ac_abs_builddir in
953 .) ac_abs_srcdir=$ac_srcdir;;
956 .) ac_abs_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
958 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
961 case $ac_abs_builddir in
962 .) ac_abs_top_srcdir=$ac_top_srcdir;;
964 case $ac_top_srcdir in
965 .) ac_abs_top_srcdir=$ac_abs_builddir;;
966 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
967 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
972 # Check for guested configure; otherwise get Cygnus style configure.
973 if test -f $ac_srcdir/configure.gnu; then
975 $SHELL $ac_srcdir/configure.gnu --help=recursive
976 elif test -f $ac_srcdir/configure; then
978 $SHELL $ac_srcdir/configure --help=recursive
979 elif test -f $ac_srcdir/configure.ac ||
980 test -f $ac_srcdir/configure.in; then
984 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990 test -n "$ac_init_help" && exit 0
991 if $ac_init_version; then
994 generated by GNU Autoconf 2.59
996 Copyright (C) 2003 Free Software Foundation, Inc.
997 This configure script is free software; the Free Software Foundation
998 gives unlimited permission to copy, distribute and modify it.
1004 This file contains any messages produced by compilers while
1005 running configure, to aid debugging if configure makes a mistake.
1007 It was created by gold $as_me 0.1, which was
1008 generated by GNU Autoconf 2.59. Invocation command line was
1019 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1020 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1021 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1022 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1023 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1026 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1028 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1029 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1030 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1031 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1032 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1034 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1042 test -z "$as_dir" && as_dir=.
1043 echo "PATH: $as_dir"
1058 # Keep a trace of the command line.
1059 # Strip out --no-create and --no-recursion so they do not pile up.
1060 # Strip out --silent because we don't want to record it for future runs.
1061 # Also quote any args containing shell meta-characters.
1062 # Make two passes to allow for proper duplicate-argument suppression.
1067 ac_must_keep_next=false
1073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1077 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1078 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1084 if test $ac_must_keep_next = true; then
1085 ac_must_keep_next=false # Got value, back to normal.
1088 *=* | --config-cache | -C | -disable-* | --disable-* \
1089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1091 | -with-* | --with-* | -without-* | --without-* | --x)
1092 case "$ac_configure_args0 " in
1093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1096 -* ) ac_must_keep_next=true ;;
1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1100 # Get rid of the leading space.
1106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1109 # When interrupted or exit'd, cleanup temporary files, and complete
1110 # config.log. We remove comments because anyway the quotes in there
1111 # would cause problems or look ugly.
1112 # WARNING: Be sure not to use single quotes in there, as some shells,
1113 # such as our DU 5.0 friend, will then `close
' the trap.
1114 trap 'exit_status
=$?
1115 # Save into config.log some information that might help in debugging.
1120 ## ---------------- ##
1121 ## Cache variables. ##
1122 ## ---------------- ##
1125 # The following way of writing the cache mishandles newlines in values,
1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1143 ## ----------------- ##
1144 ## Output variables. ##
1145 ## ----------------- ##
1148 for ac_var
in $ac_subst_vars
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -n "$ac_subst_files"; then
1162 for ac_var
in $ac_subst_files
1164 eval ac_val
=$
`echo $ac_var`
1165 echo "$ac_var='"'"'$ac_val'"'"'"
1170 if test -s confdefs.h
; then
1177 sed "/^$/d" confdefs.h |
sort
1180 test "$ac_signal" != 0 &&
1181 echo "$as_me: caught signal $ac_signal"
1182 echo "$as_me: exit $exit_status"
1184 rm -f core
*.core
&&
1185 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1188 for ac_signal in 1 2 13 15; do
1189 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1194 rm -rf conftest* confdefs.h
1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1198 # Predefined preprocessor variables.
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_NAME "$PACKAGE_NAME"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_STRING "$PACKAGE_STRING"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1225 # Let the site file select an alternate cache file if it wants to.
1226 # Prefer explicitly selected file to automatically selected ones.
1227 if test -z "$CONFIG_SITE"; then
1228 if test "x$prefix" != xNONE; then
1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1234 for ac_site_file in $CONFIG_SITE; do
1235 if test -r "$ac_site_file"; then
1236 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1237 echo "$as_me: loading site script $ac_site_file" >&6;}
1238 sed 's
/^
/|
/' "$ac_site_file" >&5
1243 if test -r "$cache_file"; then
1244 # Some versions of bash will fail to source /dev/null (special
1245 # files actually), so we avoid doing that.
1246 if test -f "$cache_file"; then
1247 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1248 echo "$as_me: loading cache $cache_file" >&6;}
1250 [\\/]* | ?:[\\/]* ) . $cache_file;;
1251 *) . ./$cache_file;;
1255 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1256 echo "$as_me: creating cache $cache_file" >&6;}
1260 # Check that the precious variables saved in the cache have kept the same
1262 ac_cache_corrupted=false
1263 for ac_var in `(set) 2>&1 |
1264 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1265 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1266 eval ac_new_set=\$ac_env_${ac_var}_set
1267 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1268 eval ac_new_val="\$ac_env_${ac_var}_value"
1269 case $ac_old_set,$ac_new_set in
1271 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1272 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1273 ac_cache_corrupted=: ;;
1275 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1276 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1277 ac_cache_corrupted=: ;;
1280 if test "x$ac_old_val" != "x$ac_new_val"; then
1281 # differences in whitespace do not lead to failure.
1282 ac_old_val_w=`echo x $ac_old_val`
1283 ac_new_val_w=`echo x $ac_new_val`
1284 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1285 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1286 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1287 ac_cache_corrupted=:
1289 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1290 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1291 eval $ac_var=\$ac_old_val
1293 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1294 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1295 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1296 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1299 # Pass precious variables to config.status.
1300 if test "$ac_new_set" = set; then
1302 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1303 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1304 *) ac_arg=$ac_var=$ac_new_val ;;
1306 case " $ac_configure_args " in
1307 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1308 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1312 if $ac_cache_corrupted; then
1313 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1314 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1315 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1316 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1317 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1318 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1319 { (exit 1); exit 1; }; }
1323 ac_cpp='$CPP $CPPFLAGS'
1324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1360 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1361 if test -f $ac_dir/install-sh; then
1363 ac_install_sh="$ac_aux_dir/install-sh -c"
1365 elif test -f $ac_dir/install.sh; then
1367 ac_install_sh="$ac_aux_dir/install.sh -c"
1369 elif test -f $ac_dir/shtool; then
1371 ac_install_sh="$ac_aux_dir/shtool install -c"
1375 if test -z "$ac_aux_dir"; then
1376 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1377 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1378 { (exit 1); exit 1; }; }
1380 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1381 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1382 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1384 # Make sure we can run config.sub.
1385 $ac_config_sub sun4 >/dev/null 2>&1 ||
1386 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1387 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1388 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: checking build system type" >&5
1391 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1392 if test "${ac_cv_build+set}" = set; then
1393 echo $ECHO_N "(cached) $ECHO_C" >&6
1395 ac_cv_build_alias=$build_alias
1396 test -z "$ac_cv_build_alias" &&
1397 ac_cv_build_alias=`$ac_config_guess`
1398 test -z "$ac_cv_build_alias" &&
1399 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1400 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1401 { (exit 1); exit 1; }; }
1402 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1403 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1404 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1405 { (exit 1); exit 1; }; }
1408 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1409 echo "${ECHO_T}$ac_cv_build" >&6
1411 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1412 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1413 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1416 echo "$as_me:$LINENO: checking host system type" >&5
1417 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1418 if test "${ac_cv_host+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 ac_cv_host_alias=$host_alias
1422 test -z "$ac_cv_host_alias" &&
1423 ac_cv_host_alias=$ac_cv_build_alias
1424 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1425 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1426 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1427 { (exit 1); exit 1; }; }
1430 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1431 echo "${ECHO_T}$ac_cv_host" >&6
1433 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1434 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1435 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1438 echo "$as_me:$LINENO: checking target system type" >&5
1439 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1440 if test "${ac_cv_target+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 ac_cv_target_alias=$target_alias
1444 test "x$ac_cv_target_alias" = "x" &&
1445 ac_cv_target_alias=$ac_cv_host_alias
1446 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1453 echo "${ECHO_T}$ac_cv_target" >&6
1454 target=$ac_cv_target
1455 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1456 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1457 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1460 # The aliases save the names the user supplied, while $host etc.
1461 # will get canonicalized.
1462 test -n "$target_alias" &&
1463 test "$program_prefix$program_suffix$program_transform_name" = \
1465 program_prefix=${target_alias}-
1467 am__api_version="1.9"
1468 # Find a good install program. We prefer a C program (faster),
1469 # so one script is as good as another. But avoid the broken or
1470 # incompatible versions:
1471 # SysV /etc/install, /usr/sbin/install
1472 # SunOS /usr/etc/install
1473 # IRIX /sbin/install
1475 # AmigaOS /C/install, which installs bootblocks on floppy discs
1476 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1477 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1478 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1479 # OS/2's system install, which has a completely different semantic
1480 # ./install, which can be erroneously created by make from ./install.sh.
1481 # Reject install programs that cannot install multiple files.
1482 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1483 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1484 if test -z "$INSTALL"; then
1485 if test "${ac_cv_path_install+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 # Account for people who put trailing slashes in PATH elements.
1495 ./ | .// | /cC/* | \
1496 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1497 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1500 # OSF1 and SCO ODT 3.0 have their own names for install.
1501 # Don't use installbsd from OSF since it installs stuff as root
1503 for ac_prog in ginstall scoinst install; do
1504 for ac_exec_ext in '' $ac_executable_extensions; do
1505 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1506 if test $ac_prog = install &&
1507 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1508 # AIX install. It has an incompatible calling convention.
1510 elif test $ac_prog = install &&
1511 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1512 # program-specific install script used by HP pwplus--don't use.
1515 rm -rf conftest.one conftest.two conftest.dir
1516 echo one > conftest.one
1517 echo two > conftest.two
1519 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1520 test -s conftest.one && test -s conftest.two &&
1521 test -s conftest.dir/conftest.one &&
1522 test -s conftest.dir/conftest.two
1524 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1535 rm -rf conftest.one conftest.two conftest.dir
1538 if test "${ac_cv_path_install+set}" = set; then
1539 INSTALL=$ac_cv_path_install
1541 # As a last resort, use the slow shell script. Don't cache a
1542 # value for INSTALL within a source directory, because that will
1543 # break other packages using the cache if that directory is
1544 # removed, or if the value is a relative name.
1545 INSTALL=$ac_install_sh
1548 echo "$as_me:$LINENO: result: $INSTALL" >&5
1549 echo "${ECHO_T}$INSTALL" >&6
1551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1552 # It thinks the first close brace ends the variable substitution.
1553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1559 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1560 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1563 echo timestamp > conftest.file
1564 # Do `set' in a subshell so we don't clobber the current shell
's
1565 # arguments. Must try -L first in case configure is actually a
1566 # symlink; some systems play weird games with the mod time of symlinks
1567 # (eg FreeBSD returns the mod time of the symlink's containing
1570 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1571 if test "$*" = "X"; then
1573 set X
`ls -t $srcdir/configure conftest.file`
1576 if test "$*" != "X $srcdir/configure conftest.file" \
1577 && test "$*" != "X conftest.file $srcdir/configure"; then
1579 # If neither matched, then we have a broken ls. This can happen
1580 # if, for instance, CONFIG_SHELL is bash and it inherits a
1581 # broken ls alias from the environment. This has actually
1582 # happened. Such a system could not be considered "sane".
1583 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1584 alias in your environment" >&5
1585 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1586 alias in your environment" >&2;}
1587 { (exit 1); exit 1; }; }
1590 test "$2" = conftest.
file
1596 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1597 Check your system clock" >&5
1598 echo "$as_me: error: newly created file is older than distributed files!
1599 Check your system clock" >&2;}
1600 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: yes" >&5
1603 echo "${ECHO_T}yes" >&6
1604 test "$program_prefix" != NONE
&&
1605 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1606 # Use a double $ so make ignores it.
1607 test "$program_suffix" != NONE
&&
1608 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1609 # Double any \ or $. echo might interpret backslashes.
1610 # By default was `s,x,x', remove it if useless.
1611 cat <<\_ACEOF
>conftest.
sed
1612 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1614 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1617 # expand $ac_aux_dir to an absolute path
1618 am_aux_dir
=`cd $ac_aux_dir && pwd`
1620 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1621 # Use eval to expand $SHELL
1622 if eval "$MISSING --run true"; then
1623 am_missing_run
="$MISSING --run "
1626 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1627 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1630 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1631 # We used to keeping the `.' as first argument, in order to
1632 # allow $(mkdir_p) to be used without argument. As in
1633 # $(mkdir_p) $(somedir)
1634 # where $(somedir) is conditionally defined. However this is wrong
1636 # 1. if the package is installed by a user who cannot write `.'
1637 # make install will fail,
1638 # 2. the above comment should most certainly read
1639 # $(mkdir_p) $(DESTDIR)$(somedir)
1640 # so it does not work when $(somedir) is undefined and
1641 # $(DESTDIR) is not.
1642 # To support the latter case, we have to write
1643 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1644 # so the `.' trick is pointless.
1645 mkdir_p
='mkdir -p --'
1647 # On NextStep and OpenStep, the `mkdir' command does not
1648 # recognize any option. It will interpret all options as
1649 # directories to create, and then abort because `.' already
1651 for d
in .
/-p .
/--version;
1653 test -d $d && rmdir $d
1655 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1656 if test -f "$ac_aux_dir/mkinstalldirs"; then
1657 mkdir_p
='$(mkinstalldirs)'
1659 mkdir_p
='$(install_sh) -d'
1663 for ac_prog
in gawk mawk nawk
awk
1665 # Extract the first word of "$ac_prog", so it can be a program name with args.
1666 set dummy
$ac_prog; ac_word
=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669 if test "${ac_cv_prog_AWK+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$AWK"; then
1673 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir
=.
1680 for ac_exec_ext
in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682 ac_cv_prog_AWK
="$ac_prog"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 if test -n "$AWK"; then
1693 echo "$as_me:$LINENO: result: $AWK" >&5
1694 echo "${ECHO_T}$AWK" >&6
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1700 test -n "$AWK" && break
1703 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1704 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1705 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1706 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 cat >conftest.
make <<\_ACEOF
1711 @
echo 'ac_maketemp="$(MAKE)"'
1713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1714 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1715 if test -n "$ac_maketemp"; then
1716 eval ac_cv_prog_make_
${ac_make}_set
=yes
1718 eval ac_cv_prog_make_
${ac_make}_set
=no
1722 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1723 echo "$as_me:$LINENO: result: yes" >&5
1724 echo "${ECHO_T}yes" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1729 SET_MAKE
="MAKE=${MAKE-make}"
1732 rm -rf .tst
2>/dev
/null
1733 mkdir .tst
2>/dev
/null
1734 if test -d .tst
; then
1739 rmdir .tst
2>/dev
/null
1741 # test to see if srcdir already configured
1742 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1743 test -f $srcdir/config.status
; then
1744 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1745 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1746 { (exit 1); exit 1; }; }
1749 # test whether we have cygpath
1750 if test -z "$CYGPATH_W"; then
1751 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1752 CYGPATH_W
='cygpath -w'
1759 # Define the identity of the package.
1764 cat >>confdefs.h
<<_ACEOF
1765 #define PACKAGE "$PACKAGE"
1769 cat >>confdefs.h
<<_ACEOF
1770 #define VERSION "$VERSION"
1773 # Some tools Automake needs.
1775 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1778 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1781 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1784 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1787 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1789 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1791 # Installed binaries are usually stripped using `strip' when the user
1792 # run `make install-strip'. However `strip' might not be the right
1793 # tool to use in cross-compilation environments, therefore Automake
1794 # will honor the `STRIP' environment variable to overrule this program.
1795 if test "$cross_compiling" != no
; then
1796 if test -n "$ac_tool_prefix"; then
1797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1798 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1799 echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1801 if test "${ac_cv_prog_STRIP+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test -n "$STRIP"; then
1805 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1811 test -z "$as_dir" && as_dir
=.
1812 for ac_exec_ext
in '' $ac_executable_extensions; do
1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1814 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 STRIP
=$ac_cv_prog_STRIP
1824 if test -n "$STRIP"; then
1825 echo "$as_me:$LINENO: result: $STRIP" >&5
1826 echo "${ECHO_T}$STRIP" >&6
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1833 if test -z "$ac_cv_prog_STRIP"; then
1835 # Extract the first word of "strip", so it can be a program name with args.
1836 set dummy strip
; ac_word
=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$ac_ct_STRIP"; then
1843 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir
=.
1850 for ac_exec_ext
in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_ac_ct_STRIP
="strip"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1862 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1863 if test -n "$ac_ct_STRIP"; then
1864 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1865 echo "${ECHO_T}$ac_ct_STRIP" >&6
1867 echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6
1873 STRIP
="$ac_cv_prog_STRIP"
1877 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1879 # We need awk for the "check" target. The system "awk" is bad on
1881 # Always define AMTAR for backward compatibility.
1883 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1885 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1892 ac_config_headers
="$ac_config_headers config.h:config.in"
1896 # Check whether --with-sysroot or --without-sysroot was given.
1897 if test "${with_sysroot+set}" = set; then
1898 withval
="$with_sysroot"
1904 if test "$sysroot" = "yes"; then
1905 sysroot
='${exec_prefix}/${target_alias}/sys-root'
1906 elif test "$sysroot" = "no"; then
1910 sysroot_relocatable
=0
1911 if test -n "$sysroot"; then
1913 "${prefix}" |
"${prefix}/"* | \
1914 "${exec_prefix}" |
"${exec_prefix}/"* | \
1915 '${prefix}' |
'${prefix}/'*| \
1916 '${exec_prefix}' |
'${exec_prefix}/'*)
1917 sysroot_relocatable
=1
1923 cat >>confdefs.h
<<_ACEOF
1924 #define TARGET_SYSTEM_ROOT "$sysroot"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1933 # Check whether --enable-threads or --disable-threads was given.
1934 if test "${enable_threads+set}" = set; then
1935 enableval
="$enable_threads"
1936 case "${enableval}" in
1937 yes |
"") threads
=yes ;;
1944 if test "$threads" = "yes"; then
1946 cat >>confdefs.h
<<\_ACEOF
1947 #define ENABLE_THREADS 1
1953 if test "$threads" = "yes"; then
1962 # Check whether --enable-targets or --disable-targets was given.
1963 if test "${enable_targets+set}" = set; then
1964 enableval
="$enable_targets"
1965 case "${enableval}" in
1967 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1968 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1969 { (exit 1); exit 1; }; }
1975 enable_targets
=$enableval
1979 # For now, enable all targets by default
1984 # Canonicalize the enabled targets.
1985 if test -n "$enable_targets"; then
1986 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
1987 result
=`$ac_config_sub $targ 2>/dev/null`
1988 if test -n "$result"; then
1989 canon_targets
="$canon_targets $result"
1991 # Permit unrecognized target names, like "all".
1992 canon_targets
="$canon_targets $targ"
1997 # See which specific instantiations we need.
2007 for targ
in $target $canon_targets; do
2008 if test "$targ" = "all"; then
2015 .
${srcdir}/configure.tgt
2017 if test "$targ_obj" = "UNKNOWN"; then
2018 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
2019 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
2020 { (exit 1); exit 1; }; }
2022 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
2023 if test "$targ_extra_obj" != ""; then
2024 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
2026 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
2027 if test "$targ_big_endian" = "true" \
2028 -o "$targ_extra_big_endian" = "true"; then
2031 if test "$targ_big_endian" = "false" \
2032 -o "$targ_extra_big_endian" = "false"; then
2036 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
2037 if test "$targ_big_endian" = "true" \
2038 -o "$targ_extra_big_endian" = "true"; then
2041 if test "$targ_big_endian" = "false" \
2042 -o "$targ_extra_big_endian" = "false"; then
2047 if test "$target" = "$targ"; then
2048 default_machine
=$targ_machine
2049 default_size
=$targ_size
2050 default_big_endian
=$targ_big_endian
2056 if test -n "$targ_32_little"; then
2058 cat >>confdefs.h
<<\_ACEOF
2059 #define HAVE_TARGET_32_LITTLE 1
2063 if test -n "$targ_32_big"; then
2065 cat >>confdefs.h
<<\_ACEOF
2066 #define HAVE_TARGET_32_BIG 1
2070 if test -n "$targ_64_little"; then
2072 cat >>confdefs.h
<<\_ACEOF
2073 #define HAVE_TARGET_64_LITTLE 1
2077 if test -n "$targ_64_big"; then
2079 cat >>confdefs.h
<<\_ACEOF
2080 #define HAVE_TARGET_64_BIG 1
2085 if test -n "$all_targets"; then
2086 TARGETOBJS
='$(ALL_TARGETOBJS)'
2088 TARGETOBJS
="$targetobjs"
2093 cat >>confdefs.h
<<_ACEOF
2094 #define GOLD_DEFAULT_MACHINE $default_machine
2098 cat >>confdefs.h
<<_ACEOF
2099 #define GOLD_DEFAULT_SIZE $default_size
2103 cat >>confdefs.h
<<_ACEOF
2104 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
2109 ac_cpp
='$CPP $CPPFLAGS'
2110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2115 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2116 echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2118 if test "${ac_cv_prog_CC+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$CC"; then
2122 ac_cv_prog_CC
="$CC" # Let the user override the test.
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 if test -n "$CC"; then
2142 echo "$as_me:$LINENO: result: $CC" >&5
2143 echo "${ECHO_T}$CC" >&6
2145 echo "$as_me:$LINENO: result: no" >&5
2146 echo "${ECHO_T}no" >&6
2150 if test -z "$ac_cv_prog_CC"; then
2152 # Extract the first word of "gcc", so it can be a program name with args.
2153 set dummy gcc
; ac_word
=$2
2154 echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test -n "$ac_ct_CC"; then
2160 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir
=.
2167 for ac_exec_ext
in '' $ac_executable_extensions; do
2168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 ac_cv_prog_ac_ct_CC
="gcc"
2170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2179 if test -n "$ac_ct_CC"; then
2180 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2181 echo "${ECHO_T}$ac_ct_CC" >&6
2183 echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6
2192 if test -z "$CC"; then
2193 if test -n "$ac_tool_prefix"; then
2194 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2195 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2196 echo "$as_me:$LINENO: checking for $ac_word" >&5
2197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2198 if test "${ac_cv_prog_CC+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 if test -n "$CC"; then
2202 ac_cv_prog_CC
="$CC" # Let the user override the test.
2204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir
=.
2209 for ac_exec_ext
in '' $ac_executable_extensions; do
2210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2211 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 if test -n "$CC"; then
2222 echo "$as_me:$LINENO: result: $CC" >&5
2223 echo "${ECHO_T}$CC" >&6
2225 echo "$as_me:$LINENO: result: no" >&5
2226 echo "${ECHO_T}no" >&6
2230 if test -z "$ac_cv_prog_CC"; then
2232 # Extract the first word of "cc", so it can be a program name with args.
2233 set dummy cc
; ac_word
=$2
2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 if test -n "$ac_ct_CC"; then
2240 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir
=.
2247 for ac_exec_ext
in '' $ac_executable_extensions; do
2248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2249 ac_cv_prog_ac_ct_CC
="cc"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2259 if test -n "$ac_ct_CC"; then
2260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2261 echo "${ECHO_T}$ac_ct_CC" >&6
2263 echo "$as_me:$LINENO: result: no" >&5
2264 echo "${ECHO_T}no" >&6
2273 if test -z "$CC"; then
2274 # Extract the first word of "cc", so it can be a program name with args.
2275 set dummy cc
; ac_word
=$2
2276 echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2278 if test "${ac_cv_prog_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$CC"; then
2282 ac_cv_prog_CC
="$CC" # Let the user override the test.
2285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir
=.
2290 for ac_exec_ext
in '' $ac_executable_extensions; do
2291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2293 ac_prog_rejected
=yes
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 if test $ac_prog_rejected = yes; then
2304 # We found a bogon in the path, so make sure we never use it.
2305 set dummy
$ac_cv_prog_CC
2307 if test $# != 0; then
2308 # We chose a different compiler from the bogus one.
2309 # However, it has the same basename, so the bogon will be chosen
2310 # first if we set CC to just the basename; use the full file name.
2312 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2318 if test -n "$CC"; then
2319 echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6
2322 echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6
2327 if test -z "$CC"; then
2328 if test -n "$ac_tool_prefix"; then
2331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2332 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$CC"; then
2339 ac_cv_prog_CC
="$CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 echo "$as_me:$LINENO: result: $CC" >&5
2360 echo "${ECHO_T}$CC" >&6
2362 echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6
2366 test -n "$CC" && break
2369 if test -z "$CC"; then
2373 # Extract the first word of "$ac_prog", so it can be a program name with args.
2374 set dummy
$ac_prog; ac_word
=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 for ac_exec_ext
in '' $ac_executable_extensions; do
2389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390 ac_cv_prog_ac_ct_CC
="$ac_prog"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2400 if test -n "$ac_ct_CC"; then
2401 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2402 echo "${ECHO_T}$ac_ct_CC" >&6
2404 echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2408 test -n "$ac_ct_CC" && break
2417 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: no acceptable C compiler found in \$PATH
2422 See \`config.log' for more details." >&2;}
2423 { (exit 1); exit 1; }; }; }
2425 # Provide some information about the compiler.
2426 echo "$as_me:$LINENO:" \
2427 "checking for C compiler version" >&5
2428 ac_compiler
=`set X $ac_compile; echo $2`
2429 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2430 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }
2434 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2435 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }
2439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2440 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }
2445 cat >conftest.
$ac_ext <<_ACEOF
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 ac_clean_files_save
=$ac_clean_files
2461 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2462 # Try to create an executable without -o first, disregard a.out.
2463 # It will help us diagnose broken compilers, and finding out an intuition
2465 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2466 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2467 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2468 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2469 (eval $ac_link_default) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; then
2473 # Find the output, starting from the most likely. This scheme is
2474 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2477 # Be careful to initialize this variable, since it used to be cached.
2478 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2480 # b.out is created by i960 compilers.
2481 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2483 test -f "$ac_file" ||
continue
2485 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2488 # This is the source file.
2491 # We found the default executable, but exeext='' is most
2495 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2496 # FIXME: I believe we export ac_cv_exeext for Libtool,
2497 # but it would be cool to find out if it's true. Does anybody
2498 # maintain Libtool? --akim.
2506 echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.
$ac_ext >&5
2509 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2510 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: C compiler cannot create executables
2514 See \`config.log' for more details." >&2;}
2515 { (exit 77); exit 77; }; }; }
2518 ac_exeext
=$ac_cv_exeext
2519 echo "$as_me:$LINENO: result: $ac_file" >&5
2520 echo "${ECHO_T}$ac_file" >&6
2522 # Check the compiler produces executables we can run. If not, either
2523 # the compiler is broken, or we cross compile.
2524 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2525 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2527 # If not cross compiling, check that we can run a simple program.
2528 if test "$cross_compiling" != yes; then
2529 if { ac_try
='./$ac_file'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 if test "$cross_compiling" = maybe
; then
2540 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2541 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2543 If you meant to cross compile, use \`--host'.
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: cannot run C compiled programs.
2546 If you meant to cross compile, use \`--host'.
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }; }
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2555 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2556 ac_clean_files
=$ac_clean_files_save
2557 # Check the compiler produces executables we can run. If not, either
2558 # the compiler is broken, or we cross compile.
2559 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2560 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2561 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2562 echo "${ECHO_T}$cross_compiling" >&6
2564 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2565 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2567 (eval $ac_link) 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; then
2571 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2572 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2573 # work properly (i.e., refer to `conftest.exe'), while it won't with
2575 for ac_file
in conftest.exe conftest conftest.
*; do
2576 test -f "$ac_file" ||
continue
2578 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2579 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2586 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2587 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2589 See \`config.log' for more details." >&5
2590 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2591 See \`config.log' for more details." >&2;}
2592 { (exit 1); exit 1; }; }; }
2595 rm -f conftest
$ac_cv_exeext
2596 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2597 echo "${ECHO_T}$ac_cv_exeext" >&6
2599 rm -f conftest.
$ac_ext
2600 EXEEXT
=$ac_cv_exeext
2602 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2603 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2604 if test "${ac_cv_objext+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 cat >conftest.
$ac_ext <<_ACEOF
2610 cat confdefs.h
>>conftest.
$ac_ext
2611 cat >>conftest.
$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2622 rm -f conftest.o conftest.obj
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; then
2628 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2630 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2631 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.
$ac_ext >&5
2639 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2640 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2641 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2644 See \`config.log' for more details." >&2;}
2645 { (exit 1); exit 1; }; }; }
2648 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2650 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2651 echo "${ECHO_T}$ac_cv_objext" >&6
2652 OBJEXT
=$ac_cv_objext
2654 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2655 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2656 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 cat >conftest.
$ac_ext <<_ACEOF
2662 cat confdefs.h
>>conftest.
$ac_ext
2663 cat >>conftest.
$ac_ext <<_ACEOF
2664 /* end confdefs.h. */
2677 rm -f conftest.
$ac_objext
2678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2679 (eval $ac_compile) 2>conftest.er1
2681 grep -v '^ *+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } &&
2686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; } &&
2692 { ac_try
='test -s conftest.$ac_objext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2706 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2709 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2710 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2711 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2712 ac_test_CFLAGS
=${CFLAGS+set}
2713 ac_save_CFLAGS
=$CFLAGS
2715 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2716 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2717 if test "${ac_cv_prog_cc_g+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 cat >conftest.
$ac_ext <<_ACEOF
2723 cat confdefs.h
>>conftest.
$ac_ext
2724 cat >>conftest.
$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2735 rm -f conftest.
$ac_objext
2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2737 (eval $ac_compile) 2>conftest.er1
2739 grep -v '^ *+' conftest.er1
>conftest.err
2741 cat conftest.err
>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; } &&
2750 { ac_try
='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.
$ac_ext >&5
2763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2765 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2767 if test "$ac_test_CFLAGS" = set; then
2768 CFLAGS
=$ac_save_CFLAGS
2769 elif test $ac_cv_prog_cc_g = yes; then
2770 if test "$GCC" = yes; then
2776 if test "$GCC" = yes; then
2782 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2783 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2784 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 ac_cv_prog_cc_stdc
=no
2789 cat >conftest.
$ac_ext <<_ACEOF
2792 cat confdefs.h
>>conftest.
$ac_ext
2793 cat >>conftest.
$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2797 #include <sys/types.h>
2798 #include <sys/stat.h>
2799 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2800 struct buf { int x; };
2801 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2802 static char *e (p, i)
2808 static char *f (char * (*g) (char **, int), char **p, ...)
2813 s = g (p, va_arg (v,int));
2818 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2819 function prototypes and stuff, but not '\xHH' hex character constants.
2820 These don't provoke an error unfortunately, instead are silently treated
2821 as 'x'. The following induces an error, until -std1 is added to get
2822 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2823 array size at least. It's necessary to write '\x00'==0 to get something
2824 that's true only with -std1. */
2825 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2827 int test (int i, double x);
2828 struct s1 {int (*f) (int a);};
2829 struct s2 {int (*f) (double a);};
2830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2841 # Don't try gcc -ansi; that turns off useful extensions and
2842 # breaks some systems' header files.
2843 # AIX -qlanglvl=ansi
2844 # Ultrix and OSF/1 -std1
2845 # HP-UX 10.20 and later -Ae
2846 # HP-UX older versions -Aa -D_HPUX_SOURCE
2847 # SVR4 -Xc -D__EXTENSIONS__
2848 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2850 CC
="$ac_save_CC $ac_arg"
2851 rm -f conftest.
$ac_objext
2852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2853 (eval $ac_compile) 2>conftest.er1
2855 grep -v '^ *+' conftest.er1
>conftest.err
2857 cat conftest.err
>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); } &&
2860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; } &&
2866 { ac_try
='test -s conftest.$ac_objext'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; }; then
2872 ac_cv_prog_cc_stdc
=$ac_arg
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.
$ac_ext >&5
2879 rm -f conftest.err conftest.
$ac_objext
2881 rm -f conftest.
$ac_ext conftest.
$ac_objext
2886 case "x$ac_cv_prog_cc_stdc" in
2888 echo "$as_me:$LINENO: result: none needed" >&5
2889 echo "${ECHO_T}none needed" >&6 ;;
2891 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2892 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2893 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2896 # Some people use a C++ compiler to compile C. Since we use `exit',
2897 # in C++ we need to declare it. In case someone uses the same compiler
2898 # for both compiling C and C++ we need to have the C++ compiler decide
2899 # the declaration of exit, since it's the most demanding environment.
2900 cat >conftest.
$ac_ext <<_ACEOF
2905 rm -f conftest.
$ac_objext
2906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907 (eval $ac_compile) 2>conftest.er1
2909 grep -v '^ *+' conftest.er1
>conftest.err
2911 cat conftest.err
>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; } &&
2920 { ac_try
='test -s conftest.$ac_objext'
2921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }; }; then
2926 for ac_declaration
in \
2928 'extern "C" void std::exit (int) throw (); using std::exit;' \
2929 'extern "C" void std::exit (int); using std::exit;' \
2930 'extern "C" void exit (int) throw ();' \
2931 'extern "C" void exit (int);' \
2934 cat >conftest.
$ac_ext <<_ACEOF
2937 cat confdefs.h
>>conftest.
$ac_ext
2938 cat >>conftest.
$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2950 rm -f conftest.
$ac_objext
2951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2952 (eval $ac_compile) 2>conftest.er1
2954 grep -v '^ *+' conftest.er1
>conftest.err
2956 cat conftest.err
>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } &&
2959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try
='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.
$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>conftest.er1
2998 grep -v '^ *+' conftest.er1
>conftest.err
3000 cat conftest.err
>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; } &&
3009 { ac_try
='test -s conftest.$ac_objext'
3010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }; }; then
3017 echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.
$ac_ext >&5
3021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3024 if test -n "$ac_declaration"; then
3025 echo '#ifdef __cplusplus' >>confdefs.h
3026 echo $ac_declaration >>confdefs.h
3027 echo '#endif' >>confdefs.h
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.
$ac_ext >&5
3035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3037 ac_cpp
='$CPP $CPPFLAGS'
3038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3041 DEPDIR
="${am__leading_dot}deps"
3043 ac_config_commands
="$ac_config_commands depfiles"
3046 am_make
=${MAKE-make}
3047 cat > confinc
<< 'END'
3052 # If we don't find an include directive, just comment out the code.
3053 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3054 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3058 # First try GNU make style include.
3059 echo "include confinc" > confmf
3060 # We grep out `Entering directory' and `Leaving directory'
3061 # messages which can occur if `w' ends up in MAKEFLAGS.
3062 # In particular we don't look at `^make:' because GNU make might
3063 # be invoked under some other name (usually "gmake"), in which
3064 # case it prints its new name instead of `make'.
3065 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3070 # Now try BSD make style include.
3071 if test "$am__include" = "#"; then
3072 echo '.include "confinc"' > confmf
3073 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3074 am__include
=.include
3081 echo "$as_me:$LINENO: result: $_am_result" >&5
3082 echo "${ECHO_T}$_am_result" >&6
3083 rm -f confinc confmf
3085 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3086 if test "${enable_dependency_tracking+set}" = set; then
3087 enableval
="$enable_dependency_tracking"
3090 if test "x$enable_dependency_tracking" != xno
; then
3091 am_depcomp
="$ac_aux_dir/depcomp"
3096 if test "x$enable_dependency_tracking" != xno; then
3107 depcc
="$CC" am_compiler_list
=
3109 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3110 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3111 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3115 # We make a subdir and do the tests there. Otherwise we can end up
3116 # making bogus files that we don't know about and never remove. For
3117 # instance it was reported that on HP-UX the gcc test will end up
3118 # making a dummy file named `D' -- because `-MD' means `put the output
3121 # Copy depcomp to subdir because otherwise we won't find it if we're
3122 # using a relative directory.
3123 cp "$am_depcomp" conftest.dir
3125 # We will build objects and dependencies in a subdirectory because
3126 # it helps to detect inapplicable dependency modes. For instance
3127 # both Tru64's cc and ICC support -MD to output dependencies as a
3128 # side effect of compilation, but ICC will put the dependencies in
3129 # the current directory while Tru64 will put them in the object
3133 am_cv_CC_dependencies_compiler_type
=none
3134 if test "$am_compiler_list" = ""; then
3135 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3137 for depmode
in $am_compiler_list; do
3138 # Setup a source with many dependencies, because some compilers
3139 # like to wrap large dependency lists on column 80 (with \), and
3140 # we should not choose a depcomp mode which is confused by this.
3142 # We need to recreate these files for each test, as the compiler may
3143 # overwrite some of them when testing with obscure command lines.
3144 # This happens at least with the AIX C compiler.
3146 for i
in 1 2 3 4 5 6; do
3147 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3148 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3149 # Solaris 8's {/usr,}/bin/sh.
3150 touch sub
/conftst
$i.h
3152 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3156 # after this tag, mechanisms are not by side-effect, so they'll
3157 # only be used when explicitly requested
3158 if test "x$enable_dependency_tracking" = xyes
; then
3166 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3167 # mode. It turns out that the SunPro C++ compiler does not properly
3168 # handle `-M -o', and we need to detect this.
3169 if depmode
=$depmode \
3170 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3171 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3172 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3173 >/dev
/null
2>conftest.err
&&
3174 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3175 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3176 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3177 # icc doesn't choke on unknown options, it will just issue warnings
3178 # or remarks (even with -Werror). So we grep stderr for any message
3179 # that says an option was ignored or not supported.
3180 # When given -MP, icc 7.0 and 7.1 complain thusly:
3181 # icc: Command line warning: ignoring option '-M'; no argument required
3182 # The diagnosis changed in icc 8.0:
3183 # icc: Command line remark: option '-MP' not supported
3184 if (grep 'ignoring option' conftest.err ||
3185 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3186 am_cv_CC_dependencies_compiler_type
=$depmode
3195 am_cv_CC_dependencies_compiler_type
=none
3199 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3200 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3201 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3206 test "x$enable_dependency_tracking" != xno \
3207 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3209 am__fastdepCC_FALSE
='#'
3211 am__fastdepCC_TRUE
='#'
3212 am__fastdepCC_FALSE
=
3217 ac_cpp
='$CXXCPP $CPPFLAGS'
3218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3221 if test -n "$ac_tool_prefix"; then
3222 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3225 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3226 echo "$as_me:$LINENO: checking for $ac_word" >&5
3227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3228 if test "${ac_cv_prog_CXX+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 if test -n "$CXX"; then
3232 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3241 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 if test -n "$CXX"; then
3252 echo "$as_me:$LINENO: result: $CXX" >&5
3253 echo "${ECHO_T}$CXX" >&6
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3259 test -n "$CXX" && break
3262 if test -z "$CXX"; then
3264 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3266 # Extract the first word of "$ac_prog", so it can be a program name with args.
3267 set dummy
$ac_prog; ac_word
=$2
3268 echo "$as_me:$LINENO: checking for $ac_word" >&5
3269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3270 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 if test -n "$ac_ct_CXX"; then
3274 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3293 if test -n "$ac_ct_CXX"; then
3294 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3295 echo "${ECHO_T}$ac_ct_CXX" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3301 test -n "$ac_ct_CXX" && break
3303 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3309 # Provide some information about the compiler.
3310 echo "$as_me:$LINENO:" \
3311 "checking for C++ compiler version" >&5
3312 ac_compiler
=`set X $ac_compile; echo $2`
3313 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3314 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }
3318 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3319 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }
3323 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3324 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }
3329 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3330 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3331 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 cat >conftest.
$ac_ext <<_ACEOF
3337 cat confdefs.h
>>conftest.
$ac_ext
3338 cat >>conftest.
$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3352 rm -f conftest.
$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; } &&
3367 { ac_try
='test -s conftest.$ac_objext'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; }; then
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3381 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3384 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3385 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3386 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3387 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3388 ac_save_CXXFLAGS
=$CXXFLAGS
3390 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 cat >conftest.
$ac_ext <<_ACEOF
3398 cat confdefs.h
>>conftest.
$ac_ext
3399 cat >>conftest.
$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 rm -f conftest.
$ac_objext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3412 (eval $ac_compile) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest.$ac_objext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3431 ac_cv_prog_cxx_g
=yes
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3440 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3441 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3442 if test "$ac_test_CXXFLAGS" = set; then
3443 CXXFLAGS
=$ac_save_CXXFLAGS
3444 elif test $ac_cv_prog_cxx_g = yes; then
3445 if test "$GXX" = yes; then
3451 if test "$GXX" = yes; then
3457 for ac_declaration
in \
3459 'extern "C" void std::exit (int) throw (); using std::exit;' \
3460 'extern "C" void std::exit (int); using std::exit;' \
3461 'extern "C" void exit (int) throw ();' \
3462 'extern "C" void exit (int);' \
3465 cat >conftest.
$ac_ext <<_ACEOF
3468 cat confdefs.h
>>conftest.
$ac_ext
3469 cat >>conftest.
$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3481 rm -f conftest.
$ac_objext
3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>conftest.er1
3485 grep -v '^ *+' conftest.er1
>conftest.err
3487 cat conftest.err
>&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; } &&
3496 { ac_try
='test -s conftest.$ac_objext'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; }; then
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3510 cat >conftest.
$ac_ext <<_ACEOF
3513 cat confdefs.h
>>conftest.
$ac_ext
3514 cat >>conftest.
$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3525 rm -f conftest.
$ac_objext
3526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3527 (eval $ac_compile) 2>conftest.er1
3529 grep -v '^ *+' conftest.er1
>conftest.err
3531 cat conftest.err
>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } &&
3534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); }; } &&
3540 { ac_try
='test -s conftest.$ac_objext'
3541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; }; then
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.
$ac_ext >&5
3552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3555 if test -n "$ac_declaration"; then
3556 echo '#ifdef __cplusplus' >>confdefs.h
3557 echo $ac_declaration >>confdefs.h
3558 echo '#endif' >>confdefs.h
3562 ac_cpp
='$CPP $CPPFLAGS'
3563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3567 depcc
="$CXX" am_compiler_list
=
3569 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3570 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3571 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3575 # We make a subdir and do the tests there. Otherwise we can end up
3576 # making bogus files that we don't know about and never remove. For
3577 # instance it was reported that on HP-UX the gcc test will end up
3578 # making a dummy file named `D' -- because `-MD' means `put the output
3581 # Copy depcomp to subdir because otherwise we won't find it if we're
3582 # using a relative directory.
3583 cp "$am_depcomp" conftest.dir
3585 # We will build objects and dependencies in a subdirectory because
3586 # it helps to detect inapplicable dependency modes. For instance
3587 # both Tru64's cc and ICC support -MD to output dependencies as a
3588 # side effect of compilation, but ICC will put the dependencies in
3589 # the current directory while Tru64 will put them in the object
3593 am_cv_CXX_dependencies_compiler_type
=none
3594 if test "$am_compiler_list" = ""; then
3595 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3597 for depmode
in $am_compiler_list; do
3598 # Setup a source with many dependencies, because some compilers
3599 # like to wrap large dependency lists on column 80 (with \), and
3600 # we should not choose a depcomp mode which is confused by this.
3602 # We need to recreate these files for each test, as the compiler may
3603 # overwrite some of them when testing with obscure command lines.
3604 # This happens at least with the AIX C compiler.
3606 for i
in 1 2 3 4 5 6; do
3607 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3608 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3609 # Solaris 8's {/usr,}/bin/sh.
3610 touch sub
/conftst
$i.h
3612 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3616 # after this tag, mechanisms are not by side-effect, so they'll
3617 # only be used when explicitly requested
3618 if test "x$enable_dependency_tracking" = xyes
; then
3626 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3627 # mode. It turns out that the SunPro C++ compiler does not properly
3628 # handle `-M -o', and we need to detect this.
3629 if depmode
=$depmode \
3630 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3631 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3632 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3633 >/dev
/null
2>conftest.err
&&
3634 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3635 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3636 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3637 # icc doesn't choke on unknown options, it will just issue warnings
3638 # or remarks (even with -Werror). So we grep stderr for any message
3639 # that says an option was ignored or not supported.
3640 # When given -MP, icc 7.0 and 7.1 complain thusly:
3641 # icc: Command line warning: ignoring option '-M'; no argument required
3642 # The diagnosis changed in icc 8.0:
3643 # icc: Command line remark: option '-MP' not supported
3644 if (grep 'ignoring option' conftest.err ||
3645 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3646 am_cv_CXX_dependencies_compiler_type
=$depmode
3655 am_cv_CXX_dependencies_compiler_type
=none
3659 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3660 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3661 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3666 test "x$enable_dependency_tracking" != xno \
3667 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3668 am__fastdepCXX_TRUE
=
3669 am__fastdepCXX_FALSE
='#'
3671 am__fastdepCXX_TRUE
='#'
3672 am__fastdepCXX_FALSE
=
3676 for ac_prog
in 'bison -y' byacc
3678 # Extract the first word of "$ac_prog", so it can be a program name with args.
3679 set dummy
$ac_prog; ac_word
=$2
3680 echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3682 if test "${ac_cv_prog_YACC+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 if test -n "$YACC"; then
3686 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_YACC
="$ac_prog"
3696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 YACC
=$ac_cv_prog_YACC
3705 if test -n "$YACC"; then
3706 echo "$as_me:$LINENO: result: $YACC" >&5
3707 echo "${ECHO_T}$YACC" >&6
3709 echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6
3713 test -n "$YACC" && break
3715 test -n "$YACC" || YACC
="yacc"
3717 if test -n "$ac_tool_prefix"; then
3718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3719 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3720 echo "$as_me:$LINENO: checking for $ac_word" >&5
3721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3722 if test "${ac_cv_prog_RANLIB+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 if test -n "$RANLIB"; then
3726 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 RANLIB
=$ac_cv_prog_RANLIB
3745 if test -n "$RANLIB"; then
3746 echo "$as_me:$LINENO: result: $RANLIB" >&5
3747 echo "${ECHO_T}$RANLIB" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3754 if test -z "$ac_cv_prog_RANLIB"; then
3755 ac_ct_RANLIB
=$RANLIB
3756 # Extract the first word of "ranlib", so it can be a program name with args.
3757 set dummy ranlib
; ac_word
=$2
3758 echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 if test -n "$ac_ct_RANLIB"; then
3764 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3783 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3784 if test -n "$ac_ct_RANLIB"; then
3785 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3786 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3792 RANLIB
=$ac_ct_RANLIB
3794 RANLIB
="$ac_cv_prog_RANLIB"
3797 # Find a good install program. We prefer a C program (faster),
3798 # so one script is as good as another. But avoid the broken or
3799 # incompatible versions:
3800 # SysV /etc/install, /usr/sbin/install
3801 # SunOS /usr/etc/install
3802 # IRIX /sbin/install
3804 # AmigaOS /C/install, which installs bootblocks on floppy discs
3805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3808 # OS/2's system install, which has a completely different semantic
3809 # ./install, which can be erroneously created by make from ./install.sh.
3810 # Reject install programs that cannot install multiple files.
3811 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3812 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3813 if test -z "$INSTALL"; then
3814 if test "${ac_cv_path_install+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 # Account for people who put trailing slashes in PATH elements.
3824 .
/ | .
// |
/cC
/* | \
3825 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3826 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3829 # OSF1 and SCO ODT 3.0 have their own names for install.
3830 # Don't use installbsd from OSF since it installs stuff as root
3832 for ac_prog
in ginstall scoinst
install; do
3833 for ac_exec_ext
in '' $ac_executable_extensions; do
3834 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3835 if test $ac_prog = install &&
3836 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3837 # AIX install. It has an incompatible calling convention.
3839 elif test $ac_prog = install &&
3840 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3841 # program-specific install script used by HP pwplus--don't use.
3844 rm -rf conftest.one conftest.two conftest.dir
3845 echo one
> conftest.one
3846 echo two
> conftest.two
3848 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3849 test -s conftest.one
&& test -s conftest.two
&&
3850 test -s conftest.dir
/conftest.one
&&
3851 test -s conftest.dir
/conftest.two
3853 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3864 rm -rf conftest.one conftest.two conftest.dir
3867 if test "${ac_cv_path_install+set}" = set; then
3868 INSTALL
=$ac_cv_path_install
3870 # As a last resort, use the slow shell script. Don't cache a
3871 # value for INSTALL within a source directory, because that will
3872 # break other packages using the cache if that directory is
3873 # removed, or if the value is a relative name.
3874 INSTALL
=$ac_install_sh
3877 echo "$as_me:$LINENO: result: $INSTALL" >&5
3878 echo "${ECHO_T}$INSTALL" >&6
3880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3881 # It thinks the first close brace ends the variable substitution.
3882 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3884 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3886 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3888 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3889 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3891 if test "$LN_S" = "ln -s"; then
3892 echo "$as_me:$LINENO: result: yes" >&5
3893 echo "${ECHO_T}yes" >&6
3895 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3896 echo "${ECHO_T}no, using $LN_S" >&6
3901 cat >>confdefs.h
<<\_ACEOF
3902 #define _GNU_SOURCE 1
3907 # If we haven't got the data from the intl directory,
3908 # assume NLS is disabled.
3917 if test -f ..
/intl
/config.intl
; then
3918 . ..
/intl
/config.intl
3920 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3921 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3922 if test x
"$USE_NLS" != xyes
; then
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3926 echo "$as_me:$LINENO: result: yes" >&5
3927 echo "${ECHO_T}yes" >&6
3929 cat >>confdefs.h
<<\_ACEOF
3930 #define ENABLE_NLS 1
3934 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3935 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3936 # Look for .po and .gmo files in the source directory.
3939 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3940 # If there aren't any .gmo files the shell will give us the
3941 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3943 case "$cat" in *\
**)
3946 # The quadruple backslash is collapsed to a double backslash
3947 # by the backticks, then collapsed again by the double quotes,
3948 # leaving us with one backslash in the sed expression (right
3949 # before the dot that mustn't act as a wildcard).
3950 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3951 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3952 # The user is allowed to set LINGUAS to a list of languages to
3953 # install catalogs for. If it's empty that means "all of them."
3954 if test "x$LINGUAS" = x
; then
3955 CATALOGS
="$CATALOGS $cat"
3956 XLINGUAS
="$XLINGUAS $lang"
3958 case "$LINGUAS" in *$lang*)
3959 CATALOGS
="$CATALOGS $cat"
3960 XLINGUAS
="$XLINGUAS $lang"
3966 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3967 echo "${ECHO_T}$LINGUAS" >&6
3981 if test -n "$ac_aux_dir"; then
3982 case "$ac_aux_dir" in
3983 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3984 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3987 if test -z "$MKINSTALLDIRS"; then
3988 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3993 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3994 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3995 # Check whether --enable-nls or --disable-nls was given.
3996 if test "${enable_nls+set}" = set; then
3997 enableval
="$enable_nls"
4002 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4003 echo "${ECHO_T}$USE_NLS" >&6
4010 # Prepare PATH_SEPARATOR.
4011 # The user is always right.
4012 if test "${PATH_SEPARATOR+set}" != set; then
4013 echo "#! /bin/sh" >conf$$.sh
4014 echo "exit 0" >>conf$$.sh
4016 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4024 # Find out how to test for executable files. Don't use a zero-byte file,
4025 # as systems may use methods other than mode bits to determine executability.
4026 cat >conf$$.
file <<_ASEOF
4030 chmod +x conf$$.
file
4031 if test -x conf$$.
file >/dev
/null
2>&1; then
4032 ac_executable_p
="test -x"
4034 ac_executable_p
="test -f"
4038 # Extract the first word of "msgfmt", so it can be a program name with args.
4039 set dummy msgfmt
; ac_word
=$2
4040 echo "$as_me:$LINENO: checking for $ac_word" >&5
4041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4042 if test "${ac_cv_path_MSGFMT+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4050 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4051 for ac_dir
in $PATH; do
4053 test -z "$ac_dir" && ac_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4056 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
4057 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4058 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
4065 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4069 MSGFMT
="$ac_cv_path_MSGFMT"
4070 if test "$MSGFMT" != ":"; then
4071 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4072 echo "${ECHO_T}$MSGFMT" >&6
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4078 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4079 set dummy gmsgfmt
; ac_word
=$2
4080 echo "$as_me:$LINENO: checking for $ac_word" >&5
4081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4082 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4108 GMSGFMT
=$ac_cv_path_GMSGFMT
4110 if test -n "$GMSGFMT"; then
4111 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4112 echo "${ECHO_T}$GMSGFMT" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4120 # Prepare PATH_SEPARATOR.
4121 # The user is always right.
4122 if test "${PATH_SEPARATOR+set}" != set; then
4123 echo "#! /bin/sh" >conf$$.sh
4124 echo "exit 0" >>conf$$.sh
4126 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4134 # Find out how to test for executable files. Don't use a zero-byte file,
4135 # as systems may use methods other than mode bits to determine executability.
4136 cat >conf$$.
file <<_ASEOF
4140 chmod +x conf$$.
file
4141 if test -x conf$$.
file >/dev
/null
2>&1; then
4142 ac_executable_p
="test -x"
4144 ac_executable_p
="test -f"
4148 # Extract the first word of "xgettext", so it can be a program name with args.
4149 set dummy xgettext
; ac_word
=$2
4150 echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4152 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4160 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4161 for ac_dir
in $PATH; do
4163 test -z "$ac_dir" && ac_dir
=.
4164 for ac_exec_ext
in '' $ac_executable_extensions; do
4165 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4166 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4167 (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
4168 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4175 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4179 XGETTEXT
="$ac_cv_path_XGETTEXT"
4180 if test "$XGETTEXT" != ":"; then
4181 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4182 echo "${ECHO_T}$XGETTEXT" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4191 # Prepare PATH_SEPARATOR.
4192 # The user is always right.
4193 if test "${PATH_SEPARATOR+set}" != set; then
4194 echo "#! /bin/sh" >conf$$.sh
4195 echo "exit 0" >>conf$$.sh
4197 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4205 # Find out how to test for executable files. Don't use a zero-byte file,
4206 # as systems may use methods other than mode bits to determine executability.
4207 cat >conf$$.
file <<_ASEOF
4211 chmod +x conf$$.
file
4212 if test -x conf$$.
file >/dev
/null
2>&1; then
4213 ac_executable_p
="test -x"
4215 ac_executable_p
="test -f"
4219 # Extract the first word of "msgmerge", so it can be a program name with args.
4220 set dummy msgmerge
; ac_word
=$2
4221 echo "$as_me:$LINENO: checking for $ac_word" >&5
4222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4223 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4231 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4232 for ac_dir
in $PATH; do
4234 test -z "$ac_dir" && ac_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4237 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4238 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4245 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4249 MSGMERGE
="$ac_cv_path_MSGMERGE"
4250 if test "$MSGMERGE" != ":"; then
4251 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4252 echo "${ECHO_T}$MSGMERGE" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4259 if test "$GMSGFMT" != ":"; then
4260 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4261 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4264 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4265 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4266 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4271 if test "$XGETTEXT" != ":"; then
4272 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4273 (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
4276 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4277 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4283 ac_config_commands
="$ac_config_commands default-1"
4288 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4289 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4290 if test "${ac_cv_c_bigendian+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 # See if sys/param.h defines the BYTE_ORDER macro.
4294 cat >conftest.
$ac_ext <<_ACEOF
4297 cat confdefs.h
>>conftest.
$ac_ext
4298 cat >>conftest.
$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4300 #include <sys/types.h>
4301 #include <sys/param.h>
4306 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4314 rm -f conftest.
$ac_objext
4315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4316 (eval $ac_compile) 2>conftest.er1
4318 grep -v '^ *+' conftest.er1
>conftest.err
4320 cat conftest.err
>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } &&
4323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; } &&
4329 { ac_try
='test -s conftest.$ac_objext'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; }; then
4335 # It does; now see whether it defined to BIG_ENDIAN or not.
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 #include <sys/types.h>
4343 #include <sys/param.h>
4348 #if BYTE_ORDER != BIG_ENDIAN
4356 rm -f conftest.
$ac_objext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>conftest.er1
4360 grep -v '^ *+' conftest.er1
>conftest.err
4362 cat conftest.err
>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; } &&
4371 { ac_try
='test -s conftest.$ac_objext'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; }; then
4377 ac_cv_c_bigendian
=yes
4379 echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.
$ac_ext >&5
4382 ac_cv_c_bigendian
=no
4384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4389 # It does not; compile a test program.
4390 if test "$cross_compiling" = yes; then
4391 # try to guess the endianness by grepping values into an object file
4392 ac_cv_c_bigendian
=unknown
4393 cat >conftest.
$ac_ext <<_ACEOF
4396 cat confdefs.h
>>conftest.
$ac_ext
4397 cat >>conftest.
$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4399 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4400 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4401 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4402 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4403 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4404 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4408 _ascii (); _ebcdic ();
4413 rm -f conftest.
$ac_objext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1
>conftest.err
4419 cat conftest.err
>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try
='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4435 ac_cv_c_bigendian
=yes
4437 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4438 if test "$ac_cv_c_bigendian" = unknown
; then
4439 ac_cv_c_bigendian
=no
4441 # finding both strings is unlikely to happen, but who knows?
4442 ac_cv_c_bigendian
=unknown
4446 echo "$as_me: failed program was:" >&5
4447 sed 's/^/| /' conftest.
$ac_ext >&5
4450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4452 cat >conftest.
$ac_ext <<_ACEOF
4455 cat confdefs.h
>>conftest.
$ac_ext
4456 cat >>conftest.
$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4461 /* Are we little or big endian? From Harbison&Steele. */
4465 char c[sizeof (long)];
4468 exit (u.c[sizeof (long) - 1] == 1);
4471 rm -f conftest
$ac_exeext
4472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4473 (eval $ac_link) 2>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_cv_c_bigendian
=no
4484 echo "$as_me: program exited with status $ac_status" >&5
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4489 ac_cv_c_bigendian
=yes
4491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4496 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4497 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4498 case $ac_cv_c_bigendian in
4501 cat >>confdefs.h
<<\_ACEOF
4502 #define WORDS_BIGENDIAN 1
4508 { { echo "$as_me:$LINENO: error: unknown endianness
4509 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4510 echo "$as_me: error: unknown endianness
4511 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4512 { (exit 1); exit 1; }; } ;;
4520 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4522 NATIVE_LINKER_FALSE
='#'
4524 NATIVE_LINKER_TRUE
='#'
4525 NATIVE_LINKER_FALSE
=
4530 if test "$GCC" = yes; then
4548 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
4549 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
4551 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
4552 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
4556 echo "$as_me:$LINENO: checking for thread support" >&5
4557 echo $ECHO_N "checking for thread support... $ECHO_C" >&6
4558 if test "${gold_cv_c_thread+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 rm -f conftest.
$ac_objext
4565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4566 (eval $ac_compile) 2>conftest.er1
4568 grep -v '^ *+' conftest.er1
>conftest.err
4570 cat conftest.err
>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; } &&
4579 { ac_try
='test -s conftest.$ac_objext'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4585 gold_cv_c_thread
=yes
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.
$ac_ext >&5
4592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 echo "$as_me:$LINENO: result: $gold_cv_c_thread" >&5
4595 echo "${ECHO_T}$gold_cv_c_thread" >&6
4599 if test "$gold_cv_c_thread" = "yes"; then
4608 echo "$as_me:$LINENO: checking for glibc >= 2.4" >&5
4609 echo $ECHO_N "checking for glibc >= 2.4... $ECHO_C" >&6
4610 if test "${gold_cv_lib_glibc24+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 cat >conftest.
$ac_ext <<_ACEOF
4615 #include <features.h>
4616 #if !defined __GLIBC__
4618 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
4623 rm -f conftest.
$ac_objext
4624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625 (eval $ac_compile) 2>conftest.er1
4627 grep -v '^ *+' conftest.er1
>conftest.err
4629 cat conftest.err
>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } &&
4632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; } &&
4638 { ac_try
='test -s conftest.$ac_objext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then
4644 gold_cv_lib_glibc24
=yes
4646 echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.
$ac_ext >&5
4649 gold_cv_lib_glibc24
=no
4651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4653 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc24" >&5
4654 echo "${ECHO_T}$gold_cv_lib_glibc24" >&6
4658 if test "$gold_cv_lib_glibc24" = "yes"; then
4660 STATIC_TLS_FALSE
='#'
4667 echo "$as_me:$LINENO: checking for omp support" >&5
4668 echo $ECHO_N "checking for omp support... $ECHO_C" >&6
4669 if test "${gold_cv_c_threadprivate+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 save_CFLAGS
="$CFLAGS"
4673 CFLAGS
="$CFLAGS -fopenmp"
4674 cat >conftest.
$ac_ext <<_ACEOF
4678 #pragma omp threadprivate (i)
4681 rm -f conftest.
$ac_objext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4683 (eval $ac_compile) 2>conftest.er1
4685 grep -v '^ *+' conftest.er1
>conftest.err
4687 cat conftest.err
>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; } &&
4696 { ac_try
='test -s conftest.$ac_objext'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then
4702 gold_cv_c_threadprivate
=yes
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4707 gold_cv_c_threadprivate
=no
4709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4710 CFLAGS
="$save_CFLAGS"
4712 echo "$as_me:$LINENO: result: $gold_cv_c_threadprivate" >&5
4713 echo "${ECHO_T}$gold_cv_c_threadprivate" >&6
4714 if test "$gold_cv_c_threadprivate" = "yes"; then
4716 cat >>confdefs.h
<<\_ACEOF
4717 #define HAVE_OMP_SUPPORT 1
4723 if test "$gold_cv_c_threadprivate" = "yes"; then
4725 OMP_SUPPORT_FALSE
='#'
4727 OMP_SUPPORT_TRUE
='#'
4732 save_CFLAGS
="$CFLAGS"
4733 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 rm -f conftest.
$ac_objext
4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739 (eval $ac_compile) 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 CFLAGS
="$save_CFLAGS"
4769 if test "$have_tls_gnu2" = "yes"; then
4770 TLS_GNU2_DIALECT_TRUE
=
4771 TLS_GNU2_DIALECT_FALSE
='#'
4773 TLS_GNU2_DIALECT_TRUE
='#'
4774 TLS_GNU2_DIALECT_FALSE
=
4778 echo "$as_me:$LINENO: checking for glibc >= 2.5" >&5
4779 echo $ECHO_N "checking for glibc >= 2.5... $ECHO_C" >&6
4780 if test "${gold_cv_lib_glibc25+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 cat >conftest.
$ac_ext <<_ACEOF
4785 #include <features.h>
4786 #if !defined __GLIBC__
4788 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 5)
4793 rm -f conftest.
$ac_objext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4795 (eval $ac_compile) 2>conftest.er1
4797 grep -v '^ *+' conftest.er1
>conftest.err
4799 cat conftest.err
>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } &&
4802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 gold_cv_lib_glibc25
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 gold_cv_lib_glibc25
=no
4821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc25" >&5
4824 echo "${ECHO_T}$gold_cv_lib_glibc25" >&6
4828 if test "$gold_cv_lib_glibc25" = "yes"; then
4829 TLS_DESCRIPTORS_TRUE
=
4830 TLS_DESCRIPTORS_FALSE
='#'
4832 TLS_DESCRIPTORS_TRUE
='#'
4833 TLS_DESCRIPTORS_FALSE
=
4837 echo "$as_me:$LINENO: checking for constructor priorities" >&5
4838 echo $ECHO_N "checking for constructor priorities... $ECHO_C" >&6
4839 if test "${gold_cv_c_conprio+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 cat >conftest.
$ac_ext <<_ACEOF
4843 void f() __attribute__ ((constructor (1)));
4845 rm -f conftest.
$ac_objext
4846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4847 (eval $ac_compile) 2>conftest.er1
4849 grep -v '^ *+' conftest.er1
>conftest.err
4851 cat conftest.err
>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } &&
4854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try
='test -s conftest.$ac_objext'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 gold_cv_c_conprio
=yes
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.
$ac_ext >&5
4871 gold_cv_c_conprio
=no
4873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4875 echo "$as_me:$LINENO: result: $gold_cv_c_conprio" >&5
4876 echo "${ECHO_T}$gold_cv_c_conprio" >&6
4880 if test "$gold_cv_c_conprio" = "yes"; then
4881 CONSTRUCTOR_PRIORITY_TRUE
=
4882 CONSTRUCTOR_PRIORITY_FALSE
='#'
4884 CONSTRUCTOR_PRIORITY_TRUE
='#'
4885 CONSTRUCTOR_PRIORITY_FALSE
=
4889 echo "$as_me:$LINENO: checking for -frandom-seed support" >&5
4890 echo $ECHO_N "checking for -frandom-seed support... $ECHO_C" >&6
4891 if test "${gold_cv_c_random_seed+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 save_CFLAGS
="$CFLAGS"
4895 CFLAGS
="$CFLAGS -frandom-seed=foo"
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 rm -f conftest.
$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4903 grep -v '^ *+' conftest.er1
>conftest.err
4905 cat conftest.err
>&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } &&
4908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; } &&
4914 { ac_try
='test -s conftest.$ac_objext'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; }; then
4920 gold_cv_c_random_seed
=yes
4922 echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.
$ac_ext >&5
4925 gold_cv_c_random_seed
=no
4927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4928 CFLAGS
="$save_CFLAGS"
4930 echo "$as_me:$LINENO: result: $gold_cv_c_random_seed" >&5
4931 echo "${ECHO_T}$gold_cv_c_random_seed" >&6
4932 if test "$gold_cv_c_random_seed" = "yes"; then
4933 # In Makefile, '$@' will be expanded to be the name of the file
4934 # being built, providing a unique seed for each file.
4935 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
4940 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4942 # Check whether --enable-werror or --disable-werror was given.
4943 if test "${enable_werror+set}" = set; then
4944 enableval
="$enable_werror"
4945 case "${enableval}" in
4946 yes | y
) ERROR_ON_WARNING
="yes" ;;
4947 no | n
) ERROR_ON_WARNING
="no" ;;
4948 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4949 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4950 { (exit 1); exit 1; }; } ;;
4954 # Enable -Wno-format by default when using gcc on mingw
4957 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4958 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
4964 # Enable -Werror by default when using gcc
4965 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4966 ERROR_ON_WARNING
=yes
4970 if test "${ERROR_ON_WARNING}" = yes ; then
4971 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4972 NO_WERROR
="-Wno-error"
4975 if test "${GCC}" = yes ; then
4976 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4979 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4980 if test "${enable_build_warnings+set}" = set; then
4981 enableval
="$enable_build_warnings"
4982 case "${enableval}" in
4983 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4984 no
) if test "${GCC}" = yes ; then
4987 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4988 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4989 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4990 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4991 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4995 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4996 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
5003 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
5006 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
5010 for ac_func
in pread
5012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5013 echo "$as_me:$LINENO: checking for $ac_func" >&5
5014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5015 if eval "test \"\${$as_ac_var+set}\" = set"; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5026 #define $ac_func innocuous_$ac_func
5028 /* System header to define __stub macros and hopefully few prototypes,
5029 which can conflict with char $ac_func (); below.
5030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5031 <limits.h> exists even on freestanding compilers. */
5034 # include <limits.h>
5036 # include <assert.h>
5041 /* Override any gcc2 internal prototype to avoid an error. */
5046 /* We use char because int might match the return type of a gcc2
5047 builtin and then its argument prototype would still apply. */
5049 /* The GNU C library defines this for functions which it implements
5050 to always fail with ENOSYS. Some functions are actually named
5051 something starting with __ and the normal name is an alias. */
5052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5055 char (*f) () = $ac_func;
5064 return f != $ac_func;
5069 rm -f conftest.
$ac_objext conftest
$ac_exeext
5070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5071 (eval $ac_link) 2>conftest.er1
5073 grep -v '^ *+' conftest.er1
>conftest.err
5075 cat conftest.err
>&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } &&
5078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; } &&
5084 { ac_try
='test -s conftest$ac_exeext'
5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); }; }; then
5090 eval "$as_ac_var=yes"
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.
$ac_ext >&5
5095 eval "$as_ac_var=no"
5097 rm -f conftest.err conftest.
$ac_objext \
5098 conftest
$ac_exeext conftest.
$ac_ext
5100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5102 if test `eval echo '${'$as_ac_var'}'` = yes; then
5103 cat >>confdefs.h
<<_ACEOF
5104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5109 "$ac_func.$ac_objext" | \
5110 *" $ac_func.$ac_objext" | \
5111 "$ac_func.$ac_objext "* | \
5112 *" $ac_func.$ac_objext "* ) ;;
5113 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
5121 # Link in zlib if we can. This allows us to write compressed sections.
5123 ac_cpp
='$CPP $CPPFLAGS'
5124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5127 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5128 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5129 # On Suns, sometimes $CPP names a directory.
5130 if test -n "$CPP" && test -d "$CPP"; then
5133 if test -z "$CPP"; then
5134 if test "${ac_cv_prog_CPP+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 # Double quotes because CPP needs to be expanded
5138 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5141 for ac_c_preproc_warn_flag
in '' yes
5143 # Use a header file that comes with gcc, so configuring glibc
5144 # with a fresh cross-compiler works.
5145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5146 # <limits.h> exists even on freestanding compilers.
5147 # On the NeXT, cc -E runs the code through the compiler's parser,
5148 # not just through cpp. "Syntax error" is here to catch this case.
5149 cat >conftest.
$ac_ext <<_ACEOF
5152 cat confdefs.h
>>conftest.
$ac_ext
5153 cat >>conftest.
$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5156 # include <limits.h>
5158 # include <assert.h>
5162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5165 grep -v '^ *+' conftest.er1
>conftest.err
5167 cat conftest.err
>&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } >/dev
/null
; then
5170 if test -s conftest.err
; then
5171 ac_cpp_err
=$ac_c_preproc_warn_flag
5172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5179 if test -z "$ac_cpp_err"; then
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 # Broken: fails on valid input.
5188 rm -f conftest.err conftest.
$ac_ext
5190 # OK, works on sane cases. Now check whether non-existent headers
5191 # can be detected and how.
5192 cat >conftest.
$ac_ext <<_ACEOF
5195 cat confdefs.h
>>conftest.
$ac_ext
5196 cat >>conftest.
$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5198 #include <ac_nonexistent.h>
5200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5203 grep -v '^ *+' conftest.er1
>conftest.err
5205 cat conftest.err
>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } >/dev
/null
; then
5208 if test -s conftest.err
; then
5209 ac_cpp_err
=$ac_c_preproc_warn_flag
5210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5217 if test -z "$ac_cpp_err"; then
5218 # Broken: success on invalid input.
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 # Passes both tests.
5228 rm -f conftest.err conftest.
$ac_ext
5231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5232 rm -f conftest.err conftest.
$ac_ext
5233 if $ac_preproc_ok; then
5245 echo "$as_me:$LINENO: result: $CPP" >&5
5246 echo "${ECHO_T}$CPP" >&6
5248 for ac_c_preproc_warn_flag
in '' yes
5250 # Use a header file that comes with gcc, so configuring glibc
5251 # with a fresh cross-compiler works.
5252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5253 # <limits.h> exists even on freestanding compilers.
5254 # On the NeXT, cc -E runs the code through the compiler's parser,
5255 # not just through cpp. "Syntax error" is here to catch this case.
5256 cat >conftest.
$ac_ext <<_ACEOF
5259 cat confdefs.h
>>conftest.
$ac_ext
5260 cat >>conftest.
$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5263 # include <limits.h>
5265 # include <assert.h>
5269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5272 grep -v '^ *+' conftest.er1
>conftest.err
5274 cat conftest.err
>&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } >/dev
/null
; then
5277 if test -s conftest.err
; then
5278 ac_cpp_err
=$ac_c_preproc_warn_flag
5279 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5286 if test -z "$ac_cpp_err"; then
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.
$ac_ext >&5
5292 # Broken: fails on valid input.
5295 rm -f conftest.err conftest.
$ac_ext
5297 # OK, works on sane cases. Now check whether non-existent headers
5298 # can be detected and how.
5299 cat >conftest.
$ac_ext <<_ACEOF
5302 cat confdefs.h
>>conftest.
$ac_ext
5303 cat >>conftest.
$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5305 #include <ac_nonexistent.h>
5307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5310 grep -v '^ *+' conftest.er1
>conftest.err
5312 cat conftest.err
>&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } >/dev
/null
; then
5315 if test -s conftest.err
; then
5316 ac_cpp_err
=$ac_c_preproc_warn_flag
5317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5324 if test -z "$ac_cpp_err"; then
5325 # Broken: success on invalid input.
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.
$ac_ext >&5
5331 # Passes both tests.
5335 rm -f conftest.err conftest.
$ac_ext
5338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5339 rm -f conftest.err conftest.
$ac_ext
5340 if $ac_preproc_ok; then
5343 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5344 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5345 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5346 See \`config.log' for more details." >&5
5347 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5348 See \`config.log' for more details." >&2;}
5349 { (exit 1); exit 1; }; }; }
5353 ac_cpp
='$CPP $CPPFLAGS'
5354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5359 echo "$as_me:$LINENO: checking for egrep" >&5
5360 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5361 if test "${ac_cv_prog_egrep+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5365 then ac_cv_prog_egrep
='grep -E'
5366 else ac_cv_prog_egrep
='egrep'
5369 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5370 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5371 EGREP
=$ac_cv_prog_egrep
5374 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5375 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5376 if test "${ac_cv_header_stdc+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 cat >conftest.
$ac_ext <<_ACEOF
5382 cat confdefs.h
>>conftest.
$ac_ext
5383 cat >>conftest.
$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5398 rm -f conftest.
$ac_objext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5400 (eval $ac_compile) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; } &&
5413 { ac_try
='test -s conftest.$ac_objext'
5414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; }; then
5419 ac_cv_header_stdc
=yes
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5424 ac_cv_header_stdc
=no
5426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5428 if test $ac_cv_header_stdc = yes; then
5429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5440 $EGREP "memchr" >/dev
/null
2>&1; then
5443 ac_cv_header_stdc
=no
5449 if test $ac_cv_header_stdc = yes; then
5450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5451 cat >conftest.
$ac_ext <<_ACEOF
5454 cat confdefs.h
>>conftest.
$ac_ext
5455 cat >>conftest.
$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5461 $EGREP "free" >/dev
/null
2>&1; then
5464 ac_cv_header_stdc
=no
5470 if test $ac_cv_header_stdc = yes; then
5471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5472 if test "$cross_compiling" = yes; then
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 #if ((' ' & 0x0FF) == 0x020)
5483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5486 # define ISLOWER(c) \
5487 (('a' <= (c) && (c) <= 'i') \
5488 || ('j' <= (c) && (c) <= 'r') \
5489 || ('s' <= (c) && (c) <= 'z'))
5490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5498 for (i = 0; i < 256; i++)
5499 if (XOR (islower (i), ISLOWER (i))
5500 || toupper (i) != TOUPPER (i))
5505 rm -f conftest
$ac_exeext
5506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5507 (eval $ac_link) 2>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; }; then
5518 echo "$as_me: program exited with status $ac_status" >&5
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.
$ac_ext >&5
5523 ac_cv_header_stdc
=no
5525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5529 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5530 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5531 if test $ac_cv_header_stdc = yes; then
5533 cat >>confdefs.h
<<\_ACEOF
5534 #define STDC_HEADERS 1
5539 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5549 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5550 inttypes.h stdint.h unistd.h
5552 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5553 echo "$as_me:$LINENO: checking for $ac_header" >&5
5554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 cat >conftest.
$ac_ext <<_ACEOF
5561 cat confdefs.h
>>conftest.
$ac_ext
5562 cat >>conftest.
$ac_ext <<_ACEOF
5563 /* end confdefs.h. */
5564 $ac_includes_default
5566 #include <$ac_header>
5568 rm -f conftest.
$ac_objext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5570 (eval $ac_compile) 2>conftest.er1
5572 grep -v '^ *+' conftest.er1
>conftest.err
5574 cat conftest.err
>&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } &&
5577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; } &&
5583 { ac_try
='test -s conftest.$ac_objext'
5584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); }; }; then
5589 eval "$as_ac_Header=yes"
5591 echo "$as_me: failed program was:" >&5
5592 sed 's/^/| /' conftest.
$ac_ext >&5
5594 eval "$as_ac_Header=no"
5596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5601 cat >>confdefs.h
<<_ACEOF
5602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5610 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5611 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
5612 if test "${ac_cv_search_zlibVersion+set}" = set; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 ac_func_search_save_LIBS
=$LIBS
5616 ac_cv_search_zlibVersion
=no
5617 cat >conftest.
$ac_ext <<_ACEOF
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5624 /* Override any gcc2 internal prototype to avoid an error. */
5628 /* We use char because int might match the return type of a gcc2
5629 builtin and then its argument prototype would still apply. */
5630 char zlibVersion ();
5639 rm -f conftest.
$ac_objext conftest
$ac_exeext
5640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5641 (eval $ac_link) 2>conftest.er1
5643 grep -v '^ *+' conftest.er1
>conftest.err
5645 cat conftest.err
>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } &&
5648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; } &&
5654 { ac_try
='test -s conftest$ac_exeext'
5655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }; }; then
5660 ac_cv_search_zlibVersion
="none required"
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.
$ac_ext >&5
5666 rm -f conftest.err conftest.
$ac_objext \
5667 conftest
$ac_exeext conftest.
$ac_ext
5668 if test "$ac_cv_search_zlibVersion" = no
; then
5670 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5671 cat >conftest.
$ac_ext <<_ACEOF
5674 cat confdefs.h
>>conftest.
$ac_ext
5675 cat >>conftest.
$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5678 /* Override any gcc2 internal prototype to avoid an error. */
5682 /* We use char because int might match the return type of a gcc2
5683 builtin and then its argument prototype would still apply. */
5684 char zlibVersion ();
5693 rm -f conftest.
$ac_objext conftest
$ac_exeext
5694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5695 (eval $ac_link) 2>conftest.er1
5697 grep -v '^ *+' conftest.er1
>conftest.err
5699 cat conftest.err
>&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); } &&
5702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try
='test -s conftest$ac_exeext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 ac_cv_search_zlibVersion
="-l$ac_lib"
5717 echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.
$ac_ext >&5
5721 rm -f conftest.err conftest.
$ac_objext \
5722 conftest
$ac_exeext conftest.
$ac_ext
5725 LIBS
=$ac_func_search_save_LIBS
5727 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5728 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
5729 if test "$ac_cv_search_zlibVersion" != no
; then
5730 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
5732 for ac_header
in zlib.h
5734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5736 echo "$as_me:$LINENO: checking for $ac_header" >&5
5737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5744 # Is the header compilable?
5745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5747 cat >conftest.
$ac_ext <<_ACEOF
5750 cat confdefs.h
>>conftest.
$ac_ext
5751 cat >>conftest.
$ac_ext <<_ACEOF
5752 /* end confdefs.h. */
5753 $ac_includes_default
5754 #include <$ac_header>
5756 rm -f conftest.
$ac_objext
5757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5758 (eval $ac_compile) 2>conftest.er1
5760 grep -v '^ *+' conftest.er1
>conftest.err
5762 cat conftest.err
>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } &&
5765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; } &&
5771 { ac_try
='test -s conftest.$ac_objext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 ac_header_compiler
=yes
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 ac_header_compiler
=no
5784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5786 echo "${ECHO_T}$ac_header_compiler" >&6
5788 # Is the header present?
5789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5791 cat >conftest.
$ac_ext <<_ACEOF
5794 cat confdefs.h
>>conftest.
$ac_ext
5795 cat >>conftest.
$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 #include <$ac_header>
5799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5802 grep -v '^ *+' conftest.er1
>conftest.err
5804 cat conftest.err
>&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } >/dev
/null
; then
5807 if test -s conftest.err
; then
5808 ac_cpp_err
=$ac_c_preproc_warn_flag
5809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5816 if test -z "$ac_cpp_err"; then
5817 ac_header_preproc
=yes
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.
$ac_ext >&5
5822 ac_header_preproc
=no
5824 rm -f conftest.err conftest.
$ac_ext
5825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5826 echo "${ECHO_T}$ac_header_preproc" >&6
5828 # So? What about this header?
5829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5835 ac_header_preproc
=yes
5838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5852 ## ------------------------------- ##
5853 ## Report this to the gold lists. ##
5854 ## ------------------------------- ##
5857 sed "s/^/$as_me: WARNING: /" >&2
5860 echo "$as_me:$LINENO: checking for $ac_header" >&5
5861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 eval "$as_ac_Header=\$ac_header_preproc"
5867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5872 cat >>confdefs.h
<<_ACEOF
5873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5884 if test "$ac_cv_search_zlibVersion" != "no"; then
5894 ac_cpp
='$CXXCPP $CPPFLAGS'
5895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5902 ac_cpp
='$CXXCPP $CPPFLAGS'
5903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5906 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5907 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5908 if test -z "$CXXCPP"; then
5909 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 # Double quotes because CXXCPP needs to be expanded
5913 for CXXCPP
in "$CXX -E" "/lib/cpp"
5916 for ac_cxx_preproc_warn_flag
in '' yes
5918 # Use a header file that comes with gcc, so configuring glibc
5919 # with a fresh cross-compiler works.
5920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5921 # <limits.h> exists even on freestanding compilers.
5922 # On the NeXT, cc -E runs the code through the compiler's parser,
5923 # not just through cpp. "Syntax error" is here to catch this case.
5924 cat >conftest.
$ac_ext <<_ACEOF
5927 cat confdefs.h
>>conftest.
$ac_ext
5928 cat >>conftest.
$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5931 # include <limits.h>
5933 # include <assert.h>
5937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } >/dev
/null
; then
5945 if test -s conftest.err
; then
5946 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5947 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5954 if test -z "$ac_cpp_err"; then
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.
$ac_ext >&5
5960 # Broken: fails on valid input.
5963 rm -f conftest.err conftest.
$ac_ext
5965 # OK, works on sane cases. Now check whether non-existent headers
5966 # can be detected and how.
5967 cat >conftest.
$ac_ext <<_ACEOF
5970 cat confdefs.h
>>conftest.
$ac_ext
5971 cat >>conftest.
$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #include <ac_nonexistent.h>
5975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5978 grep -v '^ *+' conftest.er1
>conftest.err
5980 cat conftest.err
>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } >/dev
/null
; then
5983 if test -s conftest.err
; then
5984 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5985 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5992 if test -z "$ac_cpp_err"; then
5993 # Broken: success on invalid input.
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.
$ac_ext >&5
5999 # Passes both tests.
6003 rm -f conftest.err conftest.
$ac_ext
6006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6007 rm -f conftest.err conftest.
$ac_ext
6008 if $ac_preproc_ok; then
6013 ac_cv_prog_CXXCPP
=$CXXCPP
6016 CXXCPP
=$ac_cv_prog_CXXCPP
6018 ac_cv_prog_CXXCPP
=$CXXCPP
6020 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6021 echo "${ECHO_T}$CXXCPP" >&6
6023 for ac_cxx_preproc_warn_flag
in '' yes
6025 # Use a header file that comes with gcc, so configuring glibc
6026 # with a fresh cross-compiler works.
6027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6028 # <limits.h> exists even on freestanding compilers.
6029 # On the NeXT, cc -E runs the code through the compiler's parser,
6030 # not just through cpp. "Syntax error" is here to catch this case.
6031 cat >conftest.
$ac_ext <<_ACEOF
6034 cat confdefs.h
>>conftest.
$ac_ext
6035 cat >>conftest.
$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6038 # include <limits.h>
6040 # include <assert.h>
6044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6047 grep -v '^ *+' conftest.er1
>conftest.err
6049 cat conftest.err
>&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } >/dev
/null
; then
6052 if test -s conftest.err
; then
6053 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6054 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6061 if test -z "$ac_cpp_err"; then
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.
$ac_ext >&5
6067 # Broken: fails on valid input.
6070 rm -f conftest.err conftest.
$ac_ext
6072 # OK, works on sane cases. Now check whether non-existent headers
6073 # can be detected and how.
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 #include <ac_nonexistent.h>
6082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6085 grep -v '^ *+' conftest.er1
>conftest.err
6087 cat conftest.err
>&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); } >/dev
/null
; then
6090 if test -s conftest.err
; then
6091 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6092 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6099 if test -z "$ac_cpp_err"; then
6100 # Broken: success on invalid input.
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.
$ac_ext >&5
6106 # Passes both tests.
6110 rm -f conftest.err conftest.
$ac_ext
6113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6114 rm -f conftest.err conftest.
$ac_ext
6115 if $ac_preproc_ok; then
6118 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6119 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6120 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6121 See \`config.log' for more details." >&5
6122 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6123 See \`config.log' for more details." >&2;}
6124 { (exit 1); exit 1; }; }; }
6128 ac_cpp
='$CXXCPP $CPPFLAGS'
6129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6136 for ac_header
in tr1/unordered_set
tr1/unordered_map
6138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140 echo "$as_me:$LINENO: checking for $ac_header" >&5
6141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6148 # Is the header compilable?
6149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6151 cat >conftest.
$ac_ext <<_ACEOF
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 $ac_includes_default
6158 #include <$ac_header>
6160 rm -f conftest.
$ac_objext
6161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6162 (eval $ac_compile) 2>conftest.er1
6164 grep -v '^ *+' conftest.er1
>conftest.err
6166 cat conftest.err
>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } &&
6169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; } &&
6175 { ac_try
='test -s conftest.$ac_objext'
6176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); }; }; then
6181 ac_header_compiler
=yes
6183 echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.
$ac_ext >&5
6186 ac_header_compiler
=no
6188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6190 echo "${ECHO_T}$ac_header_compiler" >&6
6192 # Is the header present?
6193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 #include <$ac_header>
6203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6206 grep -v '^ *+' conftest.er1
>conftest.err
6208 cat conftest.err
>&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } >/dev
/null
; then
6211 if test -s conftest.err
; then
6212 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6213 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6220 if test -z "$ac_cpp_err"; then
6221 ac_header_preproc
=yes
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_header_preproc
=no
6228 rm -f conftest.err conftest.
$ac_ext
6229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6230 echo "${ECHO_T}$ac_header_preproc" >&6
6232 # So? What about this header?
6233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6239 ac_header_preproc
=yes
6242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6256 ## ------------------------------- ##
6257 ## Report this to the gold lists. ##
6258 ## ------------------------------- ##
6261 sed "s/^/$as_me: WARNING: /" >&2
6264 echo "$as_me:$LINENO: checking for $ac_header" >&5
6265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 eval "$as_ac_Header=\$ac_header_preproc"
6271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6276 cat >>confdefs.h
<<_ACEOF
6277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6286 for ac_header
in ext
/hash_map ext
/hash_set
6288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6290 echo "$as_me:$LINENO: checking for $ac_header" >&5
6291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6298 # Is the header compilable?
6299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6301 cat >conftest.
$ac_ext <<_ACEOF
6304 cat confdefs.h
>>conftest.
$ac_ext
6305 cat >>conftest.
$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6307 $ac_includes_default
6308 #include <$ac_header>
6310 rm -f conftest.
$ac_objext
6311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6312 (eval $ac_compile) 2>conftest.er1
6314 grep -v '^ *+' conftest.er1
>conftest.err
6316 cat conftest.err
>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } &&
6319 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }; } &&
6325 { ac_try
='test -s conftest.$ac_objext'
6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; }; then
6331 ac_header_compiler
=yes
6333 echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.
$ac_ext >&5
6336 ac_header_compiler
=no
6338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6340 echo "${ECHO_T}$ac_header_compiler" >&6
6342 # Is the header present?
6343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6345 cat >conftest.
$ac_ext <<_ACEOF
6348 cat confdefs.h
>>conftest.
$ac_ext
6349 cat >>conftest.
$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6351 #include <$ac_header>
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6356 grep -v '^ *+' conftest.er1
>conftest.err
6358 cat conftest.err
>&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } >/dev
/null
; then
6361 if test -s conftest.err
; then
6362 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6363 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6370 if test -z "$ac_cpp_err"; then
6371 ac_header_preproc
=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6376 ac_header_preproc
=no
6378 rm -f conftest.err conftest.
$ac_ext
6379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6380 echo "${ECHO_T}$ac_header_preproc" >&6
6382 # So? What about this header?
6383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6389 ac_header_preproc
=yes
6392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6406 ## ------------------------------- ##
6407 ## Report this to the gold lists. ##
6408 ## ------------------------------- ##
6411 sed "s/^/$as_me: WARNING: /" >&2
6414 echo "$as_me:$LINENO: checking for $ac_header" >&5
6415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 eval "$as_ac_Header=\$ac_header_preproc"
6421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6426 cat >>confdefs.h
<<_ACEOF
6427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6435 for ac_func
in mallinfo
6437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6438 echo "$as_me:$LINENO: checking for $ac_func" >&5
6439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6440 if eval "test \"\${$as_ac_var+set}\" = set"; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 cat >conftest.
$ac_ext <<_ACEOF
6446 cat confdefs.h
>>conftest.
$ac_ext
6447 cat >>conftest.
$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6451 #define $ac_func innocuous_$ac_func
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func (); below.
6455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 <limits.h> exists even on freestanding compilers. */
6459 # include <limits.h>
6461 # include <assert.h>
6466 /* Override any gcc2 internal prototype to avoid an error. */
6471 /* We use char because int might match the return type of a gcc2
6472 builtin and then its argument prototype would still apply. */
6474 /* The GNU C library defines this for functions which it implements
6475 to always fail with ENOSYS. Some functions are actually named
6476 something starting with __ and the normal name is an alias. */
6477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6480 char (*f) () = $ac_func;
6489 return f != $ac_func;
6494 rm -f conftest.
$ac_objext conftest
$ac_exeext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6496 (eval $ac_link) 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; } &&
6509 { ac_try
='test -s conftest$ac_exeext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6515 eval "$as_ac_var=yes"
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.
$ac_ext >&5
6520 eval "$as_ac_var=no"
6522 rm -f conftest.err conftest.
$ac_objext \
6523 conftest
$ac_exeext conftest.
$ac_ext
6525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6527 if test `eval echo '${'$as_ac_var'}'` = yes; then
6528 cat >>confdefs.h
<<_ACEOF
6529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6536 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6537 # function. Check for that. This is gcc bug 35546. This test can
6538 # probably be removed after the bug has been fixed for a while.
6539 echo "$as_me:$LINENO: checking whether we can use attributes with template functions" >&5
6540 echo $ECHO_N "checking whether we can use attributes with template functions... $ECHO_C" >&6
6541 if test "${gold_cv_template_attribute+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 cat >conftest.
$ac_ext <<_ACEOF
6546 template<typename T> extern void foo(const char*, ...)
6547 __attribute__ ((__format__ (__printf__, 1, 2)));
6548 template<typename T> void foo(const char* format, ...) {}
6549 void bar() { foo<int>("%s\n", "foo"); }
6552 rm -f conftest.
$ac_objext
6553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6554 (eval $ac_compile) 2>conftest.er1
6556 grep -v '^ *+' conftest.er1
>conftest.err
6558 cat conftest.err
>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } &&
6561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; } &&
6567 { ac_try
='test -s conftest.$ac_objext'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then
6573 gold_cv_template_attribute
=yes
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.
$ac_ext >&5
6578 gold_cv_template_attribute
=no
6580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6582 echo "$as_me:$LINENO: result: $gold_cv_template_attribute" >&5
6583 echo "${ECHO_T}$gold_cv_template_attribute" >&6
6584 if test "$gold_cv_template_attribute" = "yes"; then
6586 cat >>confdefs.h
<<\_ACEOF
6587 #define HAVE_TEMPLATE_ATTRIBUTES 1
6593 ac_cpp
='$CPP $CPPFLAGS'
6594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6599 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6600 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6601 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6602 if test "${enable_maintainer_mode+set}" = set; then
6603 enableval
="$enable_maintainer_mode"
6604 USE_MAINTAINER_MODE
=$enableval
6606 USE_MAINTAINER_MODE
=no
6608 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6609 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6612 if test $USE_MAINTAINER_MODE = yes; then
6613 MAINTAINER_MODE_TRUE
=
6614 MAINTAINER_MODE_FALSE
='#'
6616 MAINTAINER_MODE_TRUE
='#'
6617 MAINTAINER_MODE_FALSE
=
6620 MAINT
=$MAINTAINER_MODE_TRUE
6624 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
6625 cat >confcache
<<\_ACEOF
6626 # This file is a shell script that caches the results of configure
6627 # tests run on this system so they can be shared between configure
6628 # scripts and configure runs, see configure's option --config-cache.
6629 # It is not useful on other systems. If it contains results you don't
6630 # want to keep, you may remove or edit it.
6632 # config.status only pays attention to the cache file if you give it
6633 # the --recheck option to rerun configure.
6635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6641 # The following way of writing the cache mishandles newlines in values,
6642 # but we know of no workaround that is simple, portable, and efficient.
6643 # So, don't put newlines in cache variables' values.
6644 # Ultrix sh set writes to stderr and can't be redirected directly,
6645 # and sets the high bit in the cache file unless we assign to the vars.
6648 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6650 # `set' does not quote correctly, so add quotes (double-quote
6651 # substitution turns \\\\ into \\, and sed turns \\ into \).
6654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6657 # `set' quotes correctly as required by POSIX, so do not add quotes.
6659 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6668 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6670 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6671 if test -w $cache_file; then
6672 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6673 cat confcache
>$cache_file
6675 echo "not updating unwritable cache $cache_file"
6680 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6681 # Let make expand exec_prefix.
6682 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6684 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6685 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6686 # trailing colons and then remove the whole line if VPATH becomes empty
6687 # (actually we leave an empty line to preserve line numbers).
6688 if test "x$srcdir" = x.
; then
6689 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6690 s/:*\$(srcdir):*/:/;
6691 s/:*\${srcdir}:*/:/;
6693 s/^\([^=]*=[ ]*\):*/\1/;
6699 DEFS
=-DHAVE_CONFIG_H
6703 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6704 # 1. Remove the extension, and $U if already installed.
6705 ac_i
=`echo "$ac_i" |
6706 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6708 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6709 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6713 LTLIBOBJS
=$ac_ltlibobjs
6716 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
6717 { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
6718 Usually this means the macro was only invoked conditionally." >&5
6719 echo "$as_me: error: conditional \"THREADS\" was never defined.
6720 Usually this means the macro was only invoked conditionally." >&2;}
6721 { (exit 1); exit 1; }; }
6723 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6724 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6725 Usually this means the macro was only invoked conditionally." >&5
6726 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6727 Usually this means the macro was only invoked conditionally." >&2;}
6728 { (exit 1); exit 1; }; }
6730 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6731 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6732 Usually this means the macro was only invoked conditionally." >&5
6733 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6734 Usually this means the macro was only invoked conditionally." >&2;}
6735 { (exit 1); exit 1; }; }
6737 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6738 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6739 Usually this means the macro was only invoked conditionally." >&5
6740 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6741 Usually this means the macro was only invoked conditionally." >&2;}
6742 { (exit 1); exit 1; }; }
6744 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
6745 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
6746 Usually this means the macro was only invoked conditionally." >&5
6747 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
6748 Usually this means the macro was only invoked conditionally." >&2;}
6749 { (exit 1); exit 1; }; }
6751 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
6752 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
6753 Usually this means the macro was only invoked conditionally." >&5
6754 echo "$as_me: error: conditional \"GCC\" was never defined.
6755 Usually this means the macro was only invoked conditionally." >&2;}
6756 { (exit 1); exit 1; }; }
6758 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
6759 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
6760 Usually this means the macro was only invoked conditionally." >&5
6761 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
6762 Usually this means the macro was only invoked conditionally." >&2;}
6763 { (exit 1); exit 1; }; }
6765 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
6766 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
6767 Usually this means the macro was only invoked conditionally." >&5
6768 echo "$as_me: error: conditional \"TLS\" was never defined.
6769 Usually this means the macro was only invoked conditionally." >&2;}
6770 { (exit 1); exit 1; }; }
6772 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
6773 { { echo "$as_me:$LINENO: error: conditional \"STATIC_TLS\" was never defined.
6774 Usually this means the macro was only invoked conditionally." >&5
6775 echo "$as_me: error: conditional \"STATIC_TLS\" was never defined.
6776 Usually this means the macro was only invoked conditionally." >&2;}
6777 { (exit 1); exit 1; }; }
6779 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
6780 { { echo "$as_me:$LINENO: error: conditional \"OMP_SUPPORT\" was never defined.
6781 Usually this means the macro was only invoked conditionally." >&5
6782 echo "$as_me: error: conditional \"OMP_SUPPORT\" was never defined.
6783 Usually this means the macro was only invoked conditionally." >&2;}
6784 { (exit 1); exit 1; }; }
6786 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
6787 { { echo "$as_me:$LINENO: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
6788 Usually this means the macro was only invoked conditionally." >&5
6789 echo "$as_me: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
6790 Usually this means the macro was only invoked conditionally." >&2;}
6791 { (exit 1); exit 1; }; }
6793 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
6794 { { echo "$as_me:$LINENO: error: conditional \"TLS_DESCRIPTORS\" was never defined.
6795 Usually this means the macro was only invoked conditionally." >&5
6796 echo "$as_me: error: conditional \"TLS_DESCRIPTORS\" was never defined.
6797 Usually this means the macro was only invoked conditionally." >&2;}
6798 { (exit 1); exit 1; }; }
6800 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
6801 { { echo "$as_me:$LINENO: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
6802 Usually this means the macro was only invoked conditionally." >&5
6803 echo "$as_me: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
6804 Usually this means the macro was only invoked conditionally." >&2;}
6805 { (exit 1); exit 1; }; }
6807 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
6808 { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
6809 Usually this means the macro was only invoked conditionally." >&5
6810 echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
6811 Usually this means the macro was only invoked conditionally." >&2;}
6812 { (exit 1); exit 1; }; }
6814 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6815 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6816 Usually this means the macro was only invoked conditionally." >&5
6817 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6818 Usually this means the macro was only invoked conditionally." >&2;}
6819 { (exit 1); exit 1; }; }
6822 : ${CONFIG_STATUS=./config.status}
6823 ac_clean_files_save
=$ac_clean_files
6824 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6825 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6826 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6827 cat >$CONFIG_STATUS <<_ACEOF
6829 # Generated by $as_me.
6830 # Run this file to recreate the current configuration.
6831 # Compiler output produced by configure, useful for debugging
6832 # configure, is in config.log if it exists.
6837 SHELL=\${CONFIG_SHELL-$SHELL}
6840 cat >>$CONFIG_STATUS <<\_ACEOF
6841 ## --------------------- ##
6842 ## M4sh Initialization. ##
6843 ## --------------------- ##
6845 # Be Bourne compatible
6846 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6849 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6850 # is contrary to our usage. Disable this feature.
6851 alias -g '${1+"$@"}'='"$@"'
6852 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6855 DUALCASE
=1; export DUALCASE
# for MKS sh
6857 # Support unset when possible.
6858 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6865 # Work around bugs in pre-3.0 UWIN ksh.
6866 $as_unset ENV MAIL MAILPATH
6873 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6874 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6875 LC_TELEPHONE LC_TIME
6877 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6878 eval $as_var=C
; export $as_var
6884 # Required to use basename.
6885 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6891 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6892 as_basename
=basename
6898 # Name of the executable.
6899 as_me
=`$as_basename "$0" ||
6900 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6901 X"$0" : 'X\(//\)$' \| \
6902 X"$0" : 'X\(/\)$' \| \
6903 . : '\(.\)' 2>/dev/null ||
6905 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6906 /^X\/\(\/\/\)$/{ s//\1/; q; }
6907 /^X\/\(\/\).*/{ s//\1/; q; }
6911 # PATH needs CR, and LINENO needs CR and PATH.
6912 # Avoid depending upon Character Ranges.
6913 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6914 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6915 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6916 as_cr_digits
='0123456789'
6917 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6919 # The user is always right.
6920 if test "${PATH_SEPARATOR+set}" != set; then
6921 echo "#! /bin/sh" >conf$$.sh
6922 echo "exit 0" >>conf$$.sh
6924 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6935 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6936 test "x$as_lineno_1" != "x$as_lineno_2" &&
6937 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6938 # Find who we are. Look in the path if we contain no path at all
6941 *[\\/]* ) as_myself
=$0 ;;
6942 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir
=.
6947 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6952 # We did not find ourselves, most probably we were run as `sh COMMAND'
6953 # in which case we are not to be found in the path.
6954 if test "x$as_myself" = x
; then
6957 if test ! -f "$as_myself"; then
6958 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6959 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6960 { (exit 1); exit 1; }; }
6962 case $CONFIG_SHELL in
6964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6965 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6968 test -z "$as_dir" && as_dir
=.
6969 for as_base
in sh bash ksh sh5
; do
6972 if ("$as_dir/$as_base" -c '
6975 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6976 test "x$as_lineno_1" != "x$as_lineno_2" &&
6977 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6978 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6979 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6980 CONFIG_SHELL
=$as_dir/$as_base
6982 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6990 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6991 # uniformly replaced by the line number. The first 'sed' inserts a
6992 # line-number line before each line; the second 'sed' does the real
6993 # work. The second script uses 'N' to pair each line-number line
6994 # with the numbered line, and appends trailing '-' during
6995 # substitution so that $LINENO is not a special case at line end.
6996 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6997 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6998 sed '=' <$as_myself |
7003 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7006 s,^['$as_cr_digits']*\n,,
7008 chmod +x
$as_me.lineno ||
7009 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7010 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7011 { (exit 1); exit 1; }; }
7013 # Don't try to exec as it changes $[0], causing all sort of problems
7014 # (the dirname of $[0] is not the place where we might find the
7015 # original and so on. Autoconf is especially sensible to this).
7017 # Exit status is that of the last command.
7022 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7023 *c
*,-n*) ECHO_N
= ECHO_C
='
7025 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7026 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7029 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7035 rm -f conf$$ conf$$.exe conf$$.
file
7037 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7038 # We could just check for DJGPP; but this test a) works b) is more generic
7039 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7040 if test -f conf$$.exe
; then
7041 # Don't use ln at all; we don't have any links
7046 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7051 rm -f conf$$ conf$$.exe conf$$.
file
7053 if mkdir
-p .
2>/dev
/null
; then
7056 test -d .
/-p && rmdir .
/-p
7060 as_executable_p
="test -f"
7062 # Sed expression to map a string onto a valid CPP name.
7063 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7065 # Sed expression to map a string onto a valid variable name.
7066 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7070 # We need space, tab and new line, in precisely that order.
7080 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7081 # report actual input values of CONFIG_FILES etc. instead of their
7082 # values after options handling. Logging --version etc. is OK.
7086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7087 ## Running $as_me. ##
7092 This file was extended by gold $as_me 0.1, which was
7093 generated by GNU Autoconf 2.59. Invocation command line was
7095 CONFIG_FILES = $CONFIG_FILES
7096 CONFIG_HEADERS = $CONFIG_HEADERS
7097 CONFIG_LINKS = $CONFIG_LINKS
7098 CONFIG_COMMANDS = $CONFIG_COMMANDS
7102 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7106 # Files that config.status was made for.
7107 if test -n "$ac_config_files"; then
7108 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7111 if test -n "$ac_config_headers"; then
7112 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7115 if test -n "$ac_config_links"; then
7116 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7119 if test -n "$ac_config_commands"; then
7120 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7123 cat >>$CONFIG_STATUS <<\_ACEOF
7126 \`$as_me' instantiates files from templates according to the
7127 current configuration.
7129 Usage: $0 [OPTIONS] [FILE]...
7131 -h, --help print this help, then exit
7132 -V, --version print version number, then exit
7133 -q, --quiet do not print progress messages
7134 -d, --debug don't remove temporary files
7135 --recheck update $as_me by reconfiguring in the same conditions
7136 --file=FILE[:TEMPLATE]
7137 instantiate the configuration file FILE
7138 --header=FILE[:TEMPLATE]
7139 instantiate the configuration header FILE
7141 Configuration files:
7144 Configuration headers:
7147 Configuration commands:
7150 Report bugs to <bug-autoconf@gnu.org>."
7153 cat >>$CONFIG_STATUS <<_ACEOF
7155 gold config.status 0.1
7156 configured by $0, generated by GNU Autoconf 2.59,
7157 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7159 Copyright (C) 2003 Free Software Foundation, Inc.
7160 This config.status script is free software; the Free Software Foundation
7161 gives unlimited permission to copy, distribute and modify it."
7166 cat >>$CONFIG_STATUS <<\_ACEOF
7167 # If no file are specified by the user, then we need to provide default
7168 # value. By we need to know if files were specified by the user.
7174 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7175 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7183 *) # This is not an option, so the user has probably given explicit
7186 ac_need_defaults
=false
;;
7190 # Handling of the options.
7192 cat >>$CONFIG_STATUS <<\_ACEOF
7193 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7195 --version |
--vers* |
-V )
7196 echo "$ac_cs_version"; exit 0 ;;
7198 # Conflict between --help and --header
7199 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7200 Try \`$0 --help' for more information." >&5
7201 echo "$as_me: error: ambiguous option: $1
7202 Try \`$0 --help' for more information." >&2;}
7203 { (exit 1); exit 1; }; };;
7204 --help |
--hel |
-h )
7205 echo "$ac_cs_usage"; exit 0 ;;
7206 --debug |
--d* |
-d )
7208 --file |
--fil |
--fi |
--f )
7210 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7211 ac_need_defaults
=false
;;
7212 --header |
--heade |
--head |
--hea )
7214 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7215 ac_need_defaults
=false
;;
7216 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7217 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7221 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7222 Try \`$0 --help' for more information." >&5
7223 echo "$as_me: error: unrecognized option: $1
7224 Try \`$0 --help' for more information." >&2;}
7225 { (exit 1); exit 1; }; } ;;
7227 *) ac_config_targets
="$ac_config_targets $1" ;;
7233 ac_configure_extra_args
=
7235 if $ac_cs_silent; then
7237 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7241 cat >>$CONFIG_STATUS <<_ACEOF
7242 if \$ac_cs_recheck; then
7243 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7244 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7249 cat >>$CONFIG_STATUS <<_ACEOF
7251 # INIT-COMMANDS section.
7254 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7255 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7256 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7258 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7259 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7260 LINGUAS="${LINGUAS-%UNSET%}"
7267 cat >>$CONFIG_STATUS <<\_ACEOF
7268 for ac_config_target
in $ac_config_targets
7270 case "$ac_config_target" in
7271 # Handling of arguments.
7272 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7273 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7274 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7275 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7276 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7277 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7278 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7279 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7280 { (exit 1); exit 1; }; };;
7284 # If the user did not use the arguments to specify the items to instantiate,
7285 # then the envvar interface is used. Set only those that are not.
7286 # We use the long form for the default assignment because of an extremely
7287 # bizarre bug on SunOS 4.1.3.
7288 if $ac_need_defaults; then
7289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7294 # Have a temporary directory for convenience. Make it in the build tree
7295 # simply because there is no reason to put it here, and in addition,
7296 # creating and moving files from /tmp can sometimes cause problems.
7297 # Create a temporary directory, and hook for its removal unless debugging.
7300 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7301 trap '{ (exit 1); exit 1; }' 1 2 13 15
7304 # Create a (secure) tmp directory for tmp files.
7307 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7308 test -n "$tmp" && test -d "$tmp"
7311 tmp
=.
/confstat$$
-$RANDOM
7312 (umask 077 && mkdir
$tmp)
7315 echo "$me: cannot create a temporary directory in ." >&2
7316 { (exit 1); exit 1; }
7321 cat >>$CONFIG_STATUS <<_ACEOF
7324 # CONFIG_FILES section.
7327 # No need to generate the scripts if there are no CONFIG_FILES.
7328 # This happens for instance when ./config.status config.h
7329 if test -n "\$CONFIG_FILES"; then
7330 # Protect against being on the right side of a sed subst in config.status.
7331 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7332 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7333 s,@SHELL@,$SHELL,;t t
7334 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7335 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7336 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7337 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7338 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7339 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7340 s,@exec_prefix@,$exec_prefix,;t t
7341 s,@prefix@,$prefix,;t t
7342 s,@program_transform_name@,$program_transform_name,;t t
7343 s,@bindir@,$bindir,;t t
7344 s,@sbindir@,$sbindir,;t t
7345 s,@libexecdir@,$libexecdir,;t t
7346 s,@datadir@,$datadir,;t t
7347 s,@sysconfdir@,$sysconfdir,;t t
7348 s,@sharedstatedir@,$sharedstatedir,;t t
7349 s,@localstatedir@,$localstatedir,;t t
7350 s,@libdir@,$libdir,;t t
7351 s,@includedir@,$includedir,;t t
7352 s,@oldincludedir@,$oldincludedir,;t t
7353 s,@infodir@,$infodir,;t t
7354 s,@mandir@,$mandir,;t t
7355 s,@build_alias@,$build_alias,;t t
7356 s,@host_alias@,$host_alias,;t t
7357 s,@target_alias@,$target_alias,;t t
7359 s,@ECHO_C@,$ECHO_C,;t t
7360 s,@ECHO_N@,$ECHO_N,;t t
7361 s,@ECHO_T@,$ECHO_T,;t t
7363 s,@build@,$build,;t t
7364 s,@build_cpu@,$build_cpu,;t t
7365 s,@build_vendor@,$build_vendor,;t t
7366 s,@build_os@,$build_os,;t t
7368 s,@host_cpu@,$host_cpu,;t t
7369 s,@host_vendor@,$host_vendor,;t t
7370 s,@host_os@,$host_os,;t t
7371 s,@target@,$target,;t t
7372 s,@target_cpu@,$target_cpu,;t t
7373 s,@target_vendor@,$target_vendor,;t t
7374 s,@target_os@,$target_os,;t t
7375 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7376 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7377 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7378 s,@CYGPATH_W@,$CYGPATH_W,;t t
7379 s,@PACKAGE@,$PACKAGE,;t t
7380 s,@VERSION@,$VERSION,;t t
7381 s,@ACLOCAL@,$ACLOCAL,;t t
7382 s,@AUTOCONF@,$AUTOCONF,;t t
7383 s,@AUTOMAKE@,$AUTOMAKE,;t t
7384 s,@AUTOHEADER@,$AUTOHEADER,;t t
7385 s,@MAKEINFO@,$MAKEINFO,;t t
7386 s,@install_sh@,$install_sh,;t t
7387 s,@STRIP@,$STRIP,;t t
7388 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7389 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7390 s,@mkdir_p@,$mkdir_p,;t t
7392 s,@SET_MAKE@,$SET_MAKE,;t t
7393 s,@am__leading_dot@,$am__leading_dot,;t t
7394 s,@AMTAR@,$AMTAR,;t t
7395 s,@am__tar@,$am__tar,;t t
7396 s,@am__untar@,$am__untar,;t t
7397 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
7398 s,@THREADS_FALSE@,$THREADS_FALSE,;t t
7399 s,@TARGETOBJS@,$TARGETOBJS,;t t
7401 s,@CFLAGS@,$CFLAGS,;t t
7402 s,@LDFLAGS@,$LDFLAGS,;t t
7403 s,@CPPFLAGS@,$CPPFLAGS,;t t
7404 s,@ac_ct_CC@,$ac_ct_CC,;t t
7405 s,@EXEEXT@,$EXEEXT,;t t
7406 s,@OBJEXT@,$OBJEXT,;t t
7407 s,@DEPDIR@,$DEPDIR,;t t
7408 s,@am__include@,$am__include,;t t
7409 s,@am__quote@,$am__quote,;t t
7410 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7411 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7412 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7413 s,@CCDEPMODE@,$CCDEPMODE,;t t
7414 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7415 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7417 s,@CXXFLAGS@,$CXXFLAGS,;t t
7418 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7419 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7420 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7421 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7423 s,@RANLIB@,$RANLIB,;t t
7424 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7426 s,@USE_NLS@,$USE_NLS,;t t
7427 s,@LIBINTL@,$LIBINTL,;t t
7428 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7429 s,@INCINTL@,$INCINTL,;t t
7430 s,@XGETTEXT@,$XGETTEXT,;t t
7431 s,@GMSGFMT@,$GMSGFMT,;t t
7432 s,@POSUB@,$POSUB,;t t
7433 s,@CATALOGS@,$CATALOGS,;t t
7434 s,@DATADIRNAME@,$DATADIRNAME,;t t
7435 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7436 s,@GENCAT@,$GENCAT,;t t
7437 s,@CATOBJEXT@,$CATOBJEXT,;t t
7438 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7439 s,@MSGFMT@,$MSGFMT,;t t
7440 s,@MSGMERGE@,$MSGMERGE,;t t
7441 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
7442 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
7443 s,@GCC_TRUE@,$GCC_TRUE,;t t
7444 s,@GCC_FALSE@,$GCC_FALSE,;t t
7445 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
7446 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
7447 s,@TLS_TRUE@,$TLS_TRUE,;t t
7448 s,@TLS_FALSE@,$TLS_FALSE,;t t
7449 s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
7450 s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
7451 s,@OMP_SUPPORT_TRUE@,$OMP_SUPPORT_TRUE,;t t
7452 s,@OMP_SUPPORT_FALSE@,$OMP_SUPPORT_FALSE,;t t
7453 s,@TLS_GNU2_DIALECT_TRUE@,$TLS_GNU2_DIALECT_TRUE,;t t
7454 s,@TLS_GNU2_DIALECT_FALSE@,$TLS_GNU2_DIALECT_FALSE,;t t
7455 s,@TLS_DESCRIPTORS_TRUE@,$TLS_DESCRIPTORS_TRUE,;t t
7456 s,@TLS_DESCRIPTORS_FALSE@,$TLS_DESCRIPTORS_FALSE,;t t
7457 s,@CONSTRUCTOR_PRIORITY_TRUE@,$CONSTRUCTOR_PRIORITY_TRUE,;t t
7458 s,@CONSTRUCTOR_PRIORITY_FALSE@,$CONSTRUCTOR_PRIORITY_FALSE,;t t
7459 s,@RANDOM_SEED_CFLAGS@,$RANDOM_SEED_CFLAGS,;t t
7460 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7461 s,@NO_WERROR@,$NO_WERROR,;t t
7462 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
7463 s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
7464 s,@LIBOBJS@,$LIBOBJS,;t t
7466 s,@EGREP@,$EGREP,;t t
7467 s,@HAVE_ZLIB_TRUE@,$HAVE_ZLIB_TRUE,;t t
7468 s,@HAVE_ZLIB_FALSE@,$HAVE_ZLIB_FALSE,;t t
7469 s,@CXXCPP@,$CXXCPP,;t t
7470 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7471 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7472 s,@MAINT@,$MAINT,;t t
7473 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7478 cat >>$CONFIG_STATUS <<\_ACEOF
7479 # Split the substitutions into bite-sized pieces for seds with
7480 # small command number limits, like on Digital OSF/1 and HP-UX.
7482 ac_sed_frag
=1 # Number of current file.
7483 ac_beg
=1 # First line for current file.
7484 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7487 while $ac_more_lines; do
7488 if test $ac_beg -gt 1; then
7489 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7491 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7493 if test ! -s $tmp/subs.frag
; then
7496 # The purpose of the label and of the branching condition is to
7497 # speed up the sed processing (if there are no `@' at all, there
7498 # is no need to browse any of the substitutions).
7499 # These are the two extra sed commands mentioned above.
7501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7502 if test -z "$ac_sed_cmds"; then
7503 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7505 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7507 ac_sed_frag
=`expr $ac_sed_frag + 1`
7509 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7512 if test -z "$ac_sed_cmds"; then
7515 fi # test -n "$CONFIG_FILES"
7518 cat >>$CONFIG_STATUS <<\_ACEOF
7519 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7520 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7522 - |
*:- |
*:-:* ) # input from stdin
7524 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7525 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7526 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7527 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7528 * ) ac_file_in
=$ac_file.
in ;;
7531 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7532 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7534 X"$ac_file" : 'X\(//\)[^/]' \| \
7535 X"$ac_file" : 'X\(//\)$' \| \
7536 X"$ac_file" : 'X\(/\)' \| \
7537 . : '\(.\)' 2>/dev/null ||
7539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7541 /^X\(\/\/\)$/{ s//\1/; q; }
7542 /^X\(\/\).*/{ s//\1/; q; }
7544 { if $as_mkdir_p; then
7549 while test ! -d "$as_dir"; do
7550 as_dirs
="$as_dir $as_dirs"
7551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7553 X"$as_dir" : 'X\(//\)[^/]' \| \
7554 X"$as_dir" : 'X\(//\)$' \| \
7555 X"$as_dir" : 'X\(/\)' \| \
7556 . : '\(.\)' 2>/dev/null ||
7558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7560 /^X\(\/\/\)$/{ s//\1/; q; }
7561 /^X\(\/\).*/{ s//\1/; q; }
7564 test ! -n "$as_dirs" || mkdir
$as_dirs
7565 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7566 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7567 { (exit 1); exit 1; }; }; }
7571 if test "$ac_dir" != .
; then
7572 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7573 # A "../" for each directory in $ac_dir_suffix.
7574 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7576 ac_dir_suffix
= ac_top_builddir
=
7580 .
) # No --srcdir option. We are building in place.
7582 if test -z "$ac_top_builddir"; then
7585 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7587 [\\/]* | ?
:[\\/]* ) # Absolute path.
7588 ac_srcdir
=$srcdir$ac_dir_suffix;
7589 ac_top_srcdir
=$srcdir ;;
7591 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7592 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7595 # Do not use `cd foo && pwd` to compute absolute paths, because
7596 # the directories may not exist.
7598 .
) ac_abs_builddir
="$ac_dir";;
7601 .
) ac_abs_builddir
=`pwd`;;
7602 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7603 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7606 case $ac_abs_builddir in
7607 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7609 case ${ac_top_builddir}.
in
7610 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7611 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7612 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7615 case $ac_abs_builddir in
7616 .
) ac_abs_srcdir
=$ac_srcdir;;
7619 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7620 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7621 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7624 case $ac_abs_builddir in
7625 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7627 case $ac_top_srcdir in
7628 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7629 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7630 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7636 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7637 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7640 # Let's still pretend it is `configure' which instantiates (i.e., don't
7641 # use $as_me), people would be surprised to read:
7642 # /* config.h. Generated by config.status. */
7643 if test x
"$ac_file" = x-
; then
7646 configure_input
="$ac_file. "
7648 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7649 sed 's,.*/,,'` by configure."
7651 # First look for the input files in the build tree, otherwise in the
7653 ac_file_inputs
=`IFS=:
7654 for f in $ac_file_in; do
7656 -) echo $tmp/stdin ;;
7658 # Absolute (can't be DOS-style, as IFS=:)
7659 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7660 echo "$as_me: error: cannot find input file: $f" >&2;}
7661 { (exit 1); exit 1; }; }
7664 if test -f "$f"; then
7667 elif test -f "$srcdir/$f"; then
7672 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7673 echo "$as_me: error: cannot find input file: $f" >&2;}
7674 { (exit 1); exit 1; }; }
7677 done` ||
{ (exit 1); exit 1; }
7679 if test x
"$ac_file" != x-
; then
7680 { echo "$as_me:$LINENO: creating $ac_file" >&5
7681 echo "$as_me: creating $ac_file" >&6;}
7685 cat >>$CONFIG_STATUS <<_ACEOF
7689 cat >>$CONFIG_STATUS <<\_ACEOF
7691 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7692 s
,@configure_input@
,$configure_input,;t t
7693 s
,@srcdir@
,$ac_srcdir,;t t
7694 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7695 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7696 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7697 s
,@builddir@
,$ac_builddir,;t t
7698 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7699 s
,@top_builddir@
,$ac_top_builddir,;t t
7700 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7701 s
,@INSTALL@
,$ac_INSTALL,;t t
7702 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7704 if test x"$ac_file" != x-; then
7705 mv $tmp/out $ac_file
7713 cat >>$CONFIG_STATUS <<\_ACEOF
7716 # CONFIG_HEADER section.
7719 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7720 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7722 # ac_d sets the value in "#define NAME VALUE" lines.
7723 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7724 ac_dB
='[ ].*$,\1#\2'
7727 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7728 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7729 ac_uB
='$,\1#\2define\3'
7733 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7734 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7736 - |
*:- |
*:-:* ) # input from stdin
7738 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7739 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7740 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7742 * ) ac_file_in
=$ac_file.
in ;;
7745 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7746 echo "$as_me: creating $ac_file" >&6;}
7748 # First look for the input files in the build tree, otherwise in the
7750 ac_file_inputs
=`IFS=:
7751 for f in $ac_file_in; do
7753 -) echo $tmp/stdin ;;
7755 # Absolute (can't be DOS-style, as IFS=:)
7756 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7757 echo "$as_me: error: cannot find input file: $f" >&2;}
7758 { (exit 1); exit 1; }; }
7759 # Do quote $f, to prevent DOS paths from being IFS'd.
7762 if test -f "$f"; then
7765 elif test -f "$srcdir/$f"; then
7770 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7771 echo "$as_me: error: cannot find input file: $f" >&2;}
7772 { (exit 1); exit 1; }; }
7775 done` ||
{ (exit 1); exit 1; }
7776 # Remove the trailing spaces.
7777 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7781 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7782 # `conftest.undefs', that substitutes the proper values into
7783 # config.h.in to produce config.h. The first handles `#define'
7784 # templates, and the second `#undef' templates.
7785 # And first: Protect against being on the right side of a sed subst in
7786 # config.status. Protect against being in an unquoted here document
7788 rm -f conftest.defines conftest.undefs
7789 # Using a here document instead of a string reduces the quoting nightmare.
7790 # Putting comments in sed scripts is not portable.
7792 # `end' is used to avoid that the second main sed command (meant for
7793 # 0-ary CPP macros) applies to n-ary macro definitions.
7794 # See the Autoconf documentation for `clear'.
7795 cat >confdef2sed.
sed <<\_ACEOF
7800 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7802 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7805 # If some macros were called several times there might be several times
7806 # the same #defines, which is useless. Nevertheless, we may not want to
7807 # sort them, since we want the *last* AC-DEFINE to be honored.
7808 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7809 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7810 rm -f confdef2sed.sed
7812 # This sed command replaces #undef with comments. This is necessary, for
7813 # example, in the case of _POSIX_SOURCE, which is predefined and required
7814 # on some systems where configure will not decide to define it.
7815 cat >>conftest.undefs <<\_ACEOF
7816 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7819 # Break up conftest.defines because some shells have a limit on the size
7820 # of here documents, and old seds have small limits too (100 cmds).
7821 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7822 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7823 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7824 echo ' :' >>$CONFIG_STATUS
7826 while grep . conftest.defines >/dev/null
7828 # Write a limited-size here document to $tmp/defines.sed.
7829 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7830 # Speed up: don't consider the non `#define' lines.
7831 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7832 # Work around the forget-to-reset-the-flag bug.
7833 echo 't clr' >>$CONFIG_STATUS
7834 echo ': clr' >>$CONFIG_STATUS
7835 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7837 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7841 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7842 rm -f conftest.defines
7843 mv conftest.
tail conftest.defines
7845 rm -f conftest.defines
7846 echo ' fi # grep' >>$CONFIG_STATUS
7847 echo >>$CONFIG_STATUS
7849 # Break up conftest.undefs because some shells have a limit on the size
7850 # of here documents, and old seds have small limits too (100 cmds).
7851 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7853 while grep . conftest.undefs
>/dev
/null
7855 # Write a limited-size here document to $tmp/undefs.sed.
7856 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7857 # Speed up: don't consider the non
`#undef'
7858 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7859 # Work around the forget-to-reset-the-flag bug.
7860 echo 't clr' >>$CONFIG_STATUS
7861 echo ': clr' >>$CONFIG_STATUS
7862 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7864 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7868 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7869 rm -f conftest.undefs
7870 mv conftest.tail conftest.undefs
7872 rm -f conftest.undefs
7874 cat >>$CONFIG_STATUS <<\_ACEOF
7875 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7876 # use $as_me), people would be surprised to read:
7877 # /* config.h. Generated by config.status. */
7878 if test x
"$ac_file" = x-
; then
7879 echo "/* Generated by configure. */" >$tmp/config.h
7881 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7883 cat $tmp/in >>$tmp/config.h
7885 if test x
"$ac_file" != x-
; then
7886 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7887 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7888 echo "$as_me: $ac_file is unchanged" >&6;}
7890 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7892 X"$ac_file" : 'X\(//\)[^/]' \| \
7893 X"$ac_file" : 'X\(//\)$' \| \
7894 X"$ac_file" : 'X\(/\)' \| \
7895 . : '\(.\)' 2>/dev/null ||
7897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7899 /^X\(\/\/\)$/{ s//\1/; q; }
7900 /^X\(\/\).*/{ s//\1/; q; }
7902 { if $as_mkdir_p; then
7907 while test ! -d "$as_dir"; do
7908 as_dirs
="$as_dir $as_dirs"
7909 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7911 X"$as_dir" : 'X\(//\)[^/]' \| \
7912 X"$as_dir" : 'X\(//\)$' \| \
7913 X"$as_dir" : 'X\(/\)' \| \
7914 . : '\(.\)' 2>/dev/null ||
7916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7918 /^X\(\/\/\)$/{ s//\1/; q; }
7919 /^X\(\/\).*/{ s//\1/; q; }
7922 test ! -n "$as_dirs" || mkdir
$as_dirs
7923 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7924 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7925 { (exit 1); exit 1; }; }; }
7928 mv $tmp/config.h
$ac_file
7934 # Compute $ac_file's index in $config_headers.
7936 for _am_header
in $config_headers :; do
7938 $ac_file |
$ac_file:* )
7941 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7944 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7945 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7946 X$ac_file : 'X\(//\)[^/]' \| \
7947 X$ac_file : 'X\(//\)$' \| \
7948 X$ac_file : 'X\(/\)' \| \
7949 . : '\(.\)' 2>/dev/null ||
7951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7953 /^X\(\/\/\)$/{ s//\1/; q; }
7954 /^X\(\/\).*/{ s//\1/; q; }
7955 s/.*/./; q'`/stamp-h
$_am_stamp_count
7958 cat >>$CONFIG_STATUS <<\_ACEOF
7961 # CONFIG_COMMANDS section.
7963 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7964 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7965 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7966 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7967 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7968 X"$ac_dest" : 'X\(//\)[^/]' \| \
7969 X"$ac_dest" : 'X\(//\)$' \| \
7970 X"$ac_dest" : 'X\(/\)' \| \
7971 . : '\(.\)' 2>/dev/null ||
7973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7974 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7975 /^X\(\/\/\)$/{ s//\1/; q; }
7976 /^X\(\/\).*/{ s//\1/; q; }
7978 { if $as_mkdir_p; then
7983 while test ! -d "$as_dir"; do
7984 as_dirs
="$as_dir $as_dirs"
7985 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7986 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7987 X"$as_dir" : 'X\(//\)[^/]' \| \
7988 X"$as_dir" : 'X\(//\)$' \| \
7989 X"$as_dir" : 'X\(/\)' \| \
7990 . : '\(.\)' 2>/dev/null ||
7992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7994 /^X\(\/\/\)$/{ s//\1/; q; }
7995 /^X\(\/\).*/{ s//\1/; q; }
7998 test ! -n "$as_dirs" || mkdir
$as_dirs
7999 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8000 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8001 { (exit 1); exit 1; }; }; }
8005 if test "$ac_dir" != .
; then
8006 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8007 # A "../" for each directory in $ac_dir_suffix.
8008 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8010 ac_dir_suffix
= ac_top_builddir
=
8014 .
) # No --srcdir option. We are building in place.
8016 if test -z "$ac_top_builddir"; then
8019 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8021 [\\/]* | ?
:[\\/]* ) # Absolute path.
8022 ac_srcdir
=$srcdir$ac_dir_suffix;
8023 ac_top_srcdir
=$srcdir ;;
8025 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8026 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8029 # Do not use `cd foo && pwd` to compute absolute paths, because
8030 # the directories may not exist.
8032 .
) ac_abs_builddir
="$ac_dir";;
8035 .
) ac_abs_builddir
=`pwd`;;
8036 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8037 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8040 case $ac_abs_builddir in
8041 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8043 case ${ac_top_builddir}.
in
8044 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8045 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8046 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8049 case $ac_abs_builddir in
8050 .
) ac_abs_srcdir
=$ac_srcdir;;
8053 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8054 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8055 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8058 case $ac_abs_builddir in
8059 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8061 case $ac_top_srcdir in
8062 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8063 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8064 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8069 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8070 echo "$as_me: executing $ac_dest commands" >&6;}
8072 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8073 # Strip MF so we end up with the name of the file.
8074 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8075 # Check whether this is an Automake generated Makefile or not.
8076 # We used to match only the files named `Makefile.in', but
8077 # some people rename them; so instead we look at the file content.
8078 # Grep'ing the first line is not enough: some people post-process
8079 # each Makefile.in and add a new line on top of each file to say so.
8080 # So let's grep whole file.
8081 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8082 dirpart
=`(dirname "$mf") 2>/dev/null ||
8083 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8084 X"$mf" : 'X\(//\)[^/]' \| \
8085 X"$mf" : 'X\(//\)$' \| \
8086 X"$mf" : 'X\(/\)' \| \
8087 . : '\(.\)' 2>/dev/null ||
8089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8091 /^X\(\/\/\)$/{ s//\1/; q; }
8092 /^X\(\/\).*/{ s//\1/; q; }
8097 # Extract the definition of DEPDIR, am__include, and am__quote
8098 # from the Makefile without running `make'.
8099 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8100 test -z "$DEPDIR" && continue
8101 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8102 test -z "am__include" && continue
8103 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8104 # When using ansi2knr, U may be empty or an underscore; expand it
8105 U
=`sed -n 's/^U = //p' < "$mf"`
8106 # Find all dependency output files, they are included files with
8107 # $(DEPDIR) in their names. We invoke sed twice because it is the
8108 # simplest approach to changing $(DEPDIR) to its actual value in the
8110 for file in `sed -n "
8111 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8112 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8113 # Make sure the directory exists.
8114 test -f "$dirpart/$file" && continue
8115 fdir
=`(dirname "$file") 2>/dev/null ||
8116 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8117 X"$file" : 'X\(//\)[^/]' \| \
8118 X"$file" : 'X\(//\)$' \| \
8119 X"$file" : 'X\(/\)' \| \
8120 . : '\(.\)' 2>/dev/null ||
8122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8123 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8124 /^X\(\/\/\)$/{ s//\1/; q; }
8125 /^X\(\/\).*/{ s//\1/; q; }
8127 { if $as_mkdir_p; then
8128 mkdir
-p $dirpart/$fdir
8130 as_dir
=$dirpart/$fdir
8132 while test ! -d "$as_dir"; do
8133 as_dirs
="$as_dir $as_dirs"
8134 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8136 X"$as_dir" : 'X\(//\)[^/]' \| \
8137 X"$as_dir" : 'X\(//\)$' \| \
8138 X"$as_dir" : 'X\(/\)' \| \
8139 . : '\(.\)' 2>/dev/null ||
8141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8143 /^X\(\/\/\)$/{ s//\1/; q; }
8144 /^X\(\/\).*/{ s//\1/; q; }
8147 test ! -n "$as_dirs" || mkdir
$as_dirs
8148 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8149 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8150 { (exit 1); exit 1; }; }; }
8152 # echo "creating $dirpart/$file"
8153 echo '# dummy' > "$dirpart/$file"
8158 for ac_file
in $CONFIG_FILES; do
8159 # Support "outfile[:infile[:infile...]]"
8161 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8163 # PO directories have a Makefile.in generated from Makefile.in.in.
8164 case "$ac_file" in */Makefile.
in)
8165 # Adjust a relative srcdir.
8166 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8167 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8168 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8169 # In autoconf-2.13 it is called $ac_given_srcdir.
8170 # In autoconf-2.50 it is called $srcdir.
8171 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8172 case "$ac_given_srcdir" in
8173 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8174 /*) top_srcdir
="$ac_given_srcdir" ;;
8175 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8177 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8178 rm -f "$ac_dir/POTFILES"
8179 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8180 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8181 POMAKEFILEDEPS
="POTFILES.in"
8182 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8183 # on $ac_dir but don't depend on user-specified configuration
8185 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8186 # The LINGUAS file contains the set of available languages.
8187 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8188 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8190 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8191 # Hide the ALL_LINGUAS assigment from automake.
8192 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8193 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8195 # The set of available languages was given in configure.in.
8196 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8198 case "$ac_given_srcdir" in
8200 *) srcdirpre
='$(srcdir)/' ;;
8206 for lang
in $ALL_LINGUAS; do
8207 POFILES
="$POFILES $srcdirpre$lang.po"
8208 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8209 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8210 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8212 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8213 # environment variable.
8215 if test -n "$ALL_LINGUAS"; then
8216 for presentlang
in $ALL_LINGUAS; do
8218 if test "%UNSET%" != "$LINGUAS"; then
8219 desiredlanguages
="$LINGUAS"
8221 desiredlanguages
="$ALL_LINGUAS"
8223 for desiredlang
in $desiredlanguages; do
8224 # Use the presentlang catalog if desiredlang is
8225 # a. equal to presentlang, or
8226 # b. a variant of presentlang (because in this case,
8227 # presentlang can be used as a fallback for messages
8228 # which are not translated in the desiredlang catalog).
8229 case "$desiredlang" in
8230 "$presentlang"*) useit
=yes;;
8233 if test $useit = yes; then
8234 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8239 if test -n "$INST_LINGUAS"; then
8240 for lang
in $INST_LINGUAS; do
8241 CATALOGS
="$CATALOGS $lang.gmo"
8244 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8245 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"
8246 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8247 if test -f "$f"; then
8249 *.orig |
*.bak |
*~
) ;;
8250 *) cat "$f" >> "$ac_dir/Makefile" ;;
8262 cat >>$CONFIG_STATUS <<\_ACEOF
8264 { (exit 0); exit 0; }
8266 chmod +x
$CONFIG_STATUS
8267 ac_clean_files
=$ac_clean_files_save
8270 # configure is writing to config.log, and then calls config.status.
8271 # config.status does its own redirection, appending to config.log.
8272 # Unfortunately, on DOS this fails, as config.log is still kept open
8273 # by configure, so config.status won't be able to write to it; its
8274 # output is simply discarded. So we exec the FD to /dev/null,
8275 # effectively closing config.log, so it can be properly (re)opened and
8276 # appended to by config.status. When coming back to configure, we
8277 # need to make the FD available again.
8278 if test "$no_create" != yes; then
8280 ac_config_status_args
=
8281 test "$silent" = yes &&
8282 ac_config_status_args
="$ac_config_status_args --quiet"
8284 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8286 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8287 # would make configure fail if this is the last instruction.
8288 $ac_cs_success ||
{ (exit 1); exit 1; }