2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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.
274 ac_unique_file
="gold.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar TARGETOBJS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC RANLIB ac_ct_RANLIB LN_S USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE NATIVE_LINKER_TRUE NATIVE_LINKER_FALSE GCC_TRUE GCC_FALSE 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 this package 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
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-targets alternative target configurations
862 --disable-dependency-tracking speeds up one-time build
863 --enable-dependency-tracking do not reject slow dependency extractors
864 --disable-nls do not use Native Language Support
865 --enable-werror treat compile warnings as errors
866 --enable-build-warnings enable build-time compiler warnings
867 --enable-maintainer-mode enable make rules and dependencies not useful
868 (and sometimes confusing
) to the casual installer
870 Some influential environment variables
:
871 CC C compiler
command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
874 nonstandard directory
<lib dir
>
875 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
876 headers
in a nonstandard directory
<include dir
>
877 CXX C
++ compiler
command
878 CXXFLAGS C
++ compiler flags
879 CXXCPP C
++ preprocessor
881 Use these variables to override the choices made by
`configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo
&& pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by $as_me, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1004 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1005 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1006 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1007 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1010 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1012 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1014 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1015 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1016 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1018 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close
' the trap.
1098 trap 'exit_status
=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var
in $ac_subst_vars
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var
in $ac_subst_files
1148 eval ac_val
=$
`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h
; then
1161 sed "/^$/d" confdefs.h |
sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core
*.core
&&
1169 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's
/^
/|
/' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1291 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323 if test -f $ac_dir/install-sh; then
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1327 elif test -f $ac_dir/install.sh; then
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1331 elif test -f $ac_dir/shtool; then
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340 { (exit 1); exit 1; }; }
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346 # Make sure we can run config.sub.
1347 $ac_config_sub sun4 >/dev/null 2>&1 ||
1348 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1349 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1350 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: checking build system type" >&5
1353 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1354 if test "${ac_cv_build+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 ac_cv_build_alias=$build_alias
1358 test -z "$ac_cv_build_alias" &&
1359 ac_cv_build_alias=`$ac_config_guess`
1360 test -z "$ac_cv_build_alias" &&
1361 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1362 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1363 { (exit 1); exit 1; }; }
1364 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1371 echo "${ECHO_T}$ac_cv_build" >&6
1373 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1374 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1375 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1378 echo "$as_me:$LINENO: checking host system type" >&5
1379 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1380 if test "${ac_cv_host+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 ac_cv_host_alias=$host_alias
1384 test -z "$ac_cv_host_alias" &&
1385 ac_cv_host_alias=$ac_cv_build_alias
1386 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1393 echo "${ECHO_T}$ac_cv_host" >&6
1395 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1396 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1397 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1400 echo "$as_me:$LINENO: checking target system type" >&5
1401 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1402 if test "${ac_cv_target+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_target_alias=$target_alias
1406 test "x$ac_cv_target_alias" = "x" &&
1407 ac_cv_target_alias=$ac_cv_host_alias
1408 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1415 echo "${ECHO_T}$ac_cv_target" >&6
1416 target=$ac_cv_target
1417 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1418 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1419 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1422 # The aliases save the names the user supplied, while $host etc.
1423 # will get canonicalized.
1424 test -n "$target_alias" &&
1425 test "$program_prefix$program_suffix$program_transform_name" = \
1427 program_prefix=${target_alias}-
1429 am__api_version="1.9"
1430 # Find a good install program. We prefer a C program (faster),
1431 # so one script is as good as another. But avoid the broken or
1432 # incompatible versions:
1433 # SysV /etc/install, /usr/sbin/install
1434 # SunOS /usr/etc/install
1435 # IRIX /sbin/install
1437 # AmigaOS /C/install, which installs bootblocks on floppy discs
1438 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1441 # OS/2's system install, which has a completely different semantic
1442 # ./install, which can be erroneously created by make from ./install.sh.
1443 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1444 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1445 if test -z "$INSTALL"; then
1446 if test "${ac_cv_path_install+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir
=.
1454 # Account for people who put trailing slashes in PATH elements.
1456 .
/ | .
// |
/cC
/* | \
1457 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1458 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1461 # OSF1 and SCO ODT 3.0 have their own names for install.
1462 # Don't use installbsd from OSF since it installs stuff as root
1464 for ac_prog
in ginstall scoinst
install; do
1465 for ac_exec_ext
in '' $ac_executable_extensions; do
1466 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1467 if test $ac_prog = install &&
1468 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1469 # AIX install. It has an incompatible calling convention.
1471 elif test $ac_prog = install &&
1472 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1473 # program-specific install script used by HP pwplus--don't use.
1476 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1488 if test "${ac_cv_path_install+set}" = set; then
1489 INSTALL
=$ac_cv_path_install
1491 # As a last resort, use the slow shell script. We don't cache a
1492 # path for INSTALL within a source directory, because that will
1493 # break other packages using the cache if that directory is
1494 # removed, or if the path is relative.
1495 INSTALL
=$ac_install_sh
1498 echo "$as_me:$LINENO: result: $INSTALL" >&5
1499 echo "${ECHO_T}$INSTALL" >&6
1501 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1502 # It thinks the first close brace ends the variable substitution.
1503 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1505 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1507 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1509 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1510 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1513 echo timestamp
> conftest.
file
1514 # Do `set' in a subshell so we don't clobber the current shell's
1515 # arguments. Must try -L first in case configure is actually a
1516 # symlink; some systems play weird games with the mod time of symlinks
1517 # (eg FreeBSD returns the mod time of the symlink's containing
1520 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1521 if test "$*" = "X"; then
1523 set X
`ls -t $srcdir/configure conftest.file`
1526 if test "$*" != "X $srcdir/configure conftest.file" \
1527 && test "$*" != "X conftest.file $srcdir/configure"; then
1529 # If neither matched, then we have a broken ls. This can happen
1530 # if, for instance, CONFIG_SHELL is bash and it inherits a
1531 # broken ls alias from the environment. This has actually
1532 # happened. Such a system could not be considered "sane".
1533 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1534 alias in your environment" >&5
1535 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1536 alias in your environment" >&2;}
1537 { (exit 1); exit 1; }; }
1540 test "$2" = conftest.
file
1546 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1547 Check your system clock" >&5
1548 echo "$as_me: error: newly created file is older than distributed files!
1549 Check your system clock" >&2;}
1550 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: yes" >&5
1553 echo "${ECHO_T}yes" >&6
1554 test "$program_prefix" != NONE
&&
1555 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1556 # Use a double $ so make ignores it.
1557 test "$program_suffix" != NONE
&&
1558 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1559 # Double any \ or $. echo might interpret backslashes.
1560 # By default was `s,x,x', remove it if useless.
1561 cat <<\_ACEOF
>conftest.
sed
1562 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1564 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1567 # expand $ac_aux_dir to an absolute path
1568 am_aux_dir
=`cd $ac_aux_dir && pwd`
1570 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1571 # Use eval to expand $SHELL
1572 if eval "$MISSING --run true"; then
1573 am_missing_run
="$MISSING --run "
1576 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1577 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1580 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1581 # We used to keeping the `.' as first argument, in order to
1582 # allow $(mkdir_p) to be used without argument. As in
1583 # $(mkdir_p) $(somedir)
1584 # where $(somedir) is conditionally defined. However this is wrong
1586 # 1. if the package is installed by a user who cannot write `.'
1587 # make install will fail,
1588 # 2. the above comment should most certainly read
1589 # $(mkdir_p) $(DESTDIR)$(somedir)
1590 # so it does not work when $(somedir) is undefined and
1591 # $(DESTDIR) is not.
1592 # To support the latter case, we have to write
1593 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1594 # so the `.' trick is pointless.
1595 mkdir_p
='mkdir -p --'
1597 # On NextStep and OpenStep, the `mkdir' command does not
1598 # recognize any option. It will interpret all options as
1599 # directories to create, and then abort because `.' already
1601 for d
in .
/-p .
/--version;
1603 test -d $d && rmdir $d
1605 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1606 if test -f "$ac_aux_dir/mkinstalldirs"; then
1607 mkdir_p
='$(mkinstalldirs)'
1609 mkdir_p
='$(install_sh) -d'
1613 for ac_prog
in gawk mawk nawk
awk
1615 # Extract the first word of "$ac_prog", so it can be a program name with args.
1616 set dummy
$ac_prog; ac_word
=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_AWK+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$AWK"; then
1623 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir
=.
1630 for ac_exec_ext
in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_AWK
="$ac_prog"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 if test -n "$AWK"; then
1643 echo "$as_me:$LINENO: result: $AWK" >&5
1644 echo "${ECHO_T}$AWK" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1650 test -n "$AWK" && break
1653 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1654 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1655 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1656 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 cat >conftest.
make <<\_ACEOF
1661 @
echo 'ac_maketemp="$(MAKE)"'
1663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1664 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1665 if test -n "$ac_maketemp"; then
1666 eval ac_cv_prog_make_
${ac_make}_set
=yes
1668 eval ac_cv_prog_make_
${ac_make}_set
=no
1672 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1673 echo "$as_me:$LINENO: result: yes" >&5
1674 echo "${ECHO_T}yes" >&6
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1679 SET_MAKE
="MAKE=${MAKE-make}"
1682 rm -rf .tst
2>/dev
/null
1683 mkdir .tst
2>/dev
/null
1684 if test -d .tst
; then
1689 rmdir .tst
2>/dev
/null
1691 # test to see if srcdir already configured
1692 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1693 test -f $srcdir/config.status
; then
1694 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1695 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1696 { (exit 1); exit 1; }; }
1699 # test whether we have cygpath
1700 if test -z "$CYGPATH_W"; then
1701 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1702 CYGPATH_W
='cygpath -w'
1709 # Define the identity of the package.
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE "$PACKAGE"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define VERSION "$VERSION"
1723 # Some tools Automake needs.
1725 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1728 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1731 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1734 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1737 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1739 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1741 # Installed binaries are usually stripped using `strip' when the user
1742 # run `make install-strip'. However `strip' might not be the right
1743 # tool to use in cross-compilation environments, therefore Automake
1744 # will honor the `STRIP' environment variable to overrule this program.
1745 if test "$cross_compiling" != no
; then
1746 if test -n "$ac_tool_prefix"; then
1747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1748 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_STRIP+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$STRIP"; then
1755 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir
=.
1762 for ac_exec_ext
in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 STRIP
=$ac_cv_prog_STRIP
1774 if test -n "$STRIP"; then
1775 echo "$as_me:$LINENO: result: $STRIP" >&5
1776 echo "${ECHO_T}$STRIP" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1783 if test -z "$ac_cv_prog_STRIP"; then
1785 # Extract the first word of "strip", so it can be a program name with args.
1786 set dummy strip
; ac_word
=$2
1787 echo "$as_me:$LINENO: checking for $ac_word" >&5
1788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1789 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 if test -n "$ac_ct_STRIP"; then
1793 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1799 test -z "$as_dir" && as_dir
=.
1800 for ac_exec_ext
in '' $ac_executable_extensions; do
1801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1802 ac_cv_prog_ac_ct_STRIP
="strip"
1803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1812 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1813 if test -n "$ac_ct_STRIP"; then
1814 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1815 echo "${ECHO_T}$ac_ct_STRIP" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1823 STRIP
="$ac_cv_prog_STRIP"
1827 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1829 # We need awk for the "check" target. The system "awk" is bad on
1831 # Always define AMTAR for backward compatibility.
1833 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1835 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1842 ac_config_headers
="$ac_config_headers config.h:config.in"
1845 # Check whether --enable-targets or --disable-targets was given.
1846 if test "${enable_targets+set}" = set; then
1847 enableval
="$enable_targets"
1848 case "${enableval}" in
1850 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1851 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1852 { (exit 1); exit 1; }; }
1858 enable_targets
=$enableval
1862 # For now, enable all targets by default
1867 # Canonicalize the enabled targets.
1868 if test -n "$enable_targets"; then
1869 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
1870 result
=`$ac_config_sub $targ 2>/dev/null`
1871 if test -n "$result"; then
1872 canon_targets
="$canon_targets $result"
1874 # Permit unrecognized target names, like "all".
1875 canon_targets
="$canon_targets $targ"
1880 # See which specific instantiations we need.
1883 for targ
in $target $canon_targets; do
1888 if test "$targ" = "all"; then
1898 targetobjs
="$targetobjs i386.\$(OBJEXT)"
1902 targetobjs
="$targetobjs x86_64.\$(OBJEXT)"
1905 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
1906 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
1907 { (exit 1); exit 1; }; }
1913 if test -n "$targ_32_little"; then
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define HAVE_TARGET_32_LITTLE 1
1920 if test -n "$targ_32_big"; then
1922 cat >>confdefs.h
<<\_ACEOF
1923 #define HAVE_TARGET_32_BIG 1
1927 if test -n "$targ_64_little"; then
1929 cat >>confdefs.h
<<\_ACEOF
1930 #define HAVE_TARGET_64_LITTLE 1
1934 if test -n "$targ_64_big"; then
1936 cat >>confdefs.h
<<\_ACEOF
1937 #define HAVE_TARGET_64_BIG 1
1942 if test -n "$all_targets"; then
1943 TARGETOBJS
='$(ALL_TARGETOBJS)'
1945 TARGETOBJS
="$targetobjs"
1950 ac_cpp
='$CPP $CPPFLAGS'
1951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1954 if test -n "$ac_tool_prefix"; then
1955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1956 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1957 echo "$as_me:$LINENO: checking for $ac_word" >&5
1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1959 if test "${ac_cv_prog_CC+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 if test -n "$CC"; then
1963 ac_cv_prog_CC
="$CC" # Let the user override the test.
1965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir
=.
1970 for ac_exec_ext
in '' $ac_executable_extensions; do
1971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1972 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 if test -n "$CC"; then
1983 echo "$as_me:$LINENO: result: $CC" >&5
1984 echo "${ECHO_T}$CC" >&6
1986 echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6
1991 if test -z "$ac_cv_prog_CC"; then
1993 # Extract the first word of "gcc", so it can be a program name with args.
1994 set dummy gcc
; ac_word
=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$ac_ct_CC"; then
2001 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir
=.
2008 for ac_exec_ext
in '' $ac_executable_extensions; do
2009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2010 ac_cv_prog_ac_ct_CC
="gcc"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2020 if test -n "$ac_ct_CC"; then
2021 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2022 echo "${ECHO_T}$ac_ct_CC" >&6
2024 echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2033 if test -z "$CC"; then
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2036 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC
="$CC" # Let the user override the test.
2045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir
=.
2050 for ac_exec_ext
in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2073 # Extract the first word of "cc", so it can be a program name with args.
2074 set dummy cc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="cc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2114 if test -z "$CC"; then
2115 # Extract the first word of "cc", so it can be a program name with args.
2116 set dummy cc
; ac_word
=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC
="$CC" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2134 ac_prog_rejected
=yes
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 if test $ac_prog_rejected = yes; then
2145 # We found a bogon in the path, so make sure we never use it.
2146 set dummy
$ac_cv_prog_CC
2148 if test $# != 0; then
2149 # We chose a different compiler from the bogus one.
2150 # However, it has the same basename, so the bogon will be chosen
2151 # first if we set CC to just the basename; use the full file name.
2153 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2159 if test -n "$CC"; then
2160 echo "$as_me:$LINENO: result: $CC" >&5
2161 echo "${ECHO_T}$CC" >&6
2163 echo "$as_me:$LINENO: result: no" >&5
2164 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 if test -n "$ac_tool_prefix"; then
2172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2173 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC
="$CC" # Let the user override the test.
2182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir
=.
2187 for ac_exec_ext
in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 if test -n "$CC"; then
2200 echo "$as_me:$LINENO: result: $CC" >&5
2201 echo "${ECHO_T}$CC" >&6
2203 echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2207 test -n "$CC" && break
2210 if test -z "$CC"; then
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy
$ac_prog; ac_word
=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$ac_ct_CC"; then
2222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 for ac_exec_ext
in '' $ac_executable_extensions; do
2230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2231 ac_cv_prog_ac_ct_CC
="$ac_prog"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2241 if test -n "$ac_ct_CC"; then
2242 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2243 echo "${ECHO_T}$ac_ct_CC" >&6
2245 echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6
2249 test -n "$ac_ct_CC" && break
2258 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2259 See \`config.log' for more details." >&5
2260 echo "$as_me: error: no acceptable C compiler found in \$PATH
2261 See \`config.log' for more details." >&2;}
2262 { (exit 1); exit 1; }; }
2264 # Provide some information about the compiler.
2265 echo "$as_me:$LINENO:" \
2266 "checking for C compiler version" >&5
2267 ac_compiler
=`set X $ac_compile; echo $2`
2268 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2269 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }
2273 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2274 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }
2278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2279 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }
2284 cat >conftest.
$ac_ext <<_ACEOF
2287 cat confdefs.h
>>conftest.
$ac_ext
2288 cat >>conftest.
$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2299 ac_clean_files_save
=$ac_clean_files
2300 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2301 # Try to create an executable without -o first, disregard a.out.
2302 # It will help us diagnose broken compilers, and finding out an intuition
2304 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2305 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2306 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2307 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2308 (eval $ac_link_default) 2>&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; then
2312 # Find the output, starting from the most likely. This scheme is
2313 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2316 # Be careful to initialize this variable, since it used to be cached.
2317 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2319 # b.out is created by i960 compilers.
2320 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2322 test -f "$ac_file" ||
continue
2324 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2327 # This is the source file.
2330 # We found the default executable, but exeext='' is most
2334 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2335 # FIXME: I believe we export ac_cv_exeext for Libtool,
2336 # but it would be cool to find out if it's true. Does anybody
2337 # maintain Libtool? --akim.
2345 echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.
$ac_ext >&5
2348 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: C compiler cannot create executables
2351 See \`config.log' for more details." >&2;}
2352 { (exit 77); exit 77; }; }
2355 ac_exeext
=$ac_cv_exeext
2356 echo "$as_me:$LINENO: result: $ac_file" >&5
2357 echo "${ECHO_T}$ac_file" >&6
2359 # Check the compiler produces executables we can run. If not, either
2360 # the compiler is broken, or we cross compile.
2361 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2362 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2363 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2364 # If not cross compiling, check that we can run a simple program.
2365 if test "$cross_compiling" != yes; then
2366 if { ac_try
='./$ac_file'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2374 if test "$cross_compiling" = maybe
; then
2377 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2378 If you meant to cross compile, use \`--host'.
2379 See \`config.log' for more details." >&5
2380 echo "$as_me: error: cannot run C compiled programs.
2381 If you meant to cross compile, use \`--host'.
2382 See \`config.log' for more details." >&2;}
2383 { (exit 1); exit 1; }; }
2387 echo "$as_me:$LINENO: result: yes" >&5
2388 echo "${ECHO_T}yes" >&6
2390 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2391 ac_clean_files
=$ac_clean_files_save
2392 # Check the compiler produces executables we can run. If not, either
2393 # the compiler is broken, or we cross compile.
2394 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2395 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2396 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2397 echo "${ECHO_T}$cross_compiling" >&6
2399 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2400 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2402 (eval $ac_link) 2>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; then
2406 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2407 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2408 # work properly (i.e., refer to `conftest.exe'), while it won't with
2410 for ac_file
in conftest.exe conftest conftest.
*; do
2411 test -f "$ac_file" ||
continue
2413 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2414 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2424 See \`config.log' for more details." >&2;}
2425 { (exit 1); exit 1; }; }
2428 rm -f conftest
$ac_cv_exeext
2429 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2430 echo "${ECHO_T}$ac_cv_exeext" >&6
2432 rm -f conftest.
$ac_ext
2433 EXEEXT
=$ac_cv_exeext
2435 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2436 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2437 if test "${ac_cv_objext+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 cat >conftest.
$ac_ext <<_ACEOF
2443 cat confdefs.h
>>conftest.
$ac_ext
2444 cat >>conftest.
$ac_ext <<_ACEOF
2445 /* end confdefs.h. */
2455 rm -f conftest.o conftest.obj
2456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2457 (eval $ac_compile) 2>&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; then
2461 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2463 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2464 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2472 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2473 See \`config.log' for more details." >&5
2474 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2475 See \`config.log' for more details." >&2;}
2476 { (exit 1); exit 1; }; }
2479 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2481 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2482 echo "${ECHO_T}$ac_cv_objext" >&6
2483 OBJEXT
=$ac_cv_objext
2485 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2486 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2487 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 cat >conftest.
$ac_ext <<_ACEOF
2493 cat confdefs.h
>>conftest.
$ac_ext
2494 cat >>conftest.
$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2508 rm -f conftest.
$ac_objext
2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2510 (eval $ac_compile) 2>conftest.er1
2512 grep -v '^ *+' conftest.er1
>conftest.err
2514 cat conftest.err
>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } &&
2517 { ac_try
='test -z "$ac_c_werror_flag"
2518 || test ! -s conftest.err'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; } &&
2524 { ac_try
='test -s conftest.$ac_objext'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; }; then
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.
$ac_ext >&5
2537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2538 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2541 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2542 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2543 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2544 ac_test_CFLAGS
=${CFLAGS+set}
2545 ac_save_CFLAGS
=$CFLAGS
2547 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2548 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2549 if test "${ac_cv_prog_cc_g+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2567 rm -f conftest.
$ac_objext
2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569 (eval $ac_compile) 2>conftest.er1
2571 grep -v '^ *+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } &&
2576 { ac_try
='test -z "$ac_c_werror_flag"
2577 || test ! -s conftest.err'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; } &&
2583 { ac_try
='test -s conftest.$ac_objext'
2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; }; then
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.
$ac_ext >&5
2596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2599 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2600 if test "$ac_test_CFLAGS" = set; then
2601 CFLAGS
=$ac_save_CFLAGS
2602 elif test $ac_cv_prog_cc_g = yes; then
2603 if test "$GCC" = yes; then
2609 if test "$GCC" = yes; then
2615 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2616 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2617 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 ac_cv_prog_cc_stdc
=no
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2630 #include <sys/types.h>
2631 #include <sys/stat.h>
2632 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2633 struct buf { int x; };
2634 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2635 static char *e (p, i)
2641 static char *f (char * (*g) (char **, int), char **p, ...)
2646 s = g (p, va_arg (v,int));
2651 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2652 function prototypes and stuff, but not '\xHH' hex character constants.
2653 These don't provoke an error unfortunately, instead are silently treated
2654 as 'x'. The following induces an error, until -std1 is added to get
2655 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2656 array size at least. It's necessary to write '\x00'==0 to get something
2657 that's true only with -std1. */
2658 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2660 int test (int i, double x);
2661 struct s1 {int (*f) (int a);};
2662 struct s2 {int (*f) (double a);};
2663 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2669 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2674 # Don't try gcc -ansi; that turns off useful extensions and
2675 # breaks some systems' header files.
2676 # AIX -qlanglvl=ansi
2677 # Ultrix and OSF/1 -std1
2678 # HP-UX 10.20 and later -Ae
2679 # HP-UX older versions -Aa -D_HPUX_SOURCE
2680 # SVR4 -Xc -D__EXTENSIONS__
2681 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2683 CC
="$ac_save_CC $ac_arg"
2684 rm -f conftest.
$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1
>conftest.err
2690 cat conftest.err
>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try
='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try
='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_stdc
=$ac_arg
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.
$ac_ext >&5
2713 rm -f conftest.err conftest.
$ac_objext
2715 rm -f conftest.
$ac_ext conftest.
$ac_objext
2720 case "x$ac_cv_prog_cc_stdc" in
2722 echo "$as_me:$LINENO: result: none needed" >&5
2723 echo "${ECHO_T}none needed" >&6 ;;
2725 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2726 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2727 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2730 # Some people use a C++ compiler to compile C. Since we use `exit',
2731 # in C++ we need to declare it. In case someone uses the same compiler
2732 # for both compiling C and C++ we need to have the C++ compiler decide
2733 # the declaration of exit, since it's the most demanding environment.
2734 cat >conftest.
$ac_ext <<_ACEOF
2739 rm -f conftest.
$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1
>conftest.err
2745 cat conftest.err
>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try
='test -z "$ac_c_werror_flag"
2749 || test ! -s conftest.err'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; } &&
2755 { ac_try
='test -s conftest.$ac_objext'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; }; then
2761 for ac_declaration
in \
2763 'extern "C" void std::exit (int) throw (); using std::exit;' \
2764 'extern "C" void std::exit (int); using std::exit;' \
2765 'extern "C" void exit (int) throw ();' \
2766 'extern "C" void exit (int);' \
2769 cat >conftest.
$ac_ext <<_ACEOF
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try
='test -z "$ac_c_werror_flag"
2795 || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try
='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2815 cat >conftest.
$ac_ext <<_ACEOF
2818 cat confdefs.h
>>conftest.
$ac_ext
2819 cat >>conftest.
$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2830 rm -f conftest.
$ac_objext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 (eval $ac_compile) 2>conftest.er1
2834 grep -v '^ *+' conftest.er1
>conftest.err
2836 cat conftest.err
>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try
='test -z "$ac_c_werror_flag"
2840 || test ! -s conftest.err'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try
='test -s conftest.$ac_objext'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; }; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2861 if test -n "$ac_declaration"; then
2862 echo '#ifdef __cplusplus' >>confdefs.h
2863 echo $ac_declaration >>confdefs.h
2864 echo '#endif' >>confdefs.h
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.
$ac_ext >&5
2872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2874 ac_cpp
='$CPP $CPPFLAGS'
2875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2878 DEPDIR
="${am__leading_dot}deps"
2880 ac_config_commands
="$ac_config_commands depfiles"
2883 am_make
=${MAKE-make}
2884 cat > confinc
<< 'END'
2889 # If we don't find an include directive, just comment out the code.
2890 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2891 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2895 # First try GNU make style include.
2896 echo "include confinc" > confmf
2897 # We grep out `Entering directory' and `Leaving directory'
2898 # messages which can occur if `w' ends up in MAKEFLAGS.
2899 # In particular we don't look at `^make:' because GNU make might
2900 # be invoked under some other name (usually "gmake"), in which
2901 # case it prints its new name instead of `make'.
2902 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2907 # Now try BSD make style include.
2908 if test "$am__include" = "#"; then
2909 echo '.include "confinc"' > confmf
2910 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2911 am__include
=.include
2918 echo "$as_me:$LINENO: result: $_am_result" >&5
2919 echo "${ECHO_T}$_am_result" >&6
2920 rm -f confinc confmf
2922 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2923 if test "${enable_dependency_tracking+set}" = set; then
2924 enableval
="$enable_dependency_tracking"
2927 if test "x$enable_dependency_tracking" != xno
; then
2928 am_depcomp
="$ac_aux_dir/depcomp"
2933 if test "x$enable_dependency_tracking" != xno; then
2944 depcc
="$CC" am_compiler_list
=
2946 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2947 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2948 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2952 # We make a subdir and do the tests there. Otherwise we can end up
2953 # making bogus files that we don't know about and never remove. For
2954 # instance it was reported that on HP-UX the gcc test will end up
2955 # making a dummy file named `D' -- because `-MD' means `put the output
2958 # Copy depcomp to subdir because otherwise we won't find it if we're
2959 # using a relative directory.
2960 cp "$am_depcomp" conftest.dir
2962 # We will build objects and dependencies in a subdirectory because
2963 # it helps to detect inapplicable dependency modes. For instance
2964 # both Tru64's cc and ICC support -MD to output dependencies as a
2965 # side effect of compilation, but ICC will put the dependencies in
2966 # the current directory while Tru64 will put them in the object
2970 am_cv_CC_dependencies_compiler_type
=none
2971 if test "$am_compiler_list" = ""; then
2972 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2974 for depmode
in $am_compiler_list; do
2975 # Setup a source with many dependencies, because some compilers
2976 # like to wrap large dependency lists on column 80 (with \), and
2977 # we should not choose a depcomp mode which is confused by this.
2979 # We need to recreate these files for each test, as the compiler may
2980 # overwrite some of them when testing with obscure command lines.
2981 # This happens at least with the AIX C compiler.
2983 for i
in 1 2 3 4 5 6; do
2984 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2985 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2986 # Solaris 8's {/usr,}/bin/sh.
2987 touch sub
/conftst
$i.h
2989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2993 # after this tag, mechanisms are not by side-effect, so they'll
2994 # only be used when explicitly requested
2995 if test "x$enable_dependency_tracking" = xyes
; then
3003 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3004 # mode. It turns out that the SunPro C++ compiler does not properly
3005 # handle `-M -o', and we need to detect this.
3006 if depmode
=$depmode \
3007 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3008 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3009 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3010 >/dev
/null
2>conftest.err
&&
3011 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3012 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3013 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3014 # icc doesn't choke on unknown options, it will just issue warnings
3015 # or remarks (even with -Werror). So we grep stderr for any message
3016 # that says an option was ignored or not supported.
3017 # When given -MP, icc 7.0 and 7.1 complain thusly:
3018 # icc: Command line warning: ignoring option '-M'; no argument required
3019 # The diagnosis changed in icc 8.0:
3020 # icc: Command line remark: option '-MP' not supported
3021 if (grep 'ignoring option' conftest.err ||
3022 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3023 am_cv_CC_dependencies_compiler_type
=$depmode
3032 am_cv_CC_dependencies_compiler_type
=none
3036 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3037 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3038 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3043 test "x$enable_dependency_tracking" != xno \
3044 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3046 am__fastdepCC_FALSE
='#'
3048 am__fastdepCC_TRUE
='#'
3049 am__fastdepCC_FALSE
=
3054 ac_cpp
='$CXXCPP $CPPFLAGS'
3055 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3058 if test -n "$ac_tool_prefix"; then
3059 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3062 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3063 echo "$as_me:$LINENO: checking for $ac_word" >&5
3064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3065 if test "${ac_cv_prog_CXX+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 if test -n "$CXX"; then
3069 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir
=.
3076 for ac_exec_ext
in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$CXX"; then
3089 echo "$as_me:$LINENO: result: $CXX" >&5
3090 echo "${ECHO_T}$CXX" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3096 test -n "$CXX" && break
3099 if test -z "$CXX"; then
3101 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3103 # Extract the first word of "$ac_prog", so it can be a program name with args.
3104 set dummy
$ac_prog; ac_word
=$2
3105 echo "$as_me:$LINENO: checking for $ac_word" >&5
3106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3107 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 if test -n "$ac_ct_CXX"; then
3111 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3130 if test -n "$ac_ct_CXX"; then
3131 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3132 echo "${ECHO_T}$ac_ct_CXX" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3138 test -n "$ac_ct_CXX" && break
3140 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3146 # Provide some information about the compiler.
3147 echo "$as_me:$LINENO:" \
3148 "checking for C++ compiler version" >&5
3149 ac_compiler
=`set X $ac_compile; echo $2`
3150 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3151 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }
3155 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3156 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3161 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }
3166 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3167 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3168 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3189 rm -f conftest.
$ac_objext
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>conftest.er1
3193 grep -v '^ *+' conftest.er1
>conftest.err
3195 cat conftest.err
>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try
='test -z "$ac_cxx_werror_flag"
3199 || test ! -s conftest.err'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; } &&
3205 { ac_try
='test -s conftest.$ac_objext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.
$ac_ext >&5
3218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3219 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3222 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3223 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3224 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3225 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3226 ac_save_CXXFLAGS
=$CXXFLAGS
3228 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3229 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3230 if test "${ac_cv_prog_cxx_g+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 cat >conftest.
$ac_ext <<_ACEOF
3236 cat confdefs.h
>>conftest.
$ac_ext
3237 cat >>conftest.
$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3248 rm -f conftest.
$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1
>conftest.err
3254 cat conftest.err
>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try
='test -z "$ac_cxx_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try
='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3270 ac_cv_prog_cxx_g
=yes
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3279 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3280 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3281 if test "$ac_test_CXXFLAGS" = set; then
3282 CXXFLAGS
=$ac_save_CXXFLAGS
3283 elif test $ac_cv_prog_cxx_g = yes; then
3284 if test "$GXX" = yes; then
3290 if test "$GXX" = yes; then
3296 for ac_declaration
in \
3298 'extern "C" void std::exit (int) throw (); using std::exit;' \
3299 'extern "C" void std::exit (int); using std::exit;' \
3300 'extern "C" void exit (int) throw ();' \
3301 'extern "C" void exit (int);' \
3304 cat >conftest.
$ac_ext <<_ACEOF
3307 cat confdefs.h
>>conftest.
$ac_ext
3308 cat >>conftest.
$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3320 rm -f conftest.
$ac_objext
3321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3322 (eval $ac_compile) 2>conftest.er1
3324 grep -v '^ *+' conftest.er1
>conftest.err
3326 cat conftest.err
>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } &&
3329 { ac_try
='test -z "$ac_cxx_werror_flag"
3330 || test ! -s conftest.err'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; } &&
3336 { ac_try
='test -s conftest.$ac_objext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3350 cat >conftest.
$ac_ext <<_ACEOF
3353 cat confdefs.h
>>conftest.
$ac_ext
3354 cat >>conftest.
$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3365 rm -f conftest.
$ac_objext
3366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3367 (eval $ac_compile) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1
>conftest.err
3371 cat conftest.err
>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try
='test -z "$ac_cxx_werror_flag"
3375 || test ! -s conftest.err'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; } &&
3381 { ac_try
='test -s conftest.$ac_objext'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3396 if test -n "$ac_declaration"; then
3397 echo '#ifdef __cplusplus' >>confdefs.h
3398 echo $ac_declaration >>confdefs.h
3399 echo '#endif' >>confdefs.h
3403 ac_cpp
='$CPP $CPPFLAGS'
3404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3408 depcc
="$CXX" am_compiler_list
=
3410 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3411 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3412 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3416 # We make a subdir and do the tests there. Otherwise we can end up
3417 # making bogus files that we don't know about and never remove. For
3418 # instance it was reported that on HP-UX the gcc test will end up
3419 # making a dummy file named `D' -- because `-MD' means `put the output
3422 # Copy depcomp to subdir because otherwise we won't find it if we're
3423 # using a relative directory.
3424 cp "$am_depcomp" conftest.dir
3426 # We will build objects and dependencies in a subdirectory because
3427 # it helps to detect inapplicable dependency modes. For instance
3428 # both Tru64's cc and ICC support -MD to output dependencies as a
3429 # side effect of compilation, but ICC will put the dependencies in
3430 # the current directory while Tru64 will put them in the object
3434 am_cv_CXX_dependencies_compiler_type
=none
3435 if test "$am_compiler_list" = ""; then
3436 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3438 for depmode
in $am_compiler_list; do
3439 # Setup a source with many dependencies, because some compilers
3440 # like to wrap large dependency lists on column 80 (with \), and
3441 # we should not choose a depcomp mode which is confused by this.
3443 # We need to recreate these files for each test, as the compiler may
3444 # overwrite some of them when testing with obscure command lines.
3445 # This happens at least with the AIX C compiler.
3447 for i
in 1 2 3 4 5 6; do
3448 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3449 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3450 # Solaris 8's {/usr,}/bin/sh.
3451 touch sub
/conftst
$i.h
3453 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3457 # after this tag, mechanisms are not by side-effect, so they'll
3458 # only be used when explicitly requested
3459 if test "x$enable_dependency_tracking" = xyes
; then
3467 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3468 # mode. It turns out that the SunPro C++ compiler does not properly
3469 # handle `-M -o', and we need to detect this.
3470 if depmode
=$depmode \
3471 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3472 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3473 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3474 >/dev
/null
2>conftest.err
&&
3475 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3476 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3477 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3478 # icc doesn't choke on unknown options, it will just issue warnings
3479 # or remarks (even with -Werror). So we grep stderr for any message
3480 # that says an option was ignored or not supported.
3481 # When given -MP, icc 7.0 and 7.1 complain thusly:
3482 # icc: Command line warning: ignoring option '-M'; no argument required
3483 # The diagnosis changed in icc 8.0:
3484 # icc: Command line remark: option '-MP' not supported
3485 if (grep 'ignoring option' conftest.err ||
3486 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3487 am_cv_CXX_dependencies_compiler_type
=$depmode
3496 am_cv_CXX_dependencies_compiler_type
=none
3500 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3501 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3502 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3507 test "x$enable_dependency_tracking" != xno \
3508 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3509 am__fastdepCXX_TRUE
=
3510 am__fastdepCXX_FALSE
='#'
3512 am__fastdepCXX_TRUE
='#'
3513 am__fastdepCXX_FALSE
=
3517 for ac_prog
in 'bison -y' byacc
3519 # Extract the first word of "$ac_prog", so it can be a program name with args.
3520 set dummy
$ac_prog; ac_word
=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_YACC+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 if test -n "$YACC"; then
3527 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir
=.
3534 for ac_exec_ext
in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_YACC
="$ac_prog"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 YACC
=$ac_cv_prog_YACC
3546 if test -n "$YACC"; then
3547 echo "$as_me:$LINENO: result: $YACC" >&5
3548 echo "${ECHO_T}$YACC" >&6
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 test -n "$YACC" && break
3556 test -n "$YACC" || YACC
="yacc"
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3560 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3561 echo "$as_me:$LINENO: checking for $ac_word" >&5
3562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3563 if test "${ac_cv_prog_RANLIB+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 if test -n "$RANLIB"; then
3567 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir
=.
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 RANLIB
=$ac_cv_prog_RANLIB
3586 if test -n "$RANLIB"; then
3587 echo "$as_me:$LINENO: result: $RANLIB" >&5
3588 echo "${ECHO_T}$RANLIB" >&6
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3595 if test -z "$ac_cv_prog_RANLIB"; then
3596 ac_ct_RANLIB
=$RANLIB
3597 # Extract the first word of "ranlib", so it can be a program name with args.
3598 set dummy ranlib
; ac_word
=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 if test -n "$ac_ct_RANLIB"; then
3605 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir
=.
3612 for ac_exec_ext
in '' $ac_executable_extensions; do
3613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3624 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3625 if test -n "$ac_ct_RANLIB"; then
3626 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3627 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3633 RANLIB
=$ac_ct_RANLIB
3635 RANLIB
="$ac_cv_prog_RANLIB"
3638 # Find a good install program. We prefer a C program (faster),
3639 # so one script is as good as another. But avoid the broken or
3640 # incompatible versions:
3641 # SysV /etc/install, /usr/sbin/install
3642 # SunOS /usr/etc/install
3643 # IRIX /sbin/install
3645 # AmigaOS /C/install, which installs bootblocks on floppy discs
3646 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3647 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3648 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3649 # OS/2's system install, which has a completely different semantic
3650 # ./install, which can be erroneously created by make from ./install.sh.
3651 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3652 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3653 if test -z "$INSTALL"; then
3654 if test "${ac_cv_path_install+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir
=.
3662 # Account for people who put trailing slashes in PATH elements.
3664 .
/ | .
// |
/cC
/* | \
3665 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3666 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3669 # OSF1 and SCO ODT 3.0 have their own names for install.
3670 # Don't use installbsd from OSF since it installs stuff as root
3672 for ac_prog
in ginstall scoinst
install; do
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3675 if test $ac_prog = install &&
3676 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3677 # AIX install. It has an incompatible calling convention.
3679 elif test $ac_prog = install &&
3680 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3681 # program-specific install script used by HP pwplus--don't use.
3684 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3696 if test "${ac_cv_path_install+set}" = set; then
3697 INSTALL
=$ac_cv_path_install
3699 # As a last resort, use the slow shell script. We don't cache a
3700 # path for INSTALL within a source directory, because that will
3701 # break other packages using the cache if that directory is
3702 # removed, or if the path is relative.
3703 INSTALL
=$ac_install_sh
3706 echo "$as_me:$LINENO: result: $INSTALL" >&5
3707 echo "${ECHO_T}$INSTALL" >&6
3709 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3710 # It thinks the first close brace ends the variable substitution.
3711 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3713 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3715 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3717 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3718 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3720 if test "$LN_S" = "ln -s"; then
3721 echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6
3724 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3725 echo "${ECHO_T}no, using $LN_S" >&6
3728 # If we haven't got the data from the intl directory,
3729 # assume NLS is disabled.
3738 if test -f ..
/intl
/config.intl
; then
3739 . ..
/intl
/config.intl
3741 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3742 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3743 if test x
"$USE_NLS" != xyes
; then
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3747 echo "$as_me:$LINENO: result: yes" >&5
3748 echo "${ECHO_T}yes" >&6
3750 cat >>confdefs.h
<<\_ACEOF
3751 #define ENABLE_NLS 1
3755 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3756 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3757 # Look for .po and .gmo files in the source directory.
3760 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3761 # If there aren't any .gmo files the shell will give us the
3762 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3764 case "$cat" in *\
**)
3767 # The quadruple backslash is collapsed to a double backslash
3768 # by the backticks, then collapsed again by the double quotes,
3769 # leaving us with one backslash in the sed expression (right
3770 # before the dot that mustn't act as a wildcard).
3771 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3772 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3773 # The user is allowed to set LINGUAS to a list of languages to
3774 # install catalogs for. If it's empty that means "all of them."
3775 if test "x$LINGUAS" = x
; then
3776 CATALOGS
="$CATALOGS $cat"
3777 XLINGUAS
="$XLINGUAS $lang"
3779 case "$LINGUAS" in *$lang*)
3780 CATALOGS
="$CATALOGS $cat"
3781 XLINGUAS
="$XLINGUAS $lang"
3787 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3788 echo "${ECHO_T}$LINGUAS" >&6
3802 if test -n "$ac_aux_dir"; then
3803 case "$ac_aux_dir" in
3804 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3805 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3808 if test -z "$MKINSTALLDIRS"; then
3809 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3814 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3815 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3816 # Check whether --enable-nls or --disable-nls was given.
3817 if test "${enable_nls+set}" = set; then
3818 enableval
="$enable_nls"
3823 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3824 echo "${ECHO_T}$USE_NLS" >&6
3831 # Prepare PATH_SEPARATOR.
3832 # The user is always right.
3833 if test "${PATH_SEPARATOR+set}" != set; then
3834 echo "#! /bin/sh" >conf$$.sh
3835 echo "exit 0" >>conf$$.sh
3837 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3845 # Find out how to test for executable files. Don't use a zero-byte file,
3846 # as systems may use methods other than mode bits to determine executability.
3847 cat >conf$$.
file <<_ASEOF
3851 chmod +x conf$$.
file
3852 if test -x conf$$.
file >/dev
/null
2>&1; then
3853 ac_executable_p
="test -x"
3855 ac_executable_p
="test -f"
3859 # Extract the first word of "msgfmt", so it can be a program name with args.
3860 set dummy msgfmt
; ac_word
=$2
3861 echo "$as_me:$LINENO: checking for $ac_word" >&5
3862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3863 if test "${ac_cv_path_MSGFMT+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3871 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3872 for ac_dir
in $PATH; do
3874 test -z "$ac_dir" && ac_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3877 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3878 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3879 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3886 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3890 MSGFMT
="$ac_cv_path_MSGFMT"
3891 if test "$MSGFMT" != ":"; then
3892 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3893 echo "${ECHO_T}$MSGFMT" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3899 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3900 set dummy gmsgfmt
; ac_word
=$2
3901 echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3903 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir
=.
3916 for ac_exec_ext
in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3929 GMSGFMT
=$ac_cv_path_GMSGFMT
3931 if test -n "$GMSGFMT"; then
3932 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3933 echo "${ECHO_T}$GMSGFMT" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3941 # Prepare PATH_SEPARATOR.
3942 # The user is always right.
3943 if test "${PATH_SEPARATOR+set}" != set; then
3944 echo "#! /bin/sh" >conf$$.sh
3945 echo "exit 0" >>conf$$.sh
3947 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3955 # Find out how to test for executable files. Don't use a zero-byte file,
3956 # as systems may use methods other than mode bits to determine executability.
3957 cat >conf$$.
file <<_ASEOF
3961 chmod +x conf$$.
file
3962 if test -x conf$$.
file >/dev
/null
2>&1; then
3963 ac_executable_p
="test -x"
3965 ac_executable_p
="test -f"
3969 # Extract the first word of "xgettext", so it can be a program name with args.
3970 set dummy xgettext
; ac_word
=$2
3971 echo "$as_me:$LINENO: checking for $ac_word" >&5
3972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3973 if test "${ac_cv_path_XGETTEXT+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3981 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3982 for ac_dir
in $PATH; do
3984 test -z "$ac_dir" && ac_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3987 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3988 (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
3989 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3996 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4000 XGETTEXT
="$ac_cv_path_XGETTEXT"
4001 if test "$XGETTEXT" != ":"; then
4002 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4003 echo "${ECHO_T}$XGETTEXT" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4012 # Prepare PATH_SEPARATOR.
4013 # The user is always right.
4014 if test "${PATH_SEPARATOR+set}" != set; then
4015 echo "#! /bin/sh" >conf$$.sh
4016 echo "exit 0" >>conf$$.sh
4018 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4026 # Find out how to test for executable files. Don't use a zero-byte file,
4027 # as systems may use methods other than mode bits to determine executability.
4028 cat >conf$$.
file <<_ASEOF
4032 chmod +x conf$$.
file
4033 if test -x conf$$.
file >/dev
/null
2>&1; then
4034 ac_executable_p
="test -x"
4036 ac_executable_p
="test -f"
4040 # Extract the first word of "msgmerge", so it can be a program name with args.
4041 set dummy msgmerge
; ac_word
=$2
4042 echo "$as_me:$LINENO: checking for $ac_word" >&5
4043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4044 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4052 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4053 for ac_dir
in $PATH; do
4055 test -z "$ac_dir" && ac_dir
=.
4056 for ac_exec_ext
in '' $ac_executable_extensions; do
4057 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4058 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4059 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4066 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4070 MSGMERGE
="$ac_cv_path_MSGMERGE"
4071 if test "$MSGMERGE" != ":"; then
4072 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4073 echo "${ECHO_T}$MSGMERGE" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4080 if test "$GMSGFMT" != ":"; then
4081 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4082 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4085 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4086 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4087 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4092 if test "$XGETTEXT" != ":"; then
4093 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4094 (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
4097 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4098 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4104 ac_config_commands
="$ac_config_commands default-1"
4109 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4110 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4111 if test "${ac_cv_c_bigendian+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 # See if sys/param.h defines the BYTE_ORDER macro.
4115 cat >conftest.
$ac_ext <<_ACEOF
4118 cat confdefs.h
>>conftest.
$ac_ext
4119 cat >>conftest.
$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4121 #include <sys/types.h>
4122 #include <sys/param.h>
4127 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4135 rm -f conftest.
$ac_objext
4136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4137 (eval $ac_compile) 2>conftest.er1
4139 grep -v '^ *+' conftest.er1
>conftest.err
4141 cat conftest.err
>&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); } &&
4144 { ac_try
='test -z "$ac_c_werror_flag"
4145 || test ! -s conftest.err'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; } &&
4151 { ac_try
='test -s conftest.$ac_objext'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; }; then
4157 # It does; now see whether it defined to BIG_ENDIAN or not.
4158 cat >conftest.
$ac_ext <<_ACEOF
4161 cat confdefs.h
>>conftest.
$ac_ext
4162 cat >>conftest.
$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4164 #include <sys/types.h>
4165 #include <sys/param.h>
4170 #if BYTE_ORDER != BIG_ENDIAN
4178 rm -f conftest.
$ac_objext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try
='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_c_bigendian
=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.
$ac_ext >&5
4205 ac_cv_c_bigendian
=no
4207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.
$ac_ext >&5
4212 # It does not; compile a test program.
4213 if test "$cross_compiling" = yes; then
4214 # try to guess the endianness by grepping values into an object file
4215 ac_cv_c_bigendian
=unknown
4216 cat >conftest.
$ac_ext <<_ACEOF
4219 cat confdefs.h
>>conftest.
$ac_ext
4220 cat >>conftest.
$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4222 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4223 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4224 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4225 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4226 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4227 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4231 _ascii (); _ebcdic ();
4236 rm -f conftest.
$ac_objext
4237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4238 (eval $ac_compile) 2>conftest.er1
4240 grep -v '^ *+' conftest.er1
>conftest.err
4242 cat conftest.err
>&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } &&
4245 { ac_try
='test -z "$ac_c_werror_flag"
4246 || test ! -s conftest.err'
4247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; } &&
4252 { ac_try
='test -s conftest.$ac_objext'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; }; then
4258 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4259 ac_cv_c_bigendian
=yes
4261 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4262 if test "$ac_cv_c_bigendian" = unknown
; then
4263 ac_cv_c_bigendian
=no
4265 # finding both strings is unlikely to happen, but who knows?
4266 ac_cv_c_bigendian
=unknown
4270 echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.
$ac_ext >&5
4274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4276 cat >conftest.
$ac_ext <<_ACEOF
4279 cat confdefs.h
>>conftest.
$ac_ext
4280 cat >>conftest.
$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4285 /* Are we little or big endian? From Harbison&Steele. */
4289 char c[sizeof (long)];
4292 exit (u.c[sizeof (long) - 1] == 1);
4295 rm -f conftest
$ac_exeext
4296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4297 (eval $ac_link) 2>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; }; then
4306 ac_cv_c_bigendian
=no
4308 echo "$as_me: program exited with status $ac_status" >&5
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.
$ac_ext >&5
4313 ac_cv_c_bigendian
=yes
4315 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4320 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4321 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4322 case $ac_cv_c_bigendian in
4325 cat >>confdefs.h
<<\_ACEOF
4326 #define WORDS_BIGENDIAN 1
4332 { { echo "$as_me:$LINENO: error: unknown endianness
4333 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4334 echo "$as_me: error: unknown endianness
4335 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4336 { (exit 1); exit 1; }; } ;;
4344 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4346 NATIVE_LINKER_FALSE
='#'
4348 NATIVE_LINKER_TRUE
='#'
4349 NATIVE_LINKER_FALSE
=
4354 if test "$GCC" = yes; then
4364 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4366 # Check whether --enable-werror or --disable-werror was given.
4367 if test "${enable_werror+set}" = set; then
4368 enableval
="$enable_werror"
4369 case "${enableval}" in
4370 yes | y
) ERROR_ON_WARNING
="yes" ;;
4371 no | n
) ERROR_ON_WARNING
="no" ;;
4372 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4373 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4374 { (exit 1); exit 1; }; } ;;
4378 # Enable -Werror by default when using gcc
4379 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4380 ERROR_ON_WARNING
=yes
4384 if test "${ERROR_ON_WARNING}" = yes ; then
4385 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4386 NO_WERROR
="-Wno-error"
4389 if test "${GCC}" = yes ; then
4390 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4393 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4394 if test "${enable_build_warnings+set}" = set; then
4395 enableval
="$enable_build_warnings"
4396 case "${enableval}" in
4397 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4398 no
) if test "${GCC}" = yes ; then
4401 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4402 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4403 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4404 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4405 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4409 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4410 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4417 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4420 LFS_CXXFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4424 for ac_func
in pread
4426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4427 echo "$as_me:$LINENO: checking for $ac_func" >&5
4428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4429 if eval "test \"\${$as_ac_var+set}\" = set"; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4440 #define $ac_func innocuous_$ac_func
4442 /* System header to define __stub macros and hopefully few prototypes,
4443 which can conflict with char $ac_func (); below.
4444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4445 <limits.h> exists even on freestanding compilers. */
4448 # include <limits.h>
4450 # include <assert.h>
4455 /* Override any gcc2 internal prototype to avoid an error. */
4460 /* We use char because int might match the return type of a gcc2
4461 builtin and then its argument prototype would still apply. */
4463 /* The GNU C library defines this for functions which it implements
4464 to always fail with ENOSYS. Some functions are actually named
4465 something starting with __ and the normal name is an alias. */
4466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4469 char (*f) () = $ac_func;
4478 return f != $ac_func;
4483 rm -f conftest.
$ac_objext conftest
$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try
='test -z "$ac_c_werror_flag"
4493 || test ! -s conftest.err'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; } &&
4499 { ac_try
='test -s conftest$ac_exeext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 eval "$as_ac_var=yes"
4507 echo "$as_me: failed program was:" >&5
4508 sed 's/^/| /' conftest.
$ac_ext >&5
4510 eval "$as_ac_var=no"
4512 rm -f conftest.err conftest.
$ac_objext \
4513 conftest
$ac_exeext conftest.
$ac_ext
4515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4517 if test `eval echo '${'$as_ac_var'}'` = yes; then
4518 cat >>confdefs.h
<<_ACEOF
4519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4524 "$ac_func.$ac_objext" | \
4525 *" $ac_func.$ac_objext" | \
4526 "$ac_func.$ac_objext "* | \
4527 *" $ac_func.$ac_objext "* ) ;;
4528 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
4537 ac_cpp
='$CXXCPP $CPPFLAGS'
4538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4545 ac_cpp
='$CXXCPP $CPPFLAGS'
4546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4549 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4550 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4551 if test -z "$CXXCPP"; then
4552 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 # Double quotes because CXXCPP needs to be expanded
4556 for CXXCPP
in "$CXX -E" "/lib/cpp"
4559 for ac_cxx_preproc_warn_flag
in '' yes
4561 # Use a header file that comes with gcc, so configuring glibc
4562 # with a fresh cross-compiler works.
4563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4564 # <limits.h> exists even on freestanding compilers.
4565 # On the NeXT, cc -E runs the code through the compiler's parser,
4566 # not just through cpp. "Syntax error" is here to catch this case.
4567 cat >conftest.
$ac_ext <<_ACEOF
4570 cat confdefs.h
>>conftest.
$ac_ext
4571 cat >>conftest.
$ac_ext <<_ACEOF
4572 /* end confdefs.h. */
4574 # include <limits.h>
4576 # include <assert.h>
4580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1
>conftest.err
4585 cat conftest.err
>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } >/dev
/null
; then
4588 if test -s conftest.err
; then
4589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4597 if test -z "$ac_cpp_err"; then
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4603 # Broken: fails on valid input.
4606 rm -f conftest.err conftest.
$ac_ext
4608 # OK, works on sane cases. Now check whether non-existent headers
4609 # can be detected and how.
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 #include <ac_nonexistent.h>
4618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4621 grep -v '^ *+' conftest.er1
>conftest.err
4623 cat conftest.err
>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } >/dev
/null
; then
4626 if test -s conftest.err
; then
4627 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4628 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4635 if test -z "$ac_cpp_err"; then
4636 # Broken: success on invalid input.
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.
$ac_ext >&5
4642 # Passes both tests.
4646 rm -f conftest.err conftest.
$ac_ext
4649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4650 rm -f conftest.err conftest.
$ac_ext
4651 if $ac_preproc_ok; then
4656 ac_cv_prog_CXXCPP
=$CXXCPP
4659 CXXCPP
=$ac_cv_prog_CXXCPP
4661 ac_cv_prog_CXXCPP
=$CXXCPP
4663 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4664 echo "${ECHO_T}$CXXCPP" >&6
4666 for ac_cxx_preproc_warn_flag
in '' yes
4668 # Use a header file that comes with gcc, so configuring glibc
4669 # with a fresh cross-compiler works.
4670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4671 # <limits.h> exists even on freestanding compilers.
4672 # On the NeXT, cc -E runs the code through the compiler's parser,
4673 # not just through cpp. "Syntax error" is here to catch this case.
4674 cat >conftest.
$ac_ext <<_ACEOF
4677 cat confdefs.h
>>conftest.
$ac_ext
4678 cat >>conftest.
$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4681 # include <limits.h>
4683 # include <assert.h>
4687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4690 grep -v '^ *+' conftest.er1
>conftest.err
4692 cat conftest.err
>&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } >/dev
/null
; then
4695 if test -s conftest.err
; then
4696 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4697 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4704 if test -z "$ac_cpp_err"; then
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.
$ac_ext >&5
4710 # Broken: fails on valid input.
4713 rm -f conftest.err conftest.
$ac_ext
4715 # OK, works on sane cases. Now check whether non-existent headers
4716 # can be detected and how.
4717 cat >conftest.
$ac_ext <<_ACEOF
4720 cat confdefs.h
>>conftest.
$ac_ext
4721 cat >>conftest.
$ac_ext <<_ACEOF
4722 /* end confdefs.h. */
4723 #include <ac_nonexistent.h>
4725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4728 grep -v '^ *+' conftest.er1
>conftest.err
4730 cat conftest.err
>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } >/dev
/null
; then
4733 if test -s conftest.err
; then
4734 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4735 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4742 if test -z "$ac_cpp_err"; then
4743 # Broken: success on invalid input.
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4749 # Passes both tests.
4753 rm -f conftest.err conftest.
$ac_ext
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.
$ac_ext
4758 if $ac_preproc_ok; then
4761 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4762 See \`config.log' for more details." >&5
4763 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&2;}
4765 { (exit 1); exit 1; }; }
4769 ac_cpp
='$CXXCPP $CPPFLAGS'
4770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4775 echo "$as_me:$LINENO: checking for egrep" >&5
4776 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4777 if test "${ac_cv_prog_egrep+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4781 then ac_cv_prog_egrep
='grep -E'
4782 else ac_cv_prog_egrep
='egrep'
4785 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4786 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4787 EGREP
=$ac_cv_prog_egrep
4790 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4791 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4792 if test "${ac_cv_header_stdc+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 cat >conftest.
$ac_ext <<_ACEOF
4798 cat confdefs.h
>>conftest.
$ac_ext
4799 cat >>conftest.
$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4814 rm -f conftest.
$ac_objext
4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4816 (eval $ac_compile) 2>conftest.er1
4818 grep -v '^ *+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } &&
4823 { ac_try
='test -z "$ac_cxx_werror_flag"
4824 || test ! -s conftest.err'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; } &&
4830 { ac_try
='test -s conftest.$ac_objext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_cv_header_stdc
=yes
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4841 ac_cv_header_stdc
=no
4843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 if test $ac_cv_header_stdc = yes; then
4846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4857 $EGREP "memchr" >/dev
/null
2>&1; then
4860 ac_cv_header_stdc
=no
4866 if test $ac_cv_header_stdc = yes; then
4867 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4868 cat >conftest.
$ac_ext <<_ACEOF
4871 cat confdefs.h
>>conftest.
$ac_ext
4872 cat >>conftest.
$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4878 $EGREP "free" >/dev
/null
2>&1; then
4881 ac_cv_header_stdc
=no
4887 if test $ac_cv_header_stdc = yes; then
4888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4889 if test "$cross_compiling" = yes; then
4892 cat >conftest.
$ac_ext <<_ACEOF
4895 cat confdefs.h
>>conftest.
$ac_ext
4896 cat >>conftest.
$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4899 #if ((' ' & 0x0FF) == 0x020)
4900 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4901 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4903 # define ISLOWER(c) \
4904 (('a' <= (c) && (c) <= 'i') \
4905 || ('j' <= (c) && (c) <= 'r') \
4906 || ('s' <= (c) && (c) <= 'z'))
4907 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4910 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4915 for (i = 0; i < 256; i++)
4916 if (XOR (islower (i), ISLOWER (i))
4917 || toupper (i) != TOUPPER (i))
4922 rm -f conftest
$ac_exeext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4924 (eval $ac_link) 2>&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4935 echo "$as_me: program exited with status $ac_status" >&5
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.
$ac_ext >&5
4940 ac_cv_header_stdc
=no
4942 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4946 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4947 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4948 if test $ac_cv_header_stdc = yes; then
4950 cat >>confdefs.h
<<\_ACEOF
4951 #define STDC_HEADERS 1
4956 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4966 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4967 inttypes.h stdint.h unistd.h
4969 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4970 echo "$as_me:$LINENO: checking for $ac_header" >&5
4971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 cat >conftest.
$ac_ext <<_ACEOF
4978 cat confdefs.h
>>conftest.
$ac_ext
4979 cat >>conftest.
$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4981 $ac_includes_default
4983 #include <$ac_header>
4985 rm -f conftest.
$ac_objext
4986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4987 (eval $ac_compile) 2>conftest.er1
4989 grep -v '^ *+' conftest.er1
>conftest.err
4991 cat conftest.err
>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } &&
4994 { ac_try
='test -z "$ac_cxx_werror_flag"
4995 || test ! -s conftest.err'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); }; } &&
5001 { ac_try
='test -s conftest.$ac_objext'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; }; then
5007 eval "$as_ac_Header=yes"
5009 echo "$as_me: failed program was:" >&5
5010 sed 's/^/| /' conftest.
$ac_ext >&5
5012 eval "$as_ac_Header=no"
5014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5019 cat >>confdefs.h
<<_ACEOF
5020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5030 for ac_header
in tr1/unordered_set
tr1/unordered_map
5032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5034 echo "$as_me:$LINENO: checking for $ac_header" >&5
5035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5042 # Is the header compilable?
5043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 $ac_includes_default
5052 #include <$ac_header>
5054 rm -f conftest.
$ac_objext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } &&
5063 { ac_try
='test -z "$ac_cxx_werror_flag"
5064 || test ! -s conftest.err'
5065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; } &&
5070 { ac_try
='test -s conftest.$ac_objext'
5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }; }; then
5076 ac_header_compiler
=yes
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5081 ac_header_compiler
=no
5083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5085 echo "${ECHO_T}$ac_header_compiler" >&6
5087 # Is the header present?
5088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5096 #include <$ac_header>
5098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } >/dev
/null
; then
5106 if test -s conftest.err
; then
5107 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5108 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5115 if test -z "$ac_cpp_err"; then
5116 ac_header_preproc
=yes
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.
$ac_ext >&5
5121 ac_header_preproc
=no
5123 rm -f conftest.err conftest.
$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5125 echo "${ECHO_T}$ac_header_preproc" >&6
5127 # So? What about this header?
5128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5134 ac_header_preproc
=yes
5137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5151 ## ------------------------------------------ ##
5152 ## Report this to the AC_PACKAGE_NAME lists. ##
5153 ## ------------------------------------------ ##
5156 sed "s/^/$as_me: WARNING: /" >&2
5159 echo "$as_me:$LINENO: checking for $ac_header" >&5
5160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 eval "$as_ac_Header=\$ac_header_preproc"
5166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5171 cat >>confdefs.h
<<_ACEOF
5172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5181 for ac_header
in ext
/hash_map ext
/hash_set
5183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5185 echo "$as_me:$LINENO: checking for $ac_header" >&5
5186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5193 # Is the header compilable?
5194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5202 $ac_includes_default
5203 #include <$ac_header>
5205 rm -f conftest.
$ac_objext
5206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5207 (eval $ac_compile) 2>conftest.er1
5209 grep -v '^ *+' conftest.er1
>conftest.err
5211 cat conftest.err
>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } &&
5214 { ac_try
='test -z "$ac_cxx_werror_flag"
5215 || test ! -s conftest.err'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try
='test -s conftest.$ac_objext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }; }; then
5227 ac_header_compiler
=yes
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 ac_header_compiler
=no
5234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5236 echo "${ECHO_T}$ac_header_compiler" >&6
5238 # Is the header present?
5239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5241 cat >conftest.
$ac_ext <<_ACEOF
5244 cat confdefs.h
>>conftest.
$ac_ext
5245 cat >>conftest.
$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 #include <$ac_header>
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev
/null
; then
5257 if test -s conftest.err
; then
5258 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5259 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5266 if test -z "$ac_cpp_err"; then
5267 ac_header_preproc
=yes
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5272 ac_header_preproc
=no
5274 rm -f conftest.err conftest.
$ac_ext
5275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5276 echo "${ECHO_T}$ac_header_preproc" >&6
5278 # So? What about this header?
5279 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5285 ac_header_preproc
=yes
5288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5302 ## ------------------------------------------ ##
5303 ## Report this to the AC_PACKAGE_NAME lists. ##
5304 ## ------------------------------------------ ##
5307 sed "s/^/$as_me: WARNING: /" >&2
5310 echo "$as_me:$LINENO: checking for $ac_header" >&5
5311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 eval "$as_ac_Header=\$ac_header_preproc"
5317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5322 cat >>confdefs.h
<<_ACEOF
5323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5331 cat >conftest.
$ac_ext <<_ACEOF
5333 class c { public: template<int i> void fn(); };
5334 template<int i> void foo(c cv) { cv.fn<i>(); }
5335 template void foo<1>(c cv);
5337 rm -f conftest.
$ac_objext
5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5339 (eval $ac_compile) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } &&
5346 { ac_try
='test -z "$ac_cxx_werror_flag"
5347 || test ! -s conftest.err'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; } &&
5353 { ac_try
='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then
5360 cat >>confdefs.h
<<\_ACEOF
5361 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.
$ac_ext >&5
5369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5372 ac_cpp
='$CPP $CPPFLAGS'
5373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5378 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5379 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5380 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5381 if test "${enable_maintainer_mode+set}" = set; then
5382 enableval
="$enable_maintainer_mode"
5383 USE_MAINTAINER_MODE
=$enableval
5385 USE_MAINTAINER_MODE
=no
5387 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5388 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5391 if test $USE_MAINTAINER_MODE = yes; then
5392 MAINTAINER_MODE_TRUE
=
5393 MAINTAINER_MODE_FALSE
='#'
5395 MAINTAINER_MODE_TRUE
='#'
5396 MAINTAINER_MODE_FALSE
=
5399 MAINT
=$MAINTAINER_MODE_TRUE
5403 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
5404 cat >confcache
<<\_ACEOF
5405 # This file is a shell script that caches the results of configure
5406 # tests run on this system so they can be shared between configure
5407 # scripts and configure runs, see configure's option --config-cache.
5408 # It is not useful on other systems. If it contains results you don't
5409 # want to keep, you may remove or edit it.
5411 # config.status only pays attention to the cache file if you give it
5412 # the --recheck option to rerun configure.
5414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5420 # The following way of writing the cache mishandles newlines in values,
5421 # but we know of no workaround that is simple, portable, and efficient.
5422 # So, don't put newlines in cache variables' values.
5423 # Ultrix sh set writes to stderr and can't be redirected directly,
5424 # and sets the high bit in the cache file unless we assign to the vars.
5427 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5429 # `set' does not quote correctly, so add quotes (double-quote
5430 # substitution turns \\\\ into \\, and sed turns \\ into \).
5433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5436 # `set' quotes correctly as required by POSIX, so do not add quotes.
5438 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5445 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5447 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5449 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5450 if test -w $cache_file; then
5451 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5452 cat confcache
>$cache_file
5454 echo "not updating unwritable cache $cache_file"
5459 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5460 # Let make expand exec_prefix.
5461 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5463 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5464 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5465 # trailing colons and then remove the whole line if VPATH becomes empty
5466 # (actually we leave an empty line to preserve line numbers).
5467 if test "x$srcdir" = x.
; then
5468 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5469 s/:*\$(srcdir):*/:/;
5470 s/:*\${srcdir}:*/:/;
5472 s/^\([^=]*=[ ]*\):*/\1/;
5478 DEFS
=-DHAVE_CONFIG_H
5482 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5483 # 1. Remove the extension, and $U if already installed.
5484 ac_i
=`echo "$ac_i" |
5485 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5487 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5488 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5492 LTLIBOBJS
=$ac_ltlibobjs
5495 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5496 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5497 Usually this means the macro was only invoked conditionally." >&5
5498 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5499 Usually this means the macro was only invoked conditionally." >&2;}
5500 { (exit 1); exit 1; }; }
5502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5503 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5504 Usually this means the macro was only invoked conditionally." >&5
5505 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5506 Usually this means the macro was only invoked conditionally." >&2;}
5507 { (exit 1); exit 1; }; }
5509 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5510 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5511 Usually this means the macro was only invoked conditionally." >&5
5512 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5513 Usually this means the macro was only invoked conditionally." >&2;}
5514 { (exit 1); exit 1; }; }
5516 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
5517 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
5518 Usually this means the macro was only invoked conditionally." >&5
5519 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
5520 Usually this means the macro was only invoked conditionally." >&2;}
5521 { (exit 1); exit 1; }; }
5523 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
5524 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
5525 Usually this means the macro was only invoked conditionally." >&5
5526 echo "$as_me: error: conditional \"GCC\" was never defined.
5527 Usually this means the macro was only invoked conditionally." >&2;}
5528 { (exit 1); exit 1; }; }
5530 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5531 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5532 Usually this means the macro was only invoked conditionally." >&5
5533 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5534 Usually this means the macro was only invoked conditionally." >&2;}
5535 { (exit 1); exit 1; }; }
5538 : ${CONFIG_STATUS=./config.status}
5539 ac_clean_files_save
=$ac_clean_files
5540 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5541 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5542 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5543 cat >$CONFIG_STATUS <<_ACEOF
5545 # Generated by $as_me.
5546 # Run this file to recreate the current configuration.
5547 # Compiler output produced by configure, useful for debugging
5548 # configure, is in config.log if it exists.
5553 SHELL=\${CONFIG_SHELL-$SHELL}
5556 cat >>$CONFIG_STATUS <<\_ACEOF
5557 ## --------------------- ##
5558 ## M4sh Initialization. ##
5559 ## --------------------- ##
5561 # Be Bourne compatible
5562 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5565 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5566 # is contrary to our usage. Disable this feature.
5567 alias -g '${1+"$@"}'='"$@"'
5568 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5571 DUALCASE
=1; export DUALCASE
# for MKS sh
5573 # Support unset when possible.
5574 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5581 # Work around bugs in pre-3.0 UWIN ksh.
5582 $as_unset ENV MAIL MAILPATH
5589 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5590 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5591 LC_TELEPHONE LC_TIME
5593 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5594 eval $as_var=C
; export $as_var
5600 # Required to use basename.
5601 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5607 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5608 as_basename
=basename
5614 # Name of the executable.
5615 as_me
=`$as_basename "$0" ||
5616 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5617 X"$0" : 'X\(//\)$' \| \
5618 X"$0" : 'X\(/\)$' \| \
5619 . : '\(.\)' 2>/dev/null ||
5621 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5622 /^X\/\(\/\/\)$/{ s//\1/; q; }
5623 /^X\/\(\/\).*/{ s//\1/; q; }
5627 # PATH needs CR, and LINENO needs CR and PATH.
5628 # Avoid depending upon Character Ranges.
5629 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5630 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5631 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5632 as_cr_digits
='0123456789'
5633 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5635 # The user is always right.
5636 if test "${PATH_SEPARATOR+set}" != set; then
5637 echo "#! /bin/sh" >conf$$.sh
5638 echo "exit 0" >>conf$$.sh
5640 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5651 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5652 test "x$as_lineno_1" != "x$as_lineno_2" &&
5653 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5654 # Find who we are. Look in the path if we contain no path at all
5657 *[\\/]* ) as_myself
=$0 ;;
5658 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir
=.
5663 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5668 # We did not find ourselves, most probably we were run as `sh COMMAND'
5669 # in which case we are not to be found in the path.
5670 if test "x$as_myself" = x
; then
5673 if test ! -f "$as_myself"; then
5674 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5675 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5676 { (exit 1); exit 1; }; }
5678 case $CONFIG_SHELL in
5680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5684 test -z "$as_dir" && as_dir
=.
5685 for as_base
in sh bash ksh sh5
; do
5688 if ("$as_dir/$as_base" -c '
5691 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5692 test "x$as_lineno_1" != "x$as_lineno_2" &&
5693 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5694 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5695 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5696 CONFIG_SHELL
=$as_dir/$as_base
5698 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5706 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5707 # uniformly replaced by the line number. The first 'sed' inserts a
5708 # line-number line before each line; the second 'sed' does the real
5709 # work. The second script uses 'N' to pair each line-number line
5710 # with the numbered line, and appends trailing '-' during
5711 # substitution so that $LINENO is not a special case at line end.
5712 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5713 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5714 sed '=' <$as_myself |
5719 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5722 s,^['$as_cr_digits']*\n,,
5724 chmod +x
$as_me.lineno ||
5725 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5726 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5727 { (exit 1); exit 1; }; }
5729 # Don't try to exec as it changes $[0], causing all sort of problems
5730 # (the dirname of $[0] is not the place where we might find the
5731 # original and so on. Autoconf is especially sensible to this).
5733 # Exit status is that of the last command.
5738 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5739 *c
*,-n*) ECHO_N
= ECHO_C
='
5741 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5742 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5745 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5751 rm -f conf$$ conf$$.exe conf$$.
file
5753 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5754 # We could just check for DJGPP; but this test a) works b) is more generic
5755 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5756 if test -f conf$$.exe
; then
5757 # Don't use ln at all; we don't have any links
5762 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5767 rm -f conf$$ conf$$.exe conf$$.
file
5769 if mkdir
-p .
2>/dev
/null
; then
5772 test -d .
/-p && rmdir .
/-p
5776 as_executable_p
="test -f"
5778 # Sed expression to map a string onto a valid CPP name.
5779 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5781 # Sed expression to map a string onto a valid variable name.
5782 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5786 # We need space, tab and new line, in precisely that order.
5796 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5797 # report actual input values of CONFIG_FILES etc. instead of their
5798 # values after options handling. Logging --version etc. is OK.
5802 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5803 ## Running $as_me. ##
5808 This file was extended by $as_me, which was
5809 generated by GNU Autoconf 2.59. Invocation command line was
5811 CONFIG_FILES = $CONFIG_FILES
5812 CONFIG_HEADERS = $CONFIG_HEADERS
5813 CONFIG_LINKS = $CONFIG_LINKS
5814 CONFIG_COMMANDS = $CONFIG_COMMANDS
5818 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5822 # Files that config.status was made for.
5823 if test -n "$ac_config_files"; then
5824 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5827 if test -n "$ac_config_headers"; then
5828 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5831 if test -n "$ac_config_links"; then
5832 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5835 if test -n "$ac_config_commands"; then
5836 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5839 cat >>$CONFIG_STATUS <<\_ACEOF
5842 \`$as_me' instantiates files from templates according to the
5843 current configuration.
5845 Usage: $0 [OPTIONS] [FILE]...
5847 -h, --help print this help, then exit
5848 -V, --version print version number, then exit
5849 -q, --quiet do not print progress messages
5850 -d, --debug don't remove temporary files
5851 --recheck update $as_me by reconfiguring in the same conditions
5852 --file=FILE[:TEMPLATE]
5853 instantiate the configuration file FILE
5854 --header=FILE[:TEMPLATE]
5855 instantiate the configuration header FILE
5857 Configuration files:
5860 Configuration headers:
5863 Configuration commands:
5866 Report bugs to <bug-autoconf@gnu.org>."
5869 cat >>$CONFIG_STATUS <<_ACEOF
5872 configured by $0, generated by GNU Autoconf 2.59,
5873 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5875 Copyright (C) 2003 Free Software Foundation, Inc.
5876 This config.status script is free software; the Free Software Foundation
5877 gives unlimited permission to copy, distribute and modify it."
5882 cat >>$CONFIG_STATUS <<\_ACEOF
5883 # If no file are specified by the user, then we need to provide default
5884 # value. By we need to know if files were specified by the user.
5890 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5891 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5899 *) # This is not an option, so the user has probably given explicit
5902 ac_need_defaults
=false
;;
5906 # Handling of the options.
5908 cat >>$CONFIG_STATUS <<\_ACEOF
5909 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5911 --version |
--vers* |
-V )
5912 echo "$ac_cs_version"; exit 0 ;;
5914 # Conflict between --help and --header
5915 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5916 Try \`$0 --help' for more information." >&5
5917 echo "$as_me: error: ambiguous option: $1
5918 Try \`$0 --help' for more information." >&2;}
5919 { (exit 1); exit 1; }; };;
5920 --help |
--hel |
-h )
5921 echo "$ac_cs_usage"; exit 0 ;;
5922 --debug |
--d* |
-d )
5924 --file |
--fil |
--fi |
--f )
5926 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5927 ac_need_defaults
=false
;;
5928 --header |
--heade |
--head |
--hea )
5930 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5931 ac_need_defaults
=false
;;
5932 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5933 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5937 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5938 Try \`$0 --help' for more information." >&5
5939 echo "$as_me: error: unrecognized option: $1
5940 Try \`$0 --help' for more information." >&2;}
5941 { (exit 1); exit 1; }; } ;;
5943 *) ac_config_targets
="$ac_config_targets $1" ;;
5949 ac_configure_extra_args
=
5951 if $ac_cs_silent; then
5953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5957 cat >>$CONFIG_STATUS <<_ACEOF
5958 if \$ac_cs_recheck; then
5959 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5960 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5965 cat >>$CONFIG_STATUS <<_ACEOF
5967 # INIT-COMMANDS section.
5970 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5971 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5972 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
5974 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5975 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5976 LINGUAS="${LINGUAS-%UNSET%}"
5983 cat >>$CONFIG_STATUS <<\_ACEOF
5984 for ac_config_target
in $ac_config_targets
5986 case "$ac_config_target" in
5987 # Handling of arguments.
5988 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5989 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
5990 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
5991 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5992 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
5993 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5994 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5995 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5996 { (exit 1); exit 1; }; };;
6000 # If the user did not use the arguments to specify the items to instantiate,
6001 # then the envvar interface is used. Set only those that are not.
6002 # We use the long form for the default assignment because of an extremely
6003 # bizarre bug on SunOS 4.1.3.
6004 if $ac_need_defaults; then
6005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6010 # Have a temporary directory for convenience. Make it in the build tree
6011 # simply because there is no reason to put it here, and in addition,
6012 # creating and moving files from /tmp can sometimes cause problems.
6013 # Create a temporary directory, and hook for its removal unless debugging.
6016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6017 trap '{ (exit 1); exit 1; }' 1 2 13 15
6020 # Create a (secure) tmp directory for tmp files.
6023 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6024 test -n "$tmp" && test -d "$tmp"
6027 tmp
=.
/confstat$$
-$RANDOM
6028 (umask 077 && mkdir
$tmp)
6031 echo "$me: cannot create a temporary directory in ." >&2
6032 { (exit 1); exit 1; }
6037 cat >>$CONFIG_STATUS <<_ACEOF
6040 # CONFIG_FILES section.
6043 # No need to generate the scripts if there are no CONFIG_FILES.
6044 # This happens for instance when ./config.status config.h
6045 if test -n "\$CONFIG_FILES"; then
6046 # Protect against being on the right side of a sed subst in config.status.
6047 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6048 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6049 s,@SHELL@,$SHELL,;t t
6050 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6051 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6052 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6053 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6054 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6055 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6056 s,@exec_prefix@,$exec_prefix,;t t
6057 s,@prefix@,$prefix,;t t
6058 s,@program_transform_name@,$program_transform_name,;t t
6059 s,@bindir@,$bindir,;t t
6060 s,@sbindir@,$sbindir,;t t
6061 s,@libexecdir@,$libexecdir,;t t
6062 s,@datadir@,$datadir,;t t
6063 s,@sysconfdir@,$sysconfdir,;t t
6064 s,@sharedstatedir@,$sharedstatedir,;t t
6065 s,@localstatedir@,$localstatedir,;t t
6066 s,@libdir@,$libdir,;t t
6067 s,@includedir@,$includedir,;t t
6068 s,@oldincludedir@,$oldincludedir,;t t
6069 s,@infodir@,$infodir,;t t
6070 s,@mandir@,$mandir,;t t
6071 s,@build_alias@,$build_alias,;t t
6072 s,@host_alias@,$host_alias,;t t
6073 s,@target_alias@,$target_alias,;t t
6075 s,@ECHO_C@,$ECHO_C,;t t
6076 s,@ECHO_N@,$ECHO_N,;t t
6077 s,@ECHO_T@,$ECHO_T,;t t
6079 s,@build@,$build,;t t
6080 s,@build_cpu@,$build_cpu,;t t
6081 s,@build_vendor@,$build_vendor,;t t
6082 s,@build_os@,$build_os,;t t
6084 s,@host_cpu@,$host_cpu,;t t
6085 s,@host_vendor@,$host_vendor,;t t
6086 s,@host_os@,$host_os,;t t
6087 s,@target@,$target,;t t
6088 s,@target_cpu@,$target_cpu,;t t
6089 s,@target_vendor@,$target_vendor,;t t
6090 s,@target_os@,$target_os,;t t
6091 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6092 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6093 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6094 s,@CYGPATH_W@,$CYGPATH_W,;t t
6095 s,@PACKAGE@,$PACKAGE,;t t
6096 s,@VERSION@,$VERSION,;t t
6097 s,@ACLOCAL@,$ACLOCAL,;t t
6098 s,@AUTOCONF@,$AUTOCONF,;t t
6099 s,@AUTOMAKE@,$AUTOMAKE,;t t
6100 s,@AUTOHEADER@,$AUTOHEADER,;t t
6101 s,@MAKEINFO@,$MAKEINFO,;t t
6102 s,@install_sh@,$install_sh,;t t
6103 s,@STRIP@,$STRIP,;t t
6104 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6105 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6106 s,@mkdir_p@,$mkdir_p,;t t
6108 s,@SET_MAKE@,$SET_MAKE,;t t
6109 s,@am__leading_dot@,$am__leading_dot,;t t
6110 s,@AMTAR@,$AMTAR,;t t
6111 s,@am__tar@,$am__tar,;t t
6112 s,@am__untar@,$am__untar,;t t
6113 s,@TARGETOBJS@,$TARGETOBJS,;t t
6115 s,@CFLAGS@,$CFLAGS,;t t
6116 s,@LDFLAGS@,$LDFLAGS,;t t
6117 s,@CPPFLAGS@,$CPPFLAGS,;t t
6118 s,@ac_ct_CC@,$ac_ct_CC,;t t
6119 s,@EXEEXT@,$EXEEXT,;t t
6120 s,@OBJEXT@,$OBJEXT,;t t
6121 s,@DEPDIR@,$DEPDIR,;t t
6122 s,@am__include@,$am__include,;t t
6123 s,@am__quote@,$am__quote,;t t
6124 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6125 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6126 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6127 s,@CCDEPMODE@,$CCDEPMODE,;t t
6128 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6129 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6131 s,@CXXFLAGS@,$CXXFLAGS,;t t
6132 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6133 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6134 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6135 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6137 s,@RANLIB@,$RANLIB,;t t
6138 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6140 s,@USE_NLS@,$USE_NLS,;t t
6141 s,@LIBINTL@,$LIBINTL,;t t
6142 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6143 s,@INCINTL@,$INCINTL,;t t
6144 s,@XGETTEXT@,$XGETTEXT,;t t
6145 s,@GMSGFMT@,$GMSGFMT,;t t
6146 s,@POSUB@,$POSUB,;t t
6147 s,@CATALOGS@,$CATALOGS,;t t
6148 s,@DATADIRNAME@,$DATADIRNAME,;t t
6149 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6150 s,@GENCAT@,$GENCAT,;t t
6151 s,@CATOBJEXT@,$CATOBJEXT,;t t
6152 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6153 s,@MSGFMT@,$MSGFMT,;t t
6154 s,@MSGMERGE@,$MSGMERGE,;t t
6155 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
6156 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
6157 s,@GCC_TRUE@,$GCC_TRUE,;t t
6158 s,@GCC_FALSE@,$GCC_FALSE,;t t
6159 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6160 s,@NO_WERROR@,$NO_WERROR,;t t
6161 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
6162 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
6163 s,@LIBOBJS@,$LIBOBJS,;t t
6164 s,@CXXCPP@,$CXXCPP,;t t
6165 s,@EGREP@,$EGREP,;t t
6166 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6167 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6168 s,@MAINT@,$MAINT,;t t
6169 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6174 cat >>$CONFIG_STATUS <<\_ACEOF
6175 # Split the substitutions into bite-sized pieces for seds with
6176 # small command number limits, like on Digital OSF/1 and HP-UX.
6178 ac_sed_frag
=1 # Number of current file.
6179 ac_beg
=1 # First line for current file.
6180 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6183 while $ac_more_lines; do
6184 if test $ac_beg -gt 1; then
6185 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6187 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6189 if test ! -s $tmp/subs.frag
; then
6192 # The purpose of the label and of the branching condition is to
6193 # speed up the sed processing (if there are no `@' at all, there
6194 # is no need to browse any of the substitutions).
6195 # These are the two extra sed commands mentioned above.
6197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6198 if test -z "$ac_sed_cmds"; then
6199 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6201 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6203 ac_sed_frag
=`expr $ac_sed_frag + 1`
6205 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6208 if test -z "$ac_sed_cmds"; then
6211 fi # test -n "$CONFIG_FILES"
6214 cat >>$CONFIG_STATUS <<\_ACEOF
6215 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6218 - |
*:- |
*:-:* ) # input from stdin
6220 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6221 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6222 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6223 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6224 * ) ac_file_in
=$ac_file.
in ;;
6227 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6228 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6230 X"$ac_file" : 'X\(//\)[^/]' \| \
6231 X"$ac_file" : 'X\(//\)$' \| \
6232 X"$ac_file" : 'X\(/\)' \| \
6233 . : '\(.\)' 2>/dev/null ||
6235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6237 /^X\(\/\/\)$/{ s//\1/; q; }
6238 /^X\(\/\).*/{ s//\1/; q; }
6240 { if $as_mkdir_p; then
6245 while test ! -d "$as_dir"; do
6246 as_dirs
="$as_dir $as_dirs"
6247 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6249 X"$as_dir" : 'X\(//\)[^/]' \| \
6250 X"$as_dir" : 'X\(//\)$' \| \
6251 X"$as_dir" : 'X\(/\)' \| \
6252 . : '\(.\)' 2>/dev/null ||
6254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6256 /^X\(\/\/\)$/{ s//\1/; q; }
6257 /^X\(\/\).*/{ s//\1/; q; }
6260 test ! -n "$as_dirs" || mkdir
$as_dirs
6261 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6263 { (exit 1); exit 1; }; }; }
6267 if test "$ac_dir" != .
; then
6268 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6269 # A "../" for each directory in $ac_dir_suffix.
6270 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6272 ac_dir_suffix
= ac_top_builddir
=
6276 .
) # No --srcdir option. We are building in place.
6278 if test -z "$ac_top_builddir"; then
6281 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6283 [\\/]* | ?
:[\\/]* ) # Absolute path.
6284 ac_srcdir
=$srcdir$ac_dir_suffix;
6285 ac_top_srcdir
=$srcdir ;;
6287 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6288 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6291 # Do not use `cd foo && pwd` to compute absolute paths, because
6292 # the directories may not exist.
6294 .
) ac_abs_builddir
="$ac_dir";;
6297 .
) ac_abs_builddir
=`pwd`;;
6298 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6299 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6302 case $ac_abs_builddir in
6303 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6305 case ${ac_top_builddir}.
in
6306 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6307 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6308 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6311 case $ac_abs_builddir in
6312 .
) ac_abs_srcdir
=$ac_srcdir;;
6315 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6316 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6317 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6320 case $ac_abs_builddir in
6321 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6323 case $ac_top_srcdir in
6324 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6325 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6326 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6332 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6333 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6336 if test x
"$ac_file" != x-
; then
6337 { echo "$as_me:$LINENO: creating $ac_file" >&5
6338 echo "$as_me: creating $ac_file" >&6;}
6341 # Let's still pretend it is `configure' which instantiates (i.e., don't
6342 # use $as_me), people would be surprised to read:
6343 # /* config.h. Generated by config.status. */
6344 if test x
"$ac_file" = x-
; then
6347 configure_input
="$ac_file. "
6349 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6350 sed 's,.*/,,'` by configure."
6352 # First look for the input files in the build tree, otherwise in the
6354 ac_file_inputs
=`IFS=:
6355 for f in $ac_file_in; do
6357 -) echo $tmp/stdin ;;
6359 # Absolute (can't be DOS-style, as IFS=:)
6360 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6361 echo "$as_me: error: cannot find input file: $f" >&2;}
6362 { (exit 1); exit 1; }; }
6365 if test -f "$f"; then
6368 elif test -f "$srcdir/$f"; then
6373 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6374 echo "$as_me: error: cannot find input file: $f" >&2;}
6375 { (exit 1); exit 1; }; }
6378 done` ||
{ (exit 1); exit 1; }
6380 cat >>$CONFIG_STATUS <<_ACEOF
6384 cat >>$CONFIG_STATUS <<\_ACEOF
6386 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6387 s
,@configure_input@
,$configure_input,;t t
6388 s
,@srcdir@
,$ac_srcdir,;t t
6389 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6390 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6391 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6392 s
,@builddir@
,$ac_builddir,;t t
6393 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6394 s
,@top_builddir@
,$ac_top_builddir,;t t
6395 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6396 s
,@INSTALL@
,$ac_INSTALL,;t t
6397 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6399 if test x"$ac_file" != x-; then
6400 mv $tmp/out $ac_file
6408 cat >>$CONFIG_STATUS <<\_ACEOF
6411 # CONFIG_HEADER section.
6414 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6415 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6417 # ac_d sets the value in "#define NAME VALUE" lines.
6418 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6419 ac_dB
='[ ].*$,\1#\2'
6422 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6423 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6424 ac_uB
='$,\1#\2define\3'
6428 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6429 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6431 - |
*:- |
*:-:* ) # input from stdin
6433 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6434 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6435 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6436 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6437 * ) ac_file_in
=$ac_file.
in ;;
6440 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6441 echo "$as_me: creating $ac_file" >&6;}
6443 # First look for the input files in the build tree, otherwise in the
6445 ac_file_inputs
=`IFS=:
6446 for f in $ac_file_in; do
6448 -) echo $tmp/stdin ;;
6450 # Absolute (can't be DOS-style, as IFS=:)
6451 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6452 echo "$as_me: error: cannot find input file: $f" >&2;}
6453 { (exit 1); exit 1; }; }
6454 # Do quote $f, to prevent DOS paths from being IFS'd.
6457 if test -f "$f"; then
6460 elif test -f "$srcdir/$f"; then
6465 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6466 echo "$as_me: error: cannot find input file: $f" >&2;}
6467 { (exit 1); exit 1; }; }
6470 done` ||
{ (exit 1); exit 1; }
6471 # Remove the trailing spaces.
6472 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6476 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6477 # `conftest.undefs', that substitutes the proper values into
6478 # config.h.in to produce config.h. The first handles `#define'
6479 # templates, and the second `#undef' templates.
6480 # And first: Protect against being on the right side of a sed subst in
6481 # config.status. Protect against being in an unquoted here document
6483 rm -f conftest.defines conftest.undefs
6484 # Using a here document instead of a string reduces the quoting nightmare.
6485 # Putting comments in sed scripts is not portable.
6487 # `end' is used to avoid that the second main sed command (meant for
6488 # 0-ary CPP macros) applies to n-ary macro definitions.
6489 # See the Autoconf documentation for `clear'.
6490 cat >confdef2sed.
sed <<\_ACEOF
6495 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6497 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6500 # If some macros were called several times there might be several times
6501 # the same #defines, which is useless. Nevertheless, we may not want to
6502 # sort them, since we want the *last* AC-DEFINE to be honored.
6503 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6504 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6505 rm -f confdef2sed.sed
6507 # This sed command replaces #undef with comments. This is necessary, for
6508 # example, in the case of _POSIX_SOURCE, which is predefined and required
6509 # on some systems where configure will not decide to define it.
6510 cat >>conftest.undefs <<\_ACEOF
6511 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6514 # Break up conftest.defines because some shells have a limit on the size
6515 # of here documents, and old seds have small limits too (100 cmds).
6516 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6517 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6518 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6519 echo ' :' >>$CONFIG_STATUS
6521 while grep . conftest.defines >/dev/null
6523 # Write a limited-size here document to $tmp/defines.sed.
6524 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6525 # Speed up: don't consider the non `#define' lines.
6526 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6527 # Work around the forget-to-reset-the-flag bug.
6528 echo 't clr' >>$CONFIG_STATUS
6529 echo ': clr' >>$CONFIG_STATUS
6530 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6532 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6536 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6537 rm -f conftest.defines
6538 mv conftest.
tail conftest.defines
6540 rm -f conftest.defines
6541 echo ' fi # grep' >>$CONFIG_STATUS
6542 echo >>$CONFIG_STATUS
6544 # Break up conftest.undefs because some shells have a limit on the size
6545 # of here documents, and old seds have small limits too (100 cmds).
6546 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6548 while grep . conftest.undefs
>/dev
/null
6550 # Write a limited-size here document to $tmp/undefs.sed.
6551 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6552 # Speed up: don't consider the non
`#undef'
6553 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6554 # Work around the forget-to-reset-the-flag bug.
6555 echo 't clr' >>$CONFIG_STATUS
6556 echo ': clr' >>$CONFIG_STATUS
6557 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6559 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6563 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6564 rm -f conftest.undefs
6565 mv conftest.tail conftest.undefs
6567 rm -f conftest.undefs
6569 cat >>$CONFIG_STATUS <<\_ACEOF
6570 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6571 # use $as_me), people would be surprised to read:
6572 # /* config.h. Generated by config.status. */
6573 if test x
"$ac_file" = x-
; then
6574 echo "/* Generated by configure. */" >$tmp/config.h
6576 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6578 cat $tmp/in >>$tmp/config.h
6580 if test x
"$ac_file" != x-
; then
6581 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6582 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6583 echo "$as_me: $ac_file is unchanged" >&6;}
6585 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6586 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6587 X"$ac_file" : 'X\(//\)[^/]' \| \
6588 X"$ac_file" : 'X\(//\)$' \| \
6589 X"$ac_file" : 'X\(/\)' \| \
6590 . : '\(.\)' 2>/dev/null ||
6592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6594 /^X\(\/\/\)$/{ s//\1/; q; }
6595 /^X\(\/\).*/{ s//\1/; q; }
6597 { if $as_mkdir_p; then
6602 while test ! -d "$as_dir"; do
6603 as_dirs
="$as_dir $as_dirs"
6604 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6606 X"$as_dir" : 'X\(//\)[^/]' \| \
6607 X"$as_dir" : 'X\(//\)$' \| \
6608 X"$as_dir" : 'X\(/\)' \| \
6609 . : '\(.\)' 2>/dev/null ||
6611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6613 /^X\(\/\/\)$/{ s//\1/; q; }
6614 /^X\(\/\).*/{ s//\1/; q; }
6617 test ! -n "$as_dirs" || mkdir
$as_dirs
6618 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6619 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6620 { (exit 1); exit 1; }; }; }
6623 mv $tmp/config.h
$ac_file
6629 # Compute $ac_file's index in $config_headers.
6631 for _am_header
in $config_headers :; do
6633 $ac_file |
$ac_file:* )
6636 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6639 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6640 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6641 X$ac_file : 'X\(//\)[^/]' \| \
6642 X$ac_file : 'X\(//\)$' \| \
6643 X$ac_file : 'X\(/\)' \| \
6644 . : '\(.\)' 2>/dev/null ||
6646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6648 /^X\(\/\/\)$/{ s//\1/; q; }
6649 /^X\(\/\).*/{ s//\1/; q; }
6650 s/.*/./; q'`/stamp-h
$_am_stamp_count
6653 cat >>$CONFIG_STATUS <<\_ACEOF
6656 # CONFIG_COMMANDS section.
6658 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6659 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6660 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6661 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6662 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6663 X"$ac_dest" : 'X\(//\)[^/]' \| \
6664 X"$ac_dest" : 'X\(//\)$' \| \
6665 X"$ac_dest" : 'X\(/\)' \| \
6666 . : '\(.\)' 2>/dev/null ||
6668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6670 /^X\(\/\/\)$/{ s//\1/; q; }
6671 /^X\(\/\).*/{ s//\1/; q; }
6673 { if $as_mkdir_p; then
6678 while test ! -d "$as_dir"; do
6679 as_dirs
="$as_dir $as_dirs"
6680 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6682 X"$as_dir" : 'X\(//\)[^/]' \| \
6683 X"$as_dir" : 'X\(//\)$' \| \
6684 X"$as_dir" : 'X\(/\)' \| \
6685 . : '\(.\)' 2>/dev/null ||
6687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6689 /^X\(\/\/\)$/{ s//\1/; q; }
6690 /^X\(\/\).*/{ s//\1/; q; }
6693 test ! -n "$as_dirs" || mkdir
$as_dirs
6694 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6696 { (exit 1); exit 1; }; }; }
6700 if test "$ac_dir" != .
; then
6701 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6702 # A "../" for each directory in $ac_dir_suffix.
6703 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6705 ac_dir_suffix
= ac_top_builddir
=
6709 .
) # No --srcdir option. We are building in place.
6711 if test -z "$ac_top_builddir"; then
6714 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6716 [\\/]* | ?
:[\\/]* ) # Absolute path.
6717 ac_srcdir
=$srcdir$ac_dir_suffix;
6718 ac_top_srcdir
=$srcdir ;;
6720 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6721 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6724 # Do not use `cd foo && pwd` to compute absolute paths, because
6725 # the directories may not exist.
6727 .
) ac_abs_builddir
="$ac_dir";;
6730 .
) ac_abs_builddir
=`pwd`;;
6731 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6732 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6735 case $ac_abs_builddir in
6736 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6738 case ${ac_top_builddir}.
in
6739 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6740 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6741 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6744 case $ac_abs_builddir in
6745 .
) ac_abs_srcdir
=$ac_srcdir;;
6748 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6749 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6750 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6753 case $ac_abs_builddir in
6754 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6756 case $ac_top_srcdir in
6757 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6758 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6759 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6764 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6765 echo "$as_me: executing $ac_dest commands" >&6;}
6767 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6768 # Strip MF so we end up with the name of the file.
6769 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6770 # Check whether this is an Automake generated Makefile or not.
6771 # We used to match only the files named `Makefile.in', but
6772 # some people rename them; so instead we look at the file content.
6773 # Grep'ing the first line is not enough: some people post-process
6774 # each Makefile.in and add a new line on top of each file to say so.
6775 # So let's grep whole file.
6776 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6777 dirpart
=`(dirname "$mf") 2>/dev/null ||
6778 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6779 X"$mf" : 'X\(//\)[^/]' \| \
6780 X"$mf" : 'X\(//\)$' \| \
6781 X"$mf" : 'X\(/\)' \| \
6782 . : '\(.\)' 2>/dev/null ||
6784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6786 /^X\(\/\/\)$/{ s//\1/; q; }
6787 /^X\(\/\).*/{ s//\1/; q; }
6792 # Extract the definition of DEPDIR, am__include, and am__quote
6793 # from the Makefile without running `make'.
6794 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6795 test -z "$DEPDIR" && continue
6796 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6797 test -z "am__include" && continue
6798 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6799 # When using ansi2knr, U may be empty or an underscore; expand it
6800 U
=`sed -n 's/^U = //p' < "$mf"`
6801 # Find all dependency output files, they are included files with
6802 # $(DEPDIR) in their names. We invoke sed twice because it is the
6803 # simplest approach to changing $(DEPDIR) to its actual value in the
6805 for file in `sed -n "
6806 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6807 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6808 # Make sure the directory exists.
6809 test -f "$dirpart/$file" && continue
6810 fdir
=`(dirname "$file") 2>/dev/null ||
6811 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6812 X"$file" : 'X\(//\)[^/]' \| \
6813 X"$file" : 'X\(//\)$' \| \
6814 X"$file" : 'X\(/\)' \| \
6815 . : '\(.\)' 2>/dev/null ||
6817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6819 /^X\(\/\/\)$/{ s//\1/; q; }
6820 /^X\(\/\).*/{ s//\1/; q; }
6822 { if $as_mkdir_p; then
6823 mkdir
-p $dirpart/$fdir
6825 as_dir
=$dirpart/$fdir
6827 while test ! -d "$as_dir"; do
6828 as_dirs
="$as_dir $as_dirs"
6829 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6831 X"$as_dir" : 'X\(//\)[^/]' \| \
6832 X"$as_dir" : 'X\(//\)$' \| \
6833 X"$as_dir" : 'X\(/\)' \| \
6834 . : '\(.\)' 2>/dev/null ||
6836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6838 /^X\(\/\/\)$/{ s//\1/; q; }
6839 /^X\(\/\).*/{ s//\1/; q; }
6842 test ! -n "$as_dirs" || mkdir
$as_dirs
6843 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6844 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6845 { (exit 1); exit 1; }; }; }
6847 # echo "creating $dirpart/$file"
6848 echo '# dummy' > "$dirpart/$file"
6853 for ac_file
in $CONFIG_FILES; do
6854 # Support "outfile[:infile[:infile...]]"
6856 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6858 # PO directories have a Makefile.in generated from Makefile.in.in.
6859 case "$ac_file" in */Makefile.
in)
6860 # Adjust a relative srcdir.
6861 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6862 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
6863 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6864 # In autoconf-2.13 it is called $ac_given_srcdir.
6865 # In autoconf-2.50 it is called $srcdir.
6866 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
6867 case "$ac_given_srcdir" in
6868 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
6869 /*) top_srcdir
="$ac_given_srcdir" ;;
6870 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6872 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6873 rm -f "$ac_dir/POTFILES"
6874 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
6875 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6876 POMAKEFILEDEPS
="POTFILES.in"
6877 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
6878 # on $ac_dir but don't depend on user-specified configuration
6880 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6881 # The LINGUAS file contains the set of available languages.
6882 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6883 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
6885 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6886 # Hide the ALL_LINGUAS assigment from automake.
6887 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6888 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
6890 # The set of available languages was given in configure.in.
6891 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6893 case "$ac_given_srcdir" in
6895 *) srcdirpre
='$(srcdir)/' ;;
6901 for lang
in $ALL_LINGUAS; do
6902 POFILES
="$POFILES $srcdirpre$lang.po"
6903 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
6904 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
6905 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
6907 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6908 # environment variable.
6910 if test -n "$ALL_LINGUAS"; then
6911 for presentlang
in $ALL_LINGUAS; do
6913 if test "%UNSET%" != "$LINGUAS"; then
6914 desiredlanguages
="$LINGUAS"
6916 desiredlanguages
="$ALL_LINGUAS"
6918 for desiredlang
in $desiredlanguages; do
6919 # Use the presentlang catalog if desiredlang is
6920 # a. equal to presentlang, or
6921 # b. a variant of presentlang (because in this case,
6922 # presentlang can be used as a fallback for messages
6923 # which are not translated in the desiredlang catalog).
6924 case "$desiredlang" in
6925 "$presentlang"*) useit
=yes;;
6928 if test $useit = yes; then
6929 INST_LINGUAS
="$INST_LINGUAS $presentlang"
6934 if test -n "$INST_LINGUAS"; then
6935 for lang
in $INST_LINGUAS; do
6936 CATALOGS
="$CATALOGS $lang.gmo"
6939 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
6940 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"
6941 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
6942 if test -f "$f"; then
6944 *.orig |
*.bak |
*~
) ;;
6945 *) cat "$f" >> "$ac_dir/Makefile" ;;
6957 cat >>$CONFIG_STATUS <<\_ACEOF
6959 { (exit 0); exit 0; }
6961 chmod +x
$CONFIG_STATUS
6962 ac_clean_files
=$ac_clean_files_save
6965 # configure is writing to config.log, and then calls config.status.
6966 # config.status does its own redirection, appending to config.log.
6967 # Unfortunately, on DOS this fails, as config.log is still kept open
6968 # by configure, so config.status won't be able to write to it; its
6969 # output is simply discarded. So we exec the FD to /dev/null,
6970 # effectively closing config.log, so it can be properly (re)opened and
6971 # appended to by config.status. When coming back to configure, we
6972 # need to make the FD available again.
6973 if test "$no_create" != yes; then
6975 ac_config_status_args
=
6976 test "$silent" = yes &&
6977 ac_config_status_args
="$ac_config_status_args --quiet"
6979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6982 # would make configure fail if this is the last instruction.
6983 $ac_cs_success ||
{ (exit 1); exit 1; }