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, 2001
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 conf$$ conf$$.exe conf$$.
file
26 if ln -s conf$$.
file conf$$
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 conf$$.exe
; then
30 # Don't use ln at all; we don't have any links
35 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40 rm -f conf$$ conf$$.exe conf$$.
file
42 as_executable_p
="test -f"
44 # Support unset when possible.
45 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
52 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
53 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
54 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
55 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
56 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
57 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
58 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
59 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
62 # We need space, tab and new line, in precisely that order.
68 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
71 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
72 # so uname gets run too.
73 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
75 # Name of the executable.
76 as_me
=`echo "$0" | sed 's,.*/,,'`
79 This file contains any messages produced by compilers while
80 running configure, to aid debugging if configure makes a mistake.
82 It was created by $as_me 2.49d, executed with
92 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
93 uname -m = `(uname -m) 2>/dev/null || echo unknown`
94 uname -r = `(uname -r) 2>/dev/null || echo unknown`
95 uname -s = `(uname -s) 2>/dev/null || echo unknown`
96 uname -v = `(uname -v) 2>/dev/null || echo unknown`
98 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
99 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
104 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
114 cat >>config.log
<<EOF
121 # File descriptor usage:
124 # 2 errors and warnings
125 # 5 compiler messages saved in config.log
126 # 6 checking for... messages and results
133 ac_default_prefix
=/usr
/local
137 SHELL
=${CONFIG_SHELL-/bin/sh}
139 # Maximum number of lines to put in a shell here document.
140 # This variable seems obsolete. It should probably be removed, and
141 # only ac_max_sed_lines should be used.
142 : ${ac_max_here_lines=38}
144 # Avoid depending upon Character Ranges.
145 ac_cr_az
='abcdefghijklmnopqrstuvwxyz'
146 ac_cr_AZ
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
147 ac_cr_09
='0123456789'
148 ac_cr_alnum
=$ac_cr_az$ac_cr_AZ$ac_cr_09
150 # Sed expression to map a string onto a valid sh and CPP variable names.
151 ac_tr_sh
="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
152 ac_tr_cpp
="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
154 ac_unique_file
="src/reduce.c"
155 # Factoring default headers for most tests.
156 ac_includes_default
="\
158 #include <sys/types.h>
159 #include <sys/stat.h>
169 # if !STDC_HEADERS && HAVE_MEMORY_H
175 # include <strings.h>
179 # include <inttypes.h>
185 # Initialize some variables set by options.
187 ac_init_version
=false
188 # The variables have the same names as the options, with
189 # dashes changed to underlines.
197 program_transform_name
=s
,x
,x
,
205 # Installation directory options.
206 # These are left unexpanded so users can "make install exec_prefix=/foo"
207 # and all the variables that are supposed to be based on exec_prefix
208 # by default will actually change.
209 # Use braces instead of parens because sh, perl, etc. also accept them.
210 bindir
='${exec_prefix}/bin'
211 sbindir
='${exec_prefix}/sbin'
212 libexecdir
='${exec_prefix}/libexec'
213 datadir
='${prefix}/share'
214 sysconfdir
='${prefix}/etc'
215 sharedstatedir
='${prefix}/com'
216 localstatedir
='${prefix}/var'
217 libdir
='${exec_prefix}/lib'
218 includedir
='${prefix}/include'
219 oldincludedir
='/usr/include'
220 infodir
='${prefix}/info'
221 mandir
='${prefix}/man'
223 # Identity of this package.
233 # If the previous option needs an argument, assign it.
234 if test -n "$ac_prev"; then
235 eval "$ac_prev=\$ac_option"
240 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
242 # Accept the important Cygnus configure options, so we can diagnose typos.
246 -bindir | --bindir | --bindi | --bind | --bin | --bi)
248 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
251 -build | --build | --buil | --bui | --bu)
252 ac_prev
=build_alias
;;
253 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
254 build_alias
=$ac_optarg ;;
256 -cache-file | --cache-file | --cache-fil | --cache-fi \
257 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
258 ac_prev
=cache_file
;;
259 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
260 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
261 cache_file
=$ac_optarg ;;
264 cache_file
=config.cache
;;
266 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
268 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
270 datadir
=$ac_optarg ;;
272 -disable-* | --disable-*)
273 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
274 # Reject names that are not valid shell variable names.
275 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
276 { { echo "$as_me:276: error: invalid feature name: $ac_feature" >&5
277 echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
278 { (exit 1); exit 1; }; }
279 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
280 eval "enable_$ac_feature=no" ;;
282 -enable-* | --enable-*)
283 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
284 # Reject names that are not valid shell variable names.
285 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
286 { { echo "$as_me:286: error: invalid feature name: $ac_feature" >&5
287 echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
288 { (exit 1); exit 1; }; }
289 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
291 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
294 eval "enable_$ac_feature='$ac_optarg'" ;;
296 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
297 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
298 | --exec | --exe | --ex)
299 ac_prev
=exec_prefix
;;
300 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
301 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
302 | --exec=* | --exe=* | --ex=*)
303 exec_prefix
=$ac_optarg ;;
305 -gas | --gas | --ga | --g)
306 # Obsolete; use --with-gas.
309 -help | --help | --hel | --he | -h)
311 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
312 ac_init_help
=recursive
;;
313 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
314 ac_init_help
=short
;;
316 -host | --host | --hos | --ho)
317 ac_prev
=host_alias
;;
318 -host=* | --host=* | --hos=* | --ho=*)
319 host_alias
=$ac_optarg ;;
321 -includedir | --includedir | --includedi | --included | --include \
322 | --includ | --inclu | --incl | --inc)
323 ac_prev
=includedir
;;
324 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
325 | --includ=* | --inclu=* | --incl=* | --inc=*)
326 includedir
=$ac_optarg ;;
328 -infodir | --infodir | --infodi | --infod | --info | --inf)
330 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
331 infodir
=$ac_optarg ;;
333 -libdir | --libdir | --libdi | --libd)
335 -libdir=* | --libdir=* | --libdi=* | --libd=*)
338 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
339 | --libexe | --libex | --libe)
340 ac_prev
=libexecdir
;;
341 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
342 | --libexe=* | --libex=* | --libe=*)
343 libexecdir
=$ac_optarg ;;
345 -localstatedir | --localstatedir | --localstatedi | --localstated \
346 | --localstate | --localstat | --localsta | --localst \
347 | --locals | --local | --loca | --loc | --lo)
348 ac_prev
=localstatedir
;;
349 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
350 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
351 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
352 localstatedir
=$ac_optarg ;;
354 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
356 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
360 # Obsolete; use --without-fp.
363 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
367 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
368 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
371 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
372 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
373 | --oldin | --oldi | --old | --ol | --o)
374 ac_prev
=oldincludedir
;;
375 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
376 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
377 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
378 oldincludedir
=$ac_optarg ;;
380 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
382 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
385 -program-prefix | --program-prefix | --program-prefi | --program-pref \
386 | --program-pre | --program-pr | --program-p)
387 ac_prev
=program_prefix
;;
388 -program-prefix=* | --program-prefix=* | --program-prefi=* \
389 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
390 program_prefix
=$ac_optarg ;;
392 -program-suffix | --program-suffix | --program-suffi | --program-suff \
393 | --program-suf | --program-su | --program-s)
394 ac_prev
=program_suffix
;;
395 -program-suffix=* | --program-suffix=* | --program-suffi=* \
396 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
397 program_suffix
=$ac_optarg ;;
399 -program-transform-name | --program-transform-name \
400 | --program-transform-nam | --program-transform-na \
401 | --program-transform-n | --program-transform- \
402 | --program-transform | --program-transfor \
403 | --program-transfo | --program-transf \
404 | --program-trans | --program-tran \
405 | --progr-tra | --program-tr | --program-t)
406 ac_prev
=program_transform_name
;;
407 -program-transform-name=* | --program-transform-name=* \
408 | --program-transform-nam=* | --program-transform-na=* \
409 | --program-transform-n=* | --program-transform-=* \
410 | --program-transform=* | --program-transfor=* \
411 | --program-transfo=* | --program-transf=* \
412 | --program-trans=* | --program-tran=* \
413 | --progr-tra=* | --program-tr=* | --program-t=*)
414 program_transform_name
=$ac_optarg ;;
416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
417 | -silent | --silent | --silen | --sile | --sil)
420 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
422 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
424 sbindir
=$ac_optarg ;;
426 -sharedstatedir | --sharedstatedir | --sharedstatedi \
427 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
428 | --sharedst | --shareds | --shared | --share | --shar \
430 ac_prev
=sharedstatedir
;;
431 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
432 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
433 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
435 sharedstatedir
=$ac_optarg ;;
437 -site | --site | --sit)
439 -site=* | --site=* | --sit=*)
442 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
444 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
447 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
448 | --syscon | --sysco | --sysc | --sys | --sy)
449 ac_prev
=sysconfdir
;;
450 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
451 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
452 sysconfdir
=$ac_optarg ;;
454 -target | --target | --targe | --targ | --tar | --ta | --t)
455 ac_prev
=target_alias
;;
456 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
457 target_alias
=$ac_optarg ;;
459 -v | -verbose | --verbose | --verbos | --verbo | --verb)
462 -version | --version | --versio | --versi | --vers | -V)
466 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
467 # Reject names that are not valid shell variable names.
468 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
469 { { echo "$as_me:469: error: invalid package name: $ac_package" >&5
470 echo "$as_me: error: invalid package name: $ac_package" >&2;}
471 { (exit 1); exit 1; }; }
472 ac_package
=`echo $ac_package| sed 's/-/_/g'`
474 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
477 eval "with_$ac_package='$ac_optarg'" ;;
479 -without-* | --without-*)
480 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
481 # Reject names that are not valid shell variable names.
482 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
483 { { echo "$as_me:483: error: invalid package name: $ac_package" >&5
484 echo "$as_me: error: invalid package name: $ac_package" >&2;}
485 { (exit 1); exit 1; }; }
486 ac_package
=`echo $ac_package | sed 's/-/_/g'`
487 eval "with_$ac_package=no" ;;
490 # Obsolete; use --with-x.
493 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
494 | --x-incl | --x-inc | --x-in | --x-i)
495 ac_prev
=x_includes
;;
496 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
497 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
498 x_includes
=$ac_optarg ;;
500 -x-libraries | --x-libraries | --x-librarie | --x-librari \
501 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
502 ac_prev
=x_libraries
;;
503 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
504 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
505 x_libraries
=$ac_optarg ;;
507 -*) { { echo "$as_me:507: error: unrecognized option: $ac_option
508 Try \`$0 --help' for more information." >&5
509 echo "$as_me: error: unrecognized option: $ac_option
510 Try \`$0 --help' for more information." >&2;}
511 { (exit 1); exit 1; }; }
515 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
516 # Reject names that are not valid shell variable names.
517 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev
/null
&&
518 { { echo "$as_me:518: error: invalid variable name: $ac_envvar" >&5
519 echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
520 { (exit 1); exit 1; }; }
521 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
522 eval "$ac_envvar='$ac_optarg'"
526 # FIXME: should be removed in autoconf 3.0.
527 { echo "$as_me:527: WARNING: you should use --build, --host, --target" >&5
528 echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
529 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev
/null
&&
530 { echo "$as_me:530: WARNING: invalid host type: $ac_option" >&5
531 echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
532 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
538 if test -n "$ac_prev"; then
539 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
540 { { echo "$as_me:540: error: missing argument to $ac_option" >&5
541 echo "$as_me: error: missing argument to $ac_option" >&2;}
542 { (exit 1); exit 1; }; }
545 # Be sure to have absolute paths.
546 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
547 localstatedir libdir includedir oldincludedir infodir mandir \
550 eval ac_val
=$
`echo $ac_var`
552 [\\/$
]* | ?
:[\\/]* ) ;;
554 *) { { echo "$as_me:554: error: expected an absolute path for --$ac_var: $ac_val" >&5
555 echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
556 { (exit 1); exit 1; }; };;
560 # There might be people who depend on the old broken behavior: `$host'
561 # used to hold the argument of --host etc.
566 # FIXME: should be removed in autoconf 3.0.
567 if test "x$host_alias" != x
; then
568 if test "x$build_alias" = x
; then
569 cross_compiling
=maybe
570 { echo "$as_me:570: WARNING: If you wanted to set the --build type, don't use --host.
571 If a cross compiler is detected then cross compile mode will be used." >&5
572 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
573 If a cross compiler is detected then cross compile mode will be used." >&2;}
574 elif test "x$build_alias" != "x$host_alias"; then
580 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
582 test "$silent" = yes && exec 6>/dev
/null
584 # Find the source files, if location was not specified.
585 if test -z "$srcdir"; then
586 ac_srcdir_defaulted
=yes
587 # Try the directory containing this script, then its parent.
589 ac_confdir
=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
590 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
592 if test ! -r $srcdir/$ac_unique_file; then
596 ac_srcdir_defaulted
=no
598 if test ! -r $srcdir/$ac_unique_file; then
599 if test "$ac_srcdir_defaulted" = yes; then
600 { { echo "$as_me:600: error: cannot find sources in $ac_confdir or .." >&5
601 echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
602 { (exit 1); exit 1; }; }
604 { { echo "$as_me:604: error: cannot find sources in $srcdir" >&5
605 echo "$as_me: error: cannot find sources in $srcdir" >&2;}
606 { (exit 1); exit 1; }; }
609 srcdir
=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
610 ac_env_build_alias_set
=${build_alias+set}
611 ac_env_build_alias_value
=$build_alias
612 ac_cv_env_build_alias_set
=${build_alias+set}
613 ac_cv_env_build_alias_value
=$build_alias
614 ac_env_host_alias_set
=${host_alias+set}
615 ac_env_host_alias_value
=$host_alias
616 ac_cv_env_host_alias_set
=${host_alias+set}
617 ac_cv_env_host_alias_value
=$host_alias
618 ac_env_target_alias_set
=${target_alias+set}
619 ac_env_target_alias_value
=$target_alias
620 ac_cv_env_target_alias_set
=${target_alias+set}
621 ac_cv_env_target_alias_value
=$target_alias
622 ac_env_CC_set
=${CC+set}
624 ac_cv_env_CC_set
=${CC+set}
625 ac_cv_env_CC_value
=$CC
626 ac_env_CFLAGS_set
=${CFLAGS+set}
627 ac_env_CFLAGS_value
=$CFLAGS
628 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
629 ac_cv_env_CFLAGS_value
=$CFLAGS
630 ac_env_LDFLAGS_set
=${LDFLAGS+set}
631 ac_env_LDFLAGS_value
=$LDFLAGS
632 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
633 ac_cv_env_LDFLAGS_value
=$LDFLAGS
634 ac_env_CPP_set
=${CPP+set}
635 ac_env_CPP_value
=$CPP
636 ac_cv_env_CPP_set
=${CPP+set}
637 ac_cv_env_CPP_value
=$CPP
638 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
639 ac_env_CPPFLAGS_value
=$CPPFLAGS
640 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
641 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
644 # Report the --help message.
646 if test "$ac_init_help" = "long"; then
647 # Omit some internal or obsolete options to make the list less imposing.
648 # This message is too long to be a string in the A/UX 3.1 sh.
650 \`configure' configures this package to adapt to many kinds of systems.
652 Usage: $0 [OPTION]... [VAR=VALUE]...
654 To assign environment variables (e.g., CC, CFLAGS...), specify them as
655 VAR=VALUE. See below for descriptions of some of the useful variables.
657 Defaults for the options are specified in brackets.
660 -h, --help display this help and exit
661 --help=short display options specific to this package
662 --help=recursive display the short help of all the included packages
663 -V, --version display version information and exit
664 -q, --quiet, --silent do not print \`checking...' messages
665 --cache-file=FILE cache test results in FILE [disabled]
666 -C, --config-cache alias for \`--cache-file=config.cache'
667 -n, --no-create do not create output files
668 --srcdir=DIR find the sources in DIR [configure dir or \`..']
673 Installation directories:
674 --prefix=PREFIX install architecture-independent files in PREFIX
676 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
679 By default, \`make install' will install all the files in
680 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
681 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
682 for instance \`--prefix=\$HOME'.
684 For better control, use the options below.
686 Fine tuning of the installation directories:
687 --bindir=DIR user executables [EPREFIX/bin]
688 --sbindir=DIR system admin executables [EPREFIX/sbin]
689 --libexecdir=DIR program executables [EPREFIX/libexec]
690 --datadir=DIR read-only architecture-independent data [PREFIX/share]
691 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
692 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
693 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
694 --libdir=DIR object code libraries [EPREFIX/lib]
695 --includedir=DIR C header files [PREFIX/include]
696 --oldincludedir=DIR C header files for non-gcc [/usr/include]
697 --infodir=DIR info documentation [PREFIX/info]
698 --mandir=DIR man documentation [PREFIX/man]
704 --program-prefix=PREFIX prepend PREFIX to installed program names
705 --program-suffix=SUFFIX append SUFFIX to installed program names
706 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
710 if test -n "$ac_init_help"; then
715 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
716 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
717 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
718 --disable-nls do not use Native Language Support
721 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
722 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
723 --with-included-gettext use the GNU
gettext library included here
724 --with-catgets use catgets functions
if available
726 Some influential environment variables
:
727 CC C compiler
command
728 CFLAGS C compiler flags
729 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
730 nonstandard directory
<lib dir
>
732 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
733 headers
in a nonstandard directory
<include dir
>
735 Use these variables to override the choices made by
`configure' or to help
736 it to find libraries and programs with nonstandard names/locations.
741 if test "$ac_init_help" = "recursive"; then
742 # If there are subdirs, report their specific --help.
744 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
746 # A "../" for each directory in /$ac_subdir.
747 ac_dots=`echo $ac_subdir |
748 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
751 .) # No --srcdir option. We are building in place.
752 ac_sub_srcdir=$srcdir ;;
753 [\\/]* | ?:[\\/]* ) # Absolute path.
754 ac_sub_srcdir=$srcdir/$ac_subdir ;;
756 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
759 # Check for guested configure; otherwise get Cygnus style configure.
760 if test -f $ac_sub_srcdir/configure.gnu; then
762 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
763 elif test -f $ac_sub_srcdir/configure; then
765 $SHELL $ac_sub_srcdir/configure --help=recursive
766 elif test -f $ac_sub_srcdir/configure.ac ||
767 test -f $ac_sub_srcdir/configure.in; then
771 { echo "$as_me:771: WARNING: no configuration information is in $ac_subdir" >&5
772 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
778 test -n "$ac_init_help" && exit 0
779 if $ac_init_version; then
782 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
783 Free Software Foundation, Inc.
784 This configure script is free software; the Free Software Foundation
785 gives unlimited permission to copy, distribute and modify it.
790 # Keep a trace of the command line.
791 # Strip out --no-create and --no-recursion so they do not pile up.
792 # Also quote any args containing shell meta-characters.
798 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
799 | --no-cr | --no-c) ;;
800 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
801 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
802 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
803 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
804 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
806 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
809 # Get rid of the leading space.
812 # When interrupted or exit'd, cleanup temporary files, and complete
813 # config.log. We remove comments because anyway the quotes in there
814 # would cause problems or look ugly.
816 # Save into config.log some information that might help in debugging.
818 echo "## ----------------- ##" >&5
819 echo "## Cache variables. ##" >&5
820 echo "## ----------------- ##" >&5
822 # The following way of writing the cache mishandles newlines in values,
825 case `(ac_space
='"'"' '"'"'; set | grep ac_space
) 2>&1` in
828 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
829 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
833 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
837 sed "/^$/d" confdefs.h >conftest.log
838 if test -s conftest.log; then
840 echo "## ------------ ##" >&5
841 echo "## confdefs.h. ##" >&5
842 echo "## ------------ ##" >&5
847 test "$ac_signal" != 0 &&
848 echo "$as_me: caught signal $ac_signal" >&5
849 echo "$as_me: exit $exit_status" >&5
850 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
853 for ac_signal in 1 2 13 15; do
854 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
858 # confdefs.h avoids OS command line length limits that DEFS can exceed.
859 rm -rf conftest* confdefs.h
860 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
863 # Let the site file select an alternate cache file if it wants to.
864 # Prefer explicitly selected file to automatically selected ones.
865 if test -z "$CONFIG_SITE"; then
866 if test "x$prefix" != xNONE; then
867 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
869 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
872 for ac_site_file in $CONFIG_SITE; do
873 if test -r "$ac_site_file"; then
874 { echo "$as_me:874: loading site script $ac_site_file" >&5
875 echo "$as_me: loading site script $ac_site_file" >&6;}
876 cat "$ac_site_file" >&5
881 if test -r "$cache_file"; then
882 # Some versions of bash will fail to source /dev/null (special
883 # files actually), so we avoid doing that.
884 if test -f "$cache_file"; then
885 { echo "$as_me:885: loading cache $cache_file" >&5
886 echo "$as_me: loading cache $cache_file" >&6;}
888 [\\/]* | ?:[\\/]* ) . $cache_file;;
893 { echo "$as_me:893: creating cache $cache_file" >&5
894 echo "$as_me: creating cache $cache_file" >&6;}
898 # Check that the precious variables saved in the cache have kept the same
900 ac_suggest_removing_cache=false
901 for ac_var in `(set) 2>&1 |
902 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
903 eval ac_old_set=\$ac_cv_env_${ac_var}_set
904 eval ac_new_set=\$ac_env_${ac_var}_set
905 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
906 eval ac_new_val="\$ac_env_${ac_var}_value"
907 case $ac_old_set,$ac_new_set in
909 { echo "$as_me:909: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
910 echo "$as_me: WARNING
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
911 ac_suggest_removing_cache=: ;;
913 { echo "$as_me:913: WARNING: \`$ac_var' was not
set in the previous run
" >&5
914 echo "$as_me: WARNING
: \
`$ac_var' was not set in the previous run" >&2;}
915 ac_suggest_removing_cache=: ;;
918 if test "x$ac_old_val" != "x$ac_new_val"; then
919 { echo "$as_me:919: WARNING: \`$ac_var' has changed since the previous run:" >&5
920 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run
:" >&2;}
921 { echo "$as_me:921: WARNING
: former value
: $ac_old_val" >&5
922 echo "$as_me: WARNING
: former value
: $ac_old_val" >&2;}
923 { echo "$as_me:923: WARNING
: current value
: $ac_new_val" >&5
924 echo "$as_me: WARNING
: current value
: $ac_new_val" >&2;}
925 ac_suggest_removing_cache=:
929 if $ac_suggest_removing_cache; then
930 { echo "$as_me:930: WARNING
: changes
in the environment can compromise the build
" >&5
931 echo "$as_me: WARNING
: changes
in the environment can compromise the build
" >&2;}
932 { echo "$as_me:932: WARNING
: consider removing
$cache_file and starting over
" >&5
933 echo "$as_me: WARNING
: consider removing
$cache_file and starting over
" >&2;}
937 ac_cpp='$CPP $CPPFLAGS'
938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
942 case `echo "testing\c
"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
943 *c*,-n*) ECHO_N= ECHO_C='
945 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
946 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
948 echo "#! $SHELL" >conftest.sh
949 echo "exit 0" >>conftest.sh
951 if { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
952 (PATH
=".;."; conftest.sh
) 2>&5
954 echo "$as_me:954: \$? = $ac_status" >&5
955 (exit $ac_status); }; then
956 ac_path_separator
=';'
960 PATH_SEPARATOR
="$ac_path_separator"
964 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
965 if test -f $ac_dir/install-sh; then
967 ac_install_sh
="$ac_aux_dir/install-sh -c"
969 elif test -f $ac_dir/install.sh
; then
971 ac_install_sh
="$ac_aux_dir/install.sh -c"
973 elif test -f $ac_dir/shtool
; then
975 ac_install_sh
="$ac_aux_dir/shtool install -c"
979 if test -z "$ac_aux_dir"; then
980 { { echo "$as_me:980: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
981 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
982 { (exit 1); exit 1; }; }
984 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
985 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
986 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
988 # Find a good install program. We prefer a C program (faster),
989 # so one script is as good as another. But avoid the broken or
990 # incompatible versions:
991 # SysV /etc/install, /usr/sbin/install
992 # SunOS /usr/etc/install
995 # AmigaOS /C/install, which installs bootblocks on floppy discs
996 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
997 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
998 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
999 # ./install, which can be erroneously created by make from ./install.sh.
1000 echo "$as_me:1000: checking for a BSD compatible install" >&5
1001 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1002 if test -z "$INSTALL"; then
1003 if test "${ac_cv_path_install+set}" = set; then
1004 echo $ECHO_N "(cached) $ECHO_C" >&6
1006 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1007 for ac_dir
in $PATH; do
1009 # Account for people who put trailing slashes in PATH elements.
1011 / | .
/ | .
// | /cC
/* \
1012 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
1015 # OSF1 and SCO ODT 3.0 have their own names for install.
1016 # Don't use installbsd from OSF since it installs stuff as root
1018 for ac_prog
in ginstall scoinst
install; do
1019 if $as_executable_p "$ac_dir/$ac_prog"; then
1020 if test $ac_prog = install &&
1021 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1022 # AIX install. It has an incompatible calling convention.
1024 elif test $ac_prog = install &&
1025 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1026 # program-specific install script used by HP pwplus--don't use.
1029 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1039 if test "${ac_cv_path_install+set}" = set; then
1040 INSTALL
=$ac_cv_path_install
1042 # As a last resort, use the slow shell script. We don't cache a
1043 # path for INSTALL within a source directory, because that will
1044 # break other packages using the cache if that directory is
1045 # removed, or if the path is relative.
1046 INSTALL
=$ac_install_sh
1049 echo "$as_me:1049: result: $INSTALL" >&5
1050 echo "${ECHO_T}$INSTALL" >&6
1052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1053 # It thinks the first close brace ends the variable substitution.
1054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1058 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1060 echo "$as_me:1060: checking whether build environment is sane" >&5
1061 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1064 echo timestamp
> conftestfile
1065 # Do `set' in a subshell so we don't clobber the current shell's
1066 # arguments. Must try -L first in case configure is actually a
1067 # symlink; some systems play weird games with the mod time of symlinks
1068 # (eg FreeBSD returns the mod time of the symlink's containing
1071 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1072 if test "$*" = "X"; then
1074 set X
`ls -t $srcdir/configure conftestfile`
1076 if test "$*" != "X $srcdir/configure conftestfile" \
1077 && test "$*" != "X conftestfile $srcdir/configure"; then
1079 # If neither matched, then we have a broken ls. This can happen
1080 # if, for instance, CONFIG_SHELL is bash and it inherits a
1081 # broken ls alias from the environment. This has actually
1082 # happened. Such a system could not be considered "sane".
1083 { { echo "$as_me:1083: error: ls -t appears to fail. Make sure there is not a broken
1084 alias in your environment" >&5
1085 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1086 alias in your environment" >&2;}
1087 { (exit 1); exit 1; }; }
1090 test "$2" = conftestfile
1096 { { echo "$as_me:1096: error: newly created file is older than distributed files!
1097 Check your system clock" >&5
1098 echo "$as_me: error: newly created file is older than distributed files!
1099 Check your system clock" >&2;}
1100 { (exit 1); exit 1; }; }
1103 echo "$as_me:1103: result: yes" >&5
1104 echo "${ECHO_T}yes" >&6
1105 if test "$program_transform_name" = s
,x
,x
,; then
1106 program_transform_name
=
1108 # Double any \ or $. echo might interpret backslashes.
1109 cat <<\EOF
>conftest.
sed
1110 s
,\\,\\\\,g
; s
,\$
,$$
,g
1112 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1115 test "$program_prefix" != NONE
&&
1116 program_transform_name
="s,^,${program_prefix},;$program_transform_name"
1117 # Use a double $ so make ignores it.
1118 test "$program_suffix" != NONE
&&
1119 program_transform_name
="s,\$\$,${program_suffix},;$program_transform_name"
1121 # sed with no file args requires a program.
1122 test -z "$program_transform_name" && program_transform_name
="s,x,x,"
1124 echo "$as_me:1124: checking whether ${MAKE-make} sets \${MAKE}" >&5
1125 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1126 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1127 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1128 echo $ECHO_N "(cached) $ECHO_C" >&6
1130 cat >conftest.
make <<\EOF
1132 @
echo 'ac_maketemp="${MAKE}"'
1134 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1135 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1136 if test -n "$ac_maketemp"; then
1137 eval ac_cv_prog_make_
${ac_make}_set
=yes
1139 eval ac_cv_prog_make_
${ac_make}_set
=no
1143 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1144 echo "$as_me:1144: result: yes" >&5
1145 echo "${ECHO_T}yes" >&6
1148 echo "$as_me:1148: result: no" >&5
1149 echo "${ECHO_T}no" >&6
1150 SET_MAKE
="MAKE=${MAKE-make}"
1157 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1158 { { echo "$as_me:1158: error: source directory already configured; run \"make distclean\" there first" >&5
1159 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1160 { (exit 1); exit 1; }; }
1163 cat >>confdefs.h
<<EOF
1164 #define PACKAGE "$PACKAGE"
1167 cat >>confdefs.h
<<EOF
1168 #define VERSION "$VERSION"
1171 missing_dir
=`cd $ac_aux_dir && pwd`
1172 echo "$as_me:1172: checking for working aclocal" >&5
1173 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1174 # Run test in a subshell; some versions of sh will print an error if
1175 # an executable is not found, even if stderr is redirected.
1176 # Redirect stdin to placate older versions of autoconf. Sigh.
1177 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1179 echo "$as_me:1179: result: found" >&5
1180 echo "${ECHO_T}found" >&6
1182 ACLOCAL
="$missing_dir/missing aclocal"
1183 echo "$as_me:1183: result: missing" >&5
1184 echo "${ECHO_T}missing" >&6
1187 echo "$as_me:1187: checking for working autoconf" >&5
1188 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1189 # Run test in a subshell; some versions of sh will print an error if
1190 # an executable is not found, even if stderr is redirected.
1191 # Redirect stdin to placate older versions of autoconf. Sigh.
1192 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1194 echo "$as_me:1194: result: found" >&5
1195 echo "${ECHO_T}found" >&6
1197 AUTOCONF
="$missing_dir/missing autoconf"
1198 echo "$as_me:1198: result: missing" >&5
1199 echo "${ECHO_T}missing" >&6
1202 echo "$as_me:1202: checking for working automake" >&5
1203 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1204 # Run test in a subshell; some versions of sh will print an error if
1205 # an executable is not found, even if stderr is redirected.
1206 # Redirect stdin to placate older versions of autoconf. Sigh.
1207 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1209 echo "$as_me:1209: result: found" >&5
1210 echo "${ECHO_T}found" >&6
1212 AUTOMAKE
="$missing_dir/missing automake"
1213 echo "$as_me:1213: result: missing" >&5
1214 echo "${ECHO_T}missing" >&6
1217 echo "$as_me:1217: checking for working autoheader" >&5
1218 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1219 # Run test in a subshell; some versions of sh will print an error if
1220 # an executable is not found, even if stderr is redirected.
1221 # Redirect stdin to placate older versions of autoconf. Sigh.
1222 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1223 AUTOHEADER
=autoheader
1224 echo "$as_me:1224: result: found" >&5
1225 echo "${ECHO_T}found" >&6
1227 AUTOHEADER
="$missing_dir/missing autoheader"
1228 echo "$as_me:1228: result: missing" >&5
1229 echo "${ECHO_T}missing" >&6
1232 echo "$as_me:1232: checking for working makeinfo" >&5
1233 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1234 # Run test in a subshell; some versions of sh will print an error if
1235 # an executable is not found, even if stderr is redirected.
1236 # Redirect stdin to placate older versions of autoconf. Sigh.
1237 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1239 echo "$as_me:1239: result: found" >&5
1240 echo "${ECHO_T}found" >&6
1242 MAKEINFO
="$missing_dir/missing makeinfo"
1243 echo "$as_me:1243: result: missing" >&5
1244 echo "${ECHO_T}missing" >&6
1247 ac_config_headers
="$ac_config_headers config.h:config.hin"
1249 ac_config_commands
="$ac_config_commands default-1"
1251 # Initialize the test suite.
1254 # Try to be compatible with both Autoconf 2.13 and 2.50.
1255 if test -z "$ECHO_C$ECHO_N$ECHO_T"; then
1262 # Checks for programs.
1264 ac_cpp
='$CPP $CPPFLAGS'
1265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1268 if test -n "$ac_tool_prefix"; then
1269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1270 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1271 echo "$as_me:1271: checking for $ac_word" >&5
1272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1273 if test "${ac_cv_prog_CC+set}" = set; then
1274 echo $ECHO_N "(cached) $ECHO_C" >&6
1276 if test -n "$CC"; then
1277 ac_cv_prog_CC
="$CC" # Let the user override the test.
1279 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1281 for ac_dir
in $ac_dummy; do
1283 test -z "$ac_dir" && ac_dir
=.
1284 $as_executable_p "$ac_dir/$ac_word" || continue
1285 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1292 if test -n "$CC"; then
1293 echo "$as_me:1293: result: $CC" >&5
1294 echo "${ECHO_T}$CC" >&6
1296 echo "$as_me:1296: result: no" >&5
1297 echo "${ECHO_T}no" >&6
1301 if test -z "$ac_cv_prog_CC"; then
1303 # Extract the first word of "gcc", so it can be a program name with args.
1304 set dummy gcc
; ac_word
=$2
1305 echo "$as_me:1305: checking for $ac_word" >&5
1306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1308 echo $ECHO_N "(cached) $ECHO_C" >&6
1310 if test -n "$ac_ct_CC"; then
1311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1313 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1315 for ac_dir
in $ac_dummy; do
1317 test -z "$ac_dir" && ac_dir
=.
1318 $as_executable_p "$ac_dir/$ac_word" || continue
1319 ac_cv_prog_ac_ct_CC
="gcc"
1325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1326 if test -n "$ac_ct_CC"; then
1327 echo "$as_me:1327: result: $ac_ct_CC" >&5
1328 echo "${ECHO_T}$ac_ct_CC" >&6
1330 echo "$as_me:1330: result: no" >&5
1331 echo "${ECHO_T}no" >&6
1339 if test -z "$CC"; then
1340 if test -n "$ac_tool_prefix"; then
1341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1342 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1343 echo "$as_me:1343: checking for $ac_word" >&5
1344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1345 if test "${ac_cv_prog_CC+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1348 if test -n "$CC"; then
1349 ac_cv_prog_CC
="$CC" # Let the user override the test.
1351 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1353 for ac_dir
in $ac_dummy; do
1355 test -z "$ac_dir" && ac_dir
=.
1356 $as_executable_p "$ac_dir/$ac_word" || continue
1357 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1364 if test -n "$CC"; then
1365 echo "$as_me:1365: result: $CC" >&5
1366 echo "${ECHO_T}$CC" >&6
1368 echo "$as_me:1368: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1373 if test -z "$ac_cv_prog_CC"; then
1375 # Extract the first word of "cc", so it can be a program name with args.
1376 set dummy cc
; ac_word
=$2
1377 echo "$as_me:1377: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$ac_ct_CC"; then
1383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1385 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1387 for ac_dir
in $ac_dummy; do
1389 test -z "$ac_dir" && ac_dir
=.
1390 $as_executable_p "$ac_dir/$ac_word" || continue
1391 ac_cv_prog_ac_ct_CC
="cc"
1397 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1398 if test -n "$ac_ct_CC"; then
1399 echo "$as_me:1399: result: $ac_ct_CC" >&5
1400 echo "${ECHO_T}$ac_ct_CC" >&6
1402 echo "$as_me:1402: result: no" >&5
1403 echo "${ECHO_T}no" >&6
1412 if test -z "$CC"; then
1413 # Extract the first word of "cc", so it can be a program name with args.
1414 set dummy cc
; ac_word
=$2
1415 echo "$as_me:1415: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$CC"; then
1421 ac_cv_prog_CC
="$CC" # Let the user override the test.
1424 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1426 for ac_dir
in $ac_dummy; do
1428 test -z "$ac_dir" && ac_dir
=.
1429 $as_executable_p "$ac_dir/$ac_word" || continue
1430 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1431 ac_prog_rejected
=yes
1438 if test $ac_prog_rejected = yes; then
1439 # We found a bogon in the path, so make sure we never use it.
1440 set dummy
$ac_cv_prog_CC
1442 if test $# != 0; then
1443 # We chose a different compiler from the bogus one.
1444 # However, it has the same basename, so the bogon will be chosen
1445 # first if we set CC to just the basename; use the full file name.
1447 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1455 if test -n "$CC"; then
1456 echo "$as_me:1456: result: $CC" >&5
1457 echo "${ECHO_T}$CC" >&6
1459 echo "$as_me:1459: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1464 if test -z "$CC"; then
1465 if test -n "$ac_tool_prefix"; then
1468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1470 echo "$as_me:1470: checking for $ac_word" >&5
1471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472 if test "${ac_cv_prog_CC+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1475 if test -n "$CC"; then
1476 ac_cv_prog_CC
="$CC" # Let the user override the test.
1478 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1480 for ac_dir
in $ac_dummy; do
1482 test -z "$ac_dir" && ac_dir
=.
1483 $as_executable_p "$ac_dir/$ac_word" || continue
1484 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1491 if test -n "$CC"; then
1492 echo "$as_me:1492: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:1495: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1499 test -n "$CC" && break
1502 if test -z "$CC"; then
1506 # Extract the first word of "$ac_prog", so it can be a program name with args.
1507 set dummy
$ac_prog; ac_word
=$2
1508 echo "$as_me:1508: checking for $ac_word" >&5
1509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 if test -n "$ac_ct_CC"; then
1514 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1516 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1518 for ac_dir
in $ac_dummy; do
1520 test -z "$ac_dir" && ac_dir
=.
1521 $as_executable_p "$ac_dir/$ac_word" || continue
1522 ac_cv_prog_ac_ct_CC
="$ac_prog"
1528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1529 if test -n "$ac_ct_CC"; then
1530 echo "$as_me:1530: result: $ac_ct_CC" >&5
1531 echo "${ECHO_T}$ac_ct_CC" >&6
1533 echo "$as_me:1533: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1537 test -n "$ac_ct_CC" && break
1545 test -z "$CC" && { { echo "$as_me:1545: error: no acceptable cc found in \$PATH" >&5
1546 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1547 { (exit 1); exit 1; }; }
1549 cat >conftest.
$ac_ext <<_ACEOF
1550 #line 1550 "configure"
1551 #include "confdefs.h"
1561 ac_clean_files_save
=$ac_clean_files
1562 ac_clean_files
="$ac_clean_files a.out a.exe"
1563 # Try to create an executable without -o first, disregard a.out.
1564 # It will help us diagnose broken compiler, and finding out an intuition
1566 echo "$as_me:1566: checking for C compiler default output" >&5
1567 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1568 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1569 if { (eval echo "$as_me:1569: \"$ac_link_default\"") >&5
1570 (eval $ac_link_default) 2>&5
1572 echo "$as_me:1572: \$? = $ac_status" >&5
1573 (exit $ac_status); }; then
1574 for ac_file
in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1576 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1577 a.out
) # We found the default executable, but exeext='' is most
1580 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1587 echo "$as_me: failed program was:" >&5
1588 cat conftest.
$ac_ext >&5
1589 { { echo "$as_me:1589: error: C compiler cannot create executables" >&5
1590 echo "$as_me: error: C compiler cannot create executables" >&2;}
1591 { (exit 77); exit 77; }; }
1594 ac_exeext
=$ac_cv_exeext
1595 echo "$as_me:1595: result: $ac_file" >&5
1596 echo "${ECHO_T}$ac_file" >&6
1598 # Check the compiler produces executables we can run. If not, either
1599 # the compiler is broken, or we cross compile.
1600 echo "$as_me:1600: checking whether the C compiler works" >&5
1601 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1602 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1603 # If not cross compiling, check that we can run a simple program.
1604 if test "$cross_compiling" != yes; then
1605 if { ac_try
='./$ac_file'
1606 { (eval echo "$as_me:1606: \"$ac_try\"") >&5
1609 echo "$as_me:1609: \$? = $ac_status" >&5
1610 (exit $ac_status); }; }; then
1613 if test "$cross_compiling" = maybe
; then
1616 { { echo "$as_me:1616: error: cannot run C compiled programs.
1617 If you meant to cross compile, use \`--host'." >&5
1618 echo "$as_me: error: cannot run C compiled programs.
1619 If you meant to cross compile, use \`--host'." >&2;}
1620 { (exit 1); exit 1; }; }
1624 echo "$as_me:1624: result: yes" >&5
1625 echo "${ECHO_T}yes" >&6
1627 rm -f a.out a.exe conftest
$ac_cv_exeext
1628 ac_clean_files
=$ac_clean_files_save
1629 # Check the compiler produces executables we can run. If not, either
1630 # the compiler is broken, or we cross compile.
1631 echo "$as_me:1631: checking whether we are cross compiling" >&5
1632 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1633 echo "$as_me:1633: result: $cross_compiling" >&5
1634 echo "${ECHO_T}$cross_compiling" >&6
1636 echo "$as_me:1636: checking for executable suffix" >&5
1637 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1638 if { (eval echo "$as_me:1638: \"$ac_link\"") >&5
1639 (eval $ac_link) 2>&5
1641 echo "$as_me:1641: \$? = $ac_status" >&5
1642 (exit $ac_status); }; then
1643 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1644 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1645 # work properly (i.e., refer to `conftest.exe'), while it won't with
1647 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1649 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1650 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1657 { { echo "$as_me:1657: error: cannot compute EXEEXT: cannot compile and link" >&5
1658 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1659 { (exit 1); exit 1; }; }
1662 rm -f conftest
$ac_cv_exeext
1663 echo "$as_me:1663: result: $ac_cv_exeext" >&5
1664 echo "${ECHO_T}$ac_cv_exeext" >&6
1666 rm -f conftest.
$ac_ext
1667 EXEEXT
=$ac_cv_exeext
1669 echo "$as_me:1669: checking for object suffix" >&5
1670 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1671 if test "${ac_cv_objext+set}" = set; then
1672 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 cat >conftest.
$ac_ext <<_ACEOF
1675 #line 1675 "configure"
1676 #include "confdefs.h"
1686 rm -f conftest.o conftest.obj
1687 if { (eval echo "$as_me:1687: \"$ac_compile\"") >&5
1688 (eval $ac_compile) 2>&5
1690 echo "$as_me:1690: \$? = $ac_status" >&5
1691 (exit $ac_status); }; then
1692 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1694 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1695 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1700 echo "$as_me: failed program was:" >&5
1701 cat conftest.
$ac_ext >&5
1702 { { echo "$as_me:1702: error: cannot compute OBJEXT: cannot compile" >&5
1703 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1704 { (exit 1); exit 1; }; }
1707 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1709 echo "$as_me:1709: result: $ac_cv_objext" >&5
1710 echo "${ECHO_T}$ac_cv_objext" >&6
1711 OBJEXT
=$ac_cv_objext
1713 echo "$as_me:1713: checking whether we are using the GNU C compiler" >&5
1714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 cat >conftest.
$ac_ext <<_ACEOF
1719 #line 1719 "configure"
1720 #include "confdefs.h"
1733 rm -f conftest.
$ac_objext
1734 if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
1735 (eval $ac_compile) 2>&5
1737 echo "$as_me:1737: \$? = $ac_status" >&5
1738 (exit $ac_status); } &&
1739 { ac_try
='test -s conftest.$ac_objext'
1740 { (eval echo "$as_me:1740: \"$ac_try\"") >&5
1743 echo "$as_me:1743: \$? = $ac_status" >&5
1744 (exit $ac_status); }; }; then
1747 echo "$as_me: failed program was:" >&5
1748 cat conftest.
$ac_ext >&5
1751 rm -f conftest.
$ac_objext conftest.
$ac_ext
1752 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1755 echo "$as_me:1755: result: $ac_cv_c_compiler_gnu" >&5
1756 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1757 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1758 ac_test_CFLAGS
=${CFLAGS+set}
1759 ac_save_CFLAGS
=$CFLAGS
1761 echo "$as_me:1761: checking whether $CC accepts -g" >&5
1762 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1763 if test "${ac_cv_prog_cc_g+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 cat >conftest.
$ac_ext <<_ACEOF
1767 #line 1767 "configure"
1768 #include "confdefs.h"
1778 rm -f conftest.
$ac_objext
1779 if { (eval echo "$as_me:1779: \"$ac_compile\"") >&5
1780 (eval $ac_compile) 2>&5
1782 echo "$as_me:1782: \$? = $ac_status" >&5
1783 (exit $ac_status); } &&
1784 { ac_try
='test -s conftest.$ac_objext'
1785 { (eval echo "$as_me:1785: \"$ac_try\"") >&5
1788 echo "$as_me:1788: \$? = $ac_status" >&5
1789 (exit $ac_status); }; }; then
1792 echo "$as_me: failed program was:" >&5
1793 cat conftest.
$ac_ext >&5
1796 rm -f conftest.
$ac_objext conftest.
$ac_ext
1798 echo "$as_me:1798: result: $ac_cv_prog_cc_g" >&5
1799 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1800 if test "$ac_test_CFLAGS" = set; then
1801 CFLAGS
=$ac_save_CFLAGS
1802 elif test $ac_cv_prog_cc_g = yes; then
1803 if test "$GCC" = yes; then
1809 if test "$GCC" = yes; then
1815 # Some people use a C++ compiler to compile C. Since we use `exit',
1816 # in C++ we need to declare it. In case someone uses the same compiler
1817 # for both compiling C and C++ we need to have the C++ compiler decide
1818 # the declaration of exit, since it's the most demanding environment.
1819 cat >conftest.
$ac_ext <<_ACEOF
1824 rm -f conftest.
$ac_objext
1825 if { (eval echo "$as_me:1825: \"$ac_compile\"") >&5
1826 (eval $ac_compile) 2>&5
1828 echo "$as_me:1828: \$? = $ac_status" >&5
1829 (exit $ac_status); } &&
1830 { ac_try
='test -s conftest.$ac_objext'
1831 { (eval echo "$as_me:1831: \"$ac_try\"") >&5
1834 echo "$as_me:1834: \$? = $ac_status" >&5
1835 (exit $ac_status); }; }; then
1836 for ac_declaration
in \
1838 '#include <stdlib.h>' \
1839 'extern "C" void std::exit (int) throw (); using std::exit;' \
1840 'extern "C" void std::exit (int); using std::exit;' \
1841 'extern "C" void exit (int) throw ();' \
1842 'extern "C" void exit (int);' \
1845 cat >conftest.
$ac_ext <<_ACEOF
1846 #line 1846 "configure"
1847 #include "confdefs.h"
1858 rm -f conftest.
$ac_objext
1859 if { (eval echo "$as_me:1859: \"$ac_compile\"") >&5
1860 (eval $ac_compile) 2>&5
1862 echo "$as_me:1862: \$? = $ac_status" >&5
1863 (exit $ac_status); } &&
1864 { ac_try
='test -s conftest.$ac_objext'
1865 { (eval echo "$as_me:1865: \"$ac_try\"") >&5
1868 echo "$as_me:1868: \$? = $ac_status" >&5
1869 (exit $ac_status); }; }; then
1872 echo "$as_me: failed program was:" >&5
1873 cat conftest.
$ac_ext >&5
1876 rm -f conftest.
$ac_objext conftest.
$ac_ext
1877 cat >conftest.
$ac_ext <<_ACEOF
1878 #line 1878 "configure"
1879 #include "confdefs.h"
1889 rm -f conftest.
$ac_objext
1890 if { (eval echo "$as_me:1890: \"$ac_compile\"") >&5
1891 (eval $ac_compile) 2>&5
1893 echo "$as_me:1893: \$? = $ac_status" >&5
1894 (exit $ac_status); } &&
1895 { ac_try
='test -s conftest.$ac_objext'
1896 { (eval echo "$as_me:1896: \"$ac_try\"") >&5
1899 echo "$as_me:1899: \$? = $ac_status" >&5
1900 (exit $ac_status); }; }; then
1903 echo "$as_me: failed program was:" >&5
1904 cat conftest.
$ac_ext >&5
1906 rm -f conftest.
$ac_objext conftest.
$ac_ext
1908 echo '#ifdef __cplusplus' >>confdefs.h
1909 echo $ac_declaration >>confdefs.h
1910 echo '#endif' >>confdefs.h
1913 echo "$as_me: failed program was:" >&5
1914 cat conftest.
$ac_ext >&5
1916 rm -f conftest.
$ac_objext conftest.
$ac_ext
1918 ac_cpp
='$CPP $CPPFLAGS'
1919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1924 ac_cpp
='$CPP $CPPFLAGS'
1925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 echo "$as_me:1928: checking how to run the C preprocessor" >&5
1929 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1930 # On Suns, sometimes $CPP names a directory.
1931 if test -n "$CPP" && test -d "$CPP"; then
1934 if test -z "$CPP"; then
1935 if test "${ac_cv_prog_CPP+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 # Double quotes because CPP needs to be expanded
1939 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1941 # Use a header file that comes with gcc, so configuring glibc
1942 # with a fresh cross-compiler works.
1943 # On the NeXT, cc -E runs the code through the compiler's parser,
1944 # not just through cpp. "Syntax error" is here to catch this case.
1945 ac_c_preproc_warn_flag
=maybe
1946 cat >conftest.
$ac_ext <<_ACEOF
1947 #line 1947 "configure"
1948 #include "confdefs.h"
1952 if { (eval echo "$as_me:1952: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
1953 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
1955 egrep -v '^ *\+' conftest.er1
>conftest.err
1957 cat conftest.err
>&5
1958 echo "$as_me:1958: \$? = $ac_status" >&5
1959 (exit $ac_status); }; then
1960 if test -s conftest.err
; then
1961 ac_cpp_err
=$ac_c_preproc_warn_flag
1968 if test -z "$ac_cpp_err"; then
1969 # Now check whether non-existent headers can be detected and how
1970 # Skip if ac_cpp_err is not empty - ac_cpp is broken
1971 if test -z "$ac_cpp_err"; then
1972 cat >conftest.
$ac_ext <<_ACEOF
1973 #line 1973 "configure"
1974 #include "confdefs.h"
1975 #include <ac_nonexistent.h>
1977 if { (eval echo "$as_me:1977: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
1978 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
1980 egrep -v '^ *\+' conftest.er1
>conftest.err
1982 cat conftest.err
>&5
1983 echo "$as_me:1983: \$? = $ac_status" >&5
1984 (exit $ac_status); }; then
1985 if test -s conftest.err
; then
1986 ac_cpp_err
=$ac_c_preproc_warn_flag
1993 if test -z "$ac_cpp_err"; then
1994 # cannot detect missing includes at all
1997 echo "$as_me: failed program was:" >&5
1998 cat conftest.
$ac_ext >&5
1999 if test "x$ac_cpp_err" = xmaybe
; then
2000 ac_c_preproc_warn_flag
=yes
2002 ac_c_preproc_warn_flag
=
2006 rm -f conftest.err conftest.
$ac_ext
2009 echo "$as_me: failed program was:" >&5
2010 cat conftest.
$ac_ext >&5
2013 rm -f conftest.err conftest.
$ac_ext
2014 if test -z "$ac_cpp_err"; then
2023 # Use a header file that comes with gcc, so configuring glibc
2024 # with a fresh cross-compiler works.
2025 # On the NeXT, cc -E runs the code through the compiler's parser,
2026 # not just through cpp. "Syntax error" is here to catch this case.
2027 ac_c_preproc_warn_flag
=maybe
2028 cat >conftest.
$ac_ext <<_ACEOF
2029 #line 2029 "configure"
2030 #include "confdefs.h"
2034 if { (eval echo "$as_me:2034: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2035 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2037 egrep -v '^ *\+' conftest.er1
>conftest.err
2039 cat conftest.err
>&5
2040 echo "$as_me:2040: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 if test -s conftest.err
; then
2043 ac_cpp_err
=$ac_c_preproc_warn_flag
2050 if test -z "$ac_cpp_err"; then
2051 # Now check whether non-existent headers can be detected and how
2052 # Skip if ac_cpp_err is not empty - ac_cpp is broken
2053 if test -z "$ac_cpp_err"; then
2054 cat >conftest.
$ac_ext <<_ACEOF
2055 #line 2055 "configure"
2056 #include "confdefs.h"
2057 #include <ac_nonexistent.h>
2059 if { (eval echo "$as_me:2059: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2060 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2062 egrep -v '^ *\+' conftest.er1
>conftest.err
2064 cat conftest.err
>&5
2065 echo "$as_me:2065: \$? = $ac_status" >&5
2066 (exit $ac_status); }; then
2067 if test -s conftest.err
; then
2068 ac_cpp_err
=$ac_c_preproc_warn_flag
2075 if test -z "$ac_cpp_err"; then
2076 # cannot detect missing includes at all
2079 echo "$as_me: failed program was:" >&5
2080 cat conftest.
$ac_ext >&5
2081 if test "x$ac_cpp_err" = xmaybe
; then
2082 ac_c_preproc_warn_flag
=yes
2084 ac_c_preproc_warn_flag
=
2088 rm -f conftest.err conftest.
$ac_ext
2091 echo "$as_me: failed program was:" >&5
2092 cat conftest.
$ac_ext >&5
2095 rm -f conftest.err conftest.
$ac_ext
2098 echo "$as_me:2098: result: $CPP" >&5
2099 echo "${ECHO_T}$CPP" >&6
2100 if test -n "$ac_cpp_err"; then
2101 { { echo "$as_me:2101: error: C preprocessor \"$CPP\" fails sanity check" >&5
2102 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2103 { (exit 1); exit 1; }; }
2106 ac_cpp
='$CPP $CPPFLAGS'
2107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2111 echo "$as_me:2111: checking for minix/config.h" >&5
2112 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2113 if test "${ac_cv_header_minix_config_h+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 cat >conftest.
$ac_ext <<_ACEOF
2117 #line 2117 "configure"
2118 #include "confdefs.h"
2119 #include <minix/config.h>
2121 if { (eval echo "$as_me:2121: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2122 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2124 egrep -v '^ *\+' conftest.er1
>conftest.err
2126 cat conftest.err
>&5
2127 echo "$as_me:2127: \$? = $ac_status" >&5
2128 (exit $ac_status); }; then
2129 if test -s conftest.err
; then
2130 ac_cpp_err
=$ac_c_preproc_warn_flag
2137 if test -z "$ac_cpp_err"; then
2138 ac_cv_header_minix_config_h
=yes
2140 echo "$as_me: failed program was:" >&5
2141 cat conftest.
$ac_ext >&5
2142 ac_cv_header_minix_config_h
=no
2144 rm -f conftest.err conftest.
$ac_ext
2146 echo "$as_me:2146: result: $ac_cv_header_minix_config_h" >&5
2147 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2148 if test $ac_cv_header_minix_config_h = yes; then
2154 if test "$MINIX" = yes; then
2156 cat >>confdefs.h
<<\EOF
2157 #define _POSIX_SOURCE 1
2160 cat >>confdefs.h
<<\EOF
2161 #define _POSIX_1_SOURCE 2
2164 cat >>confdefs.h
<<\EOF
2170 echo "$as_me:2170: checking for POSIXized ISC" >&5
2171 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
2172 if test -d /etc
/conf
/kconfig.d
&&
2173 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
2175 echo "$as_me:2175: result: yes" >&5
2176 echo "${ECHO_T}yes" >&6
2177 ISC
=yes # If later tests want to check for ISC.
2179 cat >>confdefs.h
<<\EOF
2180 #define _POSIX_SOURCE 1
2183 if test "$GCC" = yes; then
2189 echo "$as_me:2189: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2194 echo "$as_me:2194: checking for ${CC-cc} option to accept ANSI C" >&5
2195 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2196 if test "${am_cv_prog_cc_stdc+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 am_cv_prog_cc_stdc
=no
2201 # Don't try gcc -ansi; that turns off useful extensions and
2202 # breaks some systems' header files.
2203 # AIX -qlanglvl=ansi
2204 # Ultrix and OSF/1 -std1
2205 # HP-UX -Aa -D_HPUX_SOURCE
2206 # SVR4 -Xc -D__EXTENSIONS__
2207 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2209 CC
="$ac_save_CC $ac_arg"
2210 cat >conftest.
$ac_ext <<_ACEOF
2211 #line 2211 "configure"
2212 #include "confdefs.h"
2215 #include <sys/types.h>
2216 #include <sys/stat.h>
2217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2218 struct buf { int x; };
2219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2220 static char *e (p, i)
2226 static char *f (char * (*g) (char **, int), char **p, ...)
2231 s = g (p, va_arg (v,int));
2235 int test (int i, double x);
2236 struct s1 {int (*f) (int a);};
2237 struct s2 {int (*f) (double a);};
2238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2246 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2252 rm -f conftest.
$ac_objext
2253 if { (eval echo "$as_me:2253: \"$ac_compile\"") >&5
2254 (eval $ac_compile) 2>&5
2256 echo "$as_me:2256: \$? = $ac_status" >&5
2257 (exit $ac_status); } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:2259: \"$ac_try\"") >&5
2262 echo "$as_me:2262: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 am_cv_prog_cc_stdc
="$ac_arg"; break
2266 echo "$as_me: failed program was:" >&5
2267 cat conftest.
$ac_ext >&5
2269 rm -f conftest.
$ac_objext conftest.
$ac_ext
2275 if test -z "$am_cv_prog_cc_stdc"; then
2276 echo "$as_me:2276: result: none needed" >&5
2277 echo "${ECHO_T}none needed" >&6
2279 echo "$as_me:2279: result: $am_cv_prog_cc_stdc" >&5
2280 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2282 case "x$am_cv_prog_cc_stdc" in
2284 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2287 # Find a good install program. We prefer a C program (faster),
2288 # so one script is as good as another. But avoid the broken or
2289 # incompatible versions:
2290 # SysV /etc/install, /usr/sbin/install
2291 # SunOS /usr/etc/install
2292 # IRIX /sbin/install
2294 # AmigaOS /C/install, which installs bootblocks on floppy discs
2295 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298 # ./install, which can be erroneously created by make from ./install.sh.
2299 echo "$as_me:2299: checking for a BSD compatible install" >&5
2300 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2301 if test -z "$INSTALL"; then
2302 if test "${ac_cv_path_install+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2306 for ac_dir
in $PATH; do
2308 # Account for people who put trailing slashes in PATH elements.
2310 / | .
/ | .
// | /cC
/* \
2311 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
2314 # OSF1 and SCO ODT 3.0 have their own names for install.
2315 # Don't use installbsd from OSF since it installs stuff as root
2317 for ac_prog
in ginstall scoinst
install; do
2318 if $as_executable_p "$ac_dir/$ac_prog"; then
2319 if test $ac_prog = install &&
2320 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2321 # AIX install. It has an incompatible calling convention.
2323 elif test $ac_prog = install &&
2324 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2325 # program-specific install script used by HP pwplus--don't use.
2328 ac_cv_path_install
="$ac_dir/$ac_prog -c"
2338 if test "${ac_cv_path_install+set}" = set; then
2339 INSTALL
=$ac_cv_path_install
2341 # As a last resort, use the slow shell script. We don't cache a
2342 # path for INSTALL within a source directory, because that will
2343 # break other packages using the cache if that directory is
2344 # removed, or if the path is relative.
2345 INSTALL
=$ac_install_sh
2348 echo "$as_me:2348: result: $INSTALL" >&5
2349 echo "${ECHO_T}$INSTALL" >&6
2351 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2352 # It thinks the first close brace ends the variable substitution.
2353 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2355 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2357 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2359 if test -n "$ac_tool_prefix"; then
2360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2361 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2362 echo "$as_me:2362: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_RANLIB+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$RANLIB"; then
2368 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2370 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2372 for ac_dir
in $ac_dummy; do
2374 test -z "$ac_dir" && ac_dir
=.
2375 $as_executable_p "$ac_dir/$ac_word" || continue
2376 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2382 RANLIB
=$ac_cv_prog_RANLIB
2383 if test -n "$RANLIB"; then
2384 echo "$as_me:2384: result: $RANLIB" >&5
2385 echo "${ECHO_T}$RANLIB" >&6
2387 echo "$as_me:2387: result: no" >&5
2388 echo "${ECHO_T}no" >&6
2392 if test -z "$ac_cv_prog_RANLIB"; then
2393 ac_ct_RANLIB
=$RANLIB
2394 # Extract the first word of "ranlib", so it can be a program name with args.
2395 set dummy ranlib
; ac_word
=$2
2396 echo "$as_me:2396: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test -n "$ac_ct_RANLIB"; then
2402 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2404 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2406 for ac_dir
in $ac_dummy; do
2408 test -z "$ac_dir" && ac_dir
=.
2409 $as_executable_p "$ac_dir/$ac_word" || continue
2410 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2414 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2417 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2418 if test -n "$ac_ct_RANLIB"; then
2419 echo "$as_me:2419: result: $ac_ct_RANLIB" >&5
2420 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2422 echo "$as_me:2422: result: no" >&5
2423 echo "${ECHO_T}no" >&6
2426 RANLIB
=$ac_ct_RANLIB
2428 RANLIB
="$ac_cv_prog_RANLIB"
2431 # GNU M4 is needed to build the testsuite.
2432 for ac_prog
in gm4 gnum4
m4
2434 # Extract the first word of "$ac_prog", so it can be a program name with args.
2435 set dummy
$ac_prog; ac_word
=$2
2436 echo "$as_me:2436: checking for $ac_word" >&5
2437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2438 if test "${ac_cv_path_M4+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2446 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2448 for ac_dir
in $ac_dummy; do
2450 test -z "$ac_dir" && ac_dir
=.
2451 if $as_executable_p "$ac_dir/$ac_word"; then
2452 ac_cv_path_M4
="$ac_dir/$ac_word"
2462 if test -n "$M4"; then
2463 echo "$as_me:2463: result: $M4" >&5
2464 echo "${ECHO_T}$M4" >&6
2466 echo "$as_me:2466: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2470 test -n "$M4" && break
2472 test -n "$M4" || M4
="m4"
2474 echo "$as_me:2474: checking whether m4 supports frozen files" >&5
2475 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2476 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 ac_cv_prog_gnu_m4
=no
2480 if test x
"$M4" != x
; then
2481 case `$M4 --help < /dev/null 2>&1` in
2482 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2486 echo "$as_me:2486: result: $ac_cv_prog_gnu_m4" >&5
2487 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2488 if test "$ac_cv_prog_gnu_m4" != yes; then
2489 missing_dir
=`cd $ac_aux_dir && pwd`
2490 M4
="$missing_dir/missing m4"
2493 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2494 if test "${enable_gcc_warnings+set}" = set; then
2495 enableval
="$enable_gcc_warnings"
2496 case "${enableval}" in
2498 *) { { echo "$as_me:2498: error: bad value ${enableval} for gcc-warnings option" >&5
2499 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2500 { (exit 1); exit 1; }; } ;;
2507 if test "${enableval}" = yes; then
2508 echo "$as_me:2508: checking whether compiler accepts -Wall" >&5
2509 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
2511 ac_save_CFLAGS
="$CFLAGS"
2512 CFLAGS
="$CFLAGS -Wall"
2513 cat >conftest.
$ac_ext <<_ACEOF
2514 #line 2514 "configure"
2515 #include "confdefs.h"
2525 rm -f conftest.
$ac_objext
2526 if { (eval echo "$as_me:2526: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>&5
2529 echo "$as_me:2529: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -s conftest.$ac_objext'
2532 { (eval echo "$as_me:2532: \"$ac_try\"") >&5
2535 echo "$as_me:2535: \$? = $ac_status" >&5
2536 (exit $ac_status); }; }; then
2537 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
2538 echo "$as_me:2538: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2541 echo "$as_me: failed program was:" >&5
2542 cat conftest.
$ac_ext >&5
2543 echo "$as_me:2543: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2546 rm -f conftest.
$ac_objext conftest.
$ac_ext
2547 CFLAGS
="$ac_save_CFLAGS"
2548 echo "$as_me:2548: checking whether compiler accepts -W" >&5
2549 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
2551 ac_save_CFLAGS
="$CFLAGS"
2553 cat >conftest.
$ac_ext <<_ACEOF
2554 #line 2554 "configure"
2555 #include "confdefs.h"
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:2566: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>&5
2569 echo "$as_me:2569: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try
='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:2572: \"$ac_try\"") >&5
2575 echo "$as_me:2575: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
2578 echo "$as_me:2578: result: yes" >&5
2579 echo "${ECHO_T}yes" >&6
2581 echo "$as_me: failed program was:" >&5
2582 cat conftest.
$ac_ext >&5
2583 echo "$as_me:2583: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2586 rm -f conftest.
$ac_objext conftest.
$ac_ext
2587 CFLAGS
="$ac_save_CFLAGS"
2588 echo "$as_me:2588: checking whether compiler accepts -Wbad-function-cast" >&5
2589 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
2591 ac_save_CFLAGS
="$CFLAGS"
2592 CFLAGS
="$CFLAGS -Wbad-function-cast"
2593 cat >conftest.
$ac_ext <<_ACEOF
2594 #line 2594 "configure"
2595 #include "confdefs.h"
2605 rm -f conftest.
$ac_objext
2606 if { (eval echo "$as_me:2606: \"$ac_compile\"") >&5
2607 (eval $ac_compile) 2>&5
2609 echo "$as_me:2609: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:2612: \"$ac_try\"") >&5
2615 echo "$as_me:2615: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
2618 echo "$as_me:2618: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2621 echo "$as_me: failed program was:" >&5
2622 cat conftest.
$ac_ext >&5
2623 echo "$as_me:2623: result: no" >&5
2624 echo "${ECHO_T}no" >&6
2626 rm -f conftest.
$ac_objext conftest.
$ac_ext
2627 CFLAGS
="$ac_save_CFLAGS"
2628 echo "$as_me:2628: checking whether compiler accepts -Wcast-align" >&5
2629 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
2631 ac_save_CFLAGS
="$CFLAGS"
2632 CFLAGS
="$CFLAGS -Wcast-align"
2633 cat >conftest.
$ac_ext <<_ACEOF
2634 #line 2634 "configure"
2635 #include "confdefs.h"
2645 rm -f conftest.
$ac_objext
2646 if { (eval echo "$as_me:2646: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5
2649 echo "$as_me:2649: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try
='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:2652: \"$ac_try\"") >&5
2655 echo "$as_me:2655: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2657 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
2658 echo "$as_me:2658: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2661 echo "$as_me: failed program was:" >&5
2662 cat conftest.
$ac_ext >&5
2663 echo "$as_me:2663: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2666 rm -f conftest.
$ac_objext conftest.
$ac_ext
2667 CFLAGS
="$ac_save_CFLAGS"
2668 echo "$as_me:2668: checking whether compiler accepts -Wcast-qual" >&5
2669 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
2671 ac_save_CFLAGS
="$CFLAGS"
2672 CFLAGS
="$CFLAGS -Wcast-qual"
2673 cat >conftest.
$ac_ext <<_ACEOF
2674 #line 2674 "configure"
2675 #include "confdefs.h"
2685 rm -f conftest.
$ac_objext
2686 if { (eval echo "$as_me:2686: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>&5
2689 echo "$as_me:2689: \$? = $ac_status" >&5
2690 (exit $ac_status); } &&
2691 { ac_try
='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:2692: \"$ac_try\"") >&5
2695 echo "$as_me:2695: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2697 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
2698 echo "$as_me:2698: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2701 echo "$as_me: failed program was:" >&5
2702 cat conftest.
$ac_ext >&5
2703 echo "$as_me:2703: result: no" >&5
2704 echo "${ECHO_T}no" >&6
2706 rm -f conftest.
$ac_objext conftest.
$ac_ext
2707 CFLAGS
="$ac_save_CFLAGS"
2708 echo "$as_me:2708: checking whether compiler accepts -Wmissing-declarations" >&5
2709 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
2711 ac_save_CFLAGS
="$CFLAGS"
2712 CFLAGS
="$CFLAGS -Wmissing-declarations"
2713 cat >conftest.
$ac_ext <<_ACEOF
2714 #line 2714 "configure"
2715 #include "confdefs.h"
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:2726: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>&5
2729 echo "$as_me:2729: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -s conftest.$ac_objext'
2732 { (eval echo "$as_me:2732: \"$ac_try\"") >&5
2735 echo "$as_me:2735: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
2738 echo "$as_me:2738: result: yes" >&5
2739 echo "${ECHO_T}yes" >&6
2741 echo "$as_me: failed program was:" >&5
2742 cat conftest.
$ac_ext >&5
2743 echo "$as_me:2743: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2746 rm -f conftest.
$ac_objext conftest.
$ac_ext
2747 CFLAGS
="$ac_save_CFLAGS"
2748 echo "$as_me:2748: checking whether compiler accepts -Wmissing-prototypes" >&5
2749 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
2751 ac_save_CFLAGS
="$CFLAGS"
2752 CFLAGS
="$CFLAGS -Wmissing-prototypes"
2753 cat >conftest.
$ac_ext <<_ACEOF
2754 #line 2754 "configure"
2755 #include "confdefs.h"
2765 rm -f conftest.
$ac_objext
2766 if { (eval echo "$as_me:2766: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>&5
2769 echo "$as_me:2769: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try
='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:2772: \"$ac_try\"") >&5
2775 echo "$as_me:2775: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2777 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
2778 echo "$as_me:2778: result: yes" >&5
2779 echo "${ECHO_T}yes" >&6
2781 echo "$as_me: failed program was:" >&5
2782 cat conftest.
$ac_ext >&5
2783 echo "$as_me:2783: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2786 rm -f conftest.
$ac_objext conftest.
$ac_ext
2787 CFLAGS
="$ac_save_CFLAGS"
2788 echo "$as_me:2788: checking whether compiler accepts -Wnested-externs" >&5
2789 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
2791 ac_save_CFLAGS
="$CFLAGS"
2792 CFLAGS
="$CFLAGS -Wnested-externs"
2793 cat >conftest.
$ac_ext <<_ACEOF
2794 #line 2794 "configure"
2795 #include "confdefs.h"
2805 rm -f conftest.
$ac_objext
2806 if { (eval echo "$as_me:2806: \"$ac_compile\"") >&5
2807 (eval $ac_compile) 2>&5
2809 echo "$as_me:2809: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try
='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:2812: \"$ac_try\"") >&5
2815 echo "$as_me:2815: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
2818 echo "$as_me:2818: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2821 echo "$as_me: failed program was:" >&5
2822 cat conftest.
$ac_ext >&5
2823 echo "$as_me:2823: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2826 rm -f conftest.
$ac_objext conftest.
$ac_ext
2827 CFLAGS
="$ac_save_CFLAGS"
2828 echo "$as_me:2828: checking whether compiler accepts -Wshadow" >&5
2829 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
2831 ac_save_CFLAGS
="$CFLAGS"
2832 CFLAGS
="$CFLAGS -Wshadow"
2833 cat >conftest.
$ac_ext <<_ACEOF
2834 #line 2834 "configure"
2835 #include "confdefs.h"
2845 rm -f conftest.
$ac_objext
2846 if { (eval echo "$as_me:2846: \"$ac_compile\"") >&5
2847 (eval $ac_compile) 2>&5
2849 echo "$as_me:2849: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try
='test -s conftest.$ac_objext'
2852 { (eval echo "$as_me:2852: \"$ac_try\"") >&5
2855 echo "$as_me:2855: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
2858 echo "$as_me:2858: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2861 echo "$as_me: failed program was:" >&5
2862 cat conftest.
$ac_ext >&5
2863 echo "$as_me:2863: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2866 rm -f conftest.
$ac_objext conftest.
$ac_ext
2867 CFLAGS
="$ac_save_CFLAGS"
2868 echo "$as_me:2868: checking whether compiler accepts -Wstrict-prototypes" >&5
2869 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
2871 ac_save_CFLAGS
="$CFLAGS"
2872 CFLAGS
="$CFLAGS -Wstrict-prototypes"
2873 cat >conftest.
$ac_ext <<_ACEOF
2874 #line 2874 "configure"
2875 #include "confdefs.h"
2885 rm -f conftest.
$ac_objext
2886 if { (eval echo "$as_me:2886: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>&5
2889 echo "$as_me:2889: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try
='test -s conftest.$ac_objext'
2892 { (eval echo "$as_me:2892: \"$ac_try\"") >&5
2895 echo "$as_me:2895: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2897 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
2898 echo "$as_me:2898: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6
2901 echo "$as_me: failed program was:" >&5
2902 cat conftest.
$ac_ext >&5
2903 echo "$as_me:2903: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2906 rm -f conftest.
$ac_objext conftest.
$ac_ext
2907 CFLAGS
="$ac_save_CFLAGS"
2908 echo "$as_me:2908: checking whether compiler accepts -Wwrite-strings" >&5
2909 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
2911 ac_save_CFLAGS
="$CFLAGS"
2912 CFLAGS
="$CFLAGS -Wwrite-strings"
2913 cat >conftest.
$ac_ext <<_ACEOF
2914 #line 2914 "configure"
2915 #include "confdefs.h"
2925 rm -f conftest.
$ac_objext
2926 if { (eval echo "$as_me:2926: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>&5
2929 echo "$as_me:2929: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try
='test -s conftest.$ac_objext'
2932 { (eval echo "$as_me:2932: \"$ac_try\"") >&5
2935 echo "$as_me:2935: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2937 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
2938 echo "$as_me:2938: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2941 echo "$as_me: failed program was:" >&5
2942 cat conftest.
$ac_ext >&5
2943 echo "$as_me:2943: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2946 rm -f conftest.
$ac_objext conftest.
$ac_ext
2947 CFLAGS
="$ac_save_CFLAGS"
2948 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
2951 # Checks for libraries.
2953 cat >>confdefs.h
<<\EOF
2954 #define _GNU_SOURCE 1
2957 # Checks for header files.
2958 echo "$as_me:2958: checking for ANSI C header files" >&5
2959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2960 if test "${ac_cv_header_stdc+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 cat >conftest.
$ac_ext <<_ACEOF
2964 #line 2964 "configure"
2965 #include "confdefs.h"
2972 if { (eval echo "$as_me:2972: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
2973 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
2975 egrep -v '^ *\+' conftest.er1
>conftest.err
2977 cat conftest.err
>&5
2978 echo "$as_me:2978: \$? = $ac_status" >&5
2979 (exit $ac_status); }; then
2980 if test -s conftest.err
; then
2981 ac_cpp_err
=$ac_c_preproc_warn_flag
2988 if test -z "$ac_cpp_err"; then
2989 ac_cv_header_stdc
=yes
2991 echo "$as_me: failed program was:" >&5
2992 cat conftest.
$ac_ext >&5
2993 ac_cv_header_stdc
=no
2995 rm -f conftest.err conftest.
$ac_ext
2997 if test $ac_cv_header_stdc = yes; then
2998 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2999 cat >conftest.
$ac_ext <<_ACEOF
3000 #line 3000 "configure"
3001 #include "confdefs.h"
3005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3006 egrep "memchr" >/dev
/null
2>&1; then
3009 ac_cv_header_stdc
=no
3015 if test $ac_cv_header_stdc = yes; then
3016 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3017 cat >conftest.
$ac_ext <<_ACEOF
3018 #line 3018 "configure"
3019 #include "confdefs.h"
3023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3024 egrep "free" >/dev
/null
2>&1; then
3027 ac_cv_header_stdc
=no
3033 if test $ac_cv_header_stdc = yes; then
3034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3035 if test "$cross_compiling" = yes; then
3038 cat >conftest.
$ac_ext <<_ACEOF
3039 #line 3039 "configure"
3040 #include "confdefs.h"
3042 #if ((' ' & 0x0FF) == 0x020)
3043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3046 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3047 || ('j' <= (c) && (c) <= 'r') \
3048 || ('s' <= (c) && (c) <= 'z'))
3049 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3052 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3057 for (i = 0; i < 256; i++)
3058 if (XOR (islower (i), ISLOWER (i))
3059 || toupper (i) != TOUPPER (i))
3064 rm -f conftest
$ac_exeext
3065 if { (eval echo "$as_me:3065: \"$ac_link\"") >&5
3066 (eval $ac_link) 2>&5
3068 echo "$as_me:3068: \$? = $ac_status" >&5
3069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3070 { (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'
3212 { (eval echo "$as_me:3212: \"$ac_try\"") >&5
3215 echo "$as_me:3215: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 ac_cv_prog_cc_stdc
=$ac_arg
3220 echo "$as_me: failed program was:" >&5
3221 cat conftest.
$ac_ext >&5
3223 rm -f conftest.
$ac_objext
3225 rm -f conftest.
$ac_ext conftest.
$ac_objext
3230 case "x$ac_cv_prog_cc_stdc" in
3232 echo "$as_me:3232: result: none needed" >&5
3233 echo "${ECHO_T}none needed" >&6 ;;
3235 echo "$as_me:3235: result: $ac_cv_prog_cc_stdc" >&5
3236 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3237 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3240 echo "$as_me:3240: checking for an ANSI C-conforming const" >&5
3241 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3242 if test "${ac_cv_c_const+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 cat >conftest.
$ac_ext <<_ACEOF
3246 #line 3246 "configure"
3247 #include "confdefs.h"
3252 /* FIXME: Include the comments suggested by Paul. */
3254 /* Ultrix mips cc rejects this. */
3255 typedef int charset[2];
3257 /* SunOS 4.1.1 cc rejects this. */
3258 char const *const *ccp;
3260 /* NEC SVR4.0.2 mips cc rejects this. */
3261 struct point {int x, y;};
3262 static struct point const zero = {0,0};
3263 /* AIX XL C 1.02.0.0 rejects this.
3264 It does not let you subtract one const X* pointer from another in
3265 an arm of an if-expression whose if-part is not a constant
3267 const char *g = "string";
3268 ccp = &g + (g ? g-g : 0);
3269 /* HPUX 7.0 cc rejects these. */
3272 ccp = (char const *const *) p;
3273 { /* SCO 3.2v4 cc rejects this. */
3275 char const *s = 0 ? (char *) 0 : (char const *) 0;
3279 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3281 const int *foo = &x[0];
3284 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3285 typedef const int *iptr;
3289 { /* AIX XL C 1.02.0.0 rejects this saying
3290 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3291 struct s { int j; const int *ap[3]; };
3292 struct s *b; b->j = 5;
3294 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3303 rm -f conftest.
$ac_objext
3304 if { (eval echo "$as_me:3304: \"$ac_compile\"") >&5
3305 (eval $ac_compile) 2>&5
3307 echo "$as_me:3307: \$? = $ac_status" >&5
3308 (exit $ac_status); } &&
3309 { ac_try
='test -s conftest.$ac_objext'
3310 { (eval echo "$as_me:3310: \"$ac_try\"") >&5
3313 echo "$as_me:3313: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3317 echo "$as_me: failed program was:" >&5
3318 cat conftest.
$ac_ext >&5
3321 rm -f conftest.
$ac_objext conftest.
$ac_ext
3323 echo "$as_me:3323: result: $ac_cv_c_const" >&5
3324 echo "${ECHO_T}$ac_cv_c_const" >&6
3325 if test $ac_cv_c_const = no
; then
3327 cat >>confdefs.h
<<\EOF
3333 echo "$as_me:3333: checking for inline" >&5
3334 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3335 if test "${ac_cv_c_inline+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 for ac_kw
in inline __inline__ __inline
; do
3340 cat >conftest.
$ac_ext <<_ACEOF
3341 #line 3341 "configure"
3342 #include "confdefs.h"
3344 static $ac_kw int static_foo () {return 0; }
3345 $ac_kw int foo () {return 0; }
3349 rm -f conftest.
$ac_objext
3350 if { (eval echo "$as_me:3350: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>&5
3353 echo "$as_me:3353: \$? = $ac_status" >&5
3354 (exit $ac_status); } &&
3355 { ac_try
='test -s conftest.$ac_objext'
3356 { (eval echo "$as_me:3356: \"$ac_try\"") >&5
3359 echo "$as_me:3359: \$? = $ac_status" >&5
3360 (exit $ac_status); }; }; then
3361 ac_cv_c_inline
=$ac_kw; break
3363 echo "$as_me: failed program was:" >&5
3364 cat conftest.
$ac_ext >&5
3366 rm -f conftest.
$ac_objext conftest.
$ac_ext
3370 echo "$as_me:3370: result: $ac_cv_c_inline" >&5
3371 echo "${ECHO_T}$ac_cv_c_inline" >&6
3372 case $ac_cv_c_inline in
3375 cat >>confdefs.h
<<\EOF
3379 *) cat >>confdefs.h
<<EOF
3380 #define inline $ac_cv_c_inline
3385 echo "$as_me:3385: checking for function prototypes" >&5
3386 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3387 if test "$am_cv_prog_cc_stdc" != no
; then
3388 echo "$as_me:3388: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3391 cat >>confdefs.h
<<\EOF
3392 #define PROTOTYPES 1
3397 echo "$as_me:3397: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3399 U
=_ ANSI2KNR
=.
/ansi2knr
3400 # Ensure some checks needed by ansi2knr itself.
3401 echo "$as_me:3401: checking for ANSI C header files" >&5
3402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3403 if test "${ac_cv_header_stdc+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 cat >conftest.
$ac_ext <<_ACEOF
3407 #line 3407 "configure"
3408 #include "confdefs.h"
3415 if { (eval echo "$as_me:3415: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3416 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3418 egrep -v '^ *\+' conftest.er1
>conftest.err
3420 cat conftest.err
>&5
3421 echo "$as_me:3421: \$? = $ac_status" >&5
3422 (exit $ac_status); }; then
3423 if test -s conftest.err
; then
3424 ac_cpp_err
=$ac_c_preproc_warn_flag
3431 if test -z "$ac_cpp_err"; then
3432 ac_cv_header_stdc
=yes
3434 echo "$as_me: failed program was:" >&5
3435 cat conftest.
$ac_ext >&5
3436 ac_cv_header_stdc
=no
3438 rm -f conftest.err conftest.
$ac_ext
3440 if test $ac_cv_header_stdc = yes; then
3441 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3442 cat >conftest.
$ac_ext <<_ACEOF
3443 #line 3443 "configure"
3444 #include "confdefs.h"
3448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3449 egrep "memchr" >/dev
/null
2>&1; then
3452 ac_cv_header_stdc
=no
3458 if test $ac_cv_header_stdc = yes; then
3459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3460 cat >conftest.
$ac_ext <<_ACEOF
3461 #line 3461 "configure"
3462 #include "confdefs.h"
3466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3467 egrep "free" >/dev
/null
2>&1; then
3470 ac_cv_header_stdc
=no
3476 if test $ac_cv_header_stdc = yes; then
3477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3478 if test "$cross_compiling" = yes; then
3481 cat >conftest.
$ac_ext <<_ACEOF
3482 #line 3482 "configure"
3483 #include "confdefs.h"
3485 #if ((' ' & 0x0FF) == 0x020)
3486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3489 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3490 || ('j' <= (c) && (c) <= 'r') \
3491 || ('s' <= (c) && (c) <= 'z'))
3492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3500 for (i = 0; i < 256; i++)
3501 if (XOR (islower (i), ISLOWER (i))
3502 || toupper (i) != TOUPPER (i))
3507 rm -f conftest
$ac_exeext
3508 if { (eval echo "$as_me:3508: \"$ac_link\"") >&5
3509 (eval $ac_link) 2>&5
3511 echo "$as_me:3511: \$? = $ac_status" >&5
3512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3513 { (eval echo "$as_me:3513: \"$ac_try\"") >&5
3516 echo "$as_me:3516: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3520 echo "$as_me: program exited with status $ac_status" >&5
3521 echo "$as_me: failed program was:" >&5
3522 cat conftest.
$ac_ext >&5
3523 ac_cv_header_stdc
=no
3525 rm -f conftest
$ac_exeext conftest.
$ac_ext
3529 echo "$as_me:3529: result: $ac_cv_header_stdc" >&5
3530 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3531 if test $ac_cv_header_stdc = yes; then
3533 cat >>confdefs.h
<<\EOF
3534 #define STDC_HEADERS 1
3539 for ac_header
in string.h
3541 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3542 echo "$as_me:3542: checking for $ac_header" >&5
3543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3544 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 cat >conftest.
$ac_ext <<_ACEOF
3548 #line 3548 "configure"
3549 #include "confdefs.h"
3550 #include <$ac_header>
3552 if { (eval echo "$as_me:3552: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3553 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3555 egrep -v '^ *\+' conftest.er1
>conftest.err
3557 cat conftest.err
>&5
3558 echo "$as_me:3558: \$? = $ac_status" >&5
3559 (exit $ac_status); }; then
3560 if test -s conftest.err
; then
3561 ac_cpp_err
=$ac_c_preproc_warn_flag
3568 if test -z "$ac_cpp_err"; then
3569 eval "$ac_ac_Header=yes"
3571 echo "$as_me: failed program was:" >&5
3572 cat conftest.
$ac_ext >&5
3573 eval "$ac_ac_Header=no"
3575 rm -f conftest.err conftest.
$ac_ext
3577 echo "$as_me:3577: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3578 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3579 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3580 cat >>confdefs.h
<<EOF
3581 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3589 # Checks for library functions.
3590 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3591 # for constant arguments. Useless!
3592 echo "$as_me:3592: checking for working alloca.h" >&5
3593 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3594 if test "${ac_cv_working_alloca_h+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 cat >conftest.
$ac_ext <<_ACEOF
3598 #line 3598 "configure"
3599 #include "confdefs.h"
3604 char *p = (char *) alloca (2 * sizeof (int));
3609 rm -f conftest.
$ac_objext conftest
$ac_exeext
3610 if { (eval echo "$as_me:3610: \"$ac_link\"") >&5
3611 (eval $ac_link) 2>&5
3613 echo "$as_me:3613: \$? = $ac_status" >&5
3614 (exit $ac_status); } &&
3615 { ac_try
='test -s conftest$ac_exeext'
3616 { (eval echo "$as_me:3616: \"$ac_try\"") >&5
3619 echo "$as_me:3619: \$? = $ac_status" >&5
3620 (exit $ac_status); }; }; then
3621 ac_cv_working_alloca_h
=yes
3623 echo "$as_me: failed program was:" >&5
3624 cat conftest.
$ac_ext >&5
3625 ac_cv_working_alloca_h
=no
3627 rm -f conftest
$ac_exeext conftest.
$ac_ext
3629 echo "$as_me:3629: result: $ac_cv_working_alloca_h" >&5
3630 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3631 if test $ac_cv_working_alloca_h = yes; then
3633 cat >>confdefs.h
<<\EOF
3634 #define HAVE_ALLOCA_H 1
3639 echo "$as_me:3639: checking for alloca" >&5
3640 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3641 if test "${ac_cv_func_alloca_works+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 cat >conftest.
$ac_ext <<_ACEOF
3645 #line 3645 "configure"
3646 #include "confdefs.h"
3648 # define alloca __builtin_alloca
3651 # include <malloc.h>
3652 # define alloca _alloca
3655 # include <alloca.h>
3660 # ifndef alloca /* predefined by HP cc +Olibcalls */
3671 char *p = (char *) alloca (1);
3676 rm -f conftest.
$ac_objext conftest
$ac_exeext
3677 if { (eval echo "$as_me:3677: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>&5
3680 echo "$as_me:3680: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -s conftest$ac_exeext'
3683 { (eval echo "$as_me:3683: \"$ac_try\"") >&5
3686 echo "$as_me:3686: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_cv_func_alloca_works
=yes
3690 echo "$as_me: failed program was:" >&5
3691 cat conftest.
$ac_ext >&5
3692 ac_cv_func_alloca_works
=no
3694 rm -f conftest
$ac_exeext conftest.
$ac_ext
3696 echo "$as_me:3696: result: $ac_cv_func_alloca_works" >&5
3697 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3699 if test $ac_cv_func_alloca_works = yes; then
3701 cat >>confdefs.h
<<\EOF
3702 #define HAVE_ALLOCA 1
3706 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3707 # that cause trouble. Some versions do not even contain alloca or
3708 # contain a buggy version. If you still want to use their alloca,
3709 # use ar to extract alloca.o from them instead of compiling alloca.c.
3711 ALLOCA
=alloca.
$ac_objext
3713 cat >>confdefs.h
<<\EOF
3717 echo "$as_me:3717: checking whether \`alloca.c' needs Cray hooks" >&5
3718 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3719 if test "${ac_cv_os_cray+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 cat >conftest.
$ac_ext <<_ACEOF
3723 #line 3723 "configure"
3724 #include "confdefs.h"
3725 #if defined(CRAY) && ! defined(CRAY2)
3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733 egrep "webecray" >/dev
/null
2>&1; then
3741 echo "$as_me:3741: result: $ac_cv_os_cray" >&5
3742 echo "${ECHO_T}$ac_cv_os_cray" >&6
3743 if test $ac_cv_os_cray = yes; then
3744 for ac_func
in _getb67 GETB67 getb67
; do
3745 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3746 echo "$as_me:3746: checking for $ac_func" >&5
3747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3748 if eval "test \"\${$ac_ac_var+set}\" = set"; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 cat >conftest.
$ac_ext <<_ACEOF
3752 #line 3752 "configure"
3753 #include "confdefs.h"
3754 /* System header to define __stub macros and hopefully few prototypes,
3755 which can conflict with char $ac_func (); below. */
3757 /* Override any gcc2 internal prototype to avoid an error. */
3761 /* We use char because int might match the return type of a gcc2
3762 builtin and then its argument prototype would still apply. */
3769 /* The GNU C library defines this for functions which it implements
3770 to always fail with ENOSYS. Some functions are actually named
3771 something starting with __ and the normal name is an alias. */
3772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3782 rm -f conftest.
$ac_objext conftest
$ac_exeext
3783 if { (eval echo "$as_me:3783: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>&5
3786 echo "$as_me:3786: \$? = $ac_status" >&5
3787 (exit $ac_status); } &&
3788 { ac_try
='test -s conftest$ac_exeext'
3789 { (eval echo "$as_me:3789: \"$ac_try\"") >&5
3792 echo "$as_me:3792: \$? = $ac_status" >&5
3793 (exit $ac_status); }; }; then
3794 eval "$ac_ac_var=yes"
3796 echo "$as_me: failed program was:" >&5
3797 cat conftest.
$ac_ext >&5
3798 eval "$ac_ac_var=no"
3800 rm -f conftest
$ac_exeext conftest.
$ac_ext
3802 echo "$as_me:3802: result: `eval echo '${'$ac_ac_var'}'`" >&5
3803 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3804 if test `eval echo '${'$ac_ac_var'}'` = yes; then
3806 cat >>confdefs.h
<<EOF
3807 #define CRAY_STACKSEG_END $ac_func
3816 echo "$as_me:3816: checking stack direction for C alloca" >&5
3817 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3818 if test "${ac_cv_c_stack_direction+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 if test "$cross_compiling" = yes; then
3822 ac_cv_c_stack_direction
=0
3824 cat >conftest.
$ac_ext <<_ACEOF
3825 #line 3825 "configure"
3826 #include "confdefs.h"
3828 find_stack_direction ()
3830 static char *addr = 0;
3835 return find_stack_direction ();
3838 return (&dummy > addr) ? 1 : -1;
3844 exit (find_stack_direction () < 0);
3847 rm -f conftest
$ac_exeext
3848 if { (eval echo "$as_me:3848: \"$ac_link\"") >&5
3849 (eval $ac_link) 2>&5
3851 echo "$as_me:3851: \$? = $ac_status" >&5
3852 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3853 { (eval echo "$as_me:3853: \"$ac_try\"") >&5
3856 echo "$as_me:3856: \$? = $ac_status" >&5
3857 (exit $ac_status); }; }; then
3858 ac_cv_c_stack_direction
=1
3860 echo "$as_me: program exited with status $ac_status" >&5
3861 echo "$as_me: failed program was:" >&5
3862 cat conftest.
$ac_ext >&5
3863 ac_cv_c_stack_direction
=-1
3865 rm -f conftest
$ac_exeext conftest.
$ac_ext
3868 echo "$as_me:3868: result: $ac_cv_c_stack_direction" >&5
3869 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3871 cat >>confdefs.h
<<EOF
3872 #define STACK_DIRECTION $ac_cv_c_stack_direction
3877 for ac_func
in mkstemp setlocale
3879 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3880 echo "$as_me:3880: checking for $ac_func" >&5
3881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3882 if eval "test \"\${$ac_ac_var+set}\" = set"; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 cat >conftest.
$ac_ext <<_ACEOF
3886 #line 3886 "configure"
3887 #include "confdefs.h"
3888 /* System header to define __stub macros and hopefully few prototypes,
3889 which can conflict with char $ac_func (); below. */
3891 /* Override any gcc2 internal prototype to avoid an error. */
3895 /* We use char because int might match the return type of a gcc2
3896 builtin and then its argument prototype would still apply. */
3903 /* The GNU C library defines this for functions which it implements
3904 to always fail with ENOSYS. Some functions are actually named
3905 something starting with __ and the normal name is an alias. */
3906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3916 rm -f conftest.
$ac_objext conftest
$ac_exeext
3917 if { (eval echo "$as_me:3917: \"$ac_link\"") >&5
3918 (eval $ac_link) 2>&5
3920 echo "$as_me:3920: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try
='test -s conftest$ac_exeext'
3923 { (eval echo "$as_me:3923: \"$ac_try\"") >&5
3926 echo "$as_me:3926: \$? = $ac_status" >&5
3927 (exit $ac_status); }; }; then
3928 eval "$ac_ac_var=yes"
3930 echo "$as_me: failed program was:" >&5
3931 cat conftest.
$ac_ext >&5
3932 eval "$ac_ac_var=no"
3934 rm -f conftest
$ac_exeext conftest.
$ac_ext
3936 echo "$as_me:3936: result: `eval echo '${'$ac_ac_var'}'`" >&5
3937 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3938 if test `eval echo '${'$ac_ac_var'}'` = yes; then
3939 cat >>confdefs.h
<<EOF
3940 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3946 for ac_header
in stdlib.h string.h memory.h
strings.h inttypes.h unistd.h
3948 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3949 echo "$as_me:3949: checking for $ac_header" >&5
3950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3951 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 cat >conftest.
$ac_ext <<_ACEOF
3955 #line 3955 "configure"
3956 #include "confdefs.h"
3957 #include <$ac_header>
3959 if { (eval echo "$as_me:3959: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
3960 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
3962 egrep -v '^ *\+' conftest.er1
>conftest.err
3964 cat conftest.err
>&5
3965 echo "$as_me:3965: \$? = $ac_status" >&5
3966 (exit $ac_status); }; then
3967 if test -s conftest.err
; then
3968 ac_cpp_err
=$ac_c_preproc_warn_flag
3975 if test -z "$ac_cpp_err"; then
3976 eval "$ac_ac_Header=yes"
3978 echo "$as_me: failed program was:" >&5
3979 cat conftest.
$ac_ext >&5
3980 eval "$ac_ac_Header=no"
3982 rm -f conftest.err conftest.
$ac_ext
3984 echo "$as_me:3984: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3985 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3986 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3987 cat >>confdefs.h
<<EOF
3988 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3994 echo "$as_me:3994: checking whether stpcpy is declared" >&5
3995 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
3996 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 cat >conftest.
$ac_ext <<_ACEOF
4000 #line 4000 "configure"
4001 #include "confdefs.h"
4002 $ac_includes_default
4007 char *p = (char *) stpcpy;
4014 rm -f conftest.
$ac_objext
4015 if { (eval echo "$as_me:4015: \"$ac_compile\"") >&5
4016 (eval $ac_compile) 2>&5
4018 echo "$as_me:4018: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try
='test -s conftest.$ac_objext'
4021 { (eval echo "$as_me:4021: \"$ac_try\"") >&5
4024 echo "$as_me:4024: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 ac_cv_have_decl_stpcpy
=yes
4028 echo "$as_me: failed program was:" >&5
4029 cat conftest.
$ac_ext >&5
4030 ac_cv_have_decl_stpcpy
=no
4032 rm -f conftest.
$ac_objext conftest.
$ac_ext
4034 echo "$as_me:4034: result: $ac_cv_have_decl_stpcpy" >&5
4035 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4036 if test $ac_cv_have_decl_stpcpy = yes; then
4038 cat >>confdefs.h
<<EOF
4039 #define HAVE_DECL_STPCPY 1
4043 cat >>confdefs.h
<<EOF
4044 #define HAVE_DECL_STPCPY 0
4048 echo "$as_me:4048: checking whether strndup is declared" >&5
4049 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4050 if test "${ac_cv_have_decl_strndup+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 cat >conftest.
$ac_ext <<_ACEOF
4054 #line 4054 "configure"
4055 #include "confdefs.h"
4056 $ac_includes_default
4061 char *p = (char *) strndup;
4068 rm -f conftest.
$ac_objext
4069 if { (eval echo "$as_me:4069: \"$ac_compile\"") >&5
4070 (eval $ac_compile) 2>&5
4072 echo "$as_me:4072: \$? = $ac_status" >&5
4073 (exit $ac_status); } &&
4074 { ac_try
='test -s conftest.$ac_objext'
4075 { (eval echo "$as_me:4075: \"$ac_try\"") >&5
4078 echo "$as_me:4078: \$? = $ac_status" >&5
4079 (exit $ac_status); }; }; then
4080 ac_cv_have_decl_strndup
=yes
4082 echo "$as_me: failed program was:" >&5
4083 cat conftest.
$ac_ext >&5
4084 ac_cv_have_decl_strndup
=no
4086 rm -f conftest.
$ac_objext conftest.
$ac_ext
4088 echo "$as_me:4088: result: $ac_cv_have_decl_strndup" >&5
4089 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4090 if test $ac_cv_have_decl_strndup = yes; then
4092 cat >>confdefs.h
<<EOF
4093 #define HAVE_DECL_STRNDUP 1
4097 cat >>confdefs.h
<<EOF
4098 #define HAVE_DECL_STRNDUP 0
4102 echo "$as_me:4102: checking whether strnlen is declared" >&5
4103 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4104 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 cat >conftest.
$ac_ext <<_ACEOF
4108 #line 4108 "configure"
4109 #include "confdefs.h"
4110 $ac_includes_default
4115 char *p = (char *) strnlen;
4122 rm -f conftest.
$ac_objext
4123 if { (eval echo "$as_me:4123: \"$ac_compile\"") >&5
4124 (eval $ac_compile) 2>&5
4126 echo "$as_me:4126: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try
='test -s conftest.$ac_objext'
4129 { (eval echo "$as_me:4129: \"$ac_try\"") >&5
4132 echo "$as_me:4132: \$? = $ac_status" >&5
4133 (exit $ac_status); }; }; then
4134 ac_cv_have_decl_strnlen
=yes
4136 echo "$as_me: failed program was:" >&5
4137 cat conftest.
$ac_ext >&5
4138 ac_cv_have_decl_strnlen
=no
4140 rm -f conftest.
$ac_objext conftest.
$ac_ext
4142 echo "$as_me:4142: result: $ac_cv_have_decl_strnlen" >&5
4143 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4144 if test $ac_cv_have_decl_strnlen = yes; then
4146 cat >>confdefs.h
<<EOF
4147 #define HAVE_DECL_STRNLEN 1
4151 cat >>confdefs.h
<<EOF
4152 #define HAVE_DECL_STRNLEN 0
4156 echo "$as_me:4156: checking whether memchr is declared" >&5
4157 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4158 if test "${ac_cv_have_decl_memchr+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 cat >conftest.
$ac_ext <<_ACEOF
4162 #line 4162 "configure"
4163 #include "confdefs.h"
4164 $ac_includes_default
4169 char *p = (char *) memchr;
4176 rm -f conftest.
$ac_objext
4177 if { (eval echo "$as_me:4177: \"$ac_compile\"") >&5
4178 (eval $ac_compile) 2>&5
4180 echo "$as_me:4180: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try
='test -s conftest.$ac_objext'
4183 { (eval echo "$as_me:4183: \"$ac_try\"") >&5
4186 echo "$as_me:4186: \$? = $ac_status" >&5
4187 (exit $ac_status); }; }; then
4188 ac_cv_have_decl_memchr
=yes
4190 echo "$as_me: failed program was:" >&5
4191 cat conftest.
$ac_ext >&5
4192 ac_cv_have_decl_memchr
=no
4194 rm -f conftest.
$ac_objext conftest.
$ac_ext
4196 echo "$as_me:4196: result: $ac_cv_have_decl_memchr" >&5
4197 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4198 if test $ac_cv_have_decl_memchr = yes; then
4200 cat >>confdefs.h
<<EOF
4201 #define HAVE_DECL_MEMCHR 1
4205 cat >>confdefs.h
<<EOF
4206 #define HAVE_DECL_MEMCHR 0
4211 for ac_func
in stpcpy strndup strnlen memchr
4213 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4214 echo "$as_me:4214: checking for $ac_func" >&5
4215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4216 if eval "test \"\${$ac_ac_var+set}\" = set"; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 cat >conftest.
$ac_ext <<_ACEOF
4220 #line 4220 "configure"
4221 #include "confdefs.h"
4222 /* System header to define __stub macros and hopefully few prototypes,
4223 which can conflict with char $ac_func (); below. */
4225 /* Override any gcc2 internal prototype to avoid an error. */
4229 /* We use char because int might match the return type of a gcc2
4230 builtin and then its argument prototype would still apply. */
4237 /* The GNU C library defines this for functions which it implements
4238 to always fail with ENOSYS. Some functions are actually named
4239 something starting with __ and the normal name is an alias. */
4240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4250 rm -f conftest.
$ac_objext conftest
$ac_exeext
4251 if { (eval echo "$as_me:4251: \"$ac_link\"") >&5
4252 (eval $ac_link) 2>&5
4254 echo "$as_me:4254: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try
='test -s conftest$ac_exeext'
4257 { (eval echo "$as_me:4257: \"$ac_try\"") >&5
4260 echo "$as_me:4260: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 eval "$ac_ac_var=yes"
4264 echo "$as_me: failed program was:" >&5
4265 cat conftest.
$ac_ext >&5
4266 eval "$ac_ac_var=no"
4268 rm -f conftest
$ac_exeext conftest.
$ac_ext
4270 echo "$as_me:4270: result: `eval echo '${'$ac_ac_var'}'`" >&5
4271 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4272 if test `eval echo '${'$ac_ac_var'}'` = yes; then
4273 cat >>confdefs.h
<<EOF
4274 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4278 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4282 cat >>confdefs.h
<<EOF
4283 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
4286 echo "$as_me:4286: checking for working malloc" >&5
4287 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4288 if test "${jm_cv_func_working_malloc+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test "$cross_compiling" = yes; then
4292 jm_cv_func_working_malloc
=no
4294 cat >conftest.
$ac_ext <<_ACEOF
4295 #line 4295 "configure"
4296 #include "confdefs.h"
4302 exit (malloc (0) ? 0 : 1);
4306 rm -f conftest
$ac_exeext
4307 if { (eval echo "$as_me:4307: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>&5
4310 echo "$as_me:4310: \$? = $ac_status" >&5
4311 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4312 { (eval echo "$as_me:4312: \"$ac_try\"") >&5
4315 echo "$as_me:4315: \$? = $ac_status" >&5
4316 (exit $ac_status); }; }; then
4317 jm_cv_func_working_malloc
=yes
4319 echo "$as_me: program exited with status $ac_status" >&5
4320 echo "$as_me: failed program was:" >&5
4321 cat conftest.
$ac_ext >&5
4322 jm_cv_func_working_malloc
=no
4324 rm -f conftest
$ac_exeext conftest.
$ac_ext
4328 echo "$as_me:4328: result: $jm_cv_func_working_malloc" >&5
4329 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
4330 if test $jm_cv_func_working_malloc = no
; then
4332 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4334 cat >>confdefs.h
<<EOF
4335 #define malloc rpl_malloc
4340 cat >>confdefs.h
<<EOF
4341 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
4344 echo "$as_me:4344: checking for working realloc" >&5
4345 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
4346 if test "${jm_cv_func_working_realloc+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test "$cross_compiling" = yes; then
4350 jm_cv_func_working_realloc
=no
4352 cat >conftest.
$ac_ext <<_ACEOF
4353 #line 4353 "configure"
4354 #include "confdefs.h"
4360 exit (realloc (0, 0) ? 0 : 1);
4364 rm -f conftest
$ac_exeext
4365 if { (eval echo "$as_me:4365: \"$ac_link\"") >&5
4366 (eval $ac_link) 2>&5
4368 echo "$as_me:4368: \$? = $ac_status" >&5
4369 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4370 { (eval echo "$as_me:4370: \"$ac_try\"") >&5
4373 echo "$as_me:4373: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 jm_cv_func_working_realloc
=yes
4377 echo "$as_me: program exited with status $ac_status" >&5
4378 echo "$as_me: failed program was:" >&5
4379 cat conftest.
$ac_ext >&5
4380 jm_cv_func_working_realloc
=no
4382 rm -f conftest
$ac_exeext conftest.
$ac_ext
4386 echo "$as_me:4386: result: $jm_cv_func_working_realloc" >&5
4387 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
4388 if test $jm_cv_func_working_realloc = no
; then
4390 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
4392 cat >>confdefs.h
<<EOF
4393 #define realloc rpl_realloc
4398 for ac_func
in isascii iswprint mbrtowc
4400 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4401 echo "$as_me:4401: checking for $ac_func" >&5
4402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4403 if eval "test \"\${$ac_ac_var+set}\" = set"; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 cat >conftest.
$ac_ext <<_ACEOF
4407 #line 4407 "configure"
4408 #include "confdefs.h"
4409 /* System header to define __stub macros and hopefully few prototypes,
4410 which can conflict with char $ac_func (); below. */
4412 /* Override any gcc2 internal prototype to avoid an error. */
4416 /* We use char because int might match the return type of a gcc2
4417 builtin and then its argument prototype would still apply. */
4424 /* The GNU C library defines this for functions which it implements
4425 to always fail with ENOSYS. Some functions are actually named
4426 something starting with __ and the normal name is an alias. */
4427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext
4438 if { (eval echo "$as_me:4438: \"$ac_link\"") >&5
4439 (eval $ac_link) 2>&5
4441 echo "$as_me:4441: \$? = $ac_status" >&5
4442 (exit $ac_status); } &&
4443 { ac_try
='test -s conftest$ac_exeext'
4444 { (eval echo "$as_me:4444: \"$ac_try\"") >&5
4447 echo "$as_me:4447: \$? = $ac_status" >&5
4448 (exit $ac_status); }; }; then
4449 eval "$ac_ac_var=yes"
4451 echo "$as_me: failed program was:" >&5
4452 cat conftest.
$ac_ext >&5
4453 eval "$ac_ac_var=no"
4455 rm -f conftest
$ac_exeext conftest.
$ac_ext
4457 echo "$as_me:4457: result: `eval echo '${'$ac_ac_var'}'`" >&5
4458 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4459 if test `eval echo '${'$ac_ac_var'}'` = yes; then
4460 cat >>confdefs.h
<<EOF
4461 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4467 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
4469 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4470 echo "$as_me:4470: checking for $ac_header" >&5
4471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4472 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 cat >conftest.
$ac_ext <<_ACEOF
4476 #line 4476 "configure"
4477 #include "confdefs.h"
4478 #include <$ac_header>
4480 if { (eval echo "$as_me:4480: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4481 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4483 egrep -v '^ *\+' conftest.er1
>conftest.err
4485 cat conftest.err
>&5
4486 echo "$as_me:4486: \$? = $ac_status" >&5
4487 (exit $ac_status); }; then
4488 if test -s conftest.err
; then
4489 ac_cpp_err
=$ac_c_preproc_warn_flag
4496 if test -z "$ac_cpp_err"; then
4497 eval "$ac_ac_Header=yes"
4499 echo "$as_me: failed program was:" >&5
4500 cat conftest.
$ac_ext >&5
4501 eval "$ac_ac_Header=no"
4503 rm -f conftest.err conftest.
$ac_ext
4505 echo "$as_me:4505: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4506 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4507 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4508 cat >>confdefs.h
<<EOF
4509 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4515 echo "$as_me:4515: checking for ANSI C header files" >&5
4516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4517 if test "${ac_cv_header_stdc+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 cat >conftest.
$ac_ext <<_ACEOF
4521 #line 4521 "configure"
4522 #include "confdefs.h"
4529 if { (eval echo "$as_me:4529: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4530 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4532 egrep -v '^ *\+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:4535: \$? = $ac_status" >&5
4536 (exit $ac_status); }; then
4537 if test -s conftest.err
; then
4538 ac_cpp_err
=$ac_c_preproc_warn_flag
4545 if test -z "$ac_cpp_err"; then
4546 ac_cv_header_stdc
=yes
4548 echo "$as_me: failed program was:" >&5
4549 cat conftest.
$ac_ext >&5
4550 ac_cv_header_stdc
=no
4552 rm -f conftest.err conftest.
$ac_ext
4554 if test $ac_cv_header_stdc = yes; then
4555 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev
/null
2>&1; then
4566 ac_cv_header_stdc
=no
4572 if test $ac_cv_header_stdc = yes; then
4573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4574 cat >conftest.
$ac_ext <<_ACEOF
4575 #line 4575 "configure"
4576 #include "confdefs.h"
4580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4581 egrep "free" >/dev
/null
2>&1; then
4584 ac_cv_header_stdc
=no
4590 if test $ac_cv_header_stdc = yes; then
4591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4592 if test "$cross_compiling" = yes; then
4595 cat >conftest.
$ac_ext <<_ACEOF
4596 #line 4596 "configure"
4597 #include "confdefs.h"
4599 #if ((' ' & 0x0FF) == 0x020)
4600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4603 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4604 || ('j' <= (c) && (c) <= 'r') \
4605 || ('s' <= (c) && (c) <= 'z'))
4606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4614 for (i = 0; i < 256; i++)
4615 if (XOR (islower (i), ISLOWER (i))
4616 || toupper (i) != TOUPPER (i))
4621 rm -f conftest
$ac_exeext
4622 if { (eval echo "$as_me:4622: \"$ac_link\"") >&5
4623 (eval $ac_link) 2>&5
4625 echo "$as_me:4625: \$? = $ac_status" >&5
4626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4627 { (eval echo "$as_me:4627: \"$ac_try\"") >&5
4630 echo "$as_me:4630: \$? = $ac_status" >&5
4631 (exit $ac_status); }; }; then
4634 echo "$as_me: program exited with status $ac_status" >&5
4635 echo "$as_me: failed program was:" >&5
4636 cat conftest.
$ac_ext >&5
4637 ac_cv_header_stdc
=no
4639 rm -f conftest
$ac_exeext conftest.
$ac_ext
4643 echo "$as_me:4643: result: $ac_cv_header_stdc" >&5
4644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4645 if test $ac_cv_header_stdc = yes; then
4647 cat >>confdefs.h
<<\EOF
4648 #define STDC_HEADERS 1
4653 echo "$as_me:4653: checking whether backslash-a works in strings" >&5
4654 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
4655 if test "${ac_cv_c_backslash_a+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 cat >conftest.
$ac_ext <<_ACEOF
4659 #line 4659 "configure"
4660 #include "confdefs.h"
4669 char buf['\a' == 'a' ? -1 : 1];
4671 return buf[0] != "\a"[0];
4677 rm -f conftest.
$ac_objext
4678 if { (eval echo "$as_me:4678: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>&5
4681 echo "$as_me:4681: \$? = $ac_status" >&5
4682 (exit $ac_status); } &&
4683 { ac_try
='test -s conftest.$ac_objext'
4684 { (eval echo "$as_me:4684: \"$ac_try\"") >&5
4687 echo "$as_me:4687: \$? = $ac_status" >&5
4688 (exit $ac_status); }; }; then
4689 ac_cv_c_backslash_a
=yes
4691 echo "$as_me: failed program was:" >&5
4692 cat conftest.
$ac_ext >&5
4693 ac_cv_c_backslash_a
=no
4695 rm -f conftest.
$ac_objext conftest.
$ac_ext
4697 echo "$as_me:4697: result: $ac_cv_c_backslash_a" >&5
4698 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
4699 if test $ac_cv_c_backslash_a = yes; then
4701 cat >>confdefs.h
<<\EOF
4702 #define HAVE_C_BACKSLASH_A 1
4707 for ac_header
in stdlib.h
4709 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4710 echo "$as_me:4710: checking for $ac_header" >&5
4711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4712 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.
$ac_ext <<_ACEOF
4716 #line 4716 "configure"
4717 #include "confdefs.h"
4718 #include <$ac_header>
4720 if { (eval echo "$as_me:4720: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4721 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4723 egrep -v '^ *\+' conftest.er1
>conftest.err
4725 cat conftest.err
>&5
4726 echo "$as_me:4726: \$? = $ac_status" >&5
4727 (exit $ac_status); }; then
4728 if test -s conftest.err
; then
4729 ac_cpp_err
=$ac_c_preproc_warn_flag
4736 if test -z "$ac_cpp_err"; then
4737 eval "$ac_ac_Header=yes"
4739 echo "$as_me: failed program was:" >&5
4740 cat conftest.
$ac_ext >&5
4741 eval "$ac_ac_Header=no"
4743 rm -f conftest.err conftest.
$ac_ext
4745 echo "$as_me:4745: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4746 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4747 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4748 cat >>confdefs.h
<<EOF
4749 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4755 echo "$as_me:4755: checking for mbstate_t" >&5
4756 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
4757 if test "${ac_cv_type_mbstate_t+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 cat >conftest.
$ac_ext <<_ACEOF
4761 #line 4761 "configure"
4762 #include "confdefs.h"
4765 # include <stdlib.h>
4771 mbstate_t x; return sizeof x;
4776 rm -f conftest.
$ac_objext
4777 if { (eval echo "$as_me:4777: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>&5
4780 echo "$as_me:4780: \$? = $ac_status" >&5
4781 (exit $ac_status); } &&
4782 { ac_try
='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:4783: \"$ac_try\"") >&5
4786 echo "$as_me:4786: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4788 ac_cv_type_mbstate_t
=yes
4790 echo "$as_me: failed program was:" >&5
4791 cat conftest.
$ac_ext >&5
4792 ac_cv_type_mbstate_t
=no
4794 rm -f conftest.
$ac_objext conftest.
$ac_ext
4796 echo "$as_me:4796: result: $ac_cv_type_mbstate_t" >&5
4797 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
4798 if test $ac_cv_type_mbstate_t = no
; then
4800 cat >>confdefs.h
<<\EOF
4801 #define mbstate_t int
4806 echo "$as_me:4806: checking for function prototypes" >&5
4807 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4808 if test "$am_cv_prog_cc_stdc" != no
; then
4809 echo "$as_me:4809: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 cat >>confdefs.h
<<\EOF
4813 #define PROTOTYPES 1
4818 echo "$as_me:4818: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 U
=_ ANSI2KNR
=.
/ansi2knr
4821 # Ensure some checks needed by ansi2knr itself.
4822 echo "$as_me:4822: checking for ANSI C header files" >&5
4823 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4824 if test "${ac_cv_header_stdc+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.
$ac_ext <<_ACEOF
4828 #line 4828 "configure"
4829 #include "confdefs.h"
4836 if { (eval echo "$as_me:4836: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4837 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4839 egrep -v '^ *\+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:4842: \$? = $ac_status" >&5
4843 (exit $ac_status); }; then
4844 if test -s conftest.err
; then
4845 ac_cpp_err
=$ac_c_preproc_warn_flag
4852 if test -z "$ac_cpp_err"; then
4853 ac_cv_header_stdc
=yes
4855 echo "$as_me: failed program was:" >&5
4856 cat conftest.
$ac_ext >&5
4857 ac_cv_header_stdc
=no
4859 rm -f conftest.err conftest.
$ac_ext
4861 if test $ac_cv_header_stdc = yes; then
4862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4863 cat >conftest.
$ac_ext <<_ACEOF
4864 #line 4864 "configure"
4865 #include "confdefs.h"
4869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4870 egrep "memchr" >/dev
/null
2>&1; then
4873 ac_cv_header_stdc
=no
4879 if test $ac_cv_header_stdc = yes; then
4880 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4881 cat >conftest.
$ac_ext <<_ACEOF
4882 #line 4882 "configure"
4883 #include "confdefs.h"
4887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4888 egrep "free" >/dev
/null
2>&1; then
4891 ac_cv_header_stdc
=no
4897 if test $ac_cv_header_stdc = yes; then
4898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4899 if test "$cross_compiling" = yes; then
4902 cat >conftest.
$ac_ext <<_ACEOF
4903 #line 4903 "configure"
4904 #include "confdefs.h"
4906 #if ((' ' & 0x0FF) == 0x020)
4907 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4908 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4910 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4911 || ('j' <= (c) && (c) <= 'r') \
4912 || ('s' <= (c) && (c) <= 'z'))
4913 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4916 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4921 for (i = 0; i < 256; i++)
4922 if (XOR (islower (i), ISLOWER (i))
4923 || toupper (i) != TOUPPER (i))
4928 rm -f conftest
$ac_exeext
4929 if { (eval echo "$as_me:4929: \"$ac_link\"") >&5
4930 (eval $ac_link) 2>&5
4932 echo "$as_me:4932: \$? = $ac_status" >&5
4933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4934 { (eval echo "$as_me:4934: \"$ac_try\"") >&5
4937 echo "$as_me:4937: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4941 echo "$as_me: program exited with status $ac_status" >&5
4942 echo "$as_me: failed program was:" >&5
4943 cat conftest.
$ac_ext >&5
4944 ac_cv_header_stdc
=no
4946 rm -f conftest
$ac_exeext conftest.
$ac_ext
4950 echo "$as_me:4950: result: $ac_cv_header_stdc" >&5
4951 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4952 if test $ac_cv_header_stdc = yes; then
4954 cat >>confdefs.h
<<\EOF
4955 #define STDC_HEADERS 1
4960 for ac_header
in string.h
4962 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4963 echo "$as_me:4963: checking for $ac_header" >&5
4964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4965 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 cat >conftest.
$ac_ext <<_ACEOF
4969 #line 4969 "configure"
4970 #include "confdefs.h"
4971 #include <$ac_header>
4973 if { (eval echo "$as_me:4973: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
4974 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
4976 egrep -v '^ *\+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:4979: \$? = $ac_status" >&5
4980 (exit $ac_status); }; then
4981 if test -s conftest.err
; then
4982 ac_cpp_err
=$ac_c_preproc_warn_flag
4989 if test -z "$ac_cpp_err"; then
4990 eval "$ac_ac_Header=yes"
4992 echo "$as_me: failed program was:" >&5
4993 cat conftest.
$ac_ext >&5
4994 eval "$ac_ac_Header=no"
4996 rm -f conftest.err conftest.
$ac_ext
4998 echo "$as_me:4998: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4999 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5000 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5001 cat >>confdefs.h
<<EOF
5002 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5010 for ac_func
in strerror strerror_r vprintf doprnt
5012 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5013 echo "$as_me:5013: checking for $ac_func" >&5
5014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5015 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5016 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 cat >conftest.
$ac_ext <<_ACEOF
5019 #line 5019 "configure"
5020 #include "confdefs.h"
5021 /* System header to define __stub macros and hopefully few prototypes,
5022 which can conflict with char $ac_func (); below. */
5024 /* Override any gcc2 internal prototype to avoid an error. */
5028 /* We use char because int might match the return type of a gcc2
5029 builtin and then its argument prototype would still apply. */
5036 /* The GNU C library defines this for functions which it implements
5037 to always fail with ENOSYS. Some functions are actually named
5038 something starting with __ and the normal name is an alias. */
5039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5049 rm -f conftest.
$ac_objext conftest
$ac_exeext
5050 if { (eval echo "$as_me:5050: \"$ac_link\"") >&5
5051 (eval $ac_link) 2>&5
5053 echo "$as_me:5053: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try
='test -s conftest$ac_exeext'
5056 { (eval echo "$as_me:5056: \"$ac_try\"") >&5
5059 echo "$as_me:5059: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 eval "$ac_ac_var=yes"
5063 echo "$as_me: failed program was:" >&5
5064 cat conftest.
$ac_ext >&5
5065 eval "$ac_ac_var=no"
5067 rm -f conftest
$ac_exeext conftest.
$ac_ext
5069 echo "$as_me:5069: result: `eval echo '${'$ac_ac_var'}'`" >&5
5070 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5071 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5072 cat >>confdefs.h
<<EOF
5073 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5079 echo "$as_me:5079: checking for ANSI C header files" >&5
5080 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5081 if test "${ac_cv_header_stdc+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 cat >conftest.
$ac_ext <<_ACEOF
5085 #line 5085 "configure"
5086 #include "confdefs.h"
5093 if { (eval echo "$as_me:5093: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5094 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5096 egrep -v '^ *\+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:5099: \$? = $ac_status" >&5
5100 (exit $ac_status); }; then
5101 if test -s conftest.err
; then
5102 ac_cpp_err
=$ac_c_preproc_warn_flag
5109 if test -z "$ac_cpp_err"; then
5110 ac_cv_header_stdc
=yes
5112 echo "$as_me: failed program was:" >&5
5113 cat conftest.
$ac_ext >&5
5114 ac_cv_header_stdc
=no
5116 rm -f conftest.err conftest.
$ac_ext
5118 if test $ac_cv_header_stdc = yes; then
5119 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5120 cat >conftest.
$ac_ext <<_ACEOF
5121 #line 5121 "configure"
5122 #include "confdefs.h"
5126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5127 egrep "memchr" >/dev
/null
2>&1; then
5130 ac_cv_header_stdc
=no
5136 if test $ac_cv_header_stdc = yes; then
5137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5138 cat >conftest.
$ac_ext <<_ACEOF
5139 #line 5139 "configure"
5140 #include "confdefs.h"
5144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5145 egrep "free" >/dev
/null
2>&1; then
5148 ac_cv_header_stdc
=no
5154 if test $ac_cv_header_stdc = yes; then
5155 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5156 if test "$cross_compiling" = yes; then
5159 cat >conftest.
$ac_ext <<_ACEOF
5160 #line 5160 "configure"
5161 #include "confdefs.h"
5163 #if ((' ' & 0x0FF) == 0x020)
5164 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5165 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5167 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5168 || ('j' <= (c) && (c) <= 'r') \
5169 || ('s' <= (c) && (c) <= 'z'))
5170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5178 for (i = 0; i < 256; i++)
5179 if (XOR (islower (i), ISLOWER (i))
5180 || toupper (i) != TOUPPER (i))
5185 rm -f conftest
$ac_exeext
5186 if { (eval echo "$as_me:5186: \"$ac_link\"") >&5
5187 (eval $ac_link) 2>&5
5189 echo "$as_me:5189: \$? = $ac_status" >&5
5190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5191 { (eval echo "$as_me:5191: \"$ac_try\"") >&5
5194 echo "$as_me:5194: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5198 echo "$as_me: program exited with status $ac_status" >&5
5199 echo "$as_me: failed program was:" >&5
5200 cat conftest.
$ac_ext >&5
5201 ac_cv_header_stdc
=no
5203 rm -f conftest
$ac_exeext conftest.
$ac_ext
5207 echo "$as_me:5207: result: $ac_cv_header_stdc" >&5
5208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5209 if test $ac_cv_header_stdc = yes; then
5211 cat >>confdefs.h
<<\EOF
5212 #define STDC_HEADERS 1
5217 echo "$as_me:5217: checking whether strerror_r is declared" >&5
5218 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
5219 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 cat >conftest.
$ac_ext <<_ACEOF
5223 #line 5223 "configure"
5224 #include "confdefs.h"
5225 $ac_includes_default
5230 char *p = (char *) strerror_r;
5237 rm -f conftest.
$ac_objext
5238 if { (eval echo "$as_me:5238: \"$ac_compile\"") >&5
5239 (eval $ac_compile) 2>&5
5241 echo "$as_me:5241: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try
='test -s conftest.$ac_objext'
5244 { (eval echo "$as_me:5244: \"$ac_try\"") >&5
5247 echo "$as_me:5247: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 ac_cv_have_decl_strerror_r
=yes
5251 echo "$as_me: failed program was:" >&5
5252 cat conftest.
$ac_ext >&5
5253 ac_cv_have_decl_strerror_r
=no
5255 rm -f conftest.
$ac_objext conftest.
$ac_ext
5257 echo "$as_me:5257: result: $ac_cv_have_decl_strerror_r" >&5
5258 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
5259 if test $ac_cv_have_decl_strerror_r = yes; then
5261 cat >>confdefs.h
<<EOF
5262 #define HAVE_DECL_STRERROR_R 1
5266 cat >>confdefs.h
<<EOF
5267 #define HAVE_DECL_STRERROR_R 0
5272 for ac_func
in strerror_r
5274 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5275 echo "$as_me:5275: checking for $ac_func" >&5
5276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5277 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 cat >conftest.
$ac_ext <<_ACEOF
5281 #line 5281 "configure"
5282 #include "confdefs.h"
5283 /* System header to define __stub macros and hopefully few prototypes,
5284 which can conflict with char $ac_func (); below. */
5286 /* Override any gcc2 internal prototype to avoid an error. */
5290 /* We use char because int might match the return type of a gcc2
5291 builtin and then its argument prototype would still apply. */
5298 /* The GNU C library defines this for functions which it implements
5299 to always fail with ENOSYS. Some functions are actually named
5300 something starting with __ and the normal name is an alias. */
5301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5311 rm -f conftest.
$ac_objext conftest
$ac_exeext
5312 if { (eval echo "$as_me:5312: \"$ac_link\"") >&5
5313 (eval $ac_link) 2>&5
5315 echo "$as_me:5315: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -s conftest$ac_exeext'
5318 { (eval echo "$as_me:5318: \"$ac_try\"") >&5
5321 echo "$as_me:5321: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5323 eval "$ac_ac_var=yes"
5325 echo "$as_me: failed program was:" >&5
5326 cat conftest.
$ac_ext >&5
5327 eval "$ac_ac_var=no"
5329 rm -f conftest
$ac_exeext conftest.
$ac_ext
5331 echo "$as_me:5331: result: `eval echo '${'$ac_ac_var'}'`" >&5
5332 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5333 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5334 cat >>confdefs.h
<<EOF
5335 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5341 if test $ac_cv_func_strerror_r = yes; then
5343 for ac_header
in string.h
5345 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5346 echo "$as_me:5346: checking for $ac_header" >&5
5347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5348 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 cat >conftest.
$ac_ext <<_ACEOF
5352 #line 5352 "configure"
5353 #include "confdefs.h"
5354 #include <$ac_header>
5356 if { (eval echo "$as_me:5356: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5357 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5359 egrep -v '^ *\+' conftest.er1
>conftest.err
5361 cat conftest.err
>&5
5362 echo "$as_me:5362: \$? = $ac_status" >&5
5363 (exit $ac_status); }; then
5364 if test -s conftest.err
; then
5365 ac_cpp_err
=$ac_c_preproc_warn_flag
5372 if test -z "$ac_cpp_err"; then
5373 eval "$ac_ac_Header=yes"
5375 echo "$as_me: failed program was:" >&5
5376 cat conftest.
$ac_ext >&5
5377 eval "$ac_ac_Header=no"
5379 rm -f conftest.err conftest.
$ac_ext
5381 echo "$as_me:5381: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5382 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5383 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5384 cat >>confdefs.h
<<EOF
5385 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5391 echo "$as_me:5391: checking for working strerror_r" >&5
5392 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
5393 if test "${ac_cv_func_strerror_r_works+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 cat >conftest.
$ac_ext <<_ACEOF
5398 #line 5398 "configure"
5399 #include "confdefs.h"
5403 # include <string.h>
5411 char x = *strerror_r (0, buf, sizeof buf);
5417 rm -f conftest.
$ac_objext
5418 if { (eval echo "$as_me:5418: \"$ac_compile\"") >&5
5419 (eval $ac_compile) 2>&5
5421 echo "$as_me:5421: \$? = $ac_status" >&5
5422 (exit $ac_status); } &&
5423 { ac_try
='test -s conftest.$ac_objext'
5424 { (eval echo "$as_me:5424: \"$ac_try\"") >&5
5427 echo "$as_me:5427: \$? = $ac_status" >&5
5428 (exit $ac_status); }; }; then
5429 ac_cv_func_strerror_r_works
=yes
5431 echo "$as_me: failed program was:" >&5
5432 cat conftest.
$ac_ext >&5
5433 ac_cv_func_strerror_r_works
=no
5436 rm -f conftest.
$ac_objext conftest.
$ac_ext
5437 if test $ac_cv_func_strerror_r_works = no
; then
5438 # strerror_r seems not to work, but now we have to choose between
5439 # systems that have relatively inaccessible declarations for the
5440 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5441 # former has a strerror_r that returns char*, while the latter
5442 # has a strerror_r that returns `int'.
5443 # This test should segfault on the DEC system.
5444 if test "$cross_compiling" = yes; then
5445 ac_cv_func_strerror_r_works
=no
5447 cat >conftest.
$ac_ext <<_ACEOF
5448 #line 5448 "configure"
5449 #include "confdefs.h"
5452 # include <string.h>
5455 extern char *strerror_r ();
5461 char x = *strerror_r (0, buf, sizeof buf);
5462 exit (!isalpha (x));
5466 rm -f conftest
$ac_exeext
5467 if { (eval echo "$as_me:5467: \"$ac_link\"") >&5
5468 (eval $ac_link) 2>&5
5470 echo "$as_me:5470: \$? = $ac_status" >&5
5471 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5472 { (eval echo "$as_me:5472: \"$ac_try\"") >&5
5475 echo "$as_me:5475: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then
5477 ac_cv_func_strerror_r_works
=yes
5479 echo "$as_me: program exited with status $ac_status" >&5
5480 echo "$as_me: failed program was:" >&5
5481 cat conftest.
$ac_ext >&5
5482 ac_cv_func_strerror_r_works
=no
5484 rm -f conftest
$ac_exeext conftest.
$ac_ext
5489 echo "$as_me:5489: result: $ac_cv_func_strerror_r_works" >&5
5490 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
5491 if test $ac_cv_func_strerror_r_works = yes; then
5493 cat >>confdefs.h
<<EOF
5494 #define HAVE_WORKING_STRERROR_R 1
5500 ALL_LINGUAS
="de es et fr ja nl ru"
5501 echo "$as_me:5501: checking for off_t" >&5
5502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5503 if test "${ac_cv_type_off_t+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 $ac_includes_default
5521 rm -f conftest.
$ac_objext
5522 if { (eval echo "$as_me:5522: \"$ac_compile\"") >&5
5523 (eval $ac_compile) 2>&5
5525 echo "$as_me:5525: \$? = $ac_status" >&5
5526 (exit $ac_status); } &&
5527 { ac_try
='test -s conftest.$ac_objext'
5528 { (eval echo "$as_me:5528: \"$ac_try\"") >&5
5531 echo "$as_me:5531: \$? = $ac_status" >&5
5532 (exit $ac_status); }; }; then
5533 ac_cv_type_off_t
=yes
5535 echo "$as_me: failed program was:" >&5
5536 cat conftest.
$ac_ext >&5
5539 rm -f conftest.
$ac_objext conftest.
$ac_ext
5541 echo "$as_me:5541: result: $ac_cv_type_off_t" >&5
5542 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5543 if test $ac_cv_type_off_t = yes; then
5547 cat >>confdefs.h
<<EOF
5553 echo "$as_me:5553: checking for size_t" >&5
5554 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5555 if test "${ac_cv_type_size_t+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 cat >conftest.
$ac_ext <<_ACEOF
5559 #line 5559 "configure"
5560 #include "confdefs.h"
5561 $ac_includes_default
5567 if (sizeof (size_t))
5573 rm -f conftest.
$ac_objext
5574 if { (eval echo "$as_me:5574: \"$ac_compile\"") >&5
5575 (eval $ac_compile) 2>&5
5577 echo "$as_me:5577: \$? = $ac_status" >&5
5578 (exit $ac_status); } &&
5579 { ac_try
='test -s conftest.$ac_objext'
5580 { (eval echo "$as_me:5580: \"$ac_try\"") >&5
5583 echo "$as_me:5583: \$? = $ac_status" >&5
5584 (exit $ac_status); }; }; then
5585 ac_cv_type_size_t
=yes
5587 echo "$as_me: failed program was:" >&5
5588 cat conftest.
$ac_ext >&5
5589 ac_cv_type_size_t
=no
5591 rm -f conftest.
$ac_objext conftest.
$ac_ext
5593 echo "$as_me:5593: result: $ac_cv_type_size_t" >&5
5594 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5595 if test $ac_cv_type_size_t = yes; then
5599 cat >>confdefs.h
<<EOF
5600 #define size_t unsigned
5605 for ac_header
in stdlib.h unistd.h
5607 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5608 echo "$as_me:5608: checking for $ac_header" >&5
5609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5610 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 cat >conftest.
$ac_ext <<_ACEOF
5614 #line 5614 "configure"
5615 #include "confdefs.h"
5616 #include <$ac_header>
5618 if { (eval echo "$as_me:5618: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5619 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5621 egrep -v '^ *\+' conftest.er1
>conftest.err
5623 cat conftest.err
>&5
5624 echo "$as_me:5624: \$? = $ac_status" >&5
5625 (exit $ac_status); }; then
5626 if test -s conftest.err
; then
5627 ac_cpp_err
=$ac_c_preproc_warn_flag
5634 if test -z "$ac_cpp_err"; then
5635 eval "$ac_ac_Header=yes"
5637 echo "$as_me: failed program was:" >&5
5638 cat conftest.
$ac_ext >&5
5639 eval "$ac_ac_Header=no"
5641 rm -f conftest.err conftest.
$ac_ext
5643 echo "$as_me:5643: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5644 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5645 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5646 cat >>confdefs.h
<<EOF
5647 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5653 for ac_func
in getpagesize
5655 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5656 echo "$as_me:5656: checking for $ac_func" >&5
5657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5658 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 cat >conftest.
$ac_ext <<_ACEOF
5662 #line 5662 "configure"
5663 #include "confdefs.h"
5664 /* System header to define __stub macros and hopefully few prototypes,
5665 which can conflict with char $ac_func (); below. */
5667 /* Override any gcc2 internal prototype to avoid an error. */
5671 /* We use char because int might match the return type of a gcc2
5672 builtin and then its argument prototype would still apply. */
5679 /* The GNU C library defines this for functions which it implements
5680 to always fail with ENOSYS. Some functions are actually named
5681 something starting with __ and the normal name is an alias. */
5682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5692 rm -f conftest.
$ac_objext conftest
$ac_exeext
5693 if { (eval echo "$as_me:5693: \"$ac_link\"") >&5
5694 (eval $ac_link) 2>&5
5696 echo "$as_me:5696: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -s conftest$ac_exeext'
5699 { (eval echo "$as_me:5699: \"$ac_try\"") >&5
5702 echo "$as_me:5702: \$? = $ac_status" >&5
5703 (exit $ac_status); }; }; then
5704 eval "$ac_ac_var=yes"
5706 echo "$as_me: failed program was:" >&5
5707 cat conftest.
$ac_ext >&5
5708 eval "$ac_ac_var=no"
5710 rm -f conftest
$ac_exeext conftest.
$ac_ext
5712 echo "$as_me:5712: result: `eval echo '${'$ac_ac_var'}'`" >&5
5713 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5714 if test `eval echo '${'$ac_ac_var'}'` = yes; then
5715 cat >>confdefs.h
<<EOF
5716 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5722 echo "$as_me:5722: checking for working mmap" >&5
5723 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5724 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 if test "$cross_compiling" = yes; then
5728 ac_cv_func_mmap_fixed_mapped
=no
5730 cat >conftest.
$ac_ext <<_ACEOF
5731 #line 5731 "configure"
5732 #include "confdefs.h"
5733 /* Thanks to Mike Haertel and Jim Avera for this test.
5734 Here is a matrix of mmap possibilities:
5735 mmap private not fixed
5736 mmap private fixed at somewhere currently unmapped
5737 mmap private fixed at somewhere already mapped
5738 mmap shared not fixed
5739 mmap shared fixed at somewhere currently unmapped
5740 mmap shared fixed at somewhere already mapped
5741 For private mappings, we should verify that changes cannot be read()
5742 back from the file, nor mmap's back from the file at a different
5743 address. (There have been systems where private was not correctly
5744 implemented like the infamous i386 svr4.0, and systems where the
5745 VM page cache was not coherent with the file system buffer cache
5746 like early versions of FreeBSD and possibly contemporary NetBSD.)
5747 For shared mappings, we should conversely verify that changes get
5748 propogated back to all the places they're supposed to be.
5750 Grep wants private fixed already mapped.
5751 The main things grep needs to know about mmap are:
5752 * does it exist and is it safe to write into the mmap'd area
5753 * how to use it (BSD variants) */
5754 #include <sys/types.h>
5756 #include <sys/mman.h>
5758 #if STDC_HEADERS || HAVE_STDLIB_H
5759 # include <stdlib.h>
5764 # include <unistd.h>
5766 #include <sys/stat.h>
5768 /* This mess was copied from the GNU getpagesize.h. */
5769 #if !HAVE_GETPAGESIZE
5770 /* Assume that all systems that can run configure have sys/param.h. */
5771 # if !HAVE_SYS_PARAM_H
5772 # define HAVE_SYS_PARAM_H 1
5775 # ifdef _SC_PAGESIZE
5776 # define getpagesize() sysconf(_SC_PAGESIZE)
5777 # else /* no _SC_PAGESIZE */
5778 # if HAVE_SYS_PARAM_H
5779 # include <sys/param.h>
5780 # ifdef EXEC_PAGESIZE
5781 # define getpagesize() EXEC_PAGESIZE
5782 # else /* no EXEC_PAGESIZE */
5784 # define getpagesize() NBPG * CLSIZE
5787 # endif /* no CLSIZE */
5788 # else /* no NBPG */
5790 # define getpagesize() NBPC
5791 # else /* no NBPC */
5793 # define getpagesize() PAGESIZE
5794 # endif /* PAGESIZE */
5795 # endif /* no NBPC */
5796 # endif /* no NBPG */
5797 # endif /* no EXEC_PAGESIZE */
5798 # else /* no HAVE_SYS_PARAM_H */
5799 # define getpagesize() 8192 /* punt totally */
5800 # endif /* no HAVE_SYS_PARAM_H */
5801 # endif /* no _SC_PAGESIZE */
5803 #endif /* no HAVE_GETPAGESIZE */
5808 char *data, *data2, *data3;
5812 pagesize = getpagesize ();
5814 /* First, make a file with some known garbage in it. */
5815 data = (char *) malloc (pagesize);
5818 for (i = 0; i < pagesize; ++i)
5819 *(data + i) = rand ();
5821 fd = creat ("conftest.mmap", 0600);
5824 if (write (fd, data, pagesize) != pagesize)
5828 /* Next, try to mmap the file at a fixed address which already has
5829 something else allocated at it. If we can, also make sure that
5830 we see the same garbage. */
5831 fd = open ("conftest.mmap", O_RDWR);
5834 data2 = (char *) malloc (2 * pagesize);
5837 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5838 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5839 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5841 for (i = 0; i < pagesize; ++i)
5842 if (*(data + i) != *(data2 + i))
5845 /* Finally, make sure that changes to the mapped area do not
5846 percolate back to the file as seen by read(). (This is a bug on
5847 some variants of i386 svr4.0.) */
5848 for (i = 0; i < pagesize; ++i)
5849 *(data2 + i) = *(data2 + i) + 1;
5850 data3 = (char *) malloc (pagesize);
5853 if (read (fd, data3, pagesize) != pagesize)
5855 for (i = 0; i < pagesize; ++i)
5856 if (*(data + i) != *(data3 + i))
5862 rm -f conftest
$ac_exeext
5863 if { (eval echo "$as_me:5863: \"$ac_link\"") >&5
5864 (eval $ac_link) 2>&5
5866 echo "$as_me:5866: \$? = $ac_status" >&5
5867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5868 { (eval echo "$as_me:5868: \"$ac_try\"") >&5
5871 echo "$as_me:5871: \$? = $ac_status" >&5
5872 (exit $ac_status); }; }; then
5873 ac_cv_func_mmap_fixed_mapped
=yes
5875 echo "$as_me: program exited with status $ac_status" >&5
5876 echo "$as_me: failed program was:" >&5
5877 cat conftest.
$ac_ext >&5
5878 ac_cv_func_mmap_fixed_mapped
=no
5880 rm -f conftest
$ac_exeext conftest.
$ac_ext
5883 echo "$as_me:5883: result: $ac_cv_func_mmap_fixed_mapped" >&5
5884 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5885 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5887 cat >>confdefs.h
<<\EOF
5894 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
5895 unistd.h sys
/param.h
5897 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5898 echo "$as_me:5898: checking for $ac_header" >&5
5899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5900 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 cat >conftest.
$ac_ext <<_ACEOF
5904 #line 5904 "configure"
5905 #include "confdefs.h"
5906 #include <$ac_header>
5908 if { (eval echo "$as_me:5908: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
5909 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
5911 egrep -v '^ *\+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 echo "$as_me:5914: \$? = $ac_status" >&5
5915 (exit $ac_status); }; then
5916 if test -s conftest.err
; then
5917 ac_cpp_err
=$ac_c_preproc_warn_flag
5924 if test -z "$ac_cpp_err"; then
5925 eval "$ac_ac_Header=yes"
5927 echo "$as_me: failed program was:" >&5
5928 cat conftest.
$ac_ext >&5
5929 eval "$ac_ac_Header=no"
5931 rm -f conftest.err conftest.
$ac_ext
5933 echo "$as_me:5933: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5934 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5935 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5936 cat >>confdefs.h
<<EOF
5937 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5943 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
5944 strdup __argz_count __argz_stringify __argz_next
5946 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5947 echo "$as_me:5947: checking for $ac_func" >&5
5948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5949 if eval "test \"\${$ac_ac_var+set}\" = set"; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 cat >conftest.
$ac_ext <<_ACEOF
5953 #line 5953 "configure"
5954 #include "confdefs.h"
5955 /* System header to define __stub macros and hopefully few prototypes,
5956 which can conflict with char $ac_func (); below. */
5958 /* Override any gcc2 internal prototype to avoid an error. */
5962 /* We use char because int might match the return type of a gcc2
5963 builtin and then its argument prototype would still apply. */
5970 /* The GNU C library defines this for functions which it implements
5971 to always fail with ENOSYS. Some functions are actually named
5972 something starting with __ and the normal name is an alias. */
5973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5983 rm -f conftest.
$ac_objext conftest
$ac_exeext
5984 if { (eval echo "$as_me:5984: \"$ac_link\"") >&5
5985 (eval $ac_link) 2>&5
5987 echo "$as_me:5987: \$? = $ac_status" >&5
5988 (exit $ac_status); } &&
5989 { ac_try
='test -s conftest$ac_exeext'
5990 { (eval echo "$as_me:5990: \"$ac_try\"") >&5
5993 echo "$as_me:5993: \$? = $ac_status" >&5
5994 (exit $ac_status); }; }; then
5995 eval "$ac_ac_var=yes"
5997 echo "$as_me: failed program was:" >&5
5998 cat conftest.
$ac_ext >&5
5999 eval "$ac_ac_var=no"
6001 rm -f conftest
$ac_exeext conftest.
$ac_ext
6003 echo "$as_me:6003: result: `eval echo '${'$ac_ac_var'}'`" >&5
6004 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6005 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6006 cat >>confdefs.h
<<EOF
6007 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6013 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6015 for ac_func
in stpcpy
6017 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
6018 echo "$as_me:6018: checking for $ac_func" >&5
6019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6020 if eval "test \"\${$ac_ac_var+set}\" = set"; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 cat >conftest.
$ac_ext <<_ACEOF
6024 #line 6024 "configure"
6025 #include "confdefs.h"
6026 /* System header to define __stub macros and hopefully few prototypes,
6027 which can conflict with char $ac_func (); below. */
6029 /* Override any gcc2 internal prototype to avoid an error. */
6033 /* We use char because int might match the return type of a gcc2
6034 builtin and then its argument prototype would still apply. */
6041 /* The GNU C library defines this for functions which it implements
6042 to always fail with ENOSYS. Some functions are actually named
6043 something starting with __ and the normal name is an alias. */
6044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6054 rm -f conftest.
$ac_objext conftest
$ac_exeext
6055 if { (eval echo "$as_me:6055: \"$ac_link\"") >&5
6056 (eval $ac_link) 2>&5
6058 echo "$as_me:6058: \$? = $ac_status" >&5
6059 (exit $ac_status); } &&
6060 { ac_try
='test -s conftest$ac_exeext'
6061 { (eval echo "$as_me:6061: \"$ac_try\"") >&5
6064 echo "$as_me:6064: \$? = $ac_status" >&5
6065 (exit $ac_status); }; }; then
6066 eval "$ac_ac_var=yes"
6068 echo "$as_me: failed program was:" >&5
6069 cat conftest.
$ac_ext >&5
6070 eval "$ac_ac_var=no"
6072 rm -f conftest
$ac_exeext conftest.
$ac_ext
6074 echo "$as_me:6074: result: `eval echo '${'$ac_ac_var'}'`" >&5
6075 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6076 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6077 cat >>confdefs.h
<<EOF
6078 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6085 if test "${ac_cv_func_stpcpy}" = "yes"; then
6087 cat >>confdefs.h
<<\EOF
6088 #define HAVE_STPCPY 1
6093 if test $ac_cv_header_locale_h = yes; then
6094 echo "$as_me:6094: checking for LC_MESSAGES" >&5
6095 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6096 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 cat >conftest.
$ac_ext <<_ACEOF
6100 #line 6100 "configure"
6101 #include "confdefs.h"
6111 rm -f conftest.
$ac_objext conftest
$ac_exeext
6112 if { (eval echo "$as_me:6112: \"$ac_link\"") >&5
6113 (eval $ac_link) 2>&5
6115 echo "$as_me:6115: \$? = $ac_status" >&5
6116 (exit $ac_status); } &&
6117 { ac_try
='test -s conftest$ac_exeext'
6118 { (eval echo "$as_me:6118: \"$ac_try\"") >&5
6121 echo "$as_me:6121: \$? = $ac_status" >&5
6122 (exit $ac_status); }; }; then
6123 am_cv_val_LC_MESSAGES
=yes
6125 echo "$as_me: failed program was:" >&5
6126 cat conftest.
$ac_ext >&5
6127 am_cv_val_LC_MESSAGES
=no
6129 rm -f conftest
$ac_exeext conftest.
$ac_ext
6131 echo "$as_me:6131: result: $am_cv_val_LC_MESSAGES" >&5
6132 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6133 if test $am_cv_val_LC_MESSAGES = yes; then
6135 cat >>confdefs.h
<<\EOF
6136 #define HAVE_LC_MESSAGES 1
6141 echo "$as_me:6141: checking whether NLS is requested" >&5
6142 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6143 # Check whether --enable-nls or --disable-nls was given.
6144 if test "${enable_nls+set}" = set; then
6145 enableval
="$enable_nls"
6150 echo "$as_me:6150: result: $USE_NLS" >&5
6151 echo "${ECHO_T}$USE_NLS" >&6
6153 USE_INCLUDED_LIBINTL
=no
6155 if test "$USE_NLS" = "yes"; then
6157 cat >>confdefs.h
<<\EOF
6158 #define ENABLE_NLS 1
6161 echo "$as_me:6161: checking whether included gettext is requested" >&5
6162 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6164 # Check whether --with-included-gettext or --without-included-gettext was given.
6165 if test "${with_included_gettext+set}" = set; then
6166 withval
="$with_included_gettext"
6167 nls_cv_force_use_gnu_gettext
=$withval
6169 nls_cv_force_use_gnu_gettext
=no
6171 echo "$as_me:6171: result: $nls_cv_force_use_gnu_gettext" >&5
6172 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6174 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6175 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6177 nls_cv_header_libgt
=
6180 echo "$as_me:6180: checking for libintl.h" >&5
6181 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6182 if test "${ac_cv_header_libintl_h+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 cat >conftest.
$ac_ext <<_ACEOF
6186 #line 6186 "configure"
6187 #include "confdefs.h"
6188 #include <libintl.h>
6190 if { (eval echo "$as_me:6190: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
6191 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
6193 egrep -v '^ *\+' conftest.er1
>conftest.err
6195 cat conftest.err
>&5
6196 echo "$as_me:6196: \$? = $ac_status" >&5
6197 (exit $ac_status); }; then
6198 if test -s conftest.err
; then
6199 ac_cpp_err
=$ac_c_preproc_warn_flag
6206 if test -z "$ac_cpp_err"; then
6207 ac_cv_header_libintl_h
=yes
6209 echo "$as_me: failed program was:" >&5
6210 cat conftest.
$ac_ext >&5
6211 ac_cv_header_libintl_h
=no
6213 rm -f conftest.err conftest.
$ac_ext
6215 echo "$as_me:6215: result: $ac_cv_header_libintl_h" >&5
6216 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6217 if test $ac_cv_header_libintl_h = yes; then
6218 echo "$as_me:6218: checking for gettext in libc" >&5
6219 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
6220 if test "${gt_cv_func_gettext_libc+set}" = set; then
6221 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 cat >conftest.
$ac_ext <<_ACEOF
6224 #line 6224 "configure"
6225 #include "confdefs.h"
6226 #include <libintl.h>
6230 return (int) gettext ("")
6235 rm -f conftest.
$ac_objext conftest
$ac_exeext
6236 if { (eval echo "$as_me:6236: \"$ac_link\"") >&5
6237 (eval $ac_link) 2>&5
6239 echo "$as_me:6239: \$? = $ac_status" >&5
6240 (exit $ac_status); } &&
6241 { ac_try
='test -s conftest$ac_exeext'
6242 { (eval echo "$as_me:6242: \"$ac_try\"") >&5
6245 echo "$as_me:6245: \$? = $ac_status" >&5
6246 (exit $ac_status); }; }; then
6247 gt_cv_func_gettext_libc
=yes
6249 echo "$as_me: failed program was:" >&5
6250 cat conftest.
$ac_ext >&5
6251 gt_cv_func_gettext_libc
=no
6253 rm -f conftest
$ac_exeext conftest.
$ac_ext
6255 echo "$as_me:6255: result: $gt_cv_func_gettext_libc" >&5
6256 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
6258 if test "$gt_cv_func_gettext_libc" != "yes"; then
6259 echo "$as_me:6259: checking for bindtextdomain in -lintl" >&5
6260 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
6261 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 ac_check_lib_save_LIBS
=$LIBS
6266 cat >conftest.
$ac_ext <<_ACEOF
6267 #line 6267 "configure"
6268 #include "confdefs.h"
6270 /* Override any gcc2 internal prototype to avoid an error. */
6274 /* We use char because int might match the return type of a gcc2
6275 builtin and then its argument prototype would still apply. */
6276 char bindtextdomain ();
6285 rm -f conftest.
$ac_objext conftest
$ac_exeext
6286 if { (eval echo "$as_me:6286: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>&5
6289 echo "$as_me:6289: \$? = $ac_status" >&5
6290 (exit $ac_status); } &&
6291 { ac_try
='test -s conftest$ac_exeext'
6292 { (eval echo "$as_me:6292: \"$ac_try\"") >&5
6295 echo "$as_me:6295: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_cv_lib_intl_bindtextdomain
=yes
6299 echo "$as_me: failed program was:" >&5
6300 cat conftest.
$ac_ext >&5
6301 ac_cv_lib_intl_bindtextdomain
=no
6303 rm -f conftest
$ac_exeext conftest.
$ac_ext
6304 LIBS
=$ac_check_lib_save_LIBS
6306 echo "$as_me:6306: result: $ac_cv_lib_intl_bindtextdomain" >&5
6307 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
6308 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6310 echo "$as_me:6310: checking for gettext in -lintl" >&5
6311 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
6312 if test "${ac_cv_lib_intl_gettext+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 ac_check_lib_save_LIBS
=$LIBS
6317 cat >conftest.
$ac_ext <<_ACEOF
6318 #line 6318 "configure"
6319 #include "confdefs.h"
6321 /* Override any gcc2 internal prototype to avoid an error. */
6325 /* We use char because int might match the return type of a gcc2
6326 builtin and then its argument prototype would still apply. */
6336 rm -f conftest.
$ac_objext conftest
$ac_exeext
6337 if { (eval echo "$as_me:6337: \"$ac_link\"") >&5
6338 (eval $ac_link) 2>&5
6340 echo "$as_me:6340: \$? = $ac_status" >&5
6341 (exit $ac_status); } &&
6342 { ac_try
='test -s conftest$ac_exeext'
6343 { (eval echo "$as_me:6343: \"$ac_try\"") >&5
6346 echo "$as_me:6346: \$? = $ac_status" >&5
6347 (exit $ac_status); }; }; then
6348 ac_cv_lib_intl_gettext
=yes
6350 echo "$as_me: failed program was:" >&5
6351 cat conftest.
$ac_ext >&5
6352 ac_cv_lib_intl_gettext
=no
6354 rm -f conftest
$ac_exeext conftest.
$ac_ext
6355 LIBS
=$ac_check_lib_save_LIBS
6357 echo "$as_me:6357: result: $ac_cv_lib_intl_gettext" >&5
6358 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
6359 if test $ac_cv_lib_intl_gettext = yes; then
6360 cat >>confdefs.h
<<EOF
6361 #define HAVE_LIBINTL 1
6372 if test "$gt_cv_func_gettext_libc" = "yes" \
6373 || test "$ac_cv_lib_intl_gettext" = "yes"; then
6375 cat >>confdefs.h
<<\EOF
6376 #define HAVE_GETTEXT 1
6379 # Extract the first word of "msgfmt", so it can be a program name with args.
6380 set dummy msgfmt
; ac_word
=$2
6381 echo "$as_me:6381: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6383 if test "${ac_cv_path_MSGFMT+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6391 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6392 for ac_dir
in $PATH; do
6393 test -z "$ac_dir" && ac_dir
=.
6394 if test -f $ac_dir/$ac_word; then
6395 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6396 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6402 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
6406 MSGFMT
="$ac_cv_path_MSGFMT"
6407 if test -n "$MSGFMT"; then
6408 echo "$as_me:6408: result: $MSGFMT" >&5
6409 echo "${ECHO_T}$MSGFMT" >&6
6411 echo "$as_me:6411: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6414 if test "$MSGFMT" != "no"; then
6416 for ac_func
in dcgettext
6418 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
6419 echo "$as_me:6419: checking for $ac_func" >&5
6420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6421 if eval "test \"\${$ac_ac_var+set}\" = set"; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 cat >conftest.
$ac_ext <<_ACEOF
6425 #line 6425 "configure"
6426 #include "confdefs.h"
6427 /* System header to define __stub macros and hopefully few prototypes,
6428 which can conflict with char $ac_func (); below. */
6430 /* Override any gcc2 internal prototype to avoid an error. */
6434 /* We use char because int might match the return type of a gcc2
6435 builtin and then its argument prototype would still apply. */
6442 /* The GNU C library defines this for functions which it implements
6443 to always fail with ENOSYS. Some functions are actually named
6444 something starting with __ and the normal name is an alias. */
6445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6455 rm -f conftest.
$ac_objext conftest
$ac_exeext
6456 if { (eval echo "$as_me:6456: \"$ac_link\"") >&5
6457 (eval $ac_link) 2>&5
6459 echo "$as_me:6459: \$? = $ac_status" >&5
6460 (exit $ac_status); } &&
6461 { ac_try
='test -s conftest$ac_exeext'
6462 { (eval echo "$as_me:6462: \"$ac_try\"") >&5
6465 echo "$as_me:6465: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6467 eval "$ac_ac_var=yes"
6469 echo "$as_me: failed program was:" >&5
6470 cat conftest.
$ac_ext >&5
6471 eval "$ac_ac_var=no"
6473 rm -f conftest
$ac_exeext conftest.
$ac_ext
6475 echo "$as_me:6475: result: `eval echo '${'$ac_ac_var'}'`" >&5
6476 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6477 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6478 cat >>confdefs.h
<<EOF
6479 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6485 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6486 set dummy gmsgfmt
; ac_word
=$2
6487 echo "$as_me:6487: checking for $ac_word" >&5
6488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6489 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6497 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6499 for ac_dir
in $ac_dummy; do
6501 test -z "$ac_dir" && ac_dir
=.
6502 if $as_executable_p "$ac_dir/$ac_word"; then
6503 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6508 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6512 GMSGFMT
=$ac_cv_path_GMSGFMT
6514 if test -n "$GMSGFMT"; then
6515 echo "$as_me:6515: result: $GMSGFMT" >&5
6516 echo "${ECHO_T}$GMSGFMT" >&6
6518 echo "$as_me:6518: result: no" >&5
6519 echo "${ECHO_T}no" >&6
6522 # Extract the first word of "xgettext", so it can be a program name with args.
6523 set dummy xgettext
; ac_word
=$2
6524 echo "$as_me:6524: checking for $ac_word" >&5
6525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6526 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6527 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6534 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6535 for ac_dir
in $PATH; do
6536 test -z "$ac_dir" && ac_dir
=.
6537 if test -f $ac_dir/$ac_word; then
6538 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6539 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6545 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6549 XGETTEXT
="$ac_cv_path_XGETTEXT"
6550 if test -n "$XGETTEXT"; then
6551 echo "$as_me:6551: result: $XGETTEXT" >&5
6552 echo "${ECHO_T}$XGETTEXT" >&6
6554 echo "$as_me:6554: result: no" >&5
6555 echo "${ECHO_T}no" >&6
6558 cat >conftest.
$ac_ext <<_ACEOF
6559 #line 6559 "configure"
6560 #include "confdefs.h"
6565 extern int _nl_msg_cat_cntr;
6566 return _nl_msg_cat_cntr
6571 rm -f conftest.
$ac_objext conftest
$ac_exeext
6572 if { (eval echo "$as_me:6572: \"$ac_link\"") >&5
6573 (eval $ac_link) 2>&5
6575 echo "$as_me:6575: \$? = $ac_status" >&5
6576 (exit $ac_status); } &&
6577 { ac_try
='test -s conftest$ac_exeext'
6578 { (eval echo "$as_me:6578: \"$ac_try\"") >&5
6581 echo "$as_me:6581: \$? = $ac_status" >&5
6582 (exit $ac_status); }; }; then
6586 echo "$as_me: failed program was:" >&5
6587 cat conftest.
$ac_ext >&5
6591 rm -f conftest
$ac_exeext conftest.
$ac_ext
6598 if test "$CATOBJEXT" = "NONE"; then
6599 echo "$as_me:6599: checking whether catgets can be used" >&5
6600 echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6
6602 # Check whether --with-catgets or --without-catgets was given.
6603 if test "${with_catgets+set}" = set; then
6604 withval
="$with_catgets"
6605 nls_cv_use_catgets
=$withval
6607 nls_cv_use_catgets
=no
6609 echo "$as_me:6609: result: $nls_cv_use_catgets" >&5
6610 echo "${ECHO_T}$nls_cv_use_catgets" >&6
6612 if test "$nls_cv_use_catgets" = "yes"; then
6614 echo "$as_me:6614: checking for main in -li" >&5
6615 echo $ECHO_N "checking for main in -li... $ECHO_C" >&6
6616 if test "${ac_cv_lib_i_main+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 ac_check_lib_save_LIBS
=$LIBS
6621 cat >conftest.
$ac_ext <<_ACEOF
6622 #line 6622 "configure"
6623 #include "confdefs.h"
6633 rm -f conftest.
$ac_objext conftest
$ac_exeext
6634 if { (eval echo "$as_me:6634: \"$ac_link\"") >&5
6635 (eval $ac_link) 2>&5
6637 echo "$as_me:6637: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try
='test -s conftest$ac_exeext'
6640 { (eval echo "$as_me:6640: \"$ac_try\"") >&5
6643 echo "$as_me:6643: \$? = $ac_status" >&5
6644 (exit $ac_status); }; }; then
6645 ac_cv_lib_i_main
=yes
6647 echo "$as_me: failed program was:" >&5
6648 cat conftest.
$ac_ext >&5
6651 rm -f conftest
$ac_exeext conftest.
$ac_ext
6652 LIBS
=$ac_check_lib_save_LIBS
6654 echo "$as_me:6654: result: $ac_cv_lib_i_main" >&5
6655 echo "${ECHO_T}$ac_cv_lib_i_main" >&6
6656 if test $ac_cv_lib_i_main = yes; then
6657 cat >>confdefs.h
<<EOF
6665 echo "$as_me:6665: checking for catgets" >&5
6666 echo $ECHO_N "checking for catgets... $ECHO_C" >&6
6667 if test "${ac_cv_func_catgets+set}" = set; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 cat >conftest.
$ac_ext <<_ACEOF
6671 #line 6671 "configure"
6672 #include "confdefs.h"
6673 /* System header to define __stub macros and hopefully few prototypes,
6674 which can conflict with char catgets (); below. */
6676 /* Override any gcc2 internal prototype to avoid an error. */
6680 /* We use char because int might match the return type of a gcc2
6681 builtin and then its argument prototype would still apply. */
6688 /* The GNU C library defines this for functions which it implements
6689 to always fail with ENOSYS. Some functions are actually named
6690 something starting with __ and the normal name is an alias. */
6691 #if defined (__stub_catgets) || defined (__stub___catgets)
6701 rm -f conftest.
$ac_objext conftest
$ac_exeext
6702 if { (eval echo "$as_me:6702: \"$ac_link\"") >&5
6703 (eval $ac_link) 2>&5
6705 echo "$as_me:6705: \$? = $ac_status" >&5
6706 (exit $ac_status); } &&
6707 { ac_try
='test -s conftest$ac_exeext'
6708 { (eval echo "$as_me:6708: \"$ac_try\"") >&5
6711 echo "$as_me:6711: \$? = $ac_status" >&5
6712 (exit $ac_status); }; }; then
6713 ac_cv_func_catgets
=yes
6715 echo "$as_me: failed program was:" >&5
6716 cat conftest.
$ac_ext >&5
6717 ac_cv_func_catgets
=no
6719 rm -f conftest
$ac_exeext conftest.
$ac_ext
6721 echo "$as_me:6721: result: $ac_cv_func_catgets" >&5
6722 echo "${ECHO_T}$ac_cv_func_catgets" >&6
6723 if test $ac_cv_func_catgets = yes; then
6725 cat >>confdefs.h
<<\EOF
6726 #define HAVE_CATGETS 1
6729 INTLOBJS
="\$(CATOBJS)"
6730 # Extract the first word of "gencat", so it can be a program name with args.
6731 set dummy gencat
; ac_word
=$2
6732 echo "$as_me:6732: checking for $ac_word" >&5
6733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6734 if test "${ac_cv_path_GENCAT+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 ac_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a path.
6742 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6744 for ac_dir
in $ac_dummy; do
6746 test -z "$ac_dir" && ac_dir
=.
6747 if $as_executable_p "$ac_dir/$ac_word"; then
6748 ac_cv_path_GENCAT
="$ac_dir/$ac_word"
6753 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT
="no"
6757 GENCAT
=$ac_cv_path_GENCAT
6759 if test -n "$GENCAT"; then
6760 echo "$as_me:6760: result: $GENCAT" >&5
6761 echo "${ECHO_T}$GENCAT" >&6
6763 echo "$as_me:6763: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6766 if test "$GENCAT" != "no"; then
6767 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6768 set dummy gmsgfmt
; ac_word
=$2
6769 echo "$as_me:6769: checking for $ac_word" >&5
6770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6771 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6779 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6781 for ac_dir
in $ac_dummy; do
6783 test -z "$ac_dir" && ac_dir
=.
6784 if $as_executable_p "$ac_dir/$ac_word"; then
6785 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6790 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
6794 GMSGFMT
=$ac_cv_path_GMSGFMT
6796 if test -n "$GMSGFMT"; then
6797 echo "$as_me:6797: result: $GMSGFMT" >&5
6798 echo "${ECHO_T}$GMSGFMT" >&6
6800 echo "$as_me:6800: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6804 if test "$GMSGFMT" = "no"; then
6805 # Extract the first word of "msgfmt", so it can be a program name with args.
6806 set dummy msgfmt
; ac_word
=$2
6807 echo "$as_me:6807: checking for $ac_word" >&5
6808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6809 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6817 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6818 for ac_dir
in $PATH; do
6819 test -z "$ac_dir" && ac_dir
=.
6820 if test -f $ac_dir/$ac_word; then
6821 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6822 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6828 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
6832 GMSGFMT
="$ac_cv_path_GMSGFMT"
6833 if test -n "$GMSGFMT"; then
6834 echo "$as_me:6834: result: $GMSGFMT" >&5
6835 echo "${ECHO_T}$GMSGFMT" >&6
6837 echo "$as_me:6837: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6842 # Extract the first word of "xgettext", so it can be a program name with args.
6843 set dummy xgettext
; ac_word
=$2
6844 echo "$as_me:6844: checking for $ac_word" >&5
6845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6846 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6854 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6855 for ac_dir
in $PATH; do
6856 test -z "$ac_dir" && ac_dir
=.
6857 if test -f $ac_dir/$ac_word; then
6858 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6859 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6865 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6869 XGETTEXT
="$ac_cv_path_XGETTEXT"
6870 if test -n "$XGETTEXT"; then
6871 echo "$as_me:6871: result: $XGETTEXT" >&5
6872 echo "${ECHO_T}$XGETTEXT" >&6
6874 echo "$as_me:6874: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6878 USE_INCLUDED_LIBINTL
=yes
6882 INTLDEPS
='$(top_builddir)/intl/libintl.a'
6884 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
6885 nls_cv_header_intl
=intl
/libintl.h
6886 nls_cv_header_libgt
=intl
/libgettext.h
6893 if test "$CATOBJEXT" = "NONE"; then
6894 nls_cv_use_gnu_gettext
=yes
6898 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6899 INTLOBJS
="\$(GETTOBJS)"
6900 # Extract the first word of "msgfmt", so it can be a program name with args.
6901 set dummy msgfmt
; ac_word
=$2
6902 echo "$as_me:6902: checking for $ac_word" >&5
6903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6904 if test "${ac_cv_path_MSGFMT+set}" = set; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6912 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6913 for ac_dir
in $PATH; do
6914 test -z "$ac_dir" && ac_dir
=.
6915 if test -f $ac_dir/$ac_word; then
6916 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6917 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6923 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
6927 MSGFMT
="$ac_cv_path_MSGFMT"
6928 if test -n "$MSGFMT"; then
6929 echo "$as_me:6929: result: $MSGFMT" >&5
6930 echo "${ECHO_T}$MSGFMT" >&6
6932 echo "$as_me:6932: result: no" >&5
6933 echo "${ECHO_T}no" >&6
6936 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6937 set dummy gmsgfmt
; ac_word
=$2
6938 echo "$as_me:6938: checking for $ac_word" >&5
6939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6940 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6948 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6950 for ac_dir
in $ac_dummy; do
6952 test -z "$ac_dir" && ac_dir
=.
6953 if $as_executable_p "$ac_dir/$ac_word"; then
6954 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
6959 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6963 GMSGFMT
=$ac_cv_path_GMSGFMT
6965 if test -n "$GMSGFMT"; then
6966 echo "$as_me:6966: result: $GMSGFMT" >&5
6967 echo "${ECHO_T}$GMSGFMT" >&6
6969 echo "$as_me:6969: result: no" >&5
6970 echo "${ECHO_T}no" >&6
6973 # Extract the first word of "xgettext", so it can be a program name with args.
6974 set dummy xgettext
; ac_word
=$2
6975 echo "$as_me:6975: checking for $ac_word" >&5
6976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6977 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6985 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6986 for ac_dir
in $PATH; do
6987 test -z "$ac_dir" && ac_dir
=.
6988 if test -f $ac_dir/$ac_word; then
6989 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6990 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6996 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7000 XGETTEXT
="$ac_cv_path_XGETTEXT"
7001 if test -n "$XGETTEXT"; then
7002 echo "$as_me:7002: result: $XGETTEXT" >&5
7003 echo "${ECHO_T}$XGETTEXT" >&6
7005 echo "$as_me:7005: result: no" >&5
7006 echo "${ECHO_T}no" >&6
7009 USE_INCLUDED_LIBINTL
=yes
7013 INTLDEPS
='$(top_builddir)/intl/libintl.a'
7015 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7016 nls_cv_header_intl
=intl
/libintl.h
7017 nls_cv_header_libgt
=intl
/libgettext.h
7020 if test "$XGETTEXT" != ":"; then
7021 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7024 echo "$as_me:7024: result: found xgettext program is not GNU xgettext; ignore it" >&5
7025 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7030 # We need to process the po/ directory.
7034 nls_cv_header_intl
=intl
/libintl.h
7035 nls_cv_header_libgt
=intl
/libgettext.h
7037 if test -z "$nls_cv_header_intl"; then
7038 # Clean out junk possibly left behind by a previous configuration.
7039 rm -f intl
/libintl.h
7041 ac_sources
="$nls_cv_header_libgt"
7042 ac_dests
="$nls_cv_header_intl"
7043 while test -n "$ac_sources"; do
7044 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
7045 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
7046 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
7048 ac_config_links
="$ac_config_links $ac_config_links_1"
7050 ac_config_commands
="$ac_config_commands default-2"
7052 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7053 # because some of the sources are only built for this goal.
7054 if test "$PACKAGE" = gettext; then
7056 USE_INCLUDED_LIBINTL
=yes
7059 for lang
in $ALL_LINGUAS; do
7060 GMOFILES
="$GMOFILES $lang.gmo"
7061 POFILES
="$POFILES $lang.po"
7064 if test "x$CATOBJEXT" != "x"; then
7065 if test "x$ALL_LINGUAS" = "x"; then
7068 echo "$as_me:7068: checking for catalogs to be installed" >&5
7069 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7071 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7072 case "$ALL_LINGUAS" in
7073 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7076 LINGUAS
=$NEW_LINGUAS
7077 echo "$as_me:7077: result: $LINGUAS" >&5
7078 echo "${ECHO_T}$LINGUAS" >&6
7081 if test -n "$LINGUAS"; then
7082 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7086 if test $ac_cv_header_locale_h = yes; then
7087 INCLUDE_LOCALE_H
="#include <locale.h>"
7090 /* The system does not provide the header <locale.h>. Take care yourself. */"
7093 test -d intl
|| mkdir intl
7094 if test "$CATOBJEXT" = ".cat"; then
7095 echo "$as_me:7095: checking for linux/version.h" >&5
7096 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7097 if test "${ac_cv_header_linux_version_h+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 cat >conftest.
$ac_ext <<_ACEOF
7101 #line 7101 "configure"
7102 #include "confdefs.h"
7103 #include <linux/version.h>
7105 if { (eval echo "$as_me:7105: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
7106 (eval $ac_cpp conftest.
$ac_ext >/dev
/null
) 2>conftest.er1
7108 egrep -v '^ *\+' conftest.er1
>conftest.err
7110 cat conftest.err
>&5
7111 echo "$as_me:7111: \$? = $ac_status" >&5
7112 (exit $ac_status); }; then
7113 if test -s conftest.err
; then
7114 ac_cpp_err
=$ac_c_preproc_warn_flag
7121 if test -z "$ac_cpp_err"; then
7122 ac_cv_header_linux_version_h
=yes
7124 echo "$as_me: failed program was:" >&5
7125 cat conftest.
$ac_ext >&5
7126 ac_cv_header_linux_version_h
=no
7128 rm -f conftest.err conftest.
$ac_ext
7130 echo "$as_me:7130: result: $ac_cv_header_linux_version_h" >&5
7131 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7132 if test $ac_cv_header_linux_version_h = yes; then
7138 sed -e '/^#/d' $srcdir/intl
/$msgformat-msg.
sed > intl
/po2msg.
sed
7140 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
7141 $srcdir/intl
/po2tbl.
sed.
in > intl
/po2tbl.
sed
7143 if test "$PACKAGE" = "gettext"; then
7152 if test -n "$ac_aux_dir"; then
7153 MKINSTALLDIRS
="\$(top_srcdir)/$ac_aux_dir/mkinstalldirs"
7155 if test -z "$MKINSTALLDIRS"; then
7156 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7161 test -d po
|| mkdir po
7164 posrcprefix
="../" ;;
7166 posrcprefix
="$srcdir/" ;;
7168 posrcprefix
="../$srcdir/" ;;
7171 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7172 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7174 # This is necessary so that .o files in LIBOBJS are also built via
7175 # the ANSI2KNR-filtering rules.
7176 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
7178 ac_config_files
="$ac_config_files Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile tests/atconfig"
7179 cat >confcache
<<\_ACEOF
7180 # This file is a shell script that caches the results of configure
7181 # tests run on this system so they can be shared between configure
7182 # scripts and configure runs, see configure's option --config-cache.
7183 # It is not useful on other systems. If it contains results you don't
7184 # want to keep, you may remove or edit it.
7186 # config.status only pays attention to the cache file if you give it
7187 # the --recheck option to rerun configure.
7189 # `ac_cv_env_foo' variables (set or unset) will be overriden when
7190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7195 # The following way of writing the cache mishandles newlines in values,
7196 # but we know of no workaround that is simple, portable, and efficient.
7197 # So, don't put newlines in cache variables' values.
7198 # Ultrix sh set writes to stderr and can't be redirected directly,
7199 # and sets the high bit in the cache file unless we assign to the vars.
7202 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7204 # `set' does not quote correctly, so add quotes (double-quote
7205 # substitution turns \\\\ into \\, and sed turns \\ into \).
7208 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7211 # `set' quotes correctly as required by POSIX, so do not add quotes.
7213 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7222 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7224 if cmp -s $cache_file confcache
; then :; else
7225 if test -w $cache_file; then
7226 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7227 cat confcache
>$cache_file
7229 echo "not updating unwritable cache $cache_file"
7234 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7235 # Let make expand exec_prefix.
7236 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7238 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7239 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7240 # trailing colons and then remove the whole line if VPATH becomes empty
7241 # (actually we leave an empty line to preserve line numbers).
7242 if test "x$srcdir" = x.
; then
7243 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7244 s/:*\$(srcdir):*/:/;
7245 s/:*\${srcdir}:*/:/;
7247 s/^\([^=]*=[ ]*\):*/\1/;
7253 DEFS
=-DHAVE_CONFIG_H
7255 : ${CONFIG_STATUS=./config.status}
7256 ac_clean_files_save
=$ac_clean_files
7257 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7258 { echo "$as_me:7258: creating $CONFIG_STATUS" >&5
7259 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7260 cat >$CONFIG_STATUS <<\_ACEOF
7262 # Generated automatically by configure.
7263 # Run this file to recreate the current configuration.
7264 # Compiler output produced by configure, useful for debugging
7265 # configure, is in config.log if it exists.
7268 as_me
=`echo "$0" | sed 's,.*/,,'`
7269 SHELL
=${CONFIG_SHELL-/bin/sh}
7271 # Be Bourne compatible
7272 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7275 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7279 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7285 rm -f conf$$ conf$$.exe conf$$.
file
7287 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7288 # We could just check for DJGPP; but this test a) works b) is more generic
7289 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7290 if test -f conf$$.exe
; then
7291 # Don't use ln at all; we don't have any links
7296 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7301 rm -f conf$$ conf$$.exe conf$$.
file
7303 as_executable_p
="test -f"
7305 # Support unset when possible.
7306 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
7313 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
7314 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
7315 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
7316 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
7317 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
7318 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
7319 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
7320 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
7323 # We need space, tab and new line, in precisely that order.
7329 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
7331 # File descriptor usage:
7334 # 2 errors and warnings
7335 # 5 compiler messages saved in config.log
7336 # 6 checking for... messages and results
7342 ## ----------------------- ##
7343 ## Running config.status. ##
7344 ## ----------------------- ##
7346 This file was extended by $as_me 2.49d, executed with
7348 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7354 # Files that config.status was made for.
7355 if test -n "$ac_config_files"; then
7356 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7359 if test -n "$ac_config_headers"; then
7360 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7363 if test -n "$ac_config_links"; then
7364 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7367 if test -n "$ac_config_commands"; then
7368 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7371 cat >>$CONFIG_STATUS <<\EOF
7374 \`$as_me' instantiates files from templates according to the
7375 current configuration.
7377 Usage: $0 [OPTIONS] [FILE]...
7379 -h, --help print this help, then exit
7380 -V, --version print version number, then exit
7381 -d, --debug don't remove temporary files
7382 --recheck update $as_me by reconfiguring in the same conditions
7383 --file=FILE[:TEMPLATE]
7384 instantiate the configuration file FILE
7385 --header=FILE[:TEMPLATE]
7386 instantiate the configuration header FILE
7388 Configuration files:
7391 Configuration headers:
7394 Configuration links:
7397 Configuration commands:
7400 Report bugs to <bug-autoconf@gnu.org>."
7403 cat >>$CONFIG_STATUS <<EOF
7405 $CONFIG_STATUS generated by $as_me (Autoconf 2.49d).
7406 Configured on host $ac_hostname by
7407 `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
7412 cat >>$CONFIG_STATUS <<\EOF
7413 # If no file are specified by the user, then we need to provide default
7414 # value. By we need to know if files were specified by the user.
7420 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7421 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7423 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
7427 *) # This is not an option, so the user has probably given explicit
7429 ac_need_defaults
=false
;;
7433 # Handling of the options.
7435 cat >>$CONFIG_STATUS <<EOF
7436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7437 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7438 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7440 cat >>$CONFIG_STATUS <<\EOF
7441 --version | --vers* | -V )
7442 echo "$ac_cs_version"; exit 0 ;;
7444 # Conflict between --help and --header
7445 { { echo "$as_me:7445: error: ambiguous option: $1
7446 Try \`$0 --help' for more information." >&5
7447 echo "$as_me: error: ambiguous option: $1
7448 Try \`$0 --help' for more information." >&2;}
7449 { (exit 1); exit 1; }; };;
7450 --help | --hel | -h )
7451 echo "$ac_cs_usage"; exit 0 ;;
7452 --debug | --d* | -d )
7454 --file | --fil | --fi | --f )
7456 CONFIG_FILES
="$CONFIG_FILES $1"
7457 ac_need_defaults
=false
;;
7458 --header | --heade | --head | --hea )
7460 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
7461 ac_need_defaults
=false
;;
7463 # Handling of arguments.
7464 'Makefile' ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7465 'intl/Makefile' ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
7466 'po/Makefile.in' ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
7467 'lib/Makefile' ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
7468 'src/Makefile' ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
7469 'doc/Makefile' ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7470 'm4/Makefile' ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
7471 'tests/Makefile' ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
7472 'tests/atconfig' ) CONFIG_FILES
="$CONFIG_FILES tests/atconfig" ;;
7473 '$ac_config_links_1' ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7474 'default-1' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7475 'default-2' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
7476 'config.h' ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
7479 -*) { { echo "$as_me:7479: error: unrecognized option: $1
7480 Try \`$0 --help' for more information." >&5
7481 echo "$as_me: error: unrecognized option: $1
7482 Try \`$0 --help' for more information." >&2;}
7483 { (exit 1); exit 1; }; } ;;
7484 *) { { echo "$as_me:7484: error: invalid argument: $1" >&5
7485 echo "$as_me: error: invalid argument: $1" >&2;}
7486 { (exit 1); exit 1; }; };;
7493 cat >>$CONFIG_STATUS <<\EOF
7494 # If the user did not use the arguments to specify the items to instantiate,
7495 # then the envvar interface is used. Set only those that are not.
7496 # We use the long form for the default assignment because of an extremely
7497 # bizarre bug on SunOS 4.1.3.
7498 if $ac_need_defaults; then
7499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7501 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7505 # Create a temporary directory, and hook for its removal unless debugging.
7508 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7509 trap '{ (exit $?); exit $?; }' 1 2 13 15
7512 # Create a (secure) tmp directory for tmp files.
7515 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7516 test -n "$tmp" && test -d "$tmp"
7519 tmp
=$TMPDIR/cs$$
-$RANDOM
7520 (umask 077 && mkdir $tmp)
7523 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7524 { (exit 1); exit 1; }
7529 cat >>$CONFIG_STATUS <<EOF
7531 # INIT-COMMANDS section.
7536 cat >>$CONFIG_STATUS <<EOF
7539 # CONFIG_FILES section.
7542 # No need to generate the scripts if there are no CONFIG_FILES.
7543 # This happens for instance when ./config.status config.h
7544 if test -n "\$CONFIG_FILES"; then
7545 # Protect against being on the right side of a sed subst in config.status.
7546 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7547 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7548 s,@SHELL@,$SHELL,;t t
7549 s,@exec_prefix@,$exec_prefix,;t t
7550 s,@prefix@,$prefix,;t t
7551 s,@program_transform_name@,$program_transform_name,;t t
7552 s,@bindir@,$bindir,;t t
7553 s,@sbindir@,$sbindir,;t t
7554 s,@libexecdir@,$libexecdir,;t t
7555 s,@datadir@,$datadir,;t t
7556 s,@sysconfdir@,$sysconfdir,;t t
7557 s,@sharedstatedir@,$sharedstatedir,;t t
7558 s,@localstatedir@,$localstatedir,;t t
7559 s,@libdir@,$libdir,;t t
7560 s,@includedir@,$includedir,;t t
7561 s,@oldincludedir@,$oldincludedir,;t t
7562 s,@infodir@,$infodir,;t t
7563 s,@mandir@,$mandir,;t t
7564 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7565 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7566 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7567 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7568 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7569 s,@ECHO_C@,$ECHO_C,;t t
7570 s,@ECHO_N@,$ECHO_N,;t t
7571 s,@ECHO_T@,$ECHO_T,;t t
7572 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7575 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7576 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7577 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7578 s,@PACKAGE@,$PACKAGE,;t t
7579 s,@VERSION@,$VERSION,;t t
7580 s,@ACLOCAL@,$ACLOCAL,;t t
7581 s,@AUTOCONF@,$AUTOCONF,;t t
7582 s,@AUTOMAKE@,$AUTOMAKE,;t t
7583 s,@AUTOHEADER@,$AUTOHEADER,;t t
7584 s,@MAKEINFO@,$MAKEINFO,;t t
7585 s,@SET_MAKE@,$SET_MAKE,;t t
7586 s,@AT_TESTPATH@,$AT_TESTPATH,;t t
7588 s,@CFLAGS@,$CFLAGS,;t t
7589 s,@LDFLAGS@,$LDFLAGS,;t t
7590 s,@ac_ct_CC@,$ac_ct_CC,;t t
7591 s,@EXEEXT@,$EXEEXT,;t t
7592 s,@OBJEXT@,$OBJEXT,;t t
7594 s,@CPPFLAGS@,$CPPFLAGS,;t t
7595 s,@RANLIB@,$RANLIB,;t t
7596 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7598 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
7600 s,@ANSI2KNR@,$ANSI2KNR,;t t
7601 s,@ALLOCA@,$ALLOCA,;t t
7602 s,@LIBOBJS@,$LIBOBJS,;t t
7603 s,@USE_NLS@,$USE_NLS,;t t
7604 s,@MSGFMT@,$MSGFMT,;t t
7605 s,@GMSGFMT@,$GMSGFMT,;t t
7606 s,@XGETTEXT@,$XGETTEXT,;t t
7607 s,@GENCAT@,$GENCAT,;t t
7608 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7609 s,@CATALOGS@,$CATALOGS,;t t
7610 s,@CATOBJEXT@,$CATOBJEXT,;t t
7611 s,@DATADIRNAME@,$DATADIRNAME,;t t
7612 s,@GMOFILES@,$GMOFILES,;t t
7613 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7614 s,@INTLDEPS@,$INTLDEPS,;t t
7615 s,@INTLLIBS@,$INTLLIBS,;t t
7616 s,@INTLOBJS@,$INTLOBJS,;t t
7617 s,@POFILES@,$POFILES,;t t
7618 s,@POSUB@,$POSUB,;t t
7619 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
7620 s,@GT_NO@,$GT_NO,;t t
7621 s,@GT_YES@,$GT_YES,;t t
7622 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7628 cat >>$CONFIG_STATUS <<\EOF
7629 # Split the substitutions into bite-sized pieces for seds with
7630 # small command number limits, like on Digital OSF/1 and HP-UX.
7632 ac_sed_frag
=1 # Number of current file.
7633 ac_beg
=1 # First line for current file.
7634 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7637 while $ac_more_lines; do
7638 if test $ac_beg -gt 1; then
7639 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7641 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7643 if test ! -s $tmp/subs.frag
; then
7646 # The purpose of the label and of the branching condition is to
7647 # speed up the sed processing (if there are no `@' at all, there
7648 # is no need to browse any of the substitutions).
7649 # These are the two extra sed commands mentioned above.
7651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
7652 if test -z "$ac_sed_cmds"; then
7653 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7655 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7657 ac_sed_frag
=`expr $ac_sed_frag + 1`
7659 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7662 if test -z "$ac_sed_cmds"; then
7665 fi # test -n "$CONFIG_FILES"
7668 cat >>$CONFIG_STATUS <<\EOF
7669 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7670 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7672 - | *:- | *:-:* ) # input from stdin
7674 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7675 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7676 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7677 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7678 * ) ac_file_in
=$ac_file.
in ;;
7681 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7682 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7683 X"$ac_file" : 'X\(//\)[^/]' \| \
7684 X"$ac_file" : 'X\(//\)$' \| \
7685 X"$ac_file" : 'X\(/\)' \| \
7686 . : '\(.\)' 2>/dev/null ||
7688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7689 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7690 /^X\(\/\/\)$/{ s//\1/; q; }
7691 /^X\(\/\).*/{ s//\1/; q; }
7693 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7695 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7699 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7700 case $as_mkdir_dir in
7701 # Skip DOS drivespec
7702 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7704 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7705 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7710 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
7711 # A "../" for each directory in $ac_dir_suffix.
7712 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7714 ac_dir_suffix
= ac_dots
=
7719 if test -z "$ac_dots"; then
7722 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
7725 ac_srcdir
=$srcdir$ac_dir_suffix;
7726 ac_top_srcdir
=$srcdir ;;
7728 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
7729 ac_top_srcdir
=$ac_dots$srcdir ;;
7733 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7734 *) ac_INSTALL
=$ac_dots$INSTALL ;;
7737 if test x
"$ac_file" != x
-; then
7738 { echo "$as_me:7738: creating $ac_file" >&5
7739 echo "$as_me: creating $ac_file" >&6;}
7742 # Let's still pretend it is `configure' which instantiates (i.e., don't
7743 # use $as_me), people would be surprised to read:
7744 # /* config.h. Generated automatically by config.status. */
7745 configure_input
="Generated automatically from `echo $ac_file_in |
7746 sed 's,.*/,,'` by configure."
7748 # First look for the input files in the build tree, otherwise in the
7750 ac_file_inputs
=`IFS=:
7751 for f in $ac_file_in; do
7753 -) echo $tmp/stdin ;;
7756 test -f "$f" || { { echo "$as_me:7756: error: cannot find input file: $f" >&5
7757 echo "$as_me: error: cannot find input file: $f" >&2;}
7758 { (exit 1); exit 1; }; }
7761 if test -f "$f"; then
7764 elif test -f "$srcdir/$f"; then
7769 { { echo "$as_me:7769: error: cannot find input file: $f" >&5
7770 echo "$as_me: error: cannot find input file: $f" >&2;}
7771 { (exit 1); exit 1; }; }
7774 done` || { (exit 1); exit 1; }
7776 cat >>$CONFIG_STATUS <<EOF
7780 cat >>$CONFIG_STATUS <<\EOF
7782 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
7783 s
,@configure_input@
,$configure_input,;t t
7784 s
,@srcdir@
,$ac_srcdir,;t t
7785 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7786 s
,@INSTALL@
,$ac_INSTALL,;t t
7787 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7789 if test x"$ac_file" != x-; then
7790 mv $tmp/out $ac_file
7798 cat >>$CONFIG_STATUS <<\EOF
7801 # CONFIG_HEADER section.
7804 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7805 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7807 # ac_d sets the value in "#define NAME VALUE" lines.
7808 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7809 ac_dB
='[ ].*$,\1#\2'
7812 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7813 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7814 ac_uB
='$,\1#\2define\3'
7818 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7819 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7821 - | *:- | *:-:* ) # input from stdin
7823 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7824 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7825 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7826 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7827 * ) ac_file_in
=$ac_file.
in ;;
7830 test x
"$ac_file" != x
- && { echo "$as_me:7830: creating $ac_file" >&5
7831 echo "$as_me: creating $ac_file" >&6;}
7833 # First look for the input files in the build tree, otherwise in the
7835 ac_file_inputs
=`IFS=:
7836 for f in $ac_file_in; do
7838 -) echo $tmp/stdin ;;
7841 test -f "$f" || { { echo "$as_me:7841: error: cannot find input file: $f" >&5
7842 echo "$as_me: error: cannot find input file: $f" >&2;}
7843 { (exit 1); exit 1; }; }
7846 if test -f "$f"; then
7849 elif test -f "$srcdir/$f"; then
7854 { { echo "$as_me:7854: error: cannot find input file: $f" >&5
7855 echo "$as_me: error: cannot find input file: $f" >&2;}
7856 { (exit 1); exit 1; }; }
7859 done` || { (exit 1); exit 1; }
7860 # Remove the trailing spaces.
7861 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7865 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7866 # `conftest.undefs', that substitutes the proper values into
7867 # config.h.in to produce config.h. The first handles `#define'
7868 # templates, and the second `#undef' templates.
7869 # And first: Protect against being on the right side of a sed subst in
7870 # config.status. Protect against being in an unquoted here document
7872 rm -f conftest.defines conftest.undefs
7873 # Using a here document instead of a string reduces the quoting nightmare.
7874 # Putting comments in sed scripts is not portable.
7876 # `end' is used to avoid that the second main sed command (meant for
7877 # 0-ary CPP macros) applies to n-ary macro definitions.
7878 # See the Autoconf documentation for `clear'.
7879 cat >confdef2sed.
sed <<\EOF
7884 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7889 # If some macros were called several times there might be several times
7890 # the same #defines, which is useless. Nevertheless, we may not want to
7891 # sort them, since we want the *last* AC-DEFINE to be honored.
7892 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7893 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7894 rm -f confdef2sed.sed
7896 # This sed command replaces #undef with comments. This is necessary, for
7897 # example, in the case of _POSIX_SOURCE, which is predefined and required
7898 # on some systems where configure will not decide to define it.
7899 cat >>conftest.undefs <<\EOF
7900 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7903 # Break up conftest.defines because some shells have a limit on the size
7904 # of here documents, and old seds have small limits too (100 cmds).
7905 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7906 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7907 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7908 echo ' :' >>$CONFIG_STATUS
7910 while grep . conftest.defines >/dev/null
7912 # Write a limited-size here document to $tmp/defines.sed.
7913 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7914 # Speed up: don't consider the non `#define' lines.
7915 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7916 # Work around the forget-to-reset-the-flag bug.
7917 echo 't clr' >>$CONFIG_STATUS
7918 echo ': clr' >>$CONFIG_STATUS
7919 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7921 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7925 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7926 rm -f conftest.defines
7927 mv conftest.
tail conftest.defines
7929 rm -f conftest.defines
7930 echo ' fi # egrep' >>$CONFIG_STATUS
7931 echo >>$CONFIG_STATUS
7933 # Break up conftest.undefs because some shells have a limit on the size
7934 # of here documents, and old seds have small limits too (100 cmds).
7935 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7937 while grep . conftest.undefs
>/dev
/null
7939 # Write a limited-size here document to $tmp/undefs.sed.
7940 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7941 # Speed up: don't consider the non
`#undef'
7942 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7943 # Work around the forget-to-reset-the-flag bug.
7944 echo 't clr' >>$CONFIG_STATUS
7945 echo ': clr' >>$CONFIG_STATUS
7946 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7948 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7952 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7953 rm -f conftest.undefs
7954 mv conftest.tail conftest.undefs
7956 rm -f conftest.undefs
7958 cat >>$CONFIG_STATUS <<\EOF
7959 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7960 # use $as_me), people would be surprised to read:
7961 # /* config.h. Generated automatically by config.status. */
7962 if test x
"$ac_file" = x
-; then
7963 echo "/* Generated automatically by configure. */" >$tmp/config.h
7965 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
7967 cat $tmp/in >>$tmp/config.h
7969 if test x
"$ac_file" != x
-; then
7970 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
7971 { echo "$as_me:7971: $ac_file is unchanged" >&5
7972 echo "$as_me: $ac_file is unchanged" >&6;}
7974 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7975 X"$ac_file" : 'X\(//\)[^/]' \| \
7976 X"$ac_file" : 'X\(//\)$' \| \
7977 X"$ac_file" : 'X\(/\)' \| \
7978 . : '\(.\)' 2>/dev/null ||
7980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7982 /^X\(\/\/\)$/{ s//\1/; q; }
7983 /^X\(\/\).*/{ s//\1/; q; }
7985 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7987 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
7991 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7992 case $as_mkdir_dir in
7993 # Skip DOS drivespec
7994 ?
:) as_incr_dir
=$as_mkdir_dir ;;
7996 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
7997 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
8004 mv $tmp/config.h
$ac_file
8012 cat >>$CONFIG_STATUS <<\EOF
8015 # CONFIG_LINKS section.
8018 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
8019 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8020 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8022 { echo "$as_me:8022: linking $srcdir/$ac_source to $ac_dest" >&5
8023 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
8025 if test ! -r $srcdir/$ac_source; then
8026 { { echo "$as_me:8026: error: $srcdir/$ac_source: File not found" >&5
8027 echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
8028 { (exit 1); exit 1; }; }
8032 # Make relative symlinks.
8033 ac_dest_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8034 X"$ac_dest" : 'X\(//\)[^/]' \| \
8035 X"$ac_dest" : 'X\(//\)$' \| \
8036 X"$ac_dest" : 'X\(/\)' \| \
8037 . : '\(.\)' 2>/dev/null ||
8039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8041 /^X\(\/\/\)$/{ s//\1/; q; }
8042 /^X\(\/\).*/{ s//\1/; q; }
8044 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .
; then
8045 { case "$ac_dest_dir" in
8046 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8049 as_dummy
="$ac_dest_dir"
8050 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8051 case $as_mkdir_dir in
8052 # Skip DOS drivespec
8053 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8055 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8056 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
8061 ac_dest_dir_suffix
="/`echo $ac_dest_dir|sed 's,^\./,,'`"
8062 # A "../" for each directory in $ac_dest_dir_suffix.
8063 ac_dots
=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
8065 ac_dest_dir_suffix
= ac_dots
=
8069 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
8070 *) ac_rel_source
=$ac_dots$srcdir/$ac_source ;;
8073 # Make a symlink if possible; otherwise try a hard link.
8074 ln -s $ac_rel_source $ac_dest 2>/dev
/null
||
8075 ln $srcdir/$ac_source $ac_dest ||
8076 { { echo "$as_me:8076: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
8077 echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
8078 { (exit 1); exit 1; }; }
8081 cat >>$CONFIG_STATUS <<\EOF
8084 # CONFIG_COMMANDS section.
8086 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8087 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8088 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8091 default
-1 ) test -z "$CONFIG_HEADERS" || echo timestamp
> stamp
-h ;;
8092 default
-2 ) case "$CONFIG_FILES" in *po
/Makefile.
in*)
8093 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
8099 cat >>$CONFIG_STATUS <<\EOF
8101 { (exit 0); exit 0; }
8103 chmod +x
$CONFIG_STATUS
8104 ac_clean_files
=$ac_clean_files_save
8106 test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }