2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.52g for GNU Bison 1.30j.
5 # Report bugs to <bug-bison@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
32 # Support unset when possible.
33 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
39 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
41 { LANG
=C
; export LANG
; }
42 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
44 { LC_ALL
=C
; export LC_ALL
; }
45 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
47 { LC_TIME
=C
; export LC_TIME
; }
48 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE
=C
; export LC_CTYPE
; }
51 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE
=C
; export LANGUAGE
; }
54 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE
=C
; export LC_COLLATE
; }
57 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
60 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
65 # Name of the executable.
66 as_me
=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits
='0123456789'
83 as_cr_alnum
=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! $SHELL" >conftest.sh
88 echo "exit 0" >>conftest.sh
90 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
101 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
107 *[\\/]* ) as_myself
=$0 ;;
108 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
112 test -z "$as_dir" && as_dir
=.
113 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x
; then
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
130 for as_dir
in /bin
:/usr
/bin
:$PATH
133 test -z "$as_dir" && as_dir
=.
134 for as_base
in sh bash ksh sh5
; do
137 if ("$as_dir/$as_base" -c '
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
143 CONFIG_SHELL
=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x
$as_me.lineno
||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c
*,-n*) ECHO_N
= ECHO_C
='
187 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
188 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.
file
199 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe
; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.
file conf$$
2>/dev
/null
; then
213 rm -f conf$$ conf$$.exe conf$$.
file
215 as_executable_p
="test -f"
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
225 # We need space, tab and new line, in precisely that order.
231 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
244 ac_default_prefix
=/usr
/local
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
256 # Identity of this package.
257 PACKAGE_NAME
='GNU Bison'
258 PACKAGE_TARNAME
='bison'
259 PACKAGE_VERSION
='1.30j'
260 PACKAGE_STRING
='GNU Bison 1.30j'
261 PACKAGE_BUGREPORT
='bug-bison@gnu.org'
263 # Factoring default headers for most tests.
264 ac_includes_default
="\
267 # include <sys/types.h>
270 # include <sys/stat.h>
281 # if !STDC_HEADERS && HAVE_MEMORY_H
287 # include <strings.h>
290 # include <inttypes.h>
301 # Initialize some variables set by options.
303 ac_init_version
=false
304 # The variables have the same names as the options, with
305 # dashes changed to underlines.
313 program_transform_name
=s
,x
,x
,
321 # Installation directory options.
322 # These are left unexpanded so users can "make install exec_prefix=/foo"
323 # and all the variables that are supposed to be based on exec_prefix
324 # by default will actually change.
325 # Use braces instead of parens because sh, perl, etc. also accept them.
326 bindir
='${exec_prefix}/bin'
327 sbindir
='${exec_prefix}/sbin'
328 libexecdir
='${exec_prefix}/libexec'
329 datadir
='${prefix}/share'
330 sysconfdir
='${prefix}/etc'
331 sharedstatedir
='${prefix}/com'
332 localstatedir
='${prefix}/var'
333 libdir
='${exec_prefix}/lib'
334 includedir
='${prefix}/include'
335 oldincludedir
='/usr/include'
336 infodir
='${prefix}/info'
337 mandir
='${prefix}/man'
342 # If the previous option needs an argument, assign it.
343 if test -n "$ac_prev"; then
344 eval "$ac_prev=\$ac_option"
349 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351 # Accept the important Cygnus configure options, so we can diagnose typos.
355 -bindir | --bindir | --bindi | --bind | --bin | --bi)
357 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
360 -build | --build | --buil | --bui | --bu)
361 ac_prev
=build_alias
;;
362 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
363 build_alias
=$ac_optarg ;;
365 -cache-file | --cache-file | --cache-fil | --cache-fi \
366 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
367 ac_prev
=cache_file
;;
368 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
369 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
370 cache_file
=$ac_optarg ;;
373 cache_file
=config.cache
;;
375 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
377 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
379 datadir
=$ac_optarg ;;
381 -disable-* | --disable-*)
382 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383 # Reject names that are not valid shell variable names.
384 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
385 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386 { (exit 1); exit 1; }; }
387 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
388 eval "enable_$ac_feature=no" ;;
390 -enable-* | --enable-*)
391 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392 # Reject names that are not valid shell variable names.
393 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
394 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
395 { (exit 1); exit 1; }; }
396 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
398 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401 eval "enable_$ac_feature='$ac_optarg'" ;;
403 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
404 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
405 | --exec | --exe | --ex)
406 ac_prev
=exec_prefix
;;
407 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
408 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
409 | --exec=* | --exe=* | --ex=*)
410 exec_prefix
=$ac_optarg ;;
412 -gas | --gas | --ga | --g)
413 # Obsolete; use --with-gas.
416 -help | --help | --hel | --he | -h)
418 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
419 ac_init_help
=recursive
;;
420 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
421 ac_init_help
=short
;;
423 -host | --host | --hos | --ho)
424 ac_prev
=host_alias
;;
425 -host=* | --host=* | --hos=* | --ho=*)
426 host_alias
=$ac_optarg ;;
428 -includedir | --includedir | --includedi | --included | --include \
429 | --includ | --inclu | --incl | --inc)
430 ac_prev
=includedir
;;
431 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
432 | --includ=* | --inclu=* | --incl=* | --inc=*)
433 includedir
=$ac_optarg ;;
435 -infodir | --infodir | --infodi | --infod | --info | --inf)
437 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
438 infodir
=$ac_optarg ;;
440 -libdir | --libdir | --libdi | --libd)
442 -libdir=* | --libdir=* | --libdi=* | --libd=*)
445 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
446 | --libexe | --libex | --libe)
447 ac_prev
=libexecdir
;;
448 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
449 | --libexe=* | --libex=* | --libe=*)
450 libexecdir
=$ac_optarg ;;
452 -localstatedir | --localstatedir | --localstatedi | --localstated \
453 | --localstate | --localstat | --localsta | --localst \
454 | --locals | --local | --loca | --loc | --lo)
455 ac_prev
=localstatedir
;;
456 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
457 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
458 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
459 localstatedir
=$ac_optarg ;;
461 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
463 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
467 # Obsolete; use --without-fp.
470 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
474 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
475 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
478 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
479 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
480 | --oldin | --oldi | --old | --ol | --o)
481 ac_prev
=oldincludedir
;;
482 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
483 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
484 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
485 oldincludedir
=$ac_optarg ;;
487 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
489 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
492 -program-prefix | --program-prefix | --program-prefi | --program-pref \
493 | --program-pre | --program-pr | --program-p)
494 ac_prev
=program_prefix
;;
495 -program-prefix=* | --program-prefix=* | --program-prefi=* \
496 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
497 program_prefix
=$ac_optarg ;;
499 -program-suffix | --program-suffix | --program-suffi | --program-suff \
500 | --program-suf | --program-su | --program-s)
501 ac_prev
=program_suffix
;;
502 -program-suffix=* | --program-suffix=* | --program-suffi=* \
503 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
504 program_suffix
=$ac_optarg ;;
506 -program-transform-name | --program-transform-name \
507 | --program-transform-nam | --program-transform-na \
508 | --program-transform-n | --program-transform- \
509 | --program-transform | --program-transfor \
510 | --program-transfo | --program-transf \
511 | --program-trans | --program-tran \
512 | --progr-tra | --program-tr | --program-t)
513 ac_prev
=program_transform_name
;;
514 -program-transform-name=* | --program-transform-name=* \
515 | --program-transform-nam=* | --program-transform-na=* \
516 | --program-transform-n=* | --program-transform-=* \
517 | --program-transform=* | --program-transfor=* \
518 | --program-transfo=* | --program-transf=* \
519 | --program-trans=* | --program-tran=* \
520 | --progr-tra=* | --program-tr=* | --program-t=*)
521 program_transform_name
=$ac_optarg ;;
523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
524 | -silent | --silent | --silen | --sile | --sil)
527 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
529 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
531 sbindir
=$ac_optarg ;;
533 -sharedstatedir | --sharedstatedir | --sharedstatedi \
534 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
535 | --sharedst | --shareds | --shared | --share | --shar \
537 ac_prev
=sharedstatedir
;;
538 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
539 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
540 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
542 sharedstatedir
=$ac_optarg ;;
544 -site | --site | --sit)
546 -site=* | --site=* | --sit=*)
549 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
551 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
554 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
555 | --syscon | --sysco | --sysc | --sys | --sy)
556 ac_prev
=sysconfdir
;;
557 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
558 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
559 sysconfdir
=$ac_optarg ;;
561 -target | --target | --targe | --targ | --tar | --ta | --t)
562 ac_prev
=target_alias
;;
563 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
564 target_alias
=$ac_optarg ;;
566 -v | -verbose | --verbose | --verbos | --verbo | --verb)
569 -version | --version | --versio | --versi | --vers | -V)
573 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574 # Reject names that are not valid shell variable names.
575 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
576 { echo "$as_me: error: invalid package name: $ac_package" >&2
577 { (exit 1); exit 1; }; }
578 ac_package
=`echo $ac_package| sed 's/-/_/g'`
580 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583 eval "with_$ac_package='$ac_optarg'" ;;
585 -without-* | --without-*)
586 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package | sed 's/-/_/g'`
592 eval "with_$ac_package=no" ;;
595 # Obsolete; use --with-x.
598 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
599 | --x-incl | --x-inc | --x-in | --x-i)
600 ac_prev
=x_includes
;;
601 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
602 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
603 x_includes
=$ac_optarg ;;
605 -x-libraries | --x-libraries | --x-librarie | --x-librari \
606 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
607 ac_prev
=x_libraries
;;
608 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
609 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
610 x_libraries
=$ac_optarg ;;
612 -*) { echo "$as_me: error: unrecognized option: $ac_option
613 Try \`$0 --help' for more information." >&2
614 { (exit 1); exit 1; }; }
618 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
621 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622 { (exit 1); exit 1; }; }
623 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624 eval "$ac_envvar='$ac_optarg'"
628 # FIXME: should be removed in autoconf 3.0.
629 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
631 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
638 if test -n "$ac_prev"; then
639 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
640 { echo "$as_me: error: missing argument to $ac_option" >&2
641 { (exit 1); exit 1; }; }
644 # Be sure to have absolute paths.
645 for ac_var
in exec_prefix prefix
647 eval ac_val
=$
`echo $ac_var`
649 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
650 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
655 # Be sure to have absolute paths.
656 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
659 eval ac_val
=$
`echo $ac_var`
661 [\\/$
]* | ?
:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
673 # FIXME: should be removed in autoconf 3.0.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures GNU Bison 1.30j to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
822 --build=BUILD configure
for building on BUILD
[guessed
]
823 --host=HOST build programs to run on HOST
[BUILD
]
827 if test -n "$ac_init_help"; then
828 case $ac_init_help in
829 short
| recursive
) echo "Configuration of GNU Bison 1.30j:";;
834 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
835 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
836 --disable-dependency-tracking Speeds up one
-time builds
837 --enable-dependency-tracking Do not reject slow dependency extractors
838 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
839 --disable-nls do not use Native Language Support
842 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
843 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
844 --with-dmalloc use dmalloc
, as
in
845 http
://www.dmalloc.com
/dmalloc.
tar.gz
846 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
847 --with-included-gettext use the GNU
gettext library included here
849 Some influential environment variables
:
850 CC C compiler
command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
853 nonstandard directory
<lib dir
>
854 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
855 headers
in a nonstandard directory
<include dir
>
858 Use these variables to override the choices made by
`configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
861 Report bugs to <bug-bison@gnu.org>.
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
877 ac_dir_suffix= ac_top_builddir=
881 .) # No --srcdir option. We are building in place.
883 if test -z "$ac_top_builddir"; then
886 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
897 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
899 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
903 # Check for guested configure; otherwise get Cygnus style configure.
904 if test -f $ac_srcdir/configure.gnu; then
906 $SHELL $ac_srcdir/configure.gnu --help=recursive
907 elif test -f $ac_srcdir/configure; then
909 $SHELL $ac_srcdir/configure --help=recursive
910 elif test -f $ac_srcdir/configure.ac ||
911 test -f $ac_srcdir/configure.in; then
915 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921 test -n "$ac_init_help" && exit 0
922 if $ac_init_version; then
924 GNU Bison configure 1.30j
925 generated by GNU Autoconf 2.52g
927 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
928 Free Software Foundation, Inc.
929 This configure script is free software; the Free Software Foundation
930 gives unlimited permission to copy, distribute and modify it.
936 This file contains any messages produced by compilers while
937 running configure, to aid debugging if configure makes a mistake.
939 It was created by GNU Bison $as_me 1.30j, which was
940 generated by GNU Autoconf 2.52g. Invocation command line was
951 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
952 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
953 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
954 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
955 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
957 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
958 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
960 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
961 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
962 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
963 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
964 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
965 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
966 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
974 test -z "$as_dir" && as_dir=.
990 # Keep a trace of the command line.
991 # Strip out --no-create and --no-recursion so they do not pile up.
992 # Also quote any args containing shell meta-characters.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c) continue ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1004 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1006 case " $ac_configure_args " in
1007 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1008 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1011 # Get rid of the leading space.
1014 # When interrupted or exit'd, cleanup temporary files, and complete
1015 # config.log. We remove comments because anyway the quotes in there
1016 # would cause problems or look ugly.
1017 # WARNING: Be sure not to use single quotes in there, as some shells,
1018 # such as our DU 5.0 friend, will then `close
' the trap.
1019 trap 'exit_status
=$?
1020 # Save into config.log some information that might help in debugging.
1024 ## ---------------- ##
1025 ## Cache variables. ##
1026 ## ---------------- ##
1029 # The following way of writing the cache mishandles newlines in values,
1032 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1035 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1040 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1045 if test -s confdefs.h
; then
1052 sed "/^$/d" confdefs.h
1055 test "$ac_signal" != 0 &&
1056 echo "$as_me: caught signal $ac_signal"
1057 echo "$as_me: exit $exit_status"
1059 rm -f core core.
* *.core
&&
1060 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1063 for ac_signal in 1 2 13 15; do
1064 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1068 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1069 rm -rf conftest* confdefs.h
1070 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1073 # Predefined preprocessor variables.
1075 cat >>confdefs.h <<_ACEOF
1076 #define PACKAGE_NAME "$PACKAGE_NAME"
1080 cat >>confdefs.h <<_ACEOF
1081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1085 cat >>confdefs.h <<_ACEOF
1086 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1090 cat >>confdefs.h <<_ACEOF
1091 #define PACKAGE_STRING "$PACKAGE_STRING"
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1100 # Let the site file select an alternate cache file if it wants to.
1101 # Prefer explicitly selected file to automatically selected ones.
1102 if test -z "$CONFIG_SITE"; then
1103 if test "x$prefix" != xNONE; then
1104 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1106 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1109 for ac_site_file in $CONFIG_SITE; do
1110 if test -r "$ac_site_file"; then
1111 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1112 echo "$as_me: loading site script $ac_site_file" >&6;}
1113 sed 's
/^
/| /' "$ac_site_file" >&5
1118 if test -r "$cache_file"; then
1119 # Some versions of bash will fail to source /dev/null (special
1120 # files actually), so we avoid doing that.
1121 if test -f "$cache_file"; then
1122 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1123 echo "$as_me: loading cache $cache_file" >&6;}
1125 [\\/]* | ?:[\\/]* ) . $cache_file;;
1126 *) . ./$cache_file;;
1130 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1131 echo "$as_me: creating cache $cache_file" >&6;}
1135 # Check that the precious variables saved in the cache have kept the same
1137 ac_cache_corrupted=false
1138 for ac_var in `(set) 2>&1 |
1139 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1140 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1141 eval ac_new_set=\$ac_env_${ac_var}_set
1142 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1143 eval ac_new_val="\$ac_env_${ac_var}_value"
1144 case $ac_old_set,$ac_new_set in
1146 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1147 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1148 ac_cache_corrupted=: ;;
1150 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1151 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1152 ac_cache_corrupted=: ;;
1155 if test "x$ac_old_val" != "x$ac_new_val"; then
1156 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1157 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1158 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1159 echo "$as_me: former value: $ac_old_val" >&2;}
1160 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1161 echo "$as_me: current value: $ac_new_val" >&2;}
1162 ac_cache_corrupted=:
1165 # Pass precious variables to config.status.
1166 if test "$ac_new_set" = set; then
1168 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1169 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1170 *) ac_arg=$ac_var=$ac_new_val ;;
1172 case " $ac_configure_args " in
1173 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1174 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1178 if $ac_cache_corrupted; then
1179 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1180 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1181 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1182 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1183 { (exit 1); exit 1; }; }
1187 ac_cpp='$CPP $CPPFLAGS'
1188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1189 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1218 for ac_dir in config $srcdir/config; do
1219 if test -f $ac_dir/install-sh; then
1221 ac_install_sh="$ac_aux_dir/install-sh -c"
1223 elif test -f $ac_dir/install.sh; then
1225 ac_install_sh="$ac_aux_dir/install.sh -c"
1227 elif test -f $ac_dir/shtool; then
1229 ac_install_sh="$ac_aux_dir/shtool install -c"
1233 if test -z "$ac_aux_dir"; then
1234 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1235 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1236 { (exit 1); exit 1; }; }
1238 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1239 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1240 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1243 # Find a good install program. We prefer a C program (faster),
1244 # so one script is as good as another. But avoid the broken or
1245 # incompatible versions:
1246 # SysV /etc/install, /usr/sbin/install
1247 # SunOS /usr/etc/install
1248 # IRIX /sbin/install
1250 # AmigaOS /C/install, which installs bootblocks on floppy discs
1251 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1254 # ./install, which can be erroneously created by make from ./install.sh.
1255 echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
1256 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1257 if test -z "$INSTALL"; then
1258 if test "${ac_cv_path_install+set}" = set; then
1259 echo $ECHO_N "(cached) $ECHO_C" >&6
1261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1265 test -z "$as_dir" && as_dir
=.
1266 # Account for people who put trailing slashes in PATH elements.
1268 .
/ | .
// | /cC
/* | \
1269 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1272 # OSF1 and SCO ODT 3.0 have their own names for install.
1273 # Don't use installbsd from OSF since it installs stuff as root
1275 for ac_prog
in ginstall scoinst
install; do
1276 for ac_exec_ext
in '' $ac_executable_extensions; do
1277 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1278 if test $ac_prog = install &&
1279 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1280 # AIX install. It has an incompatible calling convention.
1282 elif test $ac_prog = install &&
1283 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1284 # program-specific install script used by HP pwplus--don't use.
1287 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1299 if test "${ac_cv_path_install+set}" = set; then
1300 INSTALL
=$ac_cv_path_install
1302 # As a last resort, use the slow shell script. We don't cache a
1303 # path for INSTALL within a source directory, because that will
1304 # break other packages using the cache if that directory is
1305 # removed, or if the path is relative.
1306 INSTALL
=$ac_install_sh
1309 echo "$as_me:$LINENO: result: $INSTALL" >&5
1310 echo "${ECHO_T}$INSTALL" >&6
1312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1313 # It thinks the first close brace ends the variable substitution.
1314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1318 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1320 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1321 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1324 echo timestamp
> conftest.
file
1325 # Do `set' in a subshell so we don't clobber the current shell's
1326 # arguments. Must try -L first in case configure is actually a
1327 # symlink; some systems play weird games with the mod time of symlinks
1328 # (eg FreeBSD returns the mod time of the symlink's containing
1331 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1332 if test "$*" = "X"; then
1334 set X
`ls -t $srcdir/configure conftest.file`
1337 if test "$*" != "X $srcdir/configure conftest.file" \
1338 && test "$*" != "X conftest.file $srcdir/configure"; then
1340 # If neither matched, then we have a broken ls. This can happen
1341 # if, for instance, CONFIG_SHELL is bash and it inherits a
1342 # broken ls alias from the environment. This has actually
1343 # happened. Such a system could not be considered "sane".
1344 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1345 alias in your environment" >&5
1346 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1347 alias in your environment" >&2;}
1348 { (exit 1); exit 1; }; }
1351 test "$2" = conftest.
file
1357 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1358 Check your system clock" >&5
1359 echo "$as_me: error: newly created file is older than distributed files!
1360 Check your system clock" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: result: yes" >&5
1364 echo "${ECHO_T}yes" >&6
1365 test "$program_prefix" != NONE
&&
1366 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1367 # Use a double $ so make ignores it.
1368 test "$program_suffix" != NONE
&&
1369 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1370 # Double any \ or $. echo might interpret backslashes.
1371 # By default was `s,x,x', remove it if useless.
1372 cat <<\_ACEOF
>conftest.
sed
1373 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1375 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1379 # expand $ac_aux_dir to an absolute path
1380 am_aux_dir
=`cd $ac_aux_dir && pwd`
1382 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1383 # Use eval to expand $SHELL
1384 if eval "$MISSING --run true"; then
1385 am_missing_run
="$MISSING --run "
1388 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1389 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1392 for ac_prog
in gawk mawk nawk
awk
1394 # Extract the first word of "$ac_prog", so it can be a program name with args.
1395 set dummy
$ac_prog; ac_word
=$2
1396 echo "$as_me:$LINENO: checking for $ac_word" >&5
1397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1398 if test "${ac_cv_prog_AWK+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 if test -n "$AWK"; then
1402 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1408 test -z "$as_dir" && as_dir
=.
1409 for ac_exec_ext
in '' $ac_executable_extensions; do
1410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1411 ac_cv_prog_AWK
="$ac_prog"
1412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 if test -n "$AWK"; then
1422 echo "$as_me:$LINENO: result: $AWK" >&5
1423 echo "${ECHO_T}$AWK" >&6
1425 echo "$as_me:$LINENO: result: no" >&5
1426 echo "${ECHO_T}no" >&6
1429 test -n "$AWK" && break
1432 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1433 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1434 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1435 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 cat >conftest.
make <<\_ACEOF
1440 @
echo 'ac_maketemp="${MAKE}"'
1442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1443 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1444 if test -n "$ac_maketemp"; then
1445 eval ac_cv_prog_make_
${ac_make}_set
=yes
1447 eval ac_cv_prog_make_
${ac_make}_set
=no
1451 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1452 echo "$as_me:$LINENO: result: yes" >&5
1453 echo "${ECHO_T}yes" >&6
1456 echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1458 SET_MAKE
="MAKE=${MAKE-make}"
1461 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1462 if test "${enable_dependency_tracking+set}" = set; then
1463 enableval
="$enable_dependency_tracking"
1466 if test "x$enable_dependency_tracking" != xno
; then
1467 am_depcomp
="$ac_aux_dir/depcomp"
1472 if test "x$enable_dependency_tracking" != xno; then
1482 rm -f .deps
2>/dev
/null
1483 mkdir .deps
2>/dev
/null
1484 if test -d .deps
; then
1487 # MS-DOS does not allow filenames that begin with a dot.
1490 rmdir .deps
2>/dev
/null
1493 # test to see if srcdir already configured
1494 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1495 test -f $srcdir/config.status
; then
1496 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1497 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1498 { (exit 1); exit 1; }; }
1501 # Define the identity of the package.
1505 cat >>confdefs.h
<<_ACEOF
1506 #define PACKAGE "$PACKAGE"
1510 cat >>confdefs.h
<<_ACEOF
1511 #define VERSION "$VERSION"
1516 # Some tools Automake needs.
1518 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1521 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1524 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1527 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1530 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1533 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1535 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1537 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1539 # We need awk for the "check" target. The system "awk" is bad on
1542 # Add the stamp file to the list of files AC keeps track of,
1543 # along with our hook.
1544 ac_config_headers
="$ac_config_headers config.h:config.hin"
1549 # Initialize the test suite.
1550 ac_config_commands
="$ac_config_commands tests/atconfig"
1553 ac_config_files
="$ac_config_files tests/bison"
1555 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
1557 # Needed by tests/atlocal.in.
1560 # Checks for programs.
1562 ac_cpp
='$CPP $CPPFLAGS'
1563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1568 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$CC"; then
1575 ac_cv_prog_CC
="$CC" # Let the user override the test.
1577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir
=.
1582 for ac_exec_ext
in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$ac_cv_prog_CC"; then
1605 # Extract the first word of "gcc", so it can be a program name with args.
1606 set dummy gcc
; ac_word
=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$ac_ct_CC"; then
1613 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir
=.
1620 for ac_exec_ext
in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_ac_ct_CC
="gcc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1632 if test -n "$ac_ct_CC"; then
1633 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1634 echo "${ECHO_T}$ac_ct_CC" >&6
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1645 if test -z "$CC"; then
1646 if test -n "$ac_tool_prefix"; then
1647 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1648 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC
="$CC" # Let the user override the test.
1657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir
=.
1662 for ac_exec_ext
in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 if test -n "$CC"; then
1675 echo "$as_me:$LINENO: result: $CC" >&5
1676 echo "${ECHO_T}$CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1683 if test -z "$ac_cv_prog_CC"; then
1685 # Extract the first word of "cc", so it can be a program name with args.
1686 set dummy cc
; ac_word
=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$ac_ct_CC"; then
1693 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir
=.
1700 for ac_exec_ext
in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 ac_cv_prog_ac_ct_CC
="cc"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1712 if test -n "$ac_ct_CC"; then
1713 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1714 echo "${ECHO_T}$ac_ct_CC" >&6
1716 echo "$as_me:$LINENO: result: no" >&5
1717 echo "${ECHO_T}no" >&6
1726 if test -z "$CC"; then
1727 # Extract the first word of "cc", so it can be a program name with args.
1728 set dummy cc
; ac_word
=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$CC"; then
1735 ac_cv_prog_CC
="$CC" # Let the user override the test.
1738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir
=.
1743 for ac_exec_ext
in '' $ac_executable_extensions; do
1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1746 ac_prog_rejected
=yes
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 if test $ac_prog_rejected = yes; then
1757 # We found a bogon in the path, so make sure we never use it.
1758 set dummy
$ac_cv_prog_CC
1760 if test $# != 0; then
1761 # We chose a different compiler from the bogus one.
1762 # However, it has the same basename, so the bogon will be chosen
1763 # first if we set CC to just the basename; use the full file name.
1765 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1782 if test -z "$CC"; then
1783 if test -n "$ac_tool_prefix"; then
1786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1787 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$CC"; then
1794 ac_cv_prog_CC
="$CC" # Let the user override the test.
1796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir
=.
1801 for ac_exec_ext
in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 if test -n "$CC"; then
1814 echo "$as_me:$LINENO: result: $CC" >&5
1815 echo "${ECHO_T}$CC" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1821 test -n "$CC" && break
1824 if test -z "$CC"; then
1828 # Extract the first word of "$ac_prog", so it can be a program name with args.
1829 set dummy
$ac_prog; ac_word
=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 if test -n "$ac_ct_CC"; then
1836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir
=.
1843 for ac_exec_ext
in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_ac_ct_CC
="$ac_prog"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1855 if test -n "$ac_ct_CC"; then
1856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1857 echo "${ECHO_T}$ac_ct_CC" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1863 test -n "$ac_ct_CC" && break
1872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
1873 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1874 { (exit 1); exit 1; }; }
1876 # Provide some information about the compiler.
1877 echo "$as_me:$LINENO:" \
1878 "checking for C compiler version" >&5
1879 ac_compiler
=`set X $ac_compile; echo $2`
1880 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1881 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }
1885 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1886 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }
1890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1891 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }
1896 cat >conftest.
$ac_ext <<_ACEOF
1897 #line $LINENO "configure"
1898 #include "confdefs.h"
1900 #ifdef F77_DUMMY_MAIN
1904 int F77_DUMMY_MAIN() { return 1; }
1914 ac_clean_files_save
=$ac_clean_files
1915 ac_clean_files
="$ac_clean_files a.out a.exe"
1916 # Try to create an executable without -o first, disregard a.out.
1917 # It will help us diagnose broken compilers, and finding out an intuition
1919 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1920 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1921 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1922 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1923 (eval $ac_link_default) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }; then
1927 # Find the output, starting from the most likely. This scheme is
1928 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1930 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1931 ls a.out conftest 2>/dev/null;
1932 ls a.* conftest.* 2>/dev/null`; do
1934 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1935 a.out
) # We found the default executable, but exeext='' is most
1938 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1939 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1946 echo "$as_me: failed program was:" >&5
1947 cat conftest.
$ac_ext >&5
1948 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1949 echo "$as_me: error: C compiler cannot create executables" >&2;}
1950 { (exit 77); exit 77; }; }
1953 ac_exeext
=$ac_cv_exeext
1954 echo "$as_me:$LINENO: result: $ac_file" >&5
1955 echo "${ECHO_T}$ac_file" >&6
1957 # Check the compiler produces executables we can run. If not, either
1958 # the compiler is broken, or we cross compile.
1959 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1960 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1961 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1962 # If not cross compiling, check that we can run a simple program.
1963 if test "$cross_compiling" != yes; then
1964 if { ac_try
='./$ac_file'
1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1972 if test "$cross_compiling" = maybe
; then
1975 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1976 If you meant to cross compile, use \`--host'." >&5
1977 echo "$as_me: error: cannot run C compiled programs.
1978 If you meant to cross compile, use \`--host'." >&2;}
1979 { (exit 1); exit 1; }; }
1983 echo "$as_me:$LINENO: result: yes" >&5
1984 echo "${ECHO_T}yes" >&6
1986 rm -f a.out a.exe conftest
$ac_cv_exeext
1987 ac_clean_files
=$ac_clean_files_save
1988 # Check the compiler produces executables we can run. If not, either
1989 # the compiler is broken, or we cross compile.
1990 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1991 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1992 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1993 echo "${ECHO_T}$cross_compiling" >&6
1995 echo "$as_me:$LINENO: checking for executable suffix" >&5
1996 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1998 (eval $ac_link) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; then
2002 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2003 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2004 # work properly (i.e., refer to `conftest.exe'), while it won't with
2006 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2008 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2009 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2016 { { echo "$as_me:$LINENO: error: cannot compute EXEEXT: cannot compile and link" >&5
2017 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2018 { (exit 1); exit 1; }; }
2021 rm -f conftest
$ac_cv_exeext
2022 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2023 echo "${ECHO_T}$ac_cv_exeext" >&6
2025 rm -f conftest.
$ac_ext
2026 EXEEXT
=$ac_cv_exeext
2028 echo "$as_me:$LINENO: checking for object suffix" >&5
2029 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2030 if test "${ac_cv_objext+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
$ac_ext <<_ACEOF
2034 #line $LINENO "configure"
2035 #include "confdefs.h"
2037 #ifdef F77_DUMMY_MAIN
2041 int F77_DUMMY_MAIN() { return 1; }
2051 rm -f conftest.o conftest.obj
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2059 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2060 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2065 echo "$as_me: failed program was:" >&5
2066 cat conftest.
$ac_ext >&5
2067 { { echo "$as_me:$LINENO: error: cannot compute OBJEXT: cannot compile" >&5
2068 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2069 { (exit 1); exit 1; }; }
2072 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2074 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2075 echo "${ECHO_T}$ac_cv_objext" >&6
2076 OBJEXT
=$ac_cv_objext
2078 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2079 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2080 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 cat >conftest.
$ac_ext <<_ACEOF
2084 #line $LINENO "configure"
2085 #include "confdefs.h"
2087 #ifdef F77_DUMMY_MAIN
2091 int F77_DUMMY_MAIN() { return 1; }
2104 rm -f conftest.
$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); } &&
2110 { ac_try
='test -s conftest.$ac_objext'
2111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; }; then
2118 echo "$as_me: failed program was:" >&5
2119 cat conftest.
$ac_ext >&5
2122 rm -f conftest.
$ac_objext conftest.
$ac_ext
2123 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2126 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2127 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2128 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2129 ac_test_CFLAGS
=${CFLAGS+set}
2130 ac_save_CFLAGS
=$CFLAGS
2132 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2133 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2134 if test "${ac_cv_prog_cc_g+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 cat >conftest.
$ac_ext <<_ACEOF
2138 #line $LINENO "configure"
2139 #include "confdefs.h"
2141 #ifdef F77_DUMMY_MAIN
2145 int F77_DUMMY_MAIN() { return 1; }
2155 rm -f conftest.
$ac_objext
2156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2157 (eval $ac_compile) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -s conftest.$ac_objext'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; }; then
2169 echo "$as_me: failed program was:" >&5
2170 cat conftest.
$ac_ext >&5
2173 rm -f conftest.
$ac_objext conftest.
$ac_ext
2175 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2176 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2177 if test "$ac_test_CFLAGS" = set; then
2178 CFLAGS
=$ac_save_CFLAGS
2179 elif test $ac_cv_prog_cc_g = yes; then
2180 if test "$GCC" = yes; then
2186 if test "$GCC" = yes; then
2192 # Some people use a C++ compiler to compile C. Since we use `exit',
2193 # in C++ we need to declare it. In case someone uses the same compiler
2194 # for both compiling C and C++ we need to have the C++ compiler decide
2195 # the declaration of exit, since it's the most demanding environment.
2196 cat >conftest.
$ac_ext <<_ACEOF
2201 rm -f conftest.
$ac_objext
2202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2203 (eval $ac_compile) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try
='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2213 for ac_declaration
in \
2215 '#include <stdlib.h>' \
2216 'extern "C" void std::exit (int) throw (); using std::exit;' \
2217 'extern "C" void std::exit (int); using std::exit;' \
2218 'extern "C" void exit (int) throw ();' \
2219 'extern "C" void exit (int);' \
2222 cat >conftest.
$ac_ext <<_ACEOF
2223 #line $LINENO "configure"
2224 #include "confdefs.h"
2227 #ifdef F77_DUMMY_MAIN
2231 int F77_DUMMY_MAIN() { return 1; }
2241 rm -f conftest.
$ac_objext
2242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } &&
2247 { ac_try
='test -s conftest.$ac_objext'
2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; }; then
2255 echo "$as_me: failed program was:" >&5
2256 cat conftest.
$ac_ext >&5
2259 rm -f conftest.
$ac_objext conftest.
$ac_ext
2260 cat >conftest.
$ac_ext <<_ACEOF
2261 #line $LINENO "configure"
2262 #include "confdefs.h"
2264 #ifdef F77_DUMMY_MAIN
2268 int F77_DUMMY_MAIN() { return 1; }
2278 rm -f conftest.
$ac_objext
2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2280 (eval $ac_compile) 2>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 cat conftest.
$ac_ext >&5
2295 rm -f conftest.
$ac_objext conftest.
$ac_ext
2298 if test -n "$ac_declaration"; then
2299 echo '#ifdef __cplusplus' >>confdefs.h
2300 echo $ac_declaration >>confdefs.h
2301 echo '#endif' >>confdefs.h
2305 echo "$as_me: failed program was:" >&5
2306 cat conftest.
$ac_ext >&5
2308 rm -f conftest.
$ac_objext conftest.
$ac_ext
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2314 ac_config_commands
="$ac_config_commands depfiles"
2317 am_make
=${MAKE-make}
2318 cat > confinc
<< 'END'
2322 # If we don't find an include directive, just comment out the code.
2323 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2324 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2328 # First try GNU make style include.
2329 echo "include confinc" > confmf
2330 # We grep out `Entering directory' and `Leaving directory'
2331 # messages which can occur if `w' ends up in MAKEFLAGS.
2332 # In particular we don't look at `^make:' because GNU make might
2333 # be invoked under some other name (usually "gmake"), in which
2334 # case it prints its new name instead of `make'.
2335 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2340 # Now try BSD make style include.
2341 if test "$am__include" = "#"; then
2342 echo '.include "confinc"' > confmf
2343 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2344 am__include
=.include
2351 echo "$as_me:$LINENO: result: $_am_result" >&5
2352 echo "${ECHO_T}$_am_result" >&6
2353 rm -f confinc confmf
2356 depcc
="$CC" am_compiler_list
=
2358 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2359 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2360 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2364 # We make a subdir and do the tests there. Otherwise we can end up
2365 # making bogus files that we don't know about and never remove. For
2366 # instance it was reported that on HP-UX the gcc test will end up
2367 # making a dummy file named `D' -- because `-MD' means `put the output
2370 # Copy depcomp to subdir because otherwise we won't find it if we're
2371 # using a relative directory.
2372 cp "$am_depcomp" conftest.dir
2375 am_cv_CC_dependencies_compiler_type
=none
2376 if test "$am_compiler_list" = ""; then
2377 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2379 for depmode
in $am_compiler_list; do
2380 # We need to recreate these files for each test, as the compiler may
2381 # overwrite some of them when testing with obscure command lines.
2382 # This happens at least with the AIX C compiler.
2383 echo '#include "conftest.h"' > conftest.c
2384 echo 'int i;' > conftest.h
2385 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2389 # after this tag, mechanisms are not by side-effect, so they'll
2390 # only be used when explicitly requested
2391 if test "x$enable_dependency_tracking" = xyes
; then
2399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2400 # mode. It turns out that the SunPro C++ compiler does not properly
2401 # handle `-M -o', and we need to detect this.
2402 if depmode
=$depmode \
2403 source=conftest.c object
=conftest.o \
2404 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2405 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2406 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2407 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2408 am_cv_CC_dependencies_compiler_type
=$depmode
2416 am_cv_CC_dependencies_compiler_type
=none
2420 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2422 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2427 ac_cpp
='$CPP $CPPFLAGS'
2428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2431 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2432 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2433 # On Suns, sometimes $CPP names a directory.
2434 if test -n "$CPP" && test -d "$CPP"; then
2437 if test -z "$CPP"; then
2438 if test "${ac_cv_prog_CPP+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 # Double quotes because CPP needs to be expanded
2442 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2445 for ac_c_preproc_warn_flag
in '' yes
2447 # Use a header file that comes with gcc, so configuring glibc
2448 # with a fresh cross-compiler works.
2449 # On the NeXT, cc -E runs the code through the compiler's parser,
2450 # not just through cpp. "Syntax error" is here to catch this case.
2451 cat >conftest.
$ac_ext <<_ACEOF
2452 #line $LINENO "configure"
2453 #include "confdefs.h"
2457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2460 egrep -v '^ *\+' conftest.er1
>conftest.err
2462 cat conftest.err
>&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } >/dev
/null
; then
2465 if test -s conftest.err
; then
2466 ac_cpp_err
=$ac_c_preproc_warn_flag
2473 if test -z "$ac_cpp_err"; then
2476 echo "$as_me: failed program was:" >&5
2477 cat conftest.
$ac_ext >&5
2478 # Broken: fails on valid input.
2481 rm -f conftest.err conftest.
$ac_ext
2483 # OK, works on sane cases. Now check whether non-existent headers
2484 # can be detected and how.
2485 cat >conftest.
$ac_ext <<_ACEOF
2486 #line $LINENO "configure"
2487 #include "confdefs.h"
2488 #include <ac_nonexistent.h>
2490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2493 egrep -v '^ *\+' conftest.er1
>conftest.err
2495 cat conftest.err
>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } >/dev
/null
; then
2498 if test -s conftest.err
; then
2499 ac_cpp_err
=$ac_c_preproc_warn_flag
2506 if test -z "$ac_cpp_err"; then
2507 # Broken: success on invalid input.
2510 echo "$as_me: failed program was:" >&5
2511 cat conftest.
$ac_ext >&5
2512 # Passes both tests.
2516 rm -f conftest.err conftest.
$ac_ext
2519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2520 rm -f conftest.err conftest.
$ac_ext
2521 if $ac_preproc_ok; then
2533 echo "$as_me:$LINENO: result: $CPP" >&5
2534 echo "${ECHO_T}$CPP" >&6
2536 for ac_c_preproc_warn_flag
in '' yes
2538 # Use a header file that comes with gcc, so configuring glibc
2539 # with a fresh cross-compiler works.
2540 # On the NeXT, cc -E runs the code through the compiler's parser,
2541 # not just through cpp. "Syntax error" is here to catch this case.
2542 cat >conftest.
$ac_ext <<_ACEOF
2543 #line $LINENO "configure"
2544 #include "confdefs.h"
2548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2551 egrep -v '^ *\+' conftest.er1
>conftest.err
2553 cat conftest.err
>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } >/dev
/null
; then
2556 if test -s conftest.err
; then
2557 ac_cpp_err
=$ac_c_preproc_warn_flag
2564 if test -z "$ac_cpp_err"; then
2567 echo "$as_me: failed program was:" >&5
2568 cat conftest.
$ac_ext >&5
2569 # Broken: fails on valid input.
2572 rm -f conftest.err conftest.
$ac_ext
2574 # OK, works on sane cases. Now check whether non-existent headers
2575 # can be detected and how.
2576 cat >conftest.
$ac_ext <<_ACEOF
2577 #line $LINENO "configure"
2578 #include "confdefs.h"
2579 #include <ac_nonexistent.h>
2581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2584 egrep -v '^ *\+' conftest.er1
>conftest.err
2586 cat conftest.err
>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } >/dev
/null
; then
2589 if test -s conftest.err
; then
2590 ac_cpp_err
=$ac_c_preproc_warn_flag
2597 if test -z "$ac_cpp_err"; then
2598 # Broken: success on invalid input.
2601 echo "$as_me: failed program was:" >&5
2602 cat conftest.
$ac_ext >&5
2603 # Passes both tests.
2607 rm -f conftest.err conftest.
$ac_ext
2610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2611 rm -f conftest.err conftest.
$ac_ext
2612 if $ac_preproc_ok; then
2615 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2616 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2617 { (exit 1); exit 1; }; }
2621 ac_cpp
='$CPP $CPPFLAGS'
2622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2627 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2628 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2629 if test "${ac_cv_header_stdc+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 cat >conftest.
$ac_ext <<_ACEOF
2633 #line $LINENO "configure"
2634 #include "confdefs.h"
2641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2644 egrep -v '^ *\+' conftest.er1
>conftest.err
2646 cat conftest.err
>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } >/dev
/null
; then
2649 if test -s conftest.err
; then
2650 ac_cpp_err
=$ac_c_preproc_warn_flag
2657 if test -z "$ac_cpp_err"; then
2658 ac_cv_header_stdc
=yes
2660 echo "$as_me: failed program was:" >&5
2661 cat conftest.
$ac_ext >&5
2662 ac_cv_header_stdc
=no
2664 rm -f conftest.err conftest.
$ac_ext
2666 if test $ac_cv_header_stdc = yes; then
2667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2668 cat >conftest.
$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2670 #include "confdefs.h"
2674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2675 egrep "memchr" >/dev
/null
2>&1; then
2678 ac_cv_header_stdc
=no
2684 if test $ac_cv_header_stdc = yes; then
2685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2686 cat >conftest.
$ac_ext <<_ACEOF
2687 #line $LINENO "configure"
2688 #include "confdefs.h"
2692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2693 egrep "free" >/dev
/null
2>&1; then
2696 ac_cv_header_stdc
=no
2702 if test $ac_cv_header_stdc = yes; then
2703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2704 if test "$cross_compiling" = yes; then
2707 cat >conftest.
$ac_ext <<_ACEOF
2708 #line $LINENO "configure"
2709 #include "confdefs.h"
2711 #if ((' ' & 0x0FF) == 0x020)
2712 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2713 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2715 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2716 || ('j' <= (c) && (c) <= 'r') \
2717 || ('s' <= (c) && (c) <= 'z'))
2718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2726 for (i = 0; i < 256; i++)
2727 if (XOR (islower (i), ISLOWER (i))
2728 || toupper (i) != TOUPPER (i))
2733 rm -f conftest
$ac_exeext
2734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2735 (eval $ac_link) 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2746 echo "$as_me: program exited with status $ac_status" >&5
2747 echo "$as_me: failed program was:" >&5
2748 cat conftest.
$ac_ext >&5
2750 ac_cv_header_stdc
=no
2752 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2756 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2757 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2758 if test $ac_cv_header_stdc = yes; then
2760 cat >>confdefs.h
<<\_ACEOF
2761 #define STDC_HEADERS 1
2766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2776 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2777 inttypes.h stdint.h unistd.h
2779 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2780 echo "$as_me:$LINENO: checking for $ac_header" >&5
2781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 cat >conftest.
$ac_ext <<_ACEOF
2786 #line $LINENO "configure"
2787 #include "confdefs.h"
2788 $ac_includes_default
2790 #include <$ac_header>
2792 rm -f conftest.
$ac_objext
2793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2794 (eval $ac_compile) 2>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } &&
2798 { ac_try
='test -s conftest.$ac_objext'
2799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 eval "$as_ac_Header=yes"
2806 echo "$as_me: failed program was:" >&5
2807 cat conftest.
$ac_ext >&5
2808 eval "$as_ac_Header=no"
2810 rm -f conftest.
$ac_objext conftest.
$ac_ext
2812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2815 cat >>confdefs.h
<<_ACEOF
2816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2824 if test "${ac_cv_header_minix_config_h+set}" = set; then
2825 echo "$as_me:$LINENO: checking for minix/config.h" >&5
2826 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2827 if test "${ac_cv_header_minix_config_h+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
2831 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2833 # Is the header compilable?
2834 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
2835 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2836 cat >conftest.
$ac_ext <<_ACEOF
2837 #line $LINENO "configure"
2838 #include "confdefs.h"
2839 $ac_includes_default
2840 #include <minix/config.h>
2842 rm -f conftest.
$ac_objext
2843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2844 (eval $ac_compile) 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try
='test -s conftest.$ac_objext'
2849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; }; then
2854 ac_header_compiler
=yes
2856 echo "$as_me: failed program was:" >&5
2857 cat conftest.
$ac_ext >&5
2858 ac_header_compiler
=no
2860 rm -f conftest.
$ac_objext conftest.
$ac_ext
2861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2862 echo "${ECHO_T}$ac_header_compiler" >&6
2864 # Is the header present?
2865 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
2866 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2867 cat >conftest.
$ac_ext <<_ACEOF
2868 #line $LINENO "configure"
2869 #include "confdefs.h"
2870 #include <minix/config.h>
2872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2875 egrep -v '^ *\+' conftest.er1
>conftest.err
2877 cat conftest.err
>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } >/dev
/null
; then
2880 if test -s conftest.err
; then
2881 ac_cpp_err
=$ac_c_preproc_warn_flag
2888 if test -z "$ac_cpp_err"; then
2889 ac_header_preproc
=yes
2891 echo "$as_me: failed program was:" >&5
2892 cat conftest.
$ac_ext >&5
2893 ac_header_preproc
=no
2895 rm -f conftest.err conftest.
$ac_ext
2896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2897 echo "${ECHO_T}$ac_header_preproc" >&6
2899 # So? What about this header?
2900 case $ac_header_compiler:$ac_header_preproc in
2902 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2903 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2904 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2905 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2907 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled." >&5
2908 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
2910 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
2911 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2912 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2914 echo "$as_me:$LINENO: checking for minix/config.h" >&5
2915 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2916 if test "${ac_cv_header_minix_config_h+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 ac_cv_header_minix_config_h
=$ac_header_preproc
2921 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
2922 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2925 if test $ac_cv_header_minix_config_h = yes; then
2932 if test "$MINIX" = yes; then
2934 cat >>confdefs.h
<<\_ACEOF
2935 #define _POSIX_SOURCE 1
2939 cat >>confdefs.h
<<\_ACEOF
2940 #define _POSIX_1_SOURCE 2
2944 cat >>confdefs.h
<<\_ACEOF
2951 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2952 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2953 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 ac_check_lib_save_LIBS
=$LIBS
2957 LIBS
="-lcposix $LIBS"
2958 cat >conftest.
$ac_ext <<_ACEOF
2959 #line $LINENO "configure"
2960 #include "confdefs.h"
2962 /* Override any gcc2 internal prototype to avoid an error. */
2966 /* We use char because int might match the return type of a gcc2
2967 builtin and then its argument prototype would still apply. */
2969 #ifdef F77_DUMMY_MAIN
2973 int F77_DUMMY_MAIN() { return 1; }
2983 rm -f conftest.
$ac_objext conftest
$ac_exeext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2985 (eval $ac_link) 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } &&
2989 { ac_try
='test -s conftest$ac_exeext'
2990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; }; then
2995 ac_cv_lib_cposix_strerror
=yes
2997 echo "$as_me: failed program was:" >&5
2998 cat conftest.
$ac_ext >&5
2999 ac_cv_lib_cposix_strerror
=no
3001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3002 LIBS
=$ac_check_lib_save_LIBS
3004 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3005 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3006 if test $ac_cv_lib_cposix_strerror = yes; then
3007 LIBS
="$LIBS -lcposix"
3015 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3016 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3017 if test "${am_cv_prog_cc_stdc+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 am_cv_prog_cc_stdc
=no
3022 # Don't try gcc -ansi; that turns off useful extensions and
3023 # breaks some systems' header files.
3024 # AIX -qlanglvl=ansi
3025 # Ultrix and OSF/1 -std1
3026 # HP-UX 10.20 and later -Ae
3027 # HP-UX older versions -Aa -D_HPUX_SOURCE
3028 # SVR4 -Xc -D__EXTENSIONS__
3029 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3031 CC
="$ac_save_CC $ac_arg"
3032 cat >conftest.
$ac_ext <<_ACEOF
3033 #line $LINENO "configure"
3034 #include "confdefs.h"
3037 #include <sys/types.h>
3038 #include <sys/stat.h>
3039 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3040 struct buf { int x; };
3041 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3042 static char *e (p, i)
3048 static char *f (char * (*g) (char **, int), char **p, ...)
3053 s = g (p, va_arg (v,int));
3057 int test (int i, double x);
3058 struct s1 {int (*f) (int a);};
3059 struct s2 {int (*f) (double a);};
3060 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3064 #ifdef F77_DUMMY_MAIN
3068 int F77_DUMMY_MAIN() { return 1; }
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3080 rm -f conftest.
$ac_objext
3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3082 (eval $ac_compile) 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try
='test -s conftest.$ac_objext'
3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; }; then
3092 am_cv_prog_cc_stdc
="$ac_arg"; break
3094 echo "$as_me: failed program was:" >&5
3095 cat conftest.
$ac_ext >&5
3097 rm -f conftest.
$ac_objext conftest.
$ac_ext
3103 if test -z "$am_cv_prog_cc_stdc"; then
3104 echo "$as_me:$LINENO: result: none needed" >&5
3105 echo "${ECHO_T}none needed" >&6
3107 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3108 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3110 case "x$am_cv_prog_cc_stdc" in
3112 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3115 if test -n "$ac_tool_prefix"; then
3116 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3117 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_RANLIB+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$RANLIB"; then
3124 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 RANLIB
=$ac_cv_prog_RANLIB
3143 if test -n "$RANLIB"; then
3144 echo "$as_me:$LINENO: result: $RANLIB" >&5
3145 echo "${ECHO_T}$RANLIB" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3152 if test -z "$ac_cv_prog_RANLIB"; then
3153 ac_ct_RANLIB
=$RANLIB
3154 # Extract the first word of "ranlib", so it can be a program name with args.
3155 set dummy ranlib
; ac_word
=$2
3156 echo "$as_me:$LINENO: checking for $ac_word" >&5
3157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3158 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 if test -n "$ac_ct_RANLIB"; then
3162 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3181 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3182 if test -n "$ac_ct_RANLIB"; then
3183 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3184 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3190 RANLIB
=$ac_ct_RANLIB
3192 RANLIB
="$ac_cv_prog_RANLIB"
3196 AUTOM4TE
=${AUTOM4TE-"${am_missing_run}autom4te"}
3199 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
3200 if test "${enable_gcc_warnings+set}" = set; then
3201 enableval
="$enable_gcc_warnings"
3202 case "${enableval}" in
3204 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for gcc-warnings option" >&5
3205 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
3206 { (exit 1); exit 1; }; } ;;
3211 if test "${enableval}" = yes; then
3212 echo "$as_me:$LINENO: checking whether compiler accepts -Werror" >&5
3213 echo $ECHO_N "checking whether compiler accepts -Werror... $ECHO_C" >&6
3215 ac_save_CFLAGS
="$CFLAGS"
3216 CFLAGS
="$CFLAGS -Werror"
3217 cat >conftest.
$ac_ext <<_ACEOF
3218 #line $LINENO "configure"
3219 #include "confdefs.h"
3221 #ifdef F77_DUMMY_MAIN
3225 int F77_DUMMY_MAIN() { return 1; }
3235 rm -f conftest.
$ac_objext
3236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3237 (eval $ac_compile) 2>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try
='test -s conftest.$ac_objext'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; }; then
3247 WARNING_CFLAGS
="$WARNING_CFLAGS -Werror"
3248 echo "$as_me:$LINENO: result: yes" >&5
3249 echo "${ECHO_T}yes" >&6
3251 echo "$as_me: failed program was:" >&5
3252 cat conftest.
$ac_ext >&5
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3256 rm -f conftest.
$ac_objext conftest.
$ac_ext
3257 CFLAGS
="$ac_save_CFLAGS"
3258 WERROR_CFLAGS
=$WARNING_CFLAGS
3261 echo "$as_me:$LINENO: checking whether compiler accepts -Wall" >&5
3262 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
3264 ac_save_CFLAGS
="$CFLAGS"
3265 CFLAGS
="$CFLAGS -Wall"
3266 cat >conftest.
$ac_ext <<_ACEOF
3267 #line $LINENO "configure"
3268 #include "confdefs.h"
3270 #ifdef F77_DUMMY_MAIN
3274 int F77_DUMMY_MAIN() { return 1; }
3284 rm -f conftest.
$ac_objext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286 (eval $ac_compile) 2>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try
='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3300 echo "$as_me: failed program was:" >&5
3301 cat conftest.
$ac_ext >&5
3302 echo "$as_me:$LINENO: result: no" >&5
3303 echo "${ECHO_T}no" >&6
3305 rm -f conftest.
$ac_objext conftest.
$ac_ext
3306 CFLAGS
="$ac_save_CFLAGS"
3307 echo "$as_me:$LINENO: checking whether compiler accepts -W" >&5
3308 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3310 ac_save_CFLAGS
="$CFLAGS"
3312 cat >conftest.
$ac_ext <<_ACEOF
3313 #line $LINENO "configure"
3314 #include "confdefs.h"
3316 #ifdef F77_DUMMY_MAIN
3320 int F77_DUMMY_MAIN() { return 1; }
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } &&
3336 { ac_try
='test -s conftest.$ac_objext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3342 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3346 echo "$as_me: failed program was:" >&5
3347 cat conftest.
$ac_ext >&5
3348 echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3351 rm -f conftest.
$ac_objext conftest.
$ac_ext
3352 CFLAGS
="$ac_save_CFLAGS"
3353 echo "$as_me:$LINENO: checking whether compiler accepts -Wbad-function-cast" >&5
3354 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3356 ac_save_CFLAGS
="$CFLAGS"
3357 CFLAGS
="$CFLAGS -Wbad-function-cast"
3358 cat >conftest.
$ac_ext <<_ACEOF
3359 #line $LINENO "configure"
3360 #include "confdefs.h"
3362 #ifdef F77_DUMMY_MAIN
3366 int F77_DUMMY_MAIN() { return 1; }
3376 rm -f conftest.
$ac_objext
3377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3378 (eval $ac_compile) 2>&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } &&
3382 { ac_try
='test -s conftest.$ac_objext'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; }; then
3388 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3389 echo "$as_me:$LINENO: result: yes" >&5
3390 echo "${ECHO_T}yes" >&6
3392 echo "$as_me: failed program was:" >&5
3393 cat conftest.
$ac_ext >&5
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3397 rm -f conftest.
$ac_objext conftest.
$ac_ext
3398 CFLAGS
="$ac_save_CFLAGS"
3399 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-align" >&5
3400 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3402 ac_save_CFLAGS
="$CFLAGS"
3403 CFLAGS
="$CFLAGS -Wcast-align"
3404 cat >conftest.
$ac_ext <<_ACEOF
3405 #line $LINENO "configure"
3406 #include "confdefs.h"
3408 #ifdef F77_DUMMY_MAIN
3412 int F77_DUMMY_MAIN() { return 1; }
3422 rm -f conftest.
$ac_objext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3424 (eval $ac_compile) 2>&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } &&
3428 { ac_try
='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3435 echo "$as_me:$LINENO: result: yes" >&5
3436 echo "${ECHO_T}yes" >&6
3438 echo "$as_me: failed program was:" >&5
3439 cat conftest.
$ac_ext >&5
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3443 rm -f conftest.
$ac_objext conftest.
$ac_ext
3444 CFLAGS
="$ac_save_CFLAGS"
3445 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-qual" >&5
3446 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3448 ac_save_CFLAGS
="$CFLAGS"
3449 CFLAGS
="$CFLAGS -Wcast-qual"
3450 cat >conftest.
$ac_ext <<_ACEOF
3451 #line $LINENO "configure"
3452 #include "confdefs.h"
3454 #ifdef F77_DUMMY_MAIN
3458 int F77_DUMMY_MAIN() { return 1; }
3468 rm -f conftest.
$ac_objext
3469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3470 (eval $ac_compile) 2>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3484 echo "$as_me: failed program was:" >&5
3485 cat conftest.
$ac_ext >&5
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3489 rm -f conftest.
$ac_objext conftest.
$ac_ext
3490 CFLAGS
="$ac_save_CFLAGS"
3491 echo "$as_me:$LINENO: checking whether compiler accepts -Wformat" >&5
3492 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3494 ac_save_CFLAGS
="$CFLAGS"
3495 CFLAGS
="$CFLAGS -Wformat"
3496 cat >conftest.
$ac_ext <<_ACEOF
3497 #line $LINENO "configure"
3498 #include "confdefs.h"
3500 #ifdef F77_DUMMY_MAIN
3504 int F77_DUMMY_MAIN() { return 1; }
3514 rm -f conftest.
$ac_objext
3515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3516 (eval $ac_compile) 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3530 echo "$as_me: failed program was:" >&5
3531 cat conftest.
$ac_ext >&5
3532 echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6
3535 rm -f conftest.
$ac_objext conftest.
$ac_ext
3536 CFLAGS
="$ac_save_CFLAGS"
3537 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-declarations" >&5
3538 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3540 ac_save_CFLAGS
="$CFLAGS"
3541 CFLAGS
="$CFLAGS -Wmissing-declarations"
3542 cat >conftest.
$ac_ext <<_ACEOF
3543 #line $LINENO "configure"
3544 #include "confdefs.h"
3546 #ifdef F77_DUMMY_MAIN
3550 int F77_DUMMY_MAIN() { return 1; }
3560 rm -f conftest.
$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } &&
3566 { ac_try
='test -s conftest.$ac_objext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3572 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3576 echo "$as_me: failed program was:" >&5
3577 cat conftest.
$ac_ext >&5
3578 echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3581 rm -f conftest.
$ac_objext conftest.
$ac_ext
3582 CFLAGS
="$ac_save_CFLAGS"
3583 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-prototypes" >&5
3584 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3586 ac_save_CFLAGS
="$CFLAGS"
3587 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3588 cat >conftest.
$ac_ext <<_ACEOF
3589 #line $LINENO "configure"
3590 #include "confdefs.h"
3592 #ifdef F77_DUMMY_MAIN
3596 int F77_DUMMY_MAIN() { return 1; }
3606 rm -f conftest.
$ac_objext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3608 (eval $ac_compile) 2>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try
='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3622 echo "$as_me: failed program was:" >&5
3623 cat conftest.
$ac_ext >&5
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3627 rm -f conftest.
$ac_objext conftest.
$ac_ext
3628 CFLAGS
="$ac_save_CFLAGS"
3629 echo "$as_me:$LINENO: checking whether compiler accepts -Wnested-externs" >&5
3630 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3632 ac_save_CFLAGS
="$CFLAGS"
3633 CFLAGS
="$CFLAGS -Wnested-externs"
3634 cat >conftest.
$ac_ext <<_ACEOF
3635 #line $LINENO "configure"
3636 #include "confdefs.h"
3638 #ifdef F77_DUMMY_MAIN
3642 int F77_DUMMY_MAIN() { return 1; }
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try
='test -s conftest.$ac_objext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3668 echo "$as_me: failed program was:" >&5
3669 cat conftest.
$ac_ext >&5
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3673 rm -f conftest.
$ac_objext conftest.
$ac_ext
3674 CFLAGS
="$ac_save_CFLAGS"
3675 echo "$as_me:$LINENO: checking whether compiler accepts -Wshadow" >&5
3676 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3678 ac_save_CFLAGS
="$CFLAGS"
3679 CFLAGS
="$CFLAGS -Wshadow"
3680 cat >conftest.
$ac_ext <<_ACEOF
3681 #line $LINENO "configure"
3682 #include "confdefs.h"
3684 #ifdef F77_DUMMY_MAIN
3688 int F77_DUMMY_MAIN() { return 1; }
3698 rm -f conftest.
$ac_objext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700 (eval $ac_compile) 2>&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } &&
3704 { ac_try
='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3711 echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6
3714 echo "$as_me: failed program was:" >&5
3715 cat conftest.
$ac_ext >&5
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3719 rm -f conftest.
$ac_objext conftest.
$ac_ext
3720 CFLAGS
="$ac_save_CFLAGS"
3721 echo "$as_me:$LINENO: checking whether compiler accepts -Wstrict-prototypes" >&5
3722 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3724 ac_save_CFLAGS
="$CFLAGS"
3725 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3726 cat >conftest.
$ac_ext <<_ACEOF
3727 #line $LINENO "configure"
3728 #include "confdefs.h"
3730 #ifdef F77_DUMMY_MAIN
3734 int F77_DUMMY_MAIN() { return 1; }
3744 rm -f conftest.
$ac_objext
3745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3746 (eval $ac_compile) 2>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 { ac_try
='test -s conftest.$ac_objext'
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; }; then
3756 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me: failed program was:" >&5
3761 cat conftest.
$ac_ext >&5
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3765 rm -f conftest.
$ac_objext conftest.
$ac_ext
3766 CFLAGS
="$ac_save_CFLAGS"
3767 echo "$as_me:$LINENO: checking whether compiler accepts -Wwrite-strings" >&5
3768 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3770 ac_save_CFLAGS
="$CFLAGS"
3771 CFLAGS
="$CFLAGS -Wwrite-strings"
3772 cat >conftest.
$ac_ext <<_ACEOF
3773 #line $LINENO "configure"
3774 #include "confdefs.h"
3776 #ifdef F77_DUMMY_MAIN
3780 int F77_DUMMY_MAIN() { return 1; }
3790 rm -f conftest.
$ac_objext
3791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3792 (eval $ac_compile) 2>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try
='test -s conftest.$ac_objext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3803 echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6
3806 echo "$as_me: failed program was:" >&5
3807 cat conftest.
$ac_ext >&5
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3811 rm -f conftest.
$ac_objext conftest.
$ac_ext
3812 CFLAGS
="$ac_save_CFLAGS"
3815 # Checks for libraries.
3817 cat >>confdefs.h
<<\_ACEOF
3818 #define _GNU_SOURCE 1
3822 # Checks for header files.
3823 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3824 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3825 if test "${ac_cv_header_stdc+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 cat >conftest.
$ac_ext <<_ACEOF
3829 #line $LINENO "configure"
3830 #include "confdefs.h"
3837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3840 egrep -v '^ *\+' conftest.er1
>conftest.err
3842 cat conftest.err
>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } >/dev
/null
; then
3845 if test -s conftest.err
; then
3846 ac_cpp_err
=$ac_c_preproc_warn_flag
3853 if test -z "$ac_cpp_err"; then
3854 ac_cv_header_stdc
=yes
3856 echo "$as_me: failed program was:" >&5
3857 cat conftest.
$ac_ext >&5
3858 ac_cv_header_stdc
=no
3860 rm -f conftest.err conftest.
$ac_ext
3862 if test $ac_cv_header_stdc = yes; then
3863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3864 cat >conftest.
$ac_ext <<_ACEOF
3865 #line $LINENO "configure"
3866 #include "confdefs.h"
3870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3871 egrep "memchr" >/dev
/null
2>&1; then
3874 ac_cv_header_stdc
=no
3880 if test $ac_cv_header_stdc = yes; then
3881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3882 cat >conftest.
$ac_ext <<_ACEOF
3883 #line $LINENO "configure"
3884 #include "confdefs.h"
3888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3889 egrep "free" >/dev
/null
2>&1; then
3892 ac_cv_header_stdc
=no
3898 if test $ac_cv_header_stdc = yes; then
3899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3900 if test "$cross_compiling" = yes; then
3903 cat >conftest.
$ac_ext <<_ACEOF
3904 #line $LINENO "configure"
3905 #include "confdefs.h"
3907 #if ((' ' & 0x0FF) == 0x020)
3908 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3909 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3911 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3912 || ('j' <= (c) && (c) <= 'r') \
3913 || ('s' <= (c) && (c) <= 'z'))
3914 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3917 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3922 for (i = 0; i < 256; i++)
3923 if (XOR (islower (i), ISLOWER (i))
3924 || toupper (i) != TOUPPER (i))
3929 rm -f conftest
$ac_exeext
3930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3931 (eval $ac_link) 2>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; }; then
3942 echo "$as_me: program exited with status $ac_status" >&5
3943 echo "$as_me: failed program was:" >&5
3944 cat conftest.
$ac_ext >&5
3946 ac_cv_header_stdc
=no
3948 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3952 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3953 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3954 if test $ac_cv_header_stdc = yes; then
3956 cat >>confdefs.h
<<\_ACEOF
3957 #define STDC_HEADERS 1
3968 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3972 echo "$as_me:$LINENO: checking for $ac_header" >&5
3973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3980 # Is the header compilable?
3981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3983 cat >conftest.
$ac_ext <<_ACEOF
3984 #line $LINENO "configure"
3985 #include "confdefs.h"
3986 $ac_includes_default
3987 #include <$ac_header>
3989 rm -f conftest.
$ac_objext
3990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3991 (eval $ac_compile) 2>&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } &&
3995 { ac_try
='test -s conftest.$ac_objext'
3996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); }; }; then
4001 ac_header_compiler
=yes
4003 echo "$as_me: failed program was:" >&5
4004 cat conftest.
$ac_ext >&5
4005 ac_header_compiler
=no
4007 rm -f conftest.
$ac_objext conftest.
$ac_ext
4008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4009 echo "${ECHO_T}$ac_header_compiler" >&6
4011 # Is the header present?
4012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4014 cat >conftest.
$ac_ext <<_ACEOF
4015 #line $LINENO "configure"
4016 #include "confdefs.h"
4017 #include <$ac_header>
4019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4022 egrep -v '^ *\+' conftest.er1
>conftest.err
4024 cat conftest.err
>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } >/dev
/null
; then
4027 if test -s conftest.err
; then
4028 ac_cpp_err
=$ac_c_preproc_warn_flag
4035 if test -z "$ac_cpp_err"; then
4036 ac_header_preproc
=yes
4038 echo "$as_me: failed program was:" >&5
4039 cat conftest.
$ac_ext >&5
4040 ac_header_preproc
=no
4042 rm -f conftest.err conftest.
$ac_ext
4043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4044 echo "${ECHO_T}$ac_header_preproc" >&6
4046 # So? What about this header?
4047 case $ac_header_compiler:$ac_header_preproc in
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
4055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4061 echo "$as_me:$LINENO: checking for $ac_header" >&5
4062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 eval "$as_ac_Header=$ac_header_preproc"
4068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4073 cat >>confdefs.h
<<_ACEOF
4074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4082 # Checks for typedefs.
4084 # Checks for structures.
4086 # Checks for compiler characteristics.
4087 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4088 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4089 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 ac_cv_prog_cc_stdc
=no
4094 cat >conftest.
$ac_ext <<_ACEOF
4095 #line $LINENO "configure"
4096 #include "confdefs.h"
4099 #include <sys/types.h>
4100 #include <sys/stat.h>
4101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4102 struct buf { int x; };
4103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4104 static char *e (p, i)
4110 static char *f (char * (*g) (char **, int), char **p, ...)
4115 s = g (p, va_arg (v,int));
4119 int test (int i, double x);
4120 struct s1 {int (*f) (int a);};
4121 struct s2 {int (*f) (double a);};
4122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4125 #ifdef F77_DUMMY_MAIN
4129 int F77_DUMMY_MAIN() { return 1; }
4134 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4139 # Don't try gcc -ansi; that turns off useful extensions and
4140 # breaks some systems' header files.
4141 # AIX -qlanglvl=ansi
4142 # Ultrix and OSF/1 -std1
4143 # HP-UX 10.20 and later -Ae
4144 # HP-UX older versions -Aa -D_HPUX_SOURCE
4145 # SVR4 -Xc -D__EXTENSIONS__
4146 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4148 CC
="$ac_save_CC $ac_arg"
4149 rm -f conftest.
$ac_objext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } &&
4155 { ac_try
='test -s conftest.$ac_objext'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4161 ac_cv_prog_cc_stdc
=$ac_arg
4164 echo "$as_me: failed program was:" >&5
4165 cat conftest.
$ac_ext >&5
4167 rm -f conftest.
$ac_objext
4169 rm -f conftest.
$ac_ext conftest.
$ac_objext
4174 case "x$ac_cv_prog_cc_stdc" in
4176 echo "$as_me:$LINENO: result: none needed" >&5
4177 echo "${ECHO_T}none needed" >&6 ;;
4179 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4180 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4181 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4184 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4185 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4186 if test "${ac_cv_c_const+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 cat >conftest.
$ac_ext <<_ACEOF
4190 #line $LINENO "configure"
4191 #include "confdefs.h"
4193 #ifdef F77_DUMMY_MAIN
4197 int F77_DUMMY_MAIN() { return 1; }
4202 /* FIXME: Include the comments suggested by Paul. */
4204 /* Ultrix mips cc rejects this. */
4205 typedef int charset[2];
4207 /* SunOS 4.1.1 cc rejects this. */
4208 char const *const *ccp;
4210 /* NEC SVR4.0.2 mips cc rejects this. */
4211 struct point {int x, y;};
4212 static struct point const zero = {0,0};
4213 /* AIX XL C 1.02.0.0 rejects this.
4214 It does not let you subtract one const X* pointer from another in
4215 an arm of an if-expression whose if-part is not a constant
4217 const char *g = "string";
4218 ccp = &g + (g ? g-g : 0);
4219 /* HPUX 7.0 cc rejects these. */
4222 ccp = (char const *const *) p;
4223 { /* SCO 3.2v4 cc rejects this. */
4225 char const *s = 0 ? (char *) 0 : (char const *) 0;
4229 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4231 const int *foo = &x[0];
4234 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4235 typedef const int *iptr;
4239 { /* AIX XL C 1.02.0.0 rejects this saying
4240 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4241 struct s { int j; const int *ap[3]; };
4242 struct s *b; b->j = 5;
4244 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4253 rm -f conftest.
$ac_objext
4254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4255 (eval $ac_compile) 2>&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } &&
4259 { ac_try
='test -s conftest.$ac_objext'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4267 echo "$as_me: failed program was:" >&5
4268 cat conftest.
$ac_ext >&5
4271 rm -f conftest.
$ac_objext conftest.
$ac_ext
4273 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4274 echo "${ECHO_T}$ac_cv_c_const" >&6
4275 if test $ac_cv_c_const = no
; then
4277 cat >>confdefs.h
<<\_ACEOF
4283 echo "$as_me:$LINENO: checking for inline" >&5
4284 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4285 if test "${ac_cv_c_inline+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 for ac_kw
in inline __inline__ __inline
; do
4290 cat >conftest.
$ac_ext <<_ACEOF
4291 #line $LINENO "configure"
4292 #include "confdefs.h"
4294 static $ac_kw int static_foo () {return 0; }
4295 $ac_kw int foo () {return 0; }
4299 rm -f conftest.
$ac_objext
4300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4301 (eval $ac_compile) 2>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try
='test -s conftest.$ac_objext'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4311 ac_cv_c_inline
=$ac_kw; break
4313 echo "$as_me: failed program was:" >&5
4314 cat conftest.
$ac_ext >&5
4316 rm -f conftest.
$ac_objext conftest.
$ac_ext
4320 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4321 echo "${ECHO_T}$ac_cv_c_inline" >&6
4322 case $ac_cv_c_inline in
4325 cat >>confdefs.h
<<\_ACEOF
4329 *) cat >>confdefs.h
<<_ACEOF
4330 #define inline $ac_cv_c_inline
4337 echo "$as_me:$LINENO: checking for function prototypes" >&5
4338 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4339 if test "$am_cv_prog_cc_stdc" != no
; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 cat >>confdefs.h
<<\_ACEOF
4344 #define PROTOTYPES 1
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4351 U
=_ ANSI2KNR
=.
/ansi2knr
4353 # Ensure some checks needed by ansi2knr itself.
4354 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4355 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4356 if test "${ac_cv_header_stdc+set}" = set; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4359 cat >conftest.
$ac_ext <<_ACEOF
4360 #line $LINENO "configure"
4361 #include "confdefs.h"
4368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4371 egrep -v '^ *\+' conftest.er1
>conftest.err
4373 cat conftest.err
>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } >/dev
/null
; then
4376 if test -s conftest.err
; then
4377 ac_cpp_err
=$ac_c_preproc_warn_flag
4384 if test -z "$ac_cpp_err"; then
4385 ac_cv_header_stdc
=yes
4387 echo "$as_me: failed program was:" >&5
4388 cat conftest.
$ac_ext >&5
4389 ac_cv_header_stdc
=no
4391 rm -f conftest.err conftest.
$ac_ext
4393 if test $ac_cv_header_stdc = yes; then
4394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4395 cat >conftest.
$ac_ext <<_ACEOF
4396 #line $LINENO "configure"
4397 #include "confdefs.h"
4401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4402 egrep "memchr" >/dev
/null
2>&1; then
4405 ac_cv_header_stdc
=no
4411 if test $ac_cv_header_stdc = yes; then
4412 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4413 cat >conftest.
$ac_ext <<_ACEOF
4414 #line $LINENO "configure"
4415 #include "confdefs.h"
4419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4420 egrep "free" >/dev
/null
2>&1; then
4423 ac_cv_header_stdc
=no
4429 if test $ac_cv_header_stdc = yes; then
4430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4431 if test "$cross_compiling" = yes; then
4434 cat >conftest.
$ac_ext <<_ACEOF
4435 #line $LINENO "configure"
4436 #include "confdefs.h"
4438 #if ((' ' & 0x0FF) == 0x020)
4439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4442 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4443 || ('j' <= (c) && (c) <= 'r') \
4444 || ('s' <= (c) && (c) <= 'z'))
4445 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4448 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4453 for (i = 0; i < 256; i++)
4454 if (XOR (islower (i), ISLOWER (i))
4455 || toupper (i) != TOUPPER (i))
4460 rm -f conftest
$ac_exeext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4462 (eval $ac_link) 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; }; then
4473 echo "$as_me: program exited with status $ac_status" >&5
4474 echo "$as_me: failed program was:" >&5
4475 cat conftest.
$ac_ext >&5
4477 ac_cv_header_stdc
=no
4479 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4483 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4484 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4485 if test $ac_cv_header_stdc = yes; then
4487 cat >>confdefs.h
<<\_ACEOF
4488 #define STDC_HEADERS 1
4494 for ac_header
in string.h
4496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4498 echo "$as_me:$LINENO: checking for $ac_header" >&5
4499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4506 # Is the header compilable?
4507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4509 cat >conftest.
$ac_ext <<_ACEOF
4510 #line $LINENO "configure"
4511 #include "confdefs.h"
4512 $ac_includes_default
4513 #include <$ac_header>
4515 rm -f conftest.
$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } &&
4521 { ac_try
='test -s conftest.$ac_objext'
4522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); }; }; then
4527 ac_header_compiler
=yes
4529 echo "$as_me: failed program was:" >&5
4530 cat conftest.
$ac_ext >&5
4531 ac_header_compiler
=no
4533 rm -f conftest.
$ac_objext conftest.
$ac_ext
4534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4535 echo "${ECHO_T}$ac_header_compiler" >&6
4537 # Is the header present?
4538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4540 cat >conftest.
$ac_ext <<_ACEOF
4541 #line $LINENO "configure"
4542 #include "confdefs.h"
4543 #include <$ac_header>
4545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4546 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4548 egrep -v '^ *\+' conftest.er1
>conftest.err
4550 cat conftest.err
>&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); } >/dev
/null
; then
4553 if test -s conftest.err
; then
4554 ac_cpp_err
=$ac_c_preproc_warn_flag
4561 if test -z "$ac_cpp_err"; then
4562 ac_header_preproc
=yes
4564 echo "$as_me: failed program was:" >&5
4565 cat conftest.
$ac_ext >&5
4566 ac_header_preproc
=no
4568 rm -f conftest.err conftest.
$ac_ext
4569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4570 echo "${ECHO_T}$ac_header_preproc" >&6
4572 # So? What about this header?
4573 case $ac_header_compiler:$ac_header_preproc in
4575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
4581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4587 echo "$as_me:$LINENO: checking for $ac_header" >&5
4588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 eval "$as_ac_Header=$ac_header_preproc"
4594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4599 cat >>confdefs.h
<<_ACEOF
4600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4609 # Checks for library functions.
4610 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4611 # for constant arguments. Useless!
4612 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4613 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4614 if test "${ac_cv_working_alloca_h+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 cat >conftest.
$ac_ext <<_ACEOF
4618 #line $LINENO "configure"
4619 #include "confdefs.h"
4621 #ifdef F77_DUMMY_MAIN
4625 int F77_DUMMY_MAIN() { return 1; }
4630 char *p = (char *) alloca (2 * sizeof (int));
4635 rm -f conftest.
$ac_objext conftest
$ac_exeext
4636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4637 (eval $ac_link) 2>&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } &&
4641 { ac_try
='test -s conftest$ac_exeext'
4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); }; }; then
4647 ac_cv_working_alloca_h
=yes
4649 echo "$as_me: failed program was:" >&5
4650 cat conftest.
$ac_ext >&5
4651 ac_cv_working_alloca_h
=no
4653 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4655 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4656 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4657 if test $ac_cv_working_alloca_h = yes; then
4659 cat >>confdefs.h
<<\_ACEOF
4660 #define HAVE_ALLOCA_H 1
4665 echo "$as_me:$LINENO: checking for alloca" >&5
4666 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4667 if test "${ac_cv_func_alloca_works+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 cat >conftest.
$ac_ext <<_ACEOF
4671 #line $LINENO "configure"
4672 #include "confdefs.h"
4674 # define alloca __builtin_alloca
4677 # include <malloc.h>
4678 # define alloca _alloca
4681 # include <alloca.h>
4686 # ifndef alloca /* predefined by HP cc +Olibcalls */
4694 #ifdef F77_DUMMY_MAIN
4698 int F77_DUMMY_MAIN() { return 1; }
4703 char *p = (char *) alloca (1);
4708 rm -f conftest.
$ac_objext conftest
$ac_exeext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4710 (eval $ac_link) 2>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } &&
4714 { ac_try
='test -s conftest$ac_exeext'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; }; then
4720 ac_cv_func_alloca_works
=yes
4722 echo "$as_me: failed program was:" >&5
4723 cat conftest.
$ac_ext >&5
4724 ac_cv_func_alloca_works
=no
4726 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4728 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4729 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4731 if test $ac_cv_func_alloca_works = yes; then
4733 cat >>confdefs.h
<<\_ACEOF
4734 #define HAVE_ALLOCA 1
4738 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4739 # that cause trouble. Some versions do not even contain alloca or
4740 # contain a buggy version. If you still want to use their alloca,
4741 # use ar to extract alloca.o from them instead of compiling alloca.c.
4743 ALLOCA
=alloca.
$ac_objext
4745 cat >>confdefs.h
<<\_ACEOF
4750 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4751 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4752 if test "${ac_cv_os_cray+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 cat >conftest.
$ac_ext <<_ACEOF
4756 #line $LINENO "configure"
4757 #include "confdefs.h"
4758 #if defined(CRAY) && ! defined(CRAY2)
4765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4766 egrep "webecray" >/dev
/null
2>&1; then
4774 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4775 echo "${ECHO_T}$ac_cv_os_cray" >&6
4776 if test $ac_cv_os_cray = yes; then
4777 for ac_func
in _getb67 GETB67 getb67
; do
4778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4779 echo "$as_me:$LINENO: checking for $ac_func" >&5
4780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4781 if eval "test \"\${$as_ac_var+set}\" = set"; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.
$ac_ext <<_ACEOF
4785 #line $LINENO "configure"
4786 #include "confdefs.h"
4787 /* System header to define __stub macros and hopefully few prototypes,
4788 which can conflict with char $ac_func (); below. */
4790 /* Override any gcc2 internal prototype to avoid an error. */
4794 /* We use char because int might match the return type of a gcc2
4795 builtin and then its argument prototype would still apply. */
4799 #ifdef F77_DUMMY_MAIN
4803 int F77_DUMMY_MAIN() { return 1; }
4808 /* The GNU C library defines this for functions which it implements
4809 to always fail with ENOSYS. Some functions are actually named
4810 something starting with __ and the normal name is an alias. */
4811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4821 rm -f conftest.
$ac_objext conftest
$ac_exeext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4823 (eval $ac_link) 2>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } &&
4827 { ac_try
='test -s conftest$ac_exeext'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; }; then
4833 eval "$as_ac_var=yes"
4835 echo "$as_me: failed program was:" >&5
4836 cat conftest.
$ac_ext >&5
4837 eval "$as_ac_var=no"
4839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4843 if test `eval echo '${'$as_ac_var'}'` = yes; then
4845 cat >>confdefs.h
<<_ACEOF
4846 #define CRAY_STACKSEG_END $ac_func
4855 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4856 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4857 if test "${ac_cv_c_stack_direction+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 if test "$cross_compiling" = yes; then
4861 ac_cv_c_stack_direction
=0
4863 cat >conftest.
$ac_ext <<_ACEOF
4864 #line $LINENO "configure"
4865 #include "confdefs.h"
4867 find_stack_direction ()
4869 static char *addr = 0;
4874 return find_stack_direction ();
4877 return (&dummy > addr) ? 1 : -1;
4883 exit (find_stack_direction () < 0);
4886 rm -f conftest
$ac_exeext
4887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4888 (eval $ac_link) 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; }; then
4897 ac_cv_c_stack_direction
=1
4899 echo "$as_me: program exited with status $ac_status" >&5
4900 echo "$as_me: failed program was:" >&5
4901 cat conftest.
$ac_ext >&5
4903 ac_cv_c_stack_direction
=-1
4905 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4908 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4909 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4911 cat >>confdefs.h
<<_ACEOF
4912 #define STACK_DIRECTION $ac_cv_c_stack_direction
4918 echo "$as_me:$LINENO: checking for obstacks" >&5
4919 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
4920 if test "${ac_cv_func_obstack+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 cat >conftest.
$ac_ext <<_ACEOF
4924 #line $LINENO "configure"
4925 #include "confdefs.h"
4926 #include "obstack.h"
4927 #ifdef F77_DUMMY_MAIN
4931 int F77_DUMMY_MAIN() { return 1; }
4936 struct obstack *mem; obstack_free(mem,(char *) 0)
4941 rm -f conftest.
$ac_objext conftest
$ac_exeext
4942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 (eval $ac_link) 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } &&
4947 { ac_try
='test -s conftest$ac_exeext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4953 ac_cv_func_obstack
=yes
4955 echo "$as_me: failed program was:" >&5
4956 cat conftest.
$ac_ext >&5
4957 ac_cv_func_obstack
=no
4959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4961 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4962 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4963 if test $ac_cv_func_obstack = yes; then
4965 cat >>confdefs.h
<<\_ACEOF
4966 #define HAVE_OBSTACK 1
4970 LIBOBJS
="$LIBOBJS obstack.$ac_objext"
4973 echo "$as_me:$LINENO: checking for error_at_line" >&5
4974 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
4975 if test "${ac_cv_lib_error_at_line+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 cat >conftest.
$ac_ext <<_ACEOF
4979 #line $LINENO "configure"
4980 #include "confdefs.h"
4982 #ifdef F77_DUMMY_MAIN
4986 int F77_DUMMY_MAIN() { return 1; }
4991 error_at_line (0, 0, "", 0, "");
4996 rm -f conftest.
$ac_objext conftest
$ac_exeext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4998 (eval $ac_link) 2>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try
='test -s conftest$ac_exeext'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; }; then
5008 ac_cv_lib_error_at_line
=yes
5010 echo "$as_me: failed program was:" >&5
5011 cat conftest.
$ac_ext >&5
5012 ac_cv_lib_error_at_line
=no
5014 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5016 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
5017 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
5018 if test $ac_cv_lib_error_at_line = no
; then
5019 LIBOBJS
="$LIBOBJS error.$ac_objext"
5024 for ac_func
in mkstemp setlocale
5026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5027 echo "$as_me:$LINENO: checking for $ac_func" >&5
5028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5029 if eval "test \"\${$as_ac_var+set}\" = set"; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 cat >conftest.
$ac_ext <<_ACEOF
5033 #line $LINENO "configure"
5034 #include "confdefs.h"
5035 /* System header to define __stub macros and hopefully few prototypes,
5036 which can conflict with char $ac_func (); below. */
5038 /* Override any gcc2 internal prototype to avoid an error. */
5042 /* We use char because int might match the return type of a gcc2
5043 builtin and then its argument prototype would still apply. */
5047 #ifdef F77_DUMMY_MAIN
5051 int F77_DUMMY_MAIN() { return 1; }
5056 /* The GNU C library defines this for functions which it implements
5057 to always fail with ENOSYS. Some functions are actually named
5058 something starting with __ and the normal name is an alias. */
5059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5069 rm -f conftest.
$ac_objext conftest
$ac_exeext
5070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5071 (eval $ac_link) 2>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try
='test -s conftest$ac_exeext'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; }; then
5081 eval "$as_ac_var=yes"
5083 echo "$as_me: failed program was:" >&5
5084 cat conftest.
$ac_ext >&5
5085 eval "$as_ac_var=no"
5087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5091 if test `eval echo '${'$as_ac_var'}'` = yes; then
5092 cat >>confdefs.h
<<_ACEOF
5093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5099 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
5100 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
5101 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 cat >conftest.
$ac_ext <<_ACEOF
5105 #line $LINENO "configure"
5106 #include "confdefs.h"
5107 $ac_includes_default
5108 #ifdef F77_DUMMY_MAIN
5112 int F77_DUMMY_MAIN() { return 1; }
5118 char *p = (char *) stpcpy;
5125 rm -f conftest.
$ac_objext
5126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5127 (eval $ac_compile) 2>&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } &&
5131 { ac_try
='test -s conftest.$ac_objext'
5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); }; }; then
5137 ac_cv_have_decl_stpcpy
=yes
5139 echo "$as_me: failed program was:" >&5
5140 cat conftest.
$ac_ext >&5
5141 ac_cv_have_decl_stpcpy
=no
5143 rm -f conftest.
$ac_objext conftest.
$ac_ext
5145 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
5146 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
5147 if test $ac_cv_have_decl_stpcpy = yes; then
5149 cat >>confdefs.h
<<_ACEOF
5150 #define HAVE_DECL_STPCPY 1
5155 cat >>confdefs.h
<<_ACEOF
5156 #define HAVE_DECL_STPCPY 0
5161 echo "$as_me:$LINENO: checking whether strchr is declared" >&5
5162 echo $ECHO_N "checking whether strchr is declared... $ECHO_C" >&6
5163 if test "${ac_cv_have_decl_strchr+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 cat >conftest.
$ac_ext <<_ACEOF
5167 #line $LINENO "configure"
5168 #include "confdefs.h"
5169 $ac_includes_default
5170 #ifdef F77_DUMMY_MAIN
5174 int F77_DUMMY_MAIN() { return 1; }
5180 char *p = (char *) strchr;
5187 rm -f conftest.
$ac_objext
5188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5189 (eval $ac_compile) 2>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -s conftest.$ac_objext'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; }; then
5199 ac_cv_have_decl_strchr
=yes
5201 echo "$as_me: failed program was:" >&5
5202 cat conftest.
$ac_ext >&5
5203 ac_cv_have_decl_strchr
=no
5205 rm -f conftest.
$ac_objext conftest.
$ac_ext
5207 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strchr" >&5
5208 echo "${ECHO_T}$ac_cv_have_decl_strchr" >&6
5209 if test $ac_cv_have_decl_strchr = yes; then
5211 cat >>confdefs.h
<<_ACEOF
5212 #define HAVE_DECL_STRCHR 1
5217 cat >>confdefs.h
<<_ACEOF
5218 #define HAVE_DECL_STRCHR 0
5223 echo "$as_me:$LINENO: checking whether strspn is declared" >&5
5224 echo $ECHO_N "checking whether strspn is declared... $ECHO_C" >&6
5225 if test "${ac_cv_have_decl_strspn+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 cat >conftest.
$ac_ext <<_ACEOF
5229 #line $LINENO "configure"
5230 #include "confdefs.h"
5231 $ac_includes_default
5232 #ifdef F77_DUMMY_MAIN
5236 int F77_DUMMY_MAIN() { return 1; }
5242 char *p = (char *) strspn;
5249 rm -f conftest.
$ac_objext
5250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5251 (eval $ac_compile) 2>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } &&
5255 { ac_try
='test -s conftest.$ac_objext'
5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }; }; then
5261 ac_cv_have_decl_strspn
=yes
5263 echo "$as_me: failed program was:" >&5
5264 cat conftest.
$ac_ext >&5
5265 ac_cv_have_decl_strspn
=no
5267 rm -f conftest.
$ac_objext conftest.
$ac_ext
5269 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strspn" >&5
5270 echo "${ECHO_T}$ac_cv_have_decl_strspn" >&6
5271 if test $ac_cv_have_decl_strspn = yes; then
5273 cat >>confdefs.h
<<_ACEOF
5274 #define HAVE_DECL_STRSPN 1
5279 cat >>confdefs.h
<<_ACEOF
5280 #define HAVE_DECL_STRSPN 0
5285 echo "$as_me:$LINENO: checking whether strnlen is declared" >&5
5286 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
5287 if test "${ac_cv_have_decl_strnlen+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 cat >conftest.
$ac_ext <<_ACEOF
5291 #line $LINENO "configure"
5292 #include "confdefs.h"
5293 $ac_includes_default
5294 #ifdef F77_DUMMY_MAIN
5298 int F77_DUMMY_MAIN() { return 1; }
5304 char *p = (char *) strnlen;
5311 rm -f conftest.
$ac_objext
5312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5323 ac_cv_have_decl_strnlen
=yes
5325 echo "$as_me: failed program was:" >&5
5326 cat conftest.
$ac_ext >&5
5327 ac_cv_have_decl_strnlen
=no
5329 rm -f conftest.
$ac_objext conftest.
$ac_ext
5331 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5
5332 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
5333 if test $ac_cv_have_decl_strnlen = yes; then
5335 cat >>confdefs.h
<<_ACEOF
5336 #define HAVE_DECL_STRNLEN 1
5341 cat >>confdefs.h
<<_ACEOF
5342 #define HAVE_DECL_STRNLEN 0
5347 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
5348 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
5349 if test "${ac_cv_have_decl_memchr+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 cat >conftest.
$ac_ext <<_ACEOF
5353 #line $LINENO "configure"
5354 #include "confdefs.h"
5355 $ac_includes_default
5356 #ifdef F77_DUMMY_MAIN
5360 int F77_DUMMY_MAIN() { return 1; }
5366 char *p = (char *) memchr;
5373 rm -f conftest.
$ac_objext
5374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try
='test -s conftest.$ac_objext'
5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; }; then
5385 ac_cv_have_decl_memchr
=yes
5387 echo "$as_me: failed program was:" >&5
5388 cat conftest.
$ac_ext >&5
5389 ac_cv_have_decl_memchr
=no
5391 rm -f conftest.
$ac_objext conftest.
$ac_ext
5393 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
5394 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
5395 if test $ac_cv_have_decl_memchr = yes; then
5397 cat >>confdefs.h
<<_ACEOF
5398 #define HAVE_DECL_MEMCHR 1
5403 cat >>confdefs.h
<<_ACEOF
5404 #define HAVE_DECL_MEMCHR 0
5409 echo "$as_me:$LINENO: checking whether memrchr is declared" >&5
5410 echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6
5411 if test "${ac_cv_have_decl_memrchr+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 cat >conftest.
$ac_ext <<_ACEOF
5415 #line $LINENO "configure"
5416 #include "confdefs.h"
5417 $ac_includes_default
5418 #ifdef F77_DUMMY_MAIN
5422 int F77_DUMMY_MAIN() { return 1; }
5428 char *p = (char *) memrchr;
5435 rm -f conftest.
$ac_objext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437 (eval $ac_compile) 2>&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } &&
5441 { ac_try
='test -s conftest.$ac_objext'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }; then
5447 ac_cv_have_decl_memrchr
=yes
5449 echo "$as_me: failed program was:" >&5
5450 cat conftest.
$ac_ext >&5
5451 ac_cv_have_decl_memrchr
=no
5453 rm -f conftest.
$ac_objext conftest.
$ac_ext
5455 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memrchr" >&5
5456 echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6
5457 if test $ac_cv_have_decl_memrchr = yes; then
5459 cat >>confdefs.h
<<_ACEOF
5460 #define HAVE_DECL_MEMRCHR 1
5465 cat >>confdefs.h
<<_ACEOF
5466 #define HAVE_DECL_MEMRCHR 0
5479 for ac_func
in stpcpy strchr strnlen strspn memchr memrchr
5481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5482 echo "$as_me:$LINENO: checking for $ac_func" >&5
5483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5484 if eval "test \"\${$as_ac_var+set}\" = set"; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 cat >conftest.
$ac_ext <<_ACEOF
5488 #line $LINENO "configure"
5489 #include "confdefs.h"
5490 /* System header to define __stub macros and hopefully few prototypes,
5491 which can conflict with char $ac_func (); below. */
5493 /* Override any gcc2 internal prototype to avoid an error. */
5497 /* We use char because int might match the return type of a gcc2
5498 builtin and then its argument prototype would still apply. */
5502 #ifdef F77_DUMMY_MAIN
5506 int F77_DUMMY_MAIN() { return 1; }
5511 /* The GNU C library defines this for functions which it implements
5512 to always fail with ENOSYS. Some functions are actually named
5513 something starting with __ and the normal name is an alias. */
5514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5524 rm -f conftest.
$ac_objext conftest
$ac_exeext
5525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5526 (eval $ac_link) 2>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } &&
5530 { ac_try
='test -s conftest$ac_exeext'
5531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; }; then
5536 eval "$as_ac_var=yes"
5538 echo "$as_me: failed program was:" >&5
5539 cat conftest.
$ac_ext >&5
5540 eval "$as_ac_var=no"
5542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5546 if test `eval echo '${'$as_ac_var'}'` = yes; then
5547 cat >>confdefs.h
<<_ACEOF
5548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5552 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5559 cat >>confdefs.h
<<\_ACEOF
5560 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5564 echo "$as_me:$LINENO: checking for working malloc" >&5
5565 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5566 if test "${jm_cv_func_working_malloc+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 if test "$cross_compiling" = yes; then
5570 jm_cv_func_working_malloc
=no
5572 cat >conftest.
$ac_ext <<_ACEOF
5573 #line $LINENO "configure"
5574 #include "confdefs.h"
5580 exit (malloc (0) ? 0 : 1);
5584 rm -f conftest
$ac_exeext
5585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5586 (eval $ac_link) 2>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; }; then
5595 jm_cv_func_working_malloc
=yes
5597 echo "$as_me: program exited with status $ac_status" >&5
5598 echo "$as_me: failed program was:" >&5
5599 cat conftest.
$ac_ext >&5
5601 jm_cv_func_working_malloc
=no
5603 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5607 echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
5608 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5609 if test $jm_cv_func_working_malloc = no
; then
5610 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5612 cat >>confdefs.h
<<\_ACEOF
5613 #define malloc rpl_malloc
5620 cat >>confdefs.h
<<\_ACEOF
5621 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5625 echo "$as_me:$LINENO: checking for working realloc" >&5
5626 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5627 if test "${jm_cv_func_working_realloc+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 if test "$cross_compiling" = yes; then
5631 jm_cv_func_working_realloc
=no
5633 cat >conftest.
$ac_ext <<_ACEOF
5634 #line $LINENO "configure"
5635 #include "confdefs.h"
5641 exit (realloc (0, 0) ? 0 : 1);
5645 rm -f conftest
$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5656 jm_cv_func_working_realloc
=yes
5658 echo "$as_me: program exited with status $ac_status" >&5
5659 echo "$as_me: failed program was:" >&5
5660 cat conftest.
$ac_ext >&5
5662 jm_cv_func_working_realloc
=no
5664 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5668 echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
5669 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5670 if test $jm_cv_func_working_realloc = no
; then
5671 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5673 cat >>confdefs.h
<<\_ACEOF
5674 #define realloc rpl_realloc
5683 for ac_func
in isascii iswprint mbsinit
5685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5686 echo "$as_me:$LINENO: checking for $ac_func" >&5
5687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5688 if eval "test \"\${$as_ac_var+set}\" = set"; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 cat >conftest.
$ac_ext <<_ACEOF
5692 #line $LINENO "configure"
5693 #include "confdefs.h"
5694 /* System header to define __stub macros and hopefully few prototypes,
5695 which can conflict with char $ac_func (); below. */
5697 /* Override any gcc2 internal prototype to avoid an error. */
5701 /* We use char because int might match the return type of a gcc2
5702 builtin and then its argument prototype would still apply. */
5706 #ifdef F77_DUMMY_MAIN
5710 int F77_DUMMY_MAIN() { return 1; }
5715 /* The GNU C library defines this for functions which it implements
5716 to always fail with ENOSYS. Some functions are actually named
5717 something starting with __ and the normal name is an alias. */
5718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5728 rm -f conftest.
$ac_objext conftest
$ac_exeext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5730 (eval $ac_link) 2>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } &&
5734 { ac_try
='test -s conftest$ac_exeext'
5735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; }; then
5740 eval "$as_ac_var=yes"
5742 echo "$as_me: failed program was:" >&5
5743 cat conftest.
$ac_ext >&5
5744 eval "$as_ac_var=no"
5746 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5750 if test `eval echo '${'$as_ac_var'}'` = yes; then
5751 cat >>confdefs.h
<<_ACEOF
5752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5759 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
5760 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
5761 if test "${jm_cv_func_mbrtowc+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 cat >conftest.
$ac_ext <<_ACEOF
5765 #line $LINENO "configure"
5766 #include "confdefs.h"
5768 #ifdef F77_DUMMY_MAIN
5772 int F77_DUMMY_MAIN() { return 1; }
5777 mbstate_t state; return ! (sizeof state && mbrtowc);
5782 rm -f conftest.
$ac_objext conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } &&
5788 { ac_try
='test -s conftest$ac_exeext'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; }; then
5794 jm_cv_func_mbrtowc
=yes
5796 echo "$as_me: failed program was:" >&5
5797 cat conftest.
$ac_ext >&5
5798 jm_cv_func_mbrtowc
=no
5800 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5802 echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
5803 echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
5804 if test $jm_cv_func_mbrtowc = yes; then
5806 cat >>confdefs.h
<<\_ACEOF
5807 #define HAVE_MBRTOWC 1
5818 for ac_header
in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
5820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5822 echo "$as_me:$LINENO: checking for $ac_header" >&5
5823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5830 # Is the header compilable?
5831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5833 cat >conftest.
$ac_ext <<_ACEOF
5834 #line $LINENO "configure"
5835 #include "confdefs.h"
5836 $ac_includes_default
5837 #include <$ac_header>
5839 rm -f conftest.
$ac_objext
5840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5841 (eval $ac_compile) 2>&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } &&
5845 { ac_try
='test -s conftest.$ac_objext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5851 ac_header_compiler
=yes
5853 echo "$as_me: failed program was:" >&5
5854 cat conftest.
$ac_ext >&5
5855 ac_header_compiler
=no
5857 rm -f conftest.
$ac_objext conftest.
$ac_ext
5858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5859 echo "${ECHO_T}$ac_header_compiler" >&6
5861 # Is the header present?
5862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5864 cat >conftest.
$ac_ext <<_ACEOF
5865 #line $LINENO "configure"
5866 #include "confdefs.h"
5867 #include <$ac_header>
5869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5872 egrep -v '^ *\+' conftest.er1
>conftest.err
5874 cat conftest.err
>&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); } >/dev
/null
; then
5877 if test -s conftest.err
; then
5878 ac_cpp_err
=$ac_c_preproc_warn_flag
5885 if test -z "$ac_cpp_err"; then
5886 ac_header_preproc
=yes
5888 echo "$as_me: failed program was:" >&5
5889 cat conftest.
$ac_ext >&5
5890 ac_header_preproc
=no
5892 rm -f conftest.err conftest.
$ac_ext
5893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5894 echo "${ECHO_T}$ac_header_preproc" >&6
5896 # So? What about this header?
5897 case $ac_header_compiler:$ac_header_preproc in
5899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
5905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5911 echo "$as_me:$LINENO: checking for $ac_header" >&5
5912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 eval "$as_ac_Header=$ac_header_preproc"
5918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5923 cat >>confdefs.h
<<_ACEOF
5924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5931 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5932 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5933 if test "${ac_cv_header_stdc+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 cat >conftest.
$ac_ext <<_ACEOF
5937 #line $LINENO "configure"
5938 #include "confdefs.h"
5945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5948 egrep -v '^ *\+' conftest.er1
>conftest.err
5950 cat conftest.err
>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } >/dev
/null
; then
5953 if test -s conftest.err
; then
5954 ac_cpp_err
=$ac_c_preproc_warn_flag
5961 if test -z "$ac_cpp_err"; then
5962 ac_cv_header_stdc
=yes
5964 echo "$as_me: failed program was:" >&5
5965 cat conftest.
$ac_ext >&5
5966 ac_cv_header_stdc
=no
5968 rm -f conftest.err conftest.
$ac_ext
5970 if test $ac_cv_header_stdc = yes; then
5971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5972 cat >conftest.
$ac_ext <<_ACEOF
5973 #line $LINENO "configure"
5974 #include "confdefs.h"
5978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5979 egrep "memchr" >/dev
/null
2>&1; then
5982 ac_cv_header_stdc
=no
5988 if test $ac_cv_header_stdc = yes; then
5989 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5990 cat >conftest.
$ac_ext <<_ACEOF
5991 #line $LINENO "configure"
5992 #include "confdefs.h"
5996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5997 egrep "free" >/dev
/null
2>&1; then
6000 ac_cv_header_stdc
=no
6006 if test $ac_cv_header_stdc = yes; then
6007 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6008 if test "$cross_compiling" = yes; then
6011 cat >conftest.
$ac_ext <<_ACEOF
6012 #line $LINENO "configure"
6013 #include "confdefs.h"
6015 #if ((' ' & 0x0FF) == 0x020)
6016 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6017 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6019 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6020 || ('j' <= (c) && (c) <= 'r') \
6021 || ('s' <= (c) && (c) <= 'z'))
6022 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6030 for (i = 0; i < 256; i++)
6031 if (XOR (islower (i), ISLOWER (i))
6032 || toupper (i) != TOUPPER (i))
6037 rm -f conftest
$ac_exeext
6038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6039 (eval $ac_link) 2>&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; }; then
6050 echo "$as_me: program exited with status $ac_status" >&5
6051 echo "$as_me: failed program was:" >&5
6052 cat conftest.
$ac_ext >&5
6054 ac_cv_header_stdc
=no
6056 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6060 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6061 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6062 if test $ac_cv_header_stdc = yes; then
6064 cat >>confdefs.h
<<\_ACEOF
6065 #define STDC_HEADERS 1
6071 echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5
6072 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
6073 if test "${ac_cv_c_backslash_a+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 cat >conftest.
$ac_ext <<_ACEOF
6077 #line $LINENO "configure"
6078 #include "confdefs.h"
6080 #ifdef F77_DUMMY_MAIN
6084 int F77_DUMMY_MAIN() { return 1; }
6093 char buf['\a' == 'a' ? -1 : 1];
6095 return buf[0] != "\a"[0];
6101 rm -f conftest.
$ac_objext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103 (eval $ac_compile) 2>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } &&
6107 { ac_try
='test -s conftest.$ac_objext'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6113 ac_cv_c_backslash_a
=yes
6115 echo "$as_me: failed program was:" >&5
6116 cat conftest.
$ac_ext >&5
6117 ac_cv_c_backslash_a
=no
6119 rm -f conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5
6122 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
6123 if test $ac_cv_c_backslash_a = yes; then
6125 cat >>confdefs.h
<<\_ACEOF
6126 #define HAVE_C_BACKSLASH_A 1
6133 for ac_header
in stdlib.h
6135 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6145 # Is the header compilable?
6146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6148 cat >conftest.
$ac_ext <<_ACEOF
6149 #line $LINENO "configure"
6150 #include "confdefs.h"
6151 $ac_includes_default
6152 #include <$ac_header>
6154 rm -f conftest.
$ac_objext
6155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6156 (eval $ac_compile) 2>&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } &&
6160 { ac_try
='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 ac_header_compiler
=yes
6168 echo "$as_me: failed program was:" >&5
6169 cat conftest.
$ac_ext >&5
6170 ac_header_compiler
=no
6172 rm -f conftest.
$ac_objext conftest.
$ac_ext
6173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6174 echo "${ECHO_T}$ac_header_compiler" >&6
6176 # Is the header present?
6177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6179 cat >conftest.
$ac_ext <<_ACEOF
6180 #line $LINENO "configure"
6181 #include "confdefs.h"
6182 #include <$ac_header>
6184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6187 egrep -v '^ *\+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } >/dev
/null
; then
6192 if test -s conftest.err
; then
6193 ac_cpp_err
=$ac_c_preproc_warn_flag
6200 if test -z "$ac_cpp_err"; then
6201 ac_header_preproc
=yes
6203 echo "$as_me: failed program was:" >&5
6204 cat conftest.
$ac_ext >&5
6205 ac_header_preproc
=no
6207 rm -f conftest.err conftest.
$ac_ext
6208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6209 echo "${ECHO_T}$ac_header_preproc" >&6
6211 # So? What about this header?
6212 case $ac_header_compiler:$ac_header_preproc in
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
6220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6226 echo "$as_me:$LINENO: checking for $ac_header" >&5
6227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 eval "$as_ac_Header=$ac_header_preproc"
6233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6238 cat >>confdefs.h
<<_ACEOF
6239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6247 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6248 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6249 if test "${ac_cv_type_mbstate_t+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 cat >conftest.
$ac_ext <<_ACEOF
6253 #line $LINENO "configure"
6254 #include "confdefs.h"
6257 # include <stdlib.h>
6260 #ifdef F77_DUMMY_MAIN
6264 int F77_DUMMY_MAIN() { return 1; }
6269 mbstate_t x; return sizeof x;
6274 rm -f conftest.
$ac_objext
6275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6276 (eval $ac_compile) 2>&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try
='test -s conftest.$ac_objext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 ac_cv_type_mbstate_t
=yes
6288 echo "$as_me: failed program was:" >&5
6289 cat conftest.
$ac_ext >&5
6290 ac_cv_type_mbstate_t
=no
6292 rm -f conftest.
$ac_objext conftest.
$ac_ext
6294 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
6295 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
6296 if test $ac_cv_type_mbstate_t = no
; then
6298 cat >>confdefs.h
<<\_ACEOF
6299 #define mbstate_t int
6305 echo "$as_me:$LINENO: checking for function prototypes" >&5
6306 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
6307 if test "$am_cv_prog_cc_stdc" != no
; then
6308 echo "$as_me:$LINENO: result: yes" >&5
6309 echo "${ECHO_T}yes" >&6
6311 cat >>confdefs.h
<<\_ACEOF
6312 #define PROTOTYPES 1
6317 echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6
6319 U
=_ ANSI2KNR
=.
/ansi2knr
6321 # Ensure some checks needed by ansi2knr itself.
6322 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6323 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6324 if test "${ac_cv_header_stdc+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 cat >conftest.
$ac_ext <<_ACEOF
6328 #line $LINENO "configure"
6329 #include "confdefs.h"
6336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6339 egrep -v '^ *\+' conftest.er1
>conftest.err
6341 cat conftest.err
>&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } >/dev
/null
; then
6344 if test -s conftest.err
; then
6345 ac_cpp_err
=$ac_c_preproc_warn_flag
6352 if test -z "$ac_cpp_err"; then
6353 ac_cv_header_stdc
=yes
6355 echo "$as_me: failed program was:" >&5
6356 cat conftest.
$ac_ext >&5
6357 ac_cv_header_stdc
=no
6359 rm -f conftest.err conftest.
$ac_ext
6361 if test $ac_cv_header_stdc = yes; then
6362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6363 cat >conftest.
$ac_ext <<_ACEOF
6364 #line $LINENO "configure"
6365 #include "confdefs.h"
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 egrep "memchr" >/dev
/null
2>&1; then
6373 ac_cv_header_stdc
=no
6379 if test $ac_cv_header_stdc = yes; then
6380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6381 cat >conftest.
$ac_ext <<_ACEOF
6382 #line $LINENO "configure"
6383 #include "confdefs.h"
6387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6388 egrep "free" >/dev
/null
2>&1; then
6391 ac_cv_header_stdc
=no
6397 if test $ac_cv_header_stdc = yes; then
6398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6399 if test "$cross_compiling" = yes; then
6402 cat >conftest.
$ac_ext <<_ACEOF
6403 #line $LINENO "configure"
6404 #include "confdefs.h"
6406 #if ((' ' & 0x0FF) == 0x020)
6407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6410 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6411 || ('j' <= (c) && (c) <= 'r') \
6412 || ('s' <= (c) && (c) <= 'z'))
6413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6421 for (i = 0; i < 256; i++)
6422 if (XOR (islower (i), ISLOWER (i))
6423 || toupper (i) != TOUPPER (i))
6428 rm -f conftest
$ac_exeext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6430 (eval $ac_link) 2>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }; then
6441 echo "$as_me: program exited with status $ac_status" >&5
6442 echo "$as_me: failed program was:" >&5
6443 cat conftest.
$ac_ext >&5
6445 ac_cv_header_stdc
=no
6447 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6452 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6453 if test $ac_cv_header_stdc = yes; then
6455 cat >>confdefs.h
<<\_ACEOF
6456 #define STDC_HEADERS 1
6462 for ac_header
in string.h
6464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6466 echo "$as_me:$LINENO: checking for $ac_header" >&5
6467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6469 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6474 # Is the header compilable?
6475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6477 cat >conftest.
$ac_ext <<_ACEOF
6478 #line $LINENO "configure"
6479 #include "confdefs.h"
6480 $ac_includes_default
6481 #include <$ac_header>
6483 rm -f conftest.
$ac_objext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6485 (eval $ac_compile) 2>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try
='test -s conftest.$ac_objext'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6495 ac_header_compiler
=yes
6497 echo "$as_me: failed program was:" >&5
6498 cat conftest.
$ac_ext >&5
6499 ac_header_compiler
=no
6501 rm -f conftest.
$ac_objext conftest.
$ac_ext
6502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6503 echo "${ECHO_T}$ac_header_compiler" >&6
6505 # Is the header present?
6506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6508 cat >conftest.
$ac_ext <<_ACEOF
6509 #line $LINENO "configure"
6510 #include "confdefs.h"
6511 #include <$ac_header>
6513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6516 egrep -v '^ *\+' conftest.er1
>conftest.err
6518 cat conftest.err
>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } >/dev
/null
; then
6521 if test -s conftest.err
; then
6522 ac_cpp_err
=$ac_c_preproc_warn_flag
6529 if test -z "$ac_cpp_err"; then
6530 ac_header_preproc
=yes
6532 echo "$as_me: failed program was:" >&5
6533 cat conftest.
$ac_ext >&5
6534 ac_header_preproc
=no
6536 rm -f conftest.err conftest.
$ac_ext
6537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6538 echo "${ECHO_T}$ac_header_preproc" >&6
6540 # So? What about this header?
6541 case $ac_header_compiler:$ac_header_preproc in
6543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
6549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6555 echo "$as_me:$LINENO: checking for $ac_header" >&5
6556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 eval "$as_ac_Header=$ac_header_preproc"
6562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6567 cat >>confdefs.h
<<_ACEOF
6568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6581 for ac_func
in strerror vprintf doprnt
6583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6584 echo "$as_me:$LINENO: checking for $ac_func" >&5
6585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6586 if eval "test \"\${$as_ac_var+set}\" = set"; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 cat >conftest.
$ac_ext <<_ACEOF
6590 #line $LINENO "configure"
6591 #include "confdefs.h"
6592 /* System header to define __stub macros and hopefully few prototypes,
6593 which can conflict with char $ac_func (); below. */
6595 /* Override any gcc2 internal prototype to avoid an error. */
6599 /* We use char because int might match the return type of a gcc2
6600 builtin and then its argument prototype would still apply. */
6604 #ifdef F77_DUMMY_MAIN
6608 int F77_DUMMY_MAIN() { return 1; }
6613 /* The GNU C library defines this for functions which it implements
6614 to always fail with ENOSYS. Some functions are actually named
6615 something starting with __ and the normal name is an alias. */
6616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6626 rm -f conftest.
$ac_objext conftest
$ac_exeext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628 (eval $ac_link) 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } &&
6632 { ac_try
='test -s conftest$ac_exeext'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then
6638 eval "$as_ac_var=yes"
6640 echo "$as_me: failed program was:" >&5
6641 cat conftest.
$ac_ext >&5
6642 eval "$as_ac_var=no"
6644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6648 if test `eval echo '${'$as_ac_var'}'` = yes; then
6649 cat >>confdefs.h
<<_ACEOF
6650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6656 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
6657 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
6658 if test "${ac_cv_have_decl_strerror+set}" = set; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 cat >conftest.
$ac_ext <<_ACEOF
6662 #line $LINENO "configure"
6663 #include "confdefs.h"
6664 $ac_includes_default
6665 #ifdef F77_DUMMY_MAIN
6669 int F77_DUMMY_MAIN() { return 1; }
6675 char *p = (char *) strerror;
6682 rm -f conftest.
$ac_objext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } &&
6688 { ac_try
='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 ac_cv_have_decl_strerror
=yes
6696 echo "$as_me: failed program was:" >&5
6697 cat conftest.
$ac_ext >&5
6698 ac_cv_have_decl_strerror
=no
6700 rm -f conftest.
$ac_objext conftest.
$ac_ext
6702 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
6703 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
6704 if test $ac_cv_have_decl_strerror = yes; then
6706 cat >>confdefs.h
<<_ACEOF
6707 #define HAVE_DECL_STRERROR 1
6712 cat >>confdefs.h
<<_ACEOF
6713 #define HAVE_DECL_STRERROR 0
6720 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
6721 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6722 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 cat >conftest.
$ac_ext <<_ACEOF
6726 #line $LINENO "configure"
6727 #include "confdefs.h"
6728 $ac_includes_default
6729 #ifdef F77_DUMMY_MAIN
6733 int F77_DUMMY_MAIN() { return 1; }
6739 char *p = (char *) strerror_r;
6746 rm -f conftest.
$ac_objext
6747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6748 (eval $ac_compile) 2>&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try
='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6758 ac_cv_have_decl_strerror_r
=yes
6760 echo "$as_me: failed program was:" >&5
6761 cat conftest.
$ac_ext >&5
6762 ac_cv_have_decl_strerror_r
=no
6764 rm -f conftest.
$ac_objext conftest.
$ac_ext
6766 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
6767 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6768 if test $ac_cv_have_decl_strerror_r = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_DECL_STRERROR_R 1
6776 cat >>confdefs.h
<<_ACEOF
6777 #define HAVE_DECL_STRERROR_R 0
6785 for ac_func
in strerror_r
6787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6788 echo "$as_me:$LINENO: checking for $ac_func" >&5
6789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6790 if eval "test \"\${$as_ac_var+set}\" = set"; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 cat >conftest.
$ac_ext <<_ACEOF
6794 #line $LINENO "configure"
6795 #include "confdefs.h"
6796 /* System header to define __stub macros and hopefully few prototypes,
6797 which can conflict with char $ac_func (); below. */
6799 /* Override any gcc2 internal prototype to avoid an error. */
6803 /* We use char because int might match the return type of a gcc2
6804 builtin and then its argument prototype would still apply. */
6808 #ifdef F77_DUMMY_MAIN
6812 int F77_DUMMY_MAIN() { return 1; }
6817 /* The GNU C library defines this for functions which it implements
6818 to always fail with ENOSYS. Some functions are actually named
6819 something starting with __ and the normal name is an alias. */
6820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6830 rm -f conftest.
$ac_objext conftest
$ac_exeext
6831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6832 (eval $ac_link) 2>&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); } &&
6836 { ac_try
='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 eval "$as_ac_var=yes"
6844 echo "$as_me: failed program was:" >&5
6845 cat conftest.
$ac_ext >&5
6846 eval "$as_ac_var=no"
6848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6852 if test `eval echo '${'$as_ac_var'}'` = yes; then
6853 cat >>confdefs.h
<<_ACEOF
6854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6860 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
6861 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
6862 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 ac_cv_func_strerror_r_char_p
=no
6867 if test $ac_cv_have_decl_strerror_r = yes; then
6868 cat >conftest.
$ac_ext <<_ACEOF
6869 #line $LINENO "configure"
6870 #include "confdefs.h"
6871 $ac_includes_default
6872 #ifdef F77_DUMMY_MAIN
6876 int F77_DUMMY_MAIN() { return 1; }
6883 char x = *strerror_r (0, buf, sizeof buf);
6884 char *p = strerror_r (0, buf, sizeof buf);
6890 rm -f conftest.
$ac_objext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6892 (eval $ac_compile) 2>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -s conftest.$ac_objext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6902 ac_cv_func_strerror_r_char_p
=yes
6904 echo "$as_me: failed program was:" >&5
6905 cat conftest.
$ac_ext >&5
6907 rm -f conftest.
$ac_objext conftest.
$ac_ext
6909 # strerror_r is not declared. Choose between
6910 # systems that have relatively inaccessible declarations for the
6911 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
6912 # former has a strerror_r that returns char*, while the latter
6913 # has a strerror_r that returns `int'.
6914 # This test should segfault on the DEC system.
6915 if test "$cross_compiling" = yes; then
6918 cat >conftest.
$ac_ext <<_ACEOF
6919 #line $LINENO "configure"
6920 #include "confdefs.h"
6921 $ac_includes_default
6922 extern char *strerror_r ();
6923 #ifdef F77_DUMMY_MAIN
6927 int F77_DUMMY_MAIN() { return 1; }
6933 char x = *strerror_r (0, buf, sizeof buf);
6934 exit (!isalpha (x));
6939 rm -f conftest
$ac_exeext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6941 (eval $ac_link) 2>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; }; then
6950 ac_cv_func_strerror_r_char_p
=yes
6952 echo "$as_me: program exited with status $ac_status" >&5
6953 echo "$as_me: failed program was:" >&5
6954 cat conftest.
$ac_ext >&5
6956 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6961 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
6962 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
6963 if test $ac_cv_func_strerror_r_char_p = yes; then
6965 cat >>confdefs.h
<<\_ACEOF
6966 #define STRERROR_R_CHAR_P 1
6971 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6972 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6973 if test "${ac_cv_header_stdc+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 cat >conftest.
$ac_ext <<_ACEOF
6977 #line $LINENO "configure"
6978 #include "confdefs.h"
6985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6988 egrep -v '^ *\+' conftest.er1
>conftest.err
6990 cat conftest.err
>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } >/dev
/null
; then
6993 if test -s conftest.err
; then
6994 ac_cpp_err
=$ac_c_preproc_warn_flag
7001 if test -z "$ac_cpp_err"; then
7002 ac_cv_header_stdc
=yes
7004 echo "$as_me: failed program was:" >&5
7005 cat conftest.
$ac_ext >&5
7006 ac_cv_header_stdc
=no
7008 rm -f conftest.err conftest.
$ac_ext
7010 if test $ac_cv_header_stdc = yes; then
7011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7012 cat >conftest.
$ac_ext <<_ACEOF
7013 #line $LINENO "configure"
7014 #include "confdefs.h"
7018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7019 egrep "memchr" >/dev
/null
2>&1; then
7022 ac_cv_header_stdc
=no
7028 if test $ac_cv_header_stdc = yes; then
7029 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7030 cat >conftest.
$ac_ext <<_ACEOF
7031 #line $LINENO "configure"
7032 #include "confdefs.h"
7036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7037 egrep "free" >/dev
/null
2>&1; then
7040 ac_cv_header_stdc
=no
7046 if test $ac_cv_header_stdc = yes; then
7047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7048 if test "$cross_compiling" = yes; then
7051 cat >conftest.
$ac_ext <<_ACEOF
7052 #line $LINENO "configure"
7053 #include "confdefs.h"
7055 #if ((' ' & 0x0FF) == 0x020)
7056 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7057 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7059 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7060 || ('j' <= (c) && (c) <= 'r') \
7061 || ('s' <= (c) && (c) <= 'z'))
7062 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7070 for (i = 0; i < 256; i++)
7071 if (XOR (islower (i), ISLOWER (i))
7072 || toupper (i) != TOUPPER (i))
7077 rm -f conftest
$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7090 echo "$as_me: program exited with status $ac_status" >&5
7091 echo "$as_me: failed program was:" >&5
7092 cat conftest.
$ac_ext >&5
7094 ac_cv_header_stdc
=no
7096 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7100 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7101 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7102 if test $ac_cv_header_stdc = yes; then
7104 cat >>confdefs.h
<<\_ACEOF
7105 #define STDC_HEADERS 1
7111 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
7112 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
7114 # Check whether --with-dmalloc or --without-dmalloc was given.
7115 if test "${with_dmalloc+set}" = set; then
7116 withval
="$with_dmalloc"
7117 if test "$withval" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7121 cat >>confdefs.h
<<\_ACEOF
7122 #define WITH_DMALLOC 1
7125 LIBS
="$LIBS -ldmalloc"
7126 LDFLAGS
="$LDFLAGS -g"
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7137 ALL_LINGUAS
="de es et fr ja nl ru sv tr"
7138 # Make sure we can run config.sub.
7139 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7140 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7141 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7142 { (exit 1); exit 1; }; }
7144 echo "$as_me:$LINENO: checking build system type" >&5
7145 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7146 if test "${ac_cv_build+set}" = set; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 ac_cv_build_alias
=$build_alias
7150 test -z "$ac_cv_build_alias" &&
7151 ac_cv_build_alias
=`$ac_config_guess`
7152 test -z "$ac_cv_build_alias" &&
7153 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7154 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7155 { (exit 1); exit 1; }; }
7156 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7157 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed." >&5
7158 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
7159 { (exit 1); exit 1; }; }
7162 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7163 echo "${ECHO_T}$ac_cv_build" >&6
7165 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7166 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7167 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7170 echo "$as_me:$LINENO: checking host system type" >&5
7171 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7172 if test "${ac_cv_host+set}" = set; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 ac_cv_host_alias
=$host_alias
7176 test -z "$ac_cv_host_alias" &&
7177 ac_cv_host_alias
=$ac_cv_build_alias
7178 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7179 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7180 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7181 { (exit 1); exit 1; }; }
7184 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7185 echo "${ECHO_T}$ac_cv_host" >&6
7187 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7188 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7189 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7192 echo "$as_me:$LINENO: checking for off_t" >&5
7193 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7194 if test "${ac_cv_type_off_t+set}" = set; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 cat >conftest.
$ac_ext <<_ACEOF
7198 #line $LINENO "configure"
7199 #include "confdefs.h"
7200 $ac_includes_default
7201 #ifdef F77_DUMMY_MAIN
7205 int F77_DUMMY_MAIN() { return 1; }
7218 rm -f conftest.
$ac_objext
7219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7220 (eval $ac_compile) 2>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } &&
7224 { ac_try
='test -s conftest.$ac_objext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_cv_type_off_t
=yes
7232 echo "$as_me: failed program was:" >&5
7233 cat conftest.
$ac_ext >&5
7236 rm -f conftest.
$ac_objext conftest.
$ac_ext
7238 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7239 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7240 if test $ac_cv_type_off_t = yes; then
7244 cat >>confdefs.h
<<_ACEOF
7250 echo "$as_me:$LINENO: checking for size_t" >&5
7251 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7252 if test "${ac_cv_type_size_t+set}" = set; then
7253 echo $ECHO_N "(cached) $ECHO_C" >&6
7255 cat >conftest.
$ac_ext <<_ACEOF
7256 #line $LINENO "configure"
7257 #include "confdefs.h"
7258 $ac_includes_default
7259 #ifdef F77_DUMMY_MAIN
7263 int F77_DUMMY_MAIN() { return 1; }
7270 if (sizeof (size_t))
7276 rm -f conftest.
$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try
='test -s conftest.$ac_objext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7288 ac_cv_type_size_t
=yes
7290 echo "$as_me: failed program was:" >&5
7291 cat conftest.
$ac_ext >&5
7292 ac_cv_type_size_t
=no
7294 rm -f conftest.
$ac_objext conftest.
$ac_ext
7296 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7297 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7298 if test $ac_cv_type_size_t = yes; then
7302 cat >>confdefs.h
<<_ACEOF
7303 #define size_t unsigned
7310 for ac_header
in stdlib.h unistd.h
7312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7314 echo "$as_me:$LINENO: checking for $ac_header" >&5
7315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7322 # Is the header compilable?
7323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7325 cat >conftest.
$ac_ext <<_ACEOF
7326 #line $LINENO "configure"
7327 #include "confdefs.h"
7328 $ac_includes_default
7329 #include <$ac_header>
7331 rm -f conftest.
$ac_objext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7333 (eval $ac_compile) 2>&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); } &&
7337 { ac_try
='test -s conftest.$ac_objext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 ac_header_compiler
=yes
7345 echo "$as_me: failed program was:" >&5
7346 cat conftest.
$ac_ext >&5
7347 ac_header_compiler
=no
7349 rm -f conftest.
$ac_objext conftest.
$ac_ext
7350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7351 echo "${ECHO_T}$ac_header_compiler" >&6
7353 # Is the header present?
7354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7357 #line $LINENO "configure"
7358 #include "confdefs.h"
7359 #include <$ac_header>
7361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7364 egrep -v '^ *\+' conftest.er1
>conftest.err
7366 cat conftest.err
>&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } >/dev
/null
; then
7369 if test -s conftest.err
; then
7370 ac_cpp_err
=$ac_c_preproc_warn_flag
7377 if test -z "$ac_cpp_err"; then
7378 ac_header_preproc
=yes
7380 echo "$as_me: failed program was:" >&5
7381 cat conftest.
$ac_ext >&5
7382 ac_header_preproc
=no
7384 rm -f conftest.err conftest.
$ac_ext
7385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7386 echo "${ECHO_T}$ac_header_preproc" >&6
7388 # So? What about this header?
7389 case $ac_header_compiler:$ac_header_preproc in
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
7397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7403 echo "$as_me:$LINENO: checking for $ac_header" >&5
7404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 eval "$as_ac_Header=$ac_header_preproc"
7410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7415 cat >>confdefs.h
<<_ACEOF
7416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7424 for ac_func
in getpagesize
7426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7427 echo "$as_me:$LINENO: checking for $ac_func" >&5
7428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7429 if eval "test \"\${$as_ac_var+set}\" = set"; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 cat >conftest.
$ac_ext <<_ACEOF
7433 #line $LINENO "configure"
7434 #include "confdefs.h"
7435 /* System header to define __stub macros and hopefully few prototypes,
7436 which can conflict with char $ac_func (); below. */
7438 /* Override any gcc2 internal prototype to avoid an error. */
7442 /* We use char because int might match the return type of a gcc2
7443 builtin and then its argument prototype would still apply. */
7447 #ifdef F77_DUMMY_MAIN
7451 int F77_DUMMY_MAIN() { return 1; }
7456 /* The GNU C library defines this for functions which it implements
7457 to always fail with ENOSYS. Some functions are actually named
7458 something starting with __ and the normal name is an alias. */
7459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7469 rm -f conftest.
$ac_objext conftest
$ac_exeext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7471 (eval $ac_link) 2>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try
='test -s conftest$ac_exeext'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 eval "$as_ac_var=yes"
7483 echo "$as_me: failed program was:" >&5
7484 cat conftest.
$ac_ext >&5
7485 eval "$as_ac_var=no"
7487 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7491 if test `eval echo '${'$as_ac_var'}'` = yes; then
7492 cat >>confdefs.h
<<_ACEOF
7493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7499 echo "$as_me:$LINENO: checking for working mmap" >&5
7500 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7501 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 if test "$cross_compiling" = yes; then
7505 ac_cv_func_mmap_fixed_mapped
=no
7507 cat >conftest.
$ac_ext <<_ACEOF
7508 #line $LINENO "configure"
7509 #include "confdefs.h"
7510 $ac_includes_default
7511 /* Thanks to Mike Haertel and Jim Avera for this test.
7512 Here is a matrix of mmap possibilities:
7513 mmap private not fixed
7514 mmap private fixed at somewhere currently unmapped
7515 mmap private fixed at somewhere already mapped
7516 mmap shared not fixed
7517 mmap shared fixed at somewhere currently unmapped
7518 mmap shared fixed at somewhere already mapped
7519 For private mappings, we should verify that changes cannot be read()
7520 back from the file, nor mmap's back from the file at a different
7521 address. (There have been systems where private was not correctly
7522 implemented like the infamous i386 svr4.0, and systems where the
7523 VM page cache was not coherent with the file system buffer cache
7524 like early versions of FreeBSD and possibly contemporary NetBSD.)
7525 For shared mappings, we should conversely verify that changes get
7526 propagated back to all the places they're supposed to be.
7528 Grep wants private fixed already mapped.
7529 The main things grep needs to know about mmap are:
7530 * does it exist and is it safe to write into the mmap'd area
7531 * how to use it (BSD variants) */
7534 #include <sys/mman.h>
7536 #if !STDC_HEADERS && !HAVE_STDLIB_H
7540 /* This mess was copied from the GNU getpagesize.h. */
7541 #if !HAVE_GETPAGESIZE
7542 /* Assume that all systems that can run configure have sys/param.h. */
7543 # if !HAVE_SYS_PARAM_H
7544 # define HAVE_SYS_PARAM_H 1
7547 # ifdef _SC_PAGESIZE
7548 # define getpagesize() sysconf(_SC_PAGESIZE)
7549 # else /* no _SC_PAGESIZE */
7550 # if HAVE_SYS_PARAM_H
7551 # include <sys/param.h>
7552 # ifdef EXEC_PAGESIZE
7553 # define getpagesize() EXEC_PAGESIZE
7554 # else /* no EXEC_PAGESIZE */
7556 # define getpagesize() NBPG * CLSIZE
7559 # endif /* no CLSIZE */
7560 # else /* no NBPG */
7562 # define getpagesize() NBPC
7563 # else /* no NBPC */
7565 # define getpagesize() PAGESIZE
7566 # endif /* PAGESIZE */
7567 # endif /* no NBPC */
7568 # endif /* no NBPG */
7569 # endif /* no EXEC_PAGESIZE */
7570 # else /* no HAVE_SYS_PARAM_H */
7571 # define getpagesize() 8192 /* punt totally */
7572 # endif /* no HAVE_SYS_PARAM_H */
7573 # endif /* no _SC_PAGESIZE */
7575 #endif /* no HAVE_GETPAGESIZE */
7580 char *data, *data2, *data3;
7584 pagesize = getpagesize ();
7586 /* First, make a file with some known garbage in it. */
7587 data = (char *) malloc (pagesize);
7590 for (i = 0; i < pagesize; ++i)
7591 *(data + i) = rand ();
7593 fd = creat ("conftest.mmap", 0600);
7596 if (write (fd, data, pagesize) != pagesize)
7600 /* Next, try to mmap the file at a fixed address which already has
7601 something else allocated at it. If we can, also make sure that
7602 we see the same garbage. */
7603 fd = open ("conftest.mmap", O_RDWR);
7606 data2 = (char *) malloc (2 * pagesize);
7609 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7610 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7611 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7613 for (i = 0; i < pagesize; ++i)
7614 if (*(data + i) != *(data2 + i))
7617 /* Finally, make sure that changes to the mapped area do not
7618 percolate back to the file as seen by read(). (This is a bug on
7619 some variants of i386 svr4.0.) */
7620 for (i = 0; i < pagesize; ++i)
7621 *(data2 + i) = *(data2 + i) + 1;
7622 data3 = (char *) malloc (pagesize);
7625 if (read (fd, data3, pagesize) != pagesize)
7627 for (i = 0; i < pagesize; ++i)
7628 if (*(data + i) != *(data3 + i))
7634 rm -f conftest
$ac_exeext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7636 (eval $ac_link) 2>&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; }; then
7645 ac_cv_func_mmap_fixed_mapped
=yes
7647 echo "$as_me: program exited with status $ac_status" >&5
7648 echo "$as_me: failed program was:" >&5
7649 cat conftest.
$ac_ext >&5
7651 ac_cv_func_mmap_fixed_mapped
=no
7653 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7656 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7657 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7658 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7660 cat >>confdefs.h
<<\_ACEOF
7668 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
7669 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7670 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7671 echo $ECHO_N "(cached) $ECHO_C" >&6
7673 cat >conftest.
$ac_ext <<_ACEOF
7674 #line $LINENO "configure"
7675 #include "confdefs.h"
7677 #include <features.h>
7678 #ifdef __GNU_LIBRARY__
7679 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7686 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7687 ac_cv_gnu_library_2_1
=yes
7689 ac_cv_gnu_library_2_1
=no
7696 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
7697 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7699 GLIBC21
="$ac_cv_gnu_library_2_1"
7713 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7714 stdlib.h string.h unistd.h sys
/param.h
7716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7718 echo "$as_me:$LINENO: checking for $ac_header" >&5
7719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7726 # Is the header compilable?
7727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7729 cat >conftest.
$ac_ext <<_ACEOF
7730 #line $LINENO "configure"
7731 #include "confdefs.h"
7732 $ac_includes_default
7733 #include <$ac_header>
7735 rm -f conftest.
$ac_objext
7736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7737 (eval $ac_compile) 2>&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } &&
7741 { ac_try
='test -s conftest.$ac_objext'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7747 ac_header_compiler
=yes
7749 echo "$as_me: failed program was:" >&5
7750 cat conftest.
$ac_ext >&5
7751 ac_header_compiler
=no
7753 rm -f conftest.
$ac_objext conftest.
$ac_ext
7754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7755 echo "${ECHO_T}$ac_header_compiler" >&6
7757 # Is the header present?
7758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7760 cat >conftest.
$ac_ext <<_ACEOF
7761 #line $LINENO "configure"
7762 #include "confdefs.h"
7763 #include <$ac_header>
7765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7768 egrep -v '^ *\+' conftest.er1
>conftest.err
7770 cat conftest.err
>&5
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); } >/dev
/null
; then
7773 if test -s conftest.err
; then
7774 ac_cpp_err
=$ac_c_preproc_warn_flag
7781 if test -z "$ac_cpp_err"; then
7782 ac_header_preproc
=yes
7784 echo "$as_me: failed program was:" >&5
7785 cat conftest.
$ac_ext >&5
7786 ac_header_preproc
=no
7788 rm -f conftest.err conftest.
$ac_ext
7789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7790 echo "${ECHO_T}$ac_header_preproc" >&6
7792 # So? What about this header?
7793 case $ac_header_compiler:$ac_header_preproc in
7795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
7801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7807 echo "$as_me:$LINENO: checking for $ac_header" >&5
7808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 eval "$as_ac_Header=$ac_header_preproc"
7814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7819 cat >>confdefs.h
<<_ACEOF
7820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7848 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
7849 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
7850 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
7852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7853 echo "$as_me:$LINENO: checking for $ac_func" >&5
7854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7855 if eval "test \"\${$as_ac_var+set}\" = set"; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7858 cat >conftest.
$ac_ext <<_ACEOF
7859 #line $LINENO "configure"
7860 #include "confdefs.h"
7861 /* System header to define __stub macros and hopefully few prototypes,
7862 which can conflict with char $ac_func (); below. */
7864 /* Override any gcc2 internal prototype to avoid an error. */
7868 /* We use char because int might match the return type of a gcc2
7869 builtin and then its argument prototype would still apply. */
7873 #ifdef F77_DUMMY_MAIN
7877 int F77_DUMMY_MAIN() { return 1; }
7882 /* The GNU C library defines this for functions which it implements
7883 to always fail with ENOSYS. Some functions are actually named
7884 something starting with __ and the normal name is an alias. */
7885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7895 rm -f conftest.
$ac_objext conftest
$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897 (eval $ac_link) 2>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try
='test -s conftest$ac_exeext'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; }; then
7907 eval "$as_ac_var=yes"
7909 echo "$as_me: failed program was:" >&5
7910 cat conftest.
$ac_ext >&5
7911 eval "$as_ac_var=no"
7913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7917 if test `eval echo '${'$as_ac_var'}'` = yes; then
7918 cat >>confdefs.h
<<_ACEOF
7919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7929 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7930 if test "${with_libiconv_prefix+set}" = set; then
7931 withval
="$with_libiconv_prefix"
7933 for dir
in `echo "$withval" | tr : ' '`; do
7934 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
7935 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
7940 echo "$as_me:$LINENO: checking for iconv" >&5
7941 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7942 if test "${am_cv_func_iconv+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 am_cv_func_iconv
="no, consider installing GNU libiconv"
7948 cat >conftest.
$ac_ext <<_ACEOF
7949 #line $LINENO "configure"
7950 #include "confdefs.h"
7953 #ifdef F77_DUMMY_MAIN
7957 int F77_DUMMY_MAIN() { return 1; }
7962 iconv_t cd = iconv_open("","");
7963 iconv(cd,NULL,NULL,NULL,NULL);
7969 rm -f conftest.
$ac_objext conftest
$ac_exeext
7970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7971 (eval $ac_link) 2>&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } &&
7975 { ac_try
='test -s conftest$ac_exeext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 am_cv_func_iconv
=yes
7983 echo "$as_me: failed program was:" >&5
7984 cat conftest.
$ac_ext >&5
7986 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7987 if test "$am_cv_func_iconv" != yes; then
7988 am_save_LIBS
="$LIBS"
7989 LIBS
="$LIBS -liconv"
7990 cat >conftest.
$ac_ext <<_ACEOF
7991 #line $LINENO "configure"
7992 #include "confdefs.h"
7995 #ifdef F77_DUMMY_MAIN
7999 int F77_DUMMY_MAIN() { return 1; }
8004 iconv_t cd = iconv_open("","");
8005 iconv(cd,NULL,NULL,NULL,NULL);
8011 rm -f conftest.
$ac_objext conftest
$ac_exeext
8012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8013 (eval $ac_link) 2>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try
='test -s conftest$ac_exeext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8024 am_cv_func_iconv
=yes
8026 echo "$as_me: failed program was:" >&5
8027 cat conftest.
$ac_ext >&5
8029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8030 LIBS
="$am_save_LIBS"
8034 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8035 echo "${ECHO_T}$am_cv_func_iconv" >&6
8036 if test "$am_cv_func_iconv" = yes; then
8038 cat >>confdefs.h
<<\_ACEOF
8039 #define HAVE_ICONV 1
8042 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8043 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8044 if test "${am_cv_proto_iconv+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8048 cat >conftest.
$ac_ext <<_ACEOF
8049 #line $LINENO "configure"
8050 #include "confdefs.h"
8058 #if defined(__STDC__) || defined(__cplusplus)
8059 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8064 #ifdef F77_DUMMY_MAIN
8068 int F77_DUMMY_MAIN() { return 1; }
8078 rm -f conftest.
$ac_objext
8079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8080 (eval $ac_compile) 2>&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } &&
8084 { ac_try
='test -s conftest.$ac_objext'
8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }; }; then
8090 am_cv_proto_iconv_arg1
=""
8092 echo "$as_me: failed program was:" >&5
8093 cat conftest.
$ac_ext >&5
8094 am_cv_proto_iconv_arg1
="const"
8096 rm -f conftest.
$ac_objext conftest.
$ac_ext
8097 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
8100 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8101 echo "$as_me:$LINENO: result: ${ac_t:-
8102 }$am_cv_proto_iconv" >&5
8103 echo "${ECHO_T}${ac_t:-
8104 }$am_cv_proto_iconv" >&6
8106 cat >>confdefs.h
<<_ACEOF
8107 #define ICONV_CONST $am_cv_proto_iconv_arg1
8112 if test "$am_cv_lib_iconv" = yes; then
8118 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8119 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8120 if test "${am_cv_langinfo_codeset+set}" = set; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 cat >conftest.
$ac_ext <<_ACEOF
8124 #line $LINENO "configure"
8125 #include "confdefs.h"
8126 #include <langinfo.h>
8127 #ifdef F77_DUMMY_MAIN
8131 int F77_DUMMY_MAIN() { return 1; }
8136 char* cs = nl_langinfo(CODESET);
8141 rm -f conftest.
$ac_objext conftest
$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } &&
8147 { ac_try
='test -s conftest$ac_exeext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 am_cv_langinfo_codeset
=yes
8155 echo "$as_me: failed program was:" >&5
8156 cat conftest.
$ac_ext >&5
8157 am_cv_langinfo_codeset
=no
8159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8162 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
8163 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
8164 if test $am_cv_langinfo_codeset = yes; then
8166 cat >>confdefs.h
<<\_ACEOF
8167 #define HAVE_LANGINFO_CODESET 1
8172 if test $ac_cv_header_locale_h = yes; then
8173 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8174 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8175 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 cat >conftest.
$ac_ext <<_ACEOF
8179 #line $LINENO "configure"
8180 #include "confdefs.h"
8182 #ifdef F77_DUMMY_MAIN
8186 int F77_DUMMY_MAIN() { return 1; }
8196 rm -f conftest.
$ac_objext conftest
$ac_exeext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8198 (eval $ac_link) 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } &&
8202 { ac_try
='test -s conftest$ac_exeext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 am_cv_val_LC_MESSAGES
=yes
8210 echo "$as_me: failed program was:" >&5
8211 cat conftest.
$ac_ext >&5
8212 am_cv_val_LC_MESSAGES
=no
8214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8216 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8217 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8218 if test $am_cv_val_LC_MESSAGES = yes; then
8220 cat >>confdefs.h
<<\_ACEOF
8221 #define HAVE_LC_MESSAGES 1
8226 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8227 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8228 # Check whether --enable-nls or --disable-nls was given.
8229 if test "${enable_nls+set}" = set; then
8230 enableval
="$enable_nls"
8235 echo "$as_me:$LINENO: result: $USE_NLS" >&5
8236 echo "${ECHO_T}$USE_NLS" >&6
8239 BUILD_INCLUDED_LIBINTL
=no
8240 USE_INCLUDED_LIBINTL
=no
8243 if test "$USE_NLS" = "yes"; then
8245 cat >>confdefs.h
<<\_ACEOF
8246 #define ENABLE_NLS 1
8249 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8250 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8252 # Check whether --with-included-gettext or --without-included-gettext was given.
8253 if test "${with_included_gettext+set}" = set; then
8254 withval
="$with_included_gettext"
8255 nls_cv_force_use_gnu_gettext
=$withval
8257 nls_cv_force_use_gnu_gettext
=no
8259 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8260 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8262 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
8263 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8269 if test "${ac_cv_header_libintl_h+set}" = set; then
8270 echo "$as_me:$LINENO: checking for libintl.h" >&5
8271 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8272 if test "${ac_cv_header_libintl_h+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8276 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8278 # Is the header compilable?
8279 echo "$as_me:$LINENO: checking libintl.h usability" >&5
8280 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8281 cat >conftest.
$ac_ext <<_ACEOF
8282 #line $LINENO "configure"
8283 #include "confdefs.h"
8284 $ac_includes_default
8285 #include <libintl.h>
8287 rm -f conftest.
$ac_objext
8288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8289 (eval $ac_compile) 2>&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try
='test -s conftest.$ac_objext'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; }; then
8299 ac_header_compiler
=yes
8301 echo "$as_me: failed program was:" >&5
8302 cat conftest.
$ac_ext >&5
8303 ac_header_compiler
=no
8305 rm -f conftest.
$ac_objext conftest.
$ac_ext
8306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8307 echo "${ECHO_T}$ac_header_compiler" >&6
8309 # Is the header present?
8310 echo "$as_me:$LINENO: checking libintl.h presence" >&5
8311 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8312 cat >conftest.
$ac_ext <<_ACEOF
8313 #line $LINENO "configure"
8314 #include "confdefs.h"
8315 #include <libintl.h>
8317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8320 egrep -v '^ *\+' conftest.er1
>conftest.err
8322 cat conftest.err
>&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } >/dev
/null
; then
8325 if test -s conftest.err
; then
8326 ac_cpp_err
=$ac_c_preproc_warn_flag
8333 if test -z "$ac_cpp_err"; then
8334 ac_header_preproc
=yes
8336 echo "$as_me: failed program was:" >&5
8337 cat conftest.
$ac_ext >&5
8338 ac_header_preproc
=no
8340 rm -f conftest.err conftest.
$ac_ext
8341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8342 echo "${ECHO_T}$ac_header_preproc" >&6
8344 # So? What about this header?
8345 case $ac_header_compiler:$ac_header_preproc in
8347 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8348 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8349 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8350 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8352 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled." >&5
8353 echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
8354 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
8355 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
8356 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8357 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8359 echo "$as_me:$LINENO: checking for libintl.h" >&5
8360 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8361 if test "${ac_cv_header_libintl_h+set}" = set; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 ac_cv_header_libintl_h
=$ac_header_preproc
8366 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8367 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8370 if test $ac_cv_header_libintl_h = yes; then
8371 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8372 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
8373 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8377 #line $LINENO "configure"
8378 #include "confdefs.h"
8379 #include <libintl.h>
8380 extern int _nl_msg_cat_cntr;
8381 #ifdef F77_DUMMY_MAIN
8385 int F77_DUMMY_MAIN() { return 1; }
8390 bindtextdomain ("", "");
8391 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8396 rm -f conftest.
$ac_objext conftest
$ac_exeext
8397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8398 (eval $ac_link) 2>&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } &&
8402 { ac_try
='test -s conftest$ac_exeext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 gt_cv_func_gnugettext2_libc
=yes
8410 echo "$as_me: failed program was:" >&5
8411 cat conftest.
$ac_ext >&5
8412 gt_cv_func_gnugettext2_libc
=no
8414 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8416 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
8417 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
8419 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
8420 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8421 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
8422 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8425 gt_save_LIBS
="$LIBS"
8426 LIBS
="$LIBS -lintl $LIBICONV"
8427 cat >conftest.
$ac_ext <<_ACEOF
8428 #line $LINENO "configure"
8429 #include "confdefs.h"
8430 #include <libintl.h>
8431 extern int _nl_msg_cat_cntr;
8432 #ifdef F77_DUMMY_MAIN
8436 int F77_DUMMY_MAIN() { return 1; }
8441 bindtextdomain ("", "");
8442 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8447 rm -f conftest.
$ac_objext conftest
$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } &&
8453 { ac_try
='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 gt_cv_func_gnugettext2_libintl
=yes
8461 echo "$as_me: failed program was:" >&5
8462 cat conftest.
$ac_ext >&5
8463 gt_cv_func_gnugettext2_libintl
=no
8465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8466 LIBS
="$gt_save_LIBS"
8468 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
8469 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
8472 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
8473 || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
8474 && test "$PACKAGE" != gettext; }; then
8476 cat >>confdefs.h
<<\_ACEOF
8477 #define HAVE_GETTEXT 1
8481 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
8482 INTLLIBS
="-lintl $LIBICONV"
8485 gt_save_LIBS
="$LIBS"
8486 LIBS
="$LIBS $INTLLIBS"
8488 for ac_func
in dcgettext
8490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8491 echo "$as_me:$LINENO: checking for $ac_func" >&5
8492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8493 if eval "test \"\${$as_ac_var+set}\" = set"; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.
$ac_ext <<_ACEOF
8497 #line $LINENO "configure"
8498 #include "confdefs.h"
8499 /* System header to define __stub macros and hopefully few prototypes,
8500 which can conflict with char $ac_func (); below. */
8502 /* Override any gcc2 internal prototype to avoid an error. */
8506 /* We use char because int might match the return type of a gcc2
8507 builtin and then its argument prototype would still apply. */
8511 #ifdef F77_DUMMY_MAIN
8515 int F77_DUMMY_MAIN() { return 1; }
8520 /* The GNU C library defines this for functions which it implements
8521 to always fail with ENOSYS. Some functions are actually named
8522 something starting with __ and the normal name is an alias. */
8523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8533 rm -f conftest.
$ac_objext conftest
$ac_exeext
8534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8535 (eval $ac_link) 2>&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try
='test -s conftest$ac_exeext'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then
8545 eval "$as_ac_var=yes"
8547 echo "$as_me: failed program was:" >&5
8548 cat conftest.
$ac_ext >&5
8549 eval "$as_ac_var=no"
8551 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8555 if test `eval echo '${'$as_ac_var'}'` = yes; then
8556 cat >>confdefs.h
<<_ACEOF
8557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8563 LIBS
="$gt_save_LIBS"
8565 # Extract the first word of "msgfmt", so it can be a program name with args.
8566 set dummy msgfmt
; ac_word
=$2
8567 echo "$as_me:$LINENO: checking for $ac_word" >&5
8568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8569 if test "${ac_cv_path_MSGFMT+set}" = set; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8578 for ac_dir
in $PATH; do
8579 test -z "$ac_dir" && ac_dir
=.
8580 if test -f $ac_dir/$ac_word; then
8581 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8582 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8588 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8592 MSGFMT
="$ac_cv_path_MSGFMT"
8593 if test "$MSGFMT" != ":"; then
8594 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8595 echo "${ECHO_T}$MSGFMT" >&6
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8601 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8602 set dummy gmsgfmt
; ac_word
=$2
8603 echo "$as_me:$LINENO: checking for $ac_word" >&5
8604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8605 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir
=.
8618 for ac_exec_ext
in '' $ac_executable_extensions; do
8619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8620 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8627 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8631 GMSGFMT
=$ac_cv_path_GMSGFMT
8633 if test -n "$GMSGFMT"; then
8634 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8635 echo "${ECHO_T}$GMSGFMT" >&6
8637 echo "$as_me:$LINENO: result: no" >&5
8638 echo "${ECHO_T}no" >&6
8642 # Extract the first word of "xgettext", so it can be a program name with args.
8643 set dummy xgettext
; ac_word
=$2
8644 echo "$as_me:$LINENO: checking for $ac_word" >&5
8645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8646 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8654 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8655 for ac_dir
in $PATH; do
8656 test -z "$ac_dir" && ac_dir
=.
8657 if test -f $ac_dir/$ac_word; then
8658 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8659 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8665 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8669 XGETTEXT
="$ac_cv_path_XGETTEXT"
8670 if test "$XGETTEXT" != ":"; then
8671 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8672 echo "${ECHO_T}$XGETTEXT" >&6
8674 echo "$as_me:$LINENO: result: no" >&5
8675 echo "${ECHO_T}no" >&6
8686 if test "$CATOBJEXT" = "NONE"; then
8687 nls_cv_use_gnu_gettext
=yes
8691 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8692 INTLOBJS
="\$(GETTOBJS)"
8693 # Extract the first word of "msgfmt", so it can be a program name with args.
8694 set dummy msgfmt
; ac_word
=$2
8695 echo "$as_me:$LINENO: checking for $ac_word" >&5
8696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8697 if test "${ac_cv_path_MSGFMT+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8705 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8706 for ac_dir
in $PATH; do
8707 test -z "$ac_dir" && ac_dir
=.
8708 if test -f $ac_dir/$ac_word; then
8709 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8710 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8716 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8720 MSGFMT
="$ac_cv_path_MSGFMT"
8721 if test "$MSGFMT" != ":"; then
8722 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8723 echo "${ECHO_T}$MSGFMT" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8729 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8730 set dummy gmsgfmt
; ac_word
=$2
8731 echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8733 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8738 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8745 test -z "$as_dir" && as_dir
=.
8746 for ac_exec_ext
in '' $ac_executable_extensions; do
8747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8748 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8755 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8759 GMSGFMT
=$ac_cv_path_GMSGFMT
8761 if test -n "$GMSGFMT"; then
8762 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8763 echo "${ECHO_T}$GMSGFMT" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8769 # Extract the first word of "xgettext", so it can be a program name with args.
8770 set dummy xgettext
; ac_word
=$2
8771 echo "$as_me:$LINENO: checking for $ac_word" >&5
8772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8773 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8778 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8781 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8782 for ac_dir
in $PATH; do
8783 test -z "$ac_dir" && ac_dir
=.
8784 if test -f $ac_dir/$ac_word; then
8785 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8786 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8792 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8796 XGETTEXT
="$ac_cv_path_XGETTEXT"
8797 if test "$XGETTEXT" != ":"; then
8798 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8799 echo "${ECHO_T}$XGETTEXT" >&6
8801 echo "$as_me:$LINENO: result: no" >&5
8802 echo "${ECHO_T}no" >&6
8806 BUILD_INCLUDED_LIBINTL
=yes
8807 USE_INCLUDED_LIBINTL
=yes
8809 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8810 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8813 if test "$GMSGFMT" != ":"; then
8814 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8817 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8818 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8823 if test "$XGETTEXT" != ":"; then
8824 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8827 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8828 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8835 ac_config_commands
="$ac_config_commands default-1"
8839 if test "$PACKAGE" = gettext; then
8840 BUILD_INCLUDED_LIBINTL
=yes
8843 for ac_prog
in bison
8845 # Extract the first word of "$ac_prog", so it can be a program name with args.
8846 set dummy
$ac_prog; ac_word
=$2
8847 echo "$as_me:$LINENO: checking for $ac_word" >&5
8848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8849 if test "${ac_cv_prog_INTLBISON+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 if test -n "$INTLBISON"; then
8853 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
8855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir
=.
8860 for ac_exec_ext
in '' $ac_executable_extensions; do
8861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8862 ac_cv_prog_INTLBISON
="$ac_prog"
8863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8871 INTLBISON
=$ac_cv_prog_INTLBISON
8872 if test -n "$INTLBISON"; then
8873 echo "$as_me:$LINENO: result: $INTLBISON" >&5
8874 echo "${ECHO_T}$INTLBISON" >&6
8876 echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6
8880 test -n "$INTLBISON" && break
8883 if test -z "$INTLBISON"; then
8886 echo "$as_me:$LINENO: checking version of bison" >&5
8887 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8888 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8889 case $ac_prog_version in
8890 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
8891 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
8892 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
8893 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
8895 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
8896 echo "${ECHO_T}$ac_prog_version" >&6
8898 if test $ac_verc_fail = yes; then
8902 for lang
in $ALL_LINGUAS; do
8903 GMOFILES
="$GMOFILES $lang.gmo"
8904 POFILES
="$POFILES $lang.po"
8918 nls_cv_header_libgt
=
8930 if test "x$CATOBJEXT" != "x"; then
8931 if test "x$ALL_LINGUAS" = "x"; then
8934 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8935 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8937 for presentlang
in $ALL_LINGUAS; do
8939 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
8940 # Use the presentlang catalog if desiredlang is
8941 # a. equal to presentlang, or
8942 # b. a variant of presentlang (because in this case,
8943 # presentlang can be used as a fallback for messages
8944 # which are not translated in the desiredlang catalog).
8945 case "$desiredlang" in
8946 "$presentlang"*) useit
=yes;;
8949 if test $useit = yes; then
8950 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
8953 LINGUAS
=$NEW_LINGUAS
8954 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8955 echo "${ECHO_T}$LINGUAS" >&6
8958 if test -n "$LINGUAS"; then
8959 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8964 if test -n "$ac_aux_dir"; then
8965 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
8967 if test -z "$MKINSTALLDIRS"; then
8968 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
8972 INTL_LIBTOOL_SUFFIX_PREFIX
=
8976 # This is necessary so that .o files in LIBOBJS are also built via
8977 # the ANSI2KNR-filtering rules.
8978 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8981 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile"
8982 cat >confcache
<<\_ACEOF
8983 # This file is a shell script that caches the results of configure
8984 # tests run on this system so they can be shared between configure
8985 # scripts and configure runs, see configure's option --config-cache.
8986 # It is not useful on other systems. If it contains results you don't
8987 # want to keep, you may remove or edit it.
8989 # config.status only pays attention to the cache file if you give it
8990 # the --recheck option to rerun configure.
8992 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8993 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8998 # The following way of writing the cache mishandles newlines in values,
8999 # but we know of no workaround that is simple, portable, and efficient.
9000 # So, don't put newlines in cache variables' values.
9001 # Ultrix sh set writes to stderr and can't be redirected directly,
9002 # and sets the high bit in the cache file unless we assign to the vars.
9005 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9007 # `set' does not quote correctly, so add quotes (double-quote
9008 # substitution turns \\\\ into \\, and sed turns \\ into \).
9011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9014 # `set' quotes correctly as required by POSIX, so do not add quotes.
9016 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9025 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9027 if cmp -s $cache_file confcache
; then :; else
9028 if test -w $cache_file; then
9029 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9030 cat confcache
>$cache_file
9032 echo "not updating unwritable cache $cache_file"
9037 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9038 # Let make expand exec_prefix.
9039 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9041 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9042 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9043 # trailing colons and then remove the whole line if VPATH becomes empty
9044 # (actually we leave an empty line to preserve line numbers).
9045 if test "x$srcdir" = x.
; then
9046 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9047 s/:*\$(srcdir):*/:/;
9048 s/:*\${srcdir}:*/:/;
9050 s/^\([^=]*=[ ]*\):*/\1/;
9056 DEFS
=-DHAVE_CONFIG_H
9058 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9059 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9060 Usually this means the macro was only invoked conditionally." >&5
9061 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9062 Usually this means the macro was only invoked conditionally." >&2;}
9063 { (exit 1); exit 1; }; }
9066 : ${CONFIG_STATUS=./config.status}
9067 ac_clean_files_save
=$ac_clean_files
9068 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9069 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9070 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9071 cat >$CONFIG_STATUS <<_ACEOF
9073 # Generated by $as_me.
9074 # Run this file to recreate the current configuration.
9075 # Compiler output produced by configure, useful for debugging
9076 # configure, is in config.log if it exists.
9079 SHELL=\${CONFIG_SHELL-$SHELL}
9082 cat >>$CONFIG_STATUS <<\_ACEOF
9084 ## --------------------- ##
9085 ## M4sh Initialization. ##
9086 ## --------------------- ##
9088 # Be Bourne compatible
9089 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9092 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9097 # Support unset when possible.
9098 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
9104 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
9105 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
9106 { LANG
=C
; export LANG
; }
9107 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
9108 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
9109 { LC_ALL
=C
; export LC_ALL
; }
9110 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
9111 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
9112 { LC_TIME
=C
; export LC_TIME
; }
9113 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
9114 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
9115 { LC_CTYPE
=C
; export LC_CTYPE
; }
9116 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
9117 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
9118 { LANGUAGE
=C
; export LANGUAGE
; }
9119 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
9120 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
9121 { LC_COLLATE
=C
; export LC_COLLATE
; }
9122 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
9123 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
9124 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
9125 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
9126 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
9127 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
9130 # Name of the executable.
9131 as_me
=`(basename "$0") 2>/dev/null ||
9132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9133 X"$0" : 'X\(//\)$' \| \
9134 X"$0" : 'X\(/\)$' \| \
9135 . : '\(.\)' 2>/dev/null ||
9137 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9138 /^X\/\(\/\/\)$/{ s//\1/; q; }
9139 /^X\/\(\/\).*/{ s//\1/; q; }
9142 # PATH needs CR, and LINENO needs CR and PATH.
9143 # Avoid depending upon Character Ranges.
9144 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9145 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9146 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9147 as_cr_digits
='0123456789'
9148 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9150 # The user is always right.
9151 if test "${PATH_SEPARATOR+set}" != set; then
9152 echo "#! $SHELL" >conftest.sh
9153 echo "exit 0" >>conftest.sh
9154 chmod +x conftest.sh
9155 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
9166 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9167 test "x$as_lineno_1" != "x$as_lineno_2" &&
9168 test "x$as_lineno_3" = "x$as_lineno_2" || {
9169 # Find who we are. Look in the path if we contain no path at all
9172 *[\\/]* ) as_myself
=$0 ;;
9173 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir
=.
9178 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9183 # We did not find ourselves, most probably we were run as `sh COMMAND'
9184 # in which case we are not to be found in the path.
9185 if test "x$as_myself" = x
; then
9188 if test ! -f "$as_myself"; then
9189 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9190 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9191 { (exit 1); exit 1; }; }
9193 case $CONFIG_SHELL in
9195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9196 for as_dir
in /bin
:/usr
/bin
:$PATH
9199 test -z "$as_dir" && as_dir
=.
9200 for as_base
in sh bash ksh sh5
; do
9203 if ("$as_dir/$as_base" -c '
9206 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9207 test "x$as_lineno_1" != "x$as_lineno_2" &&
9208 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9209 CONFIG_SHELL
=$as_dir/$as_base
9211 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9219 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9220 # uniformly replaced by the line number. The first 'sed' inserts a
9221 # line-number line before each line; the second 'sed' does the real
9222 # work. The second script uses 'N' to pair each line-number line
9223 # with the numbered line, and appends trailing '-' during
9224 # substitution so that $LINENO is not a special case at line end.
9225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9226 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9227 sed '=' <$as_myself |
9232 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9235 s,^['$as_cr_digits']*\n,,
9237 chmod +x
$as_me.lineno
||
9238 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9239 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9240 { (exit 1); exit 1; }; }
9242 # Don't try to exec as it changes $[0], causing all sort of problems
9243 # (the dirname of $[0] is not the place where we might find the
9244 # original and so on. Autoconf is especially sensible to this).
9246 # Exit status is that of the last command.
9251 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9252 *c
*,-n*) ECHO_N
= ECHO_C
='
9254 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9255 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9258 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9264 rm -f conf$$ conf$$.exe conf$$.
file
9266 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9267 # We could just check for DJGPP; but this test a) works b) is more generic
9268 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9269 if test -f conf$$.exe
; then
9270 # Don't use ln at all; we don't have any links
9275 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9280 rm -f conf$$ conf$$.exe conf$$.
file
9282 as_executable_p
="test -f"
9284 # Sed expression to map a string onto a valid CPP name.
9285 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9287 # Sed expression to map a string onto a valid variable name.
9288 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9292 # We need space, tab and new line, in precisely that order.
9298 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
9302 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9303 # report actual input values of CONFIG_FILES etc. instead of their
9304 # values after options handling. Logging --version etc. is OK.
9308 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9309 ## Running $as_me. ##
9314 This file was extended by GNU Bison $as_me 1.30j, which was
9315 generated by GNU Autoconf 2.52g. Invocation command line was
9317 CONFIG_FILES = $CONFIG_FILES
9318 CONFIG_HEADERS = $CONFIG_HEADERS
9319 CONFIG_LINKS = $CONFIG_LINKS
9320 CONFIG_COMMANDS = $CONFIG_COMMANDS
9324 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9328 # Files that config.status was made for.
9329 if test -n "$ac_config_files"; then
9330 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9333 if test -n "$ac_config_headers"; then
9334 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9337 if test -n "$ac_config_links"; then
9338 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9341 if test -n "$ac_config_commands"; then
9342 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9345 cat >>$CONFIG_STATUS <<\_ACEOF
9348 \`$as_me' instantiates files from templates according to the
9349 current configuration.
9351 Usage: $0 [OPTIONS] [FILE]...
9353 -h, --help print this help, then exit
9354 -V, --version print version number, then exit
9355 -d, --debug don't remove temporary files
9356 --recheck update $as_me by reconfiguring in the same conditions
9357 --file=FILE[:TEMPLATE]
9358 instantiate the configuration file FILE
9359 --header=FILE[:TEMPLATE]
9360 instantiate the configuration header FILE
9362 Configuration files:
9365 Configuration headers:
9368 Configuration commands:
9371 Report bugs to <bug-autoconf@gnu.org>."
9374 cat >>$CONFIG_STATUS <<_ACEOF
9376 GNU Bison config.status 1.30j
9377 configured by $0, generated by GNU Autoconf 2.52g,
9378 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9380 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9381 Free Software Foundation, Inc.
9382 This config.status script is free software; the Free Software Foundation
9383 gives unlimited permission to copy, distribute and modify it."
9388 cat >>$CONFIG_STATUS <<\_ACEOF
9389 # If no file are specified by the user, then we need to provide default
9390 # value. By we need to know if files were specified by the user.
9396 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9397 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9399 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
9403 *) # This is not an option, so the user has probably given explicit
9405 ac_need_defaults
=false
;;
9409 # Handling of the options.
9411 cat >>$CONFIG_STATUS <<_ACEOF
9412 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9413 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9414 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9416 cat >>$CONFIG_STATUS <<\_ACEOF
9417 --version | --vers* | -V )
9418 echo "$ac_cs_version"; exit 0 ;;
9420 # Conflict between --help and --header
9421 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9422 Try \`$0 --help' for more information." >&5
9423 echo "$as_me: error: ambiguous option: $1
9424 Try \`$0 --help' for more information." >&2;}
9425 { (exit 1); exit 1; }; };;
9426 --help | --hel | -h )
9427 echo "$ac_cs_usage"; exit 0 ;;
9428 --debug | --d* | -d )
9430 --file | --fil | --fi | --f )
9432 CONFIG_FILES
="$CONFIG_FILES $1"
9433 ac_need_defaults
=false
;;
9434 --header | --heade | --head | --hea )
9436 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
9437 ac_need_defaults
=false
;;
9440 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9441 Try \`$0 --help' for more information." >&5
9442 echo "$as_me: error: unrecognized option: $1
9443 Try \`$0 --help' for more information." >&2;}
9444 { (exit 1); exit 1; }; } ;;
9446 *) ac_config_targets
="$ac_config_targets $1" ;;
9454 cat >>$CONFIG_STATUS <<_ACEOF
9456 # INIT-COMMANDS section.
9459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9466 cat >>$CONFIG_STATUS <<\_ACEOF
9467 for ac_config_target
in $ac_config_targets
9469 case "$ac_config_target" in
9470 # Handling of arguments.
9471 "tests/bison" ) CONFIG_FILES
="$CONFIG_FILES tests/bison" ;;
9472 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9473 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
9474 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9475 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
9476 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
9477 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9478 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
9479 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9480 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9481 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
9482 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
9483 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9484 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9485 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
9486 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9487 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9488 { (exit 1); exit 1; }; };;
9492 # If the user did not use the arguments to specify the items to instantiate,
9493 # then the envvar interface is used. Set only those that are not.
9494 # We use the long form for the default assignment because of an extremely
9495 # bizarre bug on SunOS 4.1.3.
9496 if $ac_need_defaults; then
9497 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9499 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9502 # Create a temporary directory, and hook for its removal unless debugging.
9505 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9506 trap '{ (exit 1); exit 1; }' 1 2 13 15
9509 # Create a (secure) tmp directory for tmp files.
9512 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9513 test -n "$tmp" && test -d "$tmp"
9516 tmp
=$TMPDIR/cs$$
-$RANDOM
9517 (umask 077 && mkdir $tmp)
9520 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9521 { (exit 1); exit 1; }
9526 cat >>$CONFIG_STATUS <<_ACEOF
9529 # CONFIG_FILES section.
9532 # No need to generate the scripts if there are no CONFIG_FILES.
9533 # This happens for instance when ./config.status config.h
9534 if test -n "\$CONFIG_FILES"; then
9535 # Protect against being on the right side of a sed subst in config.status.
9536 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9537 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9538 s,@SHELL@,$SHELL,;t t
9539 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9540 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9541 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9542 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9543 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9544 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9545 s,@exec_prefix@,$exec_prefix,;t t
9546 s,@prefix@,$prefix,;t t
9547 s,@program_transform_name@,$program_transform_name,;t t
9548 s,@bindir@,$bindir,;t t
9549 s,@sbindir@,$sbindir,;t t
9550 s,@libexecdir@,$libexecdir,;t t
9551 s,@datadir@,$datadir,;t t
9552 s,@sysconfdir@,$sysconfdir,;t t
9553 s,@sharedstatedir@,$sharedstatedir,;t t
9554 s,@localstatedir@,$localstatedir,;t t
9555 s,@libdir@,$libdir,;t t
9556 s,@includedir@,$includedir,;t t
9557 s,@oldincludedir@,$oldincludedir,;t t
9558 s,@infodir@,$infodir,;t t
9559 s,@mandir@,$mandir,;t t
9560 s,@build_alias@,$build_alias,;t t
9561 s,@host_alias@,$host_alias,;t t
9562 s,@target_alias@,$target_alias,;t t
9564 s,@ECHO_C@,$ECHO_C,;t t
9565 s,@ECHO_N@,$ECHO_N,;t t
9566 s,@ECHO_T@,$ECHO_T,;t t
9568 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9569 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9570 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9571 s,@PACKAGE@,$PACKAGE,;t t
9572 s,@VERSION@,$VERSION,;t t
9573 s,@ACLOCAL@,$ACLOCAL,;t t
9574 s,@AUTOCONF@,$AUTOCONF,;t t
9575 s,@AUTOMAKE@,$AUTOMAKE,;t t
9576 s,@AUTOHEADER@,$AUTOHEADER,;t t
9577 s,@MAKEINFO@,$MAKEINFO,;t t
9578 s,@AMTAR@,$AMTAR,;t t
9579 s,@install_sh@,$install_sh,;t t
9580 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9582 s,@SET_MAKE@,$SET_MAKE,;t t
9583 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9584 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9585 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9586 s,@DEPDIR@,$DEPDIR,;t t
9589 s,@CFLAGS@,$CFLAGS,;t t
9590 s,@LDFLAGS@,$LDFLAGS,;t t
9591 s,@CPPFLAGS@,$CPPFLAGS,;t t
9592 s,@ac_ct_CC@,$ac_ct_CC,;t t
9593 s,@EXEEXT@,$EXEEXT,;t t
9594 s,@OBJEXT@,$OBJEXT,;t t
9595 s,@am__include@,$am__include,;t t
9596 s,@am__quote@,$am__quote,;t t
9597 s,@CCDEPMODE@,$CCDEPMODE,;t t
9599 s,@RANLIB@,$RANLIB,;t t
9600 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9601 s,@AUTOM4TE@,$AUTOM4TE,;t t
9602 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
9603 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9605 s,@ANSI2KNR@,$ANSI2KNR,;t t
9606 s,@ALLOCA@,$ALLOCA,;t t
9607 s,@LIBOBJS@,$LIBOBJS,;t t
9608 s,@build@,$build,;t t
9609 s,@build_cpu@,$build_cpu,;t t
9610 s,@build_vendor@,$build_vendor,;t t
9611 s,@build_os@,$build_os,;t t
9613 s,@host_cpu@,$host_cpu,;t t
9614 s,@host_vendor@,$host_vendor,;t t
9615 s,@host_os@,$host_os,;t t
9616 s,@GLIBC21@,$GLIBC21,;t t
9617 s,@LIBICONV@,$LIBICONV,;t t
9618 s,@USE_NLS@,$USE_NLS,;t t
9619 s,@MSGFMT@,$MSGFMT,;t t
9620 s,@GMSGFMT@,$GMSGFMT,;t t
9621 s,@XGETTEXT@,$XGETTEXT,;t t
9622 s,@INTLBISON@,$INTLBISON,;t t
9623 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
9624 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9625 s,@CATALOGS@,$CATALOGS,;t t
9626 s,@CATOBJEXT@,$CATOBJEXT,;t t
9627 s,@GMOFILES@,$GMOFILES,;t t
9628 s,@INTLLIBS@,$INTLLIBS,;t t
9629 s,@INTLOBJS@,$INTLOBJS,;t t
9630 s,@POFILES@,$POFILES,;t t
9631 s,@POSUB@,$POSUB,;t t
9632 s,@DATADIRNAME@,$DATADIRNAME,;t t
9633 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9634 s,@GENCAT@,$GENCAT,;t t
9635 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9636 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
9641 cat >>$CONFIG_STATUS <<\_ACEOF
9642 # Split the substitutions into bite-sized pieces for seds with
9643 # small command number limits, like on Digital OSF/1 and HP-UX.
9645 ac_sed_frag
=1 # Number of current file.
9646 ac_beg
=1 # First line for current file.
9647 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9650 while $ac_more_lines; do
9651 if test $ac_beg -gt 1; then
9652 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9654 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9656 if test ! -s $tmp/subs.frag
; then
9659 # The purpose of the label and of the branching condition is to
9660 # speed up the sed processing (if there are no `@' at all, there
9661 # is no need to browse any of the substitutions).
9662 # These are the two extra sed commands mentioned above.
9664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9665 if test -z "$ac_sed_cmds"; then
9666 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9668 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9670 ac_sed_frag
=`expr $ac_sed_frag + 1`
9672 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9675 if test -z "$ac_sed_cmds"; then
9678 fi # test -n "$CONFIG_FILES"
9681 cat >>$CONFIG_STATUS <<\_ACEOF
9682 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9683 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9685 - | *:- | *:-:* ) # input from stdin
9687 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9688 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9689 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9690 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9691 * ) ac_file_in
=$ac_file.
in ;;
9694 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9695 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9696 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9697 X"$ac_file" : 'X\(//\)[^/]' \| \
9698 X"$ac_file" : 'X\(//\)$' \| \
9699 X"$ac_file" : 'X\(/\)' \| \
9700 . : '\(.\)' 2>/dev/null ||
9702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9704 /^X\(\/\/\)$/{ s//\1/; q; }
9705 /^X\(\/\).*/{ s//\1/; q; }
9708 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9712 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9713 case $as_mkdir_dir in
9714 # Skip DOS drivespec
9715 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9717 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9718 test -d "$as_incr_dir" ||
9719 mkdir "$as_incr_dir" ||
9720 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9721 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9722 { (exit 1); exit 1; }; }
9729 if test "$ac_dir" != .
; then
9730 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9731 # A "../" for each directory in $ac_dir_suffix.
9732 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9734 ac_dir_suffix
= ac_top_builddir
=
9738 .
) # No --srcdir option. We are building in place.
9740 if test -z "$ac_top_builddir"; then
9743 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9745 [\\/]* | ?
:[\\/]* ) # Absolute path.
9746 ac_srcdir
=$srcdir$ac_dir_suffix;
9747 ac_top_srcdir
=$srcdir ;;
9749 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9750 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9752 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9754 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
9755 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9756 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9757 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9761 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9762 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9765 if test x
"$ac_file" != x
-; then
9766 { echo "$as_me:$LINENO: creating $ac_file" >&5
9767 echo "$as_me: creating $ac_file" >&6;}
9770 # Let's still pretend it is `configure' which instantiates (i.e., don't
9771 # use $as_me), people would be surprised to read:
9772 # /* config.h. Generated by config.status. */
9773 if test x
"$ac_file" = x
-; then
9776 configure_input
="$ac_file. "
9778 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9779 sed 's,.*/,,'` by configure."
9781 # First look for the input files in the build tree, otherwise in the
9783 ac_file_inputs
=`IFS=:
9784 for f in $ac_file_in; do
9786 -) echo $tmp/stdin ;;
9788 # Absolute (can't be DOS-style, as IFS=:)
9789 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9790 echo "$as_me: error: cannot find input file: $f" >&2;}
9791 { (exit 1); exit 1; }; }
9794 if test -f "$f"; then
9797 elif test -f "$srcdir/$f"; then
9802 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9803 echo "$as_me: error: cannot find input file: $f" >&2;}
9804 { (exit 1); exit 1; }; }
9807 done` || { (exit 1); exit 1; }
9809 cat >>$CONFIG_STATUS <<_ACEOF
9813 cat >>$CONFIG_STATUS <<\_ACEOF
9815 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9816 s
,@configure_input@
,$configure_input,;t t
9817 s
,@srcdir@
,$ac_srcdir,;t t
9818 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9819 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9820 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9821 s
,@builddir@
,$ac_builddir,;t t
9822 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9823 s
,@top_builddir@
,$ac_top_builddir,;t t
9824 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9825 s
,@INSTALL@
,$ac_INSTALL,;t t
9826 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9828 if test x"$ac_file" != x-; then
9829 mv $tmp/out $ac_file
9835 # Run the commands associated with the file.
9837 tests/bison ) chmod +x tests/bison ;;
9841 cat >>$CONFIG_STATUS <<\_ACEOF
9844 # CONFIG_HEADER section.
9847 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9848 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9850 # ac_d sets the value in "#define NAME VALUE" lines.
9851 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9852 ac_dB
='[ ].*$,\1#\2'
9855 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9856 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9857 ac_uB
='$,\1#\2define\3'
9861 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9862 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9864 - | *:- | *:-:* ) # input from stdin
9866 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9867 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9868 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9869 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9870 * ) ac_file_in
=$ac_file.
in ;;
9873 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9874 echo "$as_me: creating $ac_file" >&6;}
9876 # First look for the input files in the build tree, otherwise in the
9878 ac_file_inputs
=`IFS=:
9879 for f in $ac_file_in; do
9881 -) echo $tmp/stdin ;;
9883 # Absolute (can't be DOS-style, as IFS=:)
9884 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9885 echo "$as_me: error: cannot find input file: $f" >&2;}
9886 { (exit 1); exit 1; }; }
9889 if test -f "$f"; then
9892 elif test -f "$srcdir/$f"; then
9897 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9898 echo "$as_me: error: cannot find input file: $f" >&2;}
9899 { (exit 1); exit 1; }; }
9902 done` || { (exit 1); exit 1; }
9903 # Remove the trailing spaces.
9904 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9908 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9909 # `conftest.undefs', that substitutes the proper values into
9910 # config.h.in to produce config.h. The first handles `#define'
9911 # templates, and the second `#undef' templates.
9912 # And first: Protect against being on the right side of a sed subst in
9913 # config.status. Protect against being in an unquoted here document
9915 rm -f conftest.defines conftest.undefs
9916 # Using a here document instead of a string reduces the quoting nightmare.
9917 # Putting comments in sed scripts is not portable.
9919 # `end' is used to avoid that the second main sed command (meant for
9920 # 0-ary CPP macros) applies to n-ary macro definitions.
9921 # See the Autoconf documentation for `clear'.
9922 cat >confdef2sed.
sed <<\_ACEOF
9927 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9929 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9932 # If some macros were called several times there might be several times
9933 # the same #defines, which is useless. Nevertheless, we may not want to
9934 # sort them, since we want the *last* AC-DEFINE to be honored.
9935 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9936 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9937 rm -f confdef2sed.sed
9939 # This sed command replaces #undef with comments. This is necessary, for
9940 # example, in the case of _POSIX_SOURCE, which is predefined and required
9941 # on some systems where configure will not decide to define it.
9942 cat >>conftest.undefs <<\_ACEOF
9943 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9946 # Break up conftest.defines because some shells have a limit on the size
9947 # of here documents, and old seds have small limits too (100 cmds).
9948 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9949 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9950 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9951 echo ' :' >>$CONFIG_STATUS
9953 while grep . conftest.defines >/dev/null
9955 # Write a limited-size here document to $tmp/defines.sed.
9956 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9957 # Speed up: don't consider the non `#define' lines.
9958 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9959 # Work around the forget-to-reset-the-flag bug.
9960 echo 't clr' >>$CONFIG_STATUS
9961 echo ': clr' >>$CONFIG_STATUS
9962 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9964 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9968 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9969 rm -f conftest.defines
9970 mv conftest.
tail conftest.defines
9972 rm -f conftest.defines
9973 echo ' fi # egrep' >>$CONFIG_STATUS
9974 echo >>$CONFIG_STATUS
9976 # Break up conftest.undefs because some shells have a limit on the size
9977 # of here documents, and old seds have small limits too (100 cmds).
9978 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9980 while grep . conftest.undefs
>/dev
/null
9982 # Write a limited-size here document to $tmp/undefs.sed.
9983 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9984 # Speed up: don't consider the non
`#undef'
9985 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9986 # Work around the forget-to-reset-the-flag bug.
9987 echo 't clr' >>$CONFIG_STATUS
9988 echo ': clr' >>$CONFIG_STATUS
9989 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9991 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9995 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9996 rm -f conftest.undefs
9997 mv conftest.tail conftest.undefs
9999 rm -f conftest.undefs
10001 cat >>$CONFIG_STATUS <<\_ACEOF
10002 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10003 # use $as_me), people would be surprised to read:
10004 # /* config.h. Generated by config.status. */
10005 if test x
"$ac_file" = x
-; then
10006 echo "/* Generated by configure. */" >$tmp/config.h
10008 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10010 cat $tmp/in >>$tmp/config.h
10012 if test x
"$ac_file" != x
-; then
10013 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
10014 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10015 echo "$as_me: $ac_file is unchanged" >&6;}
10017 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10019 X"$ac_file" : 'X\(//\)[^/]' \| \
10020 X"$ac_file" : 'X\(//\)$' \| \
10021 X"$ac_file" : 'X\(/\)' \| \
10022 . : '\(.\)' 2>/dev/null ||
10024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10026 /^X\(\/\/\)$/{ s//\1/; q; }
10027 /^X\(\/\).*/{ s//\1/; q; }
10029 { case "$ac_dir" in
10030 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10034 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10035 case $as_mkdir_dir in
10036 # Skip DOS drivespec
10037 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10039 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10040 test -d "$as_incr_dir" ||
10041 mkdir "$as_incr_dir" ||
10042 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
10043 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
10044 { (exit 1); exit 1; }; }
10050 mv $tmp/config.h
$ac_file
10054 rm -f $tmp/config.h
10056 # Run the commands associated with the file.
10058 config.h
) # update the timestamp
10059 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
10064 cat >>$CONFIG_STATUS <<\_ACEOF
10067 # CONFIG_COMMANDS section.
10069 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10070 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10071 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10072 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10073 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10074 X"$ac_dest" : 'X\(//\)[^/]' \| \
10075 X"$ac_dest" : 'X\(//\)$' \| \
10076 X"$ac_dest" : 'X\(/\)' \| \
10077 . : '\(.\)' 2>/dev/null ||
10079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10081 /^X\(\/\/\)$/{ s//\1/; q; }
10082 /^X\(\/\).*/{ s//\1/; q; }
10086 if test "$ac_dir" != .
; then
10087 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10088 # A "../" for each directory in $ac_dir_suffix.
10089 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10091 ac_dir_suffix
= ac_top_builddir
=
10095 .
) # No --srcdir option. We are building in place.
10097 if test -z "$ac_top_builddir"; then
10100 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10102 [\\/]* | ?
:[\\/]* ) # Absolute path.
10103 ac_srcdir
=$srcdir$ac_dir_suffix;
10104 ac_top_srcdir
=$srcdir ;;
10105 *) # Relative path.
10106 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10107 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10111 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
10112 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
10113 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10114 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10117 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10118 echo "$as_me: executing $ac_dest commands" >&6;}
10120 tests
/atconfig
) cat >tests
/atconfig
<<ATEOF
10121 # Configurable variable values for building test suites.
10123 # Copyright 2000, 2001 Free Software Foundation, Inc.
10125 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
10127 abs_builddir='$ac_abs_builddir'
10128 at_srcdir='$ac_srcdir'
10129 abs_srcdir='$ac_abs_srcdir'
10130 at_top_srcdir='$ac_top_srcdir'
10131 abs_top_srcdir='$ac_abs_top_srcdir'
10132 at_top_builddir='$ac_top_builddir'
10133 abs_top_builddir='$ac_abs_top_builddir'
10135 AUTOTEST_PATH='tests'
10137 SHELL=\${CONFIG_SHELL-'$SHELL'}
10140 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
10141 # Strip MF so we end up with the name of the file.
10142 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10143 if (head -1 $mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
10144 dirpart
=`(dirname "$mf") 2>/dev/null ||
10145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10146 X"$mf" : 'X\(//\)[^/]' \| \
10147 X"$mf" : 'X\(//\)$' \| \
10148 X"$mf" : 'X\(/\)' \| \
10149 . : '\(.\)' 2>/dev/null ||
10151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10153 /^X\(\/\/\)$/{ s//\1/; q; }
10154 /^X\(\/\).*/{ s//\1/; q; }
10159 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
10160 # Extract the definition of DEP_FILES from the Makefile without
10162 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10163 test -z "$DEPDIR" && continue
10164 # When using ansi2knr, U may be empty or an underscore; expand it
10165 U
=`sed -n -e '/^U = / s///p' < "$mf"`
10166 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10167 # We invoke sed twice because it is the simplest approach to
10168 # changing $(DEPDIR) to its actual value in the expansion.
10169 for file in `sed -n -e '
10170 /^DEP_FILES = .*\\\\$/ {
10179 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10181 # Make sure the directory exists.
10182 test -f "$dirpart/$file" && continue
10183 fdir
=`(dirname "$file") 2>/dev/null ||
10184 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10185 X"$file" : 'X\(//\)[^/]' \| \
10186 X"$file" : 'X\(//\)$' \| \
10187 X"$file" : 'X\(/\)' \| \
10188 . : '\(.\)' 2>/dev/null ||
10190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10192 /^X\(\/\/\)$/{ s//\1/; q; }
10193 /^X\(\/\).*/{ s//\1/; q; }
10195 { case $dirpart/$fdir in
10196 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10199 as_dummy
=$dirpart/$fdir
10200 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10201 case $as_mkdir_dir in
10202 # Skip DOS drivespec
10203 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10205 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10206 test -d "$as_incr_dir" ||
10207 mkdir "$as_incr_dir" ||
10208 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
10209 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
10210 { (exit 1); exit 1; }; }
10215 # echo "creating $dirpart/$file"
10216 echo '# dummy' > "$dirpart/$file"
10220 default
-1 ) for ac_file
in $CONFIG_FILES; do
10221 # Support "outfile[:infile[:infile...]]"
10223 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10225 # PO directories have a Makefile.in generated from Makefile.in.in.
10226 case "$ac_file" in */Makefile.
in)
10227 # Adjust a relative srcdir.
10228 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10229 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10230 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10231 # In autoconf-2.13 it is called $ac_given_srcdir.
10232 # In autoconf-2.50 it is called $srcdir.
10233 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10234 case "$ac_given_srcdir" in
10235 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10236 /*) top_srcdir
="$ac_given_srcdir" ;;
10237 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10239 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10240 rm -f "$ac_dir/POTFILES"
10241 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10242 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
10243 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10244 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10253 cat >>$CONFIG_STATUS <<\_ACEOF
10255 { (exit 0); exit 0; }
10257 chmod +x
$CONFIG_STATUS
10258 ac_clean_files
=$ac_clean_files_save
10261 # configure is writing to config.log, and then calls config.status.
10262 # config.status does its own redirection, appending to config.log.
10263 # Unfortunately, on DOS this fails, as config.log is still kept open
10264 # by configure, so config.status won't be able to write to it; its
10265 # output is simply discarded. So we exec the FD to /dev/null,
10266 # effectively closing config.log, so it can be properly (re)opened and
10267 # appended to by config.status. When coming back to configure, we
10268 # need to make the FD available again.
10269 if test "$no_create" != yes; then
10272 $SHELL $CONFIG_STATUS || ac_cs_success
=false
10274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10275 # would make configure fail if this is the last instruction.
10276 $ac_cs_success || { (exit 1); exit 1; }