2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for bison 1.28a.
5 # Report bugs to <bug-bison@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits
='0123456789'
17 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
33 # Name of the executable.
34 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.
file
44 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe
; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.
file conf$$
2>/dev
/null
; then
58 rm -f conf$$ conf$$.exe conf$$.
file
60 as_executable_p
="test -f"
62 # Support unset when possible.
63 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
70 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
71 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
72 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
73 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
74 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
75 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
76 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
77 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix
=/usr
/local
102 SHELL
=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 # Factoring default headers for most tests.
110 ac_includes_default
="\
113 # include <sys/types.h>
116 # include <sys/stat.h>
127 # if !STDC_HEADERS && HAVE_MEMORY_H
133 # include <strings.h>
136 # include <inttypes.h>
146 # Initialize some variables set by options.
148 ac_init_version
=false
149 # The variables have the same names as the options, with
150 # dashes changed to underlines.
158 program_transform_name
=s
,x
,x
,
166 # Installation directory options.
167 # These are left unexpanded so users can "make install exec_prefix=/foo"
168 # and all the variables that are supposed to be based on exec_prefix
169 # by default will actually change.
170 # Use braces instead of parens because sh, perl, etc. also accept them.
171 bindir
='${exec_prefix}/bin'
172 sbindir
='${exec_prefix}/sbin'
173 libexecdir
='${exec_prefix}/libexec'
174 datadir
='${prefix}/share'
175 sysconfdir
='${prefix}/etc'
176 sharedstatedir
='${prefix}/com'
177 localstatedir
='${prefix}/var'
178 libdir
='${exec_prefix}/lib'
179 includedir
='${prefix}/include'
180 oldincludedir
='/usr/include'
181 infodir
='${prefix}/info'
182 mandir
='${prefix}/man'
184 # Identity of this package.
186 PACKAGE_TARNAME
='bison'
187 PACKAGE_VERSION
='1.28a'
188 PACKAGE_STRING
='bison 1.28a'
189 PACKAGE_BUGREPORT
='bug-bison@gnu.org'
194 # If the previous option needs an argument, assign it.
195 if test -n "$ac_prev"; then
196 eval "$ac_prev=\$ac_option"
201 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
203 # Accept the important Cygnus configure options, so we can diagnose typos.
207 -bindir | --bindir | --bindi | --bind | --bin | --bi)
209 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
212 -build | --build | --buil | --bui | --bu)
213 ac_prev
=build_alias
;;
214 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
215 build_alias
=$ac_optarg ;;
217 -cache-file | --cache-file | --cache-fil | --cache-fi \
218 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
219 ac_prev
=cache_file
;;
220 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
221 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
222 cache_file
=$ac_optarg ;;
225 cache_file
=config.cache
;;
227 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
229 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
231 datadir
=$ac_optarg ;;
233 -disable-* | --disable-*)
234 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
235 # Reject names that are not valid shell variable names.
236 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
237 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
238 { (exit 1); exit 1; }; }
239 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
240 eval "enable_$ac_feature=no" ;;
242 -enable-* | --enable-*)
243 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
244 # Reject names that are not valid shell variable names.
245 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
246 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
247 { (exit 1); exit 1; }; }
248 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
250 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
253 eval "enable_$ac_feature='$ac_optarg'" ;;
255 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
256 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
257 | --exec | --exe | --ex)
258 ac_prev
=exec_prefix
;;
259 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
260 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
261 | --exec=* | --exe=* | --ex=*)
262 exec_prefix
=$ac_optarg ;;
264 -gas | --gas | --ga | --g)
265 # Obsolete; use --with-gas.
268 -help | --help | --hel | --he | -h)
270 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
271 ac_init_help
=recursive
;;
272 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
273 ac_init_help
=short
;;
275 -host | --host | --hos | --ho)
276 ac_prev
=host_alias
;;
277 -host=* | --host=* | --hos=* | --ho=*)
278 host_alias
=$ac_optarg ;;
280 -includedir | --includedir | --includedi | --included | --include \
281 | --includ | --inclu | --incl | --inc)
282 ac_prev
=includedir
;;
283 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
284 | --includ=* | --inclu=* | --incl=* | --inc=*)
285 includedir
=$ac_optarg ;;
287 -infodir | --infodir | --infodi | --infod | --info | --inf)
289 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
290 infodir
=$ac_optarg ;;
292 -libdir | --libdir | --libdi | --libd)
294 -libdir=* | --libdir=* | --libdi=* | --libd=*)
297 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
298 | --libexe | --libex | --libe)
299 ac_prev
=libexecdir
;;
300 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
301 | --libexe=* | --libex=* | --libe=*)
302 libexecdir
=$ac_optarg ;;
304 -localstatedir | --localstatedir | --localstatedi | --localstated \
305 | --localstate | --localstat | --localsta | --localst \
306 | --locals | --local | --loca | --loc | --lo)
307 ac_prev
=localstatedir
;;
308 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
309 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
310 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
311 localstatedir
=$ac_optarg ;;
313 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
315 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
319 # Obsolete; use --without-fp.
322 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
326 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
327 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
330 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
331 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
332 | --oldin | --oldi | --old | --ol | --o)
333 ac_prev
=oldincludedir
;;
334 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
335 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
336 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
337 oldincludedir
=$ac_optarg ;;
339 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
341 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
344 -program-prefix | --program-prefix | --program-prefi | --program-pref \
345 | --program-pre | --program-pr | --program-p)
346 ac_prev
=program_prefix
;;
347 -program-prefix=* | --program-prefix=* | --program-prefi=* \
348 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
349 program_prefix
=$ac_optarg ;;
351 -program-suffix | --program-suffix | --program-suffi | --program-suff \
352 | --program-suf | --program-su | --program-s)
353 ac_prev
=program_suffix
;;
354 -program-suffix=* | --program-suffix=* | --program-suffi=* \
355 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
356 program_suffix
=$ac_optarg ;;
358 -program-transform-name | --program-transform-name \
359 | --program-transform-nam | --program-transform-na \
360 | --program-transform-n | --program-transform- \
361 | --program-transform | --program-transfor \
362 | --program-transfo | --program-transf \
363 | --program-trans | --program-tran \
364 | --progr-tra | --program-tr | --program-t)
365 ac_prev
=program_transform_name
;;
366 -program-transform-name=* | --program-transform-name=* \
367 | --program-transform-nam=* | --program-transform-na=* \
368 | --program-transform-n=* | --program-transform-=* \
369 | --program-transform=* | --program-transfor=* \
370 | --program-transfo=* | --program-transf=* \
371 | --program-trans=* | --program-tran=* \
372 | --progr-tra=* | --program-tr=* | --program-t=*)
373 program_transform_name
=$ac_optarg ;;
375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
376 | -silent | --silent | --silen | --sile | --sil)
379 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
381 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
383 sbindir
=$ac_optarg ;;
385 -sharedstatedir | --sharedstatedir | --sharedstatedi \
386 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
387 | --sharedst | --shareds | --shared | --share | --shar \
389 ac_prev
=sharedstatedir
;;
390 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
391 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
392 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
394 sharedstatedir
=$ac_optarg ;;
396 -site | --site | --sit)
398 -site=* | --site=* | --sit=*)
401 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
403 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
406 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
407 | --syscon | --sysco | --sysc | --sys | --sy)
408 ac_prev
=sysconfdir
;;
409 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
410 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
411 sysconfdir
=$ac_optarg ;;
413 -target | --target | --targe | --targ | --tar | --ta | --t)
414 ac_prev
=target_alias
;;
415 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
416 target_alias
=$ac_optarg ;;
418 -v | -verbose | --verbose | --verbos | --verbo | --verb)
421 -version | --version | --versio | --versi | --vers | -V)
425 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
426 # Reject names that are not valid shell variable names.
427 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
428 { echo "$as_me: error: invalid package name: $ac_package" >&2
429 { (exit 1); exit 1; }; }
430 ac_package
=`echo $ac_package| sed 's/-/_/g'`
432 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
435 eval "with_$ac_package='$ac_optarg'" ;;
437 -without-* | --without-*)
438 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
439 # Reject names that are not valid shell variable names.
440 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
441 { echo "$as_me: error: invalid package name: $ac_package" >&2
442 { (exit 1); exit 1; }; }
443 ac_package
=`echo $ac_package | sed 's/-/_/g'`
444 eval "with_$ac_package=no" ;;
447 # Obsolete; use --with-x.
450 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
451 | --x-incl | --x-inc | --x-in | --x-i)
452 ac_prev
=x_includes
;;
453 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
454 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
455 x_includes
=$ac_optarg ;;
457 -x-libraries | --x-libraries | --x-librarie | --x-librari \
458 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
459 ac_prev
=x_libraries
;;
460 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
461 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
462 x_libraries
=$ac_optarg ;;
464 -*) { echo "$as_me: error: unrecognized option: $ac_option
465 Try \`$0 --help' for more information." >&2
466 { (exit 1); exit 1; }; }
470 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
471 # Reject names that are not valid shell variable names.
472 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
473 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
474 { (exit 1); exit 1; }; }
475 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
476 eval "$ac_envvar='$ac_optarg'"
480 # FIXME: should be removed in autoconf 3.0.
481 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
482 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
483 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
484 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
490 if test -n "$ac_prev"; then
491 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
492 { echo "$as_me: error: missing argument to $ac_option" >&2
493 { (exit 1); exit 1; }; }
496 # Be sure to have absolute paths.
497 for ac_var
in exec_prefix prefix
499 eval ac_val
=$
`echo $ac_var`
501 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
502 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
503 { (exit 1); exit 1; }; };;
507 # Be sure to have absolute paths.
508 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
509 localstatedir libdir includedir oldincludedir infodir mandir
511 eval ac_val
=$
`echo $ac_var`
513 [\\/$
]* | ?
:[\\/]* ) ;;
514 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
515 { (exit 1); exit 1; }; };;
519 # There might be people who depend on the old broken behavior: `$host'
520 # used to hold the argument of --host etc.
525 # FIXME: should be removed in autoconf 3.0.
526 if test "x$host_alias" != x
; then
527 if test "x$build_alias" = x
; then
528 cross_compiling
=maybe
529 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
530 If a cross compiler is detected then cross compile mode will be used." >&2
531 elif test "x$build_alias" != "x$host_alias"; then
537 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
539 test "$silent" = yes && exec 6>/dev
/null
541 # Find the source files, if location was not specified.
542 if test -z "$srcdir"; then
543 ac_srcdir_defaulted
=yes
544 # Try the directory containing this script, then its parent.
546 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
547 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
549 if test ! -r $srcdir/$ac_unique_file; then
553 ac_srcdir_defaulted
=no
555 if test ! -r $srcdir/$ac_unique_file; then
556 if test "$ac_srcdir_defaulted" = yes; then
557 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
558 { (exit 1); exit 1; }; }
560 { echo "$as_me: error: cannot find sources in $srcdir" >&2
561 { (exit 1); exit 1; }; }
564 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
565 ac_env_build_alias_set
=${build_alias+set}
566 ac_env_build_alias_value
=$build_alias
567 ac_cv_env_build_alias_set
=${build_alias+set}
568 ac_cv_env_build_alias_value
=$build_alias
569 ac_env_host_alias_set
=${host_alias+set}
570 ac_env_host_alias_value
=$host_alias
571 ac_cv_env_host_alias_set
=${host_alias+set}
572 ac_cv_env_host_alias_value
=$host_alias
573 ac_env_target_alias_set
=${target_alias+set}
574 ac_env_target_alias_value
=$target_alias
575 ac_cv_env_target_alias_set
=${target_alias+set}
576 ac_cv_env_target_alias_value
=$target_alias
577 ac_env_CC_set
=${CC+set}
579 ac_cv_env_CC_set
=${CC+set}
580 ac_cv_env_CC_value
=$CC
581 ac_env_CFLAGS_set
=${CFLAGS+set}
582 ac_env_CFLAGS_value
=$CFLAGS
583 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
584 ac_cv_env_CFLAGS_value
=$CFLAGS
585 ac_env_LDFLAGS_set
=${LDFLAGS+set}
586 ac_env_LDFLAGS_value
=$LDFLAGS
587 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
588 ac_cv_env_LDFLAGS_value
=$LDFLAGS
589 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
590 ac_env_CPPFLAGS_value
=$CPPFLAGS
591 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
592 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
593 ac_env_CPP_set
=${CPP+set}
594 ac_env_CPP_value
=$CPP
595 ac_cv_env_CPP_set
=${CPP+set}
596 ac_cv_env_CPP_value
=$CPP
599 # Report the --help message.
601 if test "$ac_init_help" = "long"; then
602 # Omit some internal or obsolete options to make the list less imposing.
603 # This message is too long to be a string in the A/UX 3.1 sh.
605 \`configure' configures bison 1.28a to adapt to many kinds of systems.
607 Usage: $0 [OPTION]... [VAR=VALUE]...
609 To assign environment variables (e.g., CC, CFLAGS...), specify them as
610 VAR=VALUE. See below for descriptions of some of the useful variables.
612 Defaults for the options are specified in brackets.
615 -h, --help display this help and exit
616 --help=short display options specific to this package
617 --help=recursive display the short help of all the included packages
618 -V, --version display version information and exit
619 -q, --quiet, --silent do not print \`checking...' messages
620 --cache-file=FILE cache test results in FILE [disabled]
621 -C, --config-cache alias for \`--cache-file=config.cache'
622 -n, --no-create do not create output files
623 --srcdir=DIR find the sources in DIR [configure dir or \`..']
628 Installation directories:
629 --prefix=PREFIX install architecture-independent files in PREFIX
631 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
634 By default, \`make install' will install all the files in
635 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
636 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
637 for instance \`--prefix=\$HOME'.
639 For better control, use the options below.
641 Fine tuning of the installation directories:
642 --bindir=DIR user executables [EPREFIX/bin]
643 --sbindir=DIR system admin executables [EPREFIX/sbin]
644 --libexecdir=DIR program executables [EPREFIX/libexec]
645 --datadir=DIR read-only architecture-independent data [PREFIX/share]
646 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
647 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
648 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
649 --libdir=DIR object code libraries [EPREFIX/lib]
650 --includedir=DIR C header files [PREFIX/include]
651 --oldincludedir=DIR C header files for non-gcc [/usr/include]
652 --infodir=DIR info documentation [PREFIX/info]
653 --mandir=DIR man documentation [PREFIX/man]
659 --program-prefix=PREFIX prepend PREFIX to installed program names
660 --program-suffix=SUFFIX append SUFFIX to installed program names
661 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
664 --build=BUILD configure
for building on BUILD
[guessed
]
665 --host=HOST build programs to run on HOST
[BUILD
]
669 if test -n "$ac_init_help"; then
670 case $ac_init_help in
671 short
| recursive
) echo "Configuration of bison 1.28a:";;
676 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
677 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
678 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
679 --disable-nls do not use Native Language Support
682 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
683 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
684 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
685 --with-included-gettext use the GNU
gettext library included here
687 Some influential environment variables
:
688 CC C compiler
command
689 CFLAGS C compiler flags
690 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
691 nonstandard directory
<lib dir
>
692 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
693 headers
in a nonstandard directory
<include dir
>
696 Use these variables to override the choices made by
`configure' or to help
697 it to find libraries and programs with nonstandard names/locations.
699 Report bugs to <bug-bison@gnu.org>.
703 if test "$ac_init_help" = "recursive"; then
704 # If there are subdirs, report their specific --help.
706 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
708 # A "../" for each directory in /$ac_subdir.
709 ac_dots=`echo $ac_subdir |
710 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
713 .) # No --srcdir option. We are building in place.
714 ac_sub_srcdir=$srcdir ;;
715 [\\/]* | ?:[\\/]* ) # Absolute path.
716 ac_sub_srcdir=$srcdir/$ac_subdir ;;
718 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
721 # Check for guested configure; otherwise get Cygnus style configure.
722 if test -f $ac_sub_srcdir/configure.gnu; then
724 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
725 elif test -f $ac_sub_srcdir/configure; then
727 $SHELL $ac_sub_srcdir/configure --help=recursive
728 elif test -f $ac_sub_srcdir/configure.ac ||
729 test -f $ac_sub_srcdir/configure.in; then
733 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
739 test -n "$ac_init_help" && exit 0
740 if $ac_init_version; then
742 bison configure 1.28a
743 generated by GNU Autoconf 2.52
745 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
746 Free Software Foundation, Inc.
747 This configure script is free software; the Free Software Foundation
748 gives unlimited permission to copy, distribute and modify it.
754 This file contains any messages produced by compilers while
755 running configure, to aid debugging if configure makes a mistake.
757 It was created by bison $as_me 1.28a, which was
758 generated by GNU Autoconf 2.52. Invocation command line was
769 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
770 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
771 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
772 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
773 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
775 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
776 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
778 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
779 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
780 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
781 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
782 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
783 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
784 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
798 # Keep a trace of the command line.
799 # Strip out --no-create and --no-recursion so they do not pile up.
800 # Also quote any args containing shell meta-characters.
806 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
807 | --no-cr | --no-c) ;;
808 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
809 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
810 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
811 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
812 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
814 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
817 # Get rid of the leading space.
820 # When interrupted or exit'd, cleanup temporary files, and complete
821 # config.log. We remove comments because anyway the quotes in there
822 # would cause problems or look ugly.
824 # Save into config.log some information that might help in debugging.
826 echo "## ----------------- ##" >&5
827 echo "## Cache variables. ##" >&5
828 echo "## ----------------- ##" >&5
830 # The following way of writing the cache mishandles newlines in values,
833 case `(ac_space
='"'"' '"'"'; set | grep ac_space
) 2>&1` in
836 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
841 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
845 sed "/^$/d" confdefs.h >conftest.log
846 if test -s conftest.log; then
848 echo "## ------------ ##" >&5
849 echo "## confdefs.h. ##" >&5
850 echo "## ------------ ##" >&5
855 test "$ac_signal" != 0 &&
856 echo "$as_me: caught signal $ac_signal" >&5
857 echo "$as_me: exit $exit_status" >&5
858 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
861 for ac_signal in 1 2 13 15; do
862 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
866 # confdefs.h avoids OS command line length limits that DEFS can exceed.
867 rm -rf conftest* confdefs.h
868 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
871 # Let the site file select an alternate cache file if it wants to.
872 # Prefer explicitly selected file to automatically selected ones.
873 if test -z "$CONFIG_SITE"; then
874 if test "x$prefix" != xNONE; then
875 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
877 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
880 for ac_site_file in $CONFIG_SITE; do
881 if test -r "$ac_site_file"; then
882 { echo "$as_me:882: loading site script $ac_site_file" >&5
883 echo "$as_me: loading site script $ac_site_file" >&6;}
884 cat "$ac_site_file" >&5
889 if test -r "$cache_file"; then
890 # Some versions of bash will fail to source /dev/null (special
891 # files actually), so we avoid doing that.
892 if test -f "$cache_file"; then
893 { echo "$as_me:893: loading cache $cache_file" >&5
894 echo "$as_me: loading cache $cache_file" >&6;}
896 [\\/]* | ?:[\\/]* ) . $cache_file;;
901 { echo "$as_me:901: creating cache $cache_file" >&5
902 echo "$as_me: creating cache $cache_file" >&6;}
906 # Check that the precious variables saved in the cache have kept the same
908 ac_cache_corrupted=false
909 for ac_var in `(set) 2>&1 |
910 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
911 eval ac_old_set=\$ac_cv_env_${ac_var}_set
912 eval ac_new_set=\$ac_env_${ac_var}_set
913 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
914 eval ac_new_val="\$ac_env_${ac_var}_value"
915 case $ac_old_set,$ac_new_set in
917 { echo "$as_me:917: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
918 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
919 ac_cache_corrupted=: ;;
921 { echo "$as_me:921: error: \`$ac_var' was not
set in the previous run
" >&5
922 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
923 ac_cache_corrupted=: ;;
926 if test "x$ac_old_val" != "x$ac_new_val"; then
927 { echo "$as_me:927: error: \`$ac_var' has changed since the previous run:" >&5
928 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
929 { echo "$as_me:929: former value
: $ac_old_val" >&5
930 echo "$as_me: former value
: $ac_old_val" >&2;}
931 { echo "$as_me:931: current value
: $ac_new_val" >&5
932 echo "$as_me: current value
: $ac_new_val" >&2;}
936 # Pass precious variables to config.status. It doesn't matter if
937 # we pass some twice (in addition to the command line arguments).
938 if test "$ac_new_set" = set; then
940 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
941 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
942 ac_configure_args="$ac_configure_args '$ac_arg'"
944 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
949 if $ac_cache_corrupted; then
950 { echo "$as_me:950: error
: changes
in the environment can compromise the build
" >&5
951 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
952 { { echo "$as_me:952: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
953 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
954 { (exit 1); exit 1; }; }
958 ac_cpp='$CPP $CPPFLAGS'
959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
963 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
964 *c*,-n*) ECHO_N= ECHO_C='
966 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
967 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
969 echo "#! $SHELL" >conftest.sh
970 echo "exit 0" >>conftest.sh
972 if { (echo "$as_me:972: PATH=\".;.\"; conftest.sh") >&5
973 (PATH=".;."; conftest.sh) 2>&5
975 echo "$as_me:975: \$? = $ac_status" >&5
976 (exit $ac_status); }; then
977 ac_path_separator=';'
981 PATH_SEPARATOR="$ac_path_separator"
985 for ac_dir in config $srcdir/config; do
986 if test -f $ac_dir/install-sh; then
988 ac_install_sh="$ac_aux_dir/install-sh -c"
990 elif test -f $ac_dir/install.sh; then
992 ac_install_sh="$ac_aux_dir/install.sh -c"
994 elif test -f $ac_dir/shtool; then
996 ac_install_sh="$ac_aux_dir/shtool install -c"
1000 if test -z "$ac_aux_dir"; then
1001 { { echo "$as_me:1001: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1002 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1003 { (exit 1); exit 1; }; }
1005 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1006 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1007 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1009 # Find a good install program. We prefer a C program (faster),
1010 # so one script is as good as another. But avoid the broken or
1011 # incompatible versions:
1012 # SysV /etc/install, /usr/sbin/install
1013 # SunOS /usr/etc/install
1014 # IRIX /sbin/install
1016 # AmigaOS /C/install, which installs bootblocks on floppy discs
1017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1020 # ./install, which can be erroneously created by make from ./install.sh.
1021 echo "$as_me:1021: checking for a BSD compatible install" >&5
1022 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1023 if test -z "$INSTALL"; then
1024 if test "${ac_cv_path_install+set}" = set; then
1025 echo $ECHO_N "(cached) $ECHO_C" >&6
1027 ac_save_IFS=$IFS; IFS=$ac_path_separator
1028 for ac_dir in $PATH; do
1030 # Account for people who put trailing slashes in PATH elements.
1032 / | ./ | .// | /cC/* \
1033 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1036 # OSF1 and SCO ODT 3.0 have their own names for install.
1037 # Don't use installbsd from OSF since it installs stuff as root
1039 for ac_prog in ginstall scoinst install; do
1040 if $as_executable_p "$ac_dir/$ac_prog"; then
1041 if test $ac_prog = install &&
1042 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1043 # AIX install. It has an incompatible calling convention.
1045 elif test $ac_prog = install &&
1046 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1047 # program-specific install script used by HP pwplus--don't use.
1050 ac_cv_path_install="$ac_dir/$ac_prog -c"
1060 if test "${ac_cv_path_install+set}" = set; then
1061 INSTALL=$ac_cv_path_install
1063 # As a last resort, use the slow shell script. We don't cache a
1064 # path for INSTALL within a source directory, because that will
1065 # break other packages using the cache if that directory is
1066 # removed, or if the path is relative.
1067 INSTALL=$ac_install_sh
1070 echo "$as_me:1070: result: $INSTALL" >&5
1071 echo "${ECHO_T}$INSTALL" >&6
1073 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1074 # It thinks the first close brace ends the variable substitution.
1075 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1077 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1079 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1081 echo "$as_me:1081: checking whether build environment is sane" >&5
1082 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1085 echo timestamp > conftestfile
1086 # Do `set' in a subshell so we don't clobber the current shell
's
1087 # arguments. Must try -L first in case configure is actually a
1088 # symlink; some systems play weird games with the mod time of symlinks
1089 # (eg FreeBSD returns the mod time of the symlink's containing
1092 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1093 if test "$*" = "X"; then
1095 set X
`ls -t $srcdir/configure conftestfile`
1097 if test "$*" != "X $srcdir/configure conftestfile" \
1098 && test "$*" != "X conftestfile $srcdir/configure"; then
1100 # If neither matched, then we have a broken ls. This can happen
1101 # if, for instance, CONFIG_SHELL is bash and it inherits a
1102 # broken ls alias from the environment. This has actually
1103 # happened. Such a system could not be considered "sane".
1104 { { echo "$as_me:1104: error: ls -t appears to fail. Make sure there is not a broken
1105 alias in your environment" >&5
1106 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1107 alias in your environment" >&2;}
1108 { (exit 1); exit 1; }; }
1111 test "$2" = conftestfile
1117 { { echo "$as_me:1117: error: newly created file is older than distributed files!
1118 Check your system clock" >&5
1119 echo "$as_me: error: newly created file is older than distributed files!
1120 Check your system clock" >&2;}
1121 { (exit 1); exit 1; }; }
1124 echo "$as_me:1124: result: yes" >&5
1125 echo "${ECHO_T}yes" >&6
1126 test "$program_prefix" != NONE
&&
1127 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1128 # Use a double $ so make ignores it.
1129 test "$program_suffix" != NONE
&&
1130 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1131 # Double any \ or $. echo might interpret backslashes.
1132 # By default was `s,x,x', remove it if useless.
1133 cat <<\_ACEOF
>conftest.
sed
1134 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1136 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1139 echo "$as_me:1139: checking whether ${MAKE-make} sets \${MAKE}" >&5
1140 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1141 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1142 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1143 echo $ECHO_N "(cached) $ECHO_C" >&6
1145 cat >conftest.
make <<\EOF
1147 @
echo 'ac_maketemp="${MAKE}"'
1149 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1150 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1151 if test -n "$ac_maketemp"; then
1152 eval ac_cv_prog_make_
${ac_make}_set
=yes
1154 eval ac_cv_prog_make_
${ac_make}_set
=no
1158 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1159 echo "$as_me:1159: result: yes" >&5
1160 echo "${ECHO_T}yes" >&6
1163 echo "$as_me:1163: result: no" >&5
1164 echo "${ECHO_T}no" >&6
1165 SET_MAKE
="MAKE=${MAKE-make}"
1172 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1173 { { echo "$as_me:1173: error: source directory already configured; run \"make distclean\" there first" >&5
1174 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1175 { (exit 1); exit 1; }; }
1178 cat >>confdefs.h
<<EOF
1179 #define PACKAGE "$PACKAGE"
1182 cat >>confdefs.h
<<EOF
1183 #define VERSION "$VERSION"
1186 missing_dir
=`cd $ac_aux_dir && pwd`
1187 echo "$as_me:1187: checking for working aclocal" >&5
1188 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1189 # Run test in a subshell; some versions of sh will print an error if
1190 # an executable is not found, even if stderr is redirected.
1191 # Redirect stdin to placate older versions of autoconf. Sigh.
1192 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1194 echo "$as_me:1194: result: found" >&5
1195 echo "${ECHO_T}found" >&6
1197 ACLOCAL
="$missing_dir/missing aclocal"
1198 echo "$as_me:1198: result: missing" >&5
1199 echo "${ECHO_T}missing" >&6
1202 echo "$as_me:1202: checking for working autoconf" >&5
1203 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1204 # Run test in a subshell; some versions of sh will print an error if
1205 # an executable is not found, even if stderr is redirected.
1206 # Redirect stdin to placate older versions of autoconf. Sigh.
1207 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1209 echo "$as_me:1209: result: found" >&5
1210 echo "${ECHO_T}found" >&6
1212 AUTOCONF
="$missing_dir/missing autoconf"
1213 echo "$as_me:1213: result: missing" >&5
1214 echo "${ECHO_T}missing" >&6
1217 echo "$as_me:1217: checking for working automake" >&5
1218 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1219 # Run test in a subshell; some versions of sh will print an error if
1220 # an executable is not found, even if stderr is redirected.
1221 # Redirect stdin to placate older versions of autoconf. Sigh.
1222 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1224 echo "$as_me:1224: result: found" >&5
1225 echo "${ECHO_T}found" >&6
1227 AUTOMAKE
="$missing_dir/missing automake"
1228 echo "$as_me:1228: result: missing" >&5
1229 echo "${ECHO_T}missing" >&6
1232 echo "$as_me:1232: checking for working autoheader" >&5
1233 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1234 # Run test in a subshell; some versions of sh will print an error if
1235 # an executable is not found, even if stderr is redirected.
1236 # Redirect stdin to placate older versions of autoconf. Sigh.
1237 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1238 AUTOHEADER
=autoheader
1239 echo "$as_me:1239: result: found" >&5
1240 echo "${ECHO_T}found" >&6
1242 AUTOHEADER
="$missing_dir/missing autoheader"
1243 echo "$as_me:1243: result: missing" >&5
1244 echo "${ECHO_T}missing" >&6
1247 echo "$as_me:1247: checking for working makeinfo" >&5
1248 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1249 # Run test in a subshell; some versions of sh will print an error if
1250 # an executable is not found, even if stderr is redirected.
1251 # Redirect stdin to placate older versions of autoconf. Sigh.
1252 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1254 echo "$as_me:1254: result: found" >&5
1255 echo "${ECHO_T}found" >&6
1257 MAKEINFO
="$missing_dir/missing makeinfo"
1258 echo "$as_me:1258: result: missing" >&5
1259 echo "${ECHO_T}missing" >&6
1262 ac_config_headers
="$ac_config_headers config.h:config.hin"
1264 ac_config_commands
="$ac_config_commands default-1"
1266 # Initialize the test suite.
1269 # Try to be compatible with both Autoconf 2.13 and 2.50.
1270 if test -z "$ECHO_C$ECHO_N$ECHO_T"; then
1277 # Checks for programs.
1279 ac_cpp
='$CPP $CPPFLAGS'
1280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1283 if test -n "$ac_tool_prefix"; then
1284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1285 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1286 echo "$as_me:1286: checking for $ac_word" >&5
1287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1288 if test "${ac_cv_prog_CC+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1291 if test -n "$CC"; then
1292 ac_cv_prog_CC
="$CC" # Let the user override the test.
1294 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1296 for ac_dir
in $ac_dummy; do
1298 test -z "$ac_dir" && ac_dir
=.
1299 $as_executable_p "$ac_dir/$ac_word" || continue
1300 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1301 echo "$as_me:1301: found $ac_dir/$ac_word" >&5
1308 if test -n "$CC"; then
1309 echo "$as_me:1309: result: $CC" >&5
1310 echo "${ECHO_T}$CC" >&6
1312 echo "$as_me:1312: result: no" >&5
1313 echo "${ECHO_T}no" >&6
1317 if test -z "$ac_cv_prog_CC"; then
1319 # Extract the first word of "gcc", so it can be a program name with args.
1320 set dummy gcc
; ac_word
=$2
1321 echo "$as_me:1321: checking for $ac_word" >&5
1322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1324 echo $ECHO_N "(cached) $ECHO_C" >&6
1326 if test -n "$ac_ct_CC"; then
1327 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1329 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1331 for ac_dir
in $ac_dummy; do
1333 test -z "$ac_dir" && ac_dir
=.
1334 $as_executable_p "$ac_dir/$ac_word" || continue
1335 ac_cv_prog_ac_ct_CC
="gcc"
1336 echo "$as_me:1336: found $ac_dir/$ac_word" >&5
1342 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1343 if test -n "$ac_ct_CC"; then
1344 echo "$as_me:1344: result: $ac_ct_CC" >&5
1345 echo "${ECHO_T}$ac_ct_CC" >&6
1347 echo "$as_me:1347: result: no" >&5
1348 echo "${ECHO_T}no" >&6
1356 if test -z "$CC"; then
1357 if test -n "$ac_tool_prefix"; then
1358 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1359 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1360 echo "$as_me:1360: checking for $ac_word" >&5
1361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1362 if test "${ac_cv_prog_CC+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 if test -n "$CC"; then
1366 ac_cv_prog_CC
="$CC" # Let the user override the test.
1368 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1370 for ac_dir
in $ac_dummy; do
1372 test -z "$ac_dir" && ac_dir
=.
1373 $as_executable_p "$ac_dir/$ac_word" || continue
1374 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1375 echo "$as_me:1375: found $ac_dir/$ac_word" >&5
1382 if test -n "$CC"; then
1383 echo "$as_me:1383: result: $CC" >&5
1384 echo "${ECHO_T}$CC" >&6
1386 echo "$as_me:1386: result: no" >&5
1387 echo "${ECHO_T}no" >&6
1391 if test -z "$ac_cv_prog_CC"; then
1393 # Extract the first word of "cc", so it can be a program name with args.
1394 set dummy cc
; ac_word
=$2
1395 echo "$as_me:1395: checking for $ac_word" >&5
1396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 if test -n "$ac_ct_CC"; then
1401 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1403 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1405 for ac_dir
in $ac_dummy; do
1407 test -z "$ac_dir" && ac_dir
=.
1408 $as_executable_p "$ac_dir/$ac_word" || continue
1409 ac_cv_prog_ac_ct_CC
="cc"
1410 echo "$as_me:1410: found $ac_dir/$ac_word" >&5
1416 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1417 if test -n "$ac_ct_CC"; then
1418 echo "$as_me:1418: result: $ac_ct_CC" >&5
1419 echo "${ECHO_T}$ac_ct_CC" >&6
1421 echo "$as_me:1421: result: no" >&5
1422 echo "${ECHO_T}no" >&6
1431 if test -z "$CC"; then
1432 # Extract the first word of "cc", so it can be a program name with args.
1433 set dummy cc
; ac_word
=$2
1434 echo "$as_me:1434: checking for $ac_word" >&5
1435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1436 if test "${ac_cv_prog_CC+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 if test -n "$CC"; then
1440 ac_cv_prog_CC
="$CC" # Let the user override the test.
1443 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1445 for ac_dir
in $ac_dummy; do
1447 test -z "$ac_dir" && ac_dir
=.
1448 $as_executable_p "$ac_dir/$ac_word" || continue
1449 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1450 ac_prog_rejected
=yes
1454 echo "$as_me:1454: found $ac_dir/$ac_word" >&5
1458 if test $ac_prog_rejected = yes; then
1459 # We found a bogon in the path, so make sure we never use it.
1460 set dummy
$ac_cv_prog_CC
1462 if test $# != 0; then
1463 # We chose a different compiler from the bogus one.
1464 # However, it has the same basename, so the bogon will be chosen
1465 # first if we set CC to just the basename; use the full file name.
1467 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1475 if test -n "$CC"; then
1476 echo "$as_me:1476: result: $CC" >&5
1477 echo "${ECHO_T}$CC" >&6
1479 echo "$as_me:1479: result: no" >&5
1480 echo "${ECHO_T}no" >&6
1484 if test -z "$CC"; then
1485 if test -n "$ac_tool_prefix"; then
1488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1489 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1490 echo "$as_me:1490: checking for $ac_word" >&5
1491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1492 if test "${ac_cv_prog_CC+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 if test -n "$CC"; then
1496 ac_cv_prog_CC
="$CC" # Let the user override the test.
1498 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1500 for ac_dir
in $ac_dummy; do
1502 test -z "$ac_dir" && ac_dir
=.
1503 $as_executable_p "$ac_dir/$ac_word" || continue
1504 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1505 echo "$as_me:1505: found $ac_dir/$ac_word" >&5
1512 if test -n "$CC"; then
1513 echo "$as_me:1513: result: $CC" >&5
1514 echo "${ECHO_T}$CC" >&6
1516 echo "$as_me:1516: result: no" >&5
1517 echo "${ECHO_T}no" >&6
1520 test -n "$CC" && break
1523 if test -z "$CC"; then
1527 # Extract the first word of "$ac_prog", so it can be a program name with args.
1528 set dummy
$ac_prog; ac_word
=$2
1529 echo "$as_me:1529: checking for $ac_word" >&5
1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 if test -n "$ac_ct_CC"; then
1535 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1537 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1539 for ac_dir
in $ac_dummy; do
1541 test -z "$ac_dir" && ac_dir
=.
1542 $as_executable_p "$ac_dir/$ac_word" || continue
1543 ac_cv_prog_ac_ct_CC
="$ac_prog"
1544 echo "$as_me:1544: found $ac_dir/$ac_word" >&5
1550 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1551 if test -n "$ac_ct_CC"; then
1552 echo "$as_me:1552: result: $ac_ct_CC" >&5
1553 echo "${ECHO_T}$ac_ct_CC" >&6
1555 echo "$as_me:1555: result: no" >&5
1556 echo "${ECHO_T}no" >&6
1559 test -n "$ac_ct_CC" && break
1567 test -z "$CC" && { { echo "$as_me:1567: error: no acceptable cc found in \$PATH" >&5
1568 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1569 { (exit 1); exit 1; }; }
1571 # Provide some information about the compiler.
1572 echo "$as_me:1572:" \
1573 "checking for C compiler version" >&5
1574 ac_compiler
=`set X $ac_compile; echo $2`
1575 { (eval echo "$as_me:1575: \"$ac_compiler --version </dev/null >&5\"") >&5
1576 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1578 echo "$as_me:1578: \$? = $ac_status" >&5
1579 (exit $ac_status); }
1580 { (eval echo "$as_me:1580: \"$ac_compiler -v </dev/null >&5\"") >&5
1581 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1583 echo "$as_me:1583: \$? = $ac_status" >&5
1584 (exit $ac_status); }
1585 { (eval echo "$as_me:1585: \"$ac_compiler -V </dev/null >&5\"") >&5
1586 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1588 echo "$as_me:1588: \$? = $ac_status" >&5
1589 (exit $ac_status); }
1591 cat >conftest.
$ac_ext <<_ACEOF
1592 #line 1592 "configure"
1593 #include "confdefs.h"
1603 ac_clean_files_save
=$ac_clean_files
1604 ac_clean_files
="$ac_clean_files a.out a.exe"
1605 # Try to create an executable without -o first, disregard a.out.
1606 # It will help us diagnose broken compilers, and finding out an intuition
1608 echo "$as_me:1608: checking for C compiler default output" >&5
1609 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1610 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1611 if { (eval echo "$as_me:1611: \"$ac_link_default\"") >&5
1612 (eval $ac_link_default) 2>&5
1614 echo "$as_me:1614: \$? = $ac_status" >&5
1615 (exit $ac_status); }; then
1616 # Find the output, starting from the most likely. This scheme is
1617 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1619 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
1620 ls a.out conftest 2>/dev/null;
1621 ls a.* conftest.* 2>/dev/null`; do
1623 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1624 a.out
) # We found the default executable, but exeext='' is most
1627 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1628 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1635 echo "$as_me: failed program was:" >&5
1636 cat conftest.
$ac_ext >&5
1637 { { echo "$as_me:1637: error: C compiler cannot create executables" >&5
1638 echo "$as_me: error: C compiler cannot create executables" >&2;}
1639 { (exit 77); exit 77; }; }
1642 ac_exeext
=$ac_cv_exeext
1643 echo "$as_me:1643: result: $ac_file" >&5
1644 echo "${ECHO_T}$ac_file" >&6
1646 # Check the compiler produces executables we can run. If not, either
1647 # the compiler is broken, or we cross compile.
1648 echo "$as_me:1648: checking whether the C compiler works" >&5
1649 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1650 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1651 # If not cross compiling, check that we can run a simple program.
1652 if test "$cross_compiling" != yes; then
1653 if { ac_try
='./$ac_file'
1654 { (eval echo "$as_me:1654: \"$ac_try\"") >&5
1657 echo "$as_me:1657: \$? = $ac_status" >&5
1658 (exit $ac_status); }; }; then
1661 if test "$cross_compiling" = maybe
; then
1664 { { echo "$as_me:1664: error: cannot run C compiled programs.
1665 If you meant to cross compile, use \`--host'." >&5
1666 echo "$as_me: error: cannot run C compiled programs.
1667 If you meant to cross compile, use \`--host'." >&2;}
1668 { (exit 1); exit 1; }; }
1672 echo "$as_me:1672: result: yes" >&5
1673 echo "${ECHO_T}yes" >&6
1675 rm -f a.out a.exe conftest
$ac_cv_exeext
1676 ac_clean_files
=$ac_clean_files_save
1677 # Check the compiler produces executables we can run. If not, either
1678 # the compiler is broken, or we cross compile.
1679 echo "$as_me:1679: checking whether we are cross compiling" >&5
1680 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1681 echo "$as_me:1681: result: $cross_compiling" >&5
1682 echo "${ECHO_T}$cross_compiling" >&6
1684 echo "$as_me:1684: checking for executable suffix" >&5
1685 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1686 if { (eval echo "$as_me:1686: \"$ac_link\"") >&5
1687 (eval $ac_link) 2>&5
1689 echo "$as_me:1689: \$? = $ac_status" >&5
1690 (exit $ac_status); }; then
1691 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1692 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1693 # work properly (i.e., refer to `conftest.exe'), while it won't with
1695 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1697 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1698 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1705 { { echo "$as_me:1705: error: cannot compute EXEEXT: cannot compile and link" >&5
1706 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1707 { (exit 1); exit 1; }; }
1710 rm -f conftest
$ac_cv_exeext
1711 echo "$as_me:1711: result: $ac_cv_exeext" >&5
1712 echo "${ECHO_T}$ac_cv_exeext" >&6
1714 rm -f conftest.
$ac_ext
1715 EXEEXT
=$ac_cv_exeext
1717 echo "$as_me:1717: checking for object suffix" >&5
1718 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1719 if test "${ac_cv_objext+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 cat >conftest.
$ac_ext <<_ACEOF
1723 #line 1723 "configure"
1724 #include "confdefs.h"
1734 rm -f conftest.o conftest.obj
1735 if { (eval echo "$as_me:1735: \"$ac_compile\"") >&5
1736 (eval $ac_compile) 2>&5
1738 echo "$as_me:1738: \$? = $ac_status" >&5
1739 (exit $ac_status); }; then
1740 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1742 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1743 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1748 echo "$as_me: failed program was:" >&5
1749 cat conftest.
$ac_ext >&5
1750 { { echo "$as_me:1750: error: cannot compute OBJEXT: cannot compile" >&5
1751 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1752 { (exit 1); exit 1; }; }
1755 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1757 echo "$as_me:1757: result: $ac_cv_objext" >&5
1758 echo "${ECHO_T}$ac_cv_objext" >&6
1759 OBJEXT
=$ac_cv_objext
1761 echo "$as_me:1761: checking whether we are using the GNU C compiler" >&5
1762 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1763 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 cat >conftest.
$ac_ext <<_ACEOF
1767 #line 1767 "configure"
1768 #include "confdefs.h"
1781 rm -f conftest.
$ac_objext
1782 if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5
1783 (eval $ac_compile) 2>&5
1785 echo "$as_me:1785: \$? = $ac_status" >&5
1786 (exit $ac_status); } &&
1787 { ac_try
='test -s conftest.$ac_objext'
1788 { (eval echo "$as_me:1788: \"$ac_try\"") >&5
1791 echo "$as_me:1791: \$? = $ac_status" >&5
1792 (exit $ac_status); }; }; then
1795 echo "$as_me: failed program was:" >&5
1796 cat conftest.
$ac_ext >&5
1799 rm -f conftest.
$ac_objext conftest.
$ac_ext
1800 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1803 echo "$as_me:1803: result: $ac_cv_c_compiler_gnu" >&5
1804 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1805 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1806 ac_test_CFLAGS
=${CFLAGS+set}
1807 ac_save_CFLAGS
=$CFLAGS
1809 echo "$as_me:1809: checking whether $CC accepts -g" >&5
1810 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1811 if test "${ac_cv_prog_cc_g+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 cat >conftest.
$ac_ext <<_ACEOF
1815 #line 1815 "configure"
1816 #include "confdefs.h"
1826 rm -f conftest.
$ac_objext
1827 if { (eval echo "$as_me:1827: \"$ac_compile\"") >&5
1828 (eval $ac_compile) 2>&5
1830 echo "$as_me:1830: \$? = $ac_status" >&5
1831 (exit $ac_status); } &&
1832 { ac_try
='test -s conftest.$ac_objext'
1833 { (eval echo "$as_me:1833: \"$ac_try\"") >&5
1836 echo "$as_me:1836: \$? = $ac_status" >&5
1837 (exit $ac_status); }; }; then
1840 echo "$as_me: failed program was:" >&5
1841 cat conftest.
$ac_ext >&5
1844 rm -f conftest.
$ac_objext conftest.
$ac_ext
1846 echo "$as_me:1846: result: $ac_cv_prog_cc_g" >&5
1847 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1848 if test "$ac_test_CFLAGS" = set; then
1849 CFLAGS
=$ac_save_CFLAGS
1850 elif test $ac_cv_prog_cc_g = yes; then
1851 if test "$GCC" = yes; then
1857 if test "$GCC" = yes; then
1863 # Some people use a C++ compiler to compile C. Since we use `exit',
1864 # in C++ we need to declare it. In case someone uses the same compiler
1865 # for both compiling C and C++ we need to have the C++ compiler decide
1866 # the declaration of exit, since it's the most demanding environment.
1867 cat >conftest.
$ac_ext <<_ACEOF
1872 rm -f conftest.
$ac_objext
1873 if { (eval echo "$as_me:1873: \"$ac_compile\"") >&5
1874 (eval $ac_compile) 2>&5
1876 echo "$as_me:1876: \$? = $ac_status" >&5
1877 (exit $ac_status); } &&
1878 { ac_try
='test -s conftest.$ac_objext'
1879 { (eval echo "$as_me:1879: \"$ac_try\"") >&5
1882 echo "$as_me:1882: \$? = $ac_status" >&5
1883 (exit $ac_status); }; }; then
1884 for ac_declaration
in \
1886 '#include <stdlib.h>' \
1887 'extern "C" void std::exit (int) throw (); using std::exit;' \
1888 'extern "C" void std::exit (int); using std::exit;' \
1889 'extern "C" void exit (int) throw ();' \
1890 'extern "C" void exit (int);' \
1893 cat >conftest.
$ac_ext <<_ACEOF
1894 #line 1894 "configure"
1895 #include "confdefs.h"
1906 rm -f conftest.
$ac_objext
1907 if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5
1908 (eval $ac_compile) 2>&5
1910 echo "$as_me:1910: \$? = $ac_status" >&5
1911 (exit $ac_status); } &&
1912 { ac_try
='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:1913: \"$ac_try\"") >&5
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1920 echo "$as_me: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1924 rm -f conftest.
$ac_objext conftest.
$ac_ext
1925 cat >conftest.
$ac_ext <<_ACEOF
1926 #line 1926 "configure"
1927 #include "confdefs.h"
1937 rm -f conftest.
$ac_objext
1938 if { (eval echo "$as_me:1938: \"$ac_compile\"") >&5
1939 (eval $ac_compile) 2>&5
1941 echo "$as_me:1941: \$? = $ac_status" >&5
1942 (exit $ac_status); } &&
1943 { ac_try
='test -s conftest.$ac_objext'
1944 { (eval echo "$as_me:1944: \"$ac_try\"") >&5
1947 echo "$as_me:1947: \$? = $ac_status" >&5
1948 (exit $ac_status); }; }; then
1951 echo "$as_me: failed program was:" >&5
1952 cat conftest.
$ac_ext >&5
1954 rm -f conftest.
$ac_objext conftest.
$ac_ext
1957 if test -n "$ac_declaration"; then
1958 echo '#ifdef __cplusplus' >>confdefs.h
1959 echo $ac_declaration >>confdefs.h
1960 echo '#endif' >>confdefs.h
1964 echo "$as_me: failed program was:" >&5
1965 cat conftest.
$ac_ext >&5
1967 rm -f conftest.
$ac_objext conftest.
$ac_ext
1969 ac_cpp
='$CPP $CPPFLAGS'
1970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1975 ac_cpp
='$CPP $CPPFLAGS'
1976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1979 echo "$as_me:1979: checking how to run the C preprocessor" >&5
1980 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1981 # On Suns, sometimes $CPP names a directory.
1982 if test -n "$CPP" && test -d "$CPP"; then
1985 if test -z "$CPP"; then
1986 if test "${ac_cv_prog_CPP+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 # Double quotes because CPP needs to be expanded
1990 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1993 for ac_c_preproc_warn_flag
in '' yes
1995 # Use a header file that comes with gcc, so configuring glibc
1996 # with a fresh cross-compiler works.
1997 # On the NeXT, cc -E runs the code through the compiler's parser,
1998 # not just through cpp. "Syntax error" is here to catch this case.
1999 cat >conftest.
$ac_ext <<_ACEOF
2000 #line 2000 "configure"
2001 #include "confdefs.h"
2005 if { (eval echo "$as_me:2005: \"$ac_cpp conftest.$ac_ext\"") >&5
2006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2008 egrep -v '^ *\+' conftest.er1
>conftest.err
2010 cat conftest.err
>&5
2011 echo "$as_me:2011: \$? = $ac_status" >&5
2012 (exit $ac_status); } >/dev
/null
; then
2013 if test -s conftest.err
; then
2014 ac_cpp_err
=$ac_c_preproc_warn_flag
2021 if test -z "$ac_cpp_err"; then
2024 echo "$as_me: failed program was:" >&5
2025 cat conftest.
$ac_ext >&5
2026 # Broken: fails on valid input.
2029 rm -f conftest.err conftest.
$ac_ext
2031 # OK, works on sane cases. Now check whether non-existent headers
2032 # can be detected and how.
2033 cat >conftest.
$ac_ext <<_ACEOF
2034 #line 2034 "configure"
2035 #include "confdefs.h"
2036 #include <ac_nonexistent.h>
2038 if { (eval echo "$as_me:2038: \"$ac_cpp conftest.$ac_ext\"") >&5
2039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2041 egrep -v '^ *\+' conftest.er1
>conftest.err
2043 cat conftest.err
>&5
2044 echo "$as_me:2044: \$? = $ac_status" >&5
2045 (exit $ac_status); } >/dev
/null
; then
2046 if test -s conftest.err
; then
2047 ac_cpp_err
=$ac_c_preproc_warn_flag
2054 if test -z "$ac_cpp_err"; then
2055 # Broken: success on invalid input.
2058 echo "$as_me: failed program was:" >&5
2059 cat conftest.
$ac_ext >&5
2060 # Passes both tests.
2064 rm -f conftest.err conftest.
$ac_ext
2067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2068 rm -f conftest.err conftest.
$ac_ext
2069 if $ac_preproc_ok; then
2081 echo "$as_me:2081: result: $CPP" >&5
2082 echo "${ECHO_T}$CPP" >&6
2084 for ac_c_preproc_warn_flag
in '' yes
2086 # Use a header file that comes with gcc, so configuring glibc
2087 # with a fresh cross-compiler works.
2088 # On the NeXT, cc -E runs the code through the compiler's parser,
2089 # not just through cpp. "Syntax error" is here to catch this case.
2090 cat >conftest.
$ac_ext <<_ACEOF
2091 #line 2091 "configure"
2092 #include "confdefs.h"
2096 if { (eval echo "$as_me:2096: \"$ac_cpp conftest.$ac_ext\"") >&5
2097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2099 egrep -v '^ *\+' conftest.er1
>conftest.err
2101 cat conftest.err
>&5
2102 echo "$as_me:2102: \$? = $ac_status" >&5
2103 (exit $ac_status); } >/dev
/null
; then
2104 if test -s conftest.err
; then
2105 ac_cpp_err
=$ac_c_preproc_warn_flag
2112 if test -z "$ac_cpp_err"; then
2115 echo "$as_me: failed program was:" >&5
2116 cat conftest.
$ac_ext >&5
2117 # Broken: fails on valid input.
2120 rm -f conftest.err conftest.
$ac_ext
2122 # OK, works on sane cases. Now check whether non-existent headers
2123 # can be detected and how.
2124 cat >conftest.
$ac_ext <<_ACEOF
2125 #line 2125 "configure"
2126 #include "confdefs.h"
2127 #include <ac_nonexistent.h>
2129 if { (eval echo "$as_me:2129: \"$ac_cpp conftest.$ac_ext\"") >&5
2130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2132 egrep -v '^ *\+' conftest.er1
>conftest.err
2134 cat conftest.err
>&5
2135 echo "$as_me:2135: \$? = $ac_status" >&5
2136 (exit $ac_status); } >/dev
/null
; then
2137 if test -s conftest.err
; then
2138 ac_cpp_err
=$ac_c_preproc_warn_flag
2145 if test -z "$ac_cpp_err"; then
2146 # Broken: success on invalid input.
2149 echo "$as_me: failed program was:" >&5
2150 cat conftest.
$ac_ext >&5
2151 # Passes both tests.
2155 rm -f conftest.err conftest.
$ac_ext
2158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2159 rm -f conftest.err conftest.
$ac_ext
2160 if $ac_preproc_ok; then
2163 { { echo "$as_me:2163: error: C preprocessor \"$CPP\" fails sanity check" >&5
2164 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2165 { (exit 1); exit 1; }; }
2169 ac_cpp
='$CPP $CPPFLAGS'
2170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2174 echo "$as_me:2174: checking for minix/config.h" >&5
2175 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2176 if test "${ac_cv_header_minix_config_h+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 cat >conftest.
$ac_ext <<_ACEOF
2180 #line 2180 "configure"
2181 #include "confdefs.h"
2182 #include <minix/config.h>
2184 if { (eval echo "$as_me:2184: \"$ac_cpp conftest.$ac_ext\"") >&5
2185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2187 egrep -v '^ *\+' conftest.er1
>conftest.err
2189 cat conftest.err
>&5
2190 echo "$as_me:2190: \$? = $ac_status" >&5
2191 (exit $ac_status); } >/dev
/null
; then
2192 if test -s conftest.err
; then
2193 ac_cpp_err
=$ac_c_preproc_warn_flag
2200 if test -z "$ac_cpp_err"; then
2201 ac_cv_header_minix_config_h
=yes
2203 echo "$as_me: failed program was:" >&5
2204 cat conftest.
$ac_ext >&5
2205 ac_cv_header_minix_config_h
=no
2207 rm -f conftest.err conftest.
$ac_ext
2209 echo "$as_me:2209: result: $ac_cv_header_minix_config_h" >&5
2210 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2211 if test $ac_cv_header_minix_config_h = yes; then
2217 if test "$MINIX" = yes; then
2219 cat >>confdefs.h
<<\EOF
2220 #define _POSIX_SOURCE 1
2223 cat >>confdefs.h
<<\EOF
2224 #define _POSIX_1_SOURCE 2
2227 cat >>confdefs.h
<<\EOF
2233 echo "$as_me:2233: checking for strerror in -lcposix" >&5
2234 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2235 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 ac_check_lib_save_LIBS
=$LIBS
2239 LIBS
="-lcposix $LIBS"
2240 cat >conftest.
$ac_ext <<_ACEOF
2241 #line 2241 "configure"
2242 #include "confdefs.h"
2244 /* Override any gcc2 internal prototype to avoid an error. */
2248 /* We use char because int might match the return type of a gcc2
2249 builtin and then its argument prototype would still apply. */
2259 rm -f conftest.
$ac_objext conftest
$ac_exeext
2260 if { (eval echo "$as_me:2260: \"$ac_link\"") >&5
2261 (eval $ac_link) 2>&5
2263 echo "$as_me:2263: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try
='test -s conftest$ac_exeext'
2266 { (eval echo "$as_me:2266: \"$ac_try\"") >&5
2269 echo "$as_me:2269: \$? = $ac_status" >&5
2270 (exit $ac_status); }; }; then
2271 ac_cv_lib_cposix_strerror
=yes
2273 echo "$as_me: failed program was:" >&5
2274 cat conftest.
$ac_ext >&5
2275 ac_cv_lib_cposix_strerror
=no
2277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2278 LIBS
=$ac_check_lib_save_LIBS
2280 echo "$as_me:2280: result: $ac_cv_lib_cposix_strerror" >&5
2281 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2282 if test $ac_cv_lib_cposix_strerror = yes; then
2283 LIBS
="$LIBS -lcposix"
2286 echo "$as_me:2286: checking for ${CC-cc} option to accept ANSI C" >&5
2287 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2288 if test "${am_cv_prog_cc_stdc+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 am_cv_prog_cc_stdc
=no
2293 # Don't try gcc -ansi; that turns off useful extensions and
2294 # breaks some systems' header files.
2295 # AIX -qlanglvl=ansi
2296 # Ultrix and OSF/1 -std1
2297 # HP-UX -Aa -D_HPUX_SOURCE
2298 # SVR4 -Xc -D__EXTENSIONS__
2299 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2301 CC
="$ac_save_CC $ac_arg"
2302 cat >conftest.
$ac_ext <<_ACEOF
2303 #line 2303 "configure"
2304 #include "confdefs.h"
2307 #include <sys/types.h>
2308 #include <sys/stat.h>
2309 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2310 struct buf { int x; };
2311 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2312 static char *e (p, i)
2318 static char *f (char * (*g) (char **, int), char **p, ...)
2323 s = g (p, va_arg (v,int));
2327 int test (int i, double x);
2328 struct s1 {int (*f) (int a);};
2329 struct s2 {int (*f) (double a);};
2330 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2344 rm -f conftest.
$ac_objext
2345 if { (eval echo "$as_me:2345: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>&5
2348 echo "$as_me:2348: \$? = $ac_status" >&5
2349 (exit $ac_status); } &&
2350 { ac_try
='test -s conftest.$ac_objext'
2351 { (eval echo "$as_me:2351: \"$ac_try\"") >&5
2354 echo "$as_me:2354: \$? = $ac_status" >&5
2355 (exit $ac_status); }; }; then
2356 am_cv_prog_cc_stdc
="$ac_arg"; break
2358 echo "$as_me: failed program was:" >&5
2359 cat conftest.
$ac_ext >&5
2361 rm -f conftest.
$ac_objext conftest.
$ac_ext
2367 if test -z "$am_cv_prog_cc_stdc"; then
2368 echo "$as_me:2368: result: none needed" >&5
2369 echo "${ECHO_T}none needed" >&6
2371 echo "$as_me:2371: result: $am_cv_prog_cc_stdc" >&5
2372 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2374 case "x$am_cv_prog_cc_stdc" in
2376 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2381 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2382 echo "$as_me:2382: checking for $ac_word" >&5
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2384 if test "${ac_cv_prog_RANLIB+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 if test -n "$RANLIB"; then
2388 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2390 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2392 for ac_dir
in $ac_dummy; do
2394 test -z "$ac_dir" && ac_dir
=.
2395 $as_executable_p "$ac_dir/$ac_word" || continue
2396 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2397 echo "$as_me:2397: found $ac_dir/$ac_word" >&5
2403 RANLIB
=$ac_cv_prog_RANLIB
2404 if test -n "$RANLIB"; then
2405 echo "$as_me:2405: result: $RANLIB" >&5
2406 echo "${ECHO_T}$RANLIB" >&6
2408 echo "$as_me:2408: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2413 if test -z "$ac_cv_prog_RANLIB"; then
2414 ac_ct_RANLIB
=$RANLIB
2415 # Extract the first word of "ranlib", so it can be a program name with args.
2416 set dummy ranlib
; ac_word
=$2
2417 echo "$as_me:2417: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$ac_ct_RANLIB"; then
2423 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2425 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2427 for ac_dir
in $ac_dummy; do
2429 test -z "$ac_dir" && ac_dir
=.
2430 $as_executable_p "$ac_dir/$ac_word" || continue
2431 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2432 echo "$as_me:2432: found $ac_dir/$ac_word" >&5
2436 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2439 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2440 if test -n "$ac_ct_RANLIB"; then
2441 echo "$as_me:2441: result: $ac_ct_RANLIB" >&5
2442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2444 echo "$as_me:2444: result: no" >&5
2445 echo "${ECHO_T}no" >&6
2448 RANLIB
=$ac_ct_RANLIB
2450 RANLIB
="$ac_cv_prog_RANLIB"
2453 # GNU M4 is needed to build the testsuite.
2454 for ac_prog
in gm4 gnum4
m4
2456 # Extract the first word of "$ac_prog", so it can be a program name with args.
2457 set dummy
$ac_prog; ac_word
=$2
2458 echo "$as_me:2458: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460 if test "${ac_cv_path_M4+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2468 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2470 for ac_dir
in $ac_dummy; do
2472 test -z "$ac_dir" && ac_dir
=.
2473 if $as_executable_p "$ac_dir/$ac_word"; then
2474 ac_cv_path_M4
="$ac_dir/$ac_word"
2475 echo "$as_me:2475: found $ac_dir/$ac_word" >&5
2485 if test -n "$M4"; then
2486 echo "$as_me:2486: result: $M4" >&5
2487 echo "${ECHO_T}$M4" >&6
2489 echo "$as_me:2489: result: no" >&5
2490 echo "${ECHO_T}no" >&6
2493 test -n "$M4" && break
2495 test -n "$M4" || M4
="m4"
2497 echo "$as_me:2497: checking whether m4 supports frozen files" >&5
2498 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2499 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 ac_cv_prog_gnu_m4
=no
2503 if test x
"$M4" != x
; then
2504 case `$M4 --help < /dev/null 2>&1` in
2505 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2509 echo "$as_me:2509: result: $ac_cv_prog_gnu_m4" >&5
2510 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2512 if test "$ac_cv_prog_gnu_m4" != yes; then
2513 missing_dir
=`cd $ac_aux_dir && pwd`
2514 M4
="$missing_dir/missing m4"
2517 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2518 if test "${enable_gcc_warnings+set}" = set; then
2519 enableval
="$enable_gcc_warnings"
2520 case "${enableval}" in
2522 *) { { echo "$as_me:2522: error: bad value ${enableval} for gcc-warnings option" >&5
2523 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2524 { (exit 1); exit 1; }; } ;;
2529 if test "${enableval}" = yes; then
2530 echo "$as_me:2530: checking whether compiler accepts -Wall" >&5
2531 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
2533 ac_save_CFLAGS
="$CFLAGS"
2534 CFLAGS
="$CFLAGS -Wall"
2535 cat >conftest.
$ac_ext <<_ACEOF
2536 #line 2536 "configure"
2537 #include "confdefs.h"
2547 rm -f conftest.
$ac_objext
2548 if { (eval echo "$as_me:2548: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>&5
2551 echo "$as_me:2551: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try
='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:2554: \"$ac_try\"") >&5
2557 echo "$as_me:2557: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2559 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
2560 echo "$as_me:2560: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me: failed program was:" >&5
2564 cat conftest.
$ac_ext >&5
2565 echo "$as_me:2565: result: no" >&5
2566 echo "${ECHO_T}no" >&6
2568 rm -f conftest.
$ac_objext conftest.
$ac_ext
2569 CFLAGS
="$ac_save_CFLAGS"
2570 echo "$as_me:2570: checking whether compiler accepts -W" >&5
2571 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
2573 ac_save_CFLAGS
="$CFLAGS"
2575 cat >conftest.
$ac_ext <<_ACEOF
2576 #line 2576 "configure"
2577 #include "confdefs.h"
2587 rm -f conftest.
$ac_objext
2588 if { (eval echo "$as_me:2588: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>&5
2591 echo "$as_me:2591: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try
='test -s conftest.$ac_objext'
2594 { (eval echo "$as_me:2594: \"$ac_try\"") >&5
2597 echo "$as_me:2597: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2599 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
2600 echo "$as_me:2600: result: yes" >&5
2601 echo "${ECHO_T}yes" >&6
2603 echo "$as_me: failed program was:" >&5
2604 cat conftest.
$ac_ext >&5
2605 echo "$as_me:2605: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2608 rm -f conftest.
$ac_objext conftest.
$ac_ext
2609 CFLAGS
="$ac_save_CFLAGS"
2610 echo "$as_me:2610: checking whether compiler accepts -Wbad-function-cast" >&5
2611 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
2613 ac_save_CFLAGS
="$CFLAGS"
2614 CFLAGS
="$CFLAGS -Wbad-function-cast"
2615 cat >conftest.
$ac_ext <<_ACEOF
2616 #line 2616 "configure"
2617 #include "confdefs.h"
2627 rm -f conftest.
$ac_objext
2628 if { (eval echo "$as_me:2628: \"$ac_compile\"") >&5
2629 (eval $ac_compile) 2>&5
2631 echo "$as_me:2631: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try
='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:2634: \"$ac_try\"") >&5
2637 echo "$as_me:2637: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
2640 echo "$as_me:2640: result: yes" >&5
2641 echo "${ECHO_T}yes" >&6
2643 echo "$as_me: failed program was:" >&5
2644 cat conftest.
$ac_ext >&5
2645 echo "$as_me:2645: result: no" >&5
2646 echo "${ECHO_T}no" >&6
2648 rm -f conftest.
$ac_objext conftest.
$ac_ext
2649 CFLAGS
="$ac_save_CFLAGS"
2650 echo "$as_me:2650: checking whether compiler accepts -Wcast-align" >&5
2651 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
2653 ac_save_CFLAGS
="$CFLAGS"
2654 CFLAGS
="$CFLAGS -Wcast-align"
2655 cat >conftest.
$ac_ext <<_ACEOF
2656 #line 2656 "configure"
2657 #include "confdefs.h"
2667 rm -f conftest.
$ac_objext
2668 if { (eval echo "$as_me:2668: \"$ac_compile\"") >&5
2669 (eval $ac_compile) 2>&5
2671 echo "$as_me:2671: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try
='test -s conftest.$ac_objext'
2674 { (eval echo "$as_me:2674: \"$ac_try\"") >&5
2677 echo "$as_me:2677: \$? = $ac_status" >&5
2678 (exit $ac_status); }; }; then
2679 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
2680 echo "$as_me:2680: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2683 echo "$as_me: failed program was:" >&5
2684 cat conftest.
$ac_ext >&5
2685 echo "$as_me:2685: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2688 rm -f conftest.
$ac_objext conftest.
$ac_ext
2689 CFLAGS
="$ac_save_CFLAGS"
2690 echo "$as_me:2690: checking whether compiler accepts -Wcast-qual" >&5
2691 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
2693 ac_save_CFLAGS
="$CFLAGS"
2694 CFLAGS
="$CFLAGS -Wcast-qual"
2695 cat >conftest.
$ac_ext <<_ACEOF
2696 #line 2696 "configure"
2697 #include "confdefs.h"
2707 rm -f conftest.
$ac_objext
2708 if { (eval echo "$as_me:2708: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>&5
2711 echo "$as_me:2711: \$? = $ac_status" >&5
2712 (exit $ac_status); } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:2714: \"$ac_try\"") >&5
2717 echo "$as_me:2717: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2719 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
2720 echo "$as_me:2720: result: yes" >&5
2721 echo "${ECHO_T}yes" >&6
2723 echo "$as_me: failed program was:" >&5
2724 cat conftest.
$ac_ext >&5
2725 echo "$as_me:2725: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2728 rm -f conftest.
$ac_objext conftest.
$ac_ext
2729 CFLAGS
="$ac_save_CFLAGS"
2730 echo "$as_me:2730: checking whether compiler accepts -Wmissing-declarations" >&5
2731 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
2733 ac_save_CFLAGS
="$CFLAGS"
2734 CFLAGS
="$CFLAGS -Wmissing-declarations"
2735 cat >conftest.
$ac_ext <<_ACEOF
2736 #line 2736 "configure"
2737 #include "confdefs.h"
2747 rm -f conftest.
$ac_objext
2748 if { (eval echo "$as_me:2748: \"$ac_compile\"") >&5
2749 (eval $ac_compile) 2>&5
2751 echo "$as_me:2751: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -s conftest.$ac_objext'
2754 { (eval echo "$as_me:2754: \"$ac_try\"") >&5
2757 echo "$as_me:2757: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2759 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
2760 echo "$as_me:2760: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2763 echo "$as_me: failed program was:" >&5
2764 cat conftest.
$ac_ext >&5
2765 echo "$as_me:2765: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2768 rm -f conftest.
$ac_objext conftest.
$ac_ext
2769 CFLAGS
="$ac_save_CFLAGS"
2770 echo "$as_me:2770: checking whether compiler accepts -Wmissing-prototypes" >&5
2771 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
2773 ac_save_CFLAGS
="$CFLAGS"
2774 CFLAGS
="$CFLAGS -Wmissing-prototypes"
2775 cat >conftest.
$ac_ext <<_ACEOF
2776 #line 2776 "configure"
2777 #include "confdefs.h"
2787 rm -f conftest.
$ac_objext
2788 if { (eval echo "$as_me:2788: \"$ac_compile\"") >&5
2789 (eval $ac_compile) 2>&5
2791 echo "$as_me:2791: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:2794: \"$ac_try\"") >&5
2797 echo "$as_me:2797: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2799 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
2800 echo "$as_me:2800: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2803 echo "$as_me: failed program was:" >&5
2804 cat conftest.
$ac_ext >&5
2805 echo "$as_me:2805: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2808 rm -f conftest.
$ac_objext conftest.
$ac_ext
2809 CFLAGS
="$ac_save_CFLAGS"
2810 echo "$as_me:2810: checking whether compiler accepts -Wnested-externs" >&5
2811 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
2813 ac_save_CFLAGS
="$CFLAGS"
2814 CFLAGS
="$CFLAGS -Wnested-externs"
2815 cat >conftest.
$ac_ext <<_ACEOF
2816 #line 2816 "configure"
2817 #include "confdefs.h"
2827 rm -f conftest.
$ac_objext
2828 if { (eval echo "$as_me:2828: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2831 echo "$as_me:2831: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try
='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:2834: \"$ac_try\"") >&5
2837 echo "$as_me:2837: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2839 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
2840 echo "$as_me:2840: result: yes" >&5
2841 echo "${ECHO_T}yes" >&6
2843 echo "$as_me: failed program was:" >&5
2844 cat conftest.
$ac_ext >&5
2845 echo "$as_me:2845: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2848 rm -f conftest.
$ac_objext conftest.
$ac_ext
2849 CFLAGS
="$ac_save_CFLAGS"
2850 echo "$as_me:2850: checking whether compiler accepts -Wshadow" >&5
2851 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
2853 ac_save_CFLAGS
="$CFLAGS"
2854 CFLAGS
="$CFLAGS -Wshadow"
2855 cat >conftest.
$ac_ext <<_ACEOF
2856 #line 2856 "configure"
2857 #include "confdefs.h"
2867 rm -f conftest.
$ac_objext
2868 if { (eval echo "$as_me:2868: \"$ac_compile\"") >&5
2869 (eval $ac_compile) 2>&5
2871 echo "$as_me:2871: \$? = $ac_status" >&5
2872 (exit $ac_status); } &&
2873 { ac_try
='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:2874: \"$ac_try\"") >&5
2877 echo "$as_me:2877: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
2880 echo "$as_me:2880: result: yes" >&5
2881 echo "${ECHO_T}yes" >&6
2883 echo "$as_me: failed program was:" >&5
2884 cat conftest.
$ac_ext >&5
2885 echo "$as_me:2885: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2888 rm -f conftest.
$ac_objext conftest.
$ac_ext
2889 CFLAGS
="$ac_save_CFLAGS"
2890 echo "$as_me:2890: checking whether compiler accepts -Wstrict-prototypes" >&5
2891 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
2893 ac_save_CFLAGS
="$CFLAGS"
2894 CFLAGS
="$CFLAGS -Wstrict-prototypes"
2895 cat >conftest.
$ac_ext <<_ACEOF
2896 #line 2896 "configure"
2897 #include "confdefs.h"
2907 rm -f conftest.
$ac_objext
2908 if { (eval echo "$as_me:2908: \"$ac_compile\"") >&5
2909 (eval $ac_compile) 2>&5
2911 echo "$as_me:2911: \$? = $ac_status" >&5
2912 (exit $ac_status); } &&
2913 { ac_try
='test -s conftest.$ac_objext'
2914 { (eval echo "$as_me:2914: \"$ac_try\"") >&5
2917 echo "$as_me:2917: \$? = $ac_status" >&5
2918 (exit $ac_status); }; }; then
2919 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
2920 echo "$as_me:2920: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2923 echo "$as_me: failed program was:" >&5
2924 cat conftest.
$ac_ext >&5
2925 echo "$as_me:2925: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2928 rm -f conftest.
$ac_objext conftest.
$ac_ext
2929 CFLAGS
="$ac_save_CFLAGS"
2930 echo "$as_me:2930: checking whether compiler accepts -Wwrite-strings" >&5
2931 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
2933 ac_save_CFLAGS
="$CFLAGS"
2934 CFLAGS
="$CFLAGS -Wwrite-strings"
2935 cat >conftest.
$ac_ext <<_ACEOF
2936 #line 2936 "configure"
2937 #include "confdefs.h"
2947 rm -f conftest.
$ac_objext
2948 if { (eval echo "$as_me:2948: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>&5
2951 echo "$as_me:2951: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try
='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:2954: \"$ac_try\"") >&5
2957 echo "$as_me:2957: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
2960 echo "$as_me:2960: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2963 echo "$as_me: failed program was:" >&5
2964 cat conftest.
$ac_ext >&5
2965 echo "$as_me:2965: result: no" >&5
2966 echo "${ECHO_T}no" >&6
2968 rm -f conftest.
$ac_objext conftest.
$ac_ext
2969 CFLAGS
="$ac_save_CFLAGS"
2970 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
2973 # Checks for libraries.
2975 cat >>confdefs.h
<<\EOF
2976 #define _GNU_SOURCE 1
2979 # Checks for header files.
2980 echo "$as_me:2980: checking for ANSI C header files" >&5
2981 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2982 if test "${ac_cv_header_stdc+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 cat >conftest.
$ac_ext <<_ACEOF
2986 #line 2986 "configure"
2987 #include "confdefs.h"
2994 if { (eval echo "$as_me:2994: \"$ac_cpp conftest.$ac_ext\"") >&5
2995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2997 egrep -v '^ *\+' conftest.er1
>conftest.err
2999 cat conftest.err
>&5
3000 echo "$as_me:3000: \$? = $ac_status" >&5
3001 (exit $ac_status); } >/dev
/null
; then
3002 if test -s conftest.err
; then
3003 ac_cpp_err
=$ac_c_preproc_warn_flag
3010 if test -z "$ac_cpp_err"; then
3011 ac_cv_header_stdc
=yes
3013 echo "$as_me: failed program was:" >&5
3014 cat conftest.
$ac_ext >&5
3015 ac_cv_header_stdc
=no
3017 rm -f conftest.err conftest.
$ac_ext
3019 if test $ac_cv_header_stdc = yes; then
3020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3021 cat >conftest.
$ac_ext <<_ACEOF
3022 #line 3022 "configure"
3023 #include "confdefs.h"
3027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3028 egrep "memchr" >/dev
/null
2>&1; then
3031 ac_cv_header_stdc
=no
3037 if test $ac_cv_header_stdc = yes; then
3038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3039 cat >conftest.
$ac_ext <<_ACEOF
3040 #line 3040 "configure"
3041 #include "confdefs.h"
3045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3046 egrep "free" >/dev
/null
2>&1; then
3049 ac_cv_header_stdc
=no
3055 if test $ac_cv_header_stdc = yes; then
3056 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3057 if test "$cross_compiling" = yes; then
3060 cat >conftest.
$ac_ext <<_ACEOF
3061 #line 3061 "configure"
3062 #include "confdefs.h"
3064 #if ((' ' & 0x0FF) == 0x020)
3065 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3066 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3068 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3069 || ('j' <= (c) && (c) <= 'r') \
3070 || ('s' <= (c) && (c) <= 'z'))
3071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3079 for (i = 0; i < 256; i++)
3080 if (XOR (islower (i), ISLOWER (i))
3081 || toupper (i) != TOUPPER (i))
3086 rm -f conftest
$ac_exeext
3087 if { (eval echo "$as_me:3087: \"$ac_link\"") >&5
3088 (eval $ac_link) 2>&5
3090 echo "$as_me:3090: \$? = $ac_status" >&5
3091 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3092 { (eval echo "$as_me:3092: \"$ac_try\"") >&5
3095 echo "$as_me:3095: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3099 echo "$as_me: program exited with status $ac_status" >&5
3100 echo "$as_me: failed program was:" >&5
3101 cat conftest.
$ac_ext >&5
3102 ac_cv_header_stdc
=no
3104 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3108 echo "$as_me:3108: result: $ac_cv_header_stdc" >&5
3109 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3110 if test $ac_cv_header_stdc = yes; then
3112 cat >>confdefs.h
<<\EOF
3113 #define STDC_HEADERS 1
3118 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3121 echo "$as_me:3121: checking for $ac_header" >&5
3122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 cat >conftest.
$ac_ext <<_ACEOF
3127 #line 3127 "configure"
3128 #include "confdefs.h"
3129 #include <$ac_header>
3131 if { (eval echo "$as_me:3131: \"$ac_cpp conftest.$ac_ext\"") >&5
3132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3134 egrep -v '^ *\+' conftest.er1
>conftest.err
3136 cat conftest.err
>&5
3137 echo "$as_me:3137: \$? = $ac_status" >&5
3138 (exit $ac_status); } >/dev
/null
; then
3139 if test -s conftest.err
; then
3140 ac_cpp_err
=$ac_c_preproc_warn_flag
3147 if test -z "$ac_cpp_err"; then
3148 eval "$as_ac_Header=yes"
3150 echo "$as_me: failed program was:" >&5
3151 cat conftest.
$ac_ext >&5
3152 eval "$as_ac_Header=no"
3154 rm -f conftest.err conftest.
$ac_ext
3156 echo "$as_me:3156: result: `eval echo '${'$as_ac_Header'}'`" >&5
3157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3159 cat >>confdefs.h
<<EOF
3160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3166 # Checks for typedefs.
3168 # Checks for structures.
3170 # Checks for compiler characteristics.
3171 echo "$as_me:3171: checking for $CC option to accept ANSI C" >&5
3172 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 ac_cv_prog_cc_stdc
=no
3178 cat >conftest.
$ac_ext <<_ACEOF
3179 #line 3179 "configure"
3180 #include "confdefs.h"
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3186 struct buf { int x; };
3187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3188 static char *e (p, i)
3194 static char *f (char * (*g) (char **, int), char **p, ...)
3199 s = g (p, va_arg (v,int));
3203 int test (int i, double x);
3204 struct s1 {int (*f) (int a);};
3205 struct s2 {int (*f) (double a);};
3206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3217 # Don't try gcc -ansi; that turns off useful extensions and
3218 # breaks some systems' header files.
3219 # AIX -qlanglvl=ansi
3220 # Ultrix and OSF/1 -std1
3221 # HP-UX 10.20 and later -Ae
3222 # HP-UX older versions -Aa -D_HPUX_SOURCE
3223 # SVR4 -Xc -D__EXTENSIONS__
3224 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3226 CC
="$ac_save_CC $ac_arg"
3227 rm -f conftest.
$ac_objext
3228 if { (eval echo "$as_me:3228: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>&5
3231 echo "$as_me:3231: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try
='test -s conftest.$ac_objext'
3234 { (eval echo "$as_me:3234: \"$ac_try\"") >&5
3237 echo "$as_me:3237: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 ac_cv_prog_cc_stdc
=$ac_arg
3242 echo "$as_me: failed program was:" >&5
3243 cat conftest.
$ac_ext >&5
3245 rm -f conftest.
$ac_objext
3247 rm -f conftest.
$ac_ext conftest.
$ac_objext
3252 case "x$ac_cv_prog_cc_stdc" in
3254 echo "$as_me:3254: result: none needed" >&5
3255 echo "${ECHO_T}none needed" >&6 ;;
3257 echo "$as_me:3257: result: $ac_cv_prog_cc_stdc" >&5
3258 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3259 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3262 echo "$as_me:3262: checking for an ANSI C-conforming const" >&5
3263 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3264 if test "${ac_cv_c_const+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 cat >conftest.
$ac_ext <<_ACEOF
3268 #line 3268 "configure"
3269 #include "confdefs.h"
3274 /* FIXME: Include the comments suggested by Paul. */
3276 /* Ultrix mips cc rejects this. */
3277 typedef int charset[2];
3279 /* SunOS 4.1.1 cc rejects this. */
3280 char const *const *ccp;
3282 /* NEC SVR4.0.2 mips cc rejects this. */
3283 struct point {int x, y;};
3284 static struct point const zero = {0,0};
3285 /* AIX XL C 1.02.0.0 rejects this.
3286 It does not let you subtract one const X* pointer from another in
3287 an arm of an if-expression whose if-part is not a constant
3289 const char *g = "string";
3290 ccp = &g + (g ? g-g : 0);
3291 /* HPUX 7.0 cc rejects these. */
3294 ccp = (char const *const *) p;
3295 { /* SCO 3.2v4 cc rejects this. */
3297 char const *s = 0 ? (char *) 0 : (char const *) 0;
3301 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3303 const int *foo = &x[0];
3306 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3307 typedef const int *iptr;
3311 { /* AIX XL C 1.02.0.0 rejects this saying
3312 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3313 struct s { int j; const int *ap[3]; };
3314 struct s *b; b->j = 5;
3316 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3325 rm -f conftest.
$ac_objext
3326 if { (eval echo "$as_me:3326: \"$ac_compile\"") >&5
3327 (eval $ac_compile) 2>&5
3329 echo "$as_me:3329: \$? = $ac_status" >&5
3330 (exit $ac_status); } &&
3331 { ac_try
='test -s conftest.$ac_objext'
3332 { (eval echo "$as_me:3332: \"$ac_try\"") >&5
3335 echo "$as_me:3335: \$? = $ac_status" >&5
3336 (exit $ac_status); }; }; then
3339 echo "$as_me: failed program was:" >&5
3340 cat conftest.
$ac_ext >&5
3343 rm -f conftest.
$ac_objext conftest.
$ac_ext
3345 echo "$as_me:3345: result: $ac_cv_c_const" >&5
3346 echo "${ECHO_T}$ac_cv_c_const" >&6
3347 if test $ac_cv_c_const = no
; then
3349 cat >>confdefs.h
<<\EOF
3355 echo "$as_me:3355: checking for inline" >&5
3356 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3357 if test "${ac_cv_c_inline+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 for ac_kw
in inline __inline__ __inline
; do
3362 cat >conftest.
$ac_ext <<_ACEOF
3363 #line 3363 "configure"
3364 #include "confdefs.h"
3366 static $ac_kw int static_foo () {return 0; }
3367 $ac_kw int foo () {return 0; }
3371 rm -f conftest.
$ac_objext
3372 if { (eval echo "$as_me:3372: \"$ac_compile\"") >&5
3373 (eval $ac_compile) 2>&5
3375 echo "$as_me:3375: \$? = $ac_status" >&5
3376 (exit $ac_status); } &&
3377 { ac_try
='test -s conftest.$ac_objext'
3378 { (eval echo "$as_me:3378: \"$ac_try\"") >&5
3381 echo "$as_me:3381: \$? = $ac_status" >&5
3382 (exit $ac_status); }; }; then
3383 ac_cv_c_inline
=$ac_kw; break
3385 echo "$as_me: failed program was:" >&5
3386 cat conftest.
$ac_ext >&5
3388 rm -f conftest.
$ac_objext conftest.
$ac_ext
3392 echo "$as_me:3392: result: $ac_cv_c_inline" >&5
3393 echo "${ECHO_T}$ac_cv_c_inline" >&6
3394 case $ac_cv_c_inline in
3397 cat >>confdefs.h
<<\EOF
3401 *) cat >>confdefs.h
<<EOF
3402 #define inline $ac_cv_c_inline
3407 echo "$as_me:3407: checking for function prototypes" >&5
3408 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3409 if test "$am_cv_prog_cc_stdc" != no
; then
3410 echo "$as_me:3410: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3413 cat >>confdefs.h
<<\EOF
3414 #define PROTOTYPES 1
3419 echo "$as_me:3419: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3421 U
=_ ANSI2KNR
=.
/ansi2knr
3422 # Ensure some checks needed by ansi2knr itself.
3423 echo "$as_me:3423: checking for ANSI C header files" >&5
3424 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3425 if test "${ac_cv_header_stdc+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 cat >conftest.
$ac_ext <<_ACEOF
3429 #line 3429 "configure"
3430 #include "confdefs.h"
3437 if { (eval echo "$as_me:3437: \"$ac_cpp conftest.$ac_ext\"") >&5
3438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3440 egrep -v '^ *\+' conftest.er1
>conftest.err
3442 cat conftest.err
>&5
3443 echo "$as_me:3443: \$? = $ac_status" >&5
3444 (exit $ac_status); } >/dev
/null
; then
3445 if test -s conftest.err
; then
3446 ac_cpp_err
=$ac_c_preproc_warn_flag
3453 if test -z "$ac_cpp_err"; then
3454 ac_cv_header_stdc
=yes
3456 echo "$as_me: failed program was:" >&5
3457 cat conftest.
$ac_ext >&5
3458 ac_cv_header_stdc
=no
3460 rm -f conftest.err conftest.
$ac_ext
3462 if test $ac_cv_header_stdc = yes; then
3463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3464 cat >conftest.
$ac_ext <<_ACEOF
3465 #line 3465 "configure"
3466 #include "confdefs.h"
3470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3471 egrep "memchr" >/dev
/null
2>&1; then
3474 ac_cv_header_stdc
=no
3480 if test $ac_cv_header_stdc = yes; then
3481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3482 cat >conftest.
$ac_ext <<_ACEOF
3483 #line 3483 "configure"
3484 #include "confdefs.h"
3488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3489 egrep "free" >/dev
/null
2>&1; then
3492 ac_cv_header_stdc
=no
3498 if test $ac_cv_header_stdc = yes; then
3499 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3500 if test "$cross_compiling" = yes; then
3503 cat >conftest.
$ac_ext <<_ACEOF
3504 #line 3504 "configure"
3505 #include "confdefs.h"
3507 #if ((' ' & 0x0FF) == 0x020)
3508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3511 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3512 || ('j' <= (c) && (c) <= 'r') \
3513 || ('s' <= (c) && (c) <= 'z'))
3514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3522 for (i = 0; i < 256; i++)
3523 if (XOR (islower (i), ISLOWER (i))
3524 || toupper (i) != TOUPPER (i))
3529 rm -f conftest
$ac_exeext
3530 if { (eval echo "$as_me:3530: \"$ac_link\"") >&5
3531 (eval $ac_link) 2>&5
3533 echo "$as_me:3533: \$? = $ac_status" >&5
3534 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3535 { (eval echo "$as_me:3535: \"$ac_try\"") >&5
3538 echo "$as_me:3538: \$? = $ac_status" >&5
3539 (exit $ac_status); }; }; then
3542 echo "$as_me: program exited with status $ac_status" >&5
3543 echo "$as_me: failed program was:" >&5
3544 cat conftest.
$ac_ext >&5
3545 ac_cv_header_stdc
=no
3547 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3551 echo "$as_me:3551: result: $ac_cv_header_stdc" >&5
3552 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3553 if test $ac_cv_header_stdc = yes; then
3555 cat >>confdefs.h
<<\EOF
3556 #define STDC_HEADERS 1
3561 for ac_header
in string.h
3563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3564 echo "$as_me:3564: checking for $ac_header" >&5
3565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 cat >conftest.
$ac_ext <<_ACEOF
3570 #line 3570 "configure"
3571 #include "confdefs.h"
3572 #include <$ac_header>
3574 if { (eval echo "$as_me:3574: \"$ac_cpp conftest.$ac_ext\"") >&5
3575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3577 egrep -v '^ *\+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:3580: \$? = $ac_status" >&5
3581 (exit $ac_status); } >/dev
/null
; then
3582 if test -s conftest.err
; then
3583 ac_cpp_err
=$ac_c_preproc_warn_flag
3590 if test -z "$ac_cpp_err"; then
3591 eval "$as_ac_Header=yes"
3593 echo "$as_me: failed program was:" >&5
3594 cat conftest.
$ac_ext >&5
3595 eval "$as_ac_Header=no"
3597 rm -f conftest.err conftest.
$ac_ext
3599 echo "$as_me:3599: result: `eval echo '${'$as_ac_Header'}'`" >&5
3600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3602 cat >>confdefs.h
<<EOF
3603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3611 # Checks for library functions.
3612 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3613 # for constant arguments. Useless!
3614 echo "$as_me:3614: checking for working alloca.h" >&5
3615 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3616 if test "${ac_cv_working_alloca_h+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 cat >conftest.
$ac_ext <<_ACEOF
3620 #line 3620 "configure"
3621 #include "confdefs.h"
3626 char *p = (char *) alloca (2 * sizeof (int));
3631 rm -f conftest.
$ac_objext conftest
$ac_exeext
3632 if { (eval echo "$as_me:3632: \"$ac_link\"") >&5
3633 (eval $ac_link) 2>&5
3635 echo "$as_me:3635: \$? = $ac_status" >&5
3636 (exit $ac_status); } &&
3637 { ac_try
='test -s conftest$ac_exeext'
3638 { (eval echo "$as_me:3638: \"$ac_try\"") >&5
3641 echo "$as_me:3641: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_working_alloca_h
=yes
3645 echo "$as_me: failed program was:" >&5
3646 cat conftest.
$ac_ext >&5
3647 ac_cv_working_alloca_h
=no
3649 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3651 echo "$as_me:3651: result: $ac_cv_working_alloca_h" >&5
3652 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3653 if test $ac_cv_working_alloca_h = yes; then
3655 cat >>confdefs.h
<<\EOF
3656 #define HAVE_ALLOCA_H 1
3661 echo "$as_me:3661: checking for alloca" >&5
3662 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3663 if test "${ac_cv_func_alloca_works+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 cat >conftest.
$ac_ext <<_ACEOF
3667 #line 3667 "configure"
3668 #include "confdefs.h"
3670 # define alloca __builtin_alloca
3673 # include <malloc.h>
3674 # define alloca _alloca
3677 # include <alloca.h>
3682 # ifndef alloca /* predefined by HP cc +Olibcalls */
3693 char *p = (char *) alloca (1);
3698 rm -f conftest.
$ac_objext conftest
$ac_exeext
3699 if { (eval echo "$as_me:3699: \"$ac_link\"") >&5
3700 (eval $ac_link) 2>&5
3702 echo "$as_me:3702: \$? = $ac_status" >&5
3703 (exit $ac_status); } &&
3704 { ac_try
='test -s conftest$ac_exeext'
3705 { (eval echo "$as_me:3705: \"$ac_try\"") >&5
3708 echo "$as_me:3708: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 ac_cv_func_alloca_works
=yes
3712 echo "$as_me: failed program was:" >&5
3713 cat conftest.
$ac_ext >&5
3714 ac_cv_func_alloca_works
=no
3716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3718 echo "$as_me:3718: result: $ac_cv_func_alloca_works" >&5
3719 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3721 if test $ac_cv_func_alloca_works = yes; then
3723 cat >>confdefs.h
<<\EOF
3724 #define HAVE_ALLOCA 1
3728 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3729 # that cause trouble. Some versions do not even contain alloca or
3730 # contain a buggy version. If you still want to use their alloca,
3731 # use ar to extract alloca.o from them instead of compiling alloca.c.
3733 ALLOCA
=alloca.
$ac_objext
3735 cat >>confdefs.h
<<\EOF
3739 echo "$as_me:3739: checking whether \`alloca.c' needs Cray hooks" >&5
3740 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3741 if test "${ac_cv_os_cray+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 cat >conftest.
$ac_ext <<_ACEOF
3745 #line 3745 "configure"
3746 #include "confdefs.h"
3747 #if defined(CRAY) && ! defined(CRAY2)
3754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3755 egrep "webecray" >/dev
/null
2>&1; then
3763 echo "$as_me:3763: result: $ac_cv_os_cray" >&5
3764 echo "${ECHO_T}$ac_cv_os_cray" >&6
3765 if test $ac_cv_os_cray = yes; then
3766 for ac_func
in _getb67 GETB67 getb67
; do
3767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3768 echo "$as_me:3768: checking for $ac_func" >&5
3769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3770 if eval "test \"\${$as_ac_var+set}\" = set"; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 cat >conftest.
$ac_ext <<_ACEOF
3774 #line 3774 "configure"
3775 #include "confdefs.h"
3776 /* System header to define __stub macros and hopefully few prototypes,
3777 which can conflict with char $ac_func (); below. */
3779 /* Override any gcc2 internal prototype to avoid an error. */
3783 /* We use char because int might match the return type of a gcc2
3784 builtin and then its argument prototype would still apply. */
3791 /* The GNU C library defines this for functions which it implements
3792 to always fail with ENOSYS. Some functions are actually named
3793 something starting with __ and the normal name is an alias. */
3794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3804 rm -f conftest.
$ac_objext conftest
$ac_exeext
3805 if { (eval echo "$as_me:3805: \"$ac_link\"") >&5
3806 (eval $ac_link) 2>&5
3808 echo "$as_me:3808: \$? = $ac_status" >&5
3809 (exit $ac_status); } &&
3810 { ac_try
='test -s conftest$ac_exeext'
3811 { (eval echo "$as_me:3811: \"$ac_try\"") >&5
3814 echo "$as_me:3814: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 eval "$as_ac_var=yes"
3818 echo "$as_me: failed program was:" >&5
3819 cat conftest.
$ac_ext >&5
3820 eval "$as_ac_var=no"
3822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3824 echo "$as_me:3824: result: `eval echo '${'$as_ac_var'}'`" >&5
3825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3826 if test `eval echo '${'$as_ac_var'}'` = yes; then
3828 cat >>confdefs.h
<<EOF
3829 #define CRAY_STACKSEG_END $ac_func
3838 echo "$as_me:3838: checking stack direction for C alloca" >&5
3839 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3840 if test "${ac_cv_c_stack_direction+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 if test "$cross_compiling" = yes; then
3844 ac_cv_c_stack_direction
=0
3846 cat >conftest.
$ac_ext <<_ACEOF
3847 #line 3847 "configure"
3848 #include "confdefs.h"
3850 find_stack_direction ()
3852 static char *addr = 0;
3857 return find_stack_direction ();
3860 return (&dummy > addr) ? 1 : -1;
3866 exit (find_stack_direction () < 0);
3869 rm -f conftest
$ac_exeext
3870 if { (eval echo "$as_me:3870: \"$ac_link\"") >&5
3871 (eval $ac_link) 2>&5
3873 echo "$as_me:3873: \$? = $ac_status" >&5
3874 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3875 { (eval echo "$as_me:3875: \"$ac_try\"") >&5
3878 echo "$as_me:3878: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_cv_c_stack_direction
=1
3882 echo "$as_me: program exited with status $ac_status" >&5
3883 echo "$as_me: failed program was:" >&5
3884 cat conftest.
$ac_ext >&5
3885 ac_cv_c_stack_direction
=-1
3887 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3890 echo "$as_me:3890: result: $ac_cv_c_stack_direction" >&5
3891 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3893 cat >>confdefs.h
<<EOF
3894 #define STACK_DIRECTION $ac_cv_c_stack_direction
3899 for ac_func
in mkstemp setlocale
3901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3902 echo "$as_me:3902: checking for $ac_func" >&5
3903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3904 if eval "test \"\${$as_ac_var+set}\" = set"; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 cat >conftest.
$ac_ext <<_ACEOF
3908 #line 3908 "configure"
3909 #include "confdefs.h"
3910 /* System header to define __stub macros and hopefully few prototypes,
3911 which can conflict with char $ac_func (); below. */
3913 /* Override any gcc2 internal prototype to avoid an error. */
3917 /* We use char because int might match the return type of a gcc2
3918 builtin and then its argument prototype would still apply. */
3925 /* The GNU C library defines this for functions which it implements
3926 to always fail with ENOSYS. Some functions are actually named
3927 something starting with __ and the normal name is an alias. */
3928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3938 rm -f conftest.
$ac_objext conftest
$ac_exeext
3939 if { (eval echo "$as_me:3939: \"$ac_link\"") >&5
3940 (eval $ac_link) 2>&5
3942 echo "$as_me:3942: \$? = $ac_status" >&5
3943 (exit $ac_status); } &&
3944 { ac_try
='test -s conftest$ac_exeext'
3945 { (eval echo "$as_me:3945: \"$ac_try\"") >&5
3948 echo "$as_me:3948: \$? = $ac_status" >&5
3949 (exit $ac_status); }; }; then
3950 eval "$as_ac_var=yes"
3952 echo "$as_me: failed program was:" >&5
3953 cat conftest.
$ac_ext >&5
3954 eval "$as_ac_var=no"
3956 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3958 echo "$as_me:3958: result: `eval echo '${'$as_ac_var'}'`" >&5
3959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3960 if test `eval echo '${'$as_ac_var'}'` = yes; then
3961 cat >>confdefs.h
<<EOF
3962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3970 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3971 inttypes.h stdint.h unistd.h
3973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3974 echo "$as_me:3974: checking for $ac_header" >&5
3975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3977 echo $ECHO_N "(cached) $ECHO_C" >&6
3979 cat >conftest.
$ac_ext <<_ACEOF
3980 #line 3980 "configure"
3981 #include "confdefs.h"
3982 $ac_includes_default
3983 #include <$ac_header>
3985 rm -f conftest.
$ac_objext
3986 if { (eval echo "$as_me:3986: \"$ac_compile\"") >&5
3987 (eval $ac_compile) 2>&5
3989 echo "$as_me:3989: \$? = $ac_status" >&5
3990 (exit $ac_status); } &&
3991 { ac_try
='test -s conftest.$ac_objext'
3992 { (eval echo "$as_me:3992: \"$ac_try\"") >&5
3995 echo "$as_me:3995: \$? = $ac_status" >&5
3996 (exit $ac_status); }; }; then
3997 eval "$as_ac_Header=yes"
3999 echo "$as_me: failed program was:" >&5
4000 cat conftest.
$ac_ext >&5
4001 eval "$as_ac_Header=no"
4003 rm -f conftest.
$ac_objext conftest.
$ac_ext
4005 echo "$as_me:4005: result: `eval echo '${'$as_ac_Header'}'`" >&5
4006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4008 cat >>confdefs.h
<<EOF
4009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4015 echo "$as_me:4015: checking whether stpcpy is declared" >&5
4016 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
4017 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 cat >conftest.
$ac_ext <<_ACEOF
4021 #line 4021 "configure"
4022 #include "confdefs.h"
4023 $ac_includes_default
4028 char *p = (char *) stpcpy;
4035 rm -f conftest.
$ac_objext
4036 if { (eval echo "$as_me:4036: \"$ac_compile\"") >&5
4037 (eval $ac_compile) 2>&5
4039 echo "$as_me:4039: \$? = $ac_status" >&5
4040 (exit $ac_status); } &&
4041 { ac_try
='test -s conftest.$ac_objext'
4042 { (eval echo "$as_me:4042: \"$ac_try\"") >&5
4045 echo "$as_me:4045: \$? = $ac_status" >&5
4046 (exit $ac_status); }; }; then
4047 ac_cv_have_decl_stpcpy
=yes
4049 echo "$as_me: failed program was:" >&5
4050 cat conftest.
$ac_ext >&5
4051 ac_cv_have_decl_stpcpy
=no
4053 rm -f conftest.
$ac_objext conftest.
$ac_ext
4055 echo "$as_me:4055: result: $ac_cv_have_decl_stpcpy" >&5
4056 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4057 if test $ac_cv_have_decl_stpcpy = yes; then
4059 cat >>confdefs.h
<<EOF
4060 #define HAVE_DECL_STPCPY 1
4064 cat >>confdefs.h
<<EOF
4065 #define HAVE_DECL_STPCPY 0
4069 echo "$as_me:4069: checking whether strndup is declared" >&5
4070 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4071 if test "${ac_cv_have_decl_strndup+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 cat >conftest.
$ac_ext <<_ACEOF
4075 #line 4075 "configure"
4076 #include "confdefs.h"
4077 $ac_includes_default
4082 char *p = (char *) strndup;
4089 rm -f conftest.
$ac_objext
4090 if { (eval echo "$as_me:4090: \"$ac_compile\"") >&5
4091 (eval $ac_compile) 2>&5
4093 echo "$as_me:4093: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -s conftest.$ac_objext'
4096 { (eval echo "$as_me:4096: \"$ac_try\"") >&5
4099 echo "$as_me:4099: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_cv_have_decl_strndup
=yes
4103 echo "$as_me: failed program was:" >&5
4104 cat conftest.
$ac_ext >&5
4105 ac_cv_have_decl_strndup
=no
4107 rm -f conftest.
$ac_objext conftest.
$ac_ext
4109 echo "$as_me:4109: result: $ac_cv_have_decl_strndup" >&5
4110 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4111 if test $ac_cv_have_decl_strndup = yes; then
4113 cat >>confdefs.h
<<EOF
4114 #define HAVE_DECL_STRNDUP 1
4118 cat >>confdefs.h
<<EOF
4119 #define HAVE_DECL_STRNDUP 0
4123 echo "$as_me:4123: checking whether strnlen is declared" >&5
4124 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4125 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 cat >conftest.
$ac_ext <<_ACEOF
4129 #line 4129 "configure"
4130 #include "confdefs.h"
4131 $ac_includes_default
4136 char *p = (char *) strnlen;
4143 rm -f conftest.
$ac_objext
4144 if { (eval echo "$as_me:4144: \"$ac_compile\"") >&5
4145 (eval $ac_compile) 2>&5
4147 echo "$as_me:4147: \$? = $ac_status" >&5
4148 (exit $ac_status); } &&
4149 { ac_try
='test -s conftest.$ac_objext'
4150 { (eval echo "$as_me:4150: \"$ac_try\"") >&5
4153 echo "$as_me:4153: \$? = $ac_status" >&5
4154 (exit $ac_status); }; }; then
4155 ac_cv_have_decl_strnlen
=yes
4157 echo "$as_me: failed program was:" >&5
4158 cat conftest.
$ac_ext >&5
4159 ac_cv_have_decl_strnlen
=no
4161 rm -f conftest.
$ac_objext conftest.
$ac_ext
4163 echo "$as_me:4163: result: $ac_cv_have_decl_strnlen" >&5
4164 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4165 if test $ac_cv_have_decl_strnlen = yes; then
4167 cat >>confdefs.h
<<EOF
4168 #define HAVE_DECL_STRNLEN 1
4172 cat >>confdefs.h
<<EOF
4173 #define HAVE_DECL_STRNLEN 0
4177 echo "$as_me:4177: checking whether memchr is declared" >&5
4178 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4179 if test "${ac_cv_have_decl_memchr+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 cat >conftest.
$ac_ext <<_ACEOF
4183 #line 4183 "configure"
4184 #include "confdefs.h"
4185 $ac_includes_default
4190 char *p = (char *) memchr;
4197 rm -f conftest.
$ac_objext
4198 if { (eval echo "$as_me:4198: \"$ac_compile\"") >&5
4199 (eval $ac_compile) 2>&5
4201 echo "$as_me:4201: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 { ac_try
='test -s conftest.$ac_objext'
4204 { (eval echo "$as_me:4204: \"$ac_try\"") >&5
4207 echo "$as_me:4207: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_cv_have_decl_memchr
=yes
4211 echo "$as_me: failed program was:" >&5
4212 cat conftest.
$ac_ext >&5
4213 ac_cv_have_decl_memchr
=no
4215 rm -f conftest.
$ac_objext conftest.
$ac_ext
4217 echo "$as_me:4217: result: $ac_cv_have_decl_memchr" >&5
4218 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4219 if test $ac_cv_have_decl_memchr = yes; then
4221 cat >>confdefs.h
<<EOF
4222 #define HAVE_DECL_MEMCHR 1
4226 cat >>confdefs.h
<<EOF
4227 #define HAVE_DECL_MEMCHR 0
4232 for ac_func
in stpcpy strndup strnlen strspn memchr
4234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4235 echo "$as_me:4235: checking for $ac_func" >&5
4236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4237 if eval "test \"\${$as_ac_var+set}\" = set"; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 cat >conftest.
$ac_ext <<_ACEOF
4241 #line 4241 "configure"
4242 #include "confdefs.h"
4243 /* System header to define __stub macros and hopefully few prototypes,
4244 which can conflict with char $ac_func (); below. */
4246 /* Override any gcc2 internal prototype to avoid an error. */
4250 /* We use char because int might match the return type of a gcc2
4251 builtin and then its argument prototype would still apply. */
4258 /* The GNU C library defines this for functions which it implements
4259 to always fail with ENOSYS. Some functions are actually named
4260 something starting with __ and the normal name is an alias. */
4261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4271 rm -f conftest.
$ac_objext conftest
$ac_exeext
4272 if { (eval echo "$as_me:4272: \"$ac_link\"") >&5
4273 (eval $ac_link) 2>&5
4275 echo "$as_me:4275: \$? = $ac_status" >&5
4276 (exit $ac_status); } &&
4277 { ac_try
='test -s conftest$ac_exeext'
4278 { (eval echo "$as_me:4278: \"$ac_try\"") >&5
4281 echo "$as_me:4281: \$? = $ac_status" >&5
4282 (exit $ac_status); }; }; then
4283 eval "$as_ac_var=yes"
4285 echo "$as_me: failed program was:" >&5
4286 cat conftest.
$ac_ext >&5
4287 eval "$as_ac_var=no"
4289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4291 echo "$as_me:4291: result: `eval echo '${'$as_ac_var'}'`" >&5
4292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4293 if test `eval echo '${'$as_ac_var'}'` = yes; then
4294 cat >>confdefs.h
<<EOF
4295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4299 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4303 cat >>confdefs.h
<<EOF
4304 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
4307 echo "$as_me:4307: checking for working malloc" >&5
4308 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4309 if test "${jm_cv_func_working_malloc+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 if test "$cross_compiling" = yes; then
4313 jm_cv_func_working_malloc
=no
4315 cat >conftest.
$ac_ext <<_ACEOF
4316 #line 4316 "configure"
4317 #include "confdefs.h"
4323 exit (malloc (0) ? 0 : 1);
4327 rm -f conftest
$ac_exeext
4328 if { (eval echo "$as_me:4328: \"$ac_link\"") >&5
4329 (eval $ac_link) 2>&5
4331 echo "$as_me:4331: \$? = $ac_status" >&5
4332 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4333 { (eval echo "$as_me:4333: \"$ac_try\"") >&5
4336 echo "$as_me:4336: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 jm_cv_func_working_malloc
=yes
4340 echo "$as_me: program exited with status $ac_status" >&5
4341 echo "$as_me: failed program was:" >&5
4342 cat conftest.
$ac_ext >&5
4343 jm_cv_func_working_malloc
=no
4345 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4349 echo "$as_me:4349: result: $jm_cv_func_working_malloc" >&5
4350 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
4351 if test $jm_cv_func_working_malloc = no
; then
4353 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4355 cat >>confdefs.h
<<EOF
4356 #define malloc rpl_malloc
4361 cat >>confdefs.h
<<EOF
4362 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
4365 echo "$as_me:4365: checking for working realloc" >&5
4366 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
4367 if test "${jm_cv_func_working_realloc+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if test "$cross_compiling" = yes; then
4371 jm_cv_func_working_realloc
=no
4373 cat >conftest.
$ac_ext <<_ACEOF
4374 #line 4374 "configure"
4375 #include "confdefs.h"
4381 exit (realloc (0, 0) ? 0 : 1);
4385 rm -f conftest
$ac_exeext
4386 if { (eval echo "$as_me:4386: \"$ac_link\"") >&5
4387 (eval $ac_link) 2>&5
4389 echo "$as_me:4389: \$? = $ac_status" >&5
4390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4391 { (eval echo "$as_me:4391: \"$ac_try\"") >&5
4394 echo "$as_me:4394: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4396 jm_cv_func_working_realloc
=yes
4398 echo "$as_me: program exited with status $ac_status" >&5
4399 echo "$as_me: failed program was:" >&5
4400 cat conftest.
$ac_ext >&5
4401 jm_cv_func_working_realloc
=no
4403 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4407 echo "$as_me:4407: result: $jm_cv_func_working_realloc" >&5
4408 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
4409 if test $jm_cv_func_working_realloc = no
; then
4411 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
4413 cat >>confdefs.h
<<EOF
4414 #define realloc rpl_realloc
4419 for ac_func
in isascii iswprint mbrtowc
4421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4422 echo "$as_me:4422: checking for $ac_func" >&5
4423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4424 if eval "test \"\${$as_ac_var+set}\" = set"; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4427 cat >conftest.
$ac_ext <<_ACEOF
4428 #line 4428 "configure"
4429 #include "confdefs.h"
4430 /* System header to define __stub macros and hopefully few prototypes,
4431 which can conflict with char $ac_func (); below. */
4433 /* Override any gcc2 internal prototype to avoid an error. */
4437 /* We use char because int might match the return type of a gcc2
4438 builtin and then its argument prototype would still apply. */
4445 /* The GNU C library defines this for functions which it implements
4446 to always fail with ENOSYS. Some functions are actually named
4447 something starting with __ and the normal name is an alias. */
4448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4458 rm -f conftest.
$ac_objext conftest
$ac_exeext
4459 if { (eval echo "$as_me:4459: \"$ac_link\"") >&5
4460 (eval $ac_link) 2>&5
4462 echo "$as_me:4462: \$? = $ac_status" >&5
4463 (exit $ac_status); } &&
4464 { ac_try
='test -s conftest$ac_exeext'
4465 { (eval echo "$as_me:4465: \"$ac_try\"") >&5
4468 echo "$as_me:4468: \$? = $ac_status" >&5
4469 (exit $ac_status); }; }; then
4470 eval "$as_ac_var=yes"
4472 echo "$as_me: failed program was:" >&5
4473 cat conftest.
$ac_ext >&5
4474 eval "$as_ac_var=no"
4476 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4478 echo "$as_me:4478: result: `eval echo '${'$as_ac_var'}'`" >&5
4479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4480 if test `eval echo '${'$as_ac_var'}'` = yes; then
4481 cat >>confdefs.h
<<EOF
4482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4488 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
4490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4491 echo "$as_me:4491: checking for $ac_header" >&5
4492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 cat >conftest.
$ac_ext <<_ACEOF
4497 #line 4497 "configure"
4498 #include "confdefs.h"
4499 #include <$ac_header>
4501 if { (eval echo "$as_me:4501: \"$ac_cpp conftest.$ac_ext\"") >&5
4502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4504 egrep -v '^ *\+' conftest.er1
>conftest.err
4506 cat conftest.err
>&5
4507 echo "$as_me:4507: \$? = $ac_status" >&5
4508 (exit $ac_status); } >/dev
/null
; then
4509 if test -s conftest.err
; then
4510 ac_cpp_err
=$ac_c_preproc_warn_flag
4517 if test -z "$ac_cpp_err"; then
4518 eval "$as_ac_Header=yes"
4520 echo "$as_me: failed program was:" >&5
4521 cat conftest.
$ac_ext >&5
4522 eval "$as_ac_Header=no"
4524 rm -f conftest.err conftest.
$ac_ext
4526 echo "$as_me:4526: result: `eval echo '${'$as_ac_Header'}'`" >&5
4527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4529 cat >>confdefs.h
<<EOF
4530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4536 echo "$as_me:4536: checking for ANSI C header files" >&5
4537 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4538 if test "${ac_cv_header_stdc+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 cat >conftest.
$ac_ext <<_ACEOF
4542 #line 4542 "configure"
4543 #include "confdefs.h"
4550 if { (eval echo "$as_me:4550: \"$ac_cpp conftest.$ac_ext\"") >&5
4551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4553 egrep -v '^ *\+' conftest.er1
>conftest.err
4555 cat conftest.err
>&5
4556 echo "$as_me:4556: \$? = $ac_status" >&5
4557 (exit $ac_status); } >/dev
/null
; then
4558 if test -s conftest.err
; then
4559 ac_cpp_err
=$ac_c_preproc_warn_flag
4566 if test -z "$ac_cpp_err"; then
4567 ac_cv_header_stdc
=yes
4569 echo "$as_me: failed program was:" >&5
4570 cat conftest.
$ac_ext >&5
4571 ac_cv_header_stdc
=no
4573 rm -f conftest.err conftest.
$ac_ext
4575 if test $ac_cv_header_stdc = yes; then
4576 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4577 cat >conftest.
$ac_ext <<_ACEOF
4578 #line 4578 "configure"
4579 #include "confdefs.h"
4583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4584 egrep "memchr" >/dev
/null
2>&1; then
4587 ac_cv_header_stdc
=no
4593 if test $ac_cv_header_stdc = yes; then
4594 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4595 cat >conftest.
$ac_ext <<_ACEOF
4596 #line 4596 "configure"
4597 #include "confdefs.h"
4601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4602 egrep "free" >/dev
/null
2>&1; then
4605 ac_cv_header_stdc
=no
4611 if test $ac_cv_header_stdc = yes; then
4612 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4613 if test "$cross_compiling" = yes; then
4616 cat >conftest.
$ac_ext <<_ACEOF
4617 #line 4617 "configure"
4618 #include "confdefs.h"
4620 #if ((' ' & 0x0FF) == 0x020)
4621 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4622 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4624 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4625 || ('j' <= (c) && (c) <= 'r') \
4626 || ('s' <= (c) && (c) <= 'z'))
4627 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4635 for (i = 0; i < 256; i++)
4636 if (XOR (islower (i), ISLOWER (i))
4637 || toupper (i) != TOUPPER (i))
4642 rm -f conftest
$ac_exeext
4643 if { (eval echo "$as_me:4643: \"$ac_link\"") >&5
4644 (eval $ac_link) 2>&5
4646 echo "$as_me:4646: \$? = $ac_status" >&5
4647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4648 { (eval echo "$as_me:4648: \"$ac_try\"") >&5
4651 echo "$as_me:4651: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then
4655 echo "$as_me: program exited with status $ac_status" >&5
4656 echo "$as_me: failed program was:" >&5
4657 cat conftest.
$ac_ext >&5
4658 ac_cv_header_stdc
=no
4660 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4664 echo "$as_me:4664: result: $ac_cv_header_stdc" >&5
4665 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4666 if test $ac_cv_header_stdc = yes; then
4668 cat >>confdefs.h
<<\EOF
4669 #define STDC_HEADERS 1
4674 echo "$as_me:4674: checking whether backslash-a works in strings" >&5
4675 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
4676 if test "${ac_cv_c_backslash_a+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4679 cat >conftest.
$ac_ext <<_ACEOF
4680 #line 4680 "configure"
4681 #include "confdefs.h"
4690 char buf['\a' == 'a' ? -1 : 1];
4692 return buf[0] != "\a"[0];
4698 rm -f conftest.
$ac_objext
4699 if { (eval echo "$as_me:4699: \"$ac_compile\"") >&5
4700 (eval $ac_compile) 2>&5
4702 echo "$as_me:4702: \$? = $ac_status" >&5
4703 (exit $ac_status); } &&
4704 { ac_try
='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:4705: \"$ac_try\"") >&5
4708 echo "$as_me:4708: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 ac_cv_c_backslash_a
=yes
4712 echo "$as_me: failed program was:" >&5
4713 cat conftest.
$ac_ext >&5
4714 ac_cv_c_backslash_a
=no
4716 rm -f conftest.
$ac_objext conftest.
$ac_ext
4718 echo "$as_me:4718: result: $ac_cv_c_backslash_a" >&5
4719 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
4720 if test $ac_cv_c_backslash_a = yes; then
4722 cat >>confdefs.h
<<\EOF
4723 #define HAVE_C_BACKSLASH_A 1
4728 for ac_header
in stdlib.h
4730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 echo "$as_me:4731: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 cat >conftest.
$ac_ext <<_ACEOF
4737 #line 4737 "configure"
4738 #include "confdefs.h"
4739 #include <$ac_header>
4741 if { (eval echo "$as_me:4741: \"$ac_cpp conftest.$ac_ext\"") >&5
4742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4744 egrep -v '^ *\+' conftest.er1
>conftest.err
4746 cat conftest.err
>&5
4747 echo "$as_me:4747: \$? = $ac_status" >&5
4748 (exit $ac_status); } >/dev
/null
; then
4749 if test -s conftest.err
; then
4750 ac_cpp_err
=$ac_c_preproc_warn_flag
4757 if test -z "$ac_cpp_err"; then
4758 eval "$as_ac_Header=yes"
4760 echo "$as_me: failed program was:" >&5
4761 cat conftest.
$ac_ext >&5
4762 eval "$as_ac_Header=no"
4764 rm -f conftest.err conftest.
$ac_ext
4766 echo "$as_me:4766: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4769 cat >>confdefs.h
<<EOF
4770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4776 echo "$as_me:4776: checking for mbstate_t" >&5
4777 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
4778 if test "${ac_cv_type_mbstate_t+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 cat >conftest.
$ac_ext <<_ACEOF
4782 #line 4782 "configure"
4783 #include "confdefs.h"
4786 # include <stdlib.h>
4792 mbstate_t x; return sizeof x;
4797 rm -f conftest.
$ac_objext
4798 if { (eval echo "$as_me:4798: \"$ac_compile\"") >&5
4799 (eval $ac_compile) 2>&5
4801 echo "$as_me:4801: \$? = $ac_status" >&5
4802 (exit $ac_status); } &&
4803 { ac_try
='test -s conftest.$ac_objext'
4804 { (eval echo "$as_me:4804: \"$ac_try\"") >&5
4807 echo "$as_me:4807: \$? = $ac_status" >&5
4808 (exit $ac_status); }; }; then
4809 ac_cv_type_mbstate_t
=yes
4811 echo "$as_me: failed program was:" >&5
4812 cat conftest.
$ac_ext >&5
4813 ac_cv_type_mbstate_t
=no
4815 rm -f conftest.
$ac_objext conftest.
$ac_ext
4817 echo "$as_me:4817: result: $ac_cv_type_mbstate_t" >&5
4818 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
4819 if test $ac_cv_type_mbstate_t = no
; then
4821 cat >>confdefs.h
<<\EOF
4822 #define mbstate_t int
4827 echo "$as_me:4827: checking for function prototypes" >&5
4828 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4829 if test "$am_cv_prog_cc_stdc" != no
; then
4830 echo "$as_me:4830: result: yes" >&5
4831 echo "${ECHO_T}yes" >&6
4833 cat >>confdefs.h
<<\EOF
4834 #define PROTOTYPES 1
4839 echo "$as_me:4839: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4841 U
=_ ANSI2KNR
=.
/ansi2knr
4842 # Ensure some checks needed by ansi2knr itself.
4843 echo "$as_me:4843: checking for ANSI C header files" >&5
4844 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4845 if test "${ac_cv_header_stdc+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 cat >conftest.
$ac_ext <<_ACEOF
4849 #line 4849 "configure"
4850 #include "confdefs.h"
4857 if { (eval echo "$as_me:4857: \"$ac_cpp conftest.$ac_ext\"") >&5
4858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4860 egrep -v '^ *\+' conftest.er1
>conftest.err
4862 cat conftest.err
>&5
4863 echo "$as_me:4863: \$? = $ac_status" >&5
4864 (exit $ac_status); } >/dev
/null
; then
4865 if test -s conftest.err
; then
4866 ac_cpp_err
=$ac_c_preproc_warn_flag
4873 if test -z "$ac_cpp_err"; then
4874 ac_cv_header_stdc
=yes
4876 echo "$as_me: failed program was:" >&5
4877 cat conftest.
$ac_ext >&5
4878 ac_cv_header_stdc
=no
4880 rm -f conftest.err conftest.
$ac_ext
4882 if test $ac_cv_header_stdc = yes; then
4883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4884 cat >conftest.
$ac_ext <<_ACEOF
4885 #line 4885 "configure"
4886 #include "confdefs.h"
4890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4891 egrep "memchr" >/dev
/null
2>&1; then
4894 ac_cv_header_stdc
=no
4900 if test $ac_cv_header_stdc = yes; then
4901 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4902 cat >conftest.
$ac_ext <<_ACEOF
4903 #line 4903 "configure"
4904 #include "confdefs.h"
4908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4909 egrep "free" >/dev
/null
2>&1; then
4912 ac_cv_header_stdc
=no
4918 if test $ac_cv_header_stdc = yes; then
4919 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4920 if test "$cross_compiling" = yes; then
4923 cat >conftest.
$ac_ext <<_ACEOF
4924 #line 4924 "configure"
4925 #include "confdefs.h"
4927 #if ((' ' & 0x0FF) == 0x020)
4928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4931 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4932 || ('j' <= (c) && (c) <= 'r') \
4933 || ('s' <= (c) && (c) <= 'z'))
4934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4942 for (i = 0; i < 256; i++)
4943 if (XOR (islower (i), ISLOWER (i))
4944 || toupper (i) != TOUPPER (i))
4949 rm -f conftest
$ac_exeext
4950 if { (eval echo "$as_me:4950: \"$ac_link\"") >&5
4951 (eval $ac_link) 2>&5
4953 echo "$as_me:4953: \$? = $ac_status" >&5
4954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4955 { (eval echo "$as_me:4955: \"$ac_try\"") >&5
4958 echo "$as_me:4958: \$? = $ac_status" >&5
4959 (exit $ac_status); }; }; then
4962 echo "$as_me: program exited with status $ac_status" >&5
4963 echo "$as_me: failed program was:" >&5
4964 cat conftest.
$ac_ext >&5
4965 ac_cv_header_stdc
=no
4967 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4971 echo "$as_me:4971: result: $ac_cv_header_stdc" >&5
4972 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4973 if test $ac_cv_header_stdc = yes; then
4975 cat >>confdefs.h
<<\EOF
4976 #define STDC_HEADERS 1
4981 for ac_header
in string.h
4983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4984 echo "$as_me:4984: checking for $ac_header" >&5
4985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 cat >conftest.
$ac_ext <<_ACEOF
4990 #line 4990 "configure"
4991 #include "confdefs.h"
4992 #include <$ac_header>
4994 if { (eval echo "$as_me:4994: \"$ac_cpp conftest.$ac_ext\"") >&5
4995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4997 egrep -v '^ *\+' conftest.er1
>conftest.err
4999 cat conftest.err
>&5
5000 echo "$as_me:5000: \$? = $ac_status" >&5
5001 (exit $ac_status); } >/dev
/null
; then
5002 if test -s conftest.err
; then
5003 ac_cpp_err
=$ac_c_preproc_warn_flag
5010 if test -z "$ac_cpp_err"; then
5011 eval "$as_ac_Header=yes"
5013 echo "$as_me: failed program was:" >&5
5014 cat conftest.
$ac_ext >&5
5015 eval "$as_ac_Header=no"
5017 rm -f conftest.err conftest.
$ac_ext
5019 echo "$as_me:5019: result: `eval echo '${'$as_ac_Header'}'`" >&5
5020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5022 cat >>confdefs.h
<<EOF
5023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5031 for ac_func
in strerror strerror_r vprintf doprnt
5033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5034 echo "$as_me:5034: checking for $ac_func" >&5
5035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5036 if eval "test \"\${$as_ac_var+set}\" = set"; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 cat >conftest.
$ac_ext <<_ACEOF
5040 #line 5040 "configure"
5041 #include "confdefs.h"
5042 /* System header to define __stub macros and hopefully few prototypes,
5043 which can conflict with char $ac_func (); below. */
5045 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5057 /* The GNU C library defines this for functions which it implements
5058 to always fail with ENOSYS. Some functions are actually named
5059 something starting with __ and the normal name is an alias. */
5060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5070 rm -f conftest.
$ac_objext conftest
$ac_exeext
5071 if { (eval echo "$as_me:5071: \"$ac_link\"") >&5
5072 (eval $ac_link) 2>&5
5074 echo "$as_me:5074: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try
='test -s conftest$ac_exeext'
5077 { (eval echo "$as_me:5077: \"$ac_try\"") >&5
5080 echo "$as_me:5080: \$? = $ac_status" >&5
5081 (exit $ac_status); }; }; then
5082 eval "$as_ac_var=yes"
5084 echo "$as_me: failed program was:" >&5
5085 cat conftest.
$ac_ext >&5
5086 eval "$as_ac_var=no"
5088 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5090 echo "$as_me:5090: result: `eval echo '${'$as_ac_var'}'`" >&5
5091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5092 if test `eval echo '${'$as_ac_var'}'` = yes; then
5093 cat >>confdefs.h
<<EOF
5094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5100 echo "$as_me:5100: checking for ANSI C header files" >&5
5101 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5102 if test "${ac_cv_header_stdc+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 cat >conftest.
$ac_ext <<_ACEOF
5106 #line 5106 "configure"
5107 #include "confdefs.h"
5114 if { (eval echo "$as_me:5114: \"$ac_cpp conftest.$ac_ext\"") >&5
5115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5117 egrep -v '^ *\+' conftest.er1
>conftest.err
5119 cat conftest.err
>&5
5120 echo "$as_me:5120: \$? = $ac_status" >&5
5121 (exit $ac_status); } >/dev
/null
; then
5122 if test -s conftest.err
; then
5123 ac_cpp_err
=$ac_c_preproc_warn_flag
5130 if test -z "$ac_cpp_err"; then
5131 ac_cv_header_stdc
=yes
5133 echo "$as_me: failed program was:" >&5
5134 cat conftest.
$ac_ext >&5
5135 ac_cv_header_stdc
=no
5137 rm -f conftest.err conftest.
$ac_ext
5139 if test $ac_cv_header_stdc = yes; then
5140 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5141 cat >conftest.
$ac_ext <<_ACEOF
5142 #line 5142 "configure"
5143 #include "confdefs.h"
5147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5148 egrep "memchr" >/dev
/null
2>&1; then
5151 ac_cv_header_stdc
=no
5157 if test $ac_cv_header_stdc = yes; then
5158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5159 cat >conftest.
$ac_ext <<_ACEOF
5160 #line 5160 "configure"
5161 #include "confdefs.h"
5165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5166 egrep "free" >/dev
/null
2>&1; then
5169 ac_cv_header_stdc
=no
5175 if test $ac_cv_header_stdc = yes; then
5176 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5177 if test "$cross_compiling" = yes; then
5180 cat >conftest.
$ac_ext <<_ACEOF
5181 #line 5181 "configure"
5182 #include "confdefs.h"
5184 #if ((' ' & 0x0FF) == 0x020)
5185 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5186 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5188 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5189 || ('j' <= (c) && (c) <= 'r') \
5190 || ('s' <= (c) && (c) <= 'z'))
5191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5199 for (i = 0; i < 256; i++)
5200 if (XOR (islower (i), ISLOWER (i))
5201 || toupper (i) != TOUPPER (i))
5206 rm -f conftest
$ac_exeext
5207 if { (eval echo "$as_me:5207: \"$ac_link\"") >&5
5208 (eval $ac_link) 2>&5
5210 echo "$as_me:5210: \$? = $ac_status" >&5
5211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5212 { (eval echo "$as_me:5212: \"$ac_try\"") >&5
5215 echo "$as_me:5215: \$? = $ac_status" >&5
5216 (exit $ac_status); }; }; then
5219 echo "$as_me: program exited with status $ac_status" >&5
5220 echo "$as_me: failed program was:" >&5
5221 cat conftest.
$ac_ext >&5
5222 ac_cv_header_stdc
=no
5224 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5228 echo "$as_me:5228: result: $ac_cv_header_stdc" >&5
5229 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5230 if test $ac_cv_header_stdc = yes; then
5232 cat >>confdefs.h
<<\EOF
5233 #define STDC_HEADERS 1
5238 echo "$as_me:5238: checking whether strerror_r is declared" >&5
5239 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
5240 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 cat >conftest.
$ac_ext <<_ACEOF
5244 #line 5244 "configure"
5245 #include "confdefs.h"
5246 $ac_includes_default
5251 char *p = (char *) strerror_r;
5258 rm -f conftest.
$ac_objext
5259 if { (eval echo "$as_me:5259: \"$ac_compile\"") >&5
5260 (eval $ac_compile) 2>&5
5262 echo "$as_me:5262: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try
='test -s conftest.$ac_objext'
5265 { (eval echo "$as_me:5265: \"$ac_try\"") >&5
5268 echo "$as_me:5268: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5270 ac_cv_have_decl_strerror_r
=yes
5272 echo "$as_me: failed program was:" >&5
5273 cat conftest.
$ac_ext >&5
5274 ac_cv_have_decl_strerror_r
=no
5276 rm -f conftest.
$ac_objext conftest.
$ac_ext
5278 echo "$as_me:5278: result: $ac_cv_have_decl_strerror_r" >&5
5279 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
5280 if test $ac_cv_have_decl_strerror_r = yes; then
5282 cat >>confdefs.h
<<EOF
5283 #define HAVE_DECL_STRERROR_R 1
5287 cat >>confdefs.h
<<EOF
5288 #define HAVE_DECL_STRERROR_R 0
5293 for ac_func
in strerror_r
5295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5296 echo "$as_me:5296: checking for $ac_func" >&5
5297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5298 if eval "test \"\${$as_ac_var+set}\" = set"; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 cat >conftest.
$ac_ext <<_ACEOF
5302 #line 5302 "configure"
5303 #include "confdefs.h"
5304 /* System header to define __stub macros and hopefully few prototypes,
5305 which can conflict with char $ac_func (); below. */
5307 /* Override any gcc2 internal prototype to avoid an error. */
5311 /* We use char because int might match the return type of a gcc2
5312 builtin and then its argument prototype would still apply. */
5319 /* The GNU C library defines this for functions which it implements
5320 to always fail with ENOSYS. Some functions are actually named
5321 something starting with __ and the normal name is an alias. */
5322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5332 rm -f conftest.
$ac_objext conftest
$ac_exeext
5333 if { (eval echo "$as_me:5333: \"$ac_link\"") >&5
5334 (eval $ac_link) 2>&5
5336 echo "$as_me:5336: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -s conftest$ac_exeext'
5339 { (eval echo "$as_me:5339: \"$ac_try\"") >&5
5342 echo "$as_me:5342: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 eval "$as_ac_var=yes"
5346 echo "$as_me: failed program was:" >&5
5347 cat conftest.
$ac_ext >&5
5348 eval "$as_ac_var=no"
5350 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5352 echo "$as_me:5352: result: `eval echo '${'$as_ac_var'}'`" >&5
5353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5354 if test `eval echo '${'$as_ac_var'}'` = yes; then
5355 cat >>confdefs.h
<<EOF
5356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5362 if test $ac_cv_func_strerror_r = yes; then
5364 for ac_header
in string.h
5366 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5367 echo "$as_me:5367: checking for $ac_header" >&5
5368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 cat >conftest.
$ac_ext <<_ACEOF
5373 #line 5373 "configure"
5374 #include "confdefs.h"
5375 #include <$ac_header>
5377 if { (eval echo "$as_me:5377: \"$ac_cpp conftest.$ac_ext\"") >&5
5378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5380 egrep -v '^ *\+' conftest.er1
>conftest.err
5382 cat conftest.err
>&5
5383 echo "$as_me:5383: \$? = $ac_status" >&5
5384 (exit $ac_status); } >/dev
/null
; then
5385 if test -s conftest.err
; then
5386 ac_cpp_err
=$ac_c_preproc_warn_flag
5393 if test -z "$ac_cpp_err"; then
5394 eval "$as_ac_Header=yes"
5396 echo "$as_me: failed program was:" >&5
5397 cat conftest.
$ac_ext >&5
5398 eval "$as_ac_Header=no"
5400 rm -f conftest.err conftest.
$ac_ext
5402 echo "$as_me:5402: result: `eval echo '${'$as_ac_Header'}'`" >&5
5403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5405 cat >>confdefs.h
<<EOF
5406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5412 echo "$as_me:5412: checking for working strerror_r" >&5
5413 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
5414 if test "${ac_cv_func_strerror_r_works+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 cat >conftest.
$ac_ext <<_ACEOF
5419 #line 5419 "configure"
5420 #include "confdefs.h"
5424 # include <string.h>
5432 char x = *strerror_r (0, buf, sizeof buf);
5438 rm -f conftest.
$ac_objext
5439 if { (eval echo "$as_me:5439: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>&5
5442 echo "$as_me:5442: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try
='test -s conftest.$ac_objext'
5445 { (eval echo "$as_me:5445: \"$ac_try\"") >&5
5448 echo "$as_me:5448: \$? = $ac_status" >&5
5449 (exit $ac_status); }; }; then
5450 ac_cv_func_strerror_r_works
=yes
5452 echo "$as_me: failed program was:" >&5
5453 cat conftest.
$ac_ext >&5
5454 ac_cv_func_strerror_r_works
=no
5457 rm -f conftest.
$ac_objext conftest.
$ac_ext
5458 if test $ac_cv_func_strerror_r_works = no
; then
5459 # strerror_r seems not to work, but now we have to choose between
5460 # systems that have relatively inaccessible declarations for the
5461 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5462 # former has a strerror_r that returns char*, while the latter
5463 # has a strerror_r that returns `int'.
5464 # This test should segfault on the DEC system.
5465 if test "$cross_compiling" = yes; then
5466 ac_cv_func_strerror_r_works
=no
5468 cat >conftest.
$ac_ext <<_ACEOF
5469 #line 5469 "configure"
5470 #include "confdefs.h"
5473 # include <string.h>
5476 extern char *strerror_r ();
5482 char x = *strerror_r (0, buf, sizeof buf);
5483 exit (!isalpha (x));
5487 rm -f conftest
$ac_exeext
5488 if { (eval echo "$as_me:5488: \"$ac_link\"") >&5
5489 (eval $ac_link) 2>&5
5491 echo "$as_me:5491: \$? = $ac_status" >&5
5492 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5493 { (eval echo "$as_me:5493: \"$ac_try\"") >&5
5496 echo "$as_me:5496: \$? = $ac_status" >&5
5497 (exit $ac_status); }; }; then
5498 ac_cv_func_strerror_r_works
=yes
5500 echo "$as_me: program exited with status $ac_status" >&5
5501 echo "$as_me: failed program was:" >&5
5502 cat conftest.
$ac_ext >&5
5503 ac_cv_func_strerror_r_works
=no
5505 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5510 echo "$as_me:5510: result: $ac_cv_func_strerror_r_works" >&5
5511 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
5512 if test $ac_cv_func_strerror_r_works = yes; then
5514 cat >>confdefs.h
<<EOF
5515 #define HAVE_WORKING_STRERROR_R 1
5521 ALL_LINGUAS
="de es et fr ja nl ru"
5522 # Make sure we can run config.sub.
5523 $ac_config_sub sun4
>/dev
/null
2>&1 ||
5524 { { echo "$as_me:5524: error: cannot run $ac_config_sub" >&5
5525 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5526 { (exit 1); exit 1; }; }
5528 echo "$as_me:5528: checking build system type" >&5
5529 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5530 if test "${ac_cv_build+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 ac_cv_build_alias
=$build_alias
5534 test -z "$ac_cv_build_alias" &&
5535 ac_cv_build_alias
=`$ac_config_guess`
5536 test -z "$ac_cv_build_alias" &&
5537 { { echo "$as_me:5537: error: cannot guess build type; you must specify one" >&5
5538 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5539 { (exit 1); exit 1; }; }
5540 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
5541 { { echo "$as_me:5541: error: $ac_config_sub $ac_cv_build_alias failed." >&5
5542 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
5543 { (exit 1); exit 1; }; }
5546 echo "$as_me:5546: result: $ac_cv_build" >&5
5547 echo "${ECHO_T}$ac_cv_build" >&6
5549 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5550 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5551 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5553 echo "$as_me:5553: checking host system type" >&5
5554 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5555 if test "${ac_cv_host+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 ac_cv_host_alias
=$host_alias
5559 test -z "$ac_cv_host_alias" &&
5560 ac_cv_host_alias
=$ac_cv_build_alias
5561 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
5562 { { echo "$as_me:5562: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5563 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5564 { (exit 1); exit 1; }; }
5567 echo "$as_me:5567: result: $ac_cv_host" >&5
5568 echo "${ECHO_T}$ac_cv_host" >&6
5570 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5571 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5572 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5574 echo "$as_me:5574: checking for off_t" >&5
5575 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5576 if test "${ac_cv_type_off_t+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 cat >conftest.
$ac_ext <<_ACEOF
5580 #line 5580 "configure"
5581 #include "confdefs.h"
5582 $ac_includes_default
5594 rm -f conftest.
$ac_objext
5595 if { (eval echo "$as_me:5595: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>&5
5598 echo "$as_me:5598: \$? = $ac_status" >&5
5599 (exit $ac_status); } &&
5600 { ac_try
='test -s conftest.$ac_objext'
5601 { (eval echo "$as_me:5601: \"$ac_try\"") >&5
5604 echo "$as_me:5604: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 ac_cv_type_off_t
=yes
5608 echo "$as_me: failed program was:" >&5
5609 cat conftest.
$ac_ext >&5
5612 rm -f conftest.
$ac_objext conftest.
$ac_ext
5614 echo "$as_me:5614: result: $ac_cv_type_off_t" >&5
5615 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5616 if test $ac_cv_type_off_t = yes; then
5620 cat >>confdefs.h
<<EOF
5626 echo "$as_me:5626: checking for size_t" >&5
5627 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5628 if test "${ac_cv_type_size_t+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 cat >conftest.
$ac_ext <<_ACEOF
5632 #line 5632 "configure"
5633 #include "confdefs.h"
5634 $ac_includes_default
5640 if (sizeof (size_t))
5646 rm -f conftest.
$ac_objext
5647 if { (eval echo "$as_me:5647: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 echo "$as_me:5650: \$? = $ac_status" >&5
5651 (exit $ac_status); } &&
5652 { ac_try
='test -s conftest.$ac_objext'
5653 { (eval echo "$as_me:5653: \"$ac_try\"") >&5
5656 echo "$as_me:5656: \$? = $ac_status" >&5
5657 (exit $ac_status); }; }; then
5658 ac_cv_type_size_t
=yes
5660 echo "$as_me: failed program was:" >&5
5661 cat conftest.
$ac_ext >&5
5662 ac_cv_type_size_t
=no
5664 rm -f conftest.
$ac_objext conftest.
$ac_ext
5666 echo "$as_me:5666: result: $ac_cv_type_size_t" >&5
5667 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5668 if test $ac_cv_type_size_t = yes; then
5672 cat >>confdefs.h
<<EOF
5673 #define size_t unsigned
5678 for ac_header
in stdlib.h unistd.h
5680 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681 echo "$as_me:5681: checking for $ac_header" >&5
5682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 cat >conftest.
$ac_ext <<_ACEOF
5687 #line 5687 "configure"
5688 #include "confdefs.h"
5689 #include <$ac_header>
5691 if { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5
5692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5694 egrep -v '^ *\+' conftest.er1
>conftest.err
5696 cat conftest.err
>&5
5697 echo "$as_me:5697: \$? = $ac_status" >&5
5698 (exit $ac_status); } >/dev
/null
; then
5699 if test -s conftest.err
; then
5700 ac_cpp_err
=$ac_c_preproc_warn_flag
5707 if test -z "$ac_cpp_err"; then
5708 eval "$as_ac_Header=yes"
5710 echo "$as_me: failed program was:" >&5
5711 cat conftest.
$ac_ext >&5
5712 eval "$as_ac_Header=no"
5714 rm -f conftest.err conftest.
$ac_ext
5716 echo "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5
5717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5719 cat >>confdefs.h
<<EOF
5720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5726 for ac_func
in getpagesize
5728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5729 echo "$as_me:5729: checking for $ac_func" >&5
5730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5731 if eval "test \"\${$as_ac_var+set}\" = set"; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.
$ac_ext <<_ACEOF
5735 #line 5735 "configure"
5736 #include "confdefs.h"
5737 /* System header to define __stub macros and hopefully few prototypes,
5738 which can conflict with char $ac_func (); below. */
5740 /* Override any gcc2 internal prototype to avoid an error. */
5744 /* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5752 /* The GNU C library defines this for functions which it implements
5753 to always fail with ENOSYS. Some functions are actually named
5754 something starting with __ and the normal name is an alias. */
5755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5765 rm -f conftest.
$ac_objext conftest
$ac_exeext
5766 if { (eval echo "$as_me:5766: \"$ac_link\"") >&5
5767 (eval $ac_link) 2>&5
5769 echo "$as_me:5769: \$? = $ac_status" >&5
5770 (exit $ac_status); } &&
5771 { ac_try
='test -s conftest$ac_exeext'
5772 { (eval echo "$as_me:5772: \"$ac_try\"") >&5
5775 echo "$as_me:5775: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 eval "$as_ac_var=yes"
5779 echo "$as_me: failed program was:" >&5
5780 cat conftest.
$ac_ext >&5
5781 eval "$as_ac_var=no"
5783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5785 echo "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5
5786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5787 if test `eval echo '${'$as_ac_var'}'` = yes; then
5788 cat >>confdefs.h
<<EOF
5789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5795 echo "$as_me:5795: checking for working mmap" >&5
5796 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5797 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 if test "$cross_compiling" = yes; then
5801 ac_cv_func_mmap_fixed_mapped
=no
5803 cat >conftest.
$ac_ext <<_ACEOF
5804 #line 5804 "configure"
5805 #include "confdefs.h"
5806 $ac_includes_default
5807 /* Thanks to Mike Haertel and Jim Avera for this test.
5808 Here is a matrix of mmap possibilities:
5809 mmap private not fixed
5810 mmap private fixed at somewhere currently unmapped
5811 mmap private fixed at somewhere already mapped
5812 mmap shared not fixed
5813 mmap shared fixed at somewhere currently unmapped
5814 mmap shared fixed at somewhere already mapped
5815 For private mappings, we should verify that changes cannot be read()
5816 back from the file, nor mmap's back from the file at a different
5817 address. (There have been systems where private was not correctly
5818 implemented like the infamous i386 svr4.0, and systems where the
5819 VM page cache was not coherent with the file system buffer cache
5820 like early versions of FreeBSD and possibly contemporary NetBSD.)
5821 For shared mappings, we should conversely verify that changes get
5822 propogated back to all the places they're supposed to be.
5824 Grep wants private fixed already mapped.
5825 The main things grep needs to know about mmap are:
5826 * does it exist and is it safe to write into the mmap'd area
5827 * how to use it (BSD variants) */
5830 #include <sys/mman.h>
5832 #if !STDC_HEADERS && !HAVE_STDLIB_H
5836 /* This mess was copied from the GNU getpagesize.h. */
5837 #if !HAVE_GETPAGESIZE
5838 /* Assume that all systems that can run configure have sys/param.h. */
5839 # if !HAVE_SYS_PARAM_H
5840 # define HAVE_SYS_PARAM_H 1
5843 # ifdef _SC_PAGESIZE
5844 # define getpagesize() sysconf(_SC_PAGESIZE)
5845 # else /* no _SC_PAGESIZE */
5846 # if HAVE_SYS_PARAM_H
5847 # include <sys/param.h>
5848 # ifdef EXEC_PAGESIZE
5849 # define getpagesize() EXEC_PAGESIZE
5850 # else /* no EXEC_PAGESIZE */
5852 # define getpagesize() NBPG * CLSIZE
5855 # endif /* no CLSIZE */
5856 # else /* no NBPG */
5858 # define getpagesize() NBPC
5859 # else /* no NBPC */
5861 # define getpagesize() PAGESIZE
5862 # endif /* PAGESIZE */
5863 # endif /* no NBPC */
5864 # endif /* no NBPG */
5865 # endif /* no EXEC_PAGESIZE */
5866 # else /* no HAVE_SYS_PARAM_H */
5867 # define getpagesize() 8192 /* punt totally */
5868 # endif /* no HAVE_SYS_PARAM_H */
5869 # endif /* no _SC_PAGESIZE */
5871 #endif /* no HAVE_GETPAGESIZE */
5876 char *data, *data2, *data3;
5880 pagesize = getpagesize ();
5882 /* First, make a file with some known garbage in it. */
5883 data = (char *) malloc (pagesize);
5886 for (i = 0; i < pagesize; ++i)
5887 *(data + i) = rand ();
5889 fd = creat ("conftest.mmap", 0600);
5892 if (write (fd, data, pagesize) != pagesize)
5896 /* Next, try to mmap the file at a fixed address which already has
5897 something else allocated at it. If we can, also make sure that
5898 we see the same garbage. */
5899 fd = open ("conftest.mmap", O_RDWR);
5902 data2 = (char *) malloc (2 * pagesize);
5905 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5906 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5907 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5909 for (i = 0; i < pagesize; ++i)
5910 if (*(data + i) != *(data2 + i))
5913 /* Finally, make sure that changes to the mapped area do not
5914 percolate back to the file as seen by read(). (This is a bug on
5915 some variants of i386 svr4.0.) */
5916 for (i = 0; i < pagesize; ++i)
5917 *(data2 + i) = *(data2 + i) + 1;
5918 data3 = (char *) malloc (pagesize);
5921 if (read (fd, data3, pagesize) != pagesize)
5923 for (i = 0; i < pagesize; ++i)
5924 if (*(data + i) != *(data3 + i))
5930 rm -f conftest
$ac_exeext
5931 if { (eval echo "$as_me:5931: \"$ac_link\"") >&5
5932 (eval $ac_link) 2>&5
5934 echo "$as_me:5934: \$? = $ac_status" >&5
5935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5936 { (eval echo "$as_me:5936: \"$ac_try\"") >&5
5939 echo "$as_me:5939: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_func_mmap_fixed_mapped
=yes
5943 echo "$as_me: program exited with status $ac_status" >&5
5944 echo "$as_me: failed program was:" >&5
5945 cat conftest.
$ac_ext >&5
5946 ac_cv_func_mmap_fixed_mapped
=no
5948 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5951 echo "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5
5952 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5953 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5955 cat >>confdefs.h
<<\EOF
5962 echo "$as_me:5962: checking whether we are using the GNU C Library 2.1 or newer" >&5
5963 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
5964 if test "${ac_cv_gnu_library_2_1+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 cat >conftest.
$ac_ext <<_ACEOF
5968 #line 5968 "configure"
5969 #include "confdefs.h"
5971 #include <features.h>
5972 #ifdef __GNU_LIBRARY__
5973 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
5979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5980 egrep "Lucky GNU user" >/dev
/null
2>&1; then
5981 ac_cv_gnu_library_2_1
=yes
5983 ac_cv_gnu_library_2_1
=no
5988 echo "$as_me:5988: result: $ac_cv_gnu_library_2_1" >&5
5989 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
5991 GLIBC21
="$ac_cv_gnu_library_2_1"
5993 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5994 stdlib.h string.h unistd.h sys
/param.h
5996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5997 echo "$as_me:5997: checking for $ac_header" >&5
5998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 cat >conftest.
$ac_ext <<_ACEOF
6003 #line 6003 "configure"
6004 #include "confdefs.h"
6005 #include <$ac_header>
6007 if { (eval echo "$as_me:6007: \"$ac_cpp conftest.$ac_ext\"") >&5
6008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6010 egrep -v '^ *\+' conftest.er1
>conftest.err
6012 cat conftest.err
>&5
6013 echo "$as_me:6013: \$? = $ac_status" >&5
6014 (exit $ac_status); } >/dev
/null
; then
6015 if test -s conftest.err
; then
6016 ac_cpp_err
=$ac_c_preproc_warn_flag
6023 if test -z "$ac_cpp_err"; then
6024 eval "$as_ac_Header=yes"
6026 echo "$as_me: failed program was:" >&5
6027 cat conftest.
$ac_ext >&5
6028 eval "$as_ac_Header=no"
6030 rm -f conftest.err conftest.
$ac_ext
6032 echo "$as_me:6032: result: `eval echo '${'$as_ac_Header'}'`" >&5
6033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6035 cat >>confdefs.h
<<EOF
6036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6042 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
6043 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
6044 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
6046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6047 echo "$as_me:6047: checking for $ac_func" >&5
6048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6049 if eval "test \"\${$as_ac_var+set}\" = set"; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat >conftest.
$ac_ext <<_ACEOF
6053 #line 6053 "configure"
6054 #include "confdefs.h"
6055 /* System header to define __stub macros and hopefully few prototypes,
6056 which can conflict with char $ac_func (); below. */
6058 /* Override any gcc2 internal prototype to avoid an error. */
6062 /* We use char because int might match the return type of a gcc2
6063 builtin and then its argument prototype would still apply. */
6070 /* The GNU C library defines this for functions which it implements
6071 to always fail with ENOSYS. Some functions are actually named
6072 something starting with __ and the normal name is an alias. */
6073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6083 rm -f conftest.
$ac_objext conftest
$ac_exeext
6084 if { (eval echo "$as_me:6084: \"$ac_link\"") >&5
6085 (eval $ac_link) 2>&5
6087 echo "$as_me:6087: \$? = $ac_status" >&5
6088 (exit $ac_status); } &&
6089 { ac_try
='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:6090: \"$ac_try\"") >&5
6093 echo "$as_me:6093: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 eval "$as_ac_var=yes"
6097 echo "$as_me: failed program was:" >&5
6098 cat conftest.
$ac_ext >&5
6099 eval "$as_ac_var=no"
6101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6103 echo "$as_me:6103: result: `eval echo '${'$as_ac_var'}'`" >&5
6104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6105 if test `eval echo '${'$as_ac_var'}'` = yes; then
6106 cat >>confdefs.h
<<EOF
6107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6113 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6114 if test "${with_libiconv_prefix+set}" = set; then
6115 withval
="$with_libiconv_prefix"
6117 for dir
in `echo "$withval" | tr : ' '`; do
6118 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
6119 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
6124 echo "$as_me:6124: checking for iconv" >&5
6125 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
6126 if test "${am_cv_func_iconv+set}" = set; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 am_cv_func_iconv
="no, consider installing GNU libiconv"
6132 cat >conftest.
$ac_ext <<_ACEOF
6133 #line 6133 "configure"
6134 #include "confdefs.h"
6140 iconv_t cd = iconv_open("","");
6141 iconv(cd,NULL,NULL,NULL,NULL);
6147 rm -f conftest.
$ac_objext conftest
$ac_exeext
6148 if { (eval echo "$as_me:6148: \"$ac_link\"") >&5
6149 (eval $ac_link) 2>&5
6151 echo "$as_me:6151: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try
='test -s conftest$ac_exeext'
6154 { (eval echo "$as_me:6154: \"$ac_try\"") >&5
6157 echo "$as_me:6157: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 am_cv_func_iconv
=yes
6161 echo "$as_me: failed program was:" >&5
6162 cat conftest.
$ac_ext >&5
6164 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6165 if test "$am_cv_func_iconv" != yes; then
6166 am_save_LIBS
="$LIBS"
6167 LIBS
="$LIBS -liconv"
6168 cat >conftest.
$ac_ext <<_ACEOF
6169 #line 6169 "configure"
6170 #include "confdefs.h"
6176 iconv_t cd = iconv_open("","");
6177 iconv(cd,NULL,NULL,NULL,NULL);
6183 rm -f conftest.
$ac_objext conftest
$ac_exeext
6184 if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
6185 (eval $ac_link) 2>&5
6187 echo "$as_me:6187: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try
='test -s conftest$ac_exeext'
6190 { (eval echo "$as_me:6190: \"$ac_try\"") >&5
6193 echo "$as_me:6193: \$? = $ac_status" >&5
6194 (exit $ac_status); }; }; then
6196 am_cv_func_iconv
=yes
6198 echo "$as_me: failed program was:" >&5
6199 cat conftest.
$ac_ext >&5
6201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6202 LIBS
="$am_save_LIBS"
6206 echo "$as_me:6206: result: $am_cv_func_iconv" >&5
6207 echo "${ECHO_T}$am_cv_func_iconv" >&6
6208 if test "$am_cv_func_iconv" = yes; then
6210 cat >>confdefs.h
<<\EOF
6211 #define HAVE_ICONV 1
6214 echo "$as_me:6214: checking for iconv declaration" >&5
6215 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6216 if test "${am_cv_proto_iconv+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 cat >conftest.
$ac_ext <<_ACEOF
6221 #line 6221 "configure"
6222 #include "confdefs.h"
6230 #if defined(__STDC__) || defined(__cplusplus)
6231 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6244 rm -f conftest.
$ac_objext
6245 if { (eval echo "$as_me:6245: \"$ac_compile\"") >&5
6246 (eval $ac_compile) 2>&5
6248 echo "$as_me:6248: \$? = $ac_status" >&5
6249 (exit $ac_status); } &&
6250 { ac_try
='test -s conftest.$ac_objext'
6251 { (eval echo "$as_me:6251: \"$ac_try\"") >&5
6254 echo "$as_me:6254: \$? = $ac_status" >&5
6255 (exit $ac_status); }; }; then
6256 am_cv_proto_iconv_arg1
=""
6258 echo "$as_me: failed program was:" >&5
6259 cat conftest.
$ac_ext >&5
6260 am_cv_proto_iconv_arg1
="const"
6262 rm -f conftest.
$ac_objext conftest.
$ac_ext
6263 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);"
6266 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6267 echo "$as_me:6267: result: ${ac_t:-
6268 }$am_cv_proto_iconv" >&5
6269 echo "${ECHO_T}${ac_t:-
6270 }$am_cv_proto_iconv" >&6
6272 cat >>confdefs.h
<<EOF
6273 #define ICONV_CONST $am_cv_proto_iconv_arg1
6278 if test "$am_cv_lib_iconv" = yes; then
6282 echo "$as_me:6282: checking for nl_langinfo and CODESET" >&5
6283 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6284 if test "${am_cv_langinfo_codeset+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6288 #line 6288 "configure"
6289 #include "confdefs.h"
6290 #include <langinfo.h>
6294 char* cs = nl_langinfo(CODESET);
6299 rm -f conftest.
$ac_objext conftest
$ac_exeext
6300 if { (eval echo "$as_me:6300: \"$ac_link\"") >&5
6301 (eval $ac_link) 2>&5
6303 echo "$as_me:6303: \$? = $ac_status" >&5
6304 (exit $ac_status); } &&
6305 { ac_try
='test -s conftest$ac_exeext'
6306 { (eval echo "$as_me:6306: \"$ac_try\"") >&5
6309 echo "$as_me:6309: \$? = $ac_status" >&5
6310 (exit $ac_status); }; }; then
6311 am_cv_langinfo_codeset
=yes
6313 echo "$as_me: failed program was:" >&5
6314 cat conftest.
$ac_ext >&5
6315 am_cv_langinfo_codeset
=no
6317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6320 echo "$as_me:6320: result: $am_cv_langinfo_codeset" >&5
6321 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6322 if test $am_cv_langinfo_codeset = yes; then
6324 cat >>confdefs.h
<<\EOF
6325 #define HAVE_LANGINFO_CODESET 1
6330 if test $ac_cv_header_locale_h = yes; then
6331 echo "$as_me:6331: checking for LC_MESSAGES" >&5
6332 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6333 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 cat >conftest.
$ac_ext <<_ACEOF
6337 #line 6337 "configure"
6338 #include "confdefs.h"
6348 rm -f conftest.
$ac_objext conftest
$ac_exeext
6349 if { (eval echo "$as_me:6349: \"$ac_link\"") >&5
6350 (eval $ac_link) 2>&5
6352 echo "$as_me:6352: \$? = $ac_status" >&5
6353 (exit $ac_status); } &&
6354 { ac_try
='test -s conftest$ac_exeext'
6355 { (eval echo "$as_me:6355: \"$ac_try\"") >&5
6358 echo "$as_me:6358: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 am_cv_val_LC_MESSAGES
=yes
6362 echo "$as_me: failed program was:" >&5
6363 cat conftest.
$ac_ext >&5
6364 am_cv_val_LC_MESSAGES
=no
6366 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6368 echo "$as_me:6368: result: $am_cv_val_LC_MESSAGES" >&5
6369 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6370 if test $am_cv_val_LC_MESSAGES = yes; then
6372 cat >>confdefs.h
<<\EOF
6373 #define HAVE_LC_MESSAGES 1
6378 echo "$as_me:6378: checking whether NLS is requested" >&5
6379 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6380 # Check whether --enable-nls or --disable-nls was given.
6381 if test "${enable_nls+set}" = set; then
6382 enableval
="$enable_nls"
6387 echo "$as_me:6387: result: $USE_NLS" >&5
6388 echo "${ECHO_T}$USE_NLS" >&6
6390 BUILD_INCLUDED_LIBINTL
=no
6391 USE_INCLUDED_LIBINTL
=no
6394 if test "$USE_NLS" = "yes"; then
6396 cat >>confdefs.h
<<\EOF
6397 #define ENABLE_NLS 1
6400 echo "$as_me:6400: checking whether included gettext is requested" >&5
6401 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6403 # Check whether --with-included-gettext or --without-included-gettext was given.
6404 if test "${with_included_gettext+set}" = set; then
6405 withval
="$with_included_gettext"
6406 nls_cv_force_use_gnu_gettext
=$withval
6408 nls_cv_force_use_gnu_gettext
=no
6410 echo "$as_me:6410: result: $nls_cv_force_use_gnu_gettext" >&5
6411 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6413 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6414 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6417 echo "$as_me:6417: checking for libintl.h" >&5
6418 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6419 if test "${ac_cv_header_libintl_h+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 cat >conftest.
$ac_ext <<_ACEOF
6423 #line 6423 "configure"
6424 #include "confdefs.h"
6425 #include <libintl.h>
6427 if { (eval echo "$as_me:6427: \"$ac_cpp conftest.$ac_ext\"") >&5
6428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6430 egrep -v '^ *\+' conftest.er1
>conftest.err
6432 cat conftest.err
>&5
6433 echo "$as_me:6433: \$? = $ac_status" >&5
6434 (exit $ac_status); } >/dev
/null
; then
6435 if test -s conftest.err
; then
6436 ac_cpp_err
=$ac_c_preproc_warn_flag
6443 if test -z "$ac_cpp_err"; then
6444 ac_cv_header_libintl_h
=yes
6446 echo "$as_me: failed program was:" >&5
6447 cat conftest.
$ac_ext >&5
6448 ac_cv_header_libintl_h
=no
6450 rm -f conftest.err conftest.
$ac_ext
6452 echo "$as_me:6452: result: $ac_cv_header_libintl_h" >&5
6453 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6454 if test $ac_cv_header_libintl_h = yes; then
6455 echo "$as_me:6455: checking for GNU gettext in libc" >&5
6456 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
6457 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 cat >conftest.
$ac_ext <<_ACEOF
6461 #line 6461 "configure"
6462 #include "confdefs.h"
6463 #include <libintl.h>
6464 extern int _nl_msg_cat_cntr;
6468 bindtextdomain ("", "");
6469 return (int) gettext ("") + _nl_msg_cat_cntr
6474 rm -f conftest.
$ac_objext conftest
$ac_exeext
6475 if { (eval echo "$as_me:6475: \"$ac_link\"") >&5
6476 (eval $ac_link) 2>&5
6478 echo "$as_me:6478: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try
='test -s conftest$ac_exeext'
6481 { (eval echo "$as_me:6481: \"$ac_try\"") >&5
6484 echo "$as_me:6484: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6486 gt_cv_func_gnugettext1_libc
=yes
6488 echo "$as_me: failed program was:" >&5
6489 cat conftest.
$ac_ext >&5
6490 gt_cv_func_gnugettext1_libc
=no
6492 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6494 echo "$as_me:6494: result: $gt_cv_func_gnugettext1_libc" >&5
6495 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
6497 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
6498 echo "$as_me:6498: checking for GNU gettext in libintl" >&5
6499 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6500 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 gt_save_LIBS
="$LIBS"
6504 LIBS
="$LIBS -lintl $LIBICONV"
6505 cat >conftest.
$ac_ext <<_ACEOF
6506 #line 6506 "configure"
6507 #include "confdefs.h"
6508 #include <libintl.h>
6509 extern int _nl_msg_cat_cntr;
6513 bindtextdomain ("", "");
6514 return (int) gettext ("") + _nl_msg_cat_cntr
6519 rm -f conftest.
$ac_objext conftest
$ac_exeext
6520 if { (eval echo "$as_me:6520: \"$ac_link\"") >&5
6521 (eval $ac_link) 2>&5
6523 echo "$as_me:6523: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try
='test -s conftest$ac_exeext'
6526 { (eval echo "$as_me:6526: \"$ac_try\"") >&5
6529 echo "$as_me:6529: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }; then
6531 gt_cv_func_gnugettext1_libintl
=yes
6533 echo "$as_me: failed program was:" >&5
6534 cat conftest.
$ac_ext >&5
6535 gt_cv_func_gnugettext1_libintl
=no
6537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6538 LIBS
="$gt_save_LIBS"
6540 echo "$as_me:6540: result: $gt_cv_func_gnugettext1_libintl" >&5
6541 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
6544 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6545 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6546 && test "$PACKAGE" != gettext; }; then
6548 cat >>confdefs.h
<<\EOF
6549 #define HAVE_GETTEXT 1
6552 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6553 INTLLIBS
="-lintl $LIBICONV"
6556 gt_save_LIBS
="$LIBS"
6557 LIBS
="$LIBS $INTLLIBS"
6559 for ac_func
in dcgettext
6561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6562 echo "$as_me:6562: checking for $ac_func" >&5
6563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6564 if eval "test \"\${$as_ac_var+set}\" = set"; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 cat >conftest.
$ac_ext <<_ACEOF
6568 #line 6568 "configure"
6569 #include "confdefs.h"
6570 /* System header to define __stub macros and hopefully few prototypes,
6571 which can conflict with char $ac_func (); below. */
6573 /* Override any gcc2 internal prototype to avoid an error. */
6577 /* We use char because int might match the return type of a gcc2
6578 builtin and then its argument prototype would still apply. */
6585 /* The GNU C library defines this for functions which it implements
6586 to always fail with ENOSYS. Some functions are actually named
6587 something starting with __ and the normal name is an alias. */
6588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6598 rm -f conftest.
$ac_objext conftest
$ac_exeext
6599 if { (eval echo "$as_me:6599: \"$ac_link\"") >&5
6600 (eval $ac_link) 2>&5
6602 echo "$as_me:6602: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -s conftest$ac_exeext'
6605 { (eval echo "$as_me:6605: \"$ac_try\"") >&5
6608 echo "$as_me:6608: \$? = $ac_status" >&5
6609 (exit $ac_status); }; }; then
6610 eval "$as_ac_var=yes"
6612 echo "$as_me: failed program was:" >&5
6613 cat conftest.
$ac_ext >&5
6614 eval "$as_ac_var=no"
6616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6618 echo "$as_me:6618: result: `eval echo '${'$as_ac_var'}'`" >&5
6619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6620 if test `eval echo '${'$as_ac_var'}'` = yes; then
6621 cat >>confdefs.h
<<EOF
6622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6628 LIBS
="$gt_save_LIBS"
6630 # Extract the first word of "msgfmt", so it can be a program name with args.
6631 set dummy msgfmt
; ac_word
=$2
6632 echo "$as_me:6632: checking for $ac_word" >&5
6633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6634 if test "${ac_cv_path_MSGFMT+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6642 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6643 for ac_dir
in $PATH; do
6644 test -z "$ac_dir" && ac_dir
=.
6645 if test -f $ac_dir/$ac_word; then
6646 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
6647 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6653 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6657 MSGFMT
="$ac_cv_path_MSGFMT"
6658 if test "$MSGFMT" != ":"; then
6659 echo "$as_me:6659: result: $MSGFMT" >&5
6660 echo "${ECHO_T}$MSGFMT" >&6
6662 echo "$as_me:6662: result: no" >&5
6663 echo "${ECHO_T}no" >&6
6666 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6667 set dummy gmsgfmt
; ac_word
=$2
6668 echo "$as_me:6668: checking for $ac_word" >&5
6669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6670 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6678 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6680 for ac_dir
in $ac_dummy; do
6682 test -z "$ac_dir" && ac_dir
=.
6683 if $as_executable_p "$ac_dir/$ac_word"; then
6684 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6685 echo "$as_me:6685: found $ac_dir/$ac_word" >&5
6690 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6694 GMSGFMT
=$ac_cv_path_GMSGFMT
6696 if test -n "$GMSGFMT"; then
6697 echo "$as_me:6697: result: $GMSGFMT" >&5
6698 echo "${ECHO_T}$GMSGFMT" >&6
6700 echo "$as_me:6700: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6704 # Extract the first word of "xgettext", so it can be a program name with args.
6705 set dummy xgettext
; ac_word
=$2
6706 echo "$as_me:6706: checking for $ac_word" >&5
6707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6708 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6716 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6717 for ac_dir
in $PATH; do
6718 test -z "$ac_dir" && ac_dir
=.
6719 if test -f $ac_dir/$ac_word; then
6720 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
6721 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6727 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6731 XGETTEXT
="$ac_cv_path_XGETTEXT"
6732 if test "$XGETTEXT" != ":"; then
6733 echo "$as_me:6733: result: $XGETTEXT" >&5
6734 echo "${ECHO_T}$XGETTEXT" >&6
6736 echo "$as_me:6736: result: no" >&5
6737 echo "${ECHO_T}no" >&6
6745 if test "$CATOBJEXT" = "NONE"; then
6746 nls_cv_use_gnu_gettext
=yes
6750 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6751 INTLOBJS
="\$(GETTOBJS)"
6752 # Extract the first word of "msgfmt", so it can be a program name with args.
6753 set dummy msgfmt
; ac_word
=$2
6754 echo "$as_me:6754: checking for $ac_word" >&5
6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6756 if test "${ac_cv_path_MSGFMT+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6765 for ac_dir
in $PATH; do
6766 test -z "$ac_dir" && ac_dir
=.
6767 if test -f $ac_dir/$ac_word; then
6768 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
6769 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6775 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6779 MSGFMT
="$ac_cv_path_MSGFMT"
6780 if test "$MSGFMT" != ":"; then
6781 echo "$as_me:6781: result: $MSGFMT" >&5
6782 echo "${ECHO_T}$MSGFMT" >&6
6784 echo "$as_me:6784: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6788 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6789 set dummy gmsgfmt
; ac_word
=$2
6790 echo "$as_me:6790: checking for $ac_word" >&5
6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6792 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6800 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6802 for ac_dir
in $ac_dummy; do
6804 test -z "$ac_dir" && ac_dir
=.
6805 if $as_executable_p "$ac_dir/$ac_word"; then
6806 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6807 echo "$as_me:6807: found $ac_dir/$ac_word" >&5
6812 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6816 GMSGFMT
=$ac_cv_path_GMSGFMT
6818 if test -n "$GMSGFMT"; then
6819 echo "$as_me:6819: result: $GMSGFMT" >&5
6820 echo "${ECHO_T}$GMSGFMT" >&6
6822 echo "$as_me:6822: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6826 # Extract the first word of "xgettext", so it can be a program name with args.
6827 set dummy xgettext
; ac_word
=$2
6828 echo "$as_me:6828: checking for $ac_word" >&5
6829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6830 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6835 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6838 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6839 for ac_dir
in $PATH; do
6840 test -z "$ac_dir" && ac_dir
=.
6841 if test -f $ac_dir/$ac_word; then
6842 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
6843 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6849 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6853 XGETTEXT
="$ac_cv_path_XGETTEXT"
6854 if test "$XGETTEXT" != ":"; then
6855 echo "$as_me:6855: result: $XGETTEXT" >&5
6856 echo "${ECHO_T}$XGETTEXT" >&6
6858 echo "$as_me:6858: result: no" >&5
6859 echo "${ECHO_T}no" >&6
6862 BUILD_INCLUDED_LIBINTL
=yes
6863 USE_INCLUDED_LIBINTL
=yes
6865 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
6866 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6869 if test "$GMSGFMT" != ":"; then
6870 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
6873 echo "$as_me:6873: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
6874 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
6879 if test "$XGETTEXT" != ":"; then
6880 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
6883 echo "$as_me:6883: result: found xgettext program is not GNU xgettext; ignore it" >&5
6884 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6891 ac_config_commands
="$ac_config_commands default-2"
6893 if test "$PACKAGE" = gettext; then
6894 BUILD_INCLUDED_LIBINTL
=yes
6897 for ac_prog
in bison
6899 # Extract the first word of "$ac_prog", so it can be a program name with args.
6900 set dummy
$ac_prog; ac_word
=$2
6901 echo "$as_me:6901: checking for $ac_word" >&5
6902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6903 if test "${ac_cv_prog_INTLBISON+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6906 if test -n "$INTLBISON"; then
6907 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
6909 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6911 for ac_dir
in $ac_dummy; do
6913 test -z "$ac_dir" && ac_dir
=.
6914 $as_executable_p "$ac_dir/$ac_word" || continue
6915 ac_cv_prog_INTLBISON
="$ac_prog"
6916 echo "$as_me:6916: found $ac_dir/$ac_word" >&5
6922 INTLBISON
=$ac_cv_prog_INTLBISON
6923 if test -n "$INTLBISON"; then
6924 echo "$as_me:6924: result: $INTLBISON" >&5
6925 echo "${ECHO_T}$INTLBISON" >&6
6927 echo "$as_me:6927: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6931 test -n "$INTLBISON" && break
6934 if test -z "$INTLBISON"; then
6937 echo "$as_me:6937: checking version of bison" >&5
6938 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
6939 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6940 case $ac_prog_version in
6941 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
6942 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
6943 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
6944 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
6946 echo "$as_me:6946: result: $ac_prog_version" >&5
6947 echo "${ECHO_T}$ac_prog_version" >&6
6949 if test $ac_verc_fail = yes; then
6953 for lang
in $ALL_LINGUAS; do
6954 GMOFILES
="$GMOFILES $lang.gmo"
6955 POFILES
="$POFILES $lang.po"
6959 nls_cv_header_libgt
=
6967 if test "x$CATOBJEXT" != "x"; then
6968 if test "x$ALL_LINGUAS" = "x"; then
6971 echo "$as_me:6971: checking for catalogs to be installed" >&5
6972 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6974 for presentlang
in $ALL_LINGUAS; do
6976 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
6977 # Use the presentlang catalog if desiredlang is
6978 # a. equal to presentlang, or
6979 # b. a variant of presentlang (because in this case,
6980 # presentlang can be used as a fallback for messages
6981 # which are not translated in the desiredlang catalog).
6982 case "$desiredlang" in
6983 "$presentlang"*) useit
=yes;;
6986 if test $useit = yes; then
6987 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
6990 LINGUAS
=$NEW_LINGUAS
6991 echo "$as_me:6991: result: $LINGUAS" >&5
6992 echo "${ECHO_T}$LINGUAS" >&6
6995 if test -n "$LINGUAS"; then
6996 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7001 if test -n "$ac_aux_dir"; then
7002 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
7004 if test -z "$MKINSTALLDIRS"; then
7005 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7008 INTL_LIBTOOL_SUFFIX_PREFIX
=
7010 # This is necessary so that .o files in LIBOBJS are also built via
7011 # the ANSI2KNR-filtering rules.
7012 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
7014 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile tests/atconfig"
7015 cat >confcache
<<\_ACEOF
7016 # This file is a shell script that caches the results of configure
7017 # tests run on this system so they can be shared between configure
7018 # scripts and configure runs, see configure's option --config-cache.
7019 # It is not useful on other systems. If it contains results you don't
7020 # want to keep, you may remove or edit it.
7022 # config.status only pays attention to the cache file if you give it
7023 # the --recheck option to rerun configure.
7025 # `ac_cv_env_foo' variables (set or unset) will be overriden when
7026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7031 # The following way of writing the cache mishandles newlines in values,
7032 # but we know of no workaround that is simple, portable, and efficient.
7033 # So, don't put newlines in cache variables' values.
7034 # Ultrix sh set writes to stderr and can't be redirected directly,
7035 # and sets the high bit in the cache file unless we assign to the vars.
7038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7040 # `set' does not quote correctly, so add quotes (double-quote
7041 # substitution turns \\\\ into \\, and sed turns \\ into \).
7044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7047 # `set' quotes correctly as required by POSIX, so do not add quotes.
7049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7058 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7060 if cmp -s $cache_file confcache
; then :; else
7061 if test -w $cache_file; then
7062 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7063 cat confcache
>$cache_file
7065 echo "not updating unwritable cache $cache_file"
7070 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7071 # Let make expand exec_prefix.
7072 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7074 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7075 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7076 # trailing colons and then remove the whole line if VPATH becomes empty
7077 # (actually we leave an empty line to preserve line numbers).
7078 if test "x$srcdir" = x.
; then
7079 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7080 s/:*\$(srcdir):*/:/;
7081 s/:*\${srcdir}:*/:/;
7083 s/^\([^=]*=[ ]*\):*/\1/;
7089 DEFS
=-DHAVE_CONFIG_H
7091 : ${CONFIG_STATUS=./config.status}
7092 ac_clean_files_save
=$ac_clean_files
7093 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7094 { echo "$as_me:7094: creating $CONFIG_STATUS" >&5
7095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7096 cat >$CONFIG_STATUS <<_ACEOF
7098 # Generated automatically by configure.
7099 # Run this file to recreate the current configuration.
7100 # Compiler output produced by configure, useful for debugging
7101 # configure, is in config.log if it exists.
7104 SHELL=\${CONFIG_SHELL-$SHELL}
7105 ac_cs_invocation="\$0 \$@"
7109 cat >>$CONFIG_STATUS <<\_ACEOF
7110 # Be Bourne compatible
7111 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7114 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7118 # Name of the executable.
7119 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
7121 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7127 rm -f conf$$ conf$$.exe conf$$.
file
7129 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7130 # We could just check for DJGPP; but this test a) works b) is more generic
7131 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7132 if test -f conf$$.exe
; then
7133 # Don't use ln at all; we don't have any links
7138 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7143 rm -f conf$$ conf$$.exe conf$$.
file
7145 as_executable_p
="test -f"
7147 # Support unset when possible.
7148 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
7155 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
7156 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
7157 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
7158 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
7159 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
7160 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
7161 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
7162 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
7165 # We need space, tab and new line, in precisely that order.
7171 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
7177 # Files that config.status was made for.
7178 if test -n "$ac_config_files"; then
7179 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7182 if test -n "$ac_config_headers"; then
7183 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7186 if test -n "$ac_config_links"; then
7187 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7190 if test -n "$ac_config_commands"; then
7191 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7194 cat >>$CONFIG_STATUS <<\EOF
7197 \`$as_me' instantiates files from templates according to the
7198 current configuration.
7200 Usage: $0 [OPTIONS] [FILE]...
7202 -h, --help print this help, then exit
7203 -V, --version print version number, then exit
7204 -d, --debug don't remove temporary files
7205 --recheck update $as_me by reconfiguring in the same conditions
7206 --file=FILE[:TEMPLATE]
7207 instantiate the configuration file FILE
7208 --header=FILE[:TEMPLATE]
7209 instantiate the configuration header FILE
7211 Configuration files:
7214 Configuration headers:
7217 Configuration commands:
7220 Report bugs to <bug-autoconf@gnu.org>."
7223 cat >>$CONFIG_STATUS <<EOF
7225 bison config.status 1.28a
7226 configured by $0, generated by GNU Autoconf 2.52,
7227 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7229 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7230 Free Software Foundation, Inc.
7231 This config.status script is free software; the Free Software Foundation
7232 gives unlimited permission to copy, distribute and modify it."
7237 cat >>$CONFIG_STATUS <<\EOF
7238 # If no file are specified by the user, then we need to provide default
7239 # value. By we need to know if files were specified by the user.
7245 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7246 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7248 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
7252 *) # This is not an option, so the user has probably given explicit
7254 ac_need_defaults
=false
;;
7258 # Handling of the options.
7260 cat >>$CONFIG_STATUS <<EOF
7261 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7262 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7263 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7265 cat >>$CONFIG_STATUS <<\EOF
7266 --version | --vers* | -V )
7267 echo "$ac_cs_version"; exit 0 ;;
7269 # Conflict between --help and --header
7270 { { echo "$as_me:7270: error: ambiguous option: $1
7271 Try \`$0 --help' for more information." >&5
7272 echo "$as_me: error: ambiguous option: $1
7273 Try \`$0 --help' for more information." >&2;}
7274 { (exit 1); exit 1; }; };;
7275 --help | --hel | -h )
7276 echo "$ac_cs_usage"; exit 0 ;;
7277 --debug | --d* | -d )
7279 --file | --fil | --fi | --f )
7281 CONFIG_FILES
="$CONFIG_FILES $1"
7282 ac_need_defaults
=false
;;
7283 --header | --heade | --head | --hea )
7285 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
7286 ac_need_defaults
=false
;;
7289 -*) { { echo "$as_me:7289: error: unrecognized option: $1
7290 Try \`$0 --help' for more information." >&5
7291 echo "$as_me: error: unrecognized option: $1
7292 Try \`$0 --help' for more information." >&2;}
7293 { (exit 1); exit 1; }; } ;;
7295 *) ac_config_targets
="$ac_config_targets $1" ;;
7304 ## ----------------------- ##
7305 ## Running config.status. ##
7306 ## ----------------------- ##
7308 This file was extended by $as_me (bison 1.28a) 2.52, executed with
7309 CONFIG_FILES = $CONFIG_FILES
7310 CONFIG_HEADERS = $CONFIG_HEADERS
7311 CONFIG_LINKS = $CONFIG_LINKS
7312 CONFIG_COMMANDS = $CONFIG_COMMANDS
7314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7319 cat >>$CONFIG_STATUS <<EOF
7321 # INIT-COMMANDS section.
7326 cat >>$CONFIG_STATUS <<\EOF
7327 for ac_config_target
in $ac_config_targets
7329 case "$ac_config_target" in
7330 # Handling of arguments.
7331 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7332 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
7333 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
7334 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
7335 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
7336 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
7337 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7338 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
7339 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7340 "tests/atconfig" ) CONFIG_FILES
="$CONFIG_FILES tests/atconfig" ;;
7341 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7342 "default-2" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
7343 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
7344 *) { { echo "$as_me:7344: error: invalid argument: $ac_config_target" >&5
7345 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7346 { (exit 1); exit 1; }; };;
7350 # If the user did not use the arguments to specify the items to instantiate,
7351 # then the envvar interface is used. Set only those that are not.
7352 # We use the long form for the default assignment because of an extremely
7353 # bizarre bug on SunOS 4.1.3.
7354 if $ac_need_defaults; then
7355 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7356 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7360 # Create a temporary directory, and hook for its removal unless debugging.
7363 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7364 trap '{ (exit 1); exit 1; }' 1 2 13 15
7367 # Create a (secure) tmp directory for tmp files.
7370 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7371 test -n "$tmp" && test -d "$tmp"
7374 tmp
=$TMPDIR/cs$$
-$RANDOM
7375 (umask 077 && mkdir $tmp)
7378 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7379 { (exit 1); exit 1; }
7384 cat >>$CONFIG_STATUS <<EOF
7387 # CONFIG_FILES section.
7390 # No need to generate the scripts if there are no CONFIG_FILES.
7391 # This happens for instance when ./config.status config.h
7392 if test -n "\$CONFIG_FILES"; then
7393 # Protect against being on the right side of a sed subst in config.status.
7394 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7395 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7396 s,@SHELL@,$SHELL,;t t
7397 s,@exec_prefix@,$exec_prefix,;t t
7398 s,@prefix@,$prefix,;t t
7399 s,@program_transform_name@,$program_transform_name,;t t
7400 s,@bindir@,$bindir,;t t
7401 s,@sbindir@,$sbindir,;t t
7402 s,@libexecdir@,$libexecdir,;t t
7403 s,@datadir@,$datadir,;t t
7404 s,@sysconfdir@,$sysconfdir,;t t
7405 s,@sharedstatedir@,$sharedstatedir,;t t
7406 s,@localstatedir@,$localstatedir,;t t
7407 s,@libdir@,$libdir,;t t
7408 s,@includedir@,$includedir,;t t
7409 s,@oldincludedir@,$oldincludedir,;t t
7410 s,@infodir@,$infodir,;t t
7411 s,@mandir@,$mandir,;t t
7412 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7413 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7414 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7415 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7416 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7417 s,@build_alias@,$build_alias,;t t
7418 s,@host_alias@,$host_alias,;t t
7419 s,@target_alias@,$target_alias,;t t
7420 s,@ECHO_C@,$ECHO_C,;t t
7421 s,@ECHO_N@,$ECHO_N,;t t
7422 s,@ECHO_T@,$ECHO_T,;t t
7423 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7426 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7427 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7428 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7429 s,@PACKAGE@,$PACKAGE,;t t
7430 s,@VERSION@,$VERSION,;t t
7431 s,@ACLOCAL@,$ACLOCAL,;t t
7432 s,@AUTOCONF@,$AUTOCONF,;t t
7433 s,@AUTOMAKE@,$AUTOMAKE,;t t
7434 s,@AUTOHEADER@,$AUTOHEADER,;t t
7435 s,@MAKEINFO@,$MAKEINFO,;t t
7436 s,@SET_MAKE@,$SET_MAKE,;t t
7437 s,@AT_TESTPATH@,$AT_TESTPATH,;t t
7439 s,@CFLAGS@,$CFLAGS,;t t
7440 s,@LDFLAGS@,$LDFLAGS,;t t
7441 s,@CPPFLAGS@,$CPPFLAGS,;t t
7442 s,@ac_ct_CC@,$ac_ct_CC,;t t
7443 s,@EXEEXT@,$EXEEXT,;t t
7444 s,@OBJEXT@,$OBJEXT,;t t
7446 s,@RANLIB@,$RANLIB,;t t
7447 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7449 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
7451 s,@ANSI2KNR@,$ANSI2KNR,;t t
7452 s,@ALLOCA@,$ALLOCA,;t t
7453 s,@LIBOBJS@,$LIBOBJS,;t t
7454 s,@build@,$build,;t t
7455 s,@build_cpu@,$build_cpu,;t t
7456 s,@build_vendor@,$build_vendor,;t t
7457 s,@build_os@,$build_os,;t t
7459 s,@host_cpu@,$host_cpu,;t t
7460 s,@host_vendor@,$host_vendor,;t t
7461 s,@host_os@,$host_os,;t t
7462 s,@GLIBC21@,$GLIBC21,;t t
7463 s,@LIBICONV@,$LIBICONV,;t t
7464 s,@USE_NLS@,$USE_NLS,;t t
7465 s,@MSGFMT@,$MSGFMT,;t t
7466 s,@GMSGFMT@,$GMSGFMT,;t t
7467 s,@XGETTEXT@,$XGETTEXT,;t t
7468 s,@INTLBISON@,$INTLBISON,;t t
7469 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7470 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7471 s,@CATALOGS@,$CATALOGS,;t t
7472 s,@CATOBJEXT@,$CATOBJEXT,;t t
7473 s,@GMOFILES@,$GMOFILES,;t t
7474 s,@INTLLIBS@,$INTLLIBS,;t t
7475 s,@INTLOBJS@,$INTLOBJS,;t t
7476 s,@POFILES@,$POFILES,;t t
7477 s,@POSUB@,$POSUB,;t t
7478 s,@DATADIRNAME@,$DATADIRNAME,;t t
7479 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7480 s,@GENCAT@,$GENCAT,;t t
7481 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7482 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7487 cat >>$CONFIG_STATUS <<\EOF
7488 # Split the substitutions into bite-sized pieces for seds with
7489 # small command number limits, like on Digital OSF/1 and HP-UX.
7491 ac_sed_frag
=1 # Number of current file.
7492 ac_beg
=1 # First line for current file.
7493 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7496 while $ac_more_lines; do
7497 if test $ac_beg -gt 1; then
7498 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7500 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7502 if test ! -s $tmp/subs.frag
; then
7505 # The purpose of the label and of the branching condition is to
7506 # speed up the sed processing (if there are no `@' at all, there
7507 # is no need to browse any of the substitutions).
7508 # These are the two extra sed commands mentioned above.
7510 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
7511 if test -z "$ac_sed_cmds"; then
7512 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7514 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7516 ac_sed_frag
=`expr $ac_sed_frag + 1`
7518 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7521 if test -z "$ac_sed_cmds"; then
7524 fi # test -n "$CONFIG_FILES"
7527 cat >>$CONFIG_STATUS <<\EOF
7528 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7529 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7531 - | *:- | *:-:* ) # input from stdin
7533 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7534 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7535 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7536 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7537 * ) ac_file_in
=$ac_file.
in ;;
7540 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7541 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7542 X"$ac_file" : 'X\(//\)[^/]' \| \
7543 X"$ac_file" : 'X\(//\)$' \| \
7544 X"$ac_file" : 'X\(/\)' \| \
7545 . : '\(.\)' 2>/dev/null ||
7547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7549 /^X\(\/\/\)$/{ s//\1/; q; }
7550 /^X\(\/\).*/{ s//\1/; q; }
7552 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7554 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7558 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7559 case $as_mkdir_dir in
7560 # Skip DOS drivespec
7561 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7563 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7564 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7569 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
7570 # A "../" for each directory in $ac_dir_suffix.
7571 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7573 ac_dir_suffix
= ac_dots
=
7578 if test -z "$ac_dots"; then
7581 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
7584 ac_srcdir
=$srcdir$ac_dir_suffix;
7585 ac_top_srcdir
=$srcdir ;;
7587 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
7588 ac_top_srcdir
=$ac_dots$srcdir ;;
7592 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7593 *) ac_INSTALL
=$ac_dots$INSTALL ;;
7596 if test x
"$ac_file" != x
-; then
7597 { echo "$as_me:7597: creating $ac_file" >&5
7598 echo "$as_me: creating $ac_file" >&6;}
7601 # Let's still pretend it is `configure' which instantiates (i.e., don't
7602 # use $as_me), people would be surprised to read:
7603 # /* config.h. Generated automatically by config.status. */
7604 configure_input
="Generated automatically from `echo $ac_file_in |
7605 sed 's,.*/,,'` by configure."
7607 # First look for the input files in the build tree, otherwise in the
7609 ac_file_inputs
=`IFS=:
7610 for f in $ac_file_in; do
7612 -) echo $tmp/stdin ;;
7614 # Absolute (can't be DOS-style, as IFS=:)
7615 test -f "$f" || { { echo "$as_me:7615: error: cannot find input file: $f" >&5
7616 echo "$as_me: error: cannot find input file: $f" >&2;}
7617 { (exit 1); exit 1; }; }
7620 if test -f "$f"; then
7623 elif test -f "$srcdir/$f"; then
7628 { { echo "$as_me:7628: error: cannot find input file: $f" >&5
7629 echo "$as_me: error: cannot find input file: $f" >&2;}
7630 { (exit 1); exit 1; }; }
7633 done` || { (exit 1); exit 1; }
7635 cat >>$CONFIG_STATUS <<EOF
7639 cat >>$CONFIG_STATUS <<\EOF
7641 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
7642 s
,@configure_input@
,$configure_input,;t t
7643 s
,@srcdir@
,$ac_srcdir,;t t
7644 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7645 s
,@INSTALL@
,$ac_INSTALL,;t t
7646 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7648 if test x"$ac_file" != x-; then
7649 mv $tmp/out $ac_file
7657 cat >>$CONFIG_STATUS <<\EOF
7660 # CONFIG_HEADER section.
7663 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7664 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7666 # ac_d sets the value in "#define NAME VALUE" lines.
7667 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7668 ac_dB
='[ ].*$,\1#\2'
7671 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7672 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7673 ac_uB
='$,\1#\2define\3'
7677 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7678 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7680 - | *:- | *:-:* ) # input from stdin
7682 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7683 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7684 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7685 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7686 * ) ac_file_in
=$ac_file.
in ;;
7689 test x
"$ac_file" != x
- && { echo "$as_me:7689: creating $ac_file" >&5
7690 echo "$as_me: creating $ac_file" >&6;}
7692 # First look for the input files in the build tree, otherwise in the
7694 ac_file_inputs
=`IFS=:
7695 for f in $ac_file_in; do
7697 -) echo $tmp/stdin ;;
7699 # Absolute (can't be DOS-style, as IFS=:)
7700 test -f "$f" || { { echo "$as_me:7700: error: cannot find input file: $f" >&5
7701 echo "$as_me: error: cannot find input file: $f" >&2;}
7702 { (exit 1); exit 1; }; }
7705 if test -f "$f"; then
7708 elif test -f "$srcdir/$f"; then
7713 { { echo "$as_me:7713: error: cannot find input file: $f" >&5
7714 echo "$as_me: error: cannot find input file: $f" >&2;}
7715 { (exit 1); exit 1; }; }
7718 done` || { (exit 1); exit 1; }
7719 # Remove the trailing spaces.
7720 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7724 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7725 # `conftest.undefs', that substitutes the proper values into
7726 # config.h.in to produce config.h. The first handles `#define'
7727 # templates, and the second `#undef' templates.
7728 # And first: Protect against being on the right side of a sed subst in
7729 # config.status. Protect against being in an unquoted here document
7731 rm -f conftest.defines conftest.undefs
7732 # Using a here document instead of a string reduces the quoting nightmare.
7733 # Putting comments in sed scripts is not portable.
7735 # `end' is used to avoid that the second main sed command (meant for
7736 # 0-ary CPP macros) applies to n-ary macro definitions.
7737 # See the Autoconf documentation for `clear'.
7738 cat >confdef2sed.
sed <<\EOF
7743 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7745 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7748 # If some macros were called several times there might be several times
7749 # the same #defines, which is useless. Nevertheless, we may not want to
7750 # sort them, since we want the *last* AC-DEFINE to be honored.
7751 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7752 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7753 rm -f confdef2sed.sed
7755 # This sed command replaces #undef with comments. This is necessary, for
7756 # example, in the case of _POSIX_SOURCE, which is predefined and required
7757 # on some systems where configure will not decide to define it.
7758 cat >>conftest.undefs <<\EOF
7759 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7762 # Break up conftest.defines because some shells have a limit on the size
7763 # of here documents, and old seds have small limits too (100 cmds).
7764 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7765 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7766 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7767 echo ' :' >>$CONFIG_STATUS
7769 while grep . conftest.defines >/dev/null
7771 # Write a limited-size here document to $tmp/defines.sed.
7772 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7773 # Speed up: don't consider the non `#define' lines.
7774 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7775 # Work around the forget-to-reset-the-flag bug.
7776 echo 't clr' >>$CONFIG_STATUS
7777 echo ': clr' >>$CONFIG_STATUS
7778 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7780 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7784 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7785 rm -f conftest.defines
7786 mv conftest.
tail conftest.defines
7788 rm -f conftest.defines
7789 echo ' fi # egrep' >>$CONFIG_STATUS
7790 echo >>$CONFIG_STATUS
7792 # Break up conftest.undefs because some shells have a limit on the size
7793 # of here documents, and old seds have small limits too (100 cmds).
7794 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7796 while grep . conftest.undefs
>/dev
/null
7798 # Write a limited-size here document to $tmp/undefs.sed.
7799 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7800 # Speed up: don't consider the non
`#undef'
7801 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7802 # Work around the forget-to-reset-the-flag bug.
7803 echo 't clr' >>$CONFIG_STATUS
7804 echo ': clr' >>$CONFIG_STATUS
7805 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7807 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7811 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7812 rm -f conftest.undefs
7813 mv conftest.tail conftest.undefs
7815 rm -f conftest.undefs
7817 cat >>$CONFIG_STATUS <<\EOF
7818 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7819 # use $as_me), people would be surprised to read:
7820 # /* config.h. Generated automatically by config.status. */
7821 if test x
"$ac_file" = x
-; then
7822 echo "/* Generated automatically by configure. */" >$tmp/config.h
7824 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
7826 cat $tmp/in >>$tmp/config.h
7828 if test x
"$ac_file" != x
-; then
7829 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
7830 { echo "$as_me:7830: $ac_file is unchanged" >&5
7831 echo "$as_me: $ac_file is unchanged" >&6;}
7833 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7834 X"$ac_file" : 'X\(//\)[^/]' \| \
7835 X"$ac_file" : 'X\(//\)$' \| \
7836 X"$ac_file" : 'X\(/\)' \| \
7837 . : '\(.\)' 2>/dev/null ||
7839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7841 /^X\(\/\/\)$/{ s//\1/; q; }
7842 /^X\(\/\).*/{ s//\1/; q; }
7844 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7846 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7850 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7851 case $as_mkdir_dir in
7852 # Skip DOS drivespec
7853 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7855 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7856 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7863 mv $tmp/config.h
$ac_file
7871 cat >>$CONFIG_STATUS <<\EOF
7874 # CONFIG_COMMANDS section.
7876 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7877 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7878 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7881 default
-1 ) test -z "$CONFIG_HEADERS" || echo timestamp
> stamp
-h ;;
7882 default
-2 ) for ac_file
in $CONFIG_FILES; do
7883 # Support "outfile[:infile[:infile...]]"
7885 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7887 # PO directories have a Makefile.in generated from Makefile.in.in.
7888 case "$ac_file" in */Makefile.
in)
7889 # Adjust a relative srcdir.
7890 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7891 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
7892 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7893 # In autoconf-2.13 it is called $ac_given_srcdir.
7894 # In autoconf-2.50 it is called $srcdir.
7895 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
7896 case "$ac_given_srcdir" in
7897 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
7898 /*) top_srcdir
="$ac_given_srcdir" ;;
7899 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7901 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7902 rm -f "$ac_dir/POTFILES"
7903 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7904 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
7905 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7906 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7915 cat >>$CONFIG_STATUS <<\EOF
7917 { (exit 0); exit 0; }
7919 chmod +x
$CONFIG_STATUS
7920 ac_clean_files
=$ac_clean_files_save
7922 # configure is writing to config.log, and then calls config.status.
7923 # config.status does its own redirection, appending to config.log.
7924 # Unfortunately, on DOS this fails, as config.log is still kept open
7925 # by configure, so config.status won't be able to write to it; its
7926 # output is simply discarded. So we exec the FD to /dev/null,
7927 # effectively closing config.log, so it can be properly (re)opened and
7928 # appended to by config.status. When coming back to configure, we
7929 # need to make the FD available again.
7930 if test "$no_create" != yes; then
7933 $SHELL $CONFIG_STATUS || ac_cs_success
=false
7935 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7936 # would make configure fail if this is the last instruction.
7937 $ac_cs_success || { (exit 1); exit 1; }