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 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE FN_PTRS_IN_SO_WITHOUT_PIC_FALSE TLS_TRUE TLS_FALSE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS LIBOBJS CXXCPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_env_CXXCPP_set
=${CXXCPP+set}
778 ac_env_CXXCPP_value
=$CXXCPP
779 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
780 ac_cv_env_CXXCPP_value
=$CXXCPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures 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
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-sysroot=DIR search
for usr
/lib et al within DIR
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
882 CXX C
++ compiler
command
883 CXXFLAGS C
++ compiler flags
884 CXXCPP C
++ preprocessor
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by $as_me, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1009 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1010 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1011 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1012 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1015 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1017 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1019 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1020 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1021 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1023 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close
' the trap.
1103 trap 'exit_status
=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var
in $ac_subst_vars
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var
in $ac_subst_files
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h
; then
1166 sed "/^$/d" confdefs.h |
sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core
*.core
&&
1174 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's
/^
/|
/' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1271 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1296 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1327 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1328 if test -f $ac_dir/install-sh; then
1330 ac_install_sh="$ac_aux_dir/install-sh -c"
1332 elif test -f $ac_dir/install.sh; then
1334 ac_install_sh="$ac_aux_dir/install.sh -c"
1336 elif test -f $ac_dir/shtool; then
1338 ac_install_sh="$ac_aux_dir/shtool install -c"
1342 if test -z "$ac_aux_dir"; then
1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1344 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1345 { (exit 1); exit 1; }; }
1347 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1348 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1349 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1351 # Make sure we can run config.sub.
1352 $ac_config_sub sun4 >/dev/null 2>&1 ||
1353 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1354 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1355 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: checking build system type" >&5
1358 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1359 if test "${ac_cv_build+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_build_alias=$build_alias
1363 test -z "$ac_cv_build_alias" &&
1364 ac_cv_build_alias=`$ac_config_guess`
1365 test -z "$ac_cv_build_alias" &&
1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1367 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1368 { (exit 1); exit 1; }; }
1369 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1371 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1376 echo "${ECHO_T}$ac_cv_build" >&6
1378 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1379 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1380 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1383 echo "$as_me:$LINENO: checking host system type" >&5
1384 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1385 if test "${ac_cv_host+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 ac_cv_host_alias=$host_alias
1389 test -z "$ac_cv_host_alias" &&
1390 ac_cv_host_alias=$ac_cv_build_alias
1391 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1398 echo "${ECHO_T}$ac_cv_host" >&6
1400 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1401 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1402 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1405 echo "$as_me:$LINENO: checking target system type" >&5
1406 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1407 if test "${ac_cv_target+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 ac_cv_target_alias=$target_alias
1411 test "x$ac_cv_target_alias" = "x" &&
1412 ac_cv_target_alias=$ac_cv_host_alias
1413 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1420 echo "${ECHO_T}$ac_cv_target" >&6
1421 target=$ac_cv_target
1422 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1423 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1424 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1427 # The aliases save the names the user supplied, while $host etc.
1428 # will get canonicalized.
1429 test -n "$target_alias" &&
1430 test "$program_prefix$program_suffix$program_transform_name" = \
1432 program_prefix=${target_alias}-
1434 am__api_version="1.9"
1435 # Find a good install program. We prefer a C program (faster),
1436 # so one script is as good as another. But avoid the broken or
1437 # incompatible versions:
1438 # SysV /etc/install, /usr/sbin/install
1439 # SunOS /usr/etc/install
1440 # IRIX /sbin/install
1442 # AmigaOS /C/install, which installs bootblocks on floppy discs
1443 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1444 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1445 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1446 # OS/2's system install, which has a completely different semantic
1447 # ./install, which can be erroneously created by make from ./install.sh.
1448 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1449 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1450 if test -z "$INSTALL"; then
1451 if test "${ac_cv_path_install+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1458 test -z "$as_dir" && as_dir
=.
1459 # Account for people who put trailing slashes in PATH elements.
1461 .
/ | .
// |
/cC
/* | \
1462 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1463 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1466 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root
1469 for ac_prog
in ginstall scoinst
install; do
1470 for ac_exec_ext
in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1472 if test $ac_prog = install &&
1473 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1474 # AIX install. It has an incompatible calling convention.
1476 elif test $ac_prog = install &&
1477 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1478 # program-specific install script used by HP pwplus--don't use.
1481 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1493 if test "${ac_cv_path_install+set}" = set; then
1494 INSTALL
=$ac_cv_path_install
1496 # As a last resort, use the slow shell script. We don't cache a
1497 # path for INSTALL within a source directory, because that will
1498 # break other packages using the cache if that directory is
1499 # removed, or if the path is relative.
1500 INSTALL
=$ac_install_sh
1503 echo "$as_me:$LINENO: result: $INSTALL" >&5
1504 echo "${ECHO_T}$INSTALL" >&6
1506 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1507 # It thinks the first close brace ends the variable substitution.
1508 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1510 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1512 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1514 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1515 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1518 echo timestamp
> conftest.
file
1519 # Do `set' in a subshell so we don't clobber the current shell's
1520 # arguments. Must try -L first in case configure is actually a
1521 # symlink; some systems play weird games with the mod time of symlinks
1522 # (eg FreeBSD returns the mod time of the symlink's containing
1525 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1526 if test "$*" = "X"; then
1528 set X
`ls -t $srcdir/configure conftest.file`
1531 if test "$*" != "X $srcdir/configure conftest.file" \
1532 && test "$*" != "X conftest.file $srcdir/configure"; then
1534 # If neither matched, then we have a broken ls. This can happen
1535 # if, for instance, CONFIG_SHELL is bash and it inherits a
1536 # broken ls alias from the environment. This has actually
1537 # happened. Such a system could not be considered "sane".
1538 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1539 alias in your environment" >&5
1540 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1541 alias in your environment" >&2;}
1542 { (exit 1); exit 1; }; }
1545 test "$2" = conftest.
file
1551 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1552 Check your system clock" >&5
1553 echo "$as_me: error: newly created file is older than distributed files!
1554 Check your system clock" >&2;}
1555 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: result: yes" >&5
1558 echo "${ECHO_T}yes" >&6
1559 test "$program_prefix" != NONE
&&
1560 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1561 # Use a double $ so make ignores it.
1562 test "$program_suffix" != NONE
&&
1563 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1564 # Double any \ or $. echo might interpret backslashes.
1565 # By default was `s,x,x', remove it if useless.
1566 cat <<\_ACEOF
>conftest.
sed
1567 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1569 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1572 # expand $ac_aux_dir to an absolute path
1573 am_aux_dir
=`cd $ac_aux_dir && pwd`
1575 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1576 # Use eval to expand $SHELL
1577 if eval "$MISSING --run true"; then
1578 am_missing_run
="$MISSING --run "
1581 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1582 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1585 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1586 # We used to keeping the `.' as first argument, in order to
1587 # allow $(mkdir_p) to be used without argument. As in
1588 # $(mkdir_p) $(somedir)
1589 # where $(somedir) is conditionally defined. However this is wrong
1591 # 1. if the package is installed by a user who cannot write `.'
1592 # make install will fail,
1593 # 2. the above comment should most certainly read
1594 # $(mkdir_p) $(DESTDIR)$(somedir)
1595 # so it does not work when $(somedir) is undefined and
1596 # $(DESTDIR) is not.
1597 # To support the latter case, we have to write
1598 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1599 # so the `.' trick is pointless.
1600 mkdir_p
='mkdir -p --'
1602 # On NextStep and OpenStep, the `mkdir' command does not
1603 # recognize any option. It will interpret all options as
1604 # directories to create, and then abort because `.' already
1606 for d
in .
/-p .
/--version;
1608 test -d $d && rmdir $d
1610 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1611 if test -f "$ac_aux_dir/mkinstalldirs"; then
1612 mkdir_p
='$(mkinstalldirs)'
1614 mkdir_p
='$(install_sh) -d'
1618 for ac_prog
in gawk mawk nawk
awk
1620 # Extract the first word of "$ac_prog", so it can be a program name with args.
1621 set dummy
$ac_prog; ac_word
=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_AWK+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$AWK"; then
1628 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir
=.
1635 for ac_exec_ext
in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_AWK
="$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test -n "$AWK"; then
1648 echo "$as_me:$LINENO: result: $AWK" >&5
1649 echo "${ECHO_T}$AWK" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1655 test -n "$AWK" && break
1658 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1659 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1660 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1661 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 cat >conftest.
make <<\_ACEOF
1666 @
echo 'ac_maketemp="$(MAKE)"'
1668 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1669 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1670 if test -n "$ac_maketemp"; then
1671 eval ac_cv_prog_make_
${ac_make}_set
=yes
1673 eval ac_cv_prog_make_
${ac_make}_set
=no
1677 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1678 echo "$as_me:$LINENO: result: yes" >&5
1679 echo "${ECHO_T}yes" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1684 SET_MAKE
="MAKE=${MAKE-make}"
1687 rm -rf .tst
2>/dev
/null
1688 mkdir .tst
2>/dev
/null
1689 if test -d .tst
; then
1694 rmdir .tst
2>/dev
/null
1696 # test to see if srcdir already configured
1697 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1698 test -f $srcdir/config.status
; then
1699 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1700 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1701 { (exit 1); exit 1; }; }
1704 # test whether we have cygpath
1705 if test -z "$CYGPATH_W"; then
1706 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1707 CYGPATH_W
='cygpath -w'
1714 # Define the identity of the package.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE "$PACKAGE"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define VERSION "$VERSION"
1728 # Some tools Automake needs.
1730 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1733 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1736 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1739 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1742 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1744 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1746 # Installed binaries are usually stripped using `strip' when the user
1747 # run `make install-strip'. However `strip' might not be the right
1748 # tool to use in cross-compilation environments, therefore Automake
1749 # will honor the `STRIP' environment variable to overrule this program.
1750 if test "$cross_compiling" != no
; then
1751 if test -n "$ac_tool_prefix"; then
1752 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1753 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1754 echo "$as_me:$LINENO: checking for $ac_word" >&5
1755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756 if test "${ac_cv_prog_STRIP+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 if test -n "$STRIP"; then
1760 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1766 test -z "$as_dir" && as_dir
=.
1767 for ac_exec_ext
in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 STRIP
=$ac_cv_prog_STRIP
1779 if test -n "$STRIP"; then
1780 echo "$as_me:$LINENO: result: $STRIP" >&5
1781 echo "${ECHO_T}$STRIP" >&6
1783 echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6
1788 if test -z "$ac_cv_prog_STRIP"; then
1790 # Extract the first word of "strip", so it can be a program name with args.
1791 set dummy strip
; ac_word
=$2
1792 echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test -n "$ac_ct_STRIP"; then
1798 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir
=.
1805 for ac_exec_ext
in '' $ac_executable_extensions; do
1806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1807 ac_cv_prog_ac_ct_STRIP
="strip"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1817 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1818 if test -n "$ac_ct_STRIP"; then
1819 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1820 echo "${ECHO_T}$ac_ct_STRIP" >&6
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1828 STRIP
="$ac_cv_prog_STRIP"
1832 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1834 # We need awk for the "check" target. The system "awk" is bad on
1836 # Always define AMTAR for backward compatibility.
1838 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1840 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1847 ac_config_headers
="$ac_config_headers config.h:config.in"
1851 # Check whether --with-sysroot or --without-sysroot was given.
1852 if test "${with_sysroot+set}" = set; then
1853 withval
="$with_sysroot"
1859 if test "$sysroot" = "yes"; then
1860 sysroot
='${exec_prefix}/${target_alias}/sys-root'
1861 elif test "$sysroot" = "no"; then
1865 sysroot_relocatable
=0
1866 if test -n "$sysroot"; then
1868 "${prefix}" |
"${prefix}/"* | \
1869 "${exec_prefix}" |
"${exec_prefix}/"* | \
1870 '${prefix}' |
'${prefix}/'*| \
1871 '${exec_prefix}' |
'${exec_prefix}/'*)
1872 sysroot_relocatable
=1
1878 cat >>confdefs.h
<<_ACEOF
1879 #define TARGET_SYSTEM_ROOT "$sysroot"
1883 cat >>confdefs.h
<<_ACEOF
1884 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1888 # Check whether --enable-targets or --disable-targets was given.
1889 if test "${enable_targets+set}" = set; then
1890 enableval
="$enable_targets"
1891 case "${enableval}" in
1893 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1894 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1895 { (exit 1); exit 1; }; }
1901 enable_targets
=$enableval
1905 # For now, enable all targets by default
1910 # Canonicalize the enabled targets.
1911 if test -n "$enable_targets"; then
1912 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
1913 result
=`$ac_config_sub $targ 2>/dev/null`
1914 if test -n "$result"; then
1915 canon_targets
="$canon_targets $result"
1917 # Permit unrecognized target names, like "all".
1918 canon_targets
="$canon_targets $targ"
1923 # See which specific instantiations we need.
1926 for targ
in $target $canon_targets; do
1931 if test "$targ" = "all"; then
1941 targetobjs
="$targetobjs i386.\$(OBJEXT)"
1945 targetobjs
="$targetobjs x86_64.\$(OBJEXT)"
1948 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
1949 echo "$as_me: error: \"unsupported target $targ\"" >&2;}
1950 { (exit 1); exit 1; }; }
1956 if test -n "$targ_32_little"; then
1958 cat >>confdefs.h
<<\_ACEOF
1959 #define HAVE_TARGET_32_LITTLE 1
1963 if test -n "$targ_32_big"; then
1965 cat >>confdefs.h
<<\_ACEOF
1966 #define HAVE_TARGET_32_BIG 1
1970 if test -n "$targ_64_little"; then
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define HAVE_TARGET_64_LITTLE 1
1977 if test -n "$targ_64_big"; then
1979 cat >>confdefs.h
<<\_ACEOF
1980 #define HAVE_TARGET_64_BIG 1
1985 if test -n "$all_targets"; then
1986 TARGETOBJS
='$(ALL_TARGETOBJS)'
1988 TARGETOBJS
="$targetobjs"
1993 ac_cpp
='$CPP $CPPFLAGS'
1994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1997 if test -n "$ac_tool_prefix"; then
1998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1999 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$CC"; then
2006 ac_cv_prog_CC
="$CC" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 if test -n "$CC"; then
2026 echo "$as_me:$LINENO: result: $CC" >&5
2027 echo "${ECHO_T}$CC" >&6
2029 echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6
2034 if test -z "$ac_cv_prog_CC"; then
2036 # Extract the first word of "gcc", so it can be a program name with args.
2037 set dummy gcc
; ac_word
=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$ac_ct_CC"; then
2044 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir
=.
2051 for ac_exec_ext
in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_ac_ct_CC
="gcc"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2063 if test -n "$ac_ct_CC"; then
2064 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2065 echo "${ECHO_T}$ac_ct_CC" >&6
2067 echo "$as_me:$LINENO: result: no" >&5
2068 echo "${ECHO_T}no" >&6
2076 if test -z "$CC"; then
2077 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2079 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC
="$CC" # Let the user override the test.
2088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir
=.
2093 for ac_exec_ext
in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 if test -n "$CC"; then
2106 echo "$as_me:$LINENO: result: $CC" >&5
2107 echo "${ECHO_T}$CC" >&6
2109 echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2114 if test -z "$ac_cv_prog_CC"; then
2116 # Extract the first word of "cc", so it can be a program name with args.
2117 set dummy cc
; ac_word
=$2
2118 echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$ac_ct_CC"; then
2124 ac_cv_prog_ac_ct_CC
="$ac_ct_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 ac_cv_prog_ac_ct_CC
="cc"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2143 if test -n "$ac_ct_CC"; then
2144 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2145 echo "${ECHO_T}$ac_ct_CC" >&6
2147 echo "$as_me:$LINENO: result: no" >&5
2148 echo "${ECHO_T}no" >&6
2157 if test -z "$CC"; then
2158 # Extract the first word of "cc", so it can be a program name with args.
2159 set dummy cc
; ac_word
=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC
="$CC" # Let the user override the test.
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 for ac_exec_ext
in '' $ac_executable_extensions; do
2175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2177 ac_prog_rejected
=yes
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 if test $ac_prog_rejected = yes; then
2188 # We found a bogon in the path, so make sure we never use it.
2189 set dummy
$ac_cv_prog_CC
2191 if test $# != 0; then
2192 # We chose a different compiler from the bogus one.
2193 # However, it has the same basename, so the bogon will be chosen
2194 # first if we set CC to just the basename; use the full file name.
2196 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2202 if test -n "$CC"; then
2203 echo "$as_me:$LINENO: result: $CC" >&5
2204 echo "${ECHO_T}$CC" >&6
2206 echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6
2211 if test -z "$CC"; then
2212 if test -n "$ac_tool_prefix"; then
2215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2216 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC
="$CC" # Let the user override the test.
2225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir
=.
2230 for ac_exec_ext
in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2250 test -n "$CC" && break
2253 if test -z "$CC"; then
2257 # Extract the first word of "$ac_prog", so it can be a program name with args.
2258 set dummy
$ac_prog; ac_word
=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir
=.
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_ac_ct_CC
="$ac_prog"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2284 if test -n "$ac_ct_CC"; then
2285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2286 echo "${ECHO_T}$ac_ct_CC" >&6
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2292 test -n "$ac_ct_CC" && break
2301 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2302 See \`config.log' for more details." >&5
2303 echo "$as_me: error: no acceptable C compiler found in \$PATH
2304 See \`config.log' for more details." >&2;}
2305 { (exit 1); exit 1; }; }
2307 # Provide some information about the compiler.
2308 echo "$as_me:$LINENO:" \
2309 "checking for C compiler version" >&5
2310 ac_compiler
=`set X $ac_compile; echo $2`
2311 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2312 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2317 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2322 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2327 cat >conftest.
$ac_ext <<_ACEOF
2330 cat confdefs.h
>>conftest.
$ac_ext
2331 cat >>conftest.
$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2342 ac_clean_files_save
=$ac_clean_files
2343 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2344 # Try to create an executable without -o first, disregard a.out.
2345 # It will help us diagnose broken compilers, and finding out an intuition
2347 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2348 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2349 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2350 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2351 (eval $ac_link_default) 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; then
2355 # Find the output, starting from the most likely. This scheme is
2356 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2359 # Be careful to initialize this variable, since it used to be cached.
2360 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2362 # b.out is created by i960 compilers.
2363 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2365 test -f "$ac_file" ||
continue
2367 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2370 # This is the source file.
2373 # We found the default executable, but exeext='' is most
2377 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2378 # FIXME: I believe we export ac_cv_exeext for Libtool,
2379 # but it would be cool to find out if it's true. Does anybody
2380 # maintain Libtool? --akim.
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.
$ac_ext >&5
2391 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2392 See \`config.log' for more details." >&5
2393 echo "$as_me: error: C compiler cannot create executables
2394 See \`config.log' for more details." >&2;}
2395 { (exit 77); exit 77; }; }
2398 ac_exeext
=$ac_cv_exeext
2399 echo "$as_me:$LINENO: result: $ac_file" >&5
2400 echo "${ECHO_T}$ac_file" >&6
2402 # Check the compiler produces executables we can run. If not, either
2403 # the compiler is broken, or we cross compile.
2404 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2405 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2406 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2407 # If not cross compiling, check that we can run a simple program.
2408 if test "$cross_compiling" != yes; then
2409 if { ac_try
='./$ac_file'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; }; then
2417 if test "$cross_compiling" = maybe
; then
2420 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2421 If you meant to cross compile, use \`--host'.
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: cannot run C compiled programs.
2424 If you meant to cross compile, use \`--host'.
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2433 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2434 ac_clean_files
=$ac_clean_files_save
2435 # Check the compiler produces executables we can run. If not, either
2436 # the compiler is broken, or we cross compile.
2437 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2438 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2439 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2440 echo "${ECHO_T}$cross_compiling" >&6
2442 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2443 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2450 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2451 # work properly (i.e., refer to `conftest.exe'), while it won't with
2453 for ac_file
in conftest.exe conftest conftest.
*; do
2454 test -f "$ac_file" ||
continue
2456 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2457 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2464 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2467 See \`config.log' for more details." >&2;}
2468 { (exit 1); exit 1; }; }
2471 rm -f conftest
$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2473 echo "${ECHO_T}$ac_cv_exeext" >&6
2475 rm -f conftest.
$ac_ext
2476 EXEEXT
=$ac_cv_exeext
2478 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2479 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2480 if test "${ac_cv_objext+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 cat >conftest.
$ac_ext <<_ACEOF
2486 cat confdefs.h
>>conftest.
$ac_ext
2487 cat >>conftest.
$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2498 rm -f conftest.o conftest.obj
2499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 (eval $ac_compile) 2>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; then
2504 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2506 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2507 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2515 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2516 See \`config.log' for more details." >&5
2517 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2518 See \`config.log' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2522 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2524 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2525 echo "${ECHO_T}$ac_cv_objext" >&6
2526 OBJEXT
=$ac_cv_objext
2528 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2529 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2530 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2551 rm -f conftest.
$ac_objext
2552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2553 (eval $ac_compile) 2>conftest.er1
2555 grep -v '^ *+' conftest.er1
>conftest.err
2557 cat conftest.err
>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } &&
2560 { ac_try
='test -z "$ac_c_werror_flag"
2561 || test ! -s conftest.err'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; } &&
2567 { ac_try
='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.
$ac_ext >&5
2580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2581 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2584 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2585 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2586 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2587 ac_test_CFLAGS
=${CFLAGS+set}
2588 ac_save_CFLAGS
=$CFLAGS
2590 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2591 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2592 if test "${ac_cv_prog_cc_g+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2610 rm -f conftest.
$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2614 grep -v '^ *+' conftest.er1
>conftest.err
2616 cat conftest.err
>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try
='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try
='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2641 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2642 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2643 if test "$ac_test_CFLAGS" = set; then
2644 CFLAGS
=$ac_save_CFLAGS
2645 elif test $ac_cv_prog_cc_g = yes; then
2646 if test "$GCC" = yes; then
2652 if test "$GCC" = yes; then
2658 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2659 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2660 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 ac_cv_prog_cc_stdc
=no
2665 cat >conftest.
$ac_ext <<_ACEOF
2668 cat confdefs.h
>>conftest.
$ac_ext
2669 cat >>conftest.
$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2673 #include <sys/types.h>
2674 #include <sys/stat.h>
2675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2676 struct buf { int x; };
2677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2678 static char *e (p, i)
2684 static char *f (char * (*g) (char **, int), char **p, ...)
2689 s = g (p, va_arg (v,int));
2694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2695 function prototypes and stuff, but not '\xHH' hex character constants.
2696 These don't provoke an error unfortunately, instead are silently treated
2697 as 'x'. The following induces an error, until -std1 is added to get
2698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2699 array size at least. It's necessary to write '\x00'==0 to get something
2700 that's true only with -std1. */
2701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2703 int test (int i, double x);
2704 struct s1 {int (*f) (int a);};
2705 struct s2 {int (*f) (double a);};
2706 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2712 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2717 # Don't try gcc -ansi; that turns off useful extensions and
2718 # breaks some systems' header files.
2719 # AIX -qlanglvl=ansi
2720 # Ultrix and OSF/1 -std1
2721 # HP-UX 10.20 and later -Ae
2722 # HP-UX older versions -Aa -D_HPUX_SOURCE
2723 # SVR4 -Xc -D__EXTENSIONS__
2724 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2726 CC
="$ac_save_CC $ac_arg"
2727 rm -f conftest.
$ac_objext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>conftest.er1
2731 grep -v '^ *+' conftest.er1
>conftest.err
2733 cat conftest.err
>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -z "$ac_c_werror_flag"
2737 || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try
='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 ac_cv_prog_cc_stdc
=$ac_arg
2752 echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.
$ac_ext >&5
2756 rm -f conftest.err conftest.
$ac_objext
2758 rm -f conftest.
$ac_ext conftest.
$ac_objext
2763 case "x$ac_cv_prog_cc_stdc" in
2765 echo "$as_me:$LINENO: result: none needed" >&5
2766 echo "${ECHO_T}none needed" >&6 ;;
2768 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2769 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2770 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2773 # Some people use a C++ compiler to compile C. Since we use `exit',
2774 # in C++ we need to declare it. In case someone uses the same compiler
2775 # for both compiling C and C++ we need to have the C++ compiler decide
2776 # the declaration of exit, since it's the most demanding environment.
2777 cat >conftest.
$ac_ext <<_ACEOF
2782 rm -f conftest.
$ac_objext
2783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2784 (eval $ac_compile) 2>conftest.er1
2786 grep -v '^ *+' conftest.er1
>conftest.err
2788 cat conftest.err
>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } &&
2791 { ac_try
='test -z "$ac_c_werror_flag"
2792 || test ! -s conftest.err'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; } &&
2798 { ac_try
='test -s conftest.$ac_objext'
2799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 for ac_declaration
in \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2828 rm -f conftest.
$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try
='test -z "$ac_c_werror_flag"
2838 || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try
='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.
$ac_ext >&5
2857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2858 cat >conftest.
$ac_ext <<_ACEOF
2861 cat confdefs.h
>>conftest.
$ac_ext
2862 cat >>conftest.
$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2873 rm -f conftest.
$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1
>conftest.err
2879 cat conftest.err
>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try
='test -z "$ac_c_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try
='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.
$ac_ext >&5
2901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2904 if test -n "$ac_declaration"; then
2905 echo '#ifdef __cplusplus' >>confdefs.h
2906 echo $ac_declaration >>confdefs.h
2907 echo '#endif' >>confdefs.h
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2917 ac_cpp
='$CPP $CPPFLAGS'
2918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2921 DEPDIR
="${am__leading_dot}deps"
2923 ac_config_commands
="$ac_config_commands depfiles"
2926 am_make
=${MAKE-make}
2927 cat > confinc
<< 'END'
2932 # If we don't find an include directive, just comment out the code.
2933 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2934 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2938 # First try GNU make style include.
2939 echo "include confinc" > confmf
2940 # We grep out `Entering directory' and `Leaving directory'
2941 # messages which can occur if `w' ends up in MAKEFLAGS.
2942 # In particular we don't look at `^make:' because GNU make might
2943 # be invoked under some other name (usually "gmake"), in which
2944 # case it prints its new name instead of `make'.
2945 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2950 # Now try BSD make style include.
2951 if test "$am__include" = "#"; then
2952 echo '.include "confinc"' > confmf
2953 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2954 am__include
=.include
2961 echo "$as_me:$LINENO: result: $_am_result" >&5
2962 echo "${ECHO_T}$_am_result" >&6
2963 rm -f confinc confmf
2965 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2966 if test "${enable_dependency_tracking+set}" = set; then
2967 enableval
="$enable_dependency_tracking"
2970 if test "x$enable_dependency_tracking" != xno
; then
2971 am_depcomp
="$ac_aux_dir/depcomp"
2976 if test "x$enable_dependency_tracking" != xno; then
2987 depcc
="$CC" am_compiler_list
=
2989 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2990 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2991 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2995 # We make a subdir and do the tests there. Otherwise we can end up
2996 # making bogus files that we don't know about and never remove. For
2997 # instance it was reported that on HP-UX the gcc test will end up
2998 # making a dummy file named `D' -- because `-MD' means `put the output
3001 # Copy depcomp to subdir because otherwise we won't find it if we're
3002 # using a relative directory.
3003 cp "$am_depcomp" conftest.dir
3005 # We will build objects and dependencies in a subdirectory because
3006 # it helps to detect inapplicable dependency modes. For instance
3007 # both Tru64's cc and ICC support -MD to output dependencies as a
3008 # side effect of compilation, but ICC will put the dependencies in
3009 # the current directory while Tru64 will put them in the object
3013 am_cv_CC_dependencies_compiler_type
=none
3014 if test "$am_compiler_list" = ""; then
3015 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3017 for depmode
in $am_compiler_list; do
3018 # Setup a source with many dependencies, because some compilers
3019 # like to wrap large dependency lists on column 80 (with \), and
3020 # we should not choose a depcomp mode which is confused by this.
3022 # We need to recreate these files for each test, as the compiler may
3023 # overwrite some of them when testing with obscure command lines.
3024 # This happens at least with the AIX C compiler.
3026 for i
in 1 2 3 4 5 6; do
3027 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3028 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3029 # Solaris 8's {/usr,}/bin/sh.
3030 touch sub
/conftst
$i.h
3032 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3036 # after this tag, mechanisms are not by side-effect, so they'll
3037 # only be used when explicitly requested
3038 if test "x$enable_dependency_tracking" = xyes
; then
3046 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3047 # mode. It turns out that the SunPro C++ compiler does not properly
3048 # handle `-M -o', and we need to detect this.
3049 if depmode
=$depmode \
3050 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3051 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3052 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3053 >/dev
/null
2>conftest.err
&&
3054 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3055 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3056 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3057 # icc doesn't choke on unknown options, it will just issue warnings
3058 # or remarks (even with -Werror). So we grep stderr for any message
3059 # that says an option was ignored or not supported.
3060 # When given -MP, icc 7.0 and 7.1 complain thusly:
3061 # icc: Command line warning: ignoring option '-M'; no argument required
3062 # The diagnosis changed in icc 8.0:
3063 # icc: Command line remark: option '-MP' not supported
3064 if (grep 'ignoring option' conftest.err ||
3065 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3066 am_cv_CC_dependencies_compiler_type
=$depmode
3075 am_cv_CC_dependencies_compiler_type
=none
3079 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3080 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3081 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3086 test "x$enable_dependency_tracking" != xno \
3087 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3089 am__fastdepCC_FALSE
='#'
3091 am__fastdepCC_TRUE
='#'
3092 am__fastdepCC_FALSE
=
3097 ac_cpp
='$CXXCPP $CPPFLAGS'
3098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3101 if test -n "$ac_tool_prefix"; then
3102 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_CXX+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$CXX"; then
3112 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$CXX"; then
3132 echo "$as_me:$LINENO: result: $CXX" >&5
3133 echo "${ECHO_T}$CXX" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3139 test -n "$CXX" && break
3142 if test -z "$CXX"; then
3144 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147 set dummy
$ac_prog; ac_word
=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$ac_ct_CXX"; then
3154 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir
=.
3161 for ac_exec_ext
in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3173 if test -n "$ac_ct_CXX"; then
3174 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3175 echo "${ECHO_T}$ac_ct_CXX" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 test -n "$ac_ct_CXX" && break
3183 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3189 # Provide some information about the compiler.
3190 echo "$as_me:$LINENO:" \
3191 "checking for C++ compiler version" >&5
3192 ac_compiler
=`set X $ac_compile; echo $2`
3193 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3194 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }
3198 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3199 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }
3203 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3204 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }
3209 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3210 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3211 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 cat >conftest.
$ac_ext <<_ACEOF
3217 cat confdefs.h
>>conftest.
$ac_ext
3218 cat >>conftest.
$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3232 rm -f conftest.
$ac_objext
3233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3234 (eval $ac_compile) 2>conftest.er1
3236 grep -v '^ *+' conftest.er1
>conftest.err
3238 cat conftest.err
>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try
='test -z "$ac_cxx_werror_flag"
3242 || test ! -s conftest.err'
3243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; } &&
3248 { ac_try
='test -s conftest.$ac_objext'
3249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); }; }; then
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.
$ac_ext >&5
3261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3262 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3265 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3266 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3267 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3268 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3269 ac_save_CXXFLAGS
=$CXXFLAGS
3271 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3272 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3273 if test "${ac_cv_prog_cxx_g+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3291 rm -f conftest.
$ac_objext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3293 (eval $ac_compile) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1
>conftest.err
3297 cat conftest.err
>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try
='test -z "$ac_cxx_werror_flag"
3301 || test ! -s conftest.err'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; } &&
3307 { ac_try
='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3313 ac_cv_prog_cxx_g
=yes
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.
$ac_ext >&5
3320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3322 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3323 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3324 if test "$ac_test_CXXFLAGS" = set; then
3325 CXXFLAGS
=$ac_save_CXXFLAGS
3326 elif test $ac_cv_prog_cxx_g = yes; then
3327 if test "$GXX" = yes; then
3333 if test "$GXX" = yes; then
3339 for ac_declaration
in \
3341 'extern "C" void std::exit (int) throw (); using std::exit;' \
3342 'extern "C" void std::exit (int); using std::exit;' \
3343 'extern "C" void exit (int) throw ();' \
3344 'extern "C" void exit (int);' \
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3363 rm -f conftest.
$ac_objext
3364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3365 (eval $ac_compile) 2>conftest.er1
3367 grep -v '^ *+' conftest.er1
>conftest.err
3369 cat conftest.err
>&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } &&
3372 { ac_try
='test -z "$ac_cxx_werror_flag"
3373 || test ! -s conftest.err'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; } &&
3379 { ac_try
='test -s conftest.$ac_objext'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; }; then
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.
$ac_ext >&5
3392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3393 cat >conftest.
$ac_ext <<_ACEOF
3396 cat confdefs.h
>>conftest.
$ac_ext
3397 cat >>conftest.
$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3408 rm -f conftest.
$ac_objext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3410 (eval $ac_compile) 2>conftest.er1
3412 grep -v '^ *+' conftest.er1
>conftest.err
3414 cat conftest.err
>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try
='test -z "$ac_cxx_werror_flag"
3418 || test ! -s conftest.err'
3419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; } &&
3424 { ac_try
='test -s conftest.$ac_objext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3432 echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3439 if test -n "$ac_declaration"; then
3440 echo '#ifdef __cplusplus' >>confdefs.h
3441 echo $ac_declaration >>confdefs.h
3442 echo '#endif' >>confdefs.h
3446 ac_cpp
='$CPP $CPPFLAGS'
3447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3451 depcc
="$CXX" am_compiler_list
=
3453 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3454 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3455 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3459 # We make a subdir and do the tests there. Otherwise we can end up
3460 # making bogus files that we don't know about and never remove. For
3461 # instance it was reported that on HP-UX the gcc test will end up
3462 # making a dummy file named `D' -- because `-MD' means `put the output
3465 # Copy depcomp to subdir because otherwise we won't find it if we're
3466 # using a relative directory.
3467 cp "$am_depcomp" conftest.dir
3469 # We will build objects and dependencies in a subdirectory because
3470 # it helps to detect inapplicable dependency modes. For instance
3471 # both Tru64's cc and ICC support -MD to output dependencies as a
3472 # side effect of compilation, but ICC will put the dependencies in
3473 # the current directory while Tru64 will put them in the object
3477 am_cv_CXX_dependencies_compiler_type
=none
3478 if test "$am_compiler_list" = ""; then
3479 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3481 for depmode
in $am_compiler_list; do
3482 # Setup a source with many dependencies, because some compilers
3483 # like to wrap large dependency lists on column 80 (with \), and
3484 # we should not choose a depcomp mode which is confused by this.
3486 # We need to recreate these files for each test, as the compiler may
3487 # overwrite some of them when testing with obscure command lines.
3488 # This happens at least with the AIX C compiler.
3490 for i
in 1 2 3 4 5 6; do
3491 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3492 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3493 # Solaris 8's {/usr,}/bin/sh.
3494 touch sub
/conftst
$i.h
3496 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3500 # after this tag, mechanisms are not by side-effect, so they'll
3501 # only be used when explicitly requested
3502 if test "x$enable_dependency_tracking" = xyes
; then
3510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3511 # mode. It turns out that the SunPro C++ compiler does not properly
3512 # handle `-M -o', and we need to detect this.
3513 if depmode
=$depmode \
3514 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3515 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3516 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3517 >/dev
/null
2>conftest.err
&&
3518 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3519 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3520 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3521 # icc doesn't choke on unknown options, it will just issue warnings
3522 # or remarks (even with -Werror). So we grep stderr for any message
3523 # that says an option was ignored or not supported.
3524 # When given -MP, icc 7.0 and 7.1 complain thusly:
3525 # icc: Command line warning: ignoring option '-M'; no argument required
3526 # The diagnosis changed in icc 8.0:
3527 # icc: Command line remark: option '-MP' not supported
3528 if (grep 'ignoring option' conftest.err ||
3529 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3530 am_cv_CXX_dependencies_compiler_type
=$depmode
3539 am_cv_CXX_dependencies_compiler_type
=none
3543 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3544 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3545 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3550 test "x$enable_dependency_tracking" != xno \
3551 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3552 am__fastdepCXX_TRUE
=
3553 am__fastdepCXX_FALSE
='#'
3555 am__fastdepCXX_TRUE
='#'
3556 am__fastdepCXX_FALSE
=
3560 for ac_prog
in 'bison -y' byacc
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563 set dummy
$ac_prog; ac_word
=$2
3564 echo "$as_me:$LINENO: checking for $ac_word" >&5
3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3566 if test "${ac_cv_prog_YACC+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 if test -n "$YACC"; then
3570 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 for ac_exec_ext
in '' $ac_executable_extensions; do
3578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_YACC
="$ac_prog"
3580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 YACC
=$ac_cv_prog_YACC
3589 if test -n "$YACC"; then
3590 echo "$as_me:$LINENO: result: $YACC" >&5
3591 echo "${ECHO_T}$YACC" >&6
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3597 test -n "$YACC" && break
3599 test -n "$YACC" || YACC
="yacc"
3601 if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3603 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3604 echo "$as_me:$LINENO: checking for $ac_word" >&5
3605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3606 if test "${ac_cv_prog_RANLIB+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if test -n "$RANLIB"; then
3610 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 RANLIB
=$ac_cv_prog_RANLIB
3629 if test -n "$RANLIB"; then
3630 echo "$as_me:$LINENO: result: $RANLIB" >&5
3631 echo "${ECHO_T}$RANLIB" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3638 if test -z "$ac_cv_prog_RANLIB"; then
3639 ac_ct_RANLIB
=$RANLIB
3640 # Extract the first word of "ranlib", so it can be a program name with args.
3641 set dummy ranlib
; ac_word
=$2
3642 echo "$as_me:$LINENO: checking for $ac_word" >&5
3643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3644 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 if test -n "$ac_ct_RANLIB"; then
3648 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_exec_ext
in '' $ac_executable_extensions; do
3656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3657 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3667 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3668 if test -n "$ac_ct_RANLIB"; then
3669 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3670 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3676 RANLIB
=$ac_ct_RANLIB
3678 RANLIB
="$ac_cv_prog_RANLIB"
3681 # Find a good install program. We prefer a C program (faster),
3682 # so one script is as good as another. But avoid the broken or
3683 # incompatible versions:
3684 # SysV /etc/install, /usr/sbin/install
3685 # SunOS /usr/etc/install
3686 # IRIX /sbin/install
3688 # AmigaOS /C/install, which installs bootblocks on floppy discs
3689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3692 # OS/2's system install, which has a completely different semantic
3693 # ./install, which can be erroneously created by make from ./install.sh.
3694 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3696 if test -z "$INSTALL"; then
3697 if test "${ac_cv_path_install+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 # Account for people who put trailing slashes in PATH elements.
3707 .
/ | .
// |
/cC
/* | \
3708 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3709 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3712 # OSF1 and SCO ODT 3.0 have their own names for install.
3713 # Don't use installbsd from OSF since it installs stuff as root
3715 for ac_prog
in ginstall scoinst
install; do
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3718 if test $ac_prog = install &&
3719 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3720 # AIX install. It has an incompatible calling convention.
3722 elif test $ac_prog = install &&
3723 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3724 # program-specific install script used by HP pwplus--don't use.
3727 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3739 if test "${ac_cv_path_install+set}" = set; then
3740 INSTALL
=$ac_cv_path_install
3742 # As a last resort, use the slow shell script. We don't cache a
3743 # path for INSTALL within a source directory, because that will
3744 # break other packages using the cache if that directory is
3745 # removed, or if the path is relative.
3746 INSTALL
=$ac_install_sh
3749 echo "$as_me:$LINENO: result: $INSTALL" >&5
3750 echo "${ECHO_T}$INSTALL" >&6
3752 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3753 # It thinks the first close brace ends the variable substitution.
3754 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3756 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3758 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3760 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3761 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3763 if test "$LN_S" = "ln -s"; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3767 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3768 echo "${ECHO_T}no, using $LN_S" >&6
3771 # If we haven't got the data from the intl directory,
3772 # assume NLS is disabled.
3781 if test -f ..
/intl
/config.intl
; then
3782 . ..
/intl
/config.intl
3784 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3785 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3786 if test x
"$USE_NLS" != xyes
; then
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3793 cat >>confdefs.h
<<\_ACEOF
3794 #define ENABLE_NLS 1
3798 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3799 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3800 # Look for .po and .gmo files in the source directory.
3803 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3804 # If there aren't any .gmo files the shell will give us the
3805 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3807 case "$cat" in *\
**)
3810 # The quadruple backslash is collapsed to a double backslash
3811 # by the backticks, then collapsed again by the double quotes,
3812 # leaving us with one backslash in the sed expression (right
3813 # before the dot that mustn't act as a wildcard).
3814 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3815 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3816 # The user is allowed to set LINGUAS to a list of languages to
3817 # install catalogs for. If it's empty that means "all of them."
3818 if test "x$LINGUAS" = x
; then
3819 CATALOGS
="$CATALOGS $cat"
3820 XLINGUAS
="$XLINGUAS $lang"
3822 case "$LINGUAS" in *$lang*)
3823 CATALOGS
="$CATALOGS $cat"
3824 XLINGUAS
="$XLINGUAS $lang"
3830 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3831 echo "${ECHO_T}$LINGUAS" >&6
3845 if test -n "$ac_aux_dir"; then
3846 case "$ac_aux_dir" in
3847 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3848 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3851 if test -z "$MKINSTALLDIRS"; then
3852 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3857 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3858 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3859 # Check whether --enable-nls or --disable-nls was given.
3860 if test "${enable_nls+set}" = set; then
3861 enableval
="$enable_nls"
3866 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3867 echo "${ECHO_T}$USE_NLS" >&6
3874 # Prepare PATH_SEPARATOR.
3875 # The user is always right.
3876 if test "${PATH_SEPARATOR+set}" != set; then
3877 echo "#! /bin/sh" >conf$$.sh
3878 echo "exit 0" >>conf$$.sh
3880 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3888 # Find out how to test for executable files. Don't use a zero-byte file,
3889 # as systems may use methods other than mode bits to determine executability.
3890 cat >conf$$.
file <<_ASEOF
3894 chmod +x conf$$.
file
3895 if test -x conf$$.
file >/dev
/null
2>&1; then
3896 ac_executable_p
="test -x"
3898 ac_executable_p
="test -f"
3902 # Extract the first word of "msgfmt", so it can be a program name with args.
3903 set dummy msgfmt
; ac_word
=$2
3904 echo "$as_me:$LINENO: checking for $ac_word" >&5
3905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906 if test "${ac_cv_path_MSGFMT+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3914 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3915 for ac_dir
in $PATH; do
3917 test -z "$ac_dir" && ac_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3920 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3921 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3922 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3929 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3933 MSGFMT
="$ac_cv_path_MSGFMT"
3934 if test "$MSGFMT" != ":"; then
3935 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3936 echo "${ECHO_T}$MSGFMT" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3942 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3943 set dummy gmsgfmt
; ac_word
=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3972 GMSGFMT
=$ac_cv_path_GMSGFMT
3974 if test -n "$GMSGFMT"; then
3975 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3976 echo "${ECHO_T}$GMSGFMT" >&6
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3984 # Prepare PATH_SEPARATOR.
3985 # The user is always right.
3986 if test "${PATH_SEPARATOR+set}" != set; then
3987 echo "#! /bin/sh" >conf$$.sh
3988 echo "exit 0" >>conf$$.sh
3990 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3998 # Find out how to test for executable files. Don't use a zero-byte file,
3999 # as systems may use methods other than mode bits to determine executability.
4000 cat >conf$$.
file <<_ASEOF
4004 chmod +x conf$$.
file
4005 if test -x conf$$.
file >/dev
/null
2>&1; then
4006 ac_executable_p
="test -x"
4008 ac_executable_p
="test -f"
4012 # Extract the first word of "xgettext", so it can be a program name with args.
4013 set dummy xgettext
; ac_word
=$2
4014 echo "$as_me:$LINENO: checking for $ac_word" >&5
4015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4024 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4025 for ac_dir
in $PATH; do
4027 test -z "$ac_dir" && ac_dir
=.
4028 for ac_exec_ext
in '' $ac_executable_extensions; do
4029 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4030 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4031 (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
4032 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4039 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4043 XGETTEXT
="$ac_cv_path_XGETTEXT"
4044 if test "$XGETTEXT" != ":"; then
4045 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4046 echo "${ECHO_T}$XGETTEXT" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4055 # Prepare PATH_SEPARATOR.
4056 # The user is always right.
4057 if test "${PATH_SEPARATOR+set}" != set; then
4058 echo "#! /bin/sh" >conf$$.sh
4059 echo "exit 0" >>conf$$.sh
4061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4069 # Find out how to test for executable files. Don't use a zero-byte file,
4070 # as systems may use methods other than mode bits to determine executability.
4071 cat >conf$$.
file <<_ASEOF
4075 chmod +x conf$$.
file
4076 if test -x conf$$.
file >/dev
/null
2>&1; then
4077 ac_executable_p
="test -x"
4079 ac_executable_p
="test -f"
4083 # Extract the first word of "msgmerge", so it can be a program name with args.
4084 set dummy msgmerge
; ac_word
=$2
4085 echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4095 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4096 for ac_dir
in $PATH; do
4098 test -z "$ac_dir" && ac_dir
=.
4099 for ac_exec_ext
in '' $ac_executable_extensions; do
4100 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4101 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4102 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4109 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4113 MSGMERGE
="$ac_cv_path_MSGMERGE"
4114 if test "$MSGMERGE" != ":"; then
4115 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4116 echo "${ECHO_T}$MSGMERGE" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4123 if test "$GMSGFMT" != ":"; then
4124 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4125 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4128 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4129 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4130 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4135 if test "$XGETTEXT" != ":"; then
4136 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4137 (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
4140 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4141 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4147 ac_config_commands
="$ac_config_commands default-1"
4152 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4153 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4154 if test "${ac_cv_c_bigendian+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 # See if sys/param.h defines the BYTE_ORDER macro.
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 || !LITTLE_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 # It does; now see whether it defined to BIG_ENDIAN or not.
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4207 #include <sys/types.h>
4208 #include <sys/param.h>
4213 #if BYTE_ORDER != BIG_ENDIAN
4221 rm -f conftest.
$ac_objext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4223 (eval $ac_compile) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1
>conftest.err
4227 cat conftest.err
>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try
='test -z "$ac_c_werror_flag"
4231 || test ! -s conftest.err'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; } &&
4237 { ac_try
='test -s conftest.$ac_objext'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 ac_cv_c_bigendian
=yes
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4248 ac_cv_c_bigendian
=no
4250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 # It does not; compile a test program.
4256 if test "$cross_compiling" = yes; then
4257 # try to guess the endianness by grepping values into an object file
4258 ac_cv_c_bigendian
=unknown
4259 cat >conftest.
$ac_ext <<_ACEOF
4262 cat confdefs.h
>>conftest.
$ac_ext
4263 cat >>conftest.
$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4265 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4266 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4267 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4268 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4269 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4270 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4274 _ascii (); _ebcdic ();
4279 rm -f conftest.
$ac_objext
4280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4281 (eval $ac_compile) 2>conftest.er1
4283 grep -v '^ *+' conftest.er1
>conftest.err
4285 cat conftest.err
>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } &&
4288 { ac_try
='test -z "$ac_c_werror_flag"
4289 || test ! -s conftest.err'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try
='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4302 ac_cv_c_bigendian
=yes
4304 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4305 if test "$ac_cv_c_bigendian" = unknown
; then
4306 ac_cv_c_bigendian
=no
4308 # finding both strings is unlikely to happen, but who knows?
4309 ac_cv_c_bigendian
=unknown
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.
$ac_ext >&5
4317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4319 cat >conftest.
$ac_ext <<_ACEOF
4322 cat confdefs.h
>>conftest.
$ac_ext
4323 cat >>conftest.
$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4328 /* Are we little or big endian? From Harbison&Steele. */
4332 char c[sizeof (long)];
4335 exit (u.c[sizeof (long) - 1] == 1);
4338 rm -f conftest
$ac_exeext
4339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4340 (eval $ac_link) 2>&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; }; then
4349 ac_cv_c_bigendian
=no
4351 echo "$as_me: program exited with status $ac_status" >&5
4352 echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.
$ac_ext >&5
4356 ac_cv_c_bigendian
=yes
4358 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4364 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4365 case $ac_cv_c_bigendian in
4368 cat >>confdefs.h
<<\_ACEOF
4369 #define WORDS_BIGENDIAN 1
4375 { { echo "$as_me:$LINENO: error: unknown endianness
4376 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4377 echo "$as_me: error: unknown endianness
4378 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4379 { (exit 1); exit 1; }; } ;;
4387 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4389 NATIVE_LINKER_FALSE
='#'
4391 NATIVE_LINKER_TRUE
='#'
4392 NATIVE_LINKER_FALSE
=
4397 if test "$GCC" = yes; then
4414 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
4415 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
4417 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
4418 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
4422 cat >conftest.
$ac_ext <<_ACEOF
4425 rm -f conftest.
$ac_objext
4426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4427 (eval $ac_compile) 2>conftest.er1
4429 grep -v '^ *+' conftest.er1
>conftest.err
4431 cat conftest.err
>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } &&
4434 { ac_try
='test -z "$ac_c_werror_flag"
4435 || test ! -s conftest.err'
4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; } &&
4441 { ac_try
='test -s conftest.$ac_objext'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; }; then
4449 echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.
$ac_ext >&5
4454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 if test "$tls" = "yes"; then
4467 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4469 # Check whether --enable-werror or --disable-werror was given.
4470 if test "${enable_werror+set}" = set; then
4471 enableval
="$enable_werror"
4472 case "${enableval}" in
4473 yes | y
) ERROR_ON_WARNING
="yes" ;;
4474 no | n
) ERROR_ON_WARNING
="no" ;;
4475 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4476 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4477 { (exit 1); exit 1; }; } ;;
4481 # Enable -Werror by default when using gcc
4482 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4483 ERROR_ON_WARNING
=yes
4487 if test "${ERROR_ON_WARNING}" = yes ; then
4488 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4489 NO_WERROR
="-Wno-error"
4492 if test "${GCC}" = yes ; then
4493 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4496 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4497 if test "${enable_build_warnings+set}" = set; then
4498 enableval
="$enable_build_warnings"
4499 case "${enableval}" in
4500 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4501 no
) if test "${GCC}" = yes ; then
4504 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4505 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4506 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4507 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4508 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4512 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4513 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4520 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4523 LFS_CXXFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4527 for ac_func
in pread
4529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4530 echo "$as_me:$LINENO: checking for $ac_func" >&5
4531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4532 if eval "test \"\${$as_ac_var+set}\" = set"; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 cat >conftest.
$ac_ext <<_ACEOF
4538 cat confdefs.h
>>conftest.
$ac_ext
4539 cat >>conftest.
$ac_ext <<_ACEOF
4540 /* end confdefs.h. */
4541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4543 #define $ac_func innocuous_$ac_func
4545 /* System header to define __stub macros and hopefully few prototypes,
4546 which can conflict with char $ac_func (); below.
4547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4548 <limits.h> exists even on freestanding compilers. */
4551 # include <limits.h>
4553 # include <assert.h>
4558 /* Override any gcc2 internal prototype to avoid an error. */
4563 /* We use char because int might match the return type of a gcc2
4564 builtin and then its argument prototype would still apply. */
4566 /* The GNU C library defines this for functions which it implements
4567 to always fail with ENOSYS. Some functions are actually named
4568 something starting with __ and the normal name is an alias. */
4569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4572 char (*f) () = $ac_func;
4581 return f != $ac_func;
4586 rm -f conftest.
$ac_objext conftest
$ac_exeext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4588 (eval $ac_link) 2>conftest.er1
4590 grep -v '^ *+' conftest.er1
>conftest.err
4592 cat conftest.err
>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try
='test -z "$ac_c_werror_flag"
4596 || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try
='test -s conftest$ac_exeext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4608 eval "$as_ac_var=yes"
4610 echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.
$ac_ext >&5
4613 eval "$as_ac_var=no"
4615 rm -f conftest.err conftest.
$ac_objext \
4616 conftest
$ac_exeext conftest.
$ac_ext
4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4620 if test `eval echo '${'$as_ac_var'}'` = yes; then
4621 cat >>confdefs.h
<<_ACEOF
4622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4627 "$ac_func.$ac_objext" | \
4628 *" $ac_func.$ac_objext" | \
4629 "$ac_func.$ac_objext "* | \
4630 *" $ac_func.$ac_objext "* ) ;;
4631 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
4640 ac_cpp
='$CXXCPP $CPPFLAGS'
4641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4648 ac_cpp
='$CXXCPP $CPPFLAGS'
4649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4652 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4653 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4654 if test -z "$CXXCPP"; then
4655 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 # Double quotes because CXXCPP needs to be expanded
4659 for CXXCPP
in "$CXX -E" "/lib/cpp"
4662 for ac_cxx_preproc_warn_flag
in '' yes
4664 # Use a header file that comes with gcc, so configuring glibc
4665 # with a fresh cross-compiler works.
4666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4667 # <limits.h> exists even on freestanding compilers.
4668 # On the NeXT, cc -E runs the code through the compiler's parser,
4669 # not just through cpp. "Syntax error" is here to catch this case.
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4677 # include <limits.h>
4679 # include <assert.h>
4683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1
>conftest.err
4688 cat conftest.err
>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } >/dev
/null
; then
4691 if test -s conftest.err
; then
4692 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4693 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4700 if test -z "$ac_cpp_err"; then
4703 echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.
$ac_ext >&5
4706 # Broken: fails on valid input.
4709 rm -f conftest.err conftest.
$ac_ext
4711 # OK, works on sane cases. Now check whether non-existent headers
4712 # can be detected and how.
4713 cat >conftest.
$ac_ext <<_ACEOF
4716 cat confdefs.h
>>conftest.
$ac_ext
4717 cat >>conftest.
$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 #include <ac_nonexistent.h>
4721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1
>conftest.err
4726 cat conftest.err
>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } >/dev
/null
; then
4729 if test -s conftest.err
; then
4730 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4731 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4738 if test -z "$ac_cpp_err"; then
4739 # Broken: success on invalid input.
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4745 # Passes both tests.
4749 rm -f conftest.err conftest.
$ac_ext
4752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4753 rm -f conftest.err conftest.
$ac_ext
4754 if $ac_preproc_ok; then
4759 ac_cv_prog_CXXCPP
=$CXXCPP
4762 CXXCPP
=$ac_cv_prog_CXXCPP
4764 ac_cv_prog_CXXCPP
=$CXXCPP
4766 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4767 echo "${ECHO_T}$CXXCPP" >&6
4769 for ac_cxx_preproc_warn_flag
in '' yes
4771 # Use a header file that comes with gcc, so configuring glibc
4772 # with a fresh cross-compiler works.
4773 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4774 # <limits.h> exists even on freestanding compilers.
4775 # On the NeXT, cc -E runs the code through the compiler's parser,
4776 # not just through cpp. "Syntax error" is here to catch this case.
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4784 # include <limits.h>
4786 # include <assert.h>
4790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4793 grep -v '^ *+' conftest.er1
>conftest.err
4795 cat conftest.err
>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } >/dev
/null
; then
4798 if test -s conftest.err
; then
4799 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4800 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4807 if test -z "$ac_cpp_err"; then
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 # Broken: fails on valid input.
4816 rm -f conftest.err conftest.
$ac_ext
4818 # OK, works on sane cases. Now check whether non-existent headers
4819 # can be detected and how.
4820 cat >conftest.
$ac_ext <<_ACEOF
4823 cat confdefs.h
>>conftest.
$ac_ext
4824 cat >>conftest.
$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4826 #include <ac_nonexistent.h>
4828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1
>conftest.err
4833 cat conftest.err
>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } >/dev
/null
; then
4836 if test -s conftest.err
; then
4837 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4838 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4845 if test -z "$ac_cpp_err"; then
4846 # Broken: success on invalid input.
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.
$ac_ext >&5
4852 # Passes both tests.
4856 rm -f conftest.err conftest.
$ac_ext
4859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4860 rm -f conftest.err conftest.
$ac_ext
4861 if $ac_preproc_ok; then
4864 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4865 See \`config.log' for more details." >&5
4866 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4867 See \`config.log' for more details." >&2;}
4868 { (exit 1); exit 1; }; }
4872 ac_cpp
='$CXXCPP $CPPFLAGS'
4873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4878 echo "$as_me:$LINENO: checking for egrep" >&5
4879 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4880 if test "${ac_cv_prog_egrep+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4884 then ac_cv_prog_egrep
='grep -E'
4885 else ac_cv_prog_egrep
='egrep'
4888 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4889 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4890 EGREP
=$ac_cv_prog_egrep
4893 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4894 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4895 if test "${ac_cv_header_stdc+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4917 rm -f conftest.
$ac_objext
4918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try
='test -z "$ac_cxx_werror_flag"
4927 || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try
='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 ac_cv_header_stdc
=yes
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4944 ac_cv_header_stdc
=no
4946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4948 if test $ac_cv_header_stdc = yes; then
4949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4950 cat >conftest.
$ac_ext <<_ACEOF
4953 cat confdefs.h
>>conftest.
$ac_ext
4954 cat >>conftest.
$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4960 $EGREP "memchr" >/dev
/null
2>&1; then
4963 ac_cv_header_stdc
=no
4969 if test $ac_cv_header_stdc = yes; then
4970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4971 cat >conftest.
$ac_ext <<_ACEOF
4974 cat confdefs.h
>>conftest.
$ac_ext
4975 cat >>conftest.
$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4981 $EGREP "free" >/dev
/null
2>&1; then
4984 ac_cv_header_stdc
=no
4990 if test $ac_cv_header_stdc = yes; then
4991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4992 if test "$cross_compiling" = yes; then
4995 cat >conftest.
$ac_ext <<_ACEOF
4998 cat confdefs.h
>>conftest.
$ac_ext
4999 cat >>conftest.
$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5002 #if ((' ' & 0x0FF) == 0x020)
5003 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5004 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5006 # define ISLOWER(c) \
5007 (('a' <= (c) && (c) <= 'i') \
5008 || ('j' <= (c) && (c) <= 'r') \
5009 || ('s' <= (c) && (c) <= 'z'))
5010 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5013 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5018 for (i = 0; i < 256; i++)
5019 if (XOR (islower (i), ISLOWER (i))
5020 || toupper (i) != TOUPPER (i))
5025 rm -f conftest
$ac_exeext
5026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5027 (eval $ac_link) 2>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5038 echo "$as_me: program exited with status $ac_status" >&5
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.
$ac_ext >&5
5043 ac_cv_header_stdc
=no
5045 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5049 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5050 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5051 if test $ac_cv_header_stdc = yes; then
5053 cat >>confdefs.h
<<\_ACEOF
5054 #define STDC_HEADERS 1
5059 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5069 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5070 inttypes.h stdint.h unistd.h
5072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5073 echo "$as_me:$LINENO: checking for $ac_header" >&5
5074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 cat >conftest.
$ac_ext <<_ACEOF
5081 cat confdefs.h
>>conftest.
$ac_ext
5082 cat >>conftest.
$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5084 $ac_includes_default
5086 #include <$ac_header>
5088 rm -f conftest.
$ac_objext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } &&
5097 { ac_try
='test -z "$ac_cxx_werror_flag"
5098 || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 eval "$as_ac_Header=yes"
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5115 eval "$as_ac_Header=no"
5117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5122 cat >>confdefs.h
<<_ACEOF
5123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5133 for ac_header
in tr1/unordered_set
tr1/unordered_map
5135 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5137 echo "$as_me:$LINENO: checking for $ac_header" >&5
5138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5145 # Is the header compilable?
5146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5148 cat >conftest.
$ac_ext <<_ACEOF
5151 cat confdefs.h
>>conftest.
$ac_ext
5152 cat >>conftest.
$ac_ext <<_ACEOF
5153 /* end confdefs.h. */
5154 $ac_includes_default
5155 #include <$ac_header>
5157 rm -f conftest.
$ac_objext
5158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5159 (eval $ac_compile) 2>conftest.er1
5161 grep -v '^ *+' conftest.er1
>conftest.err
5163 cat conftest.err
>&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } &&
5166 { ac_try
='test -z "$ac_cxx_werror_flag"
5167 || test ! -s conftest.err'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; } &&
5173 { ac_try
='test -s conftest.$ac_objext'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; }; then
5179 ac_header_compiler
=yes
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.
$ac_ext >&5
5184 ac_header_compiler
=no
5186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5188 echo "${ECHO_T}$ac_header_compiler" >&6
5190 # Is the header present?
5191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5193 cat >conftest.
$ac_ext <<_ACEOF
5196 cat confdefs.h
>>conftest.
$ac_ext
5197 cat >>conftest.
$ac_ext <<_ACEOF
5198 /* end confdefs.h. */
5199 #include <$ac_header>
5201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev
/null
; then
5209 if test -s conftest.err
; then
5210 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5211 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5218 if test -z "$ac_cpp_err"; then
5219 ac_header_preproc
=yes
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 ac_header_preproc
=no
5226 rm -f conftest.err conftest.
$ac_ext
5227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5228 echo "${ECHO_T}$ac_header_preproc" >&6
5230 # So? What about this header?
5231 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5237 ac_header_preproc
=yes
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5254 ## ------------------------------------------ ##
5255 ## Report this to the AC_PACKAGE_NAME lists. ##
5256 ## ------------------------------------------ ##
5259 sed "s/^/$as_me: WARNING: /" >&2
5262 echo "$as_me:$LINENO: checking for $ac_header" >&5
5263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 eval "$as_ac_Header=\$ac_header_preproc"
5269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5274 cat >>confdefs.h
<<_ACEOF
5275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5284 for ac_header
in ext
/hash_map ext
/hash_set
5286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5288 echo "$as_me:$LINENO: checking for $ac_header" >&5
5289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5296 # Is the header compilable?
5297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5299 cat >conftest.
$ac_ext <<_ACEOF
5302 cat confdefs.h
>>conftest.
$ac_ext
5303 cat >>conftest.
$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5305 $ac_includes_default
5306 #include <$ac_header>
5308 rm -f conftest.
$ac_objext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>conftest.er1
5312 grep -v '^ *+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -z "$ac_cxx_werror_flag"
5318 || test ! -s conftest.err'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try
='test -s conftest.$ac_objext'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; }; then
5330 ac_header_compiler
=yes
5332 echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.
$ac_ext >&5
5335 ac_header_compiler
=no
5337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5339 echo "${ECHO_T}$ac_header_compiler" >&6
5341 # Is the header present?
5342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5347 cat confdefs.h
>>conftest.
$ac_ext
5348 cat >>conftest.
$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5350 #include <$ac_header>
5352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5355 grep -v '^ *+' conftest.er1
>conftest.err
5357 cat conftest.err
>&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } >/dev
/null
; then
5360 if test -s conftest.err
; then
5361 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5362 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5369 if test -z "$ac_cpp_err"; then
5370 ac_header_preproc
=yes
5372 echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.
$ac_ext >&5
5375 ac_header_preproc
=no
5377 rm -f conftest.err conftest.
$ac_ext
5378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379 echo "${ECHO_T}$ac_header_preproc" >&6
5381 # So? What about this header?
5382 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388 ac_header_preproc
=yes
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5405 ## ------------------------------------------ ##
5406 ## Report this to the AC_PACKAGE_NAME lists. ##
5407 ## ------------------------------------------ ##
5410 sed "s/^/$as_me: WARNING: /" >&2
5413 echo "$as_me:$LINENO: checking for $ac_header" >&5
5414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 eval "$as_ac_Header=\$ac_header_preproc"
5420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5425 cat >>confdefs.h
<<_ACEOF
5426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5434 cat >conftest.
$ac_ext <<_ACEOF
5436 class c { public: template<int i> void fn(); };
5437 template<int i> void foo(c cv) { cv.fn<i>(); }
5438 template void foo<1>(c cv);
5440 rm -f conftest.
$ac_objext
5441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5442 (eval $ac_compile) 2>conftest.er1
5444 grep -v '^ *+' conftest.er1
>conftest.err
5446 cat conftest.err
>&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } &&
5449 { ac_try
='test -z "$ac_cxx_werror_flag"
5450 || test ! -s conftest.err'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; } &&
5456 { ac_try
='test -s conftest.$ac_objext'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5463 cat >>confdefs.h
<<\_ACEOF
5464 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.
$ac_ext >&5
5472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 ac_cpp
='$CPP $CPPFLAGS'
5476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5481 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5482 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5483 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5484 if test "${enable_maintainer_mode+set}" = set; then
5485 enableval
="$enable_maintainer_mode"
5486 USE_MAINTAINER_MODE
=$enableval
5488 USE_MAINTAINER_MODE
=no
5490 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5491 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5494 if test $USE_MAINTAINER_MODE = yes; then
5495 MAINTAINER_MODE_TRUE
=
5496 MAINTAINER_MODE_FALSE
='#'
5498 MAINTAINER_MODE_TRUE
='#'
5499 MAINTAINER_MODE_FALSE
=
5502 MAINT
=$MAINTAINER_MODE_TRUE
5506 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
5507 cat >confcache
<<\_ACEOF
5508 # This file is a shell script that caches the results of configure
5509 # tests run on this system so they can be shared between configure
5510 # scripts and configure runs, see configure's option --config-cache.
5511 # It is not useful on other systems. If it contains results you don't
5512 # want to keep, you may remove or edit it.
5514 # config.status only pays attention to the cache file if you give it
5515 # the --recheck option to rerun configure.
5517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5523 # The following way of writing the cache mishandles newlines in values,
5524 # but we know of no workaround that is simple, portable, and efficient.
5525 # So, don't put newlines in cache variables' values.
5526 # Ultrix sh set writes to stderr and can't be redirected directly,
5527 # and sets the high bit in the cache file unless we assign to the vars.
5530 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5532 # `set' does not quote correctly, so add quotes (double-quote
5533 # substitution turns \\\\ into \\, and sed turns \\ into \).
5536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5539 # `set' quotes correctly as required by POSIX, so do not add quotes.
5541 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5550 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5552 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5553 if test -w $cache_file; then
5554 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5555 cat confcache
>$cache_file
5557 echo "not updating unwritable cache $cache_file"
5562 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5563 # Let make expand exec_prefix.
5564 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5566 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5567 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5568 # trailing colons and then remove the whole line if VPATH becomes empty
5569 # (actually we leave an empty line to preserve line numbers).
5570 if test "x$srcdir" = x.
; then
5571 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5572 s/:*\$(srcdir):*/:/;
5573 s/:*\${srcdir}:*/:/;
5575 s/^\([^=]*=[ ]*\):*/\1/;
5581 DEFS
=-DHAVE_CONFIG_H
5585 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5586 # 1. Remove the extension, and $U if already installed.
5587 ac_i
=`echo "$ac_i" |
5588 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5590 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5591 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5595 LTLIBOBJS
=$ac_ltlibobjs
5598 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5599 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5600 Usually this means the macro was only invoked conditionally." >&5
5601 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5602 Usually this means the macro was only invoked conditionally." >&2;}
5603 { (exit 1); exit 1; }; }
5605 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5606 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5607 Usually this means the macro was only invoked conditionally." >&5
5608 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5609 Usually this means the macro was only invoked conditionally." >&2;}
5610 { (exit 1); exit 1; }; }
5612 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5613 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5614 Usually this means the macro was only invoked conditionally." >&5
5615 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5616 Usually this means the macro was only invoked conditionally." >&2;}
5617 { (exit 1); exit 1; }; }
5619 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
5620 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
5621 Usually this means the macro was only invoked conditionally." >&5
5622 echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
5623 Usually this means the macro was only invoked conditionally." >&2;}
5624 { (exit 1); exit 1; }; }
5626 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
5627 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
5628 Usually this means the macro was only invoked conditionally." >&5
5629 echo "$as_me: error: conditional \"GCC\" was never defined.
5630 Usually this means the macro was only invoked conditionally." >&2;}
5631 { (exit 1); exit 1; }; }
5633 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
5634 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5635 Usually this means the macro was only invoked conditionally." >&5
5636 echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5637 Usually this means the macro was only invoked conditionally." >&2;}
5638 { (exit 1); exit 1; }; }
5640 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
5641 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
5642 Usually this means the macro was only invoked conditionally." >&5
5643 echo "$as_me: error: conditional \"TLS\" was never defined.
5644 Usually this means the macro was only invoked conditionally." >&2;}
5645 { (exit 1); exit 1; }; }
5647 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5648 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5649 Usually this means the macro was only invoked conditionally." >&5
5650 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5651 Usually this means the macro was only invoked conditionally." >&2;}
5652 { (exit 1); exit 1; }; }
5655 : ${CONFIG_STATUS=./config.status}
5656 ac_clean_files_save
=$ac_clean_files
5657 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5658 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5659 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5660 cat >$CONFIG_STATUS <<_ACEOF
5662 # Generated by $as_me.
5663 # Run this file to recreate the current configuration.
5664 # Compiler output produced by configure, useful for debugging
5665 # configure, is in config.log if it exists.
5670 SHELL=\${CONFIG_SHELL-$SHELL}
5673 cat >>$CONFIG_STATUS <<\_ACEOF
5674 ## --------------------- ##
5675 ## M4sh Initialization. ##
5676 ## --------------------- ##
5678 # Be Bourne compatible
5679 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5682 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5683 # is contrary to our usage. Disable this feature.
5684 alias -g '${1+"$@"}'='"$@"'
5685 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5688 DUALCASE
=1; export DUALCASE
# for MKS sh
5690 # Support unset when possible.
5691 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5698 # Work around bugs in pre-3.0 UWIN ksh.
5699 $as_unset ENV MAIL MAILPATH
5706 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5707 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5708 LC_TELEPHONE LC_TIME
5710 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5711 eval $as_var=C
; export $as_var
5717 # Required to use basename.
5718 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5724 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5725 as_basename
=basename
5731 # Name of the executable.
5732 as_me
=`$as_basename "$0" ||
5733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5734 X"$0" : 'X\(//\)$' \| \
5735 X"$0" : 'X\(/\)$' \| \
5736 . : '\(.\)' 2>/dev/null ||
5738 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5739 /^X\/\(\/\/\)$/{ s//\1/; q; }
5740 /^X\/\(\/\).*/{ s//\1/; q; }
5744 # PATH needs CR, and LINENO needs CR and PATH.
5745 # Avoid depending upon Character Ranges.
5746 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5747 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5748 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5749 as_cr_digits
='0123456789'
5750 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5752 # The user is always right.
5753 if test "${PATH_SEPARATOR+set}" != set; then
5754 echo "#! /bin/sh" >conf$$.sh
5755 echo "exit 0" >>conf$$.sh
5757 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5768 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5769 test "x$as_lineno_1" != "x$as_lineno_2" &&
5770 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5771 # Find who we are. Look in the path if we contain no path at all
5774 *[\\/]* ) as_myself
=$0 ;;
5775 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir
=.
5780 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5785 # We did not find ourselves, most probably we were run as `sh COMMAND'
5786 # in which case we are not to be found in the path.
5787 if test "x$as_myself" = x
; then
5790 if test ! -f "$as_myself"; then
5791 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5792 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5793 { (exit 1); exit 1; }; }
5795 case $CONFIG_SHELL in
5797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5798 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5801 test -z "$as_dir" && as_dir
=.
5802 for as_base
in sh bash ksh sh5
; do
5805 if ("$as_dir/$as_base" -c '
5808 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5809 test "x$as_lineno_1" != "x$as_lineno_2" &&
5810 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5811 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5812 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5813 CONFIG_SHELL
=$as_dir/$as_base
5815 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5823 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5824 # uniformly replaced by the line number. The first 'sed' inserts a
5825 # line-number line before each line; the second 'sed' does the real
5826 # work. The second script uses 'N' to pair each line-number line
5827 # with the numbered line, and appends trailing '-' during
5828 # substitution so that $LINENO is not a special case at line end.
5829 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5830 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5831 sed '=' <$as_myself |
5836 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5839 s,^['$as_cr_digits']*\n,,
5841 chmod +x
$as_me.lineno ||
5842 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5843 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5844 { (exit 1); exit 1; }; }
5846 # Don't try to exec as it changes $[0], causing all sort of problems
5847 # (the dirname of $[0] is not the place where we might find the
5848 # original and so on. Autoconf is especially sensible to this).
5850 # Exit status is that of the last command.
5855 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5856 *c
*,-n*) ECHO_N
= ECHO_C
='
5858 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5859 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5862 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5868 rm -f conf$$ conf$$.exe conf$$.
file
5870 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5871 # We could just check for DJGPP; but this test a) works b) is more generic
5872 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5873 if test -f conf$$.exe
; then
5874 # Don't use ln at all; we don't have any links
5879 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5884 rm -f conf$$ conf$$.exe conf$$.
file
5886 if mkdir
-p .
2>/dev
/null
; then
5889 test -d .
/-p && rmdir .
/-p
5893 as_executable_p
="test -f"
5895 # Sed expression to map a string onto a valid CPP name.
5896 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5898 # Sed expression to map a string onto a valid variable name.
5899 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5903 # We need space, tab and new line, in precisely that order.
5913 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5914 # report actual input values of CONFIG_FILES etc. instead of their
5915 # values after options handling. Logging --version etc. is OK.
5919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5920 ## Running $as_me. ##
5925 This file was extended by $as_me, which was
5926 generated by GNU Autoconf 2.59. Invocation command line was
5928 CONFIG_FILES = $CONFIG_FILES
5929 CONFIG_HEADERS = $CONFIG_HEADERS
5930 CONFIG_LINKS = $CONFIG_LINKS
5931 CONFIG_COMMANDS = $CONFIG_COMMANDS
5935 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5939 # Files that config.status was made for.
5940 if test -n "$ac_config_files"; then
5941 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5944 if test -n "$ac_config_headers"; then
5945 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5948 if test -n "$ac_config_links"; then
5949 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5952 if test -n "$ac_config_commands"; then
5953 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5956 cat >>$CONFIG_STATUS <<\_ACEOF
5959 \`$as_me' instantiates files from templates according to the
5960 current configuration.
5962 Usage: $0 [OPTIONS] [FILE]...
5964 -h, --help print this help, then exit
5965 -V, --version print version number, then exit
5966 -q, --quiet do not print progress messages
5967 -d, --debug don't remove temporary files
5968 --recheck update $as_me by reconfiguring in the same conditions
5969 --file=FILE[:TEMPLATE]
5970 instantiate the configuration file FILE
5971 --header=FILE[:TEMPLATE]
5972 instantiate the configuration header FILE
5974 Configuration files:
5977 Configuration headers:
5980 Configuration commands:
5983 Report bugs to <bug-autoconf@gnu.org>."
5986 cat >>$CONFIG_STATUS <<_ACEOF
5989 configured by $0, generated by GNU Autoconf 2.59,
5990 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5992 Copyright (C) 2003 Free Software Foundation, Inc.
5993 This config.status script is free software; the Free Software Foundation
5994 gives unlimited permission to copy, distribute and modify it."
5999 cat >>$CONFIG_STATUS <<\_ACEOF
6000 # If no file are specified by the user, then we need to provide default
6001 # value. By we need to know if files were specified by the user.
6007 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6008 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6016 *) # This is not an option, so the user has probably given explicit
6019 ac_need_defaults
=false
;;
6023 # Handling of the options.
6025 cat >>$CONFIG_STATUS <<\_ACEOF
6026 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6028 --version |
--vers* |
-V )
6029 echo "$ac_cs_version"; exit 0 ;;
6031 # Conflict between --help and --header
6032 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6033 Try \`$0 --help' for more information." >&5
6034 echo "$as_me: error: ambiguous option: $1
6035 Try \`$0 --help' for more information." >&2;}
6036 { (exit 1); exit 1; }; };;
6037 --help |
--hel |
-h )
6038 echo "$ac_cs_usage"; exit 0 ;;
6039 --debug |
--d* |
-d )
6041 --file |
--fil |
--fi |
--f )
6043 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6044 ac_need_defaults
=false
;;
6045 --header |
--heade |
--head |
--hea )
6047 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6048 ac_need_defaults
=false
;;
6049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6050 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6054 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6055 Try \`$0 --help' for more information." >&5
6056 echo "$as_me: error: unrecognized option: $1
6057 Try \`$0 --help' for more information." >&2;}
6058 { (exit 1); exit 1; }; } ;;
6060 *) ac_config_targets
="$ac_config_targets $1" ;;
6066 ac_configure_extra_args
=
6068 if $ac_cs_silent; then
6070 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6074 cat >>$CONFIG_STATUS <<_ACEOF
6075 if \$ac_cs_recheck; then
6076 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6077 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6082 cat >>$CONFIG_STATUS <<_ACEOF
6084 # INIT-COMMANDS section.
6087 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6088 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
6089 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
6091 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6092 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6093 LINGUAS="${LINGUAS-%UNSET%}"
6100 cat >>$CONFIG_STATUS <<\_ACEOF
6101 for ac_config_target
in $ac_config_targets
6103 case "$ac_config_target" in
6104 # Handling of arguments.
6105 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6106 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
6107 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
6108 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6109 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6110 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6111 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6112 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6113 { (exit 1); exit 1; }; };;
6117 # If the user did not use the arguments to specify the items to instantiate,
6118 # then the envvar interface is used. Set only those that are not.
6119 # We use the long form for the default assignment because of an extremely
6120 # bizarre bug on SunOS 4.1.3.
6121 if $ac_need_defaults; then
6122 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6123 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6124 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6127 # Have a temporary directory for convenience. Make it in the build tree
6128 # simply because there is no reason to put it here, and in addition,
6129 # creating and moving files from /tmp can sometimes cause problems.
6130 # Create a temporary directory, and hook for its removal unless debugging.
6133 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6134 trap '{ (exit 1); exit 1; }' 1 2 13 15
6137 # Create a (secure) tmp directory for tmp files.
6140 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6141 test -n "$tmp" && test -d "$tmp"
6144 tmp
=.
/confstat$$
-$RANDOM
6145 (umask 077 && mkdir
$tmp)
6148 echo "$me: cannot create a temporary directory in ." >&2
6149 { (exit 1); exit 1; }
6154 cat >>$CONFIG_STATUS <<_ACEOF
6157 # CONFIG_FILES section.
6160 # No need to generate the scripts if there are no CONFIG_FILES.
6161 # This happens for instance when ./config.status config.h
6162 if test -n "\$CONFIG_FILES"; then
6163 # Protect against being on the right side of a sed subst in config.status.
6164 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6165 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6166 s,@SHELL@,$SHELL,;t t
6167 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6168 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6169 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6170 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6171 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6172 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6173 s,@exec_prefix@,$exec_prefix,;t t
6174 s,@prefix@,$prefix,;t t
6175 s,@program_transform_name@,$program_transform_name,;t t
6176 s,@bindir@,$bindir,;t t
6177 s,@sbindir@,$sbindir,;t t
6178 s,@libexecdir@,$libexecdir,;t t
6179 s,@datadir@,$datadir,;t t
6180 s,@sysconfdir@,$sysconfdir,;t t
6181 s,@sharedstatedir@,$sharedstatedir,;t t
6182 s,@localstatedir@,$localstatedir,;t t
6183 s,@libdir@,$libdir,;t t
6184 s,@includedir@,$includedir,;t t
6185 s,@oldincludedir@,$oldincludedir,;t t
6186 s,@infodir@,$infodir,;t t
6187 s,@mandir@,$mandir,;t t
6188 s,@build_alias@,$build_alias,;t t
6189 s,@host_alias@,$host_alias,;t t
6190 s,@target_alias@,$target_alias,;t t
6192 s,@ECHO_C@,$ECHO_C,;t t
6193 s,@ECHO_N@,$ECHO_N,;t t
6194 s,@ECHO_T@,$ECHO_T,;t t
6196 s,@build@,$build,;t t
6197 s,@build_cpu@,$build_cpu,;t t
6198 s,@build_vendor@,$build_vendor,;t t
6199 s,@build_os@,$build_os,;t t
6201 s,@host_cpu@,$host_cpu,;t t
6202 s,@host_vendor@,$host_vendor,;t t
6203 s,@host_os@,$host_os,;t t
6204 s,@target@,$target,;t t
6205 s,@target_cpu@,$target_cpu,;t t
6206 s,@target_vendor@,$target_vendor,;t t
6207 s,@target_os@,$target_os,;t t
6208 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6209 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6210 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6211 s,@CYGPATH_W@,$CYGPATH_W,;t t
6212 s,@PACKAGE@,$PACKAGE,;t t
6213 s,@VERSION@,$VERSION,;t t
6214 s,@ACLOCAL@,$ACLOCAL,;t t
6215 s,@AUTOCONF@,$AUTOCONF,;t t
6216 s,@AUTOMAKE@,$AUTOMAKE,;t t
6217 s,@AUTOHEADER@,$AUTOHEADER,;t t
6218 s,@MAKEINFO@,$MAKEINFO,;t t
6219 s,@install_sh@,$install_sh,;t t
6220 s,@STRIP@,$STRIP,;t t
6221 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6222 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6223 s,@mkdir_p@,$mkdir_p,;t t
6225 s,@SET_MAKE@,$SET_MAKE,;t t
6226 s,@am__leading_dot@,$am__leading_dot,;t t
6227 s,@AMTAR@,$AMTAR,;t t
6228 s,@am__tar@,$am__tar,;t t
6229 s,@am__untar@,$am__untar,;t t
6230 s,@TARGETOBJS@,$TARGETOBJS,;t t
6232 s,@CFLAGS@,$CFLAGS,;t t
6233 s,@LDFLAGS@,$LDFLAGS,;t t
6234 s,@CPPFLAGS@,$CPPFLAGS,;t t
6235 s,@ac_ct_CC@,$ac_ct_CC,;t t
6236 s,@EXEEXT@,$EXEEXT,;t t
6237 s,@OBJEXT@,$OBJEXT,;t t
6238 s,@DEPDIR@,$DEPDIR,;t t
6239 s,@am__include@,$am__include,;t t
6240 s,@am__quote@,$am__quote,;t t
6241 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6242 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6243 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6244 s,@CCDEPMODE@,$CCDEPMODE,;t t
6245 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6246 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6248 s,@CXXFLAGS@,$CXXFLAGS,;t t
6249 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6250 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6251 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6252 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6254 s,@RANLIB@,$RANLIB,;t t
6255 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6257 s,@USE_NLS@,$USE_NLS,;t t
6258 s,@LIBINTL@,$LIBINTL,;t t
6259 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6260 s,@INCINTL@,$INCINTL,;t t
6261 s,@XGETTEXT@,$XGETTEXT,;t t
6262 s,@GMSGFMT@,$GMSGFMT,;t t
6263 s,@POSUB@,$POSUB,;t t
6264 s,@CATALOGS@,$CATALOGS,;t t
6265 s,@DATADIRNAME@,$DATADIRNAME,;t t
6266 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6267 s,@GENCAT@,$GENCAT,;t t
6268 s,@CATOBJEXT@,$CATOBJEXT,;t t
6269 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6270 s,@MSGFMT@,$MSGFMT,;t t
6271 s,@MSGMERGE@,$MSGMERGE,;t t
6272 s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
6273 s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
6274 s,@GCC_TRUE@,$GCC_TRUE,;t t
6275 s,@GCC_FALSE@,$GCC_FALSE,;t t
6276 s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
6277 s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
6278 s,@TLS_TRUE@,$TLS_TRUE,;t t
6279 s,@TLS_FALSE@,$TLS_FALSE,;t t
6280 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6281 s,@NO_WERROR@,$NO_WERROR,;t t
6282 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
6283 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
6284 s,@LIBOBJS@,$LIBOBJS,;t t
6285 s,@CXXCPP@,$CXXCPP,;t t
6286 s,@EGREP@,$EGREP,;t t
6287 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6288 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6289 s,@MAINT@,$MAINT,;t t
6290 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6295 cat >>$CONFIG_STATUS <<\_ACEOF
6296 # Split the substitutions into bite-sized pieces for seds with
6297 # small command number limits, like on Digital OSF/1 and HP-UX.
6299 ac_sed_frag
=1 # Number of current file.
6300 ac_beg
=1 # First line for current file.
6301 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6304 while $ac_more_lines; do
6305 if test $ac_beg -gt 1; then
6306 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6308 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6310 if test ! -s $tmp/subs.frag
; then
6313 # The purpose of the label and of the branching condition is to
6314 # speed up the sed processing (if there are no `@' at all, there
6315 # is no need to browse any of the substitutions).
6316 # These are the two extra sed commands mentioned above.
6318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6319 if test -z "$ac_sed_cmds"; then
6320 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6322 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6324 ac_sed_frag
=`expr $ac_sed_frag + 1`
6326 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6329 if test -z "$ac_sed_cmds"; then
6332 fi # test -n "$CONFIG_FILES"
6335 cat >>$CONFIG_STATUS <<\_ACEOF
6336 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6337 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6339 - |
*:- |
*:-:* ) # input from stdin
6341 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6342 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6343 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6344 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6345 * ) ac_file_in
=$ac_file.
in ;;
6348 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6349 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6350 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6351 X"$ac_file" : 'X\(//\)[^/]' \| \
6352 X"$ac_file" : 'X\(//\)$' \| \
6353 X"$ac_file" : 'X\(/\)' \| \
6354 . : '\(.\)' 2>/dev/null ||
6356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6358 /^X\(\/\/\)$/{ s//\1/; q; }
6359 /^X\(\/\).*/{ s//\1/; q; }
6361 { if $as_mkdir_p; then
6366 while test ! -d "$as_dir"; do
6367 as_dirs
="$as_dir $as_dirs"
6368 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$as_dir" : 'X\(//\)[^/]' \| \
6371 X"$as_dir" : 'X\(//\)$' \| \
6372 X"$as_dir" : 'X\(/\)' \| \
6373 . : '\(.\)' 2>/dev/null ||
6375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6377 /^X\(\/\/\)$/{ s//\1/; q; }
6378 /^X\(\/\).*/{ s//\1/; q; }
6381 test ! -n "$as_dirs" || mkdir
$as_dirs
6382 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6383 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6384 { (exit 1); exit 1; }; }; }
6388 if test "$ac_dir" != .
; then
6389 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6390 # A "../" for each directory in $ac_dir_suffix.
6391 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6393 ac_dir_suffix
= ac_top_builddir
=
6397 .
) # No --srcdir option. We are building in place.
6399 if test -z "$ac_top_builddir"; then
6402 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6404 [\\/]* | ?
:[\\/]* ) # Absolute path.
6405 ac_srcdir
=$srcdir$ac_dir_suffix;
6406 ac_top_srcdir
=$srcdir ;;
6408 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6409 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6412 # Do not use `cd foo && pwd` to compute absolute paths, because
6413 # the directories may not exist.
6415 .
) ac_abs_builddir
="$ac_dir";;
6418 .
) ac_abs_builddir
=`pwd`;;
6419 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6420 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6423 case $ac_abs_builddir in
6424 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6426 case ${ac_top_builddir}.
in
6427 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6428 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6429 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6432 case $ac_abs_builddir in
6433 .
) ac_abs_srcdir
=$ac_srcdir;;
6436 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6437 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6438 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6441 case $ac_abs_builddir in
6442 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6444 case $ac_top_srcdir in
6445 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6446 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6447 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6453 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6454 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6457 if test x
"$ac_file" != x-
; then
6458 { echo "$as_me:$LINENO: creating $ac_file" >&5
6459 echo "$as_me: creating $ac_file" >&6;}
6462 # Let's still pretend it is `configure' which instantiates (i.e., don't
6463 # use $as_me), people would be surprised to read:
6464 # /* config.h. Generated by config.status. */
6465 if test x
"$ac_file" = x-
; then
6468 configure_input
="$ac_file. "
6470 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6471 sed 's,.*/,,'` by configure."
6473 # First look for the input files in the build tree, otherwise in the
6475 ac_file_inputs
=`IFS=:
6476 for f in $ac_file_in; do
6478 -) echo $tmp/stdin ;;
6480 # Absolute (can't be DOS-style, as IFS=:)
6481 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6482 echo "$as_me: error: cannot find input file: $f" >&2;}
6483 { (exit 1); exit 1; }; }
6486 if test -f "$f"; then
6489 elif test -f "$srcdir/$f"; then
6494 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6495 echo "$as_me: error: cannot find input file: $f" >&2;}
6496 { (exit 1); exit 1; }; }
6499 done` ||
{ (exit 1); exit 1; }
6501 cat >>$CONFIG_STATUS <<_ACEOF
6505 cat >>$CONFIG_STATUS <<\_ACEOF
6507 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6508 s
,@configure_input@
,$configure_input,;t t
6509 s
,@srcdir@
,$ac_srcdir,;t t
6510 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6511 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6512 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6513 s
,@builddir@
,$ac_builddir,;t t
6514 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6515 s
,@top_builddir@
,$ac_top_builddir,;t t
6516 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6517 s
,@INSTALL@
,$ac_INSTALL,;t t
6518 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6520 if test x"$ac_file" != x-; then
6521 mv $tmp/out $ac_file
6529 cat >>$CONFIG_STATUS <<\_ACEOF
6532 # CONFIG_HEADER section.
6535 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6536 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6538 # ac_d sets the value in "#define NAME VALUE" lines.
6539 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6540 ac_dB
='[ ].*$,\1#\2'
6543 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6544 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6545 ac_uB
='$,\1#\2define\3'
6549 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6550 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6552 - |
*:- |
*:-:* ) # input from stdin
6554 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6555 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6556 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6557 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6558 * ) ac_file_in
=$ac_file.
in ;;
6561 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6562 echo "$as_me: creating $ac_file" >&6;}
6564 # First look for the input files in the build tree, otherwise in the
6566 ac_file_inputs
=`IFS=:
6567 for f in $ac_file_in; do
6569 -) echo $tmp/stdin ;;
6571 # Absolute (can't be DOS-style, as IFS=:)
6572 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6573 echo "$as_me: error: cannot find input file: $f" >&2;}
6574 { (exit 1); exit 1; }; }
6575 # Do quote $f, to prevent DOS paths from being IFS'd.
6578 if test -f "$f"; then
6581 elif test -f "$srcdir/$f"; then
6586 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6587 echo "$as_me: error: cannot find input file: $f" >&2;}
6588 { (exit 1); exit 1; }; }
6591 done` ||
{ (exit 1); exit 1; }
6592 # Remove the trailing spaces.
6593 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6597 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6598 # `conftest.undefs', that substitutes the proper values into
6599 # config.h.in to produce config.h. The first handles `#define'
6600 # templates, and the second `#undef' templates.
6601 # And first: Protect against being on the right side of a sed subst in
6602 # config.status. Protect against being in an unquoted here document
6604 rm -f conftest.defines conftest.undefs
6605 # Using a here document instead of a string reduces the quoting nightmare.
6606 # Putting comments in sed scripts is not portable.
6608 # `end' is used to avoid that the second main sed command (meant for
6609 # 0-ary CPP macros) applies to n-ary macro definitions.
6610 # See the Autoconf documentation for `clear'.
6611 cat >confdef2sed.
sed <<\_ACEOF
6616 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6618 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6621 # If some macros were called several times there might be several times
6622 # the same #defines, which is useless. Nevertheless, we may not want to
6623 # sort them, since we want the *last* AC-DEFINE to be honored.
6624 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6625 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6626 rm -f confdef2sed.sed
6628 # This sed command replaces #undef with comments. This is necessary, for
6629 # example, in the case of _POSIX_SOURCE, which is predefined and required
6630 # on some systems where configure will not decide to define it.
6631 cat >>conftest.undefs <<\_ACEOF
6632 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6635 # Break up conftest.defines because some shells have a limit on the size
6636 # of here documents, and old seds have small limits too (100 cmds).
6637 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6638 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6639 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6640 echo ' :' >>$CONFIG_STATUS
6642 while grep . conftest.defines >/dev/null
6644 # Write a limited-size here document to $tmp/defines.sed.
6645 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6646 # Speed up: don't consider the non `#define' lines.
6647 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6648 # Work around the forget-to-reset-the-flag bug.
6649 echo 't clr' >>$CONFIG_STATUS
6650 echo ': clr' >>$CONFIG_STATUS
6651 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6653 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6657 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6658 rm -f conftest.defines
6659 mv conftest.
tail conftest.defines
6661 rm -f conftest.defines
6662 echo ' fi # grep' >>$CONFIG_STATUS
6663 echo >>$CONFIG_STATUS
6665 # Break up conftest.undefs because some shells have a limit on the size
6666 # of here documents, and old seds have small limits too (100 cmds).
6667 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6669 while grep . conftest.undefs
>/dev
/null
6671 # Write a limited-size here document to $tmp/undefs.sed.
6672 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6673 # Speed up: don't consider the non
`#undef'
6674 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6675 # Work around the forget-to-reset-the-flag bug.
6676 echo 't clr' >>$CONFIG_STATUS
6677 echo ': clr' >>$CONFIG_STATUS
6678 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6680 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6684 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6685 rm -f conftest.undefs
6686 mv conftest.tail conftest.undefs
6688 rm -f conftest.undefs
6690 cat >>$CONFIG_STATUS <<\_ACEOF
6691 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6692 # use $as_me), people would be surprised to read:
6693 # /* config.h. Generated by config.status. */
6694 if test x
"$ac_file" = x-
; then
6695 echo "/* Generated by configure. */" >$tmp/config.h
6697 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6699 cat $tmp/in >>$tmp/config.h
6701 if test x
"$ac_file" != x-
; then
6702 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6703 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6704 echo "$as_me: $ac_file is unchanged" >&6;}
6706 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6707 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6708 X"$ac_file" : 'X\(//\)[^/]' \| \
6709 X"$ac_file" : 'X\(//\)$' \| \
6710 X"$ac_file" : 'X\(/\)' \| \
6711 . : '\(.\)' 2>/dev/null ||
6713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6715 /^X\(\/\/\)$/{ s//\1/; q; }
6716 /^X\(\/\).*/{ s//\1/; q; }
6718 { if $as_mkdir_p; then
6723 while test ! -d "$as_dir"; do
6724 as_dirs
="$as_dir $as_dirs"
6725 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6727 X"$as_dir" : 'X\(//\)[^/]' \| \
6728 X"$as_dir" : 'X\(//\)$' \| \
6729 X"$as_dir" : 'X\(/\)' \| \
6730 . : '\(.\)' 2>/dev/null ||
6732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6734 /^X\(\/\/\)$/{ s//\1/; q; }
6735 /^X\(\/\).*/{ s//\1/; q; }
6738 test ! -n "$as_dirs" || mkdir
$as_dirs
6739 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6740 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6741 { (exit 1); exit 1; }; }; }
6744 mv $tmp/config.h
$ac_file
6750 # Compute $ac_file's index in $config_headers.
6752 for _am_header
in $config_headers :; do
6754 $ac_file |
$ac_file:* )
6757 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6760 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6761 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6762 X$ac_file : 'X\(//\)[^/]' \| \
6763 X$ac_file : 'X\(//\)$' \| \
6764 X$ac_file : 'X\(/\)' \| \
6765 . : '\(.\)' 2>/dev/null ||
6767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6769 /^X\(\/\/\)$/{ s//\1/; q; }
6770 /^X\(\/\).*/{ s//\1/; q; }
6771 s/.*/./; q'`/stamp-h
$_am_stamp_count
6774 cat >>$CONFIG_STATUS <<\_ACEOF
6777 # CONFIG_COMMANDS section.
6779 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6780 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6781 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6782 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6783 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6784 X"$ac_dest" : 'X\(//\)[^/]' \| \
6785 X"$ac_dest" : 'X\(//\)$' \| \
6786 X"$ac_dest" : 'X\(/\)' \| \
6787 . : '\(.\)' 2>/dev/null ||
6789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6791 /^X\(\/\/\)$/{ s//\1/; q; }
6792 /^X\(\/\).*/{ s//\1/; q; }
6794 { if $as_mkdir_p; then
6799 while test ! -d "$as_dir"; do
6800 as_dirs
="$as_dir $as_dirs"
6801 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6803 X"$as_dir" : 'X\(//\)[^/]' \| \
6804 X"$as_dir" : 'X\(//\)$' \| \
6805 X"$as_dir" : 'X\(/\)' \| \
6806 . : '\(.\)' 2>/dev/null ||
6808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6810 /^X\(\/\/\)$/{ s//\1/; q; }
6811 /^X\(\/\).*/{ s//\1/; q; }
6814 test ! -n "$as_dirs" || mkdir
$as_dirs
6815 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6817 { (exit 1); exit 1; }; }; }
6821 if test "$ac_dir" != .
; then
6822 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6823 # A "../" for each directory in $ac_dir_suffix.
6824 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6826 ac_dir_suffix
= ac_top_builddir
=
6830 .
) # No --srcdir option. We are building in place.
6832 if test -z "$ac_top_builddir"; then
6835 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6837 [\\/]* | ?
:[\\/]* ) # Absolute path.
6838 ac_srcdir
=$srcdir$ac_dir_suffix;
6839 ac_top_srcdir
=$srcdir ;;
6841 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6842 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6845 # Do not use `cd foo && pwd` to compute absolute paths, because
6846 # the directories may not exist.
6848 .
) ac_abs_builddir
="$ac_dir";;
6851 .
) ac_abs_builddir
=`pwd`;;
6852 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6853 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6856 case $ac_abs_builddir in
6857 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6859 case ${ac_top_builddir}.
in
6860 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6861 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6862 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6865 case $ac_abs_builddir in
6866 .
) ac_abs_srcdir
=$ac_srcdir;;
6869 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6870 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6871 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6874 case $ac_abs_builddir in
6875 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6877 case $ac_top_srcdir in
6878 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6879 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6880 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6885 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6886 echo "$as_me: executing $ac_dest commands" >&6;}
6888 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6889 # Strip MF so we end up with the name of the file.
6890 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6891 # Check whether this is an Automake generated Makefile or not.
6892 # We used to match only the files named `Makefile.in', but
6893 # some people rename them; so instead we look at the file content.
6894 # Grep'ing the first line is not enough: some people post-process
6895 # each Makefile.in and add a new line on top of each file to say so.
6896 # So let's grep whole file.
6897 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6898 dirpart
=`(dirname "$mf") 2>/dev/null ||
6899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6900 X"$mf" : 'X\(//\)[^/]' \| \
6901 X"$mf" : 'X\(//\)$' \| \
6902 X"$mf" : 'X\(/\)' \| \
6903 . : '\(.\)' 2>/dev/null ||
6905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6907 /^X\(\/\/\)$/{ s//\1/; q; }
6908 /^X\(\/\).*/{ s//\1/; q; }
6913 # Extract the definition of DEPDIR, am__include, and am__quote
6914 # from the Makefile without running `make'.
6915 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6916 test -z "$DEPDIR" && continue
6917 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6918 test -z "am__include" && continue
6919 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6920 # When using ansi2knr, U may be empty or an underscore; expand it
6921 U
=`sed -n 's/^U = //p' < "$mf"`
6922 # Find all dependency output files, they are included files with
6923 # $(DEPDIR) in their names. We invoke sed twice because it is the
6924 # simplest approach to changing $(DEPDIR) to its actual value in the
6926 for file in `sed -n "
6927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6929 # Make sure the directory exists.
6930 test -f "$dirpart/$file" && continue
6931 fdir
=`(dirname "$file") 2>/dev/null ||
6932 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6933 X"$file" : 'X\(//\)[^/]' \| \
6934 X"$file" : 'X\(//\)$' \| \
6935 X"$file" : 'X\(/\)' \| \
6936 . : '\(.\)' 2>/dev/null ||
6938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6940 /^X\(\/\/\)$/{ s//\1/; q; }
6941 /^X\(\/\).*/{ s//\1/; q; }
6943 { if $as_mkdir_p; then
6944 mkdir
-p $dirpart/$fdir
6946 as_dir
=$dirpart/$fdir
6948 while test ! -d "$as_dir"; do
6949 as_dirs
="$as_dir $as_dirs"
6950 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6952 X"$as_dir" : 'X\(//\)[^/]' \| \
6953 X"$as_dir" : 'X\(//\)$' \| \
6954 X"$as_dir" : 'X\(/\)' \| \
6955 . : '\(.\)' 2>/dev/null ||
6957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6959 /^X\(\/\/\)$/{ s//\1/; q; }
6960 /^X\(\/\).*/{ s//\1/; q; }
6963 test ! -n "$as_dirs" || mkdir
$as_dirs
6964 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6965 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6966 { (exit 1); exit 1; }; }; }
6968 # echo "creating $dirpart/$file"
6969 echo '# dummy' > "$dirpart/$file"
6974 for ac_file
in $CONFIG_FILES; do
6975 # Support "outfile[:infile[:infile...]]"
6977 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6979 # PO directories have a Makefile.in generated from Makefile.in.in.
6980 case "$ac_file" in */Makefile.
in)
6981 # Adjust a relative srcdir.
6982 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6983 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
6984 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6985 # In autoconf-2.13 it is called $ac_given_srcdir.
6986 # In autoconf-2.50 it is called $srcdir.
6987 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
6988 case "$ac_given_srcdir" in
6989 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
6990 /*) top_srcdir
="$ac_given_srcdir" ;;
6991 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6993 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6994 rm -f "$ac_dir/POTFILES"
6995 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
6996 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6997 POMAKEFILEDEPS
="POTFILES.in"
6998 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
6999 # on $ac_dir but don't depend on user-specified configuration
7001 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7002 # The LINGUAS file contains the set of available languages.
7003 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7004 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
7006 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7007 # Hide the ALL_LINGUAS assigment from automake.
7008 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7009 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
7011 # The set of available languages was given in configure.in.
7012 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7014 case "$ac_given_srcdir" in
7016 *) srcdirpre
='$(srcdir)/' ;;
7022 for lang
in $ALL_LINGUAS; do
7023 POFILES
="$POFILES $srcdirpre$lang.po"
7024 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
7025 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
7026 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
7028 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7029 # environment variable.
7031 if test -n "$ALL_LINGUAS"; then
7032 for presentlang
in $ALL_LINGUAS; do
7034 if test "%UNSET%" != "$LINGUAS"; then
7035 desiredlanguages
="$LINGUAS"
7037 desiredlanguages
="$ALL_LINGUAS"
7039 for desiredlang
in $desiredlanguages; do
7040 # Use the presentlang catalog if desiredlang is
7041 # a. equal to presentlang, or
7042 # b. a variant of presentlang (because in this case,
7043 # presentlang can be used as a fallback for messages
7044 # which are not translated in the desiredlang catalog).
7045 case "$desiredlang" in
7046 "$presentlang"*) useit
=yes;;
7049 if test $useit = yes; then
7050 INST_LINGUAS
="$INST_LINGUAS $presentlang"
7055 if test -n "$INST_LINGUAS"; then
7056 for lang
in $INST_LINGUAS; do
7057 CATALOGS
="$CATALOGS $lang.gmo"
7060 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
7061 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"
7062 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
7063 if test -f "$f"; then
7065 *.orig |
*.bak |
*~
) ;;
7066 *) cat "$f" >> "$ac_dir/Makefile" ;;
7078 cat >>$CONFIG_STATUS <<\_ACEOF
7080 { (exit 0); exit 0; }
7082 chmod +x
$CONFIG_STATUS
7083 ac_clean_files
=$ac_clean_files_save
7086 # configure is writing to config.log, and then calls config.status.
7087 # config.status does its own redirection, appending to config.log.
7088 # Unfortunately, on DOS this fails, as config.log is still kept open
7089 # by configure, so config.status won't be able to write to it; its
7090 # output is simply discarded. So we exec the FD to /dev/null,
7091 # effectively closing config.log, so it can be properly (re)opened and
7092 # appended to by config.status. When coming back to configure, we
7093 # need to make the FD available again.
7094 if test "$no_create" != yes; then
7096 ac_config_status_args
=
7097 test "$silent" = yes &&
7098 ac_config_status_args
="$ac_config_status_args --quiet"
7100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7103 # would make configure fail if this is the last instruction.
7104 $ac_cs_success ||
{ (exit 1); exit 1; }