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 PLUGINS_TRUE PLUGINS_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-plugins linker plugins
870 --enable-targets alternative target configurations
871 --disable-dependency-tracking speeds up one-time build
872 --enable-dependency-tracking do not reject slow dependency extractors
873 --disable-nls do not use Native Language Support
874 --enable-werror treat compile warnings as errors
875 --enable-build-warnings enable build-time compiler warnings
876 --enable-maintainer-mode enable make rules and dependencies not useful
877 (and sometimes confusing
) to the casual installer
880 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
881 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
882 --with-sysroot=DIR search
for usr
/lib et al within DIR
884 Some influential environment variables
:
885 CC C compiler
command
886 CFLAGS C compiler flags
887 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
888 nonstandard directory
<lib dir
>
889 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
890 headers
in a nonstandard directory
<include dir
>
891 CXX C
++ compiler
command
892 CXXFLAGS C
++ compiler flags
894 CXXCPP C
++ preprocessor
896 Use these variables to override the choices made by
`configure' or to help
897 it to find libraries and programs with nonstandard names/locations.
902 if test "$ac_init_help" = "recursive"; then
903 # If there are subdirs, report their specific --help.
905 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
906 test -d $ac_dir || continue
909 if test "$ac_dir" != .; then
910 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
911 # A "../" for each directory in $ac_dir_suffix.
912 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
914 ac_dir_suffix= ac_top_builddir=
918 .) # No --srcdir option. We are building in place.
920 if test -z "$ac_top_builddir"; then
923 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
925 [\\/]* | ?:[\\/]* ) # Absolute path.
926 ac_srcdir=$srcdir$ac_dir_suffix;
927 ac_top_srcdir=$srcdir ;;
929 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930 ac_top_srcdir=$ac_top_builddir$srcdir ;;
933 # Do not use `cd foo
&& pwd` to compute absolute paths, because
934 # the directories may not exist.
936 .) ac_abs_builddir="$ac_dir";;
939 .) ac_abs_builddir=`pwd`;;
940 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
941 *) ac_abs_builddir=`pwd`/"$ac_dir";;
944 case $ac_abs_builddir in
945 .) ac_abs_top_builddir=${ac_top_builddir}.;;
947 case ${ac_top_builddir}. in
948 .) ac_abs_top_builddir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
950 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
953 case $ac_abs_builddir in
954 .) ac_abs_srcdir=$ac_srcdir;;
957 .) ac_abs_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
959 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
962 case $ac_abs_builddir in
963 .) ac_abs_top_srcdir=$ac_top_srcdir;;
965 case $ac_top_srcdir in
966 .) ac_abs_top_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
968 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
973 # Check for guested configure; otherwise get Cygnus style configure.
974 if test -f $ac_srcdir/configure.gnu; then
976 $SHELL $ac_srcdir/configure.gnu --help=recursive
977 elif test -f $ac_srcdir/configure; then
979 $SHELL $ac_srcdir/configure --help=recursive
980 elif test -f $ac_srcdir/configure.ac ||
981 test -f $ac_srcdir/configure.in; then
985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
991 test -n "$ac_init_help" && exit 0
992 if $ac_init_version; then
995 generated by GNU Autoconf 2.59
997 Copyright (C) 2003 Free Software Foundation, Inc.
998 This configure script is free software; the Free Software Foundation
999 gives unlimited permission to copy, distribute and modify it.
1005 This file contains any messages produced by compilers while
1006 running configure, to aid debugging if configure makes a mistake.
1008 It was created by gold $as_me 0.1, which was
1009 generated by GNU Autoconf 2.59. Invocation command line was
1020 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1021 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1022 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1023 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1024 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1027 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1029 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1030 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1031 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1032 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1033 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1034 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1035 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1043 test -z "$as_dir" && as_dir=.
1044 echo "PATH: $as_dir"
1059 # Keep a trace of the command line.
1060 # Strip out --no-create and --no-recursion so they do not pile up.
1061 # Strip out --silent because we don't want to record it for future runs.
1062 # Also quote any args containing shell meta-characters.
1063 # Make two passes to allow for proper duplicate-argument suppression.
1068 ac_must_keep_next=false
1074 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1078 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1079 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1082 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1084 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1085 if test $ac_must_keep_next = true; then
1086 ac_must_keep_next=false # Got value, back to normal.
1089 *=* | --config-cache | -C | -disable-* | --disable-* \
1090 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1091 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1092 | -with-* | --with-* | -without-* | --without-* | --x)
1093 case "$ac_configure_args0 " in
1094 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1097 -* ) ac_must_keep_next=true ;;
1100 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1101 # Get rid of the leading space.
1107 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1108 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1110 # When interrupted or exit'd, cleanup temporary files, and complete
1111 # config.log. We remove comments because anyway the quotes in there
1112 # would cause problems or look ugly.
1113 # WARNING: Be sure not to use single quotes in there, as some shells,
1114 # such as our DU 5.0 friend, will then `close
' the trap.
1115 trap 'exit_status
=$?
1116 # Save into config.log some information that might help in debugging.
1121 ## ---------------- ##
1122 ## Cache variables. ##
1123 ## ---------------- ##
1126 # The following way of writing the cache mishandles newlines in values,
1129 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1132 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1144 ## ----------------- ##
1145 ## Output variables. ##
1146 ## ----------------- ##
1149 for ac_var
in $ac_subst_vars
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -n "$ac_subst_files"; then
1163 for ac_var
in $ac_subst_files
1165 eval ac_val
=$
`echo $ac_var`
1166 echo "$ac_var='"'"'$ac_val'"'"'"
1171 if test -s confdefs.h
; then
1178 sed "/^$/d" confdefs.h |
sort
1181 test "$ac_signal" != 0 &&
1182 echo "$as_me: caught signal $ac_signal"
1183 echo "$as_me: exit $exit_status"
1185 rm -f core
*.core
&&
1186 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1189 for ac_signal in 1 2 13 15; do
1190 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1194 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1195 rm -rf conftest* confdefs.h
1196 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1199 # Predefined preprocessor variables.
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_NAME "$PACKAGE_NAME"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_STRING "$PACKAGE_STRING"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1226 # Let the site file select an alternate cache file if it wants to.
1227 # Prefer explicitly selected file to automatically selected ones.
1228 if test -z "$CONFIG_SITE"; then
1229 if test "x$prefix" != xNONE; then
1230 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1232 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1235 for ac_site_file in $CONFIG_SITE; do
1236 if test -r "$ac_site_file"; then
1237 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1238 echo "$as_me: loading site script $ac_site_file" >&6;}
1239 sed 's
/^
/|
/' "$ac_site_file" >&5
1244 if test -r "$cache_file"; then
1245 # Some versions of bash will fail to source /dev/null (special
1246 # files actually), so we avoid doing that.
1247 if test -f "$cache_file"; then
1248 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1249 echo "$as_me: loading cache $cache_file" >&6;}
1251 [\\/]* | ?:[\\/]* ) . $cache_file;;
1252 *) . ./$cache_file;;
1256 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1257 echo "$as_me: creating cache $cache_file" >&6;}
1261 # Check that the precious variables saved in the cache have kept the same
1263 ac_cache_corrupted=false
1264 for ac_var in `(set) 2>&1 |
1265 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1266 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1267 eval ac_new_set=\$ac_env_${ac_var}_set
1268 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1269 eval ac_new_val="\$ac_env_${ac_var}_value"
1270 case $ac_old_set,$ac_new_set in
1272 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1273 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1274 ac_cache_corrupted=: ;;
1276 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1277 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1278 ac_cache_corrupted=: ;;
1281 if test "x$ac_old_val" != "x$ac_new_val"; then
1282 # differences in whitespace do not lead to failure.
1283 ac_old_val_w=`echo x $ac_old_val`
1284 ac_new_val_w=`echo x $ac_new_val`
1285 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1286 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1287 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1288 ac_cache_corrupted=:
1290 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1291 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1292 eval $ac_var=\$ac_old_val
1294 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1295 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1296 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1297 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1315 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1316 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1317 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1318 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1319 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1320 { (exit 1); exit 1; }; }
1324 ac_cpp='$CPP $CPPFLAGS'
1325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1361 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1362 if test -f $ac_dir/install-sh; then
1364 ac_install_sh="$ac_aux_dir/install-sh -c"
1366 elif test -f $ac_dir/install.sh; then
1368 ac_install_sh="$ac_aux_dir/install.sh -c"
1370 elif test -f $ac_dir/shtool; then
1372 ac_install_sh="$ac_aux_dir/shtool install -c"
1376 if test -z "$ac_aux_dir"; then
1377 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1378 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1379 { (exit 1); exit 1; }; }
1381 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1382 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1383 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1385 # Make sure we can run config.sub.
1386 $ac_config_sub sun4 >/dev/null 2>&1 ||
1387 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1388 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1389 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: checking build system type" >&5
1392 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1393 if test "${ac_cv_build+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 ac_cv_build_alias=$build_alias
1397 test -z "$ac_cv_build_alias" &&
1398 ac_cv_build_alias=`$ac_config_guess`
1399 test -z "$ac_cv_build_alias" &&
1400 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1401 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1402 { (exit 1); exit 1; }; }
1403 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1410 echo "${ECHO_T}$ac_cv_build" >&6
1412 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417 echo "$as_me:$LINENO: checking host system type" >&5
1418 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1419 if test "${ac_cv_host+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_host_alias=$host_alias
1423 test -z "$ac_cv_host_alias" &&
1424 ac_cv_host_alias=$ac_cv_build_alias
1425 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1432 echo "${ECHO_T}$ac_cv_host" >&6
1434 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1439 echo "$as_me:$LINENO: checking target system type" >&5
1440 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1441 if test "${ac_cv_target+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 ac_cv_target_alias=$target_alias
1445 test "x$ac_cv_target_alias" = "x" &&
1446 ac_cv_target_alias=$ac_cv_host_alias
1447 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1454 echo "${ECHO_T}$ac_cv_target" >&6
1455 target=$ac_cv_target
1456 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 # The aliases save the names the user supplied, while $host etc.
1462 # will get canonicalized.
1463 test -n "$target_alias" &&
1464 test "$program_prefix$program_suffix$program_transform_name" = \
1466 program_prefix=${target_alias}-
1468 am__api_version="1.9"
1469 # Find a good install program. We prefer a C program (faster),
1470 # so one script is as good as another. But avoid the broken or
1471 # incompatible versions:
1472 # SysV /etc/install, /usr/sbin/install
1473 # SunOS /usr/etc/install
1474 # IRIX /sbin/install
1476 # AmigaOS /C/install, which installs bootblocks on floppy discs
1477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1480 # OS/2's system install, which has a completely different semantic
1481 # ./install, which can be erroneously created by make from ./install.sh.
1482 # Reject install programs that cannot install multiple files.
1483 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1484 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1485 if test -z "$INSTALL"; then
1486 if test "${ac_cv_path_install+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 # Account for people who put trailing slashes in PATH elements.
1496 ./ | .// | /cC/* | \
1497 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1498 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1501 # OSF1 and SCO ODT 3.0 have their own names for install.
1502 # Don't use installbsd from OSF since it installs stuff as root
1504 for ac_prog in ginstall scoinst install; do
1505 for ac_exec_ext in '' $ac_executable_extensions; do
1506 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1507 if test $ac_prog = install &&
1508 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1509 # AIX install. It has an incompatible calling convention.
1511 elif test $ac_prog = install &&
1512 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1513 # program-specific install script used by HP pwplus--don't use.
1516 rm -rf conftest.one conftest.two conftest.dir
1517 echo one > conftest.one
1518 echo two > conftest.two
1520 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1521 test -s conftest.one && test -s conftest.two &&
1522 test -s conftest.dir/conftest.one &&
1523 test -s conftest.dir/conftest.two
1525 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1536 rm -rf conftest.one conftest.two conftest.dir
1539 if test "${ac_cv_path_install+set}" = set; then
1540 INSTALL=$ac_cv_path_install
1542 # As a last resort, use the slow shell script. Don't cache a
1543 # value for INSTALL within a source directory, because that will
1544 # break other packages using the cache if that directory is
1545 # removed, or if the value is a relative name.
1546 INSTALL=$ac_install_sh
1549 echo "$as_me:$LINENO: result: $INSTALL" >&5
1550 echo "${ECHO_T}$INSTALL" >&6
1552 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1553 # It thinks the first close brace ends the variable substitution.
1554 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1556 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1558 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1560 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1561 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1564 echo timestamp > conftest.file
1565 # Do `set' in a subshell so we don't clobber the current shell
's
1566 # arguments. Must try -L first in case configure is actually a
1567 # symlink; some systems play weird games with the mod time of symlinks
1568 # (eg FreeBSD returns the mod time of the symlink's containing
1571 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1572 if test "$*" = "X"; then
1574 set X
`ls -t $srcdir/configure conftest.file`
1577 if test "$*" != "X $srcdir/configure conftest.file" \
1578 && test "$*" != "X conftest.file $srcdir/configure"; then
1580 # If neither matched, then we have a broken ls. This can happen
1581 # if, for instance, CONFIG_SHELL is bash and it inherits a
1582 # broken ls alias from the environment. This has actually
1583 # happened. Such a system could not be considered "sane".
1584 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1585 alias in your environment" >&5
1586 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1587 alias in your environment" >&2;}
1588 { (exit 1); exit 1; }; }
1591 test "$2" = conftest.
file
1597 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1598 Check your system clock" >&5
1599 echo "$as_me: error: newly created file is older than distributed files!
1600 Check your system clock" >&2;}
1601 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: yes" >&5
1604 echo "${ECHO_T}yes" >&6
1605 test "$program_prefix" != NONE
&&
1606 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1607 # Use a double $ so make ignores it.
1608 test "$program_suffix" != NONE
&&
1609 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1610 # Double any \ or $. echo might interpret backslashes.
1611 # By default was `s,x,x', remove it if useless.
1612 cat <<\_ACEOF
>conftest.
sed
1613 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1615 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1618 # expand $ac_aux_dir to an absolute path
1619 am_aux_dir
=`cd $ac_aux_dir && pwd`
1621 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1622 # Use eval to expand $SHELL
1623 if eval "$MISSING --run true"; then
1624 am_missing_run
="$MISSING --run "
1627 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1628 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1631 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1632 # We used to keeping the `.' as first argument, in order to
1633 # allow $(mkdir_p) to be used without argument. As in
1634 # $(mkdir_p) $(somedir)
1635 # where $(somedir) is conditionally defined. However this is wrong
1637 # 1. if the package is installed by a user who cannot write `.'
1638 # make install will fail,
1639 # 2. the above comment should most certainly read
1640 # $(mkdir_p) $(DESTDIR)$(somedir)
1641 # so it does not work when $(somedir) is undefined and
1642 # $(DESTDIR) is not.
1643 # To support the latter case, we have to write
1644 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1645 # so the `.' trick is pointless.
1646 mkdir_p
='mkdir -p --'
1648 # On NextStep and OpenStep, the `mkdir' command does not
1649 # recognize any option. It will interpret all options as
1650 # directories to create, and then abort because `.' already
1652 for d
in .
/-p .
/--version;
1654 test -d $d && rmdir $d
1656 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1657 if test -f "$ac_aux_dir/mkinstalldirs"; then
1658 mkdir_p
='$(mkinstalldirs)'
1660 mkdir_p
='$(install_sh) -d'
1664 for ac_prog
in gawk mawk nawk
awk
1666 # Extract the first word of "$ac_prog", so it can be a program name with args.
1667 set dummy
$ac_prog; ac_word
=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_AWK+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$AWK"; then
1674 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1680 test -z "$as_dir" && as_dir
=.
1681 for ac_exec_ext
in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1683 ac_cv_prog_AWK
="$ac_prog"
1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693 if test -n "$AWK"; then
1694 echo "$as_me:$LINENO: result: $AWK" >&5
1695 echo "${ECHO_T}$AWK" >&6
1697 echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6
1701 test -n "$AWK" && break
1704 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1705 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1706 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1707 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 cat >conftest.
make <<\_ACEOF
1712 @
echo 'ac_maketemp="$(MAKE)"'
1714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1715 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1716 if test -n "$ac_maketemp"; then
1717 eval ac_cv_prog_make_
${ac_make}_set
=yes
1719 eval ac_cv_prog_make_
${ac_make}_set
=no
1723 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1724 echo "$as_me:$LINENO: result: yes" >&5
1725 echo "${ECHO_T}yes" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1730 SET_MAKE
="MAKE=${MAKE-make}"
1733 rm -rf .tst
2>/dev
/null
1734 mkdir .tst
2>/dev
/null
1735 if test -d .tst
; then
1740 rmdir .tst
2>/dev
/null
1742 # test to see if srcdir already configured
1743 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1744 test -f $srcdir/config.status
; then
1745 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1746 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1747 { (exit 1); exit 1; }; }
1750 # test whether we have cygpath
1751 if test -z "$CYGPATH_W"; then
1752 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1753 CYGPATH_W
='cygpath -w'
1760 # Define the identity of the package.
1765 cat >>confdefs.h
<<_ACEOF
1766 #define PACKAGE "$PACKAGE"
1770 cat >>confdefs.h
<<_ACEOF
1771 #define VERSION "$VERSION"
1774 # Some tools Automake needs.
1776 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1779 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1782 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1785 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1788 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1790 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1792 # Installed binaries are usually stripped using `strip' when the user
1793 # run `make install-strip'. However `strip' might not be the right
1794 # tool to use in cross-compilation environments, therefore Automake
1795 # will honor the `STRIP' environment variable to overrule this program.
1796 if test "$cross_compiling" != no
; then
1797 if test -n "$ac_tool_prefix"; then
1798 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1799 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_STRIP+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$STRIP"; then
1806 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 STRIP
=$ac_cv_prog_STRIP
1825 if test -n "$STRIP"; then
1826 echo "$as_me:$LINENO: result: $STRIP" >&5
1827 echo "${ECHO_T}$STRIP" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1834 if test -z "$ac_cv_prog_STRIP"; then
1836 # Extract the first word of "strip", so it can be a program name with args.
1837 set dummy strip
; ac_word
=$2
1838 echo "$as_me:$LINENO: checking for $ac_word" >&5
1839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$ac_ct_STRIP"; then
1844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir
=.
1851 for ac_exec_ext
in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_ac_ct_STRIP
="strip"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1864 if test -n "$ac_ct_STRIP"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1866 echo "${ECHO_T}$ac_ct_STRIP" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1874 STRIP
="$ac_cv_prog_STRIP"
1878 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1880 # We need awk for the "check" target. The system "awk" is bad on
1882 # Always define AMTAR for backward compatibility.
1884 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1886 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1893 ac_config_headers
="$ac_config_headers config.h:config.in"
1897 # Check whether --with-sysroot or --without-sysroot was given.
1898 if test "${with_sysroot+set}" = set; then
1899 withval
="$with_sysroot"
1905 if test "$sysroot" = "yes"; then
1906 sysroot
='${exec_prefix}/${target_alias}/sys-root'
1907 elif test "$sysroot" = "no"; then
1911 sysroot_relocatable
=0
1912 if test -n "$sysroot"; then
1914 "${prefix}" |
"${prefix}/"* | \
1915 "${exec_prefix}" |
"${exec_prefix}/"* | \
1916 '${prefix}' |
'${prefix}/'*| \
1917 '${exec_prefix}' |
'${exec_prefix}/'*)
1918 sysroot_relocatable
=1
1924 cat >>confdefs.h
<<_ACEOF
1925 #define TARGET_SYSTEM_ROOT "$sysroot"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1934 # Check whether --enable-threads or --disable-threads was given.
1935 if test "${enable_threads+set}" = set; then
1936 enableval
="$enable_threads"
1937 case "${enableval}" in
1938 yes |
"") threads
=yes ;;
1945 if test "$threads" = "yes"; then
1947 cat >>confdefs.h
<<\_ACEOF
1948 #define ENABLE_THREADS 1
1954 if test "$threads" = "yes"; then
1963 # Check whether --enable-plugins or --disable-plugins was given.
1964 if test "${enable_plugins+set}" = set; then
1965 enableval
="$enable_plugins"
1966 case "${enableval}" in
1967 yes |
"") plugins
=yes ;;
1974 if test "$plugins" = "yes"; then
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define ENABLE_PLUGINS 1
1983 if test "$plugins" = "yes"; then
1992 # Check whether --enable-targets or --disable-targets was given.
1993 if test "${enable_targets+set}" = set; then
1994 enableval
="$enable_targets"
1995 case "${enableval}" in
1997 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1998 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1999 { (exit 1); exit 1; }; }
2005 enable_targets
=$enableval
2009 # For now, enable all targets by default
2014 # Canonicalize the enabled targets.
2015 if test -n "$enable_targets"; then
2016 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
2017 result
=`$ac_config_sub $targ 2>/dev/null`
2018 if test -n "$result"; then
2019 canon_targets
="$canon_targets $result"
2021 # Permit unrecognized target names, like "all".
2022 canon_targets
="$canon_targets $targ"
2027 # See which specific instantiations we need.
2033 default_osabi
=ELFOSABI_NONE
2038 for targ
in $target $canon_targets; do
2039 if test "$targ" = "all"; then
2046 .
${srcdir}/configure.tgt
2048 if test "$targ_obj" = "UNKNOWN"; then
2049 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
2050 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
2051 { (exit 1); exit 1; }; }
2053 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
2054 if test "$targ_extra_obj" != ""; then
2055 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
2057 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
2058 if test "$targ_big_endian" = "true" \
2059 -o "$targ_extra_big_endian" = "true"; then
2062 if test "$targ_big_endian" = "false" \
2063 -o "$targ_extra_big_endian" = "false"; then
2067 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
2068 if test "$targ_big_endian" = "true" \
2069 -o "$targ_extra_big_endian" = "true"; then
2072 if test "$targ_big_endian" = "false" \
2073 -o "$targ_extra_big_endian" = "false"; then
2078 if test "$target" = "$targ"; then
2079 default_machine
=$targ_machine
2080 default_size
=$targ_size
2081 default_big_endian
=$targ_big_endian
2082 default_osabi
=$targ_osabi
2088 if test -n "$targ_32_little"; then
2090 cat >>confdefs.h
<<\_ACEOF
2091 #define HAVE_TARGET_32_LITTLE 1
2095 if test -n "$targ_32_big"; then
2097 cat >>confdefs.h
<<\_ACEOF
2098 #define HAVE_TARGET_32_BIG 1
2102 if test -n "$targ_64_little"; then
2104 cat >>confdefs.h
<<\_ACEOF
2105 #define HAVE_TARGET_64_LITTLE 1
2109 if test -n "$targ_64_big"; then
2111 cat >>confdefs.h
<<\_ACEOF
2112 #define HAVE_TARGET_64_BIG 1
2117 if test -n "$all_targets"; then
2118 TARGETOBJS
='$(ALL_TARGETOBJS)'
2120 TARGETOBJS
="$targetobjs"
2125 cat >>confdefs.h
<<_ACEOF
2126 #define GOLD_DEFAULT_MACHINE $default_machine
2130 cat >>confdefs.h
<<_ACEOF
2131 #define GOLD_DEFAULT_SIZE $default_size
2135 cat >>confdefs.h
<<_ACEOF
2136 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
2140 cat >>confdefs.h
<<_ACEOF
2141 #define GOLD_DEFAULT_OSABI $default_osabi
2146 ac_cpp
='$CPP $CPPFLAGS'
2147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2150 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2152 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_prog_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$CC"; then
2159 ac_cv_prog_CC
="$CC" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test -n "$CC"; then
2179 echo "$as_me:$LINENO: result: $CC" >&5
2180 echo "${ECHO_T}$CC" >&6
2182 echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6
2187 if test -z "$ac_cv_prog_CC"; then
2189 # Extract the first word of "gcc", so it can be a program name with args.
2190 set dummy gcc
; ac_word
=$2
2191 echo "$as_me:$LINENO: checking for $ac_word" >&5
2192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 if test -n "$ac_ct_CC"; then
2197 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir
=.
2204 for ac_exec_ext
in '' $ac_executable_extensions; do
2205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206 ac_cv_prog_ac_ct_CC
="gcc"
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2216 if test -n "$ac_ct_CC"; then
2217 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2218 echo "${ECHO_T}$ac_ct_CC" >&6
2220 echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2229 if test -z "$CC"; then
2230 if test -n "$ac_tool_prefix"; then
2231 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2232 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2233 echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2235 if test "${ac_cv_prog_CC+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC
="$CC" # Let the user override the test.
2241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir
=.
2246 for ac_exec_ext
in '' $ac_executable_extensions; do
2247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 if test -n "$CC"; then
2259 echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2267 if test -z "$ac_cv_prog_CC"; then
2269 # Extract the first word of "cc", so it can be a program name with args.
2270 set dummy cc
; ac_word
=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286 ac_cv_prog_ac_ct_CC
="cc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2310 if test -z "$CC"; then
2311 # Extract the first word of "cc", so it can be a program name with args.
2312 set dummy cc
; ac_word
=$2
2313 echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2315 if test "${ac_cv_prog_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC
="$CC" # Let the user override the test.
2322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir
=.
2327 for ac_exec_ext
in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2330 ac_prog_rejected
=yes
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test $ac_prog_rejected = yes; then
2341 # We found a bogon in the path, so make sure we never use it.
2342 set dummy
$ac_cv_prog_CC
2344 if test $# != 0; then
2345 # We chose a different compiler from the bogus one.
2346 # However, it has the same basename, so the bogon will be chosen
2347 # first if we set CC to just the basename; use the full file name.
2349 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2355 if test -n "$CC"; then
2356 echo "$as_me:$LINENO: result: $CC" >&5
2357 echo "${ECHO_T}$CC" >&6
2359 echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2364 if test -z "$CC"; then
2365 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2369 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2370 echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC
="$CC" # Let the user override the test.
2378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir
=.
2383 for ac_exec_ext
in '' $ac_executable_extensions; do
2384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2385 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 if test -n "$CC"; then
2396 echo "$as_me:$LINENO: result: $CC" >&5
2397 echo "${ECHO_T}$CC" >&6
2399 echo "$as_me:$LINENO: result: no" >&5
2400 echo "${ECHO_T}no" >&6
2403 test -n "$CC" && break
2406 if test -z "$CC"; then
2410 # Extract the first word of "$ac_prog", so it can be a program name with args.
2411 set dummy
$ac_prog; ac_word
=$2
2412 echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 if test -n "$ac_ct_CC"; then
2418 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2427 ac_cv_prog_ac_ct_CC
="$ac_prog"
2428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2437 if test -n "$ac_ct_CC"; then
2438 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2439 echo "${ECHO_T}$ac_ct_CC" >&6
2441 echo "$as_me:$LINENO: result: no" >&5
2442 echo "${ECHO_T}no" >&6
2445 test -n "$ac_ct_CC" && break
2454 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2455 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: no acceptable C compiler found in \$PATH
2459 See \`config.log' for more details." >&2;}
2460 { (exit 1); exit 1; }; }; }
2462 # Provide some information about the compiler.
2463 echo "$as_me:$LINENO:" \
2464 "checking for C compiler version" >&5
2465 ac_compiler
=`set X $ac_compile; echo $2`
2466 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2467 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }
2471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2472 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2476 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2477 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2497 ac_clean_files_save
=$ac_clean_files
2498 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2499 # Try to create an executable without -o first, disregard a.out.
2500 # It will help us diagnose broken compilers, and finding out an intuition
2502 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2503 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2504 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2505 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2506 (eval $ac_link_default) 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; then
2510 # Find the output, starting from the most likely. This scheme is
2511 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2514 # Be careful to initialize this variable, since it used to be cached.
2515 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2517 # b.out is created by i960 compilers.
2518 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2520 test -f "$ac_file" ||
continue
2522 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2525 # This is the source file.
2528 # We found the default executable, but exeext='' is most
2532 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533 # FIXME: I believe we export ac_cv_exeext for Libtool,
2534 # but it would be cool to find out if it's true. Does anybody
2535 # maintain Libtool? --akim.
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2546 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2547 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2548 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2549 See \`config.log' for more details." >&5
2550 echo "$as_me: error: C compiler cannot create executables
2551 See \`config.log' for more details." >&2;}
2552 { (exit 77); exit 77; }; }; }
2555 ac_exeext
=$ac_cv_exeext
2556 echo "$as_me:$LINENO: result: $ac_file" >&5
2557 echo "${ECHO_T}$ac_file" >&6
2559 # Check the compiler produces executables we can run. If not, either
2560 # the compiler is broken, or we cross compile.
2561 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2562 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2563 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2564 # If not cross compiling, check that we can run a simple program.
2565 if test "$cross_compiling" != yes; then
2566 if { ac_try
='./$ac_file'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; }; then
2574 if test "$cross_compiling" = maybe
; then
2577 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2578 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2580 If you meant to cross compile, use \`--host'.
2581 See \`config.log' for more details." >&5
2582 echo "$as_me: error: cannot run C compiled programs.
2583 If you meant to cross compile, use \`--host'.
2584 See \`config.log' for more details." >&2;}
2585 { (exit 1); exit 1; }; }; }
2589 echo "$as_me:$LINENO: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6
2592 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2593 ac_clean_files
=$ac_clean_files_save
2594 # Check the compiler produces executables we can run. If not, either
2595 # the compiler is broken, or we cross compile.
2596 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2597 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2598 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2599 echo "${ECHO_T}$cross_compiling" >&6
2601 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2602 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2604 (eval $ac_link) 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; then
2608 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2609 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2610 # work properly (i.e., refer to `conftest.exe'), while it won't with
2612 for ac_file
in conftest.exe conftest conftest.
*; do
2613 test -f "$ac_file" ||
continue
2615 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2616 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2623 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2624 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2625 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }; }
2632 rm -f conftest
$ac_cv_exeext
2633 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2634 echo "${ECHO_T}$ac_cv_exeext" >&6
2636 rm -f conftest.
$ac_ext
2637 EXEEXT
=$ac_cv_exeext
2639 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2640 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2641 if test "${ac_cv_objext+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 cat >conftest.
$ac_ext <<_ACEOF
2647 cat confdefs.h
>>conftest.
$ac_ext
2648 cat >>conftest.
$ac_ext <<_ACEOF
2649 /* end confdefs.h. */
2659 rm -f conftest.o conftest.obj
2660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2661 (eval $ac_compile) 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; then
2665 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2667 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2668 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2676 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2677 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2679 See \`config.log' for more details." >&5
2680 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2681 See \`config.log' for more details." >&2;}
2682 { (exit 1); exit 1; }; }; }
2685 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2687 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2688 echo "${ECHO_T}$ac_cv_objext" >&6
2689 OBJEXT
=$ac_cv_objext
2691 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2692 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2693 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 cat >conftest.
$ac_ext <<_ACEOF
2699 cat confdefs.h
>>conftest.
$ac_ext
2700 cat >>conftest.
$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2714 rm -f conftest.
$ac_objext
2715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716 (eval $ac_compile) 2>conftest.er1
2718 grep -v '^ *+' conftest.er1
>conftest.err
2720 cat conftest.err
>&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try
='test -z "$ac_c_werror_flag"
2724 || test ! -s conftest.err'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; } &&
2730 { ac_try
='test -s conftest.$ac_objext'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.
$ac_ext >&5
2743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2744 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2747 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2748 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2749 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2750 ac_test_CFLAGS
=${CFLAGS+set}
2751 ac_save_CFLAGS
=$CFLAGS
2753 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2754 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2755 if test "${ac_cv_prog_cc_g+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 cat >conftest.
$ac_ext <<_ACEOF
2761 cat confdefs.h
>>conftest.
$ac_ext
2762 cat >>conftest.
$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2773 rm -f conftest.
$ac_objext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 (eval $ac_compile) 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } &&
2782 { ac_try
='test -z "$ac_c_werror_flag"
2783 || test ! -s conftest.err'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try
='test -s conftest.$ac_objext'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2804 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2805 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2806 if test "$ac_test_CFLAGS" = set; then
2807 CFLAGS
=$ac_save_CFLAGS
2808 elif test $ac_cv_prog_cc_g = yes; then
2809 if test "$GCC" = yes; then
2815 if test "$GCC" = yes; then
2821 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2822 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2823 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 ac_cv_prog_cc_stdc
=no
2828 cat >conftest.
$ac_ext <<_ACEOF
2831 cat confdefs.h
>>conftest.
$ac_ext
2832 cat >>conftest.
$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2836 #include <sys/types.h>
2837 #include <sys/stat.h>
2838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2839 struct buf { int x; };
2840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2841 static char *e (p, i)
2847 static char *f (char * (*g) (char **, int), char **p, ...)
2852 s = g (p, va_arg (v,int));
2857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2858 function prototypes and stuff, but not '\xHH' hex character constants.
2859 These don't provoke an error unfortunately, instead are silently treated
2860 as 'x'. The following induces an error, until -std1 is added to get
2861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2862 array size at least. It's necessary to write '\x00'==0 to get something
2863 that's true only with -std1. */
2864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2866 int test (int i, double x);
2867 struct s1 {int (*f) (int a);};
2868 struct s2 {int (*f) (double a);};
2869 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2875 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2880 # Don't try gcc -ansi; that turns off useful extensions and
2881 # breaks some systems' header files.
2882 # AIX -qlanglvl=ansi
2883 # Ultrix and OSF/1 -std1
2884 # HP-UX 10.20 and later -Ae
2885 # HP-UX older versions -Aa -D_HPUX_SOURCE
2886 # SVR4 -Xc -D__EXTENSIONS__
2887 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2889 CC
="$ac_save_CC $ac_arg"
2890 rm -f conftest.
$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try
='test -z "$ac_c_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try
='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2912 ac_cv_prog_cc_stdc
=$ac_arg
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.
$ac_ext >&5
2919 rm -f conftest.err conftest.
$ac_objext
2921 rm -f conftest.
$ac_ext conftest.
$ac_objext
2926 case "x$ac_cv_prog_cc_stdc" in
2928 echo "$as_me:$LINENO: result: none needed" >&5
2929 echo "${ECHO_T}none needed" >&6 ;;
2931 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2932 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2933 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2936 # Some people use a C++ compiler to compile C. Since we use `exit',
2937 # in C++ we need to declare it. In case someone uses the same compiler
2938 # for both compiling C and C++ we need to have the C++ compiler decide
2939 # the declaration of exit, since it's the most demanding environment.
2940 cat >conftest.
$ac_ext <<_ACEOF
2945 rm -f conftest.
$ac_objext
2946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2947 (eval $ac_compile) 2>conftest.er1
2949 grep -v '^ *+' conftest.er1
>conftest.err
2951 cat conftest.err
>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } &&
2954 { ac_try
='test -z "$ac_c_werror_flag"
2955 || test ! -s conftest.err'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; } &&
2961 { ac_try
='test -s conftest.$ac_objext'
2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; }; then
2967 for ac_declaration
in \
2969 'extern "C" void std::exit (int) throw (); using std::exit;' \
2970 'extern "C" void std::exit (int); using std::exit;' \
2971 'extern "C" void exit (int) throw ();' \
2972 'extern "C" void exit (int);' \
2975 cat >conftest.
$ac_ext <<_ACEOF
2978 cat confdefs.h
>>conftest.
$ac_ext
2979 cat >>conftest.
$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2991 rm -f conftest.
$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } &&
3000 { ac_try
='test -z "$ac_c_werror_flag"
3001 || test ! -s conftest.err'
3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; } &&
3007 { ac_try
='test -s conftest.$ac_objext'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; }; then
3015 echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.
$ac_ext >&5
3020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3021 cat >conftest.
$ac_ext <<_ACEOF
3024 cat confdefs.h
>>conftest.
$ac_ext
3025 cat >>conftest.
$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3036 rm -f conftest.
$ac_objext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>conftest.er1
3040 grep -v '^ *+' conftest.er1
>conftest.err
3042 cat conftest.err
>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try
='test -z "$ac_c_werror_flag"
3046 || test ! -s conftest.err'
3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; } &&
3052 { ac_try
='test -s conftest.$ac_objext'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; }; then
3060 echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.
$ac_ext >&5
3064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3067 if test -n "$ac_declaration"; then
3068 echo '#ifdef __cplusplus' >>confdefs.h
3069 echo $ac_declaration >>confdefs.h
3070 echo '#endif' >>confdefs.h
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3080 ac_cpp
='$CPP $CPPFLAGS'
3081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3084 DEPDIR
="${am__leading_dot}deps"
3086 ac_config_commands
="$ac_config_commands depfiles"
3089 am_make
=${MAKE-make}
3090 cat > confinc
<< 'END'
3095 # If we don't find an include directive, just comment out the code.
3096 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3097 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3101 # First try GNU make style include.
3102 echo "include confinc" > confmf
3103 # We grep out `Entering directory' and `Leaving directory'
3104 # messages which can occur if `w' ends up in MAKEFLAGS.
3105 # In particular we don't look at `^make:' because GNU make might
3106 # be invoked under some other name (usually "gmake"), in which
3107 # case it prints its new name instead of `make'.
3108 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3113 # Now try BSD make style include.
3114 if test "$am__include" = "#"; then
3115 echo '.include "confinc"' > confmf
3116 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3117 am__include
=.include
3124 echo "$as_me:$LINENO: result: $_am_result" >&5
3125 echo "${ECHO_T}$_am_result" >&6
3126 rm -f confinc confmf
3128 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3129 if test "${enable_dependency_tracking+set}" = set; then
3130 enableval
="$enable_dependency_tracking"
3133 if test "x$enable_dependency_tracking" != xno
; then
3134 am_depcomp
="$ac_aux_dir/depcomp"
3139 if test "x$enable_dependency_tracking" != xno; then
3150 depcc
="$CC" am_compiler_list
=
3152 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3153 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3154 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3155 echo $ECHO_N "(cached) $ECHO_C" >&6
3157 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3158 # We make a subdir and do the tests there. Otherwise we can end up
3159 # making bogus files that we don't know about and never remove. For
3160 # instance it was reported that on HP-UX the gcc test will end up
3161 # making a dummy file named `D' -- because `-MD' means `put the output
3164 # Copy depcomp to subdir because otherwise we won't find it if we're
3165 # using a relative directory.
3166 cp "$am_depcomp" conftest.dir
3168 # We will build objects and dependencies in a subdirectory because
3169 # it helps to detect inapplicable dependency modes. For instance
3170 # both Tru64's cc and ICC support -MD to output dependencies as a
3171 # side effect of compilation, but ICC will put the dependencies in
3172 # the current directory while Tru64 will put them in the object
3176 am_cv_CC_dependencies_compiler_type
=none
3177 if test "$am_compiler_list" = ""; then
3178 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3180 for depmode
in $am_compiler_list; do
3181 # Setup a source with many dependencies, because some compilers
3182 # like to wrap large dependency lists on column 80 (with \), and
3183 # we should not choose a depcomp mode which is confused by this.
3185 # We need to recreate these files for each test, as the compiler may
3186 # overwrite some of them when testing with obscure command lines.
3187 # This happens at least with the AIX C compiler.
3189 for i
in 1 2 3 4 5 6; do
3190 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3191 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3192 # Solaris 8's {/usr,}/bin/sh.
3193 touch sub
/conftst
$i.h
3195 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3199 # after this tag, mechanisms are not by side-effect, so they'll
3200 # only be used when explicitly requested
3201 if test "x$enable_dependency_tracking" = xyes
; then
3209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3210 # mode. It turns out that the SunPro C++ compiler does not properly
3211 # handle `-M -o', and we need to detect this.
3212 if depmode
=$depmode \
3213 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3214 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3215 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3216 >/dev
/null
2>conftest.err
&&
3217 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3218 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3219 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3220 # icc doesn't choke on unknown options, it will just issue warnings
3221 # or remarks (even with -Werror). So we grep stderr for any message
3222 # that says an option was ignored or not supported.
3223 # When given -MP, icc 7.0 and 7.1 complain thusly:
3224 # icc: Command line warning: ignoring option '-M'; no argument required
3225 # The diagnosis changed in icc 8.0:
3226 # icc: Command line remark: option '-MP' not supported
3227 if (grep 'ignoring option' conftest.err ||
3228 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3229 am_cv_CC_dependencies_compiler_type
=$depmode
3238 am_cv_CC_dependencies_compiler_type
=none
3242 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3243 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3244 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3249 test "x$enable_dependency_tracking" != xno \
3250 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3252 am__fastdepCC_FALSE
='#'
3254 am__fastdepCC_TRUE
='#'
3255 am__fastdepCC_FALSE
=
3260 ac_cpp
='$CXXCPP $CPPFLAGS'
3261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3264 if test -n "$ac_tool_prefix"; then
3265 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3269 echo "$as_me:$LINENO: checking for $ac_word" >&5
3270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3271 if test "${ac_cv_prog_CXX+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 if test -n "$CXX"; then
3275 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir
=.
3282 for ac_exec_ext
in '' $ac_executable_extensions; do
3283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$CXX"; then
3295 echo "$as_me:$LINENO: result: $CXX" >&5
3296 echo "${ECHO_T}$CXX" >&6
3298 echo "$as_me:$LINENO: result: no" >&5
3299 echo "${ECHO_T}no" >&6
3302 test -n "$CXX" && break
3305 if test -z "$CXX"; then
3307 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3309 # Extract the first word of "$ac_prog", so it can be a program name with args.
3310 set dummy
$ac_prog; ac_word
=$2
3311 echo "$as_me:$LINENO: checking for $ac_word" >&5
3312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3313 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 if test -n "$ac_ct_CXX"; then
3317 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3336 if test -n "$ac_ct_CXX"; then
3337 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3338 echo "${ECHO_T}$ac_ct_CXX" >&6
3340 echo "$as_me:$LINENO: result: no" >&5
3341 echo "${ECHO_T}no" >&6
3344 test -n "$ac_ct_CXX" && break
3346 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3352 # Provide some information about the compiler.
3353 echo "$as_me:$LINENO:" \
3354 "checking for C++ compiler version" >&5
3355 ac_compiler
=`set X $ac_compile; echo $2`
3356 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3357 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }
3361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3362 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }
3366 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3367 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }
3372 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3373 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3374 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 cat >conftest.
$ac_ext <<_ACEOF
3380 cat confdefs.h
>>conftest.
$ac_ext
3381 cat >>conftest.
$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3395 rm -f conftest.
$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1
>conftest.err
3401 cat conftest.err
>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try
='test -z "$ac_cxx_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try
='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3428 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3429 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3430 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3431 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3432 ac_save_CXXFLAGS
=$CXXFLAGS
3434 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3435 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3436 if test "${ac_cv_prog_cxx_g+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3454 rm -f conftest.
$ac_objext
3455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456 (eval $ac_compile) 2>conftest.er1
3458 grep -v '^ *+' conftest.er1
>conftest.err
3460 cat conftest.err
>&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try
='test -z "$ac_cxx_werror_flag"
3464 || test ! -s conftest.err'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; } &&
3470 { ac_try
='test -s conftest.$ac_objext'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; }; then
3476 ac_cv_prog_cxx_g
=yes
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.
$ac_ext >&5
3483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3485 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3486 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3487 if test "$ac_test_CXXFLAGS" = set; then
3488 CXXFLAGS
=$ac_save_CXXFLAGS
3489 elif test $ac_cv_prog_cxx_g = yes; then
3490 if test "$GXX" = yes; then
3496 if test "$GXX" = yes; then
3502 for ac_declaration
in \
3504 'extern "C" void std::exit (int) throw (); using std::exit;' \
3505 'extern "C" void std::exit (int); using std::exit;' \
3506 'extern "C" void exit (int) throw ();' \
3507 'extern "C" void exit (int);' \
3510 cat >conftest.
$ac_ext <<_ACEOF
3513 cat confdefs.h
>>conftest.
$ac_ext
3514 cat >>conftest.
$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3526 rm -f conftest.
$ac_objext
3527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3528 (eval $ac_compile) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1
>conftest.err
3532 cat conftest.err
>&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } &&
3535 { ac_try
='test -z "$ac_cxx_werror_flag"
3536 || test ! -s conftest.err'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; } &&
3542 { ac_try
='test -s conftest.$ac_objext'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.
$ac_ext >&5
3555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3556 cat >conftest.
$ac_ext <<_ACEOF
3559 cat confdefs.h
>>conftest.
$ac_ext
3560 cat >>conftest.
$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3571 rm -f conftest.
$ac_objext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573 (eval $ac_compile) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1
>conftest.err
3577 cat conftest.err
>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try
='test -z "$ac_cxx_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3602 if test -n "$ac_declaration"; then
3603 echo '#ifdef __cplusplus' >>confdefs.h
3604 echo $ac_declaration >>confdefs.h
3605 echo '#endif' >>confdefs.h
3609 ac_cpp
='$CPP $CPPFLAGS'
3610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3614 depcc
="$CXX" am_compiler_list
=
3616 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3617 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3618 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3622 # We make a subdir and do the tests there. Otherwise we can end up
3623 # making bogus files that we don't know about and never remove. For
3624 # instance it was reported that on HP-UX the gcc test will end up
3625 # making a dummy file named `D' -- because `-MD' means `put the output
3628 # Copy depcomp to subdir because otherwise we won't find it if we're
3629 # using a relative directory.
3630 cp "$am_depcomp" conftest.dir
3632 # We will build objects and dependencies in a subdirectory because
3633 # it helps to detect inapplicable dependency modes. For instance
3634 # both Tru64's cc and ICC support -MD to output dependencies as a
3635 # side effect of compilation, but ICC will put the dependencies in
3636 # the current directory while Tru64 will put them in the object
3640 am_cv_CXX_dependencies_compiler_type
=none
3641 if test "$am_compiler_list" = ""; then
3642 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3644 for depmode
in $am_compiler_list; do
3645 # Setup a source with many dependencies, because some compilers
3646 # like to wrap large dependency lists on column 80 (with \), and
3647 # we should not choose a depcomp mode which is confused by this.
3649 # We need to recreate these files for each test, as the compiler may
3650 # overwrite some of them when testing with obscure command lines.
3651 # This happens at least with the AIX C compiler.
3653 for i
in 1 2 3 4 5 6; do
3654 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3655 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3656 # Solaris 8's {/usr,}/bin/sh.
3657 touch sub
/conftst
$i.h
3659 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3663 # after this tag, mechanisms are not by side-effect, so they'll
3664 # only be used when explicitly requested
3665 if test "x$enable_dependency_tracking" = xyes
; then
3673 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3674 # mode. It turns out that the SunPro C++ compiler does not properly
3675 # handle `-M -o', and we need to detect this.
3676 if depmode
=$depmode \
3677 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3678 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3679 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3680 >/dev
/null
2>conftest.err
&&
3681 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3682 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3683 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3684 # icc doesn't choke on unknown options, it will just issue warnings
3685 # or remarks (even with -Werror). So we grep stderr for any message
3686 # that says an option was ignored or not supported.
3687 # When given -MP, icc 7.0 and 7.1 complain thusly:
3688 # icc: Command line warning: ignoring option '-M'; no argument required
3689 # The diagnosis changed in icc 8.0:
3690 # icc: Command line remark: option '-MP' not supported
3691 if (grep 'ignoring option' conftest.err ||
3692 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3693 am_cv_CXX_dependencies_compiler_type
=$depmode
3702 am_cv_CXX_dependencies_compiler_type
=none
3706 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3707 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3708 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3713 test "x$enable_dependency_tracking" != xno \
3714 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3715 am__fastdepCXX_TRUE
=
3716 am__fastdepCXX_FALSE
='#'
3718 am__fastdepCXX_TRUE
='#'
3719 am__fastdepCXX_FALSE
=
3723 for ac_prog
in 'bison -y' byacc
3725 # Extract the first word of "$ac_prog", so it can be a program name with args.
3726 set dummy
$ac_prog; ac_word
=$2
3727 echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3729 if test "${ac_cv_prog_YACC+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 if test -n "$YACC"; then
3733 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir
=.
3740 for ac_exec_ext
in '' $ac_executable_extensions; do
3741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_YACC
="$ac_prog"
3743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 YACC
=$ac_cv_prog_YACC
3752 if test -n "$YACC"; then
3753 echo "$as_me:$LINENO: result: $YACC" >&5
3754 echo "${ECHO_T}$YACC" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3760 test -n "$YACC" && break
3762 test -n "$YACC" || YACC
="yacc"
3764 if test -n "$ac_tool_prefix"; then
3765 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3766 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3767 echo "$as_me:$LINENO: checking for $ac_word" >&5
3768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3769 if test "${ac_cv_prog_RANLIB+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 if test -n "$RANLIB"; then
3773 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 RANLIB
=$ac_cv_prog_RANLIB
3792 if test -n "$RANLIB"; then
3793 echo "$as_me:$LINENO: result: $RANLIB" >&5
3794 echo "${ECHO_T}$RANLIB" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3801 if test -z "$ac_cv_prog_RANLIB"; then
3802 ac_ct_RANLIB
=$RANLIB
3803 # Extract the first word of "ranlib", so it can be a program name with args.
3804 set dummy ranlib
; ac_word
=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -n "$ac_ct_RANLIB"; then
3811 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3830 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3831 if test -n "$ac_ct_RANLIB"; then
3832 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3833 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3839 RANLIB
=$ac_ct_RANLIB
3841 RANLIB
="$ac_cv_prog_RANLIB"
3844 # Find a good install program. We prefer a C program (faster),
3845 # so one script is as good as another. But avoid the broken or
3846 # incompatible versions:
3847 # SysV /etc/install, /usr/sbin/install
3848 # SunOS /usr/etc/install
3849 # IRIX /sbin/install
3851 # AmigaOS /C/install, which installs bootblocks on floppy discs
3852 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3855 # OS/2's system install, which has a completely different semantic
3856 # ./install, which can be erroneously created by make from ./install.sh.
3857 # Reject install programs that cannot install multiple files.
3858 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3859 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3860 if test -z "$INSTALL"; then
3861 if test "${ac_cv_path_install+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir
=.
3869 # Account for people who put trailing slashes in PATH elements.
3871 .
/ | .
// |
/cC
/* | \
3872 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3873 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3876 # OSF1 and SCO ODT 3.0 have their own names for install.
3877 # Don't use installbsd from OSF since it installs stuff as root
3879 for ac_prog
in ginstall scoinst
install; do
3880 for ac_exec_ext
in '' $ac_executable_extensions; do
3881 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3882 if test $ac_prog = install &&
3883 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3884 # AIX install. It has an incompatible calling convention.
3886 elif test $ac_prog = install &&
3887 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3888 # program-specific install script used by HP pwplus--don't use.
3891 rm -rf conftest.one conftest.two conftest.dir
3892 echo one
> conftest.one
3893 echo two
> conftest.two
3895 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3896 test -s conftest.one
&& test -s conftest.two
&&
3897 test -s conftest.dir
/conftest.one
&&
3898 test -s conftest.dir
/conftest.two
3900 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3911 rm -rf conftest.one conftest.two conftest.dir
3914 if test "${ac_cv_path_install+set}" = set; then
3915 INSTALL
=$ac_cv_path_install
3917 # As a last resort, use the slow shell script. Don't cache a
3918 # value for INSTALL within a source directory, because that will
3919 # break other packages using the cache if that directory is
3920 # removed, or if the value is a relative name.
3921 INSTALL
=$ac_install_sh
3924 echo "$as_me:$LINENO: result: $INSTALL" >&5
3925 echo "${ECHO_T}$INSTALL" >&6
3927 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3928 # It thinks the first close brace ends the variable substitution.
3929 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3931 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3933 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3935 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3936 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3938 if test "$LN_S" = "ln -s"; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3943 echo "${ECHO_T}no, using $LN_S" >&6
3948 cat >>confdefs.h
<<\_ACEOF
3949 #define _GNU_SOURCE 1
3954 # If we haven't got the data from the intl directory,
3955 # assume NLS is disabled.
3964 if test -f ..
/intl
/config.intl
; then
3965 . ..
/intl
/config.intl
3967 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3968 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3969 if test x
"$USE_NLS" != xyes
; then
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: result: yes" >&5
3974 echo "${ECHO_T}yes" >&6
3976 cat >>confdefs.h
<<\_ACEOF
3977 #define ENABLE_NLS 1
3981 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3982 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3983 # Look for .po and .gmo files in the source directory.
3986 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3987 # If there aren't any .gmo files the shell will give us the
3988 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3990 case "$cat" in *\
**)
3993 # The quadruple backslash is collapsed to a double backslash
3994 # by the backticks, then collapsed again by the double quotes,
3995 # leaving us with one backslash in the sed expression (right
3996 # before the dot that mustn't act as a wildcard).
3997 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3998 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3999 # The user is allowed to set LINGUAS to a list of languages to
4000 # install catalogs for. If it's empty that means "all of them."
4001 if test "x$LINGUAS" = x
; then
4002 CATALOGS
="$CATALOGS $cat"
4003 XLINGUAS
="$XLINGUAS $lang"
4005 case "$LINGUAS" in *$lang*)
4006 CATALOGS
="$CATALOGS $cat"
4007 XLINGUAS
="$XLINGUAS $lang"
4013 echo "$as_me:$LINENO: result: $LINGUAS" >&5
4014 echo "${ECHO_T}$LINGUAS" >&6
4028 if test -n "$ac_aux_dir"; then
4029 case "$ac_aux_dir" in
4030 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
4031 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4034 if test -z "$MKINSTALLDIRS"; then
4035 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
4040 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4041 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4042 # Check whether --enable-nls or --disable-nls was given.
4043 if test "${enable_nls+set}" = set; then
4044 enableval
="$enable_nls"
4049 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4050 echo "${ECHO_T}$USE_NLS" >&6
4057 # Prepare PATH_SEPARATOR.
4058 # The user is always right.
4059 if test "${PATH_SEPARATOR+set}" != set; then
4060 echo "#! /bin/sh" >conf$$.sh
4061 echo "exit 0" >>conf$$.sh
4063 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4071 # Find out how to test for executable files. Don't use a zero-byte file,
4072 # as systems may use methods other than mode bits to determine executability.
4073 cat >conf$$.
file <<_ASEOF
4077 chmod +x conf$$.
file
4078 if test -x conf$$.
file >/dev
/null
2>&1; then
4079 ac_executable_p
="test -x"
4081 ac_executable_p
="test -f"
4085 # Extract the first word of "msgfmt", so it can be a program name with args.
4086 set dummy msgfmt
; ac_word
=$2
4087 echo "$as_me:$LINENO: checking for $ac_word" >&5
4088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4089 if test "${ac_cv_path_MSGFMT+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4097 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4098 for ac_dir
in $PATH; do
4100 test -z "$ac_dir" && ac_dir
=.
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4103 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
4104 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4105 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
4112 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4116 MSGFMT
="$ac_cv_path_MSGFMT"
4117 if test "$MSGFMT" != ":"; then
4118 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4119 echo "${ECHO_T}$MSGFMT" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4125 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4126 set dummy gmsgfmt
; ac_word
=$2
4127 echo "$as_me:$LINENO: checking for $ac_word" >&5
4128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4129 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4151 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4155 GMSGFMT
=$ac_cv_path_GMSGFMT
4157 if test -n "$GMSGFMT"; then
4158 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4159 echo "${ECHO_T}$GMSGFMT" >&6
4161 echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6
4167 # Prepare PATH_SEPARATOR.
4168 # The user is always right.
4169 if test "${PATH_SEPARATOR+set}" != set; then
4170 echo "#! /bin/sh" >conf$$.sh
4171 echo "exit 0" >>conf$$.sh
4173 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4181 # Find out how to test for executable files. Don't use a zero-byte file,
4182 # as systems may use methods other than mode bits to determine executability.
4183 cat >conf$$.
file <<_ASEOF
4187 chmod +x conf$$.
file
4188 if test -x conf$$.
file >/dev
/null
2>&1; then
4189 ac_executable_p
="test -x"
4191 ac_executable_p
="test -f"
4195 # Extract the first word of "xgettext", so it can be a program name with args.
4196 set dummy xgettext
; ac_word
=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4207 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4208 for ac_dir
in $PATH; do
4210 test -z "$ac_dir" && ac_dir
=.
4211 for ac_exec_ext
in '' $ac_executable_extensions; do
4212 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4213 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4214 (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
4215 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4222 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4226 XGETTEXT
="$ac_cv_path_XGETTEXT"
4227 if test "$XGETTEXT" != ":"; then
4228 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4229 echo "${ECHO_T}$XGETTEXT" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4238 # Prepare PATH_SEPARATOR.
4239 # The user is always right.
4240 if test "${PATH_SEPARATOR+set}" != set; then
4241 echo "#! /bin/sh" >conf$$.sh
4242 echo "exit 0" >>conf$$.sh
4244 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4252 # Find out how to test for executable files. Don't use a zero-byte file,
4253 # as systems may use methods other than mode bits to determine executability.
4254 cat >conf$$.
file <<_ASEOF
4258 chmod +x conf$$.
file
4259 if test -x conf$$.
file >/dev
/null
2>&1; then
4260 ac_executable_p
="test -x"
4262 ac_executable_p
="test -f"
4266 # Extract the first word of "msgmerge", so it can be a program name with args.
4267 set dummy msgmerge
; ac_word
=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4278 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4279 for ac_dir
in $PATH; do
4281 test -z "$ac_dir" && ac_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4284 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4285 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4292 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4296 MSGMERGE
="$ac_cv_path_MSGMERGE"
4297 if test "$MSGMERGE" != ":"; then
4298 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4299 echo "${ECHO_T}$MSGMERGE" >&6
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4306 if test "$GMSGFMT" != ":"; then
4307 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4308 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4311 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4312 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4313 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4318 if test "$XGETTEXT" != ":"; then
4319 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4320 (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
4323 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4324 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4330 ac_config_commands
="$ac_config_commands default-1"
4335 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4336 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4337 if test "${ac_cv_c_bigendian+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 # See if sys/param.h defines the BYTE_ORDER macro.
4341 cat >conftest.
$ac_ext <<_ACEOF
4344 cat confdefs.h
>>conftest.
$ac_ext
4345 cat >>conftest.
$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 #include <sys/types.h>
4348 #include <sys/param.h>
4353 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4361 rm -f conftest.
$ac_objext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363 (eval $ac_compile) 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } &&
4370 { ac_try
='test -z "$ac_c_werror_flag"
4371 || test ! -s conftest.err'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try
='test -s conftest.$ac_objext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 # It does; now see whether it defined to BIG_ENDIAN or not.
4384 cat >conftest.
$ac_ext <<_ACEOF
4387 cat confdefs.h
>>conftest.
$ac_ext
4388 cat >>conftest.
$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4390 #include <sys/types.h>
4391 #include <sys/param.h>
4396 #if BYTE_ORDER != BIG_ENDIAN
4404 rm -f conftest.
$ac_objext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1
>conftest.err
4410 cat conftest.err
>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try
='test -z "$ac_c_werror_flag"
4414 || test ! -s conftest.err'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; } &&
4420 { ac_try
='test -s conftest.$ac_objext'
4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; }; then
4426 ac_cv_c_bigendian
=yes
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.
$ac_ext >&5
4431 ac_cv_c_bigendian
=no
4433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.
$ac_ext >&5
4438 # It does not; compile a test program.
4439 if test "$cross_compiling" = yes; then
4440 # try to guess the endianness by grepping values into an object file
4441 ac_cv_c_bigendian
=unknown
4442 cat >conftest.
$ac_ext <<_ACEOF
4445 cat confdefs.h
>>conftest.
$ac_ext
4446 cat >>conftest.
$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4449 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4450 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4451 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4452 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4453 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4457 _ascii (); _ebcdic ();
4462 rm -f conftest.
$ac_objext
4463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4464 (eval $ac_compile) 2>conftest.er1
4466 grep -v '^ *+' conftest.er1
>conftest.err
4468 cat conftest.err
>&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } &&
4471 { ac_try
='test -z "$ac_c_werror_flag"
4472 || test ! -s conftest.err'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; } &&
4478 { ac_try
='test -s conftest.$ac_objext'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; }; then
4484 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4485 ac_cv_c_bigendian
=yes
4487 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4488 if test "$ac_cv_c_bigendian" = unknown
; then
4489 ac_cv_c_bigendian
=no
4491 # finding both strings is unlikely to happen, but who knows?
4492 ac_cv_c_bigendian
=unknown
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.
$ac_ext >&5
4500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4502 cat >conftest.
$ac_ext <<_ACEOF
4505 cat confdefs.h
>>conftest.
$ac_ext
4506 cat >>conftest.
$ac_ext <<_ACEOF
4507 /* end confdefs.h. */
4511 /* Are we little or big endian? From Harbison&Steele. */
4515 char c[sizeof (long)];
4518 exit (u.c[sizeof (long) - 1] == 1);
4521 rm -f conftest
$ac_exeext
4522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4523 (eval $ac_link) 2>&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 ac_cv_c_bigendian
=no
4534 echo "$as_me: program exited with status $ac_status" >&5
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_cv_c_bigendian
=yes
4541 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4547 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4548 case $ac_cv_c_bigendian in
4551 cat >>confdefs.h
<<\_ACEOF
4552 #define WORDS_BIGENDIAN 1
4558 { { echo "$as_me:$LINENO: error: unknown endianness
4559 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4560 echo "$as_me: error: unknown endianness
4561 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4562 { (exit 1); exit 1; }; } ;;
4570 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4572 NATIVE_LINKER_FALSE
='#'
4574 NATIVE_LINKER_TRUE
='#'
4575 NATIVE_LINKER_FALSE
=
4580 if test "$GCC" = yes; then
4598 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
4599 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
4601 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
4602 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
4606 echo "$as_me:$LINENO: checking for thread support" >&5
4607 echo $ECHO_N "checking for thread support... $ECHO_C" >&6
4608 if test "${gold_cv_c_thread+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 rm -f conftest.
$ac_objext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4616 (eval $ac_compile) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try
='test -z "$ac_c_werror_flag"
4624 || test ! -s conftest.err'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; } &&
4630 { ac_try
='test -s conftest.$ac_objext'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; }; then
4636 gold_cv_c_thread
=yes
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.
$ac_ext >&5
4643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 echo "$as_me:$LINENO: result: $gold_cv_c_thread" >&5
4646 echo "${ECHO_T}$gold_cv_c_thread" >&6
4650 if test "$gold_cv_c_thread" = "yes"; then
4659 echo "$as_me:$LINENO: checking for glibc >= 2.4" >&5
4660 echo $ECHO_N "checking for glibc >= 2.4... $ECHO_C" >&6
4661 if test "${gold_cv_lib_glibc24+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 cat >conftest.
$ac_ext <<_ACEOF
4666 #include <features.h>
4667 #if !defined __GLIBC__
4669 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
4674 rm -f conftest.
$ac_objext
4675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4676 (eval $ac_compile) 2>conftest.er1
4678 grep -v '^ *+' conftest.er1
>conftest.err
4680 cat conftest.err
>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); } &&
4683 { ac_try
='test -z "$ac_c_werror_flag"
4684 || test ! -s conftest.err'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; } &&
4690 { ac_try
='test -s conftest.$ac_objext'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; }; then
4696 gold_cv_lib_glibc24
=yes
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.
$ac_ext >&5
4701 gold_cv_lib_glibc24
=no
4703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4705 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc24" >&5
4706 echo "${ECHO_T}$gold_cv_lib_glibc24" >&6
4710 if test "$gold_cv_lib_glibc24" = "yes"; then
4712 STATIC_TLS_FALSE
='#'
4719 echo "$as_me:$LINENO: checking for omp support" >&5
4720 echo $ECHO_N "checking for omp support... $ECHO_C" >&6
4721 if test "${gold_cv_c_threadprivate+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 save_CFLAGS
="$CFLAGS"
4725 CFLAGS
="$CFLAGS -fopenmp"
4726 cat >conftest.
$ac_ext <<_ACEOF
4730 #pragma omp threadprivate (i)
4733 rm -f conftest.
$ac_objext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_c_werror_flag"
4743 || test ! -s conftest.err'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest.$ac_objext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4755 gold_cv_c_threadprivate
=yes
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 gold_cv_c_threadprivate
=no
4762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 CFLAGS
="$save_CFLAGS"
4765 echo "$as_me:$LINENO: result: $gold_cv_c_threadprivate" >&5
4766 echo "${ECHO_T}$gold_cv_c_threadprivate" >&6
4767 if test "$gold_cv_c_threadprivate" = "yes"; then
4769 cat >>confdefs.h
<<\_ACEOF
4770 #define HAVE_OMP_SUPPORT 1
4776 if test "$gold_cv_c_threadprivate" = "yes"; then
4778 OMP_SUPPORT_FALSE
='#'
4780 OMP_SUPPORT_TRUE
='#'
4785 save_CFLAGS
="$CFLAGS"
4786 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
4787 cat >conftest.
$ac_ext <<_ACEOF
4790 rm -f conftest.
$ac_objext
4791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4792 (eval $ac_compile) 2>conftest.er1
4794 grep -v '^ *+' conftest.er1
>conftest.err
4796 cat conftest.err
>&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); } &&
4799 { ac_try
='test -z "$ac_c_werror_flag"
4800 || test ! -s conftest.err'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; } &&
4806 { ac_try
='test -s conftest.$ac_objext'
4807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); }; }; then
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.
$ac_ext >&5
4819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 CFLAGS
="$save_CFLAGS"
4823 if test "$have_tls_gnu2" = "yes"; then
4824 TLS_GNU2_DIALECT_TRUE
=
4825 TLS_GNU2_DIALECT_FALSE
='#'
4827 TLS_GNU2_DIALECT_TRUE
='#'
4828 TLS_GNU2_DIALECT_FALSE
=
4832 echo "$as_me:$LINENO: checking for glibc >= 2.9" >&5
4833 echo $ECHO_N "checking for glibc >= 2.9... $ECHO_C" >&6
4834 if test "${gold_cv_lib_glibc29+set}" = set; then
4835 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 cat >conftest.
$ac_ext <<_ACEOF
4839 #include <features.h>
4840 #if !defined __GLIBC__
4842 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
4847 rm -f conftest.
$ac_objext
4848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4849 (eval $ac_compile) 2>conftest.er1
4851 grep -v '^ *+' conftest.er1
>conftest.err
4853 cat conftest.err
>&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } &&
4856 { ac_try
='test -z "$ac_c_werror_flag"
4857 || test ! -s conftest.err'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; } &&
4863 { ac_try
='test -s conftest.$ac_objext'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; }; then
4869 gold_cv_lib_glibc29
=yes
4871 echo "$as_me: failed program was:" >&5
4872 sed 's/^/| /' conftest.
$ac_ext >&5
4874 gold_cv_lib_glibc29
=no
4876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4878 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc29" >&5
4879 echo "${ECHO_T}$gold_cv_lib_glibc29" >&6
4883 if test "$gold_cv_lib_glibc29" = "yes"; then
4884 TLS_DESCRIPTORS_TRUE
=
4885 TLS_DESCRIPTORS_FALSE
='#'
4887 TLS_DESCRIPTORS_TRUE
='#'
4888 TLS_DESCRIPTORS_FALSE
=
4892 echo "$as_me:$LINENO: checking for constructor priorities" >&5
4893 echo $ECHO_N "checking for constructor priorities... $ECHO_C" >&6
4894 if test "${gold_cv_c_conprio+set}" = set; then
4895 echo $ECHO_N "(cached) $ECHO_C" >&6
4897 cat >conftest.
$ac_ext <<_ACEOF
4898 void f() __attribute__ ((constructor (1)));
4900 rm -f conftest.
$ac_objext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4902 (eval $ac_compile) 2>conftest.er1
4904 grep -v '^ *+' conftest.er1
>conftest.err
4906 cat conftest.err
>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } &&
4909 { ac_try
='test -z "$ac_c_werror_flag"
4910 || test ! -s conftest.err'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; } &&
4916 { ac_try
='test -s conftest.$ac_objext'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; }; then
4922 gold_cv_c_conprio
=yes
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 gold_cv_c_conprio
=no
4929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4931 echo "$as_me:$LINENO: result: $gold_cv_c_conprio" >&5
4932 echo "${ECHO_T}$gold_cv_c_conprio" >&6
4936 if test "$gold_cv_c_conprio" = "yes"; then
4937 CONSTRUCTOR_PRIORITY_TRUE
=
4938 CONSTRUCTOR_PRIORITY_FALSE
='#'
4940 CONSTRUCTOR_PRIORITY_TRUE
='#'
4941 CONSTRUCTOR_PRIORITY_FALSE
=
4945 echo "$as_me:$LINENO: checking for -frandom-seed support" >&5
4946 echo $ECHO_N "checking for -frandom-seed support... $ECHO_C" >&6
4947 if test "${gold_cv_c_random_seed+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 save_CFLAGS
="$CFLAGS"
4951 CFLAGS
="$CFLAGS -frandom-seed=foo"
4952 cat >conftest.
$ac_ext <<_ACEOF
4955 rm -f conftest.
$ac_objext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957 (eval $ac_compile) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1
>conftest.err
4961 cat conftest.err
>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try
='test -z "$ac_c_werror_flag"
4965 || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try
='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 gold_cv_c_random_seed
=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.
$ac_ext >&5
4982 gold_cv_c_random_seed
=no
4984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 CFLAGS
="$save_CFLAGS"
4987 echo "$as_me:$LINENO: result: $gold_cv_c_random_seed" >&5
4988 echo "${ECHO_T}$gold_cv_c_random_seed" >&6
4989 if test "$gold_cv_c_random_seed" = "yes"; then
4990 # In Makefile, '$@' will be expanded to be the name of the file
4991 # being built, providing a unique seed for each file.
4992 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
4997 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4999 # Check whether --enable-werror or --disable-werror was given.
5000 if test "${enable_werror+set}" = set; then
5001 enableval
="$enable_werror"
5002 case "${enableval}" in
5003 yes | y
) ERROR_ON_WARNING
="yes" ;;
5004 no | n
) ERROR_ON_WARNING
="no" ;;
5005 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
5006 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
5007 { (exit 1); exit 1; }; } ;;
5011 # Enable -Wno-format by default when using gcc on mingw
5014 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5015 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
5021 # Enable -Werror by default when using gcc
5022 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5023 ERROR_ON_WARNING
=yes
5027 if test "${ERROR_ON_WARNING}" = yes ; then
5028 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
5029 NO_WERROR
="-Wno-error"
5032 if test "${GCC}" = yes ; then
5033 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
5036 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5037 if test "${enable_build_warnings+set}" = set; then
5038 enableval
="$enable_build_warnings"
5039 case "${enableval}" in
5040 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
5041 no
) if test "${GCC}" = yes ; then
5044 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5045 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
5046 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5047 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
5048 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5052 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
5053 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
5060 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
5063 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
5067 for ac_func
in chsize
5069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5070 echo "$as_me:$LINENO: checking for $ac_func" >&5
5071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5072 if eval "test \"\${$as_ac_var+set}\" = set"; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 cat >conftest.
$ac_ext <<_ACEOF
5078 cat confdefs.h
>>conftest.
$ac_ext
5079 cat >>conftest.
$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5083 #define $ac_func innocuous_$ac_func
5085 /* System header to define __stub macros and hopefully few prototypes,
5086 which can conflict with char $ac_func (); below.
5087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 <limits.h> exists even on freestanding compilers. */
5091 # include <limits.h>
5093 # include <assert.h>
5098 /* Override any gcc2 internal prototype to avoid an error. */
5103 /* We use char because int might match the return type of a gcc2
5104 builtin and then its argument prototype would still apply. */
5106 /* The GNU C library defines this for functions which it implements
5107 to always fail with ENOSYS. Some functions are actually named
5108 something starting with __ and the normal name is an alias. */
5109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5112 char (*f) () = $ac_func;
5121 return f != $ac_func;
5126 rm -f conftest.
$ac_objext conftest
$ac_exeext
5127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5128 (eval $ac_link) 2>conftest.er1
5130 grep -v '^ *+' conftest.er1
>conftest.err
5132 cat conftest.err
>&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } &&
5135 { ac_try
='test -z "$ac_c_werror_flag"
5136 || test ! -s conftest.err'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; } &&
5142 { ac_try
='test -s conftest$ac_exeext'
5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; }; then
5148 eval "$as_ac_var=yes"
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5153 eval "$as_ac_var=no"
5155 rm -f conftest.err conftest.
$ac_objext \
5156 conftest
$ac_exeext conftest.
$ac_ext
5158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5160 if test `eval echo '${'$as_ac_var'}'` = yes; then
5161 cat >>confdefs.h
<<_ACEOF
5162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5171 for ac_func
in pread ftruncate mremap
5173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5174 echo "$as_me:$LINENO: checking for $ac_func" >&5
5175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5176 if eval "test \"\${$as_ac_var+set}\" = set"; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 cat >conftest.
$ac_ext <<_ACEOF
5182 cat confdefs.h
>>conftest.
$ac_ext
5183 cat >>conftest.
$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5187 #define $ac_func innocuous_$ac_func
5189 /* System header to define __stub macros and hopefully few prototypes,
5190 which can conflict with char $ac_func (); below.
5191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5192 <limits.h> exists even on freestanding compilers. */
5195 # include <limits.h>
5197 # include <assert.h>
5202 /* Override any gcc2 internal prototype to avoid an error. */
5207 /* We use char because int might match the return type of a gcc2
5208 builtin and then its argument prototype would still apply. */
5210 /* The GNU C library defines this for functions which it implements
5211 to always fail with ENOSYS. Some functions are actually named
5212 something starting with __ and the normal name is an alias. */
5213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5216 char (*f) () = $ac_func;
5225 return f != $ac_func;
5230 rm -f conftest.
$ac_objext conftest
$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try
='test -z "$ac_c_werror_flag"
5240 || test ! -s conftest.err'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; } &&
5246 { ac_try
='test -s conftest$ac_exeext'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; }; then
5252 eval "$as_ac_var=yes"
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.
$ac_ext >&5
5257 eval "$as_ac_var=no"
5259 rm -f conftest.err conftest.
$ac_objext \
5260 conftest
$ac_exeext conftest.
$ac_ext
5262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5264 if test `eval echo '${'$as_ac_var'}'` = yes; then
5265 cat >>confdefs.h
<<_ACEOF
5266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5271 "$ac_func.$ac_objext" | \
5272 *" $ac_func.$ac_objext" | \
5273 "$ac_func.$ac_objext "* | \
5274 *" $ac_func.$ac_objext "* ) ;;
5275 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
5283 # Link in zlib if we can. This allows us to write compressed sections.
5285 ac_cpp
='$CPP $CPPFLAGS'
5286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5289 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5290 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5291 # On Suns, sometimes $CPP names a directory.
5292 if test -n "$CPP" && test -d "$CPP"; then
5295 if test -z "$CPP"; then
5296 if test "${ac_cv_prog_CPP+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 # Double quotes because CPP needs to be expanded
5300 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5303 for ac_c_preproc_warn_flag
in '' yes
5305 # Use a header file that comes with gcc, so configuring glibc
5306 # with a fresh cross-compiler works.
5307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5308 # <limits.h> exists even on freestanding compilers.
5309 # On the NeXT, cc -E runs the code through the compiler's parser,
5310 # not just through cpp. "Syntax error" is here to catch this case.
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5318 # include <limits.h>
5320 # include <assert.h>
5324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5327 grep -v '^ *+' conftest.er1
>conftest.err
5329 cat conftest.err
>&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } >/dev
/null
; then
5332 if test -s conftest.err
; then
5333 ac_cpp_err
=$ac_c_preproc_warn_flag
5334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5341 if test -z "$ac_cpp_err"; then
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.
$ac_ext >&5
5347 # Broken: fails on valid input.
5350 rm -f conftest.err conftest.
$ac_ext
5352 # OK, works on sane cases. Now check whether non-existent headers
5353 # can be detected and how.
5354 cat >conftest.
$ac_ext <<_ACEOF
5357 cat confdefs.h
>>conftest.
$ac_ext
5358 cat >>conftest.
$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5365 grep -v '^ *+' conftest.er1
>conftest.err
5367 cat conftest.err
>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); } >/dev
/null
; then
5370 if test -s conftest.err
; then
5371 ac_cpp_err
=$ac_c_preproc_warn_flag
5372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5379 if test -z "$ac_cpp_err"; then
5380 # Broken: success on invalid input.
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.
$ac_ext >&5
5386 # Passes both tests.
5390 rm -f conftest.err conftest.
$ac_ext
5393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5394 rm -f conftest.err conftest.
$ac_ext
5395 if $ac_preproc_ok; then
5407 echo "$as_me:$LINENO: result: $CPP" >&5
5408 echo "${ECHO_T}$CPP" >&6
5410 for ac_c_preproc_warn_flag
in '' yes
5412 # Use a header file that comes with gcc, so configuring glibc
5413 # with a fresh cross-compiler works.
5414 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5415 # <limits.h> exists even on freestanding compilers.
5416 # On the NeXT, cc -E runs the code through the compiler's parser,
5417 # not just through cpp. "Syntax error" is here to catch this case.
5418 cat >conftest.
$ac_ext <<_ACEOF
5421 cat confdefs.h
>>conftest.
$ac_ext
5422 cat >>conftest.
$ac_ext <<_ACEOF
5423 /* end confdefs.h. */
5425 # include <limits.h>
5427 # include <assert.h>
5431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } >/dev
/null
; then
5439 if test -s conftest.err
; then
5440 ac_cpp_err
=$ac_c_preproc_warn_flag
5441 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5448 if test -z "$ac_cpp_err"; then
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.
$ac_ext >&5
5454 # Broken: fails on valid input.
5457 rm -f conftest.err conftest.
$ac_ext
5459 # OK, works on sane cases. Now check whether non-existent headers
5460 # can be detected and how.
5461 cat >conftest.
$ac_ext <<_ACEOF
5464 cat confdefs.h
>>conftest.
$ac_ext
5465 cat >>conftest.
$ac_ext <<_ACEOF
5466 /* end confdefs.h. */
5467 #include <ac_nonexistent.h>
5469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5472 grep -v '^ *+' conftest.er1
>conftest.err
5474 cat conftest.err
>&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } >/dev
/null
; then
5477 if test -s conftest.err
; then
5478 ac_cpp_err
=$ac_c_preproc_warn_flag
5479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5486 if test -z "$ac_cpp_err"; then
5487 # Broken: success on invalid input.
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5493 # Passes both tests.
5497 rm -f conftest.err conftest.
$ac_ext
5500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5501 rm -f conftest.err conftest.
$ac_ext
5502 if $ac_preproc_ok; then
5505 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5506 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5507 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5508 See \`config.log' for more details." >&5
5509 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5510 See \`config.log' for more details." >&2;}
5511 { (exit 1); exit 1; }; }; }
5515 ac_cpp
='$CPP $CPPFLAGS'
5516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5521 echo "$as_me:$LINENO: checking for egrep" >&5
5522 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5523 if test "${ac_cv_prog_egrep+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5527 then ac_cv_prog_egrep
='grep -E'
5528 else ac_cv_prog_egrep
='egrep'
5531 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5532 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5533 EGREP
=$ac_cv_prog_egrep
5536 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5537 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5538 if test "${ac_cv_header_stdc+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 cat >conftest.
$ac_ext <<_ACEOF
5544 cat confdefs.h
>>conftest.
$ac_ext
5545 cat >>conftest.
$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5560 rm -f conftest.
$ac_objext
5561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5562 (eval $ac_compile) 2>conftest.er1
5564 grep -v '^ *+' conftest.er1
>conftest.err
5566 cat conftest.err
>&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } &&
5569 { ac_try
='test -z "$ac_c_werror_flag"
5570 || test ! -s conftest.err'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; } &&
5576 { ac_try
='test -s conftest.$ac_objext'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; }; then
5582 ac_cv_header_stdc
=yes
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.
$ac_ext >&5
5587 ac_cv_header_stdc
=no
5589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5591 if test $ac_cv_header_stdc = yes; then
5592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5603 $EGREP "memchr" >/dev
/null
2>&1; then
5606 ac_cv_header_stdc
=no
5612 if test $ac_cv_header_stdc = yes; then
5613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5624 $EGREP "free" >/dev
/null
2>&1; then
5627 ac_cv_header_stdc
=no
5633 if test $ac_cv_header_stdc = yes; then
5634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5635 if test "$cross_compiling" = yes; then
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 #if ((' ' & 0x0FF) == 0x020)
5646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5649 # define ISLOWER(c) \
5650 (('a' <= (c) && (c) <= 'i') \
5651 || ('j' <= (c) && (c) <= 'r') \
5652 || ('s' <= (c) && (c) <= 'z'))
5653 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5656 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5661 for (i = 0; i < 256; i++)
5662 if (XOR (islower (i), ISLOWER (i))
5663 || toupper (i) != TOUPPER (i))
5668 rm -f conftest
$ac_exeext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5670 (eval $ac_link) 2>&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5681 echo "$as_me: program exited with status $ac_status" >&5
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5686 ac_cv_header_stdc
=no
5688 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5692 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5693 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5694 if test $ac_cv_header_stdc = yes; then
5696 cat >>confdefs.h
<<\_ACEOF
5697 #define STDC_HEADERS 1
5702 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5712 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5713 inttypes.h stdint.h unistd.h
5715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5716 echo "$as_me:$LINENO: checking for $ac_header" >&5
5717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 cat >conftest.
$ac_ext <<_ACEOF
5724 cat confdefs.h
>>conftest.
$ac_ext
5725 cat >>conftest.
$ac_ext <<_ACEOF
5726 /* end confdefs.h. */
5727 $ac_includes_default
5729 #include <$ac_header>
5731 rm -f conftest.
$ac_objext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>conftest.er1
5735 grep -v '^ *+' conftest.er1
>conftest.err
5737 cat conftest.err
>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } &&
5740 { ac_try
='test -z "$ac_c_werror_flag"
5741 || test ! -s conftest.err'
5742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }; } &&
5747 { ac_try
='test -s conftest.$ac_objext'
5748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; }; then
5753 eval "$as_ac_Header=yes"
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5758 eval "$as_ac_Header=no"
5760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5765 cat >>confdefs.h
<<_ACEOF
5766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5774 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5775 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
5776 if test "${ac_cv_search_zlibVersion+set}" = set; then
5777 echo $ECHO_N "(cached) $ECHO_C" >&6
5779 ac_func_search_save_LIBS
=$LIBS
5780 ac_cv_search_zlibVersion
=no
5781 cat >conftest.
$ac_ext <<_ACEOF
5784 cat confdefs.h
>>conftest.
$ac_ext
5785 cat >>conftest.
$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5788 /* Override any gcc2 internal prototype to avoid an error. */
5792 /* We use char because int might match the return type of a gcc2
5793 builtin and then its argument prototype would still apply. */
5794 char zlibVersion ();
5803 rm -f conftest.
$ac_objext conftest
$ac_exeext
5804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5805 (eval $ac_link) 2>conftest.er1
5807 grep -v '^ *+' conftest.er1
>conftest.err
5809 cat conftest.err
>&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } &&
5812 { ac_try
='test -z "$ac_c_werror_flag"
5813 || test ! -s conftest.err'
5814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }; } &&
5819 { ac_try
='test -s conftest$ac_exeext'
5820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; }; then
5825 ac_cv_search_zlibVersion
="none required"
5827 echo "$as_me: failed program was:" >&5
5828 sed 's/^/| /' conftest.
$ac_ext >&5
5831 rm -f conftest.err conftest.
$ac_objext \
5832 conftest
$ac_exeext conftest.
$ac_ext
5833 if test "$ac_cv_search_zlibVersion" = no
; then
5835 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5836 cat >conftest.
$ac_ext <<_ACEOF
5839 cat confdefs.h
>>conftest.
$ac_ext
5840 cat >>conftest.
$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5843 /* Override any gcc2 internal prototype to avoid an error. */
5847 /* We use char because int might match the return type of a gcc2
5848 builtin and then its argument prototype would still apply. */
5849 char zlibVersion ();
5858 rm -f conftest.
$ac_objext conftest
$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860 (eval $ac_link) 2>conftest.er1
5862 grep -v '^ *+' conftest.er1
>conftest.err
5864 cat conftest.err
>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } &&
5867 { ac_try
='test -z "$ac_c_werror_flag"
5868 || test ! -s conftest.err'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; } &&
5874 { ac_try
='test -s conftest$ac_exeext'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 ac_cv_search_zlibVersion
="-l$ac_lib"
5883 echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.
$ac_ext >&5
5887 rm -f conftest.err conftest.
$ac_objext \
5888 conftest
$ac_exeext conftest.
$ac_ext
5891 LIBS
=$ac_func_search_save_LIBS
5893 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5894 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
5895 if test "$ac_cv_search_zlibVersion" != no
; then
5896 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
5898 for ac_header
in zlib.h
5900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5902 echo "$as_me:$LINENO: checking for $ac_header" >&5
5903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5910 # Is the header compilable?
5911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5919 $ac_includes_default
5920 #include <$ac_header>
5922 rm -f conftest.
$ac_objext
5923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5924 (eval $ac_compile) 2>conftest.er1
5926 grep -v '^ *+' conftest.er1
>conftest.err
5928 cat conftest.err
>&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); } &&
5931 { ac_try
='test -z "$ac_c_werror_flag"
5932 || test ! -s conftest.err'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; } &&
5938 { ac_try
='test -s conftest.$ac_objext'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; }; then
5944 ac_header_compiler
=yes
5946 echo "$as_me: failed program was:" >&5
5947 sed 's/^/| /' conftest.
$ac_ext >&5
5949 ac_header_compiler
=no
5951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5953 echo "${ECHO_T}$ac_header_compiler" >&6
5955 # Is the header present?
5956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5958 cat >conftest.
$ac_ext <<_ACEOF
5961 cat confdefs.h
>>conftest.
$ac_ext
5962 cat >>conftest.
$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <$ac_header>
5966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5969 grep -v '^ *+' conftest.er1
>conftest.err
5971 cat conftest.err
>&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); } >/dev
/null
; then
5974 if test -s conftest.err
; then
5975 ac_cpp_err
=$ac_c_preproc_warn_flag
5976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5983 if test -z "$ac_cpp_err"; then
5984 ac_header_preproc
=yes
5986 echo "$as_me: failed program was:" >&5
5987 sed 's/^/| /' conftest.
$ac_ext >&5
5989 ac_header_preproc
=no
5991 rm -f conftest.err conftest.
$ac_ext
5992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5993 echo "${ECHO_T}$ac_header_preproc" >&6
5995 # So? What about this header?
5996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6002 ac_header_preproc
=yes
6005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6019 ## ------------------------------- ##
6020 ## Report this to the gold lists. ##
6021 ## ------------------------------- ##
6024 sed "s/^/$as_me: WARNING: /" >&2
6027 echo "$as_me:$LINENO: checking for $ac_header" >&5
6028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 eval "$as_ac_Header=\$ac_header_preproc"
6034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6039 cat >>confdefs.h
<<_ACEOF
6040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6051 if test "$ac_cv_search_zlibVersion" != "no"; then
6061 ac_cpp
='$CXXCPP $CPPFLAGS'
6062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6069 ac_cpp
='$CXXCPP $CPPFLAGS'
6070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6073 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6074 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6075 if test -z "$CXXCPP"; then
6076 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 # Double quotes because CXXCPP needs to be expanded
6080 for CXXCPP
in "$CXX -E" "/lib/cpp"
6083 for ac_cxx_preproc_warn_flag
in '' yes
6085 # Use a header file that comes with gcc, so configuring glibc
6086 # with a fresh cross-compiler works.
6087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6088 # <limits.h> exists even on freestanding compilers.
6089 # On the NeXT, cc -E runs the code through the compiler's parser,
6090 # not just through cpp. "Syntax error" is here to catch this case.
6091 cat >conftest.
$ac_ext <<_ACEOF
6094 cat confdefs.h
>>conftest.
$ac_ext
6095 cat >>conftest.
$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6098 # include <limits.h>
6100 # include <assert.h>
6104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6107 grep -v '^ *+' conftest.er1
>conftest.err
6109 cat conftest.err
>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } >/dev
/null
; then
6112 if test -s conftest.err
; then
6113 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6114 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6121 if test -z "$ac_cpp_err"; then
6124 echo "$as_me: failed program was:" >&5
6125 sed 's/^/| /' conftest.
$ac_ext >&5
6127 # Broken: fails on valid input.
6130 rm -f conftest.err conftest.
$ac_ext
6132 # OK, works on sane cases. Now check whether non-existent headers
6133 # can be detected and how.
6134 cat >conftest.
$ac_ext <<_ACEOF
6137 cat confdefs.h
>>conftest.
$ac_ext
6138 cat >>conftest.
$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 #include <ac_nonexistent.h>
6142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6145 grep -v '^ *+' conftest.er1
>conftest.err
6147 cat conftest.err
>&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } >/dev
/null
; then
6150 if test -s conftest.err
; then
6151 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6152 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6159 if test -z "$ac_cpp_err"; then
6160 # Broken: success on invalid input.
6163 echo "$as_me: failed program was:" >&5
6164 sed 's/^/| /' conftest.
$ac_ext >&5
6166 # Passes both tests.
6170 rm -f conftest.err conftest.
$ac_ext
6173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6174 rm -f conftest.err conftest.
$ac_ext
6175 if $ac_preproc_ok; then
6180 ac_cv_prog_CXXCPP
=$CXXCPP
6183 CXXCPP
=$ac_cv_prog_CXXCPP
6185 ac_cv_prog_CXXCPP
=$CXXCPP
6187 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6188 echo "${ECHO_T}$CXXCPP" >&6
6190 for ac_cxx_preproc_warn_flag
in '' yes
6192 # Use a header file that comes with gcc, so configuring glibc
6193 # with a fresh cross-compiler works.
6194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6195 # <limits.h> exists even on freestanding compilers.
6196 # On the NeXT, cc -E runs the code through the compiler's parser,
6197 # not just through cpp. "Syntax error" is here to catch this case.
6198 cat >conftest.
$ac_ext <<_ACEOF
6201 cat confdefs.h
>>conftest.
$ac_ext
6202 cat >>conftest.
$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6205 # include <limits.h>
6207 # include <assert.h>
6211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6214 grep -v '^ *+' conftest.er1
>conftest.err
6216 cat conftest.err
>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } >/dev
/null
; then
6219 if test -s conftest.err
; then
6220 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6221 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6228 if test -z "$ac_cpp_err"; then
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6234 # Broken: fails on valid input.
6237 rm -f conftest.err conftest.
$ac_ext
6239 # OK, works on sane cases. Now check whether non-existent headers
6240 # can be detected and how.
6241 cat >conftest.
$ac_ext <<_ACEOF
6244 cat confdefs.h
>>conftest.
$ac_ext
6245 cat >>conftest.
$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 #include <ac_nonexistent.h>
6249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6252 grep -v '^ *+' conftest.er1
>conftest.err
6254 cat conftest.err
>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } >/dev
/null
; then
6257 if test -s conftest.err
; then
6258 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6259 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6266 if test -z "$ac_cpp_err"; then
6267 # Broken: success on invalid input.
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 # Passes both tests.
6277 rm -f conftest.err conftest.
$ac_ext
6280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6281 rm -f conftest.err conftest.
$ac_ext
6282 if $ac_preproc_ok; then
6285 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6286 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6287 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6288 See \`config.log' for more details." >&5
6289 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6290 See \`config.log' for more details." >&2;}
6291 { (exit 1); exit 1; }; }; }
6295 ac_cpp
='$CXXCPP $CPPFLAGS'
6296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6303 for ac_header
in tr1/unordered_set
tr1/unordered_map
6305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6307 echo "$as_me:$LINENO: checking for $ac_header" >&5
6308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6315 # Is the header compilable?
6316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6318 cat >conftest.
$ac_ext <<_ACEOF
6321 cat confdefs.h
>>conftest.
$ac_ext
6322 cat >>conftest.
$ac_ext <<_ACEOF
6323 /* end confdefs.h. */
6324 $ac_includes_default
6325 #include <$ac_header>
6327 rm -f conftest.
$ac_objext
6328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6329 (eval $ac_compile) 2>conftest.er1
6331 grep -v '^ *+' conftest.er1
>conftest.err
6333 cat conftest.err
>&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); } &&
6336 { ac_try
='test -z "$ac_cxx_werror_flag"
6337 || test ! -s conftest.err'
6338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }; } &&
6343 { ac_try
='test -s conftest.$ac_objext'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; }; then
6349 ac_header_compiler
=yes
6351 echo "$as_me: failed program was:" >&5
6352 sed 's/^/| /' conftest.
$ac_ext >&5
6354 ac_header_compiler
=no
6356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6358 echo "${ECHO_T}$ac_header_compiler" >&6
6360 # Is the header present?
6361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6363 cat >conftest.
$ac_ext <<_ACEOF
6366 cat confdefs.h
>>conftest.
$ac_ext
6367 cat >>conftest.
$ac_ext <<_ACEOF
6368 /* end confdefs.h. */
6369 #include <$ac_header>
6371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6374 grep -v '^ *+' conftest.er1
>conftest.err
6376 cat conftest.err
>&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } >/dev
/null
; then
6379 if test -s conftest.err
; then
6380 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6381 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6388 if test -z "$ac_cpp_err"; then
6389 ac_header_preproc
=yes
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.
$ac_ext >&5
6394 ac_header_preproc
=no
6396 rm -f conftest.err conftest.
$ac_ext
6397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6398 echo "${ECHO_T}$ac_header_preproc" >&6
6400 # So? What about this header?
6401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6407 ac_header_preproc
=yes
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6424 ## ------------------------------- ##
6425 ## Report this to the gold lists. ##
6426 ## ------------------------------- ##
6429 sed "s/^/$as_me: WARNING: /" >&2
6432 echo "$as_me:$LINENO: checking for $ac_header" >&5
6433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 eval "$as_ac_Header=\$ac_header_preproc"
6439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6444 cat >>confdefs.h
<<_ACEOF
6445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6454 for ac_header
in ext
/hash_map ext
/hash_set
6456 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6458 echo "$as_me:$LINENO: checking for $ac_header" >&5
6459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6466 # Is the header compilable?
6467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 $ac_includes_default
6476 #include <$ac_header>
6478 rm -f conftest.
$ac_objext
6479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6480 (eval $ac_compile) 2>conftest.er1
6482 grep -v '^ *+' conftest.er1
>conftest.err
6484 cat conftest.err
>&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); } &&
6487 { ac_try
='test -z "$ac_cxx_werror_flag"
6488 || test ! -s conftest.err'
6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); }; } &&
6494 { ac_try
='test -s conftest.$ac_objext'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; }; then
6500 ac_header_compiler
=yes
6502 echo "$as_me: failed program was:" >&5
6503 sed 's/^/| /' conftest.
$ac_ext >&5
6505 ac_header_compiler
=no
6507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6509 echo "${ECHO_T}$ac_header_compiler" >&6
6511 # Is the header present?
6512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6514 cat >conftest.
$ac_ext <<_ACEOF
6517 cat confdefs.h
>>conftest.
$ac_ext
6518 cat >>conftest.
$ac_ext <<_ACEOF
6519 /* end confdefs.h. */
6520 #include <$ac_header>
6522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
6527 cat conftest.err
>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } >/dev
/null
; then
6530 if test -s conftest.err
; then
6531 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6532 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6539 if test -z "$ac_cpp_err"; then
6540 ac_header_preproc
=yes
6542 echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.
$ac_ext >&5
6545 ac_header_preproc
=no
6547 rm -f conftest.err conftest.
$ac_ext
6548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6549 echo "${ECHO_T}$ac_header_preproc" >&6
6551 # So? What about this header?
6552 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6558 ac_header_preproc
=yes
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6568 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6575 ## ------------------------------- ##
6576 ## Report this to the gold lists. ##
6577 ## ------------------------------- ##
6580 sed "s/^/$as_me: WARNING: /" >&2
6583 echo "$as_me:$LINENO: checking for $ac_header" >&5
6584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 eval "$as_ac_Header=\$ac_header_preproc"
6590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6595 cat >>confdefs.h
<<_ACEOF
6596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6604 for ac_header
in byteswap.h
6606 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6608 echo "$as_me:$LINENO: checking for $ac_header" >&5
6609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6616 # Is the header compilable?
6617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6619 cat >conftest.
$ac_ext <<_ACEOF
6622 cat confdefs.h
>>conftest.
$ac_ext
6623 cat >>conftest.
$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625 $ac_includes_default
6626 #include <$ac_header>
6628 rm -f conftest.
$ac_objext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630 (eval $ac_compile) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_cxx_werror_flag"
6638 || test ! -s conftest.err'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; } &&
6644 { ac_try
='test -s conftest.$ac_objext'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }; then
6650 ac_header_compiler
=yes
6652 echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.
$ac_ext >&5
6655 ac_header_compiler
=no
6657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6659 echo "${ECHO_T}$ac_header_compiler" >&6
6661 # Is the header present?
6662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6664 cat >conftest.
$ac_ext <<_ACEOF
6667 cat confdefs.h
>>conftest.
$ac_ext
6668 cat >>conftest.
$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 #include <$ac_header>
6672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6675 grep -v '^ *+' conftest.er1
>conftest.err
6677 cat conftest.err
>&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } >/dev
/null
; then
6680 if test -s conftest.err
; then
6681 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6682 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6689 if test -z "$ac_cpp_err"; then
6690 ac_header_preproc
=yes
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.
$ac_ext >&5
6695 ac_header_preproc
=no
6697 rm -f conftest.err conftest.
$ac_ext
6698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6699 echo "${ECHO_T}$ac_header_preproc" >&6
6701 # So? What about this header?
6702 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6708 ac_header_preproc
=yes
6711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6725 ## ------------------------------- ##
6726 ## Report this to the gold lists. ##
6727 ## ------------------------------- ##
6730 sed "s/^/$as_me: WARNING: /" >&2
6733 echo "$as_me:$LINENO: checking for $ac_header" >&5
6734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6736 echo $ECHO_N "(cached) $ECHO_C" >&6
6738 eval "$as_ac_Header=\$ac_header_preproc"
6740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6745 cat >>confdefs.h
<<_ACEOF
6746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 for ac_func
in mallinfo posix_fallocate
6757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6758 echo "$as_me:$LINENO: checking for $ac_func" >&5
6759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6760 if eval "test \"\${$as_ac_var+set}\" = set"; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6766 cat confdefs.h
>>conftest.
$ac_ext
6767 cat >>conftest.
$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6771 #define $ac_func innocuous_$ac_func
6773 /* System header to define __stub macros and hopefully few prototypes,
6774 which can conflict with char $ac_func (); below.
6775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6776 <limits.h> exists even on freestanding compilers. */
6779 # include <limits.h>
6781 # include <assert.h>
6786 /* Override any gcc2 internal prototype to avoid an error. */
6791 /* We use char because int might match the return type of a gcc2
6792 builtin and then its argument prototype would still apply. */
6794 /* The GNU C library defines this for functions which it implements
6795 to always fail with ENOSYS. Some functions are actually named
6796 something starting with __ and the normal name is an alias. */
6797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6800 char (*f) () = $ac_func;
6809 return f != $ac_func;
6814 rm -f conftest.
$ac_objext conftest
$ac_exeext
6815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6816 (eval $ac_link) 2>conftest.er1
6818 grep -v '^ *+' conftest.er1
>conftest.err
6820 cat conftest.err
>&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } &&
6823 { ac_try
='test -z "$ac_cxx_werror_flag"
6824 || test ! -s conftest.err'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try
='test -s conftest$ac_exeext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 eval "$as_ac_var=yes"
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.
$ac_ext >&5
6841 eval "$as_ac_var=no"
6843 rm -f conftest.err conftest.
$ac_objext \
6844 conftest
$ac_exeext conftest.
$ac_ext
6846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6848 if test `eval echo '${'$as_ac_var'}'` = yes; then
6849 cat >>confdefs.h
<<_ACEOF
6850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6857 # gcc 4.3.0 doesn't recognize the printf attribute on a template
6858 # function. Check for that. This is gcc bug 35546. This test can
6859 # probably be removed after the bug has been fixed for a while.
6860 echo "$as_me:$LINENO: checking whether we can use attributes with template functions" >&5
6861 echo $ECHO_N "checking whether we can use attributes with template functions... $ECHO_C" >&6
6862 if test "${gold_cv_template_attribute+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 cat >conftest.
$ac_ext <<_ACEOF
6867 template<typename T> extern void foo(const char*, ...)
6868 __attribute__ ((__format__ (__printf__, 1, 2)));
6869 template<typename T> void foo(const char* format, ...) {}
6870 void bar() { foo<int>("%s\n", "foo"); }
6873 rm -f conftest.
$ac_objext
6874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6875 (eval $ac_compile) 2>conftest.er1
6877 grep -v '^ *+' conftest.er1
>conftest.err
6879 cat conftest.err
>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } &&
6882 { ac_try
='test -z "$ac_cxx_werror_flag"
6883 || test ! -s conftest.err'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; } &&
6889 { ac_try
='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 gold_cv_template_attribute
=yes
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.
$ac_ext >&5
6900 gold_cv_template_attribute
=no
6902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6904 echo "$as_me:$LINENO: result: $gold_cv_template_attribute" >&5
6905 echo "${ECHO_T}$gold_cv_template_attribute" >&6
6906 if test "$gold_cv_template_attribute" = "yes"; then
6908 cat >>confdefs.h
<<\_ACEOF
6909 #define HAVE_TEMPLATE_ATTRIBUTES 1
6915 ac_cpp
='$CPP $CPPFLAGS'
6916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6923 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6924 if test "${enable_maintainer_mode+set}" = set; then
6925 enableval
="$enable_maintainer_mode"
6926 USE_MAINTAINER_MODE
=$enableval
6928 USE_MAINTAINER_MODE
=no
6930 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6934 if test $USE_MAINTAINER_MODE = yes; then
6935 MAINTAINER_MODE_TRUE
=
6936 MAINTAINER_MODE_FALSE
='#'
6938 MAINTAINER_MODE_TRUE
='#'
6939 MAINTAINER_MODE_FALSE
=
6942 MAINT
=$MAINTAINER_MODE_TRUE
6946 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
6947 cat >confcache
<<\_ACEOF
6948 # This file is a shell script that caches the results of configure
6949 # tests run on this system so they can be shared between configure
6950 # scripts and configure runs, see configure's option --config-cache.
6951 # It is not useful on other systems. If it contains results you don't
6952 # want to keep, you may remove or edit it.
6954 # config.status only pays attention to the cache file if you give it
6955 # the --recheck option to rerun configure.
6957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6963 # The following way of writing the cache mishandles newlines in values,
6964 # but we know of no workaround that is simple, portable, and efficient.
6965 # So, don't put newlines in cache variables' values.
6966 # Ultrix sh set writes to stderr and can't be redirected directly,
6967 # and sets the high bit in the cache file unless we assign to the vars.
6970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6972 # `set' does not quote correctly, so add quotes (double-quote
6973 # substitution turns \\\\ into \\, and sed turns \\ into \).
6976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6979 # `set' quotes correctly as required by POSIX, so do not add quotes.
6981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6992 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6993 if test -w $cache_file; then
6994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6995 cat confcache
>$cache_file
6997 echo "not updating unwritable cache $cache_file"
7002 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7003 # Let make expand exec_prefix.
7004 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7006 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7007 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7008 # trailing colons and then remove the whole line if VPATH becomes empty
7009 # (actually we leave an empty line to preserve line numbers).
7010 if test "x$srcdir" = x.
; then
7011 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7012 s/:*\$(srcdir):*/:/;
7013 s/:*\${srcdir}:*/:/;
7015 s/^\([^=]*=[ ]*\):*/\1/;
7021 DEFS
=-DHAVE_CONFIG_H
7025 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7026 # 1. Remove the extension, and $U if already installed.
7027 ac_i
=`echo "$ac_i" |
7028 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7030 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7031 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7035 LTLIBOBJS
=$ac_ltlibobjs
7038 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7039 { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
7040 Usually this means the macro was only invoked conditionally." >&5
7041 echo "$as_me: error: conditional \"THREADS\" was never defined.
7042 Usually this means the macro was only invoked conditionally." >&2;}
7043 { (exit 1); exit 1; }; }
7045 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7046 { { echo "$as_me:$LINENO: error: conditional \"PLUGINS\" was never defined.
7047 Usually this means the macro was only invoked conditionally." >&5
7048 echo "$as_me: error: conditional \"PLUGINS\" was never defined.
7049 Usually this means the macro was only invoked conditionally." >&2;}
7050 { (exit 1); exit 1; }; }
7052 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7053 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7054 Usually this means the macro was only invoked conditionally." >&5
7055 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7056 Usually this means the macro was only invoked conditionally." >&2;}
7057 { (exit 1); exit 1; }; }
7059 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7060 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7061 Usually this means the macro was only invoked conditionally." >&5
7062 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7063 Usually this means the macro was only invoked conditionally." >&2;}
7064 { (exit 1); exit 1; }; }
7066 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7067 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7068 Usually this means the macro was only invoked conditionally." >&5
7069 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7070 Usually this means the macro was only invoked conditionally." >&2;}
7071 { (exit 1); exit 1; }; }
7073 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7074 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
7075 Usually this means the macro was only invoked conditionally." >&5
7076 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
7077 Usually this means the macro was only invoked conditionally." >&2;}
7078 { (exit 1); exit 1; }; }
7080 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7081 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
7082 Usually this means the macro was only invoked conditionally." >&5
7083 echo "$as_me: error: conditional \"GCC\" was never defined.
7084 Usually this means the macro was only invoked conditionally." >&2;}
7085 { (exit 1); exit 1; }; }
7087 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7088 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7089 Usually this means the macro was only invoked conditionally." >&5
7090 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7091 Usually this means the macro was only invoked conditionally." >&2;}
7092 { (exit 1); exit 1; }; }
7094 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7095 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
7096 Usually this means the macro was only invoked conditionally." >&5
7097 echo "$as_me: error: conditional \"TLS\" was never defined.
7098 Usually this means the macro was only invoked conditionally." >&2;}
7099 { (exit 1); exit 1; }; }
7101 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7102 { { echo "$as_me:$LINENO: error: conditional \"STATIC_TLS\" was never defined.
7103 Usually this means the macro was only invoked conditionally." >&5
7104 echo "$as_me: error: conditional \"STATIC_TLS\" was never defined.
7105 Usually this means the macro was only invoked conditionally." >&2;}
7106 { (exit 1); exit 1; }; }
7108 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7109 { { echo "$as_me:$LINENO: error: conditional \"OMP_SUPPORT\" was never defined.
7110 Usually this means the macro was only invoked conditionally." >&5
7111 echo "$as_me: error: conditional \"OMP_SUPPORT\" was never defined.
7112 Usually this means the macro was only invoked conditionally." >&2;}
7113 { (exit 1); exit 1; }; }
7115 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7116 { { echo "$as_me:$LINENO: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
7117 Usually this means the macro was only invoked conditionally." >&5
7118 echo "$as_me: error: conditional \"TLS_GNU2_DIALECT\" was never defined.
7119 Usually this means the macro was only invoked conditionally." >&2;}
7120 { (exit 1); exit 1; }; }
7122 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7123 { { echo "$as_me:$LINENO: error: conditional \"TLS_DESCRIPTORS\" was never defined.
7124 Usually this means the macro was only invoked conditionally." >&5
7125 echo "$as_me: error: conditional \"TLS_DESCRIPTORS\" was never defined.
7126 Usually this means the macro was only invoked conditionally." >&2;}
7127 { (exit 1); exit 1; }; }
7129 if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
7130 { { echo "$as_me:$LINENO: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
7131 Usually this means the macro was only invoked conditionally." >&5
7132 echo "$as_me: error: conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
7133 Usually this means the macro was only invoked conditionally." >&2;}
7134 { (exit 1); exit 1; }; }
7136 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7137 { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
7138 Usually this means the macro was only invoked conditionally." >&5
7139 echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
7140 Usually this means the macro was only invoked conditionally." >&2;}
7141 { (exit 1); exit 1; }; }
7143 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7144 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7145 Usually this means the macro was only invoked conditionally." >&5
7146 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7147 Usually this means the macro was only invoked conditionally." >&2;}
7148 { (exit 1); exit 1; }; }
7151 : ${CONFIG_STATUS=./config.status}
7152 ac_clean_files_save
=$ac_clean_files
7153 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7154 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7155 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7156 cat >$CONFIG_STATUS <<_ACEOF
7158 # Generated by $as_me.
7159 # Run this file to recreate the current configuration.
7160 # Compiler output produced by configure, useful for debugging
7161 # configure, is in config.log if it exists.
7166 SHELL=\${CONFIG_SHELL-$SHELL}
7169 cat >>$CONFIG_STATUS <<\_ACEOF
7170 ## --------------------- ##
7171 ## M4sh Initialization. ##
7172 ## --------------------- ##
7174 # Be Bourne compatible
7175 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7178 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7179 # is contrary to our usage. Disable this feature.
7180 alias -g '${1+"$@"}'='"$@"'
7181 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7184 DUALCASE
=1; export DUALCASE
# for MKS sh
7186 # Support unset when possible.
7187 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7194 # Work around bugs in pre-3.0 UWIN ksh.
7195 $as_unset ENV MAIL MAILPATH
7202 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7203 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7204 LC_TELEPHONE LC_TIME
7206 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7207 eval $as_var=C
; export $as_var
7213 # Required to use basename.
7214 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7220 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7221 as_basename
=basename
7227 # Name of the executable.
7228 as_me
=`$as_basename "$0" ||
7229 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7230 X"$0" : 'X\(//\)$' \| \
7231 X"$0" : 'X\(/\)$' \| \
7232 . : '\(.\)' 2>/dev/null ||
7234 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7235 /^X\/\(\/\/\)$/{ s//\1/; q; }
7236 /^X\/\(\/\).*/{ s//\1/; q; }
7240 # PATH needs CR, and LINENO needs CR and PATH.
7241 # Avoid depending upon Character Ranges.
7242 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7243 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7244 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7245 as_cr_digits
='0123456789'
7246 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7248 # The user is always right.
7249 if test "${PATH_SEPARATOR+set}" != set; then
7250 echo "#! /bin/sh" >conf$$.sh
7251 echo "exit 0" >>conf$$.sh
7253 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7264 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7265 test "x$as_lineno_1" != "x$as_lineno_2" &&
7266 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7267 # Find who we are. Look in the path if we contain no path at all
7270 *[\\/]* ) as_myself
=$0 ;;
7271 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7275 test -z "$as_dir" && as_dir
=.
7276 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7281 # We did not find ourselves, most probably we were run as `sh COMMAND'
7282 # in which case we are not to be found in the path.
7283 if test "x$as_myself" = x
; then
7286 if test ! -f "$as_myself"; then
7287 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7288 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7289 { (exit 1); exit 1; }; }
7291 case $CONFIG_SHELL in
7293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7294 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7297 test -z "$as_dir" && as_dir
=.
7298 for as_base
in sh bash ksh sh5
; do
7301 if ("$as_dir/$as_base" -c '
7304 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7305 test "x$as_lineno_1" != "x$as_lineno_2" &&
7306 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7307 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7308 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7309 CONFIG_SHELL
=$as_dir/$as_base
7311 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7319 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7320 # uniformly replaced by the line number. The first 'sed' inserts a
7321 # line-number line before each line; the second 'sed' does the real
7322 # work. The second script uses 'N' to pair each line-number line
7323 # with the numbered line, and appends trailing '-' during
7324 # substitution so that $LINENO is not a special case at line end.
7325 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7326 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7327 sed '=' <$as_myself |
7332 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7335 s,^['$as_cr_digits']*\n,,
7337 chmod +x
$as_me.lineno ||
7338 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7339 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7340 { (exit 1); exit 1; }; }
7342 # Don't try to exec as it changes $[0], causing all sort of problems
7343 # (the dirname of $[0] is not the place where we might find the
7344 # original and so on. Autoconf is especially sensible to this).
7346 # Exit status is that of the last command.
7351 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7352 *c
*,-n*) ECHO_N
= ECHO_C
='
7354 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7355 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7358 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7364 rm -f conf$$ conf$$.exe conf$$.
file
7366 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7367 # We could just check for DJGPP; but this test a) works b) is more generic
7368 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7369 if test -f conf$$.exe
; then
7370 # Don't use ln at all; we don't have any links
7375 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7380 rm -f conf$$ conf$$.exe conf$$.
file
7382 if mkdir
-p .
2>/dev
/null
; then
7385 test -d .
/-p && rmdir .
/-p
7389 as_executable_p
="test -f"
7391 # Sed expression to map a string onto a valid CPP name.
7392 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7394 # Sed expression to map a string onto a valid variable name.
7395 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7399 # We need space, tab and new line, in precisely that order.
7409 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7410 # report actual input values of CONFIG_FILES etc. instead of their
7411 # values after options handling. Logging --version etc. is OK.
7415 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7416 ## Running $as_me. ##
7421 This file was extended by gold $as_me 0.1, which was
7422 generated by GNU Autoconf 2.59. Invocation command line was
7424 CONFIG_FILES = $CONFIG_FILES
7425 CONFIG_HEADERS = $CONFIG_HEADERS
7426 CONFIG_LINKS = $CONFIG_LINKS
7427 CONFIG_COMMANDS = $CONFIG_COMMANDS
7431 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7435 # Files that config.status was made for.
7436 if test -n "$ac_config_files"; then
7437 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7440 if test -n "$ac_config_headers"; then
7441 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7444 if test -n "$ac_config_links"; then
7445 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7448 if test -n "$ac_config_commands"; then
7449 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7452 cat >>$CONFIG_STATUS <<\_ACEOF
7455 \`$as_me' instantiates files from templates according to the
7456 current configuration.
7458 Usage: $0 [OPTIONS] [FILE]...
7460 -h, --help print this help, then exit
7461 -V, --version print version number, then exit
7462 -q, --quiet do not print progress messages
7463 -d, --debug don't remove temporary files
7464 --recheck update $as_me by reconfiguring in the same conditions
7465 --file=FILE[:TEMPLATE]
7466 instantiate the configuration file FILE
7467 --header=FILE[:TEMPLATE]
7468 instantiate the configuration header FILE
7470 Configuration files:
7473 Configuration headers:
7476 Configuration commands:
7479 Report bugs to <bug-autoconf@gnu.org>."
7482 cat >>$CONFIG_STATUS <<_ACEOF
7484 gold config.status 0.1
7485 configured by $0, generated by GNU Autoconf 2.59,
7486 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7488 Copyright (C) 2003 Free Software Foundation, Inc.
7489 This config.status script is free software; the Free Software Foundation
7490 gives unlimited permission to copy, distribute and modify it."
7495 cat >>$CONFIG_STATUS <<\_ACEOF
7496 # If no file are specified by the user, then we need to provide default
7497 # value. By we need to know if files were specified by the user.
7503 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7504 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7512 *) # This is not an option, so the user has probably given explicit
7515 ac_need_defaults
=false
;;
7519 # Handling of the options.
7521 cat >>$CONFIG_STATUS <<\_ACEOF
7522 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7524 --version |
--vers* |
-V )
7525 echo "$ac_cs_version"; exit 0 ;;
7527 # Conflict between --help and --header
7528 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7529 Try \`$0 --help' for more information." >&5
7530 echo "$as_me: error: ambiguous option: $1
7531 Try \`$0 --help' for more information." >&2;}
7532 { (exit 1); exit 1; }; };;
7533 --help |
--hel |
-h )
7534 echo "$ac_cs_usage"; exit 0 ;;
7535 --debug |
--d* |
-d )
7537 --file |
--fil |
--fi |
--f )
7539 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7540 ac_need_defaults
=false
;;
7541 --header |
--heade |
--head |
--hea )
7543 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7544 ac_need_defaults
=false
;;
7545 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7546 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7550 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7551 Try \`$0 --help' for more information." >&5
7552 echo "$as_me: error: unrecognized option: $1
7553 Try \`$0 --help' for more information." >&2;}
7554 { (exit 1); exit 1; }; } ;;
7556 *) ac_config_targets
="$ac_config_targets $1" ;;
7562 ac_configure_extra_args
=
7564 if $ac_cs_silent; then
7566 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7570 cat >>$CONFIG_STATUS <<_ACEOF
7571 if \$ac_cs_recheck; then
7572 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7573 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7578 cat >>$CONFIG_STATUS <<_ACEOF
7580 # INIT-COMMANDS section.
7583 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7584 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7585 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7587 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7588 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7589 LINGUAS="${LINGUAS-%UNSET%}"
7596 cat >>$CONFIG_STATUS <<\_ACEOF
7597 for ac_config_target
in $ac_config_targets
7599 case "$ac_config_target" in
7600 # Handling of arguments.
7601 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7602 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7603 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
7604 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7605 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7606 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7607 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7608 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7609 { (exit 1); exit 1; }; };;
7613 # If the user did not use the arguments to specify the items to instantiate,
7614 # then the envvar interface is used. Set only those that are not.
7615 # We use the long form for the default assignment because of an extremely
7616 # bizarre bug on SunOS 4.1.3.
7617 if $ac_need_defaults; then
7618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7623 # Have a temporary directory for convenience. Make it in the build tree
7624 # simply because there is no reason to put it here, and in addition,
7625 # creating and moving files from /tmp can sometimes cause problems.
7626 # Create a temporary directory, and hook for its removal unless debugging.
7629 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7630 trap '{ (exit 1); exit 1; }' 1 2 13 15
7633 # Create a (secure) tmp directory for tmp files.
7636 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7637 test -n "$tmp" && test -d "$tmp"
7640 tmp
=.
/confstat$$
-$RANDOM
7641 (umask 077 && mkdir
$tmp)
7644 echo "$me: cannot create a temporary directory in ." >&2
7645 { (exit 1); exit 1; }
7650 cat >>$CONFIG_STATUS <<_ACEOF
7653 # CONFIG_FILES section.
7656 # No need to generate the scripts if there are no CONFIG_FILES.
7657 # This happens for instance when ./config.status config.h
7658 if test -n "\$CONFIG_FILES"; then
7659 # Protect against being on the right side of a sed subst in config.status.
7660 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7661 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7662 s,@SHELL@,$SHELL,;t t
7663 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7664 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7665 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7666 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7667 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7668 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7669 s,@exec_prefix@,$exec_prefix,;t t
7670 s,@prefix@,$prefix,;t t
7671 s,@program_transform_name@,$program_transform_name,;t t
7672 s,@bindir@,$bindir,;t t
7673 s,@sbindir@,$sbindir,;t t
7674 s,@libexecdir@,$libexecdir,;t t
7675 s,@datadir@,$datadir,;t t
7676 s,@sysconfdir@,$sysconfdir,;t t
7677 s,@sharedstatedir@,$sharedstatedir,;t t
7678 s,@localstatedir@,$localstatedir,;t t
7679 s,@libdir@,$libdir,;t t
7680 s,@includedir@,$includedir,;t t
7681 s,@oldincludedir@,$oldincludedir,;t t
7682 s,@infodir@,$infodir,;t t
7683 s,@mandir@,$mandir,;t t
7684 s,@build_alias@,$build_alias,;t t
7685 s,@host_alias@,$host_alias,;t t
7686 s,@target_alias@,$target_alias,;t t
7688 s,@ECHO_C@,$ECHO_C,;t t
7689 s,@ECHO_N@,$ECHO_N,;t t
7690 s,@ECHO_T@,$ECHO_T,;t t
7692 s,@build@,$build,;t t
7693 s,@build_cpu@,$build_cpu,;t t
7694 s,@build_vendor@,$build_vendor,;t t
7695 s,@build_os@,$build_os,;t t
7697 s,@host_cpu@,$host_cpu,;t t
7698 s,@host_vendor@,$host_vendor,;t t
7699 s,@host_os@,$host_os,;t t
7700 s,@target@,$target,;t t
7701 s,@target_cpu@,$target_cpu,;t t
7702 s,@target_vendor@,$target_vendor,;t t
7703 s,@target_os@,$target_os,;t t
7704 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7705 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7706 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7707 s,@CYGPATH_W@,$CYGPATH_W,;t t
7708 s,@PACKAGE@,$PACKAGE,;t t
7709 s,@VERSION@,$VERSION,;t t
7710 s,@ACLOCAL@,$ACLOCAL,;t t
7711 s,@AUTOCONF@,$AUTOCONF,;t t
7712 s,@AUTOMAKE@,$AUTOMAKE,;t t
7713 s,@AUTOHEADER@,$AUTOHEADER,;t t
7714 s,@MAKEINFO@,$MAKEINFO,;t t
7715 s,@install_sh@,$install_sh,;t t
7716 s,@STRIP@,$STRIP,;t t
7717 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7718 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7719 s,@mkdir_p@,$mkdir_p,;t t
7721 s,@SET_MAKE@,$SET_MAKE,;t t
7722 s,@am__leading_dot@,$am__leading_dot,;t t
7723 s,@AMTAR@,$AMTAR,;t t
7724 s,@am__tar@,$am__tar,;t t
7725 s,@am__untar@,$am__untar,;t t
7726 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
7727 s,@THREADS_FALSE@,$THREADS_FALSE,;t t
7728 s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
7729 s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t
7730 s,@TARGETOBJS@,$TARGETOBJS,;t t
7732 s,@CFLAGS@,$CFLAGS,;t t
7733 s,@LDFLAGS@,$LDFLAGS,;t t
7734 s,@CPPFLAGS@,$CPPFLAGS,;t t
7735 s,@ac_ct_CC@,$ac_ct_CC,;t t
7736 s,@EXEEXT@,$EXEEXT,;t t
7737 s,@OBJEXT@,$OBJEXT,;t t
7738 s,@DEPDIR@,$DEPDIR,;t t
7739 s,@am__include@,$am__include,;t t
7740 s,@am__quote@,$am__quote,;t t
7741 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7742 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7743 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7744 s,@CCDEPMODE@,$CCDEPMODE,;t t
7745 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7746 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7748 s,@CXXFLAGS@,$CXXFLAGS,;t t
7749 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7750 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7751 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7752 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7754 s,@RANLIB@,$RANLIB,;t t
7755 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7757 s,@USE_NLS@,$USE_NLS,;t t
7758 s,@LIBINTL@,$LIBINTL,;t t
7759 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7760 s,@INCINTL@,$INCINTL,;t t
7761 s,@XGETTEXT@,$XGETTEXT,;t t
7762 s,@GMSGFMT@,$GMSGFMT,;t t
7763 s,@POSUB@,$POSUB,;t t
7764 s,@CATALOGS@,$CATALOGS,;t t
7765 s,@DATADIRNAME@,$DATADIRNAME,;t t
7766 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7767 s,@GENCAT@,$GENCAT,;t t
7768 s,@CATOBJEXT@,$CATOBJEXT,;t t
7769 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7770 s,@MSGFMT@,$MSGFMT,;t t
7771 s,@MSGMERGE@,$MSGMERGE,;t t
7772 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
7773 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
7774 s,@GCC_TRUE@,$GCC_TRUE,;t t
7775 s,@GCC_FALSE@,$GCC_FALSE,;t t
7776 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
7777 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
7778 s,@TLS_TRUE@,$TLS_TRUE,;t t
7779 s,@TLS_FALSE@,$TLS_FALSE,;t t
7780 s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
7781 s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
7782 s,@OMP_SUPPORT_TRUE@,$OMP_SUPPORT_TRUE,;t t
7783 s,@OMP_SUPPORT_FALSE@,$OMP_SUPPORT_FALSE,;t t
7784 s,@TLS_GNU2_DIALECT_TRUE@,$TLS_GNU2_DIALECT_TRUE,;t t
7785 s,@TLS_GNU2_DIALECT_FALSE@,$TLS_GNU2_DIALECT_FALSE,;t t
7786 s,@TLS_DESCRIPTORS_TRUE@,$TLS_DESCRIPTORS_TRUE,;t t
7787 s,@TLS_DESCRIPTORS_FALSE@,$TLS_DESCRIPTORS_FALSE,;t t
7788 s,@CONSTRUCTOR_PRIORITY_TRUE@,$CONSTRUCTOR_PRIORITY_TRUE,;t t
7789 s,@CONSTRUCTOR_PRIORITY_FALSE@,$CONSTRUCTOR_PRIORITY_FALSE,;t t
7790 s,@RANDOM_SEED_CFLAGS@,$RANDOM_SEED_CFLAGS,;t t
7791 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7792 s,@NO_WERROR@,$NO_WERROR,;t t
7793 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
7794 s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
7795 s,@LIBOBJS@,$LIBOBJS,;t t
7797 s,@EGREP@,$EGREP,;t t
7798 s,@HAVE_ZLIB_TRUE@,$HAVE_ZLIB_TRUE,;t t
7799 s,@HAVE_ZLIB_FALSE@,$HAVE_ZLIB_FALSE,;t t
7800 s,@CXXCPP@,$CXXCPP,;t t
7801 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7802 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7803 s,@MAINT@,$MAINT,;t t
7804 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7809 cat >>$CONFIG_STATUS <<\_ACEOF
7810 # Split the substitutions into bite-sized pieces for seds with
7811 # small command number limits, like on Digital OSF/1 and HP-UX.
7813 ac_sed_frag
=1 # Number of current file.
7814 ac_beg
=1 # First line for current file.
7815 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7818 while $ac_more_lines; do
7819 if test $ac_beg -gt 1; then
7820 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7822 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7824 if test ! -s $tmp/subs.frag
; then
7827 # The purpose of the label and of the branching condition is to
7828 # speed up the sed processing (if there are no `@' at all, there
7829 # is no need to browse any of the substitutions).
7830 # These are the two extra sed commands mentioned above.
7832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7833 if test -z "$ac_sed_cmds"; then
7834 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7836 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7838 ac_sed_frag
=`expr $ac_sed_frag + 1`
7840 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7843 if test -z "$ac_sed_cmds"; then
7846 fi # test -n "$CONFIG_FILES"
7849 cat >>$CONFIG_STATUS <<\_ACEOF
7850 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7851 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7853 - |
*:- |
*:-:* ) # input from stdin
7855 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7857 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7858 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7859 * ) ac_file_in
=$ac_file.
in ;;
7862 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7863 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7865 X"$ac_file" : 'X\(//\)[^/]' \| \
7866 X"$ac_file" : 'X\(//\)$' \| \
7867 X"$ac_file" : 'X\(/\)' \| \
7868 . : '\(.\)' 2>/dev/null ||
7870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7872 /^X\(\/\/\)$/{ s//\1/; q; }
7873 /^X\(\/\).*/{ s//\1/; q; }
7875 { if $as_mkdir_p; then
7880 while test ! -d "$as_dir"; do
7881 as_dirs
="$as_dir $as_dirs"
7882 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7884 X"$as_dir" : 'X\(//\)[^/]' \| \
7885 X"$as_dir" : 'X\(//\)$' \| \
7886 X"$as_dir" : 'X\(/\)' \| \
7887 . : '\(.\)' 2>/dev/null ||
7889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7891 /^X\(\/\/\)$/{ s//\1/; q; }
7892 /^X\(\/\).*/{ s//\1/; q; }
7895 test ! -n "$as_dirs" || mkdir
$as_dirs
7896 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7897 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7898 { (exit 1); exit 1; }; }; }
7902 if test "$ac_dir" != .
; then
7903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7904 # A "../" for each directory in $ac_dir_suffix.
7905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7907 ac_dir_suffix
= ac_top_builddir
=
7911 .
) # No --srcdir option. We are building in place.
7913 if test -z "$ac_top_builddir"; then
7916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7918 [\\/]* | ?
:[\\/]* ) # Absolute path.
7919 ac_srcdir
=$srcdir$ac_dir_suffix;
7920 ac_top_srcdir
=$srcdir ;;
7922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7926 # Do not use `cd foo && pwd` to compute absolute paths, because
7927 # the directories may not exist.
7929 .
) ac_abs_builddir
="$ac_dir";;
7932 .
) ac_abs_builddir
=`pwd`;;
7933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7937 case $ac_abs_builddir in
7938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7940 case ${ac_top_builddir}.
in
7941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7946 case $ac_abs_builddir in
7947 .
) ac_abs_srcdir
=$ac_srcdir;;
7950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7955 case $ac_abs_builddir in
7956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7958 case $ac_top_srcdir in
7959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7967 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7968 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7971 if test x
"$ac_file" != x-
; then
7972 { echo "$as_me:$LINENO: creating $ac_file" >&5
7973 echo "$as_me: creating $ac_file" >&6;}
7976 # Let's still pretend it is `configure' which instantiates (i.e., don't
7977 # use $as_me), people would be surprised to read:
7978 # /* config.h. Generated by config.status. */
7979 if test x
"$ac_file" = x-
; then
7982 configure_input
="$ac_file. "
7984 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7985 sed 's,.*/,,'` by configure."
7987 # First look for the input files in the build tree, otherwise in the
7989 ac_file_inputs
=`IFS=:
7990 for f in $ac_file_in; do
7992 -) echo $tmp/stdin ;;
7994 # Absolute (can't be DOS-style, as IFS=:)
7995 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7996 echo "$as_me: error: cannot find input file: $f" >&2;}
7997 { (exit 1); exit 1; }; }
8000 if test -f "$f"; then
8003 elif test -f "$srcdir/$f"; then
8008 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8009 echo "$as_me: error: cannot find input file: $f" >&2;}
8010 { (exit 1); exit 1; }; }
8013 done` ||
{ (exit 1); exit 1; }
8015 cat >>$CONFIG_STATUS <<_ACEOF
8019 cat >>$CONFIG_STATUS <<\_ACEOF
8021 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8022 s
,@configure_input@
,$configure_input,;t t
8023 s
,@srcdir@
,$ac_srcdir,;t t
8024 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8025 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8026 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8027 s
,@builddir@
,$ac_builddir,;t t
8028 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8029 s
,@top_builddir@
,$ac_top_builddir,;t t
8030 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8031 s
,@INSTALL@
,$ac_INSTALL,;t t
8032 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8034 if test x"$ac_file" != x-; then
8035 mv $tmp/out $ac_file
8043 cat >>$CONFIG_STATUS <<\_ACEOF
8046 # CONFIG_HEADER section.
8049 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8050 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8052 # ac_d sets the value in "#define NAME VALUE" lines.
8053 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8054 ac_dB
='[ ].*$,\1#\2'
8057 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8058 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8059 ac_uB
='$,\1#\2define\3'
8063 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8064 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8066 - |
*:- |
*:-:* ) # input from stdin
8068 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8069 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8070 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8071 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8072 * ) ac_file_in
=$ac_file.
in ;;
8075 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8076 echo "$as_me: creating $ac_file" >&6;}
8078 # First look for the input files in the build tree, otherwise in the
8080 ac_file_inputs
=`IFS=:
8081 for f in $ac_file_in; do
8083 -) echo $tmp/stdin ;;
8085 # Absolute (can't be DOS-style, as IFS=:)
8086 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8087 echo "$as_me: error: cannot find input file: $f" >&2;}
8088 { (exit 1); exit 1; }; }
8089 # Do quote $f, to prevent DOS paths from being IFS'd.
8092 if test -f "$f"; then
8095 elif test -f "$srcdir/$f"; then
8100 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8101 echo "$as_me: error: cannot find input file: $f" >&2;}
8102 { (exit 1); exit 1; }; }
8105 done` ||
{ (exit 1); exit 1; }
8106 # Remove the trailing spaces.
8107 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8111 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8112 # `conftest.undefs', that substitutes the proper values into
8113 # config.h.in to produce config.h. The first handles `#define'
8114 # templates, and the second `#undef' templates.
8115 # And first: Protect against being on the right side of a sed subst in
8116 # config.status. Protect against being in an unquoted here document
8118 rm -f conftest.defines conftest.undefs
8119 # Using a here document instead of a string reduces the quoting nightmare.
8120 # Putting comments in sed scripts is not portable.
8122 # `end' is used to avoid that the second main sed command (meant for
8123 # 0-ary CPP macros) applies to n-ary macro definitions.
8124 # See the Autoconf documentation for `clear'.
8125 cat >confdef2sed.
sed <<\_ACEOF
8130 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8132 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8135 # If some macros were called several times there might be several times
8136 # the same #defines, which is useless. Nevertheless, we may not want to
8137 # sort them, since we want the *last* AC-DEFINE to be honored.
8138 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8139 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8140 rm -f confdef2sed.sed
8142 # This sed command replaces #undef with comments. This is necessary, for
8143 # example, in the case of _POSIX_SOURCE, which is predefined and required
8144 # on some systems where configure will not decide to define it.
8145 cat >>conftest.undefs <<\_ACEOF
8146 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8149 # Break up conftest.defines because some shells have a limit on the size
8150 # of here documents, and old seds have small limits too (100 cmds).
8151 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8152 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8153 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8154 echo ' :' >>$CONFIG_STATUS
8156 while grep . conftest.defines >/dev/null
8158 # Write a limited-size here document to $tmp/defines.sed.
8159 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8160 # Speed up: don't consider the non `#define' lines.
8161 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8162 # Work around the forget-to-reset-the-flag bug.
8163 echo 't clr' >>$CONFIG_STATUS
8164 echo ': clr' >>$CONFIG_STATUS
8165 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8167 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8171 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8172 rm -f conftest.defines
8173 mv conftest.
tail conftest.defines
8175 rm -f conftest.defines
8176 echo ' fi # grep' >>$CONFIG_STATUS
8177 echo >>$CONFIG_STATUS
8179 # Break up conftest.undefs because some shells have a limit on the size
8180 # of here documents, and old seds have small limits too (100 cmds).
8181 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8183 while grep . conftest.undefs
>/dev
/null
8185 # Write a limited-size here document to $tmp/undefs.sed.
8186 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8187 # Speed up: don't consider the non
`#undef'
8188 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8189 # Work around the forget-to-reset-the-flag bug.
8190 echo 't clr' >>$CONFIG_STATUS
8191 echo ': clr' >>$CONFIG_STATUS
8192 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8194 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8198 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8199 rm -f conftest.undefs
8200 mv conftest.tail conftest.undefs
8202 rm -f conftest.undefs
8204 cat >>$CONFIG_STATUS <<\_ACEOF
8205 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8206 # use $as_me), people would be surprised to read:
8207 # /* config.h. Generated by config.status. */
8208 if test x
"$ac_file" = x-
; then
8209 echo "/* Generated by configure. */" >$tmp/config.h
8211 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8213 cat $tmp/in >>$tmp/config.h
8215 if test x
"$ac_file" != x-
; then
8216 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8217 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8218 echo "$as_me: $ac_file is unchanged" >&6;}
8220 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8222 X"$ac_file" : 'X\(//\)[^/]' \| \
8223 X"$ac_file" : 'X\(//\)$' \| \
8224 X"$ac_file" : 'X\(/\)' \| \
8225 . : '\(.\)' 2>/dev/null ||
8227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8229 /^X\(\/\/\)$/{ s//\1/; q; }
8230 /^X\(\/\).*/{ s//\1/; q; }
8232 { if $as_mkdir_p; then
8237 while test ! -d "$as_dir"; do
8238 as_dirs
="$as_dir $as_dirs"
8239 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8241 X"$as_dir" : 'X\(//\)[^/]' \| \
8242 X"$as_dir" : 'X\(//\)$' \| \
8243 X"$as_dir" : 'X\(/\)' \| \
8244 . : '\(.\)' 2>/dev/null ||
8246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8247 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8248 /^X\(\/\/\)$/{ s//\1/; q; }
8249 /^X\(\/\).*/{ s//\1/; q; }
8252 test ! -n "$as_dirs" || mkdir
$as_dirs
8253 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8254 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8255 { (exit 1); exit 1; }; }; }
8258 mv $tmp/config.h
$ac_file
8264 # Compute $ac_file's index in $config_headers.
8266 for _am_header
in $config_headers :; do
8268 $ac_file |
$ac_file:* )
8271 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8274 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8275 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8276 X$ac_file : 'X\(//\)[^/]' \| \
8277 X$ac_file : 'X\(//\)$' \| \
8278 X$ac_file : 'X\(/\)' \| \
8279 . : '\(.\)' 2>/dev/null ||
8281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8282 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8283 /^X\(\/\/\)$/{ s//\1/; q; }
8284 /^X\(\/\).*/{ s//\1/; q; }
8285 s/.*/./; q'`/stamp-h
$_am_stamp_count
8288 cat >>$CONFIG_STATUS <<\_ACEOF
8291 # CONFIG_COMMANDS section.
8293 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8294 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8295 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8296 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8297 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8298 X"$ac_dest" : 'X\(//\)[^/]' \| \
8299 X"$ac_dest" : 'X\(//\)$' \| \
8300 X"$ac_dest" : 'X\(/\)' \| \
8301 . : '\(.\)' 2>/dev/null ||
8303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8305 /^X\(\/\/\)$/{ s//\1/; q; }
8306 /^X\(\/\).*/{ s//\1/; q; }
8308 { if $as_mkdir_p; then
8313 while test ! -d "$as_dir"; do
8314 as_dirs
="$as_dir $as_dirs"
8315 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8317 X"$as_dir" : 'X\(//\)[^/]' \| \
8318 X"$as_dir" : 'X\(//\)$' \| \
8319 X"$as_dir" : 'X\(/\)' \| \
8320 . : '\(.\)' 2>/dev/null ||
8322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8324 /^X\(\/\/\)$/{ s//\1/; q; }
8325 /^X\(\/\).*/{ s//\1/; q; }
8328 test ! -n "$as_dirs" || mkdir
$as_dirs
8329 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8331 { (exit 1); exit 1; }; }; }
8335 if test "$ac_dir" != .
; then
8336 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8337 # A "../" for each directory in $ac_dir_suffix.
8338 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8340 ac_dir_suffix
= ac_top_builddir
=
8344 .
) # No --srcdir option. We are building in place.
8346 if test -z "$ac_top_builddir"; then
8349 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8351 [\\/]* | ?
:[\\/]* ) # Absolute path.
8352 ac_srcdir
=$srcdir$ac_dir_suffix;
8353 ac_top_srcdir
=$srcdir ;;
8355 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8356 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8359 # Do not use `cd foo && pwd` to compute absolute paths, because
8360 # the directories may not exist.
8362 .
) ac_abs_builddir
="$ac_dir";;
8365 .
) ac_abs_builddir
=`pwd`;;
8366 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8367 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8370 case $ac_abs_builddir in
8371 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8373 case ${ac_top_builddir}.
in
8374 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8375 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8376 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8379 case $ac_abs_builddir in
8380 .
) ac_abs_srcdir
=$ac_srcdir;;
8383 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8384 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8385 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8388 case $ac_abs_builddir in
8389 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8391 case $ac_top_srcdir in
8392 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8393 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8394 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8399 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8400 echo "$as_me: executing $ac_dest commands" >&6;}
8402 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8403 # Strip MF so we end up with the name of the file.
8404 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8405 # Check whether this is an Automake generated Makefile or not.
8406 # We used to match only the files named `Makefile.in', but
8407 # some people rename them; so instead we look at the file content.
8408 # Grep'ing the first line is not enough: some people post-process
8409 # each Makefile.in and add a new line on top of each file to say so.
8410 # So let's grep whole file.
8411 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8412 dirpart
=`(dirname "$mf") 2>/dev/null ||
8413 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8414 X"$mf" : 'X\(//\)[^/]' \| \
8415 X"$mf" : 'X\(//\)$' \| \
8416 X"$mf" : 'X\(/\)' \| \
8417 . : '\(.\)' 2>/dev/null ||
8419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8421 /^X\(\/\/\)$/{ s//\1/; q; }
8422 /^X\(\/\).*/{ s//\1/; q; }
8427 # Extract the definition of DEPDIR, am__include, and am__quote
8428 # from the Makefile without running `make'.
8429 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8430 test -z "$DEPDIR" && continue
8431 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8432 test -z "am__include" && continue
8433 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8434 # When using ansi2knr, U may be empty or an underscore; expand it
8435 U
=`sed -n 's/^U = //p' < "$mf"`
8436 # Find all dependency output files, they are included files with
8437 # $(DEPDIR) in their names. We invoke sed twice because it is the
8438 # simplest approach to changing $(DEPDIR) to its actual value in the
8440 for file in `sed -n "
8441 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8442 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8443 # Make sure the directory exists.
8444 test -f "$dirpart/$file" && continue
8445 fdir
=`(dirname "$file") 2>/dev/null ||
8446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8447 X"$file" : 'X\(//\)[^/]' \| \
8448 X"$file" : 'X\(//\)$' \| \
8449 X"$file" : 'X\(/\)' \| \
8450 . : '\(.\)' 2>/dev/null ||
8452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8454 /^X\(\/\/\)$/{ s//\1/; q; }
8455 /^X\(\/\).*/{ s//\1/; q; }
8457 { if $as_mkdir_p; then
8458 mkdir
-p $dirpart/$fdir
8460 as_dir
=$dirpart/$fdir
8462 while test ! -d "$as_dir"; do
8463 as_dirs
="$as_dir $as_dirs"
8464 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8466 X"$as_dir" : 'X\(//\)[^/]' \| \
8467 X"$as_dir" : 'X\(//\)$' \| \
8468 X"$as_dir" : 'X\(/\)' \| \
8469 . : '\(.\)' 2>/dev/null ||
8471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8473 /^X\(\/\/\)$/{ s//\1/; q; }
8474 /^X\(\/\).*/{ s//\1/; q; }
8477 test ! -n "$as_dirs" || mkdir
$as_dirs
8478 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8479 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8480 { (exit 1); exit 1; }; }; }
8482 # echo "creating $dirpart/$file"
8483 echo '# dummy' > "$dirpart/$file"
8488 for ac_file
in $CONFIG_FILES; do
8489 # Support "outfile[:infile[:infile...]]"
8491 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8493 # PO directories have a Makefile.in generated from Makefile.in.in.
8494 case "$ac_file" in */Makefile.
in)
8495 # Adjust a relative srcdir.
8496 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8497 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8498 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8499 # In autoconf-2.13 it is called $ac_given_srcdir.
8500 # In autoconf-2.50 it is called $srcdir.
8501 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8502 case "$ac_given_srcdir" in
8503 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8504 /*) top_srcdir
="$ac_given_srcdir" ;;
8505 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8507 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8508 rm -f "$ac_dir/POTFILES"
8509 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8510 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8511 POMAKEFILEDEPS
="POTFILES.in"
8512 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8513 # on $ac_dir but don't depend on user-specified configuration
8515 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8516 # The LINGUAS file contains the set of available languages.
8517 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8518 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8520 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8521 # Hide the ALL_LINGUAS assigment from automake.
8522 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8523 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8525 # The set of available languages was given in configure.in.
8526 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8528 case "$ac_given_srcdir" in
8530 *) srcdirpre
='$(srcdir)/' ;;
8536 for lang
in $ALL_LINGUAS; do
8537 POFILES
="$POFILES $srcdirpre$lang.po"
8538 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8539 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8540 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8542 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8543 # environment variable.
8545 if test -n "$ALL_LINGUAS"; then
8546 for presentlang
in $ALL_LINGUAS; do
8548 if test "%UNSET%" != "$LINGUAS"; then
8549 desiredlanguages
="$LINGUAS"
8551 desiredlanguages
="$ALL_LINGUAS"
8553 for desiredlang
in $desiredlanguages; do
8554 # Use the presentlang catalog if desiredlang is
8555 # a. equal to presentlang, or
8556 # b. a variant of presentlang (because in this case,
8557 # presentlang can be used as a fallback for messages
8558 # which are not translated in the desiredlang catalog).
8559 case "$desiredlang" in
8560 "$presentlang"*) useit
=yes;;
8563 if test $useit = yes; then
8564 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8569 if test -n "$INST_LINGUAS"; then
8570 for lang
in $INST_LINGUAS; do
8571 CATALOGS
="$CATALOGS $lang.gmo"
8574 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8575 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"
8576 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8577 if test -f "$f"; then
8579 *.orig |
*.bak |
*~
) ;;
8580 *) cat "$f" >> "$ac_dir/Makefile" ;;
8592 cat >>$CONFIG_STATUS <<\_ACEOF
8594 { (exit 0); exit 0; }
8596 chmod +x
$CONFIG_STATUS
8597 ac_clean_files
=$ac_clean_files_save
8600 # configure is writing to config.log, and then calls config.status.
8601 # config.status does its own redirection, appending to config.log.
8602 # Unfortunately, on DOS this fails, as config.log is still kept open
8603 # by configure, so config.status won't be able to write to it; its
8604 # output is simply discarded. So we exec the FD to /dev/null,
8605 # effectively closing config.log, so it can be properly (re)opened and
8606 # appended to by config.status. When coming back to configure, we
8607 # need to make the FD available again.
8608 if test "$no_create" != yes; then
8610 ac_config_status_args
=
8611 test "$silent" = yes &&
8612 ac_config_status_args
="$ac_config_status_args --quiet"
8614 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8616 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8617 # would make configure fail if this is the last instruction.
8618 $ac_cs_success ||
{ (exit 1); exit 1; }