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 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 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS CXXCPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS 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 --disable-dependency-tracking speeds up one-time build
862 --enable-dependency-tracking do not reject slow dependency extractors
863 --disable-nls do not use Native Language Support
864 --enable-werror treat compile warnings as errors
865 --enable-build-warnings enable build-time compiler warnings
866 --enable-maintainer-mode enable make rules and dependencies not useful
867 (and sometimes confusing
) to the casual installer
869 Some influential environment variables
:
870 CC C compiler
command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
873 nonstandard directory
<lib dir
>
874 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
875 headers
in a nonstandard directory
<include dir
>
876 CXX C
++ compiler
command
877 CXXFLAGS C
++ compiler flags
878 CXXCPP C
++ preprocessor
880 Use these variables to override the choices made by
`configure' or to help
881 it to find libraries and programs with nonstandard names/locations.
886 if test "$ac_init_help" = "recursive"; then
887 # If there are subdirs, report their specific --help.
889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890 test -d $ac_dir || continue
893 if test "$ac_dir" != .; then
894 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
895 # A "../" for each directory in $ac_dir_suffix.
896 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
898 ac_dir_suffix= ac_top_builddir=
902 .) # No --srcdir option. We are building in place.
904 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
909 [\\/]* | ?:[\\/]* ) # Absolute path.
910 ac_srcdir=$srcdir$ac_dir_suffix;
911 ac_top_srcdir=$srcdir ;;
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 # Do not use `cd foo
&& pwd` to compute absolute paths, because
918 # the directories may not exist.
920 .) ac_abs_builddir="$ac_dir";;
923 .) ac_abs_builddir=`pwd`;;
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 case $ac_abs_builddir in
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 case ${ac_top_builddir}. in
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 case $ac_abs_builddir in
938 .) ac_abs_srcdir=$ac_srcdir;;
941 .) ac_abs_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 case $ac_abs_builddir in
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 case $ac_top_srcdir in
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by $as_me, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1003 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1004 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1005 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1006 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1009 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1011 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1013 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1014 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1015 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1017 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close
' the trap.
1097 trap 'exit_status
=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var
in $ac_subst_vars
1133 eval ac_val
=$
`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var
in $ac_subst_files
1147 eval ac_val
=$
`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h
; then
1160 sed "/^$/d" confdefs.h |
sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core
*.core
&&
1168 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's
/^
/|
/' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1265 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1290 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322 if test -f $ac_dir/install-sh; then
1324 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 elif test -f $ac_dir/install.sh; then
1328 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 elif test -f $ac_dir/shtool; then
1332 ac_install_sh="$ac_aux_dir/shtool install -c"
1336 if test -z "$ac_aux_dir"; then
1337 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339 { (exit 1); exit 1; }; }
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345 # Make sure we can run config.sub.
1346 $ac_config_sub sun4 >/dev/null 2>&1 ||
1347 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1348 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1349 { (exit 1); exit 1; }; }
1351 echo "$as_me:$LINENO: checking build system type" >&5
1352 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1353 if test "${ac_cv_build+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_build_alias=$build_alias
1357 test -z "$ac_cv_build_alias" &&
1358 ac_cv_build_alias=`$ac_config_guess`
1359 test -z "$ac_cv_build_alias" &&
1360 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1361 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1362 { (exit 1); exit 1; }; }
1363 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1364 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1365 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1366 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1370 echo "${ECHO_T}$ac_cv_build" >&6
1372 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1373 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1374 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1377 echo "$as_me:$LINENO: checking host system type" >&5
1378 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1379 if test "${ac_cv_host+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 ac_cv_host_alias=$host_alias
1383 test -z "$ac_cv_host_alias" &&
1384 ac_cv_host_alias=$ac_cv_build_alias
1385 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1386 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1387 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1388 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1392 echo "${ECHO_T}$ac_cv_host" >&6
1394 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1395 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1396 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1399 echo "$as_me:$LINENO: checking target system type" >&5
1400 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1401 if test "${ac_cv_target+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 ac_cv_target_alias=$target_alias
1405 test "x$ac_cv_target_alias" = "x" &&
1406 ac_cv_target_alias=$ac_cv_host_alias
1407 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1408 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1409 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1410 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1414 echo "${ECHO_T}$ac_cv_target" >&6
1415 target=$ac_cv_target
1416 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1417 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1418 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1421 # The aliases save the names the user supplied, while $host etc.
1422 # will get canonicalized.
1423 test -n "$target_alias" &&
1424 test "$program_prefix$program_suffix$program_transform_name" = \
1426 program_prefix=${target_alias}-
1428 am__api_version="1.9"
1429 # Find a good install program. We prefer a C program (faster),
1430 # so one script is as good as another. But avoid the broken or
1431 # incompatible versions:
1432 # SysV /etc/install, /usr/sbin/install
1433 # SunOS /usr/etc/install
1434 # IRIX /sbin/install
1436 # AmigaOS /C/install, which installs bootblocks on floppy discs
1437 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1440 # OS/2's system install, which has a completely different semantic
1441 # ./install, which can be erroneously created by make from ./install.sh.
1442 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1443 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1444 if test -z "$INSTALL"; then
1445 if test "${ac_cv_path_install+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir
=.
1453 # Account for people who put trailing slashes in PATH elements.
1455 .
/ | .
// |
/cC
/* | \
1456 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1457 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1460 # OSF1 and SCO ODT 3.0 have their own names for install.
1461 # Don't use installbsd from OSF since it installs stuff as root
1463 for ac_prog
in ginstall scoinst
install; do
1464 for ac_exec_ext
in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1466 if test $ac_prog = install &&
1467 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1468 # AIX install. It has an incompatible calling convention.
1470 elif test $ac_prog = install &&
1471 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1472 # program-specific install script used by HP pwplus--don't use.
1475 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1487 if test "${ac_cv_path_install+set}" = set; then
1488 INSTALL
=$ac_cv_path_install
1490 # As a last resort, use the slow shell script. We don't cache a
1491 # path for INSTALL within a source directory, because that will
1492 # break other packages using the cache if that directory is
1493 # removed, or if the path is relative.
1494 INSTALL
=$ac_install_sh
1497 echo "$as_me:$LINENO: result: $INSTALL" >&5
1498 echo "${ECHO_T}$INSTALL" >&6
1500 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1501 # It thinks the first close brace ends the variable substitution.
1502 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1504 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1506 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1508 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1509 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1512 echo timestamp
> conftest.
file
1513 # Do `set' in a subshell so we don't clobber the current shell's
1514 # arguments. Must try -L first in case configure is actually a
1515 # symlink; some systems play weird games with the mod time of symlinks
1516 # (eg FreeBSD returns the mod time of the symlink's containing
1519 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1520 if test "$*" = "X"; then
1522 set X
`ls -t $srcdir/configure conftest.file`
1525 if test "$*" != "X $srcdir/configure conftest.file" \
1526 && test "$*" != "X conftest.file $srcdir/configure"; then
1528 # If neither matched, then we have a broken ls. This can happen
1529 # if, for instance, CONFIG_SHELL is bash and it inherits a
1530 # broken ls alias from the environment. This has actually
1531 # happened. Such a system could not be considered "sane".
1532 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1533 alias in your environment" >&5
1534 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1535 alias in your environment" >&2;}
1536 { (exit 1); exit 1; }; }
1539 test "$2" = conftest.
file
1545 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1546 Check your system clock" >&5
1547 echo "$as_me: error: newly created file is older than distributed files!
1548 Check your system clock" >&2;}
1549 { (exit 1); exit 1; }; }
1551 echo "$as_me:$LINENO: result: yes" >&5
1552 echo "${ECHO_T}yes" >&6
1553 test "$program_prefix" != NONE
&&
1554 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE
&&
1557 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1558 # Double any \ or $. echo might interpret backslashes.
1559 # By default was `s,x,x', remove it if useless.
1560 cat <<\_ACEOF
>conftest.
sed
1561 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1563 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1566 # expand $ac_aux_dir to an absolute path
1567 am_aux_dir
=`cd $ac_aux_dir && pwd`
1569 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1570 # Use eval to expand $SHELL
1571 if eval "$MISSING --run true"; then
1572 am_missing_run
="$MISSING --run "
1575 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1576 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1579 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1580 # We used to keeping the `.' as first argument, in order to
1581 # allow $(mkdir_p) to be used without argument. As in
1582 # $(mkdir_p) $(somedir)
1583 # where $(somedir) is conditionally defined. However this is wrong
1585 # 1. if the package is installed by a user who cannot write `.'
1586 # make install will fail,
1587 # 2. the above comment should most certainly read
1588 # $(mkdir_p) $(DESTDIR)$(somedir)
1589 # so it does not work when $(somedir) is undefined and
1590 # $(DESTDIR) is not.
1591 # To support the latter case, we have to write
1592 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1593 # so the `.' trick is pointless.
1594 mkdir_p
='mkdir -p --'
1596 # On NextStep and OpenStep, the `mkdir' command does not
1597 # recognize any option. It will interpret all options as
1598 # directories to create, and then abort because `.' already
1600 for d
in .
/-p .
/--version;
1602 test -d $d && rmdir $d
1604 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1605 if test -f "$ac_aux_dir/mkinstalldirs"; then
1606 mkdir_p
='$(mkinstalldirs)'
1608 mkdir_p
='$(install_sh) -d'
1612 for ac_prog
in gawk mawk nawk
awk
1614 # Extract the first word of "$ac_prog", so it can be a program name with args.
1615 set dummy
$ac_prog; ac_word
=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_AWK+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$AWK"; then
1622 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_AWK
="$ac_prog"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$AWK"; then
1642 echo "$as_me:$LINENO: result: $AWK" >&5
1643 echo "${ECHO_T}$AWK" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1649 test -n "$AWK" && break
1652 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1653 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1654 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1655 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 cat >conftest.
make <<\_ACEOF
1660 @
echo 'ac_maketemp="$(MAKE)"'
1662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1663 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1664 if test -n "$ac_maketemp"; then
1665 eval ac_cv_prog_make_
${ac_make}_set
=yes
1667 eval ac_cv_prog_make_
${ac_make}_set
=no
1671 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1672 echo "$as_me:$LINENO: result: yes" >&5
1673 echo "${ECHO_T}yes" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1678 SET_MAKE
="MAKE=${MAKE-make}"
1681 rm -rf .tst
2>/dev
/null
1682 mkdir .tst
2>/dev
/null
1683 if test -d .tst
; then
1688 rmdir .tst
2>/dev
/null
1690 # test to see if srcdir already configured
1691 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1692 test -f $srcdir/config.status
; then
1693 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1694 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1695 { (exit 1); exit 1; }; }
1698 # test whether we have cygpath
1699 if test -z "$CYGPATH_W"; then
1700 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1701 CYGPATH_W
='cygpath -w'
1708 # Define the identity of the package.
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE "$PACKAGE"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define VERSION "$VERSION"
1722 # Some tools Automake needs.
1724 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1727 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1730 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1733 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1736 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1738 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1740 # Installed binaries are usually stripped using `strip' when the user
1741 # run `make install-strip'. However `strip' might not be the right
1742 # tool to use in cross-compilation environments, therefore Automake
1743 # will honor the `STRIP' environment variable to overrule this program.
1744 if test "$cross_compiling" != no
; then
1745 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1747 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_STRIP+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$STRIP"; then
1754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 STRIP
=$ac_cv_prog_STRIP
1773 if test -n "$STRIP"; then
1774 echo "$as_me:$LINENO: result: $STRIP" >&5
1775 echo "${ECHO_T}$STRIP" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1782 if test -z "$ac_cv_prog_STRIP"; then
1784 # Extract the first word of "strip", so it can be a program name with args.
1785 set dummy strip
; ac_word
=$2
1786 echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 if test -n "$ac_ct_STRIP"; then
1792 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir
=.
1799 for ac_exec_ext
in '' $ac_executable_extensions; do
1800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1801 ac_cv_prog_ac_ct_STRIP
="strip"
1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1811 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1812 if test -n "$ac_ct_STRIP"; then
1813 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1814 echo "${ECHO_T}$ac_ct_STRIP" >&6
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1822 STRIP
="$ac_cv_prog_STRIP"
1826 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1828 # We need awk for the "check" target. The system "awk" is bad on
1830 # Always define AMTAR for backward compatibility.
1832 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1834 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1841 ac_config_headers
="$ac_config_headers config.h:config.in"
1845 ac_cpp
='$CPP $CPPFLAGS'
1846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1849 if test -n "$ac_tool_prefix"; then
1850 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1851 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$CC"; then
1858 ac_cv_prog_CC
="$CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1886 if test -z "$ac_cv_prog_CC"; then
1888 # Extract the first word of "gcc", so it can be a program name with args.
1889 set dummy gcc
; ac_word
=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$ac_ct_CC"; then
1896 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_ac_ct_CC
="gcc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1915 if test -n "$ac_ct_CC"; then
1916 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1917 echo "${ECHO_T}$ac_ct_CC" >&6
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_CC+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC
="$CC" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$CC"; then
1958 echo "$as_me:$LINENO: result: $CC" >&5
1959 echo "${ECHO_T}$CC" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1966 if test -z "$ac_cv_prog_CC"; then
1968 # Extract the first word of "cc", so it can be a program name with args.
1969 set dummy cc
; ac_word
=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$ac_ct_CC"; then
1976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir
=.
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 ac_cv_prog_ac_ct_CC
="cc"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1995 if test -n "$ac_ct_CC"; then
1996 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1997 echo "${ECHO_T}$ac_ct_CC" >&6
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2009 if test -z "$CC"; then
2010 # Extract the first word of "cc", so it can be a program name with args.
2011 set dummy cc
; ac_word
=$2
2012 echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2014 if test "${ac_cv_prog_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$CC"; then
2018 ac_cv_prog_CC
="$CC" # Let the user override the test.
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 for ac_exec_ext
in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2029 ac_prog_rejected
=yes
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 if test $ac_prog_rejected = yes; then
2040 # We found a bogon in the path, so make sure we never use it.
2041 set dummy
$ac_cv_prog_CC
2043 if test $# != 0; then
2044 # We chose a different compiler from the bogus one.
2045 # However, it has the same basename, so the bogon will be chosen
2046 # first if we set CC to just the basename; use the full file name.
2048 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2054 if test -n "$CC"; then
2055 echo "$as_me:$LINENO: result: $CC" >&5
2056 echo "${ECHO_T}$CC" >&6
2058 echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6
2063 if test -z "$CC"; then
2064 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC
="$CC" # Let the user override the test.
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 for ac_exec_ext
in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2102 test -n "$CC" && break
2105 if test -z "$CC"; then
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy
$ac_prog; ac_word
=$2
2111 echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir
=.
2124 for ac_exec_ext
in '' $ac_executable_extensions; do
2125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126 ac_cv_prog_ac_ct_CC
="$ac_prog"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2138 echo "${ECHO_T}$ac_ct_CC" >&6
2140 echo "$as_me:$LINENO: result: no" >&5
2141 echo "${ECHO_T}no" >&6
2144 test -n "$ac_ct_CC" && break
2153 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2154 See \`config.log' for more details." >&5
2155 echo "$as_me: error: no acceptable C compiler found in \$PATH
2156 See \`config.log' for more details." >&2;}
2157 { (exit 1); exit 1; }; }
2159 # Provide some information about the compiler.
2160 echo "$as_me:$LINENO:" \
2161 "checking for C compiler version" >&5
2162 ac_compiler
=`set X $ac_compile; echo $2`
2163 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2164 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }
2168 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2169 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }
2173 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2174 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }
2179 cat >conftest.
$ac_ext <<_ACEOF
2182 cat confdefs.h
>>conftest.
$ac_ext
2183 cat >>conftest.
$ac_ext <<_ACEOF
2184 /* end confdefs.h. */
2194 ac_clean_files_save
=$ac_clean_files
2195 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2196 # Try to create an executable without -o first, disregard a.out.
2197 # It will help us diagnose broken compilers, and finding out an intuition
2199 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2200 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2201 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2202 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2203 (eval $ac_link_default) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; then
2207 # Find the output, starting from the most likely. This scheme is
2208 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2211 # Be careful to initialize this variable, since it used to be cached.
2212 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2214 # b.out is created by i960 compilers.
2215 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2217 test -f "$ac_file" ||
continue
2219 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2222 # This is the source file.
2225 # We found the default executable, but exeext='' is most
2229 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230 # FIXME: I believe we export ac_cv_exeext for Libtool,
2231 # but it would be cool to find out if it's true. Does anybody
2232 # maintain Libtool? --akim.
2240 echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.
$ac_ext >&5
2243 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2244 See \`config.log' for more details." >&5
2245 echo "$as_me: error: C compiler cannot create executables
2246 See \`config.log' for more details." >&2;}
2247 { (exit 77); exit 77; }; }
2250 ac_exeext
=$ac_cv_exeext
2251 echo "$as_me:$LINENO: result: $ac_file" >&5
2252 echo "${ECHO_T}$ac_file" >&6
2254 # Check the compiler produces executables we can run. If not, either
2255 # the compiler is broken, or we cross compile.
2256 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2257 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2258 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2259 # If not cross compiling, check that we can run a simple program.
2260 if test "$cross_compiling" != yes; then
2261 if { ac_try
='./$ac_file'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; }; then
2269 if test "$cross_compiling" = maybe
; then
2272 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2273 If you meant to cross compile, use \`--host'.
2274 See \`config.log' for more details." >&5
2275 echo "$as_me: error: cannot run C compiled programs.
2276 If you meant to cross compile, use \`--host'.
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2282 echo "$as_me:$LINENO: result: yes" >&5
2283 echo "${ECHO_T}yes" >&6
2285 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2286 ac_clean_files
=$ac_clean_files_save
2287 # Check the compiler produces executables we can run. If not, either
2288 # the compiler is broken, or we cross compile.
2289 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2290 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2291 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2292 echo "${ECHO_T}$cross_compiling" >&6
2294 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2295 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2297 (eval $ac_link) 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; then
2301 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2302 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2303 # work properly (i.e., refer to `conftest.exe'), while it won't with
2305 for ac_file
in conftest.exe conftest conftest.
*; do
2306 test -f "$ac_file" ||
continue
2308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2309 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2319 See \`config.log' for more details." >&2;}
2320 { (exit 1); exit 1; }; }
2323 rm -f conftest
$ac_cv_exeext
2324 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2325 echo "${ECHO_T}$ac_cv_exeext" >&6
2327 rm -f conftest.
$ac_ext
2328 EXEEXT
=$ac_cv_exeext
2330 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2332 if test "${ac_cv_objext+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 cat >conftest.
$ac_ext <<_ACEOF
2338 cat confdefs.h
>>conftest.
$ac_ext
2339 cat >>conftest.
$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2350 rm -f conftest.o conftest.obj
2351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352 (eval $ac_compile) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; then
2356 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2358 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2359 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2367 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2368 See \`config.log' for more details." >&5
2369 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2374 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2376 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2377 echo "${ECHO_T}$ac_cv_objext" >&6
2378 OBJEXT
=$ac_cv_objext
2380 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2381 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2382 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 cat >conftest.
$ac_ext <<_ACEOF
2388 cat confdefs.h
>>conftest.
$ac_ext
2389 cat >>conftest.
$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2403 rm -f conftest.
$ac_objext
2404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2407 grep -v '^ *+' conftest.er1
>conftest.err
2409 cat conftest.err
>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try
='test -z "$ac_c_werror_flag"
2413 || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try
='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.
$ac_ext >&5
2432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2433 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2436 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2437 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2438 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2439 ac_test_CFLAGS
=${CFLAGS+set}
2440 ac_save_CFLAGS
=$CFLAGS
2442 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2443 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2444 if test "${ac_cv_prog_cc_g+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2462 rm -f conftest.
$ac_objext
2463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2464 (eval $ac_compile) 2>conftest.er1
2466 grep -v '^ *+' conftest.er1
>conftest.err
2468 cat conftest.err
>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); } &&
2471 { ac_try
='test -z "$ac_c_werror_flag"
2472 || test ! -s conftest.err'
2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; } &&
2478 { ac_try
='test -s conftest.$ac_objext'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2493 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2494 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2495 if test "$ac_test_CFLAGS" = set; then
2496 CFLAGS
=$ac_save_CFLAGS
2497 elif test $ac_cv_prog_cc_g = yes; then
2498 if test "$GCC" = yes; then
2504 if test "$GCC" = yes; then
2510 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2511 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2512 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 ac_cv_prog_cc_stdc
=no
2517 cat >conftest.
$ac_ext <<_ACEOF
2520 cat confdefs.h
>>conftest.
$ac_ext
2521 cat >>conftest.
$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2525 #include <sys/types.h>
2526 #include <sys/stat.h>
2527 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2528 struct buf { int x; };
2529 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2530 static char *e (p, i)
2536 static char *f (char * (*g) (char **, int), char **p, ...)
2541 s = g (p, va_arg (v,int));
2546 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2547 function prototypes and stuff, but not '\xHH' hex character constants.
2548 These don't provoke an error unfortunately, instead are silently treated
2549 as 'x'. The following induces an error, until -std1 is added to get
2550 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2551 array size at least. It's necessary to write '\x00'==0 to get something
2552 that's true only with -std1. */
2553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2555 int test (int i, double x);
2556 struct s1 {int (*f) (int a);};
2557 struct s2 {int (*f) (double a);};
2558 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2564 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2569 # Don't try gcc -ansi; that turns off useful extensions and
2570 # breaks some systems' header files.
2571 # AIX -qlanglvl=ansi
2572 # Ultrix and OSF/1 -std1
2573 # HP-UX 10.20 and later -Ae
2574 # HP-UX older versions -Aa -D_HPUX_SOURCE
2575 # SVR4 -Xc -D__EXTENSIONS__
2576 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2578 CC
="$ac_save_CC $ac_arg"
2579 rm -f conftest.
$ac_objext
2580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581 (eval $ac_compile) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1
>conftest.err
2585 cat conftest.err
>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } &&
2588 { ac_try
='test -z "$ac_c_werror_flag"
2589 || test ! -s conftest.err'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; } &&
2595 { ac_try
='test -s conftest.$ac_objext'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; }; then
2601 ac_cv_prog_cc_stdc
=$ac_arg
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.
$ac_ext >&5
2608 rm -f conftest.err conftest.
$ac_objext
2610 rm -f conftest.
$ac_ext conftest.
$ac_objext
2615 case "x$ac_cv_prog_cc_stdc" in
2617 echo "$as_me:$LINENO: result: none needed" >&5
2618 echo "${ECHO_T}none needed" >&6 ;;
2620 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2621 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2622 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2625 # Some people use a C++ compiler to compile C. Since we use `exit',
2626 # in C++ we need to declare it. In case someone uses the same compiler
2627 # for both compiling C and C++ we need to have the C++ compiler decide
2628 # the declaration of exit, since it's the most demanding environment.
2629 cat >conftest.
$ac_ext <<_ACEOF
2634 rm -f conftest.
$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1
>conftest.err
2640 cat conftest.err
>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try
='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try
='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2656 for ac_declaration
in \
2658 'extern "C" void std::exit (int) throw (); using std::exit;' \
2659 'extern "C" void std::exit (int); using std::exit;' \
2660 'extern "C" void exit (int) throw ();' \
2661 'extern "C" void exit (int);' \
2664 cat >conftest.
$ac_ext <<_ACEOF
2667 cat confdefs.h
>>conftest.
$ac_ext
2668 cat >>conftest.
$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2680 rm -f conftest.
$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1
>conftest.err
2686 cat conftest.err
>&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try
='test -z "$ac_c_werror_flag"
2690 || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try
='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try
='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try
='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.
$ac_ext >&5
2753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 if test -n "$ac_declaration"; then
2757 echo '#ifdef __cplusplus' >>confdefs.h
2758 echo $ac_declaration >>confdefs.h
2759 echo '#endif' >>confdefs.h
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2769 ac_cpp
='$CPP $CPPFLAGS'
2770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2773 DEPDIR
="${am__leading_dot}deps"
2775 ac_config_commands
="$ac_config_commands depfiles"
2778 am_make
=${MAKE-make}
2779 cat > confinc
<< 'END'
2784 # If we don't find an include directive, just comment out the code.
2785 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2786 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2790 # First try GNU make style include.
2791 echo "include confinc" > confmf
2792 # We grep out `Entering directory' and `Leaving directory'
2793 # messages which can occur if `w' ends up in MAKEFLAGS.
2794 # In particular we don't look at `^make:' because GNU make might
2795 # be invoked under some other name (usually "gmake"), in which
2796 # case it prints its new name instead of `make'.
2797 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2802 # Now try BSD make style include.
2803 if test "$am__include" = "#"; then
2804 echo '.include "confinc"' > confmf
2805 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2806 am__include
=.include
2813 echo "$as_me:$LINENO: result: $_am_result" >&5
2814 echo "${ECHO_T}$_am_result" >&6
2815 rm -f confinc confmf
2817 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2818 if test "${enable_dependency_tracking+set}" = set; then
2819 enableval
="$enable_dependency_tracking"
2822 if test "x$enable_dependency_tracking" != xno
; then
2823 am_depcomp
="$ac_aux_dir/depcomp"
2828 if test "x$enable_dependency_tracking" != xno; then
2839 depcc
="$CC" am_compiler_list
=
2841 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2842 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2843 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2847 # We make a subdir and do the tests there. Otherwise we can end up
2848 # making bogus files that we don't know about and never remove. For
2849 # instance it was reported that on HP-UX the gcc test will end up
2850 # making a dummy file named `D' -- because `-MD' means `put the output
2853 # Copy depcomp to subdir because otherwise we won't find it if we're
2854 # using a relative directory.
2855 cp "$am_depcomp" conftest.dir
2857 # We will build objects and dependencies in a subdirectory because
2858 # it helps to detect inapplicable dependency modes. For instance
2859 # both Tru64's cc and ICC support -MD to output dependencies as a
2860 # side effect of compilation, but ICC will put the dependencies in
2861 # the current directory while Tru64 will put them in the object
2865 am_cv_CC_dependencies_compiler_type
=none
2866 if test "$am_compiler_list" = ""; then
2867 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2869 for depmode
in $am_compiler_list; do
2870 # Setup a source with many dependencies, because some compilers
2871 # like to wrap large dependency lists on column 80 (with \), and
2872 # we should not choose a depcomp mode which is confused by this.
2874 # We need to recreate these files for each test, as the compiler may
2875 # overwrite some of them when testing with obscure command lines.
2876 # This happens at least with the AIX C compiler.
2878 for i
in 1 2 3 4 5 6; do
2879 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2880 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2881 # Solaris 8's {/usr,}/bin/sh.
2882 touch sub
/conftst
$i.h
2884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2888 # after this tag, mechanisms are not by side-effect, so they'll
2889 # only be used when explicitly requested
2890 if test "x$enable_dependency_tracking" = xyes
; then
2898 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2899 # mode. It turns out that the SunPro C++ compiler does not properly
2900 # handle `-M -o', and we need to detect this.
2901 if depmode
=$depmode \
2902 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2903 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2904 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2905 >/dev
/null
2>conftest.err
&&
2906 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2907 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2908 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2909 # icc doesn't choke on unknown options, it will just issue warnings
2910 # or remarks (even with -Werror). So we grep stderr for any message
2911 # that says an option was ignored or not supported.
2912 # When given -MP, icc 7.0 and 7.1 complain thusly:
2913 # icc: Command line warning: ignoring option '-M'; no argument required
2914 # The diagnosis changed in icc 8.0:
2915 # icc: Command line remark: option '-MP' not supported
2916 if (grep 'ignoring option' conftest.err ||
2917 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2918 am_cv_CC_dependencies_compiler_type
=$depmode
2927 am_cv_CC_dependencies_compiler_type
=none
2931 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2932 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2933 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2938 test "x$enable_dependency_tracking" != xno \
2939 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2941 am__fastdepCC_FALSE
='#'
2943 am__fastdepCC_TRUE
='#'
2944 am__fastdepCC_FALSE
=
2949 ac_cpp
='$CXXCPP $CPPFLAGS'
2950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2958 echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2960 if test "${ac_cv_prog_CXX+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test -n "$CXX"; then
2964 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CXX"; then
2984 echo "$as_me:$LINENO: result: $CXX" >&5
2985 echo "${ECHO_T}$CXX" >&6
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2991 test -n "$CXX" && break
2994 if test -z "$CXX"; then
2996 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2998 # Extract the first word of "$ac_prog", so it can be a program name with args.
2999 set dummy
$ac_prog; ac_word
=$2
3000 echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3002 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 if test -n "$ac_ct_CXX"; then
3006 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3025 if test -n "$ac_ct_CXX"; then
3026 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3027 echo "${ECHO_T}$ac_ct_CXX" >&6
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3033 test -n "$ac_ct_CXX" && break
3035 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3041 # Provide some information about the compiler.
3042 echo "$as_me:$LINENO:" \
3043 "checking for C++ compiler version" >&5
3044 ac_compiler
=`set X $ac_compile; echo $2`
3045 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3046 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }
3050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3051 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }
3055 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3056 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }
3061 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3062 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3063 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 cat >conftest.
$ac_ext <<_ACEOF
3069 cat confdefs.h
>>conftest.
$ac_ext
3070 cat >>conftest.
$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3084 rm -f conftest.
$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } &&
3093 { ac_try
='test -z "$ac_cxx_werror_flag"
3094 || test ! -s conftest.err'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; } &&
3100 { ac_try
='test -s conftest.$ac_objext'
3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.
$ac_ext >&5
3113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3114 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3117 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3118 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3119 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3120 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3121 ac_save_CXXFLAGS
=$CXXFLAGS
3123 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3124 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3125 if test "${ac_cv_prog_cxx_g+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 cat >conftest.
$ac_ext <<_ACEOF
3131 cat confdefs.h
>>conftest.
$ac_ext
3132 cat >>conftest.
$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3143 rm -f conftest.
$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try
='test -z "$ac_cxx_werror_flag"
3153 || test ! -s conftest.err'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; } &&
3159 { ac_try
='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3165 ac_cv_prog_cxx_g
=yes
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.
$ac_ext >&5
3172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3175 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3176 if test "$ac_test_CXXFLAGS" = set; then
3177 CXXFLAGS
=$ac_save_CXXFLAGS
3178 elif test $ac_cv_prog_cxx_g = yes; then
3179 if test "$GXX" = yes; then
3185 if test "$GXX" = yes; then
3191 for ac_declaration
in \
3193 'extern "C" void std::exit (int) throw (); using std::exit;' \
3194 'extern "C" void std::exit (int); using std::exit;' \
3195 'extern "C" void exit (int) throw ();' \
3196 'extern "C" void exit (int);' \
3199 cat >conftest.
$ac_ext <<_ACEOF
3202 cat confdefs.h
>>conftest.
$ac_ext
3203 cat >>conftest.
$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3215 rm -f conftest.
$ac_objext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217 (eval $ac_compile) 2>conftest.er1
3219 grep -v '^ *+' conftest.er1
>conftest.err
3221 cat conftest.err
>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } &&
3224 { ac_try
='test -z "$ac_cxx_werror_flag"
3225 || test ! -s conftest.err'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; } &&
3231 { ac_try
='test -s conftest.$ac_objext'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; }; then
3239 echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.
$ac_ext >&5
3244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3245 cat >conftest.
$ac_ext <<_ACEOF
3248 cat confdefs.h
>>conftest.
$ac_ext
3249 cat >>conftest.
$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3260 rm -f conftest.
$ac_objext
3261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3262 (eval $ac_compile) 2>conftest.er1
3264 grep -v '^ *+' conftest.er1
>conftest.err
3266 cat conftest.err
>&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try
='test -z "$ac_cxx_werror_flag"
3270 || test ! -s conftest.err'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; } &&
3276 { ac_try
='test -s conftest.$ac_objext'
3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; }; then
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.
$ac_ext >&5
3288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3291 if test -n "$ac_declaration"; then
3292 echo '#ifdef __cplusplus' >>confdefs.h
3293 echo $ac_declaration >>confdefs.h
3294 echo '#endif' >>confdefs.h
3298 ac_cpp
='$CPP $CPPFLAGS'
3299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3303 depcc
="$CXX" am_compiler_list
=
3305 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3306 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3307 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3311 # We make a subdir and do the tests there. Otherwise we can end up
3312 # making bogus files that we don't know about and never remove. For
3313 # instance it was reported that on HP-UX the gcc test will end up
3314 # making a dummy file named `D' -- because `-MD' means `put the output
3317 # Copy depcomp to subdir because otherwise we won't find it if we're
3318 # using a relative directory.
3319 cp "$am_depcomp" conftest.dir
3321 # We will build objects and dependencies in a subdirectory because
3322 # it helps to detect inapplicable dependency modes. For instance
3323 # both Tru64's cc and ICC support -MD to output dependencies as a
3324 # side effect of compilation, but ICC will put the dependencies in
3325 # the current directory while Tru64 will put them in the object
3329 am_cv_CXX_dependencies_compiler_type
=none
3330 if test "$am_compiler_list" = ""; then
3331 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3333 for depmode
in $am_compiler_list; do
3334 # Setup a source with many dependencies, because some compilers
3335 # like to wrap large dependency lists on column 80 (with \), and
3336 # we should not choose a depcomp mode which is confused by this.
3338 # We need to recreate these files for each test, as the compiler may
3339 # overwrite some of them when testing with obscure command lines.
3340 # This happens at least with the AIX C compiler.
3342 for i
in 1 2 3 4 5 6; do
3343 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3344 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3345 # Solaris 8's {/usr,}/bin/sh.
3346 touch sub
/conftst
$i.h
3348 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3352 # after this tag, mechanisms are not by side-effect, so they'll
3353 # only be used when explicitly requested
3354 if test "x$enable_dependency_tracking" = xyes
; then
3362 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3363 # mode. It turns out that the SunPro C++ compiler does not properly
3364 # handle `-M -o', and we need to detect this.
3365 if depmode
=$depmode \
3366 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3367 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3368 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3369 >/dev
/null
2>conftest.err
&&
3370 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3371 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3372 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3373 # icc doesn't choke on unknown options, it will just issue warnings
3374 # or remarks (even with -Werror). So we grep stderr for any message
3375 # that says an option was ignored or not supported.
3376 # When given -MP, icc 7.0 and 7.1 complain thusly:
3377 # icc: Command line warning: ignoring option '-M'; no argument required
3378 # The diagnosis changed in icc 8.0:
3379 # icc: Command line remark: option '-MP' not supported
3380 if (grep 'ignoring option' conftest.err ||
3381 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3382 am_cv_CXX_dependencies_compiler_type
=$depmode
3391 am_cv_CXX_dependencies_compiler_type
=none
3395 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3396 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3397 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3402 test "x$enable_dependency_tracking" != xno \
3403 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3404 am__fastdepCXX_TRUE
=
3405 am__fastdepCXX_FALSE
='#'
3407 am__fastdepCXX_TRUE
='#'
3408 am__fastdepCXX_FALSE
=
3412 # Find a good install program. We prefer a C program (faster),
3413 # so one script is as good as another. But avoid the broken or
3414 # incompatible versions:
3415 # SysV /etc/install, /usr/sbin/install
3416 # SunOS /usr/etc/install
3417 # IRIX /sbin/install
3419 # AmigaOS /C/install, which installs bootblocks on floppy discs
3420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3423 # OS/2's system install, which has a completely different semantic
3424 # ./install, which can be erroneously created by make from ./install.sh.
3425 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3426 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3427 if test -z "$INSTALL"; then
3428 if test "${ac_cv_path_install+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 # Account for people who put trailing slashes in PATH elements.
3438 .
/ | .
// |
/cC
/* | \
3439 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3440 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3443 # OSF1 and SCO ODT 3.0 have their own names for install.
3444 # Don't use installbsd from OSF since it installs stuff as root
3446 for ac_prog
in ginstall scoinst
install; do
3447 for ac_exec_ext
in '' $ac_executable_extensions; do
3448 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3449 if test $ac_prog = install &&
3450 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3451 # AIX install. It has an incompatible calling convention.
3453 elif test $ac_prog = install &&
3454 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3455 # program-specific install script used by HP pwplus--don't use.
3458 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3470 if test "${ac_cv_path_install+set}" = set; then
3471 INSTALL
=$ac_cv_path_install
3473 # As a last resort, use the slow shell script. We don't cache a
3474 # path for INSTALL within a source directory, because that will
3475 # break other packages using the cache if that directory is
3476 # removed, or if the path is relative.
3477 INSTALL
=$ac_install_sh
3480 echo "$as_me:$LINENO: result: $INSTALL" >&5
3481 echo "${ECHO_T}$INSTALL" >&6
3483 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3484 # It thinks the first close brace ends the variable substitution.
3485 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3487 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3489 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3491 # If we haven't got the data from the intl directory,
3492 # assume NLS is disabled.
3501 if test -f ..
/intl
/config.intl
; then
3502 . ..
/intl
/config.intl
3504 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3505 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3506 if test x
"$USE_NLS" != xyes
; then
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3510 echo "$as_me:$LINENO: result: yes" >&5
3511 echo "${ECHO_T}yes" >&6
3513 cat >>confdefs.h
<<\_ACEOF
3514 #define ENABLE_NLS 1
3518 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3519 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3520 # Look for .po and .gmo files in the source directory.
3523 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3524 # If there aren't any .gmo files the shell will give us the
3525 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3527 case "$cat" in *\
**)
3530 # The quadruple backslash is collapsed to a double backslash
3531 # by the backticks, then collapsed again by the double quotes,
3532 # leaving us with one backslash in the sed expression (right
3533 # before the dot that mustn't act as a wildcard).
3534 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3535 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3536 # The user is allowed to set LINGUAS to a list of languages to
3537 # install catalogs for. If it's empty that means "all of them."
3538 if test "x$LINGUAS" = x
; then
3539 CATALOGS
="$CATALOGS $cat"
3540 XLINGUAS
="$XLINGUAS $lang"
3542 case "$LINGUAS" in *$lang*)
3543 CATALOGS
="$CATALOGS $cat"
3544 XLINGUAS
="$XLINGUAS $lang"
3550 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3551 echo "${ECHO_T}$LINGUAS" >&6
3565 if test -n "$ac_aux_dir"; then
3566 case "$ac_aux_dir" in
3567 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3568 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3571 if test -z "$MKINSTALLDIRS"; then
3572 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3577 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3578 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3579 # Check whether --enable-nls or --disable-nls was given.
3580 if test "${enable_nls+set}" = set; then
3581 enableval
="$enable_nls"
3586 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3587 echo "${ECHO_T}$USE_NLS" >&6
3594 # Prepare PATH_SEPARATOR.
3595 # The user is always right.
3596 if test "${PATH_SEPARATOR+set}" != set; then
3597 echo "#! /bin/sh" >conf$$.sh
3598 echo "exit 0" >>conf$$.sh
3600 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3608 # Find out how to test for executable files. Don't use a zero-byte file,
3609 # as systems may use methods other than mode bits to determine executability.
3610 cat >conf$$.
file <<_ASEOF
3614 chmod +x conf$$.
file
3615 if test -x conf$$.
file >/dev
/null
2>&1; then
3616 ac_executable_p
="test -x"
3618 ac_executable_p
="test -f"
3622 # Extract the first word of "msgfmt", so it can be a program name with args.
3623 set dummy msgfmt
; ac_word
=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_path_MSGFMT+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3634 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3635 for ac_dir
in $PATH; do
3637 test -z "$ac_dir" && ac_dir
=.
3638 for ac_exec_ext
in '' $ac_executable_extensions; do
3639 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3640 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3641 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3642 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3649 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3653 MSGFMT
="$ac_cv_path_MSGFMT"
3654 if test "$MSGFMT" != ":"; then
3655 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3656 echo "${ECHO_T}$MSGFMT" >&6
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3662 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3663 set dummy gmsgfmt
; ac_word
=$2
3664 echo "$as_me:$LINENO: checking for $ac_word" >&5
3665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3666 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3681 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3692 GMSGFMT
=$ac_cv_path_GMSGFMT
3694 if test -n "$GMSGFMT"; then
3695 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3696 echo "${ECHO_T}$GMSGFMT" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 # Prepare PATH_SEPARATOR.
3705 # The user is always right.
3706 if test "${PATH_SEPARATOR+set}" != set; then
3707 echo "#! /bin/sh" >conf$$.sh
3708 echo "exit 0" >>conf$$.sh
3710 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3718 # Find out how to test for executable files. Don't use a zero-byte file,
3719 # as systems may use methods other than mode bits to determine executability.
3720 cat >conf$$.
file <<_ASEOF
3724 chmod +x conf$$.
file
3725 if test -x conf$$.
file >/dev
/null
2>&1; then
3726 ac_executable_p
="test -x"
3728 ac_executable_p
="test -f"
3732 # Extract the first word of "xgettext", so it can be a program name with args.
3733 set dummy xgettext
; ac_word
=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_path_XGETTEXT+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3744 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3745 for ac_dir
in $PATH; do
3747 test -z "$ac_dir" && ac_dir
=.
3748 for ac_exec_ext
in '' $ac_executable_extensions; do
3749 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3750 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3751 (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
3752 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3759 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3763 XGETTEXT
="$ac_cv_path_XGETTEXT"
3764 if test "$XGETTEXT" != ":"; then
3765 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3766 echo "${ECHO_T}$XGETTEXT" >&6
3768 echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6
3775 # Prepare PATH_SEPARATOR.
3776 # The user is always right.
3777 if test "${PATH_SEPARATOR+set}" != set; then
3778 echo "#! /bin/sh" >conf$$.sh
3779 echo "exit 0" >>conf$$.sh
3781 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3789 # Find out how to test for executable files. Don't use a zero-byte file,
3790 # as systems may use methods other than mode bits to determine executability.
3791 cat >conf$$.
file <<_ASEOF
3795 chmod +x conf$$.
file
3796 if test -x conf$$.
file >/dev
/null
2>&1; then
3797 ac_executable_p
="test -x"
3799 ac_executable_p
="test -f"
3803 # Extract the first word of "msgmerge", so it can be a program name with args.
3804 set dummy msgmerge
; ac_word
=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_path_MSGMERGE+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3815 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3816 for ac_dir
in $PATH; do
3818 test -z "$ac_dir" && ac_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3821 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3822 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3829 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3833 MSGMERGE
="$ac_cv_path_MSGMERGE"
3834 if test "$MSGMERGE" != ":"; then
3835 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3836 echo "${ECHO_T}$MSGMERGE" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3843 if test "$GMSGFMT" != ":"; then
3844 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3845 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3848 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3849 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3850 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
3855 if test "$XGETTEXT" != ":"; then
3856 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3857 (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
3860 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3861 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3867 ac_config_commands
="$ac_config_commands default-1"
3872 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3873 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3874 if test "${ac_cv_c_bigendian+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 # See if sys/param.h defines the BYTE_ORDER macro.
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3884 #include <sys/types.h>
3885 #include <sys/param.h>
3890 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3898 rm -f conftest.
$ac_objext
3899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3900 (eval $ac_compile) 2>conftest.er1
3902 grep -v '^ *+' conftest.er1
>conftest.err
3904 cat conftest.err
>&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } &&
3907 { ac_try
='test -z "$ac_c_werror_flag"
3908 || test ! -s conftest.err'
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); }; } &&
3914 { ac_try
='test -s conftest.$ac_objext'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; }; then
3920 # It does; now see whether it defined to BIG_ENDIAN or not.
3921 cat >conftest.
$ac_ext <<_ACEOF
3924 cat confdefs.h
>>conftest.
$ac_ext
3925 cat >>conftest.
$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3927 #include <sys/types.h>
3928 #include <sys/param.h>
3933 #if BYTE_ORDER != BIG_ENDIAN
3941 rm -f conftest.
$ac_objext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3943 (eval $ac_compile) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1
>conftest.err
3947 cat conftest.err
>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try
='test -z "$ac_c_werror_flag"
3951 || test ! -s conftest.err'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; } &&
3957 { ac_try
='test -s conftest.$ac_objext'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
3963 ac_cv_c_bigendian
=yes
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3968 ac_cv_c_bigendian
=no
3970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.
$ac_ext >&5
3975 # It does not; compile a test program.
3976 if test "$cross_compiling" = yes; then
3977 # try to guess the endianness by grepping values into an object file
3978 ac_cv_c_bigendian
=unknown
3979 cat >conftest.
$ac_ext <<_ACEOF
3982 cat confdefs.h
>>conftest.
$ac_ext
3983 cat >>conftest.
$ac_ext <<_ACEOF
3984 /* end confdefs.h. */
3985 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3986 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3987 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3988 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3989 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3990 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3994 _ascii (); _ebcdic ();
3999 rm -f conftest.
$ac_objext
4000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4001 (eval $ac_compile) 2>conftest.er1
4003 grep -v '^ *+' conftest.er1
>conftest.err
4005 cat conftest.err
>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } &&
4008 { ac_try
='test -z "$ac_c_werror_flag"
4009 || test ! -s conftest.err'
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }; } &&
4015 { ac_try
='test -s conftest.$ac_objext'
4016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); }; }; then
4021 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4022 ac_cv_c_bigendian
=yes
4024 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4025 if test "$ac_cv_c_bigendian" = unknown
; then
4026 ac_cv_c_bigendian
=no
4028 # finding both strings is unlikely to happen, but who knows?
4029 ac_cv_c_bigendian
=unknown
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.
$ac_ext >&5
4037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4039 cat >conftest.
$ac_ext <<_ACEOF
4042 cat confdefs.h
>>conftest.
$ac_ext
4043 cat >>conftest.
$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4048 /* Are we little or big endian? From Harbison&Steele. */
4052 char c[sizeof (long)];
4055 exit (u.c[sizeof (long) - 1] == 1);
4058 rm -f conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4069 ac_cv_c_bigendian
=no
4071 echo "$as_me: program exited with status $ac_status" >&5
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4076 ac_cv_c_bigendian
=yes
4078 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4083 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4084 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4085 case $ac_cv_c_bigendian in
4088 cat >>confdefs.h
<<\_ACEOF
4089 #define WORDS_BIGENDIAN 1
4095 { { echo "$as_me:$LINENO: error: unknown endianness
4096 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4097 echo "$as_me: error: unknown endianness
4098 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4099 { (exit 1); exit 1; }; } ;;
4106 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4108 # Check whether --enable-werror or --disable-werror was given.
4109 if test "${enable_werror+set}" = set; then
4110 enableval
="$enable_werror"
4111 case "${enableval}" in
4112 yes | y
) ERROR_ON_WARNING
="yes" ;;
4113 no | n
) ERROR_ON_WARNING
="no" ;;
4114 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4115 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4116 { (exit 1); exit 1; }; } ;;
4120 # Enable -Werror by default when using gcc
4121 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4122 ERROR_ON_WARNING
=yes
4126 if test "${ERROR_ON_WARNING}" = yes ; then
4127 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4128 NO_WERROR
="-Wno-error"
4131 if test "${GCC}" = yes ; then
4132 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4135 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4136 if test "${enable_build_warnings+set}" = set; then
4137 enableval
="$enable_build_warnings"
4138 case "${enableval}" in
4139 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4140 no
) if test "${GCC}" = yes ; then
4143 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4144 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4145 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4146 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4147 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4151 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4152 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4159 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4162 LFS_CXXFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4166 ac_cpp
='$CXXCPP $CPPFLAGS'
4167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4174 ac_cpp
='$CXXCPP $CPPFLAGS'
4175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4178 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4179 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4180 if test -z "$CXXCPP"; then
4181 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 # Double quotes because CXXCPP needs to be expanded
4185 for CXXCPP
in "$CXX -E" "/lib/cpp"
4188 for ac_cxx_preproc_warn_flag
in '' yes
4190 # Use a header file that comes with gcc, so configuring glibc
4191 # with a fresh cross-compiler works.
4192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4193 # <limits.h> exists even on freestanding compilers.
4194 # On the NeXT, cc -E runs the code through the compiler's parser,
4195 # not just through cpp. "Syntax error" is here to catch this case.
4196 cat >conftest.
$ac_ext <<_ACEOF
4199 cat confdefs.h
>>conftest.
$ac_ext
4200 cat >>conftest.
$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4203 # include <limits.h>
4205 # include <assert.h>
4209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } >/dev
/null
; then
4217 if test -s conftest.err
; then
4218 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4219 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4226 if test -z "$ac_cpp_err"; then
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 # Broken: fails on valid input.
4235 rm -f conftest.err conftest.
$ac_ext
4237 # OK, works on sane cases. Now check whether non-existent headers
4238 # can be detected and how.
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 #include <ac_nonexistent.h>
4247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4250 grep -v '^ *+' conftest.er1
>conftest.err
4252 cat conftest.err
>&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } >/dev
/null
; then
4255 if test -s conftest.err
; then
4256 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4257 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4264 if test -z "$ac_cpp_err"; then
4265 # Broken: success on invalid input.
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.
$ac_ext >&5
4271 # Passes both tests.
4275 rm -f conftest.err conftest.
$ac_ext
4278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4279 rm -f conftest.err conftest.
$ac_ext
4280 if $ac_preproc_ok; then
4285 ac_cv_prog_CXXCPP
=$CXXCPP
4288 CXXCPP
=$ac_cv_prog_CXXCPP
4290 ac_cv_prog_CXXCPP
=$CXXCPP
4292 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4293 echo "${ECHO_T}$CXXCPP" >&6
4295 for ac_cxx_preproc_warn_flag
in '' yes
4297 # Use a header file that comes with gcc, so configuring glibc
4298 # with a fresh cross-compiler works.
4299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4300 # <limits.h> exists even on freestanding compilers.
4301 # On the NeXT, cc -E runs the code through the compiler's parser,
4302 # not just through cpp. "Syntax error" is here to catch this case.
4303 cat >conftest.
$ac_ext <<_ACEOF
4306 cat confdefs.h
>>conftest.
$ac_ext
4307 cat >>conftest.
$ac_ext <<_ACEOF
4308 /* end confdefs.h. */
4310 # include <limits.h>
4312 # include <assert.h>
4316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4319 grep -v '^ *+' conftest.er1
>conftest.err
4321 cat conftest.err
>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } >/dev
/null
; then
4324 if test -s conftest.err
; then
4325 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4326 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4333 if test -z "$ac_cpp_err"; then
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.
$ac_ext >&5
4339 # Broken: fails on valid input.
4342 rm -f conftest.err conftest.
$ac_ext
4344 # OK, works on sane cases. Now check whether non-existent headers
4345 # can be detected and how.
4346 cat >conftest.
$ac_ext <<_ACEOF
4349 cat confdefs.h
>>conftest.
$ac_ext
4350 cat >>conftest.
$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4352 #include <ac_nonexistent.h>
4354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev
/null
; then
4362 if test -s conftest.err
; then
4363 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4364 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4371 if test -z "$ac_cpp_err"; then
4372 # Broken: success on invalid input.
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.
$ac_ext >&5
4378 # Passes both tests.
4382 rm -f conftest.err conftest.
$ac_ext
4385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4386 rm -f conftest.err conftest.
$ac_ext
4387 if $ac_preproc_ok; then
4390 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4391 See \`config.log' for more details." >&5
4392 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4393 See \`config.log' for more details." >&2;}
4394 { (exit 1); exit 1; }; }
4398 ac_cpp
='$CXXCPP $CPPFLAGS'
4399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4404 echo "$as_me:$LINENO: checking for egrep" >&5
4405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4406 if test "${ac_cv_prog_egrep+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4410 then ac_cv_prog_egrep
='grep -E'
4411 else ac_cv_prog_egrep
='egrep'
4414 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4415 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4416 EGREP
=$ac_cv_prog_egrep
4419 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4420 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4421 if test "${ac_cv_header_stdc+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 cat >conftest.
$ac_ext <<_ACEOF
4427 cat confdefs.h
>>conftest.
$ac_ext
4428 cat >>conftest.
$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4443 rm -f conftest.
$ac_objext
4444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 (eval $ac_compile) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try
='test -z "$ac_cxx_werror_flag"
4453 || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 ac_cv_header_stdc
=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 ac_cv_header_stdc
=no
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 if test $ac_cv_header_stdc = yes; then
4475 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4476 cat >conftest.
$ac_ext <<_ACEOF
4479 cat confdefs.h
>>conftest.
$ac_ext
4480 cat >>conftest.
$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4486 $EGREP "memchr" >/dev
/null
2>&1; then
4489 ac_cv_header_stdc
=no
4495 if test $ac_cv_header_stdc = yes; then
4496 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4497 cat >conftest.
$ac_ext <<_ACEOF
4500 cat confdefs.h
>>conftest.
$ac_ext
4501 cat >>conftest.
$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4507 $EGREP "free" >/dev
/null
2>&1; then
4510 ac_cv_header_stdc
=no
4516 if test $ac_cv_header_stdc = yes; then
4517 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4518 if test "$cross_compiling" = yes; then
4521 cat >conftest.
$ac_ext <<_ACEOF
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4528 #if ((' ' & 0x0FF) == 0x020)
4529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4532 # define ISLOWER(c) \
4533 (('a' <= (c) && (c) <= 'i') \
4534 || ('j' <= (c) && (c) <= 'r') \
4535 || ('s' <= (c) && (c) <= 'z'))
4536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4544 for (i = 0; i < 256; i++)
4545 if (XOR (islower (i), ISLOWER (i))
4546 || toupper (i) != TOUPPER (i))
4551 rm -f conftest
$ac_exeext
4552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4553 (eval $ac_link) 2>&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }; }; then
4564 echo "$as_me: program exited with status $ac_status" >&5
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4569 ac_cv_header_stdc
=no
4571 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4575 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4576 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4577 if test $ac_cv_header_stdc = yes; then
4579 cat >>confdefs.h
<<\_ACEOF
4580 #define STDC_HEADERS 1
4585 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4595 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4596 inttypes.h stdint.h unistd.h
4598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4599 echo "$as_me:$LINENO: checking for $ac_header" >&5
4600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 cat >conftest.
$ac_ext <<_ACEOF
4607 cat confdefs.h
>>conftest.
$ac_ext
4608 cat >>conftest.
$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 $ac_includes_default
4612 #include <$ac_header>
4614 rm -f conftest.
$ac_objext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4616 (eval $ac_compile) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try
='test -z "$ac_cxx_werror_flag"
4624 || test ! -s conftest.err'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; } &&
4630 { ac_try
='test -s conftest.$ac_objext'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; }; then
4636 eval "$as_ac_Header=yes"
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.
$ac_ext >&5
4641 eval "$as_ac_Header=no"
4643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4648 cat >>confdefs.h
<<_ACEOF
4649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4659 for ac_header
in tr1/unordered_set
tr1/unordered_map
4661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4663 echo "$as_me:$LINENO: checking for $ac_header" >&5
4664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4671 # Is the header compilable?
4672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4674 cat >conftest.
$ac_ext <<_ACEOF
4677 cat confdefs.h
>>conftest.
$ac_ext
4678 cat >>conftest.
$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4680 $ac_includes_default
4681 #include <$ac_header>
4683 rm -f conftest.
$ac_objext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1
>conftest.err
4689 cat conftest.err
>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try
='test -z "$ac_cxx_werror_flag"
4693 || test ! -s conftest.err'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; } &&
4699 { ac_try
='test -s conftest.$ac_objext'
4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }; then
4705 ac_header_compiler
=yes
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.
$ac_ext >&5
4710 ac_header_compiler
=no
4712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4714 echo "${ECHO_T}$ac_header_compiler" >&6
4716 # Is the header present?
4717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4719 cat >conftest.
$ac_ext <<_ACEOF
4722 cat confdefs.h
>>conftest.
$ac_ext
4723 cat >>conftest.
$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4725 #include <$ac_header>
4727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4730 grep -v '^ *+' conftest.er1
>conftest.err
4732 cat conftest.err
>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } >/dev
/null
; then
4735 if test -s conftest.err
; then
4736 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4737 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4744 if test -z "$ac_cpp_err"; then
4745 ac_header_preproc
=yes
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.
$ac_ext >&5
4750 ac_header_preproc
=no
4752 rm -f conftest.err conftest.
$ac_ext
4753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4754 echo "${ECHO_T}$ac_header_preproc" >&6
4756 # So? What about this header?
4757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4763 ac_header_preproc
=yes
4766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4780 ## ------------------------------------------ ##
4781 ## Report this to the AC_PACKAGE_NAME lists. ##
4782 ## ------------------------------------------ ##
4785 sed "s/^/$as_me: WARNING: /" >&2
4788 echo "$as_me:$LINENO: checking for $ac_header" >&5
4789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 eval "$as_ac_Header=\$ac_header_preproc"
4795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4800 cat >>confdefs.h
<<_ACEOF
4801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4810 for ac_header
in ext
/hash_map ext
/hash_set
4812 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4814 echo "$as_me:$LINENO: checking for $ac_header" >&5
4815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4817 echo $ECHO_N "(cached) $ECHO_C" >&6
4819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4822 # Is the header compilable?
4823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4825 cat >conftest.
$ac_ext <<_ACEOF
4828 cat confdefs.h
>>conftest.
$ac_ext
4829 cat >>conftest.
$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 $ac_includes_default
4832 #include <$ac_header>
4834 rm -f conftest.
$ac_objext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836 (eval $ac_compile) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_cxx_werror_flag"
4844 || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; } &&
4850 { ac_try
='test -s conftest.$ac_objext'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; }; then
4856 ac_header_compiler
=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4861 ac_header_compiler
=no
4863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4865 echo "${ECHO_T}$ac_header_compiler" >&6
4867 # Is the header present?
4868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4870 cat >conftest.
$ac_ext <<_ACEOF
4873 cat confdefs.h
>>conftest.
$ac_ext
4874 cat >>conftest.
$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4876 #include <$ac_header>
4878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4881 grep -v '^ *+' conftest.er1
>conftest.err
4883 cat conftest.err
>&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } >/dev
/null
; then
4886 if test -s conftest.err
; then
4887 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4888 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4895 if test -z "$ac_cpp_err"; then
4896 ac_header_preproc
=yes
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.
$ac_ext >&5
4901 ac_header_preproc
=no
4903 rm -f conftest.err conftest.
$ac_ext
4904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4905 echo "${ECHO_T}$ac_header_preproc" >&6
4907 # So? What about this header?
4908 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4914 ac_header_preproc
=yes
4917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4931 ## ------------------------------------------ ##
4932 ## Report this to the AC_PACKAGE_NAME lists. ##
4933 ## ------------------------------------------ ##
4936 sed "s/^/$as_me: WARNING: /" >&2
4939 echo "$as_me:$LINENO: checking for $ac_header" >&5
4940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 eval "$as_ac_Header=\$ac_header_preproc"
4946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4951 cat >>confdefs.h
<<_ACEOF
4952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4960 cat >conftest.
$ac_ext <<_ACEOF
4962 class c { public: template<int i> void fn(); };
4963 template<int i> void foo(c cv) { cv.fn<i>(); }
4964 template void foo<1>(c cv);
4966 rm -f conftest.
$ac_objext
4967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4968 (eval $ac_compile) 2>conftest.er1
4970 grep -v '^ *+' conftest.er1
>conftest.err
4972 cat conftest.err
>&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } &&
4975 { ac_try
='test -z "$ac_cxx_werror_flag"
4976 || test ! -s conftest.err'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; } &&
4982 { ac_try
='test -s conftest.$ac_objext'
4983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; }; then
4989 cat >>confdefs.h
<<\_ACEOF
4990 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5001 ac_cpp
='$CPP $CPPFLAGS'
5002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5007 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5008 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5009 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5010 if test "${enable_maintainer_mode+set}" = set; then
5011 enableval
="$enable_maintainer_mode"
5012 USE_MAINTAINER_MODE
=$enableval
5014 USE_MAINTAINER_MODE
=no
5016 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5017 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5020 if test $USE_MAINTAINER_MODE = yes; then
5021 MAINTAINER_MODE_TRUE
=
5022 MAINTAINER_MODE_FALSE
='#'
5024 MAINTAINER_MODE_TRUE
='#'
5025 MAINTAINER_MODE_FALSE
=
5028 MAINT
=$MAINTAINER_MODE_TRUE
5032 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
5033 cat >confcache
<<\_ACEOF
5034 # This file is a shell script that caches the results of configure
5035 # tests run on this system so they can be shared between configure
5036 # scripts and configure runs, see configure's option --config-cache.
5037 # It is not useful on other systems. If it contains results you don't
5038 # want to keep, you may remove or edit it.
5040 # config.status only pays attention to the cache file if you give it
5041 # the --recheck option to rerun configure.
5043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5049 # The following way of writing the cache mishandles newlines in values,
5050 # but we know of no workaround that is simple, portable, and efficient.
5051 # So, don't put newlines in cache variables' values.
5052 # Ultrix sh set writes to stderr and can't be redirected directly,
5053 # and sets the high bit in the cache file unless we assign to the vars.
5056 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5058 # `set' does not quote correctly, so add quotes (double-quote
5059 # substitution turns \\\\ into \\, and sed turns \\ into \).
5062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5065 # `set' quotes correctly as required by POSIX, so do not add quotes.
5067 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5076 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5078 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5079 if test -w $cache_file; then
5080 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5081 cat confcache
>$cache_file
5083 echo "not updating unwritable cache $cache_file"
5088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5089 # Let make expand exec_prefix.
5090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5092 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5093 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5094 # trailing colons and then remove the whole line if VPATH becomes empty
5095 # (actually we leave an empty line to preserve line numbers).
5096 if test "x$srcdir" = x.
; then
5097 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5098 s/:*\$(srcdir):*/:/;
5099 s/:*\${srcdir}:*/:/;
5101 s/^\([^=]*=[ ]*\):*/\1/;
5107 DEFS
=-DHAVE_CONFIG_H
5111 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5112 # 1. Remove the extension, and $U if already installed.
5113 ac_i
=`echo "$ac_i" |
5114 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5116 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5117 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5121 LTLIBOBJS
=$ac_ltlibobjs
5124 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5125 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5126 Usually this means the macro was only invoked conditionally." >&5
5127 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5128 Usually this means the macro was only invoked conditionally." >&2;}
5129 { (exit 1); exit 1; }; }
5131 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5132 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5133 Usually this means the macro was only invoked conditionally." >&5
5134 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5135 Usually this means the macro was only invoked conditionally." >&2;}
5136 { (exit 1); exit 1; }; }
5138 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5139 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5140 Usually this means the macro was only invoked conditionally." >&5
5141 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5142 Usually this means the macro was only invoked conditionally." >&2;}
5143 { (exit 1); exit 1; }; }
5145 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5146 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5147 Usually this means the macro was only invoked conditionally." >&5
5148 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5149 Usually this means the macro was only invoked conditionally." >&2;}
5150 { (exit 1); exit 1; }; }
5153 : ${CONFIG_STATUS=./config.status}
5154 ac_clean_files_save
=$ac_clean_files
5155 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5158 cat >$CONFIG_STATUS <<_ACEOF
5160 # Generated by $as_me.
5161 # Run this file to recreate the current configuration.
5162 # Compiler output produced by configure, useful for debugging
5163 # configure, is in config.log if it exists.
5168 SHELL=\${CONFIG_SHELL-$SHELL}
5171 cat >>$CONFIG_STATUS <<\_ACEOF
5172 ## --------------------- ##
5173 ## M4sh Initialization. ##
5174 ## --------------------- ##
5176 # Be Bourne compatible
5177 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5180 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5181 # is contrary to our usage. Disable this feature.
5182 alias -g '${1+"$@"}'='"$@"'
5183 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5186 DUALCASE
=1; export DUALCASE
# for MKS sh
5188 # Support unset when possible.
5189 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5196 # Work around bugs in pre-3.0 UWIN ksh.
5197 $as_unset ENV MAIL MAILPATH
5204 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5205 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5206 LC_TELEPHONE LC_TIME
5208 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5209 eval $as_var=C
; export $as_var
5215 # Required to use basename.
5216 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5222 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5223 as_basename
=basename
5229 # Name of the executable.
5230 as_me
=`$as_basename "$0" ||
5231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5232 X"$0" : 'X\(//\)$' \| \
5233 X"$0" : 'X\(/\)$' \| \
5234 . : '\(.\)' 2>/dev/null ||
5236 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5237 /^X\/\(\/\/\)$/{ s//\1/; q; }
5238 /^X\/\(\/\).*/{ s//\1/; q; }
5242 # PATH needs CR, and LINENO needs CR and PATH.
5243 # Avoid depending upon Character Ranges.
5244 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5245 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5246 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5247 as_cr_digits
='0123456789'
5248 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5250 # The user is always right.
5251 if test "${PATH_SEPARATOR+set}" != set; then
5252 echo "#! /bin/sh" >conf$$.sh
5253 echo "exit 0" >>conf$$.sh
5255 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5266 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5267 test "x$as_lineno_1" != "x$as_lineno_2" &&
5268 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5269 # Find who we are. Look in the path if we contain no path at all
5272 *[\\/]* ) as_myself
=$0 ;;
5273 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5283 # We did not find ourselves, most probably we were run as `sh COMMAND'
5284 # in which case we are not to be found in the path.
5285 if test "x$as_myself" = x
; then
5288 if test ! -f "$as_myself"; then
5289 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5290 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5291 { (exit 1); exit 1; }; }
5293 case $CONFIG_SHELL in
5295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5299 test -z "$as_dir" && as_dir
=.
5300 for as_base
in sh bash ksh sh5
; do
5303 if ("$as_dir/$as_base" -c '
5306 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5307 test "x$as_lineno_1" != "x$as_lineno_2" &&
5308 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5309 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5310 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5311 CONFIG_SHELL
=$as_dir/$as_base
5313 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5321 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5322 # uniformly replaced by the line number. The first 'sed' inserts a
5323 # line-number line before each line; the second 'sed' does the real
5324 # work. The second script uses 'N' to pair each line-number line
5325 # with the numbered line, and appends trailing '-' during
5326 # substitution so that $LINENO is not a special case at line end.
5327 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5328 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5329 sed '=' <$as_myself |
5334 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5337 s,^['$as_cr_digits']*\n,,
5339 chmod +x
$as_me.lineno ||
5340 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5341 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5342 { (exit 1); exit 1; }; }
5344 # Don't try to exec as it changes $[0], causing all sort of problems
5345 # (the dirname of $[0] is not the place where we might find the
5346 # original and so on. Autoconf is especially sensible to this).
5348 # Exit status is that of the last command.
5353 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5354 *c
*,-n*) ECHO_N
= ECHO_C
='
5356 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5357 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5360 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5366 rm -f conf$$ conf$$.exe conf$$.
file
5368 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5369 # We could just check for DJGPP; but this test a) works b) is more generic
5370 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5371 if test -f conf$$.exe
; then
5372 # Don't use ln at all; we don't have any links
5377 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5382 rm -f conf$$ conf$$.exe conf$$.
file
5384 if mkdir
-p .
2>/dev
/null
; then
5387 test -d .
/-p && rmdir .
/-p
5391 as_executable_p
="test -f"
5393 # Sed expression to map a string onto a valid CPP name.
5394 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5396 # Sed expression to map a string onto a valid variable name.
5397 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5401 # We need space, tab and new line, in precisely that order.
5411 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5412 # report actual input values of CONFIG_FILES etc. instead of their
5413 # values after options handling. Logging --version etc. is OK.
5417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5418 ## Running $as_me. ##
5423 This file was extended by $as_me, which was
5424 generated by GNU Autoconf 2.59. Invocation command line was
5426 CONFIG_FILES = $CONFIG_FILES
5427 CONFIG_HEADERS = $CONFIG_HEADERS
5428 CONFIG_LINKS = $CONFIG_LINKS
5429 CONFIG_COMMANDS = $CONFIG_COMMANDS
5433 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5437 # Files that config.status was made for.
5438 if test -n "$ac_config_files"; then
5439 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5442 if test -n "$ac_config_headers"; then
5443 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5446 if test -n "$ac_config_links"; then
5447 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5450 if test -n "$ac_config_commands"; then
5451 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5454 cat >>$CONFIG_STATUS <<\_ACEOF
5457 \`$as_me' instantiates files from templates according to the
5458 current configuration.
5460 Usage: $0 [OPTIONS] [FILE]...
5462 -h, --help print this help, then exit
5463 -V, --version print version number, then exit
5464 -q, --quiet do not print progress messages
5465 -d, --debug don't remove temporary files
5466 --recheck update $as_me by reconfiguring in the same conditions
5467 --file=FILE[:TEMPLATE]
5468 instantiate the configuration file FILE
5469 --header=FILE[:TEMPLATE]
5470 instantiate the configuration header FILE
5472 Configuration files:
5475 Configuration headers:
5478 Configuration commands:
5481 Report bugs to <bug-autoconf@gnu.org>."
5484 cat >>$CONFIG_STATUS <<_ACEOF
5487 configured by $0, generated by GNU Autoconf 2.59,
5488 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5490 Copyright (C) 2003 Free Software Foundation, Inc.
5491 This config.status script is free software; the Free Software Foundation
5492 gives unlimited permission to copy, distribute and modify it."
5497 cat >>$CONFIG_STATUS <<\_ACEOF
5498 # If no file are specified by the user, then we need to provide default
5499 # value. By we need to know if files were specified by the user.
5505 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5506 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5514 *) # This is not an option, so the user has probably given explicit
5517 ac_need_defaults
=false
;;
5521 # Handling of the options.
5523 cat >>$CONFIG_STATUS <<\_ACEOF
5524 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5526 --version |
--vers* |
-V )
5527 echo "$ac_cs_version"; exit 0 ;;
5529 # Conflict between --help and --header
5530 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5531 Try \`$0 --help' for more information." >&5
5532 echo "$as_me: error: ambiguous option: $1
5533 Try \`$0 --help' for more information." >&2;}
5534 { (exit 1); exit 1; }; };;
5535 --help |
--hel |
-h )
5536 echo "$ac_cs_usage"; exit 0 ;;
5537 --debug |
--d* |
-d )
5539 --file |
--fil |
--fi |
--f )
5541 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5542 ac_need_defaults
=false
;;
5543 --header |
--heade |
--head |
--hea )
5545 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5546 ac_need_defaults
=false
;;
5547 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5548 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5552 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5553 Try \`$0 --help' for more information." >&5
5554 echo "$as_me: error: unrecognized option: $1
5555 Try \`$0 --help' for more information." >&2;}
5556 { (exit 1); exit 1; }; } ;;
5558 *) ac_config_targets
="$ac_config_targets $1" ;;
5564 ac_configure_extra_args
=
5566 if $ac_cs_silent; then
5568 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5572 cat >>$CONFIG_STATUS <<_ACEOF
5573 if \$ac_cs_recheck; then
5574 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5575 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5580 cat >>$CONFIG_STATUS <<_ACEOF
5582 # INIT-COMMANDS section.
5585 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5586 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5587 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
5589 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5590 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5591 LINGUAS="${LINGUAS-%UNSET%}"
5598 cat >>$CONFIG_STATUS <<\_ACEOF
5599 for ac_config_target
in $ac_config_targets
5601 case "$ac_config_target" in
5602 # Handling of arguments.
5603 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5604 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
5605 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5606 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
5607 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5608 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5609 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5610 { (exit 1); exit 1; }; };;
5614 # If the user did not use the arguments to specify the items to instantiate,
5615 # then the envvar interface is used. Set only those that are not.
5616 # We use the long form for the default assignment because of an extremely
5617 # bizarre bug on SunOS 4.1.3.
5618 if $ac_need_defaults; then
5619 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5620 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5621 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5624 # Have a temporary directory for convenience. Make it in the build tree
5625 # simply because there is no reason to put it here, and in addition,
5626 # creating and moving files from /tmp can sometimes cause problems.
5627 # Create a temporary directory, and hook for its removal unless debugging.
5630 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5631 trap '{ (exit 1); exit 1; }' 1 2 13 15
5634 # Create a (secure) tmp directory for tmp files.
5637 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5638 test -n "$tmp" && test -d "$tmp"
5641 tmp
=.
/confstat$$
-$RANDOM
5642 (umask 077 && mkdir
$tmp)
5645 echo "$me: cannot create a temporary directory in ." >&2
5646 { (exit 1); exit 1; }
5651 cat >>$CONFIG_STATUS <<_ACEOF
5654 # CONFIG_FILES section.
5657 # No need to generate the scripts if there are no CONFIG_FILES.
5658 # This happens for instance when ./config.status config.h
5659 if test -n "\$CONFIG_FILES"; then
5660 # Protect against being on the right side of a sed subst in config.status.
5661 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5662 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5663 s,@SHELL@,$SHELL,;t t
5664 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5665 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5666 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5667 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5668 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5669 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5670 s,@exec_prefix@,$exec_prefix,;t t
5671 s,@prefix@,$prefix,;t t
5672 s,@program_transform_name@,$program_transform_name,;t t
5673 s,@bindir@,$bindir,;t t
5674 s,@sbindir@,$sbindir,;t t
5675 s,@libexecdir@,$libexecdir,;t t
5676 s,@datadir@,$datadir,;t t
5677 s,@sysconfdir@,$sysconfdir,;t t
5678 s,@sharedstatedir@,$sharedstatedir,;t t
5679 s,@localstatedir@,$localstatedir,;t t
5680 s,@libdir@,$libdir,;t t
5681 s,@includedir@,$includedir,;t t
5682 s,@oldincludedir@,$oldincludedir,;t t
5683 s,@infodir@,$infodir,;t t
5684 s,@mandir@,$mandir,;t t
5685 s,@build_alias@,$build_alias,;t t
5686 s,@host_alias@,$host_alias,;t t
5687 s,@target_alias@,$target_alias,;t t
5689 s,@ECHO_C@,$ECHO_C,;t t
5690 s,@ECHO_N@,$ECHO_N,;t t
5691 s,@ECHO_T@,$ECHO_T,;t t
5693 s,@build@,$build,;t t
5694 s,@build_cpu@,$build_cpu,;t t
5695 s,@build_vendor@,$build_vendor,;t t
5696 s,@build_os@,$build_os,;t t
5698 s,@host_cpu@,$host_cpu,;t t
5699 s,@host_vendor@,$host_vendor,;t t
5700 s,@host_os@,$host_os,;t t
5701 s,@target@,$target,;t t
5702 s,@target_cpu@,$target_cpu,;t t
5703 s,@target_vendor@,$target_vendor,;t t
5704 s,@target_os@,$target_os,;t t
5705 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5706 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5707 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5708 s,@CYGPATH_W@,$CYGPATH_W,;t t
5709 s,@PACKAGE@,$PACKAGE,;t t
5710 s,@VERSION@,$VERSION,;t t
5711 s,@ACLOCAL@,$ACLOCAL,;t t
5712 s,@AUTOCONF@,$AUTOCONF,;t t
5713 s,@AUTOMAKE@,$AUTOMAKE,;t t
5714 s,@AUTOHEADER@,$AUTOHEADER,;t t
5715 s,@MAKEINFO@,$MAKEINFO,;t t
5716 s,@install_sh@,$install_sh,;t t
5717 s,@STRIP@,$STRIP,;t t
5718 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5719 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5720 s,@mkdir_p@,$mkdir_p,;t t
5722 s,@SET_MAKE@,$SET_MAKE,;t t
5723 s,@am__leading_dot@,$am__leading_dot,;t t
5724 s,@AMTAR@,$AMTAR,;t t
5725 s,@am__tar@,$am__tar,;t t
5726 s,@am__untar@,$am__untar,;t t
5728 s,@CFLAGS@,$CFLAGS,;t t
5729 s,@LDFLAGS@,$LDFLAGS,;t t
5730 s,@CPPFLAGS@,$CPPFLAGS,;t t
5731 s,@ac_ct_CC@,$ac_ct_CC,;t t
5732 s,@EXEEXT@,$EXEEXT,;t t
5733 s,@OBJEXT@,$OBJEXT,;t t
5734 s,@DEPDIR@,$DEPDIR,;t t
5735 s,@am__include@,$am__include,;t t
5736 s,@am__quote@,$am__quote,;t t
5737 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5738 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5739 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5740 s,@CCDEPMODE@,$CCDEPMODE,;t t
5741 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5742 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5744 s,@CXXFLAGS@,$CXXFLAGS,;t t
5745 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5746 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
5747 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
5748 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
5749 s,@USE_NLS@,$USE_NLS,;t t
5750 s,@LIBINTL@,$LIBINTL,;t t
5751 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
5752 s,@INCINTL@,$INCINTL,;t t
5753 s,@XGETTEXT@,$XGETTEXT,;t t
5754 s,@GMSGFMT@,$GMSGFMT,;t t
5755 s,@POSUB@,$POSUB,;t t
5756 s,@CATALOGS@,$CATALOGS,;t t
5757 s,@DATADIRNAME@,$DATADIRNAME,;t t
5758 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5759 s,@GENCAT@,$GENCAT,;t t
5760 s,@CATOBJEXT@,$CATOBJEXT,;t t
5761 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5762 s,@MSGFMT@,$MSGFMT,;t t
5763 s,@MSGMERGE@,$MSGMERGE,;t t
5764 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5765 s,@NO_WERROR@,$NO_WERROR,;t t
5766 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
5767 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
5768 s,@CXXCPP@,$CXXCPP,;t t
5769 s,@EGREP@,$EGREP,;t t
5770 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5771 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5772 s,@MAINT@,$MAINT,;t t
5773 s,@LIBOBJS@,$LIBOBJS,;t t
5774 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5779 cat >>$CONFIG_STATUS <<\_ACEOF
5780 # Split the substitutions into bite-sized pieces for seds with
5781 # small command number limits, like on Digital OSF/1 and HP-UX.
5783 ac_sed_frag
=1 # Number of current file.
5784 ac_beg
=1 # First line for current file.
5785 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5788 while $ac_more_lines; do
5789 if test $ac_beg -gt 1; then
5790 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5792 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5794 if test ! -s $tmp/subs.frag
; then
5797 # The purpose of the label and of the branching condition is to
5798 # speed up the sed processing (if there are no `@' at all, there
5799 # is no need to browse any of the substitutions).
5800 # These are the two extra sed commands mentioned above.
5802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5803 if test -z "$ac_sed_cmds"; then
5804 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5806 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5808 ac_sed_frag
=`expr $ac_sed_frag + 1`
5810 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5813 if test -z "$ac_sed_cmds"; then
5816 fi # test -n "$CONFIG_FILES"
5819 cat >>$CONFIG_STATUS <<\_ACEOF
5820 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5821 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5823 - |
*:- |
*:-:* ) # input from stdin
5825 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5826 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5827 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5828 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5829 * ) ac_file_in
=$ac_file.
in ;;
5832 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5833 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5835 X"$ac_file" : 'X\(//\)[^/]' \| \
5836 X"$ac_file" : 'X\(//\)$' \| \
5837 X"$ac_file" : 'X\(/\)' \| \
5838 . : '\(.\)' 2>/dev/null ||
5840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5842 /^X\(\/\/\)$/{ s//\1/; q; }
5843 /^X\(\/\).*/{ s//\1/; q; }
5845 { if $as_mkdir_p; then
5850 while test ! -d "$as_dir"; do
5851 as_dirs
="$as_dir $as_dirs"
5852 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5854 X"$as_dir" : 'X\(//\)[^/]' \| \
5855 X"$as_dir" : 'X\(//\)$' \| \
5856 X"$as_dir" : 'X\(/\)' \| \
5857 . : '\(.\)' 2>/dev/null ||
5859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5861 /^X\(\/\/\)$/{ s//\1/; q; }
5862 /^X\(\/\).*/{ s//\1/; q; }
5865 test ! -n "$as_dirs" || mkdir
$as_dirs
5866 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5867 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5868 { (exit 1); exit 1; }; }; }
5872 if test "$ac_dir" != .
; then
5873 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5874 # A "../" for each directory in $ac_dir_suffix.
5875 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5877 ac_dir_suffix
= ac_top_builddir
=
5881 .
) # No --srcdir option. We are building in place.
5883 if test -z "$ac_top_builddir"; then
5886 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5888 [\\/]* | ?
:[\\/]* ) # Absolute path.
5889 ac_srcdir
=$srcdir$ac_dir_suffix;
5890 ac_top_srcdir
=$srcdir ;;
5892 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5893 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5896 # Do not use `cd foo && pwd` to compute absolute paths, because
5897 # the directories may not exist.
5899 .
) ac_abs_builddir
="$ac_dir";;
5902 .
) ac_abs_builddir
=`pwd`;;
5903 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5904 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5907 case $ac_abs_builddir in
5908 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5910 case ${ac_top_builddir}.
in
5911 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5912 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5913 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5916 case $ac_abs_builddir in
5917 .
) ac_abs_srcdir
=$ac_srcdir;;
5920 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5921 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5922 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5925 case $ac_abs_builddir in
5926 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5928 case $ac_top_srcdir in
5929 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5930 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5931 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5937 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5938 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5941 if test x
"$ac_file" != x-
; then
5942 { echo "$as_me:$LINENO: creating $ac_file" >&5
5943 echo "$as_me: creating $ac_file" >&6;}
5946 # Let's still pretend it is `configure' which instantiates (i.e., don't
5947 # use $as_me), people would be surprised to read:
5948 # /* config.h. Generated by config.status. */
5949 if test x
"$ac_file" = x-
; then
5952 configure_input
="$ac_file. "
5954 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5955 sed 's,.*/,,'` by configure."
5957 # First look for the input files in the build tree, otherwise in the
5959 ac_file_inputs
=`IFS=:
5960 for f in $ac_file_in; do
5962 -) echo $tmp/stdin ;;
5964 # Absolute (can't be DOS-style, as IFS=:)
5965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5966 echo "$as_me: error: cannot find input file: $f" >&2;}
5967 { (exit 1); exit 1; }; }
5970 if test -f "$f"; then
5973 elif test -f "$srcdir/$f"; then
5978 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5979 echo "$as_me: error: cannot find input file: $f" >&2;}
5980 { (exit 1); exit 1; }; }
5983 done` ||
{ (exit 1); exit 1; }
5985 cat >>$CONFIG_STATUS <<_ACEOF
5989 cat >>$CONFIG_STATUS <<\_ACEOF
5991 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5992 s
,@configure_input@
,$configure_input,;t t
5993 s
,@srcdir@
,$ac_srcdir,;t t
5994 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5995 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5996 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5997 s
,@builddir@
,$ac_builddir,;t t
5998 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5999 s
,@top_builddir@
,$ac_top_builddir,;t t
6000 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6001 s
,@INSTALL@
,$ac_INSTALL,;t t
6002 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6004 if test x"$ac_file" != x-; then
6005 mv $tmp/out $ac_file
6013 cat >>$CONFIG_STATUS <<\_ACEOF
6016 # CONFIG_HEADER section.
6019 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6020 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6022 # ac_d sets the value in "#define NAME VALUE" lines.
6023 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6024 ac_dB
='[ ].*$,\1#\2'
6027 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6028 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6029 ac_uB
='$,\1#\2define\3'
6033 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6036 - |
*:- |
*:-:* ) # input from stdin
6038 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6039 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6040 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6041 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6042 * ) ac_file_in
=$ac_file.
in ;;
6045 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6046 echo "$as_me: creating $ac_file" >&6;}
6048 # First look for the input files in the build tree, otherwise in the
6050 ac_file_inputs
=`IFS=:
6051 for f in $ac_file_in; do
6053 -) echo $tmp/stdin ;;
6055 # Absolute (can't be DOS-style, as IFS=:)
6056 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6057 echo "$as_me: error: cannot find input file: $f" >&2;}
6058 { (exit 1); exit 1; }; }
6059 # Do quote $f, to prevent DOS paths from being IFS'd.
6062 if test -f "$f"; then
6065 elif test -f "$srcdir/$f"; then
6070 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6071 echo "$as_me: error: cannot find input file: $f" >&2;}
6072 { (exit 1); exit 1; }; }
6075 done` ||
{ (exit 1); exit 1; }
6076 # Remove the trailing spaces.
6077 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6081 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6082 # `conftest.undefs', that substitutes the proper values into
6083 # config.h.in to produce config.h. The first handles `#define'
6084 # templates, and the second `#undef' templates.
6085 # And first: Protect against being on the right side of a sed subst in
6086 # config.status. Protect against being in an unquoted here document
6088 rm -f conftest.defines conftest.undefs
6089 # Using a here document instead of a string reduces the quoting nightmare.
6090 # Putting comments in sed scripts is not portable.
6092 # `end' is used to avoid that the second main sed command (meant for
6093 # 0-ary CPP macros) applies to n-ary macro definitions.
6094 # See the Autoconf documentation for `clear'.
6095 cat >confdef2sed.
sed <<\_ACEOF
6100 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6102 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6105 # If some macros were called several times there might be several times
6106 # the same #defines, which is useless. Nevertheless, we may not want to
6107 # sort them, since we want the *last* AC-DEFINE to be honored.
6108 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6109 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6110 rm -f confdef2sed.sed
6112 # This sed command replaces #undef with comments. This is necessary, for
6113 # example, in the case of _POSIX_SOURCE, which is predefined and required
6114 # on some systems where configure will not decide to define it.
6115 cat >>conftest.undefs <<\_ACEOF
6116 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6119 # Break up conftest.defines because some shells have a limit on the size
6120 # of here documents, and old seds have small limits too (100 cmds).
6121 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6122 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6123 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6124 echo ' :' >>$CONFIG_STATUS
6126 while grep . conftest.defines >/dev/null
6128 # Write a limited-size here document to $tmp/defines.sed.
6129 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6130 # Speed up: don't consider the non `#define' lines.
6131 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6132 # Work around the forget-to-reset-the-flag bug.
6133 echo 't clr' >>$CONFIG_STATUS
6134 echo ': clr' >>$CONFIG_STATUS
6135 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6137 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6141 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6142 rm -f conftest.defines
6143 mv conftest.
tail conftest.defines
6145 rm -f conftest.defines
6146 echo ' fi # grep' >>$CONFIG_STATUS
6147 echo >>$CONFIG_STATUS
6149 # Break up conftest.undefs because some shells have a limit on the size
6150 # of here documents, and old seds have small limits too (100 cmds).
6151 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6153 while grep . conftest.undefs
>/dev
/null
6155 # Write a limited-size here document to $tmp/undefs.sed.
6156 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6157 # Speed up: don't consider the non
`#undef'
6158 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6159 # Work around the forget-to-reset-the-flag bug.
6160 echo 't clr' >>$CONFIG_STATUS
6161 echo ': clr' >>$CONFIG_STATUS
6162 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6164 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6168 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6169 rm -f conftest.undefs
6170 mv conftest.tail conftest.undefs
6172 rm -f conftest.undefs
6174 cat >>$CONFIG_STATUS <<\_ACEOF
6175 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6176 # use $as_me), people would be surprised to read:
6177 # /* config.h. Generated by config.status. */
6178 if test x
"$ac_file" = x-
; then
6179 echo "/* Generated by configure. */" >$tmp/config.h
6181 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6183 cat $tmp/in >>$tmp/config.h
6185 if test x
"$ac_file" != x-
; then
6186 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6187 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6188 echo "$as_me: $ac_file is unchanged" >&6;}
6190 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6192 X"$ac_file" : 'X\(//\)[^/]' \| \
6193 X"$ac_file" : 'X\(//\)$' \| \
6194 X"$ac_file" : 'X\(/\)' \| \
6195 . : '\(.\)' 2>/dev/null ||
6197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6199 /^X\(\/\/\)$/{ s//\1/; q; }
6200 /^X\(\/\).*/{ s//\1/; q; }
6202 { if $as_mkdir_p; then
6207 while test ! -d "$as_dir"; do
6208 as_dirs
="$as_dir $as_dirs"
6209 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6211 X"$as_dir" : 'X\(//\)[^/]' \| \
6212 X"$as_dir" : 'X\(//\)$' \| \
6213 X"$as_dir" : 'X\(/\)' \| \
6214 . : '\(.\)' 2>/dev/null ||
6216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6218 /^X\(\/\/\)$/{ s//\1/; q; }
6219 /^X\(\/\).*/{ s//\1/; q; }
6222 test ! -n "$as_dirs" || mkdir
$as_dirs
6223 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6224 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6225 { (exit 1); exit 1; }; }; }
6228 mv $tmp/config.h
$ac_file
6234 # Compute $ac_file's index in $config_headers.
6236 for _am_header
in $config_headers :; do
6238 $ac_file |
$ac_file:* )
6241 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6244 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6245 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6246 X$ac_file : 'X\(//\)[^/]' \| \
6247 X$ac_file : 'X\(//\)$' \| \
6248 X$ac_file : 'X\(/\)' \| \
6249 . : '\(.\)' 2>/dev/null ||
6251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6253 /^X\(\/\/\)$/{ s//\1/; q; }
6254 /^X\(\/\).*/{ s//\1/; q; }
6255 s/.*/./; q'`/stamp-h
$_am_stamp_count
6258 cat >>$CONFIG_STATUS <<\_ACEOF
6261 # CONFIG_COMMANDS section.
6263 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6264 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6265 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6266 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6267 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268 X"$ac_dest" : 'X\(//\)[^/]' \| \
6269 X"$ac_dest" : 'X\(//\)$' \| \
6270 X"$ac_dest" : 'X\(/\)' \| \
6271 . : '\(.\)' 2>/dev/null ||
6273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6274 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6275 /^X\(\/\/\)$/{ s//\1/; q; }
6276 /^X\(\/\).*/{ s//\1/; q; }
6278 { if $as_mkdir_p; then
6283 while test ! -d "$as_dir"; do
6284 as_dirs
="$as_dir $as_dirs"
6285 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6287 X"$as_dir" : 'X\(//\)[^/]' \| \
6288 X"$as_dir" : 'X\(//\)$' \| \
6289 X"$as_dir" : 'X\(/\)' \| \
6290 . : '\(.\)' 2>/dev/null ||
6292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6294 /^X\(\/\/\)$/{ s//\1/; q; }
6295 /^X\(\/\).*/{ s//\1/; q; }
6298 test ! -n "$as_dirs" || mkdir
$as_dirs
6299 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6300 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6301 { (exit 1); exit 1; }; }; }
6305 if test "$ac_dir" != .
; then
6306 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6307 # A "../" for each directory in $ac_dir_suffix.
6308 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6310 ac_dir_suffix
= ac_top_builddir
=
6314 .
) # No --srcdir option. We are building in place.
6316 if test -z "$ac_top_builddir"; then
6319 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6321 [\\/]* | ?
:[\\/]* ) # Absolute path.
6322 ac_srcdir
=$srcdir$ac_dir_suffix;
6323 ac_top_srcdir
=$srcdir ;;
6325 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6326 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6329 # Do not use `cd foo && pwd` to compute absolute paths, because
6330 # the directories may not exist.
6332 .
) ac_abs_builddir
="$ac_dir";;
6335 .
) ac_abs_builddir
=`pwd`;;
6336 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6337 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6340 case $ac_abs_builddir in
6341 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6343 case ${ac_top_builddir}.
in
6344 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6345 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6346 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6349 case $ac_abs_builddir in
6350 .
) ac_abs_srcdir
=$ac_srcdir;;
6353 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6354 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6355 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6358 case $ac_abs_builddir in
6359 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6361 case $ac_top_srcdir in
6362 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6363 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6364 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6369 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6370 echo "$as_me: executing $ac_dest commands" >&6;}
6372 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6373 # Strip MF so we end up with the name of the file.
6374 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6375 # Check whether this is an Automake generated Makefile or not.
6376 # We used to match only the files named `Makefile.in', but
6377 # some people rename them; so instead we look at the file content.
6378 # Grep'ing the first line is not enough: some people post-process
6379 # each Makefile.in and add a new line on top of each file to say so.
6380 # So let's grep whole file.
6381 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6382 dirpart
=`(dirname "$mf") 2>/dev/null ||
6383 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6384 X"$mf" : 'X\(//\)[^/]' \| \
6385 X"$mf" : 'X\(//\)$' \| \
6386 X"$mf" : 'X\(/\)' \| \
6387 . : '\(.\)' 2>/dev/null ||
6389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6391 /^X\(\/\/\)$/{ s//\1/; q; }
6392 /^X\(\/\).*/{ s//\1/; q; }
6397 # Extract the definition of DEPDIR, am__include, and am__quote
6398 # from the Makefile without running `make'.
6399 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6400 test -z "$DEPDIR" && continue
6401 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6402 test -z "am__include" && continue
6403 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6404 # When using ansi2knr, U may be empty or an underscore; expand it
6405 U
=`sed -n 's/^U = //p' < "$mf"`
6406 # Find all dependency output files, they are included files with
6407 # $(DEPDIR) in their names. We invoke sed twice because it is the
6408 # simplest approach to changing $(DEPDIR) to its actual value in the
6410 for file in `sed -n "
6411 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6412 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6413 # Make sure the directory exists.
6414 test -f "$dirpart/$file" && continue
6415 fdir
=`(dirname "$file") 2>/dev/null ||
6416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6417 X"$file" : 'X\(//\)[^/]' \| \
6418 X"$file" : 'X\(//\)$' \| \
6419 X"$file" : 'X\(/\)' \| \
6420 . : '\(.\)' 2>/dev/null ||
6422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6423 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6424 /^X\(\/\/\)$/{ s//\1/; q; }
6425 /^X\(\/\).*/{ s//\1/; q; }
6427 { if $as_mkdir_p; then
6428 mkdir
-p $dirpart/$fdir
6430 as_dir
=$dirpart/$fdir
6432 while test ! -d "$as_dir"; do
6433 as_dirs
="$as_dir $as_dirs"
6434 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436 X"$as_dir" : 'X\(//\)[^/]' \| \
6437 X"$as_dir" : 'X\(//\)$' \| \
6438 X"$as_dir" : 'X\(/\)' \| \
6439 . : '\(.\)' 2>/dev/null ||
6441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6443 /^X\(\/\/\)$/{ s//\1/; q; }
6444 /^X\(\/\).*/{ s//\1/; q; }
6447 test ! -n "$as_dirs" || mkdir
$as_dirs
6448 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6449 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6450 { (exit 1); exit 1; }; }; }
6452 # echo "creating $dirpart/$file"
6453 echo '# dummy' > "$dirpart/$file"
6458 for ac_file
in $CONFIG_FILES; do
6459 # Support "outfile[:infile[:infile...]]"
6461 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6463 # PO directories have a Makefile.in generated from Makefile.in.in.
6464 case "$ac_file" in */Makefile.
in)
6465 # Adjust a relative srcdir.
6466 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6467 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
6468 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6469 # In autoconf-2.13 it is called $ac_given_srcdir.
6470 # In autoconf-2.50 it is called $srcdir.
6471 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
6472 case "$ac_given_srcdir" in
6473 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
6474 /*) top_srcdir
="$ac_given_srcdir" ;;
6475 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6477 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6478 rm -f "$ac_dir/POTFILES"
6479 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
6480 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6481 POMAKEFILEDEPS
="POTFILES.in"
6482 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
6483 # on $ac_dir but don't depend on user-specified configuration
6485 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6486 # The LINGUAS file contains the set of available languages.
6487 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6488 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
6490 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6491 # Hide the ALL_LINGUAS assigment from automake.
6492 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6493 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
6495 # The set of available languages was given in configure.in.
6496 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6498 case "$ac_given_srcdir" in
6500 *) srcdirpre
='$(srcdir)/' ;;
6506 for lang
in $ALL_LINGUAS; do
6507 POFILES
="$POFILES $srcdirpre$lang.po"
6508 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
6509 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
6510 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
6512 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6513 # environment variable.
6515 if test -n "$ALL_LINGUAS"; then
6516 for presentlang
in $ALL_LINGUAS; do
6518 if test "%UNSET%" != "$LINGUAS"; then
6519 desiredlanguages
="$LINGUAS"
6521 desiredlanguages
="$ALL_LINGUAS"
6523 for desiredlang
in $desiredlanguages; do
6524 # Use the presentlang catalog if desiredlang is
6525 # a. equal to presentlang, or
6526 # b. a variant of presentlang (because in this case,
6527 # presentlang can be used as a fallback for messages
6528 # which are not translated in the desiredlang catalog).
6529 case "$desiredlang" in
6530 "$presentlang"*) useit
=yes;;
6533 if test $useit = yes; then
6534 INST_LINGUAS
="$INST_LINGUAS $presentlang"
6539 if test -n "$INST_LINGUAS"; then
6540 for lang
in $INST_LINGUAS; do
6541 CATALOGS
="$CATALOGS $lang.gmo"
6544 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
6545 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"
6546 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
6547 if test -f "$f"; then
6549 *.orig |
*.bak |
*~
) ;;
6550 *) cat "$f" >> "$ac_dir/Makefile" ;;
6562 cat >>$CONFIG_STATUS <<\_ACEOF
6564 { (exit 0); exit 0; }
6566 chmod +x
$CONFIG_STATUS
6567 ac_clean_files
=$ac_clean_files_save
6570 # configure is writing to config.log, and then calls config.status.
6571 # config.status does its own redirection, appending to config.log.
6572 # Unfortunately, on DOS this fails, as config.log is still kept open
6573 # by configure, so config.status won't be able to write to it; its
6574 # output is simply discarded. So we exec the FD to /dev/null,
6575 # effectively closing config.log, so it can be properly (re)opened and
6576 # appended to by config.status. When coming back to configure, we
6577 # need to make the FD available again.
6578 if test "$no_create" != yes; then
6580 ac_config_status_args
=
6581 test "$silent" = yes &&
6582 ac_config_status_args
="$ac_config_status_args --quiet"
6584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6587 # would make configure fail if this is the last instruction.
6588 $ac_cs_success ||
{ (exit 1); exit 1; }