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 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
851 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
852 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
853 --with-gnu-ld assume the C compiler uses GNU ld default
=no
854 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
855 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
856 --with-included-gettext use the GNU gettext library included here
857 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
858 --without-libintl-prefix don't search
for libintl
in includedir and libdir
860 Some influential environment variables
:
861 CC C compiler
command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo
&& pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
968 Copyright (C) 2003 Free Software Foundation, Inc.
969 This configure script is free software; the Free Software Foundation
970 gives unlimited permission to copy, distribute and modify it.
976 This file contains any messages produced by compilers while
977 running configure, to aid debugging if configure makes a mistake.
979 It was created by $as_me, which was
980 generated by GNU Autoconf 2.59. Invocation command line was
991 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
992 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
993 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
994 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
995 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
998 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1000 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1001 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1002 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1003 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1004 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1006 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1014 test -z "$as_dir" && as_dir=.
1015 echo "PATH: $as_dir"
1030 # Keep a trace of the command line.
1031 # Strip out --no-create and --no-recursion so they do not pile up.
1032 # Strip out --silent because we don't want to record it for future runs.
1033 # Also quote any args containing shell meta-characters.
1034 # Make two passes to allow for proper duplicate-argument suppression.
1039 ac_must_keep_next=false
1045 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1049 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1050 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1053 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1056 if test $ac_must_keep_next = true; then
1057 ac_must_keep_next=false # Got value, back to normal.
1060 *=* | --config-cache | -C | -disable-* | --disable-* \
1061 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1062 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1063 | -with-* | --with-* | -without-* | --without-* | --x)
1064 case "$ac_configure_args0 " in
1065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068 -* ) ac_must_keep_next=true ;;
1071 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1072 # Get rid of the leading space.
1078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081 # When interrupted or exit'd, cleanup temporary files, and complete
1082 # config.log. We remove comments because anyway the quotes in there
1083 # would cause problems or look ugly.
1084 # WARNING: Be sure not to use single quotes in there, as some shells,
1085 # such as our DU 5.0 friend, will then `close
' the trap.
1086 trap 'exit_status
=$?
1087 # Save into config.log some information that might help in debugging.
1092 ## ---------------- ##
1093 ## Cache variables. ##
1094 ## ---------------- ##
1097 # The following way of writing the cache mishandles newlines in values,
1100 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1108 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1115 ## ----------------- ##
1116 ## Output variables. ##
1117 ## ----------------- ##
1120 for ac_var
in $ac_subst_vars
1122 eval ac_val
=$
`echo $ac_var`
1123 echo "$ac_var='"'"'$ac_val'"'"'"
1127 if test -n "$ac_subst_files"; then
1134 for ac_var
in $ac_subst_files
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -s confdefs.h
; then
1149 sed "/^$/d" confdefs.h |
sort
1152 test "$ac_signal" != 0 &&
1153 echo "$as_me: caught signal $ac_signal"
1154 echo "$as_me: exit $exit_status"
1156 rm -f core
*.core
&&
1157 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1160 for ac_signal in 1 2 13 15; do
1161 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1166 rm -rf conftest* confdefs.h
1167 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 # Predefined preprocessor variables.
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_NAME "$PACKAGE_NAME"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_STRING "$PACKAGE_STRING"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1197 # Let the site file select an alternate cache file if it wants to.
1198 # Prefer explicitly selected file to automatically selected ones.
1199 if test -z "$CONFIG_SITE"; then
1200 if test "x$prefix" != xNONE; then
1201 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206 for ac_site_file in $CONFIG_SITE; do
1207 if test -r "$ac_site_file"; then
1208 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1209 echo "$as_me: loading site script $ac_site_file" >&6;}
1210 sed 's
/^
/|
/' "$ac_site_file" >&5
1215 if test -r "$cache_file"; then
1216 # Some versions of bash will fail to source /dev/null (special
1217 # files actually), so we avoid doing that.
1218 if test -f "$cache_file"; then
1219 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1220 echo "$as_me: loading cache $cache_file" >&6;}
1222 [\\/]* | ?:[\\/]* ) . $cache_file;;
1223 *) . ./$cache_file;;
1227 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1228 echo "$as_me: creating cache $cache_file" >&6;}
1232 # Check that the precious variables saved in the cache have kept the same
1234 ac_cache_corrupted=false
1235 for ac_var in `(set) 2>&1 |
1236 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1237 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1238 eval ac_new_set=\$ac_env_${ac_var}_set
1239 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1240 eval ac_new_val="\$ac_env_${ac_var}_value"
1241 case $ac_old_set,$ac_new_set in
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1245 ac_cache_corrupted=: ;;
1247 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1249 ac_cache_corrupted=: ;;
1252 if test "x$ac_old_val" != "x$ac_new_val"; then
1253 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1254 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1255 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1256 echo "$as_me: former value: $ac_old_val" >&2;}
1257 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1258 echo "$as_me: current value: $ac_new_val" >&2;}
1259 ac_cache_corrupted=:
1262 # Pass precious variables to config.status.
1263 if test "$ac_new_set" = set; then
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1267 *) ac_arg=$ac_var=$ac_new_val ;;
1269 case " $ac_configure_args " in
1270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1271 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1275 if $ac_cache_corrupted; then
1276 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1277 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1278 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1279 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1280 { (exit 1); exit 1; }; }
1284 ac_cpp='$CPP $CPPFLAGS'
1285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1286 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 ac_config_headers="$ac_config_headers config.h"
1311 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1312 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1313 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1314 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1315 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 cat >conftest.make <<\_ACEOF
1319 @echo 'ac_maketemp
="$(MAKE)"'
1321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1322 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1323 if test -n "$ac_maketemp"; then
1324 eval ac_cv_prog_make_${ac_make}_set=yes
1326 eval ac_cv_prog_make_${ac_make}_set=no
1330 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1331 echo "$as_me:$LINENO: result: yes" >&5
1332 echo "${ECHO_T}yes" >&6
1335 echo "$as_me:$LINENO: result: no" >&5
1336 echo "${ECHO_T}no" >&6
1337 SET_MAKE="MAKE=${MAKE-make}"
1341 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Find a good install program. We prefer a C program (faster),
1366 # so one script is as good as another. But avoid the broken or
1367 # incompatible versions:
1368 # SysV /etc/install, /usr/sbin/install
1369 # SunOS /usr/etc/install
1370 # IRIX /sbin/install
1372 # AmigaOS /C/install, which installs bootblocks on floppy discs
1373 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1376 # OS/2's system install, which has a completely different semantic
1377 # ./install, which can be erroneously created by make from ./install.sh.
1378 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1380 if test -z "$INSTALL"; then
1381 if test "${ac_cv_path_install+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 # Account for people who put trailing slashes in PATH elements.
1391 .
/ | .
// |
/cC
/* | \
1392 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1393 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1396 # OSF1 and SCO ODT 3.0 have their own names for install.
1397 # Don't use installbsd from OSF since it installs stuff as root
1399 for ac_prog
in ginstall scoinst
install; do
1400 for ac_exec_ext
in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1402 if test $ac_prog = install &&
1403 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1404 # AIX install. It has an incompatible calling convention.
1406 elif test $ac_prog = install &&
1407 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1408 # program-specific install script used by HP pwplus--don't use.
1411 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1423 if test "${ac_cv_path_install+set}" = set; then
1424 INSTALL
=$ac_cv_path_install
1426 # As a last resort, use the slow shell script. We don't cache a
1427 # path for INSTALL within a source directory, because that will
1428 # break other packages using the cache if that directory is
1429 # removed, or if the path is relative.
1430 INSTALL
=$ac_install_sh
1433 echo "$as_me:$LINENO: result: $INSTALL" >&5
1434 echo "${ECHO_T}$INSTALL" >&6
1436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1437 # It thinks the first close brace ends the variable substitution.
1438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1442 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1446 if test -n "$ac_aux_dir"; then
1447 case "$ac_aux_dir" in
1448 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
1449 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1452 if test -z "$MKINSTALLDIRS"; then
1453 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
1458 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1459 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1460 # Check whether --enable-nls or --disable-nls was given.
1461 if test "${enable_nls+set}" = set; then
1462 enableval
="$enable_nls"
1467 echo "$as_me:$LINENO: result: $USE_NLS" >&5
1468 echo "${ECHO_T}$USE_NLS" >&6
1475 # Prepare PATH_SEPARATOR.
1476 # The user is always right.
1477 if test "${PATH_SEPARATOR+set}" != set; then
1478 echo "#! /bin/sh" >conf$$.sh
1479 echo "exit 0" >>conf$$.sh
1481 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1489 # Find out how to test for executable files. Don't use a zero-byte file,
1490 # as systems may use methods other than mode bits to determine executability.
1491 cat >conf$$.
file <<_ASEOF
1495 chmod +x conf$$.
file
1496 if test -x conf$$.
file >/dev
/null
2>&1; then
1497 ac_executable_p
="test -x"
1499 ac_executable_p
="test -f"
1503 # Extract the first word of "msgfmt", so it can be a program name with args.
1504 set dummy msgfmt
; ac_word
=$2
1505 echo "$as_me:$LINENO: checking for $ac_word" >&5
1506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1507 if test "${ac_cv_path_MSGFMT+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
1515 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1516 for ac_dir
in $PATH; do
1518 test -z "$ac_dir" && ac_dir
=.
1519 for ac_exec_ext
in '' $ac_executable_extensions; do
1520 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1521 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
1522 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1523 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
1530 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
1534 MSGFMT
="$ac_cv_path_MSGFMT"
1535 if test "$MSGFMT" != ":"; then
1536 echo "$as_me:$LINENO: result: $MSGFMT" >&5
1537 echo "${ECHO_T}$MSGFMT" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1543 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1544 set dummy gmsgfmt
; ac_word
=$2
1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
1555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1559 test -z "$as_dir" && as_dir
=.
1560 for ac_exec_ext
in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1562 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
1563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1569 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
1573 GMSGFMT
=$ac_cv_path_GMSGFMT
1575 if test -n "$GMSGFMT"; then
1576 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1577 echo "${ECHO_T}$GMSGFMT" >&6
1579 echo "$as_me:$LINENO: result: no" >&5
1580 echo "${ECHO_T}no" >&6
1585 # Prepare PATH_SEPARATOR.
1586 # The user is always right.
1587 if test "${PATH_SEPARATOR+set}" != set; then
1588 echo "#! /bin/sh" >conf$$.sh
1589 echo "exit 0" >>conf$$.sh
1591 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1599 # Find out how to test for executable files. Don't use a zero-byte file,
1600 # as systems may use methods other than mode bits to determine executability.
1601 cat >conf$$.
file <<_ASEOF
1605 chmod +x conf$$.
file
1606 if test -x conf$$.
file >/dev
/null
2>&1; then
1607 ac_executable_p
="test -x"
1609 ac_executable_p
="test -f"
1613 # Extract the first word of "xgettext", so it can be a program name with args.
1614 set dummy xgettext
; ac_word
=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
1625 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1626 for ac_dir
in $PATH; do
1628 test -z "$ac_dir" && ac_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1631 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
1632 (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
1633 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
1640 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
1644 XGETTEXT
="$ac_cv_path_XGETTEXT"
1645 if test "$XGETTEXT" != ":"; then
1646 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1647 echo "${ECHO_T}$XGETTEXT" >&6
1649 echo "$as_me:$LINENO: result: no" >&5
1650 echo "${ECHO_T}no" >&6
1656 # Prepare PATH_SEPARATOR.
1657 # The user is always right.
1658 if test "${PATH_SEPARATOR+set}" != set; then
1659 echo "#! /bin/sh" >conf$$.sh
1660 echo "exit 0" >>conf$$.sh
1662 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1670 # Find out how to test for executable files. Don't use a zero-byte file,
1671 # as systems may use methods other than mode bits to determine executability.
1672 cat >conf$$.
file <<_ASEOF
1676 chmod +x conf$$.
file
1677 if test -x conf$$.
file >/dev
/null
2>&1; then
1678 ac_executable_p
="test -x"
1680 ac_executable_p
="test -f"
1684 # Extract the first word of "msgmerge", so it can be a program name with args.
1685 set dummy msgmerge
; ac_word
=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_path_MSGMERGE+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
1696 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1697 for ac_dir
in $PATH; do
1699 test -z "$ac_dir" && ac_dir
=.
1700 for ac_exec_ext
in '' $ac_executable_extensions; do
1701 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1702 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
1703 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
1710 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
1714 MSGMERGE
="$ac_cv_path_MSGMERGE"
1715 if test "$MSGMERGE" != ":"; then
1716 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
1717 echo "${ECHO_T}$MSGMERGE" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1724 if test "$GMSGFMT" != ":"; then
1725 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
1726 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1729 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
1730 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
1731 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
1736 if test "$XGETTEXT" != ":"; then
1737 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
1738 (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
1741 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
1742 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1748 ac_config_commands
="$ac_config_commands default-1"
1752 ac_cpp
='$CPP $CPPFLAGS'
1753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1756 if test -n "$ac_tool_prefix"; then
1757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1758 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$CC"; then
1765 ac_cv_prog_CC
="$CC" # Let the user override the test.
1767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir
=.
1772 for ac_exec_ext
in '' $ac_executable_extensions; do
1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 if test -n "$CC"; then
1785 echo "$as_me:$LINENO: result: $CC" >&5
1786 echo "${ECHO_T}$CC" >&6
1788 echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1793 if test -z "$ac_cv_prog_CC"; then
1795 # Extract the first word of "gcc", so it can be a program name with args.
1796 set dummy gcc
; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$ac_ct_CC"; then
1803 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_ac_ct_CC
="gcc"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1822 if test -n "$ac_ct_CC"; then
1823 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1824 echo "${ECHO_T}$ac_ct_CC" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1835 if test -z "$CC"; then
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1838 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC
="$CC" # Let the user override the test.
1847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir
=.
1852 for ac_exec_ext
in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 if test -n "$CC"; then
1865 echo "$as_me:$LINENO: result: $CC" >&5
1866 echo "${ECHO_T}$CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1873 if test -z "$ac_cv_prog_CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc
; ac_word
=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$ac_ct_CC"; then
1883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir
=.
1890 for ac_exec_ext
in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_ac_ct_CC
="cc"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1902 if test -n "$ac_ct_CC"; then
1903 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1904 echo "${ECHO_T}$ac_ct_CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1916 if test -z "$CC"; then
1917 # Extract the first word of "cc", so it can be a program name with args.
1918 set dummy cc
; ac_word
=$2
1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921 if test "${ac_cv_prog_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$CC"; then
1925 ac_cv_prog_CC
="$CC" # Let the user override the test.
1928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir
=.
1933 for ac_exec_ext
in '' $ac_executable_extensions; do
1934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1936 ac_prog_rejected
=yes
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 if test $ac_prog_rejected = yes; then
1947 # We found a bogon in the path, so make sure we never use it.
1948 set dummy
$ac_cv_prog_CC
1950 if test $# != 0; then
1951 # We chose a different compiler from the bogus one.
1952 # However, it has the same basename, so the bogon will be chosen
1953 # first if we set CC to just the basename; use the full file name.
1955 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1961 if test -n "$CC"; then
1962 echo "$as_me:$LINENO: result: $CC" >&5
1963 echo "${ECHO_T}$CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1970 if test -z "$CC"; then
1971 if test -n "$ac_tool_prefix"; then
1974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$CC"; then
1982 ac_cv_prog_CC
="$CC" # Let the user override the test.
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 for ac_exec_ext
in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 if test -n "$CC"; then
2002 echo "$as_me:$LINENO: result: $CC" >&5
2003 echo "${ECHO_T}$CC" >&6
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$CC" && break
2012 if test -z "$CC"; then
2016 # Extract the first word of "$ac_prog", so it can be a program name with args.
2017 set dummy
$ac_prog; ac_word
=$2
2018 echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 if test -n "$ac_ct_CC"; then
2024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir
=.
2031 for ac_exec_ext
in '' $ac_executable_extensions; do
2032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2033 ac_cv_prog_ac_ct_CC
="$ac_prog"
2034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2043 if test -n "$ac_ct_CC"; then
2044 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2045 echo "${ECHO_T}$ac_ct_CC" >&6
2047 echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6
2051 test -n "$ac_ct_CC" && break
2060 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2061 See \`config.log' for more details." >&5
2062 echo "$as_me: error: no acceptable C compiler found in \$PATH
2063 See \`config.log' for more details." >&2;}
2064 { (exit 1); exit 1; }; }
2066 # Provide some information about the compiler.
2067 echo "$as_me:$LINENO:" \
2068 "checking for C compiler version" >&5
2069 ac_compiler
=`set X $ac_compile; echo $2`
2070 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2071 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }
2075 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2076 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }
2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2081 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }
2086 cat >conftest.
$ac_ext <<_ACEOF
2089 cat confdefs.h
>>conftest.
$ac_ext
2090 cat >>conftest.
$ac_ext <<_ACEOF
2091 /* end confdefs.h. */
2101 ac_clean_files_save
=$ac_clean_files
2102 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2103 # Try to create an executable without -o first, disregard a.out.
2104 # It will help us diagnose broken compilers, and finding out an intuition
2106 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2107 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2108 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2109 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2110 (eval $ac_link_default) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; then
2114 # Find the output, starting from the most likely. This scheme is
2115 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2118 # Be careful to initialize this variable, since it used to be cached.
2119 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2121 # b.out is created by i960 compilers.
2122 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2124 test -f "$ac_file" ||
continue
2126 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2129 # This is the source file.
2132 # We found the default executable, but exeext='' is most
2136 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2137 # FIXME: I believe we export ac_cv_exeext for Libtool,
2138 # but it would be cool to find out if it's true. Does anybody
2139 # maintain Libtool? --akim.
2147 echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.
$ac_ext >&5
2150 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2151 See \`config.log' for more details." >&5
2152 echo "$as_me: error: C compiler cannot create executables
2153 See \`config.log' for more details." >&2;}
2154 { (exit 77); exit 77; }; }
2157 ac_exeext
=$ac_cv_exeext
2158 echo "$as_me:$LINENO: result: $ac_file" >&5
2159 echo "${ECHO_T}$ac_file" >&6
2161 # Check the compiler produces executables we can run. If not, either
2162 # the compiler is broken, or we cross compile.
2163 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2164 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2165 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2166 # If not cross compiling, check that we can run a simple program.
2167 if test "$cross_compiling" != yes; then
2168 if { ac_try
='./$ac_file'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2176 if test "$cross_compiling" = maybe
; then
2179 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2180 If you meant to cross compile, use \`--host'.
2181 See \`config.log' for more details." >&5
2182 echo "$as_me: error: cannot run C compiled programs.
2183 If you meant to cross compile, use \`--host'.
2184 See \`config.log' for more details." >&2;}
2185 { (exit 1); exit 1; }; }
2189 echo "$as_me:$LINENO: result: yes" >&5
2190 echo "${ECHO_T}yes" >&6
2192 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2193 ac_clean_files
=$ac_clean_files_save
2194 # Check the compiler produces executables we can run. If not, either
2195 # the compiler is broken, or we cross compile.
2196 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2197 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2198 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2199 echo "${ECHO_T}$cross_compiling" >&6
2201 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2202 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2204 (eval $ac_link) 2>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; then
2208 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2209 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2210 # work properly (i.e., refer to `conftest.exe'), while it won't with
2212 for ac_file
in conftest.exe conftest conftest.
*; do
2213 test -f "$ac_file" ||
continue
2215 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2216 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2224 See \`config.log' for more details." >&5
2225 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2226 See \`config.log' for more details." >&2;}
2227 { (exit 1); exit 1; }; }
2230 rm -f conftest
$ac_cv_exeext
2231 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2232 echo "${ECHO_T}$ac_cv_exeext" >&6
2234 rm -f conftest.
$ac_ext
2235 EXEEXT
=$ac_cv_exeext
2237 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2238 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2239 if test "${ac_cv_objext+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 cat >conftest.
$ac_ext <<_ACEOF
2245 cat confdefs.h
>>conftest.
$ac_ext
2246 cat >>conftest.
$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2257 rm -f conftest.o conftest.obj
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; then
2263 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2265 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2266 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2271 echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.
$ac_ext >&5
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2281 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2284 echo "${ECHO_T}$ac_cv_objext" >&6
2285 OBJEXT
=$ac_cv_objext
2287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 cat >conftest.
$ac_ext <<_ACEOF
2295 cat confdefs.h
>>conftest.
$ac_ext
2296 cat >>conftest.
$ac_ext <<_ACEOF
2297 /* end confdefs.h. */
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag"
2320 || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try
='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2340 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2343 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2345 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2346 ac_test_CFLAGS
=${CFLAGS+set}
2347 ac_save_CFLAGS
=$CFLAGS
2349 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2350 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2351 if test "${ac_cv_prog_cc_g+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 cat >conftest.
$ac_ext <<_ACEOF
2357 cat confdefs.h
>>conftest.
$ac_ext
2358 cat >>conftest.
$ac_ext <<_ACEOF
2359 /* end confdefs.h. */
2369 rm -f conftest.
$ac_objext
2370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2371 (eval $ac_compile) 2>conftest.er1
2373 grep -v '^ *+' conftest.er1
>conftest.err
2375 cat conftest.err
>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } &&
2378 { ac_try
='test -z "$ac_c_werror_flag"
2379 || test ! -s conftest.err'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; } &&
2385 { ac_try
='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.
$ac_ext >&5
2398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2402 if test "$ac_test_CFLAGS" = set; then
2403 CFLAGS
=$ac_save_CFLAGS
2404 elif test $ac_cv_prog_cc_g = yes; then
2405 if test "$GCC" = yes; then
2411 if test "$GCC" = yes; then
2417 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2418 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2419 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 ac_cv_prog_cc_stdc
=no
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2432 #include <sys/types.h>
2433 #include <sys/stat.h>
2434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2435 struct buf { int x; };
2436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2437 static char *e (p, i)
2443 static char *f (char * (*g) (char **, int), char **p, ...)
2448 s = g (p, va_arg (v,int));
2453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2454 function prototypes and stuff, but not '\xHH' hex character constants.
2455 These don't provoke an error unfortunately, instead are silently treated
2456 as 'x'. The following induces an error, until -std1 is added to get
2457 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2458 array size at least. It's necessary to write '\x00'==0 to get something
2459 that's true only with -std1. */
2460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2462 int test (int i, double x);
2463 struct s1 {int (*f) (int a);};
2464 struct s2 {int (*f) (double a);};
2465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2476 # Don't try gcc -ansi; that turns off useful extensions and
2477 # breaks some systems' header files.
2478 # AIX -qlanglvl=ansi
2479 # Ultrix and OSF/1 -std1
2480 # HP-UX 10.20 and later -Ae
2481 # HP-UX older versions -Aa -D_HPUX_SOURCE
2482 # SVR4 -Xc -D__EXTENSIONS__
2483 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2485 CC
="$ac_save_CC $ac_arg"
2486 rm -f conftest.
$ac_objext
2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488 (eval $ac_compile) 2>conftest.er1
2490 grep -v '^ *+' conftest.er1
>conftest.err
2492 cat conftest.err
>&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); } &&
2495 { ac_try
='test -z "$ac_c_werror_flag"
2496 || test ! -s conftest.err'
2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; } &&
2502 { ac_try
='test -s conftest.$ac_objext'
2503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; }; then
2508 ac_cv_prog_cc_stdc
=$ac_arg
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2515 rm -f conftest.err conftest.
$ac_objext
2517 rm -f conftest.
$ac_ext conftest.
$ac_objext
2522 case "x$ac_cv_prog_cc_stdc" in
2524 echo "$as_me:$LINENO: result: none needed" >&5
2525 echo "${ECHO_T}none needed" >&6 ;;
2527 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2528 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2529 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2532 # Some people use a C++ compiler to compile C. Since we use `exit',
2533 # in C++ we need to declare it. In case someone uses the same compiler
2534 # for both compiling C and C++ we need to have the C++ compiler decide
2535 # the declaration of exit, since it's the most demanding environment.
2536 cat >conftest.
$ac_ext <<_ACEOF
2541 rm -f conftest.
$ac_objext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
2547 cat conftest.err
>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } &&
2550 { ac_try
='test -z "$ac_c_werror_flag"
2551 || test ! -s conftest.err'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; } &&
2557 { ac_try
='test -s conftest.$ac_objext'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2563 for ac_declaration
in \
2565 'extern "C" void std::exit (int) throw (); using std::exit;' \
2566 'extern "C" void std::exit (int); using std::exit;' \
2567 'extern "C" void exit (int) throw ();' \
2568 'extern "C" void exit (int);' \
2571 cat >conftest.
$ac_ext <<_ACEOF
2574 cat confdefs.h
>>conftest.
$ac_ext
2575 cat >>conftest.
$ac_ext <<_ACEOF
2576 /* end confdefs.h. */
2587 rm -f conftest.
$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>conftest.er1
2591 grep -v '^ *+' conftest.er1
>conftest.err
2593 cat conftest.err
>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try
='test -z "$ac_c_werror_flag"
2597 || test ! -s conftest.err'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; } &&
2603 { ac_try
='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.
$ac_ext >&5
2616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2617 cat >conftest.
$ac_ext <<_ACEOF
2620 cat confdefs.h
>>conftest.
$ac_ext
2621 cat >>conftest.
$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2632 rm -f conftest.
$ac_objext
2633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2634 (eval $ac_compile) 2>conftest.er1
2636 grep -v '^ *+' conftest.er1
>conftest.err
2638 cat conftest.err
>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } &&
2641 { ac_try
='test -z "$ac_c_werror_flag"
2642 || test ! -s conftest.err'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; } &&
2648 { ac_try
='test -s conftest.$ac_objext'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2656 echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.
$ac_ext >&5
2660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2663 if test -n "$ac_declaration"; then
2664 echo '#ifdef __cplusplus' >>confdefs.h
2665 echo $ac_declaration >>confdefs.h
2666 echo '#endif' >>confdefs.h
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.
$ac_ext >&5
2674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 ac_cpp
='$CPP $CPPFLAGS'
2677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2681 # Make sure we can run config.sub.
2682 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2683 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2684 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2685 { (exit 1); exit 1; }; }
2687 echo "$as_me:$LINENO: checking build system type" >&5
2688 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2689 if test "${ac_cv_build+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 ac_cv_build_alias
=$build_alias
2693 test -z "$ac_cv_build_alias" &&
2694 ac_cv_build_alias
=`$ac_config_guess`
2695 test -z "$ac_cv_build_alias" &&
2696 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2697 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2698 { (exit 1); exit 1; }; }
2699 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2700 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2701 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2702 { (exit 1); exit 1; }; }
2705 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2706 echo "${ECHO_T}$ac_cv_build" >&6
2708 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2709 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2710 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2713 echo "$as_me:$LINENO: checking host system type" >&5
2714 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2715 if test "${ac_cv_host+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 ac_cv_host_alias
=$host_alias
2719 test -z "$ac_cv_host_alias" &&
2720 ac_cv_host_alias
=$ac_cv_build_alias
2721 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2722 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2723 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2724 { (exit 1); exit 1; }; }
2727 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2728 echo "${ECHO_T}$ac_cv_host" >&6
2730 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2731 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2732 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2735 if test -n "$ac_tool_prefix"; then
2736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2737 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_RANLIB+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 if test -n "$RANLIB"; then
2744 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir
=.
2751 for ac_exec_ext
in '' $ac_executable_extensions; do
2752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 RANLIB
=$ac_cv_prog_RANLIB
2763 if test -n "$RANLIB"; then
2764 echo "$as_me:$LINENO: result: $RANLIB" >&5
2765 echo "${ECHO_T}$RANLIB" >&6
2767 echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2772 if test -z "$ac_cv_prog_RANLIB"; then
2773 ac_ct_RANLIB
=$RANLIB
2774 # Extract the first word of "ranlib", so it can be a program name with args.
2775 set dummy ranlib
; ac_word
=$2
2776 echo "$as_me:$LINENO: checking for $ac_word" >&5
2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2778 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if test -n "$ac_ct_RANLIB"; then
2782 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2801 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2802 if test -n "$ac_ct_RANLIB"; then
2803 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2804 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2810 RANLIB
=$ac_ct_RANLIB
2812 RANLIB
="$ac_cv_prog_RANLIB"
2817 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2818 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2819 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 ac_check_lib_save_LIBS
=$LIBS
2823 LIBS
="-lcposix $LIBS"
2824 cat >conftest.
$ac_ext <<_ACEOF
2827 cat confdefs.h
>>conftest.
$ac_ext
2828 cat >>conftest.
$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2831 /* Override any gcc2 internal prototype to avoid an error. */
2835 /* We use char because int might match the return type of a gcc2
2836 builtin and then its argument prototype would still apply. */
2846 rm -f conftest.
$ac_objext conftest
$ac_exeext
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848 (eval $ac_link) 2>conftest.er1
2850 grep -v '^ *+' conftest.er1
>conftest.err
2852 cat conftest.err
>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); } &&
2855 { ac_try
='test -z "$ac_c_werror_flag"
2856 || test ! -s conftest.err'
2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; } &&
2862 { ac_try
='test -s conftest$ac_exeext'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then
2868 ac_cv_lib_cposix_strerror
=yes
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2873 ac_cv_lib_cposix_strerror
=no
2875 rm -f conftest.err conftest.
$ac_objext \
2876 conftest
$ac_exeext conftest.
$ac_ext
2877 LIBS
=$ac_check_lib_save_LIBS
2879 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2880 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2881 if test $ac_cv_lib_cposix_strerror = yes; then
2882 LIBS
="$LIBS -lcposix"
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2892 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2893 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2898 if test -z "$CPP"; then
2899 if test "${ac_cv_prog_CPP+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 # Double quotes because CPP needs to be expanded
2903 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2906 for ac_c_preproc_warn_flag
in '' yes
2908 # Use a header file that comes with gcc, so configuring glibc
2909 # with a fresh cross-compiler works.
2910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2911 # <limits.h> exists even on freestanding compilers.
2912 # On the NeXT, cc -E runs the code through the compiler's parser,
2913 # not just through cpp. "Syntax error" is here to catch this case.
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2921 # include <limits.h>
2923 # include <assert.h>
2927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1
>conftest.err
2932 cat conftest.err
>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } >/dev
/null
; then
2935 if test -s conftest.err
; then
2936 ac_cpp_err
=$ac_c_preproc_warn_flag
2937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2944 if test -z "$ac_cpp_err"; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.
$ac_ext >&5
2950 # Broken: fails on valid input.
2953 rm -f conftest.err conftest.
$ac_ext
2955 # OK, works on sane cases. Now check whether non-existent headers
2956 # can be detected and how.
2957 cat >conftest.
$ac_ext <<_ACEOF
2960 cat confdefs.h
>>conftest.
$ac_ext
2961 cat >>conftest.
$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2963 #include <ac_nonexistent.h>
2965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2968 grep -v '^ *+' conftest.er1
>conftest.err
2970 cat conftest.err
>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } >/dev
/null
; then
2973 if test -s conftest.err
; then
2974 ac_cpp_err
=$ac_c_preproc_warn_flag
2975 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2982 if test -z "$ac_cpp_err"; then
2983 # Broken: success on invalid input.
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.
$ac_ext >&5
2989 # Passes both tests.
2993 rm -f conftest.err conftest.
$ac_ext
2996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2997 rm -f conftest.err conftest.
$ac_ext
2998 if $ac_preproc_ok; then
3010 echo "$as_me:$LINENO: result: $CPP" >&5
3011 echo "${ECHO_T}$CPP" >&6
3013 for ac_c_preproc_warn_flag
in '' yes
3015 # Use a header file that comes with gcc, so configuring glibc
3016 # with a fresh cross-compiler works.
3017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3018 # <limits.h> exists even on freestanding compilers.
3019 # On the NeXT, cc -E runs the code through the compiler's parser,
3020 # not just through cpp. "Syntax error" is here to catch this case.
3021 cat >conftest.
$ac_ext <<_ACEOF
3024 cat confdefs.h
>>conftest.
$ac_ext
3025 cat >>conftest.
$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3028 # include <limits.h>
3030 # include <assert.h>
3034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3037 grep -v '^ *+' conftest.er1
>conftest.err
3039 cat conftest.err
>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } >/dev
/null
; then
3042 if test -s conftest.err
; then
3043 ac_cpp_err
=$ac_c_preproc_warn_flag
3044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3051 if test -z "$ac_cpp_err"; then
3054 echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.
$ac_ext >&5
3057 # Broken: fails on valid input.
3060 rm -f conftest.err conftest.
$ac_ext
3062 # OK, works on sane cases. Now check whether non-existent headers
3063 # can be detected and how.
3064 cat >conftest.
$ac_ext <<_ACEOF
3067 cat confdefs.h
>>conftest.
$ac_ext
3068 cat >>conftest.
$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 #include <ac_nonexistent.h>
3072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3075 grep -v '^ *+' conftest.er1
>conftest.err
3077 cat conftest.err
>&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } >/dev
/null
; then
3080 if test -s conftest.err
; then
3081 ac_cpp_err
=$ac_c_preproc_warn_flag
3082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3089 if test -z "$ac_cpp_err"; then
3090 # Broken: success on invalid input.
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3096 # Passes both tests.
3100 rm -f conftest.err conftest.
$ac_ext
3103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104 rm -f conftest.err conftest.
$ac_ext
3105 if $ac_preproc_ok; then
3108 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3109 See \`config.log' for more details." >&5
3110 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3116 ac_cpp
='$CPP $CPPFLAGS'
3117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3122 echo "$as_me:$LINENO: checking for egrep" >&5
3123 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3124 if test "${ac_cv_prog_egrep+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3128 then ac_cv_prog_egrep
='grep -E'
3129 else ac_cv_prog_egrep
='egrep'
3132 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3133 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3134 EGREP
=$ac_cv_prog_egrep
3137 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3138 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3139 if test "${ac_cv_header_stdc+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3161 rm -f conftest.
$ac_objext
3162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3163 (eval $ac_compile) 2>conftest.er1
3165 grep -v '^ *+' conftest.er1
>conftest.err
3167 cat conftest.err
>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } &&
3170 { ac_try
='test -z "$ac_c_werror_flag"
3171 || test ! -s conftest.err'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; } &&
3177 { ac_try
='test -s conftest.$ac_objext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3183 ac_cv_header_stdc
=yes
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 ac_cv_header_stdc
=no
3190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3192 if test $ac_cv_header_stdc = yes; then
3193 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3194 cat >conftest.
$ac_ext <<_ACEOF
3197 cat confdefs.h
>>conftest.
$ac_ext
3198 cat >>conftest.
$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3204 $EGREP "memchr" >/dev
/null
2>&1; then
3207 ac_cv_header_stdc
=no
3213 if test $ac_cv_header_stdc = yes; then
3214 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3215 cat >conftest.
$ac_ext <<_ACEOF
3218 cat confdefs.h
>>conftest.
$ac_ext
3219 cat >>conftest.
$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3225 $EGREP "free" >/dev
/null
2>&1; then
3228 ac_cv_header_stdc
=no
3234 if test $ac_cv_header_stdc = yes; then
3235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3236 if test "$cross_compiling" = yes; then
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3246 #if ((' ' & 0x0FF) == 0x020)
3247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3248 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3250 # define ISLOWER(c) \
3251 (('a' <= (c) && (c) <= 'i') \
3252 || ('j' <= (c) && (c) <= 'r') \
3253 || ('s' <= (c) && (c) <= 'z'))
3254 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3257 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3262 for (i = 0; i < 256; i++)
3263 if (XOR (islower (i), ISLOWER (i))
3264 || toupper (i) != TOUPPER (i))
3269 rm -f conftest
$ac_exeext
3270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3271 (eval $ac_link) 2>&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3282 echo "$as_me: program exited with status $ac_status" >&5
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.
$ac_ext >&5
3287 ac_cv_header_stdc
=no
3289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3293 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3294 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3295 if test $ac_cv_header_stdc = yes; then
3297 cat >>confdefs.h
<<\_ACEOF
3298 #define STDC_HEADERS 1
3303 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3304 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3305 if test "${ac_cv_c_const+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 cat >conftest.
$ac_ext <<_ACEOF
3311 cat confdefs.h
>>conftest.
$ac_ext
3312 cat >>conftest.
$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3318 /* FIXME: Include the comments suggested by Paul. */
3320 /* Ultrix mips cc rejects this. */
3321 typedef int charset[2];
3323 /* SunOS 4.1.1 cc rejects this. */
3324 char const *const *ccp;
3326 /* NEC SVR4.0.2 mips cc rejects this. */
3327 struct point {int x, y;};
3328 static struct point const zero = {0,0};
3329 /* AIX XL C 1.02.0.0 rejects this.
3330 It does not let you subtract one const X* pointer from another in
3331 an arm of an if-expression whose if-part is not a constant
3333 const char *g = "string";
3334 ccp = &g + (g ? g-g : 0);
3335 /* HPUX 7.0 cc rejects these. */
3338 ccp = (char const *const *) p;
3339 { /* SCO 3.2v4 cc rejects this. */
3341 char const *s = 0 ? (char *) 0 : (char const *) 0;
3345 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3347 const int *foo = &x[0];
3350 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3351 typedef const int *iptr;
3355 { /* AIX XL C 1.02.0.0 rejects this saying
3356 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3357 struct s { int j; const int *ap[3]; };
3358 struct s *b; b->j = 5;
3360 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3369 rm -f conftest.
$ac_objext
3370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3371 (eval $ac_compile) 2>conftest.er1
3373 grep -v '^ *+' conftest.er1
>conftest.err
3375 cat conftest.err
>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } &&
3378 { ac_try
='test -z "$ac_c_werror_flag"
3379 || test ! -s conftest.err'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3400 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3401 echo "${ECHO_T}$ac_cv_c_const" >&6
3402 if test $ac_cv_c_const = no
; then
3404 cat >>confdefs.h
<<\_ACEOF
3410 echo "$as_me:$LINENO: checking for inline" >&5
3411 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3412 if test "${ac_cv_c_inline+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 for ac_kw
in inline __inline__ __inline
; do
3417 cat >conftest.
$ac_ext <<_ACEOF
3420 cat confdefs.h
>>conftest.
$ac_ext
3421 cat >>conftest.
$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3425 static $ac_kw foo_t static_foo () {return 0; }
3426 $ac_kw foo_t foo () {return 0; }
3430 rm -f conftest.
$ac_objext
3431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3432 (eval $ac_compile) 2>conftest.er1
3434 grep -v '^ *+' conftest.er1
>conftest.err
3436 cat conftest.err
>&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); } &&
3439 { ac_try
='test -z "$ac_c_werror_flag"
3440 || test ! -s conftest.err'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; } &&
3446 { ac_try
='test -s conftest.$ac_objext'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; }; then
3452 ac_cv_c_inline
=$ac_kw; break
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.
$ac_ext >&5
3458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3462 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3463 echo "${ECHO_T}$ac_cv_c_inline" >&6
3466 case $ac_cv_c_inline in
3469 case $ac_cv_c_inline in
3471 *) ac_val
=$ac_cv_c_inline;;
3473 cat >>confdefs.h
<<_ACEOF
3475 #define inline $ac_val
3481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3491 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3492 inttypes.h stdint.h unistd.h
3494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3495 echo "$as_me:$LINENO: checking for $ac_header" >&5
3496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 cat >conftest.
$ac_ext <<_ACEOF
3503 cat confdefs.h
>>conftest.
$ac_ext
3504 cat >>conftest.
$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3506 $ac_includes_default
3508 #include <$ac_header>
3510 rm -f conftest.
$ac_objext
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } &&
3519 { ac_try
='test -z "$ac_c_werror_flag"
3520 || test ! -s conftest.err'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; } &&
3526 { ac_try
='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 eval "$as_ac_Header=yes"
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.
$ac_ext >&5
3537 eval "$as_ac_Header=no"
3539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3544 cat >>confdefs.h
<<_ACEOF
3545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3553 echo "$as_me:$LINENO: checking for off_t" >&5
3554 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3555 if test "${ac_cv_type_off_t+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 cat >conftest.
$ac_ext <<_ACEOF
3561 cat confdefs.h
>>conftest.
$ac_ext
3562 cat >>conftest.
$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3564 $ac_includes_default
3576 rm -f conftest.
$ac_objext
3577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3578 (eval $ac_compile) 2>conftest.er1
3580 grep -v '^ *+' conftest.er1
>conftest.err
3582 cat conftest.err
>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 { ac_try
='test -z "$ac_c_werror_flag"
3586 || test ! -s conftest.err'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; } &&
3592 { ac_try
='test -s conftest.$ac_objext'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; }; then
3598 ac_cv_type_off_t
=yes
3600 echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.
$ac_ext >&5
3605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3607 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3608 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3609 if test $ac_cv_type_off_t = yes; then
3613 cat >>confdefs.h
<<_ACEOF
3619 echo "$as_me:$LINENO: checking for size_t" >&5
3620 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3621 if test "${ac_cv_type_size_t+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 cat >conftest.
$ac_ext <<_ACEOF
3627 cat confdefs.h
>>conftest.
$ac_ext
3628 cat >>conftest.
$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 $ac_includes_default
3636 if (sizeof (size_t))
3642 rm -f conftest.
$ac_objext
3643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3644 (eval $ac_compile) 2>conftest.er1
3646 grep -v '^ *+' conftest.er1
>conftest.err
3648 cat conftest.err
>&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } &&
3651 { ac_try
='test -z "$ac_c_werror_flag"
3652 || test ! -s conftest.err'
3653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); }; } &&
3658 { ac_try
='test -s conftest.$ac_objext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 ac_cv_type_size_t
=yes
3666 echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.
$ac_ext >&5
3669 ac_cv_type_size_t
=no
3671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3673 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3674 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3675 if test $ac_cv_type_size_t = yes; then
3679 cat >>confdefs.h
<<_ACEOF
3680 #define size_t unsigned
3685 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3686 # for constant arguments. Useless!
3687 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3688 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3689 if test "${ac_cv_working_alloca_h+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 cat >conftest.
$ac_ext <<_ACEOF
3695 cat confdefs.h
>>conftest.
$ac_ext
3696 cat >>conftest.
$ac_ext <<_ACEOF
3697 /* end confdefs.h. */
3702 char *p = (char *) alloca (2 * sizeof (int));
3707 rm -f conftest.
$ac_objext conftest
$ac_exeext
3708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3709 (eval $ac_link) 2>conftest.er1
3711 grep -v '^ *+' conftest.er1
>conftest.err
3713 cat conftest.err
>&5
3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); } &&
3716 { ac_try
='test -z "$ac_c_werror_flag"
3717 || test ! -s conftest.err'
3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; } &&
3723 { ac_try
='test -s conftest$ac_exeext'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; }; then
3729 ac_cv_working_alloca_h
=yes
3731 echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.
$ac_ext >&5
3734 ac_cv_working_alloca_h
=no
3736 rm -f conftest.err conftest.
$ac_objext \
3737 conftest
$ac_exeext conftest.
$ac_ext
3739 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3740 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3741 if test $ac_cv_working_alloca_h = yes; then
3743 cat >>confdefs.h
<<\_ACEOF
3744 #define HAVE_ALLOCA_H 1
3749 echo "$as_me:$LINENO: checking for alloca" >&5
3750 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3751 if test "${ac_cv_func_alloca_works+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 cat >conftest.
$ac_ext <<_ACEOF
3757 cat confdefs.h
>>conftest.
$ac_ext
3758 cat >>conftest.
$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3761 # define alloca __builtin_alloca
3764 # include <malloc.h>
3765 # define alloca _alloca
3768 # include <alloca.h>
3773 # ifndef alloca /* predefined by HP cc +Olibcalls */
3784 char *p = (char *) alloca (1);
3789 rm -f conftest.
$ac_objext conftest
$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1
>conftest.err
3795 cat conftest.err
>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try
='test -z "$ac_c_werror_flag"
3799 || test ! -s conftest.err'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; } &&
3805 { ac_try
='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then
3811 ac_cv_func_alloca_works
=yes
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.
$ac_ext >&5
3816 ac_cv_func_alloca_works
=no
3818 rm -f conftest.err conftest.
$ac_objext \
3819 conftest
$ac_exeext conftest.
$ac_ext
3821 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3822 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3824 if test $ac_cv_func_alloca_works = yes; then
3826 cat >>confdefs.h
<<\_ACEOF
3827 #define HAVE_ALLOCA 1
3831 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3832 # that cause trouble. Some versions do not even contain alloca or
3833 # contain a buggy version. If you still want to use their alloca,
3834 # use ar to extract alloca.o from them instead of compiling alloca.c.
3836 ALLOCA
=alloca.
$ac_objext
3838 cat >>confdefs.h
<<\_ACEOF
3843 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3844 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3845 if test "${ac_cv_os_cray+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 cat >conftest.
$ac_ext <<_ACEOF
3851 cat confdefs.h
>>conftest.
$ac_ext
3852 cat >>conftest.
$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #if defined(CRAY) && ! defined(CRAY2)
3861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3862 $EGREP "webecray" >/dev
/null
2>&1; then
3870 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3871 echo "${ECHO_T}$ac_cv_os_cray" >&6
3872 if test $ac_cv_os_cray = yes; then
3873 for ac_func
in _getb67 GETB67 getb67
; do
3874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3875 echo "$as_me:$LINENO: checking for $ac_func" >&5
3876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3877 if eval "test \"\${$as_ac_var+set}\" = set"; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3888 #define $ac_func innocuous_$ac_func
3890 /* System header to define __stub macros and hopefully few prototypes,
3891 which can conflict with char $ac_func (); below.
3892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3893 <limits.h> exists even on freestanding compilers. */
3896 # include <limits.h>
3898 # include <assert.h>
3903 /* Override any gcc2 internal prototype to avoid an error. */
3908 /* We use char because int might match the return type of a gcc2
3909 builtin and then its argument prototype would still apply. */
3911 /* The GNU C library defines this for functions which it implements
3912 to always fail with ENOSYS. Some functions are actually named
3913 something starting with __ and the normal name is an alias. */
3914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3917 char (*f) () = $ac_func;
3926 return f != $ac_func;
3931 rm -f conftest.
$ac_objext conftest
$ac_exeext
3932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3933 (eval $ac_link) 2>conftest.er1
3935 grep -v '^ *+' conftest.er1
>conftest.err
3937 cat conftest.err
>&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } &&
3940 { ac_try
='test -z "$ac_c_werror_flag"
3941 || test ! -s conftest.err'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; } &&
3947 { ac_try
='test -s conftest$ac_exeext'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; }; then
3953 eval "$as_ac_var=yes"
3955 echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.
$ac_ext >&5
3958 eval "$as_ac_var=no"
3960 rm -f conftest.err conftest.
$ac_objext \
3961 conftest
$ac_exeext conftest.
$ac_ext
3963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3965 if test `eval echo '${'$as_ac_var'}'` = yes; then
3967 cat >>confdefs.h
<<_ACEOF
3968 #define CRAY_STACKSEG_END $ac_func
3977 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3978 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3979 if test "${ac_cv_c_stack_direction+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 if test "$cross_compiling" = yes; then
3983 ac_cv_c_stack_direction
=0
3985 cat >conftest.
$ac_ext <<_ACEOF
3988 cat confdefs.h
>>conftest.
$ac_ext
3989 cat >>conftest.
$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3992 find_stack_direction ()
3994 static char *addr = 0;
3999 return find_stack_direction ();
4002 return (&dummy > addr) ? 1 : -1;
4008 exit (find_stack_direction () < 0);
4011 rm -f conftest
$ac_exeext
4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4013 (eval $ac_link) 2>&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; }; then
4022 ac_cv_c_stack_direction
=1
4024 echo "$as_me: program exited with status $ac_status" >&5
4025 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.
$ac_ext >&5
4029 ac_cv_c_stack_direction
=-1
4031 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4034 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4035 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4037 cat >>confdefs.h
<<_ACEOF
4038 #define STACK_DIRECTION $ac_cv_c_stack_direction
4046 for ac_header
in stdlib.h unistd.h
4048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4050 echo "$as_me:$LINENO: checking for $ac_header" >&5
4051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4058 # Is the header compilable?
4059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4061 cat >conftest.
$ac_ext <<_ACEOF
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4067 $ac_includes_default
4068 #include <$ac_header>
4070 rm -f conftest.
$ac_objext
4071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4072 (eval $ac_compile) 2>conftest.er1
4074 grep -v '^ *+' conftest.er1
>conftest.err
4076 cat conftest.err
>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } &&
4079 { ac_try
='test -z "$ac_c_werror_flag"
4080 || test ! -s conftest.err'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; } &&
4086 { ac_try
='test -s conftest.$ac_objext'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4092 ac_header_compiler
=yes
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.
$ac_ext >&5
4097 ac_header_compiler
=no
4099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4101 echo "${ECHO_T}$ac_header_compiler" >&6
4103 # Is the header present?
4104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4106 cat >conftest.
$ac_ext <<_ACEOF
4109 cat confdefs.h
>>conftest.
$ac_ext
4110 cat >>conftest.
$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 #include <$ac_header>
4114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4117 grep -v '^ *+' conftest.er1
>conftest.err
4119 cat conftest.err
>&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } >/dev
/null
; then
4122 if test -s conftest.err
; then
4123 ac_cpp_err
=$ac_c_preproc_warn_flag
4124 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4131 if test -z "$ac_cpp_err"; then
4132 ac_header_preproc
=yes
4134 echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.
$ac_ext >&5
4137 ac_header_preproc
=no
4139 rm -f conftest.err conftest.
$ac_ext
4140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4141 echo "${ECHO_T}$ac_header_preproc" >&6
4143 # So? What about this header?
4144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4150 ac_header_preproc
=yes
4153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4167 ## ------------------------------------------ ##
4168 ## Report this to the AC_PACKAGE_NAME lists. ##
4169 ## ------------------------------------------ ##
4172 sed "s/^/$as_me: WARNING: /" >&2
4175 echo "$as_me:$LINENO: checking for $ac_header" >&5
4176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4180 eval "$as_ac_Header=\$ac_header_preproc"
4182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4187 cat >>confdefs.h
<<_ACEOF
4188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4196 for ac_func
in getpagesize
4198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4199 echo "$as_me:$LINENO: checking for $ac_func" >&5
4200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4201 if eval "test \"\${$as_ac_var+set}\" = set"; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 cat >conftest.
$ac_ext <<_ACEOF
4207 cat confdefs.h
>>conftest.
$ac_ext
4208 cat >>conftest.
$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4212 #define $ac_func innocuous_$ac_func
4214 /* System header to define __stub macros and hopefully few prototypes,
4215 which can conflict with char $ac_func (); below.
4216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4217 <limits.h> exists even on freestanding compilers. */
4220 # include <limits.h>
4222 # include <assert.h>
4227 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4235 /* The GNU C library defines this for functions which it implements
4236 to always fail with ENOSYS. Some functions are actually named
4237 something starting with __ and the normal name is an alias. */
4238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4241 char (*f) () = $ac_func;
4250 return f != $ac_func;
4255 rm -f conftest.
$ac_objext conftest
$ac_exeext
4256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>conftest.er1
4259 grep -v '^ *+' conftest.er1
>conftest.err
4261 cat conftest.err
>&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try
='test -z "$ac_c_werror_flag"
4265 || test ! -s conftest.err'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try
='test -s conftest$ac_exeext'
4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; }; then
4277 eval "$as_ac_var=yes"
4279 echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.
$ac_ext >&5
4282 eval "$as_ac_var=no"
4284 rm -f conftest.err conftest.
$ac_objext \
4285 conftest
$ac_exeext conftest.
$ac_ext
4287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4289 if test `eval echo '${'$as_ac_var'}'` = yes; then
4290 cat >>confdefs.h
<<_ACEOF
4291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4297 echo "$as_me:$LINENO: checking for working mmap" >&5
4298 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4299 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 if test "$cross_compiling" = yes; then
4303 ac_cv_func_mmap_fixed_mapped
=no
4305 cat >conftest.
$ac_ext <<_ACEOF
4308 cat confdefs.h
>>conftest.
$ac_ext
4309 cat >>conftest.
$ac_ext <<_ACEOF
4310 /* end confdefs.h. */
4311 $ac_includes_default
4312 /* malloc might have been renamed as rpl_malloc. */
4315 /* Thanks to Mike Haertel and Jim Avera for this test.
4316 Here is a matrix of mmap possibilities:
4317 mmap private not fixed
4318 mmap private fixed at somewhere currently unmapped
4319 mmap private fixed at somewhere already mapped
4320 mmap shared not fixed
4321 mmap shared fixed at somewhere currently unmapped
4322 mmap shared fixed at somewhere already mapped
4323 For private mappings, we should verify that changes cannot be read()
4324 back from the file, nor mmap's back from the file at a different
4325 address. (There have been systems where private was not correctly
4326 implemented like the infamous i386 svr4.0, and systems where the
4327 VM page cache was not coherent with the file system buffer cache
4328 like early versions of FreeBSD and possibly contemporary NetBSD.)
4329 For shared mappings, we should conversely verify that changes get
4330 propagated back to all the places they're supposed to be.
4332 Grep wants private fixed already mapped.
4333 The main things grep needs to know about mmap are:
4334 * does it exist and is it safe to write into the mmap'd area
4335 * how to use it (BSD variants) */
4338 #include <sys/mman.h>
4340 #if !STDC_HEADERS && !HAVE_STDLIB_H
4344 /* This mess was copied from the GNU getpagesize.h. */
4345 #if !HAVE_GETPAGESIZE
4346 /* Assume that all systems that can run configure have sys/param.h. */
4347 # if !HAVE_SYS_PARAM_H
4348 # define HAVE_SYS_PARAM_H 1
4351 # ifdef _SC_PAGESIZE
4352 # define getpagesize() sysconf(_SC_PAGESIZE)
4353 # else /* no _SC_PAGESIZE */
4354 # if HAVE_SYS_PARAM_H
4355 # include <sys/param.h>
4356 # ifdef EXEC_PAGESIZE
4357 # define getpagesize() EXEC_PAGESIZE
4358 # else /* no EXEC_PAGESIZE */
4360 # define getpagesize() NBPG * CLSIZE
4363 # endif /* no CLSIZE */
4364 # else /* no NBPG */
4366 # define getpagesize() NBPC
4367 # else /* no NBPC */
4369 # define getpagesize() PAGESIZE
4370 # endif /* PAGESIZE */
4371 # endif /* no NBPC */
4372 # endif /* no NBPG */
4373 # endif /* no EXEC_PAGESIZE */
4374 # else /* no HAVE_SYS_PARAM_H */
4375 # define getpagesize() 8192 /* punt totally */
4376 # endif /* no HAVE_SYS_PARAM_H */
4377 # endif /* no _SC_PAGESIZE */
4379 #endif /* no HAVE_GETPAGESIZE */
4384 char *data, *data2, *data3;
4388 pagesize = getpagesize ();
4390 /* First, make a file with some known garbage in it. */
4391 data = (char *) malloc (pagesize);
4394 for (i = 0; i < pagesize; ++i)
4395 *(data + i) = rand ();
4397 fd = creat ("conftest.mmap", 0600);
4400 if (write (fd, data, pagesize) != pagesize)
4404 /* Next, try to mmap the file at a fixed address which already has
4405 something else allocated at it. If we can, also make sure that
4406 we see the same garbage. */
4407 fd = open ("conftest.mmap", O_RDWR);
4410 data2 = (char *) malloc (2 * pagesize);
4413 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4414 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4415 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4417 for (i = 0; i < pagesize; ++i)
4418 if (*(data + i) != *(data2 + i))
4421 /* Finally, make sure that changes to the mapped area do not
4422 percolate back to the file as seen by read(). (This is a bug on
4423 some variants of i386 svr4.0.) */
4424 for (i = 0; i < pagesize; ++i)
4425 *(data2 + i) = *(data2 + i) + 1;
4426 data3 = (char *) malloc (pagesize);
4429 if (read (fd, data3, pagesize) != pagesize)
4431 for (i = 0; i < pagesize; ++i)
4432 if (*(data + i) != *(data3 + i))
4438 rm -f conftest
$ac_exeext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4440 (eval $ac_link) 2>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; }; then
4449 ac_cv_func_mmap_fixed_mapped
=yes
4451 echo "$as_me: program exited with status $ac_status" >&5
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.
$ac_ext >&5
4456 ac_cv_func_mmap_fixed_mapped
=no
4458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4461 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4462 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4463 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4465 cat >>confdefs.h
<<\_ACEOF
4473 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
4474 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
4475 if test "${ac_cv_gnu_library_2_1+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 cat >conftest.
$ac_ext <<_ACEOF
4481 cat confdefs.h
>>conftest.
$ac_ext
4482 cat >>conftest.
$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4485 #include <features.h>
4486 #ifdef __GNU_LIBRARY__
4487 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4494 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
4495 ac_cv_gnu_library_2_1
=yes
4497 ac_cv_gnu_library_2_1
=no
4504 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4505 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4507 GLIBC21
="$ac_cv_gnu_library_2_1"
4512 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
4513 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
4514 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 if test "$cross_compiling" = yes; then
4520 # Guess based on the CPU.
4522 alpha
* | i3456786 | m68k | s390
*)
4523 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4525 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4529 cat >conftest.
$ac_ext <<_ACEOF
4532 cat confdefs.h
>>conftest.
$ac_ext
4533 cat >>conftest.
$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4541 sigfpe_handler (int sig)
4543 sigfpe_handler (sig) int sig;
4546 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4547 exit (sig != SIGFPE);
4557 signal (SIGFPE, sigfpe_handler);
4558 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4559 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4560 signal (SIGTRAP, sigfpe_handler);
4562 /* Linux/SPARC yields signal SIGILL. */
4563 #if defined (__sparc__) && defined (__linux__)
4564 signal (SIGILL, sigfpe_handler);
4573 rm -f conftest
$ac_exeext
4574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4575 (eval $ac_link) 2>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; }; then
4584 gt_cv_int_divbyzero_sigfpe
=yes
4586 echo "$as_me: program exited with status $ac_status" >&5
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.
$ac_ext >&5
4591 gt_cv_int_divbyzero_sigfpe
=no
4593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4597 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
4598 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
4599 case "$gt_cv_int_divbyzero_sigfpe" in
4604 cat >>confdefs.h
<<_ACEOF
4605 #define INTDIV0_RAISES_SIGFPE $value
4610 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4611 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4612 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 #include <sys/types.h>
4622 #include <inttypes.h>
4626 uintmax_t i = (uintmax_t) -1;
4631 rm -f conftest.
$ac_objext
4632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633 (eval $ac_compile) 2>conftest.er1
4635 grep -v '^ *+' conftest.er1
>conftest.err
4637 cat conftest.err
>&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } &&
4640 { ac_try
='test -z "$ac_c_werror_flag"
4641 || test ! -s conftest.err'
4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); }; } &&
4647 { ac_try
='test -s conftest.$ac_objext'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then
4653 jm_ac_cv_header_inttypes_h
=yes
4655 echo "$as_me: failed program was:" >&5
4656 sed 's/^/| /' conftest.
$ac_ext >&5
4658 jm_ac_cv_header_inttypes_h
=no
4660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4662 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
4663 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4664 if test $jm_ac_cv_header_inttypes_h = yes; then
4666 cat >>confdefs.h
<<_ACEOF
4667 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4673 echo "$as_me:$LINENO: checking for stdint.h" >&5
4674 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
4675 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 cat >conftest.
$ac_ext <<_ACEOF
4681 cat confdefs.h
>>conftest.
$ac_ext
4682 cat >>conftest.
$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4684 #include <sys/types.h>
4689 uintmax_t i = (uintmax_t) -1;
4694 rm -f conftest.
$ac_objext
4695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4696 (eval $ac_compile) 2>conftest.er1
4698 grep -v '^ *+' conftest.er1
>conftest.err
4700 cat conftest.err
>&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } &&
4703 { ac_try
='test -z "$ac_c_werror_flag"
4704 || test ! -s conftest.err'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; } &&
4710 { ac_try
='test -s conftest.$ac_objext'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; }; then
4716 jm_ac_cv_header_stdint_h
=yes
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 jm_ac_cv_header_stdint_h
=no
4723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4725 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
4726 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
4727 if test $jm_ac_cv_header_stdint_h = yes; then
4729 cat >>confdefs.h
<<_ACEOF
4730 #define HAVE_STDINT_H_WITH_UINTMAX 1
4736 echo "$as_me:$LINENO: checking for unsigned long long" >&5
4737 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4738 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 cat >conftest.
$ac_ext <<_ACEOF
4744 cat confdefs.h
>>conftest.
$ac_ext
4745 cat >>conftest.
$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 unsigned long long ull = 1; int i = 63;
4751 unsigned long long ullmax = (unsigned long long) -1;
4752 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4757 rm -f conftest.
$ac_objext conftest
$ac_exeext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4759 (eval $ac_link) 2>conftest.er1
4761 grep -v '^ *+' conftest.er1
>conftest.err
4763 cat conftest.err
>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 { ac_try
='test -z "$ac_c_werror_flag"
4767 || test ! -s conftest.err'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; } &&
4773 { ac_try
='test -s conftest$ac_exeext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then
4779 ac_cv_type_unsigned_long_long
=yes
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4784 ac_cv_type_unsigned_long_long
=no
4786 rm -f conftest.err conftest.
$ac_objext \
4787 conftest
$ac_exeext conftest.
$ac_ext
4789 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4790 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4791 if test $ac_cv_type_unsigned_long_long = yes; then
4793 cat >>confdefs.h
<<\_ACEOF
4794 #define HAVE_UNSIGNED_LONG_LONG 1
4802 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4804 test $ac_cv_type_unsigned_long_long = yes \
4805 && ac_type
='unsigned long long' \
4806 || ac_type
='unsigned long'
4808 cat >>confdefs.h
<<_ACEOF
4809 #define uintmax_t $ac_type
4814 cat >>confdefs.h
<<\_ACEOF
4815 #define HAVE_UINTMAX_T 1
4821 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4822 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4823 if test "${gt_cv_header_inttypes_h+set}" = set; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.
$ac_ext <<_ACEOF
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 #include <sys/types.h>
4834 #include <inttypes.h>
4843 rm -f conftest.
$ac_objext
4844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4845 (eval $ac_compile) 2>conftest.er1
4847 grep -v '^ *+' conftest.er1
>conftest.err
4849 cat conftest.err
>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } &&
4852 { ac_try
='test -z "$ac_c_werror_flag"
4853 || test ! -s conftest.err'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; } &&
4859 { ac_try
='test -s conftest.$ac_objext'
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 gt_cv_header_inttypes_h
=yes
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.
$ac_ext >&5
4870 gt_cv_header_inttypes_h
=no
4872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4875 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
4876 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
4877 if test $gt_cv_header_inttypes_h = yes; then
4879 cat >>confdefs.h
<<_ACEOF
4880 #define HAVE_INTTYPES_H 1
4887 if test $gt_cv_header_inttypes_h = yes; then
4888 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
4889 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
4890 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 cat >conftest.
$ac_ext <<_ACEOF
4897 cat confdefs.h
>>conftest.
$ac_ext
4898 cat >>conftest.
$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4900 #include <inttypes.h>
4913 rm -f conftest.
$ac_objext
4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4915 (eval $ac_compile) 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try
='test -z "$ac_c_werror_flag"
4923 || test ! -s conftest.err'
4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }; } &&
4929 { ac_try
='test -s conftest.$ac_objext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4935 gt_cv_inttypes_pri_broken
=no
4937 echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.
$ac_ext >&5
4940 gt_cv_inttypes_pri_broken
=yes
4942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4945 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
4946 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
4948 if test "$gt_cv_inttypes_pri_broken" = yes; then
4950 cat >>confdefs.h
<<_ACEOF
4951 #define PRI_MACROS_BROKEN 1
4957 if test "X$prefix" = "XNONE"; then
4958 acl_final_prefix
="$ac_default_prefix"
4960 acl_final_prefix
="$prefix"
4962 if test "X$exec_prefix" = "XNONE"; then
4963 acl_final_exec_prefix
='${prefix}'
4965 acl_final_exec_prefix
="$exec_prefix"
4967 acl_save_prefix
="$prefix"
4968 prefix
="$acl_final_prefix"
4969 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
4970 prefix
="$acl_save_prefix"
4973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4974 if test "${with_gnu_ld+set}" = set; then
4975 withval
="$with_gnu_ld"
4976 test "$withval" = no || with_gnu_ld
=yes
4980 # Prepare PATH_SEPARATOR.
4981 # The user is always right.
4982 if test "${PATH_SEPARATOR+set}" != set; then
4983 echo "#! /bin/sh" >conf$$.sh
4984 echo "exit 0" >>conf$$.sh
4986 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4994 if test "$GCC" = yes; then
4995 # Check if gcc -print-prog-name=ld gives a path.
4996 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4997 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5000 # gcc leaves a trailing carriage return which upsets mingw
5001 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5003 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5006 # Accept absolute paths.
5007 [\\/]* |
[A-Za-z
]:[\\/]*)
5008 re_direlt
='/[^/][^/]*/\.\./'
5009 # Canonicalize the path of ld
5010 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5011 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5012 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5014 test -z "$LD" && LD
="$ac_prog"
5017 # If it fails, then pretend we aren't using GCC.
5021 # If it is relative, then search for the first ld in PATH.
5025 elif test "$with_gnu_ld" = yes; then
5026 echo "$as_me:$LINENO: checking for GNU ld" >&5
5027 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5029 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5030 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5032 if test "${acl_cv_path_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if test -z "$LD"; then
5036 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5037 for ac_dir
in $PATH; do
5038 test -z "$ac_dir" && ac_dir
=.
5039 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5040 acl_cv_path_LD
="$ac_dir/$ac_prog"
5041 # Check to see if the program is GNU ld. I'd rather use --version,
5042 # but apparently some GNU ld's only accept -v.
5043 # Break only if it was the GNU/non-GNU ld that we prefer.
5044 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5045 test "$with_gnu_ld" != no
&& break
5047 test "$with_gnu_ld" != yes && break
5053 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5057 LD
="$acl_cv_path_LD"
5058 if test -n "$LD"; then
5059 echo "$as_me:$LINENO: result: $LD" >&5
5060 echo "${ECHO_T}$LD" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5065 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5066 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5067 { (exit 1); exit 1; }; }
5068 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5069 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5070 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5074 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5075 acl_cv_prog_gnu_ld
=yes
5077 acl_cv_prog_gnu_ld
=no
5080 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5081 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5082 with_gnu_ld
=$acl_cv_prog_gnu_ld
5086 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5087 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5088 if test "${acl_cv_rpath+set}" = set; then
5089 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5093 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5099 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5100 echo "${ECHO_T}$acl_cv_rpath" >&6
5102 libext
="$acl_cv_libext"
5103 shlibext
="$acl_cv_shlibext"
5104 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5105 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5106 hardcode_direct
="$acl_cv_hardcode_direct"
5107 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5108 # Check whether --enable-rpath or --disable-rpath was given.
5109 if test "${enable_rpath+set}" = set; then
5110 enableval
="$enable_rpath"
5124 acl_save_prefix
="$prefix"
5125 prefix
="$acl_final_prefix"
5126 acl_save_exec_prefix
="$exec_prefix"
5127 exec_prefix
="$acl_final_exec_prefix"
5129 eval additional_includedir
=\"$includedir\"
5130 eval additional_libdir
=\"$libdir\"
5132 exec_prefix
="$acl_save_exec_prefix"
5133 prefix
="$acl_save_prefix"
5136 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5137 if test "${with_libiconv_prefix+set}" = set; then
5138 withval
="$with_libiconv_prefix"
5140 if test "X$withval" = "Xno"; then
5143 if test "X$withval" = "X"; then
5145 acl_save_prefix
="$prefix"
5146 prefix
="$acl_final_prefix"
5147 acl_save_exec_prefix
="$exec_prefix"
5148 exec_prefix
="$acl_final_exec_prefix"
5150 eval additional_includedir
=\"$includedir\"
5151 eval additional_libdir
=\"$libdir\"
5153 exec_prefix
="$acl_save_exec_prefix"
5154 prefix
="$acl_save_prefix"
5157 additional_includedir
="$withval/include"
5158 additional_libdir
="$withval/lib"
5168 names_already_handled
=
5169 names_next_round
='iconv '
5170 while test -n "$names_next_round"; do
5171 names_this_round
="$names_next_round"
5173 for name
in $names_this_round; do
5175 for n
in $names_already_handled; do
5176 if test "$n" = "$name"; then
5181 if test -z "$already_handled"; then
5182 names_already_handled
="$names_already_handled $name"
5183 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5184 eval value
=\"\
$HAVE_LIB$uppername\"
5185 if test -n "$value"; then
5186 if test "$value" = yes; then
5187 eval value
=\"\
$LIB$uppername\"
5188 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5189 eval value
=\"\
$LTLIB$uppername\"
5190 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5199 if test $use_additional = yes; then
5200 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5201 found_dir
="$additional_libdir"
5202 found_so
="$additional_libdir/lib$name.$shlibext"
5203 if test -f "$additional_libdir/lib$name.la"; then
5204 found_la
="$additional_libdir/lib$name.la"
5207 if test -f "$additional_libdir/lib$name.$libext"; then
5208 found_dir
="$additional_libdir"
5209 found_a
="$additional_libdir/lib$name.$libext"
5210 if test -f "$additional_libdir/lib$name.la"; then
5211 found_la
="$additional_libdir/lib$name.la"
5216 if test "X$found_dir" = "X"; then
5217 for x
in $LDFLAGS $LTLIBICONV; do
5219 acl_save_prefix
="$prefix"
5220 prefix
="$acl_final_prefix"
5221 acl_save_exec_prefix
="$exec_prefix"
5222 exec_prefix
="$acl_final_exec_prefix"
5224 exec_prefix
="$acl_save_exec_prefix"
5225 prefix
="$acl_save_prefix"
5229 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5230 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5232 found_so
="$dir/lib$name.$shlibext"
5233 if test -f "$dir/lib$name.la"; then
5234 found_la
="$dir/lib$name.la"
5237 if test -f "$dir/lib$name.$libext"; then
5239 found_a
="$dir/lib$name.$libext"
5240 if test -f "$dir/lib$name.la"; then
5241 found_la
="$dir/lib$name.la"
5247 if test "X$found_dir" != "X"; then
5252 if test "X$found_dir" != "X"; then
5253 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5254 if test "X$found_so" != "X"; then
5255 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5256 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5259 for x
in $ltrpathdirs; do
5260 if test "X$x" = "X$found_dir"; then
5265 if test -z "$haveit"; then
5266 ltrpathdirs
="$ltrpathdirs $found_dir"
5268 if test "$hardcode_direct" = yes; then
5269 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5271 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5272 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5274 for x
in $rpathdirs; do
5275 if test "X$x" = "X$found_dir"; then
5280 if test -z "$haveit"; then
5281 rpathdirs
="$rpathdirs $found_dir"
5285 for x
in $LDFLAGS $LIBICONV; do
5287 acl_save_prefix
="$prefix"
5288 prefix
="$acl_final_prefix"
5289 acl_save_exec_prefix
="$exec_prefix"
5290 exec_prefix
="$acl_final_exec_prefix"
5292 exec_prefix
="$acl_save_exec_prefix"
5293 prefix
="$acl_save_prefix"
5295 if test "X$x" = "X-L$found_dir"; then
5300 if test -z "$haveit"; then
5301 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5303 if test "$hardcode_minus_L" != no
; then
5304 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5306 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5312 if test "X$found_a" != "X"; then
5313 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5315 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5318 additional_includedir
=
5319 case "$found_dir" in
5321 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5322 additional_includedir
="$basedir/include"
5325 if test "X$additional_includedir" != "X"; then
5326 if test "X$additional_includedir" != "X/usr/include"; then
5328 if test "X$additional_includedir" = "X/usr/local/include"; then
5329 if test -n "$GCC"; then
5331 linux
*) haveit
=yes;;
5335 if test -z "$haveit"; then
5336 for x
in $CPPFLAGS $INCICONV; do
5338 acl_save_prefix
="$prefix"
5339 prefix
="$acl_final_prefix"
5340 acl_save_exec_prefix
="$exec_prefix"
5341 exec_prefix
="$acl_final_exec_prefix"
5343 exec_prefix
="$acl_save_exec_prefix"
5344 prefix
="$acl_save_prefix"
5346 if test "X$x" = "X-I$additional_includedir"; then
5351 if test -z "$haveit"; then
5352 if test -d "$additional_includedir"; then
5353 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5359 if test -n "$found_la"; then
5360 save_libdir
="$libdir"
5362 */* |
*\\*) .
"$found_la" ;;
5363 *) .
"./$found_la" ;;
5365 libdir
="$save_libdir"
5366 for dep
in $dependency_libs; do
5369 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5370 if test "X$additional_libdir" != "X/usr/lib"; then
5372 if test "X$additional_libdir" = "X/usr/local/lib"; then
5373 if test -n "$GCC"; then
5375 linux
*) haveit
=yes;;
5379 if test -z "$haveit"; then
5381 for x
in $LDFLAGS $LIBICONV; do
5383 acl_save_prefix
="$prefix"
5384 prefix
="$acl_final_prefix"
5385 acl_save_exec_prefix
="$exec_prefix"
5386 exec_prefix
="$acl_final_exec_prefix"
5388 exec_prefix
="$acl_save_exec_prefix"
5389 prefix
="$acl_save_prefix"
5391 if test "X$x" = "X-L$additional_libdir"; then
5396 if test -z "$haveit"; then
5397 if test -d "$additional_libdir"; then
5398 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5402 for x
in $LDFLAGS $LTLIBICONV; do
5404 acl_save_prefix
="$prefix"
5405 prefix
="$acl_final_prefix"
5406 acl_save_exec_prefix
="$exec_prefix"
5407 exec_prefix
="$acl_final_exec_prefix"
5409 exec_prefix
="$acl_save_exec_prefix"
5410 prefix
="$acl_save_prefix"
5412 if test "X$x" = "X-L$additional_libdir"; then
5417 if test -z "$haveit"; then
5418 if test -d "$additional_libdir"; then
5419 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5426 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5427 if test "$enable_rpath" != no
; then
5429 for x
in $rpathdirs; do
5430 if test "X$x" = "X$dir"; then
5435 if test -z "$haveit"; then
5436 rpathdirs
="$rpathdirs $dir"
5439 for x
in $ltrpathdirs; do
5440 if test "X$x" = "X$dir"; then
5445 if test -z "$haveit"; then
5446 ltrpathdirs
="$ltrpathdirs $dir"
5451 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5454 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5457 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5458 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5464 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5465 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5471 if test "X$rpathdirs" != "X"; then
5472 if test -n "$hardcode_libdir_separator"; then
5474 for found_dir
in $rpathdirs; do
5475 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5477 acl_save_libdir
="$libdir"
5479 eval flag
=\"$hardcode_libdir_flag_spec\"
5480 libdir
="$acl_save_libdir"
5481 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5483 for found_dir
in $rpathdirs; do
5484 acl_save_libdir
="$libdir"
5486 eval flag
=\"$hardcode_libdir_flag_spec\"
5487 libdir
="$acl_save_libdir"
5488 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5492 if test "X$ltrpathdirs" != "X"; then
5493 for found_dir
in $ltrpathdirs; do
5494 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5511 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5512 stdlib.h string.h unistd.h sys
/param.h
5514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5516 echo "$as_me:$LINENO: checking for $ac_header" >&5
5517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5524 # Is the header compilable?
5525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5527 cat >conftest.
$ac_ext <<_ACEOF
5530 cat confdefs.h
>>conftest.
$ac_ext
5531 cat >>conftest.
$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5533 $ac_includes_default
5534 #include <$ac_header>
5536 rm -f conftest.
$ac_objext
5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538 (eval $ac_compile) 2>conftest.er1
5540 grep -v '^ *+' conftest.er1
>conftest.err
5542 cat conftest.err
>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try
='test -z "$ac_c_werror_flag"
5546 || test ! -s conftest.err'
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; } &&
5552 { ac_try
='test -s conftest.$ac_objext'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then
5558 ac_header_compiler
=yes
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 ac_header_compiler
=no
5565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5567 echo "${ECHO_T}$ac_header_compiler" >&6
5569 # Is the header present?
5570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5572 cat >conftest.
$ac_ext <<_ACEOF
5575 cat confdefs.h
>>conftest.
$ac_ext
5576 cat >>conftest.
$ac_ext <<_ACEOF
5577 /* end confdefs.h. */
5578 #include <$ac_header>
5580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5583 grep -v '^ *+' conftest.er1
>conftest.err
5585 cat conftest.err
>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } >/dev
/null
; then
5588 if test -s conftest.err
; then
5589 ac_cpp_err
=$ac_c_preproc_warn_flag
5590 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5597 if test -z "$ac_cpp_err"; then
5598 ac_header_preproc
=yes
5600 echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.
$ac_ext >&5
5603 ac_header_preproc
=no
5605 rm -f conftest.err conftest.
$ac_ext
5606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5607 echo "${ECHO_T}$ac_header_preproc" >&6
5609 # So? What about this header?
5610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5616 ac_header_preproc
=yes
5619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5633 ## ------------------------------------------ ##
5634 ## Report this to the AC_PACKAGE_NAME lists. ##
5635 ## ------------------------------------------ ##
5638 sed "s/^/$as_me: WARNING: /" >&2
5641 echo "$as_me:$LINENO: checking for $ac_header" >&5
5642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 eval "$as_ac_Header=\$ac_header_preproc"
5648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5653 cat >>confdefs.h
<<_ACEOF
5654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5683 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5684 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5685 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5689 echo "$as_me:$LINENO: checking for $ac_func" >&5
5690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5691 if eval "test \"\${$as_ac_var+set}\" = set"; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 cat >conftest.
$ac_ext <<_ACEOF
5697 cat confdefs.h
>>conftest.
$ac_ext
5698 cat >>conftest.
$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5702 #define $ac_func innocuous_$ac_func
5704 /* System header to define __stub macros and hopefully few prototypes,
5705 which can conflict with char $ac_func (); below.
5706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707 <limits.h> exists even on freestanding compilers. */
5710 # include <limits.h>
5712 # include <assert.h>
5717 /* Override any gcc2 internal prototype to avoid an error. */
5722 /* We use char because int might match the return type of a gcc2
5723 builtin and then its argument prototype would still apply. */
5725 /* The GNU C library defines this for functions which it implements
5726 to always fail with ENOSYS. Some functions are actually named
5727 something starting with __ and the normal name is an alias. */
5728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5731 char (*f) () = $ac_func;
5740 return f != $ac_func;
5745 rm -f conftest.
$ac_objext conftest
$ac_exeext
5746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5747 (eval $ac_link) 2>conftest.er1
5749 grep -v '^ *+' conftest.er1
>conftest.err
5751 cat conftest.err
>&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); } &&
5754 { ac_try
='test -z "$ac_c_werror_flag"
5755 || test ! -s conftest.err'
5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; } &&
5761 { ac_try
='test -s conftest$ac_exeext'
5762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); }; }; then
5767 eval "$as_ac_var=yes"
5769 echo "$as_me: failed program was:" >&5
5770 sed 's/^/| /' conftest.
$ac_ext >&5
5772 eval "$as_ac_var=no"
5774 rm -f conftest.err conftest.
$ac_objext \
5775 conftest
$ac_exeext conftest.
$ac_ext
5777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5779 if test `eval echo '${'$as_ac_var'}'` = yes; then
5780 cat >>confdefs.h
<<_ACEOF
5781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5793 am_save_CPPFLAGS
="$CPPFLAGS"
5795 for element
in $INCICONV; do
5797 for x
in $CPPFLAGS; do
5799 acl_save_prefix
="$prefix"
5800 prefix
="$acl_final_prefix"
5801 acl_save_exec_prefix
="$exec_prefix"
5802 exec_prefix
="$acl_final_exec_prefix"
5804 exec_prefix
="$acl_save_exec_prefix"
5805 prefix
="$acl_save_prefix"
5807 if test "X$x" = "X$element"; then
5812 if test -z "$haveit"; then
5813 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5818 echo "$as_me:$LINENO: checking for iconv" >&5
5819 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5820 if test "${am_cv_func_iconv+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 am_cv_func_iconv
="no, consider installing GNU libiconv"
5826 cat >conftest.
$ac_ext <<_ACEOF
5829 cat confdefs.h
>>conftest.
$ac_ext
5830 cat >>conftest.
$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5837 iconv_t cd = iconv_open("","");
5838 iconv(cd,NULL,NULL,NULL,NULL);
5844 rm -f conftest.
$ac_objext conftest
$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>conftest.er1
5848 grep -v '^ *+' conftest.er1
>conftest.err
5850 cat conftest.err
>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try
='test -z "$ac_c_werror_flag"
5854 || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try
='test -s conftest$ac_exeext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 am_cv_func_iconv
=yes
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.
$ac_ext >&5
5872 rm -f conftest.err conftest.
$ac_objext \
5873 conftest
$ac_exeext conftest.
$ac_ext
5874 if test "$am_cv_func_iconv" != yes; then
5875 am_save_LIBS
="$LIBS"
5876 LIBS
="$LIBS $LIBICONV"
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5888 iconv_t cd = iconv_open("","");
5889 iconv(cd,NULL,NULL,NULL,NULL);
5895 rm -f conftest.
$ac_objext conftest
$ac_exeext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5897 (eval $ac_link) 2>conftest.er1
5899 grep -v '^ *+' conftest.er1
>conftest.err
5901 cat conftest.err
>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try
='test -z "$ac_c_werror_flag"
5905 || test ! -s conftest.err'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try
='test -s conftest$ac_exeext'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; }; then
5918 am_cv_func_iconv
=yes
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.
$ac_ext >&5
5924 rm -f conftest.err conftest.
$ac_objext \
5925 conftest
$ac_exeext conftest.
$ac_ext
5926 LIBS
="$am_save_LIBS"
5930 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5931 echo "${ECHO_T}$am_cv_func_iconv" >&6
5932 if test "$am_cv_func_iconv" = yes; then
5934 cat >>confdefs.h
<<\_ACEOF
5935 #define HAVE_ICONV 1
5939 if test "$am_cv_lib_iconv" = yes; then
5940 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5941 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
5942 echo "$as_me:$LINENO: result: $LIBICONV" >&5
5943 echo "${ECHO_T}$LIBICONV" >&6
5945 CPPFLAGS
="$am_save_CPPFLAGS"
5952 if test "$am_cv_func_iconv" = yes; then
5953 echo "$as_me:$LINENO: checking for iconv declaration" >&5
5954 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
5955 if test "${am_cv_proto_iconv+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 cat >conftest.
$ac_ext <<_ACEOF
5962 cat confdefs.h
>>conftest.
$ac_ext
5963 cat >>conftest.
$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5972 #if defined(__STDC__) || defined(__cplusplus)
5973 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5986 rm -f conftest.
$ac_objext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988 (eval $ac_compile) 2>conftest.er1
5990 grep -v '^ *+' conftest.er1
>conftest.err
5992 cat conftest.err
>&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try
='test -z "$ac_c_werror_flag"
5996 || test ! -s conftest.err'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try
='test -s conftest.$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 am_cv_proto_iconv_arg1
=""
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.
$ac_ext >&5
6013 am_cv_proto_iconv_arg1
="const"
6015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 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);"
6019 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6020 echo "$as_me:$LINENO: result: ${ac_t:-
6021 }$am_cv_proto_iconv" >&5
6022 echo "${ECHO_T}${ac_t:-
6023 }$am_cv_proto_iconv" >&6
6025 cat >>confdefs.h
<<_ACEOF
6026 #define ICONV_CONST $am_cv_proto_iconv_arg1
6032 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6033 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6034 if test "${am_cv_langinfo_codeset+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 cat >conftest.
$ac_ext <<_ACEOF
6040 cat confdefs.h
>>conftest.
$ac_ext
6041 cat >>conftest.
$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 #include <langinfo.h>
6047 char* cs = nl_langinfo(CODESET);
6052 rm -f conftest.
$ac_objext conftest
$ac_exeext
6053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6054 (eval $ac_link) 2>conftest.er1
6056 grep -v '^ *+' conftest.er1
>conftest.err
6058 cat conftest.err
>&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } &&
6061 { ac_try
='test -z "$ac_c_werror_flag"
6062 || test ! -s conftest.err'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; } &&
6068 { ac_try
='test -s conftest$ac_exeext'
6069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; }; then
6074 am_cv_langinfo_codeset
=yes
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.
$ac_ext >&5
6079 am_cv_langinfo_codeset
=no
6081 rm -f conftest.err conftest.
$ac_objext \
6082 conftest
$ac_exeext conftest.
$ac_ext
6085 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6086 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6087 if test $am_cv_langinfo_codeset = yes; then
6089 cat >>confdefs.h
<<\_ACEOF
6090 #define HAVE_LANGINFO_CODESET 1
6095 if test $ac_cv_header_locale_h = yes; then
6097 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6098 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6099 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 cat >conftest.
$ac_ext <<_ACEOF
6105 cat confdefs.h
>>conftest.
$ac_ext
6106 cat >>conftest.
$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6117 rm -f conftest.
$ac_objext conftest
$ac_exeext
6118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6119 (eval $ac_link) 2>conftest.er1
6121 grep -v '^ *+' conftest.er1
>conftest.err
6123 cat conftest.err
>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); } &&
6126 { ac_try
='test -z "$ac_c_werror_flag"
6127 || test ! -s conftest.err'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; } &&
6133 { ac_try
='test -s conftest$ac_exeext'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; }; then
6139 am_cv_val_LC_MESSAGES
=yes
6141 echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.
$ac_ext >&5
6144 am_cv_val_LC_MESSAGES
=no
6146 rm -f conftest.err conftest.
$ac_objext \
6147 conftest
$ac_exeext conftest.
$ac_ext
6149 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6150 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6151 if test $am_cv_val_LC_MESSAGES = yes; then
6153 cat >>confdefs.h
<<\_ACEOF
6154 #define HAVE_LC_MESSAGES 1
6161 for ac_prog
in bison
6163 # Extract the first word of "$ac_prog", so it can be a program name with args.
6164 set dummy
$ac_prog; ac_word
=$2
6165 echo "$as_me:$LINENO: checking for $ac_word" >&5
6166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6167 if test "${ac_cv_prog_INTLBISON+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 if test -n "$INTLBISON"; then
6171 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
6173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6177 test -z "$as_dir" && as_dir
=.
6178 for ac_exec_ext
in '' $ac_executable_extensions; do
6179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_INTLBISON
="$ac_prog"
6181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 INTLBISON
=$ac_cv_prog_INTLBISON
6190 if test -n "$INTLBISON"; then
6191 echo "$as_me:$LINENO: result: $INTLBISON" >&5
6192 echo "${ECHO_T}$INTLBISON" >&6
6194 echo "$as_me:$LINENO: result: no" >&5
6195 echo "${ECHO_T}no" >&6
6198 test -n "$INTLBISON" && break
6201 if test -z "$INTLBISON"; then
6204 echo "$as_me:$LINENO: checking version of bison" >&5
6205 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
6206 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6207 case $ac_prog_version in
6208 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
6209 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
6210 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
6211 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
6213 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
6214 echo "${ECHO_T}$ac_prog_version" >&6
6216 if test $ac_verc_fail = yes; then
6235 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6236 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6237 # Check whether --enable-nls or --disable-nls was given.
6238 if test "${enable_nls+set}" = set; then
6239 enableval
="$enable_nls"
6244 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6245 echo "${ECHO_T}$USE_NLS" >&6
6250 BUILD_INCLUDED_LIBINTL
=no
6251 USE_INCLUDED_LIBINTL
=no
6257 if test "$USE_NLS" = "yes"; then
6258 gt_use_preinstalled_gnugettext
=no
6260 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6261 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6263 # Check whether --with-included-gettext or --without-included-gettext was given.
6264 if test "${with_included_gettext+set}" = set; then
6265 withval
="$with_included_gettext"
6266 nls_cv_force_use_gnu_gettext
=$withval
6268 nls_cv_force_use_gnu_gettext
=no
6270 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6271 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6273 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6274 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6281 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
6282 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
6283 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 cat >conftest.
$ac_ext <<_ACEOF
6289 cat confdefs.h
>>conftest.
$ac_ext
6290 cat >>conftest.
$ac_ext <<_ACEOF
6291 /* end confdefs.h. */
6292 #include <libintl.h>
6293 extern int _nl_msg_cat_cntr;
6294 extern int *_nl_domain_bindings;
6298 bindtextdomain ("", "");
6299 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
6304 rm -f conftest.
$ac_objext conftest
$ac_exeext
6305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6306 (eval $ac_link) 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } &&
6313 { ac_try
='test -z "$ac_c_werror_flag"
6314 || test ! -s conftest.err'
6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; } &&
6320 { ac_try
='test -s conftest$ac_exeext'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; }; then
6326 gt_cv_func_gnugettext1_libc
=yes
6328 echo "$as_me: failed program was:" >&5
6329 sed 's/^/| /' conftest.
$ac_ext >&5
6331 gt_cv_func_gnugettext1_libc
=no
6333 rm -f conftest.err conftest.
$ac_objext \
6334 conftest
$ac_exeext conftest.
$ac_ext
6336 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
6337 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
6339 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
6345 acl_save_prefix
="$prefix"
6346 prefix
="$acl_final_prefix"
6347 acl_save_exec_prefix
="$exec_prefix"
6348 exec_prefix
="$acl_final_exec_prefix"
6350 eval additional_includedir
=\"$includedir\"
6351 eval additional_libdir
=\"$libdir\"
6353 exec_prefix
="$acl_save_exec_prefix"
6354 prefix
="$acl_save_prefix"
6357 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
6358 if test "${with_libintl_prefix+set}" = set; then
6359 withval
="$with_libintl_prefix"
6361 if test "X$withval" = "Xno"; then
6364 if test "X$withval" = "X"; then
6366 acl_save_prefix
="$prefix"
6367 prefix
="$acl_final_prefix"
6368 acl_save_exec_prefix
="$exec_prefix"
6369 exec_prefix
="$acl_final_exec_prefix"
6371 eval additional_includedir
=\"$includedir\"
6372 eval additional_libdir
=\"$libdir\"
6374 exec_prefix
="$acl_save_exec_prefix"
6375 prefix
="$acl_save_prefix"
6378 additional_includedir
="$withval/include"
6379 additional_libdir
="$withval/lib"
6389 names_already_handled
=
6390 names_next_round
='intl '
6391 while test -n "$names_next_round"; do
6392 names_this_round
="$names_next_round"
6394 for name
in $names_this_round; do
6396 for n
in $names_already_handled; do
6397 if test "$n" = "$name"; then
6402 if test -z "$already_handled"; then
6403 names_already_handled
="$names_already_handled $name"
6404 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6405 eval value
=\"\
$HAVE_LIB$uppername\"
6406 if test -n "$value"; then
6407 if test "$value" = yes; then
6408 eval value
=\"\
$LIB$uppername\"
6409 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6410 eval value
=\"\
$LTLIB$uppername\"
6411 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6420 if test $use_additional = yes; then
6421 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6422 found_dir
="$additional_libdir"
6423 found_so
="$additional_libdir/lib$name.$shlibext"
6424 if test -f "$additional_libdir/lib$name.la"; then
6425 found_la
="$additional_libdir/lib$name.la"
6428 if test -f "$additional_libdir/lib$name.$libext"; then
6429 found_dir
="$additional_libdir"
6430 found_a
="$additional_libdir/lib$name.$libext"
6431 if test -f "$additional_libdir/lib$name.la"; then
6432 found_la
="$additional_libdir/lib$name.la"
6437 if test "X$found_dir" = "X"; then
6438 for x
in $LDFLAGS $LTLIBINTL; do
6440 acl_save_prefix
="$prefix"
6441 prefix
="$acl_final_prefix"
6442 acl_save_exec_prefix
="$exec_prefix"
6443 exec_prefix
="$acl_final_exec_prefix"
6445 exec_prefix
="$acl_save_exec_prefix"
6446 prefix
="$acl_save_prefix"
6450 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6451 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6453 found_so
="$dir/lib$name.$shlibext"
6454 if test -f "$dir/lib$name.la"; then
6455 found_la
="$dir/lib$name.la"
6458 if test -f "$dir/lib$name.$libext"; then
6460 found_a
="$dir/lib$name.$libext"
6461 if test -f "$dir/lib$name.la"; then
6462 found_la
="$dir/lib$name.la"
6468 if test "X$found_dir" != "X"; then
6473 if test "X$found_dir" != "X"; then
6474 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6475 if test "X$found_so" != "X"; then
6476 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6477 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6480 for x
in $ltrpathdirs; do
6481 if test "X$x" = "X$found_dir"; then
6486 if test -z "$haveit"; then
6487 ltrpathdirs
="$ltrpathdirs $found_dir"
6489 if test "$hardcode_direct" = yes; then
6490 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6492 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6493 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6495 for x
in $rpathdirs; do
6496 if test "X$x" = "X$found_dir"; then
6501 if test -z "$haveit"; then
6502 rpathdirs
="$rpathdirs $found_dir"
6506 for x
in $LDFLAGS $LIBINTL; do
6508 acl_save_prefix
="$prefix"
6509 prefix
="$acl_final_prefix"
6510 acl_save_exec_prefix
="$exec_prefix"
6511 exec_prefix
="$acl_final_exec_prefix"
6513 exec_prefix
="$acl_save_exec_prefix"
6514 prefix
="$acl_save_prefix"
6516 if test "X$x" = "X-L$found_dir"; then
6521 if test -z "$haveit"; then
6522 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6524 if test "$hardcode_minus_L" != no
; then
6525 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6527 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6533 if test "X$found_a" != "X"; then
6534 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6536 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6539 additional_includedir
=
6540 case "$found_dir" in
6542 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6543 additional_includedir
="$basedir/include"
6546 if test "X$additional_includedir" != "X"; then
6547 if test "X$additional_includedir" != "X/usr/include"; then
6549 if test "X$additional_includedir" = "X/usr/local/include"; then
6550 if test -n "$GCC"; then
6552 linux
*) haveit
=yes;;
6556 if test -z "$haveit"; then
6557 for x
in $CPPFLAGS $INCINTL; do
6559 acl_save_prefix
="$prefix"
6560 prefix
="$acl_final_prefix"
6561 acl_save_exec_prefix
="$exec_prefix"
6562 exec_prefix
="$acl_final_exec_prefix"
6564 exec_prefix
="$acl_save_exec_prefix"
6565 prefix
="$acl_save_prefix"
6567 if test "X$x" = "X-I$additional_includedir"; then
6572 if test -z "$haveit"; then
6573 if test -d "$additional_includedir"; then
6574 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6580 if test -n "$found_la"; then
6581 save_libdir
="$libdir"
6583 */* |
*\\*) .
"$found_la" ;;
6584 *) .
"./$found_la" ;;
6586 libdir
="$save_libdir"
6587 for dep
in $dependency_libs; do
6590 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6591 if test "X$additional_libdir" != "X/usr/lib"; then
6593 if test "X$additional_libdir" = "X/usr/local/lib"; then
6594 if test -n "$GCC"; then
6596 linux
*) haveit
=yes;;
6600 if test -z "$haveit"; then
6602 for x
in $LDFLAGS $LIBINTL; do
6604 acl_save_prefix
="$prefix"
6605 prefix
="$acl_final_prefix"
6606 acl_save_exec_prefix
="$exec_prefix"
6607 exec_prefix
="$acl_final_exec_prefix"
6609 exec_prefix
="$acl_save_exec_prefix"
6610 prefix
="$acl_save_prefix"
6612 if test "X$x" = "X-L$additional_libdir"; then
6617 if test -z "$haveit"; then
6618 if test -d "$additional_libdir"; then
6619 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6623 for x
in $LDFLAGS $LTLIBINTL; do
6625 acl_save_prefix
="$prefix"
6626 prefix
="$acl_final_prefix"
6627 acl_save_exec_prefix
="$exec_prefix"
6628 exec_prefix
="$acl_final_exec_prefix"
6630 exec_prefix
="$acl_save_exec_prefix"
6631 prefix
="$acl_save_prefix"
6633 if test "X$x" = "X-L$additional_libdir"; then
6638 if test -z "$haveit"; then
6639 if test -d "$additional_libdir"; then
6640 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6647 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6648 if test "$enable_rpath" != no
; then
6650 for x
in $rpathdirs; do
6651 if test "X$x" = "X$dir"; then
6656 if test -z "$haveit"; then
6657 rpathdirs
="$rpathdirs $dir"
6660 for x
in $ltrpathdirs; do
6661 if test "X$x" = "X$dir"; then
6666 if test -z "$haveit"; then
6667 ltrpathdirs
="$ltrpathdirs $dir"
6672 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6675 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6678 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6679 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6685 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6686 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6692 if test "X$rpathdirs" != "X"; then
6693 if test -n "$hardcode_libdir_separator"; then
6695 for found_dir
in $rpathdirs; do
6696 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6698 acl_save_libdir
="$libdir"
6700 eval flag
=\"$hardcode_libdir_flag_spec\"
6701 libdir
="$acl_save_libdir"
6702 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6704 for found_dir
in $rpathdirs; do
6705 acl_save_libdir
="$libdir"
6707 eval flag
=\"$hardcode_libdir_flag_spec\"
6708 libdir
="$acl_save_libdir"
6709 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6713 if test "X$ltrpathdirs" != "X"; then
6714 for found_dir
in $ltrpathdirs; do
6715 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6719 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6720 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6721 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 gt_save_CPPFLAGS
="$CPPFLAGS"
6725 CPPFLAGS
="$CPPFLAGS $INCINTL"
6726 gt_save_LIBS
="$LIBS"
6727 LIBS
="$LIBS $LIBINTL"
6728 cat >conftest.
$ac_ext <<_ACEOF
6731 cat confdefs.h
>>conftest.
$ac_ext
6732 cat >>conftest.
$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6734 #include <libintl.h>
6735 extern int _nl_msg_cat_cntr;
6740 const char *_nl_expand_alias ();
6744 bindtextdomain ("", "");
6745 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6750 rm -f conftest.
$ac_objext conftest
$ac_exeext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6752 (eval $ac_link) 2>conftest.er1
6754 grep -v '^ *+' conftest.er1
>conftest.err
6756 cat conftest.err
>&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } &&
6759 { ac_try
='test -z "$ac_c_werror_flag"
6760 || test ! -s conftest.err'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; } &&
6766 { ac_try
='test -s conftest$ac_exeext'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; }; then
6772 gt_cv_func_gnugettext1_libintl
=yes
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.
$ac_ext >&5
6777 gt_cv_func_gnugettext1_libintl
=no
6779 rm -f conftest.err conftest.
$ac_objext \
6780 conftest
$ac_exeext conftest.
$ac_ext
6781 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6782 LIBS
="$LIBS $LIBICONV"
6783 cat >conftest.
$ac_ext <<_ACEOF
6786 cat confdefs.h
>>conftest.
$ac_ext
6787 cat >>conftest.
$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 #include <libintl.h>
6790 extern int _nl_msg_cat_cntr;
6795 const char *_nl_expand_alias ();
6799 bindtextdomain ("", "");
6800 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6805 rm -f conftest.
$ac_objext conftest
$ac_exeext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6807 (eval $ac_link) 2>conftest.er1
6809 grep -v '^ *+' conftest.er1
>conftest.err
6811 cat conftest.err
>&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } &&
6814 { ac_try
='test -z "$ac_c_werror_flag"
6815 || test ! -s conftest.err'
6816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; } &&
6821 { ac_try
='test -s conftest$ac_exeext'
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; }; then
6827 LIBINTL
="$LIBINTL $LIBICONV"
6828 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6829 gt_cv_func_gnugettext1_libintl
=yes
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6836 rm -f conftest.err conftest.
$ac_objext \
6837 conftest
$ac_exeext conftest.
$ac_ext
6839 CPPFLAGS
="$gt_save_CPPFLAGS"
6840 LIBS
="$gt_save_LIBS"
6842 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
6843 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
6846 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6847 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6848 && test "$PACKAGE" != gettext-runtime \
6849 && test "$PACKAGE" != gettext-tools
; }; then
6850 gt_use_preinstalled_gnugettext
=yes
6858 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6859 nls_cv_use_gnu_gettext
=yes
6863 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6864 BUILD_INCLUDED_LIBINTL
=yes
6865 USE_INCLUDED_LIBINTL
=yes
6866 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6867 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6868 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6871 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6872 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6877 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6878 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6880 cat >>confdefs.h
<<\_ACEOF
6881 #define ENABLE_NLS 1
6889 echo "$as_me:$LINENO: checking whether to use NLS" >&5
6890 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
6891 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6892 echo "${ECHO_T}$USE_NLS" >&6
6893 if test "$USE_NLS" = "yes"; then
6894 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
6895 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
6896 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6897 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6898 gt_source
="external libintl"
6903 gt_source
="included intl directory"
6905 echo "$as_me:$LINENO: result: $gt_source" >&5
6906 echo "${ECHO_T}$gt_source" >&6
6909 if test "$USE_NLS" = "yes"; then
6911 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6912 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6913 echo "$as_me:$LINENO: checking how to link with libintl" >&5
6914 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
6915 echo "$as_me:$LINENO: result: $LIBINTL" >&5
6916 echo "${ECHO_T}$LIBINTL" >&6
6918 for element
in $INCINTL; do
6920 for x
in $CPPFLAGS; do
6922 acl_save_prefix
="$prefix"
6923 prefix
="$acl_final_prefix"
6924 acl_save_exec_prefix
="$exec_prefix"
6925 exec_prefix
="$acl_final_exec_prefix"
6927 exec_prefix
="$acl_save_exec_prefix"
6928 prefix
="$acl_save_prefix"
6930 if test "X$x" = "X$element"; then
6935 if test -z "$haveit"; then
6936 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6943 cat >>confdefs.h
<<\_ACEOF
6944 #define HAVE_GETTEXT 1
6948 cat >>confdefs.h
<<\_ACEOF
6949 #define HAVE_DCGETTEXT 1
6958 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6959 BUILD_INCLUDED_LIBINTL
=yes
6967 nls_cv_header_libgt
=
6978 if test "$USE_INCLUDED_LIBINTL" = yes; then
6979 INTLOBJS
="\$(GETTOBJS)"
6983 INTL_LIBTOOL_SUFFIX_PREFIX
=
6995 # This replaces the extensive use of DEFS in the original Makefile.in.
6997 cat >>confdefs.h
<<\_ACEOF
6998 #define IN_LIBINTL 1
7002 cat >>confdefs.h
<<\_ACEOF
7003 #define IN_LIBRARY 1
7007 cat >>confdefs.h
<<\_ACEOF
7008 #define DEPENDS_ON_LIBICONV 1
7012 cat >>confdefs.h
<<\_ACEOF
7013 #define ENABLE_RELOCATABLE 1
7017 cat >>confdefs.h
<<\_ACEOF
7018 #define NO_XMALLOC 1
7022 cat >>confdefs.h
<<\_ACEOF
7023 #define set_relocation_prefix libintl_set_relocation_prefix
7027 cat >>confdefs.h
<<\_ACEOF
7028 #define relocate libintl_relocate
7032 # Additional info for config.intl.
7038 case $USE_INCLUDED_LIBINTL in
7040 LIBINTL_DEP
='${top_builddir}/intl/libintl.a'
7041 INCINTL
='-I${top_builddir}/intl'
7045 ac_config_files
="$ac_config_files Makefile config.intl"
7047 cat >confcache
<<\_ACEOF
7048 # This file is a shell script that caches the results of configure
7049 # tests run on this system so they can be shared between configure
7050 # scripts and configure runs, see configure's option --config-cache.
7051 # It is not useful on other systems. If it contains results you don't
7052 # want to keep, you may remove or edit it.
7054 # config.status only pays attention to the cache file if you give it
7055 # the --recheck option to rerun configure.
7057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7063 # The following way of writing the cache mishandles newlines in values,
7064 # but we know of no workaround that is simple, portable, and efficient.
7065 # So, don't put newlines in cache variables' values.
7066 # Ultrix sh set writes to stderr and can't be redirected directly,
7067 # and sets the high bit in the cache file unless we assign to the vars.
7070 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7072 # `set' does not quote correctly, so add quotes (double-quote
7073 # substitution turns \\\\ into \\, and sed turns \\ into \).
7076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7079 # `set' quotes correctly as required by POSIX, so do not add quotes.
7081 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7088 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7090 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7092 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7093 if test -w $cache_file; then
7094 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7095 cat confcache
>$cache_file
7097 echo "not updating unwritable cache $cache_file"
7102 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7103 # Let make expand exec_prefix.
7104 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7106 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7107 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7108 # trailing colons and then remove the whole line if VPATH becomes empty
7109 # (actually we leave an empty line to preserve line numbers).
7110 if test "x$srcdir" = x.
; then
7111 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7112 s/:*\$(srcdir):*/:/;
7113 s/:*\${srcdir}:*/:/;
7115 s/^\([^=]*=[ ]*\):*/\1/;
7121 DEFS
=-DHAVE_CONFIG_H
7125 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7126 # 1. Remove the extension, and $U if already installed.
7127 ac_i
=`echo "$ac_i" |
7128 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7130 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7131 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7135 LTLIBOBJS
=$ac_ltlibobjs
7139 : ${CONFIG_STATUS=./config.status}
7140 ac_clean_files_save
=$ac_clean_files
7141 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7142 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7143 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7144 cat >$CONFIG_STATUS <<_ACEOF
7146 # Generated by $as_me.
7147 # Run this file to recreate the current configuration.
7148 # Compiler output produced by configure, useful for debugging
7149 # configure, is in config.log if it exists.
7154 SHELL=\${CONFIG_SHELL-$SHELL}
7157 cat >>$CONFIG_STATUS <<\_ACEOF
7158 ## --------------------- ##
7159 ## M4sh Initialization. ##
7160 ## --------------------- ##
7162 # Be Bourne compatible
7163 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7166 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7167 # is contrary to our usage. Disable this feature.
7168 alias -g '${1+"$@"}'='"$@"'
7169 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7172 DUALCASE
=1; export DUALCASE
# for MKS sh
7174 # Support unset when possible.
7175 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7182 # Work around bugs in pre-3.0 UWIN ksh.
7183 $as_unset ENV MAIL MAILPATH
7190 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7191 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7192 LC_TELEPHONE LC_TIME
7194 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7195 eval $as_var=C
; export $as_var
7201 # Required to use basename.
7202 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7208 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7209 as_basename
=basename
7215 # Name of the executable.
7216 as_me
=`$as_basename "$0" ||
7217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7218 X"$0" : 'X\(//\)$' \| \
7219 X"$0" : 'X\(/\)$' \| \
7220 . : '\(.\)' 2>/dev/null ||
7222 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7223 /^X\/\(\/\/\)$/{ s//\1/; q; }
7224 /^X\/\(\/\).*/{ s//\1/; q; }
7228 # PATH needs CR, and LINENO needs CR and PATH.
7229 # Avoid depending upon Character Ranges.
7230 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7231 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7232 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7233 as_cr_digits
='0123456789'
7234 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7236 # The user is always right.
7237 if test "${PATH_SEPARATOR+set}" != set; then
7238 echo "#! /bin/sh" >conf$$.sh
7239 echo "exit 0" >>conf$$.sh
7241 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7252 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7253 test "x$as_lineno_1" != "x$as_lineno_2" &&
7254 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7255 # Find who we are. Look in the path if we contain no path at all
7258 *[\\/]* ) as_myself
=$0 ;;
7259 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7263 test -z "$as_dir" && as_dir
=.
7264 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7269 # We did not find ourselves, most probably we were run as `sh COMMAND'
7270 # in which case we are not to be found in the path.
7271 if test "x$as_myself" = x
; then
7274 if test ! -f "$as_myself"; then
7275 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7276 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7277 { (exit 1); exit 1; }; }
7279 case $CONFIG_SHELL in
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7282 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7285 test -z "$as_dir" && as_dir
=.
7286 for as_base
in sh bash ksh sh5
; do
7289 if ("$as_dir/$as_base" -c '
7292 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7293 test "x$as_lineno_1" != "x$as_lineno_2" &&
7294 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7295 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7296 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7297 CONFIG_SHELL
=$as_dir/$as_base
7299 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7307 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7308 # uniformly replaced by the line number. The first 'sed' inserts a
7309 # line-number line before each line; the second 'sed' does the real
7310 # work. The second script uses 'N' to pair each line-number line
7311 # with the numbered line, and appends trailing '-' during
7312 # substitution so that $LINENO is not a special case at line end.
7313 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7314 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7315 sed '=' <$as_myself |
7320 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7323 s,^['$as_cr_digits']*\n,,
7325 chmod +x
$as_me.lineno ||
7326 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7327 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7328 { (exit 1); exit 1; }; }
7330 # Don't try to exec as it changes $[0], causing all sort of problems
7331 # (the dirname of $[0] is not the place where we might find the
7332 # original and so on. Autoconf is especially sensible to this).
7334 # Exit status is that of the last command.
7339 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7340 *c
*,-n*) ECHO_N
= ECHO_C
='
7342 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7343 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7346 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7352 rm -f conf$$ conf$$.exe conf$$.
file
7354 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7355 # We could just check for DJGPP; but this test a) works b) is more generic
7356 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7357 if test -f conf$$.exe
; then
7358 # Don't use ln at all; we don't have any links
7363 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7368 rm -f conf$$ conf$$.exe conf$$.
file
7370 if mkdir
-p .
2>/dev
/null
; then
7373 test -d .
/-p && rmdir .
/-p
7377 as_executable_p
="test -f"
7379 # Sed expression to map a string onto a valid CPP name.
7380 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7382 # Sed expression to map a string onto a valid variable name.
7383 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7387 # We need space, tab and new line, in precisely that order.
7397 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7398 # report actual input values of CONFIG_FILES etc. instead of their
7399 # values after options handling. Logging --version etc. is OK.
7403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7404 ## Running $as_me. ##
7409 This file was extended by $as_me, which was
7410 generated by GNU Autoconf 2.59. Invocation command line was
7412 CONFIG_FILES = $CONFIG_FILES
7413 CONFIG_HEADERS = $CONFIG_HEADERS
7414 CONFIG_LINKS = $CONFIG_LINKS
7415 CONFIG_COMMANDS = $CONFIG_COMMANDS
7419 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7423 # Files that config.status was made for.
7424 if test -n "$ac_config_files"; then
7425 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7428 if test -n "$ac_config_headers"; then
7429 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7432 if test -n "$ac_config_links"; then
7433 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7436 if test -n "$ac_config_commands"; then
7437 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7440 cat >>$CONFIG_STATUS <<\_ACEOF
7443 \`$as_me' instantiates files from templates according to the
7444 current configuration.
7446 Usage: $0 [OPTIONS] [FILE]...
7448 -h, --help print this help, then exit
7449 -V, --version print version number, then exit
7450 -q, --quiet do not print progress messages
7451 -d, --debug don't remove temporary files
7452 --recheck update $as_me by reconfiguring in the same conditions
7453 --file=FILE[:TEMPLATE]
7454 instantiate the configuration file FILE
7455 --header=FILE[:TEMPLATE]
7456 instantiate the configuration header FILE
7458 Configuration files:
7461 Configuration headers:
7464 Configuration commands:
7467 Report bugs to <bug-autoconf@gnu.org>."
7470 cat >>$CONFIG_STATUS <<_ACEOF
7473 configured by $0, generated by GNU Autoconf 2.59,
7474 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7476 Copyright (C) 2003 Free Software Foundation, Inc.
7477 This config.status script is free software; the Free Software Foundation
7478 gives unlimited permission to copy, distribute and modify it."
7483 cat >>$CONFIG_STATUS <<\_ACEOF
7484 # If no file are specified by the user, then we need to provide default
7485 # value. By we need to know if files were specified by the user.
7491 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7492 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7500 *) # This is not an option, so the user has probably given explicit
7503 ac_need_defaults
=false
;;
7507 # Handling of the options.
7509 cat >>$CONFIG_STATUS <<\_ACEOF
7510 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7512 --version |
--vers* |
-V )
7513 echo "$ac_cs_version"; exit 0 ;;
7515 # Conflict between --help and --header
7516 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7517 Try \`$0 --help' for more information." >&5
7518 echo "$as_me: error: ambiguous option: $1
7519 Try \`$0 --help' for more information." >&2;}
7520 { (exit 1); exit 1; }; };;
7521 --help |
--hel |
-h )
7522 echo "$ac_cs_usage"; exit 0 ;;
7523 --debug |
--d* |
-d )
7525 --file |
--fil |
--fi |
--f )
7527 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7528 ac_need_defaults
=false
;;
7529 --header |
--heade |
--head |
--hea )
7531 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7532 ac_need_defaults
=false
;;
7533 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7534 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7538 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7539 Try \`$0 --help' for more information." >&5
7540 echo "$as_me: error: unrecognized option: $1
7541 Try \`$0 --help' for more information." >&2;}
7542 { (exit 1); exit 1; }; } ;;
7544 *) ac_config_targets
="$ac_config_targets $1" ;;
7550 ac_configure_extra_args
=
7552 if $ac_cs_silent; then
7554 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7558 cat >>$CONFIG_STATUS <<_ACEOF
7559 if \$ac_cs_recheck; then
7560 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7561 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7566 cat >>$CONFIG_STATUS <<_ACEOF
7568 # INIT-COMMANDS section.
7571 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7572 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7574 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7575 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7576 LINGUAS="${LINGUAS-%UNSET%}"
7583 cat >>$CONFIG_STATUS <<\_ACEOF
7584 for ac_config_target
in $ac_config_targets
7586 case "$ac_config_target" in
7587 # Handling of arguments.
7588 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7589 "config.intl" ) CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7590 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7591 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7592 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7593 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7594 { (exit 1); exit 1; }; };;
7598 # If the user did not use the arguments to specify the items to instantiate,
7599 # then the envvar interface is used. Set only those that are not.
7600 # We use the long form for the default assignment because of an extremely
7601 # bizarre bug on SunOS 4.1.3.
7602 if $ac_need_defaults; then
7603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7604 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7605 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7608 # Have a temporary directory for convenience. Make it in the build tree
7609 # simply because there is no reason to put it here, and in addition,
7610 # creating and moving files from /tmp can sometimes cause problems.
7611 # Create a temporary directory, and hook for its removal unless debugging.
7614 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7615 trap '{ (exit 1); exit 1; }' 1 2 13 15
7618 # Create a (secure) tmp directory for tmp files.
7621 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7622 test -n "$tmp" && test -d "$tmp"
7625 tmp
=.
/confstat$$
-$RANDOM
7626 (umask 077 && mkdir
$tmp)
7629 echo "$me: cannot create a temporary directory in ." >&2
7630 { (exit 1); exit 1; }
7635 cat >>$CONFIG_STATUS <<_ACEOF
7638 # CONFIG_FILES section.
7641 # No need to generate the scripts if there are no CONFIG_FILES.
7642 # This happens for instance when ./config.status config.h
7643 if test -n "\$CONFIG_FILES"; then
7644 # Protect against being on the right side of a sed subst in config.status.
7645 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7646 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7647 s,@SHELL@,$SHELL,;t t
7648 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7649 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7650 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7651 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7652 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7653 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7654 s,@exec_prefix@,$exec_prefix,;t t
7655 s,@prefix@,$prefix,;t t
7656 s,@program_transform_name@,$program_transform_name,;t t
7657 s,@bindir@,$bindir,;t t
7658 s,@sbindir@,$sbindir,;t t
7659 s,@libexecdir@,$libexecdir,;t t
7660 s,@datadir@,$datadir,;t t
7661 s,@sysconfdir@,$sysconfdir,;t t
7662 s,@sharedstatedir@,$sharedstatedir,;t t
7663 s,@localstatedir@,$localstatedir,;t t
7664 s,@libdir@,$libdir,;t t
7665 s,@includedir@,$includedir,;t t
7666 s,@oldincludedir@,$oldincludedir,;t t
7667 s,@infodir@,$infodir,;t t
7668 s,@mandir@,$mandir,;t t
7669 s,@build_alias@,$build_alias,;t t
7670 s,@host_alias@,$host_alias,;t t
7671 s,@target_alias@,$target_alias,;t t
7673 s,@ECHO_C@,$ECHO_C,;t t
7674 s,@ECHO_N@,$ECHO_N,;t t
7675 s,@ECHO_T@,$ECHO_T,;t t
7677 s,@SET_MAKE@,$SET_MAKE,;t t
7678 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7679 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7680 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7681 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7682 s,@USE_NLS@,$USE_NLS,;t t
7683 s,@MSGFMT@,$MSGFMT,;t t
7684 s,@GMSGFMT@,$GMSGFMT,;t t
7685 s,@XGETTEXT@,$XGETTEXT,;t t
7686 s,@MSGMERGE@,$MSGMERGE,;t t
7688 s,@CFLAGS@,$CFLAGS,;t t
7689 s,@LDFLAGS@,$LDFLAGS,;t t
7690 s,@CPPFLAGS@,$CPPFLAGS,;t t
7691 s,@ac_ct_CC@,$ac_ct_CC,;t t
7692 s,@EXEEXT@,$EXEEXT,;t t
7693 s,@OBJEXT@,$OBJEXT,;t t
7694 s,@build@,$build,;t t
7695 s,@build_cpu@,$build_cpu,;t t
7696 s,@build_vendor@,$build_vendor,;t t
7697 s,@build_os@,$build_os,;t t
7699 s,@host_cpu@,$host_cpu,;t t
7700 s,@host_vendor@,$host_vendor,;t t
7701 s,@host_os@,$host_os,;t t
7702 s,@RANLIB@,$RANLIB,;t t
7703 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7705 s,@EGREP@,$EGREP,;t t
7706 s,@ALLOCA@,$ALLOCA,;t t
7707 s,@GLIBC21@,$GLIBC21,;t t
7708 s,@LIBICONV@,$LIBICONV,;t t
7709 s,@LTLIBICONV@,$LTLIBICONV,;t t
7710 s,@INTLBISON@,$INTLBISON,;t t
7711 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7712 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7713 s,@CATOBJEXT@,$CATOBJEXT,;t t
7714 s,@DATADIRNAME@,$DATADIRNAME,;t t
7715 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7716 s,@GENCAT@,$GENCAT,;t t
7717 s,@INTLOBJS@,$INTLOBJS,;t t
7718 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7719 s,@INTLLIBS@,$INTLLIBS,;t t
7720 s,@LIBINTL@,$LIBINTL,;t t
7721 s,@LTLIBINTL@,$LTLIBINTL,;t t
7722 s,@POSUB@,$POSUB,;t t
7723 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7724 s,@INCINTL@,$INCINTL,;t t
7725 s,@LIBOBJS@,$LIBOBJS,;t t
7726 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7731 cat >>$CONFIG_STATUS <<\_ACEOF
7732 # Split the substitutions into bite-sized pieces for seds with
7733 # small command number limits, like on Digital OSF/1 and HP-UX.
7735 ac_sed_frag
=1 # Number of current file.
7736 ac_beg
=1 # First line for current file.
7737 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7740 while $ac_more_lines; do
7741 if test $ac_beg -gt 1; then
7742 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7744 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7746 if test ! -s $tmp/subs.frag
; then
7749 # The purpose of the label and of the branching condition is to
7750 # speed up the sed processing (if there are no `@' at all, there
7751 # is no need to browse any of the substitutions).
7752 # These are the two extra sed commands mentioned above.
7754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7755 if test -z "$ac_sed_cmds"; then
7756 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7758 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7760 ac_sed_frag
=`expr $ac_sed_frag + 1`
7762 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7765 if test -z "$ac_sed_cmds"; then
7768 fi # test -n "$CONFIG_FILES"
7771 cat >>$CONFIG_STATUS <<\_ACEOF
7772 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7775 - |
*:- |
*:-:* ) # input from stdin
7777 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7778 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7779 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7780 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7781 * ) ac_file_in
=$ac_file.
in ;;
7784 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7785 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7787 X"$ac_file" : 'X\(//\)[^/]' \| \
7788 X"$ac_file" : 'X\(//\)$' \| \
7789 X"$ac_file" : 'X\(/\)' \| \
7790 . : '\(.\)' 2>/dev/null ||
7792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7794 /^X\(\/\/\)$/{ s//\1/; q; }
7795 /^X\(\/\).*/{ s//\1/; q; }
7797 { if $as_mkdir_p; then
7802 while test ! -d "$as_dir"; do
7803 as_dirs
="$as_dir $as_dirs"
7804 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7806 X"$as_dir" : 'X\(//\)[^/]' \| \
7807 X"$as_dir" : 'X\(//\)$' \| \
7808 X"$as_dir" : 'X\(/\)' \| \
7809 . : '\(.\)' 2>/dev/null ||
7811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7813 /^X\(\/\/\)$/{ s//\1/; q; }
7814 /^X\(\/\).*/{ s//\1/; q; }
7817 test ! -n "$as_dirs" || mkdir
$as_dirs
7818 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7820 { (exit 1); exit 1; }; }; }
7824 if test "$ac_dir" != .
; then
7825 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7826 # A "../" for each directory in $ac_dir_suffix.
7827 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7829 ac_dir_suffix
= ac_top_builddir
=
7833 .
) # No --srcdir option. We are building in place.
7835 if test -z "$ac_top_builddir"; then
7838 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7840 [\\/]* | ?
:[\\/]* ) # Absolute path.
7841 ac_srcdir
=$srcdir$ac_dir_suffix;
7842 ac_top_srcdir
=$srcdir ;;
7844 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7845 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7848 # Do not use `cd foo && pwd` to compute absolute paths, because
7849 # the directories may not exist.
7851 .
) ac_abs_builddir
="$ac_dir";;
7854 .
) ac_abs_builddir
=`pwd`;;
7855 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7856 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7859 case $ac_abs_builddir in
7860 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7862 case ${ac_top_builddir}.
in
7863 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7864 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7865 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7868 case $ac_abs_builddir in
7869 .
) ac_abs_srcdir
=$ac_srcdir;;
7872 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7873 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7874 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7877 case $ac_abs_builddir in
7878 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7880 case $ac_top_srcdir in
7881 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7882 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7883 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7889 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7890 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7893 if test x
"$ac_file" != x-
; then
7894 { echo "$as_me:$LINENO: creating $ac_file" >&5
7895 echo "$as_me: creating $ac_file" >&6;}
7898 # Let's still pretend it is `configure' which instantiates (i.e., don't
7899 # use $as_me), people would be surprised to read:
7900 # /* config.h. Generated by config.status. */
7901 if test x
"$ac_file" = x-
; then
7904 configure_input
="$ac_file. "
7906 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7907 sed 's,.*/,,'` by configure."
7909 # First look for the input files in the build tree, otherwise in the
7911 ac_file_inputs
=`IFS=:
7912 for f in $ac_file_in; do
7914 -) echo $tmp/stdin ;;
7916 # Absolute (can't be DOS-style, as IFS=:)
7917 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7918 echo "$as_me: error: cannot find input file: $f" >&2;}
7919 { (exit 1); exit 1; }; }
7922 if test -f "$f"; then
7925 elif test -f "$srcdir/$f"; then
7930 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7931 echo "$as_me: error: cannot find input file: $f" >&2;}
7932 { (exit 1); exit 1; }; }
7935 done` ||
{ (exit 1); exit 1; }
7937 cat >>$CONFIG_STATUS <<_ACEOF
7941 cat >>$CONFIG_STATUS <<\_ACEOF
7943 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7944 s
,@configure_input@
,$configure_input,;t t
7945 s
,@srcdir@
,$ac_srcdir,;t t
7946 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7947 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7948 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7949 s
,@builddir@
,$ac_builddir,;t t
7950 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7951 s
,@top_builddir@
,$ac_top_builddir,;t t
7952 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7953 s
,@INSTALL@
,$ac_INSTALL,;t t
7954 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7956 if test x"$ac_file" != x-; then
7957 mv $tmp/out $ac_file
7965 cat >>$CONFIG_STATUS <<\_ACEOF
7968 # CONFIG_HEADER section.
7971 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7972 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7974 # ac_d sets the value in "#define NAME VALUE" lines.
7975 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7976 ac_dB
='[ ].*$,\1#\2'
7979 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7980 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7981 ac_uB
='$,\1#\2define\3'
7985 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7986 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7988 - |
*:- |
*:-:* ) # input from stdin
7990 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7991 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7992 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7993 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7994 * ) ac_file_in
=$ac_file.
in ;;
7997 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7998 echo "$as_me: creating $ac_file" >&6;}
8000 # First look for the input files in the build tree, otherwise in the
8002 ac_file_inputs
=`IFS=:
8003 for f in $ac_file_in; do
8005 -) echo $tmp/stdin ;;
8007 # Absolute (can't be DOS-style, as IFS=:)
8008 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8009 echo "$as_me: error: cannot find input file: $f" >&2;}
8010 { (exit 1); exit 1; }; }
8011 # Do quote $f, to prevent DOS paths from being IFS'd.
8014 if test -f "$f"; then
8017 elif test -f "$srcdir/$f"; then
8022 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8023 echo "$as_me: error: cannot find input file: $f" >&2;}
8024 { (exit 1); exit 1; }; }
8027 done` ||
{ (exit 1); exit 1; }
8028 # Remove the trailing spaces.
8029 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8033 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8034 # `conftest.undefs', that substitutes the proper values into
8035 # config.h.in to produce config.h. The first handles `#define'
8036 # templates, and the second `#undef' templates.
8037 # And first: Protect against being on the right side of a sed subst in
8038 # config.status. Protect against being in an unquoted here document
8040 rm -f conftest.defines conftest.undefs
8041 # Using a here document instead of a string reduces the quoting nightmare.
8042 # Putting comments in sed scripts is not portable.
8044 # `end' is used to avoid that the second main sed command (meant for
8045 # 0-ary CPP macros) applies to n-ary macro definitions.
8046 # See the Autoconf documentation for `clear'.
8047 cat >confdef2sed.
sed <<\_ACEOF
8052 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8054 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8057 # If some macros were called several times there might be several times
8058 # the same #defines, which is useless. Nevertheless, we may not want to
8059 # sort them, since we want the *last* AC-DEFINE to be honored.
8060 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8061 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8062 rm -f confdef2sed.sed
8064 # This sed command replaces #undef with comments. This is necessary, for
8065 # example, in the case of _POSIX_SOURCE, which is predefined and required
8066 # on some systems where configure will not decide to define it.
8067 cat >>conftest.undefs <<\_ACEOF
8068 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8071 # Break up conftest.defines because some shells have a limit on the size
8072 # of here documents, and old seds have small limits too (100 cmds).
8073 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8074 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8075 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8076 echo ' :' >>$CONFIG_STATUS
8078 while grep . conftest.defines >/dev/null
8080 # Write a limited-size here document to $tmp/defines.sed.
8081 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8082 # Speed up: don't consider the non `#define' lines.
8083 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8084 # Work around the forget-to-reset-the-flag bug.
8085 echo 't clr' >>$CONFIG_STATUS
8086 echo ': clr' >>$CONFIG_STATUS
8087 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8089 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8093 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8094 rm -f conftest.defines
8095 mv conftest.
tail conftest.defines
8097 rm -f conftest.defines
8098 echo ' fi # grep' >>$CONFIG_STATUS
8099 echo >>$CONFIG_STATUS
8101 # Break up conftest.undefs because some shells have a limit on the size
8102 # of here documents, and old seds have small limits too (100 cmds).
8103 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8105 while grep . conftest.undefs
>/dev
/null
8107 # Write a limited-size here document to $tmp/undefs.sed.
8108 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8109 # Speed up: don't consider the non
`#undef'
8110 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8111 # Work around the forget-to-reset-the-flag bug.
8112 echo 't clr' >>$CONFIG_STATUS
8113 echo ': clr' >>$CONFIG_STATUS
8114 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8116 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8120 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8121 rm -f conftest.undefs
8122 mv conftest.tail conftest.undefs
8124 rm -f conftest.undefs
8126 cat >>$CONFIG_STATUS <<\_ACEOF
8127 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8128 # use $as_me), people would be surprised to read:
8129 # /* config.h. Generated by config.status. */
8130 if test x
"$ac_file" = x-
; then
8131 echo "/* Generated by configure. */" >$tmp/config.h
8133 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8135 cat $tmp/in >>$tmp/config.h
8137 if test x
"$ac_file" != x-
; then
8138 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8139 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8140 echo "$as_me: $ac_file is unchanged" >&6;}
8142 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8144 X"$ac_file" : 'X\(//\)[^/]' \| \
8145 X"$ac_file" : 'X\(//\)$' \| \
8146 X"$ac_file" : 'X\(/\)' \| \
8147 . : '\(.\)' 2>/dev/null ||
8149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8150 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8151 /^X\(\/\/\)$/{ s//\1/; q; }
8152 /^X\(\/\).*/{ s//\1/; q; }
8154 { if $as_mkdir_p; then
8159 while test ! -d "$as_dir"; do
8160 as_dirs
="$as_dir $as_dirs"
8161 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8163 X"$as_dir" : 'X\(//\)[^/]' \| \
8164 X"$as_dir" : 'X\(//\)$' \| \
8165 X"$as_dir" : 'X\(/\)' \| \
8166 . : '\(.\)' 2>/dev/null ||
8168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8170 /^X\(\/\/\)$/{ s//\1/; q; }
8171 /^X\(\/\).*/{ s//\1/; q; }
8174 test ! -n "$as_dirs" || mkdir
$as_dirs
8175 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8176 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8177 { (exit 1); exit 1; }; }; }
8180 mv $tmp/config.h
$ac_file
8188 cat >>$CONFIG_STATUS <<\_ACEOF
8191 # CONFIG_COMMANDS section.
8193 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8194 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8195 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8196 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8197 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8198 X"$ac_dest" : 'X\(//\)[^/]' \| \
8199 X"$ac_dest" : 'X\(//\)$' \| \
8200 X"$ac_dest" : 'X\(/\)' \| \
8201 . : '\(.\)' 2>/dev/null ||
8203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8205 /^X\(\/\/\)$/{ s//\1/; q; }
8206 /^X\(\/\).*/{ s//\1/; q; }
8208 { if $as_mkdir_p; then
8213 while test ! -d "$as_dir"; do
8214 as_dirs
="$as_dir $as_dirs"
8215 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8217 X"$as_dir" : 'X\(//\)[^/]' \| \
8218 X"$as_dir" : 'X\(//\)$' \| \
8219 X"$as_dir" : 'X\(/\)' \| \
8220 . : '\(.\)' 2>/dev/null ||
8222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8224 /^X\(\/\/\)$/{ s//\1/; q; }
8225 /^X\(\/\).*/{ s//\1/; q; }
8228 test ! -n "$as_dirs" || mkdir
$as_dirs
8229 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8231 { (exit 1); exit 1; }; }; }
8235 if test "$ac_dir" != .
; then
8236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8237 # A "../" for each directory in $ac_dir_suffix.
8238 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8240 ac_dir_suffix
= ac_top_builddir
=
8244 .
) # No --srcdir option. We are building in place.
8246 if test -z "$ac_top_builddir"; then
8249 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8251 [\\/]* | ?
:[\\/]* ) # Absolute path.
8252 ac_srcdir
=$srcdir$ac_dir_suffix;
8253 ac_top_srcdir
=$srcdir ;;
8255 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8256 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8259 # Do not use `cd foo && pwd` to compute absolute paths, because
8260 # the directories may not exist.
8262 .
) ac_abs_builddir
="$ac_dir";;
8265 .
) ac_abs_builddir
=`pwd`;;
8266 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8267 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8270 case $ac_abs_builddir in
8271 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8273 case ${ac_top_builddir}.
in
8274 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8275 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8276 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8279 case $ac_abs_builddir in
8280 .
) ac_abs_srcdir
=$ac_srcdir;;
8283 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8284 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8285 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8288 case $ac_abs_builddir in
8289 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8291 case $ac_top_srcdir in
8292 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8293 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8294 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8299 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8300 echo "$as_me: executing $ac_dest commands" >&6;}
8303 for ac_file
in $CONFIG_FILES; do
8304 # Support "outfile[:infile[:infile...]]"
8306 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8308 # PO directories have a Makefile.in generated from Makefile.in.in.
8309 case "$ac_file" in */Makefile.
in)
8310 # Adjust a relative srcdir.
8311 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8312 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
8313 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8314 # In autoconf-2.13 it is called $ac_given_srcdir.
8315 # In autoconf-2.50 it is called $srcdir.
8316 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8317 case "$ac_given_srcdir" in
8318 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8319 /*) top_srcdir
="$ac_given_srcdir" ;;
8320 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8322 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8323 rm -f "$ac_dir/POTFILES"
8324 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8325 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8326 POMAKEFILEDEPS
="POTFILES.in"
8327 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8328 # on $ac_dir but don't depend on user-specified configuration
8330 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8331 # The LINGUAS file contains the set of available languages.
8332 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8333 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8335 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8336 # Hide the ALL_LINGUAS assigment from automake.
8337 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8338 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8340 # The set of available languages was given in configure.in.
8341 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8343 case "$ac_given_srcdir" in
8345 *) srcdirpre
='$(srcdir)/' ;;
8351 for lang
in $ALL_LINGUAS; do
8352 POFILES
="$POFILES $srcdirpre$lang.po"
8353 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8354 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8355 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8357 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8358 # environment variable.
8360 if test -n "$ALL_LINGUAS"; then
8361 for presentlang
in $ALL_LINGUAS; do
8363 if test "%UNSET%" != "$LINGUAS"; then
8364 desiredlanguages
="$LINGUAS"
8366 desiredlanguages
="$ALL_LINGUAS"
8368 for desiredlang
in $desiredlanguages; do
8369 # Use the presentlang catalog if desiredlang is
8370 # a. equal to presentlang, or
8371 # b. a variant of presentlang (because in this case,
8372 # presentlang can be used as a fallback for messages
8373 # which are not translated in the desiredlang catalog).
8374 case "$desiredlang" in
8375 "$presentlang"*) useit
=yes;;
8378 if test $useit = yes; then
8379 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8384 if test -n "$INST_LINGUAS"; then
8385 for lang
in $INST_LINGUAS; do
8386 CATALOGS
="$CATALOGS $lang.gmo"
8389 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8390 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"
8391 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8392 if test -f "$f"; then
8394 *.orig |
*.bak |
*~
) ;;
8395 *) cat "$f" >> "$ac_dir/Makefile" ;;
8407 cat >>$CONFIG_STATUS <<\_ACEOF
8409 { (exit 0); exit 0; }
8411 chmod +x
$CONFIG_STATUS
8412 ac_clean_files
=$ac_clean_files_save
8415 # configure is writing to config.log, and then calls config.status.
8416 # config.status does its own redirection, appending to config.log.
8417 # Unfortunately, on DOS this fails, as config.log is still kept open
8418 # by configure, so config.status won't be able to write to it; its
8419 # output is simply discarded. So we exec the FD to /dev/null,
8420 # effectively closing config.log, so it can be properly (re)opened and
8421 # appended to by config.status. When coming back to configure, we
8422 # need to make the FD available again.
8423 if test "$no_create" != yes; then
8425 ac_config_status_args
=
8426 test "$silent" = yes &&
8427 ac_config_status_args
="$ac_config_status_args --quiet"
8429 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8431 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8432 # would make configure fail if this is the last instruction.
8433 $ac_cs_success ||
{ (exit 1); exit 1; }