2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53a for GNU Bison 1.34a.
5 # Report bugs to <bug-bison@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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.
11 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 "#! /bin/sh" >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
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$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.34a'
260 PACKAGE_STRING
='GNU Bison 1.34a'
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 \
471 | --no-cr | --no-c | -n)
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 directory name 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 directory name 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.
669 # FIXME: To remove some day.
674 # FIXME: To remove some day.
675 if test "x$host_alias" != x
; then
676 if test "x$build_alias" = x
; then
677 cross_compiling
=maybe
678 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679 If a cross compiler is detected then cross compile mode will be used." >&2
680 elif test "x$build_alias" != "x$host_alias"; then
686 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
688 test "$silent" = yes && exec 6>/dev
/null
691 # Find the source files, if location was not specified.
692 if test -z "$srcdir"; then
693 ac_srcdir_defaulted
=yes
694 # Try the directory containing this script, then its parent.
695 ac_confdir
=`(dirname "$0") 2>/dev/null ||
696 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697 X"$0" : 'X\(//\)[^/]' \| \
698 X"$0" : 'X\(//\)$' \| \
699 X"$0" : 'X\(/\)' \| \
700 . : '\(.\)' 2>/dev/null ||
702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
704 /^X\(\/\/\)$/{ s//\1/; q; }
705 /^X\(\/\).*/{ s//\1/; q; }
708 if test ! -r $srcdir/$ac_unique_file; then
712 ac_srcdir_defaulted
=no
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717 { (exit 1); exit 1; }; }
719 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720 { (exit 1); exit 1; }; }
723 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724 ac_env_build_alias_set
=${build_alias+set}
725 ac_env_build_alias_value
=$build_alias
726 ac_cv_env_build_alias_set
=${build_alias+set}
727 ac_cv_env_build_alias_value
=$build_alias
728 ac_env_host_alias_set
=${host_alias+set}
729 ac_env_host_alias_value
=$host_alias
730 ac_cv_env_host_alias_set
=${host_alias+set}
731 ac_cv_env_host_alias_value
=$host_alias
732 ac_env_target_alias_set
=${target_alias+set}
733 ac_env_target_alias_value
=$target_alias
734 ac_cv_env_target_alias_set
=${target_alias+set}
735 ac_cv_env_target_alias_value
=$target_alias
736 ac_env_CC_set
=${CC+set}
738 ac_cv_env_CC_set
=${CC+set}
739 ac_cv_env_CC_value
=$CC
740 ac_env_CFLAGS_set
=${CFLAGS+set}
741 ac_env_CFLAGS_value
=$CFLAGS
742 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
743 ac_cv_env_CFLAGS_value
=$CFLAGS
744 ac_env_LDFLAGS_set
=${LDFLAGS+set}
745 ac_env_LDFLAGS_value
=$LDFLAGS
746 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
747 ac_cv_env_LDFLAGS_value
=$LDFLAGS
748 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
749 ac_env_CPPFLAGS_value
=$CPPFLAGS
750 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
751 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
752 ac_env_CPP_set
=${CPP+set}
753 ac_env_CPP_value
=$CPP
754 ac_cv_env_CPP_set
=${CPP+set}
755 ac_cv_env_CPP_value
=$CPP
758 # Report the --help message.
760 if test "$ac_init_help" = "long"; then
761 # Omit some internal or obsolete options to make the list less imposing.
762 # This message is too long to be a string in the A/UX 3.1 sh.
764 \`configure' configures GNU Bison 1.34a to adapt to many kinds of systems.
766 Usage: $0 [OPTION]... [VAR=VALUE]...
768 To assign environment variables (e.g., CC, CFLAGS...), specify them as
769 VAR=VALUE. See below for descriptions of some of the useful variables.
771 Defaults for the options are specified in brackets.
774 -h, --help display this help and exit
775 --help=short display options specific to this package
776 --help=recursive display the short help of all the included packages
777 -V, --version display version information and exit
778 -q, --quiet, --silent do not print \`checking...' messages
779 --cache-file=FILE cache test results in FILE [disabled]
780 -C, --config-cache alias for \`--cache-file=config.cache'
781 -n, --no-create do not create output files
782 --srcdir=DIR find the sources in DIR [configure dir or \`..']
787 Installation directories:
788 --prefix=PREFIX install architecture-independent files in PREFIX
790 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
793 By default, \`make install' will install all the files in
794 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
795 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
796 for instance \`--prefix=\$HOME'.
798 For better control, use the options below.
800 Fine tuning of the installation directories:
801 --bindir=DIR user executables [EPREFIX/bin]
802 --sbindir=DIR system admin executables [EPREFIX/sbin]
803 --libexecdir=DIR program executables [EPREFIX/libexec]
804 --datadir=DIR read-only architecture-independent data [PREFIX/share]
805 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
806 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
807 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
808 --libdir=DIR object code libraries [EPREFIX/lib]
809 --includedir=DIR C header files [PREFIX/include]
810 --oldincludedir=DIR C header files for non-gcc [/usr/include]
811 --infodir=DIR info documentation [PREFIX/info]
812 --mandir=DIR man documentation [PREFIX/man]
818 --program-prefix=PREFIX prepend PREFIX to installed program names
819 --program-suffix=SUFFIX append SUFFIX to installed program names
820 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
823 --build=BUILD configure
for building on BUILD
[guessed
]
824 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
828 if test -n "$ac_init_help"; then
829 case $ac_init_help in
830 short
| recursive
) echo "Configuration of GNU Bison 1.34a:";;
835 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
836 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
837 --disable-dependency-tracking Speeds up one
-time builds
838 --enable-dependency-tracking Do not reject slow dependency extractors
839 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
840 --disable-nls do not use Native Language Support
843 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
844 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
845 --with-dmalloc use dmalloc
, as
in
846 http
://www.dmalloc.com
/dmalloc.
tar.gz
847 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
848 --with-included-gettext use the GNU
gettext library included here
850 Some influential environment variables
:
851 CC C compiler
command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
854 nonstandard directory
<lib dir
>
855 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
856 headers
in a nonstandard directory
<include dir
>
859 Use these variables to override the choices made by
`configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
862 Report bugs to <bug-bison@gnu.org>.
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
878 ac_dir_suffix= ac_top_builddir=
882 .) # No --srcdir option. We are building in place.
884 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
896 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
898 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
899 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
900 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
901 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
904 # Check for guested configure; otherwise get Cygnus style configure.
905 if test -f $ac_srcdir/configure.gnu; then
907 $SHELL $ac_srcdir/configure.gnu --help=recursive
908 elif test -f $ac_srcdir/configure; then
910 $SHELL $ac_srcdir/configure --help=recursive
911 elif test -f $ac_srcdir/configure.ac ||
912 test -f $ac_srcdir/configure.in; then
916 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
922 test -n "$ac_init_help" && exit 0
923 if $ac_init_version; then
925 GNU Bison configure 1.34a
926 generated by GNU Autoconf 2.53a
928 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
929 Free Software Foundation, Inc.
930 This configure script is free software; the Free Software Foundation
931 gives unlimited permission to copy, distribute and modify it.
937 This file contains any messages produced by compilers while
938 running configure, to aid debugging if configure makes a mistake.
940 It was created by GNU Bison $as_me 1.34a, which was
941 generated by GNU Autoconf 2.53a. Invocation command line was
952 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
953 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
954 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
955 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
956 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
958 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
959 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
961 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
962 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
963 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
964 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
965 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
966 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
967 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
975 test -z "$as_dir" && as_dir=.
991 # Keep a trace of the command line.
992 # Strip out --no-create and --no-recursion so they do not pile up.
993 # Also quote any args containing shell meta-characters.
999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000 | --no-cr | --no-c | -n ) continue ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1007 case " $ac_configure_args " in
1008 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1009 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1012 # Get rid of the leading space.
1015 # When interrupted or exit'd, cleanup temporary files, and complete
1016 # config.log. We remove comments because anyway the quotes in there
1017 # would cause problems or look ugly.
1018 # WARNING: Be sure not to use single quotes in there, as some shells,
1019 # such as our DU 5.0 friend, will then `close
' the trap.
1020 trap 'exit_status
=$?
1021 # Save into config.log some information that might help in debugging.
1025 ## ---------------- ##
1026 ## Cache variables. ##
1027 ## ---------------- ##
1030 # The following way of writing the cache mishandles newlines in values,
1033 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1036 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1041 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1046 if test -s confdefs.h
; then
1053 sed "/^$/d" confdefs.h
1056 test "$ac_signal" != 0 &&
1057 echo "$as_me: caught signal $ac_signal"
1058 echo "$as_me: exit $exit_status"
1060 rm -f core core.
* *.core
&&
1061 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1064 for ac_signal in 1 2 13 15; do
1065 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1070 rm -rf conftest* confdefs.h
1071 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1074 # Predefined preprocessor variables.
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_NAME "$PACKAGE_NAME"
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1091 cat >>confdefs.h <<_ACEOF
1092 #define PACKAGE_STRING "$PACKAGE_STRING"
1096 cat >>confdefs.h <<_ACEOF
1097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1101 # Let the site file select an alternate cache file if it wants to.
1102 # Prefer explicitly selected file to automatically selected ones.
1103 if test -z "$CONFIG_SITE"; then
1104 if test "x$prefix" != xNONE; then
1105 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1107 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1110 for ac_site_file in $CONFIG_SITE; do
1111 if test -r "$ac_site_file"; then
1112 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1113 echo "$as_me: loading site script $ac_site_file" >&6;}
1114 sed 's
/^
/| /' "$ac_site_file" >&5
1119 if test -r "$cache_file"; then
1120 # Some versions of bash will fail to source /dev/null (special
1121 # files actually), so we avoid doing that.
1122 if test -f "$cache_file"; then
1123 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1124 echo "$as_me: loading cache $cache_file" >&6;}
1126 [\\/]* | ?:[\\/]* ) . $cache_file;;
1127 *) . ./$cache_file;;
1131 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1132 echo "$as_me: creating cache $cache_file" >&6;}
1136 # Check that the precious variables saved in the cache have kept the same
1138 ac_cache_corrupted=false
1139 for ac_var in `(set) 2>&1 |
1140 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1141 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1142 eval ac_new_set=\$ac_env_${ac_var}_set
1143 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1144 eval ac_new_val="\$ac_env_${ac_var}_value"
1145 case $ac_old_set,$ac_new_set in
1147 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1148 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1149 ac_cache_corrupted=: ;;
1151 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1152 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1153 ac_cache_corrupted=: ;;
1156 if test "x$ac_old_val" != "x$ac_new_val"; then
1157 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1158 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1159 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1160 echo "$as_me: former value: $ac_old_val" >&2;}
1161 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1162 echo "$as_me: current value: $ac_new_val" >&2;}
1163 ac_cache_corrupted=:
1166 # Pass precious variables to config.status.
1167 if test "$ac_new_set" = set; then
1169 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1170 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1171 *) ac_arg=$ac_var=$ac_new_val ;;
1173 case " $ac_configure_args " in
1174 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1175 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1179 if $ac_cache_corrupted; then
1180 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1181 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1182 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1183 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1184 { (exit 1); exit 1; }; }
1188 ac_cpp='$CPP $CPPFLAGS'
1189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1219 for ac_dir in config $srcdir/config; do
1220 if test -f $ac_dir/install-sh; then
1222 ac_install_sh="$ac_aux_dir/install-sh -c"
1224 elif test -f $ac_dir/install.sh; then
1226 ac_install_sh="$ac_aux_dir/install.sh -c"
1228 elif test -f $ac_dir/shtool; then
1230 ac_install_sh="$ac_aux_dir/shtool install -c"
1234 if test -z "$ac_aux_dir"; then
1235 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1236 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1237 { (exit 1); exit 1; }; }
1239 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1240 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1241 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1244 am__api_version="1.5c"
1245 # Find a good install program. We prefer a C program (faster),
1246 # so one script is as good as another. But avoid the broken or
1247 # incompatible versions:
1248 # SysV /etc/install, /usr/sbin/install
1249 # SunOS /usr/etc/install
1250 # IRIX /sbin/install
1252 # AmigaOS /C/install, which installs bootblocks on floppy discs
1253 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1256 # ./install, which can be erroneously created by make from ./install.sh.
1257 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1258 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1259 if test -z "$INSTALL"; then
1260 if test "${ac_cv_path_install+set}" = set; then
1261 echo $ECHO_N "(cached) $ECHO_C" >&6
1263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1267 test -z "$as_dir" && as_dir
=.
1268 # Account for people who put trailing slashes in PATH elements.
1270 .
/ | .
// | /cC
/* | \
1271 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1274 # OSF1 and SCO ODT 3.0 have their own names for install.
1275 # Don't use installbsd from OSF since it installs stuff as root
1277 for ac_prog
in ginstall scoinst
install; do
1278 for ac_exec_ext
in '' $ac_executable_extensions; do
1279 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1280 if test $ac_prog = install &&
1281 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1282 # AIX install. It has an incompatible calling convention.
1284 elif test $ac_prog = install &&
1285 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1286 # program-specific install script used by HP pwplus--don't use.
1289 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1301 if test "${ac_cv_path_install+set}" = set; then
1302 INSTALL
=$ac_cv_path_install
1304 # As a last resort, use the slow shell script. We don't cache a
1305 # path for INSTALL within a source directory, because that will
1306 # break other packages using the cache if that directory is
1307 # removed, or if the path is relative.
1308 INSTALL
=$ac_install_sh
1311 echo "$as_me:$LINENO: result: $INSTALL" >&5
1312 echo "${ECHO_T}$INSTALL" >&6
1314 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1315 # It thinks the first close brace ends the variable substitution.
1316 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1318 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1320 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1322 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1323 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1326 echo timestamp
> conftest.
file
1327 # Do `set' in a subshell so we don't clobber the current shell's
1328 # arguments. Must try -L first in case configure is actually a
1329 # symlink; some systems play weird games with the mod time of symlinks
1330 # (eg FreeBSD returns the mod time of the symlink's containing
1333 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1334 if test "$*" = "X"; then
1336 set X
`ls -t $srcdir/configure conftest.file`
1339 if test "$*" != "X $srcdir/configure conftest.file" \
1340 && test "$*" != "X conftest.file $srcdir/configure"; then
1342 # If neither matched, then we have a broken ls. This can happen
1343 # if, for instance, CONFIG_SHELL is bash and it inherits a
1344 # broken ls alias from the environment. This has actually
1345 # happened. Such a system could not be considered "sane".
1346 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1347 alias in your environment" >&5
1348 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1349 alias in your environment" >&2;}
1350 { (exit 1); exit 1; }; }
1353 test "$2" = conftest.
file
1359 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1360 Check your system clock" >&5
1361 echo "$as_me: error: newly created file is older than distributed files!
1362 Check your system clock" >&2;}
1363 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: result: yes" >&5
1366 echo "${ECHO_T}yes" >&6
1367 test "$program_prefix" != NONE
&&
1368 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1369 # Use a double $ so make ignores it.
1370 test "$program_suffix" != NONE
&&
1371 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1372 # Double any \ or $. echo might interpret backslashes.
1373 # By default was `s,x,x', remove it if useless.
1374 cat <<\_ACEOF
>conftest.
sed
1375 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1377 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1381 # expand $ac_aux_dir to an absolute path
1382 am_aux_dir
=`cd $ac_aux_dir && pwd`
1384 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1385 # Use eval to expand $SHELL
1386 if eval "$MISSING --run true"; then
1387 am_missing_run
="$MISSING --run "
1390 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1391 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1394 for ac_prog
in gawk mawk nawk
awk
1396 # Extract the first word of "$ac_prog", so it can be a program name with args.
1397 set dummy
$ac_prog; ac_word
=$2
1398 echo "$as_me:$LINENO: checking for $ac_word" >&5
1399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1400 if test "${ac_cv_prog_AWK+set}" = set; then
1401 echo $ECHO_N "(cached) $ECHO_C" >&6
1403 if test -n "$AWK"; then
1404 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir
=.
1411 for ac_exec_ext
in '' $ac_executable_extensions; do
1412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1413 ac_cv_prog_AWK
="$ac_prog"
1414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1423 if test -n "$AWK"; then
1424 echo "$as_me:$LINENO: result: $AWK" >&5
1425 echo "${ECHO_T}$AWK" >&6
1427 echo "$as_me:$LINENO: result: no" >&5
1428 echo "${ECHO_T}no" >&6
1431 test -n "$AWK" && break
1434 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1435 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1436 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1437 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 cat >conftest.
make <<\_ACEOF
1442 @
echo 'ac_maketemp="${MAKE}"'
1444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1445 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1446 if test -n "$ac_maketemp"; then
1447 eval ac_cv_prog_make_
${ac_make}_set
=yes
1449 eval ac_cv_prog_make_
${ac_make}_set
=no
1453 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1454 echo "$as_me:$LINENO: result: yes" >&5
1455 echo "${ECHO_T}yes" >&6
1458 echo "$as_me:$LINENO: result: no" >&5
1459 echo "${ECHO_T}no" >&6
1460 SET_MAKE
="MAKE=${MAKE-make}"
1463 # test to see if srcdir already configured
1464 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1465 test -f $srcdir/config.status
; then
1466 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1467 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1468 { (exit 1); exit 1; }; }
1471 # Define the identity of the package.
1476 cat >>confdefs.h
<<_ACEOF
1477 #define PACKAGE "$PACKAGE"
1481 cat >>confdefs.h
<<_ACEOF
1482 #define VERSION "$VERSION"
1485 # Some tools Automake needs.
1487 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1490 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1493 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1496 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1499 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1502 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1504 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1506 # Installed binaries are usually stripped using `strip' when the user
1507 # run `make install-strip'. However `strip' might not be the right
1508 # tool to use in cross-compilation environments, therefore Automake
1509 # will honor the `STRIP' environment variable to overrule this program.
1510 if test "$cross_compiling" != no
; then
1511 if test -n "$ac_tool_prefix"; then
1512 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1513 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1514 echo "$as_me:$LINENO: checking for $ac_word" >&5
1515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516 if test "${ac_cv_prog_STRIP+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 if test -n "$STRIP"; then
1520 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir
=.
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1529 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 STRIP
=$ac_cv_prog_STRIP
1539 if test -n "$STRIP"; then
1540 echo "$as_me:$LINENO: result: $STRIP" >&5
1541 echo "${ECHO_T}$STRIP" >&6
1543 echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1548 if test -z "$ac_cv_prog_STRIP"; then
1550 # Extract the first word of "strip", so it can be a program name with args.
1551 set dummy strip
; ac_word
=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$ac_ct_STRIP"; then
1558 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir
=.
1565 for ac_exec_ext
in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_ac_ct_STRIP
="strip"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1577 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1578 if test -n "$ac_ct_STRIP"; then
1579 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1580 echo "${ECHO_T}$ac_ct_STRIP" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1588 STRIP
="$ac_cv_prog_STRIP"
1592 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1594 # We need awk for the "check" target. The system "awk" is bad on
1599 # Add the stamp file to the list of files AC keeps track of,
1600 # along with our hook.
1601 ac_config_headers
="$ac_config_headers config.h:config.hin"
1606 # Initialize the test suite.
1607 ac_config_commands
="$ac_config_commands tests/atconfig"
1610 ac_config_files
="$ac_config_files tests/bison"
1612 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
1614 # Needed by tests/atlocal.in.
1617 # Checks for programs.
1619 ac_cpp
='$CPP $CPPFLAGS'
1620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1623 if test -n "$ac_tool_prefix"; then
1624 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1625 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$CC"; then
1632 ac_cv_prog_CC
="$CC" # Let the user override the test.
1634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir
=.
1639 for ac_exec_ext
in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1651 if test -n "$CC"; then
1652 echo "$as_me:$LINENO: result: $CC" >&5
1653 echo "${ECHO_T}$CC" >&6
1655 echo "$as_me:$LINENO: result: no" >&5
1656 echo "${ECHO_T}no" >&6
1660 if test -z "$ac_cv_prog_CC"; then
1662 # Extract the first word of "gcc", so it can be a program name with args.
1663 set dummy gcc
; ac_word
=$2
1664 echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 if test -n "$ac_ct_CC"; then
1670 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1676 test -z "$as_dir" && as_dir
=.
1677 for ac_exec_ext
in '' $ac_executable_extensions; do
1678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679 ac_cv_prog_ac_ct_CC
="gcc"
1680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1688 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1689 if test -n "$ac_ct_CC"; then
1690 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1691 echo "${ECHO_T}$ac_ct_CC" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1702 if test -z "$CC"; then
1703 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1705 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_CC+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$CC"; then
1712 ac_cv_prog_CC
="$CC" # Let the user override the test.
1714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir
=.
1719 for ac_exec_ext
in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 if test -n "$CC"; then
1732 echo "$as_me:$LINENO: result: $CC" >&5
1733 echo "${ECHO_T}$CC" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1740 if test -z "$ac_cv_prog_CC"; then
1742 # Extract the first word of "cc", so it can be a program name with args.
1743 set dummy cc
; ac_word
=$2
1744 echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 if test -n "$ac_ct_CC"; then
1750 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir
=.
1757 for ac_exec_ext
in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_prog_ac_ct_CC
="cc"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1769 if test -n "$ac_ct_CC"; then
1770 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1771 echo "${ECHO_T}$ac_ct_CC" >&6
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1783 if test -z "$CC"; then
1784 # Extract the first word of "cc", so it can be a program name with args.
1785 set dummy cc
; ac_word
=$2
1786 echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 if test "${ac_cv_prog_CC+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 if test -n "$CC"; then
1792 ac_cv_prog_CC
="$CC" # Let the user override the test.
1795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1799 test -z "$as_dir" && as_dir
=.
1800 for ac_exec_ext
in '' $ac_executable_extensions; do
1801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1802 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1803 ac_prog_rejected
=yes
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 if test $ac_prog_rejected = yes; then
1814 # We found a bogon in the path, so make sure we never use it.
1815 set dummy
$ac_cv_prog_CC
1817 if test $# != 0; then
1818 # We chose a different compiler from the bogus one.
1819 # However, it has the same basename, so the bogon will be chosen
1820 # first if we set CC to just the basename; use the full file name.
1822 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1830 if test -n "$CC"; then
1831 echo "$as_me:$LINENO: result: $CC" >&5
1832 echo "${ECHO_T}$CC" >&6
1834 echo "$as_me:$LINENO: result: no" >&5
1835 echo "${ECHO_T}no" >&6
1839 if test -z "$CC"; then
1840 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1844 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$CC"; then
1851 ac_cv_prog_CC
="$CC" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 if test -n "$CC"; then
1871 echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1878 test -n "$CC" && break
1881 if test -z "$CC"; then
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy
$ac_prog; ac_word
=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$ac_ct_CC"; then
1893 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir
=.
1900 for ac_exec_ext
in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_ac_ct_CC
="$ac_prog"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1912 if test -n "$ac_ct_CC"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914 echo "${ECHO_T}$ac_ct_CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1920 test -n "$ac_ct_CC" && break
1929 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1930 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1931 { (exit 1); exit 1; }; }
1933 # Provide some information about the compiler.
1934 echo "$as_me:$LINENO:" \
1935 "checking for C compiler version" >&5
1936 ac_compiler
=`set X $ac_compile; echo $2`
1937 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1938 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }
1942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1943 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }
1947 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1948 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }
1953 cat >conftest.
$ac_ext <<_ACEOF
1954 #line $LINENO "configure"
1955 #include "confdefs.h"
1957 #ifdef F77_DUMMY_MAIN
1961 int F77_DUMMY_MAIN() { return 1; }
1971 ac_clean_files_save
=$ac_clean_files
1972 ac_clean_files
="$ac_clean_files a.out a.exe"
1973 # Try to create an executable without -o first, disregard a.out.
1974 # It will help us diagnose broken compilers, and finding out an intuition
1976 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1977 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1978 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1979 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1980 (eval $ac_link_default) 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }; then
1984 # Find the output, starting from the most likely. This scheme is
1985 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1988 # Be careful to initialize this variable, since it used to be cached.
1989 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1991 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1992 ls a.out conftest 2>/dev/null;
1993 ls a.* conftest.* 2>/dev/null`; do
1995 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1996 a.out
) # We found the default executable, but exeext='' is most
1999 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2000 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2007 echo "$as_me: failed program was:" >&5
2008 cat conftest.
$ac_ext >&5
2009 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2010 echo "$as_me: error: C compiler cannot create executables" >&2;}
2011 { (exit 77); exit 77; }; }
2014 ac_exeext
=$ac_cv_exeext
2015 echo "$as_me:$LINENO: result: $ac_file" >&5
2016 echo "${ECHO_T}$ac_file" >&6
2018 # Check the compiler produces executables we can run. If not, either
2019 # the compiler is broken, or we cross compile.
2020 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2021 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2022 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2023 # If not cross compiling, check that we can run a simple program.
2024 if test "$cross_compiling" != yes; then
2025 if { ac_try
='./$ac_file'
2026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; }; then
2033 if test "$cross_compiling" = maybe
; then
2036 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2037 If you meant to cross compile, use \`--host'." >&5
2038 echo "$as_me: error: cannot run C compiled programs.
2039 If you meant to cross compile, use \`--host'." >&2;}
2040 { (exit 1); exit 1; }; }
2044 echo "$as_me:$LINENO: result: yes" >&5
2045 echo "${ECHO_T}yes" >&6
2047 rm -f a.out a.exe conftest
$ac_cv_exeext
2048 ac_clean_files
=$ac_clean_files_save
2049 # Check the compiler produces executables we can run. If not, either
2050 # the compiler is broken, or we cross compile.
2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2054 echo "${ECHO_T}$cross_compiling" >&6
2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2059 (eval $ac_link) 2>&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; then
2063 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2064 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2065 # work properly (i.e., refer to `conftest.exe'), while it won't with
2067 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2069 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2070 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2077 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2078 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2079 { (exit 1); exit 1; }; }
2082 rm -f conftest
$ac_cv_exeext
2083 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2084 echo "${ECHO_T}$ac_cv_exeext" >&6
2086 rm -f conftest.
$ac_ext
2087 EXEEXT
=$ac_cv_exeext
2089 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2090 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2091 if test "${ac_cv_objext+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 cat >conftest.
$ac_ext <<_ACEOF
2095 #line $LINENO "configure"
2096 #include "confdefs.h"
2098 #ifdef F77_DUMMY_MAIN
2102 int F77_DUMMY_MAIN() { return 1; }
2112 rm -f conftest.o conftest.obj
2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114 (eval $ac_compile) 2>&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; then
2118 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2120 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2121 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2126 echo "$as_me: failed program was:" >&5
2127 cat conftest.
$ac_ext >&5
2128 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2129 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2130 { (exit 1); exit 1; }; }
2133 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2135 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2136 echo "${ECHO_T}$ac_cv_objext" >&6
2137 OBJEXT
=$ac_cv_objext
2139 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2140 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2141 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 cat >conftest.
$ac_ext <<_ACEOF
2145 #line $LINENO "configure"
2146 #include "confdefs.h"
2148 #ifdef F77_DUMMY_MAIN
2152 int F77_DUMMY_MAIN() { return 1; }
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -s conftest.$ac_objext'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; }; then
2179 echo "$as_me: failed program was:" >&5
2180 cat conftest.
$ac_ext >&5
2183 rm -f conftest.
$ac_objext conftest.
$ac_ext
2184 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2187 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2188 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2189 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2190 ac_test_CFLAGS
=${CFLAGS+set}
2191 ac_save_CFLAGS
=$CFLAGS
2193 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2194 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2195 if test "${ac_cv_prog_cc_g+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 cat >conftest.
$ac_ext <<_ACEOF
2199 #line $LINENO "configure"
2200 #include "confdefs.h"
2202 #ifdef F77_DUMMY_MAIN
2206 int F77_DUMMY_MAIN() { return 1; }
2216 rm -f conftest.
$ac_objext
2217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2218 (eval $ac_compile) 2>&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); } &&
2222 { ac_try
='test -s conftest.$ac_objext'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2230 echo "$as_me: failed program was:" >&5
2231 cat conftest.
$ac_ext >&5
2234 rm -f conftest.
$ac_objext conftest.
$ac_ext
2236 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2237 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2238 if test "$ac_test_CFLAGS" = set; then
2239 CFLAGS
=$ac_save_CFLAGS
2240 elif test $ac_cv_prog_cc_g = yes; then
2241 if test "$GCC" = yes; then
2247 if test "$GCC" = yes; then
2253 # Some people use a C++ compiler to compile C. Since we use `exit',
2254 # in C++ we need to declare it. In case someone uses the same compiler
2255 # for both compiling C and C++ we need to have the C++ compiler decide
2256 # the declaration of exit, since it's the most demanding environment.
2257 cat >conftest.
$ac_ext <<_ACEOF
2262 rm -f conftest.
$ac_objext
2263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2264 (eval $ac_compile) 2>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); } &&
2268 { ac_try
='test -s conftest.$ac_objext'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; }; then
2274 for ac_declaration
in \
2276 '#include <stdlib.h>' \
2277 'extern "C" void std::exit (int) throw (); using std::exit;' \
2278 'extern "C" void std::exit (int); using std::exit;' \
2279 'extern "C" void exit (int) throw ();' \
2280 'extern "C" void exit (int);' \
2283 cat >conftest.
$ac_ext <<_ACEOF
2284 #line $LINENO "configure"
2285 #include "confdefs.h"
2288 #ifdef F77_DUMMY_MAIN
2292 int F77_DUMMY_MAIN() { return 1; }
2302 rm -f conftest.
$ac_objext
2303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2304 (eval $ac_compile) 2>&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } &&
2308 { ac_try
='test -s conftest.$ac_objext'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; }; then
2316 echo "$as_me: failed program was:" >&5
2317 cat conftest.
$ac_ext >&5
2320 rm -f conftest.
$ac_objext conftest.
$ac_ext
2321 cat >conftest.
$ac_ext <<_ACEOF
2322 #line $LINENO "configure"
2323 #include "confdefs.h"
2325 #ifdef F77_DUMMY_MAIN
2329 int F77_DUMMY_MAIN() { return 1; }
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } &&
2345 { ac_try
='test -s conftest.$ac_objext'
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; }; then
2353 echo "$as_me: failed program was:" >&5
2354 cat conftest.
$ac_ext >&5
2356 rm -f conftest.
$ac_objext conftest.
$ac_ext
2359 if test -n "$ac_declaration"; then
2360 echo '#ifdef __cplusplus' >>confdefs.h
2361 echo $ac_declaration >>confdefs.h
2362 echo '#endif' >>confdefs.h
2366 echo "$as_me: failed program was:" >&5
2367 cat conftest.
$ac_ext >&5
2369 rm -f conftest.
$ac_objext conftest.
$ac_ext
2371 ac_cpp
='$CPP $CPPFLAGS'
2372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2375 rm -f .deps
2>/dev
/null
2376 mkdir .deps
2>/dev
/null
2377 if test -d .deps
; then
2380 # MS-DOS does not allow filenames that begin with a dot.
2383 rmdir .deps
2>/dev
/null
2386 ac_config_commands
="$ac_config_commands depfiles"
2389 am_make
=${MAKE-make}
2390 cat > confinc
<< 'END'
2394 # If we don't find an include directive, just comment out the code.
2395 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2396 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2400 # First try GNU make style include.
2401 echo "include confinc" > confmf
2402 # We grep out `Entering directory' and `Leaving directory'
2403 # messages which can occur if `w' ends up in MAKEFLAGS.
2404 # In particular we don't look at `^make:' because GNU make might
2405 # be invoked under some other name (usually "gmake"), in which
2406 # case it prints its new name instead of `make'.
2407 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2412 # Now try BSD make style include.
2413 if test "$am__include" = "#"; then
2414 echo '.include "confinc"' > confmf
2415 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2416 am__include
=.include
2423 echo "$as_me:$LINENO: result: $_am_result" >&5
2424 echo "${ECHO_T}$_am_result" >&6
2425 rm -f confinc confmf
2427 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2428 if test "${enable_dependency_tracking+set}" = set; then
2429 enableval
="$enable_dependency_tracking"
2432 if test "x$enable_dependency_tracking" != xno
; then
2433 am_depcomp
="$ac_aux_dir/depcomp"
2438 if test "x$enable_dependency_tracking" != xno; then
2449 depcc
="$CC" am_compiler_list
=
2451 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2452 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2453 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2457 # We make a subdir and do the tests there. Otherwise we can end up
2458 # making bogus files that we don't know about and never remove. For
2459 # instance it was reported that on HP-UX the gcc test will end up
2460 # making a dummy file named `D' -- because `-MD' means `put the output
2463 # Copy depcomp to subdir because otherwise we won't find it if we're
2464 # using a relative directory.
2465 cp "$am_depcomp" conftest.dir
2468 am_cv_CC_dependencies_compiler_type
=none
2469 if test "$am_compiler_list" = ""; then
2470 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2472 for depmode
in $am_compiler_list; do
2473 # We need to recreate these files for each test, as the compiler may
2474 # overwrite some of them when testing with obscure command lines.
2475 # This happens at least with the AIX C compiler.
2476 echo '#include "conftest.h"' > conftest.c
2477 echo 'int i;' > conftest.h
2478 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2482 # after this tag, mechanisms are not by side-effect, so they'll
2483 # only be used when explicitly requested
2484 if test "x$enable_dependency_tracking" = xyes
; then
2492 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2493 # mode. It turns out that the SunPro C++ compiler does not properly
2494 # handle `-M -o', and we need to detect this.
2495 if depmode
=$depmode \
2496 source=conftest.c object
=conftest.o \
2497 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2498 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2499 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2500 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2501 am_cv_CC_dependencies_compiler_type
=$depmode
2509 am_cv_CC_dependencies_compiler_type
=none
2513 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2514 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2515 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2520 ac_cpp
='$CPP $CPPFLAGS'
2521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2524 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2525 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2526 # On Suns, sometimes $CPP names a directory.
2527 if test -n "$CPP" && test -d "$CPP"; then
2530 if test -z "$CPP"; then
2531 if test "${ac_cv_prog_CPP+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 # Double quotes because CPP needs to be expanded
2535 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2538 for ac_c_preproc_warn_flag
in '' yes
2540 # Use a header file that comes with gcc, so configuring glibc
2541 # with a fresh cross-compiler works.
2542 # On the NeXT, cc -E runs the code through the compiler's parser,
2543 # not just through cpp. "Syntax error" is here to catch this case.
2544 cat >conftest.
$ac_ext <<_ACEOF
2545 #line $LINENO "configure"
2546 #include "confdefs.h"
2550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2553 egrep -v '^ *\+' conftest.er1
>conftest.err
2555 cat conftest.err
>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } >/dev
/null
; then
2558 if test -s conftest.err
; then
2559 ac_cpp_err
=$ac_c_preproc_warn_flag
2566 if test -z "$ac_cpp_err"; then
2569 echo "$as_me: failed program was:" >&5
2570 cat conftest.
$ac_ext >&5
2571 # Broken: fails on valid input.
2574 rm -f conftest.err conftest.
$ac_ext
2576 # OK, works on sane cases. Now check whether non-existent headers
2577 # can be detected and how.
2578 cat >conftest.
$ac_ext <<_ACEOF
2579 #line $LINENO "configure"
2580 #include "confdefs.h"
2581 #include <ac_nonexistent.h>
2583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2586 egrep -v '^ *\+' conftest.er1
>conftest.err
2588 cat conftest.err
>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } >/dev
/null
; then
2591 if test -s conftest.err
; then
2592 ac_cpp_err
=$ac_c_preproc_warn_flag
2599 if test -z "$ac_cpp_err"; then
2600 # Broken: success on invalid input.
2603 echo "$as_me: failed program was:" >&5
2604 cat conftest.
$ac_ext >&5
2605 # Passes both tests.
2609 rm -f conftest.err conftest.
$ac_ext
2612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2613 rm -f conftest.err conftest.
$ac_ext
2614 if $ac_preproc_ok; then
2626 echo "$as_me:$LINENO: result: $CPP" >&5
2627 echo "${ECHO_T}$CPP" >&6
2629 for ac_c_preproc_warn_flag
in '' yes
2631 # Use a header file that comes with gcc, so configuring glibc
2632 # with a fresh cross-compiler works.
2633 # On the NeXT, cc -E runs the code through the compiler's parser,
2634 # not just through cpp. "Syntax error" is here to catch this case.
2635 cat >conftest.
$ac_ext <<_ACEOF
2636 #line $LINENO "configure"
2637 #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
2660 echo "$as_me: failed program was:" >&5
2661 cat conftest.
$ac_ext >&5
2662 # Broken: fails on valid input.
2665 rm -f conftest.err conftest.
$ac_ext
2667 # OK, works on sane cases. Now check whether non-existent headers
2668 # can be detected and how.
2669 cat >conftest.
$ac_ext <<_ACEOF
2670 #line $LINENO "configure"
2671 #include "confdefs.h"
2672 #include <ac_nonexistent.h>
2674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2677 egrep -v '^ *\+' conftest.er1
>conftest.err
2679 cat conftest.err
>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } >/dev
/null
; then
2682 if test -s conftest.err
; then
2683 ac_cpp_err
=$ac_c_preproc_warn_flag
2690 if test -z "$ac_cpp_err"; then
2691 # Broken: success on invalid input.
2694 echo "$as_me: failed program was:" >&5
2695 cat conftest.
$ac_ext >&5
2696 # Passes both tests.
2700 rm -f conftest.err conftest.
$ac_ext
2703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2704 rm -f conftest.err conftest.
$ac_ext
2705 if $ac_preproc_ok; then
2708 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2709 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2710 { (exit 1); exit 1; }; }
2714 ac_cpp
='$CPP $CPPFLAGS'
2715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2720 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2721 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2722 if test "${ac_cv_header_stdc+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 cat >conftest.
$ac_ext <<_ACEOF
2726 #line $LINENO "configure"
2727 #include "confdefs.h"
2734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2737 egrep -v '^ *\+' conftest.er1
>conftest.err
2739 cat conftest.err
>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } >/dev
/null
; then
2742 if test -s conftest.err
; then
2743 ac_cpp_err
=$ac_c_preproc_warn_flag
2750 if test -z "$ac_cpp_err"; then
2751 ac_cv_header_stdc
=yes
2753 echo "$as_me: failed program was:" >&5
2754 cat conftest.
$ac_ext >&5
2755 ac_cv_header_stdc
=no
2757 rm -f conftest.err conftest.
$ac_ext
2759 if test $ac_cv_header_stdc = yes; then
2760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2761 cat >conftest.
$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2763 #include "confdefs.h"
2767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2768 egrep "memchr" >/dev
/null
2>&1; then
2771 ac_cv_header_stdc
=no
2777 if test $ac_cv_header_stdc = yes; then
2778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2779 cat >conftest.
$ac_ext <<_ACEOF
2780 #line $LINENO "configure"
2781 #include "confdefs.h"
2785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2786 egrep "free" >/dev
/null
2>&1; then
2789 ac_cv_header_stdc
=no
2795 if test $ac_cv_header_stdc = yes; then
2796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2797 if test "$cross_compiling" = yes; then
2800 cat >conftest.
$ac_ext <<_ACEOF
2801 #line $LINENO "configure"
2802 #include "confdefs.h"
2804 #if ((' ' & 0x0FF) == 0x020)
2805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2806 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2808 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2809 || ('j' <= (c) && (c) <= 'r') \
2810 || ('s' <= (c) && (c) <= 'z'))
2811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2819 for (i = 0; i < 256; i++)
2820 if (XOR (islower (i), ISLOWER (i))
2821 || toupper (i) != TOUPPER (i))
2826 rm -f conftest
$ac_exeext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2828 (eval $ac_link) 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2839 echo "$as_me: program exited with status $ac_status" >&5
2840 echo "$as_me: failed program was:" >&5
2841 cat conftest.
$ac_ext >&5
2843 ac_cv_header_stdc
=no
2845 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2849 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2850 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2851 if test $ac_cv_header_stdc = yes; then
2853 cat >>confdefs.h
<<\_ACEOF
2854 #define STDC_HEADERS 1
2859 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2869 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2870 inttypes.h stdint.h unistd.h
2872 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2873 echo "$as_me:$LINENO: checking for $ac_header" >&5
2874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 cat >conftest.
$ac_ext <<_ACEOF
2879 #line $LINENO "configure"
2880 #include "confdefs.h"
2881 $ac_includes_default
2883 #include <$ac_header>
2885 rm -f conftest.
$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try
='test -s conftest.$ac_objext'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2897 eval "$as_ac_Header=yes"
2899 echo "$as_me: failed program was:" >&5
2900 cat conftest.
$ac_ext >&5
2901 eval "$as_ac_Header=no"
2903 rm -f conftest.
$ac_objext conftest.
$ac_ext
2905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2908 cat >>confdefs.h
<<_ACEOF
2909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2917 if test "${ac_cv_header_minix_config_h+set}" = set; then
2918 echo "$as_me:$LINENO: checking for minix/config.h" >&5
2919 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2920 if test "${ac_cv_header_minix_config_h+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
2924 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2926 # Is the header compilable?
2927 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
2928 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2929 cat >conftest.
$ac_ext <<_ACEOF
2930 #line $LINENO "configure"
2931 #include "confdefs.h"
2932 $ac_includes_default
2933 #include <minix/config.h>
2935 rm -f conftest.
$ac_objext
2936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2937 (eval $ac_compile) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try
='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 ac_header_compiler
=yes
2949 echo "$as_me: failed program was:" >&5
2950 cat conftest.
$ac_ext >&5
2951 ac_header_compiler
=no
2953 rm -f conftest.
$ac_objext conftest.
$ac_ext
2954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2955 echo "${ECHO_T}$ac_header_compiler" >&6
2957 # Is the header present?
2958 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
2959 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2960 cat >conftest.
$ac_ext <<_ACEOF
2961 #line $LINENO "configure"
2962 #include "confdefs.h"
2963 #include <minix/config.h>
2965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2968 egrep -v '^ *\+' conftest.er1
>conftest.err
2970 cat conftest.err
>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } >/dev
/null
; then
2973 if test -s conftest.err
; then
2974 ac_cpp_err
=$ac_c_preproc_warn_flag
2981 if test -z "$ac_cpp_err"; then
2982 ac_header_preproc
=yes
2984 echo "$as_me: failed program was:" >&5
2985 cat conftest.
$ac_ext >&5
2986 ac_header_preproc
=no
2988 rm -f conftest.err conftest.
$ac_ext
2989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2990 echo "${ECHO_T}$ac_header_preproc" >&6
2992 # So? What about this header?
2993 case $ac_header_compiler:$ac_header_preproc in
2995 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2996 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2997 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2998 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3000 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3001 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3002 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3003 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3004 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3005 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3007 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3008 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3009 if test "${ac_cv_header_minix_config_h+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 ac_cv_header_minix_config_h
=$ac_header_preproc
3014 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3015 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3018 if test $ac_cv_header_minix_config_h = yes; then
3025 if test "$MINIX" = yes; then
3027 cat >>confdefs.h
<<\_ACEOF
3028 #define _POSIX_SOURCE 1
3032 cat >>confdefs.h
<<\_ACEOF
3033 #define _POSIX_1_SOURCE 2
3037 cat >>confdefs.h
<<\_ACEOF
3044 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3045 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3046 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 ac_check_lib_save_LIBS
=$LIBS
3050 LIBS
="-lcposix $LIBS"
3051 cat >conftest.
$ac_ext <<_ACEOF
3052 #line $LINENO "configure"
3053 #include "confdefs.h"
3055 /* Override any gcc2 internal prototype to avoid an error. */
3059 /* We use char because int might match the return type of a gcc2
3060 builtin and then its argument prototype would still apply. */
3062 #ifdef F77_DUMMY_MAIN
3066 int F77_DUMMY_MAIN() { return 1; }
3076 rm -f conftest.
$ac_objext conftest
$ac_exeext
3077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3078 (eval $ac_link) 2>&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } &&
3082 { ac_try
='test -s conftest$ac_exeext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_lib_cposix_strerror
=yes
3090 echo "$as_me: failed program was:" >&5
3091 cat conftest.
$ac_ext >&5
3092 ac_cv_lib_cposix_strerror
=no
3094 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3095 LIBS
=$ac_check_lib_save_LIBS
3097 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3098 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3099 if test $ac_cv_lib_cposix_strerror = yes; then
3100 LIBS
="$LIBS -lcposix"
3108 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3109 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3110 if test "${am_cv_prog_cc_stdc+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 am_cv_prog_cc_stdc
=no
3115 # Don't try gcc -ansi; that turns off useful extensions and
3116 # breaks some systems' header files.
3117 # AIX -qlanglvl=ansi
3118 # Ultrix and OSF/1 -std1
3119 # HP-UX 10.20 and later -Ae
3120 # HP-UX older versions -Aa -D_HPUX_SOURCE
3121 # SVR4 -Xc -D__EXTENSIONS__
3122 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3124 CC
="$ac_save_CC $ac_arg"
3125 cat >conftest.
$ac_ext <<_ACEOF
3126 #line $LINENO "configure"
3127 #include "confdefs.h"
3130 #include <sys/types.h>
3131 #include <sys/stat.h>
3132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3133 struct buf { int x; };
3134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3135 static char *e (p, i)
3141 static char *f (char * (*g) (char **, int), char **p, ...)
3146 s = g (p, va_arg (v,int));
3150 int test (int i, double x);
3151 struct s1 {int (*f) (int a);};
3152 struct s2 {int (*f) (double a);};
3153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3157 #ifdef F77_DUMMY_MAIN
3161 int F77_DUMMY_MAIN() { return 1; }
3167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3173 rm -f conftest.
$ac_objext
3174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3175 (eval $ac_compile) 2>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } &&
3179 { ac_try
='test -s conftest.$ac_objext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3185 am_cv_prog_cc_stdc
="$ac_arg"; break
3187 echo "$as_me: failed program was:" >&5
3188 cat conftest.
$ac_ext >&5
3190 rm -f conftest.
$ac_objext conftest.
$ac_ext
3196 if test -z "$am_cv_prog_cc_stdc"; then
3197 echo "$as_me:$LINENO: result: none needed" >&5
3198 echo "${ECHO_T}none needed" >&6
3200 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3201 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3203 case "x$am_cv_prog_cc_stdc" in
3205 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3208 if test -n "$ac_tool_prefix"; then
3209 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3210 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3211 echo "$as_me:$LINENO: checking for $ac_word" >&5
3212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3213 if test "${ac_cv_prog_RANLIB+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 if test -n "$RANLIB"; then
3217 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 RANLIB
=$ac_cv_prog_RANLIB
3236 if test -n "$RANLIB"; then
3237 echo "$as_me:$LINENO: result: $RANLIB" >&5
3238 echo "${ECHO_T}$RANLIB" >&6
3240 echo "$as_me:$LINENO: result: no" >&5
3241 echo "${ECHO_T}no" >&6
3245 if test -z "$ac_cv_prog_RANLIB"; then
3246 ac_ct_RANLIB
=$RANLIB
3247 # Extract the first word of "ranlib", so it can be a program name with args.
3248 set dummy ranlib
; ac_word
=$2
3249 echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3251 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 if test -n "$ac_ct_RANLIB"; then
3255 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir
=.
3262 for ac_exec_ext
in '' $ac_executable_extensions; do
3263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3274 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3275 if test -n "$ac_ct_RANLIB"; then
3276 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3277 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3279 echo "$as_me:$LINENO: result: no" >&5
3280 echo "${ECHO_T}no" >&6
3283 RANLIB
=$ac_ct_RANLIB
3285 RANLIB
="$ac_cv_prog_RANLIB"
3289 AUTOM4TE
=${AUTOM4TE-"${am_missing_run}autom4te"}
3292 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
3293 if test "${enable_gcc_warnings+set}" = set; then
3294 enableval
="$enable_gcc_warnings"
3295 case "${enableval}" in
3297 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for gcc-warnings option" >&5
3298 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
3299 { (exit 1); exit 1; }; } ;;
3304 if test "${enableval}" = yes; then
3305 echo "$as_me:$LINENO: checking whether compiler accepts -Werror" >&5
3306 echo $ECHO_N "checking whether compiler accepts -Werror... $ECHO_C" >&6
3308 ac_save_CFLAGS
="$CFLAGS"
3309 CFLAGS
="$CFLAGS -Werror"
3310 cat >conftest.
$ac_ext <<_ACEOF
3311 #line $LINENO "configure"
3312 #include "confdefs.h"
3314 #ifdef F77_DUMMY_MAIN
3318 int F77_DUMMY_MAIN() { return 1; }
3328 rm -f conftest.
$ac_objext
3329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3330 (eval $ac_compile) 2>&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try
='test -s conftest.$ac_objext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 WARNING_CFLAGS
="$WARNING_CFLAGS -Werror"
3341 echo "$as_me:$LINENO: result: yes" >&5
3342 echo "${ECHO_T}yes" >&6
3344 echo "$as_me: failed program was:" >&5
3345 cat conftest.
$ac_ext >&5
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3349 rm -f conftest.
$ac_objext conftest.
$ac_ext
3350 CFLAGS
="$ac_save_CFLAGS"
3351 WERROR_CFLAGS
=$WARNING_CFLAGS
3354 echo "$as_me:$LINENO: checking whether compiler accepts -Wall" >&5
3355 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
3357 ac_save_CFLAGS
="$CFLAGS"
3358 CFLAGS
="$CFLAGS -Wall"
3359 cat >conftest.
$ac_ext <<_ACEOF
3360 #line $LINENO "configure"
3361 #include "confdefs.h"
3363 #ifdef F77_DUMMY_MAIN
3367 int F77_DUMMY_MAIN() { return 1; }
3377 rm -f conftest.
$ac_objext
3378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3379 (eval $ac_compile) 2>&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); } &&
3383 { ac_try
='test -s conftest.$ac_objext'
3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; }; then
3389 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3390 echo "$as_me:$LINENO: result: yes" >&5
3391 echo "${ECHO_T}yes" >&6
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.
$ac_ext >&5
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3398 rm -f conftest.
$ac_objext conftest.
$ac_ext
3399 CFLAGS
="$ac_save_CFLAGS"
3400 echo "$as_me:$LINENO: checking whether compiler accepts -W" >&5
3401 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3403 ac_save_CFLAGS
="$CFLAGS"
3405 cat >conftest.
$ac_ext <<_ACEOF
3406 #line $LINENO "configure"
3407 #include "confdefs.h"
3409 #ifdef F77_DUMMY_MAIN
3413 int F77_DUMMY_MAIN() { return 1; }
3423 rm -f conftest.
$ac_objext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3425 (eval $ac_compile) 2>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try
='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3439 echo "$as_me: failed program was:" >&5
3440 cat conftest.
$ac_ext >&5
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3444 rm -f conftest.
$ac_objext conftest.
$ac_ext
3445 CFLAGS
="$ac_save_CFLAGS"
3446 echo "$as_me:$LINENO: checking whether compiler accepts -Wbad-function-cast" >&5
3447 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3449 ac_save_CFLAGS
="$CFLAGS"
3450 CFLAGS
="$CFLAGS -Wbad-function-cast"
3451 cat >conftest.
$ac_ext <<_ACEOF
3452 #line $LINENO "configure"
3453 #include "confdefs.h"
3455 #ifdef F77_DUMMY_MAIN
3459 int F77_DUMMY_MAIN() { return 1; }
3469 rm -f conftest.
$ac_objext
3470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3471 (eval $ac_compile) 2>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try
='test -s conftest.$ac_objext'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; }; then
3481 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3482 echo "$as_me:$LINENO: result: yes" >&5
3483 echo "${ECHO_T}yes" >&6
3485 echo "$as_me: failed program was:" >&5
3486 cat conftest.
$ac_ext >&5
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3490 rm -f conftest.
$ac_objext conftest.
$ac_ext
3491 CFLAGS
="$ac_save_CFLAGS"
3492 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-align" >&5
3493 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3495 ac_save_CFLAGS
="$CFLAGS"
3496 CFLAGS
="$CFLAGS -Wcast-align"
3497 cat >conftest.
$ac_ext <<_ACEOF
3498 #line $LINENO "configure"
3499 #include "confdefs.h"
3501 #ifdef F77_DUMMY_MAIN
3505 int F77_DUMMY_MAIN() { return 1; }
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } &&
3521 { ac_try
='test -s conftest.$ac_objext'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; }; then
3527 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3531 echo "$as_me: failed program was:" >&5
3532 cat conftest.
$ac_ext >&5
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3536 rm -f conftest.
$ac_objext conftest.
$ac_ext
3537 CFLAGS
="$ac_save_CFLAGS"
3538 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-qual" >&5
3539 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3541 ac_save_CFLAGS
="$CFLAGS"
3542 CFLAGS
="$CFLAGS -Wcast-qual"
3543 cat >conftest.
$ac_ext <<_ACEOF
3544 #line $LINENO "configure"
3545 #include "confdefs.h"
3547 #ifdef F77_DUMMY_MAIN
3551 int F77_DUMMY_MAIN() { return 1; }
3561 rm -f conftest.
$ac_objext
3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try
='test -s conftest.$ac_objext'
3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }; }; then
3573 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3574 echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3577 echo "$as_me: failed program was:" >&5
3578 cat conftest.
$ac_ext >&5
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3582 rm -f conftest.
$ac_objext conftest.
$ac_ext
3583 CFLAGS
="$ac_save_CFLAGS"
3584 echo "$as_me:$LINENO: checking whether compiler accepts -Wformat" >&5
3585 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3587 ac_save_CFLAGS
="$CFLAGS"
3588 CFLAGS
="$CFLAGS -Wformat"
3589 cat >conftest.
$ac_ext <<_ACEOF
3590 #line $LINENO "configure"
3591 #include "confdefs.h"
3593 #ifdef F77_DUMMY_MAIN
3597 int F77_DUMMY_MAIN() { return 1; }
3607 rm -f conftest.
$ac_objext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3609 (eval $ac_compile) 2>&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } &&
3613 { ac_try
='test -s conftest.$ac_objext'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; }; then
3619 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3620 echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3623 echo "$as_me: failed program was:" >&5
3624 cat conftest.
$ac_ext >&5
3625 echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6
3628 rm -f conftest.
$ac_objext conftest.
$ac_ext
3629 CFLAGS
="$ac_save_CFLAGS"
3630 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-declarations" >&5
3631 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3633 ac_save_CFLAGS
="$CFLAGS"
3634 CFLAGS
="$CFLAGS -Wmissing-declarations"
3635 cat >conftest.
$ac_ext <<_ACEOF
3636 #line $LINENO "configure"
3637 #include "confdefs.h"
3639 #ifdef F77_DUMMY_MAIN
3643 int F77_DUMMY_MAIN() { return 1; }
3653 rm -f conftest.
$ac_objext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3655 (eval $ac_compile) 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -s conftest.$ac_objext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3669 echo "$as_me: failed program was:" >&5
3670 cat conftest.
$ac_ext >&5
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3674 rm -f conftest.
$ac_objext conftest.
$ac_ext
3675 CFLAGS
="$ac_save_CFLAGS"
3676 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-prototypes" >&5
3677 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3679 ac_save_CFLAGS
="$CFLAGS"
3680 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3681 cat >conftest.
$ac_ext <<_ACEOF
3682 #line $LINENO "configure"
3683 #include "confdefs.h"
3685 #ifdef F77_DUMMY_MAIN
3689 int F77_DUMMY_MAIN() { return 1; }
3699 rm -f conftest.
$ac_objext
3700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3701 (eval $ac_compile) 2>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } &&
3705 { ac_try
='test -s conftest.$ac_objext'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; }; then
3711 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me: failed program was:" >&5
3716 cat conftest.
$ac_ext >&5
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3720 rm -f conftest.
$ac_objext conftest.
$ac_ext
3721 CFLAGS
="$ac_save_CFLAGS"
3722 echo "$as_me:$LINENO: checking whether compiler accepts -Wnested-externs" >&5
3723 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3725 ac_save_CFLAGS
="$CFLAGS"
3726 CFLAGS
="$CFLAGS -Wnested-externs"
3727 cat >conftest.
$ac_ext <<_ACEOF
3728 #line $LINENO "configure"
3729 #include "confdefs.h"
3731 #ifdef F77_DUMMY_MAIN
3735 int F77_DUMMY_MAIN() { return 1; }
3745 rm -f conftest.
$ac_objext
3746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3747 (eval $ac_compile) 2>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } &&
3751 { ac_try
='test -s conftest.$ac_objext'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; }; then
3757 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3761 echo "$as_me: failed program was:" >&5
3762 cat conftest.
$ac_ext >&5
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3766 rm -f conftest.
$ac_objext conftest.
$ac_ext
3767 CFLAGS
="$ac_save_CFLAGS"
3768 echo "$as_me:$LINENO: checking whether compiler accepts -Wshadow" >&5
3769 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3771 ac_save_CFLAGS
="$CFLAGS"
3772 CFLAGS
="$CFLAGS -Wshadow"
3773 cat >conftest.
$ac_ext <<_ACEOF
3774 #line $LINENO "configure"
3775 #include "confdefs.h"
3777 #ifdef F77_DUMMY_MAIN
3781 int F77_DUMMY_MAIN() { return 1; }
3791 rm -f conftest.
$ac_objext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3793 (eval $ac_compile) 2>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } &&
3797 { ac_try
='test -s conftest.$ac_objext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me: failed program was:" >&5
3808 cat conftest.
$ac_ext >&5
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3812 rm -f conftest.
$ac_objext conftest.
$ac_ext
3813 CFLAGS
="$ac_save_CFLAGS"
3814 echo "$as_me:$LINENO: checking whether compiler accepts -Wstrict-prototypes" >&5
3815 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3817 ac_save_CFLAGS
="$CFLAGS"
3818 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3819 cat >conftest.
$ac_ext <<_ACEOF
3820 #line $LINENO "configure"
3821 #include "confdefs.h"
3823 #ifdef F77_DUMMY_MAIN
3827 int F77_DUMMY_MAIN() { return 1; }
3837 rm -f conftest.
$ac_objext
3838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3839 (eval $ac_compile) 2>&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } &&
3843 { ac_try
='test -s conftest.$ac_objext'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3849 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3853 echo "$as_me: failed program was:" >&5
3854 cat conftest.
$ac_ext >&5
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3858 rm -f conftest.
$ac_objext conftest.
$ac_ext
3859 CFLAGS
="$ac_save_CFLAGS"
3860 echo "$as_me:$LINENO: checking whether compiler accepts -Wwrite-strings" >&5
3861 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3863 ac_save_CFLAGS
="$CFLAGS"
3864 CFLAGS
="$CFLAGS -Wwrite-strings"
3865 cat >conftest.
$ac_ext <<_ACEOF
3866 #line $LINENO "configure"
3867 #include "confdefs.h"
3869 #ifdef F77_DUMMY_MAIN
3873 int F77_DUMMY_MAIN() { return 1; }
3883 rm -f conftest.
$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try
='test -s conftest.$ac_objext'
3890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); }; }; then
3895 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me: failed program was:" >&5
3900 cat conftest.
$ac_ext >&5
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3904 rm -f conftest.
$ac_objext conftest.
$ac_ext
3905 CFLAGS
="$ac_save_CFLAGS"
3908 # Checks for libraries.
3910 cat >>confdefs.h
<<\_ACEOF
3911 #define _GNU_SOURCE 1
3915 # Checks for header files.
3916 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3917 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3918 if test "${ac_cv_header_stdc+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 cat >conftest.
$ac_ext <<_ACEOF
3922 #line $LINENO "configure"
3923 #include "confdefs.h"
3930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3933 egrep -v '^ *\+' conftest.er1
>conftest.err
3935 cat conftest.err
>&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } >/dev
/null
; then
3938 if test -s conftest.err
; then
3939 ac_cpp_err
=$ac_c_preproc_warn_flag
3946 if test -z "$ac_cpp_err"; then
3947 ac_cv_header_stdc
=yes
3949 echo "$as_me: failed program was:" >&5
3950 cat conftest.
$ac_ext >&5
3951 ac_cv_header_stdc
=no
3953 rm -f conftest.err conftest.
$ac_ext
3955 if test $ac_cv_header_stdc = yes; then
3956 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3957 cat >conftest.
$ac_ext <<_ACEOF
3958 #line $LINENO "configure"
3959 #include "confdefs.h"
3963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3964 egrep "memchr" >/dev
/null
2>&1; then
3967 ac_cv_header_stdc
=no
3973 if test $ac_cv_header_stdc = yes; then
3974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3975 cat >conftest.
$ac_ext <<_ACEOF
3976 #line $LINENO "configure"
3977 #include "confdefs.h"
3981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3982 egrep "free" >/dev
/null
2>&1; then
3985 ac_cv_header_stdc
=no
3991 if test $ac_cv_header_stdc = yes; then
3992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3993 if test "$cross_compiling" = yes; then
3996 cat >conftest.
$ac_ext <<_ACEOF
3997 #line $LINENO "configure"
3998 #include "confdefs.h"
4000 #if ((' ' & 0x0FF) == 0x020)
4001 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4002 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4004 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4005 || ('j' <= (c) && (c) <= 'r') \
4006 || ('s' <= (c) && (c) <= 'z'))
4007 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4010 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4015 for (i = 0; i < 256; i++)
4016 if (XOR (islower (i), ISLOWER (i))
4017 || toupper (i) != TOUPPER (i))
4022 rm -f conftest
$ac_exeext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4024 (eval $ac_link) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; }; then
4035 echo "$as_me: program exited with status $ac_status" >&5
4036 echo "$as_me: failed program was:" >&5
4037 cat conftest.
$ac_ext >&5
4039 ac_cv_header_stdc
=no
4041 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4047 if test $ac_cv_header_stdc = yes; then
4049 cat >>confdefs.h
<<\_ACEOF
4050 #define STDC_HEADERS 1
4061 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
4063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4065 echo "$as_me:$LINENO: checking for $ac_header" >&5
4066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4073 # Is the header compilable?
4074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4076 cat >conftest.
$ac_ext <<_ACEOF
4077 #line $LINENO "configure"
4078 #include "confdefs.h"
4079 $ac_includes_default
4080 #include <$ac_header>
4082 rm -f conftest.
$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try
='test -s conftest.$ac_objext'
4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); }; }; then
4094 ac_header_compiler
=yes
4096 echo "$as_me: failed program was:" >&5
4097 cat conftest.
$ac_ext >&5
4098 ac_header_compiler
=no
4100 rm -f conftest.
$ac_objext conftest.
$ac_ext
4101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4102 echo "${ECHO_T}$ac_header_compiler" >&6
4104 # Is the header present?
4105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4107 cat >conftest.
$ac_ext <<_ACEOF
4108 #line $LINENO "configure"
4109 #include "confdefs.h"
4110 #include <$ac_header>
4112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4115 egrep -v '^ *\+' conftest.er1
>conftest.err
4117 cat conftest.err
>&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } >/dev
/null
; then
4120 if test -s conftest.err
; then
4121 ac_cpp_err
=$ac_c_preproc_warn_flag
4128 if test -z "$ac_cpp_err"; then
4129 ac_header_preproc
=yes
4131 echo "$as_me: failed program was:" >&5
4132 cat conftest.
$ac_ext >&5
4133 ac_header_preproc
=no
4135 rm -f conftest.err conftest.
$ac_ext
4136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4137 echo "${ECHO_T}$ac_header_preproc" >&6
4139 # So? What about this header?
4140 case $ac_header_compiler:$ac_header_preproc in
4142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4154 echo "$as_me:$LINENO: checking for $ac_header" >&5
4155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 eval "$as_ac_Header=$ac_header_preproc"
4161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4166 cat >>confdefs.h
<<_ACEOF
4167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4175 # Checks for typedefs.
4177 # Checks for structures.
4179 # Checks for compiler characteristics.
4180 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4181 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4182 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_cv_prog_cc_stdc
=no
4187 cat >conftest.
$ac_ext <<_ACEOF
4188 #line $LINENO "configure"
4189 #include "confdefs.h"
4192 #include <sys/types.h>
4193 #include <sys/stat.h>
4194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4195 struct buf { int x; };
4196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4197 static char *e (p, i)
4203 static char *f (char * (*g) (char **, int), char **p, ...)
4208 s = g (p, va_arg (v,int));
4212 int test (int i, double x);
4213 struct s1 {int (*f) (int a);};
4214 struct s2 {int (*f) (double a);};
4215 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4218 #ifdef F77_DUMMY_MAIN
4222 int F77_DUMMY_MAIN() { return 1; }
4227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4232 # Don't try gcc -ansi; that turns off useful extensions and
4233 # breaks some systems' header files.
4234 # AIX -qlanglvl=ansi
4235 # Ultrix and OSF/1 -std1
4236 # HP-UX 10.20 and later -Ae
4237 # HP-UX older versions -Aa -D_HPUX_SOURCE
4238 # SVR4 -Xc -D__EXTENSIONS__
4239 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4241 CC
="$ac_save_CC $ac_arg"
4242 rm -f conftest.
$ac_objext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244 (eval $ac_compile) 2>&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); } &&
4248 { ac_try
='test -s conftest.$ac_objext'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; }; then
4254 ac_cv_prog_cc_stdc
=$ac_arg
4257 echo "$as_me: failed program was:" >&5
4258 cat conftest.
$ac_ext >&5
4260 rm -f conftest.
$ac_objext
4262 rm -f conftest.
$ac_ext conftest.
$ac_objext
4267 case "x$ac_cv_prog_cc_stdc" in
4269 echo "$as_me:$LINENO: result: none needed" >&5
4270 echo "${ECHO_T}none needed" >&6 ;;
4272 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4273 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4274 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4277 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4278 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4279 if test "${ac_cv_c_const+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 cat >conftest.
$ac_ext <<_ACEOF
4283 #line $LINENO "configure"
4284 #include "confdefs.h"
4286 #ifdef F77_DUMMY_MAIN
4290 int F77_DUMMY_MAIN() { return 1; }
4295 /* FIXME: Include the comments suggested by Paul. */
4297 /* Ultrix mips cc rejects this. */
4298 typedef int charset[2];
4300 /* SunOS 4.1.1 cc rejects this. */
4301 char const *const *ccp;
4303 /* NEC SVR4.0.2 mips cc rejects this. */
4304 struct point {int x, y;};
4305 static struct point const zero = {0,0};
4306 /* AIX XL C 1.02.0.0 rejects this.
4307 It does not let you subtract one const X* pointer from another in
4308 an arm of an if-expression whose if-part is not a constant
4310 const char *g = "string";
4311 ccp = &g + (g ? g-g : 0);
4312 /* HPUX 7.0 cc rejects these. */
4315 ccp = (char const *const *) p;
4316 { /* SCO 3.2v4 cc rejects this. */
4318 char const *s = 0 ? (char *) 0 : (char const *) 0;
4322 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4324 const int *foo = &x[0];
4327 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4328 typedef const int *iptr;
4332 { /* AIX XL C 1.02.0.0 rejects this saying
4333 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4334 struct s { int j; const int *ap[3]; };
4335 struct s *b; b->j = 5;
4337 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4346 rm -f conftest.
$ac_objext
4347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4348 (eval $ac_compile) 2>&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try
='test -s conftest.$ac_objext'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4360 echo "$as_me: failed program was:" >&5
4361 cat conftest.
$ac_ext >&5
4364 rm -f conftest.
$ac_objext conftest.
$ac_ext
4366 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4367 echo "${ECHO_T}$ac_cv_c_const" >&6
4368 if test $ac_cv_c_const = no
; then
4370 cat >>confdefs.h
<<\_ACEOF
4376 echo "$as_me:$LINENO: checking for inline" >&5
4377 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4378 if test "${ac_cv_c_inline+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 for ac_kw
in inline __inline__ __inline
; do
4383 cat >conftest.
$ac_ext <<_ACEOF
4384 #line $LINENO "configure"
4385 #include "confdefs.h"
4387 static $ac_kw int static_foo () {return 0; }
4388 $ac_kw int foo () {return 0; }
4392 rm -f conftest.
$ac_objext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } &&
4398 { ac_try
='test -s conftest.$ac_objext'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then
4404 ac_cv_c_inline
=$ac_kw; break
4406 echo "$as_me: failed program was:" >&5
4407 cat conftest.
$ac_ext >&5
4409 rm -f conftest.
$ac_objext conftest.
$ac_ext
4413 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4414 echo "${ECHO_T}$ac_cv_c_inline" >&6
4415 case $ac_cv_c_inline in
4418 cat >>confdefs.h
<<\_ACEOF
4422 *) cat >>confdefs.h
<<_ACEOF
4423 #define inline $ac_cv_c_inline
4430 echo "$as_me:$LINENO: checking for function prototypes" >&5
4431 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4432 if test "$am_cv_prog_cc_stdc" != no
; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4436 cat >>confdefs.h
<<\_ACEOF
4437 #define PROTOTYPES 1
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4444 U
=_ ANSI2KNR
=.
/ansi2knr
4446 # Ensure some checks needed by ansi2knr itself.
4447 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4448 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4449 if test "${ac_cv_header_stdc+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 cat >conftest.
$ac_ext <<_ACEOF
4453 #line $LINENO "configure"
4454 #include "confdefs.h"
4461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4464 egrep -v '^ *\+' conftest.er1
>conftest.err
4466 cat conftest.err
>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } >/dev
/null
; then
4469 if test -s conftest.err
; then
4470 ac_cpp_err
=$ac_c_preproc_warn_flag
4477 if test -z "$ac_cpp_err"; then
4478 ac_cv_header_stdc
=yes
4480 echo "$as_me: failed program was:" >&5
4481 cat conftest.
$ac_ext >&5
4482 ac_cv_header_stdc
=no
4484 rm -f conftest.err conftest.
$ac_ext
4486 if test $ac_cv_header_stdc = yes; then
4487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4488 cat >conftest.
$ac_ext <<_ACEOF
4489 #line $LINENO "configure"
4490 #include "confdefs.h"
4494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4495 egrep "memchr" >/dev
/null
2>&1; then
4498 ac_cv_header_stdc
=no
4504 if test $ac_cv_header_stdc = yes; then
4505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4506 cat >conftest.
$ac_ext <<_ACEOF
4507 #line $LINENO "configure"
4508 #include "confdefs.h"
4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513 egrep "free" >/dev
/null
2>&1; then
4516 ac_cv_header_stdc
=no
4522 if test $ac_cv_header_stdc = yes; then
4523 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4524 if test "$cross_compiling" = yes; then
4527 cat >conftest.
$ac_ext <<_ACEOF
4528 #line $LINENO "configure"
4529 #include "confdefs.h"
4531 #if ((' ' & 0x0FF) == 0x020)
4532 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4533 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4535 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4536 || ('j' <= (c) && (c) <= 'r') \
4537 || ('s' <= (c) && (c) <= 'z'))
4538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4546 for (i = 0; i < 256; i++)
4547 if (XOR (islower (i), ISLOWER (i))
4548 || toupper (i) != TOUPPER (i))
4553 rm -f conftest
$ac_exeext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4555 (eval $ac_link) 2>&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; }; then
4566 echo "$as_me: program exited with status $ac_status" >&5
4567 echo "$as_me: failed program was:" >&5
4568 cat conftest.
$ac_ext >&5
4570 ac_cv_header_stdc
=no
4572 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4576 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4577 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4578 if test $ac_cv_header_stdc = yes; then
4580 cat >>confdefs.h
<<\_ACEOF
4581 #define STDC_HEADERS 1
4587 for ac_header
in string.h
4589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4591 echo "$as_me:$LINENO: checking for $ac_header" >&5
4592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4599 # Is the header compilable?
4600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4602 cat >conftest.
$ac_ext <<_ACEOF
4603 #line $LINENO "configure"
4604 #include "confdefs.h"
4605 $ac_includes_default
4606 #include <$ac_header>
4608 rm -f conftest.
$ac_objext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610 (eval $ac_compile) 2>&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); } &&
4614 { ac_try
='test -s conftest.$ac_objext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 ac_header_compiler
=yes
4622 echo "$as_me: failed program was:" >&5
4623 cat conftest.
$ac_ext >&5
4624 ac_header_compiler
=no
4626 rm -f conftest.
$ac_objext conftest.
$ac_ext
4627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4628 echo "${ECHO_T}$ac_header_compiler" >&6
4630 # Is the header present?
4631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4633 cat >conftest.
$ac_ext <<_ACEOF
4634 #line $LINENO "configure"
4635 #include "confdefs.h"
4636 #include <$ac_header>
4638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4641 egrep -v '^ *\+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } >/dev
/null
; then
4646 if test -s conftest.err
; then
4647 ac_cpp_err
=$ac_c_preproc_warn_flag
4654 if test -z "$ac_cpp_err"; then
4655 ac_header_preproc
=yes
4657 echo "$as_me: failed program was:" >&5
4658 cat conftest.
$ac_ext >&5
4659 ac_header_preproc
=no
4661 rm -f conftest.err conftest.
$ac_ext
4662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4663 echo "${ECHO_T}$ac_header_preproc" >&6
4665 # So? What about this header?
4666 case $ac_header_compiler:$ac_header_preproc in
4668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4676 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4680 echo "$as_me:$LINENO: checking for $ac_header" >&5
4681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 eval "$as_ac_Header=$ac_header_preproc"
4687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4692 cat >>confdefs.h
<<_ACEOF
4693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4702 # Checks for library functions.
4703 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4704 # for constant arguments. Useless!
4705 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4706 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4707 if test "${ac_cv_working_alloca_h+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 cat >conftest.
$ac_ext <<_ACEOF
4711 #line $LINENO "configure"
4712 #include "confdefs.h"
4714 #ifdef F77_DUMMY_MAIN
4718 int F77_DUMMY_MAIN() { return 1; }
4723 char *p = (char *) alloca (2 * sizeof (int));
4728 rm -f conftest.
$ac_objext conftest
$ac_exeext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4730 (eval $ac_link) 2>&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try
='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 ac_cv_working_alloca_h
=yes
4742 echo "$as_me: failed program was:" >&5
4743 cat conftest.
$ac_ext >&5
4744 ac_cv_working_alloca_h
=no
4746 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4748 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4749 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4750 if test $ac_cv_working_alloca_h = yes; then
4752 cat >>confdefs.h
<<\_ACEOF
4753 #define HAVE_ALLOCA_H 1
4758 echo "$as_me:$LINENO: checking for alloca" >&5
4759 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4760 if test "${ac_cv_func_alloca_works+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 cat >conftest.
$ac_ext <<_ACEOF
4764 #line $LINENO "configure"
4765 #include "confdefs.h"
4767 # define alloca __builtin_alloca
4770 # include <malloc.h>
4771 # define alloca _alloca
4774 # include <alloca.h>
4779 # ifndef alloca /* predefined by HP cc +Olibcalls */
4787 #ifdef F77_DUMMY_MAIN
4791 int F77_DUMMY_MAIN() { return 1; }
4796 char *p = (char *) alloca (1);
4801 rm -f conftest.
$ac_objext conftest
$ac_exeext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4803 (eval $ac_link) 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try
='test -s conftest$ac_exeext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_cv_func_alloca_works
=yes
4815 echo "$as_me: failed program was:" >&5
4816 cat conftest.
$ac_ext >&5
4817 ac_cv_func_alloca_works
=no
4819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4822 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4824 if test $ac_cv_func_alloca_works = yes; then
4826 cat >>confdefs.h
<<\_ACEOF
4827 #define HAVE_ALLOCA 1
4831 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4832 # that cause trouble. Some versions do not even contain alloca or
4833 # contain a buggy version. If you still want to use their alloca,
4834 # use ar to extract alloca.o from them instead of compiling alloca.c.
4836 ALLOCA
=alloca.
$ac_objext
4838 cat >>confdefs.h
<<\_ACEOF
4843 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4844 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4845 if test "${ac_cv_os_cray+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 cat >conftest.
$ac_ext <<_ACEOF
4849 #line $LINENO "configure"
4850 #include "confdefs.h"
4851 #if defined(CRAY) && ! defined(CRAY2)
4858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4859 egrep "webecray" >/dev
/null
2>&1; then
4867 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4868 echo "${ECHO_T}$ac_cv_os_cray" >&6
4869 if test $ac_cv_os_cray = yes; then
4870 for ac_func
in _getb67 GETB67 getb67
; do
4871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4872 echo "$as_me:$LINENO: checking for $ac_func" >&5
4873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4874 if eval "test \"\${$as_ac_var+set}\" = set"; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 cat >conftest.
$ac_ext <<_ACEOF
4878 #line $LINENO "configure"
4879 #include "confdefs.h"
4880 /* System header to define __stub macros and hopefully few prototypes,
4881 which can conflict with char $ac_func (); below. */
4883 /* Override any gcc2 internal prototype to avoid an error. */
4887 /* We use char because int might match the return type of a gcc2
4888 builtin and then its argument prototype would still apply. */
4892 #ifdef F77_DUMMY_MAIN
4896 int F77_DUMMY_MAIN() { return 1; }
4901 /* The GNU C library defines this for functions which it implements
4902 to always fail with ENOSYS. Some functions are actually named
4903 something starting with __ and the normal name is an alias. */
4904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4914 rm -f conftest.
$ac_objext conftest
$ac_exeext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4916 (eval $ac_link) 2>&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try
='test -s conftest$ac_exeext'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 eval "$as_ac_var=yes"
4928 echo "$as_me: failed program was:" >&5
4929 cat conftest.
$ac_ext >&5
4930 eval "$as_ac_var=no"
4932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4936 if test `eval echo '${'$as_ac_var'}'` = yes; then
4938 cat >>confdefs.h
<<_ACEOF
4939 #define CRAY_STACKSEG_END $ac_func
4948 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4949 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4950 if test "${ac_cv_c_stack_direction+set}" = set; then
4951 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 if test "$cross_compiling" = yes; then
4954 ac_cv_c_stack_direction
=0
4956 cat >conftest.
$ac_ext <<_ACEOF
4957 #line $LINENO "configure"
4958 #include "confdefs.h"
4960 find_stack_direction ()
4962 static char *addr = 0;
4967 return find_stack_direction ();
4970 return (&dummy > addr) ? 1 : -1;
4976 exit (find_stack_direction () < 0);
4979 rm -f conftest
$ac_exeext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4981 (eval $ac_link) 2>&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 ac_cv_c_stack_direction
=1
4992 echo "$as_me: program exited with status $ac_status" >&5
4993 echo "$as_me: failed program was:" >&5
4994 cat conftest.
$ac_ext >&5
4996 ac_cv_c_stack_direction
=-1
4998 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5001 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5002 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5004 cat >>confdefs.h
<<_ACEOF
5005 #define STACK_DIRECTION $ac_cv_c_stack_direction
5011 echo "$as_me:$LINENO: checking for obstacks" >&5
5012 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
5013 if test "${ac_cv_func_obstack+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 cat >conftest.
$ac_ext <<_ACEOF
5017 #line $LINENO "configure"
5018 #include "confdefs.h"
5019 #include "obstack.h"
5020 #ifdef F77_DUMMY_MAIN
5024 int F77_DUMMY_MAIN() { return 1; }
5029 struct obstack *mem; obstack_free(mem,(char *) 0)
5034 rm -f conftest.
$ac_objext conftest
$ac_exeext
5035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5036 (eval $ac_link) 2>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try
='test -s conftest$ac_exeext'
5041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_obstack
=yes
5048 echo "$as_me: failed program was:" >&5
5049 cat conftest.
$ac_ext >&5
5050 ac_cv_func_obstack
=no
5052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5054 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
5055 echo "${ECHO_T}$ac_cv_func_obstack" >&6
5056 if test $ac_cv_func_obstack = yes; then
5058 cat >>confdefs.h
<<\_ACEOF
5059 #define HAVE_OBSTACK 1
5063 LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5066 echo "$as_me:$LINENO: checking for error_at_line" >&5
5067 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
5068 if test "${ac_cv_lib_error_at_line+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 cat >conftest.
$ac_ext <<_ACEOF
5072 #line $LINENO "configure"
5073 #include "confdefs.h"
5075 #ifdef F77_DUMMY_MAIN
5079 int F77_DUMMY_MAIN() { return 1; }
5084 error_at_line (0, 0, "", 0, "");
5089 rm -f conftest.
$ac_objext conftest
$ac_exeext
5090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5091 (eval $ac_link) 2>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } &&
5095 { ac_try
='test -s conftest$ac_exeext'
5096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; }; then
5101 ac_cv_lib_error_at_line
=yes
5103 echo "$as_me: failed program was:" >&5
5104 cat conftest.
$ac_ext >&5
5105 ac_cv_lib_error_at_line
=no
5107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5109 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
5110 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
5111 if test $ac_cv_lib_error_at_line = no
; then
5112 LIBOBJS
="$LIBOBJS error.$ac_objext"
5115 echo "$as_me:$LINENO: checking for working strnlen" >&5
5116 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6
5117 if test "${ac_cv_func_strnlen_working+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 if test "$cross_compiling" = yes; then
5121 ac_cv_func_strnlen_working
=no
5123 cat >conftest.
$ac_ext <<_ACEOF
5124 #line $LINENO "configure"
5125 #include "confdefs.h"
5127 #ifdef F77_DUMMY_MAIN
5131 int F77_DUMMY_MAIN() { return 1; }
5138 #define S_LEN (sizeof S - 1)
5140 /* At least one implementation is buggy: that of AIX 4.3 would
5141 give strnlen (S, 1) == 3. */
5144 for (i = 0; i < S_LEN + 1; ++i)
5146 int expected = i <= S_LEN ? i : S_LEN;
5147 if (strnlen (S, i) != expected)
5156 rm -f conftest
$ac_exeext
5157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5158 (eval $ac_link) 2>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; }; then
5167 ac_cv_func_strnlen_working
=yes
5169 echo "$as_me: program exited with status $ac_status" >&5
5170 echo "$as_me: failed program was:" >&5
5171 cat conftest.
$ac_ext >&5
5173 ac_cv_func_strnlen_working
=no
5175 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5178 echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
5179 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6
5180 test $ac_cv_func_strnlen_working = no
&& LIBOBJS
="$LIBOBJS strnlen.$ac_objext"
5184 for ac_func
in mkstemp setlocale
5186 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5187 echo "$as_me:$LINENO: checking for $ac_func" >&5
5188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5189 if eval "test \"\${$as_ac_var+set}\" = set"; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 cat >conftest.
$ac_ext <<_ACEOF
5193 #line $LINENO "configure"
5194 #include "confdefs.h"
5195 /* System header to define __stub macros and hopefully few prototypes,
5196 which can conflict with char $ac_func (); below. */
5198 /* Override any gcc2 internal prototype to avoid an error. */
5202 /* We use char because int might match the return type of a gcc2
5203 builtin and then its argument prototype would still apply. */
5207 #ifdef F77_DUMMY_MAIN
5211 int F77_DUMMY_MAIN() { return 1; }
5216 /* The GNU C library defines this for functions which it implements
5217 to always fail with ENOSYS. Some functions are actually named
5218 something starting with __ and the normal name is an alias. */
5219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5229 rm -f conftest.
$ac_objext conftest
$ac_exeext
5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5231 (eval $ac_link) 2>&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } &&
5235 { ac_try
='test -s conftest$ac_exeext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 eval "$as_ac_var=yes"
5243 echo "$as_me: failed program was:" >&5
5244 cat conftest.
$ac_ext >&5
5245 eval "$as_ac_var=no"
5247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5251 if test `eval echo '${'$as_ac_var'}'` = yes; then
5252 cat >>confdefs.h
<<_ACEOF
5253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5259 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
5260 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
5261 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 cat >conftest.
$ac_ext <<_ACEOF
5265 #line $LINENO "configure"
5266 #include "confdefs.h"
5267 $ac_includes_default
5268 #ifdef F77_DUMMY_MAIN
5272 int F77_DUMMY_MAIN() { return 1; }
5278 char *p = (char *) stpcpy;
5285 rm -f conftest.
$ac_objext
5286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5287 (eval $ac_compile) 2>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } &&
5291 { ac_try
='test -s conftest.$ac_objext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5297 ac_cv_have_decl_stpcpy
=yes
5299 echo "$as_me: failed program was:" >&5
5300 cat conftest.
$ac_ext >&5
5301 ac_cv_have_decl_stpcpy
=no
5303 rm -f conftest.
$ac_objext conftest.
$ac_ext
5305 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
5306 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
5307 if test $ac_cv_have_decl_stpcpy = yes; then
5309 cat >>confdefs.h
<<_ACEOF
5310 #define HAVE_DECL_STPCPY 1
5315 cat >>confdefs.h
<<_ACEOF
5316 #define HAVE_DECL_STPCPY 0
5321 echo "$as_me:$LINENO: checking whether strchr is declared" >&5
5322 echo $ECHO_N "checking whether strchr is declared... $ECHO_C" >&6
5323 if test "${ac_cv_have_decl_strchr+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 cat >conftest.
$ac_ext <<_ACEOF
5327 #line $LINENO "configure"
5328 #include "confdefs.h"
5329 $ac_includes_default
5330 #ifdef F77_DUMMY_MAIN
5334 int F77_DUMMY_MAIN() { return 1; }
5340 char *p = (char *) strchr;
5347 rm -f conftest.
$ac_objext
5348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5349 (eval $ac_compile) 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } &&
5353 { ac_try
='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then
5359 ac_cv_have_decl_strchr
=yes
5361 echo "$as_me: failed program was:" >&5
5362 cat conftest.
$ac_ext >&5
5363 ac_cv_have_decl_strchr
=no
5365 rm -f conftest.
$ac_objext conftest.
$ac_ext
5367 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strchr" >&5
5368 echo "${ECHO_T}$ac_cv_have_decl_strchr" >&6
5369 if test $ac_cv_have_decl_strchr = yes; then
5371 cat >>confdefs.h
<<_ACEOF
5372 #define HAVE_DECL_STRCHR 1
5377 cat >>confdefs.h
<<_ACEOF
5378 #define HAVE_DECL_STRCHR 0
5383 echo "$as_me:$LINENO: checking whether strspn is declared" >&5
5384 echo $ECHO_N "checking whether strspn is declared... $ECHO_C" >&6
5385 if test "${ac_cv_have_decl_strspn+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 cat >conftest.
$ac_ext <<_ACEOF
5389 #line $LINENO "configure"
5390 #include "confdefs.h"
5391 $ac_includes_default
5392 #ifdef F77_DUMMY_MAIN
5396 int F77_DUMMY_MAIN() { return 1; }
5402 char *p = (char *) strspn;
5409 rm -f conftest.
$ac_objext
5410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411 (eval $ac_compile) 2>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } &&
5415 { ac_try
='test -s conftest.$ac_objext'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; }; then
5421 ac_cv_have_decl_strspn
=yes
5423 echo "$as_me: failed program was:" >&5
5424 cat conftest.
$ac_ext >&5
5425 ac_cv_have_decl_strspn
=no
5427 rm -f conftest.
$ac_objext conftest.
$ac_ext
5429 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strspn" >&5
5430 echo "${ECHO_T}$ac_cv_have_decl_strspn" >&6
5431 if test $ac_cv_have_decl_strspn = yes; then
5433 cat >>confdefs.h
<<_ACEOF
5434 #define HAVE_DECL_STRSPN 1
5439 cat >>confdefs.h
<<_ACEOF
5440 #define HAVE_DECL_STRSPN 0
5445 echo "$as_me:$LINENO: checking whether strnlen is declared" >&5
5446 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
5447 if test "${ac_cv_have_decl_strnlen+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 cat >conftest.
$ac_ext <<_ACEOF
5451 #line $LINENO "configure"
5452 #include "confdefs.h"
5453 $ac_includes_default
5454 #ifdef F77_DUMMY_MAIN
5458 int F77_DUMMY_MAIN() { return 1; }
5464 char *p = (char *) strnlen;
5471 rm -f conftest.
$ac_objext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473 (eval $ac_compile) 2>&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } &&
5477 { ac_try
='test -s conftest.$ac_objext'
5478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); }; }; then
5483 ac_cv_have_decl_strnlen
=yes
5485 echo "$as_me: failed program was:" >&5
5486 cat conftest.
$ac_ext >&5
5487 ac_cv_have_decl_strnlen
=no
5489 rm -f conftest.
$ac_objext conftest.
$ac_ext
5491 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5
5492 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
5493 if test $ac_cv_have_decl_strnlen = yes; then
5495 cat >>confdefs.h
<<_ACEOF
5496 #define HAVE_DECL_STRNLEN 1
5501 cat >>confdefs.h
<<_ACEOF
5502 #define HAVE_DECL_STRNLEN 0
5507 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
5508 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
5509 if test "${ac_cv_have_decl_memchr+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 cat >conftest.
$ac_ext <<_ACEOF
5513 #line $LINENO "configure"
5514 #include "confdefs.h"
5515 $ac_includes_default
5516 #ifdef F77_DUMMY_MAIN
5520 int F77_DUMMY_MAIN() { return 1; }
5526 char *p = (char *) memchr;
5533 rm -f conftest.
$ac_objext
5534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5535 (eval $ac_compile) 2>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } &&
5539 { ac_try
='test -s conftest.$ac_objext'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then
5545 ac_cv_have_decl_memchr
=yes
5547 echo "$as_me: failed program was:" >&5
5548 cat conftest.
$ac_ext >&5
5549 ac_cv_have_decl_memchr
=no
5551 rm -f conftest.
$ac_objext conftest.
$ac_ext
5553 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
5554 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
5555 if test $ac_cv_have_decl_memchr = yes; then
5557 cat >>confdefs.h
<<_ACEOF
5558 #define HAVE_DECL_MEMCHR 1
5563 cat >>confdefs.h
<<_ACEOF
5564 #define HAVE_DECL_MEMCHR 0
5569 echo "$as_me:$LINENO: checking whether memrchr is declared" >&5
5570 echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6
5571 if test "${ac_cv_have_decl_memrchr+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat >conftest.
$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5576 #include "confdefs.h"
5577 $ac_includes_default
5578 #ifdef F77_DUMMY_MAIN
5582 int F77_DUMMY_MAIN() { return 1; }
5588 char *p = (char *) memrchr;
5595 rm -f conftest.
$ac_objext
5596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5597 (eval $ac_compile) 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try
='test -s conftest.$ac_objext'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; }; then
5607 ac_cv_have_decl_memrchr
=yes
5609 echo "$as_me: failed program was:" >&5
5610 cat conftest.
$ac_ext >&5
5611 ac_cv_have_decl_memrchr
=no
5613 rm -f conftest.
$ac_objext conftest.
$ac_ext
5615 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memrchr" >&5
5616 echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6
5617 if test $ac_cv_have_decl_memrchr = yes; then
5619 cat >>confdefs.h
<<_ACEOF
5620 #define HAVE_DECL_MEMRCHR 1
5625 cat >>confdefs.h
<<_ACEOF
5626 #define HAVE_DECL_MEMRCHR 0
5638 for ac_func
in stpcpy strchr strspn memchr memrchr
5640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5641 echo "$as_me:$LINENO: checking for $ac_func" >&5
5642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5643 if eval "test \"\${$as_ac_var+set}\" = set"; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 cat >conftest.
$ac_ext <<_ACEOF
5647 #line $LINENO "configure"
5648 #include "confdefs.h"
5649 /* System header to define __stub macros and hopefully few prototypes,
5650 which can conflict with char $ac_func (); below. */
5652 /* Override any gcc2 internal prototype to avoid an error. */
5656 /* We use char because int might match the return type of a gcc2
5657 builtin and then its argument prototype would still apply. */
5661 #ifdef F77_DUMMY_MAIN
5665 int F77_DUMMY_MAIN() { return 1; }
5670 /* The GNU C library defines this for functions which it implements
5671 to always fail with ENOSYS. Some functions are actually named
5672 something starting with __ and the normal name is an alias. */
5673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5683 rm -f conftest.
$ac_objext conftest
$ac_exeext
5684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5685 (eval $ac_link) 2>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } &&
5689 { ac_try
='test -s conftest$ac_exeext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 eval "$as_ac_var=yes"
5697 echo "$as_me: failed program was:" >&5
5698 cat conftest.
$ac_ext >&5
5699 eval "$as_ac_var=no"
5701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5705 if test `eval echo '${'$as_ac_var'}'` = yes; then
5706 cat >>confdefs.h
<<_ACEOF
5707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5711 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5718 cat >>confdefs.h
<<\_ACEOF
5719 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5723 echo "$as_me:$LINENO: checking for working malloc" >&5
5724 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5725 if test "${jm_cv_func_working_malloc+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test "$cross_compiling" = yes; then
5729 jm_cv_func_working_malloc
=no
5731 cat >conftest.
$ac_ext <<_ACEOF
5732 #line $LINENO "configure"
5733 #include "confdefs.h"
5739 exit (malloc (0) ? 0 : 1);
5743 rm -f conftest
$ac_exeext
5744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5745 (eval $ac_link) 2>&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; }; then
5754 jm_cv_func_working_malloc
=yes
5756 echo "$as_me: program exited with status $ac_status" >&5
5757 echo "$as_me: failed program was:" >&5
5758 cat conftest.
$ac_ext >&5
5760 jm_cv_func_working_malloc
=no
5762 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5766 echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
5767 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5768 if test $jm_cv_func_working_malloc = no
; then
5769 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5771 cat >>confdefs.h
<<\_ACEOF
5772 #define malloc rpl_malloc
5779 cat >>confdefs.h
<<\_ACEOF
5780 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5784 echo "$as_me:$LINENO: checking for working realloc" >&5
5785 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5786 if test "${jm_cv_func_working_realloc+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 if test "$cross_compiling" = yes; then
5790 jm_cv_func_working_realloc
=no
5792 cat >conftest.
$ac_ext <<_ACEOF
5793 #line $LINENO "configure"
5794 #include "confdefs.h"
5800 exit (realloc (0, 0) ? 0 : 1);
5804 rm -f conftest
$ac_exeext
5805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5806 (eval $ac_link) 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 jm_cv_func_working_realloc
=yes
5817 echo "$as_me: program exited with status $ac_status" >&5
5818 echo "$as_me: failed program was:" >&5
5819 cat conftest.
$ac_ext >&5
5821 jm_cv_func_working_realloc
=no
5823 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5827 echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
5828 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5829 if test $jm_cv_func_working_realloc = no
; then
5830 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5832 cat >>confdefs.h
<<\_ACEOF
5833 #define realloc rpl_realloc
5842 for ac_func
in isascii iswprint mbsinit
5844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5845 echo "$as_me:$LINENO: checking for $ac_func" >&5
5846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5847 if eval "test \"\${$as_ac_var+set}\" = set"; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 cat >conftest.
$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5852 #include "confdefs.h"
5853 /* System header to define __stub macros and hopefully few prototypes,
5854 which can conflict with char $ac_func (); below. */
5856 /* Override any gcc2 internal prototype to avoid an error. */
5860 /* We use char because int might match the return type of a gcc2
5861 builtin and then its argument prototype would still apply. */
5865 #ifdef F77_DUMMY_MAIN
5869 int F77_DUMMY_MAIN() { return 1; }
5874 /* The GNU C library defines this for functions which it implements
5875 to always fail with ENOSYS. Some functions are actually named
5876 something starting with __ and the normal name is an alias. */
5877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5887 rm -f conftest.
$ac_objext conftest
$ac_exeext
5888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5889 (eval $ac_link) 2>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } &&
5893 { ac_try
='test -s conftest$ac_exeext'
5894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); }; }; then
5899 eval "$as_ac_var=yes"
5901 echo "$as_me: failed program was:" >&5
5902 cat conftest.
$ac_ext >&5
5903 eval "$as_ac_var=no"
5905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5909 if test `eval echo '${'$as_ac_var'}'` = yes; then
5910 cat >>confdefs.h
<<_ACEOF
5911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5918 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
5919 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
5920 if test "${jm_cv_func_mbrtowc+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 cat >conftest.
$ac_ext <<_ACEOF
5924 #line $LINENO "configure"
5925 #include "confdefs.h"
5927 #ifdef F77_DUMMY_MAIN
5931 int F77_DUMMY_MAIN() { return 1; }
5936 mbstate_t state; return ! (sizeof state && mbrtowc);
5941 rm -f conftest.
$ac_objext conftest
$ac_exeext
5942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5943 (eval $ac_link) 2>&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try
='test -s conftest$ac_exeext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 jm_cv_func_mbrtowc
=yes
5955 echo "$as_me: failed program was:" >&5
5956 cat conftest.
$ac_ext >&5
5957 jm_cv_func_mbrtowc
=no
5959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5961 echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
5962 echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
5963 if test $jm_cv_func_mbrtowc = yes; then
5965 cat >>confdefs.h
<<\_ACEOF
5966 #define HAVE_MBRTOWC 1
5977 for ac_header
in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
5979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5981 echo "$as_me:$LINENO: checking for $ac_header" >&5
5982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5984 echo $ECHO_N "(cached) $ECHO_C" >&6
5986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5989 # Is the header compilable?
5990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5992 cat >conftest.
$ac_ext <<_ACEOF
5993 #line $LINENO "configure"
5994 #include "confdefs.h"
5995 $ac_includes_default
5996 #include <$ac_header>
5998 rm -f conftest.
$ac_objext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6000 (eval $ac_compile) 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try
='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_header_compiler
=yes
6012 echo "$as_me: failed program was:" >&5
6013 cat conftest.
$ac_ext >&5
6014 ac_header_compiler
=no
6016 rm -f conftest.
$ac_objext conftest.
$ac_ext
6017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6018 echo "${ECHO_T}$ac_header_compiler" >&6
6020 # Is the header present?
6021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6023 cat >conftest.
$ac_ext <<_ACEOF
6024 #line $LINENO "configure"
6025 #include "confdefs.h"
6026 #include <$ac_header>
6028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6031 egrep -v '^ *\+' conftest.er1
>conftest.err
6033 cat conftest.err
>&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); } >/dev
/null
; then
6036 if test -s conftest.err
; then
6037 ac_cpp_err
=$ac_c_preproc_warn_flag
6044 if test -z "$ac_cpp_err"; then
6045 ac_header_preproc
=yes
6047 echo "$as_me: failed program was:" >&5
6048 cat conftest.
$ac_ext >&5
6049 ac_header_preproc
=no
6051 rm -f conftest.err conftest.
$ac_ext
6052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6053 echo "${ECHO_T}$ac_header_preproc" >&6
6055 # So? What about this header?
6056 case $ac_header_compiler:$ac_header_preproc in
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6070 echo "$as_me:$LINENO: checking for $ac_header" >&5
6071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 eval "$as_ac_Header=$ac_header_preproc"
6077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6082 cat >>confdefs.h
<<_ACEOF
6083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6090 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6091 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6092 if test "${ac_cv_header_stdc+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.
$ac_ext <<_ACEOF
6096 #line $LINENO "configure"
6097 #include "confdefs.h"
6104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6107 egrep -v '^ *\+' conftest.er1
>conftest.err
6109 cat conftest.err
>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } >/dev
/null
; then
6112 if test -s conftest.err
; then
6113 ac_cpp_err
=$ac_c_preproc_warn_flag
6120 if test -z "$ac_cpp_err"; then
6121 ac_cv_header_stdc
=yes
6123 echo "$as_me: failed program was:" >&5
6124 cat conftest.
$ac_ext >&5
6125 ac_cv_header_stdc
=no
6127 rm -f conftest.err conftest.
$ac_ext
6129 if test $ac_cv_header_stdc = yes; then
6130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6131 cat >conftest.
$ac_ext <<_ACEOF
6132 #line $LINENO "configure"
6133 #include "confdefs.h"
6137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6138 egrep "memchr" >/dev
/null
2>&1; then
6141 ac_cv_header_stdc
=no
6147 if test $ac_cv_header_stdc = yes; then
6148 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6149 cat >conftest.
$ac_ext <<_ACEOF
6150 #line $LINENO "configure"
6151 #include "confdefs.h"
6155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6156 egrep "free" >/dev
/null
2>&1; then
6159 ac_cv_header_stdc
=no
6165 if test $ac_cv_header_stdc = yes; then
6166 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6167 if test "$cross_compiling" = yes; then
6170 cat >conftest.
$ac_ext <<_ACEOF
6171 #line $LINENO "configure"
6172 #include "confdefs.h"
6174 #if ((' ' & 0x0FF) == 0x020)
6175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6178 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6179 || ('j' <= (c) && (c) <= 'r') \
6180 || ('s' <= (c) && (c) <= 'z'))
6181 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6184 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6189 for (i = 0; i < 256; i++)
6190 if (XOR (islower (i), ISLOWER (i))
6191 || toupper (i) != TOUPPER (i))
6196 rm -f conftest
$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; }; then
6209 echo "$as_me: program exited with status $ac_status" >&5
6210 echo "$as_me: failed program was:" >&5
6211 cat conftest.
$ac_ext >&5
6213 ac_cv_header_stdc
=no
6215 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6219 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6220 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6221 if test $ac_cv_header_stdc = yes; then
6223 cat >>confdefs.h
<<\_ACEOF
6224 #define STDC_HEADERS 1
6230 echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5
6231 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
6232 if test "${ac_cv_c_backslash_a+set}" = set; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 cat >conftest.
$ac_ext <<_ACEOF
6236 #line $LINENO "configure"
6237 #include "confdefs.h"
6239 #ifdef F77_DUMMY_MAIN
6243 int F77_DUMMY_MAIN() { return 1; }
6252 char buf['\a' == 'a' ? -1 : 1];
6254 return buf[0] != "\a"[0];
6260 rm -f conftest.
$ac_objext
6261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6262 (eval $ac_compile) 2>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try
='test -s conftest.$ac_objext'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6272 ac_cv_c_backslash_a
=yes
6274 echo "$as_me: failed program was:" >&5
6275 cat conftest.
$ac_ext >&5
6276 ac_cv_c_backslash_a
=no
6278 rm -f conftest.
$ac_objext conftest.
$ac_ext
6280 echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5
6281 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
6282 if test $ac_cv_c_backslash_a = yes; then
6284 cat >>confdefs.h
<<\_ACEOF
6285 #define HAVE_C_BACKSLASH_A 1
6292 for ac_header
in stdlib.h
6294 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6296 echo "$as_me:$LINENO: checking for $ac_header" >&5
6297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6304 # Is the header compilable?
6305 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6307 cat >conftest.
$ac_ext <<_ACEOF
6308 #line $LINENO "configure"
6309 #include "confdefs.h"
6310 $ac_includes_default
6311 #include <$ac_header>
6313 rm -f conftest.
$ac_objext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6315 (eval $ac_compile) 2>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } &&
6319 { ac_try
='test -s conftest.$ac_objext'
6320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }; }; then
6325 ac_header_compiler
=yes
6327 echo "$as_me: failed program was:" >&5
6328 cat conftest.
$ac_ext >&5
6329 ac_header_compiler
=no
6331 rm -f conftest.
$ac_objext conftest.
$ac_ext
6332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6333 echo "${ECHO_T}$ac_header_compiler" >&6
6335 # Is the header present?
6336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6339 #line $LINENO "configure"
6340 #include "confdefs.h"
6341 #include <$ac_header>
6343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6346 egrep -v '^ *\+' conftest.er1
>conftest.err
6348 cat conftest.err
>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } >/dev
/null
; then
6351 if test -s conftest.err
; then
6352 ac_cpp_err
=$ac_c_preproc_warn_flag
6359 if test -z "$ac_cpp_err"; then
6360 ac_header_preproc
=yes
6362 echo "$as_me: failed program was:" >&5
6363 cat conftest.
$ac_ext >&5
6364 ac_header_preproc
=no
6366 rm -f conftest.err conftest.
$ac_ext
6367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6368 echo "${ECHO_T}$ac_header_preproc" >&6
6370 # So? What about this header?
6371 case $ac_header_compiler:$ac_header_preproc in
6373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6385 echo "$as_me:$LINENO: checking for $ac_header" >&5
6386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 eval "$as_ac_Header=$ac_header_preproc"
6392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6397 cat >>confdefs.h
<<_ACEOF
6398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6406 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6407 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6408 if test "${ac_cv_type_mbstate_t+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 cat >conftest.
$ac_ext <<_ACEOF
6412 #line $LINENO "configure"
6413 #include "confdefs.h"
6416 # include <stdlib.h>
6419 #ifdef F77_DUMMY_MAIN
6423 int F77_DUMMY_MAIN() { return 1; }
6428 mbstate_t x; return sizeof x;
6433 rm -f conftest.
$ac_objext
6434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6435 (eval $ac_compile) 2>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try
='test -s conftest.$ac_objext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_type_mbstate_t
=yes
6447 echo "$as_me: failed program was:" >&5
6448 cat conftest.
$ac_ext >&5
6449 ac_cv_type_mbstate_t
=no
6451 rm -f conftest.
$ac_objext conftest.
$ac_ext
6453 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
6454 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
6455 if test $ac_cv_type_mbstate_t = no
; then
6457 cat >>confdefs.h
<<\_ACEOF
6458 #define mbstate_t int
6464 echo "$as_me:$LINENO: checking for function prototypes" >&5
6465 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
6466 if test "$am_cv_prog_cc_stdc" != no
; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6470 cat >>confdefs.h
<<\_ACEOF
6471 #define PROTOTYPES 1
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6478 U
=_ ANSI2KNR
=.
/ansi2knr
6480 # Ensure some checks needed by ansi2knr itself.
6481 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6482 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6483 if test "${ac_cv_header_stdc+set}" = set; then
6484 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 cat >conftest.
$ac_ext <<_ACEOF
6487 #line $LINENO "configure"
6488 #include "confdefs.h"
6495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6498 egrep -v '^ *\+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } >/dev
/null
; then
6503 if test -s conftest.err
; then
6504 ac_cpp_err
=$ac_c_preproc_warn_flag
6511 if test -z "$ac_cpp_err"; then
6512 ac_cv_header_stdc
=yes
6514 echo "$as_me: failed program was:" >&5
6515 cat conftest.
$ac_ext >&5
6516 ac_cv_header_stdc
=no
6518 rm -f conftest.err conftest.
$ac_ext
6520 if test $ac_cv_header_stdc = yes; then
6521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6522 cat >conftest.
$ac_ext <<_ACEOF
6523 #line $LINENO "configure"
6524 #include "confdefs.h"
6528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6529 egrep "memchr" >/dev
/null
2>&1; then
6532 ac_cv_header_stdc
=no
6538 if test $ac_cv_header_stdc = yes; then
6539 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6540 cat >conftest.
$ac_ext <<_ACEOF
6541 #line $LINENO "configure"
6542 #include "confdefs.h"
6546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6547 egrep "free" >/dev
/null
2>&1; then
6550 ac_cv_header_stdc
=no
6556 if test $ac_cv_header_stdc = yes; then
6557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6558 if test "$cross_compiling" = yes; then
6561 cat >conftest.
$ac_ext <<_ACEOF
6562 #line $LINENO "configure"
6563 #include "confdefs.h"
6565 #if ((' ' & 0x0FF) == 0x020)
6566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6569 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6570 || ('j' <= (c) && (c) <= 'r') \
6571 || ('s' <= (c) && (c) <= 'z'))
6572 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6575 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6580 for (i = 0; i < 256; i++)
6581 if (XOR (islower (i), ISLOWER (i))
6582 || toupper (i) != TOUPPER (i))
6587 rm -f conftest
$ac_exeext
6588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6589 (eval $ac_link) 2>&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; }; then
6600 echo "$as_me: program exited with status $ac_status" >&5
6601 echo "$as_me: failed program was:" >&5
6602 cat conftest.
$ac_ext >&5
6604 ac_cv_header_stdc
=no
6606 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6610 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6611 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6612 if test $ac_cv_header_stdc = yes; then
6614 cat >>confdefs.h
<<\_ACEOF
6615 #define STDC_HEADERS 1
6621 for ac_header
in string.h
6623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6625 echo "$as_me:$LINENO: checking for $ac_header" >&5
6626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6628 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6633 # Is the header compilable?
6634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6636 cat >conftest.
$ac_ext <<_ACEOF
6637 #line $LINENO "configure"
6638 #include "confdefs.h"
6639 $ac_includes_default
6640 #include <$ac_header>
6642 rm -f conftest.
$ac_objext
6643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6644 (eval $ac_compile) 2>&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); } &&
6648 { ac_try
='test -s conftest.$ac_objext'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; }; then
6654 ac_header_compiler
=yes
6656 echo "$as_me: failed program was:" >&5
6657 cat conftest.
$ac_ext >&5
6658 ac_header_compiler
=no
6660 rm -f conftest.
$ac_objext conftest.
$ac_ext
6661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6662 echo "${ECHO_T}$ac_header_compiler" >&6
6664 # Is the header present?
6665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6667 cat >conftest.
$ac_ext <<_ACEOF
6668 #line $LINENO "configure"
6669 #include "confdefs.h"
6670 #include <$ac_header>
6672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6675 egrep -v '^ *\+' conftest.er1
>conftest.err
6677 cat conftest.err
>&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } >/dev
/null
; then
6680 if test -s conftest.err
; then
6681 ac_cpp_err
=$ac_c_preproc_warn_flag
6688 if test -z "$ac_cpp_err"; then
6689 ac_header_preproc
=yes
6691 echo "$as_me: failed program was:" >&5
6692 cat conftest.
$ac_ext >&5
6693 ac_header_preproc
=no
6695 rm -f conftest.err conftest.
$ac_ext
6696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6697 echo "${ECHO_T}$ac_header_preproc" >&6
6699 # So? What about this header?
6700 case $ac_header_compiler:$ac_header_preproc in
6702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6714 echo "$as_me:$LINENO: checking for $ac_header" >&5
6715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 eval "$as_ac_Header=$ac_header_preproc"
6721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h
<<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6740 for ac_func
in strerror vprintf doprnt
6742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6743 echo "$as_me:$LINENO: checking for $ac_func" >&5
6744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6745 if eval "test \"\${$as_ac_var+set}\" = set"; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 cat >conftest.
$ac_ext <<_ACEOF
6749 #line $LINENO "configure"
6750 #include "confdefs.h"
6751 /* System header to define __stub macros and hopefully few prototypes,
6752 which can conflict with char $ac_func (); below. */
6754 /* Override any gcc2 internal prototype to avoid an error. */
6758 /* We use char because int might match the return type of a gcc2
6759 builtin and then its argument prototype would still apply. */
6763 #ifdef F77_DUMMY_MAIN
6767 int F77_DUMMY_MAIN() { return 1; }
6772 /* The GNU C library defines this for functions which it implements
6773 to always fail with ENOSYS. Some functions are actually named
6774 something starting with __ and the normal name is an alias. */
6775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6785 rm -f conftest.
$ac_objext conftest
$ac_exeext
6786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6787 (eval $ac_link) 2>&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } &&
6791 { ac_try
='test -s conftest$ac_exeext'
6792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); }; }; then
6797 eval "$as_ac_var=yes"
6799 echo "$as_me: failed program was:" >&5
6800 cat conftest.
$ac_ext >&5
6801 eval "$as_ac_var=no"
6803 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6807 if test `eval echo '${'$as_ac_var'}'` = yes; then
6808 cat >>confdefs.h
<<_ACEOF
6809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6815 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
6816 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
6817 if test "${ac_cv_have_decl_strerror+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 cat >conftest.
$ac_ext <<_ACEOF
6821 #line $LINENO "configure"
6822 #include "confdefs.h"
6823 $ac_includes_default
6824 #ifdef F77_DUMMY_MAIN
6828 int F77_DUMMY_MAIN() { return 1; }
6834 char *p = (char *) strerror;
6841 rm -f conftest.
$ac_objext
6842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6843 (eval $ac_compile) 2>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } &&
6847 { ac_try
='test -s conftest.$ac_objext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6853 ac_cv_have_decl_strerror
=yes
6855 echo "$as_me: failed program was:" >&5
6856 cat conftest.
$ac_ext >&5
6857 ac_cv_have_decl_strerror
=no
6859 rm -f conftest.
$ac_objext conftest.
$ac_ext
6861 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
6862 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
6863 if test $ac_cv_have_decl_strerror = yes; then
6865 cat >>confdefs.h
<<_ACEOF
6866 #define HAVE_DECL_STRERROR 1
6871 cat >>confdefs.h
<<_ACEOF
6872 #define HAVE_DECL_STRERROR 0
6879 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
6880 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6881 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 cat >conftest.
$ac_ext <<_ACEOF
6885 #line $LINENO "configure"
6886 #include "confdefs.h"
6887 $ac_includes_default
6888 #ifdef F77_DUMMY_MAIN
6892 int F77_DUMMY_MAIN() { return 1; }
6898 char *p = (char *) strerror_r;
6905 rm -f conftest.
$ac_objext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6907 (eval $ac_compile) 2>&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } &&
6911 { ac_try
='test -s conftest.$ac_objext'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6917 ac_cv_have_decl_strerror_r
=yes
6919 echo "$as_me: failed program was:" >&5
6920 cat conftest.
$ac_ext >&5
6921 ac_cv_have_decl_strerror_r
=no
6923 rm -f conftest.
$ac_objext conftest.
$ac_ext
6925 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
6926 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6927 if test $ac_cv_have_decl_strerror_r = yes; then
6929 cat >>confdefs.h
<<_ACEOF
6930 #define HAVE_DECL_STRERROR_R 1
6935 cat >>confdefs.h
<<_ACEOF
6936 #define HAVE_DECL_STRERROR_R 0
6944 for ac_func
in strerror_r
6946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6947 echo "$as_me:$LINENO: checking for $ac_func" >&5
6948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6949 if eval "test \"\${$as_ac_var+set}\" = set"; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 cat >conftest.
$ac_ext <<_ACEOF
6953 #line $LINENO "configure"
6954 #include "confdefs.h"
6955 /* System header to define __stub macros and hopefully few prototypes,
6956 which can conflict with char $ac_func (); below. */
6958 /* Override any gcc2 internal prototype to avoid an error. */
6962 /* We use char because int might match the return type of a gcc2
6963 builtin and then its argument prototype would still apply. */
6967 #ifdef F77_DUMMY_MAIN
6971 int F77_DUMMY_MAIN() { return 1; }
6976 /* The GNU C library defines this for functions which it implements
6977 to always fail with ENOSYS. Some functions are actually named
6978 something starting with __ and the normal name is an alias. */
6979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6989 rm -f conftest.
$ac_objext conftest
$ac_exeext
6990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6991 (eval $ac_link) 2>&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); } &&
6995 { ac_try
='test -s conftest$ac_exeext'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; }; then
7001 eval "$as_ac_var=yes"
7003 echo "$as_me: failed program was:" >&5
7004 cat conftest.
$ac_ext >&5
7005 eval "$as_ac_var=no"
7007 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7011 if test `eval echo '${'$as_ac_var'}'` = yes; then
7012 cat >>confdefs.h
<<_ACEOF
7013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7019 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
7020 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
7021 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 ac_cv_func_strerror_r_char_p
=no
7026 if test $ac_cv_have_decl_strerror_r = yes; then
7027 cat >conftest.
$ac_ext <<_ACEOF
7028 #line $LINENO "configure"
7029 #include "confdefs.h"
7030 $ac_includes_default
7031 #ifdef F77_DUMMY_MAIN
7035 int F77_DUMMY_MAIN() { return 1; }
7042 char x = *strerror_r (0, buf, sizeof buf);
7043 char *p = strerror_r (0, buf, sizeof buf);
7049 rm -f conftest.
$ac_objext
7050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7051 (eval $ac_compile) 2>&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } &&
7055 { ac_try
='test -s conftest.$ac_objext'
7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; }; then
7061 ac_cv_func_strerror_r_char_p
=yes
7063 echo "$as_me: failed program was:" >&5
7064 cat conftest.
$ac_ext >&5
7066 rm -f conftest.
$ac_objext conftest.
$ac_ext
7068 # strerror_r is not declared. Choose between
7069 # systems that have relatively inaccessible declarations for the
7070 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
7071 # former has a strerror_r that returns char*, while the latter
7072 # has a strerror_r that returns `int'.
7073 # This test should segfault on the DEC system.
7074 if test "$cross_compiling" = yes; then
7077 cat >conftest.
$ac_ext <<_ACEOF
7078 #line $LINENO "configure"
7079 #include "confdefs.h"
7080 $ac_includes_default
7081 extern char *strerror_r ();
7082 #ifdef F77_DUMMY_MAIN
7086 int F77_DUMMY_MAIN() { return 1; }
7092 char x = *strerror_r (0, buf, sizeof buf);
7093 exit (!isalpha (x));
7098 rm -f conftest
$ac_exeext
7099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7100 (eval $ac_link) 2>&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); }; }; then
7109 ac_cv_func_strerror_r_char_p
=yes
7111 echo "$as_me: program exited with status $ac_status" >&5
7112 echo "$as_me: failed program was:" >&5
7113 cat conftest.
$ac_ext >&5
7115 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7120 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
7121 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
7122 if test $ac_cv_func_strerror_r_char_p = yes; then
7124 cat >>confdefs.h
<<\_ACEOF
7125 #define STRERROR_R_CHAR_P 1
7130 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7131 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7132 if test "${ac_cv_header_stdc+set}" = set; then
7133 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 cat >conftest.
$ac_ext <<_ACEOF
7136 #line $LINENO "configure"
7137 #include "confdefs.h"
7144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7147 egrep -v '^ *\+' conftest.er1
>conftest.err
7149 cat conftest.err
>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } >/dev
/null
; then
7152 if test -s conftest.err
; then
7153 ac_cpp_err
=$ac_c_preproc_warn_flag
7160 if test -z "$ac_cpp_err"; then
7161 ac_cv_header_stdc
=yes
7163 echo "$as_me: failed program was:" >&5
7164 cat conftest.
$ac_ext >&5
7165 ac_cv_header_stdc
=no
7167 rm -f conftest.err conftest.
$ac_ext
7169 if test $ac_cv_header_stdc = yes; then
7170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7171 cat >conftest.
$ac_ext <<_ACEOF
7172 #line $LINENO "configure"
7173 #include "confdefs.h"
7177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7178 egrep "memchr" >/dev
/null
2>&1; then
7181 ac_cv_header_stdc
=no
7187 if test $ac_cv_header_stdc = yes; then
7188 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7189 cat >conftest.
$ac_ext <<_ACEOF
7190 #line $LINENO "configure"
7191 #include "confdefs.h"
7195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7196 egrep "free" >/dev
/null
2>&1; then
7199 ac_cv_header_stdc
=no
7205 if test $ac_cv_header_stdc = yes; then
7206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7207 if test "$cross_compiling" = yes; then
7210 cat >conftest.
$ac_ext <<_ACEOF
7211 #line $LINENO "configure"
7212 #include "confdefs.h"
7214 #if ((' ' & 0x0FF) == 0x020)
7215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7218 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7219 || ('j' <= (c) && (c) <= 'r') \
7220 || ('s' <= (c) && (c) <= 'z'))
7221 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7224 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7229 for (i = 0; i < 256; i++)
7230 if (XOR (islower (i), ISLOWER (i))
7231 || toupper (i) != TOUPPER (i))
7236 rm -f conftest
$ac_exeext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; }; then
7249 echo "$as_me: program exited with status $ac_status" >&5
7250 echo "$as_me: failed program was:" >&5
7251 cat conftest.
$ac_ext >&5
7253 ac_cv_header_stdc
=no
7255 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7259 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7260 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7261 if test $ac_cv_header_stdc = yes; then
7263 cat >>confdefs.h
<<\_ACEOF
7264 #define STDC_HEADERS 1
7270 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
7271 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
7273 # Check whether --with-dmalloc or --without-dmalloc was given.
7274 if test "${with_dmalloc+set}" = set; then
7275 withval
="$with_dmalloc"
7276 if test "$withval" = yes; then
7277 echo "$as_me:$LINENO: result: yes" >&5
7278 echo "${ECHO_T}yes" >&6
7280 cat >>confdefs.h
<<\_ACEOF
7281 #define WITH_DMALLOC 1
7284 LIBS
="$LIBS -ldmalloc"
7285 LDFLAGS
="$LDFLAGS -g"
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7296 ALL_LINGUAS
="de es et fr it ja nl ru sv tr"
7297 # Make sure we can run config.sub.
7298 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7299 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7300 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7301 { (exit 1); exit 1; }; }
7303 echo "$as_me:$LINENO: checking build system type" >&5
7304 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7305 if test "${ac_cv_build+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 ac_cv_build_alias
=$build_alias
7309 test -z "$ac_cv_build_alias" &&
7310 ac_cv_build_alias
=`$ac_config_guess`
7311 test -z "$ac_cv_build_alias" &&
7312 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7313 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7314 { (exit 1); exit 1; }; }
7315 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7316 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7317 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7318 { (exit 1); exit 1; }; }
7321 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7322 echo "${ECHO_T}$ac_cv_build" >&6
7324 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7325 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7326 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7329 echo "$as_me:$LINENO: checking host system type" >&5
7330 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7331 if test "${ac_cv_host+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 ac_cv_host_alias
=$host_alias
7335 test -z "$ac_cv_host_alias" &&
7336 ac_cv_host_alias
=$ac_cv_build_alias
7337 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7338 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7339 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7340 { (exit 1); exit 1; }; }
7343 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7344 echo "${ECHO_T}$ac_cv_host" >&6
7346 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7347 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7348 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7351 echo "$as_me:$LINENO: checking for off_t" >&5
7352 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7353 if test "${ac_cv_type_off_t+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7357 #line $LINENO "configure"
7358 #include "confdefs.h"
7359 $ac_includes_default
7360 #ifdef F77_DUMMY_MAIN
7364 int F77_DUMMY_MAIN() { return 1; }
7377 rm -f conftest.
$ac_objext
7378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7379 (eval $ac_compile) 2>&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try
='test -s conftest.$ac_objext'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 ac_cv_type_off_t
=yes
7391 echo "$as_me: failed program was:" >&5
7392 cat conftest.
$ac_ext >&5
7395 rm -f conftest.
$ac_objext conftest.
$ac_ext
7397 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7398 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7399 if test $ac_cv_type_off_t = yes; then
7403 cat >>confdefs.h
<<_ACEOF
7409 echo "$as_me:$LINENO: checking for size_t" >&5
7410 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7411 if test "${ac_cv_type_size_t+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.
$ac_ext <<_ACEOF
7415 #line $LINENO "configure"
7416 #include "confdefs.h"
7417 $ac_includes_default
7418 #ifdef F77_DUMMY_MAIN
7422 int F77_DUMMY_MAIN() { return 1; }
7429 if (sizeof (size_t))
7435 rm -f conftest.
$ac_objext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7437 (eval $ac_compile) 2>&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } &&
7441 { ac_try
='test -s conftest.$ac_objext'
7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }; }; then
7447 ac_cv_type_size_t
=yes
7449 echo "$as_me: failed program was:" >&5
7450 cat conftest.
$ac_ext >&5
7451 ac_cv_type_size_t
=no
7453 rm -f conftest.
$ac_objext conftest.
$ac_ext
7455 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7456 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7457 if test $ac_cv_type_size_t = yes; then
7461 cat >>confdefs.h
<<_ACEOF
7462 #define size_t unsigned
7469 for ac_header
in stdlib.h unistd.h
7471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7473 echo "$as_me:$LINENO: checking for $ac_header" >&5
7474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7481 # Is the header compilable?
7482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7484 cat >conftest.
$ac_ext <<_ACEOF
7485 #line $LINENO "configure"
7486 #include "confdefs.h"
7487 $ac_includes_default
7488 #include <$ac_header>
7490 rm -f conftest.
$ac_objext
7491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7492 (eval $ac_compile) 2>&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } &&
7496 { ac_try
='test -s conftest.$ac_objext'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; }; then
7502 ac_header_compiler
=yes
7504 echo "$as_me: failed program was:" >&5
7505 cat conftest.
$ac_ext >&5
7506 ac_header_compiler
=no
7508 rm -f conftest.
$ac_objext conftest.
$ac_ext
7509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7510 echo "${ECHO_T}$ac_header_compiler" >&6
7512 # Is the header present?
7513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7515 cat >conftest.
$ac_ext <<_ACEOF
7516 #line $LINENO "configure"
7517 #include "confdefs.h"
7518 #include <$ac_header>
7520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7523 egrep -v '^ *\+' conftest.er1
>conftest.err
7525 cat conftest.err
>&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } >/dev
/null
; then
7528 if test -s conftest.err
; then
7529 ac_cpp_err
=$ac_c_preproc_warn_flag
7536 if test -z "$ac_cpp_err"; then
7537 ac_header_preproc
=yes
7539 echo "$as_me: failed program was:" >&5
7540 cat conftest.
$ac_ext >&5
7541 ac_header_preproc
=no
7543 rm -f conftest.err conftest.
$ac_ext
7544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7545 echo "${ECHO_T}$ac_header_preproc" >&6
7547 # So? What about this header?
7548 case $ac_header_compiler:$ac_header_preproc in
7550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7562 echo "$as_me:$LINENO: checking for $ac_header" >&5
7563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 eval "$as_ac_Header=$ac_header_preproc"
7569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7574 cat >>confdefs.h
<<_ACEOF
7575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583 for ac_func
in getpagesize
7585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7586 echo "$as_me:$LINENO: checking for $ac_func" >&5
7587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7588 if eval "test \"\${$as_ac_var+set}\" = set"; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 cat >conftest.
$ac_ext <<_ACEOF
7592 #line $LINENO "configure"
7593 #include "confdefs.h"
7594 /* System header to define __stub macros and hopefully few prototypes,
7595 which can conflict with char $ac_func (); below. */
7597 /* Override any gcc2 internal prototype to avoid an error. */
7601 /* We use char because int might match the return type of a gcc2
7602 builtin and then its argument prototype would still apply. */
7606 #ifdef F77_DUMMY_MAIN
7610 int F77_DUMMY_MAIN() { return 1; }
7615 /* The GNU C library defines this for functions which it implements
7616 to always fail with ENOSYS. Some functions are actually named
7617 something starting with __ and the normal name is an alias. */
7618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7628 rm -f conftest.
$ac_objext conftest
$ac_exeext
7629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7630 (eval $ac_link) 2>&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try
='test -s conftest$ac_exeext'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; }; then
7640 eval "$as_ac_var=yes"
7642 echo "$as_me: failed program was:" >&5
7643 cat conftest.
$ac_ext >&5
7644 eval "$as_ac_var=no"
7646 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7650 if test `eval echo '${'$as_ac_var'}'` = yes; then
7651 cat >>confdefs.h
<<_ACEOF
7652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7658 echo "$as_me:$LINENO: checking for working mmap" >&5
7659 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7660 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 if test "$cross_compiling" = yes; then
7664 ac_cv_func_mmap_fixed_mapped
=no
7666 cat >conftest.
$ac_ext <<_ACEOF
7667 #line $LINENO "configure"
7668 #include "confdefs.h"
7669 $ac_includes_default
7670 /* malloc might have been renamed as rpl_malloc. */
7673 /* Thanks to Mike Haertel and Jim Avera for this test.
7674 Here is a matrix of mmap possibilities:
7675 mmap private not fixed
7676 mmap private fixed at somewhere currently unmapped
7677 mmap private fixed at somewhere already mapped
7678 mmap shared not fixed
7679 mmap shared fixed at somewhere currently unmapped
7680 mmap shared fixed at somewhere already mapped
7681 For private mappings, we should verify that changes cannot be read()
7682 back from the file, nor mmap's back from the file at a different
7683 address. (There have been systems where private was not correctly
7684 implemented like the infamous i386 svr4.0, and systems where the
7685 VM page cache was not coherent with the file system buffer cache
7686 like early versions of FreeBSD and possibly contemporary NetBSD.)
7687 For shared mappings, we should conversely verify that changes get
7688 propagated back to all the places they're supposed to be.
7690 Grep wants private fixed already mapped.
7691 The main things grep needs to know about mmap are:
7692 * does it exist and is it safe to write into the mmap'd area
7693 * how to use it (BSD variants) */
7696 #include <sys/mman.h>
7698 #if !STDC_HEADERS && !HAVE_STDLIB_H
7702 /* This mess was copied from the GNU getpagesize.h. */
7703 #if !HAVE_GETPAGESIZE
7704 /* Assume that all systems that can run configure have sys/param.h. */
7705 # if !HAVE_SYS_PARAM_H
7706 # define HAVE_SYS_PARAM_H 1
7709 # ifdef _SC_PAGESIZE
7710 # define getpagesize() sysconf(_SC_PAGESIZE)
7711 # else /* no _SC_PAGESIZE */
7712 # if HAVE_SYS_PARAM_H
7713 # include <sys/param.h>
7714 # ifdef EXEC_PAGESIZE
7715 # define getpagesize() EXEC_PAGESIZE
7716 # else /* no EXEC_PAGESIZE */
7718 # define getpagesize() NBPG * CLSIZE
7721 # endif /* no CLSIZE */
7722 # else /* no NBPG */
7724 # define getpagesize() NBPC
7725 # else /* no NBPC */
7727 # define getpagesize() PAGESIZE
7728 # endif /* PAGESIZE */
7729 # endif /* no NBPC */
7730 # endif /* no NBPG */
7731 # endif /* no EXEC_PAGESIZE */
7732 # else /* no HAVE_SYS_PARAM_H */
7733 # define getpagesize() 8192 /* punt totally */
7734 # endif /* no HAVE_SYS_PARAM_H */
7735 # endif /* no _SC_PAGESIZE */
7737 #endif /* no HAVE_GETPAGESIZE */
7742 char *data, *data2, *data3;
7746 pagesize = getpagesize ();
7748 /* First, make a file with some known garbage in it. */
7749 data = (char *) malloc (pagesize);
7752 for (i = 0; i < pagesize; ++i)
7753 *(data + i) = rand ();
7755 fd = creat ("conftest.mmap", 0600);
7758 if (write (fd, data, pagesize) != pagesize)
7762 /* Next, try to mmap the file at a fixed address which already has
7763 something else allocated at it. If we can, also make sure that
7764 we see the same garbage. */
7765 fd = open ("conftest.mmap", O_RDWR);
7768 data2 = (char *) malloc (2 * pagesize);
7771 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7772 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7773 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7775 for (i = 0; i < pagesize; ++i)
7776 if (*(data + i) != *(data2 + i))
7779 /* Finally, make sure that changes to the mapped area do not
7780 percolate back to the file as seen by read(). (This is a bug on
7781 some variants of i386 svr4.0.) */
7782 for (i = 0; i < pagesize; ++i)
7783 *(data2 + i) = *(data2 + i) + 1;
7784 data3 = (char *) malloc (pagesize);
7787 if (read (fd, data3, pagesize) != pagesize)
7789 for (i = 0; i < pagesize; ++i)
7790 if (*(data + i) != *(data3 + i))
7796 rm -f conftest
$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798 (eval $ac_link) 2>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 (exit $ac_status); }; }; then
7807 ac_cv_func_mmap_fixed_mapped
=yes
7809 echo "$as_me: program exited with status $ac_status" >&5
7810 echo "$as_me: failed program was:" >&5
7811 cat conftest.
$ac_ext >&5
7813 ac_cv_func_mmap_fixed_mapped
=no
7815 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7818 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7819 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7820 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7822 cat >>confdefs.h
<<\_ACEOF
7830 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
7831 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7832 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 cat >conftest.
$ac_ext <<_ACEOF
7836 #line $LINENO "configure"
7837 #include "confdefs.h"
7839 #include <features.h>
7840 #ifdef __GNU_LIBRARY__
7841 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7848 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7849 ac_cv_gnu_library_2_1
=yes
7851 ac_cv_gnu_library_2_1
=no
7858 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
7859 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7861 GLIBC21
="$ac_cv_gnu_library_2_1"
7875 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7876 stdlib.h string.h unistd.h sys
/param.h
7878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7880 echo "$as_me:$LINENO: checking for $ac_header" >&5
7881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7888 # Is the header compilable?
7889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7891 cat >conftest.
$ac_ext <<_ACEOF
7892 #line $LINENO "configure"
7893 #include "confdefs.h"
7894 $ac_includes_default
7895 #include <$ac_header>
7897 rm -f conftest.
$ac_objext
7898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7899 (eval $ac_compile) 2>&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); } &&
7903 { ac_try
='test -s conftest.$ac_objext'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then
7909 ac_header_compiler
=yes
7911 echo "$as_me: failed program was:" >&5
7912 cat conftest.
$ac_ext >&5
7913 ac_header_compiler
=no
7915 rm -f conftest.
$ac_objext conftest.
$ac_ext
7916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7917 echo "${ECHO_T}$ac_header_compiler" >&6
7919 # Is the header present?
7920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7922 cat >conftest.
$ac_ext <<_ACEOF
7923 #line $LINENO "configure"
7924 #include "confdefs.h"
7925 #include <$ac_header>
7927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7930 egrep -v '^ *\+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } >/dev
/null
; then
7935 if test -s conftest.err
; then
7936 ac_cpp_err
=$ac_c_preproc_warn_flag
7943 if test -z "$ac_cpp_err"; then
7944 ac_header_preproc
=yes
7946 echo "$as_me: failed program was:" >&5
7947 cat conftest.
$ac_ext >&5
7948 ac_header_preproc
=no
7950 rm -f conftest.err conftest.
$ac_ext
7951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7952 echo "${ECHO_T}$ac_header_preproc" >&6
7954 # So? What about this header?
7955 case $ac_header_compiler:$ac_header_preproc in
7957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7969 echo "$as_me:$LINENO: checking for $ac_header" >&5
7970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 eval "$as_ac_Header=$ac_header_preproc"
7976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7981 cat >>confdefs.h
<<_ACEOF
7982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
8011 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
8012 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
8014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8015 echo "$as_me:$LINENO: checking for $ac_func" >&5
8016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8017 if eval "test \"\${$as_ac_var+set}\" = set"; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 cat >conftest.
$ac_ext <<_ACEOF
8021 #line $LINENO "configure"
8022 #include "confdefs.h"
8023 /* System header to define __stub macros and hopefully few prototypes,
8024 which can conflict with char $ac_func (); below. */
8026 /* Override any gcc2 internal prototype to avoid an error. */
8030 /* We use char because int might match the return type of a gcc2
8031 builtin and then its argument prototype would still apply. */
8035 #ifdef F77_DUMMY_MAIN
8039 int F77_DUMMY_MAIN() { return 1; }
8044 /* The GNU C library defines this for functions which it implements
8045 to always fail with ENOSYS. Some functions are actually named
8046 something starting with __ and the normal name is an alias. */
8047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8057 rm -f conftest.
$ac_objext conftest
$ac_exeext
8058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8059 (eval $ac_link) 2>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try
='test -s conftest$ac_exeext'
8064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; }; then
8069 eval "$as_ac_var=yes"
8071 echo "$as_me: failed program was:" >&5
8072 cat conftest.
$ac_ext >&5
8073 eval "$as_ac_var=no"
8075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8079 if test `eval echo '${'$as_ac_var'}'` = yes; then
8080 cat >>confdefs.h
<<_ACEOF
8081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8091 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8092 if test "${with_libiconv_prefix+set}" = set; then
8093 withval
="$with_libiconv_prefix"
8095 for dir
in `echo "$withval" | tr : ' '`; do
8096 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
8097 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
8102 echo "$as_me:$LINENO: checking for iconv" >&5
8103 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8104 if test "${am_cv_func_iconv+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 am_cv_func_iconv
="no, consider installing GNU libiconv"
8110 cat >conftest.
$ac_ext <<_ACEOF
8111 #line $LINENO "configure"
8112 #include "confdefs.h"
8115 #ifdef F77_DUMMY_MAIN
8119 int F77_DUMMY_MAIN() { return 1; }
8124 iconv_t cd = iconv_open("","");
8125 iconv(cd,NULL,NULL,NULL,NULL);
8131 rm -f conftest.
$ac_objext conftest
$ac_exeext
8132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8133 (eval $ac_link) 2>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try
='test -s conftest$ac_exeext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 am_cv_func_iconv
=yes
8145 echo "$as_me: failed program was:" >&5
8146 cat conftest.
$ac_ext >&5
8148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8149 if test "$am_cv_func_iconv" != yes; then
8150 am_save_LIBS
="$LIBS"
8151 LIBS
="$LIBS -liconv"
8152 cat >conftest.
$ac_ext <<_ACEOF
8153 #line $LINENO "configure"
8154 #include "confdefs.h"
8157 #ifdef F77_DUMMY_MAIN
8161 int F77_DUMMY_MAIN() { return 1; }
8166 iconv_t cd = iconv_open("","");
8167 iconv(cd,NULL,NULL,NULL,NULL);
8173 rm -f conftest.
$ac_objext conftest
$ac_exeext
8174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8175 (eval $ac_link) 2>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } &&
8179 { ac_try
='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8186 am_cv_func_iconv
=yes
8188 echo "$as_me: failed program was:" >&5
8189 cat conftest.
$ac_ext >&5
8191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8192 LIBS
="$am_save_LIBS"
8196 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8197 echo "${ECHO_T}$am_cv_func_iconv" >&6
8198 if test "$am_cv_func_iconv" = yes; then
8200 cat >>confdefs.h
<<\_ACEOF
8201 #define HAVE_ICONV 1
8204 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8205 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8206 if test "${am_cv_proto_iconv+set}" = set; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8210 cat >conftest.
$ac_ext <<_ACEOF
8211 #line $LINENO "configure"
8212 #include "confdefs.h"
8220 #if defined(__STDC__) || defined(__cplusplus)
8221 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8226 #ifdef F77_DUMMY_MAIN
8230 int F77_DUMMY_MAIN() { return 1; }
8240 rm -f conftest.
$ac_objext
8241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8242 (eval $ac_compile) 2>&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } &&
8246 { ac_try
='test -s conftest.$ac_objext'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; }; then
8252 am_cv_proto_iconv_arg1
=""
8254 echo "$as_me: failed program was:" >&5
8255 cat conftest.
$ac_ext >&5
8256 am_cv_proto_iconv_arg1
="const"
8258 rm -f conftest.
$ac_objext conftest.
$ac_ext
8259 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);"
8262 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8263 echo "$as_me:$LINENO: result: ${ac_t:-
8264 }$am_cv_proto_iconv" >&5
8265 echo "${ECHO_T}${ac_t:-
8266 }$am_cv_proto_iconv" >&6
8268 cat >>confdefs.h
<<_ACEOF
8269 #define ICONV_CONST $am_cv_proto_iconv_arg1
8274 if test "$am_cv_lib_iconv" = yes; then
8280 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8281 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8282 if test "${am_cv_langinfo_codeset+set}" = set; then
8283 echo $ECHO_N "(cached) $ECHO_C" >&6
8285 cat >conftest.
$ac_ext <<_ACEOF
8286 #line $LINENO "configure"
8287 #include "confdefs.h"
8288 #include <langinfo.h>
8289 #ifdef F77_DUMMY_MAIN
8293 int F77_DUMMY_MAIN() { return 1; }
8298 char* cs = nl_langinfo(CODESET);
8303 rm -f conftest.
$ac_objext conftest
$ac_exeext
8304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8305 (eval $ac_link) 2>&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); } &&
8309 { ac_try
='test -s conftest$ac_exeext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 am_cv_langinfo_codeset
=yes
8317 echo "$as_me: failed program was:" >&5
8318 cat conftest.
$ac_ext >&5
8319 am_cv_langinfo_codeset
=no
8321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8324 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
8325 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
8326 if test $am_cv_langinfo_codeset = yes; then
8328 cat >>confdefs.h
<<\_ACEOF
8329 #define HAVE_LANGINFO_CODESET 1
8334 if test $ac_cv_header_locale_h = yes; then
8335 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8336 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8337 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 cat >conftest.
$ac_ext <<_ACEOF
8341 #line $LINENO "configure"
8342 #include "confdefs.h"
8344 #ifdef F77_DUMMY_MAIN
8348 int F77_DUMMY_MAIN() { return 1; }
8358 rm -f conftest.
$ac_objext conftest
$ac_exeext
8359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8360 (eval $ac_link) 2>&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } &&
8364 { ac_try
='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then
8370 am_cv_val_LC_MESSAGES
=yes
8372 echo "$as_me: failed program was:" >&5
8373 cat conftest.
$ac_ext >&5
8374 am_cv_val_LC_MESSAGES
=no
8376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8378 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8379 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8380 if test $am_cv_val_LC_MESSAGES = yes; then
8382 cat >>confdefs.h
<<\_ACEOF
8383 #define HAVE_LC_MESSAGES 1
8388 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8389 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8390 # Check whether --enable-nls or --disable-nls was given.
8391 if test "${enable_nls+set}" = set; then
8392 enableval
="$enable_nls"
8397 echo "$as_me:$LINENO: result: $USE_NLS" >&5
8398 echo "${ECHO_T}$USE_NLS" >&6
8401 BUILD_INCLUDED_LIBINTL
=no
8402 USE_INCLUDED_LIBINTL
=no
8405 if test "$USE_NLS" = "yes"; then
8407 cat >>confdefs.h
<<\_ACEOF
8408 #define ENABLE_NLS 1
8411 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8412 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8414 # Check whether --with-included-gettext or --without-included-gettext was given.
8415 if test "${with_included_gettext+set}" = set; then
8416 withval
="$with_included_gettext"
8417 nls_cv_force_use_gnu_gettext
=$withval
8419 nls_cv_force_use_gnu_gettext
=no
8421 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8422 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8424 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
8425 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8431 if test "${ac_cv_header_libintl_h+set}" = set; then
8432 echo "$as_me:$LINENO: checking for libintl.h" >&5
8433 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8434 if test "${ac_cv_header_libintl_h+set}" = set; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8438 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8440 # Is the header compilable?
8441 echo "$as_me:$LINENO: checking libintl.h usability" >&5
8442 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8443 cat >conftest.
$ac_ext <<_ACEOF
8444 #line $LINENO "configure"
8445 #include "confdefs.h"
8446 $ac_includes_default
8447 #include <libintl.h>
8449 rm -f conftest.
$ac_objext
8450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8451 (eval $ac_compile) 2>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); } &&
8455 { ac_try
='test -s conftest.$ac_objext'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_header_compiler
=yes
8463 echo "$as_me: failed program was:" >&5
8464 cat conftest.
$ac_ext >&5
8465 ac_header_compiler
=no
8467 rm -f conftest.
$ac_objext conftest.
$ac_ext
8468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8469 echo "${ECHO_T}$ac_header_compiler" >&6
8471 # Is the header present?
8472 echo "$as_me:$LINENO: checking libintl.h presence" >&5
8473 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8474 cat >conftest.
$ac_ext <<_ACEOF
8475 #line $LINENO "configure"
8476 #include "confdefs.h"
8477 #include <libintl.h>
8479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8482 egrep -v '^ *\+' conftest.er1
>conftest.err
8484 cat conftest.err
>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } >/dev
/null
; then
8487 if test -s conftest.err
; then
8488 ac_cpp_err
=$ac_c_preproc_warn_flag
8495 if test -z "$ac_cpp_err"; then
8496 ac_header_preproc
=yes
8498 echo "$as_me: failed program was:" >&5
8499 cat conftest.
$ac_ext >&5
8500 ac_header_preproc
=no
8502 rm -f conftest.err conftest.
$ac_ext
8503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8504 echo "${ECHO_T}$ac_header_preproc" >&6
8506 # So? What about this header?
8507 case $ac_header_compiler:$ac_header_preproc in
8509 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8510 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8511 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8512 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8514 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
8515 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
8516 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
8517 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
8518 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8519 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8521 echo "$as_me:$LINENO: checking for libintl.h" >&5
8522 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8523 if test "${ac_cv_header_libintl_h+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 ac_cv_header_libintl_h
=$ac_header_preproc
8528 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8529 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8532 if test $ac_cv_header_libintl_h = yes; then
8533 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8534 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
8535 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 cat >conftest.
$ac_ext <<_ACEOF
8539 #line $LINENO "configure"
8540 #include "confdefs.h"
8541 #include <libintl.h>
8542 extern int _nl_msg_cat_cntr;
8543 #ifdef F77_DUMMY_MAIN
8547 int F77_DUMMY_MAIN() { return 1; }
8552 bindtextdomain ("", "");
8553 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8558 rm -f conftest.
$ac_objext conftest
$ac_exeext
8559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8560 (eval $ac_link) 2>&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } &&
8564 { ac_try
='test -s conftest$ac_exeext'
8565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
8570 gt_cv_func_gnugettext2_libc
=yes
8572 echo "$as_me: failed program was:" >&5
8573 cat conftest.
$ac_ext >&5
8574 gt_cv_func_gnugettext2_libc
=no
8576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8578 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
8579 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
8581 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
8582 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8583 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
8584 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 gt_save_LIBS
="$LIBS"
8588 LIBS
="$LIBS -lintl $LIBICONV"
8589 cat >conftest.
$ac_ext <<_ACEOF
8590 #line $LINENO "configure"
8591 #include "confdefs.h"
8592 #include <libintl.h>
8593 extern int _nl_msg_cat_cntr;
8594 #ifdef F77_DUMMY_MAIN
8598 int F77_DUMMY_MAIN() { return 1; }
8603 bindtextdomain ("", "");
8604 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8609 rm -f conftest.
$ac_objext conftest
$ac_exeext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8611 (eval $ac_link) 2>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try
='test -s conftest$ac_exeext'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; }; then
8621 gt_cv_func_gnugettext2_libintl
=yes
8623 echo "$as_me: failed program was:" >&5
8624 cat conftest.
$ac_ext >&5
8625 gt_cv_func_gnugettext2_libintl
=no
8627 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8628 LIBS
="$gt_save_LIBS"
8630 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
8631 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
8634 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
8635 || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
8636 && test "$PACKAGE" != gettext; }; then
8638 cat >>confdefs.h
<<\_ACEOF
8639 #define HAVE_GETTEXT 1
8643 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
8644 INTLLIBS
="-lintl $LIBICONV"
8647 gt_save_LIBS
="$LIBS"
8648 LIBS
="$LIBS $INTLLIBS"
8650 for ac_func
in dcgettext
8652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8653 echo "$as_me:$LINENO: checking for $ac_func" >&5
8654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8655 if eval "test \"\${$as_ac_var+set}\" = set"; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 cat >conftest.
$ac_ext <<_ACEOF
8659 #line $LINENO "configure"
8660 #include "confdefs.h"
8661 /* System header to define __stub macros and hopefully few prototypes,
8662 which can conflict with char $ac_func (); below. */
8664 /* Override any gcc2 internal prototype to avoid an error. */
8668 /* We use char because int might match the return type of a gcc2
8669 builtin and then its argument prototype would still apply. */
8673 #ifdef F77_DUMMY_MAIN
8677 int F77_DUMMY_MAIN() { return 1; }
8682 /* The GNU C library defines this for functions which it implements
8683 to always fail with ENOSYS. Some functions are actually named
8684 something starting with __ and the normal name is an alias. */
8685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8695 rm -f conftest.
$ac_objext conftest
$ac_exeext
8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697 (eval $ac_link) 2>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -s conftest$ac_exeext'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; }; then
8707 eval "$as_ac_var=yes"
8709 echo "$as_me: failed program was:" >&5
8710 cat conftest.
$ac_ext >&5
8711 eval "$as_ac_var=no"
8713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8717 if test `eval echo '${'$as_ac_var'}'` = yes; then
8718 cat >>confdefs.h
<<_ACEOF
8719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8725 LIBS
="$gt_save_LIBS"
8727 # Extract the first word of "msgfmt", so it can be a program name with args.
8728 set dummy msgfmt
; ac_word
=$2
8729 echo "$as_me:$LINENO: checking for $ac_word" >&5
8730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8731 if test "${ac_cv_path_MSGFMT+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8739 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8740 for ac_dir
in $PATH; do
8741 test -z "$ac_dir" && ac_dir
=.
8742 if test -f $ac_dir/$ac_word; then
8743 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8744 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8750 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8754 MSGFMT
="$ac_cv_path_MSGFMT"
8755 if test "$MSGFMT" != ":"; then
8756 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8757 echo "${ECHO_T}$MSGFMT" >&6
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8763 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8764 set dummy gmsgfmt
; ac_word
=$2
8765 echo "$as_me:$LINENO: checking for $ac_word" >&5
8766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8767 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir
=.
8780 for ac_exec_ext
in '' $ac_executable_extensions; do
8781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8782 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8793 GMSGFMT
=$ac_cv_path_GMSGFMT
8795 if test -n "$GMSGFMT"; then
8796 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8797 echo "${ECHO_T}$GMSGFMT" >&6
8799 echo "$as_me:$LINENO: result: no" >&5
8800 echo "${ECHO_T}no" >&6
8804 # Extract the first word of "xgettext", so it can be a program name with args.
8805 set dummy xgettext
; ac_word
=$2
8806 echo "$as_me:$LINENO: checking for $ac_word" >&5
8807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8808 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8813 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8816 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8817 for ac_dir
in $PATH; do
8818 test -z "$ac_dir" && ac_dir
=.
8819 if test -f $ac_dir/$ac_word; then
8820 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8821 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8827 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8831 XGETTEXT
="$ac_cv_path_XGETTEXT"
8832 if test "$XGETTEXT" != ":"; then
8833 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8834 echo "${ECHO_T}$XGETTEXT" >&6
8836 echo "$as_me:$LINENO: result: no" >&5
8837 echo "${ECHO_T}no" >&6
8848 if test "$CATOBJEXT" = "NONE"; then
8849 nls_cv_use_gnu_gettext
=yes
8853 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8854 INTLOBJS
="\$(GETTOBJS)"
8855 # Extract the first word of "msgfmt", so it can be a program name with args.
8856 set dummy msgfmt
; ac_word
=$2
8857 echo "$as_me:$LINENO: checking for $ac_word" >&5
8858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8859 if test "${ac_cv_path_MSGFMT+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8868 for ac_dir
in $PATH; do
8869 test -z "$ac_dir" && ac_dir
=.
8870 if test -f $ac_dir/$ac_word; then
8871 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8872 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8878 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8882 MSGFMT
="$ac_cv_path_MSGFMT"
8883 if test "$MSGFMT" != ":"; then
8884 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8885 echo "${ECHO_T}$MSGFMT" >&6
8887 echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6
8891 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8892 set dummy gmsgfmt
; ac_word
=$2
8893 echo "$as_me:$LINENO: checking for $ac_word" >&5
8894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8895 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8907 test -z "$as_dir" && as_dir
=.
8908 for ac_exec_ext
in '' $ac_executable_extensions; do
8909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8910 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8921 GMSGFMT
=$ac_cv_path_GMSGFMT
8923 if test -n "$GMSGFMT"; then
8924 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8925 echo "${ECHO_T}$GMSGFMT" >&6
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8931 # Extract the first word of "xgettext", so it can be a program name with args.
8932 set dummy xgettext
; ac_word
=$2
8933 echo "$as_me:$LINENO: checking for $ac_word" >&5
8934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8935 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8936 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8943 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8944 for ac_dir
in $PATH; do
8945 test -z "$ac_dir" && ac_dir
=.
8946 if test -f $ac_dir/$ac_word; then
8947 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8948 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8954 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8958 XGETTEXT
="$ac_cv_path_XGETTEXT"
8959 if test "$XGETTEXT" != ":"; then
8960 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8961 echo "${ECHO_T}$XGETTEXT" >&6
8963 echo "$as_me:$LINENO: result: no" >&5
8964 echo "${ECHO_T}no" >&6
8968 BUILD_INCLUDED_LIBINTL
=yes
8969 USE_INCLUDED_LIBINTL
=yes
8971 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8972 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8975 if test "$GMSGFMT" != ":"; then
8976 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8979 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8980 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8985 if test "$XGETTEXT" != ":"; then
8986 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8989 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8990 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8997 ac_config_commands
="$ac_config_commands default-1"
9001 if test "$PACKAGE" = gettext; then
9002 BUILD_INCLUDED_LIBINTL
=yes
9005 for ac_prog
in bison
9007 # Extract the first word of "$ac_prog", so it can be a program name with args.
9008 set dummy
$ac_prog; ac_word
=$2
9009 echo "$as_me:$LINENO: checking for $ac_word" >&5
9010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9011 if test "${ac_cv_prog_INTLBISON+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 if test -n "$INTLBISON"; then
9015 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
9017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir
=.
9022 for ac_exec_ext
in '' $ac_executable_extensions; do
9023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9024 ac_cv_prog_INTLBISON
="$ac_prog"
9025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 INTLBISON
=$ac_cv_prog_INTLBISON
9034 if test -n "$INTLBISON"; then
9035 echo "$as_me:$LINENO: result: $INTLBISON" >&5
9036 echo "${ECHO_T}$INTLBISON" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9042 test -n "$INTLBISON" && break
9045 if test -z "$INTLBISON"; then
9048 echo "$as_me:$LINENO: checking version of bison" >&5
9049 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
9050 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
9051 case $ac_prog_version in
9052 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
9053 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
9054 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
9055 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
9057 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
9058 echo "${ECHO_T}$ac_prog_version" >&6
9060 if test $ac_verc_fail = yes; then
9064 for lang
in $ALL_LINGUAS; do
9065 GMOFILES
="$GMOFILES $lang.gmo"
9066 POFILES
="$POFILES $lang.po"
9080 nls_cv_header_libgt
=
9092 if test "x$CATOBJEXT" != "x"; then
9093 if test "x$ALL_LINGUAS" = "x"; then
9096 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
9097 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
9099 for presentlang
in $ALL_LINGUAS; do
9101 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
9102 # Use the presentlang catalog if desiredlang is
9103 # a. equal to presentlang, or
9104 # b. a variant of presentlang (because in this case,
9105 # presentlang can be used as a fallback for messages
9106 # which are not translated in the desiredlang catalog).
9107 case "$desiredlang" in
9108 "$presentlang"*) useit
=yes;;
9111 if test $useit = yes; then
9112 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
9115 LINGUAS
=$NEW_LINGUAS
9116 echo "$as_me:$LINENO: result: $LINGUAS" >&5
9117 echo "${ECHO_T}$LINGUAS" >&6
9120 if test -n "$LINGUAS"; then
9121 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
9126 if test -n "$ac_aux_dir"; then
9127 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
9129 if test -z "$MKINSTALLDIRS"; then
9130 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
9134 INTL_LIBTOOL_SUFFIX_PREFIX
=
9138 # This is necessary so that .o files in LIBOBJS are also built via
9139 # the ANSI2KNR-filtering rules.
9140 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
9143 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile"
9144 cat >confcache
<<\_ACEOF
9145 # This file is a shell script that caches the results of configure
9146 # tests run on this system so they can be shared between configure
9147 # scripts and configure runs, see configure's option --config-cache.
9148 # It is not useful on other systems. If it contains results you don't
9149 # want to keep, you may remove or edit it.
9151 # config.status only pays attention to the cache file if you give it
9152 # the --recheck option to rerun configure.
9154 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9155 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9160 # The following way of writing the cache mishandles newlines in values,
9161 # but we know of no workaround that is simple, portable, and efficient.
9162 # So, don't put newlines in cache variables' values.
9163 # Ultrix sh set writes to stderr and can't be redirected directly,
9164 # and sets the high bit in the cache file unless we assign to the vars.
9167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9169 # `set' does not quote correctly, so add quotes (double-quote
9170 # substitution turns \\\\ into \\, and sed turns \\ into \).
9173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9176 # `set' quotes correctly as required by POSIX, so do not add quotes.
9178 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9187 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9189 if cmp -s $cache_file confcache
; then :; else
9190 if test -w $cache_file; then
9191 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9192 cat confcache
>$cache_file
9194 echo "not updating unwritable cache $cache_file"
9199 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9200 # Let make expand exec_prefix.
9201 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9205 # trailing colons and then remove the whole line if VPATH becomes empty
9206 # (actually we leave an empty line to preserve line numbers).
9207 if test "x$srcdir" = x.
; then
9208 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9209 s/:*\$(srcdir):*/:/;
9210 s/:*\${srcdir}:*/:/;
9212 s/^\([^=]*=[ ]*\):*/\1/;
9218 DEFS
=-DHAVE_CONFIG_H
9220 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9221 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9222 Usually this means the macro was only invoked conditionally." >&5
9223 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9224 Usually this means the macro was only invoked conditionally." >&2;}
9225 { (exit 1); exit 1; }; }
9228 : ${CONFIG_STATUS=./config.status}
9229 ac_clean_files_save
=$ac_clean_files
9230 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9231 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9232 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9233 cat >$CONFIG_STATUS <<_ACEOF
9235 # Generated by $as_me.
9236 # Run this file to recreate the current configuration.
9237 # Compiler output produced by configure, useful for debugging
9238 # configure, is in config.log if it exists.
9241 SHELL=\${CONFIG_SHELL-$SHELL}
9244 cat >>$CONFIG_STATUS <<\_ACEOF
9246 ## --------------------- ##
9247 ## M4sh Initialization. ##
9248 ## --------------------- ##
9250 # Be Bourne compatible
9251 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9254 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9259 # Support unset when possible.
9260 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
9266 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
9267 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
9268 { LANG
=C
; export LANG
; }
9269 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
9270 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
9271 { LC_ALL
=C
; export LC_ALL
; }
9272 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
9273 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
9274 { LC_TIME
=C
; export LC_TIME
; }
9275 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
9276 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
9277 { LC_CTYPE
=C
; export LC_CTYPE
; }
9278 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
9279 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
9280 { LANGUAGE
=C
; export LANGUAGE
; }
9281 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
9282 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
9283 { LC_COLLATE
=C
; export LC_COLLATE
; }
9284 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
9285 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
9286 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
9287 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
9288 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
9289 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
9292 # Name of the executable.
9293 as_me
=`(basename "$0") 2>/dev/null ||
9294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9295 X"$0" : 'X\(//\)$' \| \
9296 X"$0" : 'X\(/\)$' \| \
9297 . : '\(.\)' 2>/dev/null ||
9299 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9300 /^X\/\(\/\/\)$/{ s//\1/; q; }
9301 /^X\/\(\/\).*/{ s//\1/; q; }
9304 # PATH needs CR, and LINENO needs CR and PATH.
9305 # Avoid depending upon Character Ranges.
9306 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9307 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9308 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9309 as_cr_digits
='0123456789'
9310 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9312 # The user is always right.
9313 if test "${PATH_SEPARATOR+set}" != set; then
9314 echo "#! /bin/sh" >conftest.sh
9315 echo "exit 0" >>conftest.sh
9316 chmod +x conftest.sh
9317 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
9328 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9329 test "x$as_lineno_1" != "x$as_lineno_2" &&
9330 test "x$as_lineno_3" = "x$as_lineno_2" || {
9331 # Find who we are. Look in the path if we contain no path at all
9334 *[\\/]* ) as_myself
=$0 ;;
9335 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir
=.
9340 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9345 # We did not find ourselves, most probably we were run as `sh COMMAND'
9346 # in which case we are not to be found in the path.
9347 if test "x$as_myself" = x
; then
9350 if test ! -f "$as_myself"; then
9351 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9352 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9353 { (exit 1); exit 1; }; }
9355 case $CONFIG_SHELL in
9357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9358 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9361 test -z "$as_dir" && as_dir
=.
9362 for as_base
in sh bash ksh sh5
; do
9365 if ("$as_dir/$as_base" -c '
9368 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9369 test "x$as_lineno_1" != "x$as_lineno_2" &&
9370 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9371 CONFIG_SHELL
=$as_dir/$as_base
9373 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9382 # uniformly replaced by the line number. The first 'sed' inserts a
9383 # line-number line before each line; the second 'sed' does the real
9384 # work. The second script uses 'N' to pair each line-number line
9385 # with the numbered line, and appends trailing '-' during
9386 # substitution so that $LINENO is not a special case at line end.
9387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9388 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9389 sed '=' <$as_myself |
9394 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9397 s,^['$as_cr_digits']*\n,,
9399 chmod +x
$as_me.lineno
||
9400 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9401 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9402 { (exit 1); exit 1; }; }
9404 # Don't try to exec as it changes $[0], causing all sort of problems
9405 # (the dirname of $[0] is not the place where we might find the
9406 # original and so on. Autoconf is especially sensible to this).
9408 # Exit status is that of the last command.
9413 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9414 *c
*,-n*) ECHO_N
= ECHO_C
='
9416 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9417 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9420 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9426 rm -f conf$$ conf$$.exe conf$$.
file
9428 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9429 # We could just check for DJGPP; but this test a) works b) is more generic
9430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9431 if test -f conf$$.exe
; then
9432 # Don't use ln at all; we don't have any links
9437 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9442 rm -f conf$$ conf$$.exe conf$$.
file
9444 as_executable_p
="test -f"
9446 # Sed expression to map a string onto a valid CPP name.
9447 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9449 # Sed expression to map a string onto a valid variable name.
9450 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9454 # We need space, tab and new line, in precisely that order.
9460 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
9464 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9465 # report actual input values of CONFIG_FILES etc. instead of their
9466 # values after options handling. Logging --version etc. is OK.
9470 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9471 ## Running $as_me. ##
9476 This file was extended by GNU Bison $as_me 1.34a, which was
9477 generated by GNU Autoconf 2.53a. Invocation command line was
9479 CONFIG_FILES = $CONFIG_FILES
9480 CONFIG_HEADERS = $CONFIG_HEADERS
9481 CONFIG_LINKS = $CONFIG_LINKS
9482 CONFIG_COMMANDS = $CONFIG_COMMANDS
9486 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9490 # Files that config.status was made for.
9491 if test -n "$ac_config_files"; then
9492 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9495 if test -n "$ac_config_headers"; then
9496 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9499 if test -n "$ac_config_links"; then
9500 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9503 if test -n "$ac_config_commands"; then
9504 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9507 cat >>$CONFIG_STATUS <<\_ACEOF
9510 \`$as_me' instantiates files from templates according to the
9511 current configuration.
9513 Usage: $0 [OPTIONS] [FILE]...
9515 -h, --help print this help, then exit
9516 -V, --version print version number, then exit
9517 -d, --debug don't remove temporary files
9518 --recheck update $as_me by reconfiguring in the same conditions
9519 --file=FILE[:TEMPLATE]
9520 instantiate the configuration file FILE
9521 --header=FILE[:TEMPLATE]
9522 instantiate the configuration header FILE
9524 Configuration files:
9527 Configuration headers:
9530 Configuration commands:
9533 Report bugs to <bug-autoconf@gnu.org>."
9536 cat >>$CONFIG_STATUS <<_ACEOF
9538 GNU Bison config.status 1.34a
9539 configured by $0, generated by GNU Autoconf 2.53a,
9540 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9542 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9543 Free Software Foundation, Inc.
9544 This config.status script is free software; the Free Software Foundation
9545 gives unlimited permission to copy, distribute and modify it."
9550 cat >>$CONFIG_STATUS <<\_ACEOF
9551 # If no file are specified by the user, then we need to provide default
9552 # value. By we need to know if files were specified by the user.
9558 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9559 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9561 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
9565 *) # This is not an option, so the user has probably given explicit
9567 ac_need_defaults
=false
;;
9571 # Handling of the options.
9573 cat >>$CONFIG_STATUS <<_ACEOF
9574 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9575 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9576 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9578 cat >>$CONFIG_STATUS <<\_ACEOF
9579 --version | --vers* | -V )
9580 echo "$ac_cs_version"; exit 0 ;;
9582 # Conflict between --help and --header
9583 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9584 Try \`$0 --help' for more information." >&5
9585 echo "$as_me: error: ambiguous option: $1
9586 Try \`$0 --help' for more information." >&2;}
9587 { (exit 1); exit 1; }; };;
9588 --help | --hel | -h )
9589 echo "$ac_cs_usage"; exit 0 ;;
9590 --debug | --d* | -d )
9592 --file | --fil | --fi | --f )
9594 CONFIG_FILES
="$CONFIG_FILES $1"
9595 ac_need_defaults
=false
;;
9596 --header | --heade | --head | --hea )
9598 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
9599 ac_need_defaults
=false
;;
9602 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9603 Try \`$0 --help' for more information." >&5
9604 echo "$as_me: error: unrecognized option: $1
9605 Try \`$0 --help' for more information." >&2;}
9606 { (exit 1); exit 1; }; } ;;
9608 *) ac_config_targets
="$ac_config_targets $1" ;;
9616 cat >>$CONFIG_STATUS <<_ACEOF
9618 # INIT-COMMANDS section.
9621 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9628 cat >>$CONFIG_STATUS <<\_ACEOF
9629 for ac_config_target
in $ac_config_targets
9631 case "$ac_config_target" in
9632 # Handling of arguments.
9633 "tests/bison" ) CONFIG_FILES
="$CONFIG_FILES tests/bison" ;;
9634 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9635 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
9636 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9637 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
9638 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
9639 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9640 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
9641 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9642 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9643 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
9644 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
9645 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9646 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9647 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
9648 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9649 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9650 { (exit 1); exit 1; }; };;
9654 # If the user did not use the arguments to specify the items to instantiate,
9655 # then the envvar interface is used. Set only those that are not.
9656 # We use the long form for the default assignment because of an extremely
9657 # bizarre bug on SunOS 4.1.3.
9658 if $ac_need_defaults; then
9659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9664 # Create a temporary directory, and hook for its removal unless debugging.
9667 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9668 trap '{ (exit 1); exit 1; }' 1 2 13 15
9671 # Create a (secure) tmp directory for tmp files.
9674 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9675 test -n "$tmp" && test -d "$tmp"
9678 tmp
=$TMPDIR/cs$$
-$RANDOM
9679 (umask 077 && mkdir $tmp)
9682 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9683 { (exit 1); exit 1; }
9688 cat >>$CONFIG_STATUS <<_ACEOF
9691 # CONFIG_FILES section.
9694 # No need to generate the scripts if there are no CONFIG_FILES.
9695 # This happens for instance when ./config.status config.h
9696 if test -n "\$CONFIG_FILES"; then
9697 # Protect against being on the right side of a sed subst in config.status.
9698 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9699 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9700 s,@SHELL@,$SHELL,;t t
9701 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9702 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9703 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9704 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9705 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9706 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9707 s,@exec_prefix@,$exec_prefix,;t t
9708 s,@prefix@,$prefix,;t t
9709 s,@program_transform_name@,$program_transform_name,;t t
9710 s,@bindir@,$bindir,;t t
9711 s,@sbindir@,$sbindir,;t t
9712 s,@libexecdir@,$libexecdir,;t t
9713 s,@datadir@,$datadir,;t t
9714 s,@sysconfdir@,$sysconfdir,;t t
9715 s,@sharedstatedir@,$sharedstatedir,;t t
9716 s,@localstatedir@,$localstatedir,;t t
9717 s,@libdir@,$libdir,;t t
9718 s,@includedir@,$includedir,;t t
9719 s,@oldincludedir@,$oldincludedir,;t t
9720 s,@infodir@,$infodir,;t t
9721 s,@mandir@,$mandir,;t t
9722 s,@build_alias@,$build_alias,;t t
9723 s,@host_alias@,$host_alias,;t t
9724 s,@target_alias@,$target_alias,;t t
9726 s,@ECHO_C@,$ECHO_C,;t t
9727 s,@ECHO_N@,$ECHO_N,;t t
9728 s,@ECHO_T@,$ECHO_T,;t t
9730 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9731 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9732 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9733 s,@PACKAGE@,$PACKAGE,;t t
9734 s,@VERSION@,$VERSION,;t t
9735 s,@ACLOCAL@,$ACLOCAL,;t t
9736 s,@AUTOCONF@,$AUTOCONF,;t t
9737 s,@AUTOMAKE@,$AUTOMAKE,;t t
9738 s,@AUTOHEADER@,$AUTOHEADER,;t t
9739 s,@MAKEINFO@,$MAKEINFO,;t t
9740 s,@AMTAR@,$AMTAR,;t t
9741 s,@install_sh@,$install_sh,;t t
9742 s,@STRIP@,$STRIP,;t t
9743 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9744 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9746 s,@SET_MAKE@,$SET_MAKE,;t t
9749 s,@CFLAGS@,$CFLAGS,;t t
9750 s,@LDFLAGS@,$LDFLAGS,;t t
9751 s,@CPPFLAGS@,$CPPFLAGS,;t t
9752 s,@ac_ct_CC@,$ac_ct_CC,;t t
9753 s,@EXEEXT@,$EXEEXT,;t t
9754 s,@OBJEXT@,$OBJEXT,;t t
9755 s,@DEPDIR@,$DEPDIR,;t t
9756 s,@am__include@,$am__include,;t t
9757 s,@am__quote@,$am__quote,;t t
9758 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9759 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9760 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9761 s,@CCDEPMODE@,$CCDEPMODE,;t t
9763 s,@RANLIB@,$RANLIB,;t t
9764 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9765 s,@AUTOM4TE@,$AUTOM4TE,;t t
9766 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
9767 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9769 s,@ANSI2KNR@,$ANSI2KNR,;t t
9770 s,@ALLOCA@,$ALLOCA,;t t
9771 s,@LIBOBJS@,$LIBOBJS,;t t
9772 s,@build@,$build,;t t
9773 s,@build_cpu@,$build_cpu,;t t
9774 s,@build_vendor@,$build_vendor,;t t
9775 s,@build_os@,$build_os,;t t
9777 s,@host_cpu@,$host_cpu,;t t
9778 s,@host_vendor@,$host_vendor,;t t
9779 s,@host_os@,$host_os,;t t
9780 s,@GLIBC21@,$GLIBC21,;t t
9781 s,@LIBICONV@,$LIBICONV,;t t
9782 s,@USE_NLS@,$USE_NLS,;t t
9783 s,@MSGFMT@,$MSGFMT,;t t
9784 s,@GMSGFMT@,$GMSGFMT,;t t
9785 s,@XGETTEXT@,$XGETTEXT,;t t
9786 s,@INTLBISON@,$INTLBISON,;t t
9787 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
9788 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9789 s,@CATALOGS@,$CATALOGS,;t t
9790 s,@CATOBJEXT@,$CATOBJEXT,;t t
9791 s,@GMOFILES@,$GMOFILES,;t t
9792 s,@INTLLIBS@,$INTLLIBS,;t t
9793 s,@INTLOBJS@,$INTLOBJS,;t t
9794 s,@POFILES@,$POFILES,;t t
9795 s,@POSUB@,$POSUB,;t t
9796 s,@DATADIRNAME@,$DATADIRNAME,;t t
9797 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9798 s,@GENCAT@,$GENCAT,;t t
9799 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9800 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
9805 cat >>$CONFIG_STATUS <<\_ACEOF
9806 # Split the substitutions into bite-sized pieces for seds with
9807 # small command number limits, like on Digital OSF/1 and HP-UX.
9809 ac_sed_frag
=1 # Number of current file.
9810 ac_beg
=1 # First line for current file.
9811 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9814 while $ac_more_lines; do
9815 if test $ac_beg -gt 1; then
9816 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9818 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9820 if test ! -s $tmp/subs.frag
; then
9823 # The purpose of the label and of the branching condition is to
9824 # speed up the sed processing (if there are no `@' at all, there
9825 # is no need to browse any of the substitutions).
9826 # These are the two extra sed commands mentioned above.
9828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9829 if test -z "$ac_sed_cmds"; then
9830 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9832 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9834 ac_sed_frag
=`expr $ac_sed_frag + 1`
9836 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9839 if test -z "$ac_sed_cmds"; then
9842 fi # test -n "$CONFIG_FILES"
9845 cat >>$CONFIG_STATUS <<\_ACEOF
9846 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9847 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9849 - | *:- | *:-:* ) # input from stdin
9851 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9852 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9853 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9854 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9855 * ) ac_file_in
=$ac_file.
in ;;
9858 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9859 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9860 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9861 X"$ac_file" : 'X\(//\)[^/]' \| \
9862 X"$ac_file" : 'X\(//\)$' \| \
9863 X"$ac_file" : 'X\(/\)' \| \
9864 . : '\(.\)' 2>/dev/null ||
9866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9868 /^X\(\/\/\)$/{ s//\1/; q; }
9869 /^X\(\/\).*/{ s//\1/; q; }
9872 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9876 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9877 case $as_mkdir_dir in
9878 # Skip DOS drivespec
9879 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9881 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9882 test -d "$as_incr_dir" ||
9883 mkdir "$as_incr_dir" ||
9884 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9885 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9886 { (exit 1); exit 1; }; }
9893 if test "$ac_dir" != .
; then
9894 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9895 # A "../" for each directory in $ac_dir_suffix.
9896 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9898 ac_dir_suffix
= ac_top_builddir
=
9902 .
) # No --srcdir option. We are building in place.
9904 if test -z "$ac_top_builddir"; then
9907 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9909 [\\/]* | ?
:[\\/]* ) # Absolute path.
9910 ac_srcdir
=$srcdir$ac_dir_suffix;
9911 ac_top_srcdir
=$srcdir ;;
9913 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9914 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9916 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9918 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
9919 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9920 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9921 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9925 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9926 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9929 if test x
"$ac_file" != x
-; then
9930 { echo "$as_me:$LINENO: creating $ac_file" >&5
9931 echo "$as_me: creating $ac_file" >&6;}
9934 # Let's still pretend it is `configure' which instantiates (i.e., don't
9935 # use $as_me), people would be surprised to read:
9936 # /* config.h. Generated by config.status. */
9937 if test x
"$ac_file" = x
-; then
9940 configure_input
="$ac_file. "
9942 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9943 sed 's,.*/,,'` by configure."
9945 # First look for the input files in the build tree, otherwise in the
9947 ac_file_inputs
=`IFS=:
9948 for f in $ac_file_in; do
9950 -) echo $tmp/stdin ;;
9952 # Absolute (can't be DOS-style, as IFS=:)
9953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9954 echo "$as_me: error: cannot find input file: $f" >&2;}
9955 { (exit 1); exit 1; }; }
9958 if test -f "$f"; then
9961 elif test -f "$srcdir/$f"; then
9966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9967 echo "$as_me: error: cannot find input file: $f" >&2;}
9968 { (exit 1); exit 1; }; }
9971 done` || { (exit 1); exit 1; }
9973 cat >>$CONFIG_STATUS <<_ACEOF
9977 cat >>$CONFIG_STATUS <<\_ACEOF
9979 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9980 s
,@configure_input@
,$configure_input,;t t
9981 s
,@srcdir@
,$ac_srcdir,;t t
9982 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9983 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9984 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9985 s
,@builddir@
,$ac_builddir,;t t
9986 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9987 s
,@top_builddir@
,$ac_top_builddir,;t t
9988 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9989 s
,@INSTALL@
,$ac_INSTALL,;t t
9990 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9992 if test x"$ac_file" != x-; then
9993 mv $tmp/out $ac_file
9999 # Run the commands associated with the file.
10001 tests/bison ) chmod +x tests/bison ;;
10005 cat >>$CONFIG_STATUS <<\_ACEOF
10008 # CONFIG_HEADER section.
10011 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10012 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10014 # ac_d sets the value in "#define NAME VALUE" lines.
10015 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10016 ac_dB
='[ ].*$,\1#\2'
10019 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10020 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10021 ac_uB
='$,\1#\2define\3'
10025 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10026 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10028 - | *:- | *:-:* ) # input from stdin
10030 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10031 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10032 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10034 * ) ac_file_in
=$ac_file.
in ;;
10037 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10038 echo "$as_me: creating $ac_file" >&6;}
10040 # First look for the input files in the build tree, otherwise in the
10042 ac_file_inputs
=`IFS=:
10043 for f in $ac_file_in; do
10045 -) echo $tmp/stdin ;;
10047 # Absolute (can't be DOS-style, as IFS=:)
10048 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10049 echo "$as_me: error: cannot find input file: $f" >&2;}
10050 { (exit 1); exit 1; }; }
10053 if test -f "$f"; then
10056 elif test -f "$srcdir/$f"; then
10061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10062 echo "$as_me: error: cannot find input file: $f" >&2;}
10063 { (exit 1); exit 1; }; }
10066 done` || { (exit 1); exit 1; }
10067 # Remove the trailing spaces.
10068 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10072 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10073 # `conftest.undefs', that substitutes the proper values into
10074 # config.h.in to produce config.h. The first handles `#define'
10075 # templates, and the second `#undef' templates.
10076 # And first: Protect against being on the right side of a sed subst in
10077 # config.status. Protect against being in an unquoted here document
10078 # in config.status.
10079 rm -f conftest.defines conftest.undefs
10080 # Using a here document instead of a string reduces the quoting nightmare.
10081 # Putting comments in sed scripts is not portable.
10083 # `end' is used to avoid that the second main sed command (meant for
10084 # 0-ary CPP macros) applies to n-ary macro definitions.
10085 # See the Autoconf documentation for `clear'.
10086 cat >confdef2sed.
sed <<\_ACEOF
10091 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10093 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10096 # If some macros were called several times there might be several times
10097 # the same #defines, which is useless. Nevertheless, we may not want to
10098 # sort them, since we want the *last* AC-DEFINE to be honored.
10099 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10100 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10101 rm -f confdef2sed.sed
10103 # This sed command replaces #undef with comments. This is necessary, for
10104 # example, in the case of _POSIX_SOURCE, which is predefined and required
10105 # on some systems where configure will not decide to define it.
10106 cat >>conftest.undefs <<\_ACEOF
10107 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10110 # Break up conftest.defines because some shells have a limit on the size
10111 # of here documents, and old seds have small limits too (100 cmds).
10112 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10113 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10114 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10115 echo ' :' >>$CONFIG_STATUS
10116 rm -f conftest.tail
10117 while grep . conftest.defines >/dev/null
10119 # Write a limited-size here document to $tmp/defines.sed.
10120 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10121 # Speed up: don't consider the non `#define' lines.
10122 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10123 # Work around the forget-to-reset-the-flag bug.
10124 echo 't clr' >>$CONFIG_STATUS
10125 echo ': clr' >>$CONFIG_STATUS
10126 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10128 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10130 mv $tmp/out $tmp/in
10132 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10133 rm -f conftest.defines
10134 mv conftest.
tail conftest.defines
10136 rm -f conftest.defines
10137 echo ' fi # egrep' >>$CONFIG_STATUS
10138 echo >>$CONFIG_STATUS
10140 # Break up conftest.undefs because some shells have a limit on the size
10141 # of here documents, and old seds have small limits too (100 cmds).
10142 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10143 rm -f conftest.
tail
10144 while grep . conftest.undefs
>/dev
/null
10146 # Write a limited-size here document to $tmp/undefs.sed.
10147 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10148 # Speed up: don't consider the non
`#undef'
10149 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10150 # Work around the forget-to-reset-the-flag bug.
10151 echo 't clr' >>$CONFIG_STATUS
10152 echo ': clr' >>$CONFIG_STATUS
10153 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10155 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10157 mv $tmp/out $tmp/in
10159 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10160 rm -f conftest.undefs
10161 mv conftest.tail conftest.undefs
10163 rm -f conftest.undefs
10165 cat >>$CONFIG_STATUS <<\_ACEOF
10166 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10167 # use $as_me), people would be surprised to read:
10168 # /* config.h. Generated by config.status. */
10169 if test x
"$ac_file" = x
-; then
10170 echo "/* Generated by configure. */" >$tmp/config.h
10172 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10174 cat $tmp/in >>$tmp/config.h
10176 if test x
"$ac_file" != x
-; then
10177 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
10178 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10179 echo "$as_me: $ac_file is unchanged" >&6;}
10181 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10183 X"$ac_file" : 'X\(//\)[^/]' \| \
10184 X"$ac_file" : 'X\(//\)$' \| \
10185 X"$ac_file" : 'X\(/\)' \| \
10186 . : '\(.\)' 2>/dev/null ||
10188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10190 /^X\(\/\/\)$/{ s//\1/; q; }
10191 /^X\(\/\).*/{ s//\1/; q; }
10193 { case "$ac_dir" in
10194 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10198 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10199 case $as_mkdir_dir in
10200 # Skip DOS drivespec
10201 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10203 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10204 test -d "$as_incr_dir" ||
10205 mkdir "$as_incr_dir" ||
10206 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
10207 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
10208 { (exit 1); exit 1; }; }
10214 mv $tmp/config.h
$ac_file
10218 rm -f $tmp/config.h
10220 # Run the commands associated with the file.
10222 config.h
) # update the timestamp
10223 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
10228 cat >>$CONFIG_STATUS <<\_ACEOF
10231 # CONFIG_COMMANDS section.
10233 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10234 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10235 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10236 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10237 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10238 X"$ac_dest" : 'X\(//\)[^/]' \| \
10239 X"$ac_dest" : 'X\(//\)$' \| \
10240 X"$ac_dest" : 'X\(/\)' \| \
10241 . : '\(.\)' 2>/dev/null ||
10243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10244 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10245 /^X\(\/\/\)$/{ s//\1/; q; }
10246 /^X\(\/\).*/{ s//\1/; q; }
10250 if test "$ac_dir" != .
; then
10251 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10252 # A "../" for each directory in $ac_dir_suffix.
10253 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10255 ac_dir_suffix
= ac_top_builddir
=
10259 .
) # No --srcdir option. We are building in place.
10261 if test -z "$ac_top_builddir"; then
10264 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10266 [\\/]* | ?
:[\\/]* ) # Absolute path.
10267 ac_srcdir
=$srcdir$ac_dir_suffix;
10268 ac_top_srcdir
=$srcdir ;;
10269 *) # Relative path.
10270 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10271 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10273 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10275 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
10276 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
10277 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10278 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10281 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10282 echo "$as_me: executing $ac_dest commands" >&6;}
10284 tests
/atconfig
) cat >tests
/atconfig
<<ATEOF
10285 # Configurable variable values for building test suites.
10287 # Copyright 2000, 2001 Free Software Foundation, Inc.
10289 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
10291 abs_builddir='$ac_abs_builddir'
10292 at_srcdir='$ac_srcdir'
10293 abs_srcdir='$ac_abs_srcdir'
10294 at_top_srcdir='$ac_top_srcdir'
10295 abs_top_srcdir='$ac_abs_top_srcdir'
10296 at_top_builddir='$ac_top_builddir'
10297 abs_top_builddir='$ac_abs_top_builddir'
10299 AUTOTEST_PATH='tests'
10301 SHELL=\${CONFIG_SHELL-'$SHELL'}
10304 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
10305 # Strip MF so we end up with the name of the file.
10306 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10307 if (head -1 $mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
10308 dirpart
=`(dirname "$mf") 2>/dev/null ||
10309 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10310 X"$mf" : 'X\(//\)[^/]' \| \
10311 X"$mf" : 'X\(//\)$' \| \
10312 X"$mf" : 'X\(/\)' \| \
10313 . : '\(.\)' 2>/dev/null ||
10315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10317 /^X\(\/\/\)$/{ s//\1/; q; }
10318 /^X\(\/\).*/{ s//\1/; q; }
10323 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
10324 # Extract the definition of DEP_FILES from the Makefile without
10326 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10327 test -z "$DEPDIR" && continue
10328 # When using ansi2knr, U may be empty or an underscore; expand it
10329 U
=`sed -n -e '/^U = / s///p' < "$mf"`
10330 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10331 # We invoke sed twice because it is the simplest approach to
10332 # changing $(DEPDIR) to its actual value in the expansion.
10333 for file in `sed -n -e '
10334 /^DEP_FILES = .*\\\\$/ {
10343 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10344 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10345 # Make sure the directory exists.
10346 test -f "$dirpart/$file" && continue
10347 fdir
=`(dirname "$file") 2>/dev/null ||
10348 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10349 X"$file" : 'X\(//\)[^/]' \| \
10350 X"$file" : 'X\(//\)$' \| \
10351 X"$file" : 'X\(/\)' \| \
10352 . : '\(.\)' 2>/dev/null ||
10354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10356 /^X\(\/\/\)$/{ s//\1/; q; }
10357 /^X\(\/\).*/{ s//\1/; q; }
10359 { case $dirpart/$fdir in
10360 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10363 as_dummy
=$dirpart/$fdir
10364 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10365 case $as_mkdir_dir in
10366 # Skip DOS drivespec
10367 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10369 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10370 test -d "$as_incr_dir" ||
10371 mkdir "$as_incr_dir" ||
10372 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
10373 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
10374 { (exit 1); exit 1; }; }
10379 # echo "creating $dirpart/$file"
10380 echo '# dummy' > "$dirpart/$file"
10384 default
-1 ) for ac_file
in $CONFIG_FILES; do
10385 # Support "outfile[:infile[:infile...]]"
10387 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10389 # PO directories have a Makefile.in generated from Makefile.in.in.
10390 case "$ac_file" in */Makefile.
in)
10391 # Adjust a relative srcdir.
10392 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10393 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10394 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10395 # In autoconf-2.13 it is called $ac_given_srcdir.
10396 # In autoconf-2.50 it is called $srcdir.
10397 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10398 case "$ac_given_srcdir" in
10399 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10400 /*) top_srcdir
="$ac_given_srcdir" ;;
10401 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10403 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10404 rm -f "$ac_dir/POTFILES"
10405 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10406 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
10407 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10408 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10417 cat >>$CONFIG_STATUS <<\_ACEOF
10419 { (exit 0); exit 0; }
10421 chmod +x
$CONFIG_STATUS
10422 ac_clean_files
=$ac_clean_files_save
10425 # configure is writing to config.log, and then calls config.status.
10426 # config.status does its own redirection, appending to config.log.
10427 # Unfortunately, on DOS this fails, as config.log is still kept open
10428 # by configure, so config.status won't be able to write to it; its
10429 # output is simply discarded. So we exec the FD to /dev/null,
10430 # effectively closing config.log, so it can be properly (re)opened and
10431 # appended to by config.status. When coming back to configure, we
10432 # need to make the FD available again.
10433 if test "$no_create" != yes; then
10436 $SHELL $CONFIG_STATUS || ac_cs_success
=false
10438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10439 # would make configure fail if this is the last instruction.
10440 $ac_cs_success || { (exit 1); exit 1; }