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
="gettext.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB ACLOCAL AUTOCONF AUTOHEADER MAINT LIBINTL_DEP INCINTL LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --disable-nls do not use Native Language Support
849 --disable-rpath do not hardcode runtime library paths
850 --enable-maintainer-mode enable rules only needed by maintainers
853 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
854 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
855 --with-gnu-ld assume the C compiler uses GNU ld default
=no
856 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
857 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
858 --with-included-gettext use the GNU gettext library included here
859 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
860 --without-libintl-prefix don't search
for libintl
in includedir and libdir
862 Some influential environment variables
:
863 CC C compiler
command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
866 nonstandard directory
<lib dir
>
867 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
868 headers
in a nonstandard directory
<include dir
>
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Do not use `cd foo
&& pwd` to compute absolute paths, because
909 # the directories may not exist.
911 .) ac_abs_builddir="$ac_dir";;
914 .) ac_abs_builddir=`pwd`;;
915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 case ${ac_top_builddir}. in
923 .) ac_abs_top_builddir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
932 .) ac_abs_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 case $ac_top_srcdir in
941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
948 # Check for guested configure; otherwise get Cygnus style configure.
949 if test -f $ac_srcdir/configure.gnu; then
951 $SHELL $ac_srcdir/configure.gnu --help=recursive
952 elif test -f $ac_srcdir/configure; then
954 $SHELL $ac_srcdir/configure --help=recursive
955 elif test -f $ac_srcdir/configure.ac ||
956 test -f $ac_srcdir/configure.in; then
960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by $as_me, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 # differences in whitespace do not lead to failure.
1256 ac_old_val_w=`echo x $ac_old_val`
1257 ac_new_val_w=`echo x $ac_new_val`
1258 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1260 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1261 ac_cache_corrupted=:
1263 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1264 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1265 eval $ac_var=\$ac_old_val
1267 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1268 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1269 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1270 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1288 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1289 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1290 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1291 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1292 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 ac_config_headers="$ac_config_headers config.h"
1327 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1328 *) ac_macro_dir=$srcdir/../config ;;
1330 if test -d "$ac_macro_dir"; then :
1332 { { echo "$as_me:$LINENO: error: cannot find macro directory \`..
/config
'" >&5
1333 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1334 { (exit 1); exit 1; }; }
1338 echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
1339 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6
1340 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1341 if eval "test \"\
${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1342 echo $ECHO_N "(cached
) $ECHO_C" >&6
1344 cat >conftest.make <<\_ACEOF
1346 @echo 'ac_maketemp="$
(MAKE
)"'
1348 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1349 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1350 if test -n "$ac_maketemp"; then
1351 eval ac_cv_prog_make_${ac_make}_set=yes
1353 eval ac_cv_prog_make_${ac_make}_set=no
1357 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1358 echo "$as_me:$LINENO: result
: yes" >&5
1359 echo "${ECHO_T}yes" >&6
1362 echo "$as_me:$LINENO: result
: no
" >&5
1363 echo "${ECHO_T}no
" >&6
1364 SET_MAKE="MAKE
=${MAKE-make}"
1368 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1369 if test -f $ac_dir/install-sh; then
1371 ac_install_sh="$ac_aux_dir/install-sh
-c"
1373 elif test -f $ac_dir/install.sh; then
1375 ac_install_sh="$ac_aux_dir/install.sh
-c"
1377 elif test -f $ac_dir/shtool; then
1379 ac_install_sh="$ac_aux_dir/shtool
install -c"
1383 if test -z "$ac_aux_dir"; then
1384 { { echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in $srcdir $srcdir/..
$srcdir/..
/..
" >&5
1385 echo "$as_me: error
: cannot
find install-sh or
install.sh
in $srcdir $srcdir/..
$srcdir/..
/..
" >&2;}
1386 { (exit 1); exit 1; }; }
1388 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1389 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1390 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1392 # Find a good install program. We prefer a C program (faster),
1393 # so one script is as good as another. But avoid the broken or
1394 # incompatible versions:
1395 # SysV /etc/install, /usr/sbin/install
1396 # SunOS /usr/etc/install
1397 # IRIX /sbin/install
1399 # AmigaOS /C/install, which installs bootblocks on floppy discs
1400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1403 # OS/2's system install, which has a completely different semantic
1404 # ./install, which can be erroneously created by make from ./install.sh.
1405 # Reject install programs that cannot install multiple files.
1406 echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1407 echo $ECHO_N "checking
for a BSD-compatible
install...
$ECHO_C" >&6
1408 if test -z "$INSTALL"; then
1409 if test "${ac_cv_path_install+set}" = set; then
1410 echo $ECHO_N "(cached
) $ECHO_C" >&6
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 # Account for people who put trailing slashes in PATH elements.
1419 ./ | .// | /cC/* | \
1420 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1421 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1424 # OSF1 and SCO ODT 3.0 have their own names for install.
1425 # Don't use installbsd from OSF since it installs stuff as root
1427 for ac_prog in ginstall scoinst install; do
1428 for ac_exec_ext in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1430 if test $ac_prog = install &&
1431 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1432 # AIX install. It has an incompatible calling convention.
1434 elif test $ac_prog = install &&
1435 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1436 # program-specific install script used by HP pwplus--don't use.
1439 rm -rf conftest.one conftest.two conftest.dir
1440 echo one > conftest.one
1441 echo two > conftest.two
1443 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
1444 test -s conftest.one && test -s conftest.two &&
1445 test -s conftest.dir/conftest.one &&
1446 test -s conftest.dir/conftest.two
1448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1459 rm -rf conftest.one conftest.two conftest.dir
1462 if test "${ac_cv_path_install+set}" = set; then
1463 INSTALL=$ac_cv_path_install
1465 # As a last resort, use the slow shell script. Don't cache a
1466 # value for INSTALL within a source directory, because that will
1467 # break other packages using the cache if that directory is
1468 # removed, or if the value is a relative name.
1469 INSTALL=$ac_install_sh
1472 echo "$as_me:$LINENO: result
: $INSTALL" >&5
1473 echo "${ECHO_T}$INSTALL" >&6
1475 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1476 # It thinks the first close brace ends the variable substitution.
1477 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1479 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1481 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1485 if test -n "$ac_aux_dir"; then
1486 case "$ac_aux_dir" in
1487 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs
" ;;
1488 *) MKINSTALLDIRS="\$
(top_builddir
)/$ac_aux_dir/mkinstalldirs
" ;;
1491 if test -z "$MKINSTALLDIRS"; then
1492 MKINSTALLDIRS="\$
(top_srcdir
)/mkinstalldirs
"
1497 echo "$as_me:$LINENO: checking whether NLS is requested
" >&5
1498 echo $ECHO_N "checking whether NLS is requested...
$ECHO_C" >&6
1499 # Check whether --enable-nls or --disable-nls was given.
1500 if test "${enable_nls+set}" = set; then
1501 enableval="$enable_nls"
1506 echo "$as_me:$LINENO: result
: $USE_NLS" >&5
1507 echo "${ECHO_T}$USE_NLS" >&6
1514 # Prepare PATH_SEPARATOR.
1515 # The user is always right.
1516 if test "${PATH_SEPARATOR+set}" != set; then
1517 echo "#! /bin/sh" >conf$$.sh
1518 echo "exit 0" >>conf$$.sh
1520 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1528 # Find out how to test for executable files. Don't use a zero-byte file,
1529 # as systems may use methods other than mode bits to determine executability.
1530 cat >conf$$.
file <<_ASEOF
1534 chmod +x conf$$.
file
1535 if test -x conf$$.
file >/dev
/null
2>&1; then
1536 ac_executable_p
="test -x"
1538 ac_executable_p
="test -f"
1542 # Extract the first word of "msgfmt", so it can be a program name with args.
1543 set dummy msgfmt
; ac_word
=$2
1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546 if test "${ac_cv_path_MSGFMT+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
1554 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1555 for ac_dir
in $PATH; do
1557 test -z "$ac_dir" && ac_dir
=.
1558 for ac_exec_ext
in '' $ac_executable_extensions; do
1559 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1560 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
1561 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1562 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
1569 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
1573 MSGFMT
="$ac_cv_path_MSGFMT"
1574 if test "$MSGFMT" != ":"; then
1575 echo "$as_me:$LINENO: result: $MSGFMT" >&5
1576 echo "${ECHO_T}$MSGFMT" >&6
1578 echo "$as_me:$LINENO: result: no" >&5
1579 echo "${ECHO_T}no" >&6
1582 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1583 set dummy gmsgfmt
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
1594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir
=.
1599 for ac_exec_ext
in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
1602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
1612 GMSGFMT
=$ac_cv_path_GMSGFMT
1614 if test -n "$GMSGFMT"; then
1615 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1616 echo "${ECHO_T}$GMSGFMT" >&6
1618 echo "$as_me:$LINENO: result: no" >&5
1619 echo "${ECHO_T}no" >&6
1624 # Prepare PATH_SEPARATOR.
1625 # The user is always right.
1626 if test "${PATH_SEPARATOR+set}" != set; then
1627 echo "#! /bin/sh" >conf$$.sh
1628 echo "exit 0" >>conf$$.sh
1630 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1638 # Find out how to test for executable files. Don't use a zero-byte file,
1639 # as systems may use methods other than mode bits to determine executability.
1640 cat >conf$$.
file <<_ASEOF
1644 chmod +x conf$$.
file
1645 if test -x conf$$.
file >/dev
/null
2>&1; then
1646 ac_executable_p
="test -x"
1648 ac_executable_p
="test -f"
1652 # Extract the first word of "xgettext", so it can be a program name with args.
1653 set dummy xgettext
; ac_word
=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
1664 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1665 for ac_dir
in $PATH; do
1667 test -z "$ac_dir" && ac_dir
=.
1668 for ac_exec_ext
in '' $ac_executable_extensions; do
1669 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1670 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
1671 (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
1672 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
1679 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
1683 XGETTEXT
="$ac_cv_path_XGETTEXT"
1684 if test "$XGETTEXT" != ":"; then
1685 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1686 echo "${ECHO_T}$XGETTEXT" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1695 # Prepare PATH_SEPARATOR.
1696 # The user is always right.
1697 if test "${PATH_SEPARATOR+set}" != set; then
1698 echo "#! /bin/sh" >conf$$.sh
1699 echo "exit 0" >>conf$$.sh
1701 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1709 # Find out how to test for executable files. Don't use a zero-byte file,
1710 # as systems may use methods other than mode bits to determine executability.
1711 cat >conf$$.
file <<_ASEOF
1715 chmod +x conf$$.
file
1716 if test -x conf$$.
file >/dev
/null
2>&1; then
1717 ac_executable_p
="test -x"
1719 ac_executable_p
="test -f"
1723 # Extract the first word of "msgmerge", so it can be a program name with args.
1724 set dummy msgmerge
; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_path_MSGMERGE+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
1735 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1736 for ac_dir
in $PATH; do
1738 test -z "$ac_dir" && ac_dir
=.
1739 for ac_exec_ext
in '' $ac_executable_extensions; do
1740 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1741 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
1742 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
1749 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
1753 MSGMERGE
="$ac_cv_path_MSGMERGE"
1754 if test "$MSGMERGE" != ":"; then
1755 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
1756 echo "${ECHO_T}$MSGMERGE" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1763 if test "$GMSGFMT" != ":"; then
1764 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
1765 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1768 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
1769 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
1770 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
1775 if test "$XGETTEXT" != ":"; then
1776 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
1777 (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
1780 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
1781 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1787 ac_config_commands
="$ac_config_commands default-1"
1791 ac_cpp
='$CPP $CPPFLAGS'
1792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1795 if test -n "$ac_tool_prefix"; then
1796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1797 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_CC+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$CC"; then
1804 ac_cv_prog_CC
="$CC" # Let the user override the test.
1806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir
=.
1811 for ac_exec_ext
in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test -n "$CC"; then
1824 echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1832 if test -z "$ac_cv_prog_CC"; then
1834 # Extract the first word of "gcc", so it can be a program name with args.
1835 set dummy gcc
; ac_word
=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 if test -n "$ac_ct_CC"; then
1842 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir
=.
1849 for ac_exec_ext
in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_ac_ct_CC
="gcc"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1861 if test -n "$ac_ct_CC"; then
1862 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1863 echo "${ECHO_T}$ac_ct_CC" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1874 if test -z "$CC"; then
1875 if test -n "$ac_tool_prefix"; then
1876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1877 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_CC+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test -n "$CC"; then
1904 echo "$as_me:$LINENO: result: $CC" >&5
1905 echo "${ECHO_T}$CC" >&6
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1912 if test -z "$ac_cv_prog_CC"; then
1914 # Extract the first word of "cc", so it can be a program name with args.
1915 set dummy cc
; ac_word
=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 for ac_exec_ext
in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_ac_ct_CC
="cc"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1941 if test -n "$ac_ct_CC"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1943 echo "${ECHO_T}$ac_ct_CC" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1955 if test -z "$CC"; then
1956 # Extract the first word of "cc", so it can be a program name with args.
1957 set dummy cc
; ac_word
=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC
="$CC" # Let the user override the test.
1967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir
=.
1972 for ac_exec_ext
in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1975 ac_prog_rejected
=yes
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 if test $ac_prog_rejected = yes; then
1986 # We found a bogon in the path, so make sure we never use it.
1987 set dummy
$ac_cv_prog_CC
1989 if test $# != 0; then
1990 # We chose a different compiler from the bogus one.
1991 # However, it has the same basename, so the bogon will be chosen
1992 # first if we set CC to just the basename; use the full file name.
1994 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2000 if test -n "$CC"; then
2001 echo "$as_me:$LINENO: result: $CC" >&5
2002 echo "${ECHO_T}$CC" >&6
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2009 if test -z "$CC"; then
2010 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$CC"; then
2021 ac_cv_prog_CC
="$CC" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$CC"; then
2041 echo "$as_me:$LINENO: result: $CC" >&5
2042 echo "${ECHO_T}$CC" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2048 test -n "$CC" && break
2051 if test -z "$CC"; then
2055 # Extract the first word of "$ac_prog", so it can be a program name with args.
2056 set dummy
$ac_prog; ac_word
=$2
2057 echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 if test -n "$ac_ct_CC"; then
2063 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir
=.
2070 for ac_exec_ext
in '' $ac_executable_extensions; do
2071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2072 ac_cv_prog_ac_ct_CC
="$ac_prog"
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2082 if test -n "$ac_ct_CC"; then
2083 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2084 echo "${ECHO_T}$ac_ct_CC" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2090 test -n "$ac_ct_CC" && break
2099 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2100 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2101 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2102 See \`config.log' for more details." >&5
2103 echo "$as_me: error: no acceptable C compiler found in \$PATH
2104 See \`config.log' for more details." >&2;}
2105 { (exit 1); exit 1; }; }; }
2107 # Provide some information about the compiler.
2108 echo "$as_me:$LINENO:" \
2109 "checking for C compiler version" >&5
2110 ac_compiler
=`set X $ac_compile; echo $2`
2111 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2112 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }
2116 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2117 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }
2121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2122 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2127 cat >conftest.
$ac_ext <<_ACEOF
2130 cat confdefs.h
>>conftest.
$ac_ext
2131 cat >>conftest.
$ac_ext <<_ACEOF
2132 /* end confdefs.h. */
2142 ac_clean_files_save
=$ac_clean_files
2143 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2144 # Try to create an executable without -o first, disregard a.out.
2145 # It will help us diagnose broken compilers, and finding out an intuition
2147 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2148 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2149 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2150 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2151 (eval $ac_link_default) 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; then
2155 # Find the output, starting from the most likely. This scheme is
2156 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2159 # Be careful to initialize this variable, since it used to be cached.
2160 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2162 # b.out is created by i960 compilers.
2163 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2165 test -f "$ac_file" ||
continue
2167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2170 # This is the source file.
2173 # We found the default executable, but exeext='' is most
2177 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2178 # FIXME: I believe we export ac_cv_exeext for Libtool,
2179 # but it would be cool to find out if it's true. Does anybody
2180 # maintain Libtool? --akim.
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2191 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2192 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: C compiler cannot create executables
2196 See \`config.log' for more details." >&2;}
2197 { (exit 77); exit 77; }; }; }
2200 ac_exeext
=$ac_cv_exeext
2201 echo "$as_me:$LINENO: result: $ac_file" >&5
2202 echo "${ECHO_T}$ac_file" >&6
2204 # Check the compiler produces executables we can run. If not, either
2205 # the compiler is broken, or we cross compile.
2206 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2207 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2208 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2209 # If not cross compiling, check that we can run a simple program.
2210 if test "$cross_compiling" != yes; then
2211 if { ac_try
='./$ac_file'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 if test "$cross_compiling" = maybe
; then
2222 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2223 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2225 If you meant to cross compile, use \`--host'.
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: cannot run C compiled programs.
2228 If you meant to cross compile, use \`--host'.
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }; }
2234 echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6
2237 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2238 ac_clean_files
=$ac_clean_files_save
2239 # Check the compiler produces executables we can run. If not, either
2240 # the compiler is broken, or we cross compile.
2241 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2242 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2243 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2244 echo "${ECHO_T}$cross_compiling" >&6
2246 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2247 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2249 (eval $ac_link) 2>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; then
2253 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2255 # work properly (i.e., refer to `conftest.exe'), while it won't with
2257 for ac_file
in conftest.exe conftest conftest.
*; do
2258 test -f "$ac_file" ||
continue
2260 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2261 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2268 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2269 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }; }
2277 rm -f conftest
$ac_cv_exeext
2278 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279 echo "${ECHO_T}$ac_cv_exeext" >&6
2281 rm -f conftest.
$ac_ext
2282 EXEEXT
=$ac_cv_exeext
2284 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2286 if test "${ac_cv_objext+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.
$ac_ext <<_ACEOF
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.o conftest.obj
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; then
2310 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2312 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2313 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2321 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2322 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2324 See \`config.log' for more details." >&5
2325 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2326 See \`config.log' for more details." >&2;}
2327 { (exit 1); exit 1; }; }; }
2330 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2332 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2333 echo "${ECHO_T}$ac_cv_objext" >&6
2334 OBJEXT
=$ac_cv_objext
2336 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2337 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2338 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 cat >conftest.
$ac_ext <<_ACEOF
2344 cat confdefs.h
>>conftest.
$ac_ext
2345 cat >>conftest.
$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2359 rm -f conftest.
$ac_objext
2360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2361 (eval $ac_compile) 2>conftest.er1
2363 grep -v '^ *+' conftest.er1
>conftest.err
2365 cat conftest.err
>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); } &&
2368 { ac_try
='test -z "$ac_c_werror_flag"
2369 || test ! -s conftest.err'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; } &&
2375 { ac_try
='test -s conftest.$ac_objext'
2376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.
$ac_ext >&5
2388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2389 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2392 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2393 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2394 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2395 ac_test_CFLAGS
=${CFLAGS+set}
2396 ac_save_CFLAGS
=$CFLAGS
2398 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2400 if test "${ac_cv_prog_cc_g+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 cat >conftest.
$ac_ext <<_ACEOF
2406 cat confdefs.h
>>conftest.
$ac_ext
2407 cat >>conftest.
$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2418 rm -f conftest.
$ac_objext
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } &&
2427 { ac_try
='test -z "$ac_c_werror_flag"
2428 || test ! -s conftest.err'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; } &&
2434 { ac_try
='test -s conftest.$ac_objext'
2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2442 echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.
$ac_ext >&5
2447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2449 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2450 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2451 if test "$ac_test_CFLAGS" = set; then
2452 CFLAGS
=$ac_save_CFLAGS
2453 elif test $ac_cv_prog_cc_g = yes; then
2454 if test "$GCC" = yes; then
2460 if test "$GCC" = yes; then
2466 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2467 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2468 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 ac_cv_prog_cc_stdc
=no
2473 cat >conftest.
$ac_ext <<_ACEOF
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2481 #include <sys/types.h>
2482 #include <sys/stat.h>
2483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2484 struct buf { int x; };
2485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2486 static char *e (p, i)
2492 static char *f (char * (*g) (char **, int), char **p, ...)
2497 s = g (p, va_arg (v,int));
2502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2503 function prototypes and stuff, but not '\xHH' hex character constants.
2504 These don't provoke an error unfortunately, instead are silently treated
2505 as 'x'. The following induces an error, until -std1 is added to get
2506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2507 array size at least. It's necessary to write '\x00'==0 to get something
2508 that's true only with -std1. */
2509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2511 int test (int i, double x);
2512 struct s1 {int (*f) (int a);};
2513 struct s2 {int (*f) (double a);};
2514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2520 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2525 # Don't try gcc -ansi; that turns off useful extensions and
2526 # breaks some systems' header files.
2527 # AIX -qlanglvl=ansi
2528 # Ultrix and OSF/1 -std1
2529 # HP-UX 10.20 and later -Ae
2530 # HP-UX older versions -Aa -D_HPUX_SOURCE
2531 # SVR4 -Xc -D__EXTENSIONS__
2532 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2534 CC
="$ac_save_CC $ac_arg"
2535 rm -f conftest.
$ac_objext
2536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537 (eval $ac_compile) 2>conftest.er1
2539 grep -v '^ *+' conftest.er1
>conftest.err
2541 cat conftest.err
>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); } &&
2544 { ac_try
='test -z "$ac_c_werror_flag"
2545 || test ! -s conftest.err'
2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; } &&
2551 { ac_try
='test -s conftest.$ac_objext'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; }; then
2557 ac_cv_prog_cc_stdc
=$ac_arg
2560 echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.
$ac_ext >&5
2564 rm -f conftest.err conftest.
$ac_objext
2566 rm -f conftest.
$ac_ext conftest.
$ac_objext
2571 case "x$ac_cv_prog_cc_stdc" in
2573 echo "$as_me:$LINENO: result: none needed" >&5
2574 echo "${ECHO_T}none needed" >&6 ;;
2576 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2577 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2578 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2581 # Some people use a C++ compiler to compile C. Since we use `exit',
2582 # in C++ we need to declare it. In case someone uses the same compiler
2583 # for both compiling C and C++ we need to have the C++ compiler decide
2584 # the declaration of exit, since it's the most demanding environment.
2585 cat >conftest.
$ac_ext <<_ACEOF
2590 rm -f conftest.
$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2594 grep -v '^ *+' conftest.er1
>conftest.err
2596 cat conftest.err
>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try
='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try
='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2612 for ac_declaration
in \
2614 'extern "C" void std::exit (int) throw (); using std::exit;' \
2615 'extern "C" void std::exit (int); using std::exit;' \
2616 'extern "C" void exit (int) throw ();' \
2617 'extern "C" void exit (int);' \
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2636 rm -f conftest.
$ac_objext
2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2638 (eval $ac_compile) 2>conftest.er1
2640 grep -v '^ *+' conftest.er1
>conftest.err
2642 cat conftest.err
>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try
='test -z "$ac_c_werror_flag"
2646 || test ! -s conftest.err'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; } &&
2652 { ac_try
='test -s conftest.$ac_objext'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; }; then
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2666 cat >conftest.
$ac_ext <<_ACEOF
2669 cat confdefs.h
>>conftest.
$ac_ext
2670 cat >>conftest.
$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2681 rm -f conftest.
$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try
='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try
='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2712 if test -n "$ac_declaration"; then
2713 echo '#ifdef __cplusplus' >>confdefs.h
2714 echo $ac_declaration >>confdefs.h
2715 echo '#endif' >>confdefs.h
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.
$ac_ext >&5
2723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2725 ac_cpp
='$CPP $CPPFLAGS'
2726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2730 # Make sure we can run config.sub.
2731 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2732 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2733 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2734 { (exit 1); exit 1; }; }
2736 echo "$as_me:$LINENO: checking build system type" >&5
2737 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2738 if test "${ac_cv_build+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 ac_cv_build_alias
=$build_alias
2742 test -z "$ac_cv_build_alias" &&
2743 ac_cv_build_alias
=`$ac_config_guess`
2744 test -z "$ac_cv_build_alias" &&
2745 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2746 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2747 { (exit 1); exit 1; }; }
2748 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2749 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2750 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2751 { (exit 1); exit 1; }; }
2754 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2755 echo "${ECHO_T}$ac_cv_build" >&6
2757 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2758 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2759 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2762 echo "$as_me:$LINENO: checking host system type" >&5
2763 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2764 if test "${ac_cv_host+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 ac_cv_host_alias
=$host_alias
2768 test -z "$ac_cv_host_alias" &&
2769 ac_cv_host_alias
=$ac_cv_build_alias
2770 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2771 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2772 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2773 { (exit 1); exit 1; }; }
2776 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2777 echo "${ECHO_T}$ac_cv_host" >&6
2779 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2780 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2781 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2786 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2789 if test "${ac_cv_prog_RANLIB+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 if test -n "$RANLIB"; then
2793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 RANLIB
=$ac_cv_prog_RANLIB
2812 if test -n "$RANLIB"; then
2813 echo "$as_me:$LINENO: result: $RANLIB" >&5
2814 echo "${ECHO_T}$RANLIB" >&6
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2821 if test -z "$ac_cv_prog_RANLIB"; then
2822 ac_ct_RANLIB
=$RANLIB
2823 # Extract the first word of "ranlib", so it can be a program name with args.
2824 set dummy ranlib
; ac_word
=$2
2825 echo "$as_me:$LINENO: checking for $ac_word" >&5
2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2827 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 if test -n "$ac_ct_RANLIB"; then
2831 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir
=.
2838 for ac_exec_ext
in '' $ac_executable_extensions; do
2839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2840 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2850 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2851 if test -n "$ac_ct_RANLIB"; then
2852 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2853 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2859 RANLIB
=$ac_ct_RANLIB
2861 RANLIB
="$ac_cv_prog_RANLIB"
2865 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2866 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2867 if test "${ac_cv_search_strerror+set}" = set; then
2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 ac_func_search_save_LIBS
=$LIBS
2871 ac_cv_search_strerror
=no
2872 cat >conftest.
$ac_ext <<_ACEOF
2875 cat confdefs.h
>>conftest.
$ac_ext
2876 cat >>conftest.
$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2879 /* Override any gcc2 internal prototype to avoid an error. */
2883 /* We use char because int might match the return type of a gcc2
2884 builtin and then its argument prototype would still apply. */
2894 rm -f conftest.
$ac_objext conftest
$ac_exeext
2895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2896 (eval $ac_link) 2>conftest.er1
2898 grep -v '^ *+' conftest.er1
>conftest.err
2900 cat conftest.err
>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } &&
2903 { ac_try
='test -z "$ac_c_werror_flag"
2904 || test ! -s conftest.err'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; } &&
2910 { ac_try
='test -s conftest$ac_exeext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2916 ac_cv_search_strerror
="none required"
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.
$ac_ext >&5
2922 rm -f conftest.err conftest.
$ac_objext \
2923 conftest
$ac_exeext conftest.
$ac_ext
2924 if test "$ac_cv_search_strerror" = no
; then
2925 for ac_lib
in cposix
; do
2926 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2927 cat >conftest.
$ac_ext <<_ACEOF
2930 cat confdefs.h
>>conftest.
$ac_ext
2931 cat >>conftest.
$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2934 /* Override any gcc2 internal prototype to avoid an error. */
2938 /* We use char because int might match the return type of a gcc2
2939 builtin and then its argument prototype would still apply. */
2949 rm -f conftest.
$ac_objext conftest
$ac_exeext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2951 (eval $ac_link) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1
>conftest.err
2955 cat conftest.err
>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } &&
2958 { ac_try
='test -z "$ac_c_werror_flag"
2959 || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try
='test -s conftest$ac_exeext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2971 ac_cv_search_strerror
="-l$ac_lib"
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2978 rm -f conftest.err conftest.
$ac_objext \
2979 conftest
$ac_exeext conftest.
$ac_ext
2982 LIBS
=$ac_func_search_save_LIBS
2984 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2985 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2986 if test "$ac_cv_search_strerror" != no
; then
2987 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2992 ac_cpp
='$CPP $CPPFLAGS'
2993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2998 # On Suns, sometimes $CPP names a directory.
2999 if test -n "$CPP" && test -d "$CPP"; then
3002 if test -z "$CPP"; then
3003 if test "${ac_cv_prog_CPP+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 # Double quotes because CPP needs to be expanded
3007 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3010 for ac_c_preproc_warn_flag
in '' yes
3012 # Use a header file that comes with gcc, so configuring glibc
3013 # with a fresh cross-compiler works.
3014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3015 # <limits.h> exists even on freestanding compilers.
3016 # On the NeXT, cc -E runs the code through the compiler's parser,
3017 # not just through cpp. "Syntax error" is here to catch this case.
3018 cat >conftest.
$ac_ext <<_ACEOF
3021 cat confdefs.h
>>conftest.
$ac_ext
3022 cat >>conftest.
$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3025 # include <limits.h>
3027 # include <assert.h>
3031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3034 grep -v '^ *+' conftest.er1
>conftest.err
3036 cat conftest.err
>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } >/dev
/null
; then
3039 if test -s conftest.err
; then
3040 ac_cpp_err
=$ac_c_preproc_warn_flag
3041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3048 if test -z "$ac_cpp_err"; then
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3054 # Broken: fails on valid input.
3057 rm -f conftest.err conftest.
$ac_ext
3059 # OK, works on sane cases. Now check whether non-existent headers
3060 # can be detected and how.
3061 cat >conftest.
$ac_ext <<_ACEOF
3064 cat confdefs.h
>>conftest.
$ac_ext
3065 cat >>conftest.
$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3067 #include <ac_nonexistent.h>
3069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3072 grep -v '^ *+' conftest.er1
>conftest.err
3074 cat conftest.err
>&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } >/dev
/null
; then
3077 if test -s conftest.err
; then
3078 ac_cpp_err
=$ac_c_preproc_warn_flag
3079 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3086 if test -z "$ac_cpp_err"; then
3087 # Broken: success on invalid input.
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 # Passes both tests.
3097 rm -f conftest.err conftest.
$ac_ext
3100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3101 rm -f conftest.err conftest.
$ac_ext
3102 if $ac_preproc_ok; then
3114 echo "$as_me:$LINENO: result: $CPP" >&5
3115 echo "${ECHO_T}$CPP" >&6
3117 for ac_c_preproc_warn_flag
in '' yes
3119 # Use a header file that comes with gcc, so configuring glibc
3120 # with a fresh cross-compiler works.
3121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3122 # <limits.h> exists even on freestanding compilers.
3123 # On the NeXT, cc -E runs the code through the compiler's parser,
3124 # not just through cpp. "Syntax error" is here to catch this case.
3125 cat >conftest.
$ac_ext <<_ACEOF
3128 cat confdefs.h
>>conftest.
$ac_ext
3129 cat >>conftest.
$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3132 # include <limits.h>
3134 # include <assert.h>
3138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3141 grep -v '^ *+' conftest.er1
>conftest.err
3143 cat conftest.err
>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } >/dev
/null
; then
3146 if test -s conftest.err
; then
3147 ac_cpp_err
=$ac_c_preproc_warn_flag
3148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3155 if test -z "$ac_cpp_err"; then
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.
$ac_ext >&5
3161 # Broken: fails on valid input.
3164 rm -f conftest.err conftest.
$ac_ext
3166 # OK, works on sane cases. Now check whether non-existent headers
3167 # can be detected and how.
3168 cat >conftest.
$ac_ext <<_ACEOF
3171 cat confdefs.h
>>conftest.
$ac_ext
3172 cat >>conftest.
$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3174 #include <ac_nonexistent.h>
3176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3179 grep -v '^ *+' conftest.er1
>conftest.err
3181 cat conftest.err
>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } >/dev
/null
; then
3184 if test -s conftest.err
; then
3185 ac_cpp_err
=$ac_c_preproc_warn_flag
3186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3193 if test -z "$ac_cpp_err"; then
3194 # Broken: success on invalid input.
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3200 # Passes both tests.
3204 rm -f conftest.err conftest.
$ac_ext
3207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3208 rm -f conftest.err conftest.
$ac_ext
3209 if $ac_preproc_ok; then
3212 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3213 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3215 See \`config.log' for more details." >&5
3216 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3217 See \`config.log' for more details." >&2;}
3218 { (exit 1); exit 1; }; }; }
3222 ac_cpp
='$CPP $CPPFLAGS'
3223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3228 echo "$as_me:$LINENO: checking for egrep" >&5
3229 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3230 if test "${ac_cv_prog_egrep+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3234 then ac_cv_prog_egrep
='grep -E'
3235 else ac_cv_prog_egrep
='egrep'
3238 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3239 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3240 EGREP
=$ac_cv_prog_egrep
3243 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3244 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3245 if test "${ac_cv_header_stdc+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 cat >conftest.
$ac_ext <<_ACEOF
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3267 rm -f conftest.
$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269 (eval $ac_compile) 2>conftest.er1
3271 grep -v '^ *+' conftest.er1
>conftest.err
3273 cat conftest.err
>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try
='test -z "$ac_c_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try
='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 ac_cv_header_stdc
=yes
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.
$ac_ext >&5
3294 ac_cv_header_stdc
=no
3296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3298 if test $ac_cv_header_stdc = yes; then
3299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3310 $EGREP "memchr" >/dev
/null
2>&1; then
3313 ac_cv_header_stdc
=no
3319 if test $ac_cv_header_stdc = yes; then
3320 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3321 cat >conftest.
$ac_ext <<_ACEOF
3324 cat confdefs.h
>>conftest.
$ac_ext
3325 cat >>conftest.
$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3331 $EGREP "free" >/dev
/null
2>&1; then
3334 ac_cv_header_stdc
=no
3340 if test $ac_cv_header_stdc = yes; then
3341 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3342 if test "$cross_compiling" = yes; then
3345 cat >conftest.
$ac_ext <<_ACEOF
3348 cat confdefs.h
>>conftest.
$ac_ext
3349 cat >>conftest.
$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3352 #if ((' ' & 0x0FF) == 0x020)
3353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3356 # define ISLOWER(c) \
3357 (('a' <= (c) && (c) <= 'i') \
3358 || ('j' <= (c) && (c) <= 'r') \
3359 || ('s' <= (c) && (c) <= 'z'))
3360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3368 for (i = 0; i < 256; i++)
3369 if (XOR (islower (i), ISLOWER (i))
3370 || toupper (i) != TOUPPER (i))
3375 rm -f conftest
$ac_exeext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3377 (eval $ac_link) 2>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; }; then
3388 echo "$as_me: program exited with status $ac_status" >&5
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3393 ac_cv_header_stdc
=no
3395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3399 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3400 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3401 if test $ac_cv_header_stdc = yes; then
3403 cat >>confdefs.h
<<\_ACEOF
3404 #define STDC_HEADERS 1
3409 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3410 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3411 if test "${ac_cv_c_const+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3424 /* FIXME: Include the comments suggested by Paul. */
3426 /* Ultrix mips cc rejects this. */
3427 typedef int charset[2];
3429 /* SunOS 4.1.1 cc rejects this. */
3430 char const *const *ccp;
3432 /* NEC SVR4.0.2 mips cc rejects this. */
3433 struct point {int x, y;};
3434 static struct point const zero = {0,0};
3435 /* AIX XL C 1.02.0.0 rejects this.
3436 It does not let you subtract one const X* pointer from another in
3437 an arm of an if-expression whose if-part is not a constant
3439 const char *g = "string";
3440 ccp = &g + (g ? g-g : 0);
3441 /* HPUX 7.0 cc rejects these. */
3444 ccp = (char const *const *) p;
3445 { /* SCO 3.2v4 cc rejects this. */
3447 char const *s = 0 ? (char *) 0 : (char const *) 0;
3451 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3453 const int *foo = &x[0];
3456 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3457 typedef const int *iptr;
3461 { /* AIX XL C 1.02.0.0 rejects this saying
3462 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3463 struct s { int j; const int *ap[3]; };
3464 struct s *b; b->j = 5;
3466 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3475 rm -f conftest.
$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477 (eval $ac_compile) 2>conftest.er1
3479 grep -v '^ *+' conftest.er1
>conftest.err
3481 cat conftest.err
>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try
='test -z "$ac_c_werror_flag"
3485 || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try
='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.
$ac_ext >&5
3504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3507 echo "${ECHO_T}$ac_cv_c_const" >&6
3508 if test $ac_cv_c_const = no
; then
3510 cat >>confdefs.h
<<\_ACEOF
3516 echo "$as_me:$LINENO: checking for inline" >&5
3517 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3518 if test "${ac_cv_c_inline+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 for ac_kw
in inline __inline__ __inline
; do
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3531 static $ac_kw foo_t static_foo () {return 0; }
3532 $ac_kw foo_t foo () {return 0; }
3536 rm -f conftest.
$ac_objext
3537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3538 (eval $ac_compile) 2>conftest.er1
3540 grep -v '^ *+' conftest.er1
>conftest.err
3542 cat conftest.err
>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } &&
3545 { ac_try
='test -z "$ac_c_werror_flag"
3546 || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest.$ac_objext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3558 ac_cv_c_inline
=$ac_kw; break
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3568 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3569 echo "${ECHO_T}$ac_cv_c_inline" >&6
3572 case $ac_cv_c_inline in
3575 case $ac_cv_c_inline in
3577 *) ac_val
=$ac_cv_c_inline;;
3579 cat >>confdefs.h
<<_ACEOF
3581 #define inline $ac_val
3587 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3597 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3598 inttypes.h stdint.h unistd.h
3600 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3601 echo "$as_me:$LINENO: checking for $ac_header" >&5
3602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3612 $ac_includes_default
3614 #include <$ac_header>
3616 rm -f conftest.
$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1
>conftest.err
3622 cat conftest.err
>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try
='test -z "$ac_c_werror_flag"
3626 || test ! -s conftest.err'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; } &&
3632 { ac_try
='test -s conftest.$ac_objext'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; }; then
3638 eval "$as_ac_Header=yes"
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.
$ac_ext >&5
3643 eval "$as_ac_Header=no"
3645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3650 cat >>confdefs.h
<<_ACEOF
3651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3659 echo "$as_me:$LINENO: checking for off_t" >&5
3660 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3661 if test "${ac_cv_type_off_t+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 cat >conftest.
$ac_ext <<_ACEOF
3667 cat confdefs.h
>>conftest.
$ac_ext
3668 cat >>conftest.
$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 $ac_includes_default
3682 rm -f conftest.
$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -z "$ac_c_werror_flag"
3692 || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_type_off_t
=yes
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3714 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3715 if test $ac_cv_type_off_t = yes; then
3719 cat >>confdefs.h
<<_ACEOF
3725 echo "$as_me:$LINENO: checking for size_t" >&5
3726 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3727 if test "${ac_cv_type_size_t+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.
$ac_ext <<_ACEOF
3733 cat confdefs.h
>>conftest.
$ac_ext
3734 cat >>conftest.
$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 $ac_includes_default
3742 if (sizeof (size_t))
3748 rm -f conftest.
$ac_objext
3749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3750 (eval $ac_compile) 2>conftest.er1
3752 grep -v '^ *+' conftest.er1
>conftest.err
3754 cat conftest.err
>&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } &&
3757 { ac_try
='test -z "$ac_c_werror_flag"
3758 || test ! -s conftest.err'
3759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }; } &&
3764 { ac_try
='test -s conftest.$ac_objext'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then
3770 ac_cv_type_size_t
=yes
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.
$ac_ext >&5
3775 ac_cv_type_size_t
=no
3777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3779 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3780 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3781 if test $ac_cv_type_size_t = yes; then
3785 cat >>confdefs.h
<<_ACEOF
3786 #define size_t unsigned
3791 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3792 # for constant arguments. Useless!
3793 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3794 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3795 if test "${ac_cv_working_alloca_h+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 cat >conftest.
$ac_ext <<_ACEOF
3801 cat confdefs.h
>>conftest.
$ac_ext
3802 cat >>conftest.
$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3808 char *p = (char *) alloca (2 * sizeof (int));
3813 rm -f conftest.
$ac_objext conftest
$ac_exeext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3815 (eval $ac_link) 2>conftest.er1
3817 grep -v '^ *+' conftest.er1
>conftest.err
3819 cat conftest.err
>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } &&
3822 { ac_try
='test -z "$ac_c_werror_flag"
3823 || test ! -s conftest.err'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; } &&
3829 { ac_try
='test -s conftest$ac_exeext'
3830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; }; then
3835 ac_cv_working_alloca_h
=yes
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3840 ac_cv_working_alloca_h
=no
3842 rm -f conftest.err conftest.
$ac_objext \
3843 conftest
$ac_exeext conftest.
$ac_ext
3845 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3846 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3847 if test $ac_cv_working_alloca_h = yes; then
3849 cat >>confdefs.h
<<\_ACEOF
3850 #define HAVE_ALLOCA_H 1
3855 echo "$as_me:$LINENO: checking for alloca" >&5
3856 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3857 if test "${ac_cv_func_alloca_works+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3867 # define alloca __builtin_alloca
3870 # include <malloc.h>
3871 # define alloca _alloca
3874 # include <alloca.h>
3879 # ifndef alloca /* predefined by HP cc +Olibcalls */
3890 char *p = (char *) alloca (1);
3895 rm -f conftest.
$ac_objext conftest
$ac_exeext
3896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3897 (eval $ac_link) 2>conftest.er1
3899 grep -v '^ *+' conftest.er1
>conftest.err
3901 cat conftest.err
>&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } &&
3904 { ac_try
='test -z "$ac_c_werror_flag"
3905 || test ! -s conftest.err'
3906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); }; } &&
3911 { ac_try
='test -s conftest$ac_exeext'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; }; then
3917 ac_cv_func_alloca_works
=yes
3919 echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.
$ac_ext >&5
3922 ac_cv_func_alloca_works
=no
3924 rm -f conftest.err conftest.
$ac_objext \
3925 conftest
$ac_exeext conftest.
$ac_ext
3927 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3928 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3930 if test $ac_cv_func_alloca_works = yes; then
3932 cat >>confdefs.h
<<\_ACEOF
3933 #define HAVE_ALLOCA 1
3937 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3938 # that cause trouble. Some versions do not even contain alloca or
3939 # contain a buggy version. If you still want to use their alloca,
3940 # use ar to extract alloca.o from them instead of compiling alloca.c.
3942 ALLOCA
=alloca.
$ac_objext
3944 cat >>confdefs.h
<<\_ACEOF
3949 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3950 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3951 if test "${ac_cv_os_cray+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 cat >conftest.
$ac_ext <<_ACEOF
3957 cat confdefs.h
>>conftest.
$ac_ext
3958 cat >>conftest.
$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3960 #if defined(CRAY) && ! defined(CRAY2)
3967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3968 $EGREP "webecray" >/dev
/null
2>&1; then
3976 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3977 echo "${ECHO_T}$ac_cv_os_cray" >&6
3978 if test $ac_cv_os_cray = yes; then
3979 for ac_func
in _getb67 GETB67 getb67
; do
3980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3981 echo "$as_me:$LINENO: checking for $ac_func" >&5
3982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3983 if eval "test \"\${$as_ac_var+set}\" = set"; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
3992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3994 #define $ac_func innocuous_$ac_func
3996 /* System header to define __stub macros and hopefully few prototypes,
3997 which can conflict with char $ac_func (); below.
3998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3999 <limits.h> exists even on freestanding compilers. */
4002 # include <limits.h>
4004 # include <assert.h>
4009 /* Override any gcc2 internal prototype to avoid an error. */
4014 /* We use char because int might match the return type of a gcc2
4015 builtin and then its argument prototype would still apply. */
4017 /* The GNU C library defines this for functions which it implements
4018 to always fail with ENOSYS. Some functions are actually named
4019 something starting with __ and the normal name is an alias. */
4020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4023 char (*f) () = $ac_func;
4032 return f != $ac_func;
4037 rm -f conftest.
$ac_objext conftest
$ac_exeext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4039 (eval $ac_link) 2>conftest.er1
4041 grep -v '^ *+' conftest.er1
>conftest.err
4043 cat conftest.err
>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } &&
4046 { ac_try
='test -z "$ac_c_werror_flag"
4047 || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try
='test -s conftest$ac_exeext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 eval "$as_ac_var=yes"
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.
$ac_ext >&5
4064 eval "$as_ac_var=no"
4066 rm -f conftest.err conftest.
$ac_objext \
4067 conftest
$ac_exeext conftest.
$ac_ext
4069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4071 if test `eval echo '${'$as_ac_var'}'` = yes; then
4073 cat >>confdefs.h
<<_ACEOF
4074 #define CRAY_STACKSEG_END $ac_func
4083 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4084 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4085 if test "${ac_cv_c_stack_direction+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 if test "$cross_compiling" = yes; then
4089 ac_cv_c_stack_direction
=0
4091 cat >conftest.
$ac_ext <<_ACEOF
4094 cat confdefs.h
>>conftest.
$ac_ext
4095 cat >>conftest.
$ac_ext <<_ACEOF
4096 /* end confdefs.h. */
4098 find_stack_direction ()
4100 static char *addr = 0;
4105 return find_stack_direction ();
4108 return (&dummy > addr) ? 1 : -1;
4114 exit (find_stack_direction () < 0);
4117 rm -f conftest
$ac_exeext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4119 (eval $ac_link) 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4128 ac_cv_c_stack_direction
=1
4130 echo "$as_me: program exited with status $ac_status" >&5
4131 echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.
$ac_ext >&5
4135 ac_cv_c_stack_direction
=-1
4137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4140 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4141 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4143 cat >>confdefs.h
<<_ACEOF
4144 #define STACK_DIRECTION $ac_cv_c_stack_direction
4152 for ac_header
in stdlib.h unistd.h
4154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4156 echo "$as_me:$LINENO: checking for $ac_header" >&5
4157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4164 # Is the header compilable?
4165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4167 cat >conftest.
$ac_ext <<_ACEOF
4170 cat confdefs.h
>>conftest.
$ac_ext
4171 cat >>conftest.
$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4173 $ac_includes_default
4174 #include <$ac_header>
4176 rm -f conftest.
$ac_objext
4177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4178 (eval $ac_compile) 2>conftest.er1
4180 grep -v '^ *+' conftest.er1
>conftest.err
4182 cat conftest.err
>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } &&
4185 { ac_try
='test -z "$ac_c_werror_flag"
4186 || test ! -s conftest.err'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; } &&
4192 { ac_try
='test -s conftest.$ac_objext'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; }; then
4198 ac_header_compiler
=yes
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.
$ac_ext >&5
4203 ac_header_compiler
=no
4205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4207 echo "${ECHO_T}$ac_header_compiler" >&6
4209 # Is the header present?
4210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4212 cat >conftest.
$ac_ext <<_ACEOF
4215 cat confdefs.h
>>conftest.
$ac_ext
4216 cat >>conftest.
$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4218 #include <$ac_header>
4220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4223 grep -v '^ *+' conftest.er1
>conftest.err
4225 cat conftest.err
>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } >/dev
/null
; then
4228 if test -s conftest.err
; then
4229 ac_cpp_err
=$ac_c_preproc_warn_flag
4230 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4237 if test -z "$ac_cpp_err"; then
4238 ac_header_preproc
=yes
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.
$ac_ext >&5
4243 ac_header_preproc
=no
4245 rm -f conftest.err conftest.
$ac_ext
4246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4247 echo "${ECHO_T}$ac_header_preproc" >&6
4249 # So? What about this header?
4250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4255 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4256 ac_header_preproc
=yes
4259 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4260 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4262 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4264 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4266 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4269 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4270 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4273 ## ------------------------------------------ ##
4274 ## Report this to the AC_PACKAGE_NAME lists. ##
4275 ## ------------------------------------------ ##
4278 sed "s/^/$as_me: WARNING: /" >&2
4281 echo "$as_me:$LINENO: checking for $ac_header" >&5
4282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 eval "$as_ac_Header=\$ac_header_preproc"
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4293 cat >>confdefs.h
<<_ACEOF
4294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4302 for ac_func
in getpagesize
4304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4305 echo "$as_me:$LINENO: checking for $ac_func" >&5
4306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4307 if eval "test \"\${$as_ac_var+set}\" = set"; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4318 #define $ac_func innocuous_$ac_func
4320 /* System header to define __stub macros and hopefully few prototypes,
4321 which can conflict with char $ac_func (); below.
4322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4323 <limits.h> exists even on freestanding compilers. */
4326 # include <limits.h>
4328 # include <assert.h>
4333 /* Override any gcc2 internal prototype to avoid an error. */
4338 /* We use char because int might match the return type of a gcc2
4339 builtin and then its argument prototype would still apply. */
4341 /* The GNU C library defines this for functions which it implements
4342 to always fail with ENOSYS. Some functions are actually named
4343 something starting with __ and the normal name is an alias. */
4344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4347 char (*f) () = $ac_func;
4356 return f != $ac_func;
4361 rm -f conftest.
$ac_objext conftest
$ac_exeext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363 (eval $ac_link) 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } &&
4370 { ac_try
='test -z "$ac_c_werror_flag"
4371 || test ! -s conftest.err'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 eval "$as_ac_var=yes"
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.
$ac_ext >&5
4388 eval "$as_ac_var=no"
4390 rm -f conftest.err conftest.
$ac_objext \
4391 conftest
$ac_exeext conftest.
$ac_ext
4393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4395 if test `eval echo '${'$as_ac_var'}'` = yes; then
4396 cat >>confdefs.h
<<_ACEOF
4397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4403 echo "$as_me:$LINENO: checking for working mmap" >&5
4404 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4405 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 if test "$cross_compiling" = yes; then
4409 ac_cv_func_mmap_fixed_mapped
=no
4411 cat >conftest.
$ac_ext <<_ACEOF
4414 cat confdefs.h
>>conftest.
$ac_ext
4415 cat >>conftest.
$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4417 $ac_includes_default
4418 /* malloc might have been renamed as rpl_malloc. */
4421 /* Thanks to Mike Haertel and Jim Avera for this test.
4422 Here is a matrix of mmap possibilities:
4423 mmap private not fixed
4424 mmap private fixed at somewhere currently unmapped
4425 mmap private fixed at somewhere already mapped
4426 mmap shared not fixed
4427 mmap shared fixed at somewhere currently unmapped
4428 mmap shared fixed at somewhere already mapped
4429 For private mappings, we should verify that changes cannot be read()
4430 back from the file, nor mmap's back from the file at a different
4431 address. (There have been systems where private was not correctly
4432 implemented like the infamous i386 svr4.0, and systems where the
4433 VM page cache was not coherent with the file system buffer cache
4434 like early versions of FreeBSD and possibly contemporary NetBSD.)
4435 For shared mappings, we should conversely verify that changes get
4436 propagated back to all the places they're supposed to be.
4438 Grep wants private fixed already mapped.
4439 The main things grep needs to know about mmap are:
4440 * does it exist and is it safe to write into the mmap'd area
4441 * how to use it (BSD variants) */
4444 #include <sys/mman.h>
4446 #if !STDC_HEADERS && !HAVE_STDLIB_H
4450 /* This mess was copied from the GNU getpagesize.h. */
4451 #if !HAVE_GETPAGESIZE
4452 /* Assume that all systems that can run configure have sys/param.h. */
4453 # if !HAVE_SYS_PARAM_H
4454 # define HAVE_SYS_PARAM_H 1
4457 # ifdef _SC_PAGESIZE
4458 # define getpagesize() sysconf(_SC_PAGESIZE)
4459 # else /* no _SC_PAGESIZE */
4460 # if HAVE_SYS_PARAM_H
4461 # include <sys/param.h>
4462 # ifdef EXEC_PAGESIZE
4463 # define getpagesize() EXEC_PAGESIZE
4464 # else /* no EXEC_PAGESIZE */
4466 # define getpagesize() NBPG * CLSIZE
4469 # endif /* no CLSIZE */
4470 # else /* no NBPG */
4472 # define getpagesize() NBPC
4473 # else /* no NBPC */
4475 # define getpagesize() PAGESIZE
4476 # endif /* PAGESIZE */
4477 # endif /* no NBPC */
4478 # endif /* no NBPG */
4479 # endif /* no EXEC_PAGESIZE */
4480 # else /* no HAVE_SYS_PARAM_H */
4481 # define getpagesize() 8192 /* punt totally */
4482 # endif /* no HAVE_SYS_PARAM_H */
4483 # endif /* no _SC_PAGESIZE */
4485 #endif /* no HAVE_GETPAGESIZE */
4490 char *data, *data2, *data3;
4494 pagesize = getpagesize ();
4496 /* First, make a file with some known garbage in it. */
4497 data = (char *) malloc (pagesize);
4500 for (i = 0; i < pagesize; ++i)
4501 *(data + i) = rand ();
4503 fd = creat ("conftest.mmap", 0600);
4506 if (write (fd, data, pagesize) != pagesize)
4510 /* Next, try to mmap the file at a fixed address which already has
4511 something else allocated at it. If we can, also make sure that
4512 we see the same garbage. */
4513 fd = open ("conftest.mmap", O_RDWR);
4516 data2 = (char *) malloc (2 * pagesize);
4519 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4520 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4521 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4523 for (i = 0; i < pagesize; ++i)
4524 if (*(data + i) != *(data2 + i))
4527 /* Finally, make sure that changes to the mapped area do not
4528 percolate back to the file as seen by read(). (This is a bug on
4529 some variants of i386 svr4.0.) */
4530 for (i = 0; i < pagesize; ++i)
4531 *(data2 + i) = *(data2 + i) + 1;
4532 data3 = (char *) malloc (pagesize);
4535 if (read (fd, data3, pagesize) != pagesize)
4537 for (i = 0; i < pagesize; ++i)
4538 if (*(data + i) != *(data3 + i))
4544 rm -f conftest
$ac_exeext
4545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4546 (eval $ac_link) 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 ac_cv_func_mmap_fixed_mapped
=yes
4557 echo "$as_me: program exited with status $ac_status" >&5
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.
$ac_ext >&5
4562 ac_cv_func_mmap_fixed_mapped
=no
4564 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4567 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4568 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4569 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4571 cat >>confdefs.h
<<\_ACEOF
4579 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
4580 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
4581 if test "${ac_cv_gnu_library_2_1+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 cat >conftest.
$ac_ext <<_ACEOF
4587 cat confdefs.h
>>conftest.
$ac_ext
4588 cat >>conftest.
$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 #include <features.h>
4592 #ifdef __GNU_LIBRARY__
4593 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4600 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
4601 ac_cv_gnu_library_2_1
=yes
4603 ac_cv_gnu_library_2_1
=no
4610 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4611 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4613 GLIBC21
="$ac_cv_gnu_library_2_1"
4618 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
4619 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
4620 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 if test "$cross_compiling" = yes; then
4626 # Guess based on the CPU.
4628 alpha
* | i3456786 | m68k | s390
*)
4629 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4631 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4647 sigfpe_handler (int sig)
4649 sigfpe_handler (sig) int sig;
4652 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4653 exit (sig != SIGFPE);
4663 signal (SIGFPE, sigfpe_handler);
4664 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4665 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4666 signal (SIGTRAP, sigfpe_handler);
4668 /* Linux/SPARC yields signal SIGILL. */
4669 #if defined (__sparc__) && defined (__linux__)
4670 signal (SIGILL, sigfpe_handler);
4679 rm -f conftest
$ac_exeext
4680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4681 (eval $ac_link) 2>&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 gt_cv_int_divbyzero_sigfpe
=yes
4692 echo "$as_me: program exited with status $ac_status" >&5
4693 echo "$as_me: failed program was:" >&5
4694 sed 's/^/| /' conftest.
$ac_ext >&5
4697 gt_cv_int_divbyzero_sigfpe
=no
4699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4703 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
4704 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
4705 case "$gt_cv_int_divbyzero_sigfpe" in
4710 cat >>confdefs.h
<<_ACEOF
4711 #define INTDIV0_RAISES_SIGFPE $value
4716 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4717 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4718 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 cat >conftest.
$ac_ext <<_ACEOF
4724 cat confdefs.h
>>conftest.
$ac_ext
4725 cat >>conftest.
$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4727 #include <sys/types.h>
4728 #include <inttypes.h>
4732 uintmax_t i = (uintmax_t) -1;
4737 rm -f conftest.
$ac_objext
4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739 (eval $ac_compile) 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try
='test -z "$ac_c_werror_flag"
4747 || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 jm_ac_cv_header_inttypes_h
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4764 jm_ac_cv_header_inttypes_h
=no
4766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4768 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
4769 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4770 if test $jm_ac_cv_header_inttypes_h = yes; then
4772 cat >>confdefs.h
<<_ACEOF
4773 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4779 echo "$as_me:$LINENO: checking for stdint.h" >&5
4780 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
4781 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.
$ac_ext <<_ACEOF
4787 cat confdefs.h
>>conftest.
$ac_ext
4788 cat >>conftest.
$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 #include <sys/types.h>
4795 uintmax_t i = (uintmax_t) -1;
4800 rm -f conftest.
$ac_objext
4801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4802 (eval $ac_compile) 2>conftest.er1
4804 grep -v '^ *+' conftest.er1
>conftest.err
4806 cat conftest.err
>&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } &&
4809 { ac_try
='test -z "$ac_c_werror_flag"
4810 || test ! -s conftest.err'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; } &&
4816 { ac_try
='test -s conftest.$ac_objext'
4817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); }; }; then
4822 jm_ac_cv_header_stdint_h
=yes
4824 echo "$as_me: failed program was:" >&5
4825 sed 's/^/| /' conftest.
$ac_ext >&5
4827 jm_ac_cv_header_stdint_h
=no
4829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4831 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
4832 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
4833 if test $jm_ac_cv_header_stdint_h = yes; then
4835 cat >>confdefs.h
<<_ACEOF
4836 #define HAVE_STDINT_H_WITH_UINTMAX 1
4842 echo "$as_me:$LINENO: checking for unsigned long long" >&5
4843 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4844 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4853 unsigned long long ull = 1; int i = 63;
4857 unsigned long long ullmax = (unsigned long long) -1;
4858 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4863 rm -f conftest.
$ac_objext conftest
$ac_exeext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4865 (eval $ac_link) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1
>conftest.err
4869 cat conftest.err
>&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try
='test -z "$ac_c_werror_flag"
4873 || test ! -s conftest.err'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try
='test -s conftest$ac_exeext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 ac_cv_type_unsigned_long_long
=yes
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.
$ac_ext >&5
4890 ac_cv_type_unsigned_long_long
=no
4892 rm -f conftest.err conftest.
$ac_objext \
4893 conftest
$ac_exeext conftest.
$ac_ext
4895 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4896 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4897 if test $ac_cv_type_unsigned_long_long = yes; then
4899 cat >>confdefs.h
<<\_ACEOF
4900 #define HAVE_UNSIGNED_LONG_LONG 1
4908 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4910 test $ac_cv_type_unsigned_long_long = yes \
4911 && ac_type
='unsigned long long' \
4912 || ac_type
='unsigned long'
4914 cat >>confdefs.h
<<_ACEOF
4915 #define uintmax_t $ac_type
4920 cat >>confdefs.h
<<\_ACEOF
4921 #define HAVE_UINTMAX_T 1
4927 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4928 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4929 if test "${gt_cv_header_inttypes_h+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 cat >conftest.
$ac_ext <<_ACEOF
4936 cat confdefs.h
>>conftest.
$ac_ext
4937 cat >>conftest.
$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4939 #include <sys/types.h>
4940 #include <inttypes.h>
4949 rm -f conftest.
$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1
>conftest.err
4955 cat conftest.err
>&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
4958 { ac_try
='test -z "$ac_c_werror_flag"
4959 || test ! -s conftest.err'
4960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; } &&
4965 { ac_try
='test -s conftest.$ac_objext'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4971 gt_cv_header_inttypes_h
=yes
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4976 gt_cv_header_inttypes_h
=no
4978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
4982 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
4983 if test $gt_cv_header_inttypes_h = yes; then
4985 cat >>confdefs.h
<<_ACEOF
4986 #define HAVE_INTTYPES_H 1
4993 if test $gt_cv_header_inttypes_h = yes; then
4994 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
4995 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
4996 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 cat >conftest.
$ac_ext <<_ACEOF
5003 cat confdefs.h
>>conftest.
$ac_ext
5004 cat >>conftest.
$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5006 #include <inttypes.h>
5019 rm -f conftest.
$ac_objext
5020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5021 (eval $ac_compile) 2>conftest.er1
5023 grep -v '^ *+' conftest.er1
>conftest.err
5025 cat conftest.err
>&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try
='test -z "$ac_c_werror_flag"
5029 || test ! -s conftest.err'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try
='test -s conftest.$ac_objext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 gt_cv_inttypes_pri_broken
=no
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.
$ac_ext >&5
5046 gt_cv_inttypes_pri_broken
=yes
5048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5051 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
5052 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
5054 if test "$gt_cv_inttypes_pri_broken" = yes; then
5056 cat >>confdefs.h
<<_ACEOF
5057 #define PRI_MACROS_BROKEN 1
5063 if test "X$prefix" = "XNONE"; then
5064 acl_final_prefix
="$ac_default_prefix"
5066 acl_final_prefix
="$prefix"
5068 if test "X$exec_prefix" = "XNONE"; then
5069 acl_final_exec_prefix
='${prefix}'
5071 acl_final_exec_prefix
="$exec_prefix"
5073 acl_save_prefix
="$prefix"
5074 prefix
="$acl_final_prefix"
5075 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5076 prefix
="$acl_save_prefix"
5079 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5080 if test "${with_gnu_ld+set}" = set; then
5081 withval
="$with_gnu_ld"
5082 test "$withval" = no || with_gnu_ld
=yes
5086 # Prepare PATH_SEPARATOR.
5087 # The user is always right.
5088 if test "${PATH_SEPARATOR+set}" != set; then
5089 echo "#! /bin/sh" >conf$$.sh
5090 echo "exit 0" >>conf$$.sh
5092 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5100 if test "$GCC" = yes; then
5101 # Check if gcc -print-prog-name=ld gives a path.
5102 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5103 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5106 # gcc leaves a trailing carriage return which upsets mingw
5107 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5109 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5112 # Accept absolute paths.
5113 [\\/]* |
[A-Za-z
]:[\\/]*)
5114 re_direlt
='/[^/][^/]*/\.\./'
5115 # Canonicalize the path of ld
5116 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5117 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5118 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5120 test -z "$LD" && LD
="$ac_prog"
5123 # If it fails, then pretend we aren't using GCC.
5127 # If it is relative, then search for the first ld in PATH.
5131 elif test "$with_gnu_ld" = yes; then
5132 echo "$as_me:$LINENO: checking for GNU ld" >&5
5133 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5135 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5136 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5138 if test "${acl_cv_path_LD+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 if test -z "$LD"; then
5142 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5143 for ac_dir
in $PATH; do
5144 test -z "$ac_dir" && ac_dir
=.
5145 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5146 acl_cv_path_LD
="$ac_dir/$ac_prog"
5147 # Check to see if the program is GNU ld. I'd rather use --version,
5148 # but apparently some GNU ld's only accept -v.
5149 # Break only if it was the GNU/non-GNU ld that we prefer.
5150 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5151 test "$with_gnu_ld" != no
&& break
5153 test "$with_gnu_ld" != yes && break
5159 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5163 LD
="$acl_cv_path_LD"
5164 if test -n "$LD"; then
5165 echo "$as_me:$LINENO: result: $LD" >&5
5166 echo "${ECHO_T}$LD" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5171 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5172 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5173 { (exit 1); exit 1; }; }
5174 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5175 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5176 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5180 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5181 acl_cv_prog_gnu_ld
=yes
5183 acl_cv_prog_gnu_ld
=no
5186 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5187 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5188 with_gnu_ld
=$acl_cv_prog_gnu_ld
5192 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5193 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5194 if test "${acl_cv_rpath+set}" = set; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5199 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5205 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5206 echo "${ECHO_T}$acl_cv_rpath" >&6
5208 libext
="$acl_cv_libext"
5209 shlibext
="$acl_cv_shlibext"
5210 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5211 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5212 hardcode_direct
="$acl_cv_hardcode_direct"
5213 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5214 # Check whether --enable-rpath or --disable-rpath was given.
5215 if test "${enable_rpath+set}" = set; then
5216 enableval
="$enable_rpath"
5230 acl_save_prefix
="$prefix"
5231 prefix
="$acl_final_prefix"
5232 acl_save_exec_prefix
="$exec_prefix"
5233 exec_prefix
="$acl_final_exec_prefix"
5235 eval additional_includedir
=\"$includedir\"
5236 eval additional_libdir
=\"$libdir\"
5238 exec_prefix
="$acl_save_exec_prefix"
5239 prefix
="$acl_save_prefix"
5242 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5243 if test "${with_libiconv_prefix+set}" = set; then
5244 withval
="$with_libiconv_prefix"
5246 if test "X$withval" = "Xno"; then
5249 if test "X$withval" = "X"; then
5251 acl_save_prefix
="$prefix"
5252 prefix
="$acl_final_prefix"
5253 acl_save_exec_prefix
="$exec_prefix"
5254 exec_prefix
="$acl_final_exec_prefix"
5256 eval additional_includedir
=\"$includedir\"
5257 eval additional_libdir
=\"$libdir\"
5259 exec_prefix
="$acl_save_exec_prefix"
5260 prefix
="$acl_save_prefix"
5263 additional_includedir
="$withval/include"
5264 additional_libdir
="$withval/lib"
5274 names_already_handled
=
5275 names_next_round
='iconv '
5276 while test -n "$names_next_round"; do
5277 names_this_round
="$names_next_round"
5279 for name
in $names_this_round; do
5281 for n
in $names_already_handled; do
5282 if test "$n" = "$name"; then
5287 if test -z "$already_handled"; then
5288 names_already_handled
="$names_already_handled $name"
5289 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5290 eval value
=\"\
$HAVE_LIB$uppername\"
5291 if test -n "$value"; then
5292 if test "$value" = yes; then
5293 eval value
=\"\
$LIB$uppername\"
5294 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5295 eval value
=\"\
$LTLIB$uppername\"
5296 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5305 if test $use_additional = yes; then
5306 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5307 found_dir
="$additional_libdir"
5308 found_so
="$additional_libdir/lib$name.$shlibext"
5309 if test -f "$additional_libdir/lib$name.la"; then
5310 found_la
="$additional_libdir/lib$name.la"
5313 if test -f "$additional_libdir/lib$name.$libext"; then
5314 found_dir
="$additional_libdir"
5315 found_a
="$additional_libdir/lib$name.$libext"
5316 if test -f "$additional_libdir/lib$name.la"; then
5317 found_la
="$additional_libdir/lib$name.la"
5322 if test "X$found_dir" = "X"; then
5323 for x
in $LDFLAGS $LTLIBICONV; do
5325 acl_save_prefix
="$prefix"
5326 prefix
="$acl_final_prefix"
5327 acl_save_exec_prefix
="$exec_prefix"
5328 exec_prefix
="$acl_final_exec_prefix"
5330 exec_prefix
="$acl_save_exec_prefix"
5331 prefix
="$acl_save_prefix"
5335 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5336 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5338 found_so
="$dir/lib$name.$shlibext"
5339 if test -f "$dir/lib$name.la"; then
5340 found_la
="$dir/lib$name.la"
5343 if test -f "$dir/lib$name.$libext"; then
5345 found_a
="$dir/lib$name.$libext"
5346 if test -f "$dir/lib$name.la"; then
5347 found_la
="$dir/lib$name.la"
5353 if test "X$found_dir" != "X"; then
5358 if test "X$found_dir" != "X"; then
5359 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5360 if test "X$found_so" != "X"; then
5361 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5365 for x
in $ltrpathdirs; do
5366 if test "X$x" = "X$found_dir"; then
5371 if test -z "$haveit"; then
5372 ltrpathdirs
="$ltrpathdirs $found_dir"
5374 if test "$hardcode_direct" = yes; then
5375 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5377 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5378 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5380 for x
in $rpathdirs; do
5381 if test "X$x" = "X$found_dir"; then
5386 if test -z "$haveit"; then
5387 rpathdirs
="$rpathdirs $found_dir"
5391 for x
in $LDFLAGS $LIBICONV; do
5393 acl_save_prefix
="$prefix"
5394 prefix
="$acl_final_prefix"
5395 acl_save_exec_prefix
="$exec_prefix"
5396 exec_prefix
="$acl_final_exec_prefix"
5398 exec_prefix
="$acl_save_exec_prefix"
5399 prefix
="$acl_save_prefix"
5401 if test "X$x" = "X-L$found_dir"; then
5406 if test -z "$haveit"; then
5407 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5409 if test "$hardcode_minus_L" != no
; then
5410 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5412 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5418 if test "X$found_a" != "X"; then
5419 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5421 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5424 additional_includedir
=
5425 case "$found_dir" in
5427 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5428 additional_includedir
="$basedir/include"
5431 if test "X$additional_includedir" != "X"; then
5432 if test "X$additional_includedir" != "X/usr/include"; then
5434 if test "X$additional_includedir" = "X/usr/local/include"; then
5435 if test -n "$GCC"; then
5437 linux
*) haveit
=yes;;
5441 if test -z "$haveit"; then
5442 for x
in $CPPFLAGS $INCICONV; do
5444 acl_save_prefix
="$prefix"
5445 prefix
="$acl_final_prefix"
5446 acl_save_exec_prefix
="$exec_prefix"
5447 exec_prefix
="$acl_final_exec_prefix"
5449 exec_prefix
="$acl_save_exec_prefix"
5450 prefix
="$acl_save_prefix"
5452 if test "X$x" = "X-I$additional_includedir"; then
5457 if test -z "$haveit"; then
5458 if test -d "$additional_includedir"; then
5459 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5465 if test -n "$found_la"; then
5466 save_libdir
="$libdir"
5468 */* |
*\\*) .
"$found_la" ;;
5469 *) .
"./$found_la" ;;
5471 libdir
="$save_libdir"
5472 for dep
in $dependency_libs; do
5475 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5476 if test "X$additional_libdir" != "X/usr/lib"; then
5478 if test "X$additional_libdir" = "X/usr/local/lib"; then
5479 if test -n "$GCC"; then
5481 linux
*) haveit
=yes;;
5485 if test -z "$haveit"; then
5487 for x
in $LDFLAGS $LIBICONV; do
5489 acl_save_prefix
="$prefix"
5490 prefix
="$acl_final_prefix"
5491 acl_save_exec_prefix
="$exec_prefix"
5492 exec_prefix
="$acl_final_exec_prefix"
5494 exec_prefix
="$acl_save_exec_prefix"
5495 prefix
="$acl_save_prefix"
5497 if test "X$x" = "X-L$additional_libdir"; then
5502 if test -z "$haveit"; then
5503 if test -d "$additional_libdir"; then
5504 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5508 for x
in $LDFLAGS $LTLIBICONV; do
5510 acl_save_prefix
="$prefix"
5511 prefix
="$acl_final_prefix"
5512 acl_save_exec_prefix
="$exec_prefix"
5513 exec_prefix
="$acl_final_exec_prefix"
5515 exec_prefix
="$acl_save_exec_prefix"
5516 prefix
="$acl_save_prefix"
5518 if test "X$x" = "X-L$additional_libdir"; then
5523 if test -z "$haveit"; then
5524 if test -d "$additional_libdir"; then
5525 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5532 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5533 if test "$enable_rpath" != no
; then
5535 for x
in $rpathdirs; do
5536 if test "X$x" = "X$dir"; then
5541 if test -z "$haveit"; then
5542 rpathdirs
="$rpathdirs $dir"
5545 for x
in $ltrpathdirs; do
5546 if test "X$x" = "X$dir"; then
5551 if test -z "$haveit"; then
5552 ltrpathdirs
="$ltrpathdirs $dir"
5557 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5560 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5563 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5564 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5570 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5571 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5577 if test "X$rpathdirs" != "X"; then
5578 if test -n "$hardcode_libdir_separator"; then
5580 for found_dir
in $rpathdirs; do
5581 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5583 acl_save_libdir
="$libdir"
5585 eval flag
=\"$hardcode_libdir_flag_spec\"
5586 libdir
="$acl_save_libdir"
5587 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5589 for found_dir
in $rpathdirs; do
5590 acl_save_libdir
="$libdir"
5592 eval flag
=\"$hardcode_libdir_flag_spec\"
5593 libdir
="$acl_save_libdir"
5594 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5598 if test "X$ltrpathdirs" != "X"; then
5599 for found_dir
in $ltrpathdirs; do
5600 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5617 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5618 stdlib.h string.h unistd.h sys
/param.h
5620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5622 echo "$as_me:$LINENO: checking for $ac_header" >&5
5623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5630 # Is the header compilable?
5631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5633 cat >conftest.
$ac_ext <<_ACEOF
5636 cat confdefs.h
>>conftest.
$ac_ext
5637 cat >>conftest.
$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 $ac_includes_default
5640 #include <$ac_header>
5642 rm -f conftest.
$ac_objext
5643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5644 (eval $ac_compile) 2>conftest.er1
5646 grep -v '^ *+' conftest.er1
>conftest.err
5648 cat conftest.err
>&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } &&
5651 { ac_try
='test -z "$ac_c_werror_flag"
5652 || test ! -s conftest.err'
5653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); }; } &&
5658 { ac_try
='test -s conftest.$ac_objext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5664 ac_header_compiler
=yes
5666 echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.
$ac_ext >&5
5669 ac_header_compiler
=no
5671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5673 echo "${ECHO_T}$ac_header_compiler" >&6
5675 # Is the header present?
5676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5678 cat >conftest.
$ac_ext <<_ACEOF
5681 cat confdefs.h
>>conftest.
$ac_ext
5682 cat >>conftest.
$ac_ext <<_ACEOF
5683 /* end confdefs.h. */
5684 #include <$ac_header>
5686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5689 grep -v '^ *+' conftest.er1
>conftest.err
5691 cat conftest.err
>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } >/dev
/null
; then
5694 if test -s conftest.err
; then
5695 ac_cpp_err
=$ac_c_preproc_warn_flag
5696 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5703 if test -z "$ac_cpp_err"; then
5704 ac_header_preproc
=yes
5706 echo "$as_me: failed program was:" >&5
5707 sed 's/^/| /' conftest.
$ac_ext >&5
5709 ac_header_preproc
=no
5711 rm -f conftest.err conftest.
$ac_ext
5712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5713 echo "${ECHO_T}$ac_header_preproc" >&6
5715 # So? What about this header?
5716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5722 ac_header_preproc
=yes
5725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5739 ## ------------------------------------------ ##
5740 ## Report this to the AC_PACKAGE_NAME lists. ##
5741 ## ------------------------------------------ ##
5744 sed "s/^/$as_me: WARNING: /" >&2
5747 echo "$as_me:$LINENO: checking for $ac_header" >&5
5748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 eval "$as_ac_Header=\$ac_header_preproc"
5754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5759 cat >>confdefs.h
<<_ACEOF
5760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5789 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5790 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5791 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795 echo "$as_me:$LINENO: checking for $ac_func" >&5
5796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5797 if eval "test \"\${$as_ac_var+set}\" = set"; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 cat >conftest.
$ac_ext <<_ACEOF
5803 cat confdefs.h
>>conftest.
$ac_ext
5804 cat >>conftest.
$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5808 #define $ac_func innocuous_$ac_func
5810 /* System header to define __stub macros and hopefully few prototypes,
5811 which can conflict with char $ac_func (); below.
5812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5813 <limits.h> exists even on freestanding compilers. */
5816 # include <limits.h>
5818 # include <assert.h>
5823 /* Override any gcc2 internal prototype to avoid an error. */
5828 /* We use char because int might match the return type of a gcc2
5829 builtin and then its argument prototype would still apply. */
5831 /* The GNU C library defines this for functions which it implements
5832 to always fail with ENOSYS. Some functions are actually named
5833 something starting with __ and the normal name is an alias. */
5834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5837 char (*f) () = $ac_func;
5846 return f != $ac_func;
5851 rm -f conftest.
$ac_objext conftest
$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try
='test -z "$ac_c_werror_flag"
5861 || test ! -s conftest.err'
5862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); }; } &&
5867 { ac_try
='test -s conftest$ac_exeext'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; }; then
5873 eval "$as_ac_var=yes"
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.
$ac_ext >&5
5878 eval "$as_ac_var=no"
5880 rm -f conftest.err conftest.
$ac_objext \
5881 conftest
$ac_exeext conftest.
$ac_ext
5883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5885 if test `eval echo '${'$as_ac_var'}'` = yes; then
5886 cat >>confdefs.h
<<_ACEOF
5887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5899 am_save_CPPFLAGS
="$CPPFLAGS"
5901 for element
in $INCICONV; do
5903 for x
in $CPPFLAGS; do
5905 acl_save_prefix
="$prefix"
5906 prefix
="$acl_final_prefix"
5907 acl_save_exec_prefix
="$exec_prefix"
5908 exec_prefix
="$acl_final_exec_prefix"
5910 exec_prefix
="$acl_save_exec_prefix"
5911 prefix
="$acl_save_prefix"
5913 if test "X$x" = "X$element"; then
5918 if test -z "$haveit"; then
5919 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5924 echo "$as_me:$LINENO: checking for iconv" >&5
5925 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5926 if test "${am_cv_func_iconv+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 am_cv_func_iconv
="no, consider installing GNU libiconv"
5932 cat >conftest.
$ac_ext <<_ACEOF
5935 cat confdefs.h
>>conftest.
$ac_ext
5936 cat >>conftest.
$ac_ext <<_ACEOF
5937 /* end confdefs.h. */
5943 iconv_t cd = iconv_open("","");
5944 iconv(cd,NULL,NULL,NULL,NULL);
5950 rm -f conftest.
$ac_objext conftest
$ac_exeext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952 (eval $ac_link) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } &&
5959 { ac_try
='test -z "$ac_c_werror_flag"
5960 || test ! -s conftest.err'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; } &&
5966 { ac_try
='test -s conftest$ac_exeext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 am_cv_func_iconv
=yes
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5978 rm -f conftest.err conftest.
$ac_objext \
5979 conftest
$ac_exeext conftest.
$ac_ext
5980 if test "$am_cv_func_iconv" != yes; then
5981 am_save_LIBS
="$LIBS"
5982 LIBS
="$LIBS $LIBICONV"
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5994 iconv_t cd = iconv_open("","");
5995 iconv(cd,NULL,NULL,NULL,NULL);
6001 rm -f conftest.
$ac_objext conftest
$ac_exeext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6003 (eval $ac_link) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest$ac_exeext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6024 am_cv_func_iconv
=yes
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6030 rm -f conftest.err conftest.
$ac_objext \
6031 conftest
$ac_exeext conftest.
$ac_ext
6032 LIBS
="$am_save_LIBS"
6036 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6037 echo "${ECHO_T}$am_cv_func_iconv" >&6
6038 if test "$am_cv_func_iconv" = yes; then
6040 cat >>confdefs.h
<<\_ACEOF
6041 #define HAVE_ICONV 1
6045 if test "$am_cv_lib_iconv" = yes; then
6046 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6047 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
6048 echo "$as_me:$LINENO: result: $LIBICONV" >&5
6049 echo "${ECHO_T}$LIBICONV" >&6
6051 CPPFLAGS
="$am_save_CPPFLAGS"
6058 if test "$am_cv_func_iconv" = yes; then
6059 echo "$as_me:$LINENO: checking for iconv declaration" >&5
6060 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6061 if test "${am_cv_proto_iconv+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 cat >conftest.
$ac_ext <<_ACEOF
6068 cat confdefs.h
>>conftest.
$ac_ext
6069 cat >>conftest.
$ac_ext <<_ACEOF
6070 /* end confdefs.h. */
6078 #if defined(__STDC__) || defined(__cplusplus)
6079 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6092 rm -f conftest.
$ac_objext
6093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6094 (eval $ac_compile) 2>conftest.er1
6096 grep -v '^ *+' conftest.er1
>conftest.err
6098 cat conftest.err
>&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } &&
6101 { ac_try
='test -z "$ac_c_werror_flag"
6102 || test ! -s conftest.err'
6103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); }; } &&
6108 { ac_try
='test -s conftest.$ac_objext'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; }; then
6114 am_cv_proto_iconv_arg1
=""
6116 echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.
$ac_ext >&5
6119 am_cv_proto_iconv_arg1
="const"
6121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
6125 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6126 echo "$as_me:$LINENO: result: ${ac_t:-
6127 }$am_cv_proto_iconv" >&5
6128 echo "${ECHO_T}${ac_t:-
6129 }$am_cv_proto_iconv" >&6
6131 cat >>confdefs.h
<<_ACEOF
6132 #define ICONV_CONST $am_cv_proto_iconv_arg1
6138 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6139 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6140 if test "${am_cv_langinfo_codeset+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6149 #include <langinfo.h>
6153 char* cs = nl_langinfo(CODESET);
6158 rm -f conftest.
$ac_objext conftest
$ac_exeext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6160 (eval $ac_link) 2>conftest.er1
6162 grep -v '^ *+' conftest.er1
>conftest.err
6164 cat conftest.err
>&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try
='test -z "$ac_c_werror_flag"
6168 || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try
='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 am_cv_langinfo_codeset
=yes
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.
$ac_ext >&5
6185 am_cv_langinfo_codeset
=no
6187 rm -f conftest.err conftest.
$ac_objext \
6188 conftest
$ac_exeext conftest.
$ac_ext
6191 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6192 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6193 if test $am_cv_langinfo_codeset = yes; then
6195 cat >>confdefs.h
<<\_ACEOF
6196 #define HAVE_LANGINFO_CODESET 1
6201 if test $ac_cv_header_locale_h = yes; then
6203 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6204 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6205 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 cat >conftest.
$ac_ext <<_ACEOF
6211 cat confdefs.h
>>conftest.
$ac_ext
6212 cat >>conftest.
$ac_ext <<_ACEOF
6213 /* end confdefs.h. */
6223 rm -f conftest.
$ac_objext conftest
$ac_exeext
6224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6225 (eval $ac_link) 2>conftest.er1
6227 grep -v '^ *+' conftest.er1
>conftest.err
6229 cat conftest.err
>&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); } &&
6232 { ac_try
='test -z "$ac_c_werror_flag"
6233 || test ! -s conftest.err'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; } &&
6239 { ac_try
='test -s conftest$ac_exeext'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; }; then
6245 am_cv_val_LC_MESSAGES
=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.
$ac_ext >&5
6250 am_cv_val_LC_MESSAGES
=no
6252 rm -f conftest.err conftest.
$ac_objext \
6253 conftest
$ac_exeext conftest.
$ac_ext
6255 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6256 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6257 if test $am_cv_val_LC_MESSAGES = yes; then
6259 cat >>confdefs.h
<<\_ACEOF
6260 #define HAVE_LC_MESSAGES 1
6267 for ac_prog
in bison
6269 # Extract the first word of "$ac_prog", so it can be a program name with args.
6270 set dummy
$ac_prog; ac_word
=$2
6271 echo "$as_me:$LINENO: checking for $ac_word" >&5
6272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6273 if test "${ac_cv_prog_INTLBISON+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 if test -n "$INTLBISON"; then
6277 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
6279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6283 test -z "$as_dir" && as_dir
=.
6284 for ac_exec_ext
in '' $ac_executable_extensions; do
6285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_INTLBISON
="$ac_prog"
6287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 INTLBISON
=$ac_cv_prog_INTLBISON
6296 if test -n "$INTLBISON"; then
6297 echo "$as_me:$LINENO: result: $INTLBISON" >&5
6298 echo "${ECHO_T}$INTLBISON" >&6
6300 echo "$as_me:$LINENO: result: no" >&5
6301 echo "${ECHO_T}no" >&6
6304 test -n "$INTLBISON" && break
6307 if test -z "$INTLBISON"; then
6310 echo "$as_me:$LINENO: checking version of bison" >&5
6311 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
6312 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6313 case $ac_prog_version in
6314 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
6315 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
6316 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
6317 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
6319 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
6320 echo "${ECHO_T}$ac_prog_version" >&6
6322 if test $ac_verc_fail = yes; then
6341 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6342 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6343 # Check whether --enable-nls or --disable-nls was given.
6344 if test "${enable_nls+set}" = set; then
6345 enableval
="$enable_nls"
6350 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6351 echo "${ECHO_T}$USE_NLS" >&6
6356 BUILD_INCLUDED_LIBINTL
=no
6357 USE_INCLUDED_LIBINTL
=no
6363 if test "$USE_NLS" = "yes"; then
6364 gt_use_preinstalled_gnugettext
=no
6366 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6367 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6369 # Check whether --with-included-gettext or --without-included-gettext was given.
6370 if test "${with_included_gettext+set}" = set; then
6371 withval
="$with_included_gettext"
6372 nls_cv_force_use_gnu_gettext
=$withval
6374 nls_cv_force_use_gnu_gettext
=no
6376 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6377 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6379 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6380 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6387 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
6388 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
6389 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
6390 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 cat >conftest.
$ac_ext <<_ACEOF
6395 cat confdefs.h
>>conftest.
$ac_ext
6396 cat >>conftest.
$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <libintl.h>
6399 extern int _nl_msg_cat_cntr;
6400 extern int *_nl_domain_bindings;
6404 bindtextdomain ("", "");
6405 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
6410 rm -f conftest.
$ac_objext conftest
$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag"
6420 || test ! -s conftest.err'
6421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; } &&
6426 { ac_try
='test -s conftest$ac_exeext'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; }; then
6432 gt_cv_func_gnugettext1_libc
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6437 gt_cv_func_gnugettext1_libc
=no
6439 rm -f conftest.err conftest.
$ac_objext \
6440 conftest
$ac_exeext conftest.
$ac_ext
6442 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
6443 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
6445 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
6451 acl_save_prefix
="$prefix"
6452 prefix
="$acl_final_prefix"
6453 acl_save_exec_prefix
="$exec_prefix"
6454 exec_prefix
="$acl_final_exec_prefix"
6456 eval additional_includedir
=\"$includedir\"
6457 eval additional_libdir
=\"$libdir\"
6459 exec_prefix
="$acl_save_exec_prefix"
6460 prefix
="$acl_save_prefix"
6463 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
6464 if test "${with_libintl_prefix+set}" = set; then
6465 withval
="$with_libintl_prefix"
6467 if test "X$withval" = "Xno"; then
6470 if test "X$withval" = "X"; then
6472 acl_save_prefix
="$prefix"
6473 prefix
="$acl_final_prefix"
6474 acl_save_exec_prefix
="$exec_prefix"
6475 exec_prefix
="$acl_final_exec_prefix"
6477 eval additional_includedir
=\"$includedir\"
6478 eval additional_libdir
=\"$libdir\"
6480 exec_prefix
="$acl_save_exec_prefix"
6481 prefix
="$acl_save_prefix"
6484 additional_includedir
="$withval/include"
6485 additional_libdir
="$withval/lib"
6495 names_already_handled
=
6496 names_next_round
='intl '
6497 while test -n "$names_next_round"; do
6498 names_this_round
="$names_next_round"
6500 for name
in $names_this_round; do
6502 for n
in $names_already_handled; do
6503 if test "$n" = "$name"; then
6508 if test -z "$already_handled"; then
6509 names_already_handled
="$names_already_handled $name"
6510 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6511 eval value
=\"\
$HAVE_LIB$uppername\"
6512 if test -n "$value"; then
6513 if test "$value" = yes; then
6514 eval value
=\"\
$LIB$uppername\"
6515 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6516 eval value
=\"\
$LTLIB$uppername\"
6517 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6526 if test $use_additional = yes; then
6527 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6528 found_dir
="$additional_libdir"
6529 found_so
="$additional_libdir/lib$name.$shlibext"
6530 if test -f "$additional_libdir/lib$name.la"; then
6531 found_la
="$additional_libdir/lib$name.la"
6534 if test -f "$additional_libdir/lib$name.$libext"; then
6535 found_dir
="$additional_libdir"
6536 found_a
="$additional_libdir/lib$name.$libext"
6537 if test -f "$additional_libdir/lib$name.la"; then
6538 found_la
="$additional_libdir/lib$name.la"
6543 if test "X$found_dir" = "X"; then
6544 for x
in $LDFLAGS $LTLIBINTL; do
6546 acl_save_prefix
="$prefix"
6547 prefix
="$acl_final_prefix"
6548 acl_save_exec_prefix
="$exec_prefix"
6549 exec_prefix
="$acl_final_exec_prefix"
6551 exec_prefix
="$acl_save_exec_prefix"
6552 prefix
="$acl_save_prefix"
6556 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6557 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6559 found_so
="$dir/lib$name.$shlibext"
6560 if test -f "$dir/lib$name.la"; then
6561 found_la
="$dir/lib$name.la"
6564 if test -f "$dir/lib$name.$libext"; then
6566 found_a
="$dir/lib$name.$libext"
6567 if test -f "$dir/lib$name.la"; then
6568 found_la
="$dir/lib$name.la"
6574 if test "X$found_dir" != "X"; then
6579 if test "X$found_dir" != "X"; then
6580 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6581 if test "X$found_so" != "X"; then
6582 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6583 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6586 for x
in $ltrpathdirs; do
6587 if test "X$x" = "X$found_dir"; then
6592 if test -z "$haveit"; then
6593 ltrpathdirs
="$ltrpathdirs $found_dir"
6595 if test "$hardcode_direct" = yes; then
6596 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6598 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6599 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6601 for x
in $rpathdirs; do
6602 if test "X$x" = "X$found_dir"; then
6607 if test -z "$haveit"; then
6608 rpathdirs
="$rpathdirs $found_dir"
6612 for x
in $LDFLAGS $LIBINTL; do
6614 acl_save_prefix
="$prefix"
6615 prefix
="$acl_final_prefix"
6616 acl_save_exec_prefix
="$exec_prefix"
6617 exec_prefix
="$acl_final_exec_prefix"
6619 exec_prefix
="$acl_save_exec_prefix"
6620 prefix
="$acl_save_prefix"
6622 if test "X$x" = "X-L$found_dir"; then
6627 if test -z "$haveit"; then
6628 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6630 if test "$hardcode_minus_L" != no
; then
6631 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6633 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6639 if test "X$found_a" != "X"; then
6640 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6642 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6645 additional_includedir
=
6646 case "$found_dir" in
6648 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6649 additional_includedir
="$basedir/include"
6652 if test "X$additional_includedir" != "X"; then
6653 if test "X$additional_includedir" != "X/usr/include"; then
6655 if test "X$additional_includedir" = "X/usr/local/include"; then
6656 if test -n "$GCC"; then
6658 linux
*) haveit
=yes;;
6662 if test -z "$haveit"; then
6663 for x
in $CPPFLAGS $INCINTL; do
6665 acl_save_prefix
="$prefix"
6666 prefix
="$acl_final_prefix"
6667 acl_save_exec_prefix
="$exec_prefix"
6668 exec_prefix
="$acl_final_exec_prefix"
6670 exec_prefix
="$acl_save_exec_prefix"
6671 prefix
="$acl_save_prefix"
6673 if test "X$x" = "X-I$additional_includedir"; then
6678 if test -z "$haveit"; then
6679 if test -d "$additional_includedir"; then
6680 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6686 if test -n "$found_la"; then
6687 save_libdir
="$libdir"
6689 */* |
*\\*) .
"$found_la" ;;
6690 *) .
"./$found_la" ;;
6692 libdir
="$save_libdir"
6693 for dep
in $dependency_libs; do
6696 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6697 if test "X$additional_libdir" != "X/usr/lib"; then
6699 if test "X$additional_libdir" = "X/usr/local/lib"; then
6700 if test -n "$GCC"; then
6702 linux
*) haveit
=yes;;
6706 if test -z "$haveit"; then
6708 for x
in $LDFLAGS $LIBINTL; do
6710 acl_save_prefix
="$prefix"
6711 prefix
="$acl_final_prefix"
6712 acl_save_exec_prefix
="$exec_prefix"
6713 exec_prefix
="$acl_final_exec_prefix"
6715 exec_prefix
="$acl_save_exec_prefix"
6716 prefix
="$acl_save_prefix"
6718 if test "X$x" = "X-L$additional_libdir"; then
6723 if test -z "$haveit"; then
6724 if test -d "$additional_libdir"; then
6725 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6729 for x
in $LDFLAGS $LTLIBINTL; do
6731 acl_save_prefix
="$prefix"
6732 prefix
="$acl_final_prefix"
6733 acl_save_exec_prefix
="$exec_prefix"
6734 exec_prefix
="$acl_final_exec_prefix"
6736 exec_prefix
="$acl_save_exec_prefix"
6737 prefix
="$acl_save_prefix"
6739 if test "X$x" = "X-L$additional_libdir"; then
6744 if test -z "$haveit"; then
6745 if test -d "$additional_libdir"; then
6746 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6753 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6754 if test "$enable_rpath" != no
; then
6756 for x
in $rpathdirs; do
6757 if test "X$x" = "X$dir"; then
6762 if test -z "$haveit"; then
6763 rpathdirs
="$rpathdirs $dir"
6766 for x
in $ltrpathdirs; do
6767 if test "X$x" = "X$dir"; then
6772 if test -z "$haveit"; then
6773 ltrpathdirs
="$ltrpathdirs $dir"
6778 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6781 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6784 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6785 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6791 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6792 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6798 if test "X$rpathdirs" != "X"; then
6799 if test -n "$hardcode_libdir_separator"; then
6801 for found_dir
in $rpathdirs; do
6802 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6804 acl_save_libdir
="$libdir"
6806 eval flag
=\"$hardcode_libdir_flag_spec\"
6807 libdir
="$acl_save_libdir"
6808 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6810 for found_dir
in $rpathdirs; do
6811 acl_save_libdir
="$libdir"
6813 eval flag
=\"$hardcode_libdir_flag_spec\"
6814 libdir
="$acl_save_libdir"
6815 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6819 if test "X$ltrpathdirs" != "X"; then
6820 for found_dir
in $ltrpathdirs; do
6821 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6825 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6826 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6827 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 gt_save_CPPFLAGS
="$CPPFLAGS"
6831 CPPFLAGS
="$CPPFLAGS $INCINTL"
6832 gt_save_LIBS
="$LIBS"
6833 LIBS
="$LIBS $LIBINTL"
6834 cat >conftest.
$ac_ext <<_ACEOF
6837 cat confdefs.h
>>conftest.
$ac_ext
6838 cat >>conftest.
$ac_ext <<_ACEOF
6839 /* end confdefs.h. */
6840 #include <libintl.h>
6841 extern int _nl_msg_cat_cntr;
6846 const char *_nl_expand_alias ();
6850 bindtextdomain ("", "");
6851 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6856 rm -f conftest.
$ac_objext conftest
$ac_exeext
6857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6858 (eval $ac_link) 2>conftest.er1
6860 grep -v '^ *+' conftest.er1
>conftest.err
6862 cat conftest.err
>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try
='test -z "$ac_c_werror_flag"
6866 || test ! -s conftest.err'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; } &&
6872 { ac_try
='test -s conftest$ac_exeext'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; }; then
6878 gt_cv_func_gnugettext1_libintl
=yes
6880 echo "$as_me: failed program was:" >&5
6881 sed 's/^/| /' conftest.
$ac_ext >&5
6883 gt_cv_func_gnugettext1_libintl
=no
6885 rm -f conftest.err conftest.
$ac_objext \
6886 conftest
$ac_exeext conftest.
$ac_ext
6887 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6888 LIBS
="$LIBS $LIBICONV"
6889 cat >conftest.
$ac_ext <<_ACEOF
6892 cat confdefs.h
>>conftest.
$ac_ext
6893 cat >>conftest.
$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 #include <libintl.h>
6896 extern int _nl_msg_cat_cntr;
6901 const char *_nl_expand_alias ();
6905 bindtextdomain ("", "");
6906 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6911 rm -f conftest.
$ac_objext conftest
$ac_exeext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6913 (eval $ac_link) 2>conftest.er1
6915 grep -v '^ *+' conftest.er1
>conftest.err
6917 cat conftest.err
>&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try
='test -z "$ac_c_werror_flag"
6921 || test ! -s conftest.err'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; } &&
6927 { ac_try
='test -s conftest$ac_exeext'
6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); }; }; then
6933 LIBINTL
="$LIBINTL $LIBICONV"
6934 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6935 gt_cv_func_gnugettext1_libintl
=yes
6938 echo "$as_me: failed program was:" >&5
6939 sed 's/^/| /' conftest.
$ac_ext >&5
6942 rm -f conftest.err conftest.
$ac_objext \
6943 conftest
$ac_exeext conftest.
$ac_ext
6945 CPPFLAGS
="$gt_save_CPPFLAGS"
6946 LIBS
="$gt_save_LIBS"
6948 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
6949 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
6952 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6953 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6954 && test "$PACKAGE" != gettext-runtime \
6955 && test "$PACKAGE" != gettext-tools
; }; then
6956 gt_use_preinstalled_gnugettext
=yes
6964 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6965 nls_cv_use_gnu_gettext
=yes
6969 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6970 BUILD_INCLUDED_LIBINTL
=yes
6971 USE_INCLUDED_LIBINTL
=yes
6972 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6973 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6974 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6977 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6978 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6983 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6984 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6986 cat >>confdefs.h
<<\_ACEOF
6987 #define ENABLE_NLS 1
6995 echo "$as_me:$LINENO: checking whether to use NLS" >&5
6996 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
6997 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6998 echo "${ECHO_T}$USE_NLS" >&6
6999 if test "$USE_NLS" = "yes"; then
7000 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
7001 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
7002 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7003 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7004 gt_source
="external libintl"
7009 gt_source
="included intl directory"
7011 echo "$as_me:$LINENO: result: $gt_source" >&5
7012 echo "${ECHO_T}$gt_source" >&6
7015 if test "$USE_NLS" = "yes"; then
7017 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7018 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7019 echo "$as_me:$LINENO: checking how to link with libintl" >&5
7020 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
7021 echo "$as_me:$LINENO: result: $LIBINTL" >&5
7022 echo "${ECHO_T}$LIBINTL" >&6
7024 for element
in $INCINTL; do
7026 for x
in $CPPFLAGS; do
7028 acl_save_prefix
="$prefix"
7029 prefix
="$acl_final_prefix"
7030 acl_save_exec_prefix
="$exec_prefix"
7031 exec_prefix
="$acl_final_exec_prefix"
7033 exec_prefix
="$acl_save_exec_prefix"
7034 prefix
="$acl_save_prefix"
7036 if test "X$x" = "X$element"; then
7041 if test -z "$haveit"; then
7042 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7049 cat >>confdefs.h
<<\_ACEOF
7050 #define HAVE_GETTEXT 1
7054 cat >>confdefs.h
<<\_ACEOF
7055 #define HAVE_DCGETTEXT 1
7064 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
7065 BUILD_INCLUDED_LIBINTL
=yes
7073 nls_cv_header_libgt
=
7084 if test "$USE_INCLUDED_LIBINTL" = yes; then
7085 INTLOBJS
="\$(GETTOBJS)"
7089 INTL_LIBTOOL_SUFFIX_PREFIX
=
7101 # This replaces the extensive use of DEFS in the original Makefile.in.
7103 cat >>confdefs.h
<<\_ACEOF
7104 #define IN_LIBINTL 1
7108 cat >>confdefs.h
<<\_ACEOF
7109 #define IN_LIBRARY 1
7113 cat >>confdefs.h
<<\_ACEOF
7114 #define DEPENDS_ON_LIBICONV 1
7118 cat >>confdefs.h
<<\_ACEOF
7119 #define ENABLE_RELOCATABLE 1
7123 cat >>confdefs.h
<<\_ACEOF
7124 #define NO_XMALLOC 1
7128 cat >>confdefs.h
<<\_ACEOF
7129 #define set_relocation_prefix libintl_set_relocation_prefix
7133 cat >>confdefs.h
<<\_ACEOF
7134 #define relocate libintl_relocate
7138 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7139 for ac_prog
in aclocal
7141 # Extract the first word of "$ac_prog", so it can be a program name with args.
7142 set dummy
$ac_prog; ac_word
=$2
7143 echo "$as_me:$LINENO: checking for $ac_word" >&5
7144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7145 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 if test -n "$ACLOCAL"; then
7149 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
7151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir
=.
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ACLOCAL
="$ac_prog"
7159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 ACLOCAL
=$ac_cv_prog_ACLOCAL
7168 if test -n "$ACLOCAL"; then
7169 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
7170 echo "${ECHO_T}$ACLOCAL" >&6
7172 echo "$as_me:$LINENO: result: no" >&5
7173 echo "${ECHO_T}no" >&6
7176 test -n "$ACLOCAL" && break
7178 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
7180 for ac_prog
in autoconf
7182 # Extract the first word of "$ac_prog", so it can be a program name with args.
7183 set dummy
$ac_prog; ac_word
=$2
7184 echo "$as_me:$LINENO: checking for $ac_word" >&5
7185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7186 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 if test -n "$AUTOCONF"; then
7190 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
7192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7196 test -z "$as_dir" && as_dir
=.
7197 for ac_exec_ext
in '' $ac_executable_extensions; do
7198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7199 ac_cv_prog_AUTOCONF
="$ac_prog"
7200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 AUTOCONF
=$ac_cv_prog_AUTOCONF
7209 if test -n "$AUTOCONF"; then
7210 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
7211 echo "${ECHO_T}$AUTOCONF" >&6
7213 echo "$as_me:$LINENO: result: no" >&5
7214 echo "${ECHO_T}no" >&6
7217 test -n "$AUTOCONF" && break
7219 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
7221 for ac_prog
in autoheader
7223 # Extract the first word of "$ac_prog", so it can be a program name with args.
7224 set dummy
$ac_prog; ac_word
=$2
7225 echo "$as_me:$LINENO: checking for $ac_word" >&5
7226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7227 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 if test -n "$AUTOHEADER"; then
7231 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
7233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir
=.
7238 for ac_exec_ext
in '' $ac_executable_extensions; do
7239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_AUTOHEADER
="$ac_prog"
7241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
7250 if test -n "$AUTOHEADER"; then
7251 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
7252 echo "${ECHO_T}$AUTOHEADER" >&6
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7258 test -n "$AUTOHEADER" && break
7260 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
7263 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7264 if test "${enable_maintainer_mode+set}" = set; then
7265 enableval
="$enable_maintainer_mode"
7268 enable_maintainer_mode
=no
7270 if test "x$enable_maintainer_mode" = xno
; then
7277 # Additional info for config.intl.
7283 case $USE_INCLUDED_LIBINTL in
7285 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
7286 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
7287 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
7288 INCINTL
='-I${top_builddir}/../intl'
7292 ac_config_files
="$ac_config_files Makefile config.intl"
7294 cat >confcache
<<\_ACEOF
7295 # This file is a shell script that caches the results of configure
7296 # tests run on this system so they can be shared between configure
7297 # scripts and configure runs, see configure's option --config-cache.
7298 # It is not useful on other systems. If it contains results you don't
7299 # want to keep, you may remove or edit it.
7301 # config.status only pays attention to the cache file if you give it
7302 # the --recheck option to rerun configure.
7304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7310 # The following way of writing the cache mishandles newlines in values,
7311 # but we know of no workaround that is simple, portable, and efficient.
7312 # So, don't put newlines in cache variables' values.
7313 # Ultrix sh set writes to stderr and can't be redirected directly,
7314 # and sets the high bit in the cache file unless we assign to the vars.
7317 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7319 # `set' does not quote correctly, so add quotes (double-quote
7320 # substitution turns \\\\ into \\, and sed turns \\ into \).
7323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7326 # `set' quotes correctly as required by POSIX, so do not add quotes.
7328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7337 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7339 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7340 if test -w $cache_file; then
7341 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7342 cat confcache
>$cache_file
7344 echo "not updating unwritable cache $cache_file"
7349 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7350 # Let make expand exec_prefix.
7351 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7353 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7354 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7355 # trailing colons and then remove the whole line if VPATH becomes empty
7356 # (actually we leave an empty line to preserve line numbers).
7357 if test "x$srcdir" = x.
; then
7358 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7359 s/:*\$(srcdir):*/:/;
7360 s/:*\${srcdir}:*/:/;
7362 s/^\([^=]*=[ ]*\):*/\1/;
7368 DEFS
=-DHAVE_CONFIG_H
7372 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7373 # 1. Remove the extension, and $U if already installed.
7374 ac_i
=`echo "$ac_i" |
7375 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7377 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7378 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7382 LTLIBOBJS
=$ac_ltlibobjs
7386 : ${CONFIG_STATUS=./config.status}
7387 ac_clean_files_save
=$ac_clean_files
7388 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7389 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7390 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7391 cat >$CONFIG_STATUS <<_ACEOF
7393 # Generated by $as_me.
7394 # Run this file to recreate the current configuration.
7395 # Compiler output produced by configure, useful for debugging
7396 # configure, is in config.log if it exists.
7401 SHELL=\${CONFIG_SHELL-$SHELL}
7404 cat >>$CONFIG_STATUS <<\_ACEOF
7405 ## --------------------- ##
7406 ## M4sh Initialization. ##
7407 ## --------------------- ##
7409 # Be Bourne compatible
7410 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7413 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7414 # is contrary to our usage. Disable this feature.
7415 alias -g '${1+"$@"}'='"$@"'
7416 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7419 DUALCASE
=1; export DUALCASE
# for MKS sh
7421 # Support unset when possible.
7422 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7429 # Work around bugs in pre-3.0 UWIN ksh.
7430 $as_unset ENV MAIL MAILPATH
7437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7439 LC_TELEPHONE LC_TIME
7441 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7442 eval $as_var=C
; export $as_var
7448 # Required to use basename.
7449 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7455 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7456 as_basename
=basename
7462 # Name of the executable.
7463 as_me
=`$as_basename "$0" ||
7464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7465 X"$0" : 'X\(//\)$' \| \
7466 X"$0" : 'X\(/\)$' \| \
7467 . : '\(.\)' 2>/dev/null ||
7469 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7470 /^X\/\(\/\/\)$/{ s//\1/; q; }
7471 /^X\/\(\/\).*/{ s//\1/; q; }
7475 # PATH needs CR, and LINENO needs CR and PATH.
7476 # Avoid depending upon Character Ranges.
7477 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7478 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7479 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7480 as_cr_digits
='0123456789'
7481 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7483 # The user is always right.
7484 if test "${PATH_SEPARATOR+set}" != set; then
7485 echo "#! /bin/sh" >conf$$.sh
7486 echo "exit 0" >>conf$$.sh
7488 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7499 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7500 test "x$as_lineno_1" != "x$as_lineno_2" &&
7501 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7502 # Find who we are. Look in the path if we contain no path at all
7505 *[\\/]* ) as_myself
=$0 ;;
7506 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7510 test -z "$as_dir" && as_dir
=.
7511 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7516 # We did not find ourselves, most probably we were run as `sh COMMAND'
7517 # in which case we are not to be found in the path.
7518 if test "x$as_myself" = x
; then
7521 if test ! -f "$as_myself"; then
7522 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7523 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7524 { (exit 1); exit 1; }; }
7526 case $CONFIG_SHELL in
7528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7529 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7532 test -z "$as_dir" && as_dir
=.
7533 for as_base
in sh bash ksh sh5
; do
7536 if ("$as_dir/$as_base" -c '
7539 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7540 test "x$as_lineno_1" != "x$as_lineno_2" &&
7541 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7542 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7543 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7544 CONFIG_SHELL
=$as_dir/$as_base
7546 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7554 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7555 # uniformly replaced by the line number. The first 'sed' inserts a
7556 # line-number line before each line; the second 'sed' does the real
7557 # work. The second script uses 'N' to pair each line-number line
7558 # with the numbered line, and appends trailing '-' during
7559 # substitution so that $LINENO is not a special case at line end.
7560 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7561 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7562 sed '=' <$as_myself |
7567 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7570 s,^['$as_cr_digits']*\n,,
7572 chmod +x
$as_me.lineno ||
7573 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7574 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7575 { (exit 1); exit 1; }; }
7577 # Don't try to exec as it changes $[0], causing all sort of problems
7578 # (the dirname of $[0] is not the place where we might find the
7579 # original and so on. Autoconf is especially sensible to this).
7581 # Exit status is that of the last command.
7586 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7587 *c
*,-n*) ECHO_N
= ECHO_C
='
7589 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7590 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7593 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7599 rm -f conf$$ conf$$.exe conf$$.
file
7601 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7602 # We could just check for DJGPP; but this test a) works b) is more generic
7603 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7604 if test -f conf$$.exe
; then
7605 # Don't use ln at all; we don't have any links
7610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7615 rm -f conf$$ conf$$.exe conf$$.
file
7617 if mkdir
-p .
2>/dev
/null
; then
7620 test -d .
/-p && rmdir .
/-p
7624 as_executable_p
="test -f"
7626 # Sed expression to map a string onto a valid CPP name.
7627 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7629 # Sed expression to map a string onto a valid variable name.
7630 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7634 # We need space, tab and new line, in precisely that order.
7644 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7645 # report actual input values of CONFIG_FILES etc. instead of their
7646 # values after options handling. Logging --version etc. is OK.
7650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7651 ## Running $as_me. ##
7656 This file was extended by $as_me, which was
7657 generated by GNU Autoconf 2.59. Invocation command line was
7659 CONFIG_FILES = $CONFIG_FILES
7660 CONFIG_HEADERS = $CONFIG_HEADERS
7661 CONFIG_LINKS = $CONFIG_LINKS
7662 CONFIG_COMMANDS = $CONFIG_COMMANDS
7666 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7670 # Files that config.status was made for.
7671 if test -n "$ac_config_files"; then
7672 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7675 if test -n "$ac_config_headers"; then
7676 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7679 if test -n "$ac_config_links"; then
7680 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7683 if test -n "$ac_config_commands"; then
7684 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7687 cat >>$CONFIG_STATUS <<\_ACEOF
7690 \`$as_me' instantiates files from templates according to the
7691 current configuration.
7693 Usage: $0 [OPTIONS] [FILE]...
7695 -h, --help print this help, then exit
7696 -V, --version print version number, then exit
7697 -q, --quiet do not print progress messages
7698 -d, --debug don't remove temporary files
7699 --recheck update $as_me by reconfiguring in the same conditions
7700 --file=FILE[:TEMPLATE]
7701 instantiate the configuration file FILE
7702 --header=FILE[:TEMPLATE]
7703 instantiate the configuration header FILE
7705 Configuration files:
7708 Configuration headers:
7711 Configuration commands:
7714 Report bugs to <bug-autoconf@gnu.org>."
7717 cat >>$CONFIG_STATUS <<_ACEOF
7720 configured by $0, generated by GNU Autoconf 2.59,
7721 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7723 Copyright (C) 2003 Free Software Foundation, Inc.
7724 This config.status script is free software; the Free Software Foundation
7725 gives unlimited permission to copy, distribute and modify it."
7730 cat >>$CONFIG_STATUS <<\_ACEOF
7731 # If no file are specified by the user, then we need to provide default
7732 # value. By we need to know if files were specified by the user.
7738 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7739 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7747 *) # This is not an option, so the user has probably given explicit
7750 ac_need_defaults
=false
;;
7754 # Handling of the options.
7756 cat >>$CONFIG_STATUS <<\_ACEOF
7757 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7759 --version |
--vers* |
-V )
7760 echo "$ac_cs_version"; exit 0 ;;
7762 # Conflict between --help and --header
7763 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7764 Try \`$0 --help' for more information." >&5
7765 echo "$as_me: error: ambiguous option: $1
7766 Try \`$0 --help' for more information." >&2;}
7767 { (exit 1); exit 1; }; };;
7768 --help |
--hel |
-h )
7769 echo "$ac_cs_usage"; exit 0 ;;
7770 --debug |
--d* |
-d )
7772 --file |
--fil |
--fi |
--f )
7774 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7775 ac_need_defaults
=false
;;
7776 --header |
--heade |
--head |
--hea )
7778 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7779 ac_need_defaults
=false
;;
7780 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7781 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7785 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7786 Try \`$0 --help' for more information." >&5
7787 echo "$as_me: error: unrecognized option: $1
7788 Try \`$0 --help' for more information." >&2;}
7789 { (exit 1); exit 1; }; } ;;
7791 *) ac_config_targets
="$ac_config_targets $1" ;;
7797 ac_configure_extra_args
=
7799 if $ac_cs_silent; then
7801 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7805 cat >>$CONFIG_STATUS <<_ACEOF
7806 if \$ac_cs_recheck; then
7807 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7808 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7813 cat >>$CONFIG_STATUS <<_ACEOF
7815 # INIT-COMMANDS section.
7818 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7819 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7821 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7822 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7823 LINGUAS="${LINGUAS-%UNSET%}"
7830 cat >>$CONFIG_STATUS <<\_ACEOF
7831 for ac_config_target
in $ac_config_targets
7833 case "$ac_config_target" in
7834 # Handling of arguments.
7835 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7836 "config.intl" ) CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7837 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7838 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7839 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7840 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7841 { (exit 1); exit 1; }; };;
7845 # If the user did not use the arguments to specify the items to instantiate,
7846 # then the envvar interface is used. Set only those that are not.
7847 # We use the long form for the default assignment because of an extremely
7848 # bizarre bug on SunOS 4.1.3.
7849 if $ac_need_defaults; then
7850 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7851 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7852 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7855 # Have a temporary directory for convenience. Make it in the build tree
7856 # simply because there is no reason to put it here, and in addition,
7857 # creating and moving files from /tmp can sometimes cause problems.
7858 # Create a temporary directory, and hook for its removal unless debugging.
7861 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7862 trap '{ (exit 1); exit 1; }' 1 2 13 15
7865 # Create a (secure) tmp directory for tmp files.
7868 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7869 test -n "$tmp" && test -d "$tmp"
7872 tmp
=.
/confstat$$
-$RANDOM
7873 (umask 077 && mkdir
$tmp)
7876 echo "$me: cannot create a temporary directory in ." >&2
7877 { (exit 1); exit 1; }
7882 cat >>$CONFIG_STATUS <<_ACEOF
7885 # CONFIG_FILES section.
7888 # No need to generate the scripts if there are no CONFIG_FILES.
7889 # This happens for instance when ./config.status config.h
7890 if test -n "\$CONFIG_FILES"; then
7891 # Protect against being on the right side of a sed subst in config.status.
7892 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7893 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7894 s,@SHELL@,$SHELL,;t t
7895 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7896 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7897 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7898 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7899 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7900 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7901 s,@exec_prefix@,$exec_prefix,;t t
7902 s,@prefix@,$prefix,;t t
7903 s,@program_transform_name@,$program_transform_name,;t t
7904 s,@bindir@,$bindir,;t t
7905 s,@sbindir@,$sbindir,;t t
7906 s,@libexecdir@,$libexecdir,;t t
7907 s,@datadir@,$datadir,;t t
7908 s,@sysconfdir@,$sysconfdir,;t t
7909 s,@sharedstatedir@,$sharedstatedir,;t t
7910 s,@localstatedir@,$localstatedir,;t t
7911 s,@libdir@,$libdir,;t t
7912 s,@includedir@,$includedir,;t t
7913 s,@oldincludedir@,$oldincludedir,;t t
7914 s,@infodir@,$infodir,;t t
7915 s,@mandir@,$mandir,;t t
7916 s,@build_alias@,$build_alias,;t t
7917 s,@host_alias@,$host_alias,;t t
7918 s,@target_alias@,$target_alias,;t t
7920 s,@ECHO_C@,$ECHO_C,;t t
7921 s,@ECHO_N@,$ECHO_N,;t t
7922 s,@ECHO_T@,$ECHO_T,;t t
7924 s,@SET_MAKE@,$SET_MAKE,;t t
7925 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7926 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7927 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7928 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7929 s,@USE_NLS@,$USE_NLS,;t t
7930 s,@MSGFMT@,$MSGFMT,;t t
7931 s,@GMSGFMT@,$GMSGFMT,;t t
7932 s,@XGETTEXT@,$XGETTEXT,;t t
7933 s,@MSGMERGE@,$MSGMERGE,;t t
7935 s,@CFLAGS@,$CFLAGS,;t t
7936 s,@LDFLAGS@,$LDFLAGS,;t t
7937 s,@CPPFLAGS@,$CPPFLAGS,;t t
7938 s,@ac_ct_CC@,$ac_ct_CC,;t t
7939 s,@EXEEXT@,$EXEEXT,;t t
7940 s,@OBJEXT@,$OBJEXT,;t t
7941 s,@build@,$build,;t t
7942 s,@build_cpu@,$build_cpu,;t t
7943 s,@build_vendor@,$build_vendor,;t t
7944 s,@build_os@,$build_os,;t t
7946 s,@host_cpu@,$host_cpu,;t t
7947 s,@host_vendor@,$host_vendor,;t t
7948 s,@host_os@,$host_os,;t t
7949 s,@RANLIB@,$RANLIB,;t t
7950 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7952 s,@EGREP@,$EGREP,;t t
7953 s,@ALLOCA@,$ALLOCA,;t t
7954 s,@GLIBC21@,$GLIBC21,;t t
7955 s,@LIBICONV@,$LIBICONV,;t t
7956 s,@LTLIBICONV@,$LTLIBICONV,;t t
7957 s,@INTLBISON@,$INTLBISON,;t t
7958 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7959 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7960 s,@CATOBJEXT@,$CATOBJEXT,;t t
7961 s,@DATADIRNAME@,$DATADIRNAME,;t t
7962 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7963 s,@GENCAT@,$GENCAT,;t t
7964 s,@INTLOBJS@,$INTLOBJS,;t t
7965 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7966 s,@INTLLIBS@,$INTLLIBS,;t t
7967 s,@LIBINTL@,$LIBINTL,;t t
7968 s,@LTLIBINTL@,$LTLIBINTL,;t t
7969 s,@POSUB@,$POSUB,;t t
7970 s,@ACLOCAL@,$ACLOCAL,;t t
7971 s,@AUTOCONF@,$AUTOCONF,;t t
7972 s,@AUTOHEADER@,$AUTOHEADER,;t t
7973 s,@MAINT@,$MAINT,;t t
7974 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7975 s,@INCINTL@,$INCINTL,;t t
7976 s,@LIBOBJS@,$LIBOBJS,;t t
7977 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7982 cat >>$CONFIG_STATUS <<\_ACEOF
7983 # Split the substitutions into bite-sized pieces for seds with
7984 # small command number limits, like on Digital OSF/1 and HP-UX.
7986 ac_sed_frag
=1 # Number of current file.
7987 ac_beg
=1 # First line for current file.
7988 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7991 while $ac_more_lines; do
7992 if test $ac_beg -gt 1; then
7993 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7995 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7997 if test ! -s $tmp/subs.frag
; then
8000 # The purpose of the label and of the branching condition is to
8001 # speed up the sed processing (if there are no `@' at all, there
8002 # is no need to browse any of the substitutions).
8003 # These are the two extra sed commands mentioned above.
8005 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8006 if test -z "$ac_sed_cmds"; then
8007 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8009 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8011 ac_sed_frag
=`expr $ac_sed_frag + 1`
8013 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8016 if test -z "$ac_sed_cmds"; then
8019 fi # test -n "$CONFIG_FILES"
8022 cat >>$CONFIG_STATUS <<\_ACEOF
8023 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8024 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8026 - |
*:- |
*:-:* ) # input from stdin
8028 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8029 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8030 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8031 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8032 * ) ac_file_in
=$ac_file.
in ;;
8035 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8036 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8038 X"$ac_file" : 'X\(//\)[^/]' \| \
8039 X"$ac_file" : 'X\(//\)$' \| \
8040 X"$ac_file" : 'X\(/\)' \| \
8041 . : '\(.\)' 2>/dev/null ||
8043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8044 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8045 /^X\(\/\/\)$/{ s//\1/; q; }
8046 /^X\(\/\).*/{ s//\1/; q; }
8048 { if $as_mkdir_p; then
8053 while test ! -d "$as_dir"; do
8054 as_dirs
="$as_dir $as_dirs"
8055 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8057 X"$as_dir" : 'X\(//\)[^/]' \| \
8058 X"$as_dir" : 'X\(//\)$' \| \
8059 X"$as_dir" : 'X\(/\)' \| \
8060 . : '\(.\)' 2>/dev/null ||
8062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8064 /^X\(\/\/\)$/{ s//\1/; q; }
8065 /^X\(\/\).*/{ s//\1/; q; }
8068 test ! -n "$as_dirs" || mkdir
$as_dirs
8069 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8070 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8071 { (exit 1); exit 1; }; }; }
8075 if test "$ac_dir" != .
; then
8076 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8077 # A "../" for each directory in $ac_dir_suffix.
8078 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8080 ac_dir_suffix
= ac_top_builddir
=
8084 .
) # No --srcdir option. We are building in place.
8086 if test -z "$ac_top_builddir"; then
8089 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8091 [\\/]* | ?
:[\\/]* ) # Absolute path.
8092 ac_srcdir
=$srcdir$ac_dir_suffix;
8093 ac_top_srcdir
=$srcdir ;;
8095 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8096 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8099 # Do not use `cd foo && pwd` to compute absolute paths, because
8100 # the directories may not exist.
8102 .
) ac_abs_builddir
="$ac_dir";;
8105 .
) ac_abs_builddir
=`pwd`;;
8106 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8107 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8110 case $ac_abs_builddir in
8111 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8113 case ${ac_top_builddir}.
in
8114 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8115 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8116 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8119 case $ac_abs_builddir in
8120 .
) ac_abs_srcdir
=$ac_srcdir;;
8123 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8124 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8125 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8128 case $ac_abs_builddir in
8129 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8131 case $ac_top_srcdir in
8132 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8133 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8134 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8140 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8141 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8144 if test x
"$ac_file" != x-
; then
8145 { echo "$as_me:$LINENO: creating $ac_file" >&5
8146 echo "$as_me: creating $ac_file" >&6;}
8149 # Let's still pretend it is `configure' which instantiates (i.e., don't
8150 # use $as_me), people would be surprised to read:
8151 # /* config.h. Generated by config.status. */
8152 if test x
"$ac_file" = x-
; then
8155 configure_input
="$ac_file. "
8157 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8158 sed 's,.*/,,'` by configure."
8160 # First look for the input files in the build tree, otherwise in the
8162 ac_file_inputs
=`IFS=:
8163 for f in $ac_file_in; do
8165 -) echo $tmp/stdin ;;
8167 # Absolute (can't be DOS-style, as IFS=:)
8168 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8169 echo "$as_me: error: cannot find input file: $f" >&2;}
8170 { (exit 1); exit 1; }; }
8173 if test -f "$f"; then
8176 elif test -f "$srcdir/$f"; then
8181 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8182 echo "$as_me: error: cannot find input file: $f" >&2;}
8183 { (exit 1); exit 1; }; }
8186 done` ||
{ (exit 1); exit 1; }
8188 cat >>$CONFIG_STATUS <<_ACEOF
8192 cat >>$CONFIG_STATUS <<\_ACEOF
8194 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8195 s
,@configure_input@
,$configure_input,;t t
8196 s
,@srcdir@
,$ac_srcdir,;t t
8197 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8198 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8199 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8200 s
,@builddir@
,$ac_builddir,;t t
8201 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8202 s
,@top_builddir@
,$ac_top_builddir,;t t
8203 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8204 s
,@INSTALL@
,$ac_INSTALL,;t t
8205 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8207 if test x"$ac_file" != x-; then
8208 mv $tmp/out $ac_file
8216 cat >>$CONFIG_STATUS <<\_ACEOF
8219 # CONFIG_HEADER section.
8222 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8223 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8225 # ac_d sets the value in "#define NAME VALUE" lines.
8226 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8227 ac_dB
='[ ].*$,\1#\2'
8230 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8231 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8232 ac_uB
='$,\1#\2define\3'
8236 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8237 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8239 - |
*:- |
*:-:* ) # input from stdin
8241 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8242 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8243 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8244 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8245 * ) ac_file_in
=$ac_file.
in ;;
8248 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8249 echo "$as_me: creating $ac_file" >&6;}
8251 # First look for the input files in the build tree, otherwise in the
8253 ac_file_inputs
=`IFS=:
8254 for f in $ac_file_in; do
8256 -) echo $tmp/stdin ;;
8258 # Absolute (can't be DOS-style, as IFS=:)
8259 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8260 echo "$as_me: error: cannot find input file: $f" >&2;}
8261 { (exit 1); exit 1; }; }
8262 # Do quote $f, to prevent DOS paths from being IFS'd.
8265 if test -f "$f"; then
8268 elif test -f "$srcdir/$f"; then
8273 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8274 echo "$as_me: error: cannot find input file: $f" >&2;}
8275 { (exit 1); exit 1; }; }
8278 done` ||
{ (exit 1); exit 1; }
8279 # Remove the trailing spaces.
8280 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8284 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8285 # `conftest.undefs', that substitutes the proper values into
8286 # config.h.in to produce config.h. The first handles `#define'
8287 # templates, and the second `#undef' templates.
8288 # And first: Protect against being on the right side of a sed subst in
8289 # config.status. Protect against being in an unquoted here document
8291 rm -f conftest.defines conftest.undefs
8292 # Using a here document instead of a string reduces the quoting nightmare.
8293 # Putting comments in sed scripts is not portable.
8295 # `end' is used to avoid that the second main sed command (meant for
8296 # 0-ary CPP macros) applies to n-ary macro definitions.
8297 # See the Autoconf documentation for `clear'.
8298 cat >confdef2sed.
sed <<\_ACEOF
8303 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8305 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8308 # If some macros were called several times there might be several times
8309 # the same #defines, which is useless. Nevertheless, we may not want to
8310 # sort them, since we want the *last* AC-DEFINE to be honored.
8311 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8312 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8313 rm -f confdef2sed.sed
8315 # This sed command replaces #undef with comments. This is necessary, for
8316 # example, in the case of _POSIX_SOURCE, which is predefined and required
8317 # on some systems where configure will not decide to define it.
8318 cat >>conftest.undefs <<\_ACEOF
8319 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8322 # Break up conftest.defines because some shells have a limit on the size
8323 # of here documents, and old seds have small limits too (100 cmds).
8324 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8325 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8326 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8327 echo ' :' >>$CONFIG_STATUS
8329 while grep . conftest.defines >/dev/null
8331 # Write a limited-size here document to $tmp/defines.sed.
8332 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8333 # Speed up: don't consider the non `#define' lines.
8334 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8335 # Work around the forget-to-reset-the-flag bug.
8336 echo 't clr' >>$CONFIG_STATUS
8337 echo ': clr' >>$CONFIG_STATUS
8338 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8340 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8344 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8345 rm -f conftest.defines
8346 mv conftest.
tail conftest.defines
8348 rm -f conftest.defines
8349 echo ' fi # grep' >>$CONFIG_STATUS
8350 echo >>$CONFIG_STATUS
8352 # Break up conftest.undefs because some shells have a limit on the size
8353 # of here documents, and old seds have small limits too (100 cmds).
8354 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8356 while grep . conftest.undefs
>/dev
/null
8358 # Write a limited-size here document to $tmp/undefs.sed.
8359 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8360 # Speed up: don't consider the non
`#undef'
8361 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8362 # Work around the forget-to-reset-the-flag bug.
8363 echo 't clr' >>$CONFIG_STATUS
8364 echo ': clr' >>$CONFIG_STATUS
8365 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8367 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8371 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8372 rm -f conftest.undefs
8373 mv conftest.tail conftest.undefs
8375 rm -f conftest.undefs
8377 cat >>$CONFIG_STATUS <<\_ACEOF
8378 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8379 # use $as_me), people would be surprised to read:
8380 # /* config.h. Generated by config.status. */
8381 if test x
"$ac_file" = x-
; then
8382 echo "/* Generated by configure. */" >$tmp/config.h
8384 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8386 cat $tmp/in >>$tmp/config.h
8388 if test x
"$ac_file" != x-
; then
8389 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8390 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8391 echo "$as_me: $ac_file is unchanged" >&6;}
8393 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8395 X"$ac_file" : 'X\(//\)[^/]' \| \
8396 X"$ac_file" : 'X\(//\)$' \| \
8397 X"$ac_file" : 'X\(/\)' \| \
8398 . : '\(.\)' 2>/dev/null ||
8400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8402 /^X\(\/\/\)$/{ s//\1/; q; }
8403 /^X\(\/\).*/{ s//\1/; q; }
8405 { if $as_mkdir_p; then
8410 while test ! -d "$as_dir"; do
8411 as_dirs
="$as_dir $as_dirs"
8412 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8414 X"$as_dir" : 'X\(//\)[^/]' \| \
8415 X"$as_dir" : 'X\(//\)$' \| \
8416 X"$as_dir" : 'X\(/\)' \| \
8417 . : '\(.\)' 2>/dev/null ||
8419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8421 /^X\(\/\/\)$/{ s//\1/; q; }
8422 /^X\(\/\).*/{ s//\1/; q; }
8425 test ! -n "$as_dirs" || mkdir
$as_dirs
8426 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8427 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8428 { (exit 1); exit 1; }; }; }
8431 mv $tmp/config.h
$ac_file
8439 cat >>$CONFIG_STATUS <<\_ACEOF
8442 # CONFIG_COMMANDS section.
8444 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8445 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8446 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8447 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8448 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8449 X"$ac_dest" : 'X\(//\)[^/]' \| \
8450 X"$ac_dest" : 'X\(//\)$' \| \
8451 X"$ac_dest" : 'X\(/\)' \| \
8452 . : '\(.\)' 2>/dev/null ||
8454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8456 /^X\(\/\/\)$/{ s//\1/; q; }
8457 /^X\(\/\).*/{ s//\1/; q; }
8459 { if $as_mkdir_p; then
8464 while test ! -d "$as_dir"; do
8465 as_dirs
="$as_dir $as_dirs"
8466 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8468 X"$as_dir" : 'X\(//\)[^/]' \| \
8469 X"$as_dir" : 'X\(//\)$' \| \
8470 X"$as_dir" : 'X\(/\)' \| \
8471 . : '\(.\)' 2>/dev/null ||
8473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8474 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8475 /^X\(\/\/\)$/{ s//\1/; q; }
8476 /^X\(\/\).*/{ s//\1/; q; }
8479 test ! -n "$as_dirs" || mkdir
$as_dirs
8480 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8481 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8482 { (exit 1); exit 1; }; }; }
8486 if test "$ac_dir" != .
; then
8487 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8488 # A "../" for each directory in $ac_dir_suffix.
8489 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8491 ac_dir_suffix
= ac_top_builddir
=
8495 .
) # No --srcdir option. We are building in place.
8497 if test -z "$ac_top_builddir"; then
8500 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8502 [\\/]* | ?
:[\\/]* ) # Absolute path.
8503 ac_srcdir
=$srcdir$ac_dir_suffix;
8504 ac_top_srcdir
=$srcdir ;;
8506 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8507 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8510 # Do not use `cd foo && pwd` to compute absolute paths, because
8511 # the directories may not exist.
8513 .
) ac_abs_builddir
="$ac_dir";;
8516 .
) ac_abs_builddir
=`pwd`;;
8517 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8518 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8521 case $ac_abs_builddir in
8522 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8524 case ${ac_top_builddir}.
in
8525 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8526 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8527 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8530 case $ac_abs_builddir in
8531 .
) ac_abs_srcdir
=$ac_srcdir;;
8534 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8535 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8536 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8539 case $ac_abs_builddir in
8540 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8542 case $ac_top_srcdir in
8543 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8544 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8545 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8550 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8551 echo "$as_me: executing $ac_dest commands" >&6;}
8554 for ac_file
in $CONFIG_FILES; do
8555 # Support "outfile[:infile[:infile...]]"
8557 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8559 # PO directories have a Makefile.in generated from Makefile.in.in.
8560 case "$ac_file" in */Makefile.
in)
8561 # Adjust a relative srcdir.
8562 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8563 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8564 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8565 # In autoconf-2.13 it is called $ac_given_srcdir.
8566 # In autoconf-2.50 it is called $srcdir.
8567 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8568 case "$ac_given_srcdir" in
8569 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8570 /*) top_srcdir
="$ac_given_srcdir" ;;
8571 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8573 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8574 rm -f "$ac_dir/POTFILES"
8575 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8576 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8577 POMAKEFILEDEPS
="POTFILES.in"
8578 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8579 # on $ac_dir but don't depend on user-specified configuration
8581 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8582 # The LINGUAS file contains the set of available languages.
8583 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8584 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8586 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8587 # Hide the ALL_LINGUAS assigment from automake.
8588 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8589 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8591 # The set of available languages was given in configure.in.
8592 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8594 case "$ac_given_srcdir" in
8596 *) srcdirpre
='$(srcdir)/' ;;
8602 for lang
in $ALL_LINGUAS; do
8603 POFILES
="$POFILES $srcdirpre$lang.po"
8604 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8605 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8606 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8608 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8609 # environment variable.
8611 if test -n "$ALL_LINGUAS"; then
8612 for presentlang
in $ALL_LINGUAS; do
8614 if test "%UNSET%" != "$LINGUAS"; then
8615 desiredlanguages
="$LINGUAS"
8617 desiredlanguages
="$ALL_LINGUAS"
8619 for desiredlang
in $desiredlanguages; do
8620 # Use the presentlang catalog if desiredlang is
8621 # a. equal to presentlang, or
8622 # b. a variant of presentlang (because in this case,
8623 # presentlang can be used as a fallback for messages
8624 # which are not translated in the desiredlang catalog).
8625 case "$desiredlang" in
8626 "$presentlang"*) useit
=yes;;
8629 if test $useit = yes; then
8630 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8635 if test -n "$INST_LINGUAS"; then
8636 for lang
in $INST_LINGUAS; do
8637 CATALOGS
="$CATALOGS $lang.gmo"
8640 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8641 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"
8642 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8643 if test -f "$f"; then
8645 *.orig |
*.bak |
*~
) ;;
8646 *) cat "$f" >> "$ac_dir/Makefile" ;;
8658 cat >>$CONFIG_STATUS <<\_ACEOF
8660 { (exit 0); exit 0; }
8662 chmod +x
$CONFIG_STATUS
8663 ac_clean_files
=$ac_clean_files_save
8666 # configure is writing to config.log, and then calls config.status.
8667 # config.status does its own redirection, appending to config.log.
8668 # Unfortunately, on DOS this fails, as config.log is still kept open
8669 # by configure, so config.status won't be able to write to it; its
8670 # output is simply discarded. So we exec the FD to /dev/null,
8671 # effectively closing config.log, so it can be properly (re)opened and
8672 # appended to by config.status. When coming back to configure, we
8673 # need to make the FD available again.
8674 if test "$no_create" != yes; then
8676 ac_config_status_args
=
8677 test "$silent" = yes &&
8678 ac_config_status_args
="$ac_config_status_args --quiet"
8680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8683 # would make configure fail if this is the last instruction.
8684 $ac_cs_success ||
{ (exit 1); exit 1; }