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 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 WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS LIBOBJS CXXCPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_env_CXXCPP_set
=${CXXCPP+set}
778 ac_env_CXXCPP_value
=$CXXCPP
779 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
780 ac_cv_env_CXXCPP_value
=$CXXCPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures gold 0.1 to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --program-prefix=PREFIX prepend PREFIX to installed program names
844 --program-suffix=SUFFIX append SUFFIX to installed program names
845 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of gold 0.1:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --enable-targets alternative target configurations
864 --disable-dependency-tracking speeds up one-time build
865 --enable-dependency-tracking do not reject slow dependency extractors
866 --disable-nls do not use Native Language Support
867 --enable-werror treat compile warnings as errors
868 --enable-build-warnings enable build-time compiler warnings
869 --enable-maintainer-mode enable make rules and dependencies not useful
870 (and sometimes confusing
) to the casual installer
873 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
874 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
875 --with-sysroot=DIR search
for usr
/lib et al within DIR
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
884 CXX C
++ compiler
command
885 CXXFLAGS C
++ compiler flags
886 CXXCPP C
++ preprocessor
888 Use these variables to override the choices made by
`configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
987 generated by GNU Autoconf 2.59
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by gold $as_me 0.1, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Make sure we can run config.sub.
1364 $ac_config_sub sun4 >/dev/null 2>&1 ||
1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1367 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: checking build system type" >&5
1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1371 if test "${ac_cv_build+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_build_alias=$build_alias
1375 test -z "$ac_cv_build_alias" &&
1376 ac_cv_build_alias=`$ac_config_guess`
1377 test -z "$ac_cv_build_alias" &&
1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1380 { (exit 1); exit 1; }; }
1381 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1388 echo "${ECHO_T}$ac_cv_build" >&6
1390 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1391 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1392 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1395 echo "$as_me:$LINENO: checking host system type" >&5
1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1397 if test "${ac_cv_host+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 ac_cv_host_alias=$host_alias
1401 test -z "$ac_cv_host_alias" &&
1402 ac_cv_host_alias=$ac_cv_build_alias
1403 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1410 echo "${ECHO_T}$ac_cv_host" >&6
1412 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1413 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1414 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1417 echo "$as_me:$LINENO: checking target system type" >&5
1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1419 if test "${ac_cv_target+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_target_alias=$target_alias
1423 test "x$ac_cv_target_alias" = "x" &&
1424 ac_cv_target_alias=$ac_cv_host_alias
1425 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1432 echo "${ECHO_T}$ac_cv_target" >&6
1433 target=$ac_cv_target
1434 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1435 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1436 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1439 # The aliases save the names the user supplied, while $host etc.
1440 # will get canonicalized.
1441 test -n "$target_alias" &&
1442 test "$program_prefix$program_suffix$program_transform_name" = \
1444 program_prefix=${target_alias}-
1446 am__api_version="1.9"
1447 # Find a good install program. We prefer a C program (faster),
1448 # so one script is as good as another. But avoid the broken or
1449 # incompatible versions:
1450 # SysV /etc/install, /usr/sbin/install
1451 # SunOS /usr/etc/install
1452 # IRIX /sbin/install
1454 # AmigaOS /C/install, which installs bootblocks on floppy discs
1455 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1458 # OS/2's system install, which has a completely different semantic
1459 # ./install, which can be erroneously created by make from ./install.sh.
1460 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1461 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1462 if test -z "$INSTALL"; then
1463 if test "${ac_cv_path_install+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 # Account for people who put trailing slashes in PATH elements.
1473 .
/ | .
// |
/cC
/* | \
1474 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1475 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1478 # OSF1 and SCO ODT 3.0 have their own names for install.
1479 # Don't use installbsd from OSF since it installs stuff as root
1481 for ac_prog
in ginstall scoinst
install; do
1482 for ac_exec_ext
in '' $ac_executable_extensions; do
1483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1484 if test $ac_prog = install &&
1485 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1486 # AIX install. It has an incompatible calling convention.
1488 elif test $ac_prog = install &&
1489 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1490 # program-specific install script used by HP pwplus--don't use.
1493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1505 if test "${ac_cv_path_install+set}" = set; then
1506 INSTALL
=$ac_cv_path_install
1508 # As a last resort, use the slow shell script. We don't cache a
1509 # path for INSTALL within a source directory, because that will
1510 # break other packages using the cache if that directory is
1511 # removed, or if the path is relative.
1512 INSTALL
=$ac_install_sh
1515 echo "$as_me:$LINENO: result: $INSTALL" >&5
1516 echo "${ECHO_T}$INSTALL" >&6
1518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1519 # It thinks the first close brace ends the variable substitution.
1520 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1522 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1524 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1526 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1527 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1530 echo timestamp
> conftest.
file
1531 # Do `set' in a subshell so we don't clobber the current shell's
1532 # arguments. Must try -L first in case configure is actually a
1533 # symlink; some systems play weird games with the mod time of symlinks
1534 # (eg FreeBSD returns the mod time of the symlink's containing
1537 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1538 if test "$*" = "X"; then
1540 set X
`ls -t $srcdir/configure conftest.file`
1543 if test "$*" != "X $srcdir/configure conftest.file" \
1544 && test "$*" != "X conftest.file $srcdir/configure"; then
1546 # If neither matched, then we have a broken ls. This can happen
1547 # if, for instance, CONFIG_SHELL is bash and it inherits a
1548 # broken ls alias from the environment. This has actually
1549 # happened. Such a system could not be considered "sane".
1550 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1551 alias in your environment" >&5
1552 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1553 alias in your environment" >&2;}
1554 { (exit 1); exit 1; }; }
1557 test "$2" = conftest.
file
1563 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1564 Check your system clock" >&5
1565 echo "$as_me: error: newly created file is older than distributed files!
1566 Check your system clock" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: result: yes" >&5
1570 echo "${ECHO_T}yes" >&6
1571 test "$program_prefix" != NONE
&&
1572 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1573 # Use a double $ so make ignores it.
1574 test "$program_suffix" != NONE
&&
1575 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1576 # Double any \ or $. echo might interpret backslashes.
1577 # By default was `s,x,x', remove it if useless.
1578 cat <<\_ACEOF
>conftest.
sed
1579 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1581 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1584 # expand $ac_aux_dir to an absolute path
1585 am_aux_dir
=`cd $ac_aux_dir && pwd`
1587 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1588 # Use eval to expand $SHELL
1589 if eval "$MISSING --run true"; then
1590 am_missing_run
="$MISSING --run "
1593 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1594 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1597 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1598 # We used to keeping the `.' as first argument, in order to
1599 # allow $(mkdir_p) to be used without argument. As in
1600 # $(mkdir_p) $(somedir)
1601 # where $(somedir) is conditionally defined. However this is wrong
1603 # 1. if the package is installed by a user who cannot write `.'
1604 # make install will fail,
1605 # 2. the above comment should most certainly read
1606 # $(mkdir_p) $(DESTDIR)$(somedir)
1607 # so it does not work when $(somedir) is undefined and
1608 # $(DESTDIR) is not.
1609 # To support the latter case, we have to write
1610 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1611 # so the `.' trick is pointless.
1612 mkdir_p
='mkdir -p --'
1614 # On NextStep and OpenStep, the `mkdir' command does not
1615 # recognize any option. It will interpret all options as
1616 # directories to create, and then abort because `.' already
1618 for d
in .
/-p .
/--version;
1620 test -d $d && rmdir $d
1622 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1623 if test -f "$ac_aux_dir/mkinstalldirs"; then
1624 mkdir_p
='$(mkinstalldirs)'
1626 mkdir_p
='$(install_sh) -d'
1630 for ac_prog
in gawk mawk nawk
awk
1632 # Extract the first word of "$ac_prog", so it can be a program name with args.
1633 set dummy
$ac_prog; ac_word
=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_AWK+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 if test -n "$AWK"; then
1640 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir
=.
1647 for ac_exec_ext
in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 ac_cv_prog_AWK
="$ac_prog"
1650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 if test -n "$AWK"; then
1660 echo "$as_me:$LINENO: result: $AWK" >&5
1661 echo "${ECHO_T}$AWK" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1667 test -n "$AWK" && break
1670 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1671 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1672 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1673 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 cat >conftest.
make <<\_ACEOF
1678 @
echo 'ac_maketemp="$(MAKE)"'
1680 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1681 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1682 if test -n "$ac_maketemp"; then
1683 eval ac_cv_prog_make_
${ac_make}_set
=yes
1685 eval ac_cv_prog_make_
${ac_make}_set
=no
1689 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1690 echo "$as_me:$LINENO: result: yes" >&5
1691 echo "${ECHO_T}yes" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1696 SET_MAKE
="MAKE=${MAKE-make}"
1699 rm -rf .tst
2>/dev
/null
1700 mkdir .tst
2>/dev
/null
1701 if test -d .tst
; then
1706 rmdir .tst
2>/dev
/null
1708 # test to see if srcdir already configured
1709 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1710 test -f $srcdir/config.status
; then
1711 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1712 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1713 { (exit 1); exit 1; }; }
1716 # test whether we have cygpath
1717 if test -z "$CYGPATH_W"; then
1718 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1719 CYGPATH_W
='cygpath -w'
1726 # Define the identity of the package.
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE "$PACKAGE"
1736 cat >>confdefs.h
<<_ACEOF
1737 #define VERSION "$VERSION"
1740 # Some tools Automake needs.
1742 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1745 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1748 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1751 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1754 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1756 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1758 # Installed binaries are usually stripped using `strip' when the user
1759 # run `make install-strip'. However `strip' might not be the right
1760 # tool to use in cross-compilation environments, therefore Automake
1761 # will honor the `STRIP' environment variable to overrule this program.
1762 if test "$cross_compiling" != no
; then
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1765 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_STRIP+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$STRIP"; then
1772 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir
=.
1779 for ac_exec_ext
in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 STRIP
=$ac_cv_prog_STRIP
1791 if test -n "$STRIP"; then
1792 echo "$as_me:$LINENO: result: $STRIP" >&5
1793 echo "${ECHO_T}$STRIP" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$ac_cv_prog_STRIP"; then
1802 # Extract the first word of "strip", so it can be a program name with args.
1803 set dummy strip
; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$ac_ct_STRIP"; then
1810 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_ac_ct_STRIP
="strip"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1829 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1830 if test -n "$ac_ct_STRIP"; then
1831 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1832 echo "${ECHO_T}$ac_ct_STRIP" >&6
1834 echo "$as_me:$LINENO: result: no" >&5
1835 echo "${ECHO_T}no" >&6
1840 STRIP
="$ac_cv_prog_STRIP"
1844 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1846 # We need awk for the "check" target. The system "awk" is bad on
1848 # Always define AMTAR for backward compatibility.
1850 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1852 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1859 ac_config_headers
="$ac_config_headers config.h:config.in"
1863 # Check whether --with-sysroot or --without-sysroot was given.
1864 if test "${with_sysroot+set}" = set; then
1865 withval
="$with_sysroot"
1871 if test "$sysroot" = "yes"; then
1872 sysroot
='${exec_prefix}/${target_alias}/sys-root'
1873 elif test "$sysroot" = "no"; then
1877 sysroot_relocatable
=0
1878 if test -n "$sysroot"; then
1880 "${prefix}" |
"${prefix}/"* | \
1881 "${exec_prefix}" |
"${exec_prefix}/"* | \
1882 '${prefix}' |
'${prefix}/'*| \
1883 '${exec_prefix}' |
'${exec_prefix}/'*)
1884 sysroot_relocatable
=1
1890 cat >>confdefs.h
<<_ACEOF
1891 #define TARGET_SYSTEM_ROOT "$sysroot"
1895 cat >>confdefs.h
<<_ACEOF
1896 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1900 # Check whether --enable-targets or --disable-targets was given.
1901 if test "${enable_targets+set}" = set; then
1902 enableval
="$enable_targets"
1903 case "${enableval}" in
1905 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1906 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1907 { (exit 1); exit 1; }; }
1913 enable_targets
=$enableval
1917 # For now, enable all targets by default
1922 # Canonicalize the enabled targets.
1923 if test -n "$enable_targets"; then
1924 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
1925 result
=`$ac_config_sub $targ 2>/dev/null`
1926 if test -n "$result"; then
1927 canon_targets
="$canon_targets $result"
1929 # Permit unrecognized target names, like "all".
1930 canon_targets
="$canon_targets $targ"
1935 # See which specific instantiations we need.
1938 for targ
in $target $canon_targets; do
1943 if test "$targ" = "all"; then
1953 targetobjs
="$targetobjs i386.\$(OBJEXT)"
1957 targetobjs
="$targetobjs x86_64.\$(OBJEXT)"
1960 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
1961 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
1962 { (exit 1); exit 1; }; }
1968 if test -n "$targ_32_little"; then
1970 cat >>confdefs.h
<<\_ACEOF
1971 #define HAVE_TARGET_32_LITTLE 1
1975 if test -n "$targ_32_big"; then
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define HAVE_TARGET_32_BIG 1
1982 if test -n "$targ_64_little"; then
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define HAVE_TARGET_64_LITTLE 1
1989 if test -n "$targ_64_big"; then
1991 cat >>confdefs.h
<<\_ACEOF
1992 #define HAVE_TARGET_64_BIG 1
1997 if test -n "$all_targets"; then
1998 TARGETOBJS
='$(ALL_TARGETOBJS)'
2000 TARGETOBJS
="$targetobjs"
2005 ac_cpp
='$CPP $CPPFLAGS'
2006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2009 if test -n "$ac_tool_prefix"; then
2010 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2011 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2012 echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2014 if test "${ac_cv_prog_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$CC"; then
2018 ac_cv_prog_CC
="$CC" # Let the user override the test.
2020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir
=.
2025 for ac_exec_ext
in '' $ac_executable_extensions; do
2026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2027 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 if test -n "$CC"; then
2038 echo "$as_me:$LINENO: result: $CC" >&5
2039 echo "${ECHO_T}$CC" >&6
2041 echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2046 if test -z "$ac_cv_prog_CC"; then
2048 # Extract the first word of "gcc", so it can be a program name with args.
2049 set dummy gcc
; ac_word
=$2
2050 echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$ac_ct_CC"; then
2056 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_exec_ext
in '' $ac_executable_extensions; do
2064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 ac_cv_prog_ac_ct_CC
="gcc"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2075 if test -n "$ac_ct_CC"; then
2076 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2077 echo "${ECHO_T}$ac_ct_CC" >&6
2079 echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6
2088 if test -z "$CC"; then
2089 if test -n "$ac_tool_prefix"; then
2090 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2091 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2092 echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2094 if test "${ac_cv_prog_CC+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$CC"; then
2098 ac_cv_prog_CC
="$CC" # Let the user override the test.
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 for ac_exec_ext
in '' $ac_executable_extensions; do
2106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 if test -n "$CC"; then
2118 echo "$as_me:$LINENO: result: $CC" >&5
2119 echo "${ECHO_T}$CC" >&6
2121 echo "$as_me:$LINENO: result: no" >&5
2122 echo "${ECHO_T}no" >&6
2126 if test -z "$ac_cv_prog_CC"; then
2128 # Extract the first word of "cc", so it can be a program name with args.
2129 set dummy cc
; ac_word
=$2
2130 echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$ac_ct_CC"; then
2136 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_ac_ct_CC
="cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2155 if test -n "$ac_ct_CC"; then
2156 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2157 echo "${ECHO_T}$ac_ct_CC" >&6
2159 echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6
2169 if test -z "$CC"; then
2170 # Extract the first word of "cc", so it can be a program name with args.
2171 set dummy cc
; ac_word
=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_prog_CC+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test -n "$CC"; then
2178 ac_cv_prog_CC
="$CC" # Let the user override the test.
2181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir
=.
2186 for ac_exec_ext
in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2189 ac_prog_rejected
=yes
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 if test $ac_prog_rejected = yes; then
2200 # We found a bogon in the path, so make sure we never use it.
2201 set dummy
$ac_cv_prog_CC
2203 if test $# != 0; then
2204 # We chose a different compiler from the bogus one.
2205 # However, it has the same basename, so the bogon will be chosen
2206 # first if we set CC to just the basename; use the full file name.
2208 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2214 if test -n "$CC"; then
2215 echo "$as_me:$LINENO: result: $CC" >&5
2216 echo "${ECHO_T}$CC" >&6
2218 echo "$as_me:$LINENO: result: no" >&5
2219 echo "${ECHO_T}no" >&6
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2229 echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2231 if test "${ac_cv_prog_CC+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC
="$CC" # Let the user override the test.
2237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir
=.
2242 for ac_exec_ext
in '' $ac_executable_extensions; do
2243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2244 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$CC"; then
2255 echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6
2258 echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy
$ac_prog; 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
="$ac_prog"
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
2304 test -n "$ac_ct_CC" && break
2313 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: no acceptable C compiler found in \$PATH
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2319 # Provide some information about the compiler.
2320 echo "$as_me:$LINENO:" \
2321 "checking for C compiler version" >&5
2322 ac_compiler
=`set X $ac_compile; echo $2`
2323 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2324 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2329 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2334 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2354 ac_clean_files_save
=$ac_clean_files
2355 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2356 # Try to create an executable without -o first, disregard a.out.
2357 # It will help us diagnose broken compilers, and finding out an intuition
2359 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2360 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2361 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2362 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2363 (eval $ac_link_default) 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; then
2367 # Find the output, starting from the most likely. This scheme is
2368 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2371 # Be careful to initialize this variable, since it used to be cached.
2372 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2374 # b.out is created by i960 compilers.
2375 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2377 test -f "$ac_file" ||
continue
2379 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2382 # This is the source file.
2385 # We found the default executable, but exeext='' is most
2389 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2390 # FIXME: I believe we export ac_cv_exeext for Libtool,
2391 # but it would be cool to find out if it's true. Does anybody
2392 # maintain Libtool? --akim.
2400 echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.
$ac_ext >&5
2403 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2404 See \`config.log' for more details." >&5
2405 echo "$as_me: error: C compiler cannot create executables
2406 See \`config.log' for more details." >&2;}
2407 { (exit 77); exit 77; }; }
2410 ac_exeext
=$ac_cv_exeext
2411 echo "$as_me:$LINENO: result: $ac_file" >&5
2412 echo "${ECHO_T}$ac_file" >&6
2414 # Check the compiler produces executables we can run. If not, either
2415 # the compiler is broken, or we cross compile.
2416 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2417 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2418 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2419 # If not cross compiling, check that we can run a simple program.
2420 if test "$cross_compiling" != yes; then
2421 if { ac_try
='./$ac_file'
2422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; }; then
2429 if test "$cross_compiling" = maybe
; then
2432 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2433 If you meant to cross compile, use \`--host'.
2434 See \`config.log' for more details." >&5
2435 echo "$as_me: error: cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details." >&2;}
2438 { (exit 1); exit 1; }; }
2442 echo "$as_me:$LINENO: result: yes" >&5
2443 echo "${ECHO_T}yes" >&6
2445 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2446 ac_clean_files
=$ac_clean_files_save
2447 # Check the compiler produces executables we can run. If not, either
2448 # the compiler is broken, or we cross compile.
2449 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2450 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2451 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2452 echo "${ECHO_T}$cross_compiling" >&6
2454 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2455 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2457 (eval $ac_link) 2>&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; then
2461 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2462 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2463 # work properly (i.e., refer to `conftest.exe'), while it won't with
2465 for ac_file
in conftest.exe conftest conftest.
*; do
2466 test -f "$ac_file" ||
continue
2468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2469 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2477 See \`config.log' for more details." >&5
2478 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2479 See \`config.log' for more details." >&2;}
2480 { (exit 1); exit 1; }; }
2483 rm -f conftest
$ac_cv_exeext
2484 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2485 echo "${ECHO_T}$ac_cv_exeext" >&6
2487 rm -f conftest.
$ac_ext
2488 EXEEXT
=$ac_cv_exeext
2490 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2491 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2492 if test "${ac_cv_objext+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 cat >conftest.
$ac_ext <<_ACEOF
2498 cat confdefs.h
>>conftest.
$ac_ext
2499 cat >>conftest.
$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2510 rm -f conftest.o conftest.obj
2511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2512 (eval $ac_compile) 2>&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; then
2516 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2518 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2519 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.
$ac_ext >&5
2527 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2528 See \`config.log' for more details." >&5
2529 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2530 See \`config.log' for more details." >&2;}
2531 { (exit 1); exit 1; }; }
2534 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2536 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2537 echo "${ECHO_T}$ac_cv_objext" >&6
2538 OBJEXT
=$ac_cv_objext
2540 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2541 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2542 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.
$ac_ext <<_ACEOF
2548 cat confdefs.h
>>conftest.
$ac_ext
2549 cat >>conftest.
$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2563 rm -f conftest.
$ac_objext
2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565 (eval $ac_compile) 2>conftest.er1
2567 grep -v '^ *+' conftest.er1
>conftest.err
2569 cat conftest.err
>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); } &&
2572 { ac_try
='test -z "$ac_c_werror_flag"
2573 || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try
='test -s conftest.$ac_objext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.
$ac_ext >&5
2592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2593 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2596 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2597 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2598 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2599 ac_test_CFLAGS
=${CFLAGS+set}
2600 ac_save_CFLAGS
=$CFLAGS
2602 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2603 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2604 if test "${ac_cv_prog_cc_g+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 cat >conftest.
$ac_ext <<_ACEOF
2610 cat confdefs.h
>>conftest.
$ac_ext
2611 cat >>conftest.
$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2622 rm -f conftest.
$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2626 grep -v '^ *+' conftest.er1
>conftest.err
2628 cat conftest.err
>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try
='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try
='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.
$ac_ext >&5
2651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2653 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2654 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2655 if test "$ac_test_CFLAGS" = set; then
2656 CFLAGS
=$ac_save_CFLAGS
2657 elif test $ac_cv_prog_cc_g = yes; then
2658 if test "$GCC" = yes; then
2664 if test "$GCC" = yes; then
2670 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2671 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2672 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 ac_cv_prog_cc_stdc
=no
2677 cat >conftest.
$ac_ext <<_ACEOF
2680 cat confdefs.h
>>conftest.
$ac_ext
2681 cat >>conftest.
$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2685 #include <sys/types.h>
2686 #include <sys/stat.h>
2687 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2688 struct buf { int x; };
2689 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2690 static char *e (p, i)
2696 static char *f (char * (*g) (char **, int), char **p, ...)
2701 s = g (p, va_arg (v,int));
2706 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2707 function prototypes and stuff, but not '\xHH' hex character constants.
2708 These don't provoke an error unfortunately, instead are silently treated
2709 as 'x'. The following induces an error, until -std1 is added to get
2710 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2711 array size at least. It's necessary to write '\x00'==0 to get something
2712 that's true only with -std1. */
2713 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2715 int test (int i, double x);
2716 struct s1 {int (*f) (int a);};
2717 struct s2 {int (*f) (double a);};
2718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2729 # Don't try gcc -ansi; that turns off useful extensions and
2730 # breaks some systems' header files.
2731 # AIX -qlanglvl=ansi
2732 # Ultrix and OSF/1 -std1
2733 # HP-UX 10.20 and later -Ae
2734 # HP-UX older versions -Aa -D_HPUX_SOURCE
2735 # SVR4 -Xc -D__EXTENSIONS__
2736 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2738 CC
="$ac_save_CC $ac_arg"
2739 rm -f conftest.
$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1
>conftest.err
2745 cat conftest.err
>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try
='test -z "$ac_c_werror_flag"
2749 || test ! -s conftest.err'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; } &&
2755 { ac_try
='test -s conftest.$ac_objext'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; }; then
2761 ac_cv_prog_cc_stdc
=$ac_arg
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2768 rm -f conftest.err conftest.
$ac_objext
2770 rm -f conftest.
$ac_ext conftest.
$ac_objext
2775 case "x$ac_cv_prog_cc_stdc" in
2777 echo "$as_me:$LINENO: result: none needed" >&5
2778 echo "${ECHO_T}none needed" >&6 ;;
2780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2781 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2782 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2785 # Some people use a C++ compiler to compile C. Since we use `exit',
2786 # in C++ we need to declare it. In case someone uses the same compiler
2787 # for both compiling C and C++ we need to have the C++ compiler decide
2788 # the declaration of exit, since it's the most demanding environment.
2789 cat >conftest.
$ac_ext <<_ACEOF
2794 rm -f conftest.
$ac_objext
2795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2796 (eval $ac_compile) 2>conftest.er1
2798 grep -v '^ *+' conftest.er1
>conftest.err
2800 cat conftest.err
>&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } &&
2803 { ac_try
='test -z "$ac_c_werror_flag"
2804 || test ! -s conftest.err'
2805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; } &&
2810 { ac_try
='test -s conftest.$ac_objext'
2811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }; }; then
2816 for ac_declaration
in \
2818 'extern "C" void std::exit (int) throw (); using std::exit;' \
2819 'extern "C" void std::exit (int); using std::exit;' \
2820 'extern "C" void exit (int) throw ();' \
2821 'extern "C" void exit (int);' \
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2840 rm -f conftest.
$ac_objext
2841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2842 (eval $ac_compile) 2>conftest.er1
2844 grep -v '^ *+' conftest.er1
>conftest.err
2846 cat conftest.err
>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } &&
2849 { ac_try
='test -z "$ac_c_werror_flag"
2850 || test ! -s conftest.err'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; } &&
2856 { ac_try
='test -s conftest.$ac_objext'
2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; }; then
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2870 cat >conftest.
$ac_ext <<_ACEOF
2873 cat confdefs.h
>>conftest.
$ac_ext
2874 cat >>conftest.
$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2885 rm -f conftest.
$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1
>conftest.err
2891 cat conftest.err
>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try
='test -z "$ac_c_werror_flag"
2895 || test ! -s conftest.err'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; } &&
2901 { ac_try
='test -s conftest.$ac_objext'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2916 if test -n "$ac_declaration"; then
2917 echo '#ifdef __cplusplus' >>confdefs.h
2918 echo $ac_declaration >>confdefs.h
2919 echo '#endif' >>confdefs.h
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.
$ac_ext >&5
2927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2929 ac_cpp
='$CPP $CPPFLAGS'
2930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2933 DEPDIR
="${am__leading_dot}deps"
2935 ac_config_commands
="$ac_config_commands depfiles"
2938 am_make
=${MAKE-make}
2939 cat > confinc
<< 'END'
2944 # If we don't find an include directive, just comment out the code.
2945 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2946 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2950 # First try GNU make style include.
2951 echo "include confinc" > confmf
2952 # We grep out `Entering directory' and `Leaving directory'
2953 # messages which can occur if `w' ends up in MAKEFLAGS.
2954 # In particular we don't look at `^make:' because GNU make might
2955 # be invoked under some other name (usually "gmake"), in which
2956 # case it prints its new name instead of `make'.
2957 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2962 # Now try BSD make style include.
2963 if test "$am__include" = "#"; then
2964 echo '.include "confinc"' > confmf
2965 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2966 am__include
=.include
2973 echo "$as_me:$LINENO: result: $_am_result" >&5
2974 echo "${ECHO_T}$_am_result" >&6
2975 rm -f confinc confmf
2977 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2978 if test "${enable_dependency_tracking+set}" = set; then
2979 enableval
="$enable_dependency_tracking"
2982 if test "x$enable_dependency_tracking" != xno
; then
2983 am_depcomp
="$ac_aux_dir/depcomp"
2988 if test "x$enable_dependency_tracking" != xno; then
2999 depcc
="$CC" am_compiler_list
=
3001 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3002 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3003 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3007 # We make a subdir and do the tests there. Otherwise we can end up
3008 # making bogus files that we don't know about and never remove. For
3009 # instance it was reported that on HP-UX the gcc test will end up
3010 # making a dummy file named `D' -- because `-MD' means `put the output
3013 # Copy depcomp to subdir because otherwise we won't find it if we're
3014 # using a relative directory.
3015 cp "$am_depcomp" conftest.dir
3017 # We will build objects and dependencies in a subdirectory because
3018 # it helps to detect inapplicable dependency modes. For instance
3019 # both Tru64's cc and ICC support -MD to output dependencies as a
3020 # side effect of compilation, but ICC will put the dependencies in
3021 # the current directory while Tru64 will put them in the object
3025 am_cv_CC_dependencies_compiler_type
=none
3026 if test "$am_compiler_list" = ""; then
3027 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3029 for depmode
in $am_compiler_list; do
3030 # Setup a source with many dependencies, because some compilers
3031 # like to wrap large dependency lists on column 80 (with \), and
3032 # we should not choose a depcomp mode which is confused by this.
3034 # We need to recreate these files for each test, as the compiler may
3035 # overwrite some of them when testing with obscure command lines.
3036 # This happens at least with the AIX C compiler.
3038 for i
in 1 2 3 4 5 6; do
3039 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3040 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3041 # Solaris 8's {/usr,}/bin/sh.
3042 touch sub
/conftst
$i.h
3044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3048 # after this tag, mechanisms are not by side-effect, so they'll
3049 # only be used when explicitly requested
3050 if test "x$enable_dependency_tracking" = xyes
; then
3058 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3059 # mode. It turns out that the SunPro C++ compiler does not properly
3060 # handle `-M -o', and we need to detect this.
3061 if depmode
=$depmode \
3062 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3063 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3064 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3065 >/dev
/null
2>conftest.err
&&
3066 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3067 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3068 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3069 # icc doesn't choke on unknown options, it will just issue warnings
3070 # or remarks (even with -Werror). So we grep stderr for any message
3071 # that says an option was ignored or not supported.
3072 # When given -MP, icc 7.0 and 7.1 complain thusly:
3073 # icc: Command line warning: ignoring option '-M'; no argument required
3074 # The diagnosis changed in icc 8.0:
3075 # icc: Command line remark: option '-MP' not supported
3076 if (grep 'ignoring option' conftest.err ||
3077 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3078 am_cv_CC_dependencies_compiler_type
=$depmode
3087 am_cv_CC_dependencies_compiler_type
=none
3091 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3092 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3093 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3098 test "x$enable_dependency_tracking" != xno \
3099 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3101 am__fastdepCC_FALSE
='#'
3103 am__fastdepCC_TRUE
='#'
3104 am__fastdepCC_FALSE
=
3109 ac_cpp
='$CXXCPP $CPPFLAGS'
3110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3113 if test -n "$ac_tool_prefix"; then
3114 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3117 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_CXX+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$CXX"; then
3124 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$CXX"; then
3144 echo "$as_me:$LINENO: result: $CXX" >&5
3145 echo "${ECHO_T}$CXX" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3151 test -n "$CXX" && break
3154 if test -z "$CXX"; then
3156 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3158 # Extract the first word of "$ac_prog", so it can be a program name with args.
3159 set dummy
$ac_prog; ac_word
=$2
3160 echo "$as_me:$LINENO: checking for $ac_word" >&5
3161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3162 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -n "$ac_ct_CXX"; then
3166 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3185 if test -n "$ac_ct_CXX"; then
3186 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3187 echo "${ECHO_T}$ac_ct_CXX" >&6
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3193 test -n "$ac_ct_CXX" && break
3195 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3201 # Provide some information about the compiler.
3202 echo "$as_me:$LINENO:" \
3203 "checking for C++ compiler version" >&5
3204 ac_compiler
=`set X $ac_compile; echo $2`
3205 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3206 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }
3210 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3211 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }
3215 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3216 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }
3221 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3222 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3223 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 cat >conftest.
$ac_ext <<_ACEOF
3229 cat confdefs.h
>>conftest.
$ac_ext
3230 cat >>conftest.
$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3244 rm -f conftest.
$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>conftest.er1
3248 grep -v '^ *+' conftest.er1
>conftest.err
3250 cat conftest.err
>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try
='test -z "$ac_cxx_werror_flag"
3254 || test ! -s conftest.err'
3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; } &&
3260 { ac_try
='test -s conftest.$ac_objext'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; }; then
3268 echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.
$ac_ext >&5
3273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3274 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3277 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3278 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3279 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3280 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3281 ac_save_CXXFLAGS
=$CXXFLAGS
3283 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3284 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3285 if test "${ac_cv_prog_cxx_g+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3303 rm -f conftest.
$ac_objext
3304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3305 (eval $ac_compile) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try
='test -z "$ac_cxx_werror_flag"
3313 || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try
='test -s conftest.$ac_objext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3325 ac_cv_prog_cxx_g
=yes
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.
$ac_ext >&5
3332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3334 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3335 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3336 if test "$ac_test_CXXFLAGS" = set; then
3337 CXXFLAGS
=$ac_save_CXXFLAGS
3338 elif test $ac_cv_prog_cxx_g = yes; then
3339 if test "$GXX" = yes; then
3345 if test "$GXX" = yes; then
3351 for ac_declaration
in \
3353 'extern "C" void std::exit (int) throw (); using std::exit;' \
3354 'extern "C" void std::exit (int); using std::exit;' \
3355 'extern "C" void exit (int) throw ();' \
3356 'extern "C" void exit (int);' \
3359 cat >conftest.
$ac_ext <<_ACEOF
3362 cat confdefs.h
>>conftest.
$ac_ext
3363 cat >>conftest.
$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3375 rm -f conftest.
$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>conftest.er1
3379 grep -v '^ *+' conftest.er1
>conftest.err
3381 cat conftest.err
>&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try
='test -z "$ac_cxx_werror_flag"
3385 || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try
='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.
$ac_ext >&5
3404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3405 cat >conftest.
$ac_ext <<_ACEOF
3408 cat confdefs.h
>>conftest.
$ac_ext
3409 cat >>conftest.
$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3420 rm -f conftest.
$ac_objext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3422 (eval $ac_compile) 2>conftest.er1
3424 grep -v '^ *+' conftest.er1
>conftest.err
3426 cat conftest.err
>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try
='test -z "$ac_cxx_werror_flag"
3430 || test ! -s conftest.err'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; } &&
3436 { ac_try
='test -s conftest.$ac_objext'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.
$ac_ext >&5
3448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3451 if test -n "$ac_declaration"; then
3452 echo '#ifdef __cplusplus' >>confdefs.h
3453 echo $ac_declaration >>confdefs.h
3454 echo '#endif' >>confdefs.h
3458 ac_cpp
='$CPP $CPPFLAGS'
3459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3463 depcc
="$CXX" am_compiler_list
=
3465 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3466 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3467 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3471 # We make a subdir and do the tests there. Otherwise we can end up
3472 # making bogus files that we don't know about and never remove. For
3473 # instance it was reported that on HP-UX the gcc test will end up
3474 # making a dummy file named `D' -- because `-MD' means `put the output
3477 # Copy depcomp to subdir because otherwise we won't find it if we're
3478 # using a relative directory.
3479 cp "$am_depcomp" conftest.dir
3481 # We will build objects and dependencies in a subdirectory because
3482 # it helps to detect inapplicable dependency modes. For instance
3483 # both Tru64's cc and ICC support -MD to output dependencies as a
3484 # side effect of compilation, but ICC will put the dependencies in
3485 # the current directory while Tru64 will put them in the object
3489 am_cv_CXX_dependencies_compiler_type
=none
3490 if test "$am_compiler_list" = ""; then
3491 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3493 for depmode
in $am_compiler_list; do
3494 # Setup a source with many dependencies, because some compilers
3495 # like to wrap large dependency lists on column 80 (with \), and
3496 # we should not choose a depcomp mode which is confused by this.
3498 # We need to recreate these files for each test, as the compiler may
3499 # overwrite some of them when testing with obscure command lines.
3500 # This happens at least with the AIX C compiler.
3502 for i
in 1 2 3 4 5 6; do
3503 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3505 # Solaris 8's {/usr,}/bin/sh.
3506 touch sub
/conftst
$i.h
3508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3512 # after this tag, mechanisms are not by side-effect, so they'll
3513 # only be used when explicitly requested
3514 if test "x$enable_dependency_tracking" = xyes
; then
3522 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3523 # mode. It turns out that the SunPro C++ compiler does not properly
3524 # handle `-M -o', and we need to detect this.
3525 if depmode
=$depmode \
3526 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3527 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3528 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3529 >/dev
/null
2>conftest.err
&&
3530 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3531 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3532 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3533 # icc doesn't choke on unknown options, it will just issue warnings
3534 # or remarks (even with -Werror). So we grep stderr for any message
3535 # that says an option was ignored or not supported.
3536 # When given -MP, icc 7.0 and 7.1 complain thusly:
3537 # icc: Command line warning: ignoring option '-M'; no argument required
3538 # The diagnosis changed in icc 8.0:
3539 # icc: Command line remark: option '-MP' not supported
3540 if (grep 'ignoring option' conftest.err ||
3541 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3542 am_cv_CXX_dependencies_compiler_type
=$depmode
3551 am_cv_CXX_dependencies_compiler_type
=none
3555 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3556 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3557 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3562 test "x$enable_dependency_tracking" != xno \
3563 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3564 am__fastdepCXX_TRUE
=
3565 am__fastdepCXX_FALSE
='#'
3567 am__fastdepCXX_TRUE
='#'
3568 am__fastdepCXX_FALSE
=
3572 for ac_prog
in 'bison -y' byacc
3574 # Extract the first word of "$ac_prog", so it can be a program name with args.
3575 set dummy
$ac_prog; ac_word
=$2
3576 echo "$as_me:$LINENO: checking for $ac_word" >&5
3577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3578 if test "${ac_cv_prog_YACC+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 if test -n "$YACC"; then
3582 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir
=.
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_YACC
="$ac_prog"
3592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 YACC
=$ac_cv_prog_YACC
3601 if test -n "$YACC"; then
3602 echo "$as_me:$LINENO: result: $YACC" >&5
3603 echo "${ECHO_T}$YACC" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3609 test -n "$YACC" && break
3611 test -n "$YACC" || YACC
="yacc"
3613 if test -n "$ac_tool_prefix"; then
3614 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3615 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3616 echo "$as_me:$LINENO: checking for $ac_word" >&5
3617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3618 if test "${ac_cv_prog_RANLIB+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 if test -n "$RANLIB"; then
3622 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 RANLIB
=$ac_cv_prog_RANLIB
3641 if test -n "$RANLIB"; then
3642 echo "$as_me:$LINENO: result: $RANLIB" >&5
3643 echo "${ECHO_T}$RANLIB" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3650 if test -z "$ac_cv_prog_RANLIB"; then
3651 ac_ct_RANLIB
=$RANLIB
3652 # Extract the first word of "ranlib", so it can be a program name with args.
3653 set dummy ranlib
; ac_word
=$2
3654 echo "$as_me:$LINENO: checking for $ac_word" >&5
3655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 if test -n "$ac_ct_RANLIB"; then
3660 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3679 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3680 if test -n "$ac_ct_RANLIB"; then
3681 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3682 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3688 RANLIB
=$ac_ct_RANLIB
3690 RANLIB
="$ac_cv_prog_RANLIB"
3693 # Find a good install program. We prefer a C program (faster),
3694 # so one script is as good as another. But avoid the broken or
3695 # incompatible versions:
3696 # SysV /etc/install, /usr/sbin/install
3697 # SunOS /usr/etc/install
3698 # IRIX /sbin/install
3700 # AmigaOS /C/install, which installs bootblocks on floppy discs
3701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3704 # OS/2's system install, which has a completely different semantic
3705 # ./install, which can be erroneously created by make from ./install.sh.
3706 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3707 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3708 if test -z "$INSTALL"; then
3709 if test "${ac_cv_path_install+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 # Account for people who put trailing slashes in PATH elements.
3719 .
/ | .
// |
/cC
/* | \
3720 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3721 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3724 # OSF1 and SCO ODT 3.0 have their own names for install.
3725 # Don't use installbsd from OSF since it installs stuff as root
3727 for ac_prog
in ginstall scoinst
install; do
3728 for ac_exec_ext
in '' $ac_executable_extensions; do
3729 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3730 if test $ac_prog = install &&
3731 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3732 # AIX install. It has an incompatible calling convention.
3734 elif test $ac_prog = install &&
3735 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3736 # program-specific install script used by HP pwplus--don't use.
3739 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3751 if test "${ac_cv_path_install+set}" = set; then
3752 INSTALL
=$ac_cv_path_install
3754 # As a last resort, use the slow shell script. We don't cache a
3755 # path for INSTALL within a source directory, because that will
3756 # break other packages using the cache if that directory is
3757 # removed, or if the path is relative.
3758 INSTALL
=$ac_install_sh
3761 echo "$as_me:$LINENO: result: $INSTALL" >&5
3762 echo "${ECHO_T}$INSTALL" >&6
3764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3765 # It thinks the first close brace ends the variable substitution.
3766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3770 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3772 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3773 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3775 if test "$LN_S" = "ln -s"; then
3776 echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6
3779 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3780 echo "${ECHO_T}no, using $LN_S" >&6
3783 # If we haven't got the data from the intl directory,
3784 # assume NLS is disabled.
3793 if test -f ..
/intl
/config.intl
; then
3794 . ..
/intl
/config.intl
3796 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3797 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3798 if test x
"$USE_NLS" != xyes
; then
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3802 echo "$as_me:$LINENO: result: yes" >&5
3803 echo "${ECHO_T}yes" >&6
3805 cat >>confdefs.h
<<\_ACEOF
3806 #define ENABLE_NLS 1
3810 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3811 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3812 # Look for .po and .gmo files in the source directory.
3815 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3816 # If there aren't any .gmo files the shell will give us the
3817 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3819 case "$cat" in *\
**)
3822 # The quadruple backslash is collapsed to a double backslash
3823 # by the backticks, then collapsed again by the double quotes,
3824 # leaving us with one backslash in the sed expression (right
3825 # before the dot that mustn't act as a wildcard).
3826 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3827 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3828 # The user is allowed to set LINGUAS to a list of languages to
3829 # install catalogs for. If it's empty that means "all of them."
3830 if test "x$LINGUAS" = x
; then
3831 CATALOGS
="$CATALOGS $cat"
3832 XLINGUAS
="$XLINGUAS $lang"
3834 case "$LINGUAS" in *$lang*)
3835 CATALOGS
="$CATALOGS $cat"
3836 XLINGUAS
="$XLINGUAS $lang"
3842 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3843 echo "${ECHO_T}$LINGUAS" >&6
3857 if test -n "$ac_aux_dir"; then
3858 case "$ac_aux_dir" in
3859 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3860 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3863 if test -z "$MKINSTALLDIRS"; then
3864 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3869 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3870 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3871 # Check whether --enable-nls or --disable-nls was given.
3872 if test "${enable_nls+set}" = set; then
3873 enableval
="$enable_nls"
3878 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3879 echo "${ECHO_T}$USE_NLS" >&6
3886 # Prepare PATH_SEPARATOR.
3887 # The user is always right.
3888 if test "${PATH_SEPARATOR+set}" != set; then
3889 echo "#! /bin/sh" >conf$$.sh
3890 echo "exit 0" >>conf$$.sh
3892 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3900 # Find out how to test for executable files. Don't use a zero-byte file,
3901 # as systems may use methods other than mode bits to determine executability.
3902 cat >conf$$.
file <<_ASEOF
3906 chmod +x conf$$.
file
3907 if test -x conf$$.
file >/dev
/null
2>&1; then
3908 ac_executable_p
="test -x"
3910 ac_executable_p
="test -f"
3914 # Extract the first word of "msgfmt", so it can be a program name with args.
3915 set dummy msgfmt
; ac_word
=$2
3916 echo "$as_me:$LINENO: checking for $ac_word" >&5
3917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3918 if test "${ac_cv_path_MSGFMT+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3926 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3927 for ac_dir
in $PATH; do
3929 test -z "$ac_dir" && ac_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3932 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3933 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3934 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3941 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3945 MSGFMT
="$ac_cv_path_MSGFMT"
3946 if test "$MSGFMT" != ":"; then
3947 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3948 echo "${ECHO_T}$MSGFMT" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3954 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3955 set dummy gmsgfmt
; ac_word
=$2
3956 echo "$as_me:$LINENO: checking for $ac_word" >&5
3957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 for ac_exec_ext
in '' $ac_executable_extensions; do
3972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3984 GMSGFMT
=$ac_cv_path_GMSGFMT
3986 if test -n "$GMSGFMT"; then
3987 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3988 echo "${ECHO_T}$GMSGFMT" >&6
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3996 # Prepare PATH_SEPARATOR.
3997 # The user is always right.
3998 if test "${PATH_SEPARATOR+set}" != set; then
3999 echo "#! /bin/sh" >conf$$.sh
4000 echo "exit 0" >>conf$$.sh
4002 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4010 # Find out how to test for executable files. Don't use a zero-byte file,
4011 # as systems may use methods other than mode bits to determine executability.
4012 cat >conf$$.
file <<_ASEOF
4016 chmod +x conf$$.
file
4017 if test -x conf$$.
file >/dev
/null
2>&1; then
4018 ac_executable_p
="test -x"
4020 ac_executable_p
="test -f"
4024 # Extract the first word of "xgettext", so it can be a program name with args.
4025 set dummy xgettext
; ac_word
=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4036 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4037 for ac_dir
in $PATH; do
4039 test -z "$ac_dir" && ac_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4042 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4043 (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
4044 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4051 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4055 XGETTEXT
="$ac_cv_path_XGETTEXT"
4056 if test "$XGETTEXT" != ":"; then
4057 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4058 echo "${ECHO_T}$XGETTEXT" >&6
4060 echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6
4067 # Prepare PATH_SEPARATOR.
4068 # The user is always right.
4069 if test "${PATH_SEPARATOR+set}" != set; then
4070 echo "#! /bin/sh" >conf$$.sh
4071 echo "exit 0" >>conf$$.sh
4073 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4081 # Find out how to test for executable files. Don't use a zero-byte file,
4082 # as systems may use methods other than mode bits to determine executability.
4083 cat >conf$$.
file <<_ASEOF
4087 chmod +x conf$$.
file
4088 if test -x conf$$.
file >/dev
/null
2>&1; then
4089 ac_executable_p
="test -x"
4091 ac_executable_p
="test -f"
4095 # Extract the first word of "msgmerge", so it can be a program name with args.
4096 set dummy msgmerge
; ac_word
=$2
4097 echo "$as_me:$LINENO: checking for $ac_word" >&5
4098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4099 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4107 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4108 for ac_dir
in $PATH; do
4110 test -z "$ac_dir" && ac_dir
=.
4111 for ac_exec_ext
in '' $ac_executable_extensions; do
4112 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4113 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4114 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4121 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4125 MSGMERGE
="$ac_cv_path_MSGMERGE"
4126 if test "$MSGMERGE" != ":"; then
4127 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4128 echo "${ECHO_T}$MSGMERGE" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4135 if test "$GMSGFMT" != ":"; then
4136 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4137 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4140 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4141 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4142 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4147 if test "$XGETTEXT" != ":"; then
4148 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4149 (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
4152 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4153 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4159 ac_config_commands
="$ac_config_commands default-1"
4164 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4165 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4166 if test "${ac_cv_c_bigendian+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 # See if sys/param.h defines the BYTE_ORDER macro.
4170 cat >conftest.
$ac_ext <<_ACEOF
4173 cat confdefs.h
>>conftest.
$ac_ext
4174 cat >>conftest.
$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4176 #include <sys/types.h>
4177 #include <sys/param.h>
4182 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4190 rm -f conftest.
$ac_objext
4191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4192 (eval $ac_compile) 2>conftest.er1
4194 grep -v '^ *+' conftest.er1
>conftest.err
4196 cat conftest.err
>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } &&
4199 { ac_try
='test -z "$ac_c_werror_flag"
4200 || test ! -s conftest.err'
4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); }; } &&
4206 { ac_try
='test -s conftest.$ac_objext'
4207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); }; }; then
4212 # It does; now see whether it defined to BIG_ENDIAN or not.
4213 cat >conftest.
$ac_ext <<_ACEOF
4216 cat confdefs.h
>>conftest.
$ac_ext
4217 cat >>conftest.
$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4219 #include <sys/types.h>
4220 #include <sys/param.h>
4225 #if BYTE_ORDER != BIG_ENDIAN
4233 rm -f conftest.
$ac_objext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -z "$ac_c_werror_flag"
4243 || test ! -s conftest.err'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest.$ac_objext'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 ac_cv_c_bigendian
=yes
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 ac_cv_c_bigendian
=no
4262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4267 # It does not; compile a test program.
4268 if test "$cross_compiling" = yes; then
4269 # try to guess the endianness by grepping values into an object file
4270 ac_cv_c_bigendian
=unknown
4271 cat >conftest.
$ac_ext <<_ACEOF
4274 cat confdefs.h
>>conftest.
$ac_ext
4275 cat >>conftest.
$ac_ext <<_ACEOF
4276 /* end confdefs.h. */
4277 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4278 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4279 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4280 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4281 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4282 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4286 _ascii (); _ebcdic ();
4291 rm -f conftest.
$ac_objext
4292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4293 (eval $ac_compile) 2>conftest.er1
4295 grep -v '^ *+' conftest.er1
>conftest.err
4297 cat conftest.err
>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } &&
4300 { ac_try
='test -z "$ac_c_werror_flag"
4301 || test ! -s conftest.err'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; } &&
4307 { ac_try
='test -s conftest.$ac_objext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then
4313 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4314 ac_cv_c_bigendian
=yes
4316 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4317 if test "$ac_cv_c_bigendian" = unknown
; then
4318 ac_cv_c_bigendian
=no
4320 # finding both strings is unlikely to happen, but who knows?
4321 ac_cv_c_bigendian
=unknown
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.
$ac_ext >&5
4329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4331 cat >conftest.
$ac_ext <<_ACEOF
4334 cat confdefs.h
>>conftest.
$ac_ext
4335 cat >>conftest.
$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4340 /* Are we little or big endian? From Harbison&Steele. */
4344 char c[sizeof (long)];
4347 exit (u.c[sizeof (long) - 1] == 1);
4350 rm -f conftest
$ac_exeext
4351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4352 (eval $ac_link) 2>&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_c_bigendian
=no
4363 echo "$as_me: program exited with status $ac_status" >&5
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.
$ac_ext >&5
4368 ac_cv_c_bigendian
=yes
4370 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4375 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4376 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4377 case $ac_cv_c_bigendian in
4380 cat >>confdefs.h
<<\_ACEOF
4381 #define WORDS_BIGENDIAN 1
4387 { { echo "$as_me:$LINENO: error: unknown endianness
4388 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4389 echo "$as_me: error: unknown endianness
4390 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4391 { (exit 1); exit 1; }; } ;;
4399 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4401 NATIVE_LINKER_FALSE
='#'
4403 NATIVE_LINKER_TRUE
='#'
4404 NATIVE_LINKER_FALSE
=
4409 if test "$GCC" = yes; then
4426 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
4427 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
4429 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
4430 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
4434 cat >conftest.
$ac_ext <<_ACEOF
4437 rm -f conftest.
$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -z "$ac_c_werror_flag"
4447 || test ! -s conftest.err'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; } &&
4453 { ac_try
='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.
$ac_ext >&5
4466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4469 if test "$tls" = "yes"; then
4479 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4481 # Check whether --enable-werror or --disable-werror was given.
4482 if test "${enable_werror+set}" = set; then
4483 enableval
="$enable_werror"
4484 case "${enableval}" in
4485 yes | y
) ERROR_ON_WARNING
="yes" ;;
4486 no | n
) ERROR_ON_WARNING
="no" ;;
4487 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4488 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4489 { (exit 1); exit 1; }; } ;;
4493 # Enable -Werror by default when using gcc
4494 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4495 ERROR_ON_WARNING
=yes
4499 if test "${ERROR_ON_WARNING}" = yes ; then
4500 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4501 NO_WERROR
="-Wno-error"
4504 if test "${GCC}" = yes ; then
4505 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4508 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4509 if test "${enable_build_warnings+set}" = set; then
4510 enableval
="$enable_build_warnings"
4511 case "${enableval}" in
4512 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4513 no
) if test "${GCC}" = yes ; then
4516 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4517 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4518 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4519 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4520 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4524 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4525 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4532 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4535 LFS_CXXFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4539 for ac_func
in pread
4541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4542 echo "$as_me:$LINENO: checking for $ac_func" >&5
4543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4544 if eval "test \"\${$as_ac_var+set}\" = set"; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 cat >conftest.
$ac_ext <<_ACEOF
4550 cat confdefs.h
>>conftest.
$ac_ext
4551 cat >>conftest.
$ac_ext <<_ACEOF
4552 /* end confdefs.h. */
4553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4555 #define $ac_func innocuous_$ac_func
4557 /* System header to define __stub macros and hopefully few prototypes,
4558 which can conflict with char $ac_func (); below.
4559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4560 <limits.h> exists even on freestanding compilers. */
4563 # include <limits.h>
4565 # include <assert.h>
4570 /* Override any gcc2 internal prototype to avoid an error. */
4575 /* We use char because int might match the return type of a gcc2
4576 builtin and then its argument prototype would still apply. */
4578 /* The GNU C library defines this for functions which it implements
4579 to always fail with ENOSYS. Some functions are actually named
4580 something starting with __ and the normal name is an alias. */
4581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4584 char (*f) () = $ac_func;
4593 return f != $ac_func;
4598 rm -f conftest.
$ac_objext conftest
$ac_exeext
4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4600 (eval $ac_link) 2>conftest.er1
4602 grep -v '^ *+' conftest.er1
>conftest.err
4604 cat conftest.err
>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } &&
4607 { ac_try
='test -z "$ac_c_werror_flag"
4608 || test ! -s conftest.err'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; } &&
4614 { ac_try
='test -s conftest$ac_exeext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 eval "$as_ac_var=yes"
4622 echo "$as_me: failed program was:" >&5
4623 sed 's/^/| /' conftest.
$ac_ext >&5
4625 eval "$as_ac_var=no"
4627 rm -f conftest.err conftest.
$ac_objext \
4628 conftest
$ac_exeext conftest.
$ac_ext
4630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4632 if test `eval echo '${'$as_ac_var'}'` = yes; then
4633 cat >>confdefs.h
<<_ACEOF
4634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4639 "$ac_func.$ac_objext" | \
4640 *" $ac_func.$ac_objext" | \
4641 "$ac_func.$ac_objext "* | \
4642 *" $ac_func.$ac_objext "* ) ;;
4643 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
4652 ac_cpp
='$CXXCPP $CPPFLAGS'
4653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4660 ac_cpp
='$CXXCPP $CPPFLAGS'
4661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4664 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4665 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4666 if test -z "$CXXCPP"; then
4667 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 # Double quotes because CXXCPP needs to be expanded
4671 for CXXCPP
in "$CXX -E" "/lib/cpp"
4674 for ac_cxx_preproc_warn_flag
in '' yes
4676 # Use a header file that comes with gcc, so configuring glibc
4677 # with a fresh cross-compiler works.
4678 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4679 # <limits.h> exists even on freestanding compilers.
4680 # On the NeXT, cc -E runs the code through the compiler's parser,
4681 # not just through cpp. "Syntax error" is here to catch this case.
4682 cat >conftest.
$ac_ext <<_ACEOF
4685 cat confdefs.h
>>conftest.
$ac_ext
4686 cat >>conftest.
$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4689 # include <limits.h>
4691 # include <assert.h>
4695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4696 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4698 grep -v '^ *+' conftest.er1
>conftest.err
4700 cat conftest.err
>&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } >/dev
/null
; then
4703 if test -s conftest.err
; then
4704 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4705 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4712 if test -z "$ac_cpp_err"; then
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4718 # Broken: fails on valid input.
4721 rm -f conftest.err conftest.
$ac_ext
4723 # OK, works on sane cases. Now check whether non-existent headers
4724 # can be detected and how.
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731 #include <ac_nonexistent.h>
4733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4736 grep -v '^ *+' conftest.er1
>conftest.err
4738 cat conftest.err
>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } >/dev
/null
; then
4741 if test -s conftest.err
; then
4742 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4743 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4750 if test -z "$ac_cpp_err"; then
4751 # Broken: success on invalid input.
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.
$ac_ext >&5
4757 # Passes both tests.
4761 rm -f conftest.err conftest.
$ac_ext
4764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4765 rm -f conftest.err conftest.
$ac_ext
4766 if $ac_preproc_ok; then
4771 ac_cv_prog_CXXCPP
=$CXXCPP
4774 CXXCPP
=$ac_cv_prog_CXXCPP
4776 ac_cv_prog_CXXCPP
=$CXXCPP
4778 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4779 echo "${ECHO_T}$CXXCPP" >&6
4781 for ac_cxx_preproc_warn_flag
in '' yes
4783 # Use a header file that comes with gcc, so configuring glibc
4784 # with a fresh cross-compiler works.
4785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4786 # <limits.h> exists even on freestanding compilers.
4787 # On the NeXT, cc -E runs the code through the compiler's parser,
4788 # not just through cpp. "Syntax error" is here to catch this case.
4789 cat >conftest.
$ac_ext <<_ACEOF
4792 cat confdefs.h
>>conftest.
$ac_ext
4793 cat >>conftest.
$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4796 # include <limits.h>
4798 # include <assert.h>
4802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4805 grep -v '^ *+' conftest.er1
>conftest.err
4807 cat conftest.err
>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } >/dev
/null
; then
4810 if test -s conftest.err
; then
4811 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4812 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4819 if test -z "$ac_cpp_err"; then
4822 echo "$as_me: failed program was:" >&5
4823 sed 's/^/| /' conftest.
$ac_ext >&5
4825 # Broken: fails on valid input.
4828 rm -f conftest.err conftest.
$ac_ext
4830 # OK, works on sane cases. Now check whether non-existent headers
4831 # can be detected and how.
4832 cat >conftest.
$ac_ext <<_ACEOF
4835 cat confdefs.h
>>conftest.
$ac_ext
4836 cat >>conftest.
$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 #include <ac_nonexistent.h>
4840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1
>conftest.err
4845 cat conftest.err
>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } >/dev
/null
; then
4848 if test -s conftest.err
; then
4849 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4850 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4857 if test -z "$ac_cpp_err"; then
4858 # Broken: success on invalid input.
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.
$ac_ext >&5
4864 # Passes both tests.
4868 rm -f conftest.err conftest.
$ac_ext
4871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4872 rm -f conftest.err conftest.
$ac_ext
4873 if $ac_preproc_ok; then
4876 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4877 See \`config.log' for more details." >&5
4878 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4879 See \`config.log' for more details." >&2;}
4880 { (exit 1); exit 1; }; }
4884 ac_cpp
='$CXXCPP $CPPFLAGS'
4885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4890 echo "$as_me:$LINENO: checking for egrep" >&5
4891 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4892 if test "${ac_cv_prog_egrep+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4895 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4896 then ac_cv_prog_egrep
='grep -E'
4897 else ac_cv_prog_egrep
='egrep'
4900 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4901 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4902 EGREP
=$ac_cv_prog_egrep
4905 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4906 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4907 if test "${ac_cv_header_stdc+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 cat >conftest.
$ac_ext <<_ACEOF
4913 cat confdefs.h
>>conftest.
$ac_ext
4914 cat >>conftest.
$ac_ext <<_ACEOF
4915 /* end confdefs.h. */
4929 rm -f conftest.
$ac_objext
4930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4931 (eval $ac_compile) 2>conftest.er1
4933 grep -v '^ *+' conftest.er1
>conftest.err
4935 cat conftest.err
>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } &&
4938 { ac_try
='test -z "$ac_cxx_werror_flag"
4939 || test ! -s conftest.err'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; } &&
4945 { ac_try
='test -s conftest.$ac_objext'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; }; then
4951 ac_cv_header_stdc
=yes
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4956 ac_cv_header_stdc
=no
4958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4960 if test $ac_cv_header_stdc = yes; then
4961 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4962 cat >conftest.
$ac_ext <<_ACEOF
4965 cat confdefs.h
>>conftest.
$ac_ext
4966 cat >>conftest.
$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4972 $EGREP "memchr" >/dev
/null
2>&1; then
4975 ac_cv_header_stdc
=no
4981 if test $ac_cv_header_stdc = yes; then
4982 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4983 cat >conftest.
$ac_ext <<_ACEOF
4986 cat confdefs.h
>>conftest.
$ac_ext
4987 cat >>conftest.
$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4993 $EGREP "free" >/dev
/null
2>&1; then
4996 ac_cv_header_stdc
=no
5002 if test $ac_cv_header_stdc = yes; then
5003 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5004 if test "$cross_compiling" = yes; then
5007 cat >conftest.
$ac_ext <<_ACEOF
5010 cat confdefs.h
>>conftest.
$ac_ext
5011 cat >>conftest.
$ac_ext <<_ACEOF
5012 /* end confdefs.h. */
5014 #if ((' ' & 0x0FF) == 0x020)
5015 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5016 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5018 # define ISLOWER(c) \
5019 (('a' <= (c) && (c) <= 'i') \
5020 || ('j' <= (c) && (c) <= 'r') \
5021 || ('s' <= (c) && (c) <= 'z'))
5022 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5030 for (i = 0; i < 256; i++)
5031 if (XOR (islower (i), ISLOWER (i))
5032 || toupper (i) != TOUPPER (i))
5037 rm -f conftest
$ac_exeext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5039 (eval $ac_link) 2>&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5050 echo "$as_me: program exited with status $ac_status" >&5
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.
$ac_ext >&5
5055 ac_cv_header_stdc
=no
5057 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5061 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5062 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5063 if test $ac_cv_header_stdc = yes; then
5065 cat >>confdefs.h
<<\_ACEOF
5066 #define STDC_HEADERS 1
5071 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5081 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5082 inttypes.h stdint.h unistd.h
5084 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5085 echo "$as_me:$LINENO: checking for $ac_header" >&5
5086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5096 $ac_includes_default
5098 #include <$ac_header>
5100 rm -f conftest.
$ac_objext
5101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5102 (eval $ac_compile) 2>conftest.er1
5104 grep -v '^ *+' conftest.er1
>conftest.err
5106 cat conftest.err
>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } &&
5109 { ac_try
='test -z "$ac_cxx_werror_flag"
5110 || test ! -s conftest.err'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
5116 { ac_try
='test -s conftest.$ac_objext'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; }; then
5122 eval "$as_ac_Header=yes"
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.
$ac_ext >&5
5127 eval "$as_ac_Header=no"
5129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5134 cat >>confdefs.h
<<_ACEOF
5135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5145 for ac_header
in tr1/unordered_set
tr1/unordered_map
5147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5149 echo "$as_me:$LINENO: checking for $ac_header" >&5
5150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5157 # Is the header compilable?
5158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 $ac_includes_default
5167 #include <$ac_header>
5169 rm -f conftest.
$ac_objext
5170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5171 (eval $ac_compile) 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } &&
5178 { ac_try
='test -z "$ac_cxx_werror_flag"
5179 || test ! -s conftest.err'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; } &&
5185 { ac_try
='test -s conftest.$ac_objext'
5186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); }; }; then
5191 ac_header_compiler
=yes
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.
$ac_ext >&5
5196 ac_header_compiler
=no
5198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5200 echo "${ECHO_T}$ac_header_compiler" >&6
5202 # Is the header present?
5203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5205 cat >conftest.
$ac_ext <<_ACEOF
5208 cat confdefs.h
>>conftest.
$ac_ext
5209 cat >>conftest.
$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 #include <$ac_header>
5213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5216 grep -v '^ *+' conftest.er1
>conftest.err
5218 cat conftest.err
>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } >/dev
/null
; then
5221 if test -s conftest.err
; then
5222 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5223 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5230 if test -z "$ac_cpp_err"; then
5231 ac_header_preproc
=yes
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.
$ac_ext >&5
5236 ac_header_preproc
=no
5238 rm -f conftest.err conftest.
$ac_ext
5239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5240 echo "${ECHO_T}$ac_header_preproc" >&6
5242 # So? What about this header?
5243 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5249 ac_header_preproc
=yes
5252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5266 ## ------------------------------- ##
5267 ## Report this to the gold lists. ##
5268 ## ------------------------------- ##
5271 sed "s/^/$as_me: WARNING: /" >&2
5274 echo "$as_me:$LINENO: checking for $ac_header" >&5
5275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 eval "$as_ac_Header=\$ac_header_preproc"
5281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5286 cat >>confdefs.h
<<_ACEOF
5287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5296 for ac_header
in ext
/hash_map ext
/hash_set
5298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5300 echo "$as_me:$LINENO: checking for $ac_header" >&5
5301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5308 # Is the header compilable?
5309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5317 $ac_includes_default
5318 #include <$ac_header>
5320 rm -f conftest.
$ac_objext
5321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5322 (eval $ac_compile) 2>conftest.er1
5324 grep -v '^ *+' conftest.er1
>conftest.err
5326 cat conftest.err
>&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } &&
5329 { ac_try
='test -z "$ac_cxx_werror_flag"
5330 || test ! -s conftest.err'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; } &&
5336 { ac_try
='test -s conftest.$ac_objext'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; }; then
5342 ac_header_compiler
=yes
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.
$ac_ext >&5
5347 ac_header_compiler
=no
5349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5351 echo "${ECHO_T}$ac_header_compiler" >&6
5353 # Is the header present?
5354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5362 #include <$ac_header>
5364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5367 grep -v '^ *+' conftest.er1
>conftest.err
5369 cat conftest.err
>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev
/null
; then
5372 if test -s conftest.err
; then
5373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5381 if test -z "$ac_cpp_err"; then
5382 ac_header_preproc
=yes
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.
$ac_ext >&5
5387 ac_header_preproc
=no
5389 rm -f conftest.err conftest.
$ac_ext
5390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5391 echo "${ECHO_T}$ac_header_preproc" >&6
5393 # So? What about this header?
5394 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5400 ac_header_preproc
=yes
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5417 ## ------------------------------- ##
5418 ## Report this to the gold lists. ##
5419 ## ------------------------------- ##
5422 sed "s/^/$as_me: WARNING: /" >&2
5425 echo "$as_me:$LINENO: checking for $ac_header" >&5
5426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 eval "$as_ac_Header=\$ac_header_preproc"
5432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5437 cat >>confdefs.h
<<_ACEOF
5438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5446 for ac_func
in mallinfo
5448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5449 echo "$as_me:$LINENO: checking for $ac_func" >&5
5450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5451 if eval "test \"\${$as_ac_var+set}\" = set"; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 cat >conftest.
$ac_ext <<_ACEOF
5457 cat confdefs.h
>>conftest.
$ac_ext
5458 cat >>conftest.
$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5462 #define $ac_func innocuous_$ac_func
5464 /* System header to define __stub macros and hopefully few prototypes,
5465 which can conflict with char $ac_func (); below.
5466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5467 <limits.h> exists even on freestanding compilers. */
5470 # include <limits.h>
5472 # include <assert.h>
5477 /* Override any gcc2 internal prototype to avoid an error. */
5482 /* We use char because int might match the return type of a gcc2
5483 builtin and then its argument prototype would still apply. */
5485 /* The GNU C library defines this for functions which it implements
5486 to always fail with ENOSYS. Some functions are actually named
5487 something starting with __ and the normal name is an alias. */
5488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5491 char (*f) () = $ac_func;
5500 return f != $ac_func;
5505 rm -f conftest.
$ac_objext conftest
$ac_exeext
5506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5507 (eval $ac_link) 2>conftest.er1
5509 grep -v '^ *+' conftest.er1
>conftest.err
5511 cat conftest.err
>&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } &&
5514 { ac_try
='test -z "$ac_cxx_werror_flag"
5515 || test ! -s conftest.err'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try
='test -s conftest$ac_exeext'
5522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); }; }; then
5527 eval "$as_ac_var=yes"
5529 echo "$as_me: failed program was:" >&5
5530 sed 's/^/| /' conftest.
$ac_ext >&5
5532 eval "$as_ac_var=no"
5534 rm -f conftest.err conftest.
$ac_objext \
5535 conftest
$ac_exeext conftest.
$ac_ext
5537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5539 if test `eval echo '${'$as_ac_var'}'` = yes; then
5540 cat >>confdefs.h
<<_ACEOF
5541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5548 cat >conftest.
$ac_ext <<_ACEOF
5550 class c { public: template<int i> void fn(); };
5551 template<int i> void foo(c cv) { cv.fn<i>(); }
5552 template void foo<1>(c cv);
5554 rm -f conftest.
$ac_objext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556 (eval $ac_compile) 2>conftest.er1
5558 grep -v '^ *+' conftest.er1
>conftest.err
5560 cat conftest.err
>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } &&
5563 { ac_try
='test -z "$ac_cxx_werror_flag"
5564 || test ! -s conftest.err'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; } &&
5570 { ac_try
='test -s conftest.$ac_objext'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; }; then
5577 cat >>confdefs.h
<<\_ACEOF
5578 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5589 ac_cpp
='$CPP $CPPFLAGS'
5590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5595 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5596 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5597 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5598 if test "${enable_maintainer_mode+set}" = set; then
5599 enableval
="$enable_maintainer_mode"
5600 USE_MAINTAINER_MODE
=$enableval
5602 USE_MAINTAINER_MODE
=no
5604 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5605 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5608 if test $USE_MAINTAINER_MODE = yes; then
5609 MAINTAINER_MODE_TRUE
=
5610 MAINTAINER_MODE_FALSE
='#'
5612 MAINTAINER_MODE_TRUE
='#'
5613 MAINTAINER_MODE_FALSE
=
5616 MAINT
=$MAINTAINER_MODE_TRUE
5620 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
5621 cat >confcache
<<\_ACEOF
5622 # This file is a shell script that caches the results of configure
5623 # tests run on this system so they can be shared between configure
5624 # scripts and configure runs, see configure's option --config-cache.
5625 # It is not useful on other systems. If it contains results you don't
5626 # want to keep, you may remove or edit it.
5628 # config.status only pays attention to the cache file if you give it
5629 # the --recheck option to rerun configure.
5631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5637 # The following way of writing the cache mishandles newlines in values,
5638 # but we know of no workaround that is simple, portable, and efficient.
5639 # So, don't put newlines in cache variables' values.
5640 # Ultrix sh set writes to stderr and can't be redirected directly,
5641 # and sets the high bit in the cache file unless we assign to the vars.
5644 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5646 # `set' does not quote correctly, so add quotes (double-quote
5647 # substitution turns \\\\ into \\, and sed turns \\ into \).
5650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5653 # `set' quotes correctly as required by POSIX, so do not add quotes.
5655 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5664 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5666 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5667 if test -w $cache_file; then
5668 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5669 cat confcache
>$cache_file
5671 echo "not updating unwritable cache $cache_file"
5676 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5677 # Let make expand exec_prefix.
5678 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5682 # trailing colons and then remove the whole line if VPATH becomes empty
5683 # (actually we leave an empty line to preserve line numbers).
5684 if test "x$srcdir" = x.
; then
5685 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5686 s/:*\$(srcdir):*/:/;
5687 s/:*\${srcdir}:*/:/;
5689 s/^\([^=]*=[ ]*\):*/\1/;
5695 DEFS
=-DHAVE_CONFIG_H
5699 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5700 # 1. Remove the extension, and $U if already installed.
5701 ac_i
=`echo "$ac_i" |
5702 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5704 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5705 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5709 LTLIBOBJS
=$ac_ltlibobjs
5712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5713 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5714 Usually this means the macro was only invoked conditionally." >&5
5715 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5716 Usually this means the macro was only invoked conditionally." >&2;}
5717 { (exit 1); exit 1; }; }
5719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5720 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5721 Usually this means the macro was only invoked conditionally." >&5
5722 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5723 Usually this means the macro was only invoked conditionally." >&2;}
5724 { (exit 1); exit 1; }; }
5726 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5727 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5728 Usually this means the macro was only invoked conditionally." >&5
5729 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5730 Usually this means the macro was only invoked conditionally." >&2;}
5731 { (exit 1); exit 1; }; }
5733 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
5734 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
5735 Usually this means the macro was only invoked conditionally." >&5
5736 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
5737 Usually this means the macro was only invoked conditionally." >&2;}
5738 { (exit 1); exit 1; }; }
5740 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
5741 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
5742 Usually this means the macro was only invoked conditionally." >&5
5743 echo "$as_me: error: conditional \"GCC\" was never defined.
5744 Usually this means the macro was only invoked conditionally." >&2;}
5745 { (exit 1); exit 1; }; }
5747 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
5748 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5749 Usually this means the macro was only invoked conditionally." >&5
5750 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5751 Usually this means the macro was only invoked conditionally." >&2;}
5752 { (exit 1); exit 1; }; }
5754 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
5755 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
5756 Usually this means the macro was only invoked conditionally." >&5
5757 echo "$as_me: error: conditional \"TLS\" was never defined.
5758 Usually this means the macro was only invoked conditionally." >&2;}
5759 { (exit 1); exit 1; }; }
5761 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5762 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5763 Usually this means the macro was only invoked conditionally." >&5
5764 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5765 Usually this means the macro was only invoked conditionally." >&2;}
5766 { (exit 1); exit 1; }; }
5769 : ${CONFIG_STATUS=./config.status}
5770 ac_clean_files_save
=$ac_clean_files
5771 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5774 cat >$CONFIG_STATUS <<_ACEOF
5776 # Generated by $as_me.
5777 # Run this file to recreate the current configuration.
5778 # Compiler output produced by configure, useful for debugging
5779 # configure, is in config.log if it exists.
5784 SHELL=\${CONFIG_SHELL-$SHELL}
5787 cat >>$CONFIG_STATUS <<\_ACEOF
5788 ## --------------------- ##
5789 ## M4sh Initialization. ##
5790 ## --------------------- ##
5792 # Be Bourne compatible
5793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5797 # is contrary to our usage. Disable this feature.
5798 alias -g '${1+"$@"}'='"$@"'
5799 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5802 DUALCASE
=1; export DUALCASE
# for MKS sh
5804 # Support unset when possible.
5805 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5812 # Work around bugs in pre-3.0 UWIN ksh.
5813 $as_unset ENV MAIL MAILPATH
5820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5822 LC_TELEPHONE LC_TIME
5824 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5825 eval $as_var=C
; export $as_var
5831 # Required to use basename.
5832 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5838 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5839 as_basename
=basename
5845 # Name of the executable.
5846 as_me
=`$as_basename "$0" ||
5847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5848 X"$0" : 'X\(//\)$' \| \
5849 X"$0" : 'X\(/\)$' \| \
5850 . : '\(.\)' 2>/dev/null ||
5852 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5853 /^X\/\(\/\/\)$/{ s//\1/; q; }
5854 /^X\/\(\/\).*/{ s//\1/; q; }
5858 # PATH needs CR, and LINENO needs CR and PATH.
5859 # Avoid depending upon Character Ranges.
5860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5863 as_cr_digits
='0123456789'
5864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5866 # The user is always right.
5867 if test "${PATH_SEPARATOR+set}" != set; then
5868 echo "#! /bin/sh" >conf$$.sh
5869 echo "exit 0" >>conf$$.sh
5871 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5882 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5883 test "x$as_lineno_1" != "x$as_lineno_2" &&
5884 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5885 # Find who we are. Look in the path if we contain no path at all
5888 *[\\/]* ) as_myself
=$0 ;;
5889 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir
=.
5894 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5899 # We did not find ourselves, most probably we were run as `sh COMMAND'
5900 # in which case we are not to be found in the path.
5901 if test "x$as_myself" = x
; then
5904 if test ! -f "$as_myself"; then
5905 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5906 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5907 { (exit 1); exit 1; }; }
5909 case $CONFIG_SHELL in
5911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5912 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5915 test -z "$as_dir" && as_dir
=.
5916 for as_base
in sh bash ksh sh5
; do
5919 if ("$as_dir/$as_base" -c '
5922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5923 test "x$as_lineno_1" != "x$as_lineno_2" &&
5924 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5925 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5926 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5927 CONFIG_SHELL
=$as_dir/$as_base
5929 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5937 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5938 # uniformly replaced by the line number. The first 'sed' inserts a
5939 # line-number line before each line; the second 'sed' does the real
5940 # work. The second script uses 'N' to pair each line-number line
5941 # with the numbered line, and appends trailing '-' during
5942 # substitution so that $LINENO is not a special case at line end.
5943 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5944 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5945 sed '=' <$as_myself |
5950 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5953 s,^['$as_cr_digits']*\n,,
5955 chmod +x
$as_me.lineno ||
5956 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5957 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5958 { (exit 1); exit 1; }; }
5960 # Don't try to exec as it changes $[0], causing all sort of problems
5961 # (the dirname of $[0] is not the place where we might find the
5962 # original and so on. Autoconf is especially sensible to this).
5964 # Exit status is that of the last command.
5969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5970 *c
*,-n*) ECHO_N
= ECHO_C
='
5972 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5973 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5976 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5982 rm -f conf$$ conf$$.exe conf$$.
file
5984 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5985 # We could just check for DJGPP; but this test a) works b) is more generic
5986 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5987 if test -f conf$$.exe
; then
5988 # Don't use ln at all; we don't have any links
5993 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5998 rm -f conf$$ conf$$.exe conf$$.
file
6000 if mkdir
-p .
2>/dev
/null
; then
6003 test -d .
/-p && rmdir .
/-p
6007 as_executable_p
="test -f"
6009 # Sed expression to map a string onto a valid CPP name.
6010 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6012 # Sed expression to map a string onto a valid variable name.
6013 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6017 # We need space, tab and new line, in precisely that order.
6027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6028 # report actual input values of CONFIG_FILES etc. instead of their
6029 # values after options handling. Logging --version etc. is OK.
6033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6034 ## Running $as_me. ##
6039 This file was extended by gold $as_me 0.1, which was
6040 generated by GNU Autoconf 2.59. Invocation command line was
6042 CONFIG_FILES = $CONFIG_FILES
6043 CONFIG_HEADERS = $CONFIG_HEADERS
6044 CONFIG_LINKS = $CONFIG_LINKS
6045 CONFIG_COMMANDS = $CONFIG_COMMANDS
6049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6053 # Files that config.status was made for.
6054 if test -n "$ac_config_files"; then
6055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6058 if test -n "$ac_config_headers"; then
6059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6062 if test -n "$ac_config_links"; then
6063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6066 if test -n "$ac_config_commands"; then
6067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6070 cat >>$CONFIG_STATUS <<\_ACEOF
6073 \`$as_me' instantiates files from templates according to the
6074 current configuration.
6076 Usage: $0 [OPTIONS] [FILE]...
6078 -h, --help print this help, then exit
6079 -V, --version print version number, then exit
6080 -q, --quiet do not print progress messages
6081 -d, --debug don't remove temporary files
6082 --recheck update $as_me by reconfiguring in the same conditions
6083 --file=FILE[:TEMPLATE]
6084 instantiate the configuration file FILE
6085 --header=FILE[:TEMPLATE]
6086 instantiate the configuration header FILE
6088 Configuration files:
6091 Configuration headers:
6094 Configuration commands:
6097 Report bugs to <bug-autoconf@gnu.org>."
6100 cat >>$CONFIG_STATUS <<_ACEOF
6102 gold config.status 0.1
6103 configured by $0, generated by GNU Autoconf 2.59,
6104 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6106 Copyright (C) 2003 Free Software Foundation, Inc.
6107 This config.status script is free software; the Free Software Foundation
6108 gives unlimited permission to copy, distribute and modify it."
6113 cat >>$CONFIG_STATUS <<\_ACEOF
6114 # If no file are specified by the user, then we need to provide default
6115 # value. By we need to know if files were specified by the user.
6121 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6122 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6130 *) # This is not an option, so the user has probably given explicit
6133 ac_need_defaults
=false
;;
6137 # Handling of the options.
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6140 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6142 --version |
--vers* |
-V )
6143 echo "$ac_cs_version"; exit 0 ;;
6145 # Conflict between --help and --header
6146 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6147 Try \`$0 --help' for more information." >&5
6148 echo "$as_me: error: ambiguous option: $1
6149 Try \`$0 --help' for more information." >&2;}
6150 { (exit 1); exit 1; }; };;
6151 --help |
--hel |
-h )
6152 echo "$ac_cs_usage"; exit 0 ;;
6153 --debug |
--d* |
-d )
6155 --file |
--fil |
--fi |
--f )
6157 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6158 ac_need_defaults
=false
;;
6159 --header |
--heade |
--head |
--hea )
6161 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6162 ac_need_defaults
=false
;;
6163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6164 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6168 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6169 Try \`$0 --help' for more information." >&5
6170 echo "$as_me: error: unrecognized option: $1
6171 Try \`$0 --help' for more information." >&2;}
6172 { (exit 1); exit 1; }; } ;;
6174 *) ac_config_targets
="$ac_config_targets $1" ;;
6180 ac_configure_extra_args
=
6182 if $ac_cs_silent; then
6184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6188 cat >>$CONFIG_STATUS <<_ACEOF
6189 if \$ac_cs_recheck; then
6190 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6191 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6196 cat >>$CONFIG_STATUS <<_ACEOF
6198 # INIT-COMMANDS section.
6201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6202 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
6203 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
6205 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6206 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6207 LINGUAS="${LINGUAS-%UNSET%}"
6214 cat >>$CONFIG_STATUS <<\_ACEOF
6215 for ac_config_target
in $ac_config_targets
6217 case "$ac_config_target" in
6218 # Handling of arguments.
6219 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6220 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
6221 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
6222 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6223 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6224 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6227 { (exit 1); exit 1; }; };;
6231 # If the user did not use the arguments to specify the items to instantiate,
6232 # then the envvar interface is used. Set only those that are not.
6233 # We use the long form for the default assignment because of an extremely
6234 # bizarre bug on SunOS 4.1.3.
6235 if $ac_need_defaults; then
6236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6238 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6241 # Have a temporary directory for convenience. Make it in the build tree
6242 # simply because there is no reason to put it here, and in addition,
6243 # creating and moving files from /tmp can sometimes cause problems.
6244 # Create a temporary directory, and hook for its removal unless debugging.
6247 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6248 trap '{ (exit 1); exit 1; }' 1 2 13 15
6251 # Create a (secure) tmp directory for tmp files.
6254 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6255 test -n "$tmp" && test -d "$tmp"
6258 tmp
=.
/confstat$$
-$RANDOM
6259 (umask 077 && mkdir
$tmp)
6262 echo "$me: cannot create a temporary directory in ." >&2
6263 { (exit 1); exit 1; }
6268 cat >>$CONFIG_STATUS <<_ACEOF
6271 # CONFIG_FILES section.
6274 # No need to generate the scripts if there are no CONFIG_FILES.
6275 # This happens for instance when ./config.status config.h
6276 if test -n "\$CONFIG_FILES"; then
6277 # Protect against being on the right side of a sed subst in config.status.
6278 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6279 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6280 s,@SHELL@,$SHELL,;t t
6281 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6282 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6283 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6284 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6285 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6286 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6287 s,@exec_prefix@,$exec_prefix,;t t
6288 s,@prefix@,$prefix,;t t
6289 s,@program_transform_name@,$program_transform_name,;t t
6290 s,@bindir@,$bindir,;t t
6291 s,@sbindir@,$sbindir,;t t
6292 s,@libexecdir@,$libexecdir,;t t
6293 s,@datadir@,$datadir,;t t
6294 s,@sysconfdir@,$sysconfdir,;t t
6295 s,@sharedstatedir@,$sharedstatedir,;t t
6296 s,@localstatedir@,$localstatedir,;t t
6297 s,@libdir@,$libdir,;t t
6298 s,@includedir@,$includedir,;t t
6299 s,@oldincludedir@,$oldincludedir,;t t
6300 s,@infodir@,$infodir,;t t
6301 s,@mandir@,$mandir,;t t
6302 s,@build_alias@,$build_alias,;t t
6303 s,@host_alias@,$host_alias,;t t
6304 s,@target_alias@,$target_alias,;t t
6306 s,@ECHO_C@,$ECHO_C,;t t
6307 s,@ECHO_N@,$ECHO_N,;t t
6308 s,@ECHO_T@,$ECHO_T,;t t
6310 s,@build@,$build,;t t
6311 s,@build_cpu@,$build_cpu,;t t
6312 s,@build_vendor@,$build_vendor,;t t
6313 s,@build_os@,$build_os,;t t
6315 s,@host_cpu@,$host_cpu,;t t
6316 s,@host_vendor@,$host_vendor,;t t
6317 s,@host_os@,$host_os,;t t
6318 s,@target@,$target,;t t
6319 s,@target_cpu@,$target_cpu,;t t
6320 s,@target_vendor@,$target_vendor,;t t
6321 s,@target_os@,$target_os,;t t
6322 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6323 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6324 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6325 s,@CYGPATH_W@,$CYGPATH_W,;t t
6326 s,@PACKAGE@,$PACKAGE,;t t
6327 s,@VERSION@,$VERSION,;t t
6328 s,@ACLOCAL@,$ACLOCAL,;t t
6329 s,@AUTOCONF@,$AUTOCONF,;t t
6330 s,@AUTOMAKE@,$AUTOMAKE,;t t
6331 s,@AUTOHEADER@,$AUTOHEADER,;t t
6332 s,@MAKEINFO@,$MAKEINFO,;t t
6333 s,@install_sh@,$install_sh,;t t
6334 s,@STRIP@,$STRIP,;t t
6335 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6336 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6337 s,@mkdir_p@,$mkdir_p,;t t
6339 s,@SET_MAKE@,$SET_MAKE,;t t
6340 s,@am__leading_dot@,$am__leading_dot,;t t
6341 s,@AMTAR@,$AMTAR,;t t
6342 s,@am__tar@,$am__tar,;t t
6343 s,@am__untar@,$am__untar,;t t
6344 s,@TARGETOBJS@,$TARGETOBJS,;t t
6346 s,@CFLAGS@,$CFLAGS,;t t
6347 s,@LDFLAGS@,$LDFLAGS,;t t
6348 s,@CPPFLAGS@,$CPPFLAGS,;t t
6349 s,@ac_ct_CC@,$ac_ct_CC,;t t
6350 s,@EXEEXT@,$EXEEXT,;t t
6351 s,@OBJEXT@,$OBJEXT,;t t
6352 s,@DEPDIR@,$DEPDIR,;t t
6353 s,@am__include@,$am__include,;t t
6354 s,@am__quote@,$am__quote,;t t
6355 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6356 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6357 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6358 s,@CCDEPMODE@,$CCDEPMODE,;t t
6359 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6360 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6362 s,@CXXFLAGS@,$CXXFLAGS,;t t
6363 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6364 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6365 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6366 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6368 s,@RANLIB@,$RANLIB,;t t
6369 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6371 s,@USE_NLS@,$USE_NLS,;t t
6372 s,@LIBINTL@,$LIBINTL,;t t
6373 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6374 s,@INCINTL@,$INCINTL,;t t
6375 s,@XGETTEXT@,$XGETTEXT,;t t
6376 s,@GMSGFMT@,$GMSGFMT,;t t
6377 s,@POSUB@,$POSUB,;t t
6378 s,@CATALOGS@,$CATALOGS,;t t
6379 s,@DATADIRNAME@,$DATADIRNAME,;t t
6380 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6381 s,@GENCAT@,$GENCAT,;t t
6382 s,@CATOBJEXT@,$CATOBJEXT,;t t
6383 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6384 s,@MSGFMT@,$MSGFMT,;t t
6385 s,@MSGMERGE@,$MSGMERGE,;t t
6386 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
6387 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
6388 s,@GCC_TRUE@,$GCC_TRUE,;t t
6389 s,@GCC_FALSE@,$GCC_FALSE,;t t
6390 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
6391 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
6392 s,@TLS_TRUE@,$TLS_TRUE,;t t
6393 s,@TLS_FALSE@,$TLS_FALSE,;t t
6394 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6395 s,@NO_WERROR@,$NO_WERROR,;t t
6396 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
6397 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
6398 s,@LIBOBJS@,$LIBOBJS,;t t
6399 s,@CXXCPP@,$CXXCPP,;t t
6400 s,@EGREP@,$EGREP,;t t
6401 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6402 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6403 s,@MAINT@,$MAINT,;t t
6404 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6409 cat >>$CONFIG_STATUS <<\_ACEOF
6410 # Split the substitutions into bite-sized pieces for seds with
6411 # small command number limits, like on Digital OSF/1 and HP-UX.
6413 ac_sed_frag
=1 # Number of current file.
6414 ac_beg
=1 # First line for current file.
6415 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6418 while $ac_more_lines; do
6419 if test $ac_beg -gt 1; then
6420 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6422 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6424 if test ! -s $tmp/subs.frag
; then
6427 # The purpose of the label and of the branching condition is to
6428 # speed up the sed processing (if there are no `@' at all, there
6429 # is no need to browse any of the substitutions).
6430 # These are the two extra sed commands mentioned above.
6432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6433 if test -z "$ac_sed_cmds"; then
6434 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6436 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6438 ac_sed_frag
=`expr $ac_sed_frag + 1`
6440 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6443 if test -z "$ac_sed_cmds"; then
6446 fi # test -n "$CONFIG_FILES"
6449 cat >>$CONFIG_STATUS <<\_ACEOF
6450 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6451 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6453 - |
*:- |
*:-:* ) # input from stdin
6455 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6456 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6457 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6458 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6459 * ) ac_file_in
=$ac_file.
in ;;
6462 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6463 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6465 X"$ac_file" : 'X\(//\)[^/]' \| \
6466 X"$ac_file" : 'X\(//\)$' \| \
6467 X"$ac_file" : 'X\(/\)' \| \
6468 . : '\(.\)' 2>/dev/null ||
6470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6472 /^X\(\/\/\)$/{ s//\1/; q; }
6473 /^X\(\/\).*/{ s//\1/; q; }
6475 { if $as_mkdir_p; then
6480 while test ! -d "$as_dir"; do
6481 as_dirs
="$as_dir $as_dirs"
6482 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6484 X"$as_dir" : 'X\(//\)[^/]' \| \
6485 X"$as_dir" : 'X\(//\)$' \| \
6486 X"$as_dir" : 'X\(/\)' \| \
6487 . : '\(.\)' 2>/dev/null ||
6489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6491 /^X\(\/\/\)$/{ s//\1/; q; }
6492 /^X\(\/\).*/{ s//\1/; q; }
6495 test ! -n "$as_dirs" || mkdir
$as_dirs
6496 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6498 { (exit 1); exit 1; }; }; }
6502 if test "$ac_dir" != .
; then
6503 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6504 # A "../" for each directory in $ac_dir_suffix.
6505 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6507 ac_dir_suffix
= ac_top_builddir
=
6511 .
) # No --srcdir option. We are building in place.
6513 if test -z "$ac_top_builddir"; then
6516 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6518 [\\/]* | ?
:[\\/]* ) # Absolute path.
6519 ac_srcdir
=$srcdir$ac_dir_suffix;
6520 ac_top_srcdir
=$srcdir ;;
6522 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6523 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6526 # Do not use `cd foo && pwd` to compute absolute paths, because
6527 # the directories may not exist.
6529 .
) ac_abs_builddir
="$ac_dir";;
6532 .
) ac_abs_builddir
=`pwd`;;
6533 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6534 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6537 case $ac_abs_builddir in
6538 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6540 case ${ac_top_builddir}.
in
6541 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6542 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6543 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6546 case $ac_abs_builddir in
6547 .
) ac_abs_srcdir
=$ac_srcdir;;
6550 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6551 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6552 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6555 case $ac_abs_builddir in
6556 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6558 case $ac_top_srcdir in
6559 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6560 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6561 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6567 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6568 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6571 if test x
"$ac_file" != x-
; then
6572 { echo "$as_me:$LINENO: creating $ac_file" >&5
6573 echo "$as_me: creating $ac_file" >&6;}
6576 # Let's still pretend it is `configure' which instantiates (i.e., don't
6577 # use $as_me), people would be surprised to read:
6578 # /* config.h. Generated by config.status. */
6579 if test x
"$ac_file" = x-
; then
6582 configure_input
="$ac_file. "
6584 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6585 sed 's,.*/,,'` by configure."
6587 # First look for the input files in the build tree, otherwise in the
6589 ac_file_inputs
=`IFS=:
6590 for f in $ac_file_in; do
6592 -) echo $tmp/stdin ;;
6594 # Absolute (can't be DOS-style, as IFS=:)
6595 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6596 echo "$as_me: error: cannot find input file: $f" >&2;}
6597 { (exit 1); exit 1; }; }
6600 if test -f "$f"; then
6603 elif test -f "$srcdir/$f"; then
6608 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6609 echo "$as_me: error: cannot find input file: $f" >&2;}
6610 { (exit 1); exit 1; }; }
6613 done` ||
{ (exit 1); exit 1; }
6615 cat >>$CONFIG_STATUS <<_ACEOF
6619 cat >>$CONFIG_STATUS <<\_ACEOF
6621 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6622 s
,@configure_input@
,$configure_input,;t t
6623 s
,@srcdir@
,$ac_srcdir,;t t
6624 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6625 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6626 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6627 s
,@builddir@
,$ac_builddir,;t t
6628 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6629 s
,@top_builddir@
,$ac_top_builddir,;t t
6630 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6631 s
,@INSTALL@
,$ac_INSTALL,;t t
6632 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6634 if test x"$ac_file" != x-; then
6635 mv $tmp/out $ac_file
6643 cat >>$CONFIG_STATUS <<\_ACEOF
6646 # CONFIG_HEADER section.
6649 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6650 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6652 # ac_d sets the value in "#define NAME VALUE" lines.
6653 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6654 ac_dB
='[ ].*$,\1#\2'
6657 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6658 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6659 ac_uB
='$,\1#\2define\3'
6663 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6664 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6666 - |
*:- |
*:-:* ) # input from stdin
6668 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6669 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6670 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6671 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6672 * ) ac_file_in
=$ac_file.
in ;;
6675 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6676 echo "$as_me: creating $ac_file" >&6;}
6678 # First look for the input files in the build tree, otherwise in the
6680 ac_file_inputs
=`IFS=:
6681 for f in $ac_file_in; do
6683 -) echo $tmp/stdin ;;
6685 # Absolute (can't be DOS-style, as IFS=:)
6686 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6687 echo "$as_me: error: cannot find input file: $f" >&2;}
6688 { (exit 1); exit 1; }; }
6689 # Do quote $f, to prevent DOS paths from being IFS'd.
6692 if test -f "$f"; then
6695 elif test -f "$srcdir/$f"; then
6700 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6701 echo "$as_me: error: cannot find input file: $f" >&2;}
6702 { (exit 1); exit 1; }; }
6705 done` ||
{ (exit 1); exit 1; }
6706 # Remove the trailing spaces.
6707 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6711 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6712 # `conftest.undefs', that substitutes the proper values into
6713 # config.h.in to produce config.h. The first handles `#define'
6714 # templates, and the second `#undef' templates.
6715 # And first: Protect against being on the right side of a sed subst in
6716 # config.status. Protect against being in an unquoted here document
6718 rm -f conftest.defines conftest.undefs
6719 # Using a here document instead of a string reduces the quoting nightmare.
6720 # Putting comments in sed scripts is not portable.
6722 # `end' is used to avoid that the second main sed command (meant for
6723 # 0-ary CPP macros) applies to n-ary macro definitions.
6724 # See the Autoconf documentation for `clear'.
6725 cat >confdef2sed.
sed <<\_ACEOF
6730 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6732 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6735 # If some macros were called several times there might be several times
6736 # the same #defines, which is useless. Nevertheless, we may not want to
6737 # sort them, since we want the *last* AC-DEFINE to be honored.
6738 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6739 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6740 rm -f confdef2sed.sed
6742 # This sed command replaces #undef with comments. This is necessary, for
6743 # example, in the case of _POSIX_SOURCE, which is predefined and required
6744 # on some systems where configure will not decide to define it.
6745 cat >>conftest.undefs <<\_ACEOF
6746 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6749 # Break up conftest.defines because some shells have a limit on the size
6750 # of here documents, and old seds have small limits too (100 cmds).
6751 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6752 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6753 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6754 echo ' :' >>$CONFIG_STATUS
6756 while grep . conftest.defines >/dev/null
6758 # Write a limited-size here document to $tmp/defines.sed.
6759 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6760 # Speed up: don't consider the non `#define' lines.
6761 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6762 # Work around the forget-to-reset-the-flag bug.
6763 echo 't clr' >>$CONFIG_STATUS
6764 echo ': clr' >>$CONFIG_STATUS
6765 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6767 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6771 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6772 rm -f conftest.defines
6773 mv conftest.
tail conftest.defines
6775 rm -f conftest.defines
6776 echo ' fi # grep' >>$CONFIG_STATUS
6777 echo >>$CONFIG_STATUS
6779 # Break up conftest.undefs because some shells have a limit on the size
6780 # of here documents, and old seds have small limits too (100 cmds).
6781 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6783 while grep . conftest.undefs
>/dev
/null
6785 # Write a limited-size here document to $tmp/undefs.sed.
6786 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6787 # Speed up: don't consider the non
`#undef'
6788 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6789 # Work around the forget-to-reset-the-flag bug.
6790 echo 't clr' >>$CONFIG_STATUS
6791 echo ': clr' >>$CONFIG_STATUS
6792 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6794 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6798 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6799 rm -f conftest.undefs
6800 mv conftest.tail conftest.undefs
6802 rm -f conftest.undefs
6804 cat >>$CONFIG_STATUS <<\_ACEOF
6805 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6806 # use $as_me), people would be surprised to read:
6807 # /* config.h. Generated by config.status. */
6808 if test x
"$ac_file" = x-
; then
6809 echo "/* Generated by configure. */" >$tmp/config.h
6811 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6813 cat $tmp/in >>$tmp/config.h
6815 if test x
"$ac_file" != x-
; then
6816 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6817 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6818 echo "$as_me: $ac_file is unchanged" >&6;}
6820 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6822 X"$ac_file" : 'X\(//\)[^/]' \| \
6823 X"$ac_file" : 'X\(//\)$' \| \
6824 X"$ac_file" : 'X\(/\)' \| \
6825 . : '\(.\)' 2>/dev/null ||
6827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6829 /^X\(\/\/\)$/{ s//\1/; q; }
6830 /^X\(\/\).*/{ s//\1/; q; }
6832 { if $as_mkdir_p; then
6837 while test ! -d "$as_dir"; do
6838 as_dirs
="$as_dir $as_dirs"
6839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6841 X"$as_dir" : 'X\(//\)[^/]' \| \
6842 X"$as_dir" : 'X\(//\)$' \| \
6843 X"$as_dir" : 'X\(/\)' \| \
6844 . : '\(.\)' 2>/dev/null ||
6846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6848 /^X\(\/\/\)$/{ s//\1/; q; }
6849 /^X\(\/\).*/{ s//\1/; q; }
6852 test ! -n "$as_dirs" || mkdir
$as_dirs
6853 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6855 { (exit 1); exit 1; }; }; }
6858 mv $tmp/config.h
$ac_file
6864 # Compute $ac_file's index in $config_headers.
6866 for _am_header
in $config_headers :; do
6868 $ac_file |
$ac_file:* )
6871 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6874 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6875 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6876 X$ac_file : 'X\(//\)[^/]' \| \
6877 X$ac_file : 'X\(//\)$' \| \
6878 X$ac_file : 'X\(/\)' \| \
6879 . : '\(.\)' 2>/dev/null ||
6881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6883 /^X\(\/\/\)$/{ s//\1/; q; }
6884 /^X\(\/\).*/{ s//\1/; q; }
6885 s/.*/./; q'`/stamp-h
$_am_stamp_count
6888 cat >>$CONFIG_STATUS <<\_ACEOF
6891 # CONFIG_COMMANDS section.
6893 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6894 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6895 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6896 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6897 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6898 X"$ac_dest" : 'X\(//\)[^/]' \| \
6899 X"$ac_dest" : 'X\(//\)$' \| \
6900 X"$ac_dest" : 'X\(/\)' \| \
6901 . : '\(.\)' 2>/dev/null ||
6903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6905 /^X\(\/\/\)$/{ s//\1/; q; }
6906 /^X\(\/\).*/{ s//\1/; q; }
6908 { if $as_mkdir_p; then
6913 while test ! -d "$as_dir"; do
6914 as_dirs
="$as_dir $as_dirs"
6915 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6917 X"$as_dir" : 'X\(//\)[^/]' \| \
6918 X"$as_dir" : 'X\(//\)$' \| \
6919 X"$as_dir" : 'X\(/\)' \| \
6920 . : '\(.\)' 2>/dev/null ||
6922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6924 /^X\(\/\/\)$/{ s//\1/; q; }
6925 /^X\(\/\).*/{ s//\1/; q; }
6928 test ! -n "$as_dirs" || mkdir
$as_dirs
6929 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6930 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6931 { (exit 1); exit 1; }; }; }
6935 if test "$ac_dir" != .
; then
6936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6937 # A "../" for each directory in $ac_dir_suffix.
6938 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6940 ac_dir_suffix
= ac_top_builddir
=
6944 .
) # No --srcdir option. We are building in place.
6946 if test -z "$ac_top_builddir"; then
6949 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6951 [\\/]* | ?
:[\\/]* ) # Absolute path.
6952 ac_srcdir
=$srcdir$ac_dir_suffix;
6953 ac_top_srcdir
=$srcdir ;;
6955 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6956 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6959 # Do not use `cd foo && pwd` to compute absolute paths, because
6960 # the directories may not exist.
6962 .
) ac_abs_builddir
="$ac_dir";;
6965 .
) ac_abs_builddir
=`pwd`;;
6966 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6967 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6970 case $ac_abs_builddir in
6971 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6973 case ${ac_top_builddir}.
in
6974 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6975 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6976 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6979 case $ac_abs_builddir in
6980 .
) ac_abs_srcdir
=$ac_srcdir;;
6983 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6984 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6985 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6988 case $ac_abs_builddir in
6989 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6991 case $ac_top_srcdir in
6992 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6993 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6994 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6999 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7000 echo "$as_me: executing $ac_dest commands" >&6;}
7002 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7003 # Strip MF so we end up with the name of the file.
7004 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7005 # Check whether this is an Automake generated Makefile or not.
7006 # We used to match only the files named `Makefile.in', but
7007 # some people rename them; so instead we look at the file content.
7008 # Grep'ing the first line is not enough: some people post-process
7009 # each Makefile.in and add a new line on top of each file to say so.
7010 # So let's grep whole file.
7011 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7012 dirpart
=`(dirname "$mf") 2>/dev/null ||
7013 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7014 X"$mf" : 'X\(//\)[^/]' \| \
7015 X"$mf" : 'X\(//\)$' \| \
7016 X"$mf" : 'X\(/\)' \| \
7017 . : '\(.\)' 2>/dev/null ||
7019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7021 /^X\(\/\/\)$/{ s//\1/; q; }
7022 /^X\(\/\).*/{ s//\1/; q; }
7027 # Extract the definition of DEPDIR, am__include, and am__quote
7028 # from the Makefile without running `make'.
7029 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7030 test -z "$DEPDIR" && continue
7031 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7032 test -z "am__include" && continue
7033 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7034 # When using ansi2knr, U may be empty or an underscore; expand it
7035 U
=`sed -n 's/^U = //p' < "$mf"`
7036 # Find all dependency output files, they are included files with
7037 # $(DEPDIR) in their names. We invoke sed twice because it is the
7038 # simplest approach to changing $(DEPDIR) to its actual value in the
7040 for file in `sed -n "
7041 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7042 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7043 # Make sure the directory exists.
7044 test -f "$dirpart/$file" && continue
7045 fdir
=`(dirname "$file") 2>/dev/null ||
7046 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7047 X"$file" : 'X\(//\)[^/]' \| \
7048 X"$file" : 'X\(//\)$' \| \
7049 X"$file" : 'X\(/\)' \| \
7050 . : '\(.\)' 2>/dev/null ||
7052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7054 /^X\(\/\/\)$/{ s//\1/; q; }
7055 /^X\(\/\).*/{ s//\1/; q; }
7057 { if $as_mkdir_p; then
7058 mkdir
-p $dirpart/$fdir
7060 as_dir
=$dirpart/$fdir
7062 while test ! -d "$as_dir"; do
7063 as_dirs
="$as_dir $as_dirs"
7064 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7066 X"$as_dir" : 'X\(//\)[^/]' \| \
7067 X"$as_dir" : 'X\(//\)$' \| \
7068 X"$as_dir" : 'X\(/\)' \| \
7069 . : '\(.\)' 2>/dev/null ||
7071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7073 /^X\(\/\/\)$/{ s//\1/; q; }
7074 /^X\(\/\).*/{ s//\1/; q; }
7077 test ! -n "$as_dirs" || mkdir
$as_dirs
7078 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7079 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7080 { (exit 1); exit 1; }; }; }
7082 # echo "creating $dirpart/$file"
7083 echo '# dummy' > "$dirpart/$file"
7088 for ac_file
in $CONFIG_FILES; do
7089 # Support "outfile[:infile[:infile...]]"
7091 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7093 # PO directories have a Makefile.in generated from Makefile.in.in.
7094 case "$ac_file" in */Makefile.
in)
7095 # Adjust a relative srcdir.
7096 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7097 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
7098 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7099 # In autoconf-2.13 it is called $ac_given_srcdir.
7100 # In autoconf-2.50 it is called $srcdir.
7101 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
7102 case "$ac_given_srcdir" in
7103 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
7104 /*) top_srcdir
="$ac_given_srcdir" ;;
7105 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7107 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7108 rm -f "$ac_dir/POTFILES"
7109 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
7110 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7111 POMAKEFILEDEPS
="POTFILES.in"
7112 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
7113 # on $ac_dir but don't depend on user-specified configuration
7115 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7116 # The LINGUAS file contains the set of available languages.
7117 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7118 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
7120 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7121 # Hide the ALL_LINGUAS assigment from automake.
7122 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7123 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
7125 # The set of available languages was given in configure.in.
7126 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7128 case "$ac_given_srcdir" in
7130 *) srcdirpre
='$(srcdir)/' ;;
7136 for lang
in $ALL_LINGUAS; do
7137 POFILES
="$POFILES $srcdirpre$lang.po"
7138 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
7139 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
7140 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
7142 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7143 # environment variable.
7145 if test -n "$ALL_LINGUAS"; then
7146 for presentlang
in $ALL_LINGUAS; do
7148 if test "%UNSET%" != "$LINGUAS"; then
7149 desiredlanguages
="$LINGUAS"
7151 desiredlanguages
="$ALL_LINGUAS"
7153 for desiredlang
in $desiredlanguages; do
7154 # Use the presentlang catalog if desiredlang is
7155 # a. equal to presentlang, or
7156 # b. a variant of presentlang (because in this case,
7157 # presentlang can be used as a fallback for messages
7158 # which are not translated in the desiredlang catalog).
7159 case "$desiredlang" in
7160 "$presentlang"*) useit
=yes;;
7163 if test $useit = yes; then
7164 INST_LINGUAS
="$INST_LINGUAS $presentlang"
7169 if test -n "$INST_LINGUAS"; then
7170 for lang
in $INST_LINGUAS; do
7171 CATALOGS
="$CATALOGS $lang.gmo"
7174 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
7175 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"
7176 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
7177 if test -f "$f"; then
7179 *.orig |
*.bak |
*~
) ;;
7180 *) cat "$f" >> "$ac_dir/Makefile" ;;
7192 cat >>$CONFIG_STATUS <<\_ACEOF
7194 { (exit 0); exit 0; }
7196 chmod +x
$CONFIG_STATUS
7197 ac_clean_files
=$ac_clean_files_save
7200 # configure is writing to config.log, and then calls config.status.
7201 # config.status does its own redirection, appending to config.log.
7202 # Unfortunately, on DOS this fails, as config.log is still kept open
7203 # by configure, so config.status won't be able to write to it; its
7204 # output is simply discarded. So we exec the FD to /dev/null,
7205 # effectively closing config.log, so it can be properly (re)opened and
7206 # appended to by config.status. When coming back to configure, we
7207 # need to make the FD available again.
7208 if test "$no_create" != yes; then
7210 ac_config_status_args
=
7211 test "$silent" = yes &&
7212 ac_config_status_args
="$ac_config_status_args --quiet"
7214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7217 # would make configure fail if this is the last instruction.
7218 $ac_cs_success ||
{ (exit 1); exit 1; }