2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gold 0.1.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
269 PACKAGE_TARNAME='gold'
270 PACKAGE_VERSION='0.1'
271 PACKAGE_STRING='gold 0.1'
274 ac_unique_file="gold.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar THREADS_TRUE THREADS_FALSE TARGETOBJS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC RANLIB ac_ct_RANLIB LN_S USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE NATIVE_LINKER_TRUE NATIVE_LINKER_FALSE GCC_TRUE GCC_FALSE FN_PTRS_IN_SO_WITHOUT_PIC_TRUE FN_PTRS_IN_SO_WITHOUT_PIC_FALSE TLS_TRUE TLS_FALSE STATIC_TLS_TRUE STATIC_TLS_FALSE 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-threads multi-threaded linking
864 --enable-targets alternative target configurations
865 --disable-dependency-tracking speeds up one-time build
866 --enable-dependency-tracking do not reject slow dependency extractors
867 --disable-nls do not use Native Language Support
868 --enable-werror treat compile warnings as errors
869 --enable-build-warnings enable build-time compiler warnings
870 --enable-maintainer-mode enable make rules and dependencies not useful
871 (and sometimes confusing) to the casual installer
874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
876 --with-sysroot=DIR search for usr/lib et al within DIR
878 Some influential environment variables:
879 CC C compiler command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
882 nonstandard directory <lib dir>
883 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
884 headers in a nonstandard directory <include dir>
885 CXX C++ compiler command
886 CXXFLAGS C++ compiler flags
887 CXXCPP C++ preprocessor
889 Use these variables to override the choices made by `configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by gold $as_me 0.1, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1340 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1341 if test -f $ac_dir/install-sh; then
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh; then
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool; then
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1364 # Make sure we can run config.sub.
1365 $ac_config_sub sun4 >/dev/null 2>&1 ||
1366 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1367 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1368 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: checking build system type" >&5
1371 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1372 if test "${ac_cv_build+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 ac_cv_build_alias=$build_alias
1376 test -z "$ac_cv_build_alias" &&
1377 ac_cv_build_alias=`$ac_config_guess`
1378 test -z "$ac_cv_build_alias" &&
1379 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1380 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1381 { (exit 1); exit 1; }; }
1382 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1389 echo "${ECHO_T}$ac_cv_build" >&6
1391 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1392 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1393 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1396 echo "$as_me:$LINENO: checking host system type" >&5
1397 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1398 if test "${ac_cv_host+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 ac_cv_host_alias=$host_alias
1402 test -z "$ac_cv_host_alias" &&
1403 ac_cv_host_alias=$ac_cv_build_alias
1404 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1406 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1407 { (exit 1); exit 1; }; }
1410 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1411 echo "${ECHO_T}$ac_cv_host" >&6
1413 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1414 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1415 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1418 echo "$as_me:$LINENO: checking target system type" >&5
1419 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1420 if test "${ac_cv_target+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 ac_cv_target_alias=$target_alias
1424 test "x$ac_cv_target_alias" = "x" &&
1425 ac_cv_target_alias=$ac_cv_host_alias
1426 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1427 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1428 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1429 { (exit 1); exit 1; }; }
1432 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1433 echo "${ECHO_T}$ac_cv_target" >&6
1434 target=$ac_cv_target
1435 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1436 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1437 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1440 # The aliases save the names the user supplied, while $host etc.
1441 # will get canonicalized.
1442 test -n "$target_alias" &&
1443 test "$program_prefix$program_suffix$program_transform_name" = \
1445 program_prefix=${target_alias}-
1447 am__api_version="1.9"
1448 # Find a good install program. We prefer a C program (faster),
1449 # so one script is as good as another. But avoid the broken or
1450 # incompatible versions:
1451 # SysV /etc/install, /usr/sbin/install
1452 # SunOS /usr/etc/install
1453 # IRIX /sbin/install
1455 # AmigaOS /C/install, which installs bootblocks on floppy discs
1456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1459 # OS/2's system install, which has a completely different semantic
1460 # ./install, which can be erroneously created by make from ./install.sh.
1461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1463 if test -z "$INSTALL"; then
1464 if test "${ac_cv_path_install+set}" = set; then
1465 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471 test -z "$as_dir" && as_dir=.
1472 # Account for people who put trailing slashes in PATH elements.
1474 ./ | .// | /cC/* | \
1475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1476 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1479 # OSF1 and SCO ODT 3.0 have their own names for install.
1480 # Don't use installbsd from OSF since it installs stuff as root
1482 for ac_prog in ginstall scoinst install; do
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1485 if test $ac_prog = install &&
1486 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1487 # AIX install. It has an incompatible calling convention.
1489 elif test $ac_prog = install &&
1490 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1491 # program-specific install script used by HP pwplus--don't use.
1494 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1506 if test "${ac_cv_path_install+set}" = set; then
1507 INSTALL=$ac_cv_path_install
1509 # As a last resort, use the slow shell script. We don't cache a
1510 # path for INSTALL within a source directory, because that will
1511 # break other packages using the cache if that directory is
1512 # removed, or if the path is relative.
1513 INSTALL=$ac_install_sh
1516 echo "$as_me:$LINENO: result: $INSTALL" >&5
1517 echo "${ECHO_T}$INSTALL" >&6
1519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1520 # It thinks the first close brace ends the variable substitution.
1521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1525 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1527 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1528 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1531 echo timestamp > conftest.file
1532 # Do `set' in a subshell so we don't clobber the current shell's
1533 # arguments. Must try -L first in case configure is actually a
1534 # symlink; some systems play weird games with the mod time of symlinks
1535 # (eg FreeBSD returns the mod time of the symlink's containing
1538 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1539 if test "$*" = "X"; then
1541 set X `ls -t $srcdir/configure conftest.file`
1544 if test "$*" != "X $srcdir/configure conftest.file" \
1545 && test "$*" != "X conftest.file $srcdir/configure"; then
1547 # If neither matched, then we have a broken ls. This can happen
1548 # if, for instance, CONFIG_SHELL is bash and it inherits a
1549 # broken ls alias from the environment. This has actually
1550 # happened. Such a system could not be considered "sane".
1551 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1552 alias in your environment" >&5
1553 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1554 alias in your environment" >&2;}
1555 { (exit 1); exit 1; }; }
1558 test "$2" = conftest.file
1564 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1565 Check your system clock" >&5
1566 echo "$as_me: error: newly created file is older than distributed files!
1567 Check your system clock" >&2;}
1568 { (exit 1); exit 1; }; }
1570 echo "$as_me:$LINENO: result: yes" >&5
1571 echo "${ECHO_T}yes" >&6
1572 test "$program_prefix" != NONE &&
1573 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1574 # Use a double $ so make ignores it.
1575 test "$program_suffix" != NONE &&
1576 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1577 # Double any \ or $. echo might interpret backslashes.
1578 # By default was `s,x,x', remove it if useless.
1579 cat <<\_ACEOF >conftest.sed
1580 s/[\\$]/&&/g;s/;s,x,x,$//
1582 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1585 # expand $ac_aux_dir to an absolute path
1586 am_aux_dir=`cd $ac_aux_dir && pwd`
1588 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1589 # Use eval to expand $SHELL
1590 if eval "$MISSING --run true"; then
1591 am_missing_run="$MISSING --run "
1594 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1595 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1598 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1599 # We used to keeping the `.' as first argument, in order to
1600 # allow $(mkdir_p) to be used without argument. As in
1601 # $(mkdir_p) $(somedir)
1602 # where $(somedir) is conditionally defined. However this is wrong
1604 # 1. if the package is installed by a user who cannot write `.'
1605 # make install will fail,
1606 # 2. the above comment should most certainly read
1607 # $(mkdir_p) $(DESTDIR)$(somedir)
1608 # so it does not work when $(somedir) is undefined and
1609 # $(DESTDIR) is not.
1610 # To support the latter case, we have to write
1611 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1612 # so the `.' trick is pointless.
1613 mkdir_p='mkdir -p --'
1615 # On NextStep and OpenStep, the `mkdir' command does not
1616 # recognize any option. It will interpret all options as
1617 # directories to create, and then abort because `.' already
1619 for d in ./-p ./--version;
1621 test -d $d && rmdir $d
1623 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1624 if test -f "$ac_aux_dir/mkinstalldirs"; then
1625 mkdir_p='$(mkinstalldirs)'
1627 mkdir_p='$(install_sh) -d'
1631 for ac_prog in gawk mawk nawk awk
1633 # Extract the first word of "$ac_prog", so it can be a program name with args.
1634 set dummy $ac_prog; ac_word=$2
1635 echo "$as_me:$LINENO: checking for $ac_word" >&5
1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1637 if test "${ac_cv_prog_AWK+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 if test -n "$AWK"; then
1641 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir=.
1648 for ac_exec_ext in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1650 ac_cv_prog_AWK="$ac_prog"
1651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 if test -n "$AWK"; then
1661 echo "$as_me:$LINENO: result: $AWK" >&5
1662 echo "${ECHO_T}$AWK" >&6
1664 echo "$as_me:$LINENO: result: no" >&5
1665 echo "${ECHO_T}no" >&6
1668 test -n "$AWK" && break
1671 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1672 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1673 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1674 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 cat >conftest.make <<\_ACEOF
1679 @echo 'ac_maketemp="$(MAKE)"'
1681 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1682 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1683 if test -n "$ac_maketemp"; then
1684 eval ac_cv_prog_make_${ac_make}_set=yes
1686 eval ac_cv_prog_make_${ac_make}_set=no
1690 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1691 echo "$as_me:$LINENO: result: yes" >&5
1692 echo "${ECHO_T}yes" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1697 SET_MAKE="MAKE=${MAKE-make}"
1700 rm -rf .tst 2>/dev/null
1701 mkdir .tst 2>/dev/null
1702 if test -d .tst; then
1707 rmdir .tst 2>/dev/null
1709 # test to see if srcdir already configured
1710 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1711 test -f $srcdir/config.status; then
1712 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1713 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1714 { (exit 1); exit 1; }; }
1717 # test whether we have cygpath
1718 if test -z "$CYGPATH_W"; then
1719 if (cygpath --version) >/dev/null 2>/dev/null; then
1720 CYGPATH_W='cygpath -w'
1727 # Define the identity of the package.
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE "$PACKAGE"
1737 cat >>confdefs.h <<_ACEOF
1738 #define VERSION "$VERSION"
1741 # Some tools Automake needs.
1743 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1746 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1749 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1752 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1755 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1757 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1759 # Installed binaries are usually stripped using `strip' when the user
1760 # run `make install-strip'. However `strip' might not be the right
1761 # tool to use in cross-compilation environments, therefore Automake
1762 # will honor the `STRIP' environment variable to overrule this program.
1763 if test "$cross_compiling" != no; then
1764 if test -n "$ac_tool_prefix"; then
1765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1766 set dummy ${ac_tool_prefix}strip; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_STRIP+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$STRIP"; then
1773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 STRIP=$ac_cv_prog_STRIP
1792 if test -n "$STRIP"; then
1793 echo "$as_me:$LINENO: result: $STRIP" >&5
1794 echo "${ECHO_T}$STRIP" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1801 if test -z "$ac_cv_prog_STRIP"; then
1803 # Extract the first word of "strip", so it can be a program name with args.
1804 set dummy strip; ac_word=$2
1805 echo "$as_me:$LINENO: checking for $ac_word" >&5
1806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 if test -n "$ac_ct_STRIP"; then
1811 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 test -z "$as_dir" && as_dir=.
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1820 ac_cv_prog_ac_ct_STRIP="strip"
1821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1831 if test -n "$ac_ct_STRIP"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1833 echo "${ECHO_T}$ac_ct_STRIP" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1841 STRIP="$ac_cv_prog_STRIP"
1845 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1847 # We need awk for the "check" target. The system "awk" is bad on
1849 # Always define AMTAR for backward compatibility.
1851 AMTAR=${AMTAR-"${am_missing_run}tar"}
1853 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1860 ac_config_headers="$ac_config_headers config.h:config.in"
1864 # Check whether --with-sysroot or --without-sysroot was given.
1865 if test "${with_sysroot+set}" = set; then
1866 withval="$with_sysroot"
1872 if test "$sysroot" = "yes"; then
1873 sysroot='${exec_prefix}/${target_alias}/sys-root'
1874 elif test "$sysroot" = "no"; then
1878 sysroot_relocatable=0
1879 if test -n "$sysroot"; then
1881 "${prefix}" | "${prefix}/"* | \
1882 "${exec_prefix}" | "${exec_prefix}/"* | \
1883 '${prefix}' | '${prefix}/'*| \
1884 '${exec_prefix}' | '${exec_prefix}/'*)
1885 sysroot_relocatable=1
1891 cat >>confdefs.h <<_ACEOF
1892 #define TARGET_SYSTEM_ROOT "$sysroot"
1896 cat >>confdefs.h <<_ACEOF
1897 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1901 # Check whether --enable-threads or --disable-threads was given.
1902 if test "${enable_threads+set}" = set; then
1903 enableval="$enable_threads"
1904 case "${enableval}" in
1905 yes | "") threads=yes ;;
1912 if test "$threads" = "yes"; then
1914 cat >>confdefs.h <<\_ACEOF
1915 #define ENABLE_THREADS 1
1921 if test "$threads" = "yes"; then
1930 # Check whether --enable-targets or --disable-targets was given.
1931 if test "${enable_targets+set}" = set; then
1932 enableval="$enable_targets"
1933 case "${enableval}" in
1935 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1936 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1937 { (exit 1); exit 1; }; }
1943 enable_targets=$enableval
1947 # For now, enable all targets by default
1952 # Canonicalize the enabled targets.
1953 if test -n "$enable_targets"; then
1954 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
1955 result=`$ac_config_sub $targ 2>/dev/null`
1956 if test -n "$result"; then
1957 canon_targets="$canon_targets $result"
1959 # Permit unrecognized target names, like "all".
1960 canon_targets="$canon_targets $targ"
1965 # See which specific instantiations we need.
1968 for targ in $target $canon_targets; do
1973 if test "$targ" = "all"; then
1983 targetobjs="$targetobjs i386.\$(OBJEXT)"
1987 targetobjs="$targetobjs x86_64.\$(OBJEXT)"
1990 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
1991 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
1992 { (exit 1); exit 1; }; }
1998 if test -n "$targ_32_little"; then
2000 cat >>confdefs.h <<\_ACEOF
2001 #define HAVE_TARGET_32_LITTLE 1
2005 if test -n "$targ_32_big"; then
2007 cat >>confdefs.h <<\_ACEOF
2008 #define HAVE_TARGET_32_BIG 1
2012 if test -n "$targ_64_little"; then
2014 cat >>confdefs.h <<\_ACEOF
2015 #define HAVE_TARGET_64_LITTLE 1
2019 if test -n "$targ_64_big"; then
2021 cat >>confdefs.h <<\_ACEOF
2022 #define HAVE_TARGET_64_BIG 1
2027 if test -n "$all_targets"; then
2028 TARGETOBJS='$(ALL_TARGETOBJS)'
2030 TARGETOBJS="$targetobjs"
2035 ac_cpp='$CPP $CPPFLAGS'
2036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2039 if test -n "$ac_tool_prefix"; then
2040 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2041 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$CC"; then
2048 ac_cv_prog_CC="$CC" # Let the user override the test.
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2076 if test -z "$ac_cv_prog_CC"; then
2078 # Extract the first word of "gcc", so it can be a program name with args.
2079 set dummy gcc; ac_word=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_ac_ct_CC="gcc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2105 if test -n "$ac_ct_CC"; then
2106 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2107 echo "${ECHO_T}$ac_ct_CC" >&6
2109 echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2118 if test -z "$CC"; then
2119 if test -n "$ac_tool_prefix"; then
2120 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2121 set dummy ${ac_tool_prefix}cc; ac_word=$2
2122 echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_prog_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$CC"; then
2128 ac_cv_prog_CC="$CC" # Let the user override the test.
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137 ac_cv_prog_CC="${ac_tool_prefix}cc"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 if test -n "$CC"; then
2148 echo "$as_me:$LINENO: result: $CC" >&5
2149 echo "${ECHO_T}$CC" >&6
2151 echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2156 if test -z "$ac_cv_prog_CC"; then
2158 # Extract the first word of "cc", so it can be a program name with args.
2159 set dummy cc; ac_word=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$ac_ct_CC"; then
2166 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do
2174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 ac_cv_prog_ac_ct_CC="cc"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2185 if test -n "$ac_ct_CC"; then
2186 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2187 echo "${ECHO_T}$ac_ct_CC" >&6
2189 echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2199 if test -z "$CC"; then
2200 # Extract the first word of "cc", so it can be a program name with args.
2201 set dummy cc; ac_word=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_CC+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2218 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2219 ac_prog_rejected=yes
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test $ac_prog_rejected = yes; then
2230 # We found a bogon in the path, so make sure we never use it.
2231 set dummy $ac_cv_prog_CC
2233 if test $# != 0; then
2234 # We chose a different compiler from the bogus one.
2235 # However, it has the same basename, so the bogon will be chosen
2236 # first if we set CC to just the basename; use the full file name.
2238 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2244 if test -n "$CC"; then
2245 echo "$as_me:$LINENO: result: $CC" >&5
2246 echo "${ECHO_T}$CC" >&6
2248 echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6
2253 if test -z "$CC"; then
2254 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$CC"; then
2265 ac_cv_prog_CC="$CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$CC"; then
2285 echo "$as_me:$LINENO: result: $CC" >&5
2286 echo "${ECHO_T}$CC" >&6
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2292 test -n "$CC" && break
2295 if test -z "$CC"; then
2299 # Extract the first word of "$ac_prog", so it can be a program name with args.
2300 set dummy $ac_prog; ac_word=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$ac_ct_CC"; then
2307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_ac_ct_CC="$ac_prog"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2328 echo "${ECHO_T}$ac_ct_CC" >&6
2330 echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2334 test -n "$ac_ct_CC" && break
2343 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&5
2345 echo "$as_me: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&2;}
2347 { (exit 1); exit 1; }; }
2349 # Provide some information about the compiler.
2350 echo "$as_me:$LINENO:" \
2351 "checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2354 (eval $ac_compiler --version </dev/null >&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2359 (eval $ac_compiler -v </dev/null >&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2364 (eval $ac_compiler -V </dev/null >&5) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2392 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2393 (eval $ac_link_default) 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; then
2397 # Find the output, starting from the most likely. This scheme is
2398 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2401 # Be careful to initialize this variable, since it used to be cached.
2402 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404 # b.out is created by i960 compilers.
2405 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2407 test -f "$ac_file" || continue
2409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2412 # This is the source file.
2415 # We found the default executable, but exeext='' is most
2419 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 # FIXME: I believe we export ac_cv_exeext for Libtool,
2421 # but it would be cool to find out if it's true. Does anybody
2422 # maintain Libtool? --akim.
2430 echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2433 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2434 See \`config.log' for more details." >&5
2435 echo "$as_me: error: C compiler cannot create executables
2436 See \`config.log' for more details." >&2;}
2437 { (exit 77); exit 77; }; }
2440 ac_exeext=$ac_cv_exeext
2441 echo "$as_me:$LINENO: result: $ac_file" >&5
2442 echo "${ECHO_T}$ac_file" >&6
2444 # Check the compiler produces executables we can run. If not, either
2445 # the compiler is broken, or we cross compile.
2446 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2447 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2448 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2449 # If not cross compiling, check that we can run a simple program.
2450 if test "$cross_compiling" != yes; then
2451 if { ac_try='./$ac_file'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; }; then
2459 if test "$cross_compiling" = maybe; then
2462 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2463 If you meant to cross compile, use \`--host'.
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: cannot run C compiled programs.
2466 If you meant to cross compile, use \`--host'.
2467 See \`config.log' for more details." >&2;}
2468 { (exit 1); exit 1; }; }
2472 echo "$as_me:$LINENO: result: yes" >&5
2473 echo "${ECHO_T}yes" >&6
2475 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2476 ac_clean_files=$ac_clean_files_save
2477 # Check the compiler produces executables we can run. If not, either
2478 # the compiler is broken, or we cross compile.
2479 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2480 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2481 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2482 echo "${ECHO_T}$cross_compiling" >&6
2484 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2485 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2487 (eval $ac_link) 2>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; then
2491 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2492 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2493 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 for ac_file in conftest.exe conftest conftest.*; do
2496 test -f "$ac_file" || continue
2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2499 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2506 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2507 See \`config.log' for more details." >&5
2508 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&2;}
2510 { (exit 1); exit 1; }; }
2513 rm -f conftest$ac_cv_exeext
2514 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2515 echo "${ECHO_T}$ac_cv_exeext" >&6
2517 rm -f conftest.$ac_ext
2518 EXEEXT=$ac_cv_exeext
2520 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2521 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2522 if test "${ac_cv_objext+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 cat >conftest.$ac_ext <<_ACEOF
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2540 rm -f conftest.o conftest.obj
2541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542 (eval $ac_compile) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2549 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2566 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2567 echo "${ECHO_T}$ac_cv_objext" >&6
2568 OBJEXT=$ac_cv_objext
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2572 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.$ac_ext <<_ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2593 rm -f conftest.$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2597 grep -v '^ *+' conftest.er1 >conftest.err
2599 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -z "$ac_c_werror_flag"
2603 || test ! -s conftest.err'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; } &&
2609 { ac_try='test -s conftest.$ac_objext'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2623 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2626 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2627 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2628 GCC=`test $ac_compiler_gnu = yes && echo yes`
2629 ac_test_CFLAGS=${CFLAGS+set}
2630 ac_save_CFLAGS=$CFLAGS
2632 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2634 if test "${ac_cv_prog_cc_g+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 cat >conftest.$ac_ext <<_ACEOF
2640 cat confdefs.h >>conftest.$ac_ext
2641 cat >>conftest.$ac_ext <<_ACEOF
2642 /* end confdefs.h. */
2652 rm -f conftest.$ac_objext
2653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2654 (eval $ac_compile) 2>conftest.er1
2656 grep -v '^ *+' conftest.er1 >conftest.err
2658 cat conftest.err >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } &&
2661 { ac_try='test -z "$ac_c_werror_flag"
2662 || test ! -s conftest.err'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; } &&
2668 { ac_try='test -s conftest.$ac_objext'
2669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }; }; then
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2683 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2684 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2685 if test "$ac_test_CFLAGS" = set; then
2686 CFLAGS=$ac_save_CFLAGS
2687 elif test $ac_cv_prog_cc_g = yes; then
2688 if test "$GCC" = yes; then
2694 if test "$GCC" = yes; then
2700 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2701 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2702 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 ac_cv_prog_cc_stdc=no
2707 cat >conftest.$ac_ext <<_ACEOF
2710 cat confdefs.h >>conftest.$ac_ext
2711 cat >>conftest.$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2715 #include <sys/types.h>
2716 #include <sys/stat.h>
2717 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2718 struct buf { int x; };
2719 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2720 static char *e (p, i)
2726 static char *f (char * (*g) (char **, int), char **p, ...)
2731 s = g (p, va_arg (v,int));
2736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2737 function prototypes and stuff, but not '\xHH' hex character constants.
2738 These don't provoke an error unfortunately, instead are silently treated
2739 as 'x'. The following induces an error, until -std1 is added to get
2740 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2741 array size at least. It's necessary to write '\x00'==0 to get something
2742 that's true only with -std1. */
2743 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2745 int test (int i, double x);
2746 struct s1 {int (*f) (int a);};
2747 struct s2 {int (*f) (double a);};
2748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2759 # Don't try gcc -ansi; that turns off useful extensions and
2760 # breaks some systems' header files.
2761 # AIX -qlanglvl=ansi
2762 # Ultrix and OSF/1 -std1
2763 # HP-UX 10.20 and later -Ae
2764 # HP-UX older versions -Aa -D_HPUX_SOURCE
2765 # SVR4 -Xc -D__EXTENSIONS__
2766 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2768 CC="$ac_save_CC $ac_arg"
2769 rm -f conftest.$ac_objext
2770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2771 (eval $ac_compile) 2>conftest.er1
2773 grep -v '^ *+' conftest.er1 >conftest.err
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag"
2779 || test ! -s conftest.err'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2791 ac_cv_prog_cc_stdc=$ac_arg
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2798 rm -f conftest.err conftest.$ac_objext
2800 rm -f conftest.$ac_ext conftest.$ac_objext
2805 case "x$ac_cv_prog_cc_stdc" in
2807 echo "$as_me:$LINENO: result: none needed" >&5
2808 echo "${ECHO_T}none needed" >&6 ;;
2810 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2811 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2812 CC="$CC $ac_cv_prog_cc_stdc" ;;
2815 # Some people use a C++ compiler to compile C. Since we use `exit',
2816 # in C++ we need to declare it. In case someone uses the same compiler
2817 # for both compiling C and C++ we need to have the C++ compiler decide
2818 # the declaration of exit, since it's the most demanding environment.
2819 cat >conftest.$ac_ext <<_ACEOF
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 for ac_declaration in \
2848 'extern "C" void std::exit (int) throw (); using std::exit;' \
2849 'extern "C" void std::exit (int); using std::exit;' \
2850 'extern "C" void exit (int) throw ();' \
2851 'extern "C" void exit (int);' \
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2870 rm -f conftest.$ac_objext
2871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872 (eval $ac_compile) 2>conftest.er1
2874 grep -v '^ *+' conftest.er1 >conftest.err
2876 cat conftest.err >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } &&
2879 { ac_try='test -z "$ac_c_werror_flag"
2880 || test ! -s conftest.err'
2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; } &&
2886 { ac_try='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2894 echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2915 rm -f conftest.$ac_objext
2916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2917 (eval $ac_compile) 2>conftest.er1
2919 grep -v '^ *+' conftest.er1 >conftest.err
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try='test -z "$ac_c_werror_flag"
2925 || test ! -s conftest.err'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; } &&
2931 { ac_try='test -s conftest.$ac_objext'
2932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2946 if test -n "$ac_declaration"; then
2947 echo '#ifdef __cplusplus' >>confdefs.h
2948 echo $ac_declaration >>confdefs.h
2949 echo '#endif' >>confdefs.h
2953 echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 DEPDIR="${am__leading_dot}deps"
2965 ac_config_commands="$ac_config_commands depfiles"
2968 am_make=${MAKE-make}
2969 cat > confinc << 'END'
2974 # If we don't find an include directive, just comment out the code.
2975 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2976 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2980 # First try GNU make style include.
2981 echo "include confinc" > confmf
2982 # We grep out `Entering directory' and `Leaving directory'
2983 # messages which can occur if `w' ends up in MAKEFLAGS.
2984 # In particular we don't look at `^make:' because GNU make might
2985 # be invoked under some other name (usually "gmake"), in which
2986 # case it prints its new name instead of `make'.
2987 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2992 # Now try BSD make style include.
2993 if test "$am__include" = "#"; then
2994 echo '.include "confinc"' > confmf
2995 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2996 am__include=.include
3003 echo "$as_me:$LINENO: result: $_am_result" >&5
3004 echo "${ECHO_T}$_am_result" >&6
3005 rm -f confinc confmf
3007 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3008 if test "${enable_dependency_tracking+set}" = set; then
3009 enableval="$enable_dependency_tracking"
3012 if test "x$enable_dependency_tracking" != xno; then
3013 am_depcomp="$ac_aux_dir/depcomp"
3018 if test "x$enable_dependency_tracking" != xno; then
3029 depcc="$CC" am_compiler_list=
3031 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3032 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3033 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3037 # We make a subdir and do the tests there. Otherwise we can end up
3038 # making bogus files that we don't know about and never remove. For
3039 # instance it was reported that on HP-UX the gcc test will end up
3040 # making a dummy file named `D' -- because `-MD' means `put the output
3043 # Copy depcomp to subdir because otherwise we won't find it if we're
3044 # using a relative directory.
3045 cp "$am_depcomp" conftest.dir
3047 # We will build objects and dependencies in a subdirectory because
3048 # it helps to detect inapplicable dependency modes. For instance
3049 # both Tru64's cc and ICC support -MD to output dependencies as a
3050 # side effect of compilation, but ICC will put the dependencies in
3051 # the current directory while Tru64 will put them in the object
3055 am_cv_CC_dependencies_compiler_type=none
3056 if test "$am_compiler_list" = ""; then
3057 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3059 for depmode in $am_compiler_list; do
3060 # Setup a source with many dependencies, because some compilers
3061 # like to wrap large dependency lists on column 80 (with \), and
3062 # we should not choose a depcomp mode which is confused by this.
3064 # We need to recreate these files for each test, as the compiler may
3065 # overwrite some of them when testing with obscure command lines.
3066 # This happens at least with the AIX C compiler.
3068 for i in 1 2 3 4 5 6; do
3069 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3070 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3071 # Solaris 8's {/usr,}/bin/sh.
3072 touch sub/conftst$i.h
3074 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3078 # after this tag, mechanisms are not by side-effect, so they'll
3079 # only be used when explicitly requested
3080 if test "x$enable_dependency_tracking" = xyes; then
3088 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3089 # mode. It turns out that the SunPro C++ compiler does not properly
3090 # handle `-M -o', and we need to detect this.
3091 if depmode=$depmode \
3092 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3093 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3094 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3095 >/dev/null 2>conftest.err &&
3096 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3097 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3099 # icc doesn't choke on unknown options, it will just issue warnings
3100 # or remarks (even with -Werror). So we grep stderr for any message
3101 # that says an option was ignored or not supported.
3102 # When given -MP, icc 7.0 and 7.1 complain thusly:
3103 # icc: Command line warning: ignoring option '-M'; no argument required
3104 # The diagnosis changed in icc 8.0:
3105 # icc: Command line remark: option '-MP' not supported
3106 if (grep 'ignoring option' conftest.err ||
3107 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3108 am_cv_CC_dependencies_compiler_type=$depmode
3117 am_cv_CC_dependencies_compiler_type=none
3121 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3122 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3123 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3128 test "x$enable_dependency_tracking" != xno \
3129 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3131 am__fastdepCC_FALSE='#'
3133 am__fastdepCC_TRUE='#'
3134 am__fastdepCC_FALSE=
3139 ac_cpp='$CXXCPP $CPPFLAGS'
3140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3143 if test -n "$ac_tool_prefix"; then
3144 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_CXX+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$CXX"; then
3154 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CXX"; then
3174 echo "$as_me:$LINENO: result: $CXX" >&5
3175 echo "${ECHO_T}$CXX" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 test -n "$CXX" && break
3184 if test -z "$CXX"; then
3186 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 echo "$as_me:$LINENO: checking for $ac_word" >&5
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 if test -n "$ac_ct_CXX"; then
3196 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_ac_ct_CXX="$ac_prog"
3206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3215 if test -n "$ac_ct_CXX"; then
3216 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3217 echo "${ECHO_T}$ac_ct_CXX" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3223 test -n "$ac_ct_CXX" && break
3225 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3231 # Provide some information about the compiler.
3232 echo "$as_me:$LINENO:" \
3233 "checking for C++ compiler version" >&5
3234 ac_compiler=`set X $ac_compile; echo $2`
3235 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3236 (eval $ac_compiler --version </dev/null >&5) 2>&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }
3240 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3241 (eval $ac_compiler -v </dev/null >&5) 2>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }
3245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3246 (eval $ac_compiler -V </dev/null >&5) 2>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }
3251 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3252 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3253 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>conftest.er1
3278 grep -v '^ *+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_cxx_werror_flag"
3284 || test ! -s conftest.err'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3304 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3307 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3308 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3309 GXX=`test $ac_compiler_gnu = yes && echo yes`
3310 ac_test_CXXFLAGS=${CXXFLAGS+set}
3311 ac_save_CXXFLAGS=$CXXFLAGS
3313 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3314 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3315 if test "${ac_cv_prog_cxx_g+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 cat >conftest.$ac_ext <<_ACEOF
3321 cat confdefs.h >>conftest.$ac_ext
3322 cat >>conftest.$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3333 rm -f conftest.$ac_objext
3334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3335 (eval $ac_compile) 2>conftest.er1
3337 grep -v '^ *+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try='test -z "$ac_cxx_werror_flag"
3343 || test ! -s conftest.err'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; } &&
3349 { ac_try='test -s conftest.$ac_objext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 ac_cv_prog_cxx_g=yes
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3364 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3365 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3366 if test "$ac_test_CXXFLAGS" = set; then
3367 CXXFLAGS=$ac_save_CXXFLAGS
3368 elif test $ac_cv_prog_cxx_g = yes; then
3369 if test "$GXX" = yes; then
3375 if test "$GXX" = yes; then
3381 for ac_declaration in \
3383 'extern "C" void std::exit (int) throw (); using std::exit;' \
3384 'extern "C" void std::exit (int); using std::exit;' \
3385 'extern "C" void exit (int) throw ();' \
3386 'extern "C" void exit (int);' \
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3405 rm -f conftest.$ac_objext
3406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3407 (eval $ac_compile) 2>conftest.er1
3409 grep -v '^ *+' conftest.er1 >conftest.err
3411 cat conftest.err >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } &&
3414 { ac_try='test -z "$ac_cxx_werror_flag"
3415 || test ! -s conftest.err'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; } &&
3421 { ac_try='test -s conftest.$ac_objext'
3422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; }; then
3429 echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3435 cat >conftest.$ac_ext <<_ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3450 rm -f conftest.$ac_objext
3451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3452 (eval $ac_compile) 2>conftest.er1
3454 grep -v '^ *+' conftest.er1 >conftest.err
3456 cat conftest.err >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } &&
3459 { ac_try='test -z "$ac_cxx_werror_flag"
3460 || test ! -s conftest.err'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try='test -s conftest.$ac_objext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481 if test -n "$ac_declaration"; then
3482 echo '#ifdef __cplusplus' >>confdefs.h
3483 echo $ac_declaration >>confdefs.h
3484 echo '#endif' >>confdefs.h
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3493 depcc="$CXX" am_compiler_list=
3495 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3496 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3497 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3501 # We make a subdir and do the tests there. Otherwise we can end up
3502 # making bogus files that we don't know about and never remove. For
3503 # instance it was reported that on HP-UX the gcc test will end up
3504 # making a dummy file named `D' -- because `-MD' means `put the output
3507 # Copy depcomp to subdir because otherwise we won't find it if we're
3508 # using a relative directory.
3509 cp "$am_depcomp" conftest.dir
3511 # We will build objects and dependencies in a subdirectory because
3512 # it helps to detect inapplicable dependency modes. For instance
3513 # both Tru64's cc and ICC support -MD to output dependencies as a
3514 # side effect of compilation, but ICC will put the dependencies in
3515 # the current directory while Tru64 will put them in the object
3519 am_cv_CXX_dependencies_compiler_type=none
3520 if test "$am_compiler_list" = ""; then
3521 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3523 for depmode in $am_compiler_list; do
3524 # Setup a source with many dependencies, because some compilers
3525 # like to wrap large dependency lists on column 80 (with \), and
3526 # we should not choose a depcomp mode which is confused by this.
3528 # We need to recreate these files for each test, as the compiler may
3529 # overwrite some of them when testing with obscure command lines.
3530 # This happens at least with the AIX C compiler.
3532 for i in 1 2 3 4 5 6; do
3533 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3534 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3535 # Solaris 8's {/usr,}/bin/sh.
3536 touch sub/conftst$i.h
3538 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3542 # after this tag, mechanisms are not by side-effect, so they'll
3543 # only be used when explicitly requested
3544 if test "x$enable_dependency_tracking" = xyes; then
3552 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3553 # mode. It turns out that the SunPro C++ compiler does not properly
3554 # handle `-M -o', and we need to detect this.
3555 if depmode=$depmode \
3556 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3557 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3558 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3559 >/dev/null 2>conftest.err &&
3560 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3561 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3562 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3563 # icc doesn't choke on unknown options, it will just issue warnings
3564 # or remarks (even with -Werror). So we grep stderr for any message
3565 # that says an option was ignored or not supported.
3566 # When given -MP, icc 7.0 and 7.1 complain thusly:
3567 # icc: Command line warning: ignoring option '-M'; no argument required
3568 # The diagnosis changed in icc 8.0:
3569 # icc: Command line remark: option '-MP' not supported
3570 if (grep 'ignoring option' conftest.err ||
3571 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3572 am_cv_CXX_dependencies_compiler_type=$depmode
3581 am_cv_CXX_dependencies_compiler_type=none
3585 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3586 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3587 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3592 test "x$enable_dependency_tracking" != xno \
3593 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3594 am__fastdepCXX_TRUE=
3595 am__fastdepCXX_FALSE='#'
3597 am__fastdepCXX_TRUE='#'
3598 am__fastdepCXX_FALSE=
3602 for ac_prog in 'bison -y' byacc
3604 # Extract the first word of "$ac_prog", so it can be a program name with args.
3605 set dummy $ac_prog; ac_word=$2
3606 echo "$as_me:$LINENO: checking for $ac_word" >&5
3607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3608 if test "${ac_cv_prog_YACC+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 if test -n "$YACC"; then
3612 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_YACC="$ac_prog"
3622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 YACC=$ac_cv_prog_YACC
3631 if test -n "$YACC"; then
3632 echo "$as_me:$LINENO: result: $YACC" >&5
3633 echo "${ECHO_T}$YACC" >&6
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3639 test -n "$YACC" && break
3641 test -n "$YACC" || YACC="yacc"
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3645 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3646 echo "$as_me:$LINENO: checking for $ac_word" >&5
3647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3648 if test "${ac_cv_prog_RANLIB+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 if test -n "$RANLIB"; then
3652 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 RANLIB=$ac_cv_prog_RANLIB
3671 if test -n "$RANLIB"; then
3672 echo "$as_me:$LINENO: result: $RANLIB" >&5
3673 echo "${ECHO_T}$RANLIB" >&6
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3680 if test -z "$ac_cv_prog_RANLIB"; then
3681 ac_ct_RANLIB=$RANLIB
3682 # Extract the first word of "ranlib", so it can be a program name with args.
3683 set dummy ranlib; ac_word=$2
3684 echo "$as_me:$LINENO: checking for $ac_word" >&5
3685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3686 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 if test -n "$ac_ct_RANLIB"; then
3690 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3699 ac_cv_prog_ac_ct_RANLIB="ranlib"
3700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3709 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3710 if test -n "$ac_ct_RANLIB"; then
3711 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3712 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3714 echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6
3718 RANLIB=$ac_ct_RANLIB
3720 RANLIB="$ac_cv_prog_RANLIB"
3723 # Find a good install program. We prefer a C program (faster),
3724 # so one script is as good as another. But avoid the broken or
3725 # incompatible versions:
3726 # SysV /etc/install, /usr/sbin/install
3727 # SunOS /usr/etc/install
3728 # IRIX /sbin/install
3730 # AmigaOS /C/install, which installs bootblocks on floppy discs
3731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3734 # OS/2's system install, which has a completely different semantic
3735 # ./install, which can be erroneously created by make from ./install.sh.
3736 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3737 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3738 if test -z "$INSTALL"; then
3739 if test "${ac_cv_path_install+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 # Account for people who put trailing slashes in PATH elements.
3749 ./ | .// | /cC/* | \
3750 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3751 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3754 # OSF1 and SCO ODT 3.0 have their own names for install.
3755 # Don't use installbsd from OSF since it installs stuff as root
3757 for ac_prog in ginstall scoinst install; do
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3760 if test $ac_prog = install &&
3761 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3762 # AIX install. It has an incompatible calling convention.
3764 elif test $ac_prog = install &&
3765 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3766 # program-specific install script used by HP pwplus--don't use.
3769 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3781 if test "${ac_cv_path_install+set}" = set; then
3782 INSTALL=$ac_cv_path_install
3784 # As a last resort, use the slow shell script. We don't cache a
3785 # path for INSTALL within a source directory, because that will
3786 # break other packages using the cache if that directory is
3787 # removed, or if the path is relative.
3788 INSTALL=$ac_install_sh
3791 echo "$as_me:$LINENO: result: $INSTALL" >&5
3792 echo "${ECHO_T}$INSTALL" >&6
3794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3795 # It thinks the first close brace ends the variable substitution.
3796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3802 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3803 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3805 if test "$LN_S" = "ln -s"; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3809 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3810 echo "${ECHO_T}no, using $LN_S" >&6
3813 # If we haven't got the data from the intl directory,
3814 # assume NLS is disabled.
3823 if test -f ../intl/config.intl; then
3824 . ../intl/config.intl
3826 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3827 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3828 if test x"$USE_NLS" != xyes; then
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3832 echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6
3835 cat >>confdefs.h <<\_ACEOF
3836 #define ENABLE_NLS 1
3840 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3841 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3842 # Look for .po and .gmo files in the source directory.
3845 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3846 # If there aren't any .gmo files the shell will give us the
3847 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3849 case "$cat" in *\**)
3852 # The quadruple backslash is collapsed to a double backslash
3853 # by the backticks, then collapsed again by the double quotes,
3854 # leaving us with one backslash in the sed expression (right
3855 # before the dot that mustn't act as a wildcard).
3856 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3857 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
3858 # The user is allowed to set LINGUAS to a list of languages to
3859 # install catalogs for. If it's empty that means "all of them."
3860 if test "x$LINGUAS" = x; then
3861 CATALOGS="$CATALOGS $cat"
3862 XLINGUAS="$XLINGUAS $lang"
3864 case "$LINGUAS" in *$lang*)
3865 CATALOGS="$CATALOGS $cat"
3866 XLINGUAS="$XLINGUAS $lang"
3872 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3873 echo "${ECHO_T}$LINGUAS" >&6
3887 if test -n "$ac_aux_dir"; then
3888 case "$ac_aux_dir" in
3889 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3890 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3893 if test -z "$MKINSTALLDIRS"; then
3894 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3899 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3900 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3901 # Check whether --enable-nls or --disable-nls was given.
3902 if test "${enable_nls+set}" = set; then
3903 enableval="$enable_nls"
3908 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3909 echo "${ECHO_T}$USE_NLS" >&6
3916 # Prepare PATH_SEPARATOR.
3917 # The user is always right.
3918 if test "${PATH_SEPARATOR+set}" != set; then
3919 echo "#! /bin/sh" >conf$$.sh
3920 echo "exit 0" >>conf$$.sh
3922 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3930 # Find out how to test for executable files. Don't use a zero-byte file,
3931 # as systems may use methods other than mode bits to determine executability.
3932 cat >conf$$.file <<_ASEOF
3936 chmod +x conf$$.file
3937 if test -x conf$$.file >/dev/null 2>&1; then
3938 ac_executable_p="test -x"
3940 ac_executable_p="test -f"
3944 # Extract the first word of "msgfmt", so it can be a program name with args.
3945 set dummy msgfmt; ac_word=$2
3946 echo "$as_me:$LINENO: checking for $ac_word" >&5
3947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3948 if test "${ac_cv_path_MSGFMT+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3956 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3957 for ac_dir in $PATH; do
3959 test -z "$ac_dir" && ac_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3962 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3963 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3964 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3971 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3975 MSGFMT="$ac_cv_path_MSGFMT"
3976 if test "$MSGFMT" != ":"; then
3977 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3978 echo "${ECHO_T}$MSGFMT" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3984 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3985 set dummy gmsgfmt; ac_word=$2
3986 echo "$as_me:$LINENO: checking for $ac_word" >&5
3987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3988 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir=.
4001 for ac_exec_ext in '' $ac_executable_extensions; do
4002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4014 GMSGFMT=$ac_cv_path_GMSGFMT
4016 if test -n "$GMSGFMT"; then
4017 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4018 echo "${ECHO_T}$GMSGFMT" >&6
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4026 # Prepare PATH_SEPARATOR.
4027 # The user is always right.
4028 if test "${PATH_SEPARATOR+set}" != set; then
4029 echo "#! /bin/sh" >conf$$.sh
4030 echo "exit 0" >>conf$$.sh
4032 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4040 # Find out how to test for executable files. Don't use a zero-byte file,
4041 # as systems may use methods other than mode bits to determine executability.
4042 cat >conf$$.file <<_ASEOF
4046 chmod +x conf$$.file
4047 if test -x conf$$.file >/dev/null 2>&1; then
4048 ac_executable_p="test -x"
4050 ac_executable_p="test -f"
4054 # Extract the first word of "xgettext", so it can be a program name with args.
4055 set dummy xgettext; ac_word=$2
4056 echo "$as_me:$LINENO: checking for $ac_word" >&5
4057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4058 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4066 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4067 for ac_dir in $PATH; do
4069 test -z "$ac_dir" && ac_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4072 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4073 (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
4074 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4081 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4085 XGETTEXT="$ac_cv_path_XGETTEXT"
4086 if test "$XGETTEXT" != ":"; then
4087 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4088 echo "${ECHO_T}$XGETTEXT" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4097 # Prepare PATH_SEPARATOR.
4098 # The user is always right.
4099 if test "${PATH_SEPARATOR+set}" != set; then
4100 echo "#! /bin/sh" >conf$$.sh
4101 echo "exit 0" >>conf$$.sh
4103 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4111 # Find out how to test for executable files. Don't use a zero-byte file,
4112 # as systems may use methods other than mode bits to determine executability.
4113 cat >conf$$.file <<_ASEOF
4117 chmod +x conf$$.file
4118 if test -x conf$$.file >/dev/null 2>&1; then
4119 ac_executable_p="test -x"
4121 ac_executable_p="test -f"
4125 # Extract the first word of "msgmerge", so it can be a program name with args.
4126 set dummy msgmerge; ac_word=$2
4127 echo "$as_me:$LINENO: checking for $ac_word" >&5
4128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4129 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4137 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4138 for ac_dir in $PATH; do
4140 test -z "$ac_dir" && ac_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4143 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4144 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4151 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4155 MSGMERGE="$ac_cv_path_MSGMERGE"
4156 if test "$MSGMERGE" != ":"; then
4157 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4158 echo "${ECHO_T}$MSGMERGE" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4165 if test "$GMSGFMT" != ":"; then
4166 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4167 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4170 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4171 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4172 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4177 if test "$XGETTEXT" != ":"; then
4178 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4179 (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
4182 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4183 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4189 ac_config_commands="$ac_config_commands default-1"
4194 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4195 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4196 if test "${ac_cv_c_bigendian+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 # See if sys/param.h defines the BYTE_ORDER macro.
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 #include <sys/types.h>
4207 #include <sys/param.h>
4212 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4220 rm -f conftest.$ac_objext
4221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4222 (eval $ac_compile) 2>conftest.er1
4224 grep -v '^ *+' conftest.er1 >conftest.err
4226 cat conftest.err >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } &&
4229 { ac_try='test -z "$ac_c_werror_flag"
4230 || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try='test -s conftest.$ac_objext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 # It does; now see whether it defined to BIG_ENDIAN or not.
4243 cat >conftest.$ac_ext <<_ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 #include <sys/types.h>
4250 #include <sys/param.h>
4255 #if BYTE_ORDER != BIG_ENDIAN
4263 rm -f conftest.$ac_objext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265 (eval $ac_compile) 2>conftest.er1
4267 grep -v '^ *+' conftest.er1 >conftest.err
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try='test -z "$ac_c_werror_flag"
4273 || test ! -s conftest.err'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; } &&
4279 { ac_try='test -s conftest.$ac_objext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 ac_cv_c_bigendian=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 ac_cv_c_bigendian=no
4292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 # It does not; compile a test program.
4298 if test "$cross_compiling" = yes; then
4299 # try to guess the endianness by grepping values into an object file
4300 ac_cv_c_bigendian=unknown
4301 cat >conftest.$ac_ext <<_ACEOF
4304 cat confdefs.h >>conftest.$ac_ext
4305 cat >>conftest.$ac_ext <<_ACEOF
4306 /* end confdefs.h. */
4307 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4308 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4309 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4310 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4311 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4312 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4316 _ascii (); _ebcdic ();
4321 rm -f conftest.$ac_objext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323 (eval $ac_compile) 2>conftest.er1
4325 grep -v '^ *+' conftest.er1 >conftest.err
4327 cat conftest.err >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } &&
4330 { ac_try='test -z "$ac_c_werror_flag"
4331 || test ! -s conftest.err'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; } &&
4337 { ac_try='test -s conftest.$ac_objext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4343 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4344 ac_cv_c_bigendian=yes
4346 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4347 if test "$ac_cv_c_bigendian" = unknown; then
4348 ac_cv_c_bigendian=no
4350 # finding both strings is unlikely to happen, but who knows?
4351 ac_cv_c_bigendian=unknown
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4361 cat >conftest.$ac_ext <<_ACEOF
4364 cat confdefs.h >>conftest.$ac_ext
4365 cat >>conftest.$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4370 /* Are we little or big endian? From Harbison&Steele. */
4374 char c[sizeof (long)];
4377 exit (u.c[sizeof (long) - 1] == 1);
4380 rm -f conftest$ac_exeext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4382 (eval $ac_link) 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then
4391 ac_cv_c_bigendian=no
4393 echo "$as_me: program exited with status $ac_status" >&5
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_c_bigendian=yes
4400 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4405 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4406 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4407 case $ac_cv_c_bigendian in
4410 cat >>confdefs.h <<\_ACEOF
4411 #define WORDS_BIGENDIAN 1
4417 { { echo "$as_me:$LINENO: error: unknown endianness
4418 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4419 echo "$as_me: error: unknown endianness
4420 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4421 { (exit 1); exit 1; }; } ;;
4429 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4431 NATIVE_LINKER_FALSE='#'
4433 NATIVE_LINKER_TRUE='#'
4434 NATIVE_LINKER_FALSE=
4439 if test "$GCC" = yes; then
4456 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
4457 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
4459 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
4460 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
4464 echo "$as_me:$LINENO: checking for thread support" >&5
4465 echo $ECHO_N "checking for thread support... $ECHO_C" >&6
4466 if test "${gold_cv_c_thread+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 cat >conftest.$ac_ext <<_ACEOF
4472 rm -f conftest.$ac_objext
4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474 (eval $ac_compile) 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } &&
4481 { ac_try='test -z "$ac_c_werror_flag"
4482 || test ! -s conftest.err'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; } &&
4488 { ac_try='test -s conftest.$ac_objext'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then
4494 gold_cv_c_thread=yes
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.$ac_ext >&5
4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4503 echo "$as_me:$LINENO: result: $gold_cv_c_thread" >&5
4504 echo "${ECHO_T}$gold_cv_c_thread" >&6
4508 if test "$gold_cv_c_thread" = "yes"; then
4517 echo "$as_me:$LINENO: checking for glibc >= 2.4" >&5
4518 echo $ECHO_N "checking for glibc >= 2.4... $ECHO_C" >&6
4519 if test "${gold_cv_lib_glibc24+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 cat >conftest.$ac_ext <<_ACEOF
4524 #include <features.h>
4525 #if !defined __GLIBC__
4527 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
4532 rm -f conftest.$ac_objext
4533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4534 (eval $ac_compile) 2>conftest.er1
4536 grep -v '^ *+' conftest.er1 >conftest.err
4538 cat conftest.err >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } &&
4541 { ac_try='test -z "$ac_c_werror_flag"
4542 || test ! -s conftest.err'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; } &&
4548 { ac_try='test -s conftest.$ac_objext'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; }; then
4554 gold_cv_lib_glibc24=yes
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 gold_cv_lib_glibc24=no
4561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4563 echo "$as_me:$LINENO: result: $gold_cv_lib_glibc24" >&5
4564 echo "${ECHO_T}$gold_cv_lib_glibc24" >&6
4568 if test "$gold_cv_lib_glibc24" = "yes"; then
4570 STATIC_TLS_FALSE='#'
4578 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4580 # Check whether --enable-werror or --disable-werror was given.
4581 if test "${enable_werror+set}" = set; then
4582 enableval="$enable_werror"
4583 case "${enableval}" in
4584 yes | y) ERROR_ON_WARNING="yes" ;;
4585 no | n) ERROR_ON_WARNING="no" ;;
4586 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4587 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4588 { (exit 1); exit 1; }; } ;;
4592 # Enable -Werror by default when using gcc
4593 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4594 ERROR_ON_WARNING=yes
4598 if test "${ERROR_ON_WARNING}" = yes ; then
4599 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4600 NO_WERROR="-Wno-error"
4603 if test "${GCC}" = yes ; then
4604 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4607 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4608 if test "${enable_build_warnings+set}" = set; then
4609 enableval="$enable_build_warnings"
4610 case "${enableval}" in
4611 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4612 no) if test "${GCC}" = yes ; then
4615 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4616 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4617 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4618 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4619 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4623 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4624 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4631 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4634 LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4638 for ac_func in pread
4640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4641 echo "$as_me:$LINENO: checking for $ac_func" >&5
4642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4643 if eval "test \"\${$as_ac_var+set}\" = set"; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4654 #define $ac_func innocuous_$ac_func
4656 /* System header to define __stub macros and hopefully few prototypes,
4657 which can conflict with char $ac_func (); below.
4658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4659 <limits.h> exists even on freestanding compilers. */
4662 # include <limits.h>
4664 # include <assert.h>
4669 /* Override any gcc2 internal prototype to avoid an error. */
4674 /* We use char because int might match the return type of a gcc2
4675 builtin and then its argument prototype would still apply. */
4677 /* The GNU C library defines this for functions which it implements
4678 to always fail with ENOSYS. Some functions are actually named
4679 something starting with __ and the normal name is an alias. */
4680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4683 char (*f) () = $ac_func;
4692 return f != $ac_func;
4697 rm -f conftest.$ac_objext conftest$ac_exeext
4698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4699 (eval $ac_link) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } &&
4706 { ac_try='test -z "$ac_c_werror_flag"
4707 || test ! -s conftest.err'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; } &&
4713 { ac_try='test -s conftest$ac_exeext'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; }; then
4719 eval "$as_ac_var=yes"
4721 echo "$as_me: failed program was:" >&5
4722 sed 's/^/| /' conftest.$ac_ext >&5
4724 eval "$as_ac_var=no"
4726 rm -f conftest.err conftest.$ac_objext \
4727 conftest$ac_exeext conftest.$ac_ext
4729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4731 if test `eval echo '${'$as_ac_var'}'` = yes; then
4732 cat >>confdefs.h <<_ACEOF
4733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4738 "$ac_func.$ac_objext" | \
4739 *" $ac_func.$ac_objext" | \
4740 "$ac_func.$ac_objext "* | \
4741 *" $ac_func.$ac_objext "* ) ;;
4742 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
4751 ac_cpp='$CXXCPP $CPPFLAGS'
4752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4759 ac_cpp='$CXXCPP $CPPFLAGS'
4760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4763 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4764 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4765 if test -z "$CXXCPP"; then
4766 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 # Double quotes because CXXCPP needs to be expanded
4770 for CXXCPP in "$CXX -E" "/lib/cpp"
4773 for ac_cxx_preproc_warn_flag in '' yes
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat >conftest.$ac_ext <<_ACEOF
4784 cat confdefs.h >>conftest.$ac_ext
4785 cat >>conftest.$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4788 # include <limits.h>
4790 # include <assert.h>
4794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4797 grep -v '^ *+' conftest.er1 >conftest.err
4799 cat conftest.err >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } >/dev/null; then
4802 if test -s conftest.err; then
4803 ac_cpp_err=$ac_cxx_preproc_warn_flag
4804 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4811 if test -z "$ac_cpp_err"; then
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4817 # Broken: fails on valid input.
4820 rm -f conftest.err conftest.$ac_ext
4822 # OK, works on sane cases. Now check whether non-existent headers
4823 # can be detected and how.
4824 cat >conftest.$ac_ext <<_ACEOF
4827 cat confdefs.h >>conftest.$ac_ext
4828 cat >>conftest.$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4830 #include <ac_nonexistent.h>
4832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1 >conftest.err
4837 cat conftest.err >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } >/dev/null; then
4840 if test -s conftest.err; then
4841 ac_cpp_err=$ac_cxx_preproc_warn_flag
4842 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4849 if test -z "$ac_cpp_err"; then
4850 # Broken: success on invalid input.
4853 echo "$as_me: failed program was:" >&5
4854 sed 's/^/| /' conftest.$ac_ext >&5
4856 # Passes both tests.
4860 rm -f conftest.err conftest.$ac_ext
4863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4864 rm -f conftest.err conftest.$ac_ext
4865 if $ac_preproc_ok; then
4870 ac_cv_prog_CXXCPP=$CXXCPP
4873 CXXCPP=$ac_cv_prog_CXXCPP
4875 ac_cv_prog_CXXCPP=$CXXCPP
4877 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4878 echo "${ECHO_T}$CXXCPP" >&6
4880 for ac_cxx_preproc_warn_flag in '' yes
4882 # Use a header file that comes with gcc, so configuring glibc
4883 # with a fresh cross-compiler works.
4884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4885 # <limits.h> exists even on freestanding compilers.
4886 # On the NeXT, cc -E runs the code through the compiler's parser,
4887 # not just through cpp. "Syntax error" is here to catch this case.
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4895 # include <limits.h>
4897 # include <assert.h>
4901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4904 grep -v '^ *+' conftest.er1 >conftest.err
4906 cat conftest.err >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } >/dev/null; then
4909 if test -s conftest.err; then
4910 ac_cpp_err=$ac_cxx_preproc_warn_flag
4911 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4918 if test -z "$ac_cpp_err"; then
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.$ac_ext >&5
4924 # Broken: fails on valid input.
4927 rm -f conftest.err conftest.$ac_ext
4929 # OK, works on sane cases. Now check whether non-existent headers
4930 # can be detected and how.
4931 cat >conftest.$ac_ext <<_ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4937 #include <ac_nonexistent.h>
4939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4942 grep -v '^ *+' conftest.er1 >conftest.err
4944 cat conftest.err >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } >/dev/null; then
4947 if test -s conftest.err; then
4948 ac_cpp_err=$ac_cxx_preproc_warn_flag
4949 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4956 if test -z "$ac_cpp_err"; then
4957 # Broken: success on invalid input.
4960 echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4963 # Passes both tests.
4967 rm -f conftest.err conftest.$ac_ext
4970 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4971 rm -f conftest.err conftest.$ac_ext
4972 if $ac_preproc_ok; then
4975 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4976 See \`config.log' for more details." >&5
4977 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4978 See \`config.log' for more details." >&2;}
4979 { (exit 1); exit 1; }; }
4983 ac_cpp='$CXXCPP $CPPFLAGS'
4984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4989 echo "$as_me:$LINENO: checking for egrep" >&5
4990 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4991 if test "${ac_cv_prog_egrep+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4995 then ac_cv_prog_egrep='grep -E'
4996 else ac_cv_prog_egrep='egrep'
4999 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5000 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5001 EGREP=$ac_cv_prog_egrep
5004 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5005 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5006 if test "${ac_cv_header_stdc+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5028 rm -f conftest.$ac_objext
5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5030 (eval $ac_compile) 2>conftest.er1
5032 grep -v '^ *+' conftest.er1 >conftest.err
5034 cat conftest.err >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } &&
5037 { ac_try='test -z "$ac_cxx_werror_flag"
5038 || test ! -s conftest.err'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; } &&
5044 { ac_try='test -s conftest.$ac_objext'
5045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; }; then
5050 ac_cv_header_stdc=yes
5052 echo "$as_me: failed program was:" >&5
5053 sed 's/^/| /' conftest.$ac_ext >&5
5055 ac_cv_header_stdc=no
5057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5059 if test $ac_cv_header_stdc = yes; then
5060 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5061 cat >conftest.$ac_ext <<_ACEOF
5064 cat confdefs.h >>conftest.$ac_ext
5065 cat >>conftest.$ac_ext <<_ACEOF
5066 /* end confdefs.h. */
5070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5071 $EGREP "memchr" >/dev/null 2>&1; then
5074 ac_cv_header_stdc=no
5080 if test $ac_cv_header_stdc = yes; then
5081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5082 cat >conftest.$ac_ext <<_ACEOF
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5092 $EGREP "free" >/dev/null 2>&1; then
5095 ac_cv_header_stdc=no
5101 if test $ac_cv_header_stdc = yes; then
5102 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5103 if test "$cross_compiling" = yes; then
5106 cat >conftest.$ac_ext <<_ACEOF
5109 cat confdefs.h >>conftest.$ac_ext
5110 cat >>conftest.$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5113 #if ((' ' & 0x0FF) == 0x020)
5114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5117 # define ISLOWER(c) \
5118 (('a' <= (c) && (c) <= 'i') \
5119 || ('j' <= (c) && (c) <= 'r') \
5120 || ('s' <= (c) && (c) <= 'z'))
5121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5129 for (i = 0; i < 256; i++)
5130 if (XOR (islower (i), ISLOWER (i))
5131 || toupper (i) != TOUPPER (i))
5136 rm -f conftest$ac_exeext
5137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5138 (eval $ac_link) 2>&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); }; }; then
5149 echo "$as_me: program exited with status $ac_status" >&5
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.$ac_ext >&5
5154 ac_cv_header_stdc=no
5156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5160 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5161 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5162 if test $ac_cv_header_stdc = yes; then
5164 cat >>confdefs.h <<\_ACEOF
5165 #define STDC_HEADERS 1
5170 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5180 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5181 inttypes.h stdint.h unistd.h
5183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5184 echo "$as_me:$LINENO: checking for $ac_header" >&5
5185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 cat >conftest.$ac_ext <<_ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5195 $ac_includes_default
5197 #include <$ac_header>
5199 rm -f conftest.$ac_objext
5200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5201 (eval $ac_compile) 2>conftest.er1
5203 grep -v '^ *+' conftest.er1 >conftest.err
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } &&
5208 { ac_try='test -z "$ac_cxx_werror_flag"
5209 || test ! -s conftest.err'
5210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; } &&
5215 { ac_try='test -s conftest.$ac_objext'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }; then
5221 eval "$as_ac_Header=yes"
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 eval "$as_ac_Header=no"
5228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5233 cat >>confdefs.h <<_ACEOF
5234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5244 for ac_header in tr1/unordered_set tr1/unordered_map
5246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5248 echo "$as_me:$LINENO: checking for $ac_header" >&5
5249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5251 echo $ECHO_N "(cached) $ECHO_C" >&6
5253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5256 # Is the header compilable?
5257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5259 cat >conftest.$ac_ext <<_ACEOF
5262 cat confdefs.h >>conftest.$ac_ext
5263 cat >>conftest.$ac_ext <<_ACEOF
5264 /* end confdefs.h. */
5265 $ac_includes_default
5266 #include <$ac_header>
5268 rm -f conftest.$ac_objext
5269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5270 (eval $ac_compile) 2>conftest.er1
5272 grep -v '^ *+' conftest.er1 >conftest.err
5274 cat conftest.err >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } &&
5277 { ac_try='test -z "$ac_cxx_werror_flag"
5278 || test ! -s conftest.err'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; } &&
5284 { ac_try='test -s conftest.$ac_objext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5290 ac_header_compiler=yes
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5295 ac_header_compiler=no
5297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5299 echo "${ECHO_T}$ac_header_compiler" >&6
5301 # Is the header present?
5302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5304 cat >conftest.$ac_ext <<_ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 #include <$ac_header>
5312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5315 grep -v '^ *+' conftest.er1 >conftest.err
5317 cat conftest.err >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } >/dev/null; then
5320 if test -s conftest.err; then
5321 ac_cpp_err=$ac_cxx_preproc_warn_flag
5322 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5329 if test -z "$ac_cpp_err"; then
5330 ac_header_preproc=yes
5332 echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.$ac_ext >&5
5335 ac_header_preproc=no
5337 rm -f conftest.err conftest.$ac_ext
5338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5339 echo "${ECHO_T}$ac_header_preproc" >&6
5341 # So? What about this header?
5342 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5348 ac_header_preproc=yes
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5365 ## ------------------------------- ##
5366 ## Report this to the gold lists. ##
5367 ## ------------------------------- ##
5370 sed "s/^/$as_me: WARNING: /" >&2
5373 echo "$as_me:$LINENO: checking for $ac_header" >&5
5374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 eval "$as_ac_Header=\$ac_header_preproc"
5380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5385 cat >>confdefs.h <<_ACEOF
5386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5395 for ac_header in ext/hash_map ext/hash_set
5397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5399 echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5407 # Is the header compilable?
5408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5410 cat >conftest.$ac_ext <<_ACEOF
5413 cat confdefs.h >>conftest.$ac_ext
5414 cat >>conftest.$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5416 $ac_includes_default
5417 #include <$ac_header>
5419 rm -f conftest.$ac_objext
5420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421 (eval $ac_compile) 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } &&
5428 { ac_try='test -z "$ac_cxx_werror_flag"
5429 || test ! -s conftest.err'
5430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; } &&
5435 { ac_try='test -s conftest.$ac_objext'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; }; then
5441 ac_header_compiler=yes
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 ac_header_compiler=no
5448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5450 echo "${ECHO_T}$ac_header_compiler" >&6
5452 # Is the header present?
5453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 #include <$ac_header>
5463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5466 grep -v '^ *+' conftest.er1 >conftest.err
5468 cat conftest.err >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } >/dev/null; then
5471 if test -s conftest.err; then
5472 ac_cpp_err=$ac_cxx_preproc_warn_flag
5473 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5480 if test -z "$ac_cpp_err"; then
5481 ac_header_preproc=yes
5483 echo "$as_me: failed program was:" >&5
5484 sed 's/^/| /' conftest.$ac_ext >&5
5486 ac_header_preproc=no
5488 rm -f conftest.err conftest.$ac_ext
5489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5490 echo "${ECHO_T}$ac_header_preproc" >&6
5492 # So? What about this header?
5493 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5499 ac_header_preproc=yes
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5516 ## ------------------------------- ##
5517 ## Report this to the gold lists. ##
5518 ## ------------------------------- ##
5521 sed "s/^/$as_me: WARNING: /" >&2
5524 echo "$as_me:$LINENO: checking for $ac_header" >&5
5525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 eval "$as_ac_Header=\$ac_header_preproc"
5531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5536 cat >>confdefs.h <<_ACEOF
5537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5545 for ac_func in mallinfo
5547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5548 echo "$as_me:$LINENO: checking for $ac_func" >&5
5549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5550 if eval "test \"\${$as_ac_var+set}\" = set"; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5561 #define $ac_func innocuous_$ac_func
5563 /* System header to define __stub macros and hopefully few prototypes,
5564 which can conflict with char $ac_func (); below.
5565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5566 <limits.h> exists even on freestanding compilers. */
5569 # include <limits.h>
5571 # include <assert.h>
5576 /* Override any gcc2 internal prototype to avoid an error. */
5581 /* We use char because int might match the return type of a gcc2
5582 builtin and then its argument prototype would still apply. */
5584 /* The GNU C library defines this for functions which it implements
5585 to always fail with ENOSYS. Some functions are actually named
5586 something starting with __ and the normal name is an alias. */
5587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5590 char (*f) () = $ac_func;
5599 return f != $ac_func;
5604 rm -f conftest.$ac_objext conftest$ac_exeext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } &&
5613 { ac_try='test -z "$ac_cxx_werror_flag"
5614 || test ! -s conftest.err'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; } &&
5620 { ac_try='test -s conftest$ac_exeext'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; }; then
5626 eval "$as_ac_var=yes"
5628 echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5631 eval "$as_ac_var=no"
5633 rm -f conftest.err conftest.$ac_objext \
5634 conftest$ac_exeext conftest.$ac_ext
5636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5638 if test `eval echo '${'$as_ac_var'}'` = yes; then
5639 cat >>confdefs.h <<_ACEOF
5640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5647 echo "$as_me:$LINENO: checking template member calls" >&5
5648 echo $ECHO_N "checking template member calls... $ECHO_C" >&6
5649 if test "${gold_cv_c_membertemplates+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.$ac_ext <<_ACEOF
5654 class c { public: template<int i> void fn(); };
5655 template<int i> void foo(c cv) { cv.fn<i>(); }
5656 template void foo<1>(c cv);
5658 rm -f conftest.$ac_objext
5659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5660 (eval $ac_compile) 2>conftest.er1
5662 grep -v '^ *+' conftest.er1 >conftest.err
5664 cat conftest.err >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } &&
5667 { ac_try='test -z "$ac_cxx_werror_flag"
5668 || test ! -s conftest.err'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; } &&
5674 { ac_try='test -s conftest.$ac_objext'
5675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); }; }; then
5680 gold_cv_c_membertemplates=yes
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.$ac_ext >&5
5685 gold_cv_c_membertemplates=no
5687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5689 echo "$as_me:$LINENO: result: $gold_cv_c_membertemplates" >&5
5690 echo "${ECHO_T}$gold_cv_c_membertemplates" >&6
5692 if test "$gold_cv_c_membertemplates" = "yes"; then
5694 cat >>confdefs.h <<\_ACEOF
5695 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5701 ac_cpp='$CPP $CPPFLAGS'
5702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5707 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5708 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5709 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5710 if test "${enable_maintainer_mode+set}" = set; then
5711 enableval="$enable_maintainer_mode"
5712 USE_MAINTAINER_MODE=$enableval
5714 USE_MAINTAINER_MODE=no
5716 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5717 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5720 if test $USE_MAINTAINER_MODE = yes; then
5721 MAINTAINER_MODE_TRUE=
5722 MAINTAINER_MODE_FALSE='#'
5724 MAINTAINER_MODE_TRUE='#'
5725 MAINTAINER_MODE_FALSE=
5728 MAINT=$MAINTAINER_MODE_TRUE
5732 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
5733 cat >confcache <<\_ACEOF
5734 # This file is a shell script that caches the results of configure
5735 # tests run on this system so they can be shared between configure
5736 # scripts and configure runs, see configure's option --config-cache.
5737 # It is not useful on other systems. If it contains results you don't
5738 # want to keep, you may remove or edit it.
5740 # config.status only pays attention to the cache file if you give it
5741 # the --recheck option to rerun configure.
5743 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5744 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5749 # The following way of writing the cache mishandles newlines in values,
5750 # but we know of no workaround that is simple, portable, and efficient.
5751 # So, don't put newlines in cache variables' values.
5752 # Ultrix sh set writes to stderr and can't be redirected directly,
5753 # and sets the high bit in the cache file unless we assign to the vars.
5756 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5758 # `set' does not quote correctly, so add quotes (double-quote
5759 # substitution turns \\\\ into \\, and sed turns \\ into \).
5762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5765 # `set' quotes correctly as required by POSIX, so do not add quotes.
5767 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5774 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5776 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5778 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5779 if test -w $cache_file; then
5780 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5781 cat confcache >$cache_file
5783 echo "not updating unwritable cache $cache_file"
5788 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5789 # Let make expand exec_prefix.
5790 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5792 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5793 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5794 # trailing colons and then remove the whole line if VPATH becomes empty
5795 # (actually we leave an empty line to preserve line numbers).
5796 if test "x$srcdir" = x.; then
5797 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5798 s/:*\$(srcdir):*/:/;
5799 s/:*\${srcdir}:*/:/;
5801 s/^\([^=]*=[ ]*\):*/\1/;
5807 DEFS=-DHAVE_CONFIG_H
5811 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5812 # 1. Remove the extension, and $U if already installed.
5813 ac_i=`echo "$ac_i" |
5814 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5816 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5817 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5821 LTLIBOBJS=$ac_ltlibobjs
5824 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
5825 { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
5826 Usually this means the macro was only invoked conditionally." >&5
5827 echo "$as_me: error: conditional \"THREADS\" was never defined.
5828 Usually this means the macro was only invoked conditionally." >&2;}
5829 { (exit 1); exit 1; }; }
5831 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5832 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5833 Usually this means the macro was only invoked conditionally." >&5
5834 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5835 Usually this means the macro was only invoked conditionally." >&2;}
5836 { (exit 1); exit 1; }; }
5838 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5839 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5840 Usually this means the macro was only invoked conditionally." >&5
5841 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5842 Usually this means the macro was only invoked conditionally." >&2;}
5843 { (exit 1); exit 1; }; }
5845 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5846 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5847 Usually this means the macro was only invoked conditionally." >&5
5848 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5849 Usually this means the macro was only invoked conditionally." >&2;}
5850 { (exit 1); exit 1; }; }
5852 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
5853 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
5854 Usually this means the macro was only invoked conditionally." >&5
5855 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
5856 Usually this means the macro was only invoked conditionally." >&2;}
5857 { (exit 1); exit 1; }; }
5859 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
5860 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
5861 Usually this means the macro was only invoked conditionally." >&5
5862 echo "$as_me: error: conditional \"GCC\" was never defined.
5863 Usually this means the macro was only invoked conditionally." >&2;}
5864 { (exit 1); exit 1; }; }
5866 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
5867 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5868 Usually this means the macro was only invoked conditionally." >&5
5869 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5870 Usually this means the macro was only invoked conditionally." >&2;}
5871 { (exit 1); exit 1; }; }
5873 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
5874 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
5875 Usually this means the macro was only invoked conditionally." >&5
5876 echo "$as_me: error: conditional \"TLS\" was never defined.
5877 Usually this means the macro was only invoked conditionally." >&2;}
5878 { (exit 1); exit 1; }; }
5880 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
5881 { { echo "$as_me:$LINENO: error: conditional \"STATIC_TLS\" was never defined.
5882 Usually this means the macro was only invoked conditionally." >&5
5883 echo "$as_me: error: conditional \"STATIC_TLS\" was never defined.
5884 Usually this means the macro was only invoked conditionally." >&2;}
5885 { (exit 1); exit 1; }; }
5887 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5888 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5889 Usually this means the macro was only invoked conditionally." >&5
5890 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5891 Usually this means the macro was only invoked conditionally." >&2;}
5892 { (exit 1); exit 1; }; }
5895 : ${CONFIG_STATUS=./config.status}
5896 ac_clean_files_save=$ac_clean_files
5897 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5898 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5899 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5900 cat >$CONFIG_STATUS <<_ACEOF
5902 # Generated by $as_me.
5903 # Run this file to recreate the current configuration.
5904 # Compiler output produced by configure, useful for debugging
5905 # configure, is in config.log if it exists.
5910 SHELL=\${CONFIG_SHELL-$SHELL}
5913 cat >>$CONFIG_STATUS <<\_ACEOF
5914 ## --------------------- ##
5915 ## M4sh Initialization. ##
5916 ## --------------------- ##
5918 # Be Bourne compatible
5919 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5922 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5923 # is contrary to our usage. Disable this feature.
5924 alias -g '${1+"$@"}'='"$@"'
5925 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5928 DUALCASE=1; export DUALCASE # for MKS sh
5930 # Support unset when possible.
5931 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5938 # Work around bugs in pre-3.0 UWIN ksh.
5939 $as_unset ENV MAIL MAILPATH
5946 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5947 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5948 LC_TELEPHONE LC_TIME
5950 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5951 eval $as_var=C; export $as_var
5957 # Required to use basename.
5958 if expr a : '\(a\)' >/dev/null 2>&1; then
5964 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5965 as_basename=basename
5971 # Name of the executable.
5972 as_me=`$as_basename "$0" ||
5973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5974 X"$0" : 'X\(//\)$' \| \
5975 X"$0" : 'X\(/\)$' \| \
5976 . : '\(.\)' 2>/dev/null ||
5978 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5979 /^X\/\(\/\/\)$/{ s//\1/; q; }
5980 /^X\/\(\/\).*/{ s//\1/; q; }
5984 # PATH needs CR, and LINENO needs CR and PATH.
5985 # Avoid depending upon Character Ranges.
5986 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5987 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5988 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5989 as_cr_digits='0123456789'
5990 as_cr_alnum=$as_cr_Letters$as_cr_digits
5992 # The user is always right.
5993 if test "${PATH_SEPARATOR+set}" != set; then
5994 echo "#! /bin/sh" >conf$$.sh
5995 echo "exit 0" >>conf$$.sh
5997 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6008 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6009 test "x$as_lineno_1" != "x$as_lineno_2" &&
6010 test "x$as_lineno_3" = "x$as_lineno_2" || {
6011 # Find who we are. Look in the path if we contain no path at all
6014 *[\\/]* ) as_myself=$0 ;;
6015 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir=.
6020 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6025 # We did not find ourselves, most probably we were run as `sh COMMAND'
6026 # in which case we are not to be found in the path.
6027 if test "x$as_myself" = x; then
6030 if test ! -f "$as_myself"; then
6031 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6032 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6033 { (exit 1); exit 1; }; }
6035 case $CONFIG_SHELL in
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6041 test -z "$as_dir" && as_dir=.
6042 for as_base in sh bash ksh sh5; do
6045 if ("$as_dir/$as_base" -c '
6048 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6049 test "x$as_lineno_1" != "x$as_lineno_2" &&
6050 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6051 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6052 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6053 CONFIG_SHELL=$as_dir/$as_base
6055 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6063 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6064 # uniformly replaced by the line number. The first 'sed' inserts a
6065 # line-number line before each line; the second 'sed' does the real
6066 # work. The second script uses 'N' to pair each line-number line
6067 # with the numbered line, and appends trailing '-' during
6068 # substitution so that $LINENO is not a special case at line end.
6069 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6070 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6071 sed '=' <$as_myself |
6076 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6079 s,^['$as_cr_digits']*\n,,
6081 chmod +x $as_me.lineno ||
6082 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6083 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6084 { (exit 1); exit 1; }; }
6086 # Don't try to exec as it changes $[0], causing all sort of problems
6087 # (the dirname of $[0] is not the place where we might find the
6088 # original and so on. Autoconf is especially sensible to this).
6090 # Exit status is that of the last command.
6095 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6096 *c*,-n*) ECHO_N= ECHO_C='
6098 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6099 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6102 if expr a : '\(a\)' >/dev/null 2>&1; then
6108 rm -f conf$$ conf$$.exe conf$$.file
6110 if ln -s conf$$.file conf$$ 2>/dev/null; then
6111 # We could just check for DJGPP; but this test a) works b) is more generic
6112 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6113 if test -f conf$$.exe; then
6114 # Don't use ln at all; we don't have any links
6119 elif ln conf$$.file conf$$ 2>/dev/null; then
6124 rm -f conf$$ conf$$.exe conf$$.file
6126 if mkdir -p . 2>/dev/null; then
6129 test -d ./-p && rmdir ./-p
6133 as_executable_p="test -f"
6135 # Sed expression to map a string onto a valid CPP name.
6136 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6138 # Sed expression to map a string onto a valid variable name.
6139 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6143 # We need space, tab and new line, in precisely that order.
6153 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6154 # report actual input values of CONFIG_FILES etc. instead of their
6155 # values after options handling. Logging --version etc. is OK.
6159 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6160 ## Running $as_me. ##
6165 This file was extended by gold $as_me 0.1, which was
6166 generated by GNU Autoconf 2.59. Invocation command line was
6168 CONFIG_FILES = $CONFIG_FILES
6169 CONFIG_HEADERS = $CONFIG_HEADERS
6170 CONFIG_LINKS = $CONFIG_LINKS
6171 CONFIG_COMMANDS = $CONFIG_COMMANDS
6175 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6179 # Files that config.status was made for.
6180 if test -n "$ac_config_files"; then
6181 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6184 if test -n "$ac_config_headers"; then
6185 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6188 if test -n "$ac_config_links"; then
6189 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6192 if test -n "$ac_config_commands"; then
6193 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6196 cat >>$CONFIG_STATUS <<\_ACEOF
6199 \`$as_me' instantiates files from templates according to the
6200 current configuration.
6202 Usage: $0 [OPTIONS] [FILE]...
6204 -h, --help print this help, then exit
6205 -V, --version print version number, then exit
6206 -q, --quiet do not print progress messages
6207 -d, --debug don't remove temporary files
6208 --recheck update $as_me by reconfiguring in the same conditions
6209 --file=FILE[:TEMPLATE]
6210 instantiate the configuration file FILE
6211 --header=FILE[:TEMPLATE]
6212 instantiate the configuration header FILE
6214 Configuration files:
6217 Configuration headers:
6220 Configuration commands:
6226 cat >>$CONFIG_STATUS <<_ACEOF
6228 gold config.status 0.1
6229 configured by $0, generated by GNU Autoconf 2.59,
6230 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6232 Copyright (C) 2003 Free Software Foundation, Inc.
6233 This config.status script is free software; the Free Software Foundation
6234 gives unlimited permission to copy, distribute and modify it."
6239 cat >>$CONFIG_STATUS <<\_ACEOF
6240 # If no file are specified by the user, then we need to provide default
6241 # value. By we need to know if files were specified by the user.
6247 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6248 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6256 *) # This is not an option, so the user has probably given explicit
6259 ac_need_defaults=false;;
6263 # Handling of the options.
6265 cat >>$CONFIG_STATUS <<\_ACEOF
6266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6268 --version | --vers* | -V )
6269 echo "$ac_cs_version"; exit 0 ;;
6271 # Conflict between --help and --header
6272 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6273 Try \`$0 --help' for more information." >&5
6274 echo "$as_me: error: ambiguous option: $1
6275 Try \`$0 --help' for more information." >&2;}
6276 { (exit 1); exit 1; }; };;
6277 --help | --hel | -h )
6278 echo "$ac_cs_usage"; exit 0 ;;
6279 --debug | --d* | -d )
6281 --file | --fil | --fi | --f )
6283 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6284 ac_need_defaults=false;;
6285 --header | --heade | --head | --hea )
6287 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6288 ac_need_defaults=false;;
6289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6290 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6294 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6295 Try \`$0 --help' for more information." >&5
6296 echo "$as_me: error: unrecognized option: $1
6297 Try \`$0 --help' for more information." >&2;}
6298 { (exit 1); exit 1; }; } ;;
6300 *) ac_config_targets="$ac_config_targets $1" ;;
6306 ac_configure_extra_args=
6308 if $ac_cs_silent; then
6310 ac_configure_extra_args="$ac_configure_extra_args --silent"
6314 cat >>$CONFIG_STATUS <<_ACEOF
6315 if \$ac_cs_recheck; then
6316 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6317 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6322 cat >>$CONFIG_STATUS <<_ACEOF
6324 # INIT-COMMANDS section.
6327 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6328 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
6329 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
6331 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6332 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6333 LINGUAS="${LINGUAS-%UNSET%}"
6340 cat >>$CONFIG_STATUS <<\_ACEOF
6341 for ac_config_target in $ac_config_targets
6343 case "$ac_config_target" in
6344 # Handling of arguments.
6345 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6346 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
6347 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
6348 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6349 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6350 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
6351 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6352 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6353 { (exit 1); exit 1; }; };;
6357 # If the user did not use the arguments to specify the items to instantiate,
6358 # then the envvar interface is used. Set only those that are not.
6359 # We use the long form for the default assignment because of an extremely
6360 # bizarre bug on SunOS 4.1.3.
6361 if $ac_need_defaults; then
6362 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6363 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6367 # Have a temporary directory for convenience. Make it in the build tree
6368 # simply because there is no reason to put it here, and in addition,
6369 # creating and moving files from /tmp can sometimes cause problems.
6370 # Create a temporary directory, and hook for its removal unless debugging.
6373 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6374 trap '{ (exit 1); exit 1; }' 1 2 13 15
6377 # Create a (secure) tmp directory for tmp files.
6380 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6381 test -n "$tmp" && test -d "$tmp"
6384 tmp=./confstat$$-$RANDOM
6385 (umask 077 && mkdir $tmp)
6388 echo "$me: cannot create a temporary directory in ." >&2
6389 { (exit 1); exit 1; }
6394 cat >>$CONFIG_STATUS <<_ACEOF
6397 # CONFIG_FILES section.
6400 # No need to generate the scripts if there are no CONFIG_FILES.
6401 # This happens for instance when ./config.status config.h
6402 if test -n "\$CONFIG_FILES"; then
6403 # Protect against being on the right side of a sed subst in config.status.
6404 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6405 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6406 s,@SHELL@,$SHELL,;t t
6407 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6408 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6409 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6410 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6411 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6412 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6413 s,@exec_prefix@,$exec_prefix,;t t
6414 s,@prefix@,$prefix,;t t
6415 s,@program_transform_name@,$program_transform_name,;t t
6416 s,@bindir@,$bindir,;t t
6417 s,@sbindir@,$sbindir,;t t
6418 s,@libexecdir@,$libexecdir,;t t
6419 s,@datadir@,$datadir,;t t
6420 s,@sysconfdir@,$sysconfdir,;t t
6421 s,@sharedstatedir@,$sharedstatedir,;t t
6422 s,@localstatedir@,$localstatedir,;t t
6423 s,@libdir@,$libdir,;t t
6424 s,@includedir@,$includedir,;t t
6425 s,@oldincludedir@,$oldincludedir,;t t
6426 s,@infodir@,$infodir,;t t
6427 s,@mandir@,$mandir,;t t
6428 s,@build_alias@,$build_alias,;t t
6429 s,@host_alias@,$host_alias,;t t
6430 s,@target_alias@,$target_alias,;t t
6432 s,@ECHO_C@,$ECHO_C,;t t
6433 s,@ECHO_N@,$ECHO_N,;t t
6434 s,@ECHO_T@,$ECHO_T,;t t
6436 s,@build@,$build,;t t
6437 s,@build_cpu@,$build_cpu,;t t
6438 s,@build_vendor@,$build_vendor,;t t
6439 s,@build_os@,$build_os,;t t
6441 s,@host_cpu@,$host_cpu,;t t
6442 s,@host_vendor@,$host_vendor,;t t
6443 s,@host_os@,$host_os,;t t
6444 s,@target@,$target,;t t
6445 s,@target_cpu@,$target_cpu,;t t
6446 s,@target_vendor@,$target_vendor,;t t
6447 s,@target_os@,$target_os,;t t
6448 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6449 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6450 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6451 s,@CYGPATH_W@,$CYGPATH_W,;t t
6452 s,@PACKAGE@,$PACKAGE,;t t
6453 s,@VERSION@,$VERSION,;t t
6454 s,@ACLOCAL@,$ACLOCAL,;t t
6455 s,@AUTOCONF@,$AUTOCONF,;t t
6456 s,@AUTOMAKE@,$AUTOMAKE,;t t
6457 s,@AUTOHEADER@,$AUTOHEADER,;t t
6458 s,@MAKEINFO@,$MAKEINFO,;t t
6459 s,@install_sh@,$install_sh,;t t
6460 s,@STRIP@,$STRIP,;t t
6461 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6462 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6463 s,@mkdir_p@,$mkdir_p,;t t
6465 s,@SET_MAKE@,$SET_MAKE,;t t
6466 s,@am__leading_dot@,$am__leading_dot,;t t
6467 s,@AMTAR@,$AMTAR,;t t
6468 s,@am__tar@,$am__tar,;t t
6469 s,@am__untar@,$am__untar,;t t
6470 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
6471 s,@THREADS_FALSE@,$THREADS_FALSE,;t t
6472 s,@TARGETOBJS@,$TARGETOBJS,;t t
6474 s,@CFLAGS@,$CFLAGS,;t t
6475 s,@LDFLAGS@,$LDFLAGS,;t t
6476 s,@CPPFLAGS@,$CPPFLAGS,;t t
6477 s,@ac_ct_CC@,$ac_ct_CC,;t t
6478 s,@EXEEXT@,$EXEEXT,;t t
6479 s,@OBJEXT@,$OBJEXT,;t t
6480 s,@DEPDIR@,$DEPDIR,;t t
6481 s,@am__include@,$am__include,;t t
6482 s,@am__quote@,$am__quote,;t t
6483 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6484 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6485 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6486 s,@CCDEPMODE@,$CCDEPMODE,;t t
6487 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6488 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6490 s,@CXXFLAGS@,$CXXFLAGS,;t t
6491 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6492 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6493 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6494 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6496 s,@RANLIB@,$RANLIB,;t t
6497 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6499 s,@USE_NLS@,$USE_NLS,;t t
6500 s,@LIBINTL@,$LIBINTL,;t t
6501 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6502 s,@INCINTL@,$INCINTL,;t t
6503 s,@XGETTEXT@,$XGETTEXT,;t t
6504 s,@GMSGFMT@,$GMSGFMT,;t t
6505 s,@POSUB@,$POSUB,;t t
6506 s,@CATALOGS@,$CATALOGS,;t t
6507 s,@DATADIRNAME@,$DATADIRNAME,;t t
6508 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6509 s,@GENCAT@,$GENCAT,;t t
6510 s,@CATOBJEXT@,$CATOBJEXT,;t t
6511 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6512 s,@MSGFMT@,$MSGFMT,;t t
6513 s,@MSGMERGE@,$MSGMERGE,;t t
6514 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
6515 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
6516 s,@GCC_TRUE@,$GCC_TRUE,;t t
6517 s,@GCC_FALSE@,$GCC_FALSE,;t t
6518 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
6519 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
6520 s,@TLS_TRUE@,$TLS_TRUE,;t t
6521 s,@TLS_FALSE@,$TLS_FALSE,;t t
6522 s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
6523 s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
6524 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6525 s,@NO_WERROR@,$NO_WERROR,;t t
6526 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
6527 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
6528 s,@LIBOBJS@,$LIBOBJS,;t t
6529 s,@CXXCPP@,$CXXCPP,;t t
6530 s,@EGREP@,$EGREP,;t t
6531 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6532 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6533 s,@MAINT@,$MAINT,;t t
6534 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6539 cat >>$CONFIG_STATUS <<\_ACEOF
6540 # Split the substitutions into bite-sized pieces for seds with
6541 # small command number limits, like on Digital OSF/1 and HP-UX.
6543 ac_sed_frag=1 # Number of current file.
6544 ac_beg=1 # First line for current file.
6545 ac_end=$ac_max_sed_lines # Line after last line for current file.
6548 while $ac_more_lines; do
6549 if test $ac_beg -gt 1; then
6550 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6552 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6554 if test ! -s $tmp/subs.frag; then
6557 # The purpose of the label and of the branching condition is to
6558 # speed up the sed processing (if there are no `@' at all, there
6559 # is no need to browse any of the substitutions).
6560 # These are the two extra sed commands mentioned above.
6562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6563 if test -z "$ac_sed_cmds"; then
6564 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6566 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6568 ac_sed_frag=`expr $ac_sed_frag + 1`
6570 ac_end=`expr $ac_end + $ac_max_sed_lines`
6573 if test -z "$ac_sed_cmds"; then
6576 fi # test -n "$CONFIG_FILES"
6579 cat >>$CONFIG_STATUS <<\_ACEOF
6580 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6583 - | *:- | *:-:* ) # input from stdin
6585 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6586 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6587 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6588 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6589 * ) ac_file_in=$ac_file.in ;;
6592 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6593 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6594 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6595 X"$ac_file" : 'X\(//\)[^/]' \| \
6596 X"$ac_file" : 'X\(//\)$' \| \
6597 X"$ac_file" : 'X\(/\)' \| \
6598 . : '\(.\)' 2>/dev/null ||
6600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6602 /^X\(\/\/\)$/{ s//\1/; q; }
6603 /^X\(\/\).*/{ s//\1/; q; }
6605 { if $as_mkdir_p; then
6610 while test ! -d "$as_dir"; do
6611 as_dirs="$as_dir $as_dirs"
6612 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6613 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6614 X"$as_dir" : 'X\(//\)[^/]' \| \
6615 X"$as_dir" : 'X\(//\)$' \| \
6616 X"$as_dir" : 'X\(/\)' \| \
6617 . : '\(.\)' 2>/dev/null ||
6619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6621 /^X\(\/\/\)$/{ s//\1/; q; }
6622 /^X\(\/\).*/{ s//\1/; q; }
6625 test ! -n "$as_dirs" || mkdir $as_dirs
6626 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6627 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6628 { (exit 1); exit 1; }; }; }
6632 if test "$ac_dir" != .; then
6633 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6634 # A "../" for each directory in $ac_dir_suffix.
6635 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6637 ac_dir_suffix= ac_top_builddir=
6641 .) # No --srcdir option. We are building in place.
6643 if test -z "$ac_top_builddir"; then
6646 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6648 [\\/]* | ?:[\\/]* ) # Absolute path.
6649 ac_srcdir=$srcdir$ac_dir_suffix;
6650 ac_top_srcdir=$srcdir ;;
6652 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6653 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6656 # Do not use `cd foo && pwd` to compute absolute paths, because
6657 # the directories may not exist.
6659 .) ac_abs_builddir="$ac_dir";;
6662 .) ac_abs_builddir=`pwd`;;
6663 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6664 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6667 case $ac_abs_builddir in
6668 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6670 case ${ac_top_builddir}. in
6671 .) ac_abs_top_builddir=$ac_abs_builddir;;
6672 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6673 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6676 case $ac_abs_builddir in
6677 .) ac_abs_srcdir=$ac_srcdir;;
6680 .) ac_abs_srcdir=$ac_abs_builddir;;
6681 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6682 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6685 case $ac_abs_builddir in
6686 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6688 case $ac_top_srcdir in
6689 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6690 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6691 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6697 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6698 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6701 if test x"$ac_file" != x-; then
6702 { echo "$as_me:$LINENO: creating $ac_file" >&5
6703 echo "$as_me: creating $ac_file" >&6;}
6706 # Let's still pretend it is `configure' which instantiates (i.e., don't
6707 # use $as_me), people would be surprised to read:
6708 # /* config.h. Generated by config.status. */
6709 if test x"$ac_file" = x-; then
6712 configure_input="$ac_file. "
6714 configure_input=$configure_input"Generated from `echo $ac_file_in |
6715 sed 's,.*/,,'` by configure."
6717 # First look for the input files in the build tree, otherwise in the
6719 ac_file_inputs=`IFS=:
6720 for f in $ac_file_in; do
6722 -) echo $tmp/stdin ;;
6724 # Absolute (can't be DOS-style, as IFS=:)
6725 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6726 echo "$as_me: error: cannot find input file: $f" >&2;}
6727 { (exit 1); exit 1; }; }
6730 if test -f "$f"; then
6733 elif test -f "$srcdir/$f"; then
6738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6739 echo "$as_me: error: cannot find input file: $f" >&2;}
6740 { (exit 1); exit 1; }; }
6743 done` || { (exit 1); exit 1; }
6745 cat >>$CONFIG_STATUS <<_ACEOF
6749 cat >>$CONFIG_STATUS <<\_ACEOF
6751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6752 s,@configure_input@,$configure_input,;t t
6753 s,@srcdir@,$ac_srcdir,;t t
6754 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6755 s,@top_srcdir@,$ac_top_srcdir,;t t
6756 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6757 s,@builddir@,$ac_builddir,;t t
6758 s,@abs_builddir@,$ac_abs_builddir,;t t
6759 s,@top_builddir@,$ac_top_builddir,;t t
6760 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6761 s,@INSTALL@,$ac_INSTALL,;t t
6762 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6764 if test x"$ac_file" != x-; then
6765 mv $tmp/out $ac_file
6773 cat >>$CONFIG_STATUS <<\_ACEOF
6776 # CONFIG_HEADER section.
6779 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6780 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6782 # ac_d sets the value in "#define NAME VALUE" lines.
6783 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6784 ac_dB='[ ].*$,\1#\2'
6787 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6788 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6789 ac_uB='$,\1#\2define\3'
6793 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6794 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6796 - | *:- | *:-:* ) # input from stdin
6798 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6799 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6800 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6801 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6802 * ) ac_file_in=$ac_file.in ;;
6805 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6806 echo "$as_me: creating $ac_file" >&6;}
6808 # First look for the input files in the build tree, otherwise in the
6810 ac_file_inputs=`IFS=:
6811 for f in $ac_file_in; do
6813 -) echo $tmp/stdin ;;
6815 # Absolute (can't be DOS-style, as IFS=:)
6816 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6817 echo "$as_me: error: cannot find input file: $f" >&2;}
6818 { (exit 1); exit 1; }; }
6819 # Do quote $f, to prevent DOS paths from being IFS'd.
6822 if test -f "$f"; then
6825 elif test -f "$srcdir/$f"; then
6830 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6831 echo "$as_me: error: cannot find input file: $f" >&2;}
6832 { (exit 1); exit 1; }; }
6835 done` || { (exit 1); exit 1; }
6836 # Remove the trailing spaces.
6837 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6841 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6842 # `conftest.undefs', that substitutes the proper values into
6843 # config.h.in to produce config.h. The first handles `#define'
6844 # templates, and the second `#undef' templates.
6845 # And first: Protect against being on the right side of a sed subst in
6846 # config.status. Protect against being in an unquoted here document
6848 rm -f conftest.defines conftest.undefs
6849 # Using a here document instead of a string reduces the quoting nightmare.
6850 # Putting comments in sed scripts is not portable.
6852 # `end' is used to avoid that the second main sed command (meant for
6853 # 0-ary CPP macros) applies to n-ary macro definitions.
6854 # See the Autoconf documentation for `clear'.
6855 cat >confdef2sed.sed <<\_ACEOF
6860 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6862 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6865 # If some macros were called several times there might be several times
6866 # the same #defines, which is useless. Nevertheless, we may not want to
6867 # sort them, since we want the *last* AC-DEFINE to be honored.
6868 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6869 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6870 rm -f confdef2sed.sed
6872 # This sed command replaces #undef with comments. This is necessary, for
6873 # example, in the case of _POSIX_SOURCE, which is predefined and required
6874 # on some systems where configure will not decide to define it.
6875 cat >>conftest.undefs <<\_ACEOF
6876 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6879 # Break up conftest.defines because some shells have a limit on the size
6880 # of here documents, and old seds have small limits too (100 cmds).
6881 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6882 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6883 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6884 echo ' :' >>$CONFIG_STATUS
6886 while grep . conftest.defines >/dev/null
6888 # Write a limited-size here document to $tmp/defines.sed.
6889 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6890 # Speed up: don't consider the non `#define' lines.
6891 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6892 # Work around the forget-to-reset-the-flag bug.
6893 echo 't clr' >>$CONFIG_STATUS
6894 echo ': clr' >>$CONFIG_STATUS
6895 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6897 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6901 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6902 rm -f conftest.defines
6903 mv conftest.tail conftest.defines
6905 rm -f conftest.defines
6906 echo ' fi # grep' >>$CONFIG_STATUS
6907 echo >>$CONFIG_STATUS
6909 # Break up conftest.undefs because some shells have a limit on the size
6910 # of here documents, and old seds have small limits too (100 cmds).
6911 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6913 while grep . conftest.undefs >/dev/null
6915 # Write a limited-size here document to $tmp/undefs.sed.
6916 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6917 # Speed up: don't consider the non `#undef'
6918 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6919 # Work around the forget-to-reset-the-flag bug.
6920 echo 't clr' >>$CONFIG_STATUS
6921 echo ': clr' >>$CONFIG_STATUS
6922 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6924 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6928 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6929 rm -f conftest.undefs
6930 mv conftest.tail conftest.undefs
6932 rm -f conftest.undefs
6934 cat >>$CONFIG_STATUS <<\_ACEOF
6935 # Let's still pretend it is `configure' which instantiates (i.e., don't
6936 # use $as_me), people would be surprised to read:
6937 # /* config.h. Generated by config.status. */
6938 if test x"$ac_file" = x-; then
6939 echo "/* Generated by configure. */" >$tmp/config.h
6941 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6943 cat $tmp/in >>$tmp/config.h
6945 if test x"$ac_file" != x-; then
6946 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6947 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6948 echo "$as_me: $ac_file is unchanged" >&6;}
6950 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6952 X"$ac_file" : 'X\(//\)[^/]' \| \
6953 X"$ac_file" : 'X\(//\)$' \| \
6954 X"$ac_file" : 'X\(/\)' \| \
6955 . : '\(.\)' 2>/dev/null ||
6957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6959 /^X\(\/\/\)$/{ s//\1/; q; }
6960 /^X\(\/\).*/{ s//\1/; q; }
6962 { if $as_mkdir_p; then
6967 while test ! -d "$as_dir"; do
6968 as_dirs="$as_dir $as_dirs"
6969 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971 X"$as_dir" : 'X\(//\)[^/]' \| \
6972 X"$as_dir" : 'X\(//\)$' \| \
6973 X"$as_dir" : 'X\(/\)' \| \
6974 . : '\(.\)' 2>/dev/null ||
6976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6978 /^X\(\/\/\)$/{ s//\1/; q; }
6979 /^X\(\/\).*/{ s//\1/; q; }
6982 test ! -n "$as_dirs" || mkdir $as_dirs
6983 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6984 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6985 { (exit 1); exit 1; }; }; }
6988 mv $tmp/config.h $ac_file
6994 # Compute $ac_file's index in $config_headers.
6996 for _am_header in $config_headers :; do
6998 $ac_file | $ac_file:* )
7001 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7004 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7005 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006 X$ac_file : 'X\(//\)[^/]' \| \
7007 X$ac_file : 'X\(//\)$' \| \
7008 X$ac_file : 'X\(/\)' \| \
7009 . : '\(.\)' 2>/dev/null ||
7011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7013 /^X\(\/\/\)$/{ s//\1/; q; }
7014 /^X\(\/\).*/{ s//\1/; q; }
7015 s/.*/./; q'`/stamp-h$_am_stamp_count
7018 cat >>$CONFIG_STATUS <<\_ACEOF
7021 # CONFIG_COMMANDS section.
7023 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7024 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7025 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7026 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7027 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7028 X"$ac_dest" : 'X\(//\)[^/]' \| \
7029 X"$ac_dest" : 'X\(//\)$' \| \
7030 X"$ac_dest" : 'X\(/\)' \| \
7031 . : '\(.\)' 2>/dev/null ||
7033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7034 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7035 /^X\(\/\/\)$/{ s//\1/; q; }
7036 /^X\(\/\).*/{ s//\1/; q; }
7038 { if $as_mkdir_p; then
7043 while test ! -d "$as_dir"; do
7044 as_dirs="$as_dir $as_dirs"
7045 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7047 X"$as_dir" : 'X\(//\)[^/]' \| \
7048 X"$as_dir" : 'X\(//\)$' \| \
7049 X"$as_dir" : '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; }
7058 test ! -n "$as_dirs" || mkdir $as_dirs
7059 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7060 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7061 { (exit 1); exit 1; }; }; }
7065 if test "$ac_dir" != .; then
7066 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7067 # A "../" for each directory in $ac_dir_suffix.
7068 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7070 ac_dir_suffix= ac_top_builddir=
7074 .) # No --srcdir option. We are building in place.
7076 if test -z "$ac_top_builddir"; then
7079 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7081 [\\/]* | ?:[\\/]* ) # Absolute path.
7082 ac_srcdir=$srcdir$ac_dir_suffix;
7083 ac_top_srcdir=$srcdir ;;
7085 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7086 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7089 # Do not use `cd foo && pwd` to compute absolute paths, because
7090 # the directories may not exist.
7092 .) ac_abs_builddir="$ac_dir";;
7095 .) ac_abs_builddir=`pwd`;;
7096 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7097 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7100 case $ac_abs_builddir in
7101 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7103 case ${ac_top_builddir}. in
7104 .) ac_abs_top_builddir=$ac_abs_builddir;;
7105 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7106 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7109 case $ac_abs_builddir in
7110 .) ac_abs_srcdir=$ac_srcdir;;
7113 .) ac_abs_srcdir=$ac_abs_builddir;;
7114 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7115 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7118 case $ac_abs_builddir in
7119 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7121 case $ac_top_srcdir in
7122 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7123 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7124 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7129 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7130 echo "$as_me: executing $ac_dest commands" >&6;}
7132 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7133 # Strip MF so we end up with the name of the file.
7134 mf=`echo "$mf" | sed -e 's/:.*$//'`
7135 # Check whether this is an Automake generated Makefile or not.
7136 # We used to match only the files named `Makefile.in', but
7137 # some people rename them; so instead we look at the file content.
7138 # Grep'ing the first line is not enough: some people post-process
7139 # each Makefile.in and add a new line on top of each file to say so.
7140 # So let's grep whole file.
7141 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7142 dirpart=`(dirname "$mf") 2>/dev/null ||
7143 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7144 X"$mf" : 'X\(//\)[^/]' \| \
7145 X"$mf" : 'X\(//\)$' \| \
7146 X"$mf" : 'X\(/\)' \| \
7147 . : '\(.\)' 2>/dev/null ||
7149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7150 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7151 /^X\(\/\/\)$/{ s//\1/; q; }
7152 /^X\(\/\).*/{ s//\1/; q; }
7157 # Extract the definition of DEPDIR, am__include, and am__quote
7158 # from the Makefile without running `make'.
7159 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7160 test -z "$DEPDIR" && continue
7161 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7162 test -z "am__include" && continue
7163 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7164 # When using ansi2knr, U may be empty or an underscore; expand it
7165 U=`sed -n 's/^U = //p' < "$mf"`
7166 # Find all dependency output files, they are included files with
7167 # $(DEPDIR) in their names. We invoke sed twice because it is the
7168 # simplest approach to changing $(DEPDIR) to its actual value in the
7170 for file in `sed -n "
7171 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7172 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7173 # Make sure the directory exists.
7174 test -f "$dirpart/$file" && continue
7175 fdir=`(dirname "$file") 2>/dev/null ||
7176 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7177 X"$file" : 'X\(//\)[^/]' \| \
7178 X"$file" : 'X\(//\)$' \| \
7179 X"$file" : 'X\(/\)' \| \
7180 . : '\(.\)' 2>/dev/null ||
7182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7184 /^X\(\/\/\)$/{ s//\1/; q; }
7185 /^X\(\/\).*/{ s//\1/; q; }
7187 { if $as_mkdir_p; then
7188 mkdir -p $dirpart/$fdir
7190 as_dir=$dirpart/$fdir
7192 while test ! -d "$as_dir"; do
7193 as_dirs="$as_dir $as_dirs"
7194 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7196 X"$as_dir" : 'X\(//\)[^/]' \| \
7197 X"$as_dir" : 'X\(//\)$' \| \
7198 X"$as_dir" : 'X\(/\)' \| \
7199 . : '\(.\)' 2>/dev/null ||
7201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7202 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7203 /^X\(\/\/\)$/{ s//\1/; q; }
7204 /^X\(\/\).*/{ s//\1/; q; }
7207 test ! -n "$as_dirs" || mkdir $as_dirs
7208 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7209 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7210 { (exit 1); exit 1; }; }; }
7212 # echo "creating $dirpart/$file"
7213 echo '# dummy' > "$dirpart/$file"
7218 for ac_file in $CONFIG_FILES; do
7219 # Support "outfile[:infile[:infile...]]"
7221 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7223 # PO directories have a Makefile.in generated from Makefile.in.in.
7224 case "$ac_file" in */Makefile.in)
7225 # Adjust a relative srcdir.
7226 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7227 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7228 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7229 # In autoconf-2.13 it is called $ac_given_srcdir.
7230 # In autoconf-2.50 it is called $srcdir.
7231 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7232 case "$ac_given_srcdir" in
7233 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7234 /*) top_srcdir="$ac_given_srcdir" ;;
7235 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7237 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7238 rm -f "$ac_dir/POTFILES"
7239 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7240 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7241 POMAKEFILEDEPS="POTFILES.in"
7242 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
7243 # on $ac_dir but don't depend on user-specified configuration
7245 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7246 # The LINGUAS file contains the set of available languages.
7247 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7248 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7250 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7251 # Hide the ALL_LINGUAS assigment from automake.
7252 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7253 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7255 # The set of available languages was given in configure.in.
7256 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7258 case "$ac_given_srcdir" in
7260 *) srcdirpre='$(srcdir)/' ;;
7266 for lang in $ALL_LINGUAS; do
7267 POFILES="$POFILES $srcdirpre$lang.po"
7268 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7269 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7270 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7272 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7273 # environment variable.
7275 if test -n "$ALL_LINGUAS"; then
7276 for presentlang in $ALL_LINGUAS; do
7278 if test "%UNSET%" != "$LINGUAS"; then
7279 desiredlanguages="$LINGUAS"
7281 desiredlanguages="$ALL_LINGUAS"
7283 for desiredlang in $desiredlanguages; do
7284 # Use the presentlang catalog if desiredlang is
7285 # a. equal to presentlang, or
7286 # b. a variant of presentlang (because in this case,
7287 # presentlang can be used as a fallback for messages
7288 # which are not translated in the desiredlang catalog).
7289 case "$desiredlang" in
7290 "$presentlang"*) useit=yes;;
7293 if test $useit = yes; then
7294 INST_LINGUAS="$INST_LINGUAS $presentlang"
7299 if test -n "$INST_LINGUAS"; then
7300 for lang in $INST_LINGUAS; do
7301 CATALOGS="$CATALOGS $lang.gmo"
7304 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7305 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"
7306 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7307 if test -f "$f"; then
7309 *.orig | *.bak | *~) ;;
7310 *) cat "$f" >> "$ac_dir/Makefile" ;;
7322 cat >>$CONFIG_STATUS <<\_ACEOF
7324 { (exit 0); exit 0; }
7326 chmod +x $CONFIG_STATUS
7327 ac_clean_files=$ac_clean_files_save
7330 # configure is writing to config.log, and then calls config.status.
7331 # config.status does its own redirection, appending to config.log.
7332 # Unfortunately, on DOS this fails, as config.log is still kept open
7333 # by configure, so config.status won't be able to write to it; its
7334 # output is simply discarded. So we exec the FD to /dev/null,
7335 # effectively closing config.log, so it can be properly (re)opened and
7336 # appended to by config.status. When coming back to configure, we
7337 # need to make the FD available again.
7338 if test "$no_create" != yes; then
7340 ac_config_status_args=
7341 test "$silent" = yes &&
7342 ac_config_status_args="$ac_config_status_args --quiet"
7344 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7346 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7347 # would make configure fail if this is the last instruction.
7348 $ac_cs_success || { (exit 1); exit 1; }