2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.49d.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Be Bourne compatible
11 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24 rm -f conftest conftest.exe conftest.
file
26 if ln -s conftest.
file conftest
2>/dev
/null
; then
27 # We could just check for DJGPP; but this test a) works b) is more generic
28 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29 if test -f conftest.exe
; then
30 # Don't use ln at all; we don't have any links
35 elif ln conftest.
file conftest
2>/dev
/null
; then
40 rm -f conftest conftest.exe conftest.
file
42 # Find out how to test for executable files. Don't use a zero-byte file,
43 # as systems may use methods other than mode bits to determine executability.
44 cat >conftest.
file <<_ASEOF
48 chmod +x conftest.
file
49 if test -x conftest.
file >/dev
/null
2>&1; then
50 as_executable_p
="test -x"
51 elif test -f conftest.
file >/dev
/null
2>&1; then
52 as_executable_p
="test -f"
54 { { echo "$as_me:54: error: cannot check whether a file is executable on this system" >&5
55 echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
56 { (exit 1); exit 1; }; }
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
68 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
69 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
70 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
71 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
72 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
73 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
74 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
75 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
91 # Name of the executable.
92 as_me
=`echo "$0" | sed 's,.*/,,'`
95 This file contains any messages produced by compilers while
96 running configure, to aid debugging if configure makes a mistake.
98 It was created by $as_me 2.49d, executed with
108 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
109 uname -m = `(uname -m) 2>/dev/null || echo unknown`
110 uname -r = `(uname -r) 2>/dev/null || echo unknown`
111 uname -s = `(uname -s) 2>/dev/null || echo unknown`
112 uname -v = `(uname -v) 2>/dev/null || echo unknown`
114 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
115 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
117 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
118 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
119 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
120 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
121 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
122 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
123 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
130 cat >>config.log
<<EOF
137 # File descriptor usage:
140 # 2 errors and warnings
141 # 5 compiler messages saved in config.log
142 # 6 checking for... messages and results
149 ac_default_prefix
=/usr
/local
153 SHELL
=${CONFIG_SHELL-/bin/sh}
155 # Maximum number of lines to put in a shell here document.
156 # This variable seems obsolete. It should probably be removed, and
157 # only ac_max_sed_lines should be used.
158 : ${ac_max_here_lines=38}
160 # Avoid depending upon Character Ranges.
161 ac_cr_az
='abcdefghijklmnopqrstuvwxyz'
162 ac_cr_AZ
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
163 ac_cr_09
='0123456789'
164 ac_cr_alnum
=$ac_cr_az$ac_cr_AZ$ac_cr_09
166 # Sed expression to map a string onto a valid sh and CPP variable names.
167 ac_tr_sh
="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
168 ac_tr_cpp
="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
170 ac_unique_file
="src/reduce.c"
171 # Factoring default headers for most tests.
172 ac_includes_default
="\
174 #include <sys/types.h>
175 #include <sys/stat.h>
185 # if !STDC_HEADERS && HAVE_MEMORY_H
191 # include <strings.h>
195 # include <inttypes.h>
201 # Initialize some variables set by options.
203 ac_init_version
=false
204 # The variables have the same names as the options, with
205 # dashes changed to underlines.
213 program_transform_name
=s
,x
,x
,
221 # Installation directory options.
222 # These are left unexpanded so users can "make install exec_prefix=/foo"
223 # and all the variables that are supposed to be based on exec_prefix
224 # by default will actually change.
225 # Use braces instead of parens because sh, perl, etc. also accept them.
226 bindir
='${exec_prefix}/bin'
227 sbindir
='${exec_prefix}/sbin'
228 libexecdir
='${exec_prefix}/libexec'
229 datadir
='${prefix}/share'
230 sysconfdir
='${prefix}/etc'
231 sharedstatedir
='${prefix}/com'
232 localstatedir
='${prefix}/var'
233 libdir
='${exec_prefix}/lib'
234 includedir
='${prefix}/include'
235 oldincludedir
='/usr/include'
236 infodir
='${prefix}/info'
237 mandir
='${prefix}/man'
239 # Identity of this package.
249 # If the previous option needs an argument, assign it.
250 if test -n "$ac_prev"; then
251 eval "$ac_prev=\$ac_option"
256 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
258 # Accept the important Cygnus configure options, so we can diagnose typos.
262 -bindir | --bindir | --bindi | --bind | --bin | --bi)
264 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
267 -build | --build | --buil | --bui | --bu)
268 ac_prev
=build_alias
;;
269 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
270 build_alias
=$ac_optarg ;;
272 -cache-file | --cache-file | --cache-fil | --cache-fi \
273 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
274 ac_prev
=cache_file
;;
275 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
276 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
277 cache_file
=$ac_optarg ;;
280 cache_file
=config.cache
;;
282 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
284 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
286 datadir
=$ac_optarg ;;
288 -disable-* | --disable-*)
289 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
290 # Reject names that are not valid shell variable names.
291 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
292 { { echo "$as_me:292: error: invalid feature name: $ac_feature" >&5
293 echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
294 { (exit 1); exit 1; }; }
295 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
296 eval "enable_$ac_feature=no" ;;
298 -enable-* | --enable-*)
299 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
300 # Reject names that are not valid shell variable names.
301 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
302 { { echo "$as_me:302: error: invalid feature name: $ac_feature" >&5
303 echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
304 { (exit 1); exit 1; }; }
305 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
307 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
310 eval "enable_$ac_feature='$ac_optarg'" ;;
312 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
313 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
314 | --exec | --exe | --ex)
315 ac_prev
=exec_prefix
;;
316 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
317 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
318 | --exec=* | --exe=* | --ex=*)
319 exec_prefix
=$ac_optarg ;;
321 -gas | --gas | --ga | --g)
322 # Obsolete; use --with-gas.
325 -help | --help | --hel | --he | -h)
327 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
328 ac_init_help
=recursive
;;
329 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
330 ac_init_help
=short
;;
332 -host | --host | --hos | --ho)
333 ac_prev
=host_alias
;;
334 -host=* | --host=* | --hos=* | --ho=*)
335 host_alias
=$ac_optarg ;;
337 -includedir | --includedir | --includedi | --included | --include \
338 | --includ | --inclu | --incl | --inc)
339 ac_prev
=includedir
;;
340 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
341 | --includ=* | --inclu=* | --incl=* | --inc=*)
342 includedir
=$ac_optarg ;;
344 -infodir | --infodir | --infodi | --infod | --info | --inf)
346 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
347 infodir
=$ac_optarg ;;
349 -libdir | --libdir | --libdi | --libd)
351 -libdir=* | --libdir=* | --libdi=* | --libd=*)
354 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
355 | --libexe | --libex | --libe)
356 ac_prev
=libexecdir
;;
357 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
358 | --libexe=* | --libex=* | --libe=*)
359 libexecdir
=$ac_optarg ;;
361 -localstatedir | --localstatedir | --localstatedi | --localstated \
362 | --localstate | --localstat | --localsta | --localst \
363 | --locals | --local | --loca | --loc | --lo)
364 ac_prev
=localstatedir
;;
365 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
366 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
367 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
368 localstatedir
=$ac_optarg ;;
370 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
372 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
376 # Obsolete; use --without-fp.
379 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
383 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
384 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
387 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
388 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
389 | --oldin | --oldi | --old | --ol | --o)
390 ac_prev
=oldincludedir
;;
391 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
392 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
393 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
394 oldincludedir
=$ac_optarg ;;
396 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
398 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
401 -program-prefix | --program-prefix | --program-prefi | --program-pref \
402 | --program-pre | --program-pr | --program-p)
403 ac_prev
=program_prefix
;;
404 -program-prefix=* | --program-prefix=* | --program-prefi=* \
405 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
406 program_prefix
=$ac_optarg ;;
408 -program-suffix | --program-suffix | --program-suffi | --program-suff \
409 | --program-suf | --program-su | --program-s)
410 ac_prev
=program_suffix
;;
411 -program-suffix=* | --program-suffix=* | --program-suffi=* \
412 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
413 program_suffix
=$ac_optarg ;;
415 -program-transform-name | --program-transform-name \
416 | --program-transform-nam | --program-transform-na \
417 | --program-transform-n | --program-transform- \
418 | --program-transform | --program-transfor \
419 | --program-transfo | --program-transf \
420 | --program-trans | --program-tran \
421 | --progr-tra | --program-tr | --program-t)
422 ac_prev
=program_transform_name
;;
423 -program-transform-name=* | --program-transform-name=* \
424 | --program-transform-nam=* | --program-transform-na=* \
425 | --program-transform-n=* | --program-transform-=* \
426 | --program-transform=* | --program-transfor=* \
427 | --program-transfo=* | --program-transf=* \
428 | --program-trans=* | --program-tran=* \
429 | --progr-tra=* | --program-tr=* | --program-t=*)
430 program_transform_name
=$ac_optarg ;;
432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
433 | -silent | --silent | --silen | --sile | --sil)
436 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
438 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
440 sbindir
=$ac_optarg ;;
442 -sharedstatedir | --sharedstatedir | --sharedstatedi \
443 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
444 | --sharedst | --shareds | --shared | --share | --shar \
446 ac_prev
=sharedstatedir
;;
447 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
448 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
449 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
451 sharedstatedir
=$ac_optarg ;;
453 -site | --site | --sit)
455 -site=* | --site=* | --sit=*)
458 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
460 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
463 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
464 | --syscon | --sysco | --sysc | --sys | --sy)
465 ac_prev
=sysconfdir
;;
466 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
467 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
468 sysconfdir
=$ac_optarg ;;
470 -target | --target | --targe | --targ | --tar | --ta | --t)
471 ac_prev
=target_alias
;;
472 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
473 target_alias
=$ac_optarg ;;
475 -v | -verbose | --verbose | --verbos | --verbo | --verb)
478 -version | --version | --versio | --versi | --vers | -V)
482 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
483 # Reject names that are not valid shell variable names.
484 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
485 { { echo "$as_me:485: error: invalid package name: $ac_package" >&5
486 echo "$as_me: error: invalid package name: $ac_package" >&2;}
487 { (exit 1); exit 1; }; }
488 ac_package
=`echo $ac_package| sed 's/-/_/g'`
490 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
493 eval "with_$ac_package='$ac_optarg'" ;;
495 -without-* | --without-*)
496 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
497 # Reject names that are not valid shell variable names.
498 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
499 { { echo "$as_me:499: error: invalid package name: $ac_package" >&5
500 echo "$as_me: error: invalid package name: $ac_package" >&2;}
501 { (exit 1); exit 1; }; }
502 ac_package
=`echo $ac_package | sed 's/-/_/g'`
503 eval "with_$ac_package=no" ;;
506 # Obsolete; use --with-x.
509 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
510 | --x-incl | --x-inc | --x-in | --x-i)
511 ac_prev
=x_includes
;;
512 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
513 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
514 x_includes
=$ac_optarg ;;
516 -x-libraries | --x-libraries | --x-librarie | --x-librari \
517 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
518 ac_prev
=x_libraries
;;
519 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
520 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
521 x_libraries
=$ac_optarg ;;
523 -*) { { echo "$as_me:523: error: unrecognized option: $ac_option
524 Try \`$0 --help' for more information." >&5
525 echo "$as_me: error: unrecognized option: $ac_option
526 Try \`$0 --help' for more information." >&2;}
527 { (exit 1); exit 1; }; }
531 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
532 # Reject names that are not valid shell variable names.
533 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev
/null
&&
534 { { echo "$as_me:534: error: invalid variable name: $ac_envvar" >&5
535 echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
536 { (exit 1); exit 1; }; }
537 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
538 eval "$ac_envvar='$ac_optarg'"
542 # FIXME: should be removed in autoconf 3.0.
543 { echo "$as_me:543: WARNING: you should use --build, --host, --target" >&5
544 echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
545 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev
/null
&&
546 { echo "$as_me:546: WARNING: invalid host type: $ac_option" >&5
547 echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
548 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
554 if test -n "$ac_prev"; then
555 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
556 { { echo "$as_me:556: error: missing argument to $ac_option" >&5
557 echo "$as_me: error: missing argument to $ac_option" >&2;}
558 { (exit 1); exit 1; }; }
561 # Be sure to have absolute paths.
562 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
563 localstatedir libdir includedir oldincludedir infodir mandir \
566 eval ac_val
=$
`echo $ac_var`
568 [\\/$
]* | ?
:[\\/]* ) ;;
570 *) { { echo "$as_me:570: error: expected an absolute path for --$ac_var: $ac_val" >&5
571 echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
572 { (exit 1); exit 1; }; };;
576 # There might be people who depend on the old broken behavior: `$host'
577 # used to hold the argument of --host etc.
582 # FIXME: should be removed in autoconf 3.0.
583 if test "x$host_alias" != x
; then
584 if test "x$build_alias" = x
; then
585 cross_compiling
=maybe
586 { echo "$as_me:586: WARNING: If you wanted to set the --build type, don't use --host.
587 If a cross compiler is detected then cross compile mode will be used." >&5
588 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
589 If a cross compiler is detected then cross compile mode will be used." >&2;}
590 elif test "x$build_alias" != "x$host_alias"; then
596 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
598 test "$silent" = yes && exec 6>/dev
/null
600 # Find the source files, if location was not specified.
601 if test -z "$srcdir"; then
602 ac_srcdir_defaulted
=yes
603 # Try the directory containing this script, then its parent.
605 ac_confdir
=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
606 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
608 if test ! -r $srcdir/$ac_unique_file; then
612 ac_srcdir_defaulted
=no
614 if test ! -r $srcdir/$ac_unique_file; then
615 if test "$ac_srcdir_defaulted" = yes; then
616 { { echo "$as_me:616: error: cannot find sources in $ac_confdir or .." >&5
617 echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
618 { (exit 1); exit 1; }; }
620 { { echo "$as_me:620: error: cannot find sources in $srcdir" >&5
621 echo "$as_me: error: cannot find sources in $srcdir" >&2;}
622 { (exit 1); exit 1; }; }
625 srcdir
=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
626 ac_env_build_alias_set
=${build_alias+set}
627 ac_env_build_alias_value
=$build_alias
628 ac_cv_env_build_alias_set
=${build_alias+set}
629 ac_cv_env_build_alias_value
=$build_alias
630 ac_env_host_alias_set
=${host_alias+set}
631 ac_env_host_alias_value
=$host_alias
632 ac_cv_env_host_alias_set
=${host_alias+set}
633 ac_cv_env_host_alias_value
=$host_alias
634 ac_env_target_alias_set
=${target_alias+set}
635 ac_env_target_alias_value
=$target_alias
636 ac_cv_env_target_alias_set
=${target_alias+set}
637 ac_cv_env_target_alias_value
=$target_alias
638 ac_env_CC_set
=${CC+set}
640 ac_cv_env_CC_set
=${CC+set}
641 ac_cv_env_CC_value
=$CC
642 ac_env_CFLAGS_set
=${CFLAGS+set}
643 ac_env_CFLAGS_value
=$CFLAGS
644 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
645 ac_cv_env_CFLAGS_value
=$CFLAGS
646 ac_env_LDFLAGS_set
=${LDFLAGS+set}
647 ac_env_LDFLAGS_value
=$LDFLAGS
648 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
649 ac_cv_env_LDFLAGS_value
=$LDFLAGS
650 ac_env_CPP_set
=${CPP+set}
651 ac_env_CPP_value
=$CPP
652 ac_cv_env_CPP_set
=${CPP+set}
653 ac_cv_env_CPP_value
=$CPP
654 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
655 ac_env_CPPFLAGS_value
=$CPPFLAGS
656 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
657 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
660 # Report the --help message.
662 if test "$ac_init_help" = "long"; then
663 # Omit some internal or obsolete options to make the list less imposing.
664 # This message is too long to be a string in the A/UX 3.1 sh.
666 \`configure' configures this package to adapt to many kinds of systems.
668 Usage: $0 [OPTION]... [VAR=VALUE]...
670 To assign environment variables (e.g., CC, CFLAGS...), specify them as
671 VAR=VALUE. See below for descriptions of some of the useful variables.
673 Defaults for the options are specified in brackets.
676 -h, --help display this help and exit
677 --help=short display options specific to this package
678 --help=recursive display the short help of all the included packages
679 -V, --version display version information and exit
680 -q, --quiet, --silent do not print \`checking...' messages
681 --cache-file=FILE cache test results in FILE [disabled]
682 -C, --config-cache alias for \`--cache-file=config.cache'
683 -n, --no-create do not create output files
684 --srcdir=DIR find the sources in DIR [configure dir or \`..']
689 Installation directories:
690 --prefix=PREFIX install architecture-independent files in PREFIX
692 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
695 By default, \`make install' will install all the files in
696 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
697 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
698 for instance \`--prefix=\$HOME'.
700 For better control, use the options below.
702 Fine tuning of the installation directories:
703 --bindir=DIR user executables [EPREFIX/bin]
704 --sbindir=DIR system admin executables [EPREFIX/sbin]
705 --libexecdir=DIR program executables [EPREFIX/libexec]
706 --datadir=DIR read-only architecture-independent data [PREFIX/share]
707 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
708 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
709 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
710 --libdir=DIR object code libraries [EPREFIX/lib]
711 --includedir=DIR C header files [PREFIX/include]
712 --oldincludedir=DIR C header files for non-gcc [/usr/include]
713 --infodir=DIR info documentation [PREFIX/info]
714 --mandir=DIR man documentation [PREFIX/man]
720 --program-prefix=PREFIX prepend PREFIX to installed program names
721 --program-suffix=SUFFIX append SUFFIX to installed program names
722 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
726 if test -n "$ac_init_help"; then
731 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
732 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
733 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
734 --disable-nls do not use Native Language Support
737 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
738 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
739 --with-included-gettext use the GNU
gettext library included here
740 --with-catgets use catgets functions
if available
742 Some influential environment variables
:
743 CC C compiler
command
744 CFLAGS C compiler flags
745 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
746 nonstandard directory
<lib dir
>
748 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
749 headers
in a nonstandard directory
<include dir
>
751 Use these variables to override the choices made by
`configure' or to help
752 it to find libraries and programs with nonstandard names/locations.
757 if test "$ac_init_help" = "recursive"; then
758 # If there are subdirs, report their specific --help.
760 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
762 # A "../" for each directory in /$ac_subdir.
763 ac_dots=`echo $ac_subdir |
764 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
767 .) # No --srcdir option. We are building in place.
768 ac_sub_srcdir=$srcdir ;;
769 [\\/]* | ?:[\\/]* ) # Absolute path.
770 ac_sub_srcdir=$srcdir/$ac_subdir ;;
772 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
775 # Check for guested configure; otherwise get Cygnus style configure.
776 if test -f $ac_sub_srcdir/configure.gnu; then
778 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
779 elif test -f $ac_sub_srcdir/configure; then
781 $SHELL $ac_sub_srcdir/configure --help=recursive
782 elif test -f $ac_sub_srcdir/configure.ac ||
783 test -f $ac_sub_srcdir/configure.in; then
787 { echo "$as_me:787: WARNING: no configuration information is in $ac_subdir" >&5
788 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
794 test -n "$ac_init_help" && exit 0
795 if $ac_init_version; then
798 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
799 Free Software Foundation, Inc.
800 This configure script is free software; the Free Software Foundation
801 gives unlimited permission to copy, distribute and modify it.
806 # Keep a trace of the command line.
807 # Strip out --no-create and --no-recursion so they do not pile up.
808 # Also quote any args containing shell meta-characters.
814 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
815 | --no-cr | --no-c) ;;
816 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
817 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
818 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
819 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
820 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
822 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
825 # Get rid of the leading space.
828 # When interrupted or exit'd, cleanup temporary files, and complete
829 # config.log. We remove comments because anyway the quotes in there
830 # would cause problems or look ugly.
832 # Save into config.log some information that might help in debugging.
834 echo "## ----------------- ##" >&5
835 echo "## Cache variables. ##" >&5
836 echo "## ----------------- ##" >&5
838 # The following way of writing the cache mishandles newlines in values,
841 case `(ac_space
='"'"' '"'"'; set | grep ac_space
) 2>&1` in
844 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
845 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
849 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
853 sed "/^$/d" confdefs.h >conftest.log
854 if test -s conftest.log; then
856 echo "## ------------ ##" >&5
857 echo "## confdefs.h. ##" >&5
858 echo "## ------------ ##" >&5
863 test "$ac_signal" != 0 &&
864 echo "$as_me: caught signal $ac_signal" >&5
865 echo "$as_me: exit $exit_status" >&5
866 rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
869 for ac_signal in 1 2 13 15; do
870 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
874 # confdefs.h avoids OS command line length limits that DEFS can exceed.
875 rm -rf conftest* confdefs.h
876 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
879 # Let the site file select an alternate cache file if it wants to.
880 # Prefer explicitly selected file to automatically selected ones.
881 if test -z "$CONFIG_SITE"; then
882 if test "x$prefix" != xNONE; then
883 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
885 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
888 for ac_site_file in $CONFIG_SITE; do
889 if test -r "$ac_site_file"; then
890 { echo "$as_me:890: loading site script $ac_site_file" >&5
891 echo "$as_me: loading site script $ac_site_file" >&6;}
892 cat "$ac_site_file" >&5
897 if test -r "$cache_file"; then
898 # Some versions of bash will fail to source /dev/null (special
899 # files actually), so we avoid doing that.
900 if test -f "$cache_file"; then
901 { echo "$as_me:901: loading cache $cache_file" >&5
902 echo "$as_me: loading cache $cache_file" >&6;}
904 [\\/]* | ?:[\\/]* ) . $cache_file;;
909 { echo "$as_me:909: creating cache $cache_file" >&5
910 echo "$as_me: creating cache $cache_file" >&6;}
914 # Check that the precious variables saved in the cache have kept the same
916 ac_suggest_removing_cache=false
917 for ac_var in `(set) 2>&1 |
918 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
919 eval ac_old_set=\$ac_cv_env_${ac_var}_set
920 eval ac_new_set=\$ac_env_${ac_var}_set
921 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
922 eval ac_new_val="\$ac_env_${ac_var}_value"
923 case $ac_old_set,$ac_new_set in
925 { echo "$as_me:925: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
926 echo "$as_me: WARNING
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
927 ac_suggest_removing_cache=: ;;
929 { echo "$as_me:929: WARNING: \`$ac_var' was not
set in the previous run
" >&5
930 echo "$as_me: WARNING
: \
`$ac_var' was not set in the previous run" >&2;}
931 ac_suggest_removing_cache=: ;;
934 if test "x$ac_old_val" != "x$ac_new_val"; then
935 { echo "$as_me:935: WARNING: \`$ac_var' has changed since the previous run:" >&5
936 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run
:" >&2;}
937 { echo "$as_me:937: WARNING
: former value
: $ac_old_val" >&5
938 echo "$as_me: WARNING
: former value
: $ac_old_val" >&2;}
939 { echo "$as_me:939: WARNING
: current value
: $ac_new_val" >&5
940 echo "$as_me: WARNING
: current value
: $ac_new_val" >&2;}
941 ac_suggest_removing_cache=:
945 if $ac_suggest_removing_cache; then
946 { echo "$as_me:946: WARNING
: changes
in the environment can compromise the build
" >&5
947 echo "$as_me: WARNING
: changes
in the environment can compromise the build
" >&2;}
948 { echo "$as_me:948: WARNING
: consider removing
$cache_file and starting over
" >&5
949 echo "$as_me: WARNING
: consider removing
$cache_file and starting over
" >&2;}
953 ac_cpp='$CPP $CPPFLAGS'
954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
958 case `echo "testing\c
"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
959 *c*,-n*) ECHO_N= ECHO_C='
961 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
962 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
966 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
967 if test -f $ac_dir/install-sh; then
969 ac_install_sh="$ac_aux_dir/install-sh -c"
971 elif test -f $ac_dir/install.sh; then
973 ac_install_sh="$ac_aux_dir/install.sh
-c"
975 elif test -f $ac_dir/shtool; then
977 ac_install_sh="$ac_aux_dir/shtool
install -c"
981 if test -z "$ac_aux_dir"; then
982 { { echo "$as_me:982: error
: cannot
find install-sh or
install.sh
in $srcdir $srcdir/..
$srcdir/..
/..
" >&5
983 echo "$as_me: error
: cannot
find install-sh or
install.sh
in $srcdir $srcdir/..
$srcdir/..
/..
" >&2;}
984 { (exit 1); exit 1; }; }
986 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
987 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
988 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
990 # Find a good install program. We prefer a C program (faster),
991 # so one script is as good as another. But avoid the broken or
992 # incompatible versions:
993 # SysV /etc/install, /usr/sbin/install
994 # SunOS /usr/etc/install
997 # AmigaOS /C/install, which installs bootblocks on floppy discs
998 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
999 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1000 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1001 # ./install, which can be erroneously created by make from ./install.sh.
1002 echo "$as_me:1002: checking
for a BSD compatible
install" >&5
1003 echo $ECHO_N "checking
for a BSD compatible
install...
$ECHO_C" >&6
1004 if test -z "$INSTALL"; then
1005 if test "${ac_cv_path_install+set}" = set; then
1006 echo $ECHO_N "(cached
) $ECHO_C" >&6
1008 ac_save_IFS=$IFS; IFS=':'
1009 for ac_dir in $PATH; do
1010 # Account for people who put trailing slashes in PATH elements.
1012 / | ./ | .// | /cC/* \
1013 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1016 # OSF1 and SCO ODT 3.0 have their own names for install.
1017 # Don't use installbsd from OSF since it installs stuff as root
1019 for ac_prog in ginstall scoinst install; do
1020 if test -f "$ac_dir/$ac_prog"; then
1021 if test $ac_prog = install &&
1022 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1023 # AIX install. It has an incompatible calling convention.
1025 elif test $ac_prog = install &&
1026 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1027 # program-specific install script used by HP pwplus--don't use.
1030 ac_cv_path_install="$ac_dir/$ac_prog -c"
1041 if test "${ac_cv_path_install+set}" = set; then
1042 INSTALL=$ac_cv_path_install
1044 # As a last resort, use the slow shell script. We don't cache a
1045 # path for INSTALL within a source directory, because that will
1046 # break other packages using the cache if that directory is
1047 # removed, or if the path is relative.
1048 INSTALL=$ac_install_sh
1051 echo "$as_me:1051: result
: $INSTALL" >&5
1052 echo "${ECHO_T}$INSTALL" >&6
1054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1055 # It thinks the first close brace ends the variable substitution.
1056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1060 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1062 echo "$as_me:1062: checking whether build environment is sane
" >&5
1063 echo $ECHO_N "checking whether build environment is sane...
$ECHO_C" >&6
1066 echo timestamp > conftestfile
1067 # Do `set' in a subshell so we don't clobber the current shell's
1068 # arguments. Must try -L first in case configure is actually a
1069 # symlink; some systems play weird games with the mod time of symlinks
1070 # (eg FreeBSD returns the mod time of the symlink's containing
1073 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1074 if test "$
*" = "X
"; then
1076 set X `ls -t $srcdir/configure conftestfile`
1078 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1079 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1081 # If neither matched, then we have a broken ls. This can happen
1082 # if, for instance, CONFIG_SHELL is bash and it inherits a
1083 # broken ls alias from the environment. This has actually
1084 # happened. Such a system could not be considered "sane
".
1085 { { echo "$as_me:1085: error
: ls -t appears to fail. Make sure there is not a broken
1086 alias in your environment
" >&5
1087 echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
1088 alias in your environment
" >&2;}
1089 { (exit 1); exit 1; }; }
1092 test "$2" = conftestfile
1098 { { echo "$as_me:1098: error
: newly created
file is older than distributed files
!
1099 Check your system
clock" >&5
1100 echo "$as_me: error
: newly created
file is older than distributed files
!
1101 Check your system
clock" >&2;}
1102 { (exit 1); exit 1; }; }
1105 echo "$as_me:1105: result
: yes" >&5
1106 echo "${ECHO_T}yes" >&6
1107 if test "$program_transform_name" = s,x,x,; then
1108 program_transform_name=
1110 # Double any \ or $. echo might interpret backslashes.
1111 cat <<\EOF >conftest.sed
1112 s,\\,\\\\,g; s,\$,$$,g
1114 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1117 test "$program_prefix" != NONE &&
1118 program_transform_name="s
,^
,${program_prefix},;$program_transform_name"
1119 # Use a double $ so make ignores it.
1120 test "$program_suffix" != NONE &&
1121 program_transform_name="s
,\$\$
,${program_suffix},;$program_transform_name"
1123 # sed with no file args requires a program.
1124 test -z "$program_transform_name" && program_transform_name="s
,x
,x
,"
1126 echo "$as_me:1126: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1127 echo $ECHO_N "checking whether
${MAKE-make} sets \
${MAKE}...
$ECHO_C" >&6
1128 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1129 if eval "test \"\
${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1130 echo $ECHO_N "(cached
) $ECHO_C" >&6
1132 cat >conftest.make <<\EOF
1134 @echo 'ac_maketemp="${MAKE}"'
1136 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1137 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1138 if test -n "$ac_maketemp"; then
1139 eval ac_cv_prog_make_${ac_make}_set=yes
1141 eval ac_cv_prog_make_${ac_make}_set=no
1145 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1146 echo "$as_me:1146: result
: yes" >&5
1147 echo "${ECHO_T}yes" >&6
1150 echo "$as_me:1150: result
: no
" >&5
1151 echo "${ECHO_T}no
" >&6
1152 SET_MAKE="MAKE
=${MAKE-make}"
1159 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1160 { { echo "$as_me:1160: error
: source directory already configured
; run
\"make distclean
\" there first
" >&5
1161 echo "$as_me: error
: source directory already configured
; run
\"make distclean
\" there first
" >&2;}
1162 { (exit 1); exit 1; }; }
1165 cat >>confdefs.h <<EOF
1166 #define PACKAGE "$PACKAGE"
1169 cat >>confdefs.h <<EOF
1170 #define VERSION "$VERSION"
1173 missing_dir=`cd $ac_aux_dir && pwd`
1174 echo "$as_me:1174: checking
for working aclocal
" >&5
1175 echo $ECHO_N "checking
for working aclocal...
$ECHO_C" >&6
1176 # Run test in a subshell; some versions of sh will print an error if
1177 # an executable is not found, even if stderr is redirected.
1178 # Redirect stdin to placate older versions of autoconf. Sigh.
1179 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1181 echo "$as_me:1181: result
: found
" >&5
1182 echo "${ECHO_T}found
" >&6
1184 ACLOCAL="$missing_dir/missing aclocal
"
1185 echo "$as_me:1185: result
: missing
" >&5
1186 echo "${ECHO_T}missing
" >&6
1189 echo "$as_me:1189: checking
for working autoconf
" >&5
1190 echo $ECHO_N "checking
for working autoconf...
$ECHO_C" >&6
1191 # Run test in a subshell; some versions of sh will print an error if
1192 # an executable is not found, even if stderr is redirected.
1193 # Redirect stdin to placate older versions of autoconf. Sigh.
1194 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1196 echo "$as_me:1196: result
: found
" >&5
1197 echo "${ECHO_T}found
" >&6
1199 AUTOCONF="$missing_dir/missing autoconf
"
1200 echo "$as_me:1200: result
: missing
" >&5
1201 echo "${ECHO_T}missing
" >&6
1204 echo "$as_me:1204: checking
for working automake
" >&5
1205 echo $ECHO_N "checking
for working automake...
$ECHO_C" >&6
1206 # Run test in a subshell; some versions of sh will print an error if
1207 # an executable is not found, even if stderr is redirected.
1208 # Redirect stdin to placate older versions of autoconf. Sigh.
1209 if (automake --version) < /dev/null > /dev/null 2>&1; then
1211 echo "$as_me:1211: result
: found
" >&5
1212 echo "${ECHO_T}found
" >&6
1214 AUTOMAKE="$missing_dir/missing automake
"
1215 echo "$as_me:1215: result
: missing
" >&5
1216 echo "${ECHO_T}missing
" >&6
1219 echo "$as_me:1219: checking
for working autoheader
" >&5
1220 echo $ECHO_N "checking
for working autoheader...
$ECHO_C" >&6
1221 # Run test in a subshell; some versions of sh will print an error if
1222 # an executable is not found, even if stderr is redirected.
1223 # Redirect stdin to placate older versions of autoconf. Sigh.
1224 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1225 AUTOHEADER=autoheader
1226 echo "$as_me:1226: result
: found
" >&5
1227 echo "${ECHO_T}found
" >&6
1229 AUTOHEADER="$missing_dir/missing autoheader
"
1230 echo "$as_me:1230: result
: missing
" >&5
1231 echo "${ECHO_T}missing
" >&6
1234 echo "$as_me:1234: checking
for working makeinfo
" >&5
1235 echo $ECHO_N "checking
for working makeinfo...
$ECHO_C" >&6
1236 # Run test in a subshell; some versions of sh will print an error if
1237 # an executable is not found, even if stderr is redirected.
1238 # Redirect stdin to placate older versions of autoconf. Sigh.
1239 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1241 echo "$as_me:1241: result
: found
" >&5
1242 echo "${ECHO_T}found
" >&6
1244 MAKEINFO="$missing_dir/missing makeinfo
"
1245 echo "$as_me:1245: result
: missing
" >&5
1246 echo "${ECHO_T}missing
" >&6
1249 ac_config_headers="$ac_config_headers config.h
:config.hin
"
1251 ac_config_commands="$ac_config_commands default
-1"
1253 # Initialize the test suite.
1256 # Try to be compatible with both Autoconf 2.13 and 2.50.
1257 if test -z "$ECHO_C$ECHO_N$ECHO_T"; then
1264 # Checks for programs.
1266 ac_cpp='$CPP $CPPFLAGS'
1267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1270 if test -n "$ac_tool_prefix"; then
1271 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1273 echo "$as_me:1273: checking
for $ac_word" >&5
1274 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1275 if test "${ac_cv_prog_CC+set}" = set; then
1276 echo $ECHO_N "(cached
) $ECHO_C" >&6
1278 if test -n "$CC"; then
1279 ac_cv_prog_CC="$CC" # Let the user override the test.
1281 ac_save_IFS=$IFS; IFS=':'
1283 for ac_dir in $ac_dummy; do
1285 test -z "$ac_dir" && ac_dir=.
1286 $as_executable_p "$ac_dir/$ac_word" || continue
1287 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1294 if test -n "$CC"; then
1295 echo "$as_me:1295: result
: $CC" >&5
1296 echo "${ECHO_T}$CC" >&6
1298 echo "$as_me:1298: result
: no
" >&5
1299 echo "${ECHO_T}no
" >&6
1303 if test -z "$ac_cv_prog_CC"; then
1305 # Extract the first word of "gcc
", so it can be a program name with args.
1306 set dummy gcc; ac_word=$2
1307 echo "$as_me:1307: checking
for $ac_word" >&5
1308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1310 echo $ECHO_N "(cached
) $ECHO_C" >&6
1312 if test -n "$ac_ct_CC"; then
1313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1315 ac_save_IFS=$IFS; IFS=':'
1317 for ac_dir in $ac_dummy; do
1319 test -z "$ac_dir" && ac_dir=.
1320 $as_executable_p "$ac_dir/$ac_word" || continue
1321 ac_cv_prog_ac_ct_CC="gcc
"
1327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1328 if test -n "$ac_ct_CC"; then
1329 echo "$as_me:1329: result
: $ac_ct_CC" >&5
1330 echo "${ECHO_T}$ac_ct_CC" >&6
1332 echo "$as_me:1332: result
: no
" >&5
1333 echo "${ECHO_T}no
" >&6
1341 if test -z "$CC"; then
1342 if test -n "$ac_tool_prefix"; then
1343 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1344 set dummy ${ac_tool_prefix}cc; ac_word=$2
1345 echo "$as_me:1345: checking
for $ac_word" >&5
1346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1347 if test "${ac_cv_prog_CC+set}" = set; then
1348 echo $ECHO_N "(cached
) $ECHO_C" >&6
1350 if test -n "$CC"; then
1351 ac_cv_prog_CC="$CC" # Let the user override the test.
1353 ac_save_IFS=$IFS; IFS=':'
1355 for ac_dir in $ac_dummy; do
1357 test -z "$ac_dir" && ac_dir=.
1358 $as_executable_p "$ac_dir/$ac_word" || continue
1359 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1366 if test -n "$CC"; then
1367 echo "$as_me:1367: result
: $CC" >&5
1368 echo "${ECHO_T}$CC" >&6
1370 echo "$as_me:1370: result
: no
" >&5
1371 echo "${ECHO_T}no
" >&6
1375 if test -z "$ac_cv_prog_CC"; then
1377 # Extract the first word of "cc
", so it can be a program name with args.
1378 set dummy cc; ac_word=$2
1379 echo "$as_me:1379: checking
for $ac_word" >&5
1380 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1382 echo $ECHO_N "(cached
) $ECHO_C" >&6
1384 if test -n "$ac_ct_CC"; then
1385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1387 ac_save_IFS=$IFS; IFS=':'
1389 for ac_dir in $ac_dummy; do
1391 test -z "$ac_dir" && ac_dir=.
1392 $as_executable_p "$ac_dir/$ac_word" || continue
1393 ac_cv_prog_ac_ct_CC="cc
"
1399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1400 if test -n "$ac_ct_CC"; then
1401 echo "$as_me:1401: result
: $ac_ct_CC" >&5
1402 echo "${ECHO_T}$ac_ct_CC" >&6
1404 echo "$as_me:1404: result
: no
" >&5
1405 echo "${ECHO_T}no
" >&6
1414 if test -z "$CC"; then
1415 # Extract the first word of "cc
", so it can be a program name with args.
1416 set dummy cc; ac_word=$2
1417 echo "$as_me:1417: checking
for $ac_word" >&5
1418 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1419 if test "${ac_cv_prog_CC+set}" = set; then
1420 echo $ECHO_N "(cached
) $ECHO_C" >&6
1422 if test -n "$CC"; then
1423 ac_cv_prog_CC="$CC" # Let the user override the test.
1426 ac_save_IFS=$IFS; IFS=':'
1428 for ac_dir in $ac_dummy; do
1430 test -z "$ac_dir" && ac_dir=.
1431 $as_executable_p "$ac_dir/$ac_word" || continue
1432 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1433 ac_prog_rejected=yes
1440 if test $ac_prog_rejected = yes; then
1441 # We found a bogon in the path, so make sure we never use it.
1442 set dummy $ac_cv_prog_CC
1444 if test $# != 0; then
1445 # We chose a different compiler from the bogus one.
1446 # However, it has the same basename, so the bogon will be chosen
1447 # first if we set CC to just the basename; use the full file name.
1449 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1457 if test -n "$CC"; then
1458 echo "$as_me:1458: result
: $CC" >&5
1459 echo "${ECHO_T}$CC" >&6
1461 echo "$as_me:1461: result
: no
" >&5
1462 echo "${ECHO_T}no
" >&6
1466 if test -z "$CC"; then
1467 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1472 echo "$as_me:1472: checking
for $ac_word" >&5
1473 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1474 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached
) $ECHO_C" >&6
1477 if test -n "$CC"; then
1478 ac_cv_prog_CC="$CC" # Let the user override the test.
1480 ac_save_IFS=$IFS; IFS=':'
1482 for ac_dir in $ac_dummy; do
1484 test -z "$ac_dir" && ac_dir=.
1485 $as_executable_p "$ac_dir/$ac_word" || continue
1486 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1493 if test -n "$CC"; then
1494 echo "$as_me:1494: result
: $CC" >&5
1495 echo "${ECHO_T}$CC" >&6
1497 echo "$as_me:1497: result
: no
" >&5
1498 echo "${ECHO_T}no
" >&6
1501 test -n "$CC" && break
1504 if test -z "$CC"; then
1508 # Extract the first word of "$ac_prog", so it can be a program name with args.
1509 set dummy $ac_prog; ac_word=$2
1510 echo "$as_me:1510: checking
for $ac_word" >&5
1511 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached
) $ECHO_C" >&6
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1518 ac_save_IFS=$IFS; IFS=':'
1520 for ac_dir in $ac_dummy; do
1522 test -z "$ac_dir" && ac_dir=.
1523 $as_executable_p "$ac_dir/$ac_word" || continue
1524 ac_cv_prog_ac_ct_CC="$ac_prog"
1530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1531 if test -n "$ac_ct_CC"; then
1532 echo "$as_me:1532: result
: $ac_ct_CC" >&5
1533 echo "${ECHO_T}$ac_ct_CC" >&6
1535 echo "$as_me:1535: result
: no
" >&5
1536 echo "${ECHO_T}no
" >&6
1539 test -n "$ac_ct_CC" && break
1547 test -z "$CC" && { { echo "$as_me:1547: error
: no acceptable cc found
in \
$PATH" >&5
1548 echo "$as_me: error
: no acceptable cc found
in \
$PATH" >&2;}
1549 { (exit 1); exit 1; }; }
1551 echo "$as_me:1551: checking
for object suffix
" >&5
1552 echo $ECHO_N "checking
for object suffix...
$ECHO_C" >&6
1553 if test "${ac_cv_objext+set}" = set; then
1554 echo $ECHO_N "(cached
) $ECHO_C" >&6
1556 cat >conftest.$ac_ext <<_ACEOF
1557 #line 1557 "configure
"
1558 #include "confdefs.h
"
1568 rm -f conftest.o conftest.obj
1569 if { (eval echo "$as_me:1569: \"$ac_compile\"") >&5
1570 (eval $ac_compile) 2>&5
1572 echo "$as_me:1572: \$?
= $ac_status" >&5
1573 (exit $ac_status); }; then
1574 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1582 echo "$as_me: failed program was
:" >&5
1583 cat conftest.$ac_ext >&5
1584 { { echo "$as_me:1584: error
: cannot compute OBJEXT
: cannot compile
" >&5
1585 echo "$as_me: error
: cannot compute OBJEXT
: cannot compile
" >&2;}
1586 { (exit 1); exit 1; }; }
1589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1591 echo "$as_me:1591: result
: $ac_cv_objext" >&5
1592 echo "${ECHO_T}$ac_cv_objext" >&6
1593 OBJEXT=$ac_cv_objext
1595 echo "$as_me:1595: checking
for executable suffix
" >&5
1596 echo $ECHO_N "checking
for executable suffix...
$ECHO_C" >&6
1597 if test "${ac_cv_exeext+set}" = set; then
1598 echo $ECHO_N "(cached
) $ECHO_C" >&6
1600 cat >conftest.$ac_ext <<_ACEOF
1601 #line 1601 "configure
"
1602 #include "confdefs.h
"
1612 # Try without -o first, disregard a.out.
1613 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1614 if { (eval echo "$as_me:1614: \"$ac_link_default\"") >&5
1615 (eval $ac_link_default) 2>&5
1617 echo "$as_me:1617: \$?
= $ac_status" >&5
1618 (exit $ac_status); }; then
1619 for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1621 *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1622 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1629 echo "$as_me: failed program was
:" >&5
1630 cat conftest.$ac_ext >&5
1633 rm -f a.out a.exe conftest$ac_cv_exeext
1635 # We have not set ac_exeext yet which is needed by `ac_link'.
1636 ac_exeext=$ac_cv_exeext
1637 if { (eval echo "$as_me:1637: \"$ac_link\"") >&5
1638 (eval $ac_link) 2>&5
1640 echo "$as_me:1640: \$?
= $ac_status" >&5
1641 (exit $ac_status); }; then
1642 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1643 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1644 # work properly (i.e., refer to `conftest.exe'), while it won't with
1646 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1648 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1649 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1656 { { echo "$as_me:1656: error
: cannot compute EXEEXT
: cannot compile and link
" >&5
1657 echo "$as_me: error
: cannot compute EXEEXT
: cannot compile and link
" >&2;}
1658 { (exit 1); exit 1; }; }
1661 rm -f conftest.$ac_ext conftest$ac_cv_exeext
1664 echo "$as_me:1664: result
: $ac_cv_exeext" >&5
1665 echo "${ECHO_T}$ac_cv_exeext" >&6
1666 EXEEXT=$ac_cv_exeext
1668 echo "$as_me:1668: checking whether the C compiler works
" >&5
1669 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1670 cat >conftest.$ac_ext <<_ACEOF
1671 #line 1671 "configure
"
1672 #include "confdefs.h
"
1682 rm -f conftest.$ac_objext conftest$ac_exeext
1683 if { (eval echo "$as_me:1683: \"$ac_link\"") >&5
1684 (eval $ac_link) 2>&5
1686 echo "$as_me:1686: \$?
= $ac_status" >&5
1687 (exit $ac_status); } &&
1688 { ac_try='test -s conftest$ac_exeext'; { (eval echo "$as_me:1688: \"$ac_try\"") >&5
1691 echo "$as_me:1691: \$?
= $ac_status" >&5
1692 (exit $ac_status); }; }; then
1693 # FIXME: these cross compiler hacks should be removed for autoconf 3.0
1694 # If not cross compiling, check that we can run a simple program.
1695 if test "$cross_compiling" != yes; then
1696 if { ac_try='./conftest$ac_exeext'; { (eval echo "$as_me:1696: \"$ac_try\"") >&5
1699 echo "$as_me:1699: \$?
= $ac_status" >&5
1700 (exit $ac_status); }; }; then
1703 if test "$cross_compiling" = maybe; then
1706 { { echo "$as_me:1706: error
: cannot run C compiled programs.
1707 To
enable cross compilation
, use \
`--host'." >&5
1708 echo "$as_me: error: cannot run C compiled programs.
1709 To enable cross compilation, use \`--host'." >&2;}
1710 { (exit 1); exit 1; }; }
1714 echo "$as_me:1714: result: yes" >&5
1715 echo "${ECHO_T}yes" >&6
1717 echo "$as_me: failed program was:" >&5
1718 cat conftest.$ac_ext >&5
1719 echo "$as_me:1719: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1721 { { echo "$as_me:1721: error: C compiler cannot create executables" >&5
1722 echo "$as_me: error: C compiler cannot create executables" >&2;}
1723 { (exit 77); exit 77; }; }
1725 rm -f conftest$ac_exeext conftest.$ac_ext
1726 echo "$as_me:1726: checking whether we are cross compiling" >&5
1727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1728 echo "$as_me:1728: result: $cross_compiling" >&5
1729 echo "${ECHO_T}$cross_compiling" >&6
1731 echo "$as_me:1731: checking whether we are using the GNU C compiler" >&5
1732 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1733 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 cat >conftest.$ac_ext <<_ACEOF
1737 #line 1737 "configure"
1738 #include "confdefs.h"
1751 rm -f conftest.$ac_objext
1752 if { (eval echo "$as_me:1752: \"$ac_compile\"") >&5
1753 (eval $ac_compile) 2>&5
1755 echo "$as_me:1755: \$? = $ac_status" >&5
1756 (exit $ac_status); } &&
1757 { ac_try='test -s conftest.
$ac_objext'; { (eval echo "$as_me:1757: \"$ac_try\"") >&5
1760 echo "$as_me:1760: \$? = $ac_status" >&5
1761 (exit $ac_status); }; }; then
1764 echo "$as_me: failed program was:" >&5
1765 cat conftest.$ac_ext >&5
1768 rm -f conftest.$ac_objext conftest.$ac_ext
1769 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1772 echo "$as_me:1772: result: $ac_cv_c_compiler_gnu" >&5
1773 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1774 GCC=`test $ac_compiler_gnu = yes && echo yes`
1775 ac_test_CFLAGS=${CFLAGS+set}
1776 ac_save_CFLAGS=$CFLAGS
1778 echo "$as_me:1778: checking whether $CC accepts -g" >&5
1779 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1780 if test "${ac_cv_prog_cc_g+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 cat >conftest.$ac_ext <<_ACEOF
1784 #line 1784 "configure"
1785 #include "confdefs.h"
1795 rm -f conftest.$ac_objext
1796 if { (eval echo "$as_me:1796: \"$ac_compile\"") >&5
1797 (eval $ac_compile) 2>&5
1799 echo "$as_me:1799: \$? = $ac_status" >&5
1800 (exit $ac_status); } &&
1801 { ac_try='test -s conftest.
$ac_objext'; { (eval echo "$as_me:1801: \"$ac_try\"") >&5
1804 echo "$as_me:1804: \$? = $ac_status" >&5
1805 (exit $ac_status); }; }; then
1808 echo "$as_me: failed program was:" >&5
1809 cat conftest.$ac_ext >&5
1812 rm -f conftest.$ac_objext conftest.$ac_ext
1814 echo "$as_me:1814: result: $ac_cv_prog_cc_g" >&5
1815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1816 if test "$ac_test_CFLAGS" = set; then
1817 CFLAGS=$ac_save_CFLAGS
1818 elif test $ac_cv_prog_cc_g = yes; then
1819 if test "$GCC" = yes; then
1825 if test "$GCC" = yes; then
1831 # Some people use a C++ compiler to compile C. Since we use `exit',
1832 # in C++ we need to declare it. In case someone uses the same compiler
1833 # for both compiling C and C++ we need to have the C++ compiler decide
1834 # the declaration of exit, since it's the most demanding environment.
1835 cat >conftest.
$ac_ext <<_ACEOF
1840 rm -f conftest.
$ac_objext
1841 if { (eval echo "$as_me:1841: \"$ac_compile\"") >&5
1842 (eval $ac_compile) 2>&5
1844 echo "$as_me:1844: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:1846: \"$ac_try\"") >&5
1849 echo "$as_me:1849: \$? = $ac_status" >&5
1850 (exit $ac_status); }; }; then
1851 for ac_declaration
in \
1853 '#include <stdlib.h>' \
1854 'extern "C" void std::exit (int) throw (); using std::exit;' \
1855 'extern "C" void std::exit (int); using std::exit;' \
1856 'extern "C" void exit (int) throw ();' \
1857 'extern "C" void exit (int);' \
1860 cat >conftest.
$ac_ext <<_ACEOF
1861 #line 1861 "configure"
1862 #include "confdefs.h"
1873 rm -f conftest.
$ac_objext
1874 if { (eval echo "$as_me:1874: \"$ac_compile\"") >&5
1875 (eval $ac_compile) 2>&5
1877 echo "$as_me:1877: \$? = $ac_status" >&5
1878 (exit $ac_status); } &&
1879 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:1879: \"$ac_try\"") >&5
1882 echo "$as_me:1882: \$? = $ac_status" >&5
1883 (exit $ac_status); }; }; then
1886 echo "$as_me: failed program was:" >&5
1887 cat conftest.
$ac_ext >&5
1890 rm -f conftest.
$ac_objext conftest.
$ac_ext
1891 cat >conftest.
$ac_ext <<_ACEOF
1892 #line 1892 "configure"
1893 #include "confdefs.h"
1903 rm -f conftest.
$ac_objext
1904 if { (eval echo "$as_me:1904: \"$ac_compile\"") >&5
1905 (eval $ac_compile) 2>&5
1907 echo "$as_me:1907: \$? = $ac_status" >&5
1908 (exit $ac_status); } &&
1909 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:1909: \"$ac_try\"") >&5
1912 echo "$as_me:1912: \$? = $ac_status" >&5
1913 (exit $ac_status); }; }; then
1916 echo "$as_me: failed program was:" >&5
1917 cat conftest.
$ac_ext >&5
1919 rm -f conftest.
$ac_objext conftest.
$ac_ext
1921 echo '#ifdef __cplusplus' >>confdefs.h
1922 echo $ac_declaration >>confdefs.h
1923 echo '#endif' >>confdefs.h
1926 echo "$as_me: failed program was:" >&5
1927 cat conftest.
$ac_ext >&5
1929 rm -f conftest.
$ac_objext conftest.
$ac_ext
1931 ac_cpp
='$CPP $CPPFLAGS'
1932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1937 ac_cpp
='$CPP $CPPFLAGS'
1938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1941 echo "$as_me:1941: checking how to run the C preprocessor" >&5
1942 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1943 # On Suns, sometimes $CPP names a directory.
1944 if test -n "$CPP" && test -d "$CPP"; then
1947 if test -z "$CPP"; then
1948 if test "${ac_cv_prog_CPP+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 # Double quotes because CPP needs to be expanded
1952 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1954 # Use a header file that comes with gcc, so configuring glibc
1955 # with a fresh cross-compiler works.
1956 # On the NeXT, cc -E runs the code through the compiler's parser,
1957 # not just through cpp. "Syntax error" is here to catch this case.
1958 ac_c_preproc_warn_flag
=maybe
1959 cat >conftest.
$ac_ext <<_ACEOF
1960 #line 1960 "configure"
1961 #include "confdefs.h"
1965 if { (eval echo "$as_me:1965: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
1966 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
1968 egrep -v '^ *\+' conftest.er1
>conftest.err
1970 cat conftest.err
>&5
1971 echo "$as_me:1971: \$? = $ac_status" >&5
1972 (exit $ac_status); }; then
1973 if test -s conftest.err
; then
1974 ac_cpp_err
=$ac_c_preproc_warn_flag
1981 if test -z "$ac_cpp_err"; then
1982 # Now check whether non-existent headers can be detected and how
1983 # Skip if ac_cpp_err is not empty - ac_cpp is broken
1984 if test -z "$ac_cpp_err"; then
1985 cat >conftest.
$ac_ext <<_ACEOF
1986 #line 1986 "configure"
1987 #include "confdefs.h"
1988 #include <ac_nonexistent.h>
1990 if { (eval echo "$as_me:1990: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
1991 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
1993 egrep -v '^ *\+' conftest.er1
>conftest.err
1995 cat conftest.err
>&5
1996 echo "$as_me:1996: \$? = $ac_status" >&5
1997 (exit $ac_status); }; then
1998 if test -s conftest.err
; then
1999 ac_cpp_err
=$ac_c_preproc_warn_flag
2006 if test -z "$ac_cpp_err"; then
2007 # cannot detect missing includes at all
2010 echo "$as_me: failed program was:" >&5
2011 cat conftest.
$ac_ext >&5
2012 if test "x$ac_cpp_err" = xmaybe
; then
2013 ac_c_preproc_warn_flag
=yes
2015 ac_c_preproc_warn_flag
=
2019 rm -f conftest.err conftest.
$ac_ext
2022 echo "$as_me: failed program was:" >&5
2023 cat conftest.
$ac_ext >&5
2026 rm -f conftest.err conftest.
$ac_ext
2027 if test -z "$ac_cpp_err"; then
2036 # Use a header file that comes with gcc, so configuring glibc
2037 # with a fresh cross-compiler works.
2038 # On the NeXT, cc -E runs the code through the compiler's parser,
2039 # not just through cpp. "Syntax error" is here to catch this case.
2040 ac_c_preproc_warn_flag
=maybe
2041 cat >conftest.
$ac_ext <<_ACEOF
2042 #line 2042 "configure"
2043 #include "confdefs.h"
2047 if { (eval echo "$as_me:2047: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2048 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2050 egrep -v '^ *\+' conftest.er1
>conftest.err
2052 cat conftest.err
>&5
2053 echo "$as_me:2053: \$? = $ac_status" >&5
2054 (exit $ac_status); }; then
2055 if test -s conftest.err
; then
2056 ac_cpp_err
=$ac_c_preproc_warn_flag
2063 if test -z "$ac_cpp_err"; then
2064 # Now check whether non-existent headers can be detected and how
2065 # Skip if ac_cpp_err is not empty - ac_cpp is broken
2066 if test -z "$ac_cpp_err"; then
2067 cat >conftest.
$ac_ext <<_ACEOF
2068 #line 2068 "configure"
2069 #include "confdefs.h"
2070 #include <ac_nonexistent.h>
2072 if { (eval echo "$as_me:2072: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2073 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2075 egrep -v '^ *\+' conftest.er1
>conftest.err
2077 cat conftest.err
>&5
2078 echo "$as_me:2078: \$? = $ac_status" >&5
2079 (exit $ac_status); }; then
2080 if test -s conftest.err
; then
2081 ac_cpp_err
=$ac_c_preproc_warn_flag
2088 if test -z "$ac_cpp_err"; then
2089 # cannot detect missing includes at all
2092 echo "$as_me: failed program was:" >&5
2093 cat conftest.
$ac_ext >&5
2094 if test "x$ac_cpp_err" = xmaybe
; then
2095 ac_c_preproc_warn_flag
=yes
2097 ac_c_preproc_warn_flag
=
2101 rm -f conftest.err conftest.
$ac_ext
2104 echo "$as_me: failed program was:" >&5
2105 cat conftest.
$ac_ext >&5
2108 rm -f conftest.err conftest.
$ac_ext
2111 echo "$as_me:2111: result: $CPP" >&5
2112 echo "${ECHO_T}$CPP" >&6
2113 if test -n "$ac_cpp_err"; then
2114 { { echo "$as_me:2114: error: C preprocessor \"$CPP\" fails sanity check" >&5
2115 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2116 { (exit 1); exit 1; }; }
2119 ac_cpp
='$CPP $CPPFLAGS'
2120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2124 echo "$as_me:2124: checking for minix/config.h" >&5
2125 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2126 if test "${ac_cv_header_minix_config_h+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 cat >conftest.
$ac_ext <<_ACEOF
2130 #line 2130 "configure"
2131 #include "confdefs.h"
2132 #include <minix/config.h>
2134 if { (eval echo "$as_me:2134: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2135 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2137 egrep -v '^ *\+' conftest.er1
>conftest.err
2139 cat conftest.err
>&5
2140 echo "$as_me:2140: \$? = $ac_status" >&5
2141 (exit $ac_status); }; then
2142 if test -s conftest.err
; then
2143 ac_cpp_err
=$ac_c_preproc_warn_flag
2150 if test -z "$ac_cpp_err"; then
2151 ac_cv_header_minix_config_h
=yes
2153 echo "$as_me: failed program was:" >&5
2154 cat conftest.
$ac_ext >&5
2155 ac_cv_header_minix_config_h
=no
2157 rm -f conftest.err conftest.
$ac_ext
2159 echo "$as_me:2159: result: $ac_cv_header_minix_config_h" >&5
2160 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2161 if test $ac_cv_header_minix_config_h = yes; then
2167 if test "$MINIX" = yes; then
2169 cat >>confdefs.h
<<\EOF
2170 #define _POSIX_SOURCE 1
2173 cat >>confdefs.h
<<\EOF
2174 #define _POSIX_1_SOURCE 2
2177 cat >>confdefs.h
<<\EOF
2183 echo "$as_me:2183: checking for POSIXized ISC" >&5
2184 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
2185 if test -d /etc
/conf
/kconfig.d
&&
2186 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
2188 echo "$as_me:2188: result: yes" >&5
2189 echo "${ECHO_T}yes" >&6
2190 ISC
=yes # If later tests want to check for ISC.
2192 cat >>confdefs.h
<<\EOF
2193 #define _POSIX_SOURCE 1
2196 if test "$GCC" = yes; then
2202 echo "$as_me:2202: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2207 echo "$as_me:2207: checking for ${CC-cc} option to accept ANSI C" >&5
2208 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2209 if test "${am_cv_prog_cc_stdc+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 am_cv_prog_cc_stdc
=no
2214 # Don't try gcc -ansi; that turns off useful extensions and
2215 # breaks some systems' header files.
2216 # AIX -qlanglvl=ansi
2217 # Ultrix and OSF/1 -std1
2218 # HP-UX -Aa -D_HPUX_SOURCE
2219 # SVR4 -Xc -D__EXTENSIONS__
2220 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2222 CC
="$ac_save_CC $ac_arg"
2223 cat >conftest.
$ac_ext <<_ACEOF
2224 #line 2224 "configure"
2225 #include "confdefs.h"
2228 #include <sys/types.h>
2229 #include <sys/stat.h>
2230 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2231 struct buf { int x; };
2232 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2233 static char *e (p, i)
2239 static char *f (char * (*g) (char **, int), char **p, ...)
2244 s = g (p, va_arg (v,int));
2248 int test (int i, double x);
2249 struct s1 {int (*f) (int a);};
2250 struct s2 {int (*f) (double a);};
2251 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2265 rm -f conftest.
$ac_objext
2266 if { (eval echo "$as_me:2266: \"$ac_compile\"") >&5
2267 (eval $ac_compile) 2>&5
2269 echo "$as_me:2269: \$? = $ac_status" >&5
2270 (exit $ac_status); } &&
2271 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2271: \"$ac_try\"") >&5
2274 echo "$as_me:2274: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2276 am_cv_prog_cc_stdc
="$ac_arg"; break
2278 echo "$as_me: failed program was:" >&5
2279 cat conftest.
$ac_ext >&5
2281 rm -f conftest.
$ac_objext conftest.
$ac_ext
2287 if test -z "$am_cv_prog_cc_stdc"; then
2288 echo "$as_me:2288: result: none needed" >&5
2289 echo "${ECHO_T}none needed" >&6
2291 echo "$as_me:2291: result: $am_cv_prog_cc_stdc" >&5
2292 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2294 case "x$am_cv_prog_cc_stdc" in
2296 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2299 # Find a good install program. We prefer a C program (faster),
2300 # so one script is as good as another. But avoid the broken or
2301 # incompatible versions:
2302 # SysV /etc/install, /usr/sbin/install
2303 # SunOS /usr/etc/install
2304 # IRIX /sbin/install
2306 # AmigaOS /C/install, which installs bootblocks on floppy discs
2307 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2310 # ./install, which can be erroneously created by make from ./install.sh.
2311 echo "$as_me:2311: checking for a BSD compatible install" >&5
2312 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2313 if test -z "$INSTALL"; then
2314 if test "${ac_cv_path_install+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 ac_save_IFS
=$IFS; IFS
=':'
2318 for ac_dir
in $PATH; do
2319 # Account for people who put trailing slashes in PATH elements.
2321 / | .
/ | .
// | /cC
/* \
2322 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
2325 # OSF1 and SCO ODT 3.0 have their own names for install.
2326 # Don't use installbsd from OSF since it installs stuff as root
2328 for ac_prog
in ginstall scoinst
install; do
2329 if test -f "$ac_dir/$ac_prog"; then
2330 if test $ac_prog = install &&
2331 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2332 # AIX install. It has an incompatible calling convention.
2334 elif test $ac_prog = install &&
2335 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2336 # program-specific install script used by HP pwplus--don't use.
2339 ac_cv_path_install
="$ac_dir/$ac_prog -c"
2350 if test "${ac_cv_path_install+set}" = set; then
2351 INSTALL
=$ac_cv_path_install
2353 # As a last resort, use the slow shell script. We don't cache a
2354 # path for INSTALL within a source directory, because that will
2355 # break other packages using the cache if that directory is
2356 # removed, or if the path is relative.
2357 INSTALL
=$ac_install_sh
2360 echo "$as_me:2360: result: $INSTALL" >&5
2361 echo "${ECHO_T}$INSTALL" >&6
2363 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2364 # It thinks the first close brace ends the variable substitution.
2365 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2367 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2369 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2373 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2374 echo "$as_me:2374: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2376 if test "${ac_cv_prog_RANLIB+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 if test -n "$RANLIB"; then
2380 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2382 ac_save_IFS
=$IFS; IFS
=':'
2384 for ac_dir
in $ac_dummy; do
2386 test -z "$ac_dir" && ac_dir
=.
2387 $as_executable_p "$ac_dir/$ac_word" || continue
2388 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2394 RANLIB
=$ac_cv_prog_RANLIB
2395 if test -n "$RANLIB"; then
2396 echo "$as_me:2396: result: $RANLIB" >&5
2397 echo "${ECHO_T}$RANLIB" >&6
2399 echo "$as_me:2399: result: no" >&5
2400 echo "${ECHO_T}no" >&6
2404 if test -z "$ac_cv_prog_RANLIB"; then
2405 ac_ct_RANLIB
=$RANLIB
2406 # Extract the first word of "ranlib", so it can be a program name with args.
2407 set dummy ranlib
; ac_word
=$2
2408 echo "$as_me:2408: checking for $ac_word" >&5
2409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2410 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 if test -n "$ac_ct_RANLIB"; then
2414 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2416 ac_save_IFS
=$IFS; IFS
=':'
2418 for ac_dir
in $ac_dummy; do
2420 test -z "$ac_dir" && ac_dir
=.
2421 $as_executable_p "$ac_dir/$ac_word" || continue
2422 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2426 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2429 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2430 if test -n "$ac_ct_RANLIB"; then
2431 echo "$as_me:2431: result: $ac_ct_RANLIB" >&5
2432 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2434 echo "$as_me:2434: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2438 RANLIB
=$ac_ct_RANLIB
2440 RANLIB
="$ac_cv_prog_RANLIB"
2443 # GNU M4 is needed to build the testsuite.
2444 for ac_prog
in gm4 gnum4
m4
2446 # Extract the first word of "$ac_prog", so it can be a program name with args.
2447 set dummy
$ac_prog; ac_word
=$2
2448 echo "$as_me:2448: checking for $ac_word" >&5
2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2450 if test "${ac_cv_path_M4+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2458 ac_save_IFS
=$IFS; IFS
=':'
2460 for ac_dir
in $ac_dummy; do
2462 test -z "$ac_dir" && ac_dir
=.
2463 if $as_executable_p "$ac_dir/$ac_word"; then
2464 ac_cv_path_M4
="$ac_dir/$ac_word"
2474 if test -n "$M4"; then
2475 echo "$as_me:2475: result: $M4" >&5
2476 echo "${ECHO_T}$M4" >&6
2478 echo "$as_me:2478: result: no" >&5
2479 echo "${ECHO_T}no" >&6
2482 test -n "$M4" && break
2484 test -n "$M4" || M4
="m4"
2486 echo "$as_me:2486: checking whether m4 supports frozen files" >&5
2487 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2488 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 ac_cv_prog_gnu_m4
=no
2492 if test x
"$M4" != x
; then
2493 case `$M4 --help < /dev/null 2>&1` in
2494 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2498 echo "$as_me:2498: result: $ac_cv_prog_gnu_m4" >&5
2499 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2500 if test "$ac_cv_prog_gnu_m4" != yes; then
2501 missing_dir
=`cd $ac_aux_dir && pwd`
2502 M4
="$missing_dir/missing m4"
2505 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2506 if test "${enable_gcc_warnings+set}" = set; then
2507 enableval
="$enable_gcc_warnings"
2508 case "${enableval}" in
2510 *) { { echo "$as_me:2510: error: bad value ${enableval} for gcc-warnings option" >&5
2511 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2512 { (exit 1); exit 1; }; } ;;
2519 if test "${enableval}" = yes; then
2520 echo "$as_me:2520: checking whether compiler accepts -Wall" >&5
2521 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
2523 ac_save_CFLAGS
="$CFLAGS"
2524 CFLAGS
="$CFLAGS -Wall"
2525 cat >conftest.
$ac_ext <<_ACEOF
2526 #line 2526 "configure"
2527 #include "confdefs.h"
2537 rm -f conftest.
$ac_objext
2538 if { (eval echo "$as_me:2538: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>&5
2541 echo "$as_me:2541: \$? = $ac_status" >&5
2542 (exit $ac_status); } &&
2543 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2543: \"$ac_try\"") >&5
2546 echo "$as_me:2546: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2548 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
2549 echo "$as_me:2549: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2552 echo "$as_me: failed program was:" >&5
2553 cat conftest.
$ac_ext >&5
2554 echo "$as_me:2554: result: no" >&5
2555 echo "${ECHO_T}no" >&6
2557 rm -f conftest.
$ac_objext conftest.
$ac_ext
2558 CFLAGS
="$ac_save_CFLAGS"
2559 echo "$as_me:2559: checking whether compiler accepts -W" >&5
2560 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
2562 ac_save_CFLAGS
="$CFLAGS"
2564 cat >conftest.
$ac_ext <<_ACEOF
2565 #line 2565 "configure"
2566 #include "confdefs.h"
2576 rm -f conftest.
$ac_objext
2577 if { (eval echo "$as_me:2577: \"$ac_compile\"") >&5
2578 (eval $ac_compile) 2>&5
2580 echo "$as_me:2580: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2582: \"$ac_try\"") >&5
2585 echo "$as_me:2585: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then
2587 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
2588 echo "$as_me:2588: result: yes" >&5
2589 echo "${ECHO_T}yes" >&6
2591 echo "$as_me: failed program was:" >&5
2592 cat conftest.
$ac_ext >&5
2593 echo "$as_me:2593: result: no" >&5
2594 echo "${ECHO_T}no" >&6
2596 rm -f conftest.
$ac_objext conftest.
$ac_ext
2597 CFLAGS
="$ac_save_CFLAGS"
2598 echo "$as_me:2598: checking whether compiler accepts -Wbad-function-cast" >&5
2599 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
2601 ac_save_CFLAGS
="$CFLAGS"
2602 CFLAGS
="$CFLAGS -Wbad-function-cast"
2603 cat >conftest.
$ac_ext <<_ACEOF
2604 #line 2604 "configure"
2605 #include "confdefs.h"
2615 rm -f conftest.
$ac_objext
2616 if { (eval echo "$as_me:2616: \"$ac_compile\"") >&5
2617 (eval $ac_compile) 2>&5
2619 echo "$as_me:2619: \$? = $ac_status" >&5
2620 (exit $ac_status); } &&
2621 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2621: \"$ac_try\"") >&5
2624 echo "$as_me:2624: \$? = $ac_status" >&5
2625 (exit $ac_status); }; }; then
2626 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
2627 echo "$as_me:2627: result: yes" >&5
2628 echo "${ECHO_T}yes" >&6
2630 echo "$as_me: failed program was:" >&5
2631 cat conftest.
$ac_ext >&5
2632 echo "$as_me:2632: result: no" >&5
2633 echo "${ECHO_T}no" >&6
2635 rm -f conftest.
$ac_objext conftest.
$ac_ext
2636 CFLAGS
="$ac_save_CFLAGS"
2637 echo "$as_me:2637: checking whether compiler accepts -Wcast-align" >&5
2638 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
2640 ac_save_CFLAGS
="$CFLAGS"
2641 CFLAGS
="$CFLAGS -Wcast-align"
2642 cat >conftest.
$ac_ext <<_ACEOF
2643 #line 2643 "configure"
2644 #include "confdefs.h"
2654 rm -f conftest.
$ac_objext
2655 if { (eval echo "$as_me:2655: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>&5
2658 echo "$as_me:2658: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2660: \"$ac_try\"") >&5
2663 echo "$as_me:2663: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2665 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
2666 echo "$as_me:2666: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6
2669 echo "$as_me: failed program was:" >&5
2670 cat conftest.
$ac_ext >&5
2671 echo "$as_me:2671: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2674 rm -f conftest.
$ac_objext conftest.
$ac_ext
2675 CFLAGS
="$ac_save_CFLAGS"
2676 echo "$as_me:2676: checking whether compiler accepts -Wcast-qual" >&5
2677 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
2679 ac_save_CFLAGS
="$CFLAGS"
2680 CFLAGS
="$CFLAGS -Wcast-qual"
2681 cat >conftest.
$ac_ext <<_ACEOF
2682 #line 2682 "configure"
2683 #include "confdefs.h"
2693 rm -f conftest.
$ac_objext
2694 if { (eval echo "$as_me:2694: \"$ac_compile\"") >&5
2695 (eval $ac_compile) 2>&5
2697 echo "$as_me:2697: \$? = $ac_status" >&5
2698 (exit $ac_status); } &&
2699 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2699: \"$ac_try\"") >&5
2702 echo "$as_me:2702: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2704 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
2705 echo "$as_me:2705: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me: failed program was:" >&5
2709 cat conftest.
$ac_ext >&5
2710 echo "$as_me:2710: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2713 rm -f conftest.
$ac_objext conftest.
$ac_ext
2714 CFLAGS
="$ac_save_CFLAGS"
2715 echo "$as_me:2715: checking whether compiler accepts -Wmissing-declarations" >&5
2716 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
2718 ac_save_CFLAGS
="$CFLAGS"
2719 CFLAGS
="$CFLAGS -Wmissing-declarations"
2720 cat >conftest.
$ac_ext <<_ACEOF
2721 #line 2721 "configure"
2722 #include "confdefs.h"
2732 rm -f conftest.
$ac_objext
2733 if { (eval echo "$as_me:2733: \"$ac_compile\"") >&5
2734 (eval $ac_compile) 2>&5
2736 echo "$as_me:2736: \$? = $ac_status" >&5
2737 (exit $ac_status); } &&
2738 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2738: \"$ac_try\"") >&5
2741 echo "$as_me:2741: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2743 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
2744 echo "$as_me:2744: result: yes" >&5
2745 echo "${ECHO_T}yes" >&6
2747 echo "$as_me: failed program was:" >&5
2748 cat conftest.
$ac_ext >&5
2749 echo "$as_me:2749: result: no" >&5
2750 echo "${ECHO_T}no" >&6
2752 rm -f conftest.
$ac_objext conftest.
$ac_ext
2753 CFLAGS
="$ac_save_CFLAGS"
2754 echo "$as_me:2754: checking whether compiler accepts -Wmissing-prototypes" >&5
2755 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
2757 ac_save_CFLAGS
="$CFLAGS"
2758 CFLAGS
="$CFLAGS -Wmissing-prototypes"
2759 cat >conftest.
$ac_ext <<_ACEOF
2760 #line 2760 "configure"
2761 #include "confdefs.h"
2771 rm -f conftest.
$ac_objext
2772 if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>&5
2775 echo "$as_me:2775: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2777: \"$ac_try\"") >&5
2780 echo "$as_me:2780: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2782 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
2783 echo "$as_me:2783: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2786 echo "$as_me: failed program was:" >&5
2787 cat conftest.
$ac_ext >&5
2788 echo "$as_me:2788: result: no" >&5
2789 echo "${ECHO_T}no" >&6
2791 rm -f conftest.
$ac_objext conftest.
$ac_ext
2792 CFLAGS
="$ac_save_CFLAGS"
2793 echo "$as_me:2793: checking whether compiler accepts -Wnested-externs" >&5
2794 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
2796 ac_save_CFLAGS
="$CFLAGS"
2797 CFLAGS
="$CFLAGS -Wnested-externs"
2798 cat >conftest.
$ac_ext <<_ACEOF
2799 #line 2799 "configure"
2800 #include "confdefs.h"
2810 rm -f conftest.
$ac_objext
2811 if { (eval echo "$as_me:2811: \"$ac_compile\"") >&5
2812 (eval $ac_compile) 2>&5
2814 echo "$as_me:2814: \$? = $ac_status" >&5
2815 (exit $ac_status); } &&
2816 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2816: \"$ac_try\"") >&5
2819 echo "$as_me:2819: \$? = $ac_status" >&5
2820 (exit $ac_status); }; }; then
2821 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
2822 echo "$as_me:2822: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2825 echo "$as_me: failed program was:" >&5
2826 cat conftest.
$ac_ext >&5
2827 echo "$as_me:2827: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2830 rm -f conftest.
$ac_objext conftest.
$ac_ext
2831 CFLAGS
="$ac_save_CFLAGS"
2832 echo "$as_me:2832: checking whether compiler accepts -Wshadow" >&5
2833 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
2835 ac_save_CFLAGS
="$CFLAGS"
2836 CFLAGS
="$CFLAGS -Wshadow"
2837 cat >conftest.
$ac_ext <<_ACEOF
2838 #line 2838 "configure"
2839 #include "confdefs.h"
2849 rm -f conftest.
$ac_objext
2850 if { (eval echo "$as_me:2850: \"$ac_compile\"") >&5
2851 (eval $ac_compile) 2>&5
2853 echo "$as_me:2853: \$? = $ac_status" >&5
2854 (exit $ac_status); } &&
2855 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2855: \"$ac_try\"") >&5
2858 echo "$as_me:2858: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2860 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
2861 echo "$as_me:2861: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2864 echo "$as_me: failed program was:" >&5
2865 cat conftest.
$ac_ext >&5
2866 echo "$as_me:2866: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2869 rm -f conftest.
$ac_objext conftest.
$ac_ext
2870 CFLAGS
="$ac_save_CFLAGS"
2871 echo "$as_me:2871: checking whether compiler accepts -Wstrict-prototypes" >&5
2872 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
2874 ac_save_CFLAGS
="$CFLAGS"
2875 CFLAGS
="$CFLAGS -Wstrict-prototypes"
2876 cat >conftest.
$ac_ext <<_ACEOF
2877 #line 2877 "configure"
2878 #include "confdefs.h"
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:2889: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>&5
2892 echo "$as_me:2892: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2894: \"$ac_try\"") >&5
2897 echo "$as_me:2897: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2899 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
2900 echo "$as_me:2900: result: yes" >&5
2901 echo "${ECHO_T}yes" >&6
2903 echo "$as_me: failed program was:" >&5
2904 cat conftest.
$ac_ext >&5
2905 echo "$as_me:2905: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2908 rm -f conftest.
$ac_objext conftest.
$ac_ext
2909 CFLAGS
="$ac_save_CFLAGS"
2910 echo "$as_me:2910: checking whether compiler accepts -Wwrite-strings" >&5
2911 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
2913 ac_save_CFLAGS
="$CFLAGS"
2914 CFLAGS
="$CFLAGS -Wwrite-strings"
2915 cat >conftest.
$ac_ext <<_ACEOF
2916 #line 2916 "configure"
2917 #include "confdefs.h"
2927 rm -f conftest.
$ac_objext
2928 if { (eval echo "$as_me:2928: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>&5
2931 echo "$as_me:2931: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:2933: \"$ac_try\"") >&5
2936 echo "$as_me:2936: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
2939 echo "$as_me:2939: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2942 echo "$as_me: failed program was:" >&5
2943 cat conftest.
$ac_ext >&5
2944 echo "$as_me:2944: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2947 rm -f conftest.
$ac_objext conftest.
$ac_ext
2948 CFLAGS
="$ac_save_CFLAGS"
2949 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
2952 # Checks for libraries.
2954 cat >>confdefs.h
<<\EOF
2955 #define _GNU_SOURCE 1
2958 # Checks for header files.
2959 echo "$as_me:2959: checking for ANSI C header files" >&5
2960 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2961 if test "${ac_cv_header_stdc+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.
$ac_ext <<_ACEOF
2965 #line 2965 "configure"
2966 #include "confdefs.h"
2973 if { (eval echo "$as_me:2973: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2974 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2976 egrep -v '^ *\+' conftest.er1
>conftest.err
2978 cat conftest.err
>&5
2979 echo "$as_me:2979: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 if test -s conftest.err
; then
2982 ac_cpp_err
=$ac_c_preproc_warn_flag
2989 if test -z "$ac_cpp_err"; then
2990 ac_cv_header_stdc
=yes
2992 echo "$as_me: failed program was:" >&5
2993 cat conftest.
$ac_ext >&5
2994 ac_cv_header_stdc
=no
2996 rm -f conftest.err conftest.
$ac_ext
2998 if test $ac_cv_header_stdc = yes; then
2999 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3000 cat >conftest.
$ac_ext <<_ACEOF
3001 #line 3001 "configure"
3002 #include "confdefs.h"
3006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3007 egrep "memchr" >/dev
/null
2>&1; then
3010 ac_cv_header_stdc
=no
3016 if test $ac_cv_header_stdc = yes; then
3017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3018 cat >conftest.
$ac_ext <<_ACEOF
3019 #line 3019 "configure"
3020 #include "confdefs.h"
3024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3025 egrep "free" >/dev
/null
2>&1; then
3028 ac_cv_header_stdc
=no
3034 if test $ac_cv_header_stdc = yes; then
3035 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3036 if test "$cross_compiling" = yes; then
3039 cat >conftest.
$ac_ext <<_ACEOF
3040 #line 3040 "configure"
3041 #include "confdefs.h"
3043 #if ((' ' & 0x0FF) == 0x020)
3044 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3045 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3047 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3048 || ('j' <= (c) && (c) <= 'r') \
3049 || ('s' <= (c) && (c) <= 'z'))
3050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3058 for (i = 0; i < 256; i++)
3059 if (XOR (islower (i), ISLOWER (i))
3060 || toupper (i) != TOUPPER (i))
3065 rm -f conftest
$ac_exeext
3066 if { (eval echo "$as_me:3066: \"$ac_link\"") >&5
3067 (eval $ac_link) 2>&5
3069 echo "$as_me:3069: \$? = $ac_status" >&5
3070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:3070: \"$ac_try\"") >&5
3073 echo "$as_me:3073: \$? = $ac_status" >&5
3074 (exit $ac_status); }; }; then
3077 echo "$as_me: program exited with status $ac_status" >&5
3078 echo "$as_me: failed program was:" >&5
3079 cat conftest.
$ac_ext >&5
3080 ac_cv_header_stdc
=no
3082 rm -f conftest
$ac_exeext conftest.
$ac_ext
3086 echo "$as_me:3086: result: $ac_cv_header_stdc" >&5
3087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3088 if test $ac_cv_header_stdc = yes; then
3090 cat >>confdefs.h
<<\EOF
3091 #define STDC_HEADERS 1
3096 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3098 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3099 echo "$as_me:3099: checking for $ac_header" >&5
3100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3101 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 cat >conftest.
$ac_ext <<_ACEOF
3105 #line 3105 "configure"
3106 #include "confdefs.h"
3107 #include <$ac_header>
3109 if { (eval echo "$as_me:3109: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3110 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3112 egrep -v '^ *\+' conftest.er1
>conftest.err
3114 cat conftest.err
>&5
3115 echo "$as_me:3115: \$? = $ac_status" >&5
3116 (exit $ac_status); }; then
3117 if test -s conftest.err
; then
3118 ac_cpp_err
=$ac_c_preproc_warn_flag
3125 if test -z "$ac_cpp_err"; then
3126 eval "$ac_ac_Header=yes"
3128 echo "$as_me: failed program was:" >&5
3129 cat conftest.
$ac_ext >&5
3130 eval "$ac_ac_Header=no"
3132 rm -f conftest.err conftest.
$ac_ext
3134 echo "$as_me:3134: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3135 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3136 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3137 cat >>confdefs.h
<<EOF
3138 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3144 # Checks for typedefs.
3146 # Checks for structures.
3148 # Checks for compiler characteristics.
3149 echo "$as_me:3149: checking for $CC option to accept ANSI C" >&5
3150 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3151 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3152 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 ac_cv_prog_cc_stdc
=no
3156 cat >conftest.
$ac_ext <<_ACEOF
3157 #line 3157 "configure"
3158 #include "confdefs.h"
3161 #include <sys/types.h>
3162 #include <sys/stat.h>
3163 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3164 struct buf { int x; };
3165 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3166 static char *e (p, i)
3172 static char *f (char * (*g) (char **, int), char **p, ...)
3177 s = g (p, va_arg (v,int));
3181 int test (int i, double x);
3182 struct s1 {int (*f) (int a);};
3183 struct s2 {int (*f) (double a);};
3184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3195 # Don't try gcc -ansi; that turns off useful extensions and
3196 # breaks some systems' header files.
3197 # AIX -qlanglvl=ansi
3198 # Ultrix and OSF/1 -std1
3199 # HP-UX 10.20 and later -Ae
3200 # HP-UX older versions -Aa -D_HPUX_SOURCE
3201 # SVR4 -Xc -D__EXTENSIONS__
3202 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3204 CC
="$ac_save_CC $ac_arg"
3205 rm -f conftest.
$ac_objext
3206 if { (eval echo "$as_me:3206: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>&5
3209 echo "$as_me:3209: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:3211: \"$ac_try\"") >&5
3214 echo "$as_me:3214: \$? = $ac_status" >&5
3215 (exit $ac_status); }; }; then
3216 ac_cv_prog_cc_stdc
=$ac_arg
3219 echo "$as_me: failed program was:" >&5
3220 cat conftest.
$ac_ext >&5
3222 rm -f conftest.
$ac_objext
3224 rm -f conftest.
$ac_ext conftest.
$ac_objext
3229 case "x$ac_cv_prog_cc_stdc" in
3231 echo "$as_me:3231: result: none needed" >&5
3232 echo "${ECHO_T}none needed" >&6 ;;
3234 echo "$as_me:3234: result: $ac_cv_prog_cc_stdc" >&5
3235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3239 echo "$as_me:3239: checking for an ANSI C-conforming const" >&5
3240 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3241 if test "${ac_cv_c_const+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 cat >conftest.
$ac_ext <<_ACEOF
3245 #line 3245 "configure"
3246 #include "confdefs.h"
3251 /* FIXME: Include the comments suggested by Paul. */
3253 /* Ultrix mips cc rejects this. */
3254 typedef int charset[2];
3256 /* SunOS 4.1.1 cc rejects this. */
3257 char const *const *ccp;
3259 /* NEC SVR4.0.2 mips cc rejects this. */
3260 struct point {int x, y;};
3261 static struct point const zero = {0,0};
3262 /* AIX XL C 1.02.0.0 rejects this.
3263 It does not let you subtract one const X* pointer from another in
3264 an arm of an if-expression whose if-part is not a constant
3266 const char *g = "string";
3267 ccp = &g + (g ? g-g : 0);
3268 /* HPUX 7.0 cc rejects these. */
3271 ccp = (char const *const *) p;
3272 { /* SCO 3.2v4 cc rejects this. */
3274 char const *s = 0 ? (char *) 0 : (char const *) 0;
3278 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3280 const int *foo = &x[0];
3283 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3284 typedef const int *iptr;
3288 { /* AIX XL C 1.02.0.0 rejects this saying
3289 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3290 struct s { int j; const int *ap[3]; };
3291 struct s *b; b->j = 5;
3293 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3302 rm -f conftest.
$ac_objext
3303 if { (eval echo "$as_me:3303: \"$ac_compile\"") >&5
3304 (eval $ac_compile) 2>&5
3306 echo "$as_me:3306: \$? = $ac_status" >&5
3307 (exit $ac_status); } &&
3308 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:3308: \"$ac_try\"") >&5
3311 echo "$as_me:3311: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3315 echo "$as_me: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3319 rm -f conftest.
$ac_objext conftest.
$ac_ext
3321 echo "$as_me:3321: result: $ac_cv_c_const" >&5
3322 echo "${ECHO_T}$ac_cv_c_const" >&6
3323 if test $ac_cv_c_const = no
; then
3325 cat >>confdefs.h
<<\EOF
3331 echo "$as_me:3331: checking for inline" >&5
3332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3333 if test "${ac_cv_c_inline+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 for ac_kw
in inline __inline__ __inline
; do
3338 cat >conftest.
$ac_ext <<_ACEOF
3339 #line 3339 "configure"
3340 #include "confdefs.h"
3342 $ac_kw int foo () {return 0; }
3346 rm -f conftest.
$ac_objext
3347 if { (eval echo "$as_me:3347: \"$ac_compile\"") >&5
3348 (eval $ac_compile) 2>&5
3350 echo "$as_me:3350: \$? = $ac_status" >&5
3351 (exit $ac_status); } &&
3352 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:3352: \"$ac_try\"") >&5
3355 echo "$as_me:3355: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3357 ac_cv_c_inline
=$ac_kw; break
3359 echo "$as_me: failed program was:" >&5
3360 cat conftest.
$ac_ext >&5
3362 rm -f conftest.
$ac_objext conftest.
$ac_ext
3366 echo "$as_me:3366: result: $ac_cv_c_inline" >&5
3367 echo "${ECHO_T}$ac_cv_c_inline" >&6
3368 case $ac_cv_c_inline in
3371 cat >>confdefs.h
<<\EOF
3375 *) cat >>confdefs.h
<<EOF
3376 #define inline $ac_cv_c_inline
3381 echo "$as_me:3381: checking for function prototypes" >&5
3382 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3383 if test "$am_cv_prog_cc_stdc" != no
; then
3384 echo "$as_me:3384: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3387 cat >>confdefs.h
<<\EOF
3388 #define PROTOTYPES 1
3393 echo "$as_me:3393: result: no" >&5
3394 echo "${ECHO_T}no" >&6
3395 U
=_ ANSI2KNR
=.
/ansi2knr
3396 # Ensure some checks needed by ansi2knr itself.
3397 echo "$as_me:3397: checking for ANSI C header files" >&5
3398 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3399 if test "${ac_cv_header_stdc+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 cat >conftest.
$ac_ext <<_ACEOF
3403 #line 3403 "configure"
3404 #include "confdefs.h"
3411 if { (eval echo "$as_me:3411: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3412 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3414 egrep -v '^ *\+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:3417: \$? = $ac_status" >&5
3418 (exit $ac_status); }; then
3419 if test -s conftest.err
; then
3420 ac_cpp_err
=$ac_c_preproc_warn_flag
3427 if test -z "$ac_cpp_err"; then
3428 ac_cv_header_stdc
=yes
3430 echo "$as_me: failed program was:" >&5
3431 cat conftest.
$ac_ext >&5
3432 ac_cv_header_stdc
=no
3434 rm -f conftest.err conftest.
$ac_ext
3436 if test $ac_cv_header_stdc = yes; then
3437 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3438 cat >conftest.
$ac_ext <<_ACEOF
3439 #line 3439 "configure"
3440 #include "confdefs.h"
3444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3445 egrep "memchr" >/dev
/null
2>&1; then
3448 ac_cv_header_stdc
=no
3454 if test $ac_cv_header_stdc = yes; then
3455 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3456 cat >conftest.
$ac_ext <<_ACEOF
3457 #line 3457 "configure"
3458 #include "confdefs.h"
3462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3463 egrep "free" >/dev
/null
2>&1; then
3466 ac_cv_header_stdc
=no
3472 if test $ac_cv_header_stdc = yes; then
3473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3474 if test "$cross_compiling" = yes; then
3477 cat >conftest.
$ac_ext <<_ACEOF
3478 #line 3478 "configure"
3479 #include "confdefs.h"
3481 #if ((' ' & 0x0FF) == 0x020)
3482 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3483 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3485 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3486 || ('j' <= (c) && (c) <= 'r') \
3487 || ('s' <= (c) && (c) <= 'z'))
3488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3496 for (i = 0; i < 256; i++)
3497 if (XOR (islower (i), ISLOWER (i))
3498 || toupper (i) != TOUPPER (i))
3503 rm -f conftest
$ac_exeext
3504 if { (eval echo "$as_me:3504: \"$ac_link\"") >&5
3505 (eval $ac_link) 2>&5
3507 echo "$as_me:3507: \$? = $ac_status" >&5
3508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:3508: \"$ac_try\"") >&5
3511 echo "$as_me:3511: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3515 echo "$as_me: program exited with status $ac_status" >&5
3516 echo "$as_me: failed program was:" >&5
3517 cat conftest.
$ac_ext >&5
3518 ac_cv_header_stdc
=no
3520 rm -f conftest
$ac_exeext conftest.
$ac_ext
3524 echo "$as_me:3524: result: $ac_cv_header_stdc" >&5
3525 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3526 if test $ac_cv_header_stdc = yes; then
3528 cat >>confdefs.h
<<\EOF
3529 #define STDC_HEADERS 1
3534 for ac_header
in string.h
3536 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3537 echo "$as_me:3537: checking for $ac_header" >&5
3538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3539 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 cat >conftest.
$ac_ext <<_ACEOF
3543 #line 3543 "configure"
3544 #include "confdefs.h"
3545 #include <$ac_header>
3547 if { (eval echo "$as_me:3547: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3548 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3550 egrep -v '^ *\+' conftest.er1
>conftest.err
3552 cat conftest.err
>&5
3553 echo "$as_me:3553: \$? = $ac_status" >&5
3554 (exit $ac_status); }; then
3555 if test -s conftest.err
; then
3556 ac_cpp_err
=$ac_c_preproc_warn_flag
3563 if test -z "$ac_cpp_err"; then
3564 eval "$ac_ac_Header=yes"
3566 echo "$as_me: failed program was:" >&5
3567 cat conftest.
$ac_ext >&5
3568 eval "$ac_ac_Header=no"
3570 rm -f conftest.err conftest.
$ac_ext
3572 echo "$as_me:3572: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3573 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3574 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3575 cat >>confdefs.h
<<EOF
3576 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3584 # Checks for library functions.
3585 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3586 # for constant arguments. Useless!
3587 echo "$as_me:3587: checking for working alloca.h" >&5
3588 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3589 if test "${ac_cv_working_alloca_h+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 cat >conftest.
$ac_ext <<_ACEOF
3593 #line 3593 "configure"
3594 #include "confdefs.h"
3599 char *p = (char *) alloca (2 * sizeof (int));
3604 rm -f conftest.
$ac_objext conftest
$ac_exeext
3605 if { (eval echo "$as_me:3605: \"$ac_link\"") >&5
3606 (eval $ac_link) 2>&5
3608 echo "$as_me:3608: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:3610: \"$ac_try\"") >&5
3613 echo "$as_me:3613: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3615 ac_cv_working_alloca_h
=yes
3617 echo "$as_me: failed program was:" >&5
3618 cat conftest.
$ac_ext >&5
3619 ac_cv_working_alloca_h
=no
3621 rm -f conftest
$ac_exeext conftest.
$ac_ext
3623 echo "$as_me:3623: result: $ac_cv_working_alloca_h" >&5
3624 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3625 if test $ac_cv_working_alloca_h = yes; then
3627 cat >>confdefs.h
<<\EOF
3628 #define HAVE_ALLOCA_H 1
3633 echo "$as_me:3633: checking for alloca" >&5
3634 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3635 if test "${ac_cv_func_alloca_works+set}" = set; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 cat >conftest.
$ac_ext <<_ACEOF
3639 #line 3639 "configure"
3640 #include "confdefs.h"
3642 # define alloca __builtin_alloca
3645 # include <malloc.h>
3646 # define alloca _alloca
3649 # include <alloca.h>
3654 # ifndef alloca /* predefined by HP cc +Olibcalls */
3665 char *p = (char *) alloca (1);
3670 rm -f conftest.
$ac_objext conftest
$ac_exeext
3671 if { (eval echo "$as_me:3671: \"$ac_link\"") >&5
3672 (eval $ac_link) 2>&5
3674 echo "$as_me:3674: \$? = $ac_status" >&5
3675 (exit $ac_status); } &&
3676 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:3676: \"$ac_try\"") >&5
3679 echo "$as_me:3679: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_func_alloca_works
=yes
3683 echo "$as_me: failed program was:" >&5
3684 cat conftest.
$ac_ext >&5
3685 ac_cv_func_alloca_works
=no
3687 rm -f conftest
$ac_exeext conftest.
$ac_ext
3689 echo "$as_me:3689: result: $ac_cv_func_alloca_works" >&5
3690 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3692 if test $ac_cv_func_alloca_works = yes; then
3694 cat >>confdefs.h
<<\EOF
3695 #define HAVE_ALLOCA 1
3699 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3700 # that cause trouble. Some versions do not even contain alloca or
3701 # contain a buggy version. If you still want to use their alloca,
3702 # use ar to extract alloca.o from them instead of compiling alloca.c.
3704 ALLOCA
=alloca.
$ac_objext
3706 cat >>confdefs.h
<<\EOF
3710 echo "$as_me:3710: checking whether \`alloca.c' needs Cray hooks" >&5
3711 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3712 if test "${ac_cv_os_cray+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 cat >conftest.
$ac_ext <<_ACEOF
3716 #line 3716 "configure"
3717 #include "confdefs.h"
3718 #if defined(CRAY) && ! defined(CRAY2)
3725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3726 egrep "webecray" >/dev
/null
2>&1; then
3734 echo "$as_me:3734: result: $ac_cv_os_cray" >&5
3735 echo "${ECHO_T}$ac_cv_os_cray" >&6
3736 if test $ac_cv_os_cray = yes; then
3737 for ac_func
in _getb67 GETB67 getb67
; do
3738 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3739 echo "$as_me:3739: checking for $ac_func" >&5
3740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3741 if eval "test \"\${$ac_ac_var+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 /* System header to define __stub macros and hopefully few prototypes,
3748 which can conflict with char $ac_func (); below. */
3750 /* Override any gcc2 internal prototype to avoid an error. */
3754 /* We use char because int might match the return type of a gcc2
3755 builtin and then its argument prototype would still apply. */
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3775 rm -f conftest.
$ac_objext conftest
$ac_exeext
3776 if { (eval echo "$as_me:3776: \"$ac_link\"") >&5
3777 (eval $ac_link) 2>&5
3779 echo "$as_me:3779: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:3781: \"$ac_try\"") >&5
3784 echo "$as_me:3784: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 eval "$ac_ac_var=yes"
3788 echo "$as_me: failed program was:" >&5
3789 cat conftest.
$ac_ext >&5
3790 eval "$ac_ac_var=no"
3792 rm -f conftest
$ac_exeext conftest.
$ac_ext
3794 echo "$as_me:3794: result: `eval echo '${'$ac_ac_var'}'`" >&5
3795 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3796 if test `eval echo '${'$ac_ac_var'}'` = yes; then
3798 cat >>confdefs.h
<<EOF
3799 #define CRAY_STACKSEG_END $ac_func
3808 echo "$as_me:3808: checking stack direction for C alloca" >&5
3809 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3810 if test "${ac_cv_c_stack_direction+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test "$cross_compiling" = yes; then
3814 ac_cv_c_stack_direction
=0
3816 cat >conftest.
$ac_ext <<_ACEOF
3817 #line 3817 "configure"
3818 #include "confdefs.h"
3820 find_stack_direction ()
3822 static char *addr = 0;
3827 return find_stack_direction ();
3830 return (&dummy > addr) ? 1 : -1;
3836 exit (find_stack_direction () < 0);
3839 rm -f conftest
$ac_exeext
3840 if { (eval echo "$as_me:3840: \"$ac_link\"") >&5
3841 (eval $ac_link) 2>&5
3843 echo "$as_me:3843: \$? = $ac_status" >&5
3844 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:3844: \"$ac_try\"") >&5
3847 echo "$as_me:3847: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3849 ac_cv_c_stack_direction
=1
3851 echo "$as_me: program exited with status $ac_status" >&5
3852 echo "$as_me: failed program was:" >&5
3853 cat conftest.
$ac_ext >&5
3854 ac_cv_c_stack_direction
=-1
3856 rm -f conftest
$ac_exeext conftest.
$ac_ext
3859 echo "$as_me:3859: result: $ac_cv_c_stack_direction" >&5
3860 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3862 cat >>confdefs.h
<<EOF
3863 #define STACK_DIRECTION $ac_cv_c_stack_direction
3868 for ac_func
in mkstemp setlocale
3870 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3871 echo "$as_me:3871: checking for $ac_func" >&5
3872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3873 if eval "test \"\${$ac_ac_var+set}\" = set"; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 cat >conftest.
$ac_ext <<_ACEOF
3877 #line 3877 "configure"
3878 #include "confdefs.h"
3879 /* System header to define __stub macros and hopefully few prototypes,
3880 which can conflict with char $ac_func (); below. */
3882 /* Override any gcc2 internal prototype to avoid an error. */
3886 /* We use char because int might match the return type of a gcc2
3887 builtin and then its argument prototype would still apply. */
3894 /* The GNU C library defines this for functions which it implements
3895 to always fail with ENOSYS. Some functions are actually named
3896 something starting with __ and the normal name is an alias. */
3897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3907 rm -f conftest.
$ac_objext conftest
$ac_exeext
3908 if { (eval echo "$as_me:3908: \"$ac_link\"") >&5
3909 (eval $ac_link) 2>&5
3911 echo "$as_me:3911: \$? = $ac_status" >&5
3912 (exit $ac_status); } &&
3913 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:3913: \"$ac_try\"") >&5
3916 echo "$as_me:3916: \$? = $ac_status" >&5
3917 (exit $ac_status); }; }; then
3918 eval "$ac_ac_var=yes"
3920 echo "$as_me: failed program was:" >&5
3921 cat conftest.
$ac_ext >&5
3922 eval "$ac_ac_var=no"
3924 rm -f conftest
$ac_exeext conftest.
$ac_ext
3926 echo "$as_me:3926: result: `eval echo '${'$ac_ac_var'}'`" >&5
3927 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3928 if test `eval echo '${'$ac_ac_var'}'` = yes; then
3929 cat >>confdefs.h
<<EOF
3930 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3936 for ac_header
in stdlib.h string.h memory.h
strings.h inttypes.h unistd.h
3938 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3939 echo "$as_me:3939: checking for $ac_header" >&5
3940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3941 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.
$ac_ext <<_ACEOF
3945 #line 3945 "configure"
3946 #include "confdefs.h"
3947 #include <$ac_header>
3949 if { (eval echo "$as_me:3949: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3950 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3952 egrep -v '^ *\+' conftest.er1
>conftest.err
3954 cat conftest.err
>&5
3955 echo "$as_me:3955: \$? = $ac_status" >&5
3956 (exit $ac_status); }; then
3957 if test -s conftest.err
; then
3958 ac_cpp_err
=$ac_c_preproc_warn_flag
3965 if test -z "$ac_cpp_err"; then
3966 eval "$ac_ac_Header=yes"
3968 echo "$as_me: failed program was:" >&5
3969 cat conftest.
$ac_ext >&5
3970 eval "$ac_ac_Header=no"
3972 rm -f conftest.err conftest.
$ac_ext
3974 echo "$as_me:3974: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3975 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3976 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3977 cat >>confdefs.h
<<EOF
3978 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3984 echo "$as_me:3984: checking whether stpcpy is declared" >&5
3985 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
3986 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 cat >conftest.
$ac_ext <<_ACEOF
3990 #line 3990 "configure"
3991 #include "confdefs.h"
3992 $ac_includes_default
3997 char *p = (char *) stpcpy;
4004 rm -f conftest.
$ac_objext
4005 if { (eval echo "$as_me:4005: \"$ac_compile\"") >&5
4006 (eval $ac_compile) 2>&5
4008 echo "$as_me:4008: \$? = $ac_status" >&5
4009 (exit $ac_status); } &&
4010 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4010: \"$ac_try\"") >&5
4013 echo "$as_me:4013: \$? = $ac_status" >&5
4014 (exit $ac_status); }; }; then
4015 ac_cv_have_decl_stpcpy
=yes
4017 echo "$as_me: failed program was:" >&5
4018 cat conftest.
$ac_ext >&5
4019 ac_cv_have_decl_stpcpy
=no
4021 rm -f conftest.
$ac_objext conftest.
$ac_ext
4023 echo "$as_me:4023: result: $ac_cv_have_decl_stpcpy" >&5
4024 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4025 if test $ac_cv_have_decl_stpcpy = yes; then
4027 cat >>confdefs.h
<<EOF
4028 #define HAVE_DECL_STPCPY 1
4032 cat >>confdefs.h
<<EOF
4033 #define HAVE_DECL_STPCPY 0
4037 echo "$as_me:4037: checking whether strndup is declared" >&5
4038 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4039 if test "${ac_cv_have_decl_strndup+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 cat >conftest.
$ac_ext <<_ACEOF
4043 #line 4043 "configure"
4044 #include "confdefs.h"
4045 $ac_includes_default
4050 char *p = (char *) strndup;
4057 rm -f conftest.
$ac_objext
4058 if { (eval echo "$as_me:4058: \"$ac_compile\"") >&5
4059 (eval $ac_compile) 2>&5
4061 echo "$as_me:4061: \$? = $ac_status" >&5
4062 (exit $ac_status); } &&
4063 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4063: \"$ac_try\"") >&5
4066 echo "$as_me:4066: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4068 ac_cv_have_decl_strndup
=yes
4070 echo "$as_me: failed program was:" >&5
4071 cat conftest.
$ac_ext >&5
4072 ac_cv_have_decl_strndup
=no
4074 rm -f conftest.
$ac_objext conftest.
$ac_ext
4076 echo "$as_me:4076: result: $ac_cv_have_decl_strndup" >&5
4077 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4078 if test $ac_cv_have_decl_strndup = yes; then
4080 cat >>confdefs.h
<<EOF
4081 #define HAVE_DECL_STRNDUP 1
4085 cat >>confdefs.h
<<EOF
4086 #define HAVE_DECL_STRNDUP 0
4090 echo "$as_me:4090: checking whether strnlen is declared" >&5
4091 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4092 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 cat >conftest.
$ac_ext <<_ACEOF
4096 #line 4096 "configure"
4097 #include "confdefs.h"
4098 $ac_includes_default
4103 char *p = (char *) strnlen;
4110 rm -f conftest.
$ac_objext
4111 if { (eval echo "$as_me:4111: \"$ac_compile\"") >&5
4112 (eval $ac_compile) 2>&5
4114 echo "$as_me:4114: \$? = $ac_status" >&5
4115 (exit $ac_status); } &&
4116 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4116: \"$ac_try\"") >&5
4119 echo "$as_me:4119: \$? = $ac_status" >&5
4120 (exit $ac_status); }; }; then
4121 ac_cv_have_decl_strnlen
=yes
4123 echo "$as_me: failed program was:" >&5
4124 cat conftest.
$ac_ext >&5
4125 ac_cv_have_decl_strnlen
=no
4127 rm -f conftest.
$ac_objext conftest.
$ac_ext
4129 echo "$as_me:4129: result: $ac_cv_have_decl_strnlen" >&5
4130 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4131 if test $ac_cv_have_decl_strnlen = yes; then
4133 cat >>confdefs.h
<<EOF
4134 #define HAVE_DECL_STRNLEN 1
4138 cat >>confdefs.h
<<EOF
4139 #define HAVE_DECL_STRNLEN 0
4143 echo "$as_me:4143: checking whether memchr is declared" >&5
4144 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4145 if test "${ac_cv_have_decl_memchr+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 cat >conftest.
$ac_ext <<_ACEOF
4149 #line 4149 "configure"
4150 #include "confdefs.h"
4151 $ac_includes_default
4156 char *p = (char *) memchr;
4163 rm -f conftest.
$ac_objext
4164 if { (eval echo "$as_me:4164: \"$ac_compile\"") >&5
4165 (eval $ac_compile) 2>&5
4167 echo "$as_me:4167: \$? = $ac_status" >&5
4168 (exit $ac_status); } &&
4169 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4169: \"$ac_try\"") >&5
4172 echo "$as_me:4172: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 ac_cv_have_decl_memchr
=yes
4176 echo "$as_me: failed program was:" >&5
4177 cat conftest.
$ac_ext >&5
4178 ac_cv_have_decl_memchr
=no
4180 rm -f conftest.
$ac_objext conftest.
$ac_ext
4182 echo "$as_me:4182: result: $ac_cv_have_decl_memchr" >&5
4183 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4184 if test $ac_cv_have_decl_memchr = yes; then
4186 cat >>confdefs.h
<<EOF
4187 #define HAVE_DECL_MEMCHR 1
4191 cat >>confdefs.h
<<EOF
4192 #define HAVE_DECL_MEMCHR 0
4197 for ac_func
in stpcpy strndup strnlen memchr
4199 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4200 echo "$as_me:4200: checking for $ac_func" >&5
4201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4202 if eval "test \"\${$ac_ac_var+set}\" = set"; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 cat >conftest.
$ac_ext <<_ACEOF
4206 #line 4206 "configure"
4207 #include "confdefs.h"
4208 /* System header to define __stub macros and hopefully few prototypes,
4209 which can conflict with char $ac_func (); below. */
4211 /* Override any gcc2 internal prototype to avoid an error. */
4215 /* We use char because int might match the return type of a gcc2
4216 builtin and then its argument prototype would still apply. */
4223 /* The GNU C library defines this for functions which it implements
4224 to always fail with ENOSYS. Some functions are actually named
4225 something starting with __ and the normal name is an alias. */
4226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4236 rm -f conftest.
$ac_objext conftest
$ac_exeext
4237 if { (eval echo "$as_me:4237: \"$ac_link\"") >&5
4238 (eval $ac_link) 2>&5
4240 echo "$as_me:4240: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:4242: \"$ac_try\"") >&5
4245 echo "$as_me:4245: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 eval "$ac_ac_var=yes"
4249 echo "$as_me: failed program was:" >&5
4250 cat conftest.
$ac_ext >&5
4251 eval "$ac_ac_var=no"
4253 rm -f conftest
$ac_exeext conftest.
$ac_ext
4255 echo "$as_me:4255: result: `eval echo '${'$ac_ac_var'}'`" >&5
4256 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4257 if test `eval echo '${'$ac_ac_var'}'` = yes; then
4258 cat >>confdefs.h
<<EOF
4259 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4263 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4267 cat >>confdefs.h
<<EOF
4268 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
4271 echo "$as_me:4271: checking for working malloc" >&5
4272 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4273 if test "${jm_cv_func_working_malloc+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 if test "$cross_compiling" = yes; then
4277 jm_cv_func_working_malloc
=no
4279 cat >conftest.
$ac_ext <<_ACEOF
4280 #line 4280 "configure"
4281 #include "confdefs.h"
4287 exit (malloc (0) ? 0 : 1);
4291 rm -f conftest
$ac_exeext
4292 if { (eval echo "$as_me:4292: \"$ac_link\"") >&5
4293 (eval $ac_link) 2>&5
4295 echo "$as_me:4295: \$? = $ac_status" >&5
4296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:4296: \"$ac_try\"") >&5
4299 echo "$as_me:4299: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 jm_cv_func_working_malloc
=yes
4303 echo "$as_me: program exited with status $ac_status" >&5
4304 echo "$as_me: failed program was:" >&5
4305 cat conftest.
$ac_ext >&5
4306 jm_cv_func_working_malloc
=no
4308 rm -f conftest
$ac_exeext conftest.
$ac_ext
4312 echo "$as_me:4312: result: $jm_cv_func_working_malloc" >&5
4313 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
4314 if test $jm_cv_func_working_malloc = no
; then
4316 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4318 cat >>confdefs.h
<<EOF
4319 #define malloc rpl_malloc
4324 cat >>confdefs.h
<<EOF
4325 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
4328 echo "$as_me:4328: checking for working realloc" >&5
4329 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
4330 if test "${jm_cv_func_working_realloc+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 if test "$cross_compiling" = yes; then
4334 jm_cv_func_working_realloc
=no
4336 cat >conftest.
$ac_ext <<_ACEOF
4337 #line 4337 "configure"
4338 #include "confdefs.h"
4344 exit (realloc (0, 0) ? 0 : 1);
4348 rm -f conftest
$ac_exeext
4349 if { (eval echo "$as_me:4349: \"$ac_link\"") >&5
4350 (eval $ac_link) 2>&5
4352 echo "$as_me:4352: \$? = $ac_status" >&5
4353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:4353: \"$ac_try\"") >&5
4356 echo "$as_me:4356: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 jm_cv_func_working_realloc
=yes
4360 echo "$as_me: program exited with status $ac_status" >&5
4361 echo "$as_me: failed program was:" >&5
4362 cat conftest.
$ac_ext >&5
4363 jm_cv_func_working_realloc
=no
4365 rm -f conftest
$ac_exeext conftest.
$ac_ext
4369 echo "$as_me:4369: result: $jm_cv_func_working_realloc" >&5
4370 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
4371 if test $jm_cv_func_working_realloc = no
; then
4373 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
4375 cat >>confdefs.h
<<EOF
4376 #define realloc rpl_realloc
4381 for ac_func
in isascii iswprint mbrtowc
4383 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4384 echo "$as_me:4384: checking for $ac_func" >&5
4385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4386 if eval "test \"\${$ac_ac_var+set}\" = set"; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 cat >conftest.
$ac_ext <<_ACEOF
4390 #line 4390 "configure"
4391 #include "confdefs.h"
4392 /* System header to define __stub macros and hopefully few prototypes,
4393 which can conflict with char $ac_func (); below. */
4395 /* Override any gcc2 internal prototype to avoid an error. */
4399 /* We use char because int might match the return type of a gcc2
4400 builtin and then its argument prototype would still apply. */
4407 /* The GNU C library defines this for functions which it implements
4408 to always fail with ENOSYS. Some functions are actually named
4409 something starting with __ and the normal name is an alias. */
4410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4420 rm -f conftest.
$ac_objext conftest
$ac_exeext
4421 if { (eval echo "$as_me:4421: \"$ac_link\"") >&5
4422 (eval $ac_link) 2>&5
4424 echo "$as_me:4424: \$? = $ac_status" >&5
4425 (exit $ac_status); } &&
4426 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:4426: \"$ac_try\"") >&5
4429 echo "$as_me:4429: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4431 eval "$ac_ac_var=yes"
4433 echo "$as_me: failed program was:" >&5
4434 cat conftest.
$ac_ext >&5
4435 eval "$ac_ac_var=no"
4437 rm -f conftest
$ac_exeext conftest.
$ac_ext
4439 echo "$as_me:4439: result: `eval echo '${'$ac_ac_var'}'`" >&5
4440 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4441 if test `eval echo '${'$ac_ac_var'}'` = yes; then
4442 cat >>confdefs.h
<<EOF
4443 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4449 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
4451 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4452 echo "$as_me:4452: checking for $ac_header" >&5
4453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4454 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4458 #line 4458 "configure"
4459 #include "confdefs.h"
4460 #include <$ac_header>
4462 if { (eval echo "$as_me:4462: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4463 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4465 egrep -v '^ *\+' conftest.er1
>conftest.err
4467 cat conftest.err
>&5
4468 echo "$as_me:4468: \$? = $ac_status" >&5
4469 (exit $ac_status); }; then
4470 if test -s conftest.err
; then
4471 ac_cpp_err
=$ac_c_preproc_warn_flag
4478 if test -z "$ac_cpp_err"; then
4479 eval "$ac_ac_Header=yes"
4481 echo "$as_me: failed program was:" >&5
4482 cat conftest.
$ac_ext >&5
4483 eval "$ac_ac_Header=no"
4485 rm -f conftest.err conftest.
$ac_ext
4487 echo "$as_me:4487: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4488 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4489 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4490 cat >>confdefs.h
<<EOF
4491 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4497 echo "$as_me:4497: checking for ANSI C header files" >&5
4498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4499 if test "${ac_cv_header_stdc+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 cat >conftest.
$ac_ext <<_ACEOF
4503 #line 4503 "configure"
4504 #include "confdefs.h"
4511 if { (eval echo "$as_me:4511: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4512 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4514 egrep -v '^ *\+' conftest.er1
>conftest.err
4516 cat conftest.err
>&5
4517 echo "$as_me:4517: \$? = $ac_status" >&5
4518 (exit $ac_status); }; then
4519 if test -s conftest.err
; then
4520 ac_cpp_err
=$ac_c_preproc_warn_flag
4527 if test -z "$ac_cpp_err"; then
4528 ac_cv_header_stdc
=yes
4530 echo "$as_me: failed program was:" >&5
4531 cat conftest.
$ac_ext >&5
4532 ac_cv_header_stdc
=no
4534 rm -f conftest.err conftest.
$ac_ext
4536 if test $ac_cv_header_stdc = yes; then
4537 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4538 cat >conftest.
$ac_ext <<_ACEOF
4539 #line 4539 "configure"
4540 #include "confdefs.h"
4544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4545 egrep "memchr" >/dev
/null
2>&1; then
4548 ac_cv_header_stdc
=no
4554 if test $ac_cv_header_stdc = yes; then
4555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4556 cat >conftest.
$ac_ext <<_ACEOF
4557 #line 4557 "configure"
4558 #include "confdefs.h"
4562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4563 egrep "free" >/dev
/null
2>&1; then
4566 ac_cv_header_stdc
=no
4572 if test $ac_cv_header_stdc = yes; then
4573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4574 if test "$cross_compiling" = yes; then
4577 cat >conftest.
$ac_ext <<_ACEOF
4578 #line 4578 "configure"
4579 #include "confdefs.h"
4581 #if ((' ' & 0x0FF) == 0x020)
4582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4585 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4586 || ('j' <= (c) && (c) <= 'r') \
4587 || ('s' <= (c) && (c) <= 'z'))
4588 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4591 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4596 for (i = 0; i < 256; i++)
4597 if (XOR (islower (i), ISLOWER (i))
4598 || toupper (i) != TOUPPER (i))
4603 rm -f conftest
$ac_exeext
4604 if { (eval echo "$as_me:4604: \"$ac_link\"") >&5
4605 (eval $ac_link) 2>&5
4607 echo "$as_me:4607: \$? = $ac_status" >&5
4608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:4608: \"$ac_try\"") >&5
4611 echo "$as_me:4611: \$? = $ac_status" >&5
4612 (exit $ac_status); }; }; then
4615 echo "$as_me: program exited with status $ac_status" >&5
4616 echo "$as_me: failed program was:" >&5
4617 cat conftest.
$ac_ext >&5
4618 ac_cv_header_stdc
=no
4620 rm -f conftest
$ac_exeext conftest.
$ac_ext
4624 echo "$as_me:4624: result: $ac_cv_header_stdc" >&5
4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4626 if test $ac_cv_header_stdc = yes; then
4628 cat >>confdefs.h
<<\EOF
4629 #define STDC_HEADERS 1
4634 echo "$as_me:4634: checking whether backslash-a works in strings" >&5
4635 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
4636 if test "${ac_cv_c_backslash_a+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.
$ac_ext <<_ACEOF
4640 #line 4640 "configure"
4641 #include "confdefs.h"
4650 char buf['\a' == 'a' ? -1 : 1];
4652 return buf[0] != "\a"[0];
4658 rm -f conftest.
$ac_objext
4659 if { (eval echo "$as_me:4659: \"$ac_compile\"") >&5
4660 (eval $ac_compile) 2>&5
4662 echo "$as_me:4662: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4664: \"$ac_try\"") >&5
4667 echo "$as_me:4667: \$? = $ac_status" >&5
4668 (exit $ac_status); }; }; then
4669 ac_cv_c_backslash_a
=yes
4671 echo "$as_me: failed program was:" >&5
4672 cat conftest.
$ac_ext >&5
4673 ac_cv_c_backslash_a
=no
4675 rm -f conftest.
$ac_objext conftest.
$ac_ext
4677 echo "$as_me:4677: result: $ac_cv_c_backslash_a" >&5
4678 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
4679 if test $ac_cv_c_backslash_a = yes; then
4681 cat >>confdefs.h
<<\EOF
4682 #define HAVE_C_BACKSLASH_A 1
4687 for ac_header
in stdlib.h
4689 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4690 echo "$as_me:4690: checking for $ac_header" >&5
4691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4692 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 cat >conftest.
$ac_ext <<_ACEOF
4696 #line 4696 "configure"
4697 #include "confdefs.h"
4698 #include <$ac_header>
4700 if { (eval echo "$as_me:4700: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4701 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4703 egrep -v '^ *\+' conftest.er1
>conftest.err
4705 cat conftest.err
>&5
4706 echo "$as_me:4706: \$? = $ac_status" >&5
4707 (exit $ac_status); }; then
4708 if test -s conftest.err
; then
4709 ac_cpp_err
=$ac_c_preproc_warn_flag
4716 if test -z "$ac_cpp_err"; then
4717 eval "$ac_ac_Header=yes"
4719 echo "$as_me: failed program was:" >&5
4720 cat conftest.
$ac_ext >&5
4721 eval "$ac_ac_Header=no"
4723 rm -f conftest.err conftest.
$ac_ext
4725 echo "$as_me:4725: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4726 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4727 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4728 cat >>confdefs.h
<<EOF
4729 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4735 echo "$as_me:4735: checking for mbstate_t" >&5
4736 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
4737 if test "${ac_cv_type_mbstate_t+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 cat >conftest.
$ac_ext <<_ACEOF
4741 #line 4741 "configure"
4742 #include "confdefs.h"
4745 # include <stdlib.h>
4751 mbstate_t x; return sizeof x;
4756 rm -f conftest.
$ac_objext
4757 if { (eval echo "$as_me:4757: \"$ac_compile\"") >&5
4758 (eval $ac_compile) 2>&5
4760 echo "$as_me:4760: \$? = $ac_status" >&5
4761 (exit $ac_status); } &&
4762 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:4762: \"$ac_try\"") >&5
4765 echo "$as_me:4765: \$? = $ac_status" >&5
4766 (exit $ac_status); }; }; then
4767 ac_cv_type_mbstate_t
=yes
4769 echo "$as_me: failed program was:" >&5
4770 cat conftest.
$ac_ext >&5
4771 ac_cv_type_mbstate_t
=no
4773 rm -f conftest.
$ac_objext conftest.
$ac_ext
4775 echo "$as_me:4775: result: $ac_cv_type_mbstate_t" >&5
4776 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
4777 if test $ac_cv_type_mbstate_t = no
; then
4779 cat >>confdefs.h
<<\EOF
4780 #define mbstate_t int
4785 echo "$as_me:4785: checking for function prototypes" >&5
4786 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4787 if test "$am_cv_prog_cc_stdc" != no
; then
4788 echo "$as_me:4788: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4791 cat >>confdefs.h
<<\EOF
4792 #define PROTOTYPES 1
4797 echo "$as_me:4797: result: no" >&5
4798 echo "${ECHO_T}no" >&6
4799 U
=_ ANSI2KNR
=.
/ansi2knr
4800 # Ensure some checks needed by ansi2knr itself.
4801 echo "$as_me:4801: checking for ANSI C header files" >&5
4802 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4803 if test "${ac_cv_header_stdc+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 cat >conftest.
$ac_ext <<_ACEOF
4807 #line 4807 "configure"
4808 #include "confdefs.h"
4815 if { (eval echo "$as_me:4815: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4816 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4818 egrep -v '^ *\+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:4821: \$? = $ac_status" >&5
4822 (exit $ac_status); }; then
4823 if test -s conftest.err
; then
4824 ac_cpp_err
=$ac_c_preproc_warn_flag
4831 if test -z "$ac_cpp_err"; then
4832 ac_cv_header_stdc
=yes
4834 echo "$as_me: failed program was:" >&5
4835 cat conftest.
$ac_ext >&5
4836 ac_cv_header_stdc
=no
4838 rm -f conftest.err conftest.
$ac_ext
4840 if test $ac_cv_header_stdc = yes; then
4841 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4842 cat >conftest.
$ac_ext <<_ACEOF
4843 #line 4843 "configure"
4844 #include "confdefs.h"
4848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4849 egrep "memchr" >/dev
/null
2>&1; then
4852 ac_cv_header_stdc
=no
4858 if test $ac_cv_header_stdc = yes; then
4859 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4860 cat >conftest.
$ac_ext <<_ACEOF
4861 #line 4861 "configure"
4862 #include "confdefs.h"
4866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4867 egrep "free" >/dev
/null
2>&1; then
4870 ac_cv_header_stdc
=no
4876 if test $ac_cv_header_stdc = yes; then
4877 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4878 if test "$cross_compiling" = yes; then
4881 cat >conftest.
$ac_ext <<_ACEOF
4882 #line 4882 "configure"
4883 #include "confdefs.h"
4885 #if ((' ' & 0x0FF) == 0x020)
4886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4889 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4890 || ('j' <= (c) && (c) <= 'r') \
4891 || ('s' <= (c) && (c) <= 'z'))
4892 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4900 for (i = 0; i < 256; i++)
4901 if (XOR (islower (i), ISLOWER (i))
4902 || toupper (i) != TOUPPER (i))
4907 rm -f conftest
$ac_exeext
4908 if { (eval echo "$as_me:4908: \"$ac_link\"") >&5
4909 (eval $ac_link) 2>&5
4911 echo "$as_me:4911: \$? = $ac_status" >&5
4912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:4912: \"$ac_try\"") >&5
4915 echo "$as_me:4915: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4919 echo "$as_me: program exited with status $ac_status" >&5
4920 echo "$as_me: failed program was:" >&5
4921 cat conftest.
$ac_ext >&5
4922 ac_cv_header_stdc
=no
4924 rm -f conftest
$ac_exeext conftest.
$ac_ext
4928 echo "$as_me:4928: result: $ac_cv_header_stdc" >&5
4929 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4930 if test $ac_cv_header_stdc = yes; then
4932 cat >>confdefs.h
<<\EOF
4933 #define STDC_HEADERS 1
4938 for ac_header
in string.h
4940 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4941 echo "$as_me:4941: checking for $ac_header" >&5
4942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4943 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 cat >conftest.
$ac_ext <<_ACEOF
4947 #line 4947 "configure"
4948 #include "confdefs.h"
4949 #include <$ac_header>
4951 if { (eval echo "$as_me:4951: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4952 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4954 egrep -v '^ *\+' conftest.er1
>conftest.err
4956 cat conftest.err
>&5
4957 echo "$as_me:4957: \$? = $ac_status" >&5
4958 (exit $ac_status); }; then
4959 if test -s conftest.err
; then
4960 ac_cpp_err
=$ac_c_preproc_warn_flag
4967 if test -z "$ac_cpp_err"; then
4968 eval "$ac_ac_Header=yes"
4970 echo "$as_me: failed program was:" >&5
4971 cat conftest.
$ac_ext >&5
4972 eval "$ac_ac_Header=no"
4974 rm -f conftest.err conftest.
$ac_ext
4976 echo "$as_me:4976: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4977 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4978 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4979 cat >>confdefs.h
<<EOF
4980 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4988 ALL_LINGUAS
="de es et fr ja nl ru"
4989 echo "$as_me:4989: checking for off_t" >&5
4990 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4991 if test "${ac_cv_type_off_t+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 cat >conftest.
$ac_ext <<_ACEOF
4995 #line 4995 "configure"
4996 #include "confdefs.h"
4997 $ac_includes_default
5009 rm -f conftest.
$ac_objext
5010 if { (eval echo "$as_me:5010: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>&5
5013 echo "$as_me:5013: \$? = $ac_status" >&5
5014 (exit $ac_status); } &&
5015 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:5015: \"$ac_try\"") >&5
5018 echo "$as_me:5018: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 ac_cv_type_off_t
=yes
5022 echo "$as_me: failed program was:" >&5
5023 cat conftest.
$ac_ext >&5
5026 rm -f conftest.
$ac_objext conftest.
$ac_ext
5028 echo "$as_me:5028: result: $ac_cv_type_off_t" >&5
5029 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5030 if test $ac_cv_type_off_t = yes; then
5034 cat >>confdefs.h
<<EOF
5040 echo "$as_me:5040: checking for size_t" >&5
5041 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5042 if test "${ac_cv_type_size_t+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 cat >conftest.
$ac_ext <<_ACEOF
5046 #line 5046 "configure"
5047 #include "confdefs.h"
5048 $ac_includes_default
5054 if (sizeof (size_t))
5060 rm -f conftest.
$ac_objext
5061 if { (eval echo "$as_me:5061: \"$ac_compile\"") >&5
5062 (eval $ac_compile) 2>&5
5064 echo "$as_me:5064: \$? = $ac_status" >&5
5065 (exit $ac_status); } &&
5066 { ac_try
='test -s conftest.$ac_objext'; { (eval echo "$as_me:5066: \"$ac_try\"") >&5
5069 echo "$as_me:5069: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 ac_cv_type_size_t
=yes
5073 echo "$as_me: failed program was:" >&5
5074 cat conftest.
$ac_ext >&5
5075 ac_cv_type_size_t
=no
5077 rm -f conftest.
$ac_objext conftest.
$ac_ext
5079 echo "$as_me:5079: result: $ac_cv_type_size_t" >&5
5080 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5081 if test $ac_cv_type_size_t = yes; then
5085 cat >>confdefs.h
<<EOF
5086 #define size_t unsigned
5091 for ac_header
in stdlib.h unistd.h
5093 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5094 echo "$as_me:5094: checking for $ac_header" >&5
5095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5096 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 cat >conftest.
$ac_ext <<_ACEOF
5100 #line 5100 "configure"
5101 #include "confdefs.h"
5102 #include <$ac_header>
5104 if { (eval echo "$as_me:5104: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5105 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5107 egrep -v '^ *\+' conftest.er1
>conftest.err
5109 cat conftest.err
>&5
5110 echo "$as_me:5110: \$? = $ac_status" >&5
5111 (exit $ac_status); }; then
5112 if test -s conftest.err
; then
5113 ac_cpp_err
=$ac_c_preproc_warn_flag
5120 if test -z "$ac_cpp_err"; then
5121 eval "$ac_ac_Header=yes"
5123 echo "$as_me: failed program was:" >&5
5124 cat conftest.
$ac_ext >&5
5125 eval "$ac_ac_Header=no"
5127 rm -f conftest.err conftest.
$ac_ext
5129 echo "$as_me:5129: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5130 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5131 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5132 cat >>confdefs.h
<<EOF
5133 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5139 for ac_func
in getpagesize
5141 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5142 echo "$as_me:5142: checking for $ac_func" >&5
5143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5144 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 cat >conftest.
$ac_ext <<_ACEOF
5148 #line 5148 "configure"
5149 #include "confdefs.h"
5150 /* System header to define __stub macros and hopefully few prototypes,
5151 which can conflict with char $ac_func (); below. */
5153 /* Override any gcc2 internal prototype to avoid an error. */
5157 /* We use char because int might match the return type of a gcc2
5158 builtin and then its argument prototype would still apply. */
5165 /* The GNU C library defines this for functions which it implements
5166 to always fail with ENOSYS. Some functions are actually named
5167 something starting with __ and the normal name is an alias. */
5168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5178 rm -f conftest.
$ac_objext conftest
$ac_exeext
5179 if { (eval echo "$as_me:5179: \"$ac_link\"") >&5
5180 (eval $ac_link) 2>&5
5182 echo "$as_me:5182: \$? = $ac_status" >&5
5183 (exit $ac_status); } &&
5184 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5184: \"$ac_try\"") >&5
5187 echo "$as_me:5187: \$? = $ac_status" >&5
5188 (exit $ac_status); }; }; then
5189 eval "$ac_ac_var=yes"
5191 echo "$as_me: failed program was:" >&5
5192 cat conftest.
$ac_ext >&5
5193 eval "$ac_ac_var=no"
5195 rm -f conftest
$ac_exeext conftest.
$ac_ext
5197 echo "$as_me:5197: result: `eval echo '${'$ac_ac_var'}'`" >&5
5198 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5199 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5200 cat >>confdefs.h
<<EOF
5201 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5207 echo "$as_me:5207: checking for working mmap" >&5
5208 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5209 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 if test "$cross_compiling" = yes; then
5213 ac_cv_func_mmap_fixed_mapped
=no
5215 cat >conftest.
$ac_ext <<_ACEOF
5216 #line 5216 "configure"
5217 #include "confdefs.h"
5218 /* Thanks to Mike Haertel and Jim Avera for this test.
5219 Here is a matrix of mmap possibilities:
5220 mmap private not fixed
5221 mmap private fixed at somewhere currently unmapped
5222 mmap private fixed at somewhere already mapped
5223 mmap shared not fixed
5224 mmap shared fixed at somewhere currently unmapped
5225 mmap shared fixed at somewhere already mapped
5226 For private mappings, we should verify that changes cannot be read()
5227 back from the file, nor mmap's back from the file at a different
5228 address. (There have been systems where private was not correctly
5229 implemented like the infamous i386 svr4.0, and systems where the
5230 VM page cache was not coherent with the file system buffer cache
5231 like early versions of FreeBSD and possibly contemporary NetBSD.)
5232 For shared mappings, we should conversely verify that changes get
5233 propogated back to all the places they're supposed to be.
5235 Grep wants private fixed already mapped.
5236 The main things grep needs to know about mmap are:
5237 * does it exist and is it safe to write into the mmap'd area
5238 * how to use it (BSD variants) */
5239 #include <sys/types.h>
5241 #include <sys/mman.h>
5243 #if STDC_HEADERS || HAVE_STDLIB_H
5244 # include <stdlib.h>
5249 # include <unistd.h>
5251 #include <sys/stat.h>
5253 /* This mess was copied from the GNU getpagesize.h. */
5254 #if !HAVE_GETPAGESIZE
5255 /* Assume that all systems that can run configure have sys/param.h. */
5256 # if !HAVE_SYS_PARAM_H
5257 # define HAVE_SYS_PARAM_H 1
5260 # ifdef _SC_PAGESIZE
5261 # define getpagesize() sysconf(_SC_PAGESIZE)
5262 # else /* no _SC_PAGESIZE */
5263 # if HAVE_SYS_PARAM_H
5264 # include <sys/param.h>
5265 # ifdef EXEC_PAGESIZE
5266 # define getpagesize() EXEC_PAGESIZE
5267 # else /* no EXEC_PAGESIZE */
5269 # define getpagesize() NBPG * CLSIZE
5272 # endif /* no CLSIZE */
5273 # else /* no NBPG */
5275 # define getpagesize() NBPC
5276 # else /* no NBPC */
5278 # define getpagesize() PAGESIZE
5279 # endif /* PAGESIZE */
5280 # endif /* no NBPC */
5281 # endif /* no NBPG */
5282 # endif /* no EXEC_PAGESIZE */
5283 # else /* no HAVE_SYS_PARAM_H */
5284 # define getpagesize() 8192 /* punt totally */
5285 # endif /* no HAVE_SYS_PARAM_H */
5286 # endif /* no _SC_PAGESIZE */
5288 #endif /* no HAVE_GETPAGESIZE */
5293 char *data, *data2, *data3;
5297 pagesize = getpagesize ();
5299 /* First, make a file with some known garbage in it. */
5300 data = (char *) malloc (pagesize);
5303 for (i = 0; i < pagesize; ++i)
5304 *(data + i) = rand ();
5306 fd = creat ("conftest.mmap", 0600);
5309 if (write (fd, data, pagesize) != pagesize)
5313 /* Next, try to mmap the file at a fixed address which already has
5314 something else allocated at it. If we can, also make sure that
5315 we see the same garbage. */
5316 fd = open ("conftest.mmap", O_RDWR);
5319 data2 = (char *) malloc (2 * pagesize);
5322 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5323 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5324 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5326 for (i = 0; i < pagesize; ++i)
5327 if (*(data + i) != *(data2 + i))
5330 /* Finally, make sure that changes to the mapped area do not
5331 percolate back to the file as seen by read(). (This is a bug on
5332 some variants of i386 svr4.0.) */
5333 for (i = 0; i < pagesize; ++i)
5334 *(data2 + i) = *(data2 + i) + 1;
5335 data3 = (char *) malloc (pagesize);
5338 if (read (fd, data3, pagesize) != pagesize)
5340 for (i = 0; i < pagesize; ++i)
5341 if (*(data + i) != *(data3 + i))
5347 rm -f conftest
$ac_exeext
5348 if { (eval echo "$as_me:5348: \"$ac_link\"") >&5
5349 (eval $ac_link) 2>&5
5351 echo "$as_me:5351: \$? = $ac_status" >&5
5352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:5352: \"$ac_try\"") >&5
5355 echo "$as_me:5355: \$? = $ac_status" >&5
5356 (exit $ac_status); }; }; then
5357 ac_cv_func_mmap_fixed_mapped
=yes
5359 echo "$as_me: program exited with status $ac_status" >&5
5360 echo "$as_me: failed program was:" >&5
5361 cat conftest.
$ac_ext >&5
5362 ac_cv_func_mmap_fixed_mapped
=no
5364 rm -f conftest
$ac_exeext conftest.
$ac_ext
5367 echo "$as_me:5367: result: $ac_cv_func_mmap_fixed_mapped" >&5
5368 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5369 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5371 cat >>confdefs.h
<<\EOF
5378 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
5379 unistd.h sys
/param.h
5381 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5382 echo "$as_me:5382: checking for $ac_header" >&5
5383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5384 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 cat >conftest.
$ac_ext <<_ACEOF
5388 #line 5388 "configure"
5389 #include "confdefs.h"
5390 #include <$ac_header>
5392 if { (eval echo "$as_me:5392: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5393 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5395 egrep -v '^ *\+' conftest.er1
>conftest.err
5397 cat conftest.err
>&5
5398 echo "$as_me:5398: \$? = $ac_status" >&5
5399 (exit $ac_status); }; then
5400 if test -s conftest.err
; then
5401 ac_cpp_err
=$ac_c_preproc_warn_flag
5408 if test -z "$ac_cpp_err"; then
5409 eval "$ac_ac_Header=yes"
5411 echo "$as_me: failed program was:" >&5
5412 cat conftest.
$ac_ext >&5
5413 eval "$ac_ac_Header=no"
5415 rm -f conftest.err conftest.
$ac_ext
5417 echo "$as_me:5417: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5418 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5419 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5420 cat >>confdefs.h
<<EOF
5421 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5427 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
5428 strdup __argz_count __argz_stringify __argz_next
5430 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5431 echo "$as_me:5431: checking for $ac_func" >&5
5432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5433 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 cat >conftest.
$ac_ext <<_ACEOF
5437 #line 5437 "configure"
5438 #include "confdefs.h"
5439 /* System header to define __stub macros and hopefully few prototypes,
5440 which can conflict with char $ac_func (); below. */
5442 /* Override any gcc2 internal prototype to avoid an error. */
5446 /* We use char because int might match the return type of a gcc2
5447 builtin and then its argument prototype would still apply. */
5454 /* The GNU C library defines this for functions which it implements
5455 to always fail with ENOSYS. Some functions are actually named
5456 something starting with __ and the normal name is an alias. */
5457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5467 rm -f conftest.
$ac_objext conftest
$ac_exeext
5468 if { (eval echo "$as_me:5468: \"$ac_link\"") >&5
5469 (eval $ac_link) 2>&5
5471 echo "$as_me:5471: \$? = $ac_status" >&5
5472 (exit $ac_status); } &&
5473 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5473: \"$ac_try\"") >&5
5476 echo "$as_me:5476: \$? = $ac_status" >&5
5477 (exit $ac_status); }; }; then
5478 eval "$ac_ac_var=yes"
5480 echo "$as_me: failed program was:" >&5
5481 cat conftest.
$ac_ext >&5
5482 eval "$ac_ac_var=no"
5484 rm -f conftest
$ac_exeext conftest.
$ac_ext
5486 echo "$as_me:5486: result: `eval echo '${'$ac_ac_var'}'`" >&5
5487 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5488 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5489 cat >>confdefs.h
<<EOF
5490 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5496 if test "${ac_cv_func_stpcpy+set}" != "set"; then
5498 for ac_func
in stpcpy
5500 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5501 echo "$as_me:5501: checking for $ac_func" >&5
5502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5503 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6
5506 cat >conftest.
$ac_ext <<_ACEOF
5507 #line 5507 "configure"
5508 #include "confdefs.h"
5509 /* System header to define __stub macros and hopefully few prototypes,
5510 which can conflict with char $ac_func (); below. */
5512 /* Override any gcc2 internal prototype to avoid an error. */
5516 /* We use char because int might match the return type of a gcc2
5517 builtin and then its argument prototype would still apply. */
5524 /* The GNU C library defines this for functions which it implements
5525 to always fail with ENOSYS. Some functions are actually named
5526 something starting with __ and the normal name is an alias. */
5527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5537 rm -f conftest.
$ac_objext conftest
$ac_exeext
5538 if { (eval echo "$as_me:5538: \"$ac_link\"") >&5
5539 (eval $ac_link) 2>&5
5541 echo "$as_me:5541: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5543: \"$ac_try\"") >&5
5546 echo "$as_me:5546: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5548 eval "$ac_ac_var=yes"
5550 echo "$as_me: failed program was:" >&5
5551 cat conftest.
$ac_ext >&5
5552 eval "$ac_ac_var=no"
5554 rm -f conftest
$ac_exeext conftest.
$ac_ext
5556 echo "$as_me:5556: result: `eval echo '${'$ac_ac_var'}'`" >&5
5557 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5558 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5559 cat >>confdefs.h
<<EOF
5560 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5567 if test "${ac_cv_func_stpcpy}" = "yes"; then
5569 cat >>confdefs.h
<<\EOF
5570 #define HAVE_STPCPY 1
5575 if test $ac_cv_header_locale_h = yes; then
5576 echo "$as_me:5576: checking for LC_MESSAGES" >&5
5577 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
5578 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5579 echo $ECHO_N "(cached) $ECHO_C" >&6
5581 cat >conftest.
$ac_ext <<_ACEOF
5582 #line 5582 "configure"
5583 #include "confdefs.h"
5593 rm -f conftest.
$ac_objext conftest
$ac_exeext
5594 if { (eval echo "$as_me:5594: \"$ac_link\"") >&5
5595 (eval $ac_link) 2>&5
5597 echo "$as_me:5597: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5599: \"$ac_try\"") >&5
5602 echo "$as_me:5602: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5604 am_cv_val_LC_MESSAGES
=yes
5606 echo "$as_me: failed program was:" >&5
5607 cat conftest.
$ac_ext >&5
5608 am_cv_val_LC_MESSAGES
=no
5610 rm -f conftest
$ac_exeext conftest.
$ac_ext
5612 echo "$as_me:5612: result: $am_cv_val_LC_MESSAGES" >&5
5613 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
5614 if test $am_cv_val_LC_MESSAGES = yes; then
5616 cat >>confdefs.h
<<\EOF
5617 #define HAVE_LC_MESSAGES 1
5622 echo "$as_me:5622: checking whether NLS is requested" >&5
5623 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5624 # Check whether --enable-nls or --disable-nls was given.
5625 if test "${enable_nls+set}" = set; then
5626 enableval
="$enable_nls"
5631 echo "$as_me:5631: result: $USE_NLS" >&5
5632 echo "${ECHO_T}$USE_NLS" >&6
5634 USE_INCLUDED_LIBINTL
=no
5636 if test "$USE_NLS" = "yes"; then
5638 cat >>confdefs.h
<<\EOF
5639 #define ENABLE_NLS 1
5642 echo "$as_me:5642: checking whether included gettext is requested" >&5
5643 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
5645 # Check whether --with-included-gettext or --without-included-gettext was given.
5646 if test "${with_included_gettext+set}" = set; then
5647 withval
="$with_included_gettext"
5648 nls_cv_force_use_gnu_gettext
=$withval
5650 nls_cv_force_use_gnu_gettext
=no
5652 echo "$as_me:5652: result: $nls_cv_force_use_gnu_gettext" >&5
5653 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
5655 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5656 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5658 nls_cv_header_libgt
=
5661 echo "$as_me:5661: checking for libintl.h" >&5
5662 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5663 if test "${ac_cv_header_libintl_h+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 cat >conftest.
$ac_ext <<_ACEOF
5667 #line 5667 "configure"
5668 #include "confdefs.h"
5669 #include <libintl.h>
5671 if { (eval echo "$as_me:5671: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5672 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5674 egrep -v '^ *\+' conftest.er1
>conftest.err
5676 cat conftest.err
>&5
5677 echo "$as_me:5677: \$? = $ac_status" >&5
5678 (exit $ac_status); }; then
5679 if test -s conftest.err
; then
5680 ac_cpp_err
=$ac_c_preproc_warn_flag
5687 if test -z "$ac_cpp_err"; then
5688 ac_cv_header_libintl_h
=yes
5690 echo "$as_me: failed program was:" >&5
5691 cat conftest.
$ac_ext >&5
5692 ac_cv_header_libintl_h
=no
5694 rm -f conftest.err conftest.
$ac_ext
5696 echo "$as_me:5696: result: $ac_cv_header_libintl_h" >&5
5697 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5698 if test $ac_cv_header_libintl_h = yes; then
5699 echo "$as_me:5699: checking for gettext in libc" >&5
5700 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5701 if test "${gt_cv_func_gettext_libc+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 cat >conftest.
$ac_ext <<_ACEOF
5705 #line 5705 "configure"
5706 #include "confdefs.h"
5707 #include <libintl.h>
5711 return (int) gettext ("")
5716 rm -f conftest.
$ac_objext conftest
$ac_exeext
5717 if { (eval echo "$as_me:5717: \"$ac_link\"") >&5
5718 (eval $ac_link) 2>&5
5720 echo "$as_me:5720: \$? = $ac_status" >&5
5721 (exit $ac_status); } &&
5722 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5722: \"$ac_try\"") >&5
5725 echo "$as_me:5725: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 gt_cv_func_gettext_libc
=yes
5729 echo "$as_me: failed program was:" >&5
5730 cat conftest.
$ac_ext >&5
5731 gt_cv_func_gettext_libc
=no
5733 rm -f conftest
$ac_exeext conftest.
$ac_ext
5735 echo "$as_me:5735: result: $gt_cv_func_gettext_libc" >&5
5736 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5738 if test "$gt_cv_func_gettext_libc" != "yes"; then
5739 echo "$as_me:5739: checking for bindtextdomain in -lintl" >&5
5740 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5741 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 ac_check_lib_save_LIBS
=$LIBS
5746 cat >conftest.
$ac_ext <<_ACEOF
5747 #line 5747 "configure"
5748 #include "confdefs.h"
5750 /* Override any gcc2 internal prototype to avoid an error. */
5754 /* We use char because int might match the return type of a gcc2
5755 builtin and then its argument prototype would still apply. */
5756 char bindtextdomain ();
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'; { (eval echo "$as_me:5771: \"$ac_try\"") >&5
5774 echo "$as_me:5774: \$? = $ac_status" >&5
5775 (exit $ac_status); }; }; then
5776 ac_cv_lib_intl_bindtextdomain
=yes
5778 echo "$as_me: failed program was:" >&5
5779 cat conftest.
$ac_ext >&5
5780 ac_cv_lib_intl_bindtextdomain
=no
5782 rm -f conftest
$ac_exeext conftest.
$ac_ext
5783 LIBS
=$ac_check_lib_save_LIBS
5785 echo "$as_me:5785: result: $ac_cv_lib_intl_bindtextdomain" >&5
5786 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5787 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5789 echo "$as_me:5789: checking for gettext in -lintl" >&5
5790 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
5791 if test "${ac_cv_lib_intl_gettext+set}" = set; then
5792 echo $ECHO_N "(cached) $ECHO_C" >&6
5794 ac_check_lib_save_LIBS
=$LIBS
5796 cat >conftest.
$ac_ext <<_ACEOF
5797 #line 5797 "configure"
5798 #include "confdefs.h"
5800 /* Override any gcc2 internal prototype to avoid an error. */
5804 /* We use char because int might match the return type of a gcc2
5805 builtin and then its argument prototype would still apply. */
5815 rm -f conftest.
$ac_objext conftest
$ac_exeext
5816 if { (eval echo "$as_me:5816: \"$ac_link\"") >&5
5817 (eval $ac_link) 2>&5
5819 echo "$as_me:5819: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5821: \"$ac_try\"") >&5
5824 echo "$as_me:5824: \$? = $ac_status" >&5
5825 (exit $ac_status); }; }; then
5826 ac_cv_lib_intl_gettext
=yes
5828 echo "$as_me: failed program was:" >&5
5829 cat conftest.
$ac_ext >&5
5830 ac_cv_lib_intl_gettext
=no
5832 rm -f conftest
$ac_exeext conftest.
$ac_ext
5833 LIBS
=$ac_check_lib_save_LIBS
5835 echo "$as_me:5835: result: $ac_cv_lib_intl_gettext" >&5
5836 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
5837 if test $ac_cv_lib_intl_gettext = yes; then
5838 cat >>confdefs.h
<<EOF
5839 #define HAVE_LIBINTL 1
5850 if test "$gt_cv_func_gettext_libc" = "yes" \
5851 || test "$ac_cv_lib_intl_gettext" = "yes"; then
5853 cat >>confdefs.h
<<\EOF
5854 #define HAVE_GETTEXT 1
5857 # Extract the first word of "msgfmt", so it can be a program name with args.
5858 set dummy msgfmt
; ac_word
=$2
5859 echo "$as_me:5859: checking for $ac_word" >&5
5860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5861 if test "${ac_cv_path_MSGFMT+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5870 for ac_dir
in $PATH; do
5871 test -z "$ac_dir" && ac_dir
=.
5872 if test -f $ac_dir/$ac_word; then
5873 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5874 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5880 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5884 MSGFMT
="$ac_cv_path_MSGFMT"
5885 if test -n "$MSGFMT"; then
5886 echo "$as_me:5886: result: $MSGFMT" >&5
5887 echo "${ECHO_T}$MSGFMT" >&6
5889 echo "$as_me:5889: result: no" >&5
5890 echo "${ECHO_T}no" >&6
5892 if test "$MSGFMT" != "no"; then
5894 for ac_func
in dcgettext
5896 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5897 echo "$as_me:5897: checking for $ac_func" >&5
5898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5899 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 cat >conftest.
$ac_ext <<_ACEOF
5903 #line 5903 "configure"
5904 #include "confdefs.h"
5905 /* System header to define __stub macros and hopefully few prototypes,
5906 which can conflict with char $ac_func (); below. */
5908 /* Override any gcc2 internal prototype to avoid an error. */
5912 /* We use char because int might match the return type of a gcc2
5913 builtin and then its argument prototype would still apply. */
5920 /* The GNU C library defines this for functions which it implements
5921 to always fail with ENOSYS. Some functions are actually named
5922 something starting with __ and the normal name is an alias. */
5923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5933 rm -f conftest.
$ac_objext conftest
$ac_exeext
5934 if { (eval echo "$as_me:5934: \"$ac_link\"") >&5
5935 (eval $ac_link) 2>&5
5937 echo "$as_me:5937: \$? = $ac_status" >&5
5938 (exit $ac_status); } &&
5939 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:5939: \"$ac_try\"") >&5
5942 echo "$as_me:5942: \$? = $ac_status" >&5
5943 (exit $ac_status); }; }; then
5944 eval "$ac_ac_var=yes"
5946 echo "$as_me: failed program was:" >&5
5947 cat conftest.
$ac_ext >&5
5948 eval "$ac_ac_var=no"
5950 rm -f conftest
$ac_exeext conftest.
$ac_ext
5952 echo "$as_me:5952: result: `eval echo '${'$ac_ac_var'}'`" >&5
5953 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5954 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5955 cat >>confdefs.h
<<EOF
5956 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5962 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5963 set dummy gmsgfmt
; ac_word
=$2
5964 echo "$as_me:5964: checking for $ac_word" >&5
5965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5966 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5971 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5974 ac_save_IFS
=$IFS; IFS
=':'
5976 for ac_dir
in $ac_dummy; do
5978 test -z "$ac_dir" && ac_dir
=.
5979 if $as_executable_p "$ac_dir/$ac_word"; then
5980 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
5985 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5989 GMSGFMT
=$ac_cv_path_GMSGFMT
5991 if test -n "$GMSGFMT"; then
5992 echo "$as_me:5992: result: $GMSGFMT" >&5
5993 echo "${ECHO_T}$GMSGFMT" >&6
5995 echo "$as_me:5995: result: no" >&5
5996 echo "${ECHO_T}no" >&6
5999 # Extract the first word of "xgettext", so it can be a program name with args.
6000 set dummy xgettext
; ac_word
=$2
6001 echo "$as_me:6001: checking for $ac_word" >&5
6002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6003 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6012 for ac_dir
in $PATH; do
6013 test -z "$ac_dir" && ac_dir
=.
6014 if test -f $ac_dir/$ac_word; then
6015 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6016 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6022 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6026 XGETTEXT
="$ac_cv_path_XGETTEXT"
6027 if test -n "$XGETTEXT"; then
6028 echo "$as_me:6028: result: $XGETTEXT" >&5
6029 echo "${ECHO_T}$XGETTEXT" >&6
6031 echo "$as_me:6031: result: no" >&5
6032 echo "${ECHO_T}no" >&6
6035 cat >conftest.
$ac_ext <<_ACEOF
6036 #line 6036 "configure"
6037 #include "confdefs.h"
6042 extern int _nl_msg_cat_cntr;
6043 return _nl_msg_cat_cntr
6048 rm -f conftest.
$ac_objext conftest
$ac_exeext
6049 if { (eval echo "$as_me:6049: \"$ac_link\"") >&5
6050 (eval $ac_link) 2>&5
6052 echo "$as_me:6052: \$? = $ac_status" >&5
6053 (exit $ac_status); } &&
6054 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:6054: \"$ac_try\"") >&5
6057 echo "$as_me:6057: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6062 echo "$as_me: failed program was:" >&5
6063 cat conftest.
$ac_ext >&5
6067 rm -f conftest
$ac_exeext conftest.
$ac_ext
6074 if test "$CATOBJEXT" = "NONE"; then
6075 echo "$as_me:6075: checking whether catgets can be used" >&5
6076 echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6
6078 # Check whether --with-catgets or --without-catgets was given.
6079 if test "${with_catgets+set}" = set; then
6080 withval
="$with_catgets"
6081 nls_cv_use_catgets
=$withval
6083 nls_cv_use_catgets
=no
6085 echo "$as_me:6085: result: $nls_cv_use_catgets" >&5
6086 echo "${ECHO_T}$nls_cv_use_catgets" >&6
6088 if test "$nls_cv_use_catgets" = "yes"; then
6090 echo "$as_me:6090: checking for main in -li" >&5
6091 echo $ECHO_N "checking for main in -li... $ECHO_C" >&6
6092 if test "${ac_cv_lib_i_main+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 ac_check_lib_save_LIBS
=$LIBS
6097 cat >conftest.
$ac_ext <<_ACEOF
6098 #line 6098 "configure"
6099 #include "confdefs.h"
6109 rm -f conftest.
$ac_objext conftest
$ac_exeext
6110 if { (eval echo "$as_me:6110: \"$ac_link\"") >&5
6111 (eval $ac_link) 2>&5
6113 echo "$as_me:6113: \$? = $ac_status" >&5
6114 (exit $ac_status); } &&
6115 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:6115: \"$ac_try\"") >&5
6118 echo "$as_me:6118: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6120 ac_cv_lib_i_main
=yes
6122 echo "$as_me: failed program was:" >&5
6123 cat conftest.
$ac_ext >&5
6126 rm -f conftest
$ac_exeext conftest.
$ac_ext
6127 LIBS
=$ac_check_lib_save_LIBS
6129 echo "$as_me:6129: result: $ac_cv_lib_i_main" >&5
6130 echo "${ECHO_T}$ac_cv_lib_i_main" >&6
6131 if test $ac_cv_lib_i_main = yes; then
6132 cat >>confdefs.h
<<EOF
6140 echo "$as_me:6140: checking for catgets" >&5
6141 echo $ECHO_N "checking for catgets... $ECHO_C" >&6
6142 if test "${ac_cv_func_catgets+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 cat >conftest.
$ac_ext <<_ACEOF
6146 #line 6146 "configure"
6147 #include "confdefs.h"
6148 /* System header to define __stub macros and hopefully few prototypes,
6149 which can conflict with char catgets (); below. */
6151 /* Override any gcc2 internal prototype to avoid an error. */
6155 /* We use char because int might match the return type of a gcc2
6156 builtin and then its argument prototype would still apply. */
6163 /* The GNU C library defines this for functions which it implements
6164 to always fail with ENOSYS. Some functions are actually named
6165 something starting with __ and the normal name is an alias. */
6166 #if defined (__stub_catgets) || defined (__stub___catgets)
6176 rm -f conftest.
$ac_objext conftest
$ac_exeext
6177 if { (eval echo "$as_me:6177: \"$ac_link\"") >&5
6178 (eval $ac_link) 2>&5
6180 echo "$as_me:6180: \$? = $ac_status" >&5
6181 (exit $ac_status); } &&
6182 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:6182: \"$ac_try\"") >&5
6185 echo "$as_me:6185: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6187 ac_cv_func_catgets
=yes
6189 echo "$as_me: failed program was:" >&5
6190 cat conftest.
$ac_ext >&5
6191 ac_cv_func_catgets
=no
6193 rm -f conftest
$ac_exeext conftest.
$ac_ext
6195 echo "$as_me:6195: result: $ac_cv_func_catgets" >&5
6196 echo "${ECHO_T}$ac_cv_func_catgets" >&6
6197 if test $ac_cv_func_catgets = yes; then
6199 cat >>confdefs.h
<<\EOF
6200 #define HAVE_CATGETS 1
6203 INTLOBJS
="\$(CATOBJS)"
6204 # Extract the first word of "gencat", so it can be a program name with args.
6205 set dummy gencat
; ac_word
=$2
6206 echo "$as_me:6206: checking for $ac_word" >&5
6207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6208 if test "${ac_cv_path_GENCAT+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 ac_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a path.
6216 ac_save_IFS
=$IFS; IFS
=':'
6218 for ac_dir
in $ac_dummy; do
6220 test -z "$ac_dir" && ac_dir
=.
6221 if $as_executable_p "$ac_dir/$ac_word"; then
6222 ac_cv_path_GENCAT
="$ac_dir/$ac_word"
6227 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT
="no"
6231 GENCAT
=$ac_cv_path_GENCAT
6233 if test -n "$GENCAT"; then
6234 echo "$as_me:6234: result: $GENCAT" >&5
6235 echo "${ECHO_T}$GENCAT" >&6
6237 echo "$as_me:6237: result: no" >&5
6238 echo "${ECHO_T}no" >&6
6240 if test "$GENCAT" != "no"; then
6241 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6242 set dummy gmsgfmt
; ac_word
=$2
6243 echo "$as_me:6243: checking for $ac_word" >&5
6244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6245 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6253 ac_save_IFS
=$IFS; IFS
=':'
6255 for ac_dir
in $ac_dummy; do
6257 test -z "$ac_dir" && ac_dir
=.
6258 if $as_executable_p "$ac_dir/$ac_word"; then
6259 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6264 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
6268 GMSGFMT
=$ac_cv_path_GMSGFMT
6270 if test -n "$GMSGFMT"; then
6271 echo "$as_me:6271: result: $GMSGFMT" >&5
6272 echo "${ECHO_T}$GMSGFMT" >&6
6274 echo "$as_me:6274: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6278 if test "$GMSGFMT" = "no"; then
6279 # Extract the first word of "msgfmt", so it can be a program name with args.
6280 set dummy msgfmt
; ac_word
=$2
6281 echo "$as_me:6281: checking for $ac_word" >&5
6282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6283 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6291 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6292 for ac_dir
in $PATH; do
6293 test -z "$ac_dir" && ac_dir
=.
6294 if test -f $ac_dir/$ac_word; then
6295 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6296 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6302 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
6306 GMSGFMT
="$ac_cv_path_GMSGFMT"
6307 if test -n "$GMSGFMT"; then
6308 echo "$as_me:6308: result: $GMSGFMT" >&5
6309 echo "${ECHO_T}$GMSGFMT" >&6
6311 echo "$as_me:6311: result: no" >&5
6312 echo "${ECHO_T}no" >&6
6316 # Extract the first word of "xgettext", so it can be a program name with args.
6317 set dummy xgettext
; ac_word
=$2
6318 echo "$as_me:6318: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6320 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6328 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6329 for ac_dir
in $PATH; do
6330 test -z "$ac_dir" && ac_dir
=.
6331 if test -f $ac_dir/$ac_word; then
6332 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6333 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6339 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6343 XGETTEXT
="$ac_cv_path_XGETTEXT"
6344 if test -n "$XGETTEXT"; then
6345 echo "$as_me:6345: result: $XGETTEXT" >&5
6346 echo "${ECHO_T}$XGETTEXT" >&6
6348 echo "$as_me:6348: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6352 USE_INCLUDED_LIBINTL
=yes
6356 INTLDEPS
='$(top_builddir)/intl/libintl.a'
6358 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
6359 nls_cv_header_intl
=intl
/libintl.h
6360 nls_cv_header_libgt
=intl
/libgettext.h
6367 if test "$CATOBJEXT" = "NONE"; then
6368 nls_cv_use_gnu_gettext
=yes
6372 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6373 INTLOBJS
="\$(GETTOBJS)"
6374 # Extract the first word of "msgfmt", so it can be a program name with args.
6375 set dummy msgfmt
; ac_word
=$2
6376 echo "$as_me:6376: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6378 if test "${ac_cv_path_MSGFMT+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6383 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6386 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6387 for ac_dir
in $PATH; do
6388 test -z "$ac_dir" && ac_dir
=.
6389 if test -f $ac_dir/$ac_word; then
6390 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6391 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6397 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
6401 MSGFMT
="$ac_cv_path_MSGFMT"
6402 if test -n "$MSGFMT"; then
6403 echo "$as_me:6403: result: $MSGFMT" >&5
6404 echo "${ECHO_T}$MSGFMT" >&6
6406 echo "$as_me:6406: result: no" >&5
6407 echo "${ECHO_T}no" >&6
6410 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6411 set dummy gmsgfmt
; ac_word
=$2
6412 echo "$as_me:6412: checking for $ac_word" >&5
6413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6414 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6422 ac_save_IFS
=$IFS; IFS
=':'
6424 for ac_dir
in $ac_dummy; do
6426 test -z "$ac_dir" && ac_dir
=.
6427 if $as_executable_p "$ac_dir/$ac_word"; then
6428 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6433 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6437 GMSGFMT
=$ac_cv_path_GMSGFMT
6439 if test -n "$GMSGFMT"; then
6440 echo "$as_me:6440: result: $GMSGFMT" >&5
6441 echo "${ECHO_T}$GMSGFMT" >&6
6443 echo "$as_me:6443: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6447 # Extract the first word of "xgettext", so it can be a program name with args.
6448 set dummy xgettext
; ac_word
=$2
6449 echo "$as_me:6449: checking for $ac_word" >&5
6450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6451 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6459 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6460 for ac_dir
in $PATH; do
6461 test -z "$ac_dir" && ac_dir
=.
6462 if test -f $ac_dir/$ac_word; then
6463 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6464 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6470 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6474 XGETTEXT
="$ac_cv_path_XGETTEXT"
6475 if test -n "$XGETTEXT"; then
6476 echo "$as_me:6476: result: $XGETTEXT" >&5
6477 echo "${ECHO_T}$XGETTEXT" >&6
6479 echo "$as_me:6479: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6483 USE_INCLUDED_LIBINTL
=yes
6487 INTLDEPS
='$(top_builddir)/intl/libintl.a'
6489 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
6490 nls_cv_header_intl
=intl
/libintl.h
6491 nls_cv_header_libgt
=intl
/libgettext.h
6494 if test "$XGETTEXT" != ":"; then
6495 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
6498 echo "$as_me:6498: result: found xgettext program is not GNU xgettext; ignore it" >&5
6499 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6504 # We need to process the po/ directory.
6508 nls_cv_header_intl
=intl
/libintl.h
6509 nls_cv_header_libgt
=intl
/libgettext.h
6511 if test -z "$nls_cv_header_intl"; then
6512 # Clean out junk possibly left behind by a previous configuration.
6513 rm -f intl
/libintl.h
6515 ac_sources
="$nls_cv_header_libgt"
6516 ac_dests
="$nls_cv_header_intl"
6517 while test -n "$ac_sources"; do
6518 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
6519 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
6520 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
6522 ac_config_links
="$ac_config_links $ac_config_links_1"
6524 ac_config_commands
="$ac_config_commands default-2"
6526 # If this is used in GNU gettext we have to set USE_NLS to `yes'
6527 # because some of the sources are only built for this goal.
6528 if test "$PACKAGE" = gettext; then
6530 USE_INCLUDED_LIBINTL
=yes
6533 for lang
in $ALL_LINGUAS; do
6534 GMOFILES
="$GMOFILES $lang.gmo"
6535 POFILES
="$POFILES $lang.po"
6538 if test "x$CATOBJEXT" != "x"; then
6539 if test "x$ALL_LINGUAS" = "x"; then
6542 echo "$as_me:6542: checking for catalogs to be installed" >&5
6543 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6545 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
6546 case "$ALL_LINGUAS" in
6547 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
6550 LINGUAS
=$NEW_LINGUAS
6551 echo "$as_me:6551: result: $LINGUAS" >&5
6552 echo "${ECHO_T}$LINGUAS" >&6
6555 if test -n "$LINGUAS"; then
6556 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
6560 if test $ac_cv_header_locale_h = yes; then
6561 INCLUDE_LOCALE_H
="#include <locale.h>"
6564 /* The system does not provide the header <locale.h>. Take care yourself. */"
6567 test -d intl
|| mkdir intl
6568 if test "$CATOBJEXT" = ".cat"; then
6569 echo "$as_me:6569: checking for linux/version.h" >&5
6570 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
6571 if test "${ac_cv_header_linux_version_h+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 cat >conftest.
$ac_ext <<_ACEOF
6575 #line 6575 "configure"
6576 #include "confdefs.h"
6577 #include <linux/version.h>
6579 if { (eval echo "$as_me:6579: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
6580 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
6582 egrep -v '^ *\+' conftest.er1
>conftest.err
6584 cat conftest.err
>&5
6585 echo "$as_me:6585: \$? = $ac_status" >&5
6586 (exit $ac_status); }; then
6587 if test -s conftest.err
; then
6588 ac_cpp_err
=$ac_c_preproc_warn_flag
6595 if test -z "$ac_cpp_err"; then
6596 ac_cv_header_linux_version_h
=yes
6598 echo "$as_me: failed program was:" >&5
6599 cat conftest.
$ac_ext >&5
6600 ac_cv_header_linux_version_h
=no
6602 rm -f conftest.err conftest.
$ac_ext
6604 echo "$as_me:6604: result: $ac_cv_header_linux_version_h" >&5
6605 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
6606 if test $ac_cv_header_linux_version_h = yes; then
6612 sed -e '/^#/d' $srcdir/intl
/$msgformat-msg.
sed > intl
/po2msg.
sed
6614 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
6615 $srcdir/intl
/po2tbl.
sed.
in > intl
/po2tbl.
sed
6617 if test "$PACKAGE" = "gettext"; then
6626 if test -n "$ac_aux_dir"; then
6627 MKINSTALLDIRS
="\$(top_srcdir)/$ac_aux_dir/mkinstalldirs"
6629 if test -z "$MKINSTALLDIRS"; then
6630 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6635 test -d po
|| mkdir po
6638 posrcprefix
="../" ;;
6640 posrcprefix
="$srcdir/" ;;
6642 posrcprefix
="../$srcdir/" ;;
6645 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6646 < $srcdir/po
/POTFILES.
in > po
/POTFILES
6648 for ac_func
in strerror strerror_r vprintf doprnt
6650 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
6651 echo "$as_me:6651: checking for $ac_func" >&5
6652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6653 if eval "test \"\${$ac_ac_var+set}\" = set"; then
6654 echo $ECHO_N "(cached) $ECHO_C" >&6
6656 cat >conftest.
$ac_ext <<_ACEOF
6657 #line 6657 "configure"
6658 #include "confdefs.h"
6659 /* System header to define __stub macros and hopefully few prototypes,
6660 which can conflict with char $ac_func (); below. */
6662 /* Override any gcc2 internal prototype to avoid an error. */
6666 /* We use char because int might match the return type of a gcc2
6667 builtin and then its argument prototype would still apply. */
6674 /* The GNU C library defines this for functions which it implements
6675 to always fail with ENOSYS. Some functions are actually named
6676 something starting with __ and the normal name is an alias. */
6677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6687 rm -f conftest.
$ac_objext conftest
$ac_exeext
6688 if { (eval echo "$as_me:6688: \"$ac_link\"") >&5
6689 (eval $ac_link) 2>&5
6691 echo "$as_me:6691: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try
='test -s conftest$ac_exeext'; { (eval echo "$as_me:6693: \"$ac_try\"") >&5
6696 echo "$as_me:6696: \$? = $ac_status" >&5
6697 (exit $ac_status); }; }; then
6698 eval "$ac_ac_var=yes"
6700 echo "$as_me: failed program was:" >&5
6701 cat conftest.
$ac_ext >&5
6702 eval "$ac_ac_var=no"
6704 rm -f conftest
$ac_exeext conftest.
$ac_ext
6706 echo "$as_me:6706: result: `eval echo '${'$ac_ac_var'}'`" >&5
6707 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6708 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6709 cat >>confdefs.h
<<EOF
6710 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6716 echo "$as_me:6716: checking for ANSI C header files" >&5
6717 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6718 if test "${ac_cv_header_stdc+set}" = set; then
6719 echo $ECHO_N "(cached) $ECHO_C" >&6
6721 cat >conftest.
$ac_ext <<_ACEOF
6722 #line 6722 "configure"
6723 #include "confdefs.h"
6730 if { (eval echo "$as_me:6730: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
6731 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
6733 egrep -v '^ *\+' conftest.er1
>conftest.err
6735 cat conftest.err
>&5
6736 echo "$as_me:6736: \$? = $ac_status" >&5
6737 (exit $ac_status); }; then
6738 if test -s conftest.err
; then
6739 ac_cpp_err
=$ac_c_preproc_warn_flag
6746 if test -z "$ac_cpp_err"; then
6747 ac_cv_header_stdc
=yes
6749 echo "$as_me: failed program was:" >&5
6750 cat conftest.
$ac_ext >&5
6751 ac_cv_header_stdc
=no
6753 rm -f conftest.err conftest.
$ac_ext
6755 if test $ac_cv_header_stdc = yes; then
6756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6757 cat >conftest.
$ac_ext <<_ACEOF
6758 #line 6758 "configure"
6759 #include "confdefs.h"
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 egrep "memchr" >/dev
/null
2>&1; then
6767 ac_cv_header_stdc
=no
6773 if test $ac_cv_header_stdc = yes; then
6774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6775 cat >conftest.
$ac_ext <<_ACEOF
6776 #line 6776 "configure"
6777 #include "confdefs.h"
6781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6782 egrep "free" >/dev
/null
2>&1; then
6785 ac_cv_header_stdc
=no
6791 if test $ac_cv_header_stdc = yes; then
6792 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6793 if test "$cross_compiling" = yes; then
6796 cat >conftest.
$ac_ext <<_ACEOF
6797 #line 6797 "configure"
6798 #include "confdefs.h"
6800 #if ((' ' & 0x0FF) == 0x020)
6801 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6802 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6804 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6805 || ('j' <= (c) && (c) <= 'r') \
6806 || ('s' <= (c) && (c) <= 'z'))
6807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6815 for (i = 0; i < 256; i++)
6816 if (XOR (islower (i), ISLOWER (i))
6817 || toupper (i) != TOUPPER (i))
6822 rm -f conftest
$ac_exeext
6823 if { (eval echo "$as_me:6823: \"$ac_link\"") >&5
6824 (eval $ac_link) 2>&5
6826 echo "$as_me:6826: \$? = $ac_status" >&5
6827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'; { (eval echo "$as_me:6827: \"$ac_try\"") >&5
6830 echo "$as_me:6830: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6834 echo "$as_me: program exited with status $ac_status" >&5
6835 echo "$as_me: failed program was:" >&5
6836 cat conftest.
$ac_ext >&5
6837 ac_cv_header_stdc
=no
6839 rm -f conftest
$ac_exeext conftest.
$ac_ext
6843 echo "$as_me:6843: result: $ac_cv_header_stdc" >&5
6844 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6845 if test $ac_cv_header_stdc = yes; then
6847 cat >>confdefs.h
<<\EOF
6848 #define STDC_HEADERS 1
6853 # This is necessary so that .o files in LIBOBJS are also built via
6854 # the ANSI2KNR-filtering rules.
6855 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
6857 ac_config_files
="$ac_config_files Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile tests/atconfig"
6858 cat >confcache
<<\_ACEOF
6859 # This file is a shell script that caches the results of configure
6860 # tests run on this system so they can be shared between configure
6861 # scripts and configure runs, see configure's option --config-cache.
6862 # It is not useful on other systems. If it contains results you don't
6863 # want to keep, you may remove or edit it.
6865 # config.status only pays attention to the cache file if you give it
6866 # the --recheck option to rerun configure.
6868 # `ac_cv_env_foo' variables (set or unset) will be overriden when
6869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6874 # The following way of writing the cache mishandles newlines in values,
6875 # but we know of no workaround that is simple, portable, and efficient.
6876 # So, don't put newlines in cache variables' values.
6877 # Ultrix sh set writes to stderr and can't be redirected directly,
6878 # and sets the high bit in the cache file unless we assign to the vars.
6881 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6883 # `set' does not quote correctly, so add quotes (double-quote
6884 # substitution turns \\\\ into \\, and sed turns \\ into \).
6887 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6890 # `set' quotes correctly as required by POSIX, so do not add quotes.
6892 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6901 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6903 if cmp -s $cache_file confcache
; then :; else
6904 if test -w $cache_file; then
6905 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6906 cat confcache
>$cache_file
6908 echo "not updating unwritable cache $cache_file"
6913 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6914 # Let make expand exec_prefix.
6915 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6917 # VPATH is dangerous, but if there is a colon in the path, we need to
6919 if test "x$srcdir" = x.
; then
6920 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6923 DEFS
=-DHAVE_CONFIG_H
6925 : ${CONFIG_STATUS=./config.status}
6926 ac_clean_files_save
=$ac_clean_files
6927 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6928 { echo "$as_me:6928: creating $CONFIG_STATUS" >&5
6929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6930 cat >$CONFIG_STATUS <<\_ACEOF
6932 # Generated automatically by configure.
6933 # Run this file to recreate the current configuration.
6934 # Compiler output produced by configure, useful for debugging
6935 # configure, is in config.log if it exists.
6938 as_me
=`echo "$0" | sed 's,.*/,,'`
6939 SHELL
=${CONFIG_SHELL-/bin/sh}
6941 # Be Bourne compatible
6942 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6945 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6949 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6955 rm -f conftest conftest.exe conftest.
file
6957 if ln -s conftest.
file conftest
2>/dev
/null
; then
6958 # We could just check for DJGPP; but this test a) works b) is more generic
6959 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6960 if test -f conftest.exe
; then
6961 # Don't use ln at all; we don't have any links
6966 elif ln conftest.
file conftest
2>/dev
/null
; then
6971 rm -f conftest conftest.exe conftest.
file
6973 # Find out how to test for executable files. Don't use a zero-byte file,
6974 # as systems may use methods other than mode bits to determine executability.
6975 cat >conftest.
file <<_ASEOF
6979 chmod +x conftest.
file
6980 if test -x conftest.
file >/dev
/null
2>&1; then
6981 as_executable_p
="test -x"
6982 elif test -f conftest.
file >/dev
/null
2>&1; then
6983 as_executable_p
="test -f"
6985 { { echo "$as_me:6985: error: cannot check whether a file is executable on this system" >&5
6986 echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
6987 { (exit 1); exit 1; }; }
6991 # Support unset when possible.
6992 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6999 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
7000 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
7001 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
7002 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
7003 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
7004 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
7005 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
7006 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
7009 # We need space, tab and new line, in precisely that order.
7015 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
7017 # File descriptor usage:
7020 # 2 errors and warnings
7021 # 5 compiler messages saved in config.log
7022 # 6 checking for... messages and results
7028 ## ----------------------- ##
7029 ## Running config.status. ##
7030 ## ----------------------- ##
7032 This file was extended by $as_me 2.49d, executed with
7034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7040 # Files that config.status was made for.
7041 if test -n "$ac_config_files"; then
7042 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7045 if test -n "$ac_config_headers"; then
7046 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7049 if test -n "$ac_config_links"; then
7050 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7053 if test -n "$ac_config_commands"; then
7054 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7057 cat >>$CONFIG_STATUS <<\EOF
7060 \`$as_me' instantiates files from templates according to the
7061 current configuration.
7063 Usage: $0 [OPTIONS] [FILE]...
7065 -h, --help print this help, then exit
7066 -V, --version print version number, then exit
7067 -d, --debug don't remove temporary files
7068 --recheck update $as_me by reconfiguring in the same conditions
7069 --file=FILE[:TEMPLATE]
7070 instantiate the configuration file FILE
7071 --header=FILE[:TEMPLATE]
7072 instantiate the configuration header FILE
7074 Configuration files:
7077 Configuration headers:
7080 Configuration links:
7083 Configuration commands:
7086 Report bugs to <bug-autoconf@gnu.org>."
7089 cat >>$CONFIG_STATUS <<EOF
7091 $CONFIG_STATUS generated by $as_me (Autoconf 2.49d).
7092 Configured on host $ac_hostname by
7093 `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
7098 cat >>$CONFIG_STATUS <<\EOF
7099 # If no file are specified by the user, then we need to provide default
7100 # value. By we need to know if files were specified by the user.
7106 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7107 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7109 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
7113 *) # This is not an option, so the user has probably given explicit
7115 ac_need_defaults
=false
;;
7119 # Handling of the options.
7121 cat >>$CONFIG_STATUS <<EOF
7122 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7123 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7124 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7126 cat >>$CONFIG_STATUS <<\EOF
7127 --version | --vers* | -V )
7128 echo "$ac_cs_version"; exit 0 ;;
7130 # Conflict between --help and --header
7131 { { echo "$as_me:7131: error: ambiguous option: $1
7132 Try \`$0 --help' for more information." >&5
7133 echo "$as_me: error: ambiguous option: $1
7134 Try \`$0 --help' for more information." >&2;}
7135 { (exit 1); exit 1; }; };;
7136 --help | --hel | -h )
7137 echo "$ac_cs_usage"; exit 0 ;;
7138 --debug | --d* | -d )
7140 --file | --fil | --fi | --f )
7142 CONFIG_FILES
="$CONFIG_FILES $1"
7143 ac_need_defaults
=false
;;
7144 --header | --heade | --head | --hea )
7146 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
7147 ac_need_defaults
=false
;;
7149 # Handling of arguments.
7150 'Makefile' ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7151 'intl/Makefile' ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
7152 'po/Makefile.in' ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
7153 'lib/Makefile' ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
7154 'src/Makefile' ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
7155 'doc/Makefile' ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7156 'm4/Makefile' ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
7157 'tests/Makefile' ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7158 'tests/atconfig' ) CONFIG_FILES
="$CONFIG_FILES tests/atconfig" ;;
7159 '$ac_config_links_1' ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7160 'default-1' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7161 'default-2' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
7162 'config.h' ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
7165 -*) { { echo "$as_me:7165: error: unrecognized option: $1
7166 Try \`$0 --help' for more information." >&5
7167 echo "$as_me: error: unrecognized option: $1
7168 Try \`$0 --help' for more information." >&2;}
7169 { (exit 1); exit 1; }; } ;;
7170 *) { { echo "$as_me:7170: error: invalid argument: $1" >&5
7171 echo "$as_me: error: invalid argument: $1" >&2;}
7172 { (exit 1); exit 1; }; };;
7179 cat >>$CONFIG_STATUS <<\EOF
7180 # If the user did not use the arguments to specify the items to instantiate,
7181 # then the envvar interface is used. Set only those that are not.
7182 # We use the long form for the default assignment because of an extremely
7183 # bizarre bug on SunOS 4.1.3.
7184 if $ac_need_defaults; then
7185 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7186 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7187 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7188 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7191 # Create a temporary directory, and hook for its removal unless debugging.
7194 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7195 trap '{ (exit $?); exit $?; }' 1 2 13 15
7198 # Create a (secure) tmp directory for tmp files.
7201 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7202 test -n "$tmp" && test -d "$tmp"
7205 tmp
=$TMPDIR/cs$$
-$RANDOM
7206 (umask 077 && mkdir $tmp)
7209 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7210 { (exit 1); exit 1; }
7215 cat >>$CONFIG_STATUS <<EOF
7217 # INIT-COMMANDS section.
7222 cat >>$CONFIG_STATUS <<EOF
7225 # CONFIG_FILES section.
7228 # No need to generate the scripts if there are no CONFIG_FILES.
7229 # This happens for instance when ./config.status config.h
7230 if test -n "\$CONFIG_FILES"; then
7231 # Protect against being on the right side of a sed subst in config.status.
7232 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7233 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7234 s,@SHELL@,$SHELL,;t t
7235 s,@exec_prefix@,$exec_prefix,;t t
7236 s,@prefix@,$prefix,;t t
7237 s,@program_transform_name@,$program_transform_name,;t t
7238 s,@bindir@,$bindir,;t t
7239 s,@sbindir@,$sbindir,;t t
7240 s,@libexecdir@,$libexecdir,;t t
7241 s,@datadir@,$datadir,;t t
7242 s,@sysconfdir@,$sysconfdir,;t t
7243 s,@sharedstatedir@,$sharedstatedir,;t t
7244 s,@localstatedir@,$localstatedir,;t t
7245 s,@libdir@,$libdir,;t t
7246 s,@includedir@,$includedir,;t t
7247 s,@oldincludedir@,$oldincludedir,;t t
7248 s,@infodir@,$infodir,;t t
7249 s,@mandir@,$mandir,;t t
7250 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7251 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7252 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7253 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7254 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7255 s,@ECHO_C@,$ECHO_C,;t t
7256 s,@ECHO_N@,$ECHO_N,;t t
7257 s,@ECHO_T@,$ECHO_T,;t t
7260 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7261 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7262 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7263 s,@PACKAGE@,$PACKAGE,;t t
7264 s,@VERSION@,$VERSION,;t t
7265 s,@ACLOCAL@,$ACLOCAL,;t t
7266 s,@AUTOCONF@,$AUTOCONF,;t t
7267 s,@AUTOMAKE@,$AUTOMAKE,;t t
7268 s,@AUTOHEADER@,$AUTOHEADER,;t t
7269 s,@MAKEINFO@,$MAKEINFO,;t t
7270 s,@SET_MAKE@,$SET_MAKE,;t t
7271 s,@AT_TESTPATH@,$AT_TESTPATH,;t t
7273 s,@CFLAGS@,$CFLAGS,;t t
7274 s,@LDFLAGS@,$LDFLAGS,;t t
7275 s,@ac_ct_CC@,$ac_ct_CC,;t t
7276 s,@OBJEXT@,$OBJEXT,;t t
7277 s,@EXEEXT@,$EXEEXT,;t t
7279 s,@CPPFLAGS@,$CPPFLAGS,;t t
7280 s,@RANLIB@,$RANLIB,;t t
7281 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7283 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
7285 s,@ANSI2KNR@,$ANSI2KNR,;t t
7286 s,@ALLOCA@,$ALLOCA,;t t
7287 s,@LIBOBJS@,$LIBOBJS,;t t
7288 s,@USE_NLS@,$USE_NLS,;t t
7289 s,@MSGFMT@,$MSGFMT,;t t
7290 s,@GMSGFMT@,$GMSGFMT,;t t
7291 s,@XGETTEXT@,$XGETTEXT,;t t
7292 s,@GENCAT@,$GENCAT,;t t
7293 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7294 s,@CATALOGS@,$CATALOGS,;t t
7295 s,@CATOBJEXT@,$CATOBJEXT,;t t
7296 s,@DATADIRNAME@,$DATADIRNAME,;t t
7297 s,@GMOFILES@,$GMOFILES,;t t
7298 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7299 s,@INTLDEPS@,$INTLDEPS,;t t
7300 s,@INTLLIBS@,$INTLLIBS,;t t
7301 s,@INTLOBJS@,$INTLOBJS,;t t
7302 s,@POFILES@,$POFILES,;t t
7303 s,@POSUB@,$POSUB,;t t
7304 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
7305 s,@GT_NO@,$GT_NO,;t t
7306 s,@GT_YES@,$GT_YES,;t t
7307 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7313 cat >>$CONFIG_STATUS <<\EOF
7314 # Split the substitutions into bite-sized pieces for seds with
7315 # small command number limits, like on Digital OSF/1 and HP-UX.
7317 ac_sed_frag
=1 # Number of current file.
7318 ac_beg
=1 # First line for current file.
7319 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7322 while $ac_more_lines; do
7323 if test $ac_beg -gt 1; then
7324 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7326 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7328 if test ! -s $tmp/subs.frag
; then
7331 # The purpose of the label and of the branching condition is to
7332 # speed up the sed processing (if there are no `@' at all, there
7333 # is no need to browse any of the substitutions).
7334 # These are the two extra sed commands mentioned above.
7336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
7337 if test -z "$ac_sed_cmds"; then
7338 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7340 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7342 ac_sed_frag
=`expr $ac_sed_frag + 1`
7344 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7347 if test -z "$ac_sed_cmds"; then
7350 fi # test -n "$CONFIG_FILES"
7353 cat >>$CONFIG_STATUS <<\EOF
7354 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7355 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7357 - | *:- | *:-:* ) # input from stdin
7359 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7360 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7361 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7362 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7363 * ) ac_file_in
=$ac_file.
in ;;
7366 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7367 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7368 X"$ac_file" : 'X\(//\)[^/]' \| \
7369 X"$ac_file" : 'X\(//\)$' \| \
7370 X"$ac_file" : 'X\(/\)' \| \
7371 . : '\(.\)' 2>/dev/null ||
7373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7375 /^X\(\/\/\)$/{ s//\1/; q; }
7376 /^X\(\/\).*/{ s//\1/; q; }
7378 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7380 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7384 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7385 case $as_mkdir_dir in
7386 # Skip DOS drivespec
7387 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7389 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7390 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7395 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
7396 # A "../" for each directory in $ac_dir_suffix.
7397 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7399 ac_dir_suffix
= ac_dots
=
7404 if test -z "$ac_dots"; then
7407 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
7410 ac_srcdir
=$srcdir$ac_dir_suffix;
7411 ac_top_srcdir
=$srcdir ;;
7413 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
7414 ac_top_srcdir
=$ac_dots$srcdir ;;
7418 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7419 *) ac_INSTALL
=$ac_dots$INSTALL ;;
7422 if test x
"$ac_file" != x
-; then
7423 { echo "$as_me:7423: creating $ac_file" >&5
7424 echo "$as_me: creating $ac_file" >&6;}
7427 # Let's still pretend it is `configure' which instantiates (i.e., don't
7428 # use $as_me), people would be surprised to read:
7429 # /* config.h. Generated automatically by config.status. */
7430 configure_input
="Generated automatically from `echo $ac_file_in |
7431 sed 's,.*/,,'` by configure."
7433 # First look for the input files in the build tree, otherwise in the
7435 ac_file_inputs
=`IFS=:
7436 for f in $ac_file_in; do
7438 -) echo $tmp/stdin ;;
7441 test -f "$f" || { { echo "$as_me:7441: error: cannot find input file: $f" >&5
7442 echo "$as_me: error: cannot find input file: $f" >&2;}
7443 { (exit 1); exit 1; }; }
7446 if test -f "$f"; then
7449 elif test -f "$srcdir/$f"; then
7454 { { echo "$as_me:7454: error: cannot find input file: $f" >&5
7455 echo "$as_me: error: cannot find input file: $f" >&2;}
7456 { (exit 1); exit 1; }; }
7459 done` || { (exit 1); exit 1; }
7461 cat >>$CONFIG_STATUS <<EOF
7465 cat >>$CONFIG_STATUS <<\EOF
7467 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
7468 s
,@configure_input@
,$configure_input,;t t
7469 s
,@srcdir@
,$ac_srcdir,;t t
7470 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7471 s
,@INSTALL@
,$ac_INSTALL,;t t
7472 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7474 if test x"$ac_file" != x-; then
7475 mv $tmp/out $ac_file
7483 cat >>$CONFIG_STATUS <<\EOF
7486 # CONFIG_HEADER section.
7489 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7490 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7492 # ac_d sets the value in "#define NAME VALUE" lines.
7493 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7494 ac_dB
='[ ].*$,\1#\2'
7497 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7498 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7499 ac_uB
='$,\1#\2define\3'
7503 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7504 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7506 - | *:- | *:-:* ) # input from stdin
7508 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7509 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7510 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7511 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7512 * ) ac_file_in
=$ac_file.
in ;;
7515 test x
"$ac_file" != x
- && { echo "$as_me:7515: creating $ac_file" >&5
7516 echo "$as_me: creating $ac_file" >&6;}
7518 # First look for the input files in the build tree, otherwise in the
7520 ac_file_inputs
=`IFS=:
7521 for f in $ac_file_in; do
7523 -) echo $tmp/stdin ;;
7526 test -f "$f" || { { echo "$as_me:7526: error: cannot find input file: $f" >&5
7527 echo "$as_me: error: cannot find input file: $f" >&2;}
7528 { (exit 1); exit 1; }; }
7531 if test -f "$f"; then
7534 elif test -f "$srcdir/$f"; then
7539 { { echo "$as_me:7539: error: cannot find input file: $f" >&5
7540 echo "$as_me: error: cannot find input file: $f" >&2;}
7541 { (exit 1); exit 1; }; }
7544 done` || { (exit 1); exit 1; }
7545 # Remove the trailing spaces.
7546 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7550 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7551 # `conftest.undefs', that substitutes the proper values into
7552 # config.h.in to produce config.h. The first handles `#define'
7553 # templates, and the second `#undef' templates.
7554 # And first: Protect against being on the right side of a sed subst in
7555 # config.status. Protect against being in an unquoted here document
7557 rm -f conftest.defines conftest.undefs
7558 # Using a here document instead of a string reduces the quoting nightmare.
7559 # Putting comments in sed scripts is not portable.
7561 # `end' is used to avoid that the second main sed command (meant for
7562 # 0-ary CPP macros) applies to n-ary macro definitions.
7563 # See the Autoconf documentation for `clear'.
7564 cat >confdef2sed.
sed <<\EOF
7569 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7571 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7574 # If some macros were called several times there might be several times
7575 # the same #defines, which is useless. Nevertheless, we may not want to
7576 # sort them, since we want the *last* AC-DEFINE to be honored.
7577 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7578 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7579 rm -f confdef2sed.sed
7581 # This sed command replaces #undef with comments. This is necessary, for
7582 # example, in the case of _POSIX_SOURCE, which is predefined and required
7583 # on some systems where configure will not decide to define it.
7584 cat >>conftest.undefs <<\EOF
7585 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7588 # Break up conftest.defines because some shells have a limit on the size
7589 # of here documents, and old seds have small limits too (100 cmds).
7590 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7591 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7592 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7593 echo ' :' >>$CONFIG_STATUS
7595 while grep . conftest.defines >/dev/null
7597 # Write a limited-size here document to $tmp/defines.sed.
7598 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7599 # Speed up: don't consider the non `#define' lines.
7600 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7601 # Work around the forget-to-reset-the-flag bug.
7602 echo 't clr' >>$CONFIG_STATUS
7603 echo ': clr' >>$CONFIG_STATUS
7604 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7606 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7610 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7611 rm -f conftest.defines
7612 mv conftest.
tail conftest.defines
7614 rm -f conftest.defines
7615 echo ' fi # egrep' >>$CONFIG_STATUS
7616 echo >>$CONFIG_STATUS
7618 # Break up conftest.undefs because some shells have a limit on the size
7619 # of here documents, and old seds have small limits too (100 cmds).
7620 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7622 while grep . conftest.undefs
>/dev
/null
7624 # Write a limited-size here document to $tmp/undefs.sed.
7625 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7626 # Speed up: don't consider the non
`#undef'
7627 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7628 # Work around the forget-to-reset-the-flag bug.
7629 echo 't clr' >>$CONFIG_STATUS
7630 echo ': clr' >>$CONFIG_STATUS
7631 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7633 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7637 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7638 rm -f conftest.undefs
7639 mv conftest.tail conftest.undefs
7641 rm -f conftest.undefs
7643 cat >>$CONFIG_STATUS <<\EOF
7644 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7645 # use $as_me), people would be surprised to read:
7646 # /* config.h. Generated automatically by config.status. */
7647 if test x
"$ac_file" = x
-; then
7648 echo "/* Generated automatically by configure. */" >$tmp/config.h
7650 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
7652 cat $tmp/in >>$tmp/config.h
7654 if test x
"$ac_file" != x
-; then
7655 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
7656 { echo "$as_me:7656: $ac_file is unchanged" >&5
7657 echo "$as_me: $ac_file is unchanged" >&6;}
7659 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7660 X"$ac_file" : 'X\(//\)[^/]' \| \
7661 X"$ac_file" : 'X\(//\)$' \| \
7662 X"$ac_file" : 'X\(/\)' \| \
7663 . : '\(.\)' 2>/dev/null ||
7665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7667 /^X\(\/\/\)$/{ s//\1/; q; }
7668 /^X\(\/\).*/{ s//\1/; q; }
7670 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7672 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7676 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7677 case $as_mkdir_dir in
7678 # Skip DOS drivespec
7679 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7681 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7682 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7689 mv $tmp/config.h
$ac_file
7697 cat >>$CONFIG_STATUS <<\EOF
7700 # CONFIG_LINKS section.
7703 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
7704 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7705 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7707 { echo "$as_me:7707: linking $srcdir/$ac_source to $ac_dest" >&5
7708 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
7710 if test ! -r $srcdir/$ac_source; then
7711 { { echo "$as_me:7711: error: $srcdir/$ac_source: File not found" >&5
7712 echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
7713 { (exit 1); exit 1; }; }
7717 # Make relative symlinks.
7718 ac_dest_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7719 X"$ac_dest" : 'X\(//\)[^/]' \| \
7720 X"$ac_dest" : 'X\(//\)$' \| \
7721 X"$ac_dest" : 'X\(/\)' \| \
7722 . : '\(.\)' 2>/dev/null ||
7724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7726 /^X\(\/\/\)$/{ s//\1/; q; }
7727 /^X\(\/\).*/{ s//\1/; q; }
7729 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .
; then
7730 { case "$ac_dest_dir" in
7731 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7734 as_dummy
="$ac_dest_dir"
7735 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7736 case $as_mkdir_dir in
7737 # Skip DOS drivespec
7738 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7740 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7741 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7746 ac_dest_dir_suffix
="/`echo $ac_dest_dir|sed 's,^\./,,'`"
7747 # A "../" for each directory in $ac_dest_dir_suffix.
7748 ac_dots
=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
7750 ac_dest_dir_suffix
= ac_dots
=
7754 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
7755 *) ac_rel_source
=$ac_dots$srcdir/$ac_source ;;
7758 # Make a symlink if possible; otherwise try a hard link.
7759 ln -s $ac_rel_source $ac_dest 2>/dev
/null
||
7760 ln $srcdir/$ac_source $ac_dest ||
7761 { { echo "$as_me:7761: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
7762 echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
7763 { (exit 1); exit 1; }; }
7766 cat >>$CONFIG_STATUS <<\EOF
7769 # CONFIG_COMMANDS section.
7771 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7772 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7773 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7776 default
-1 ) test -z "$CONFIG_HEADERS" || echo timestamp
> stamp
-h ;;
7777 default
-2 ) case "$CONFIG_FILES" in *po
/Makefile.
in*)
7778 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
7784 cat >>$CONFIG_STATUS <<\EOF
7788 chmod +x
$CONFIG_STATUS
7789 ac_clean_files
=$ac_clean_files_save
7791 test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }