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'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 if test -n "$ac_init_help"; then
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --disable-nls do not use Native Language Support
848 --disable-rpath do not hardcode runtime library paths
849 --enable-maintainer-mode enable rules only needed by maintainers
852 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
853 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
854 --with-gnu-ld assume the C compiler uses GNU ld default
=no
855 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
856 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
857 --with-included-gettext use the GNU gettext library included here
858 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
859 --without-libintl-prefix don't search
for libintl
in includedir and libdir
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1309 ac_config_headers="$ac_config_headers config.h"
1312 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1313 *) ac_macro_dir=$srcdir/../config ;;
1315 if test -d "$ac_macro_dir"; then :
1317 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1318 echo "$as_me: error
: cannot
find macro directory \
`../config'" >&2;}
1319 { (exit 1); exit 1; }; }
1323 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1324 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1325 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1326 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 cat >conftest.make <<\_ACEOF
1331 @echo 'ac_maketemp="$(MAKE)"'
1333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1334 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1335 if test -n "$ac_maketemp"; then
1336 eval ac_cv_prog_make_${ac_make}_set=yes
1338 eval ac_cv_prog_make_${ac_make}_set=no
1342 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1343 echo "$as_me:$LINENO: result: yes" >&5
1344 echo "${ECHO_T}yes" >&6
1347 echo "$as_me:$LINENO: result: no" >&5
1348 echo "${ECHO_T}no" >&6
1349 SET_MAKE="MAKE=${MAKE-make}"
1353 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1354 if test -f $ac_dir/install-sh; then
1356 ac_install_sh="$ac_aux_dir/install-sh -c"
1358 elif test -f $ac_dir/install.sh; then
1360 ac_install_sh="$ac_aux_dir/install.sh -c"
1362 elif test -f $ac_dir/shtool; then
1364 ac_install_sh="$ac_aux_dir/shtool install -c"
1368 if test -z "$ac_aux_dir"; then
1369 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1370 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1371 { (exit 1); exit 1; }; }
1373 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1374 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1375 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1377 # Find a good install program. We prefer a C program (faster),
1378 # so one script is as good as another. But avoid the broken or
1379 # incompatible versions:
1380 # SysV /etc/install, /usr/sbin/install
1381 # SunOS /usr/etc/install
1382 # IRIX /sbin/install
1384 # AmigaOS /C/install, which installs bootblocks on floppy discs
1385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1388 # OS/2's system install, which has a completely different semantic
1389 # ./install, which can be erroneously created by make from ./install.sh.
1390 # Reject install programs that cannot install multiple files.
1391 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1392 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1393 if test -z "$INSTALL"; then
1394 if test "${ac_cv_path_install+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 # Account for people who put trailing slashes in PATH elements.
1404 ./ | .// | /cC/* | \
1405 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1406 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1409 # OSF1 and SCO ODT 3.0 have their own names for install.
1410 # Don't use installbsd from OSF since it installs stuff as root
1412 for ac_prog in ginstall scoinst install; do
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1415 if test $ac_prog = install &&
1416 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1417 # AIX install. It has an incompatible calling convention.
1419 elif test $ac_prog = install &&
1420 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1421 # program-specific install script used by HP pwplus--don't use.
1424 rm -rf conftest.one conftest.two conftest.dir
1425 echo one > conftest.one
1426 echo two > conftest.two
1428 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1429 test -s conftest.one && test -s conftest.two &&
1430 test -s conftest.dir/conftest.one &&
1431 test -s conftest.dir/conftest.two
1433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1444 rm -rf conftest.one conftest.two conftest.dir
1447 if test "${ac_cv_path_install+set}" = set; then
1448 INSTALL=$ac_cv_path_install
1450 # As a last resort, use the slow shell script. Don't cache a
1451 # value for INSTALL within a source directory, because that will
1452 # break other packages using the cache if that directory is
1453 # removed, or if the value is a relative name.
1454 INSTALL=$ac_install_sh
1457 echo "$as_me:$LINENO: result: $INSTALL" >&5
1458 echo "${ECHO_T}$INSTALL" >&6
1460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1461 # It thinks the first close brace ends the variable substitution.
1462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1470 if test -n "$ac_aux_dir"; then
1471 case "$ac_aux_dir" in
1472 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
1473 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1476 if test -z "$MKINSTALLDIRS"; then
1477 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1482 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1483 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1484 # Check whether --enable-nls or --disable-nls was given.
1485 if test "${enable_nls+set}" = set; then
1486 enableval="$enable_nls"
1491 echo "$as_me:$LINENO: result: $USE_NLS" >&5
1492 echo "${ECHO_T}$USE_NLS" >&6
1499 # Prepare PATH_SEPARATOR.
1500 # The user is always right.
1501 if test "${PATH_SEPARATOR+set}" != set; then
1502 echo "#! /bin/sh" >conf$$.sh
1503 echo "exit 0" >>conf$$.sh
1505 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1513 # Find out how to test for executable files. Don't use a zero-byte file,
1514 # as systems may use methods other than mode bits to determine executability.
1515 cat >conf$$.file <<_ASEOF
1519 chmod +x conf$$.file
1520 if test -x conf$$.file >/dev/null 2>&1; then
1521 ac_executable_p="test -x"
1523 ac_executable_p="test -f"
1527 # Extract the first word of "msgfmt", so it can be a program name with args.
1528 set dummy msgfmt; ac_word=$2
1529 echo "$as_me:$LINENO: checking for $ac_word" >&5
1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1531 if test "${ac_cv_path_MSGFMT+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1539 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1540 for ac_dir in $PATH; do
1542 test -z "$ac_dir" && ac_dir=.
1543 for ac_exec_ext in '' $ac_executable_extensions; do
1544 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1545 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
1546 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1547 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
1554 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
1558 MSGFMT="$ac_cv_path_MSGFMT"
1559 if test "$MSGFMT" != ":"; then
1560 echo "$as_me:$LINENO: result: $MSGFMT" >&5
1561 echo "${ECHO_T}$MSGFMT" >&6
1563 echo "$as_me:$LINENO: result: no" >&5
1564 echo "${ECHO_T}no" >&6
1567 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1568 set dummy gmsgfmt; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 test -z "$as_dir" && as_dir=.
1584 for ac_exec_ext in '' $ac_executable_extensions; do
1585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1586 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1597 GMSGFMT=$ac_cv_path_GMSGFMT
1599 if test -n "$GMSGFMT"; then
1600 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1601 echo "${ECHO_T}$GMSGFMT" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1609 # Prepare PATH_SEPARATOR.
1610 # The user is always right.
1611 if test "${PATH_SEPARATOR+set}" != set; then
1612 echo "#! /bin/sh" >conf$$.sh
1613 echo "exit 0" >>conf$$.sh
1615 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1623 # Find out how to test for executable files. Don't use a zero-byte file,
1624 # as systems may use methods other than mode bits to determine executability.
1625 cat >conf$$.file <<_ASEOF
1629 chmod +x conf$$.file
1630 if test -x conf$$.file >/dev/null 2>&1; then
1631 ac_executable_p="test -x"
1633 ac_executable_p="test -f"
1637 # Extract the first word of "xgettext", so it can be a program name with args.
1638 set dummy xgettext; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1649 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1650 for ac_dir in $PATH; do
1652 test -z "$ac_dir" && ac_dir=.
1653 for ac_exec_ext in '' $ac_executable_extensions; do
1654 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1655 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
1656 (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
1657 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
1664 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1668 XGETTEXT="$ac_cv_path_XGETTEXT"
1669 if test "$XGETTEXT" != ":"; then
1670 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1671 echo "${ECHO_T}$XGETTEXT" >&6
1673 echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6
1680 # Prepare PATH_SEPARATOR.
1681 # The user is always right.
1682 if test "${PATH_SEPARATOR+set}" != set; then
1683 echo "#! /bin/sh" >conf$$.sh
1684 echo "exit 0" >>conf$$.sh
1686 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1694 # Find out how to test for executable files. Don't use a zero-byte file,
1695 # as systems may use methods other than mode bits to determine executability.
1696 cat >conf$$.file <<_ASEOF
1700 chmod +x conf$$.file
1701 if test -x conf$$.file >/dev/null 2>&1; then
1702 ac_executable_p="test -x"
1704 ac_executable_p="test -f"
1708 # Extract the first word of "msgmerge", so it can be a program name with args.
1709 set dummy msgmerge; ac_word=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_path_MSGMERGE+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
1720 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1721 for ac_dir in $PATH; do
1723 test -z "$ac_dir" && ac_dir=.
1724 for ac_exec_ext in '' $ac_executable_extensions; do
1725 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1726 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
1727 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
1734 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
1738 MSGMERGE="$ac_cv_path_MSGMERGE"
1739 if test "$MSGMERGE" != ":"; then
1740 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
1741 echo "${ECHO_T}$MSGMERGE" >&6
1743 echo "$as_me:$LINENO: result: no" >&5
1744 echo "${ECHO_T}no" >&6
1748 if test "$GMSGFMT" != ":"; then
1749 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
1750 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1753 GMSGFMT=`echo "$GMSGFMT" |
sed -e 's,^.*/,,'`
1754 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
1755 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
1760 if test "$XGETTEXT" != ":"; then
1761 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
1762 (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
1765 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
1766 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1772 ac_config_commands="$ac_config_commands default-1"
1776 ac_cpp='$CPP $CPPFLAGS'
1777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1780 if test -n "$ac_tool_prefix"; then
1781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_prog_CC+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1788 if test -n "$CC"; then
1789 ac_cv_prog_CC="$CC" # Let the user override the test.
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1798 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 if test -n "$CC"; then
1809 echo "$as_me:$LINENO: result: $CC" >&5
1810 echo "${ECHO_T}$CC" >&6
1812 echo "$as_me:$LINENO: result: no" >&5
1813 echo "${ECHO_T}no" >&6
1817 if test -z "$ac_cv_prog_CC"; then
1819 # Extract the first word of "gcc", so it can be a program name with args.
1820 set dummy gcc; ac_word=$2
1821 echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 if test -n "$ac_ct_CC"; then
1827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1833 test -z "$as_dir" && as_dir=.
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1836 ac_cv_prog_ac_ct_CC="gcc"
1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1846 if test -n "$ac_ct_CC"; then
1847 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1848 echo "${ECHO_T}$ac_ct_CC" >&6
1850 echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6
1859 if test -z "$CC"; then
1860 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1862 set dummy ${ac_tool_prefix}cc; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_CC="${ac_tool_prefix}cc"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$ac_cv_prog_CC"; then
1899 # Extract the first word of "cc", so it can be a program name with args.
1900 set dummy cc; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$ac_ct_CC"; then
1907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_ac_ct_CC="cc"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926 if test -n "$ac_ct_CC"; then
1927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928 echo "${ECHO_T}$ac_ct_CC" >&6
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1940 if test -z "$CC"; then
1941 # Extract the first word of "cc", so it can be a program name with args.
1942 set dummy cc; ac_word=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$CC"; then
1949 ac_cv_prog_CC="$CC" # Let the user override the test.
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1960 ac_prog_rejected=yes
1964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 if test $ac_prog_rejected = yes; then
1971 # We found a bogon in the path, so make sure we never use it.
1972 set dummy $ac_cv_prog_CC
1974 if test $# != 0; then
1975 # We chose a different compiler from the bogus one.
1976 # However, it has the same basename, so the bogon will be chosen
1977 # first if we set CC to just the basename; use the full file name.
1979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1985 if test -n "$CC"; then
1986 echo "$as_me:$LINENO: result: $CC" >&5
1987 echo "${ECHO_T}$CC" >&6
1989 echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6
1994 if test -z "$CC"; then
1995 if test -n "$ac_tool_prefix"; then
1998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$CC"; then
2006 ac_cv_prog_CC="$CC" # Let the user override the test.
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 if test -n "$CC"; then
2026 echo "$as_me:$LINENO: result: $CC" >&5
2027 echo "${ECHO_T}$CC" >&6
2029 echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6
2033 test -n "$CC" && break
2036 if test -z "$CC"; then
2040 # Extract the first word of "$ac_prog", so it can be a program name with args.
2041 set dummy $ac_prog; ac_word=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$ac_ct_CC"; then
2048 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_ac_ct_CC="$ac_prog"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2067 if test -n "$ac_ct_CC"; then
2068 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2069 echo "${ECHO_T}$ac_ct_CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2075 test -n "$ac_ct_CC" && break
2084 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2085 See \`config.log
' for more details." >&5
2086 echo "$as_me: error: no acceptable C compiler found in \$PATH
2087 See \`config.log' for more details.
" >&2;}
2088 { (exit 1); exit 1; }; }
2090 # Provide some information about the compiler.
2091 echo "$as_me:$LINENO:" \
2092 "checking
for C compiler version
" >&5
2093 ac_compiler=`set X $ac_compile; echo $2`
2094 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev
/null
>&5\"") >&5
2095 (eval $ac_compiler --version </dev/null >&5) 2>&5
2097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2098 (exit $ac_status); }
2099 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev
/null
>&5\"") >&5
2100 (eval $ac_compiler -v </dev/null >&5) 2>&5
2102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2103 (exit $ac_status); }
2104 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev
/null
>&5\"") >&5
2105 (eval $ac_compiler -V </dev/null >&5) 2>&5
2107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2108 (exit $ac_status); }
2110 cat >conftest.$ac_ext <<_ACEOF
2113 cat confdefs.h >>conftest.$ac_ext
2114 cat >>conftest.$ac_ext <<_ACEOF
2115 /* end confdefs.h. */
2125 ac_clean_files_save=$ac_clean_files
2126 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2127 # Try to create an executable without -o first, disregard a.out.
2128 # It will help us diagnose broken compilers, and finding out an intuition
2130 echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2131 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6
2132 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2133 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2134 (eval $ac_link_default) 2>&5
2136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2137 (exit $ac_status); }; then
2138 # Find the output, starting from the most likely. This scheme is
2139 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2142 # Be careful to initialize this variable, since it used to be cached.
2143 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2145 # b.out is created by i960 compilers.
2146 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2148 test -f "$ac_file" || continue
2150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2153 # This is the source file.
2156 # We found the default executable, but exeext='' is most
2160 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2161 # FIXME: I believe we export ac_cv_exeext for Libtool,
2162 # but it would be cool to find out if it's true. Does anybody
2163 # maintain Libtool? --akim.
2171 echo "$as_me: failed program was
:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2174 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2175 See \
`config.log' for more details." >&5
2176 echo "$as_me: error: C compiler cannot create executables
2177 See \`config.log
' for more details." >&2;}
2178 { (exit 77); exit 77; }; }
2181 ac_exeext=$ac_cv_exeext
2182 echo "$as_me:$LINENO: result: $ac_file" >&5
2183 echo "${ECHO_T}$ac_file" >&6
2185 # Check the compiler produces executables we can run. If not, either
2186 # the compiler is broken, or we cross compile.
2187 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2188 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2189 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2190 # If not cross compiling, check that we can run a simple program.
2191 if test "$cross_compiling" != yes; then
2192 if { ac_try='.
/$ac_file'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 if test "$cross_compiling" = maybe; then
2203 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2204 If you meant to cross compile, use \`--host'.
2205 See \
`config.log' for more details." >&5
2206 echo "$as_me: error: cannot run C compiled programs.
2207 If you meant to cross compile, use \`--host'.
2208 See \`config.log' for more details.
" >&2;}
2209 { (exit 1); exit 1; }; }
2213 echo "$as_me:$LINENO: result
: yes" >&5
2214 echo "${ECHO_T}yes" >&6
2216 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2217 ac_clean_files=$ac_clean_files_save
2218 # Check the compiler produces executables we can run. If not, either
2219 # the compiler is broken, or we cross compile.
2220 echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2221 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6
2222 echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2223 echo "${ECHO_T}$cross_compiling" >&6
2225 echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2226 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6
2227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2228 (eval $ac_link) 2>&5
2230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2231 (exit $ac_status); }; then
2232 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2233 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2234 # work properly (i.e., refer to `conftest.exe'), while it won't with
2236 for ac_file in conftest.exe conftest conftest.*; do
2237 test -f "$ac_file" || continue
2239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2240 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2247 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2248 See \
`config.log' for more details." >&5
2249 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2250 See \`config.log
' for more details." >&2;}
2251 { (exit 1); exit 1; }; }
2254 rm -f conftest$ac_cv_exeext
2255 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2256 echo "${ECHO_T}$ac_cv_exeext" >&6
2258 rm -f conftest.$ac_ext
2259 EXEEXT=$ac_cv_exeext
2261 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2262 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2263 if test "${ac_cv_objext+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 cat >conftest.$ac_ext <<_ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2281 rm -f conftest.o conftest.obj
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; then
2287 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2290 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2295 echo "$as_me: failed program was:" >&5
2296 sed 's
/^
/|
/' conftest.$ac_ext >&5
2298 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2299 See \`config.log' for more details.
" >&5
2300 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2301 See \
`config.log' for more details." >&2;}
2302 { (exit 1); exit 1; }; }
2305 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2307 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2308 echo "${ECHO_T}$ac_cv_objext" >&6
2309 OBJEXT=$ac_cv_objext
2311 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2312 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2313 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 cat >conftest.$ac_ext <<_ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2334 rm -f conftest.$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>conftest.er1
2338 grep -v '^ *+' conftest.er1 >conftest.err
2340 cat conftest.err >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); } &&
2343 { ac_try='test -z "$ac_c_werror_flag"
2344 || test ! -s conftest.err'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; } &&
2350 { ac_try='test -s conftest.$ac_objext'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; }; then
2358 echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2364 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2367 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2369 GCC=`test $ac_compiler_gnu = yes && echo yes`
2370 ac_test_CFLAGS=${CFLAGS+set}
2371 ac_save_CFLAGS=$CFLAGS
2373 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2375 if test "${ac_cv_prog_cc_g+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 cat >conftest.$ac_ext <<_ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2393 rm -f conftest.$ac_objext
2394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2395 (eval $ac_compile) 2>conftest.er1
2397 grep -v '^ *+' conftest.er1 >conftest.err
2399 cat conftest.err >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } &&
2402 { ac_try='test -z "$ac_c_werror_flag"
2403 || test ! -s conftest.err'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; } &&
2409 { ac_try='test -s conftest.$ac_objext'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; }; then
2417 echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.$ac_ext >&5
2422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2426 if test "$ac_test_CFLAGS" = set; then
2427 CFLAGS=$ac_save_CFLAGS
2428 elif test $ac_cv_prog_cc_g = yes; then
2429 if test "$GCC" = yes; then
2435 if test "$GCC" = yes; then
2441 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2442 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2443 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 ac_cv_prog_cc_stdc=no
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2456 #include <sys/types.h>
2457 #include <sys/stat.h>
2458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2459 struct buf { int x; };
2460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2461 static char *e (p, i)
2467 static char *f (char * (*g) (char **, int), char **p, ...)
2472 s = g (p, va_arg (v,int));
2477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2478 function prototypes and stuff, but not '\xHH' hex character constants.
2479 These don't provoke an error unfortunately, instead are silently treated
2480 as 'x'. The following induces an error, until -std1 is added to get
2481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2482 array size at least. It's necessary to write '\x00'==0 to get something
2483 that's true only with -std1. */
2484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2486 int test (int i, double x);
2487 struct s1 {int (*f) (int a);};
2488 struct s2 {int (*f) (double a);};
2489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2500 # Don't try gcc -ansi; that turns off useful extensions and
2501 # breaks some systems' header files.
2502 # AIX -qlanglvl=ansi
2503 # Ultrix and OSF/1 -std1
2504 # HP-UX 10.20 and later -Ae
2505 # HP-UX older versions -Aa -D_HPUX_SOURCE
2506 # SVR4 -Xc -D__EXTENSIONS__
2507 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2509 CC="$ac_save_CC $ac_arg"
2510 rm -f conftest.$ac_objext
2511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2512 (eval $ac_compile) 2>conftest.er1
2514 grep -v '^ *+' conftest.er1 >conftest.err
2516 cat conftest.err >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } &&
2519 { ac_try='test -z "$ac_c_werror_flag"
2520 || test ! -s conftest.err'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; } &&
2526 { ac_try='test -s conftest.$ac_objext'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; }; then
2532 ac_cv_prog_cc_stdc=$ac_arg
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2539 rm -f conftest.err conftest.$ac_objext
2541 rm -f conftest.$ac_ext conftest.$ac_objext
2546 case "x$ac_cv_prog_cc_stdc" in
2548 echo "$as_me:$LINENO: result: none needed" >&5
2549 echo "${ECHO_T}none needed" >&6 ;;
2551 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2552 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2553 CC="$CC $ac_cv_prog_cc_stdc" ;;
2556 # Some people use a C++ compiler to compile C. Since we use `exit',
2557 # in C++ we need to declare it. In case someone uses the same compiler
2558 # for both compiling C and C++ we need to have the C++ compiler decide
2559 # the declaration of exit, since it's the most demanding environment.
2560 cat >conftest.
$ac_ext <<_ACEOF
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag"
2575 || test ! -s conftest.err'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; } &&
2581 { ac_try
='test -s conftest.$ac_objext'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then
2587 for ac_declaration
in \
2589 'extern "C" void std::exit (int) throw (); using std::exit;' \
2590 'extern "C" void std::exit (int); using std::exit;' \
2591 'extern "C" void exit (int) throw ();' \
2592 'extern "C" void exit (int);' \
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2611 rm -f conftest.
$ac_objext
2612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2613 (eval $ac_compile) 2>conftest.er1
2615 grep -v '^ *+' conftest.er1
>conftest.err
2617 cat conftest.err
>&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); } &&
2620 { ac_try
='test -z "$ac_c_werror_flag"
2621 || test ! -s conftest.err'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; } &&
2627 { ac_try
='test -s conftest.$ac_objext'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; }; then
2635 echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2641 cat >conftest.
$ac_ext <<_ACEOF
2644 cat confdefs.h
>>conftest.
$ac_ext
2645 cat >>conftest.
$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2656 rm -f conftest.
$ac_objext
2657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658 (eval $ac_compile) 2>conftest.er1
2660 grep -v '^ *+' conftest.er1
>conftest.err
2662 cat conftest.err
>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } &&
2665 { ac_try
='test -z "$ac_c_werror_flag"
2666 || test ! -s conftest.err'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; } &&
2672 { ac_try
='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.
$ac_ext >&5
2684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2687 if test -n "$ac_declaration"; then
2688 echo '#ifdef __cplusplus' >>confdefs.h
2689 echo $ac_declaration >>confdefs.h
2690 echo '#endif' >>confdefs.h
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 ac_cpp
='$CPP $CPPFLAGS'
2701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2705 # Make sure we can run config.sub.
2706 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2707 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2708 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2709 { (exit 1); exit 1; }; }
2711 echo "$as_me:$LINENO: checking build system type" >&5
2712 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2713 if test "${ac_cv_build+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 ac_cv_build_alias
=$build_alias
2717 test -z "$ac_cv_build_alias" &&
2718 ac_cv_build_alias
=`$ac_config_guess`
2719 test -z "$ac_cv_build_alias" &&
2720 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2721 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2722 { (exit 1); exit 1; }; }
2723 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2724 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2725 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2726 { (exit 1); exit 1; }; }
2729 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2730 echo "${ECHO_T}$ac_cv_build" >&6
2732 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2733 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2734 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2737 echo "$as_me:$LINENO: checking host system type" >&5
2738 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2739 if test "${ac_cv_host+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 ac_cv_host_alias
=$host_alias
2743 test -z "$ac_cv_host_alias" &&
2744 ac_cv_host_alias
=$ac_cv_build_alias
2745 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2746 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2747 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2748 { (exit 1); exit 1; }; }
2751 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2752 echo "${ECHO_T}$ac_cv_host" >&6
2754 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2755 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2756 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2759 if test -n "$ac_tool_prefix"; then
2760 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2761 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2762 echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2764 if test "${ac_cv_prog_RANLIB+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 if test -n "$RANLIB"; then
2768 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2777 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 RANLIB
=$ac_cv_prog_RANLIB
2787 if test -n "$RANLIB"; then
2788 echo "$as_me:$LINENO: result: $RANLIB" >&5
2789 echo "${ECHO_T}$RANLIB" >&6
2791 echo "$as_me:$LINENO: result: no" >&5
2792 echo "${ECHO_T}no" >&6
2796 if test -z "$ac_cv_prog_RANLIB"; then
2797 ac_ct_RANLIB
=$RANLIB
2798 # Extract the first word of "ranlib", so it can be a program name with args.
2799 set dummy ranlib
; ac_word
=$2
2800 echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 if test -n "$ac_ct_RANLIB"; then
2806 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2825 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2826 if test -n "$ac_ct_RANLIB"; then
2827 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2828 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2834 RANLIB
=$ac_ct_RANLIB
2836 RANLIB
="$ac_cv_prog_RANLIB"
2840 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2841 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2842 if test "${ac_cv_search_strerror+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 ac_func_search_save_LIBS
=$LIBS
2846 ac_cv_search_strerror
=no
2847 cat >conftest.
$ac_ext <<_ACEOF
2850 cat confdefs.h
>>conftest.
$ac_ext
2851 cat >>conftest.
$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2854 /* Override any gcc2 internal prototype to avoid an error. */
2858 /* We use char because int might match the return type of a gcc2
2859 builtin and then its argument prototype would still apply. */
2869 rm -f conftest.
$ac_objext conftest
$ac_exeext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest$ac_exeext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_search_strerror
="none required"
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2897 rm -f conftest.err conftest.
$ac_objext \
2898 conftest
$ac_exeext conftest.
$ac_ext
2899 if test "$ac_cv_search_strerror" = no
; then
2900 for ac_lib
in cposix
; do
2901 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2902 cat >conftest.
$ac_ext <<_ACEOF
2905 cat confdefs.h
>>conftest.
$ac_ext
2906 cat >>conftest.
$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2909 /* Override any gcc2 internal prototype to avoid an error. */
2913 /* We use char because int might match the return type of a gcc2
2914 builtin and then its argument prototype would still apply. */
2924 rm -f conftest.
$ac_objext conftest
$ac_exeext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2926 (eval $ac_link) 2>conftest.er1
2928 grep -v '^ *+' conftest.er1
>conftest.err
2930 cat conftest.err
>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try
='test -z "$ac_c_werror_flag"
2934 || test ! -s conftest.err'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try
='test -s conftest$ac_exeext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2946 ac_cv_search_strerror
="-l$ac_lib"
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.
$ac_ext >&5
2953 rm -f conftest.err conftest.
$ac_objext \
2954 conftest
$ac_exeext conftest.
$ac_ext
2957 LIBS
=$ac_func_search_save_LIBS
2959 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2960 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2961 if test "$ac_cv_search_strerror" != no
; then
2962 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2971 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2972 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2973 # On Suns, sometimes $CPP names a directory.
2974 if test -n "$CPP" && test -d "$CPP"; then
2977 if test -z "$CPP"; then
2978 if test "${ac_cv_prog_CPP+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 # Double quotes because CPP needs to be expanded
2982 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2985 for ac_c_preproc_warn_flag
in '' yes
2987 # Use a header file that comes with gcc, so configuring glibc
2988 # with a fresh cross-compiler works.
2989 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2990 # <limits.h> exists even on freestanding compilers.
2991 # On the NeXT, cc -E runs the code through the compiler's parser,
2992 # not just through cpp. "Syntax error" is here to catch this case.
2993 cat >conftest.
$ac_ext <<_ACEOF
2996 cat confdefs.h
>>conftest.
$ac_ext
2997 cat >>conftest.
$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3000 # include <limits.h>
3002 # include <assert.h>
3006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3009 grep -v '^ *+' conftest.er1
>conftest.err
3011 cat conftest.err
>&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } >/dev
/null
; then
3014 if test -s conftest.err
; then
3015 ac_cpp_err
=$ac_c_preproc_warn_flag
3016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3023 if test -z "$ac_cpp_err"; then
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.
$ac_ext >&5
3029 # Broken: fails on valid input.
3032 rm -f conftest.err conftest.
$ac_ext
3034 # OK, works on sane cases. Now check whether non-existent headers
3035 # can be detected and how.
3036 cat >conftest.
$ac_ext <<_ACEOF
3039 cat confdefs.h
>>conftest.
$ac_ext
3040 cat >>conftest.
$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3042 #include <ac_nonexistent.h>
3044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3047 grep -v '^ *+' conftest.er1
>conftest.err
3049 cat conftest.err
>&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } >/dev
/null
; then
3052 if test -s conftest.err
; then
3053 ac_cpp_err
=$ac_c_preproc_warn_flag
3054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3061 if test -z "$ac_cpp_err"; then
3062 # Broken: success on invalid input.
3065 echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.
$ac_ext >&5
3068 # Passes both tests.
3072 rm -f conftest.err conftest.
$ac_ext
3075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3076 rm -f conftest.err conftest.
$ac_ext
3077 if $ac_preproc_ok; then
3089 echo "$as_me:$LINENO: result: $CPP" >&5
3090 echo "${ECHO_T}$CPP" >&6
3092 for ac_c_preproc_warn_flag
in '' yes
3094 # Use a header file that comes with gcc, so configuring glibc
3095 # with a fresh cross-compiler works.
3096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3097 # <limits.h> exists even on freestanding compilers.
3098 # On the NeXT, cc -E runs the code through the compiler's parser,
3099 # not just through cpp. "Syntax error" is here to catch this case.
3100 cat >conftest.
$ac_ext <<_ACEOF
3103 cat confdefs.h
>>conftest.
$ac_ext
3104 cat >>conftest.
$ac_ext <<_ACEOF
3105 /* end confdefs.h. */
3107 # include <limits.h>
3109 # include <assert.h>
3113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3116 grep -v '^ *+' conftest.er1
>conftest.err
3118 cat conftest.err
>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } >/dev
/null
; then
3121 if test -s conftest.err
; then
3122 ac_cpp_err
=$ac_c_preproc_warn_flag
3123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3130 if test -z "$ac_cpp_err"; then
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.
$ac_ext >&5
3136 # Broken: fails on valid input.
3139 rm -f conftest.err conftest.
$ac_ext
3141 # OK, works on sane cases. Now check whether non-existent headers
3142 # can be detected and how.
3143 cat >conftest.
$ac_ext <<_ACEOF
3146 cat confdefs.h
>>conftest.
$ac_ext
3147 cat >>conftest.
$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3149 #include <ac_nonexistent.h>
3151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3154 grep -v '^ *+' conftest.er1
>conftest.err
3156 cat conftest.err
>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } >/dev
/null
; then
3159 if test -s conftest.err
; then
3160 ac_cpp_err
=$ac_c_preproc_warn_flag
3161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3168 if test -z "$ac_cpp_err"; then
3169 # Broken: success on invalid input.
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.
$ac_ext >&5
3175 # Passes both tests.
3179 rm -f conftest.err conftest.
$ac_ext
3182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3183 rm -f conftest.err conftest.
$ac_ext
3184 if $ac_preproc_ok; then
3187 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3188 See \`config.log' for more details." >&5
3189 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3190 See \`config.log' for more details." >&2;}
3191 { (exit 1); exit 1; }; }
3195 ac_cpp
='$CPP $CPPFLAGS'
3196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3201 echo "$as_me:$LINENO: checking for egrep" >&5
3202 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3203 if test "${ac_cv_prog_egrep+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3207 then ac_cv_prog_egrep
='grep -E'
3208 else ac_cv_prog_egrep
='egrep'
3211 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3212 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3213 EGREP
=$ac_cv_prog_egrep
3216 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3217 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3218 if test "${ac_cv_header_stdc+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 cat >conftest.
$ac_ext <<_ACEOF
3224 cat confdefs.h
>>conftest.
$ac_ext
3225 cat >>conftest.
$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3240 rm -f conftest.
$ac_objext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242 (eval $ac_compile) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try
='test -z "$ac_c_werror_flag"
3250 || test ! -s conftest.err'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; } &&
3256 { ac_try
='test -s conftest.$ac_objext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3262 ac_cv_header_stdc
=yes
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.
$ac_ext >&5
3267 ac_cv_header_stdc
=no
3269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3271 if test $ac_cv_header_stdc = yes; then
3272 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3273 cat >conftest.
$ac_ext <<_ACEOF
3276 cat confdefs.h
>>conftest.
$ac_ext
3277 cat >>conftest.
$ac_ext <<_ACEOF
3278 /* end confdefs.h. */
3282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3283 $EGREP "memchr" >/dev
/null
2>&1; then
3286 ac_cv_header_stdc
=no
3292 if test $ac_cv_header_stdc = yes; then
3293 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3294 cat >conftest.
$ac_ext <<_ACEOF
3297 cat confdefs.h
>>conftest.
$ac_ext
3298 cat >>conftest.
$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3304 $EGREP "free" >/dev
/null
2>&1; then
3307 ac_cv_header_stdc
=no
3313 if test $ac_cv_header_stdc = yes; then
3314 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3315 if test "$cross_compiling" = yes; then
3318 cat >conftest.
$ac_ext <<_ACEOF
3321 cat confdefs.h
>>conftest.
$ac_ext
3322 cat >>conftest.
$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3325 #if ((' ' & 0x0FF) == 0x020)
3326 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3327 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3329 # define ISLOWER(c) \
3330 (('a' <= (c) && (c) <= 'i') \
3331 || ('j' <= (c) && (c) <= 'r') \
3332 || ('s' <= (c) && (c) <= 'z'))
3333 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3336 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3341 for (i = 0; i < 256; i++)
3342 if (XOR (islower (i), ISLOWER (i))
3343 || toupper (i) != TOUPPER (i))
3348 rm -f conftest
$ac_exeext
3349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3350 (eval $ac_link) 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; }; then
3361 echo "$as_me: program exited with status $ac_status" >&5
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3366 ac_cv_header_stdc
=no
3368 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3372 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3373 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3374 if test $ac_cv_header_stdc = yes; then
3376 cat >>confdefs.h
<<\_ACEOF
3377 #define STDC_HEADERS 1
3382 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3383 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3384 if test "${ac_cv_c_const+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3397 /* FIXME: Include the comments suggested by Paul. */
3399 /* Ultrix mips cc rejects this. */
3400 typedef int charset[2];
3402 /* SunOS 4.1.1 cc rejects this. */
3403 char const *const *ccp;
3405 /* NEC SVR4.0.2 mips cc rejects this. */
3406 struct point {int x, y;};
3407 static struct point const zero = {0,0};
3408 /* AIX XL C 1.02.0.0 rejects this.
3409 It does not let you subtract one const X* pointer from another in
3410 an arm of an if-expression whose if-part is not a constant
3412 const char *g = "string";
3413 ccp = &g + (g ? g-g : 0);
3414 /* HPUX 7.0 cc rejects these. */
3417 ccp = (char const *const *) p;
3418 { /* SCO 3.2v4 cc rejects this. */
3420 char const *s = 0 ? (char *) 0 : (char const *) 0;
3424 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3426 const int *foo = &x[0];
3429 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3430 typedef const int *iptr;
3434 { /* AIX XL C 1.02.0.0 rejects this saying
3435 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3436 struct s { int j; const int *ap[3]; };
3437 struct s *b; b->j = 5;
3439 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3448 rm -f conftest.
$ac_objext
3449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3450 (eval $ac_compile) 2>conftest.er1
3452 grep -v '^ *+' conftest.er1
>conftest.err
3454 cat conftest.err
>&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } &&
3457 { ac_try
='test -z "$ac_c_werror_flag"
3458 || test ! -s conftest.err'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; } &&
3464 { ac_try
='test -s conftest.$ac_objext'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; }; then
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.
$ac_ext >&5
3477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3479 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3480 echo "${ECHO_T}$ac_cv_c_const" >&6
3481 if test $ac_cv_c_const = no
; then
3483 cat >>confdefs.h
<<\_ACEOF
3489 echo "$as_me:$LINENO: checking for inline" >&5
3490 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3491 if test "${ac_cv_c_inline+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 for ac_kw
in inline __inline__ __inline
; do
3496 cat >conftest.
$ac_ext <<_ACEOF
3499 cat confdefs.h
>>conftest.
$ac_ext
3500 cat >>conftest.
$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3504 static $ac_kw foo_t static_foo () {return 0; }
3505 $ac_kw foo_t foo () {return 0; }
3509 rm -f conftest.
$ac_objext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511 (eval $ac_compile) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag"
3519 || test ! -s conftest.err'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; } &&
3525 { ac_try
='test -s conftest.$ac_objext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_c_inline
=$ac_kw; break
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.
$ac_ext >&5
3537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3541 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3542 echo "${ECHO_T}$ac_cv_c_inline" >&6
3545 case $ac_cv_c_inline in
3548 case $ac_cv_c_inline in
3550 *) ac_val
=$ac_cv_c_inline;;
3552 cat >>confdefs.h
<<_ACEOF
3554 #define inline $ac_val
3560 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3570 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3571 inttypes.h stdint.h unistd.h
3573 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3574 echo "$as_me:$LINENO: checking for $ac_header" >&5
3575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3585 $ac_includes_default
3587 #include <$ac_header>
3589 rm -f conftest.
$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>conftest.er1
3593 grep -v '^ *+' conftest.er1
>conftest.err
3595 cat conftest.err
>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try
='test -z "$ac_c_werror_flag"
3599 || test ! -s conftest.err'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; } &&
3605 { ac_try
='test -s conftest.$ac_objext'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 eval "$as_ac_Header=yes"
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.
$ac_ext >&5
3616 eval "$as_ac_Header=no"
3618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3623 cat >>confdefs.h
<<_ACEOF
3624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3632 echo "$as_me:$LINENO: checking for off_t" >&5
3633 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3634 if test "${ac_cv_type_off_t+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 cat >conftest.
$ac_ext <<_ACEOF
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3643 $ac_includes_default
3655 rm -f conftest.
$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 (eval $ac_compile) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1
>conftest.err
3661 cat conftest.err
>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try
='test -z "$ac_c_werror_flag"
3665 || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try
='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_cv_type_off_t
=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3686 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3687 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3688 if test $ac_cv_type_off_t = yes; then
3692 cat >>confdefs.h
<<_ACEOF
3698 echo "$as_me:$LINENO: checking for size_t" >&5
3699 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3700 if test "${ac_cv_type_size_t+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 cat >conftest.
$ac_ext <<_ACEOF
3706 cat confdefs.h
>>conftest.
$ac_ext
3707 cat >>conftest.
$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3709 $ac_includes_default
3715 if (sizeof (size_t))
3721 rm -f conftest.
$ac_objext
3722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723 (eval $ac_compile) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1
>conftest.err
3727 cat conftest.err
>&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } &&
3730 { ac_try
='test -z "$ac_c_werror_flag"
3731 || test ! -s conftest.err'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; } &&
3737 { ac_try
='test -s conftest.$ac_objext'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3743 ac_cv_type_size_t
=yes
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.
$ac_ext >&5
3748 ac_cv_type_size_t
=no
3750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3752 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3753 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3754 if test $ac_cv_type_size_t = yes; then
3758 cat >>confdefs.h
<<_ACEOF
3759 #define size_t unsigned
3764 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3765 # for constant arguments. Useless!
3766 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3767 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3768 if test "${ac_cv_working_alloca_h+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 cat >conftest.
$ac_ext <<_ACEOF
3774 cat confdefs.h
>>conftest.
$ac_ext
3775 cat >>conftest.
$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3781 char *p = (char *) alloca (2 * sizeof (int));
3786 rm -f conftest.
$ac_objext conftest
$ac_exeext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3788 (eval $ac_link) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -z "$ac_c_werror_flag"
3796 || test ! -s conftest.err'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; } &&
3802 { ac_try
='test -s conftest$ac_exeext'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; }; then
3808 ac_cv_working_alloca_h
=yes
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.
$ac_ext >&5
3813 ac_cv_working_alloca_h
=no
3815 rm -f conftest.err conftest.
$ac_objext \
3816 conftest
$ac_exeext conftest.
$ac_ext
3818 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3819 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3820 if test $ac_cv_working_alloca_h = yes; then
3822 cat >>confdefs.h
<<\_ACEOF
3823 #define HAVE_ALLOCA_H 1
3828 echo "$as_me:$LINENO: checking for alloca" >&5
3829 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3830 if test "${ac_cv_func_alloca_works+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 cat >conftest.
$ac_ext <<_ACEOF
3836 cat confdefs.h
>>conftest.
$ac_ext
3837 cat >>conftest.
$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3840 # define alloca __builtin_alloca
3843 # include <malloc.h>
3844 # define alloca _alloca
3847 # include <alloca.h>
3852 # ifndef alloca /* predefined by HP cc +Olibcalls */
3863 char *p = (char *) alloca (1);
3868 rm -f conftest.
$ac_objext conftest
$ac_exeext
3869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3870 (eval $ac_link) 2>conftest.er1
3872 grep -v '^ *+' conftest.er1
>conftest.err
3874 cat conftest.err
>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try
='test -z "$ac_c_werror_flag"
3878 || test ! -s conftest.err'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; } &&
3884 { ac_try
='test -s conftest$ac_exeext'
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); }; }; then
3890 ac_cv_func_alloca_works
=yes
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.
$ac_ext >&5
3895 ac_cv_func_alloca_works
=no
3897 rm -f conftest.err conftest.
$ac_objext \
3898 conftest
$ac_exeext conftest.
$ac_ext
3900 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3901 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3903 if test $ac_cv_func_alloca_works = yes; then
3905 cat >>confdefs.h
<<\_ACEOF
3906 #define HAVE_ALLOCA 1
3910 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3911 # that cause trouble. Some versions do not even contain alloca or
3912 # contain a buggy version. If you still want to use their alloca,
3913 # use ar to extract alloca.o from them instead of compiling alloca.c.
3915 ALLOCA
=alloca.
$ac_objext
3917 cat >>confdefs.h
<<\_ACEOF
3922 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3923 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3924 if test "${ac_cv_os_cray+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3933 #if defined(CRAY) && ! defined(CRAY2)
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "webecray" >/dev
/null
2>&1; then
3949 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3950 echo "${ECHO_T}$ac_cv_os_cray" >&6
3951 if test $ac_cv_os_cray = yes; then
3952 for ac_func
in _getb67 GETB67 getb67
; do
3953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3954 echo "$as_me:$LINENO: checking for $ac_func" >&5
3955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3956 if eval "test \"\${$as_ac_var+set}\" = set"; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 cat >conftest.
$ac_ext <<_ACEOF
3962 cat confdefs.h
>>conftest.
$ac_ext
3963 cat >>conftest.
$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3967 #define $ac_func innocuous_$ac_func
3969 /* System header to define __stub macros and hopefully few prototypes,
3970 which can conflict with char $ac_func (); below.
3971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3972 <limits.h> exists even on freestanding compilers. */
3975 # include <limits.h>
3977 # include <assert.h>
3982 /* Override any gcc2 internal prototype to avoid an error. */
3987 /* We use char because int might match the return type of a gcc2
3988 builtin and then its argument prototype would still apply. */
3990 /* The GNU C library defines this for functions which it implements
3991 to always fail with ENOSYS. Some functions are actually named
3992 something starting with __ and the normal name is an alias. */
3993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3996 char (*f) () = $ac_func;
4005 return f != $ac_func;
4010 rm -f conftest.
$ac_objext conftest
$ac_exeext
4011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4012 (eval $ac_link) 2>conftest.er1
4014 grep -v '^ *+' conftest.er1
>conftest.err
4016 cat conftest.err
>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } &&
4019 { ac_try
='test -z "$ac_c_werror_flag"
4020 || test ! -s conftest.err'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; } &&
4026 { ac_try
='test -s conftest$ac_exeext'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; }; then
4032 eval "$as_ac_var=yes"
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.
$ac_ext >&5
4037 eval "$as_ac_var=no"
4039 rm -f conftest.err conftest.
$ac_objext \
4040 conftest
$ac_exeext conftest.
$ac_ext
4042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4044 if test `eval echo '${'$as_ac_var'}'` = yes; then
4046 cat >>confdefs.h
<<_ACEOF
4047 #define CRAY_STACKSEG_END $ac_func
4056 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4057 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4058 if test "${ac_cv_c_stack_direction+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 if test "$cross_compiling" = yes; then
4062 ac_cv_c_stack_direction
=0
4064 cat >conftest.
$ac_ext <<_ACEOF
4067 cat confdefs.h
>>conftest.
$ac_ext
4068 cat >>conftest.
$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4071 find_stack_direction ()
4073 static char *addr = 0;
4078 return find_stack_direction ();
4081 return (&dummy > addr) ? 1 : -1;
4087 exit (find_stack_direction () < 0);
4090 rm -f conftest
$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_cv_c_stack_direction
=1
4103 echo "$as_me: program exited with status $ac_status" >&5
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.
$ac_ext >&5
4108 ac_cv_c_stack_direction
=-1
4110 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4113 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4114 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4116 cat >>confdefs.h
<<_ACEOF
4117 #define STACK_DIRECTION $ac_cv_c_stack_direction
4125 for ac_header
in stdlib.h unistd.h
4127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4129 echo "$as_me:$LINENO: checking for $ac_header" >&5
4130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4137 # Is the header compilable?
4138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4146 $ac_includes_default
4147 #include <$ac_header>
4149 rm -f conftest.
$ac_objext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>conftest.er1
4153 grep -v '^ *+' conftest.er1
>conftest.err
4155 cat conftest.err
>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try
='test -z "$ac_c_werror_flag"
4159 || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try
='test -s conftest.$ac_objext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 ac_header_compiler
=yes
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4176 ac_header_compiler
=no
4178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4180 echo "${ECHO_T}$ac_header_compiler" >&6
4182 # Is the header present?
4183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4185 cat >conftest.
$ac_ext <<_ACEOF
4188 cat confdefs.h
>>conftest.
$ac_ext
4189 cat >>conftest.
$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4191 #include <$ac_header>
4193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4196 grep -v '^ *+' conftest.er1
>conftest.err
4198 cat conftest.err
>&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } >/dev
/null
; then
4201 if test -s conftest.err
; then
4202 ac_cpp_err
=$ac_c_preproc_warn_flag
4203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4210 if test -z "$ac_cpp_err"; then
4211 ac_header_preproc
=yes
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.
$ac_ext >&5
4216 ac_header_preproc
=no
4218 rm -f conftest.err conftest.
$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4220 echo "${ECHO_T}$ac_header_preproc" >&6
4222 # So? What about this header?
4223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4229 ac_header_preproc
=yes
4232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4246 ## ------------------------------------------ ##
4247 ## Report this to the AC_PACKAGE_NAME lists. ##
4248 ## ------------------------------------------ ##
4251 sed "s/^/$as_me: WARNING: /" >&2
4254 echo "$as_me:$LINENO: checking for $ac_header" >&5
4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 eval "$as_ac_Header=\$ac_header_preproc"
4261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4266 cat >>confdefs.h
<<_ACEOF
4267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4275 for ac_func
in getpagesize
4277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4278 echo "$as_me:$LINENO: checking for $ac_func" >&5
4279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4280 if eval "test \"\${$as_ac_var+set}\" = set"; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 cat >conftest.
$ac_ext <<_ACEOF
4286 cat confdefs.h
>>conftest.
$ac_ext
4287 cat >>conftest.
$ac_ext <<_ACEOF
4288 /* end confdefs.h. */
4289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4291 #define $ac_func innocuous_$ac_func
4293 /* System header to define __stub macros and hopefully few prototypes,
4294 which can conflict with char $ac_func (); below.
4295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4296 <limits.h> exists even on freestanding compilers. */
4299 # include <limits.h>
4301 # include <assert.h>
4306 /* Override any gcc2 internal prototype to avoid an error. */
4311 /* We use char because int might match the return type of a gcc2
4312 builtin and then its argument prototype would still apply. */
4314 /* The GNU C library defines this for functions which it implements
4315 to always fail with ENOSYS. Some functions are actually named
4316 something starting with __ and the normal name is an alias. */
4317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4320 char (*f) () = $ac_func;
4329 return f != $ac_func;
4334 rm -f conftest.
$ac_objext conftest
$ac_exeext
4335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4336 (eval $ac_link) 2>conftest.er1
4338 grep -v '^ *+' conftest.er1
>conftest.err
4340 cat conftest.err
>&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } &&
4343 { ac_try
='test -z "$ac_c_werror_flag"
4344 || test ! -s conftest.err'
4345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); }; } &&
4350 { ac_try
='test -s conftest$ac_exeext'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; }; then
4356 eval "$as_ac_var=yes"
4358 echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.
$ac_ext >&5
4361 eval "$as_ac_var=no"
4363 rm -f conftest.err conftest.
$ac_objext \
4364 conftest
$ac_exeext conftest.
$ac_ext
4366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4368 if test `eval echo '${'$as_ac_var'}'` = yes; then
4369 cat >>confdefs.h
<<_ACEOF
4370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4376 echo "$as_me:$LINENO: checking for working mmap" >&5
4377 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4378 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test "$cross_compiling" = yes; then
4382 ac_cv_func_mmap_fixed_mapped
=no
4384 cat >conftest.
$ac_ext <<_ACEOF
4387 cat confdefs.h
>>conftest.
$ac_ext
4388 cat >>conftest.
$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4390 $ac_includes_default
4391 /* malloc might have been renamed as rpl_malloc. */
4394 /* Thanks to Mike Haertel and Jim Avera for this test.
4395 Here is a matrix of mmap possibilities:
4396 mmap private not fixed
4397 mmap private fixed at somewhere currently unmapped
4398 mmap private fixed at somewhere already mapped
4399 mmap shared not fixed
4400 mmap shared fixed at somewhere currently unmapped
4401 mmap shared fixed at somewhere already mapped
4402 For private mappings, we should verify that changes cannot be read()
4403 back from the file, nor mmap's back from the file at a different
4404 address. (There have been systems where private was not correctly
4405 implemented like the infamous i386 svr4.0, and systems where the
4406 VM page cache was not coherent with the file system buffer cache
4407 like early versions of FreeBSD and possibly contemporary NetBSD.)
4408 For shared mappings, we should conversely verify that changes get
4409 propagated back to all the places they're supposed to be.
4411 Grep wants private fixed already mapped.
4412 The main things grep needs to know about mmap are:
4413 * does it exist and is it safe to write into the mmap'd area
4414 * how to use it (BSD variants) */
4417 #include <sys/mman.h>
4419 #if !STDC_HEADERS && !HAVE_STDLIB_H
4423 /* This mess was copied from the GNU getpagesize.h. */
4424 #if !HAVE_GETPAGESIZE
4425 /* Assume that all systems that can run configure have sys/param.h. */
4426 # if !HAVE_SYS_PARAM_H
4427 # define HAVE_SYS_PARAM_H 1
4430 # ifdef _SC_PAGESIZE
4431 # define getpagesize() sysconf(_SC_PAGESIZE)
4432 # else /* no _SC_PAGESIZE */
4433 # if HAVE_SYS_PARAM_H
4434 # include <sys/param.h>
4435 # ifdef EXEC_PAGESIZE
4436 # define getpagesize() EXEC_PAGESIZE
4437 # else /* no EXEC_PAGESIZE */
4439 # define getpagesize() NBPG * CLSIZE
4442 # endif /* no CLSIZE */
4443 # else /* no NBPG */
4445 # define getpagesize() NBPC
4446 # else /* no NBPC */
4448 # define getpagesize() PAGESIZE
4449 # endif /* PAGESIZE */
4450 # endif /* no NBPC */
4451 # endif /* no NBPG */
4452 # endif /* no EXEC_PAGESIZE */
4453 # else /* no HAVE_SYS_PARAM_H */
4454 # define getpagesize() 8192 /* punt totally */
4455 # endif /* no HAVE_SYS_PARAM_H */
4456 # endif /* no _SC_PAGESIZE */
4458 #endif /* no HAVE_GETPAGESIZE */
4463 char *data, *data2, *data3;
4467 pagesize = getpagesize ();
4469 /* First, make a file with some known garbage in it. */
4470 data = (char *) malloc (pagesize);
4473 for (i = 0; i < pagesize; ++i)
4474 *(data + i) = rand ();
4476 fd = creat ("conftest.mmap", 0600);
4479 if (write (fd, data, pagesize) != pagesize)
4483 /* Next, try to mmap the file at a fixed address which already has
4484 something else allocated at it. If we can, also make sure that
4485 we see the same garbage. */
4486 fd = open ("conftest.mmap", O_RDWR);
4489 data2 = (char *) malloc (2 * pagesize);
4492 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4493 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4494 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4496 for (i = 0; i < pagesize; ++i)
4497 if (*(data + i) != *(data2 + i))
4500 /* Finally, make sure that changes to the mapped area do not
4501 percolate back to the file as seen by read(). (This is a bug on
4502 some variants of i386 svr4.0.) */
4503 for (i = 0; i < pagesize; ++i)
4504 *(data2 + i) = *(data2 + i) + 1;
4505 data3 = (char *) malloc (pagesize);
4508 if (read (fd, data3, pagesize) != pagesize)
4510 for (i = 0; i < pagesize; ++i)
4511 if (*(data + i) != *(data3 + i))
4517 rm -f conftest
$ac_exeext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519 (eval $ac_link) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 ac_cv_func_mmap_fixed_mapped
=yes
4530 echo "$as_me: program exited with status $ac_status" >&5
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4535 ac_cv_func_mmap_fixed_mapped
=no
4537 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4540 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4541 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4542 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4544 cat >>confdefs.h
<<\_ACEOF
4552 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
4553 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
4554 if test "${ac_cv_gnu_library_2_1+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4564 #include <features.h>
4565 #ifdef __GNU_LIBRARY__
4566 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4573 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
4574 ac_cv_gnu_library_2_1
=yes
4576 ac_cv_gnu_library_2_1
=no
4583 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4584 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4586 GLIBC21
="$ac_cv_gnu_library_2_1"
4591 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
4592 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
4593 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 if test "$cross_compiling" = yes; then
4599 # Guess based on the CPU.
4601 alpha
* | i3456786 | m68k | s390
*)
4602 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4604 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4608 cat >conftest.
$ac_ext <<_ACEOF
4611 cat confdefs.h
>>conftest.
$ac_ext
4612 cat >>conftest.
$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4620 sigfpe_handler (int sig)
4622 sigfpe_handler (sig) int sig;
4625 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4626 exit (sig != SIGFPE);
4636 signal (SIGFPE, sigfpe_handler);
4637 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4638 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4639 signal (SIGTRAP, sigfpe_handler);
4641 /* Linux/SPARC yields signal SIGILL. */
4642 #if defined (__sparc__) && defined (__linux__)
4643 signal (SIGILL, sigfpe_handler);
4652 rm -f conftest
$ac_exeext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4654 (eval $ac_link) 2>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
4663 gt_cv_int_divbyzero_sigfpe
=yes
4665 echo "$as_me: program exited with status $ac_status" >&5
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4670 gt_cv_int_divbyzero_sigfpe
=no
4672 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4676 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
4677 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
4678 case "$gt_cv_int_divbyzero_sigfpe" in
4683 cat >>confdefs.h
<<_ACEOF
4684 #define INTDIV0_RAISES_SIGFPE $value
4689 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4690 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4691 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 cat >conftest.
$ac_ext <<_ACEOF
4697 cat confdefs.h
>>conftest.
$ac_ext
4698 cat >>conftest.
$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 #include <sys/types.h>
4701 #include <inttypes.h>
4705 uintmax_t i = (uintmax_t) -1;
4710 rm -f conftest.
$ac_objext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>conftest.er1
4714 grep -v '^ *+' conftest.er1
>conftest.err
4716 cat conftest.err
>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try
='test -z "$ac_c_werror_flag"
4720 || test ! -s conftest.err'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; } &&
4726 { ac_try
='test -s conftest.$ac_objext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4732 jm_ac_cv_header_inttypes_h
=yes
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4737 jm_ac_cv_header_inttypes_h
=no
4739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4741 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
4742 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4743 if test $jm_ac_cv_header_inttypes_h = yes; then
4745 cat >>confdefs.h
<<_ACEOF
4746 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4752 echo "$as_me:$LINENO: checking for stdint.h" >&5
4753 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
4754 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 #include <sys/types.h>
4768 uintmax_t i = (uintmax_t) -1;
4773 rm -f conftest.
$ac_objext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>conftest.er1
4777 grep -v '^ *+' conftest.er1
>conftest.err
4779 cat conftest.err
>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } &&
4782 { ac_try
='test -z "$ac_c_werror_flag"
4783 || test ! -s conftest.err'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; } &&
4789 { ac_try
='test -s conftest.$ac_objext'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; }; then
4795 jm_ac_cv_header_stdint_h
=yes
4797 echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.
$ac_ext >&5
4800 jm_ac_cv_header_stdint_h
=no
4802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4804 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
4805 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
4806 if test $jm_ac_cv_header_stdint_h = yes; then
4808 cat >>confdefs.h
<<_ACEOF
4809 #define HAVE_STDINT_H_WITH_UINTMAX 1
4815 echo "$as_me:$LINENO: checking for unsigned long long" >&5
4816 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4817 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6
4820 cat >conftest.
$ac_ext <<_ACEOF
4823 cat confdefs.h
>>conftest.
$ac_ext
4824 cat >>conftest.
$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4826 unsigned long long ull = 1; int i = 63;
4830 unsigned long long ullmax = (unsigned long long) -1;
4831 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4836 rm -f conftest.
$ac_objext conftest
$ac_exeext
4837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4838 (eval $ac_link) 2>conftest.er1
4840 grep -v '^ *+' conftest.er1
>conftest.err
4842 cat conftest.err
>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try
='test -z "$ac_c_werror_flag"
4846 || test ! -s conftest.err'
4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try
='test -s conftest$ac_exeext'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_type_unsigned_long_long
=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.
$ac_ext >&5
4863 ac_cv_type_unsigned_long_long
=no
4865 rm -f conftest.err conftest.
$ac_objext \
4866 conftest
$ac_exeext conftest.
$ac_ext
4868 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4869 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4870 if test $ac_cv_type_unsigned_long_long = yes; then
4872 cat >>confdefs.h
<<\_ACEOF
4873 #define HAVE_UNSIGNED_LONG_LONG 1
4881 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4883 test $ac_cv_type_unsigned_long_long = yes \
4884 && ac_type
='unsigned long long' \
4885 || ac_type
='unsigned long'
4887 cat >>confdefs.h
<<_ACEOF
4888 #define uintmax_t $ac_type
4893 cat >>confdefs.h
<<\_ACEOF
4894 #define HAVE_UINTMAX_T 1
4900 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4901 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4902 if test "${gt_cv_header_inttypes_h+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 cat >conftest.
$ac_ext <<_ACEOF
4909 cat confdefs.h
>>conftest.
$ac_ext
4910 cat >>conftest.
$ac_ext <<_ACEOF
4911 /* end confdefs.h. */
4912 #include <sys/types.h>
4913 #include <inttypes.h>
4922 rm -f conftest.
$ac_objext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4924 (eval $ac_compile) 2>conftest.er1
4926 grep -v '^ *+' conftest.er1
>conftest.err
4928 cat conftest.err
>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } &&
4931 { ac_try
='test -z "$ac_c_werror_flag"
4932 || test ! -s conftest.err'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; } &&
4938 { ac_try
='test -s conftest.$ac_objext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 gt_cv_header_inttypes_h
=yes
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.
$ac_ext >&5
4949 gt_cv_header_inttypes_h
=no
4951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
4955 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
4956 if test $gt_cv_header_inttypes_h = yes; then
4958 cat >>confdefs.h
<<_ACEOF
4959 #define HAVE_INTTYPES_H 1
4966 if test $gt_cv_header_inttypes_h = yes; then
4967 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
4968 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
4969 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 cat >conftest.
$ac_ext <<_ACEOF
4976 cat confdefs.h
>>conftest.
$ac_ext
4977 cat >>conftest.
$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4979 #include <inttypes.h>
4992 rm -f conftest.
$ac_objext
4993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4994 (eval $ac_compile) 2>conftest.er1
4996 grep -v '^ *+' conftest.er1
>conftest.err
4998 cat conftest.err
>&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } &&
5001 { ac_try
='test -z "$ac_c_werror_flag"
5002 || test ! -s conftest.err'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; } &&
5008 { ac_try
='test -s conftest.$ac_objext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5014 gt_cv_inttypes_pri_broken
=no
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.
$ac_ext >&5
5019 gt_cv_inttypes_pri_broken
=yes
5021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
5025 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
5027 if test "$gt_cv_inttypes_pri_broken" = yes; then
5029 cat >>confdefs.h
<<_ACEOF
5030 #define PRI_MACROS_BROKEN 1
5036 if test "X$prefix" = "XNONE"; then
5037 acl_final_prefix
="$ac_default_prefix"
5039 acl_final_prefix
="$prefix"
5041 if test "X$exec_prefix" = "XNONE"; then
5042 acl_final_exec_prefix
='${prefix}'
5044 acl_final_exec_prefix
="$exec_prefix"
5046 acl_save_prefix
="$prefix"
5047 prefix
="$acl_final_prefix"
5048 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5049 prefix
="$acl_save_prefix"
5052 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5053 if test "${with_gnu_ld+set}" = set; then
5054 withval
="$with_gnu_ld"
5055 test "$withval" = no || with_gnu_ld
=yes
5059 # Prepare PATH_SEPARATOR.
5060 # The user is always right.
5061 if test "${PATH_SEPARATOR+set}" != set; then
5062 echo "#! /bin/sh" >conf$$.sh
5063 echo "exit 0" >>conf$$.sh
5065 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5073 if test "$GCC" = yes; then
5074 # Check if gcc -print-prog-name=ld gives a path.
5075 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5076 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5079 # gcc leaves a trailing carriage return which upsets mingw
5080 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5082 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5085 # Accept absolute paths.
5086 [\\/]* |
[A-Za-z
]:[\\/]*)
5087 re_direlt
='/[^/][^/]*/\.\./'
5088 # Canonicalize the path of ld
5089 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5090 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5091 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5093 test -z "$LD" && LD
="$ac_prog"
5096 # If it fails, then pretend we aren't using GCC.
5100 # If it is relative, then search for the first ld in PATH.
5104 elif test "$with_gnu_ld" = yes; then
5105 echo "$as_me:$LINENO: checking for GNU ld" >&5
5106 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5108 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5109 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5111 if test "${acl_cv_path_LD+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 if test -z "$LD"; then
5115 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5116 for ac_dir
in $PATH; do
5117 test -z "$ac_dir" && ac_dir
=.
5118 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5119 acl_cv_path_LD
="$ac_dir/$ac_prog"
5120 # Check to see if the program is GNU ld. I'd rather use --version,
5121 # but apparently some GNU ld's only accept -v.
5122 # Break only if it was the GNU/non-GNU ld that we prefer.
5123 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5124 test "$with_gnu_ld" != no
&& break
5126 test "$with_gnu_ld" != yes && break
5132 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5136 LD
="$acl_cv_path_LD"
5137 if test -n "$LD"; then
5138 echo "$as_me:$LINENO: result: $LD" >&5
5139 echo "${ECHO_T}$LD" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5144 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5145 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5146 { (exit 1); exit 1; }; }
5147 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5148 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5149 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5153 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5154 acl_cv_prog_gnu_ld
=yes
5156 acl_cv_prog_gnu_ld
=no
5159 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5160 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5161 with_gnu_ld
=$acl_cv_prog_gnu_ld
5165 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5166 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5167 if test "${acl_cv_rpath+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5172 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5178 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5179 echo "${ECHO_T}$acl_cv_rpath" >&6
5181 libext
="$acl_cv_libext"
5182 shlibext
="$acl_cv_shlibext"
5183 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5184 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5185 hardcode_direct
="$acl_cv_hardcode_direct"
5186 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5187 # Check whether --enable-rpath or --disable-rpath was given.
5188 if test "${enable_rpath+set}" = set; then
5189 enableval
="$enable_rpath"
5203 acl_save_prefix
="$prefix"
5204 prefix
="$acl_final_prefix"
5205 acl_save_exec_prefix
="$exec_prefix"
5206 exec_prefix
="$acl_final_exec_prefix"
5208 eval additional_includedir
=\"$includedir\"
5209 eval additional_libdir
=\"$libdir\"
5211 exec_prefix
="$acl_save_exec_prefix"
5212 prefix
="$acl_save_prefix"
5215 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5216 if test "${with_libiconv_prefix+set}" = set; then
5217 withval
="$with_libiconv_prefix"
5219 if test "X$withval" = "Xno"; then
5222 if test "X$withval" = "X"; then
5224 acl_save_prefix
="$prefix"
5225 prefix
="$acl_final_prefix"
5226 acl_save_exec_prefix
="$exec_prefix"
5227 exec_prefix
="$acl_final_exec_prefix"
5229 eval additional_includedir
=\"$includedir\"
5230 eval additional_libdir
=\"$libdir\"
5232 exec_prefix
="$acl_save_exec_prefix"
5233 prefix
="$acl_save_prefix"
5236 additional_includedir
="$withval/include"
5237 additional_libdir
="$withval/lib"
5247 names_already_handled
=
5248 names_next_round
='iconv '
5249 while test -n "$names_next_round"; do
5250 names_this_round
="$names_next_round"
5252 for name
in $names_this_round; do
5254 for n
in $names_already_handled; do
5255 if test "$n" = "$name"; then
5260 if test -z "$already_handled"; then
5261 names_already_handled
="$names_already_handled $name"
5262 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5263 eval value
=\"\
$HAVE_LIB$uppername\"
5264 if test -n "$value"; then
5265 if test "$value" = yes; then
5266 eval value
=\"\
$LIB$uppername\"
5267 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5268 eval value
=\"\
$LTLIB$uppername\"
5269 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5278 if test $use_additional = yes; then
5279 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5280 found_dir
="$additional_libdir"
5281 found_so
="$additional_libdir/lib$name.$shlibext"
5282 if test -f "$additional_libdir/lib$name.la"; then
5283 found_la
="$additional_libdir/lib$name.la"
5286 if test -f "$additional_libdir/lib$name.$libext"; then
5287 found_dir
="$additional_libdir"
5288 found_a
="$additional_libdir/lib$name.$libext"
5289 if test -f "$additional_libdir/lib$name.la"; then
5290 found_la
="$additional_libdir/lib$name.la"
5295 if test "X$found_dir" = "X"; then
5296 for x
in $LDFLAGS $LTLIBICONV; do
5298 acl_save_prefix
="$prefix"
5299 prefix
="$acl_final_prefix"
5300 acl_save_exec_prefix
="$exec_prefix"
5301 exec_prefix
="$acl_final_exec_prefix"
5303 exec_prefix
="$acl_save_exec_prefix"
5304 prefix
="$acl_save_prefix"
5308 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5309 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5311 found_so
="$dir/lib$name.$shlibext"
5312 if test -f "$dir/lib$name.la"; then
5313 found_la
="$dir/lib$name.la"
5316 if test -f "$dir/lib$name.$libext"; then
5318 found_a
="$dir/lib$name.$libext"
5319 if test -f "$dir/lib$name.la"; then
5320 found_la
="$dir/lib$name.la"
5326 if test "X$found_dir" != "X"; then
5331 if test "X$found_dir" != "X"; then
5332 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5333 if test "X$found_so" != "X"; then
5334 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5335 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5338 for x
in $ltrpathdirs; do
5339 if test "X$x" = "X$found_dir"; then
5344 if test -z "$haveit"; then
5345 ltrpathdirs
="$ltrpathdirs $found_dir"
5347 if test "$hardcode_direct" = yes; then
5348 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5350 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5351 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5353 for x
in $rpathdirs; do
5354 if test "X$x" = "X$found_dir"; then
5359 if test -z "$haveit"; then
5360 rpathdirs
="$rpathdirs $found_dir"
5364 for x
in $LDFLAGS $LIBICONV; do
5366 acl_save_prefix
="$prefix"
5367 prefix
="$acl_final_prefix"
5368 acl_save_exec_prefix
="$exec_prefix"
5369 exec_prefix
="$acl_final_exec_prefix"
5371 exec_prefix
="$acl_save_exec_prefix"
5372 prefix
="$acl_save_prefix"
5374 if test "X$x" = "X-L$found_dir"; then
5379 if test -z "$haveit"; then
5380 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5382 if test "$hardcode_minus_L" != no
; then
5383 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5385 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5391 if test "X$found_a" != "X"; then
5392 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5394 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5397 additional_includedir
=
5398 case "$found_dir" in
5400 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5401 additional_includedir
="$basedir/include"
5404 if test "X$additional_includedir" != "X"; then
5405 if test "X$additional_includedir" != "X/usr/include"; then
5407 if test "X$additional_includedir" = "X/usr/local/include"; then
5408 if test -n "$GCC"; then
5410 linux
*) haveit
=yes;;
5414 if test -z "$haveit"; then
5415 for x
in $CPPFLAGS $INCICONV; do
5417 acl_save_prefix
="$prefix"
5418 prefix
="$acl_final_prefix"
5419 acl_save_exec_prefix
="$exec_prefix"
5420 exec_prefix
="$acl_final_exec_prefix"
5422 exec_prefix
="$acl_save_exec_prefix"
5423 prefix
="$acl_save_prefix"
5425 if test "X$x" = "X-I$additional_includedir"; then
5430 if test -z "$haveit"; then
5431 if test -d "$additional_includedir"; then
5432 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5438 if test -n "$found_la"; then
5439 save_libdir
="$libdir"
5441 */* |
*\\*) .
"$found_la" ;;
5442 *) .
"./$found_la" ;;
5444 libdir
="$save_libdir"
5445 for dep
in $dependency_libs; do
5448 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5449 if test "X$additional_libdir" != "X/usr/lib"; then
5451 if test "X$additional_libdir" = "X/usr/local/lib"; then
5452 if test -n "$GCC"; then
5454 linux
*) haveit
=yes;;
5458 if test -z "$haveit"; then
5460 for x
in $LDFLAGS $LIBICONV; do
5462 acl_save_prefix
="$prefix"
5463 prefix
="$acl_final_prefix"
5464 acl_save_exec_prefix
="$exec_prefix"
5465 exec_prefix
="$acl_final_exec_prefix"
5467 exec_prefix
="$acl_save_exec_prefix"
5468 prefix
="$acl_save_prefix"
5470 if test "X$x" = "X-L$additional_libdir"; then
5475 if test -z "$haveit"; then
5476 if test -d "$additional_libdir"; then
5477 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5481 for x
in $LDFLAGS $LTLIBICONV; do
5483 acl_save_prefix
="$prefix"
5484 prefix
="$acl_final_prefix"
5485 acl_save_exec_prefix
="$exec_prefix"
5486 exec_prefix
="$acl_final_exec_prefix"
5488 exec_prefix
="$acl_save_exec_prefix"
5489 prefix
="$acl_save_prefix"
5491 if test "X$x" = "X-L$additional_libdir"; then
5496 if test -z "$haveit"; then
5497 if test -d "$additional_libdir"; then
5498 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5505 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5506 if test "$enable_rpath" != no
; then
5508 for x
in $rpathdirs; do
5509 if test "X$x" = "X$dir"; then
5514 if test -z "$haveit"; then
5515 rpathdirs
="$rpathdirs $dir"
5518 for x
in $ltrpathdirs; do
5519 if test "X$x" = "X$dir"; then
5524 if test -z "$haveit"; then
5525 ltrpathdirs
="$ltrpathdirs $dir"
5530 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5533 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5536 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5537 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5543 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5544 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5550 if test "X$rpathdirs" != "X"; then
5551 if test -n "$hardcode_libdir_separator"; then
5553 for found_dir
in $rpathdirs; do
5554 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5556 acl_save_libdir
="$libdir"
5558 eval flag
=\"$hardcode_libdir_flag_spec\"
5559 libdir
="$acl_save_libdir"
5560 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5562 for found_dir
in $rpathdirs; do
5563 acl_save_libdir
="$libdir"
5565 eval flag
=\"$hardcode_libdir_flag_spec\"
5566 libdir
="$acl_save_libdir"
5567 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5571 if test "X$ltrpathdirs" != "X"; then
5572 for found_dir
in $ltrpathdirs; do
5573 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5590 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5591 stdlib.h string.h unistd.h sys
/param.h
5593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5595 echo "$as_me:$LINENO: checking for $ac_header" >&5
5596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5603 # Is the header compilable?
5604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5606 cat >conftest.
$ac_ext <<_ACEOF
5609 cat confdefs.h
>>conftest.
$ac_ext
5610 cat >>conftest.
$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5612 $ac_includes_default
5613 #include <$ac_header>
5615 rm -f conftest.
$ac_objext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5617 (eval $ac_compile) 2>conftest.er1
5619 grep -v '^ *+' conftest.er1
>conftest.err
5621 cat conftest.err
>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } &&
5624 { ac_try
='test -z "$ac_c_werror_flag"
5625 || test ! -s conftest.err'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; } &&
5631 { ac_try
='test -s conftest.$ac_objext'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; }; then
5637 ac_header_compiler
=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5642 ac_header_compiler
=no
5644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5646 echo "${ECHO_T}$ac_header_compiler" >&6
5648 # Is the header present?
5649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5651 cat >conftest.
$ac_ext <<_ACEOF
5654 cat confdefs.h
>>conftest.
$ac_ext
5655 cat >>conftest.
$ac_ext <<_ACEOF
5656 /* end confdefs.h. */
5657 #include <$ac_header>
5659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5662 grep -v '^ *+' conftest.er1
>conftest.err
5664 cat conftest.err
>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } >/dev
/null
; then
5667 if test -s conftest.err
; then
5668 ac_cpp_err
=$ac_c_preproc_warn_flag
5669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5676 if test -z "$ac_cpp_err"; then
5677 ac_header_preproc
=yes
5679 echo "$as_me: failed program was:" >&5
5680 sed 's/^/| /' conftest.
$ac_ext >&5
5682 ac_header_preproc
=no
5684 rm -f conftest.err conftest.
$ac_ext
5685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5686 echo "${ECHO_T}$ac_header_preproc" >&6
5688 # So? What about this header?
5689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5695 ac_header_preproc
=yes
5698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5712 ## ------------------------------------------ ##
5713 ## Report this to the AC_PACKAGE_NAME lists. ##
5714 ## ------------------------------------------ ##
5717 sed "s/^/$as_me: WARNING: /" >&2
5720 echo "$as_me:$LINENO: checking for $ac_header" >&5
5721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 eval "$as_ac_Header=\$ac_header_preproc"
5727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5732 cat >>confdefs.h
<<_ACEOF
5733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5762 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5763 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5764 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5768 echo "$as_me:$LINENO: checking for $ac_func" >&5
5769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5770 if eval "test \"\${$as_ac_var+set}\" = set"; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 cat >conftest.
$ac_ext <<_ACEOF
5776 cat confdefs.h
>>conftest.
$ac_ext
5777 cat >>conftest.
$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5781 #define $ac_func innocuous_$ac_func
5783 /* System header to define __stub macros and hopefully few prototypes,
5784 which can conflict with char $ac_func (); below.
5785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786 <limits.h> exists even on freestanding compilers. */
5789 # include <limits.h>
5791 # include <assert.h>
5796 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5804 /* The GNU C library defines this for functions which it implements
5805 to always fail with ENOSYS. Some functions are actually named
5806 something starting with __ and the normal name is an alias. */
5807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5810 char (*f) () = $ac_func;
5819 return f != $ac_func;
5824 rm -f conftest.
$ac_objext conftest
$ac_exeext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5826 (eval $ac_link) 2>conftest.er1
5828 grep -v '^ *+' conftest.er1
>conftest.err
5830 cat conftest.err
>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } &&
5833 { ac_try
='test -z "$ac_c_werror_flag"
5834 || test ! -s conftest.err'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; } &&
5840 { ac_try
='test -s conftest$ac_exeext'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5846 eval "$as_ac_var=yes"
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.
$ac_ext >&5
5851 eval "$as_ac_var=no"
5853 rm -f conftest.err conftest.
$ac_objext \
5854 conftest
$ac_exeext conftest.
$ac_ext
5856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5858 if test `eval echo '${'$as_ac_var'}'` = yes; then
5859 cat >>confdefs.h
<<_ACEOF
5860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5872 am_save_CPPFLAGS
="$CPPFLAGS"
5874 for element
in $INCICONV; do
5876 for x
in $CPPFLAGS; do
5878 acl_save_prefix
="$prefix"
5879 prefix
="$acl_final_prefix"
5880 acl_save_exec_prefix
="$exec_prefix"
5881 exec_prefix
="$acl_final_exec_prefix"
5883 exec_prefix
="$acl_save_exec_prefix"
5884 prefix
="$acl_save_prefix"
5886 if test "X$x" = "X$element"; then
5891 if test -z "$haveit"; then
5892 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5897 echo "$as_me:$LINENO: checking for iconv" >&5
5898 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5899 if test "${am_cv_func_iconv+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 am_cv_func_iconv
="no, consider installing GNU libiconv"
5905 cat >conftest.
$ac_ext <<_ACEOF
5908 cat confdefs.h
>>conftest.
$ac_ext
5909 cat >>conftest.
$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5916 iconv_t cd = iconv_open("","");
5917 iconv(cd,NULL,NULL,NULL,NULL);
5923 rm -f conftest.
$ac_objext conftest
$ac_exeext
5924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925 (eval $ac_link) 2>conftest.er1
5927 grep -v '^ *+' conftest.er1
>conftest.err
5929 cat conftest.err
>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try
='test -z "$ac_c_werror_flag"
5933 || test ! -s conftest.err'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } &&
5939 { ac_try
='test -s conftest$ac_exeext'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; }; then
5945 am_cv_func_iconv
=yes
5947 echo "$as_me: failed program was:" >&5
5948 sed 's/^/| /' conftest.
$ac_ext >&5
5951 rm -f conftest.err conftest.
$ac_objext \
5952 conftest
$ac_exeext conftest.
$ac_ext
5953 if test "$am_cv_func_iconv" != yes; then
5954 am_save_LIBS
="$LIBS"
5955 LIBS
="$LIBS $LIBICONV"
5956 cat >conftest.
$ac_ext <<_ACEOF
5959 cat confdefs.h
>>conftest.
$ac_ext
5960 cat >>conftest.
$ac_ext <<_ACEOF
5961 /* end confdefs.h. */
5967 iconv_t cd = iconv_open("","");
5968 iconv(cd,NULL,NULL,NULL,NULL);
5974 rm -f conftest.
$ac_objext conftest
$ac_exeext
5975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5976 (eval $ac_link) 2>conftest.er1
5978 grep -v '^ *+' conftest.er1
>conftest.err
5980 cat conftest.err
>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try
='test -z "$ac_c_werror_flag"
5984 || test ! -s conftest.err'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; } &&
5990 { ac_try
='test -s conftest$ac_exeext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5997 am_cv_func_iconv
=yes
5999 echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.
$ac_ext >&5
6003 rm -f conftest.err conftest.
$ac_objext \
6004 conftest
$ac_exeext conftest.
$ac_ext
6005 LIBS
="$am_save_LIBS"
6009 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6010 echo "${ECHO_T}$am_cv_func_iconv" >&6
6011 if test "$am_cv_func_iconv" = yes; then
6013 cat >>confdefs.h
<<\_ACEOF
6014 #define HAVE_ICONV 1
6018 if test "$am_cv_lib_iconv" = yes; then
6019 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6020 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
6021 echo "$as_me:$LINENO: result: $LIBICONV" >&5
6022 echo "${ECHO_T}$LIBICONV" >&6
6024 CPPFLAGS
="$am_save_CPPFLAGS"
6031 if test "$am_cv_func_iconv" = yes; then
6032 echo "$as_me:$LINENO: checking for iconv declaration" >&5
6033 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6034 if test "${am_cv_proto_iconv+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 cat >conftest.
$ac_ext <<_ACEOF
6041 cat confdefs.h
>>conftest.
$ac_ext
6042 cat >>conftest.
$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6051 #if defined(__STDC__) || defined(__cplusplus)
6052 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6065 rm -f conftest.
$ac_objext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6067 (eval $ac_compile) 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try
='test -z "$ac_c_werror_flag"
6075 || test ! -s conftest.err'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; } &&
6081 { ac_try
='test -s conftest.$ac_objext'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; }; then
6087 am_cv_proto_iconv_arg1
=""
6089 echo "$as_me: failed program was:" >&5
6090 sed 's/^/| /' conftest.
$ac_ext >&5
6092 am_cv_proto_iconv_arg1
="const"
6094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6095 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);"
6098 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6099 echo "$as_me:$LINENO: result: ${ac_t:-
6100 }$am_cv_proto_iconv" >&5
6101 echo "${ECHO_T}${ac_t:-
6102 }$am_cv_proto_iconv" >&6
6104 cat >>confdefs.h
<<_ACEOF
6105 #define ICONV_CONST $am_cv_proto_iconv_arg1
6111 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6112 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6113 if test "${am_cv_langinfo_codeset+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 #include <langinfo.h>
6126 char* cs = nl_langinfo(CODESET);
6131 rm -f conftest.
$ac_objext conftest
$ac_exeext
6132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6133 (eval $ac_link) 2>conftest.er1
6135 grep -v '^ *+' conftest.er1
>conftest.err
6137 cat conftest.err
>&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); } &&
6140 { ac_try
='test -z "$ac_c_werror_flag"
6141 || test ! -s conftest.err'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; } &&
6147 { ac_try
='test -s conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 am_cv_langinfo_codeset
=yes
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.
$ac_ext >&5
6158 am_cv_langinfo_codeset
=no
6160 rm -f conftest.err conftest.
$ac_objext \
6161 conftest
$ac_exeext conftest.
$ac_ext
6164 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6165 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6166 if test $am_cv_langinfo_codeset = yes; then
6168 cat >>confdefs.h
<<\_ACEOF
6169 #define HAVE_LANGINFO_CODESET 1
6174 if test $ac_cv_header_locale_h = yes; then
6176 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6177 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6178 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6184 cat confdefs.h
>>conftest.
$ac_ext
6185 cat >>conftest.
$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6196 rm -f conftest.
$ac_objext conftest
$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>conftest.er1
6200 grep -v '^ *+' conftest.er1
>conftest.err
6202 cat conftest.err
>&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try
='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try
='test -s conftest$ac_exeext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 am_cv_val_LC_MESSAGES
=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 am_cv_val_LC_MESSAGES
=no
6225 rm -f conftest.err conftest.
$ac_objext \
6226 conftest
$ac_exeext conftest.
$ac_ext
6228 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6229 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6230 if test $am_cv_val_LC_MESSAGES = yes; then
6232 cat >>confdefs.h
<<\_ACEOF
6233 #define HAVE_LC_MESSAGES 1
6240 for ac_prog
in bison
6242 # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy
$ac_prog; ac_word
=$2
6244 echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6246 if test "${ac_cv_prog_INTLBISON+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 if test -n "$INTLBISON"; then
6250 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_exec_ext
in '' $ac_executable_extensions; do
6258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_INTLBISON
="$ac_prog"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 INTLBISON
=$ac_cv_prog_INTLBISON
6269 if test -n "$INTLBISON"; then
6270 echo "$as_me:$LINENO: result: $INTLBISON" >&5
6271 echo "${ECHO_T}$INTLBISON" >&6
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6277 test -n "$INTLBISON" && break
6280 if test -z "$INTLBISON"; then
6283 echo "$as_me:$LINENO: checking version of bison" >&5
6284 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
6285 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6286 case $ac_prog_version in
6287 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
6288 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
6289 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
6290 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
6292 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
6293 echo "${ECHO_T}$ac_prog_version" >&6
6295 if test $ac_verc_fail = yes; then
6314 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6315 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6316 # Check whether --enable-nls or --disable-nls was given.
6317 if test "${enable_nls+set}" = set; then
6318 enableval
="$enable_nls"
6323 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6324 echo "${ECHO_T}$USE_NLS" >&6
6329 BUILD_INCLUDED_LIBINTL
=no
6330 USE_INCLUDED_LIBINTL
=no
6336 if test "$USE_NLS" = "yes"; then
6337 gt_use_preinstalled_gnugettext
=no
6339 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6340 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6342 # Check whether --with-included-gettext or --without-included-gettext was given.
6343 if test "${with_included_gettext+set}" = set; then
6344 withval
="$with_included_gettext"
6345 nls_cv_force_use_gnu_gettext
=$withval
6347 nls_cv_force_use_gnu_gettext
=no
6349 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6350 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6352 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6353 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6360 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
6361 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
6362 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 cat >conftest.
$ac_ext <<_ACEOF
6368 cat confdefs.h
>>conftest.
$ac_ext
6369 cat >>conftest.
$ac_ext <<_ACEOF
6370 /* end confdefs.h. */
6371 #include <libintl.h>
6372 extern int _nl_msg_cat_cntr;
6373 extern int *_nl_domain_bindings;
6377 bindtextdomain ("", "");
6378 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
6383 rm -f conftest.
$ac_objext conftest
$ac_exeext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6385 (eval $ac_link) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -z "$ac_c_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try
='test -s conftest$ac_exeext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 gt_cv_func_gnugettext1_libc
=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.
$ac_ext >&5
6410 gt_cv_func_gnugettext1_libc
=no
6412 rm -f conftest.err conftest.
$ac_objext \
6413 conftest
$ac_exeext conftest.
$ac_ext
6415 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
6416 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
6418 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
6424 acl_save_prefix
="$prefix"
6425 prefix
="$acl_final_prefix"
6426 acl_save_exec_prefix
="$exec_prefix"
6427 exec_prefix
="$acl_final_exec_prefix"
6429 eval additional_includedir
=\"$includedir\"
6430 eval additional_libdir
=\"$libdir\"
6432 exec_prefix
="$acl_save_exec_prefix"
6433 prefix
="$acl_save_prefix"
6436 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
6437 if test "${with_libintl_prefix+set}" = set; then
6438 withval
="$with_libintl_prefix"
6440 if test "X$withval" = "Xno"; then
6443 if test "X$withval" = "X"; then
6445 acl_save_prefix
="$prefix"
6446 prefix
="$acl_final_prefix"
6447 acl_save_exec_prefix
="$exec_prefix"
6448 exec_prefix
="$acl_final_exec_prefix"
6450 eval additional_includedir
=\"$includedir\"
6451 eval additional_libdir
=\"$libdir\"
6453 exec_prefix
="$acl_save_exec_prefix"
6454 prefix
="$acl_save_prefix"
6457 additional_includedir
="$withval/include"
6458 additional_libdir
="$withval/lib"
6468 names_already_handled
=
6469 names_next_round
='intl '
6470 while test -n "$names_next_round"; do
6471 names_this_round
="$names_next_round"
6473 for name
in $names_this_round; do
6475 for n
in $names_already_handled; do
6476 if test "$n" = "$name"; then
6481 if test -z "$already_handled"; then
6482 names_already_handled
="$names_already_handled $name"
6483 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6484 eval value
=\"\
$HAVE_LIB$uppername\"
6485 if test -n "$value"; then
6486 if test "$value" = yes; then
6487 eval value
=\"\
$LIB$uppername\"
6488 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6489 eval value
=\"\
$LTLIB$uppername\"
6490 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6499 if test $use_additional = yes; then
6500 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6501 found_dir
="$additional_libdir"
6502 found_so
="$additional_libdir/lib$name.$shlibext"
6503 if test -f "$additional_libdir/lib$name.la"; then
6504 found_la
="$additional_libdir/lib$name.la"
6507 if test -f "$additional_libdir/lib$name.$libext"; then
6508 found_dir
="$additional_libdir"
6509 found_a
="$additional_libdir/lib$name.$libext"
6510 if test -f "$additional_libdir/lib$name.la"; then
6511 found_la
="$additional_libdir/lib$name.la"
6516 if test "X$found_dir" = "X"; then
6517 for x
in $LDFLAGS $LTLIBINTL; do
6519 acl_save_prefix
="$prefix"
6520 prefix
="$acl_final_prefix"
6521 acl_save_exec_prefix
="$exec_prefix"
6522 exec_prefix
="$acl_final_exec_prefix"
6524 exec_prefix
="$acl_save_exec_prefix"
6525 prefix
="$acl_save_prefix"
6529 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6530 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6532 found_so
="$dir/lib$name.$shlibext"
6533 if test -f "$dir/lib$name.la"; then
6534 found_la
="$dir/lib$name.la"
6537 if test -f "$dir/lib$name.$libext"; then
6539 found_a
="$dir/lib$name.$libext"
6540 if test -f "$dir/lib$name.la"; then
6541 found_la
="$dir/lib$name.la"
6547 if test "X$found_dir" != "X"; then
6552 if test "X$found_dir" != "X"; then
6553 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6554 if test "X$found_so" != "X"; then
6555 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6556 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6559 for x
in $ltrpathdirs; do
6560 if test "X$x" = "X$found_dir"; then
6565 if test -z "$haveit"; then
6566 ltrpathdirs
="$ltrpathdirs $found_dir"
6568 if test "$hardcode_direct" = yes; then
6569 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6571 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6572 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6574 for x
in $rpathdirs; do
6575 if test "X$x" = "X$found_dir"; then
6580 if test -z "$haveit"; then
6581 rpathdirs
="$rpathdirs $found_dir"
6585 for x
in $LDFLAGS $LIBINTL; do
6587 acl_save_prefix
="$prefix"
6588 prefix
="$acl_final_prefix"
6589 acl_save_exec_prefix
="$exec_prefix"
6590 exec_prefix
="$acl_final_exec_prefix"
6592 exec_prefix
="$acl_save_exec_prefix"
6593 prefix
="$acl_save_prefix"
6595 if test "X$x" = "X-L$found_dir"; then
6600 if test -z "$haveit"; then
6601 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6603 if test "$hardcode_minus_L" != no
; then
6604 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6606 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6612 if test "X$found_a" != "X"; then
6613 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6615 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6618 additional_includedir
=
6619 case "$found_dir" in
6621 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6622 additional_includedir
="$basedir/include"
6625 if test "X$additional_includedir" != "X"; then
6626 if test "X$additional_includedir" != "X/usr/include"; then
6628 if test "X$additional_includedir" = "X/usr/local/include"; then
6629 if test -n "$GCC"; then
6631 linux
*) haveit
=yes;;
6635 if test -z "$haveit"; then
6636 for x
in $CPPFLAGS $INCINTL; do
6638 acl_save_prefix
="$prefix"
6639 prefix
="$acl_final_prefix"
6640 acl_save_exec_prefix
="$exec_prefix"
6641 exec_prefix
="$acl_final_exec_prefix"
6643 exec_prefix
="$acl_save_exec_prefix"
6644 prefix
="$acl_save_prefix"
6646 if test "X$x" = "X-I$additional_includedir"; then
6651 if test -z "$haveit"; then
6652 if test -d "$additional_includedir"; then
6653 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6659 if test -n "$found_la"; then
6660 save_libdir
="$libdir"
6662 */* |
*\\*) .
"$found_la" ;;
6663 *) .
"./$found_la" ;;
6665 libdir
="$save_libdir"
6666 for dep
in $dependency_libs; do
6669 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6670 if test "X$additional_libdir" != "X/usr/lib"; then
6672 if test "X$additional_libdir" = "X/usr/local/lib"; then
6673 if test -n "$GCC"; then
6675 linux
*) haveit
=yes;;
6679 if test -z "$haveit"; then
6681 for x
in $LDFLAGS $LIBINTL; do
6683 acl_save_prefix
="$prefix"
6684 prefix
="$acl_final_prefix"
6685 acl_save_exec_prefix
="$exec_prefix"
6686 exec_prefix
="$acl_final_exec_prefix"
6688 exec_prefix
="$acl_save_exec_prefix"
6689 prefix
="$acl_save_prefix"
6691 if test "X$x" = "X-L$additional_libdir"; then
6696 if test -z "$haveit"; then
6697 if test -d "$additional_libdir"; then
6698 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6702 for x
in $LDFLAGS $LTLIBINTL; do
6704 acl_save_prefix
="$prefix"
6705 prefix
="$acl_final_prefix"
6706 acl_save_exec_prefix
="$exec_prefix"
6707 exec_prefix
="$acl_final_exec_prefix"
6709 exec_prefix
="$acl_save_exec_prefix"
6710 prefix
="$acl_save_prefix"
6712 if test "X$x" = "X-L$additional_libdir"; then
6717 if test -z "$haveit"; then
6718 if test -d "$additional_libdir"; then
6719 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6726 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6727 if test "$enable_rpath" != no
; then
6729 for x
in $rpathdirs; do
6730 if test "X$x" = "X$dir"; then
6735 if test -z "$haveit"; then
6736 rpathdirs
="$rpathdirs $dir"
6739 for x
in $ltrpathdirs; do
6740 if test "X$x" = "X$dir"; then
6745 if test -z "$haveit"; then
6746 ltrpathdirs
="$ltrpathdirs $dir"
6751 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6754 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6757 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6758 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6764 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6765 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6771 if test "X$rpathdirs" != "X"; then
6772 if test -n "$hardcode_libdir_separator"; then
6774 for found_dir
in $rpathdirs; do
6775 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6777 acl_save_libdir
="$libdir"
6779 eval flag
=\"$hardcode_libdir_flag_spec\"
6780 libdir
="$acl_save_libdir"
6781 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6783 for found_dir
in $rpathdirs; do
6784 acl_save_libdir
="$libdir"
6786 eval flag
=\"$hardcode_libdir_flag_spec\"
6787 libdir
="$acl_save_libdir"
6788 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6792 if test "X$ltrpathdirs" != "X"; then
6793 for found_dir
in $ltrpathdirs; do
6794 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6798 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6799 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6800 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 gt_save_CPPFLAGS
="$CPPFLAGS"
6804 CPPFLAGS
="$CPPFLAGS $INCINTL"
6805 gt_save_LIBS
="$LIBS"
6806 LIBS
="$LIBS $LIBINTL"
6807 cat >conftest.
$ac_ext <<_ACEOF
6810 cat confdefs.h
>>conftest.
$ac_ext
6811 cat >>conftest.
$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6813 #include <libintl.h>
6814 extern int _nl_msg_cat_cntr;
6819 const char *_nl_expand_alias ();
6823 bindtextdomain ("", "");
6824 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6829 rm -f conftest.
$ac_objext conftest
$ac_exeext
6830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6831 (eval $ac_link) 2>conftest.er1
6833 grep -v '^ *+' conftest.er1
>conftest.err
6835 cat conftest.err
>&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try
='test -z "$ac_c_werror_flag"
6839 || test ! -s conftest.err'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; } &&
6845 { ac_try
='test -s conftest$ac_exeext'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; }; then
6851 gt_cv_func_gnugettext1_libintl
=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6856 gt_cv_func_gnugettext1_libintl
=no
6858 rm -f conftest.err conftest.
$ac_objext \
6859 conftest
$ac_exeext conftest.
$ac_ext
6860 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6861 LIBS
="$LIBS $LIBICONV"
6862 cat >conftest.
$ac_ext <<_ACEOF
6865 cat confdefs.h
>>conftest.
$ac_ext
6866 cat >>conftest.
$ac_ext <<_ACEOF
6867 /* end confdefs.h. */
6868 #include <libintl.h>
6869 extern int _nl_msg_cat_cntr;
6874 const char *_nl_expand_alias ();
6878 bindtextdomain ("", "");
6879 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6884 rm -f conftest.
$ac_objext conftest
$ac_exeext
6885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6886 (eval $ac_link) 2>conftest.er1
6888 grep -v '^ *+' conftest.er1
>conftest.err
6890 cat conftest.err
>&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } &&
6893 { ac_try
='test -z "$ac_c_werror_flag"
6894 || test ! -s conftest.err'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; } &&
6900 { ac_try
='test -s conftest$ac_exeext'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; }; then
6906 LIBINTL
="$LIBINTL $LIBICONV"
6907 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6908 gt_cv_func_gnugettext1_libintl
=yes
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.
$ac_ext >&5
6915 rm -f conftest.err conftest.
$ac_objext \
6916 conftest
$ac_exeext conftest.
$ac_ext
6918 CPPFLAGS
="$gt_save_CPPFLAGS"
6919 LIBS
="$gt_save_LIBS"
6921 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
6922 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
6925 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6926 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6927 && test "$PACKAGE" != gettext-runtime \
6928 && test "$PACKAGE" != gettext-tools
; }; then
6929 gt_use_preinstalled_gnugettext
=yes
6937 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6938 nls_cv_use_gnu_gettext
=yes
6942 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6943 BUILD_INCLUDED_LIBINTL
=yes
6944 USE_INCLUDED_LIBINTL
=yes
6945 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6946 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6947 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6950 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6951 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6956 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6957 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6959 cat >>confdefs.h
<<\_ACEOF
6960 #define ENABLE_NLS 1
6968 echo "$as_me:$LINENO: checking whether to use NLS" >&5
6969 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
6970 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6971 echo "${ECHO_T}$USE_NLS" >&6
6972 if test "$USE_NLS" = "yes"; then
6973 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
6974 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
6975 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6976 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6977 gt_source
="external libintl"
6982 gt_source
="included intl directory"
6984 echo "$as_me:$LINENO: result: $gt_source" >&5
6985 echo "${ECHO_T}$gt_source" >&6
6988 if test "$USE_NLS" = "yes"; then
6990 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6991 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6992 echo "$as_me:$LINENO: checking how to link with libintl" >&5
6993 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
6994 echo "$as_me:$LINENO: result: $LIBINTL" >&5
6995 echo "${ECHO_T}$LIBINTL" >&6
6997 for element
in $INCINTL; do
6999 for x
in $CPPFLAGS; do
7001 acl_save_prefix
="$prefix"
7002 prefix
="$acl_final_prefix"
7003 acl_save_exec_prefix
="$exec_prefix"
7004 exec_prefix
="$acl_final_exec_prefix"
7006 exec_prefix
="$acl_save_exec_prefix"
7007 prefix
="$acl_save_prefix"
7009 if test "X$x" = "X$element"; then
7014 if test -z "$haveit"; then
7015 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7022 cat >>confdefs.h
<<\_ACEOF
7023 #define HAVE_GETTEXT 1
7027 cat >>confdefs.h
<<\_ACEOF
7028 #define HAVE_DCGETTEXT 1
7037 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
7038 BUILD_INCLUDED_LIBINTL
=yes
7046 nls_cv_header_libgt
=
7057 if test "$USE_INCLUDED_LIBINTL" = yes; then
7058 INTLOBJS
="\$(GETTOBJS)"
7062 INTL_LIBTOOL_SUFFIX_PREFIX
=
7074 # This replaces the extensive use of DEFS in the original Makefile.in.
7076 cat >>confdefs.h
<<\_ACEOF
7077 #define IN_LIBINTL 1
7081 cat >>confdefs.h
<<\_ACEOF
7082 #define IN_LIBRARY 1
7086 cat >>confdefs.h
<<\_ACEOF
7087 #define DEPENDS_ON_LIBICONV 1
7091 cat >>confdefs.h
<<\_ACEOF
7092 #define ENABLE_RELOCATABLE 1
7096 cat >>confdefs.h
<<\_ACEOF
7097 #define NO_XMALLOC 1
7101 cat >>confdefs.h
<<\_ACEOF
7102 #define set_relocation_prefix libintl_set_relocation_prefix
7106 cat >>confdefs.h
<<\_ACEOF
7107 #define relocate libintl_relocate
7111 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7112 for ac_prog
in aclocal
7114 # Extract the first word of "$ac_prog", so it can be a program name with args.
7115 set dummy
$ac_prog; ac_word
=$2
7116 echo "$as_me:$LINENO: checking for $ac_word" >&5
7117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7118 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 if test -n "$ACLOCAL"; then
7122 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
7124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir
=.
7129 for ac_exec_ext
in '' $ac_executable_extensions; do
7130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7131 ac_cv_prog_ACLOCAL
="$ac_prog"
7132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 ACLOCAL
=$ac_cv_prog_ACLOCAL
7141 if test -n "$ACLOCAL"; then
7142 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
7143 echo "${ECHO_T}$ACLOCAL" >&6
7145 echo "$as_me:$LINENO: result: no" >&5
7146 echo "${ECHO_T}no" >&6
7149 test -n "$ACLOCAL" && break
7151 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
7153 for ac_prog
in autoconf
7155 # Extract the first word of "$ac_prog", so it can be a program name with args.
7156 set dummy
$ac_prog; ac_word
=$2
7157 echo "$as_me:$LINENO: checking for $ac_word" >&5
7158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7159 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 if test -n "$AUTOCONF"; then
7163 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
7165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir
=.
7170 for ac_exec_ext
in '' $ac_executable_extensions; do
7171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_AUTOCONF
="$ac_prog"
7173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 AUTOCONF
=$ac_cv_prog_AUTOCONF
7182 if test -n "$AUTOCONF"; then
7183 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
7184 echo "${ECHO_T}$AUTOCONF" >&6
7186 echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6
7190 test -n "$AUTOCONF" && break
7192 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
7194 for ac_prog
in autoheader
7196 # Extract the first word of "$ac_prog", so it can be a program name with args.
7197 set dummy
$ac_prog; ac_word
=$2
7198 echo "$as_me:$LINENO: checking for $ac_word" >&5
7199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7200 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
7201 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 if test -n "$AUTOHEADER"; then
7204 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
7206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir
=.
7211 for ac_exec_ext
in '' $ac_executable_extensions; do
7212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_AUTOHEADER
="$ac_prog"
7214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
7223 if test -n "$AUTOHEADER"; then
7224 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
7225 echo "${ECHO_T}$AUTOHEADER" >&6
7227 echo "$as_me:$LINENO: result: no" >&5
7228 echo "${ECHO_T}no" >&6
7231 test -n "$AUTOHEADER" && break
7233 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
7236 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7237 if test "${enable_maintainer_mode+set}" = set; then
7238 enableval
="$enable_maintainer_mode"
7241 enable_maintainer_mode
=no
7243 if test "x$enable_maintainer_mode" = xno
; then
7250 # Additional info for config.intl.
7256 case $USE_INCLUDED_LIBINTL in
7258 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
7259 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
7260 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
7261 INCINTL
='-I${top_builddir}/../intl'
7265 ac_config_files
="$ac_config_files Makefile config.intl"
7267 cat >confcache
<<\_ACEOF
7268 # This file is a shell script that caches the results of configure
7269 # tests run on this system so they can be shared between configure
7270 # scripts and configure runs, see configure's option --config-cache.
7271 # It is not useful on other systems. If it contains results you don't
7272 # want to keep, you may remove or edit it.
7274 # config.status only pays attention to the cache file if you give it
7275 # the --recheck option to rerun configure.
7277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7283 # The following way of writing the cache mishandles newlines in values,
7284 # but we know of no workaround that is simple, portable, and efficient.
7285 # So, don't put newlines in cache variables' values.
7286 # Ultrix sh set writes to stderr and can't be redirected directly,
7287 # and sets the high bit in the cache file unless we assign to the vars.
7290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7292 # `set' does not quote correctly, so add quotes (double-quote
7293 # substitution turns \\\\ into \\, and sed turns \\ into \).
7296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7299 # `set' quotes correctly as required by POSIX, so do not add quotes.
7301 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7310 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7312 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7313 if test -w $cache_file; then
7314 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7315 cat confcache
>$cache_file
7317 echo "not updating unwritable cache $cache_file"
7322 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7323 # Let make expand exec_prefix.
7324 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7328 # trailing colons and then remove the whole line if VPATH becomes empty
7329 # (actually we leave an empty line to preserve line numbers).
7330 if test "x$srcdir" = x.
; then
7331 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7332 s/:*\$(srcdir):*/:/;
7333 s/:*\${srcdir}:*/:/;
7335 s/^\([^=]*=[ ]*\):*/\1/;
7341 DEFS
=-DHAVE_CONFIG_H
7345 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7346 # 1. Remove the extension, and $U if already installed.
7347 ac_i
=`echo "$ac_i" |
7348 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7350 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7351 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7355 LTLIBOBJS
=$ac_ltlibobjs
7359 : ${CONFIG_STATUS=./config.status}
7360 ac_clean_files_save
=$ac_clean_files
7361 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7362 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7363 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7364 cat >$CONFIG_STATUS <<_ACEOF
7366 # Generated by $as_me.
7367 # Run this file to recreate the current configuration.
7368 # Compiler output produced by configure, useful for debugging
7369 # configure, is in config.log if it exists.
7374 SHELL=\${CONFIG_SHELL-$SHELL}
7377 cat >>$CONFIG_STATUS <<\_ACEOF
7378 ## --------------------- ##
7379 ## M4sh Initialization. ##
7380 ## --------------------- ##
7382 # Be Bourne compatible
7383 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7386 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7387 # is contrary to our usage. Disable this feature.
7388 alias -g '${1+"$@"}'='"$@"'
7389 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7392 DUALCASE
=1; export DUALCASE
# for MKS sh
7394 # Support unset when possible.
7395 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7402 # Work around bugs in pre-3.0 UWIN ksh.
7403 $as_unset ENV MAIL MAILPATH
7410 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7411 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7412 LC_TELEPHONE LC_TIME
7414 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7415 eval $as_var=C
; export $as_var
7421 # Required to use basename.
7422 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7428 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7429 as_basename
=basename
7435 # Name of the executable.
7436 as_me
=`$as_basename "$0" ||
7437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7438 X"$0" : 'X\(//\)$' \| \
7439 X"$0" : 'X\(/\)$' \| \
7440 . : '\(.\)' 2>/dev/null ||
7442 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7443 /^X\/\(\/\/\)$/{ s//\1/; q; }
7444 /^X\/\(\/\).*/{ s//\1/; q; }
7448 # PATH needs CR, and LINENO needs CR and PATH.
7449 # Avoid depending upon Character Ranges.
7450 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7451 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7452 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7453 as_cr_digits
='0123456789'
7454 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7456 # The user is always right.
7457 if test "${PATH_SEPARATOR+set}" != set; then
7458 echo "#! /bin/sh" >conf$$.sh
7459 echo "exit 0" >>conf$$.sh
7461 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7472 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7473 test "x$as_lineno_1" != "x$as_lineno_2" &&
7474 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7475 # Find who we are. Look in the path if we contain no path at all
7478 *[\\/]* ) as_myself
=$0 ;;
7479 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7483 test -z "$as_dir" && as_dir
=.
7484 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7489 # We did not find ourselves, most probably we were run as `sh COMMAND'
7490 # in which case we are not to be found in the path.
7491 if test "x$as_myself" = x
; then
7494 if test ! -f "$as_myself"; then
7495 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7496 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7497 { (exit 1); exit 1; }; }
7499 case $CONFIG_SHELL in
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7502 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7505 test -z "$as_dir" && as_dir
=.
7506 for as_base
in sh bash ksh sh5
; do
7509 if ("$as_dir/$as_base" -c '
7512 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7513 test "x$as_lineno_1" != "x$as_lineno_2" &&
7514 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7515 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7516 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7517 CONFIG_SHELL
=$as_dir/$as_base
7519 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7527 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7528 # uniformly replaced by the line number. The first 'sed' inserts a
7529 # line-number line before each line; the second 'sed' does the real
7530 # work. The second script uses 'N' to pair each line-number line
7531 # with the numbered line, and appends trailing '-' during
7532 # substitution so that $LINENO is not a special case at line end.
7533 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7534 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7535 sed '=' <$as_myself |
7540 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7543 s,^['$as_cr_digits']*\n,,
7545 chmod +x
$as_me.lineno ||
7546 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7547 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7548 { (exit 1); exit 1; }; }
7550 # Don't try to exec as it changes $[0], causing all sort of problems
7551 # (the dirname of $[0] is not the place where we might find the
7552 # original and so on. Autoconf is especially sensible to this).
7554 # Exit status is that of the last command.
7559 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7560 *c
*,-n*) ECHO_N
= ECHO_C
='
7562 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7563 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7566 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7572 rm -f conf$$ conf$$.exe conf$$.
file
7574 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7575 # We could just check for DJGPP; but this test a) works b) is more generic
7576 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7577 if test -f conf$$.exe
; then
7578 # Don't use ln at all; we don't have any links
7583 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7588 rm -f conf$$ conf$$.exe conf$$.
file
7590 if mkdir
-p .
2>/dev
/null
; then
7593 test -d .
/-p && rmdir .
/-p
7597 as_executable_p
="test -f"
7599 # Sed expression to map a string onto a valid CPP name.
7600 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7602 # Sed expression to map a string onto a valid variable name.
7603 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7607 # We need space, tab and new line, in precisely that order.
7617 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7618 # report actual input values of CONFIG_FILES etc. instead of their
7619 # values after options handling. Logging --version etc. is OK.
7623 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7624 ## Running $as_me. ##
7629 This file was extended by $as_me, which was
7630 generated by GNU Autoconf 2.59. Invocation command line was
7632 CONFIG_FILES = $CONFIG_FILES
7633 CONFIG_HEADERS = $CONFIG_HEADERS
7634 CONFIG_LINKS = $CONFIG_LINKS
7635 CONFIG_COMMANDS = $CONFIG_COMMANDS
7639 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7643 # Files that config.status was made for.
7644 if test -n "$ac_config_files"; then
7645 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7648 if test -n "$ac_config_headers"; then
7649 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7652 if test -n "$ac_config_links"; then
7653 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7656 if test -n "$ac_config_commands"; then
7657 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7660 cat >>$CONFIG_STATUS <<\_ACEOF
7663 \`$as_me' instantiates files from templates according to the
7664 current configuration.
7666 Usage: $0 [OPTIONS] [FILE]...
7668 -h, --help print this help, then exit
7669 -V, --version print version number, then exit
7670 -q, --quiet do not print progress messages
7671 -d, --debug don't remove temporary files
7672 --recheck update $as_me by reconfiguring in the same conditions
7673 --file=FILE[:TEMPLATE]
7674 instantiate the configuration file FILE
7675 --header=FILE[:TEMPLATE]
7676 instantiate the configuration header FILE
7678 Configuration files:
7681 Configuration headers:
7684 Configuration commands:
7687 Report bugs to <bug-autoconf@gnu.org>."
7690 cat >>$CONFIG_STATUS <<_ACEOF
7693 configured by $0, generated by GNU Autoconf 2.59,
7694 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7696 Copyright (C) 2003 Free Software Foundation, Inc.
7697 This config.status script is free software; the Free Software Foundation
7698 gives unlimited permission to copy, distribute and modify it."
7703 cat >>$CONFIG_STATUS <<\_ACEOF
7704 # If no file are specified by the user, then we need to provide default
7705 # value. By we need to know if files were specified by the user.
7711 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7712 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7720 *) # This is not an option, so the user has probably given explicit
7723 ac_need_defaults
=false
;;
7727 # Handling of the options.
7729 cat >>$CONFIG_STATUS <<\_ACEOF
7730 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7732 --version |
--vers* |
-V )
7733 echo "$ac_cs_version"; exit 0 ;;
7735 # Conflict between --help and --header
7736 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7737 Try \`$0 --help' for more information." >&5
7738 echo "$as_me: error: ambiguous option: $1
7739 Try \`$0 --help' for more information." >&2;}
7740 { (exit 1); exit 1; }; };;
7741 --help |
--hel |
-h )
7742 echo "$ac_cs_usage"; exit 0 ;;
7743 --debug |
--d* |
-d )
7745 --file |
--fil |
--fi |
--f )
7747 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7748 ac_need_defaults
=false
;;
7749 --header |
--heade |
--head |
--hea )
7751 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7752 ac_need_defaults
=false
;;
7753 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7754 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7758 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7759 Try \`$0 --help' for more information." >&5
7760 echo "$as_me: error: unrecognized option: $1
7761 Try \`$0 --help' for more information." >&2;}
7762 { (exit 1); exit 1; }; } ;;
7764 *) ac_config_targets
="$ac_config_targets $1" ;;
7770 ac_configure_extra_args
=
7772 if $ac_cs_silent; then
7774 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7778 cat >>$CONFIG_STATUS <<_ACEOF
7779 if \$ac_cs_recheck; then
7780 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7781 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7786 cat >>$CONFIG_STATUS <<_ACEOF
7788 # INIT-COMMANDS section.
7791 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7792 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7794 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7795 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7796 LINGUAS="${LINGUAS-%UNSET%}"
7803 cat >>$CONFIG_STATUS <<\_ACEOF
7804 for ac_config_target
in $ac_config_targets
7806 case "$ac_config_target" in
7807 # Handling of arguments.
7808 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7809 "config.intl" ) CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7810 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7811 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7812 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7813 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7814 { (exit 1); exit 1; }; };;
7818 # If the user did not use the arguments to specify the items to instantiate,
7819 # then the envvar interface is used. Set only those that are not.
7820 # We use the long form for the default assignment because of an extremely
7821 # bizarre bug on SunOS 4.1.3.
7822 if $ac_need_defaults; then
7823 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7824 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7825 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7828 # Have a temporary directory for convenience. Make it in the build tree
7829 # simply because there is no reason to put it here, and in addition,
7830 # creating and moving files from /tmp can sometimes cause problems.
7831 # Create a temporary directory, and hook for its removal unless debugging.
7834 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7835 trap '{ (exit 1); exit 1; }' 1 2 13 15
7838 # Create a (secure) tmp directory for tmp files.
7841 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7842 test -n "$tmp" && test -d "$tmp"
7845 tmp
=.
/confstat$$
-$RANDOM
7846 (umask 077 && mkdir
$tmp)
7849 echo "$me: cannot create a temporary directory in ." >&2
7850 { (exit 1); exit 1; }
7855 cat >>$CONFIG_STATUS <<_ACEOF
7858 # CONFIG_FILES section.
7861 # No need to generate the scripts if there are no CONFIG_FILES.
7862 # This happens for instance when ./config.status config.h
7863 if test -n "\$CONFIG_FILES"; then
7864 # Protect against being on the right side of a sed subst in config.status.
7865 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7866 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7867 s,@SHELL@,$SHELL,;t t
7868 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7869 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7870 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7871 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7872 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7873 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7874 s,@exec_prefix@,$exec_prefix,;t t
7875 s,@prefix@,$prefix,;t t
7876 s,@program_transform_name@,$program_transform_name,;t t
7877 s,@bindir@,$bindir,;t t
7878 s,@sbindir@,$sbindir,;t t
7879 s,@libexecdir@,$libexecdir,;t t
7880 s,@datadir@,$datadir,;t t
7881 s,@sysconfdir@,$sysconfdir,;t t
7882 s,@sharedstatedir@,$sharedstatedir,;t t
7883 s,@localstatedir@,$localstatedir,;t t
7884 s,@libdir@,$libdir,;t t
7885 s,@includedir@,$includedir,;t t
7886 s,@oldincludedir@,$oldincludedir,;t t
7887 s,@infodir@,$infodir,;t t
7888 s,@mandir@,$mandir,;t t
7889 s,@build_alias@,$build_alias,;t t
7890 s,@host_alias@,$host_alias,;t t
7891 s,@target_alias@,$target_alias,;t t
7893 s,@ECHO_C@,$ECHO_C,;t t
7894 s,@ECHO_N@,$ECHO_N,;t t
7895 s,@ECHO_T@,$ECHO_T,;t t
7897 s,@SET_MAKE@,$SET_MAKE,;t t
7898 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7899 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7900 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7901 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7902 s,@USE_NLS@,$USE_NLS,;t t
7903 s,@MSGFMT@,$MSGFMT,;t t
7904 s,@GMSGFMT@,$GMSGFMT,;t t
7905 s,@XGETTEXT@,$XGETTEXT,;t t
7906 s,@MSGMERGE@,$MSGMERGE,;t t
7908 s,@CFLAGS@,$CFLAGS,;t t
7909 s,@LDFLAGS@,$LDFLAGS,;t t
7910 s,@CPPFLAGS@,$CPPFLAGS,;t t
7911 s,@ac_ct_CC@,$ac_ct_CC,;t t
7912 s,@EXEEXT@,$EXEEXT,;t t
7913 s,@OBJEXT@,$OBJEXT,;t t
7914 s,@build@,$build,;t t
7915 s,@build_cpu@,$build_cpu,;t t
7916 s,@build_vendor@,$build_vendor,;t t
7917 s,@build_os@,$build_os,;t t
7919 s,@host_cpu@,$host_cpu,;t t
7920 s,@host_vendor@,$host_vendor,;t t
7921 s,@host_os@,$host_os,;t t
7922 s,@RANLIB@,$RANLIB,;t t
7923 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7925 s,@EGREP@,$EGREP,;t t
7926 s,@ALLOCA@,$ALLOCA,;t t
7927 s,@GLIBC21@,$GLIBC21,;t t
7928 s,@LIBICONV@,$LIBICONV,;t t
7929 s,@LTLIBICONV@,$LTLIBICONV,;t t
7930 s,@INTLBISON@,$INTLBISON,;t t
7931 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7932 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7933 s,@CATOBJEXT@,$CATOBJEXT,;t t
7934 s,@DATADIRNAME@,$DATADIRNAME,;t t
7935 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7936 s,@GENCAT@,$GENCAT,;t t
7937 s,@INTLOBJS@,$INTLOBJS,;t t
7938 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7939 s,@INTLLIBS@,$INTLLIBS,;t t
7940 s,@LIBINTL@,$LIBINTL,;t t
7941 s,@LTLIBINTL@,$LTLIBINTL,;t t
7942 s,@POSUB@,$POSUB,;t t
7943 s,@ACLOCAL@,$ACLOCAL,;t t
7944 s,@AUTOCONF@,$AUTOCONF,;t t
7945 s,@AUTOHEADER@,$AUTOHEADER,;t t
7946 s,@MAINT@,$MAINT,;t t
7947 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7948 s,@INCINTL@,$INCINTL,;t t
7949 s,@LIBOBJS@,$LIBOBJS,;t t
7950 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7955 cat >>$CONFIG_STATUS <<\_ACEOF
7956 # Split the substitutions into bite-sized pieces for seds with
7957 # small command number limits, like on Digital OSF/1 and HP-UX.
7959 ac_sed_frag
=1 # Number of current file.
7960 ac_beg
=1 # First line for current file.
7961 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7964 while $ac_more_lines; do
7965 if test $ac_beg -gt 1; then
7966 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7968 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7970 if test ! -s $tmp/subs.frag
; then
7973 # The purpose of the label and of the branching condition is to
7974 # speed up the sed processing (if there are no `@' at all, there
7975 # is no need to browse any of the substitutions).
7976 # These are the two extra sed commands mentioned above.
7978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7979 if test -z "$ac_sed_cmds"; then
7980 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7982 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7984 ac_sed_frag
=`expr $ac_sed_frag + 1`
7986 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7989 if test -z "$ac_sed_cmds"; then
7992 fi # test -n "$CONFIG_FILES"
7995 cat >>$CONFIG_STATUS <<\_ACEOF
7996 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7997 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7999 - |
*:- |
*:-:* ) # input from stdin
8001 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8002 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8003 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8004 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8005 * ) ac_file_in
=$ac_file.
in ;;
8008 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8009 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8011 X"$ac_file" : 'X\(//\)[^/]' \| \
8012 X"$ac_file" : 'X\(//\)$' \| \
8013 X"$ac_file" : 'X\(/\)' \| \
8014 . : '\(.\)' 2>/dev/null ||
8016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8018 /^X\(\/\/\)$/{ s//\1/; q; }
8019 /^X\(\/\).*/{ s//\1/; q; }
8021 { if $as_mkdir_p; then
8026 while test ! -d "$as_dir"; do
8027 as_dirs
="$as_dir $as_dirs"
8028 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8030 X"$as_dir" : 'X\(//\)[^/]' \| \
8031 X"$as_dir" : 'X\(//\)$' \| \
8032 X"$as_dir" : 'X\(/\)' \| \
8033 . : '\(.\)' 2>/dev/null ||
8035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8037 /^X\(\/\/\)$/{ s//\1/; q; }
8038 /^X\(\/\).*/{ s//\1/; q; }
8041 test ! -n "$as_dirs" || mkdir
$as_dirs
8042 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8043 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8044 { (exit 1); exit 1; }; }; }
8048 if test "$ac_dir" != .
; then
8049 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8050 # A "../" for each directory in $ac_dir_suffix.
8051 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8053 ac_dir_suffix
= ac_top_builddir
=
8057 .
) # No --srcdir option. We are building in place.
8059 if test -z "$ac_top_builddir"; then
8062 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8064 [\\/]* | ?
:[\\/]* ) # Absolute path.
8065 ac_srcdir
=$srcdir$ac_dir_suffix;
8066 ac_top_srcdir
=$srcdir ;;
8068 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8069 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8072 # Do not use `cd foo && pwd` to compute absolute paths, because
8073 # the directories may not exist.
8075 .
) ac_abs_builddir
="$ac_dir";;
8078 .
) ac_abs_builddir
=`pwd`;;
8079 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8080 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8083 case $ac_abs_builddir in
8084 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8086 case ${ac_top_builddir}.
in
8087 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8088 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8089 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8092 case $ac_abs_builddir in
8093 .
) ac_abs_srcdir
=$ac_srcdir;;
8096 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8097 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8098 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8101 case $ac_abs_builddir in
8102 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8104 case $ac_top_srcdir in
8105 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8106 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8107 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8113 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8114 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8117 if test x
"$ac_file" != x-
; then
8118 { echo "$as_me:$LINENO: creating $ac_file" >&5
8119 echo "$as_me: creating $ac_file" >&6;}
8122 # Let's still pretend it is `configure' which instantiates (i.e., don't
8123 # use $as_me), people would be surprised to read:
8124 # /* config.h. Generated by config.status. */
8125 if test x
"$ac_file" = x-
; then
8128 configure_input
="$ac_file. "
8130 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8131 sed 's,.*/,,'` by configure."
8133 # First look for the input files in the build tree, otherwise in the
8135 ac_file_inputs
=`IFS=:
8136 for f in $ac_file_in; do
8138 -) echo $tmp/stdin ;;
8140 # Absolute (can't be DOS-style, as IFS=:)
8141 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8142 echo "$as_me: error: cannot find input file: $f" >&2;}
8143 { (exit 1); exit 1; }; }
8146 if test -f "$f"; then
8149 elif test -f "$srcdir/$f"; then
8154 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8155 echo "$as_me: error: cannot find input file: $f" >&2;}
8156 { (exit 1); exit 1; }; }
8159 done` ||
{ (exit 1); exit 1; }
8161 cat >>$CONFIG_STATUS <<_ACEOF
8165 cat >>$CONFIG_STATUS <<\_ACEOF
8167 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8168 s
,@configure_input@
,$configure_input,;t t
8169 s
,@srcdir@
,$ac_srcdir,;t t
8170 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8171 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8172 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8173 s
,@builddir@
,$ac_builddir,;t t
8174 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8175 s
,@top_builddir@
,$ac_top_builddir,;t t
8176 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8177 s
,@INSTALL@
,$ac_INSTALL,;t t
8178 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8180 if test x"$ac_file" != x-; then
8181 mv $tmp/out $ac_file
8189 cat >>$CONFIG_STATUS <<\_ACEOF
8192 # CONFIG_HEADER section.
8195 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8196 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8198 # ac_d sets the value in "#define NAME VALUE" lines.
8199 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8200 ac_dB
='[ ].*$,\1#\2'
8203 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8204 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8205 ac_uB
='$,\1#\2define\3'
8209 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8212 - |
*:- |
*:-:* ) # input from stdin
8214 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8215 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8216 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8217 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8218 * ) ac_file_in
=$ac_file.
in ;;
8221 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8222 echo "$as_me: creating $ac_file" >&6;}
8224 # First look for the input files in the build tree, otherwise in the
8226 ac_file_inputs
=`IFS=:
8227 for f in $ac_file_in; do
8229 -) echo $tmp/stdin ;;
8231 # Absolute (can't be DOS-style, as IFS=:)
8232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8233 echo "$as_me: error: cannot find input file: $f" >&2;}
8234 { (exit 1); exit 1; }; }
8235 # Do quote $f, to prevent DOS paths from being IFS'd.
8238 if test -f "$f"; then
8241 elif test -f "$srcdir/$f"; then
8246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8247 echo "$as_me: error: cannot find input file: $f" >&2;}
8248 { (exit 1); exit 1; }; }
8251 done` ||
{ (exit 1); exit 1; }
8252 # Remove the trailing spaces.
8253 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8257 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8258 # `conftest.undefs', that substitutes the proper values into
8259 # config.h.in to produce config.h. The first handles `#define'
8260 # templates, and the second `#undef' templates.
8261 # And first: Protect against being on the right side of a sed subst in
8262 # config.status. Protect against being in an unquoted here document
8264 rm -f conftest.defines conftest.undefs
8265 # Using a here document instead of a string reduces the quoting nightmare.
8266 # Putting comments in sed scripts is not portable.
8268 # `end' is used to avoid that the second main sed command (meant for
8269 # 0-ary CPP macros) applies to n-ary macro definitions.
8270 # See the Autoconf documentation for `clear'.
8271 cat >confdef2sed.
sed <<\_ACEOF
8276 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8278 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8281 # If some macros were called several times there might be several times
8282 # the same #defines, which is useless. Nevertheless, we may not want to
8283 # sort them, since we want the *last* AC-DEFINE to be honored.
8284 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8285 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8286 rm -f confdef2sed.sed
8288 # This sed command replaces #undef with comments. This is necessary, for
8289 # example, in the case of _POSIX_SOURCE, which is predefined and required
8290 # on some systems where configure will not decide to define it.
8291 cat >>conftest.undefs <<\_ACEOF
8292 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8295 # Break up conftest.defines because some shells have a limit on the size
8296 # of here documents, and old seds have small limits too (100 cmds).
8297 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8298 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8299 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8300 echo ' :' >>$CONFIG_STATUS
8302 while grep . conftest.defines >/dev/null
8304 # Write a limited-size here document to $tmp/defines.sed.
8305 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8306 # Speed up: don't consider the non `#define' lines.
8307 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8308 # Work around the forget-to-reset-the-flag bug.
8309 echo 't clr' >>$CONFIG_STATUS
8310 echo ': clr' >>$CONFIG_STATUS
8311 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8313 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8317 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8318 rm -f conftest.defines
8319 mv conftest.
tail conftest.defines
8321 rm -f conftest.defines
8322 echo ' fi # grep' >>$CONFIG_STATUS
8323 echo >>$CONFIG_STATUS
8325 # Break up conftest.undefs because some shells have a limit on the size
8326 # of here documents, and old seds have small limits too (100 cmds).
8327 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8329 while grep . conftest.undefs
>/dev
/null
8331 # Write a limited-size here document to $tmp/undefs.sed.
8332 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8333 # Speed up: don't consider the non
`#undef'
8334 echo '/^[ ]*#[ ]*undef/!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.undefs >>$CONFIG_STATUS
8340 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8344 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8345 rm -f conftest.undefs
8346 mv conftest.tail conftest.undefs
8348 rm -f conftest.undefs
8350 cat >>$CONFIG_STATUS <<\_ACEOF
8351 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8352 # use $as_me), people would be surprised to read:
8353 # /* config.h. Generated by config.status. */
8354 if test x
"$ac_file" = x-
; then
8355 echo "/* Generated by configure. */" >$tmp/config.h
8357 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8359 cat $tmp/in >>$tmp/config.h
8361 if test x
"$ac_file" != x-
; then
8362 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8363 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8364 echo "$as_me: $ac_file is unchanged" >&6;}
8366 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8368 X"$ac_file" : 'X\(//\)[^/]' \| \
8369 X"$ac_file" : 'X\(//\)$' \| \
8370 X"$ac_file" : 'X\(/\)' \| \
8371 . : '\(.\)' 2>/dev/null ||
8373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8375 /^X\(\/\/\)$/{ s//\1/; q; }
8376 /^X\(\/\).*/{ s//\1/; q; }
8378 { if $as_mkdir_p; then
8383 while test ! -d "$as_dir"; do
8384 as_dirs
="$as_dir $as_dirs"
8385 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8387 X"$as_dir" : 'X\(//\)[^/]' \| \
8388 X"$as_dir" : 'X\(//\)$' \| \
8389 X"$as_dir" : 'X\(/\)' \| \
8390 . : '\(.\)' 2>/dev/null ||
8392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8394 /^X\(\/\/\)$/{ s//\1/; q; }
8395 /^X\(\/\).*/{ s//\1/; q; }
8398 test ! -n "$as_dirs" || mkdir
$as_dirs
8399 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8401 { (exit 1); exit 1; }; }; }
8404 mv $tmp/config.h
$ac_file
8412 cat >>$CONFIG_STATUS <<\_ACEOF
8415 # CONFIG_COMMANDS section.
8417 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8418 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8419 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8420 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8421 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8422 X"$ac_dest" : 'X\(//\)[^/]' \| \
8423 X"$ac_dest" : 'X\(//\)$' \| \
8424 X"$ac_dest" : 'X\(/\)' \| \
8425 . : '\(.\)' 2>/dev/null ||
8427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8429 /^X\(\/\/\)$/{ s//\1/; q; }
8430 /^X\(\/\).*/{ s//\1/; q; }
8432 { if $as_mkdir_p; then
8437 while test ! -d "$as_dir"; do
8438 as_dirs
="$as_dir $as_dirs"
8439 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8441 X"$as_dir" : 'X\(//\)[^/]' \| \
8442 X"$as_dir" : 'X\(//\)$' \| \
8443 X"$as_dir" : 'X\(/\)' \| \
8444 . : '\(.\)' 2>/dev/null ||
8446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8448 /^X\(\/\/\)$/{ s//\1/; q; }
8449 /^X\(\/\).*/{ s//\1/; q; }
8452 test ! -n "$as_dirs" || mkdir
$as_dirs
8453 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8455 { (exit 1); exit 1; }; }; }
8459 if test "$ac_dir" != .
; then
8460 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8461 # A "../" for each directory in $ac_dir_suffix.
8462 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8464 ac_dir_suffix
= ac_top_builddir
=
8468 .
) # No --srcdir option. We are building in place.
8470 if test -z "$ac_top_builddir"; then
8473 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8475 [\\/]* | ?
:[\\/]* ) # Absolute path.
8476 ac_srcdir
=$srcdir$ac_dir_suffix;
8477 ac_top_srcdir
=$srcdir ;;
8479 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8480 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8483 # Do not use `cd foo && pwd` to compute absolute paths, because
8484 # the directories may not exist.
8486 .
) ac_abs_builddir
="$ac_dir";;
8489 .
) ac_abs_builddir
=`pwd`;;
8490 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8491 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8494 case $ac_abs_builddir in
8495 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8497 case ${ac_top_builddir}.
in
8498 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8499 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8500 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8503 case $ac_abs_builddir in
8504 .
) ac_abs_srcdir
=$ac_srcdir;;
8507 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8508 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8509 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8512 case $ac_abs_builddir in
8513 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8515 case $ac_top_srcdir in
8516 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8517 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8518 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8523 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8524 echo "$as_me: executing $ac_dest commands" >&6;}
8527 for ac_file
in $CONFIG_FILES; do
8528 # Support "outfile[:infile[:infile...]]"
8530 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8532 # PO directories have a Makefile.in generated from Makefile.in.in.
8533 case "$ac_file" in */Makefile.
in)
8534 # Adjust a relative srcdir.
8535 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8536 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8537 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8538 # In autoconf-2.13 it is called $ac_given_srcdir.
8539 # In autoconf-2.50 it is called $srcdir.
8540 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8541 case "$ac_given_srcdir" in
8542 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8543 /*) top_srcdir
="$ac_given_srcdir" ;;
8544 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8546 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8547 rm -f "$ac_dir/POTFILES"
8548 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8549 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8550 POMAKEFILEDEPS
="POTFILES.in"
8551 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8552 # on $ac_dir but don't depend on user-specified configuration
8554 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8555 # The LINGUAS file contains the set of available languages.
8556 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8557 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8559 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8560 # Hide the ALL_LINGUAS assigment from automake.
8561 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8562 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8564 # The set of available languages was given in configure.in.
8565 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8567 case "$ac_given_srcdir" in
8569 *) srcdirpre
='$(srcdir)/' ;;
8575 for lang
in $ALL_LINGUAS; do
8576 POFILES
="$POFILES $srcdirpre$lang.po"
8577 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8578 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8579 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8581 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8582 # environment variable.
8584 if test -n "$ALL_LINGUAS"; then
8585 for presentlang
in $ALL_LINGUAS; do
8587 if test "%UNSET%" != "$LINGUAS"; then
8588 desiredlanguages
="$LINGUAS"
8590 desiredlanguages
="$ALL_LINGUAS"
8592 for desiredlang
in $desiredlanguages; do
8593 # Use the presentlang catalog if desiredlang is
8594 # a. equal to presentlang, or
8595 # b. a variant of presentlang (because in this case,
8596 # presentlang can be used as a fallback for messages
8597 # which are not translated in the desiredlang catalog).
8598 case "$desiredlang" in
8599 "$presentlang"*) useit
=yes;;
8602 if test $useit = yes; then
8603 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8608 if test -n "$INST_LINGUAS"; then
8609 for lang
in $INST_LINGUAS; do
8610 CATALOGS
="$CATALOGS $lang.gmo"
8613 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8614 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"
8615 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8616 if test -f "$f"; then
8618 *.orig |
*.bak |
*~
) ;;
8619 *) cat "$f" >> "$ac_dir/Makefile" ;;
8631 cat >>$CONFIG_STATUS <<\_ACEOF
8633 { (exit 0); exit 0; }
8635 chmod +x
$CONFIG_STATUS
8636 ac_clean_files
=$ac_clean_files_save
8639 # configure is writing to config.log, and then calls config.status.
8640 # config.status does its own redirection, appending to config.log.
8641 # Unfortunately, on DOS this fails, as config.log is still kept open
8642 # by configure, so config.status won't be able to write to it; its
8643 # output is simply discarded. So we exec the FD to /dev/null,
8644 # effectively closing config.log, so it can be properly (re)opened and
8645 # appended to by config.status. When coming back to configure, we
8646 # need to make the FD available again.
8647 if test "$no_create" != yes; then
8649 ac_config_status_args
=
8650 test "$silent" = yes &&
8651 ac_config_status_args
="$ac_config_status_args --quiet"
8653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8656 # would make configure fail if this is the last instruction.
8657 $ac_cs_success ||
{ (exit 1); exit 1; }