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 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
742 # Report the --help message.
744 if test "$ac_init_help" = "long"; then
745 # Omit some internal or obsolete options to make the list less imposing.
746 # This message is too long to be a string in the A/UX 3.1 sh.
748 \`configure' configures this package to adapt to many kinds of systems.
750 Usage: $0 [OPTION]... [VAR=VALUE]...
752 To assign environment variables (e.g., CC, CFLAGS...), specify them as
753 VAR=VALUE. See below for descriptions of some of the useful variables.
755 Defaults for the options are specified in brackets.
758 -h, --help display this help and exit
759 --help=short display options specific to this package
760 --help=recursive display the short help of all the included packages
761 -V, --version display version information and exit
762 -q, --quiet, --silent do not print \`checking...' messages
763 --cache-file=FILE cache test results in FILE [disabled]
764 -C, --config-cache alias for \`--cache-file=config.cache'
765 -n, --no-create do not create output files
766 --srcdir=DIR find the sources in DIR [configure dir or \`..']
771 Installation directories:
772 --prefix=PREFIX install architecture-independent files in PREFIX
774 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
777 By default, \`make install' will install all the files in
778 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
779 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
780 for instance \`--prefix=\$HOME'.
782 For better control, use the options below.
784 Fine tuning of the installation directories:
785 --bindir=DIR user executables [EPREFIX/bin]
786 --sbindir=DIR system admin executables [EPREFIX/sbin]
787 --libexecdir=DIR program executables [EPREFIX/libexec]
788 --datadir=DIR read-only architecture-independent data [PREFIX/share]
789 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
790 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
791 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
792 --libdir=DIR object code libraries [EPREFIX/lib]
793 --includedir=DIR C header files [PREFIX/include]
794 --oldincludedir=DIR C header files for non-gcc [/usr/include]
795 --infodir=DIR info documentation [PREFIX/info]
796 --mandir=DIR man documentation [PREFIX/man]
802 --program-prefix=PREFIX prepend PREFIX to installed program names
803 --program-suffix=SUFFIX append SUFFIX to installed program names
804 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
807 --build=BUILD configure
for building on BUILD
[guessed
]
808 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
809 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
813 if test -n "$ac_init_help"; then
818 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
819 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
820 --disable-dependency-tracking speeds up one-time build
821 --enable-dependency-tracking do not reject slow dependency extractors
822 --disable-nls do not use Native Language Support
823 --enable-werror treat compile warnings as errors
824 --enable-build-warnings enable build-time compiler warnings
825 --enable-maintainer-mode enable make rules and dependencies not useful
826 (and sometimes confusing
) to the casual installer
828 Some influential environment variables
:
829 CC C compiler
command
830 CFLAGS C compiler flags
831 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
832 nonstandard directory
<lib dir
>
833 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
834 headers
in a nonstandard directory
<include dir
>
835 CXX C
++ compiler
command
836 CXXFLAGS C
++ compiler flags
838 Use these variables to override the choices made by
`configure' or to help
839 it to find libraries and programs with nonstandard names/locations.
844 if test "$ac_init_help" = "recursive"; then
845 # If there are subdirs, report their specific --help.
847 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848 test -d $ac_dir || continue
851 if test "$ac_dir" != .; then
852 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
853 # A "../" for each directory in $ac_dir_suffix.
854 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
856 ac_dir_suffix= ac_top_builddir=
860 .) # No --srcdir option. We are building in place.
862 if test -z "$ac_top_builddir"; then
865 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
867 [\\/]* | ?:[\\/]* ) # Absolute path.
868 ac_srcdir=$srcdir$ac_dir_suffix;
869 ac_top_srcdir=$srcdir ;;
871 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872 ac_top_srcdir=$ac_top_builddir$srcdir ;;
875 # Do not use `cd foo
&& pwd` to compute absolute paths, because
876 # the directories may not exist.
878 .) ac_abs_builddir="$ac_dir";;
881 .) ac_abs_builddir=`pwd`;;
882 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883 *) ac_abs_builddir=`pwd`/"$ac_dir";;
886 case $ac_abs_builddir in
887 .) ac_abs_top_builddir=${ac_top_builddir}.;;
889 case ${ac_top_builddir}. in
890 .) ac_abs_top_builddir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
895 case $ac_abs_builddir in
896 .) ac_abs_srcdir=$ac_srcdir;;
899 .) ac_abs_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
904 case $ac_abs_builddir in
905 .) ac_abs_top_srcdir=$ac_top_srcdir;;
907 case $ac_top_srcdir in
908 .) ac_abs_top_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
937 Copyright (C) 2003 Free Software Foundation, Inc.
938 This configure script is free software; the Free Software Foundation
939 gives unlimited permission to copy, distribute and modify it.
945 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake.
948 It was created by $as_me, which was
949 generated by GNU Autoconf 2.59. Invocation command line was
960 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
961 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
962 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
963 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
964 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
966 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
967 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
969 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
970 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
971 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
972 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
973 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
974 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
975 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 test -z "$as_dir" && as_dir=.
999 # Keep a trace of the command line.
1000 # Strip out --no-create and --no-recursion so they do not pile up.
1001 # Strip out --silent because we don't want to record it for future runs.
1002 # Also quote any args containing shell meta-characters.
1003 # Make two passes to allow for proper duplicate-argument suppression.
1008 ac_must_keep_next=false
1014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1018 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1019 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1022 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1024 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1025 if test $ac_must_keep_next = true; then
1026 ac_must_keep_next=false # Got value, back to normal.
1029 *=* | --config-cache | -C | -disable-* | --disable-* \
1030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1032 | -with-* | --with-* | -without-* | --without-* | --x)
1033 case "$ac_configure_args0 " in
1034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037 -* ) ac_must_keep_next=true ;;
1040 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1047 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1048 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1050 # When interrupted or exit'd, cleanup temporary files, and complete
1051 # config.log. We remove comments because anyway the quotes in there
1052 # would cause problems or look ugly.
1053 # WARNING: Be sure not to use single quotes in there, as some shells,
1054 # such as our DU 5.0 friend, will then `close
' the trap.
1055 trap 'exit_status
=$?
1056 # Save into config.log some information that might help in debugging.
1061 ## ---------------- ##
1062 ## Cache variables. ##
1063 ## ---------------- ##
1066 # The following way of writing the cache mishandles newlines in values,
1069 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1084 ## ----------------- ##
1085 ## Output variables. ##
1086 ## ----------------- ##
1089 for ac_var
in $ac_subst_vars
1091 eval ac_val
=$
`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1096 if test -n "$ac_subst_files"; then
1103 for ac_var
in $ac_subst_files
1105 eval ac_val
=$
`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1111 if test -s confdefs.h
; then
1118 sed "/^$/d" confdefs.h |
sort
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1125 rm -f core
*.core
&&
1126 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1129 for ac_signal in 1 2 13 15; do
1130 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 # Predefined preprocessor variables.
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE; then
1170 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 for ac_site_file in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's
/^
/|
/' "$ac_site_file" >&5
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1191 [\\/]* | ?:[\\/]* ) . $cache_file;;
1192 *) . ./$cache_file;;
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1201 # Check that the precious variables saved in the cache have kept the same
1203 ac_cache_corrupted=false
1204 for ac_var in `(set) 2>&1 |
1205 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1207 eval ac_new_set=\$ac_env_${ac_var}_set
1208 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1214 ac_cache_corrupted=: ;;
1216 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1223 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted=:
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1234 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg=$ac_var=$ac_new_val ;;
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1248 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp='$CPP $CPPFLAGS'
1254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1255 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1279 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1280 if test -f $ac_dir/install-sh; then
1282 ac_install_sh="$ac_aux_dir/install-sh -c"
1284 elif test -f $ac_dir/install.sh; then
1286 ac_install_sh="$ac_aux_dir/install.sh -c"
1288 elif test -f $ac_dir/shtool; then
1290 ac_install_sh="$ac_aux_dir/shtool install -c"
1294 if test -z "$ac_aux_dir"; then
1295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1296 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1297 { (exit 1); exit 1; }; }
1299 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1300 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1301 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1303 # Make sure we can run config.sub.
1304 $ac_config_sub sun4 >/dev/null 2>&1 ||
1305 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1306 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1307 { (exit 1); exit 1; }; }
1309 echo "$as_me:$LINENO: checking build system type" >&5
1310 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1311 if test "${ac_cv_build+set}" = set; then
1312 echo $ECHO_N "(cached) $ECHO_C" >&6
1314 ac_cv_build_alias=$build_alias
1315 test -z "$ac_cv_build_alias" &&
1316 ac_cv_build_alias=`$ac_config_guess`
1317 test -z "$ac_cv_build_alias" &&
1318 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1319 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1320 { (exit 1); exit 1; }; }
1321 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1322 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1323 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1324 { (exit 1); exit 1; }; }
1327 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1328 echo "${ECHO_T}$ac_cv_build" >&6
1330 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1331 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1332 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1335 echo "$as_me:$LINENO: checking host system type" >&5
1336 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1337 if test "${ac_cv_host+set}" = set; then
1338 echo $ECHO_N "(cached) $ECHO_C" >&6
1340 ac_cv_host_alias=$host_alias
1341 test -z "$ac_cv_host_alias" &&
1342 ac_cv_host_alias=$ac_cv_build_alias
1343 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1345 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1346 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1350 echo "${ECHO_T}$ac_cv_host" >&6
1352 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1353 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1354 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1357 echo "$as_me:$LINENO: checking target system type" >&5
1358 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1359 if test "${ac_cv_target+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_target_alias=$target_alias
1363 test "x$ac_cv_target_alias" = "x" &&
1364 ac_cv_target_alias=$ac_cv_host_alias
1365 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1372 echo "${ECHO_T}$ac_cv_target" >&6
1373 target=$ac_cv_target
1374 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1375 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1376 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1379 # The aliases save the names the user supplied, while $host etc.
1380 # will get canonicalized.
1381 test -n "$target_alias" &&
1382 test "$program_prefix$program_suffix$program_transform_name" = \
1384 program_prefix=${target_alias}-
1386 am__api_version="1.9"
1387 # Find a good install program. We prefer a C program (faster),
1388 # so one script is as good as another. But avoid the broken or
1389 # incompatible versions:
1390 # SysV /etc/install, /usr/sbin/install
1391 # SunOS /usr/etc/install
1392 # IRIX /sbin/install
1394 # AmigaOS /C/install, which installs bootblocks on floppy discs
1395 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1398 # OS/2's system install, which has a completely different semantic
1399 # ./install, which can be erroneously created by make from ./install.sh.
1400 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1401 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1402 if test -z "$INSTALL"; then
1403 if test "${ac_cv_path_install+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir
=.
1411 # Account for people who put trailing slashes in PATH elements.
1413 .
/ | .
// |
/cC
/* | \
1414 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1415 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1418 # OSF1 and SCO ODT 3.0 have their own names for install.
1419 # Don't use installbsd from OSF since it installs stuff as root
1421 for ac_prog
in ginstall scoinst
install; do
1422 for ac_exec_ext
in '' $ac_executable_extensions; do
1423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1424 if test $ac_prog = install &&
1425 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1426 # AIX install. It has an incompatible calling convention.
1428 elif test $ac_prog = install &&
1429 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1430 # program-specific install script used by HP pwplus--don't use.
1433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1445 if test "${ac_cv_path_install+set}" = set; then
1446 INSTALL
=$ac_cv_path_install
1448 # As a last resort, use the slow shell script. We don't cache a
1449 # path for INSTALL within a source directory, because that will
1450 # break other packages using the cache if that directory is
1451 # removed, or if the path is relative.
1452 INSTALL
=$ac_install_sh
1455 echo "$as_me:$LINENO: result: $INSTALL" >&5
1456 echo "${ECHO_T}$INSTALL" >&6
1458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459 # It thinks the first close brace ends the variable substitution.
1460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1464 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1466 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1467 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1470 echo timestamp
> conftest.
file
1471 # Do `set' in a subshell so we don't clobber the current shell's
1472 # arguments. Must try -L first in case configure is actually a
1473 # symlink; some systems play weird games with the mod time of symlinks
1474 # (eg FreeBSD returns the mod time of the symlink's containing
1477 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1478 if test "$*" = "X"; then
1480 set X
`ls -t $srcdir/configure conftest.file`
1483 if test "$*" != "X $srcdir/configure conftest.file" \
1484 && test "$*" != "X conftest.file $srcdir/configure"; then
1486 # If neither matched, then we have a broken ls. This can happen
1487 # if, for instance, CONFIG_SHELL is bash and it inherits a
1488 # broken ls alias from the environment. This has actually
1489 # happened. Such a system could not be considered "sane".
1490 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1491 alias in your environment" >&5
1492 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1493 alias in your environment" >&2;}
1494 { (exit 1); exit 1; }; }
1497 test "$2" = conftest.
file
1503 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1504 Check your system clock" >&5
1505 echo "$as_me: error: newly created file is older than distributed files!
1506 Check your system clock" >&2;}
1507 { (exit 1); exit 1; }; }
1509 echo "$as_me:$LINENO: result: yes" >&5
1510 echo "${ECHO_T}yes" >&6
1511 test "$program_prefix" != NONE
&&
1512 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1513 # Use a double $ so make ignores it.
1514 test "$program_suffix" != NONE
&&
1515 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1516 # Double any \ or $. echo might interpret backslashes.
1517 # By default was `s,x,x', remove it if useless.
1518 cat <<\_ACEOF
>conftest.
sed
1519 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1521 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1524 # expand $ac_aux_dir to an absolute path
1525 am_aux_dir
=`cd $ac_aux_dir && pwd`
1527 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1528 # Use eval to expand $SHELL
1529 if eval "$MISSING --run true"; then
1530 am_missing_run
="$MISSING --run "
1533 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1534 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1537 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1538 # We used to keeping the `.' as first argument, in order to
1539 # allow $(mkdir_p) to be used without argument. As in
1540 # $(mkdir_p) $(somedir)
1541 # where $(somedir) is conditionally defined. However this is wrong
1543 # 1. if the package is installed by a user who cannot write `.'
1544 # make install will fail,
1545 # 2. the above comment should most certainly read
1546 # $(mkdir_p) $(DESTDIR)$(somedir)
1547 # so it does not work when $(somedir) is undefined and
1548 # $(DESTDIR) is not.
1549 # To support the latter case, we have to write
1550 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1551 # so the `.' trick is pointless.
1552 mkdir_p
='mkdir -p --'
1554 # On NextStep and OpenStep, the `mkdir' command does not
1555 # recognize any option. It will interpret all options as
1556 # directories to create, and then abort because `.' already
1558 for d
in .
/-p .
/--version;
1560 test -d $d && rmdir $d
1562 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1563 if test -f "$ac_aux_dir/mkinstalldirs"; then
1564 mkdir_p
='$(mkinstalldirs)'
1566 mkdir_p
='$(install_sh) -d'
1570 for ac_prog
in gawk mawk nawk
awk
1572 # Extract the first word of "$ac_prog", so it can be a program name with args.
1573 set dummy
$ac_prog; ac_word
=$2
1574 echo "$as_me:$LINENO: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_AWK+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 if test -n "$AWK"; then
1580 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1586 test -z "$as_dir" && as_dir
=.
1587 for ac_exec_ext
in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 ac_cv_prog_AWK
="$ac_prog"
1590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1599 if test -n "$AWK"; then
1600 echo "$as_me:$LINENO: result: $AWK" >&5
1601 echo "${ECHO_T}$AWK" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1607 test -n "$AWK" && break
1610 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1612 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1613 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 cat >conftest.
make <<\_ACEOF
1618 @
echo 'ac_maketemp="$(MAKE)"'
1620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1622 if test -n "$ac_maketemp"; then
1623 eval ac_cv_prog_make_
${ac_make}_set
=yes
1625 eval ac_cv_prog_make_
${ac_make}_set
=no
1629 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1630 echo "$as_me:$LINENO: result: yes" >&5
1631 echo "${ECHO_T}yes" >&6
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1636 SET_MAKE
="MAKE=${MAKE-make}"
1639 rm -rf .tst
2>/dev
/null
1640 mkdir .tst
2>/dev
/null
1641 if test -d .tst
; then
1646 rmdir .tst
2>/dev
/null
1648 # test to see if srcdir already configured
1649 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1650 test -f $srcdir/config.status
; then
1651 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1652 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1653 { (exit 1); exit 1; }; }
1656 # test whether we have cygpath
1657 if test -z "$CYGPATH_W"; then
1658 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1659 CYGPATH_W
='cygpath -w'
1666 # Define the identity of the package.
1671 cat >>confdefs.h
<<_ACEOF
1672 #define PACKAGE "$PACKAGE"
1676 cat >>confdefs.h
<<_ACEOF
1677 #define VERSION "$VERSION"
1680 # Some tools Automake needs.
1682 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1685 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1688 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1691 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1694 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1696 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1698 # Installed binaries are usually stripped using `strip' when the user
1699 # run `make install-strip'. However `strip' might not be the right
1700 # tool to use in cross-compilation environments, therefore Automake
1701 # will honor the `STRIP' environment variable to overrule this program.
1702 if test "$cross_compiling" != no
; then
1703 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1705 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$STRIP"; then
1712 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir
=.
1719 for ac_exec_ext
in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 STRIP
=$ac_cv_prog_STRIP
1731 if test -n "$STRIP"; then
1732 echo "$as_me:$LINENO: result: $STRIP" >&5
1733 echo "${ECHO_T}$STRIP" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1740 if test -z "$ac_cv_prog_STRIP"; then
1742 # Extract the first word of "strip", so it can be a program name with args.
1743 set dummy strip
; ac_word
=$2
1744 echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 if test -n "$ac_ct_STRIP"; then
1750 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir
=.
1757 for ac_exec_ext
in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_prog_ac_ct_STRIP
="strip"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1769 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1770 if test -n "$ac_ct_STRIP"; then
1771 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1772 echo "${ECHO_T}$ac_ct_STRIP" >&6
1774 echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1780 STRIP
="$ac_cv_prog_STRIP"
1784 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1786 # We need awk for the "check" target. The system "awk" is bad on
1788 # Always define AMTAR for backward compatibility.
1790 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1792 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1799 ac_config_headers
="$ac_config_headers config.h:config.in"
1803 ac_cpp
='$CPP $CPPFLAGS'
1804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1807 if test -n "$ac_tool_prefix"; then
1808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1809 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1812 if test "${ac_cv_prog_CC+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6
1815 if test -n "$CC"; then
1816 ac_cv_prog_CC
="$CC" # Let the user override the test.
1818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir
=.
1823 for ac_exec_ext
in '' $ac_executable_extensions; do
1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1825 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835 if test -n "$CC"; then
1836 echo "$as_me:$LINENO: result: $CC" >&5
1837 echo "${ECHO_T}$CC" >&6
1839 echo "$as_me:$LINENO: result: no" >&5
1840 echo "${ECHO_T}no" >&6
1844 if test -z "$ac_cv_prog_CC"; then
1846 # Extract the first word of "gcc", so it can be a program name with args.
1847 set dummy gcc
; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$ac_ct_CC"; then
1854 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_ac_ct_CC
="gcc"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1873 if test -n "$ac_ct_CC"; then
1874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1875 echo "${ECHO_T}$ac_ct_CC" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1886 if test -z "$CC"; then
1887 if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1889 set dummy
${ac_tool_prefix}cc
; 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_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$CC"; then
1896 ac_cv_prog_CC
="$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_CC
="${ac_tool_prefix}cc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 if test -n "$CC"; then
1916 echo "$as_me:$LINENO: result: $CC" >&5
1917 echo "${ECHO_T}$CC" >&6
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1924 if test -z "$ac_cv_prog_CC"; then
1926 # Extract the first word of "cc", so it can be a program name with args.
1927 set dummy cc
; ac_word
=$2
1928 echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test -n "$ac_ct_CC"; then
1934 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1940 test -z "$as_dir" && as_dir
=.
1941 for ac_exec_ext
in '' $ac_executable_extensions; do
1942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1943 ac_cv_prog_ac_ct_CC
="cc"
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1953 if test -n "$ac_ct_CC"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1955 echo "${ECHO_T}$ac_ct_CC" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1967 if test -z "$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_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$CC"; then
1976 ac_cv_prog_CC
="$CC" # Let the user override the test.
1979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir
=.
1984 for ac_exec_ext
in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1987 ac_prog_rejected
=yes
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1997 if test $ac_prog_rejected = yes; then
1998 # We found a bogon in the path, so make sure we never use it.
1999 set dummy
$ac_cv_prog_CC
2001 if test $# != 0; then
2002 # We chose a different compiler from the bogus one.
2003 # However, it has the same basename, so the bogon will be chosen
2004 # first if we set CC to just the basename; use the full file name.
2006 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2012 if test -n "$CC"; then
2013 echo "$as_me:$LINENO: result: $CC" >&5
2014 echo "${ECHO_T}$CC" >&6
2016 echo "$as_me:$LINENO: result: no" >&5
2017 echo "${ECHO_T}no" >&6
2021 if test -z "$CC"; then
2022 if test -n "$ac_tool_prefix"; then
2025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2026 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC
="$CC" # Let the user override the test.
2035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir
=.
2040 for ac_exec_ext
in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 if test -n "$CC"; then
2053 echo "$as_me:$LINENO: result: $CC" >&5
2054 echo "${ECHO_T}$CC" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2060 test -n "$CC" && break
2063 if test -z "$CC"; then
2067 # Extract the first word of "$ac_prog", so it can be a program name with args.
2068 set dummy
$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_ac_ct_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$ac_ct_CC"; then
2075 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2094 if test -n "$ac_ct_CC"; then
2095 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2096 echo "${ECHO_T}$ac_ct_CC" >&6
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2102 test -n "$ac_ct_CC" && break
2111 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2112 See \`config.log' for more details." >&5
2113 echo "$as_me: error: no acceptable C compiler found in \$PATH
2114 See \`config.log' for more details." >&2;}
2115 { (exit 1); exit 1; }; }
2117 # Provide some information about the compiler.
2118 echo "$as_me:$LINENO:" \
2119 "checking for C compiler version" >&5
2120 ac_compiler
=`set X $ac_compile; echo $2`
2121 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2122 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2127 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }
2131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2132 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }
2137 cat >conftest.
$ac_ext <<_ACEOF
2140 cat confdefs.h
>>conftest.
$ac_ext
2141 cat >>conftest.
$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2152 ac_clean_files_save
=$ac_clean_files
2153 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2154 # Try to create an executable without -o first, disregard a.out.
2155 # It will help us diagnose broken compilers, and finding out an intuition
2157 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2158 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2159 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2160 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2161 (eval $ac_link_default) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 # Find the output, starting from the most likely. This scheme is
2166 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2169 # Be careful to initialize this variable, since it used to be cached.
2170 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2172 # b.out is created by i960 compilers.
2173 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2175 test -f "$ac_file" ||
continue
2177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2180 # This is the source file.
2183 # We found the default executable, but exeext='' is most
2187 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188 # FIXME: I believe we export ac_cv_exeext for Libtool,
2189 # but it would be cool to find out if it's true. Does anybody
2190 # maintain Libtool? --akim.
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.
$ac_ext >&5
2201 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: C compiler cannot create executables
2204 See \`config.log' for more details." >&2;}
2205 { (exit 77); exit 77; }; }
2208 ac_exeext
=$ac_cv_exeext
2209 echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6
2212 # Check the compiler produces executables we can run. If not, either
2213 # the compiler is broken, or we cross compile.
2214 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2217 # If not cross compiling, check that we can run a simple program.
2218 if test "$cross_compiling" != yes; then
2219 if { ac_try
='./$ac_file'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; }; then
2227 if test "$cross_compiling" = maybe
; then
2230 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2231 If you meant to cross compile, use \`--host'.
2232 See \`config.log' for more details." >&5
2233 echo "$as_me: error: cannot run C compiled programs.
2234 If you meant to cross compile, use \`--host'.
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2240 echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6
2243 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2244 ac_clean_files
=$ac_clean_files_save
2245 # Check the compiler produces executables we can run. If not, either
2246 # the compiler is broken, or we cross compile.
2247 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2248 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2249 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2250 echo "${ECHO_T}$cross_compiling" >&6
2252 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2253 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2255 (eval $ac_link) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; then
2259 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2260 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2261 # work properly (i.e., refer to `conftest.exe'), while it won't with
2263 for ac_file
in conftest.exe conftest conftest.
*; do
2264 test -f "$ac_file" ||
continue
2266 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2267 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2281 rm -f conftest
$ac_cv_exeext
2282 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2283 echo "${ECHO_T}$ac_cv_exeext" >&6
2285 rm -f conftest.
$ac_ext
2286 EXEEXT
=$ac_cv_exeext
2288 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2289 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2290 if test "${ac_cv_objext+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 cat >conftest.
$ac_ext <<_ACEOF
2296 cat confdefs.h
>>conftest.
$ac_ext
2297 cat >>conftest.
$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2308 rm -f conftest.o conftest.obj
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; then
2314 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2316 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2317 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2325 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2326 See \`config.log' for more details." >&5
2327 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2328 See \`config.log' for more details." >&2;}
2329 { (exit 1); exit 1; }; }
2332 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2334 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2335 echo "${ECHO_T}$ac_cv_objext" >&6
2336 OBJEXT
=$ac_cv_objext
2338 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2339 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2340 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 cat >conftest.
$ac_ext <<_ACEOF
2346 cat confdefs.h
>>conftest.
$ac_ext
2347 cat >>conftest.
$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2361 rm -f conftest.
$ac_objext
2362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363 (eval $ac_compile) 2>conftest.er1
2365 grep -v '^ *+' conftest.er1
>conftest.err
2367 cat conftest.err
>&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); } &&
2370 { ac_try
='test -z "$ac_c_werror_flag"
2371 || test ! -s conftest.err'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; } &&
2377 { ac_try
='test -s conftest.$ac_objext'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.
$ac_ext >&5
2390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2391 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2394 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2395 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2396 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2397 ac_test_CFLAGS
=${CFLAGS+set}
2398 ac_save_CFLAGS
=$CFLAGS
2400 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2401 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2402 if test "${ac_cv_prog_cc_g+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 cat >conftest.
$ac_ext <<_ACEOF
2408 cat confdefs.h
>>conftest.
$ac_ext
2409 cat >>conftest.
$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 rm -f conftest.
$ac_objext
2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422 (eval $ac_compile) 2>conftest.er1
2424 grep -v '^ *+' conftest.er1
>conftest.err
2426 cat conftest.err
>&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); } &&
2429 { ac_try
='test -z "$ac_c_werror_flag"
2430 || test ! -s conftest.err'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; } &&
2436 { ac_try
='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.
$ac_ext >&5
2449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2453 if test "$ac_test_CFLAGS" = set; then
2454 CFLAGS
=$ac_save_CFLAGS
2455 elif test $ac_cv_prog_cc_g = yes; then
2456 if test "$GCC" = yes; then
2462 if test "$GCC" = yes; then
2468 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2469 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2470 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 ac_cv_prog_cc_stdc
=no
2475 cat >conftest.
$ac_ext <<_ACEOF
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2483 #include <sys/types.h>
2484 #include <sys/stat.h>
2485 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2486 struct buf { int x; };
2487 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2488 static char *e (p, i)
2494 static char *f (char * (*g) (char **, int), char **p, ...)
2499 s = g (p, va_arg (v,int));
2504 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2505 function prototypes and stuff, but not '\xHH' hex character constants.
2506 These don't provoke an error unfortunately, instead are silently treated
2507 as 'x'. The following induces an error, until -std1 is added to get
2508 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2509 array size at least. It's necessary to write '\x00'==0 to get something
2510 that's true only with -std1. */
2511 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2513 int test (int i, double x);
2514 struct s1 {int (*f) (int a);};
2515 struct s2 {int (*f) (double a);};
2516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2522 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2527 # Don't try gcc -ansi; that turns off useful extensions and
2528 # breaks some systems' header files.
2529 # AIX -qlanglvl=ansi
2530 # Ultrix and OSF/1 -std1
2531 # HP-UX 10.20 and later -Ae
2532 # HP-UX older versions -Aa -D_HPUX_SOURCE
2533 # SVR4 -Xc -D__EXTENSIONS__
2534 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2536 CC
="$ac_save_CC $ac_arg"
2537 rm -f conftest.
$ac_objext
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>conftest.er1
2541 grep -v '^ *+' conftest.er1
>conftest.err
2543 cat conftest.err
>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try
='test -z "$ac_c_werror_flag"
2547 || test ! -s conftest.err'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; } &&
2553 { ac_try
='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2559 ac_cv_prog_cc_stdc
=$ac_arg
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2566 rm -f conftest.err conftest.
$ac_objext
2568 rm -f conftest.
$ac_ext conftest.
$ac_objext
2573 case "x$ac_cv_prog_cc_stdc" in
2575 echo "$as_me:$LINENO: result: none needed" >&5
2576 echo "${ECHO_T}none needed" >&6 ;;
2578 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2579 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2580 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2583 # Some people use a C++ compiler to compile C. Since we use `exit',
2584 # in C++ we need to declare it. In case someone uses the same compiler
2585 # for both compiling C and C++ we need to have the C++ compiler decide
2586 # the declaration of exit, since it's the most demanding environment.
2587 cat >conftest.
$ac_ext <<_ACEOF
2592 rm -f conftest.
$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>conftest.er1
2596 grep -v '^ *+' conftest.er1
>conftest.err
2598 cat conftest.err
>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try
='test -z "$ac_c_werror_flag"
2602 || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2614 for ac_declaration
in \
2616 'extern "C" void std::exit (int) throw (); using std::exit;' \
2617 'extern "C" void std::exit (int); using std::exit;' \
2618 'extern "C" void exit (int) throw ();' \
2619 'extern "C" void exit (int);' \
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2638 rm -f conftest.
$ac_objext
2639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2640 (eval $ac_compile) 2>conftest.er1
2642 grep -v '^ *+' conftest.er1
>conftest.err
2644 cat conftest.err
>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); } &&
2647 { ac_try
='test -z "$ac_c_werror_flag"
2648 || test ! -s conftest.err'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try
='test -s conftest.$ac_objext'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.
$ac_ext >&5
2667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2668 cat >conftest.
$ac_ext <<_ACEOF
2671 cat confdefs.h
>>conftest.
$ac_ext
2672 cat >>conftest.
$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2683 rm -f conftest.
$ac_objext
2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685 (eval $ac_compile) 2>conftest.er1
2687 grep -v '^ *+' conftest.er1
>conftest.err
2689 cat conftest.err
>&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try
='test -z "$ac_c_werror_flag"
2693 || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; } &&
2699 { ac_try
='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.
$ac_ext >&5
2711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2714 if test -n "$ac_declaration"; then
2715 echo '#ifdef __cplusplus' >>confdefs.h
2716 echo $ac_declaration >>confdefs.h
2717 echo '#endif' >>confdefs.h
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 ac_cpp
='$CPP $CPPFLAGS'
2728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2731 DEPDIR
="${am__leading_dot}deps"
2733 ac_config_commands
="$ac_config_commands depfiles"
2736 am_make
=${MAKE-make}
2737 cat > confinc
<< 'END'
2742 # If we don't find an include directive, just comment out the code.
2743 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2744 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2748 # First try GNU make style include.
2749 echo "include confinc" > confmf
2750 # We grep out `Entering directory' and `Leaving directory'
2751 # messages which can occur if `w' ends up in MAKEFLAGS.
2752 # In particular we don't look at `^make:' because GNU make might
2753 # be invoked under some other name (usually "gmake"), in which
2754 # case it prints its new name instead of `make'.
2755 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2760 # Now try BSD make style include.
2761 if test "$am__include" = "#"; then
2762 echo '.include "confinc"' > confmf
2763 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2764 am__include
=.include
2771 echo "$as_me:$LINENO: result: $_am_result" >&5
2772 echo "${ECHO_T}$_am_result" >&6
2773 rm -f confinc confmf
2775 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2776 if test "${enable_dependency_tracking+set}" = set; then
2777 enableval
="$enable_dependency_tracking"
2780 if test "x$enable_dependency_tracking" != xno
; then
2781 am_depcomp
="$ac_aux_dir/depcomp"
2786 if test "x$enable_dependency_tracking" != xno; then
2797 depcc
="$CC" am_compiler_list
=
2799 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2800 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2801 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2805 # We make a subdir and do the tests there. Otherwise we can end up
2806 # making bogus files that we don't know about and never remove. For
2807 # instance it was reported that on HP-UX the gcc test will end up
2808 # making a dummy file named `D' -- because `-MD' means `put the output
2811 # Copy depcomp to subdir because otherwise we won't find it if we're
2812 # using a relative directory.
2813 cp "$am_depcomp" conftest.dir
2815 # We will build objects and dependencies in a subdirectory because
2816 # it helps to detect inapplicable dependency modes. For instance
2817 # both Tru64's cc and ICC support -MD to output dependencies as a
2818 # side effect of compilation, but ICC will put the dependencies in
2819 # the current directory while Tru64 will put them in the object
2823 am_cv_CC_dependencies_compiler_type
=none
2824 if test "$am_compiler_list" = ""; then
2825 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2827 for depmode
in $am_compiler_list; do
2828 # Setup a source with many dependencies, because some compilers
2829 # like to wrap large dependency lists on column 80 (with \), and
2830 # we should not choose a depcomp mode which is confused by this.
2832 # We need to recreate these files for each test, as the compiler may
2833 # overwrite some of them when testing with obscure command lines.
2834 # This happens at least with the AIX C compiler.
2836 for i
in 1 2 3 4 5 6; do
2837 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2838 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2839 # Solaris 8's {/usr,}/bin/sh.
2840 touch sub
/conftst
$i.h
2842 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2846 # after this tag, mechanisms are not by side-effect, so they'll
2847 # only be used when explicitly requested
2848 if test "x$enable_dependency_tracking" = xyes
; then
2856 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2857 # mode. It turns out that the SunPro C++ compiler does not properly
2858 # handle `-M -o', and we need to detect this.
2859 if depmode
=$depmode \
2860 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2861 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2862 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2863 >/dev
/null
2>conftest.err
&&
2864 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2865 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2866 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2867 # icc doesn't choke on unknown options, it will just issue warnings
2868 # or remarks (even with -Werror). So we grep stderr for any message
2869 # that says an option was ignored or not supported.
2870 # When given -MP, icc 7.0 and 7.1 complain thusly:
2871 # icc: Command line warning: ignoring option '-M'; no argument required
2872 # The diagnosis changed in icc 8.0:
2873 # icc: Command line remark: option '-MP' not supported
2874 if (grep 'ignoring option' conftest.err ||
2875 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2876 am_cv_CC_dependencies_compiler_type
=$depmode
2885 am_cv_CC_dependencies_compiler_type
=none
2889 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2890 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2891 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2896 test "x$enable_dependency_tracking" != xno \
2897 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2899 am__fastdepCC_FALSE
='#'
2901 am__fastdepCC_TRUE
='#'
2902 am__fastdepCC_FALSE
=
2907 ac_cpp
='$CXXCPP $CPPFLAGS'
2908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2911 if test -n "$ac_tool_prefix"; then
2912 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2916 echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918 if test "${ac_cv_prog_CXX+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 if test -n "$CXX"; then
2922 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CXX"; then
2942 echo "$as_me:$LINENO: result: $CXX" >&5
2943 echo "${ECHO_T}$CXX" >&6
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2949 test -n "$CXX" && break
2952 if test -z "$CXX"; 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_prog", so it can be a program name with args.
2957 set dummy
$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_ac_ct_CXX+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 if test -n "$ac_ct_CXX"; then
2964 ac_cv_prog_ac_ct_CXX
="$ac_ct_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_ac_ct_CXX
="$ac_prog"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2983 if test -n "$ac_ct_CXX"; then
2984 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2985 echo "${ECHO_T}$ac_ct_CXX" >&6
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2991 test -n "$ac_ct_CXX" && break
2993 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2999 # Provide some information about the compiler.
3000 echo "$as_me:$LINENO:" \
3001 "checking for C++ compiler version" >&5
3002 ac_compiler
=`set X $ac_compile; echo $2`
3003 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3004 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }
3008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3009 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3014 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }
3019 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3020 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3021 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 cat >conftest.
$ac_ext <<_ACEOF
3027 cat confdefs.h
>>conftest.
$ac_ext
3028 cat >>conftest.
$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3042 rm -f conftest.
$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044 (eval $ac_compile) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1
>conftest.err
3048 cat conftest.err
>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try
='test -z "$ac_cxx_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try
='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.
$ac_ext >&5
3071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3072 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3075 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3076 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3077 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3078 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3079 ac_save_CXXFLAGS
=$CXXFLAGS
3081 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3082 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3083 if test "${ac_cv_prog_cxx_g+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3101 rm -f conftest.
$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3105 grep -v '^ *+' conftest.er1
>conftest.err
3107 cat conftest.err
>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -z "$ac_cxx_werror_flag"
3111 || test ! -s conftest.err'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; } &&
3117 { ac_try
='test -s conftest.$ac_objext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3123 ac_cv_prog_cxx_g
=yes
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3132 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3133 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3134 if test "$ac_test_CXXFLAGS" = set; then
3135 CXXFLAGS
=$ac_save_CXXFLAGS
3136 elif test $ac_cv_prog_cxx_g = yes; then
3137 if test "$GXX" = yes; then
3143 if test "$GXX" = yes; then
3149 for ac_declaration
in \
3151 'extern "C" void std::exit (int) throw (); using std::exit;' \
3152 'extern "C" void std::exit (int); using std::exit;' \
3153 'extern "C" void exit (int) throw ();' \
3154 'extern "C" void exit (int);' \
3157 cat >conftest.
$ac_ext <<_ACEOF
3160 cat confdefs.h
>>conftest.
$ac_ext
3161 cat >>conftest.
$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3173 rm -f conftest.
$ac_objext
3174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3175 (eval $ac_compile) 2>conftest.er1
3177 grep -v '^ *+' conftest.er1
>conftest.err
3179 cat conftest.err
>&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try
='test -z "$ac_cxx_werror_flag"
3183 || test ! -s conftest.err'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; } &&
3189 { ac_try
='test -s conftest.$ac_objext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3203 cat >conftest.
$ac_ext <<_ACEOF
3206 cat confdefs.h
>>conftest.
$ac_ext
3207 cat >>conftest.
$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3218 rm -f conftest.
$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_cxx_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try
='test -s conftest.$ac_objext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3249 if test -n "$ac_declaration"; then
3250 echo '#ifdef __cplusplus' >>confdefs.h
3251 echo $ac_declaration >>confdefs.h
3252 echo '#endif' >>confdefs.h
3256 ac_cpp
='$CPP $CPPFLAGS'
3257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3261 depcc
="$CXX" am_compiler_list
=
3263 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3264 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3265 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3269 # We make a subdir and do the tests there. Otherwise we can end up
3270 # making bogus files that we don't know about and never remove. For
3271 # instance it was reported that on HP-UX the gcc test will end up
3272 # making a dummy file named `D' -- because `-MD' means `put the output
3275 # Copy depcomp to subdir because otherwise we won't find it if we're
3276 # using a relative directory.
3277 cp "$am_depcomp" conftest.dir
3279 # We will build objects and dependencies in a subdirectory because
3280 # it helps to detect inapplicable dependency modes. For instance
3281 # both Tru64's cc and ICC support -MD to output dependencies as a
3282 # side effect of compilation, but ICC will put the dependencies in
3283 # the current directory while Tru64 will put them in the object
3287 am_cv_CXX_dependencies_compiler_type
=none
3288 if test "$am_compiler_list" = ""; then
3289 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3291 for depmode
in $am_compiler_list; do
3292 # Setup a source with many dependencies, because some compilers
3293 # like to wrap large dependency lists on column 80 (with \), and
3294 # we should not choose a depcomp mode which is confused by this.
3296 # We need to recreate these files for each test, as the compiler may
3297 # overwrite some of them when testing with obscure command lines.
3298 # This happens at least with the AIX C compiler.
3300 for i
in 1 2 3 4 5 6; do
3301 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3302 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3303 # Solaris 8's {/usr,}/bin/sh.
3304 touch sub
/conftst
$i.h
3306 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3310 # after this tag, mechanisms are not by side-effect, so they'll
3311 # only be used when explicitly requested
3312 if test "x$enable_dependency_tracking" = xyes
; then
3320 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3321 # mode. It turns out that the SunPro C++ compiler does not properly
3322 # handle `-M -o', and we need to detect this.
3323 if depmode
=$depmode \
3324 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3325 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3326 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3327 >/dev
/null
2>conftest.err
&&
3328 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3329 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3330 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3331 # icc doesn't choke on unknown options, it will just issue warnings
3332 # or remarks (even with -Werror). So we grep stderr for any message
3333 # that says an option was ignored or not supported.
3334 # When given -MP, icc 7.0 and 7.1 complain thusly:
3335 # icc: Command line warning: ignoring option '-M'; no argument required
3336 # The diagnosis changed in icc 8.0:
3337 # icc: Command line remark: option '-MP' not supported
3338 if (grep 'ignoring option' conftest.err ||
3339 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3340 am_cv_CXX_dependencies_compiler_type
=$depmode
3349 am_cv_CXX_dependencies_compiler_type
=none
3353 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3354 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3355 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3360 test "x$enable_dependency_tracking" != xno \
3361 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3362 am__fastdepCXX_TRUE
=
3363 am__fastdepCXX_FALSE
='#'
3365 am__fastdepCXX_TRUE
='#'
3366 am__fastdepCXX_FALSE
=
3370 # Find a good install program. We prefer a C program (faster),
3371 # so one script is as good as another. But avoid the broken or
3372 # incompatible versions:
3373 # SysV /etc/install, /usr/sbin/install
3374 # SunOS /usr/etc/install
3375 # IRIX /sbin/install
3377 # AmigaOS /C/install, which installs bootblocks on floppy discs
3378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3381 # OS/2's system install, which has a completely different semantic
3382 # ./install, which can be erroneously created by make from ./install.sh.
3383 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3385 if test -z "$INSTALL"; then
3386 if test "${ac_cv_path_install+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 # Account for people who put trailing slashes in PATH elements.
3396 .
/ | .
// |
/cC
/* | \
3397 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3398 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3401 # OSF1 and SCO ODT 3.0 have their own names for install.
3402 # Don't use installbsd from OSF since it installs stuff as root
3404 for ac_prog
in ginstall scoinst
install; do
3405 for ac_exec_ext
in '' $ac_executable_extensions; do
3406 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3407 if test $ac_prog = install &&
3408 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3409 # AIX install. It has an incompatible calling convention.
3411 elif test $ac_prog = install &&
3412 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3413 # program-specific install script used by HP pwplus--don't use.
3416 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3428 if test "${ac_cv_path_install+set}" = set; then
3429 INSTALL
=$ac_cv_path_install
3431 # As a last resort, use the slow shell script. We don't cache a
3432 # path for INSTALL within a source directory, because that will
3433 # break other packages using the cache if that directory is
3434 # removed, or if the path is relative.
3435 INSTALL
=$ac_install_sh
3438 echo "$as_me:$LINENO: result: $INSTALL" >&5
3439 echo "${ECHO_T}$INSTALL" >&6
3441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442 # It thinks the first close brace ends the variable substitution.
3443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3447 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3449 # If we haven't got the data from the intl directory,
3450 # assume NLS is disabled.
3459 if test -f ..
/intl
/config.intl
; then
3460 . ..
/intl
/config.intl
3462 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3463 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3464 if test x
"$USE_NLS" != xyes
; then
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3471 cat >>confdefs.h
<<\_ACEOF
3472 #define ENABLE_NLS 1
3476 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3477 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3478 # Look for .po and .gmo files in the source directory.
3481 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3482 # If there aren't any .gmo files the shell will give us the
3483 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3485 case "$cat" in *\
**)
3488 # The quadruple backslash is collapsed to a double backslash
3489 # by the backticks, then collapsed again by the double quotes,
3490 # leaving us with one backslash in the sed expression (right
3491 # before the dot that mustn't act as a wildcard).
3492 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3493 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3494 # The user is allowed to set LINGUAS to a list of languages to
3495 # install catalogs for. If it's empty that means "all of them."
3496 if test "x$LINGUAS" = x
; then
3497 CATALOGS
="$CATALOGS $cat"
3498 XLINGUAS
="$XLINGUAS $lang"
3500 case "$LINGUAS" in *$lang*)
3501 CATALOGS
="$CATALOGS $cat"
3502 XLINGUAS
="$XLINGUAS $lang"
3508 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3509 echo "${ECHO_T}$LINGUAS" >&6
3523 if test -n "$ac_aux_dir"; then
3524 case "$ac_aux_dir" in
3525 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3526 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3529 if test -z "$MKINSTALLDIRS"; then
3530 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3535 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3536 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3537 # Check whether --enable-nls or --disable-nls was given.
3538 if test "${enable_nls+set}" = set; then
3539 enableval
="$enable_nls"
3544 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3545 echo "${ECHO_T}$USE_NLS" >&6
3552 # Prepare PATH_SEPARATOR.
3553 # The user is always right.
3554 if test "${PATH_SEPARATOR+set}" != set; then
3555 echo "#! /bin/sh" >conf$$.sh
3556 echo "exit 0" >>conf$$.sh
3558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3566 # Find out how to test for executable files. Don't use a zero-byte file,
3567 # as systems may use methods other than mode bits to determine executability.
3568 cat >conf$$.
file <<_ASEOF
3572 chmod +x conf$$.
file
3573 if test -x conf$$.
file >/dev
/null
2>&1; then
3574 ac_executable_p
="test -x"
3576 ac_executable_p
="test -f"
3580 # Extract the first word of "msgfmt", so it can be a program name with args.
3581 set dummy msgfmt
; ac_word
=$2
3582 echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3584 if test "${ac_cv_path_MSGFMT+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3592 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3593 for ac_dir
in $PATH; do
3595 test -z "$ac_dir" && ac_dir
=.
3596 for ac_exec_ext
in '' $ac_executable_extensions; do
3597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3598 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3599 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3600 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3607 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3611 MSGFMT
="$ac_cv_path_MSGFMT"
3612 if test "$MSGFMT" != ":"; then
3613 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3614 echo "${ECHO_T}$MSGFMT" >&6
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3620 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3621 set dummy gmsgfmt
; ac_word
=$2
3622 echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3624 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3650 GMSGFMT
=$ac_cv_path_GMSGFMT
3652 if test -n "$GMSGFMT"; then
3653 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3654 echo "${ECHO_T}$GMSGFMT" >&6
3656 echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6
3662 # Prepare PATH_SEPARATOR.
3663 # The user is always right.
3664 if test "${PATH_SEPARATOR+set}" != set; then
3665 echo "#! /bin/sh" >conf$$.sh
3666 echo "exit 0" >>conf$$.sh
3668 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3676 # Find out how to test for executable files. Don't use a zero-byte file,
3677 # as systems may use methods other than mode bits to determine executability.
3678 cat >conf$$.
file <<_ASEOF
3682 chmod +x conf$$.
file
3683 if test -x conf$$.
file >/dev
/null
2>&1; then
3684 ac_executable_p
="test -x"
3686 ac_executable_p
="test -f"
3690 # Extract the first word of "xgettext", so it can be a program name with args.
3691 set dummy xgettext
; ac_word
=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_path_XGETTEXT+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3702 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3703 for ac_dir
in $PATH; do
3705 test -z "$ac_dir" && ac_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3708 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3709 (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
3710 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3717 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3721 XGETTEXT
="$ac_cv_path_XGETTEXT"
3722 if test "$XGETTEXT" != ":"; then
3723 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3724 echo "${ECHO_T}$XGETTEXT" >&6
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3733 # Prepare PATH_SEPARATOR.
3734 # The user is always right.
3735 if test "${PATH_SEPARATOR+set}" != set; then
3736 echo "#! /bin/sh" >conf$$.sh
3737 echo "exit 0" >>conf$$.sh
3739 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3747 # Find out how to test for executable files. Don't use a zero-byte file,
3748 # as systems may use methods other than mode bits to determine executability.
3749 cat >conf$$.
file <<_ASEOF
3753 chmod +x conf$$.
file
3754 if test -x conf$$.
file >/dev
/null
2>&1; then
3755 ac_executable_p
="test -x"
3757 ac_executable_p
="test -f"
3761 # Extract the first word of "msgmerge", so it can be a program name with args.
3762 set dummy msgmerge
; ac_word
=$2
3763 echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765 if test "${ac_cv_path_MSGMERGE+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3773 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3774 for ac_dir
in $PATH; do
3776 test -z "$ac_dir" && ac_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3779 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3780 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3787 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3791 MSGMERGE
="$ac_cv_path_MSGMERGE"
3792 if test "$MSGMERGE" != ":"; then
3793 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3794 echo "${ECHO_T}$MSGMERGE" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3801 if test "$GMSGFMT" != ":"; then
3802 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3803 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3806 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3807 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3808 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
3813 if test "$XGETTEXT" != ":"; then
3814 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3815 (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
3818 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3819 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3825 ac_config_commands
="$ac_config_commands default-1"
3832 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3834 # Check whether --enable-werror or --disable-werror was given.
3835 if test "${enable_werror+set}" = set; then
3836 enableval
="$enable_werror"
3837 case "${enableval}" in
3838 yes | y
) ERROR_ON_WARNING
="yes" ;;
3839 no | n
) ERROR_ON_WARNING
="no" ;;
3840 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
3841 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
3842 { (exit 1); exit 1; }; } ;;
3846 # Enable -Werror by default when using gcc
3847 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
3848 ERROR_ON_WARNING
=yes
3852 if test "${ERROR_ON_WARNING}" = yes ; then
3853 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
3854 NO_WERROR
="-Wno-error"
3857 if test "${GCC}" = yes ; then
3858 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
3861 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3862 if test "${enable_build_warnings+set}" = set; then
3863 enableval
="$enable_build_warnings"
3864 case "${enableval}" in
3865 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
3866 no
) if test "${GCC}" = yes ; then
3869 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3870 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
3871 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3872 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
3873 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3877 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
3878 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
3885 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
3888 LFS_CXXFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3891 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894 if test "${enable_maintainer_mode+set}" = set; then
3895 enableval
="$enable_maintainer_mode"
3896 USE_MAINTAINER_MODE
=$enableval
3898 USE_MAINTAINER_MODE
=no
3900 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3904 if test $USE_MAINTAINER_MODE = yes; then
3905 MAINTAINER_MODE_TRUE
=
3906 MAINTAINER_MODE_FALSE
='#'
3908 MAINTAINER_MODE_TRUE
='#'
3909 MAINTAINER_MODE_FALSE
=
3912 MAINT
=$MAINTAINER_MODE_TRUE
3916 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
3917 cat >confcache
<<\_ACEOF
3918 # This file is a shell script that caches the results of configure
3919 # tests run on this system so they can be shared between configure
3920 # scripts and configure runs, see configure's option --config-cache.
3921 # It is not useful on other systems. If it contains results you don't
3922 # want to keep, you may remove or edit it.
3924 # config.status only pays attention to the cache file if you give it
3925 # the --recheck option to rerun configure.
3927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3933 # The following way of writing the cache mishandles newlines in values,
3934 # but we know of no workaround that is simple, portable, and efficient.
3935 # So, don't put newlines in cache variables' values.
3936 # Ultrix sh set writes to stderr and can't be redirected directly,
3937 # and sets the high bit in the cache file unless we assign to the vars.
3940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3942 # `set' does not quote correctly, so add quotes (double-quote
3943 # substitution turns \\\\ into \\, and sed turns \\ into \).
3946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3949 # `set' quotes correctly as required by POSIX, so do not add quotes.
3951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3960 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3962 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3963 if test -w $cache_file; then
3964 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3965 cat confcache
>$cache_file
3967 echo "not updating unwritable cache $cache_file"
3972 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3973 # Let make expand exec_prefix.
3974 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3978 # trailing colons and then remove the whole line if VPATH becomes empty
3979 # (actually we leave an empty line to preserve line numbers).
3980 if test "x$srcdir" = x.
; then
3981 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3982 s/:*\$(srcdir):*/:/;
3983 s/:*\${srcdir}:*/:/;
3985 s/^\([^=]*=[ ]*\):*/\1/;
3991 DEFS
=-DHAVE_CONFIG_H
3995 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3996 # 1. Remove the extension, and $U if already installed.
3997 ac_i
=`echo "$ac_i" |
3998 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4000 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4001 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4005 LTLIBOBJS
=$ac_ltlibobjs
4008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4009 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4010 Usually this means the macro was only invoked conditionally." >&5
4011 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4012 Usually this means the macro was only invoked conditionally." >&2;}
4013 { (exit 1); exit 1; }; }
4015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4016 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4017 Usually this means the macro was only invoked conditionally." >&5
4018 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4019 Usually this means the macro was only invoked conditionally." >&2;}
4020 { (exit 1); exit 1; }; }
4022 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4023 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4024 Usually this means the macro was only invoked conditionally." >&5
4025 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4026 Usually this means the macro was only invoked conditionally." >&2;}
4027 { (exit 1); exit 1; }; }
4029 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4030 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4031 Usually this means the macro was only invoked conditionally." >&5
4032 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4033 Usually this means the macro was only invoked conditionally." >&2;}
4034 { (exit 1); exit 1; }; }
4037 : ${CONFIG_STATUS=./config.status}
4038 ac_clean_files_save
=$ac_clean_files
4039 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4040 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4041 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4042 cat >$CONFIG_STATUS <<_ACEOF
4044 # Generated by $as_me.
4045 # Run this file to recreate the current configuration.
4046 # Compiler output produced by configure, useful for debugging
4047 # configure, is in config.log if it exists.
4052 SHELL=\${CONFIG_SHELL-$SHELL}
4055 cat >>$CONFIG_STATUS <<\_ACEOF
4056 ## --------------------- ##
4057 ## M4sh Initialization. ##
4058 ## --------------------- ##
4060 # Be Bourne compatible
4061 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4064 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4065 # is contrary to our usage. Disable this feature.
4066 alias -g '${1+"$@"}'='"$@"'
4067 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4070 DUALCASE
=1; export DUALCASE
# for MKS sh
4072 # Support unset when possible.
4073 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4080 # Work around bugs in pre-3.0 UWIN ksh.
4081 $as_unset ENV MAIL MAILPATH
4088 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4089 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4090 LC_TELEPHONE LC_TIME
4092 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4093 eval $as_var=C
; export $as_var
4099 # Required to use basename.
4100 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4106 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4107 as_basename
=basename
4113 # Name of the executable.
4114 as_me
=`$as_basename "$0" ||
4115 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4116 X"$0" : 'X\(//\)$' \| \
4117 X"$0" : 'X\(/\)$' \| \
4118 . : '\(.\)' 2>/dev/null ||
4120 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4121 /^X\/\(\/\/\)$/{ s//\1/; q; }
4122 /^X\/\(\/\).*/{ s//\1/; q; }
4126 # PATH needs CR, and LINENO needs CR and PATH.
4127 # Avoid depending upon Character Ranges.
4128 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4129 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4130 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4131 as_cr_digits
='0123456789'
4132 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4134 # The user is always right.
4135 if test "${PATH_SEPARATOR+set}" != set; then
4136 echo "#! /bin/sh" >conf$$.sh
4137 echo "exit 0" >>conf$$.sh
4139 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4150 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4151 test "x$as_lineno_1" != "x$as_lineno_2" &&
4152 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4153 # Find who we are. Look in the path if we contain no path at all
4156 *[\\/]* ) as_myself
=$0 ;;
4157 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir
=.
4162 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4167 # We did not find ourselves, most probably we were run as `sh COMMAND'
4168 # in which case we are not to be found in the path.
4169 if test "x$as_myself" = x
; then
4172 if test ! -f "$as_myself"; then
4173 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4174 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4175 { (exit 1); exit 1; }; }
4177 case $CONFIG_SHELL in
4179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4183 test -z "$as_dir" && as_dir
=.
4184 for as_base
in sh bash ksh sh5
; do
4187 if ("$as_dir/$as_base" -c '
4190 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4191 test "x$as_lineno_1" != "x$as_lineno_2" &&
4192 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4193 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4194 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4195 CONFIG_SHELL
=$as_dir/$as_base
4197 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4205 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4206 # uniformly replaced by the line number. The first 'sed' inserts a
4207 # line-number line before each line; the second 'sed' does the real
4208 # work. The second script uses 'N' to pair each line-number line
4209 # with the numbered line, and appends trailing '-' during
4210 # substitution so that $LINENO is not a special case at line end.
4211 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4212 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4213 sed '=' <$as_myself |
4218 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4221 s,^['$as_cr_digits']*\n,,
4223 chmod +x
$as_me.lineno ||
4224 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4225 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4226 { (exit 1); exit 1; }; }
4228 # Don't try to exec as it changes $[0], causing all sort of problems
4229 # (the dirname of $[0] is not the place where we might find the
4230 # original and so on. Autoconf is especially sensible to this).
4232 # Exit status is that of the last command.
4237 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4238 *c
*,-n*) ECHO_N
= ECHO_C
='
4240 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4241 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4244 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4250 rm -f conf$$ conf$$.exe conf$$.
file
4252 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4253 # We could just check for DJGPP; but this test a) works b) is more generic
4254 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4255 if test -f conf$$.exe
; then
4256 # Don't use ln at all; we don't have any links
4261 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4266 rm -f conf$$ conf$$.exe conf$$.
file
4268 if mkdir
-p .
2>/dev
/null
; then
4271 test -d .
/-p && rmdir .
/-p
4275 as_executable_p
="test -f"
4277 # Sed expression to map a string onto a valid CPP name.
4278 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4280 # Sed expression to map a string onto a valid variable name.
4281 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4285 # We need space, tab and new line, in precisely that order.
4295 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4296 # report actual input values of CONFIG_FILES etc. instead of their
4297 # values after options handling. Logging --version etc. is OK.
4301 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4302 ## Running $as_me. ##
4307 This file was extended by $as_me, which was
4308 generated by GNU Autoconf 2.59. Invocation command line was
4310 CONFIG_FILES = $CONFIG_FILES
4311 CONFIG_HEADERS = $CONFIG_HEADERS
4312 CONFIG_LINKS = $CONFIG_LINKS
4313 CONFIG_COMMANDS = $CONFIG_COMMANDS
4317 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4321 # Files that config.status was made for.
4322 if test -n "$ac_config_files"; then
4323 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4326 if test -n "$ac_config_headers"; then
4327 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4330 if test -n "$ac_config_links"; then
4331 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4334 if test -n "$ac_config_commands"; then
4335 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4338 cat >>$CONFIG_STATUS <<\_ACEOF
4341 \`$as_me' instantiates files from templates according to the
4342 current configuration.
4344 Usage: $0 [OPTIONS] [FILE]...
4346 -h, --help print this help, then exit
4347 -V, --version print version number, then exit
4348 -q, --quiet do not print progress messages
4349 -d, --debug don't remove temporary files
4350 --recheck update $as_me by reconfiguring in the same conditions
4351 --file=FILE[:TEMPLATE]
4352 instantiate the configuration file FILE
4353 --header=FILE[:TEMPLATE]
4354 instantiate the configuration header FILE
4356 Configuration files:
4359 Configuration headers:
4362 Configuration commands:
4365 Report bugs to <bug-autoconf@gnu.org>."
4368 cat >>$CONFIG_STATUS <<_ACEOF
4371 configured by $0, generated by GNU Autoconf 2.59,
4372 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4374 Copyright (C) 2003 Free Software Foundation, Inc.
4375 This config.status script is free software; the Free Software Foundation
4376 gives unlimited permission to copy, distribute and modify it."
4381 cat >>$CONFIG_STATUS <<\_ACEOF
4382 # If no file are specified by the user, then we need to provide default
4383 # value. By we need to know if files were specified by the user.
4389 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4390 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4398 *) # This is not an option, so the user has probably given explicit
4401 ac_need_defaults
=false
;;
4405 # Handling of the options.
4407 cat >>$CONFIG_STATUS <<\_ACEOF
4408 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4410 --version |
--vers* |
-V )
4411 echo "$ac_cs_version"; exit 0 ;;
4413 # Conflict between --help and --header
4414 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4415 Try \`$0 --help' for more information." >&5
4416 echo "$as_me: error: ambiguous option: $1
4417 Try \`$0 --help' for more information." >&2;}
4418 { (exit 1); exit 1; }; };;
4419 --help |
--hel |
-h )
4420 echo "$ac_cs_usage"; exit 0 ;;
4421 --debug |
--d* |
-d )
4423 --file |
--fil |
--fi |
--f )
4425 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4426 ac_need_defaults
=false
;;
4427 --header |
--heade |
--head |
--hea )
4429 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4430 ac_need_defaults
=false
;;
4431 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4432 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4436 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4437 Try \`$0 --help' for more information." >&5
4438 echo "$as_me: error: unrecognized option: $1
4439 Try \`$0 --help' for more information." >&2;}
4440 { (exit 1); exit 1; }; } ;;
4442 *) ac_config_targets
="$ac_config_targets $1" ;;
4448 ac_configure_extra_args
=
4450 if $ac_cs_silent; then
4452 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4456 cat >>$CONFIG_STATUS <<_ACEOF
4457 if \$ac_cs_recheck; then
4458 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4459 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4464 cat >>$CONFIG_STATUS <<_ACEOF
4466 # INIT-COMMANDS section.
4469 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4470 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
4471 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
4473 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
4474 # Capture the value of LINGUAS because we need it to compute CATALOGS.
4475 LINGUAS="${LINGUAS-%UNSET%}"
4482 cat >>$CONFIG_STATUS <<\_ACEOF
4483 for ac_config_target
in $ac_config_targets
4485 case "$ac_config_target" in
4486 # Handling of arguments.
4487 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4488 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
4489 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4490 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
4491 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4492 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4493 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4494 { (exit 1); exit 1; }; };;
4498 # If the user did not use the arguments to specify the items to instantiate,
4499 # then the envvar interface is used. Set only those that are not.
4500 # We use the long form for the default assignment because of an extremely
4501 # bizarre bug on SunOS 4.1.3.
4502 if $ac_need_defaults; then
4503 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4504 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4505 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4508 # Have a temporary directory for convenience. Make it in the build tree
4509 # simply because there is no reason to put it here, and in addition,
4510 # creating and moving files from /tmp can sometimes cause problems.
4511 # Create a temporary directory, and hook for its removal unless debugging.
4514 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4515 trap '{ (exit 1); exit 1; }' 1 2 13 15
4518 # Create a (secure) tmp directory for tmp files.
4521 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4522 test -n "$tmp" && test -d "$tmp"
4525 tmp
=.
/confstat$$
-$RANDOM
4526 (umask 077 && mkdir
$tmp)
4529 echo "$me: cannot create a temporary directory in ." >&2
4530 { (exit 1); exit 1; }
4535 cat >>$CONFIG_STATUS <<_ACEOF
4538 # CONFIG_FILES section.
4541 # No need to generate the scripts if there are no CONFIG_FILES.
4542 # This happens for instance when ./config.status config.h
4543 if test -n "\$CONFIG_FILES"; then
4544 # Protect against being on the right side of a sed subst in config.status.
4545 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4546 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4547 s,@SHELL@,$SHELL,;t t
4548 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4549 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4550 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4551 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4552 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4553 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4554 s,@exec_prefix@,$exec_prefix,;t t
4555 s,@prefix@,$prefix,;t t
4556 s,@program_transform_name@,$program_transform_name,;t t
4557 s,@bindir@,$bindir,;t t
4558 s,@sbindir@,$sbindir,;t t
4559 s,@libexecdir@,$libexecdir,;t t
4560 s,@datadir@,$datadir,;t t
4561 s,@sysconfdir@,$sysconfdir,;t t
4562 s,@sharedstatedir@,$sharedstatedir,;t t
4563 s,@localstatedir@,$localstatedir,;t t
4564 s,@libdir@,$libdir,;t t
4565 s,@includedir@,$includedir,;t t
4566 s,@oldincludedir@,$oldincludedir,;t t
4567 s,@infodir@,$infodir,;t t
4568 s,@mandir@,$mandir,;t t
4569 s,@build_alias@,$build_alias,;t t
4570 s,@host_alias@,$host_alias,;t t
4571 s,@target_alias@,$target_alias,;t t
4573 s,@ECHO_C@,$ECHO_C,;t t
4574 s,@ECHO_N@,$ECHO_N,;t t
4575 s,@ECHO_T@,$ECHO_T,;t t
4577 s,@build@,$build,;t t
4578 s,@build_cpu@,$build_cpu,;t t
4579 s,@build_vendor@,$build_vendor,;t t
4580 s,@build_os@,$build_os,;t t
4582 s,@host_cpu@,$host_cpu,;t t
4583 s,@host_vendor@,$host_vendor,;t t
4584 s,@host_os@,$host_os,;t t
4585 s,@target@,$target,;t t
4586 s,@target_cpu@,$target_cpu,;t t
4587 s,@target_vendor@,$target_vendor,;t t
4588 s,@target_os@,$target_os,;t t
4589 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4590 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4591 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4592 s,@CYGPATH_W@,$CYGPATH_W,;t t
4593 s,@PACKAGE@,$PACKAGE,;t t
4594 s,@VERSION@,$VERSION,;t t
4595 s,@ACLOCAL@,$ACLOCAL,;t t
4596 s,@AUTOCONF@,$AUTOCONF,;t t
4597 s,@AUTOMAKE@,$AUTOMAKE,;t t
4598 s,@AUTOHEADER@,$AUTOHEADER,;t t
4599 s,@MAKEINFO@,$MAKEINFO,;t t
4600 s,@install_sh@,$install_sh,;t t
4601 s,@STRIP@,$STRIP,;t t
4602 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4603 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4604 s,@mkdir_p@,$mkdir_p,;t t
4606 s,@SET_MAKE@,$SET_MAKE,;t t
4607 s,@am__leading_dot@,$am__leading_dot,;t t
4608 s,@AMTAR@,$AMTAR,;t t
4609 s,@am__tar@,$am__tar,;t t
4610 s,@am__untar@,$am__untar,;t t
4612 s,@CFLAGS@,$CFLAGS,;t t
4613 s,@LDFLAGS@,$LDFLAGS,;t t
4614 s,@CPPFLAGS@,$CPPFLAGS,;t t
4615 s,@ac_ct_CC@,$ac_ct_CC,;t t
4616 s,@EXEEXT@,$EXEEXT,;t t
4617 s,@OBJEXT@,$OBJEXT,;t t
4618 s,@DEPDIR@,$DEPDIR,;t t
4619 s,@am__include@,$am__include,;t t
4620 s,@am__quote@,$am__quote,;t t
4621 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4622 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4623 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4624 s,@CCDEPMODE@,$CCDEPMODE,;t t
4625 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4626 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4628 s,@CXXFLAGS@,$CXXFLAGS,;t t
4629 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4630 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4631 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4632 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4633 s,@USE_NLS@,$USE_NLS,;t t
4634 s,@LIBINTL@,$LIBINTL,;t t
4635 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
4636 s,@INCINTL@,$INCINTL,;t t
4637 s,@XGETTEXT@,$XGETTEXT,;t t
4638 s,@GMSGFMT@,$GMSGFMT,;t t
4639 s,@POSUB@,$POSUB,;t t
4640 s,@CATALOGS@,$CATALOGS,;t t
4641 s,@DATADIRNAME@,$DATADIRNAME,;t t
4642 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
4643 s,@GENCAT@,$GENCAT,;t t
4644 s,@CATOBJEXT@,$CATOBJEXT,;t t
4645 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
4646 s,@MSGFMT@,$MSGFMT,;t t
4647 s,@MSGMERGE@,$MSGMERGE,;t t
4648 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
4649 s,@NO_WERROR@,$NO_WERROR,;t t
4650 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
4651 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
4652 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4653 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4654 s,@MAINT@,$MAINT,;t t
4655 s,@LIBOBJS@,$LIBOBJS,;t t
4656 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4661 cat >>$CONFIG_STATUS <<\_ACEOF
4662 # Split the substitutions into bite-sized pieces for seds with
4663 # small command number limits, like on Digital OSF/1 and HP-UX.
4665 ac_sed_frag
=1 # Number of current file.
4666 ac_beg
=1 # First line for current file.
4667 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4670 while $ac_more_lines; do
4671 if test $ac_beg -gt 1; then
4672 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4674 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4676 if test ! -s $tmp/subs.frag
; then
4679 # The purpose of the label and of the branching condition is to
4680 # speed up the sed processing (if there are no `@' at all, there
4681 # is no need to browse any of the substitutions).
4682 # These are the two extra sed commands mentioned above.
4684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4685 if test -z "$ac_sed_cmds"; then
4686 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4688 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4690 ac_sed_frag
=`expr $ac_sed_frag + 1`
4692 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4695 if test -z "$ac_sed_cmds"; then
4698 fi # test -n "$CONFIG_FILES"
4701 cat >>$CONFIG_STATUS <<\_ACEOF
4702 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4705 - |
*:- |
*:-:* ) # input from stdin
4707 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4708 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4709 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4710 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4711 * ) ac_file_in
=$ac_file.
in ;;
4714 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4715 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4716 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4717 X"$ac_file" : 'X\(//\)[^/]' \| \
4718 X"$ac_file" : 'X\(//\)$' \| \
4719 X"$ac_file" : 'X\(/\)' \| \
4720 . : '\(.\)' 2>/dev/null ||
4722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4724 /^X\(\/\/\)$/{ s//\1/; q; }
4725 /^X\(\/\).*/{ s//\1/; q; }
4727 { if $as_mkdir_p; then
4732 while test ! -d "$as_dir"; do
4733 as_dirs
="$as_dir $as_dirs"
4734 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4736 X"$as_dir" : 'X\(//\)[^/]' \| \
4737 X"$as_dir" : 'X\(//\)$' \| \
4738 X"$as_dir" : 'X\(/\)' \| \
4739 . : '\(.\)' 2>/dev/null ||
4741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4743 /^X\(\/\/\)$/{ s//\1/; q; }
4744 /^X\(\/\).*/{ s//\1/; q; }
4747 test ! -n "$as_dirs" || mkdir
$as_dirs
4748 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4749 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4750 { (exit 1); exit 1; }; }; }
4754 if test "$ac_dir" != .
; then
4755 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4756 # A "../" for each directory in $ac_dir_suffix.
4757 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4759 ac_dir_suffix
= ac_top_builddir
=
4763 .
) # No --srcdir option. We are building in place.
4765 if test -z "$ac_top_builddir"; then
4768 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4770 [\\/]* | ?
:[\\/]* ) # Absolute path.
4771 ac_srcdir
=$srcdir$ac_dir_suffix;
4772 ac_top_srcdir
=$srcdir ;;
4774 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4775 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4778 # Do not use `cd foo && pwd` to compute absolute paths, because
4779 # the directories may not exist.
4781 .
) ac_abs_builddir
="$ac_dir";;
4784 .
) ac_abs_builddir
=`pwd`;;
4785 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4786 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4789 case $ac_abs_builddir in
4790 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4792 case ${ac_top_builddir}.
in
4793 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4794 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4795 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4798 case $ac_abs_builddir in
4799 .
) ac_abs_srcdir
=$ac_srcdir;;
4802 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4803 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4804 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4807 case $ac_abs_builddir in
4808 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4810 case $ac_top_srcdir in
4811 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4812 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4813 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4819 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4820 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4823 if test x
"$ac_file" != x-
; then
4824 { echo "$as_me:$LINENO: creating $ac_file" >&5
4825 echo "$as_me: creating $ac_file" >&6;}
4828 # Let's still pretend it is `configure' which instantiates (i.e., don't
4829 # use $as_me), people would be surprised to read:
4830 # /* config.h. Generated by config.status. */
4831 if test x
"$ac_file" = x-
; then
4834 configure_input
="$ac_file. "
4836 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4837 sed 's,.*/,,'` by configure."
4839 # First look for the input files in the build tree, otherwise in the
4841 ac_file_inputs
=`IFS=:
4842 for f in $ac_file_in; do
4844 -) echo $tmp/stdin ;;
4846 # Absolute (can't be DOS-style, as IFS=:)
4847 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4848 echo "$as_me: error: cannot find input file: $f" >&2;}
4849 { (exit 1); exit 1; }; }
4852 if test -f "$f"; then
4855 elif test -f "$srcdir/$f"; then
4860 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4861 echo "$as_me: error: cannot find input file: $f" >&2;}
4862 { (exit 1); exit 1; }; }
4865 done` ||
{ (exit 1); exit 1; }
4867 cat >>$CONFIG_STATUS <<_ACEOF
4871 cat >>$CONFIG_STATUS <<\_ACEOF
4873 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4874 s
,@configure_input@
,$configure_input,;t t
4875 s
,@srcdir@
,$ac_srcdir,;t t
4876 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4877 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4878 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4879 s
,@builddir@
,$ac_builddir,;t t
4880 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4881 s
,@top_builddir@
,$ac_top_builddir,;t t
4882 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4883 s
,@INSTALL@
,$ac_INSTALL,;t t
4884 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4886 if test x"$ac_file" != x-; then
4887 mv $tmp/out $ac_file
4895 cat >>$CONFIG_STATUS <<\_ACEOF
4898 # CONFIG_HEADER section.
4901 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4902 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4904 # ac_d sets the value in "#define NAME VALUE" lines.
4905 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4906 ac_dB
='[ ].*$,\1#\2'
4909 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4910 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4911 ac_uB
='$,\1#\2define\3'
4915 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4918 - |
*:- |
*:-:* ) # input from stdin
4920 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4921 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4922 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4923 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4924 * ) ac_file_in
=$ac_file.
in ;;
4927 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4928 echo "$as_me: creating $ac_file" >&6;}
4930 # First look for the input files in the build tree, otherwise in the
4932 ac_file_inputs
=`IFS=:
4933 for f in $ac_file_in; do
4935 -) echo $tmp/stdin ;;
4937 # Absolute (can't be DOS-style, as IFS=:)
4938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4939 echo "$as_me: error: cannot find input file: $f" >&2;}
4940 { (exit 1); exit 1; }; }
4941 # Do quote $f, to prevent DOS paths from being IFS'd.
4944 if test -f "$f"; then
4947 elif test -f "$srcdir/$f"; then
4952 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4953 echo "$as_me: error: cannot find input file: $f" >&2;}
4954 { (exit 1); exit 1; }; }
4957 done` ||
{ (exit 1); exit 1; }
4958 # Remove the trailing spaces.
4959 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4963 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4964 # `conftest.undefs', that substitutes the proper values into
4965 # config.h.in to produce config.h. The first handles `#define'
4966 # templates, and the second `#undef' templates.
4967 # And first: Protect against being on the right side of a sed subst in
4968 # config.status. Protect against being in an unquoted here document
4970 rm -f conftest.defines conftest.undefs
4971 # Using a here document instead of a string reduces the quoting nightmare.
4972 # Putting comments in sed scripts is not portable.
4974 # `end' is used to avoid that the second main sed command (meant for
4975 # 0-ary CPP macros) applies to n-ary macro definitions.
4976 # See the Autoconf documentation for `clear'.
4977 cat >confdef2sed.
sed <<\_ACEOF
4982 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4984 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4987 # If some macros were called several times there might be several times
4988 # the same #defines, which is useless. Nevertheless, we may not want to
4989 # sort them, since we want the *last* AC-DEFINE to be honored.
4990 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4991 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4992 rm -f confdef2sed.sed
4994 # This sed command replaces #undef with comments. This is necessary, for
4995 # example, in the case of _POSIX_SOURCE, which is predefined and required
4996 # on some systems where configure will not decide to define it.
4997 cat >>conftest.undefs <<\_ACEOF
4998 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5001 # Break up conftest.defines because some shells have a limit on the size
5002 # of here documents, and old seds have small limits too (100 cmds).
5003 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5004 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5005 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5006 echo ' :' >>$CONFIG_STATUS
5008 while grep . conftest.defines >/dev/null
5010 # Write a limited-size here document to $tmp/defines.sed.
5011 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5012 # Speed up: don't consider the non `#define' lines.
5013 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5014 # Work around the forget-to-reset-the-flag bug.
5015 echo 't clr' >>$CONFIG_STATUS
5016 echo ': clr' >>$CONFIG_STATUS
5017 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5019 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5023 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5024 rm -f conftest.defines
5025 mv conftest.
tail conftest.defines
5027 rm -f conftest.defines
5028 echo ' fi # grep' >>$CONFIG_STATUS
5029 echo >>$CONFIG_STATUS
5031 # Break up conftest.undefs because some shells have a limit on the size
5032 # of here documents, and old seds have small limits too (100 cmds).
5033 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5035 while grep . conftest.undefs
>/dev
/null
5037 # Write a limited-size here document to $tmp/undefs.sed.
5038 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5039 # Speed up: don't consider the non
`#undef'
5040 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5041 # Work around the forget-to-reset-the-flag bug.
5042 echo 't clr' >>$CONFIG_STATUS
5043 echo ': clr' >>$CONFIG_STATUS
5044 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5046 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5050 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5051 rm -f conftest.undefs
5052 mv conftest.tail conftest.undefs
5054 rm -f conftest.undefs
5056 cat >>$CONFIG_STATUS <<\_ACEOF
5057 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5058 # use $as_me), people would be surprised to read:
5059 # /* config.h. Generated by config.status. */
5060 if test x
"$ac_file" = x-
; then
5061 echo "/* Generated by configure. */" >$tmp/config.h
5063 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5065 cat $tmp/in >>$tmp/config.h
5067 if test x
"$ac_file" != x-
; then
5068 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5069 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5070 echo "$as_me: $ac_file is unchanged" >&6;}
5072 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5074 X"$ac_file" : 'X\(//\)[^/]' \| \
5075 X"$ac_file" : 'X\(//\)$' \| \
5076 X"$ac_file" : 'X\(/\)' \| \
5077 . : '\(.\)' 2>/dev/null ||
5079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5081 /^X\(\/\/\)$/{ s//\1/; q; }
5082 /^X\(\/\).*/{ s//\1/; q; }
5084 { if $as_mkdir_p; then
5089 while test ! -d "$as_dir"; do
5090 as_dirs
="$as_dir $as_dirs"
5091 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5093 X"$as_dir" : 'X\(//\)[^/]' \| \
5094 X"$as_dir" : 'X\(//\)$' \| \
5095 X"$as_dir" : 'X\(/\)' \| \
5096 . : '\(.\)' 2>/dev/null ||
5098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5100 /^X\(\/\/\)$/{ s//\1/; q; }
5101 /^X\(\/\).*/{ s//\1/; q; }
5104 test ! -n "$as_dirs" || mkdir
$as_dirs
5105 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5107 { (exit 1); exit 1; }; }; }
5110 mv $tmp/config.h
$ac_file
5116 # Compute $ac_file's index in $config_headers.
5118 for _am_header
in $config_headers :; do
5120 $ac_file |
$ac_file:* )
5123 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5126 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5127 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5128 X$ac_file : 'X\(//\)[^/]' \| \
5129 X$ac_file : 'X\(//\)$' \| \
5130 X$ac_file : 'X\(/\)' \| \
5131 . : '\(.\)' 2>/dev/null ||
5133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5135 /^X\(\/\/\)$/{ s//\1/; q; }
5136 /^X\(\/\).*/{ s//\1/; q; }
5137 s/.*/./; q'`/stamp-h
$_am_stamp_count
5140 cat >>$CONFIG_STATUS <<\_ACEOF
5143 # CONFIG_COMMANDS section.
5145 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5146 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5147 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5148 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5149 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5150 X"$ac_dest" : 'X\(//\)[^/]' \| \
5151 X"$ac_dest" : 'X\(//\)$' \| \
5152 X"$ac_dest" : 'X\(/\)' \| \
5153 . : '\(.\)' 2>/dev/null ||
5155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5157 /^X\(\/\/\)$/{ s//\1/; q; }
5158 /^X\(\/\).*/{ s//\1/; q; }
5160 { if $as_mkdir_p; then
5165 while test ! -d "$as_dir"; do
5166 as_dirs
="$as_dir $as_dirs"
5167 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5169 X"$as_dir" : 'X\(//\)[^/]' \| \
5170 X"$as_dir" : 'X\(//\)$' \| \
5171 X"$as_dir" : 'X\(/\)' \| \
5172 . : '\(.\)' 2>/dev/null ||
5174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5176 /^X\(\/\/\)$/{ s//\1/; q; }
5177 /^X\(\/\).*/{ s//\1/; q; }
5180 test ! -n "$as_dirs" || mkdir
$as_dirs
5181 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5183 { (exit 1); exit 1; }; }; }
5187 if test "$ac_dir" != .
; then
5188 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5189 # A "../" for each directory in $ac_dir_suffix.
5190 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5192 ac_dir_suffix
= ac_top_builddir
=
5196 .
) # No --srcdir option. We are building in place.
5198 if test -z "$ac_top_builddir"; then
5201 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5203 [\\/]* | ?
:[\\/]* ) # Absolute path.
5204 ac_srcdir
=$srcdir$ac_dir_suffix;
5205 ac_top_srcdir
=$srcdir ;;
5207 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5208 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5211 # Do not use `cd foo && pwd` to compute absolute paths, because
5212 # the directories may not exist.
5214 .
) ac_abs_builddir
="$ac_dir";;
5217 .
) ac_abs_builddir
=`pwd`;;
5218 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5219 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5222 case $ac_abs_builddir in
5223 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5225 case ${ac_top_builddir}.
in
5226 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5227 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5228 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5231 case $ac_abs_builddir in
5232 .
) ac_abs_srcdir
=$ac_srcdir;;
5235 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5236 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5237 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5240 case $ac_abs_builddir in
5241 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5243 case $ac_top_srcdir in
5244 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5245 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5246 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5251 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5252 echo "$as_me: executing $ac_dest commands" >&6;}
5254 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
5255 # Strip MF so we end up with the name of the file.
5256 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5257 # Check whether this is an Automake generated Makefile or not.
5258 # We used to match only the files named `Makefile.in', but
5259 # some people rename them; so instead we look at the file content.
5260 # Grep'ing the first line is not enough: some people post-process
5261 # each Makefile.in and add a new line on top of each file to say so.
5262 # So let's grep whole file.
5263 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5264 dirpart
=`(dirname "$mf") 2>/dev/null ||
5265 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5266 X"$mf" : 'X\(//\)[^/]' \| \
5267 X"$mf" : 'X\(//\)$' \| \
5268 X"$mf" : 'X\(/\)' \| \
5269 . : '\(.\)' 2>/dev/null ||
5271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5273 /^X\(\/\/\)$/{ s//\1/; q; }
5274 /^X\(\/\).*/{ s//\1/; q; }
5279 # Extract the definition of DEPDIR, am__include, and am__quote
5280 # from the Makefile without running `make'.
5281 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5282 test -z "$DEPDIR" && continue
5283 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5284 test -z "am__include" && continue
5285 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5286 # When using ansi2knr, U may be empty or an underscore; expand it
5287 U
=`sed -n 's/^U = //p' < "$mf"`
5288 # Find all dependency output files, they are included files with
5289 # $(DEPDIR) in their names. We invoke sed twice because it is the
5290 # simplest approach to changing $(DEPDIR) to its actual value in the
5292 for file in `sed -n "
5293 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5294 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5295 # Make sure the directory exists.
5296 test -f "$dirpart/$file" && continue
5297 fdir
=`(dirname "$file") 2>/dev/null ||
5298 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5299 X"$file" : 'X\(//\)[^/]' \| \
5300 X"$file" : 'X\(//\)$' \| \
5301 X"$file" : 'X\(/\)' \| \
5302 . : '\(.\)' 2>/dev/null ||
5304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5306 /^X\(\/\/\)$/{ s//\1/; q; }
5307 /^X\(\/\).*/{ s//\1/; q; }
5309 { if $as_mkdir_p; then
5310 mkdir
-p $dirpart/$fdir
5312 as_dir
=$dirpart/$fdir
5314 while test ! -d "$as_dir"; do
5315 as_dirs
="$as_dir $as_dirs"
5316 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5318 X"$as_dir" : 'X\(//\)[^/]' \| \
5319 X"$as_dir" : 'X\(//\)$' \| \
5320 X"$as_dir" : 'X\(/\)' \| \
5321 . : '\(.\)' 2>/dev/null ||
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5325 /^X\(\/\/\)$/{ s//\1/; q; }
5326 /^X\(\/\).*/{ s//\1/; q; }
5329 test ! -n "$as_dirs" || mkdir
$as_dirs
5330 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5331 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5332 { (exit 1); exit 1; }; }; }
5334 # echo "creating $dirpart/$file"
5335 echo '# dummy' > "$dirpart/$file"
5340 for ac_file
in $CONFIG_FILES; do
5341 # Support "outfile[:infile[:infile...]]"
5343 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5345 # PO directories have a Makefile.in generated from Makefile.in.in.
5346 case "$ac_file" in */Makefile.
in)
5347 # Adjust a relative srcdir.
5348 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
5349 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
5350 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
5351 # In autoconf-2.13 it is called $ac_given_srcdir.
5352 # In autoconf-2.50 it is called $srcdir.
5353 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
5354 case "$ac_given_srcdir" in
5355 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
5356 /*) top_srcdir
="$ac_given_srcdir" ;;
5357 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
5359 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
5360 rm -f "$ac_dir/POTFILES"
5361 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
5362 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
5363 POMAKEFILEDEPS
="POTFILES.in"
5364 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
5365 # on $ac_dir but don't depend on user-specified configuration
5367 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
5368 # The LINGUAS file contains the set of available languages.
5369 if test -n "$OBSOLETE_ALL_LINGUAS"; then
5370 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
5372 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
5373 # Hide the ALL_LINGUAS assigment from automake.
5374 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
5375 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
5377 # The set of available languages was given in configure.in.
5378 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
5380 case "$ac_given_srcdir" in
5382 *) srcdirpre
='$(srcdir)/' ;;
5388 for lang
in $ALL_LINGUAS; do
5389 POFILES
="$POFILES $srcdirpre$lang.po"
5390 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
5391 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
5392 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
5394 # CATALOGS depends on both $ac_dir and the user's LINGUAS
5395 # environment variable.
5397 if test -n "$ALL_LINGUAS"; then
5398 for presentlang
in $ALL_LINGUAS; do
5400 if test "%UNSET%" != "$LINGUAS"; then
5401 desiredlanguages
="$LINGUAS"
5403 desiredlanguages
="$ALL_LINGUAS"
5405 for desiredlang
in $desiredlanguages; do
5406 # Use the presentlang catalog if desiredlang is
5407 # a. equal to presentlang, or
5408 # b. a variant of presentlang (because in this case,
5409 # presentlang can be used as a fallback for messages
5410 # which are not translated in the desiredlang catalog).
5411 case "$desiredlang" in
5412 "$presentlang"*) useit
=yes;;
5415 if test $useit = yes; then
5416 INST_LINGUAS
="$INST_LINGUAS $presentlang"
5421 if test -n "$INST_LINGUAS"; then
5422 for lang
in $INST_LINGUAS; do
5423 CATALOGS
="$CATALOGS $lang.gmo"
5426 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
5427 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"
5428 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
5429 if test -f "$f"; then
5431 *.orig |
*.bak |
*~
) ;;
5432 *) cat "$f" >> "$ac_dir/Makefile" ;;
5444 cat >>$CONFIG_STATUS <<\_ACEOF
5446 { (exit 0); exit 0; }
5448 chmod +x
$CONFIG_STATUS
5449 ac_clean_files
=$ac_clean_files_save
5452 # configure is writing to config.log, and then calls config.status.
5453 # config.status does its own redirection, appending to config.log.
5454 # Unfortunately, on DOS this fails, as config.log is still kept open
5455 # by configure, so config.status won't be able to write to it; its
5456 # output is simply discarded. So we exec the FD to /dev/null,
5457 # effectively closing config.log, so it can be properly (re)opened and
5458 # appended to by config.status. When coming back to configure, we
5459 # need to make the FD available again.
5460 if test "$no_create" != yes; then
5462 ac_config_status_args
=
5463 test "$silent" = yes &&
5464 ac_config_status_args
="$ac_config_status_args --quiet"
5466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5469 # would make configure fail if this is the last instruction.
5470 $ac_cs_success ||
{ (exit 1); exit 1; }