2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.52h for GNU Bison 1.33a.
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.
12 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
32 # Support unset when possible.
33 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
39 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
41 { LANG
=C
; export LANG
; }
42 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
44 { LC_ALL
=C
; export LC_ALL
; }
45 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
47 { LC_TIME
=C
; export LC_TIME
; }
48 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE
=C
; export LC_CTYPE
; }
51 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE
=C
; export LANGUAGE
; }
54 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE
=C
; export LC_COLLATE
; }
57 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
60 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
65 # Name of the executable.
66 as_me
=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits
='0123456789'
83 as_cr_alnum
=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /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.33a'
260 PACKAGE_STRING
='GNU Bison 1.33a'
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 path for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
655 # Be sure to have absolute paths.
656 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
659 eval ac_val
=$
`echo $ac_var`
661 [\\/$
]* | ?
:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
673 # FIXME: should be removed in autoconf 3.0.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures GNU Bison 1.33a to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
822 --build=BUILD configure
for building on BUILD
[guessed
]
823 --host=HOST build programs to run on HOST
[BUILD
]
827 if test -n "$ac_init_help"; then
828 case $ac_init_help in
829 short
| recursive
) echo "Configuration of GNU Bison 1.33a:";;
834 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
835 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
836 --disable-dependency-tracking Speeds up one
-time builds
837 --enable-dependency-tracking Do not reject slow dependency extractors
838 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
839 --disable-nls do not use Native Language Support
842 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
843 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
844 --with-dmalloc use dmalloc
, as
in
845 http
://www.dmalloc.com
/dmalloc.
tar.gz
846 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
847 --with-included-gettext use the GNU
gettext library included here
849 Some influential environment variables
:
850 CC C compiler
command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
853 nonstandard directory
<lib dir
>
854 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
855 headers
in a nonstandard directory
<include dir
>
858 Use these variables to override the choices made by
`configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
861 Report bugs to <bug-bison@gnu.org>.
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
877 ac_dir_suffix= ac_top_builddir=
881 .) # No --srcdir option. We are building in place.
883 if test -z "$ac_top_builddir"; then
886 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
897 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
899 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
903 # Check for guested configure; otherwise get Cygnus style configure.
904 if test -f $ac_srcdir/configure.gnu; then
906 $SHELL $ac_srcdir/configure.gnu --help=recursive
907 elif test -f $ac_srcdir/configure; then
909 $SHELL $ac_srcdir/configure --help=recursive
910 elif test -f $ac_srcdir/configure.ac ||
911 test -f $ac_srcdir/configure.in; then
915 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921 test -n "$ac_init_help" && exit 0
922 if $ac_init_version; then
924 GNU Bison configure 1.33a
925 generated by GNU Autoconf 2.52h
927 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
928 Free Software Foundation, Inc.
929 This configure script is free software; the Free Software Foundation
930 gives unlimited permission to copy, distribute and modify it.
936 This file contains any messages produced by compilers while
937 running configure, to aid debugging if configure makes a mistake.
939 It was created by GNU Bison $as_me 1.33a, which was
940 generated by GNU Autoconf 2.52h. Invocation command line was
951 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
952 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
953 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
954 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
955 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
957 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
958 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
960 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
961 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
962 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
963 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
964 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
965 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
966 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
974 test -z "$as_dir" && as_dir=.
990 # Keep a trace of the command line.
991 # Strip out --no-create and --no-recursion so they do not pile up.
992 # Also quote any args containing shell meta-characters.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n ) continue ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1004 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1006 case " $ac_configure_args " in
1007 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1008 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1011 # Get rid of the leading space.
1014 # When interrupted or exit'd, cleanup temporary files, and complete
1015 # config.log. We remove comments because anyway the quotes in there
1016 # would cause problems or look ugly.
1017 # WARNING: Be sure not to use single quotes in there, as some shells,
1018 # such as our DU 5.0 friend, will then `close
' the trap.
1019 trap 'exit_status
=$?
1020 # Save into config.log some information that might help in debugging.
1024 ## ---------------- ##
1025 ## Cache variables. ##
1026 ## ---------------- ##
1029 # The following way of writing the cache mishandles newlines in values,
1032 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1035 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1040 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1045 if test -s confdefs.h
; then
1052 sed "/^$/d" confdefs.h
1055 test "$ac_signal" != 0 &&
1056 echo "$as_me: caught signal $ac_signal"
1057 echo "$as_me: exit $exit_status"
1059 rm -f core core.
* *.core
&&
1060 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1063 for ac_signal in 1 2 13 15; do
1064 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1068 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1069 rm -rf conftest* confdefs.h
1070 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1073 # Predefined preprocessor variables.
1075 cat >>confdefs.h <<_ACEOF
1076 #define PACKAGE_NAME "$PACKAGE_NAME"
1080 cat >>confdefs.h <<_ACEOF
1081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1085 cat >>confdefs.h <<_ACEOF
1086 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1090 cat >>confdefs.h <<_ACEOF
1091 #define PACKAGE_STRING "$PACKAGE_STRING"
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1100 # Let the site file select an alternate cache file if it wants to.
1101 # Prefer explicitly selected file to automatically selected ones.
1102 if test -z "$CONFIG_SITE"; then
1103 if test "x$prefix" != xNONE; then
1104 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1106 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1109 for ac_site_file in $CONFIG_SITE; do
1110 if test -r "$ac_site_file"; then
1111 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1112 echo "$as_me: loading site script $ac_site_file" >&6;}
1113 sed 's
/^
/| /' "$ac_site_file" >&5
1118 if test -r "$cache_file"; then
1119 # Some versions of bash will fail to source /dev/null (special
1120 # files actually), so we avoid doing that.
1121 if test -f "$cache_file"; then
1122 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1123 echo "$as_me: loading cache $cache_file" >&6;}
1125 [\\/]* | ?:[\\/]* ) . $cache_file;;
1126 *) . ./$cache_file;;
1130 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1131 echo "$as_me: creating cache $cache_file" >&6;}
1135 # Check that the precious variables saved in the cache have kept the same
1137 ac_cache_corrupted=false
1138 for ac_var in `(set) 2>&1 |
1139 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1140 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1141 eval ac_new_set=\$ac_env_${ac_var}_set
1142 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1143 eval ac_new_val="\$ac_env_${ac_var}_value"
1144 case $ac_old_set,$ac_new_set in
1146 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1147 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1148 ac_cache_corrupted=: ;;
1150 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1151 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1152 ac_cache_corrupted=: ;;
1155 if test "x$ac_old_val" != "x$ac_new_val"; then
1156 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1157 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1158 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1159 echo "$as_me: former value: $ac_old_val" >&2;}
1160 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1161 echo "$as_me: current value: $ac_new_val" >&2;}
1162 ac_cache_corrupted=:
1165 # Pass precious variables to config.status.
1166 if test "$ac_new_set" = set; then
1168 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1169 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1170 *) ac_arg=$ac_var=$ac_new_val ;;
1172 case " $ac_configure_args " in
1173 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1174 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1178 if $ac_cache_corrupted; then
1179 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1180 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1181 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1182 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1183 { (exit 1); exit 1; }; }
1187 ac_cpp='$CPP $CPPFLAGS'
1188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1189 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1218 for ac_dir in config $srcdir/config; do
1219 if test -f $ac_dir/install-sh; then
1221 ac_install_sh="$ac_aux_dir/install-sh -c"
1223 elif test -f $ac_dir/install.sh; then
1225 ac_install_sh="$ac_aux_dir/install.sh -c"
1227 elif test -f $ac_dir/shtool; then
1229 ac_install_sh="$ac_aux_dir/shtool install -c"
1233 if test -z "$ac_aux_dir"; then
1234 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1235 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1236 { (exit 1); exit 1; }; }
1238 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1239 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1240 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1243 am__api_version="1.5c"
1244 # Find a good install program. We prefer a C program (faster),
1245 # so one script is as good as another. But avoid the broken or
1246 # incompatible versions:
1247 # SysV /etc/install, /usr/sbin/install
1248 # SunOS /usr/etc/install
1249 # IRIX /sbin/install
1251 # AmigaOS /C/install, which installs bootblocks on floppy discs
1252 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1255 # ./install, which can be erroneously created by make from ./install.sh.
1256 echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
1257 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1258 if test -z "$INSTALL"; then
1259 if test "${ac_cv_path_install+set}" = set; then
1260 echo $ECHO_N "(cached) $ECHO_C" >&6
1262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1266 test -z "$as_dir" && as_dir
=.
1267 # Account for people who put trailing slashes in PATH elements.
1269 .
/ | .
// | /cC
/* | \
1270 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1273 # OSF1 and SCO ODT 3.0 have their own names for install.
1274 # Don't use installbsd from OSF since it installs stuff as root
1276 for ac_prog
in ginstall scoinst
install; do
1277 for ac_exec_ext
in '' $ac_executable_extensions; do
1278 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1279 if test $ac_prog = install &&
1280 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1281 # AIX install. It has an incompatible calling convention.
1283 elif test $ac_prog = install &&
1284 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1285 # program-specific install script used by HP pwplus--don't use.
1288 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1300 if test "${ac_cv_path_install+set}" = set; then
1301 INSTALL
=$ac_cv_path_install
1303 # As a last resort, use the slow shell script. We don't cache a
1304 # path for INSTALL within a source directory, because that will
1305 # break other packages using the cache if that directory is
1306 # removed, or if the path is relative.
1307 INSTALL
=$ac_install_sh
1310 echo "$as_me:$LINENO: result: $INSTALL" >&5
1311 echo "${ECHO_T}$INSTALL" >&6
1313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1314 # It thinks the first close brace ends the variable substitution.
1315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1319 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1321 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1322 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1325 echo timestamp
> conftest.
file
1326 # Do `set' in a subshell so we don't clobber the current shell's
1327 # arguments. Must try -L first in case configure is actually a
1328 # symlink; some systems play weird games with the mod time of symlinks
1329 # (eg FreeBSD returns the mod time of the symlink's containing
1332 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1333 if test "$*" = "X"; then
1335 set X
`ls -t $srcdir/configure conftest.file`
1338 if test "$*" != "X $srcdir/configure conftest.file" \
1339 && test "$*" != "X conftest.file $srcdir/configure"; then
1341 # If neither matched, then we have a broken ls. This can happen
1342 # if, for instance, CONFIG_SHELL is bash and it inherits a
1343 # broken ls alias from the environment. This has actually
1344 # happened. Such a system could not be considered "sane".
1345 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1346 alias in your environment" >&5
1347 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1348 alias in your environment" >&2;}
1349 { (exit 1); exit 1; }; }
1352 test "$2" = conftest.
file
1358 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1359 Check your system clock" >&5
1360 echo "$as_me: error: newly created file is older than distributed files!
1361 Check your system clock" >&2;}
1362 { (exit 1); exit 1; }; }
1364 echo "$as_me:$LINENO: result: yes" >&5
1365 echo "${ECHO_T}yes" >&6
1366 test "$program_prefix" != NONE
&&
1367 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1368 # Use a double $ so make ignores it.
1369 test "$program_suffix" != NONE
&&
1370 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1371 # Double any \ or $. echo might interpret backslashes.
1372 # By default was `s,x,x', remove it if useless.
1373 cat <<\_ACEOF
>conftest.
sed
1374 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1376 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1380 # expand $ac_aux_dir to an absolute path
1381 am_aux_dir
=`cd $ac_aux_dir && pwd`
1383 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1384 # Use eval to expand $SHELL
1385 if eval "$MISSING --run true"; then
1386 am_missing_run
="$MISSING --run "
1389 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1390 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1393 for ac_prog
in gawk mawk nawk
awk
1395 # Extract the first word of "$ac_prog", so it can be a program name with args.
1396 set dummy
$ac_prog; ac_word
=$2
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399 if test "${ac_cv_prog_AWK+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 if test -n "$AWK"; then
1403 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir
=.
1410 for ac_exec_ext
in '' $ac_executable_extensions; do
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412 ac_cv_prog_AWK
="$ac_prog"
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1422 if test -n "$AWK"; then
1423 echo "$as_me:$LINENO: result: $AWK" >&5
1424 echo "${ECHO_T}$AWK" >&6
1426 echo "$as_me:$LINENO: result: no" >&5
1427 echo "${ECHO_T}no" >&6
1430 test -n "$AWK" && break
1433 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1434 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1435 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1436 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 cat >conftest.
make <<\_ACEOF
1441 @
echo 'ac_maketemp="${MAKE}"'
1443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1444 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1445 if test -n "$ac_maketemp"; then
1446 eval ac_cv_prog_make_
${ac_make}_set
=yes
1448 eval ac_cv_prog_make_
${ac_make}_set
=no
1452 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1453 echo "$as_me:$LINENO: result: yes" >&5
1454 echo "${ECHO_T}yes" >&6
1457 echo "$as_me:$LINENO: result: no" >&5
1458 echo "${ECHO_T}no" >&6
1459 SET_MAKE
="MAKE=${MAKE-make}"
1462 # test to see if srcdir already configured
1463 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1464 test -f $srcdir/config.status
; then
1465 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1466 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1467 { (exit 1); exit 1; }; }
1470 # Define the identity of the package.
1475 cat >>confdefs.h
<<_ACEOF
1476 #define PACKAGE "$PACKAGE"
1480 cat >>confdefs.h
<<_ACEOF
1481 #define VERSION "$VERSION"
1484 # Some tools Automake needs.
1486 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1489 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1492 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1495 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1498 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1501 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1503 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1505 # Installed binaries are usually stripped using `strip' when the user
1506 # run `make install-strip'. However `strip' might not be the right
1507 # tool to use in cross-compilation environments, therefore Automake
1508 # will honor the `STRIP' environment variable to overrule this program.
1509 if test "$cross_compiling" != no
; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1512 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_STRIP+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$STRIP"; then
1519 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir
=.
1526 for ac_exec_ext
in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537 STRIP
=$ac_cv_prog_STRIP
1538 if test -n "$STRIP"; then
1539 echo "$as_me:$LINENO: result: $STRIP" >&5
1540 echo "${ECHO_T}$STRIP" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1547 if test -z "$ac_cv_prog_STRIP"; then
1549 # Extract the first word of "strip", so it can be a program name with args.
1550 set dummy strip
; ac_word
=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_STRIP"; then
1557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir
=.
1564 for ac_exec_ext
in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_STRIP
="strip"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1577 if test -n "$ac_ct_STRIP"; then
1578 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1579 echo "${ECHO_T}$ac_ct_STRIP" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1587 STRIP
="$ac_cv_prog_STRIP"
1591 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1593 # We need awk for the "check" target. The system "awk" is bad on
1598 # Add the stamp file to the list of files AC keeps track of,
1599 # along with our hook.
1600 ac_config_headers
="$ac_config_headers config.h:config.hin"
1605 # Initialize the test suite.
1606 ac_config_commands
="$ac_config_commands tests/atconfig"
1609 ac_config_files
="$ac_config_files tests/bison"
1611 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
1613 # Needed by tests/atlocal.in.
1616 # Checks for programs.
1618 ac_cpp
='$CPP $CPPFLAGS'
1619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1622 if test -n "$ac_tool_prefix"; then
1623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1624 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$CC"; then
1631 ac_cv_prog_CC
="$CC" # Let the user override the test.
1633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir
=.
1638 for ac_exec_ext
in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 if test -n "$CC"; then
1651 echo "$as_me:$LINENO: result: $CC" >&5
1652 echo "${ECHO_T}$CC" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1659 if test -z "$ac_cv_prog_CC"; then
1661 # Extract the first word of "gcc", so it can be a program name with args.
1662 set dummy gcc
; ac_word
=$2
1663 echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 if test -n "$ac_ct_CC"; then
1669 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1675 test -z "$as_dir" && as_dir
=.
1676 for ac_exec_ext
in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678 ac_cv_prog_ac_ct_CC
="gcc"
1679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1688 if test -n "$ac_ct_CC"; then
1689 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1690 echo "${ECHO_T}$ac_ct_CC" >&6
1692 echo "$as_me:$LINENO: result: no" >&5
1693 echo "${ECHO_T}no" >&6
1701 if test -z "$CC"; then
1702 if test -n "$ac_tool_prefix"; then
1703 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1704 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$CC"; then
1711 ac_cv_prog_CC
="$CC" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$CC"; then
1731 echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1739 if test -z "$ac_cv_prog_CC"; then
1741 # Extract the first word of "cc", so it can be a program name with args.
1742 set dummy cc
; ac_word
=$2
1743 echo "$as_me:$LINENO: checking for $ac_word" >&5
1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 if test -n "$ac_ct_CC"; then
1749 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1755 test -z "$as_dir" && as_dir
=.
1756 for ac_exec_ext
in '' $ac_executable_extensions; do
1757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758 ac_cv_prog_ac_ct_CC
="cc"
1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1768 if test -n "$ac_ct_CC"; then
1769 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1770 echo "${ECHO_T}$ac_ct_CC" >&6
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1782 if test -z "$CC"; then
1783 # Extract the first word of "cc", so it can be a program name with args.
1784 set dummy cc
; ac_word
=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_CC+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 if test -n "$CC"; then
1791 ac_cv_prog_CC
="$CC" # Let the user override the test.
1794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir
=.
1799 for ac_exec_ext
in '' $ac_executable_extensions; do
1800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1801 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1802 ac_prog_rejected
=yes
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 if test $ac_prog_rejected = yes; then
1813 # We found a bogon in the path, so make sure we never use it.
1814 set dummy
$ac_cv_prog_CC
1816 if test $# != 0; then
1817 # We chose a different compiler from the bogus one.
1818 # However, it has the same basename, so the bogon will be chosen
1819 # first if we set CC to just the basename; use the full file name.
1821 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1829 if test -n "$CC"; then
1830 echo "$as_me:$LINENO: result: $CC" >&5
1831 echo "${ECHO_T}$CC" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1838 if test -z "$CC"; then
1839 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1843 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC
="$CC" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test -n "$CC"; then
1870 echo "$as_me:$LINENO: result: $CC" >&5
1871 echo "${ECHO_T}$CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1877 test -n "$CC" && break
1880 if test -z "$CC"; then
1884 # Extract the first word of "$ac_prog", so it can be a program name with args.
1885 set dummy
$ac_prog; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_CC"; then
1892 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_CC
="$ac_prog"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1911 if test -n "$ac_ct_CC"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1913 echo "${ECHO_T}$ac_ct_CC" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1919 test -n "$ac_ct_CC" && break
1928 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
1929 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1930 { (exit 1); exit 1; }; }
1932 # Provide some information about the compiler.
1933 echo "$as_me:$LINENO:" \
1934 "checking for C compiler version" >&5
1935 ac_compiler
=`set X $ac_compile; echo $2`
1936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1937 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }
1941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1942 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }
1946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1947 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }
1952 cat >conftest.
$ac_ext <<_ACEOF
1953 #line $LINENO "configure"
1954 #include "confdefs.h"
1956 #ifdef F77_DUMMY_MAIN
1960 int F77_DUMMY_MAIN() { return 1; }
1970 ac_clean_files_save
=$ac_clean_files
1971 ac_clean_files
="$ac_clean_files a.out a.exe"
1972 # Try to create an executable without -o first, disregard a.out.
1973 # It will help us diagnose broken compilers, and finding out an intuition
1975 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1976 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1977 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1978 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1979 (eval $ac_link_default) 2>&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; then
1983 # Find the output, starting from the most likely. This scheme is
1984 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1987 # Be careful to initialize this variable, since it used to be cached.
1988 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1990 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1991 ls a.out conftest 2>/dev/null;
1992 ls a.* conftest.* 2>/dev/null`; do
1994 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1995 a.out
) # We found the default executable, but exeext='' is most
1998 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1999 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2006 echo "$as_me: failed program was:" >&5
2007 cat conftest.
$ac_ext >&5
2008 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2009 echo "$as_me: error: C compiler cannot create executables" >&2;}
2010 { (exit 77); exit 77; }; }
2013 ac_exeext
=$ac_cv_exeext
2014 echo "$as_me:$LINENO: result: $ac_file" >&5
2015 echo "${ECHO_T}$ac_file" >&6
2017 # Check the compiler produces executables we can run. If not, either
2018 # the compiler is broken, or we cross compile.
2019 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2020 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2022 # If not cross compiling, check that we can run a simple program.
2023 if test "$cross_compiling" != yes; then
2024 if { ac_try
='./$ac_file'
2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; }; then
2032 if test "$cross_compiling" = maybe
; then
2035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2036 If you meant to cross compile, use \`--host'." >&5
2037 echo "$as_me: error: cannot run C compiled programs.
2038 If you meant to cross compile, use \`--host'." >&2;}
2039 { (exit 1); exit 1; }; }
2043 echo "$as_me:$LINENO: result: yes" >&5
2044 echo "${ECHO_T}yes" >&6
2046 rm -f a.out a.exe conftest
$ac_cv_exeext
2047 ac_clean_files
=$ac_clean_files_save
2048 # Check the compiler produces executables we can run. If not, either
2049 # the compiler is broken, or we cross compile.
2050 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2051 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2052 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2053 echo "${ECHO_T}$cross_compiling" >&6
2055 echo "$as_me:$LINENO: checking for executable suffix" >&5
2056 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2058 (eval $ac_link) 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; then
2062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2064 # work properly (i.e., refer to `conftest.exe'), while it won't with
2066 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2068 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2069 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2076 { { echo "$as_me:$LINENO: error: cannot compute EXEEXT: cannot compile and link" >&5
2077 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2078 { (exit 1); exit 1; }; }
2081 rm -f conftest
$ac_cv_exeext
2082 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2083 echo "${ECHO_T}$ac_cv_exeext" >&6
2085 rm -f conftest.
$ac_ext
2086 EXEEXT
=$ac_cv_exeext
2088 echo "$as_me:$LINENO: checking for object suffix" >&5
2089 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2090 if test "${ac_cv_objext+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 cat >conftest.
$ac_ext <<_ACEOF
2094 #line $LINENO "configure"
2095 #include "confdefs.h"
2097 #ifdef F77_DUMMY_MAIN
2101 int F77_DUMMY_MAIN() { return 1; }
2111 rm -f conftest.o conftest.obj
2112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2113 (eval $ac_compile) 2>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; then
2117 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2119 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2120 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2125 echo "$as_me: failed program was:" >&5
2126 cat conftest.
$ac_ext >&5
2127 { { echo "$as_me:$LINENO: error: cannot compute OBJEXT: cannot compile" >&5
2128 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2129 { (exit 1); exit 1; }; }
2132 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2134 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2135 echo "${ECHO_T}$ac_cv_objext" >&6
2136 OBJEXT
=$ac_cv_objext
2138 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2139 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2140 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 cat >conftest.
$ac_ext <<_ACEOF
2144 #line $LINENO "configure"
2145 #include "confdefs.h"
2147 #ifdef F77_DUMMY_MAIN
2151 int F77_DUMMY_MAIN() { return 1; }
2164 rm -f conftest.
$ac_objext
2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166 (eval $ac_compile) 2>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); } &&
2170 { ac_try
='test -s conftest.$ac_objext'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; }; then
2178 echo "$as_me: failed program was:" >&5
2179 cat conftest.
$ac_ext >&5
2182 rm -f conftest.
$ac_objext conftest.
$ac_ext
2183 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2186 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2187 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2188 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2189 ac_test_CFLAGS
=${CFLAGS+set}
2190 ac_save_CFLAGS
=$CFLAGS
2192 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2193 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2194 if test "${ac_cv_prog_cc_g+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 cat >conftest.
$ac_ext <<_ACEOF
2198 #line $LINENO "configure"
2199 #include "confdefs.h"
2201 #ifdef F77_DUMMY_MAIN
2205 int F77_DUMMY_MAIN() { return 1; }
2215 rm -f conftest.
$ac_objext
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); } &&
2221 { ac_try
='test -s conftest.$ac_objext'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; }; then
2229 echo "$as_me: failed program was:" >&5
2230 cat conftest.
$ac_ext >&5
2233 rm -f conftest.
$ac_objext conftest.
$ac_ext
2235 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2236 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2237 if test "$ac_test_CFLAGS" = set; then
2238 CFLAGS
=$ac_save_CFLAGS
2239 elif test $ac_cv_prog_cc_g = yes; then
2240 if test "$GCC" = yes; then
2246 if test "$GCC" = yes; then
2252 # Some people use a C++ compiler to compile C. Since we use `exit',
2253 # in C++ we need to declare it. In case someone uses the same compiler
2254 # for both compiling C and C++ we need to have the C++ compiler decide
2255 # the declaration of exit, since it's the most demanding environment.
2256 cat >conftest.
$ac_ext <<_ACEOF
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); } &&
2267 { ac_try
='test -s conftest.$ac_objext'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; }; then
2273 for ac_declaration
in \
2275 '#include <stdlib.h>' \
2276 'extern "C" void std::exit (int) throw (); using std::exit;' \
2277 'extern "C" void std::exit (int); using std::exit;' \
2278 'extern "C" void exit (int) throw ();' \
2279 'extern "C" void exit (int);' \
2282 cat >conftest.
$ac_ext <<_ACEOF
2283 #line $LINENO "configure"
2284 #include "confdefs.h"
2287 #ifdef F77_DUMMY_MAIN
2291 int F77_DUMMY_MAIN() { return 1; }
2301 rm -f conftest.
$ac_objext
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } &&
2307 { ac_try
='test -s conftest.$ac_objext'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2315 echo "$as_me: failed program was:" >&5
2316 cat conftest.
$ac_ext >&5
2319 rm -f conftest.
$ac_objext conftest.
$ac_ext
2320 cat >conftest.
$ac_ext <<_ACEOF
2321 #line $LINENO "configure"
2322 #include "confdefs.h"
2324 #ifdef F77_DUMMY_MAIN
2328 int F77_DUMMY_MAIN() { return 1; }
2338 rm -f conftest.
$ac_objext
2339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340 (eval $ac_compile) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); } &&
2344 { ac_try
='test -s conftest.$ac_objext'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; }; then
2352 echo "$as_me: failed program was:" >&5
2353 cat conftest.
$ac_ext >&5
2355 rm -f conftest.
$ac_objext conftest.
$ac_ext
2358 if test -n "$ac_declaration"; then
2359 echo '#ifdef __cplusplus' >>confdefs.h
2360 echo $ac_declaration >>confdefs.h
2361 echo '#endif' >>confdefs.h
2365 echo "$as_me: failed program was:" >&5
2366 cat conftest.
$ac_ext >&5
2368 rm -f conftest.
$ac_objext conftest.
$ac_ext
2370 ac_cpp
='$CPP $CPPFLAGS'
2371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2374 rm -f .deps
2>/dev
/null
2375 mkdir .deps
2>/dev
/null
2376 if test -d .deps
; then
2379 # MS-DOS does not allow filenames that begin with a dot.
2382 rmdir .deps
2>/dev
/null
2385 ac_config_commands
="$ac_config_commands depfiles"
2388 am_make
=${MAKE-make}
2389 cat > confinc
<< 'END'
2393 # If we don't find an include directive, just comment out the code.
2394 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2395 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2399 # First try GNU make style include.
2400 echo "include confinc" > confmf
2401 # We grep out `Entering directory' and `Leaving directory'
2402 # messages which can occur if `w' ends up in MAKEFLAGS.
2403 # In particular we don't look at `^make:' because GNU make might
2404 # be invoked under some other name (usually "gmake"), in which
2405 # case it prints its new name instead of `make'.
2406 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2411 # Now try BSD make style include.
2412 if test "$am__include" = "#"; then
2413 echo '.include "confinc"' > confmf
2414 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2415 am__include
=.include
2422 echo "$as_me:$LINENO: result: $_am_result" >&5
2423 echo "${ECHO_T}$_am_result" >&6
2424 rm -f confinc confmf
2426 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2427 if test "${enable_dependency_tracking+set}" = set; then
2428 enableval
="$enable_dependency_tracking"
2431 if test "x$enable_dependency_tracking" != xno
; then
2432 am_depcomp
="$ac_aux_dir/depcomp"
2437 if test "x$enable_dependency_tracking" != xno; then
2448 depcc
="$CC" am_compiler_list
=
2450 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2451 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2452 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2456 # We make a subdir and do the tests there. Otherwise we can end up
2457 # making bogus files that we don't know about and never remove. For
2458 # instance it was reported that on HP-UX the gcc test will end up
2459 # making a dummy file named `D' -- because `-MD' means `put the output
2462 # Copy depcomp to subdir because otherwise we won't find it if we're
2463 # using a relative directory.
2464 cp "$am_depcomp" conftest.dir
2467 am_cv_CC_dependencies_compiler_type
=none
2468 if test "$am_compiler_list" = ""; then
2469 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2471 for depmode
in $am_compiler_list; do
2472 # We need to recreate these files for each test, as the compiler may
2473 # overwrite some of them when testing with obscure command lines.
2474 # This happens at least with the AIX C compiler.
2475 echo '#include "conftest.h"' > conftest.c
2476 echo 'int i;' > conftest.h
2477 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2481 # after this tag, mechanisms are not by side-effect, so they'll
2482 # only be used when explicitly requested
2483 if test "x$enable_dependency_tracking" = xyes
; then
2491 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2492 # mode. It turns out that the SunPro C++ compiler does not properly
2493 # handle `-M -o', and we need to detect this.
2494 if depmode
=$depmode \
2495 source=conftest.c object
=conftest.o \
2496 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2497 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2498 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2499 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2500 am_cv_CC_dependencies_compiler_type
=$depmode
2508 am_cv_CC_dependencies_compiler_type
=none
2512 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2513 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2514 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2519 ac_cpp
='$CPP $CPPFLAGS'
2520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2523 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2524 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2525 # On Suns, sometimes $CPP names a directory.
2526 if test -n "$CPP" && test -d "$CPP"; then
2529 if test -z "$CPP"; then
2530 if test "${ac_cv_prog_CPP+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 # Double quotes because CPP needs to be expanded
2534 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2537 for ac_c_preproc_warn_flag
in '' yes
2539 # Use a header file that comes with gcc, so configuring glibc
2540 # with a fresh cross-compiler works.
2541 # On the NeXT, cc -E runs the code through the compiler's parser,
2542 # not just through cpp. "Syntax error" is here to catch this case.
2543 cat >conftest.
$ac_ext <<_ACEOF
2544 #line $LINENO "configure"
2545 #include "confdefs.h"
2549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2552 egrep -v '^ *\+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } >/dev
/null
; then
2557 if test -s conftest.err
; then
2558 ac_cpp_err
=$ac_c_preproc_warn_flag
2565 if test -z "$ac_cpp_err"; then
2568 echo "$as_me: failed program was:" >&5
2569 cat conftest.
$ac_ext >&5
2570 # Broken: fails on valid input.
2573 rm -f conftest.err conftest.
$ac_ext
2575 # OK, works on sane cases. Now check whether non-existent headers
2576 # can be detected and how.
2577 cat >conftest.
$ac_ext <<_ACEOF
2578 #line $LINENO "configure"
2579 #include "confdefs.h"
2580 #include <ac_nonexistent.h>
2582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2585 egrep -v '^ *\+' conftest.er1
>conftest.err
2587 cat conftest.err
>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } >/dev
/null
; then
2590 if test -s conftest.err
; then
2591 ac_cpp_err
=$ac_c_preproc_warn_flag
2598 if test -z "$ac_cpp_err"; then
2599 # Broken: success on invalid input.
2602 echo "$as_me: failed program was:" >&5
2603 cat conftest.
$ac_ext >&5
2604 # Passes both tests.
2608 rm -f conftest.err conftest.
$ac_ext
2611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2612 rm -f conftest.err conftest.
$ac_ext
2613 if $ac_preproc_ok; then
2625 echo "$as_me:$LINENO: result: $CPP" >&5
2626 echo "${ECHO_T}$CPP" >&6
2628 for ac_c_preproc_warn_flag
in '' yes
2630 # Use a header file that comes with gcc, so configuring glibc
2631 # with a fresh cross-compiler works.
2632 # On the NeXT, cc -E runs the code through the compiler's parser,
2633 # not just through cpp. "Syntax error" is here to catch this case.
2634 cat >conftest.
$ac_ext <<_ACEOF
2635 #line $LINENO "configure"
2636 #include "confdefs.h"
2640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2643 egrep -v '^ *\+' conftest.er1
>conftest.err
2645 cat conftest.err
>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } >/dev
/null
; then
2648 if test -s conftest.err
; then
2649 ac_cpp_err
=$ac_c_preproc_warn_flag
2656 if test -z "$ac_cpp_err"; then
2659 echo "$as_me: failed program was:" >&5
2660 cat conftest.
$ac_ext >&5
2661 # Broken: fails on valid input.
2664 rm -f conftest.err conftest.
$ac_ext
2666 # OK, works on sane cases. Now check whether non-existent headers
2667 # can be detected and how.
2668 cat >conftest.
$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2670 #include "confdefs.h"
2671 #include <ac_nonexistent.h>
2673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2676 egrep -v '^ *\+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } >/dev
/null
; then
2681 if test -s conftest.err
; then
2682 ac_cpp_err
=$ac_c_preproc_warn_flag
2689 if test -z "$ac_cpp_err"; then
2690 # Broken: success on invalid input.
2693 echo "$as_me: failed program was:" >&5
2694 cat conftest.
$ac_ext >&5
2695 # Passes both tests.
2699 rm -f conftest.err conftest.
$ac_ext
2702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2703 rm -f conftest.err conftest.
$ac_ext
2704 if $ac_preproc_ok; then
2707 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2708 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2709 { (exit 1); exit 1; }; }
2713 ac_cpp
='$CPP $CPPFLAGS'
2714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2719 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2720 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2721 if test "${ac_cv_header_stdc+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.
$ac_ext <<_ACEOF
2725 #line $LINENO "configure"
2726 #include "confdefs.h"
2733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2736 egrep -v '^ *\+' conftest.er1
>conftest.err
2738 cat conftest.err
>&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); } >/dev
/null
; then
2741 if test -s conftest.err
; then
2742 ac_cpp_err
=$ac_c_preproc_warn_flag
2749 if test -z "$ac_cpp_err"; then
2750 ac_cv_header_stdc
=yes
2752 echo "$as_me: failed program was:" >&5
2753 cat conftest.
$ac_ext >&5
2754 ac_cv_header_stdc
=no
2756 rm -f conftest.err conftest.
$ac_ext
2758 if test $ac_cv_header_stdc = yes; then
2759 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2760 cat >conftest.
$ac_ext <<_ACEOF
2761 #line $LINENO "configure"
2762 #include "confdefs.h"
2766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2767 egrep "memchr" >/dev
/null
2>&1; then
2770 ac_cv_header_stdc
=no
2776 if test $ac_cv_header_stdc = yes; then
2777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2778 cat >conftest.
$ac_ext <<_ACEOF
2779 #line $LINENO "configure"
2780 #include "confdefs.h"
2784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2785 egrep "free" >/dev
/null
2>&1; then
2788 ac_cv_header_stdc
=no
2794 if test $ac_cv_header_stdc = yes; then
2795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2796 if test "$cross_compiling" = yes; then
2799 cat >conftest.
$ac_ext <<_ACEOF
2800 #line $LINENO "configure"
2801 #include "confdefs.h"
2803 #if ((' ' & 0x0FF) == 0x020)
2804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2807 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2808 || ('j' <= (c) && (c) <= 'r') \
2809 || ('s' <= (c) && (c) <= 'z'))
2810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2818 for (i = 0; i < 256; i++)
2819 if (XOR (islower (i), ISLOWER (i))
2820 || toupper (i) != TOUPPER (i))
2825 rm -f conftest
$ac_exeext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2827 (eval $ac_link) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2838 echo "$as_me: program exited with status $ac_status" >&5
2839 echo "$as_me: failed program was:" >&5
2840 cat conftest.
$ac_ext >&5
2842 ac_cv_header_stdc
=no
2844 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2848 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2849 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2850 if test $ac_cv_header_stdc = yes; then
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define STDC_HEADERS 1
2858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2868 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2869 inttypes.h stdint.h unistd.h
2871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2872 echo "$as_me:$LINENO: checking for $ac_header" >&5
2873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 cat >conftest.
$ac_ext <<_ACEOF
2878 #line $LINENO "configure"
2879 #include "confdefs.h"
2880 $ac_includes_default
2882 #include <$ac_header>
2884 rm -f conftest.
$ac_objext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 (eval $ac_compile) 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try
='test -s conftest.$ac_objext'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; }; then
2896 eval "$as_ac_Header=yes"
2898 echo "$as_me: failed program was:" >&5
2899 cat conftest.
$ac_ext >&5
2900 eval "$as_ac_Header=no"
2902 rm -f conftest.
$ac_objext conftest.
$ac_ext
2904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2907 cat >>confdefs.h
<<_ACEOF
2908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2916 if test "${ac_cv_header_minix_config_h+set}" = set; then
2917 echo "$as_me:$LINENO: checking for minix/config.h" >&5
2918 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2919 if test "${ac_cv_header_minix_config_h+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
2923 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2925 # Is the header compilable?
2926 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
2927 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2928 cat >conftest.
$ac_ext <<_ACEOF
2929 #line $LINENO "configure"
2930 #include "confdefs.h"
2931 $ac_includes_default
2932 #include <minix/config.h>
2934 rm -f conftest.
$ac_objext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936 (eval $ac_compile) 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } &&
2940 { ac_try
='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2946 ac_header_compiler
=yes
2948 echo "$as_me: failed program was:" >&5
2949 cat conftest.
$ac_ext >&5
2950 ac_header_compiler
=no
2952 rm -f conftest.
$ac_objext conftest.
$ac_ext
2953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2954 echo "${ECHO_T}$ac_header_compiler" >&6
2956 # Is the header present?
2957 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
2958 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2959 cat >conftest.
$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2961 #include "confdefs.h"
2962 #include <minix/config.h>
2964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2967 egrep -v '^ *\+' conftest.er1
>conftest.err
2969 cat conftest.err
>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } >/dev
/null
; then
2972 if test -s conftest.err
; then
2973 ac_cpp_err
=$ac_c_preproc_warn_flag
2980 if test -z "$ac_cpp_err"; then
2981 ac_header_preproc
=yes
2983 echo "$as_me: failed program was:" >&5
2984 cat conftest.
$ac_ext >&5
2985 ac_header_preproc
=no
2987 rm -f conftest.err conftest.
$ac_ext
2988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2989 echo "${ECHO_T}$ac_header_preproc" >&6
2991 # So? What about this header?
2992 case $ac_header_compiler:$ac_header_preproc in
2994 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2995 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2996 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2997 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2999 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled." >&5
3000 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
3001 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3002 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3003 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3004 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3006 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3007 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3008 if test "${ac_cv_header_minix_config_h+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 ac_cv_header_minix_config_h
=$ac_header_preproc
3013 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3014 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3017 if test $ac_cv_header_minix_config_h = yes; then
3024 if test "$MINIX" = yes; then
3026 cat >>confdefs.h
<<\_ACEOF
3027 #define _POSIX_SOURCE 1
3031 cat >>confdefs.h
<<\_ACEOF
3032 #define _POSIX_1_SOURCE 2
3036 cat >>confdefs.h
<<\_ACEOF
3043 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3044 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3045 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 ac_check_lib_save_LIBS
=$LIBS
3049 LIBS
="-lcposix $LIBS"
3050 cat >conftest.
$ac_ext <<_ACEOF
3051 #line $LINENO "configure"
3052 #include "confdefs.h"
3054 /* Override any gcc2 internal prototype to avoid an error. */
3058 /* We use char because int might match the return type of a gcc2
3059 builtin and then its argument prototype would still apply. */
3061 #ifdef F77_DUMMY_MAIN
3065 int F77_DUMMY_MAIN() { return 1; }
3075 rm -f conftest.
$ac_objext conftest
$ac_exeext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3077 (eval $ac_link) 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try
='test -s conftest$ac_exeext'
3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; }; then
3087 ac_cv_lib_cposix_strerror
=yes
3089 echo "$as_me: failed program was:" >&5
3090 cat conftest.
$ac_ext >&5
3091 ac_cv_lib_cposix_strerror
=no
3093 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3094 LIBS
=$ac_check_lib_save_LIBS
3096 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3097 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3098 if test $ac_cv_lib_cposix_strerror = yes; then
3099 LIBS
="$LIBS -lcposix"
3107 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3108 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3109 if test "${am_cv_prog_cc_stdc+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 am_cv_prog_cc_stdc
=no
3114 # Don't try gcc -ansi; that turns off useful extensions and
3115 # breaks some systems' header files.
3116 # AIX -qlanglvl=ansi
3117 # Ultrix and OSF/1 -std1
3118 # HP-UX 10.20 and later -Ae
3119 # HP-UX older versions -Aa -D_HPUX_SOURCE
3120 # SVR4 -Xc -D__EXTENSIONS__
3121 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3123 CC
="$ac_save_CC $ac_arg"
3124 cat >conftest.
$ac_ext <<_ACEOF
3125 #line $LINENO "configure"
3126 #include "confdefs.h"
3129 #include <sys/types.h>
3130 #include <sys/stat.h>
3131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3132 struct buf { int x; };
3133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3134 static char *e (p, i)
3140 static char *f (char * (*g) (char **, int), char **p, ...)
3145 s = g (p, va_arg (v,int));
3149 int test (int i, double x);
3150 struct s1 {int (*f) (int a);};
3151 struct s2 {int (*f) (double a);};
3152 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3156 #ifdef F77_DUMMY_MAIN
3160 int F77_DUMMY_MAIN() { return 1; }
3166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3172 rm -f conftest.
$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 am_cv_prog_cc_stdc
="$ac_arg"; break
3186 echo "$as_me: failed program was:" >&5
3187 cat conftest.
$ac_ext >&5
3189 rm -f conftest.
$ac_objext conftest.
$ac_ext
3195 if test -z "$am_cv_prog_cc_stdc"; then
3196 echo "$as_me:$LINENO: result: none needed" >&5
3197 echo "${ECHO_T}none needed" >&6
3199 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3200 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3202 case "x$am_cv_prog_cc_stdc" in
3204 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3209 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3210 echo "$as_me:$LINENO: checking for $ac_word" >&5
3211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3212 if test "${ac_cv_prog_RANLIB+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 if test -n "$RANLIB"; then
3216 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3225 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 RANLIB
=$ac_cv_prog_RANLIB
3235 if test -n "$RANLIB"; then
3236 echo "$as_me:$LINENO: result: $RANLIB" >&5
3237 echo "${ECHO_T}$RANLIB" >&6
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3244 if test -z "$ac_cv_prog_RANLIB"; then
3245 ac_ct_RANLIB
=$RANLIB
3246 # Extract the first word of "ranlib", so it can be a program name with args.
3247 set dummy ranlib
; ac_word
=$2
3248 echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3250 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 if test -n "$ac_ct_RANLIB"; then
3254 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir
=.
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3273 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3274 if test -n "$ac_ct_RANLIB"; then
3275 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3276 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3278 echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6
3282 RANLIB
=$ac_ct_RANLIB
3284 RANLIB
="$ac_cv_prog_RANLIB"
3288 AUTOM4TE
=${AUTOM4TE-"${am_missing_run}autom4te"}
3291 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
3292 if test "${enable_gcc_warnings+set}" = set; then
3293 enableval
="$enable_gcc_warnings"
3294 case "${enableval}" in
3296 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for gcc-warnings option" >&5
3297 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
3298 { (exit 1); exit 1; }; } ;;
3303 if test "${enableval}" = yes; then
3304 echo "$as_me:$LINENO: checking whether compiler accepts -Werror" >&5
3305 echo $ECHO_N "checking whether compiler accepts -Werror... $ECHO_C" >&6
3307 ac_save_CFLAGS
="$CFLAGS"
3308 CFLAGS
="$CFLAGS -Werror"
3309 cat >conftest.
$ac_ext <<_ACEOF
3310 #line $LINENO "configure"
3311 #include "confdefs.h"
3313 #ifdef F77_DUMMY_MAIN
3317 int F77_DUMMY_MAIN() { return 1; }
3327 rm -f conftest.
$ac_objext
3328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3329 (eval $ac_compile) 2>&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); } &&
3333 { ac_try
='test -s conftest.$ac_objext'
3334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }; }; then
3339 WARNING_CFLAGS
="$WARNING_CFLAGS -Werror"
3340 echo "$as_me:$LINENO: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3343 echo "$as_me: failed program was:" >&5
3344 cat conftest.
$ac_ext >&5
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3348 rm -f conftest.
$ac_objext conftest.
$ac_ext
3349 CFLAGS
="$ac_save_CFLAGS"
3350 WERROR_CFLAGS
=$WARNING_CFLAGS
3353 echo "$as_me:$LINENO: checking whether compiler accepts -Wall" >&5
3354 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
3356 ac_save_CFLAGS
="$CFLAGS"
3357 CFLAGS
="$CFLAGS -Wall"
3358 cat >conftest.
$ac_ext <<_ACEOF
3359 #line $LINENO "configure"
3360 #include "confdefs.h"
3362 #ifdef F77_DUMMY_MAIN
3366 int F77_DUMMY_MAIN() { return 1; }
3376 rm -f conftest.
$ac_objext
3377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3378 (eval $ac_compile) 2>&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } &&
3382 { ac_try
='test -s conftest.$ac_objext'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; }; then
3388 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3389 echo "$as_me:$LINENO: result: yes" >&5
3390 echo "${ECHO_T}yes" >&6
3392 echo "$as_me: failed program was:" >&5
3393 cat conftest.
$ac_ext >&5
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3397 rm -f conftest.
$ac_objext conftest.
$ac_ext
3398 CFLAGS
="$ac_save_CFLAGS"
3399 echo "$as_me:$LINENO: checking whether compiler accepts -W" >&5
3400 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3402 ac_save_CFLAGS
="$CFLAGS"
3404 cat >conftest.
$ac_ext <<_ACEOF
3405 #line $LINENO "configure"
3406 #include "confdefs.h"
3408 #ifdef F77_DUMMY_MAIN
3412 int F77_DUMMY_MAIN() { return 1; }
3422 rm -f conftest.
$ac_objext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3424 (eval $ac_compile) 2>&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } &&
3428 { ac_try
='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3435 echo "$as_me:$LINENO: result: yes" >&5
3436 echo "${ECHO_T}yes" >&6
3438 echo "$as_me: failed program was:" >&5
3439 cat conftest.
$ac_ext >&5
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3443 rm -f conftest.
$ac_objext conftest.
$ac_ext
3444 CFLAGS
="$ac_save_CFLAGS"
3445 echo "$as_me:$LINENO: checking whether compiler accepts -Wbad-function-cast" >&5
3446 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3448 ac_save_CFLAGS
="$CFLAGS"
3449 CFLAGS
="$CFLAGS -Wbad-function-cast"
3450 cat >conftest.
$ac_ext <<_ACEOF
3451 #line $LINENO "configure"
3452 #include "confdefs.h"
3454 #ifdef F77_DUMMY_MAIN
3458 int F77_DUMMY_MAIN() { return 1; }
3468 rm -f conftest.
$ac_objext
3469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3470 (eval $ac_compile) 2>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3484 echo "$as_me: failed program was:" >&5
3485 cat conftest.
$ac_ext >&5
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3489 rm -f conftest.
$ac_objext conftest.
$ac_ext
3490 CFLAGS
="$ac_save_CFLAGS"
3491 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-align" >&5
3492 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3494 ac_save_CFLAGS
="$CFLAGS"
3495 CFLAGS
="$CFLAGS -Wcast-align"
3496 cat >conftest.
$ac_ext <<_ACEOF
3497 #line $LINENO "configure"
3498 #include "confdefs.h"
3500 #ifdef F77_DUMMY_MAIN
3504 int F77_DUMMY_MAIN() { return 1; }
3514 rm -f conftest.
$ac_objext
3515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3516 (eval $ac_compile) 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3530 echo "$as_me: failed program was:" >&5
3531 cat conftest.
$ac_ext >&5
3532 echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6
3535 rm -f conftest.
$ac_objext conftest.
$ac_ext
3536 CFLAGS
="$ac_save_CFLAGS"
3537 echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-qual" >&5
3538 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3540 ac_save_CFLAGS
="$CFLAGS"
3541 CFLAGS
="$CFLAGS -Wcast-qual"
3542 cat >conftest.
$ac_ext <<_ACEOF
3543 #line $LINENO "configure"
3544 #include "confdefs.h"
3546 #ifdef F77_DUMMY_MAIN
3550 int F77_DUMMY_MAIN() { return 1; }
3560 rm -f conftest.
$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } &&
3566 { ac_try
='test -s conftest.$ac_objext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3572 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3576 echo "$as_me: failed program was:" >&5
3577 cat conftest.
$ac_ext >&5
3578 echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3581 rm -f conftest.
$ac_objext conftest.
$ac_ext
3582 CFLAGS
="$ac_save_CFLAGS"
3583 echo "$as_me:$LINENO: checking whether compiler accepts -Wformat" >&5
3584 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3586 ac_save_CFLAGS
="$CFLAGS"
3587 CFLAGS
="$CFLAGS -Wformat"
3588 cat >conftest.
$ac_ext <<_ACEOF
3589 #line $LINENO "configure"
3590 #include "confdefs.h"
3592 #ifdef F77_DUMMY_MAIN
3596 int F77_DUMMY_MAIN() { return 1; }
3606 rm -f conftest.
$ac_objext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3608 (eval $ac_compile) 2>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try
='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3622 echo "$as_me: failed program was:" >&5
3623 cat conftest.
$ac_ext >&5
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3627 rm -f conftest.
$ac_objext conftest.
$ac_ext
3628 CFLAGS
="$ac_save_CFLAGS"
3629 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-declarations" >&5
3630 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3632 ac_save_CFLAGS
="$CFLAGS"
3633 CFLAGS
="$CFLAGS -Wmissing-declarations"
3634 cat >conftest.
$ac_ext <<_ACEOF
3635 #line $LINENO "configure"
3636 #include "confdefs.h"
3638 #ifdef F77_DUMMY_MAIN
3642 int F77_DUMMY_MAIN() { return 1; }
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try
='test -s conftest.$ac_objext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3668 echo "$as_me: failed program was:" >&5
3669 cat conftest.
$ac_ext >&5
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3673 rm -f conftest.
$ac_objext conftest.
$ac_ext
3674 CFLAGS
="$ac_save_CFLAGS"
3675 echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-prototypes" >&5
3676 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3678 ac_save_CFLAGS
="$CFLAGS"
3679 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3680 cat >conftest.
$ac_ext <<_ACEOF
3681 #line $LINENO "configure"
3682 #include "confdefs.h"
3684 #ifdef F77_DUMMY_MAIN
3688 int F77_DUMMY_MAIN() { return 1; }
3698 rm -f conftest.
$ac_objext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700 (eval $ac_compile) 2>&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } &&
3704 { ac_try
='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3711 echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6
3714 echo "$as_me: failed program was:" >&5
3715 cat conftest.
$ac_ext >&5
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3719 rm -f conftest.
$ac_objext conftest.
$ac_ext
3720 CFLAGS
="$ac_save_CFLAGS"
3721 echo "$as_me:$LINENO: checking whether compiler accepts -Wnested-externs" >&5
3722 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3724 ac_save_CFLAGS
="$CFLAGS"
3725 CFLAGS
="$CFLAGS -Wnested-externs"
3726 cat >conftest.
$ac_ext <<_ACEOF
3727 #line $LINENO "configure"
3728 #include "confdefs.h"
3730 #ifdef F77_DUMMY_MAIN
3734 int F77_DUMMY_MAIN() { return 1; }
3744 rm -f conftest.
$ac_objext
3745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3746 (eval $ac_compile) 2>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } &&
3750 { ac_try
='test -s conftest.$ac_objext'
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; }; then
3756 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me: failed program was:" >&5
3761 cat conftest.
$ac_ext >&5
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3765 rm -f conftest.
$ac_objext conftest.
$ac_ext
3766 CFLAGS
="$ac_save_CFLAGS"
3767 echo "$as_me:$LINENO: checking whether compiler accepts -Wshadow" >&5
3768 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3770 ac_save_CFLAGS
="$CFLAGS"
3771 CFLAGS
="$CFLAGS -Wshadow"
3772 cat >conftest.
$ac_ext <<_ACEOF
3773 #line $LINENO "configure"
3774 #include "confdefs.h"
3776 #ifdef F77_DUMMY_MAIN
3780 int F77_DUMMY_MAIN() { return 1; }
3790 rm -f conftest.
$ac_objext
3791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3792 (eval $ac_compile) 2>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try
='test -s conftest.$ac_objext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3803 echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6
3806 echo "$as_me: failed program was:" >&5
3807 cat conftest.
$ac_ext >&5
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3811 rm -f conftest.
$ac_objext conftest.
$ac_ext
3812 CFLAGS
="$ac_save_CFLAGS"
3813 echo "$as_me:$LINENO: checking whether compiler accepts -Wstrict-prototypes" >&5
3814 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3816 ac_save_CFLAGS
="$CFLAGS"
3817 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3818 cat >conftest.
$ac_ext <<_ACEOF
3819 #line $LINENO "configure"
3820 #include "confdefs.h"
3822 #ifdef F77_DUMMY_MAIN
3826 int F77_DUMMY_MAIN() { return 1; }
3836 rm -f conftest.
$ac_objext
3837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3838 (eval $ac_compile) 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } &&
3842 { ac_try
='test -s conftest.$ac_objext'
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }; }; then
3848 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3849 echo "$as_me:$LINENO: result: yes" >&5
3850 echo "${ECHO_T}yes" >&6
3852 echo "$as_me: failed program was:" >&5
3853 cat conftest.
$ac_ext >&5
3854 echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3857 rm -f conftest.
$ac_objext conftest.
$ac_ext
3858 CFLAGS
="$ac_save_CFLAGS"
3859 echo "$as_me:$LINENO: checking whether compiler accepts -Wwrite-strings" >&5
3860 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3862 ac_save_CFLAGS
="$CFLAGS"
3863 CFLAGS
="$CFLAGS -Wwrite-strings"
3864 cat >conftest.
$ac_ext <<_ACEOF
3865 #line $LINENO "configure"
3866 #include "confdefs.h"
3868 #ifdef F77_DUMMY_MAIN
3872 int F77_DUMMY_MAIN() { return 1; }
3882 rm -f conftest.
$ac_objext
3883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3884 (eval $ac_compile) 2>&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } &&
3888 { ac_try
='test -s conftest.$ac_objext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3894 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3895 echo "$as_me:$LINENO: result: yes" >&5
3896 echo "${ECHO_T}yes" >&6
3898 echo "$as_me: failed program was:" >&5
3899 cat conftest.
$ac_ext >&5
3900 echo "$as_me:$LINENO: result: no" >&5
3901 echo "${ECHO_T}no" >&6
3903 rm -f conftest.
$ac_objext conftest.
$ac_ext
3904 CFLAGS
="$ac_save_CFLAGS"
3907 # Checks for libraries.
3909 cat >>confdefs.h
<<\_ACEOF
3910 #define _GNU_SOURCE 1
3914 # Checks for header files.
3915 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3916 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3917 if test "${ac_cv_header_stdc+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 cat >conftest.
$ac_ext <<_ACEOF
3921 #line $LINENO "configure"
3922 #include "confdefs.h"
3929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3932 egrep -v '^ *\+' conftest.er1
>conftest.err
3934 cat conftest.err
>&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } >/dev
/null
; then
3937 if test -s conftest.err
; then
3938 ac_cpp_err
=$ac_c_preproc_warn_flag
3945 if test -z "$ac_cpp_err"; then
3946 ac_cv_header_stdc
=yes
3948 echo "$as_me: failed program was:" >&5
3949 cat conftest.
$ac_ext >&5
3950 ac_cv_header_stdc
=no
3952 rm -f conftest.err conftest.
$ac_ext
3954 if test $ac_cv_header_stdc = yes; then
3955 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3956 cat >conftest.
$ac_ext <<_ACEOF
3957 #line $LINENO "configure"
3958 #include "confdefs.h"
3962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3963 egrep "memchr" >/dev
/null
2>&1; then
3966 ac_cv_header_stdc
=no
3972 if test $ac_cv_header_stdc = yes; then
3973 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3974 cat >conftest.
$ac_ext <<_ACEOF
3975 #line $LINENO "configure"
3976 #include "confdefs.h"
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981 egrep "free" >/dev
/null
2>&1; then
3984 ac_cv_header_stdc
=no
3990 if test $ac_cv_header_stdc = yes; then
3991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3992 if test "$cross_compiling" = yes; then
3995 cat >conftest.
$ac_ext <<_ACEOF
3996 #line $LINENO "configure"
3997 #include "confdefs.h"
3999 #if ((' ' & 0x0FF) == 0x020)
4000 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4001 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4003 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4004 || ('j' <= (c) && (c) <= 'r') \
4005 || ('s' <= (c) && (c) <= 'z'))
4006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4014 for (i = 0; i < 256; i++)
4015 if (XOR (islower (i), ISLOWER (i))
4016 || toupper (i) != TOUPPER (i))
4021 rm -f conftest
$ac_exeext
4022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4023 (eval $ac_link) 2>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; }; then
4034 echo "$as_me: program exited with status $ac_status" >&5
4035 echo "$as_me: failed program was:" >&5
4036 cat conftest.
$ac_ext >&5
4038 ac_cv_header_stdc
=no
4040 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4044 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4045 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4046 if test $ac_cv_header_stdc = yes; then
4048 cat >>confdefs.h
<<\_ACEOF
4049 #define STDC_HEADERS 1
4060 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
4062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4064 echo "$as_me:$LINENO: checking for $ac_header" >&5
4065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4072 # Is the header compilable?
4073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4076 #line $LINENO "configure"
4077 #include "confdefs.h"
4078 $ac_includes_default
4079 #include <$ac_header>
4081 rm -f conftest.
$ac_objext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4083 (eval $ac_compile) 2>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } &&
4087 { ac_try
='test -s conftest.$ac_objext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_header_compiler
=yes
4095 echo "$as_me: failed program was:" >&5
4096 cat conftest.
$ac_ext >&5
4097 ac_header_compiler
=no
4099 rm -f conftest.
$ac_objext conftest.
$ac_ext
4100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4101 echo "${ECHO_T}$ac_header_compiler" >&6
4103 # Is the header present?
4104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4106 cat >conftest.
$ac_ext <<_ACEOF
4107 #line $LINENO "configure"
4108 #include "confdefs.h"
4109 #include <$ac_header>
4111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4114 egrep -v '^ *\+' conftest.er1
>conftest.err
4116 cat conftest.err
>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } >/dev
/null
; then
4119 if test -s conftest.err
; then
4120 ac_cpp_err
=$ac_c_preproc_warn_flag
4127 if test -z "$ac_cpp_err"; then
4128 ac_header_preproc
=yes
4130 echo "$as_me: failed program was:" >&5
4131 cat conftest.
$ac_ext >&5
4132 ac_header_preproc
=no
4134 rm -f conftest.err conftest.
$ac_ext
4135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4136 echo "${ECHO_T}$ac_header_preproc" >&6
4138 # So? What about this header?
4139 case $ac_header_compiler:$ac_header_preproc in
4141 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4142 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
4147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4153 echo "$as_me:$LINENO: checking for $ac_header" >&5
4154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 eval "$as_ac_Header=$ac_header_preproc"
4160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4165 cat >>confdefs.h
<<_ACEOF
4166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4174 # Checks for typedefs.
4176 # Checks for structures.
4178 # Checks for compiler characteristics.
4179 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4180 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4181 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 ac_cv_prog_cc_stdc
=no
4186 cat >conftest.
$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4188 #include "confdefs.h"
4191 #include <sys/types.h>
4192 #include <sys/stat.h>
4193 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4194 struct buf { int x; };
4195 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4196 static char *e (p, i)
4202 static char *f (char * (*g) (char **, int), char **p, ...)
4207 s = g (p, va_arg (v,int));
4211 int test (int i, double x);
4212 struct s1 {int (*f) (int a);};
4213 struct s2 {int (*f) (double a);};
4214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4217 #ifdef F77_DUMMY_MAIN
4221 int F77_DUMMY_MAIN() { return 1; }
4226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4231 # Don't try gcc -ansi; that turns off useful extensions and
4232 # breaks some systems' header files.
4233 # AIX -qlanglvl=ansi
4234 # Ultrix and OSF/1 -std1
4235 # HP-UX 10.20 and later -Ae
4236 # HP-UX older versions -Aa -D_HPUX_SOURCE
4237 # SVR4 -Xc -D__EXTENSIONS__
4238 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4240 CC
="$ac_save_CC $ac_arg"
4241 rm -f conftest.
$ac_objext
4242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4243 (eval $ac_compile) 2>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try
='test -s conftest.$ac_objext'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4253 ac_cv_prog_cc_stdc
=$ac_arg
4256 echo "$as_me: failed program was:" >&5
4257 cat conftest.
$ac_ext >&5
4259 rm -f conftest.
$ac_objext
4261 rm -f conftest.
$ac_ext conftest.
$ac_objext
4266 case "x$ac_cv_prog_cc_stdc" in
4268 echo "$as_me:$LINENO: result: none needed" >&5
4269 echo "${ECHO_T}none needed" >&6 ;;
4271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4272 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4273 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4276 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4277 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4278 if test "${ac_cv_c_const+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 cat >conftest.
$ac_ext <<_ACEOF
4282 #line $LINENO "configure"
4283 #include "confdefs.h"
4285 #ifdef F77_DUMMY_MAIN
4289 int F77_DUMMY_MAIN() { return 1; }
4294 /* FIXME: Include the comments suggested by Paul. */
4296 /* Ultrix mips cc rejects this. */
4297 typedef int charset[2];
4299 /* SunOS 4.1.1 cc rejects this. */
4300 char const *const *ccp;
4302 /* NEC SVR4.0.2 mips cc rejects this. */
4303 struct point {int x, y;};
4304 static struct point const zero = {0,0};
4305 /* AIX XL C 1.02.0.0 rejects this.
4306 It does not let you subtract one const X* pointer from another in
4307 an arm of an if-expression whose if-part is not a constant
4309 const char *g = "string";
4310 ccp = &g + (g ? g-g : 0);
4311 /* HPUX 7.0 cc rejects these. */
4314 ccp = (char const *const *) p;
4315 { /* SCO 3.2v4 cc rejects this. */
4317 char const *s = 0 ? (char *) 0 : (char const *) 0;
4321 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4323 const int *foo = &x[0];
4326 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4327 typedef const int *iptr;
4331 { /* AIX XL C 1.02.0.0 rejects this saying
4332 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4333 struct s { int j; const int *ap[3]; };
4334 struct s *b; b->j = 5;
4336 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4345 rm -f conftest.
$ac_objext
4346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4347 (eval $ac_compile) 2>&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); } &&
4351 { ac_try
='test -s conftest.$ac_objext'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then
4359 echo "$as_me: failed program was:" >&5
4360 cat conftest.
$ac_ext >&5
4363 rm -f conftest.
$ac_objext conftest.
$ac_ext
4365 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4366 echo "${ECHO_T}$ac_cv_c_const" >&6
4367 if test $ac_cv_c_const = no
; then
4369 cat >>confdefs.h
<<\_ACEOF
4375 echo "$as_me:$LINENO: checking for inline" >&5
4376 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4377 if test "${ac_cv_c_inline+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 for ac_kw
in inline __inline__ __inline
; do
4382 cat >conftest.
$ac_ext <<_ACEOF
4383 #line $LINENO "configure"
4384 #include "confdefs.h"
4386 static $ac_kw int static_foo () {return 0; }
4387 $ac_kw int foo () {return 0; }
4391 rm -f conftest.
$ac_objext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393 (eval $ac_compile) 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } &&
4397 { ac_try
='test -s conftest.$ac_objext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4403 ac_cv_c_inline
=$ac_kw; break
4405 echo "$as_me: failed program was:" >&5
4406 cat conftest.
$ac_ext >&5
4408 rm -f conftest.
$ac_objext conftest.
$ac_ext
4412 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4413 echo "${ECHO_T}$ac_cv_c_inline" >&6
4414 case $ac_cv_c_inline in
4417 cat >>confdefs.h
<<\_ACEOF
4421 *) cat >>confdefs.h
<<_ACEOF
4422 #define inline $ac_cv_c_inline
4429 echo "$as_me:$LINENO: checking for function prototypes" >&5
4430 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4431 if test "$am_cv_prog_cc_stdc" != no
; then
4432 echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4435 cat >>confdefs.h
<<\_ACEOF
4436 #define PROTOTYPES 1
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4443 U
=_ ANSI2KNR
=.
/ansi2knr
4445 # Ensure some checks needed by ansi2knr itself.
4446 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4447 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4448 if test "${ac_cv_header_stdc+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 cat >conftest.
$ac_ext <<_ACEOF
4452 #line $LINENO "configure"
4453 #include "confdefs.h"
4460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4463 egrep -v '^ *\+' conftest.er1
>conftest.err
4465 cat conftest.err
>&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } >/dev
/null
; then
4468 if test -s conftest.err
; then
4469 ac_cpp_err
=$ac_c_preproc_warn_flag
4476 if test -z "$ac_cpp_err"; then
4477 ac_cv_header_stdc
=yes
4479 echo "$as_me: failed program was:" >&5
4480 cat conftest.
$ac_ext >&5
4481 ac_cv_header_stdc
=no
4483 rm -f conftest.err conftest.
$ac_ext
4485 if test $ac_cv_header_stdc = yes; then
4486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4487 cat >conftest.
$ac_ext <<_ACEOF
4488 #line $LINENO "configure"
4489 #include "confdefs.h"
4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4494 egrep "memchr" >/dev
/null
2>&1; then
4497 ac_cv_header_stdc
=no
4503 if test $ac_cv_header_stdc = yes; then
4504 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4505 cat >conftest.
$ac_ext <<_ACEOF
4506 #line $LINENO "configure"
4507 #include "confdefs.h"
4511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4512 egrep "free" >/dev
/null
2>&1; then
4515 ac_cv_header_stdc
=no
4521 if test $ac_cv_header_stdc = yes; then
4522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4523 if test "$cross_compiling" = yes; then
4526 cat >conftest.
$ac_ext <<_ACEOF
4527 #line $LINENO "configure"
4528 #include "confdefs.h"
4530 #if ((' ' & 0x0FF) == 0x020)
4531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4534 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4535 || ('j' <= (c) && (c) <= 'r') \
4536 || ('s' <= (c) && (c) <= 'z'))
4537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4545 for (i = 0; i < 256; i++)
4546 if (XOR (islower (i), ISLOWER (i))
4547 || toupper (i) != TOUPPER (i))
4552 rm -f conftest
$ac_exeext
4553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4554 (eval $ac_link) 2>&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; }; then
4565 echo "$as_me: program exited with status $ac_status" >&5
4566 echo "$as_me: failed program was:" >&5
4567 cat conftest.
$ac_ext >&5
4569 ac_cv_header_stdc
=no
4571 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4575 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4576 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4577 if test $ac_cv_header_stdc = yes; then
4579 cat >>confdefs.h
<<\_ACEOF
4580 #define STDC_HEADERS 1
4586 for ac_header
in string.h
4588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4590 echo "$as_me:$LINENO: checking for $ac_header" >&5
4591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4598 # Is the header compilable?
4599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4601 cat >conftest.
$ac_ext <<_ACEOF
4602 #line $LINENO "configure"
4603 #include "confdefs.h"
4604 $ac_includes_default
4605 #include <$ac_header>
4607 rm -f conftest.
$ac_objext
4608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4609 (eval $ac_compile) 2>&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); } &&
4613 { ac_try
='test -s conftest.$ac_objext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 ac_header_compiler
=yes
4621 echo "$as_me: failed program was:" >&5
4622 cat conftest.
$ac_ext >&5
4623 ac_header_compiler
=no
4625 rm -f conftest.
$ac_objext conftest.
$ac_ext
4626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4627 echo "${ECHO_T}$ac_header_compiler" >&6
4629 # Is the header present?
4630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4632 cat >conftest.
$ac_ext <<_ACEOF
4633 #line $LINENO "configure"
4634 #include "confdefs.h"
4635 #include <$ac_header>
4637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4640 egrep -v '^ *\+' conftest.er1
>conftest.err
4642 cat conftest.err
>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } >/dev
/null
; then
4645 if test -s conftest.err
; then
4646 ac_cpp_err
=$ac_c_preproc_warn_flag
4653 if test -z "$ac_cpp_err"; then
4654 ac_header_preproc
=yes
4656 echo "$as_me: failed program was:" >&5
4657 cat conftest.
$ac_ext >&5
4658 ac_header_preproc
=no
4660 rm -f conftest.err conftest.
$ac_ext
4661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4662 echo "${ECHO_T}$ac_header_preproc" >&6
4664 # So? What about this header?
4665 case $ac_header_compiler:$ac_header_preproc in
4667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
4673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4679 echo "$as_me:$LINENO: checking for $ac_header" >&5
4680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 eval "$as_ac_Header=$ac_header_preproc"
4686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4691 cat >>confdefs.h
<<_ACEOF
4692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4701 # Checks for library functions.
4702 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4703 # for constant arguments. Useless!
4704 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4705 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4706 if test "${ac_cv_working_alloca_h+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.
$ac_ext <<_ACEOF
4710 #line $LINENO "configure"
4711 #include "confdefs.h"
4713 #ifdef F77_DUMMY_MAIN
4717 int F77_DUMMY_MAIN() { return 1; }
4722 char *p = (char *) alloca (2 * sizeof (int));
4727 rm -f conftest.
$ac_objext conftest
$ac_exeext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4729 (eval $ac_link) 2>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try
='test -s conftest$ac_exeext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_cv_working_alloca_h
=yes
4741 echo "$as_me: failed program was:" >&5
4742 cat conftest.
$ac_ext >&5
4743 ac_cv_working_alloca_h
=no
4745 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4747 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4748 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4749 if test $ac_cv_working_alloca_h = yes; then
4751 cat >>confdefs.h
<<\_ACEOF
4752 #define HAVE_ALLOCA_H 1
4757 echo "$as_me:$LINENO: checking for alloca" >&5
4758 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4759 if test "${ac_cv_func_alloca_works+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 cat >conftest.
$ac_ext <<_ACEOF
4763 #line $LINENO "configure"
4764 #include "confdefs.h"
4766 # define alloca __builtin_alloca
4769 # include <malloc.h>
4770 # define alloca _alloca
4773 # include <alloca.h>
4778 # ifndef alloca /* predefined by HP cc +Olibcalls */
4786 #ifdef F77_DUMMY_MAIN
4790 int F77_DUMMY_MAIN() { return 1; }
4795 char *p = (char *) alloca (1);
4800 rm -f conftest.
$ac_objext conftest
$ac_exeext
4801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4802 (eval $ac_link) 2>&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } &&
4806 { ac_try
='test -s conftest$ac_exeext'
4807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); }; }; then
4812 ac_cv_func_alloca_works
=yes
4814 echo "$as_me: failed program was:" >&5
4815 cat conftest.
$ac_ext >&5
4816 ac_cv_func_alloca_works
=no
4818 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4820 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4821 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4823 if test $ac_cv_func_alloca_works = yes; then
4825 cat >>confdefs.h
<<\_ACEOF
4826 #define HAVE_ALLOCA 1
4830 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4831 # that cause trouble. Some versions do not even contain alloca or
4832 # contain a buggy version. If you still want to use their alloca,
4833 # use ar to extract alloca.o from them instead of compiling alloca.c.
4835 ALLOCA
=alloca.
$ac_objext
4837 cat >>confdefs.h
<<\_ACEOF
4842 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4843 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4844 if test "${ac_cv_os_cray+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 cat >conftest.
$ac_ext <<_ACEOF
4848 #line $LINENO "configure"
4849 #include "confdefs.h"
4850 #if defined(CRAY) && ! defined(CRAY2)
4857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4858 egrep "webecray" >/dev
/null
2>&1; then
4866 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4867 echo "${ECHO_T}$ac_cv_os_cray" >&6
4868 if test $ac_cv_os_cray = yes; then
4869 for ac_func
in _getb67 GETB67 getb67
; do
4870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4871 echo "$as_me:$LINENO: checking for $ac_func" >&5
4872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4873 if eval "test \"\${$as_ac_var+set}\" = set"; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 cat >conftest.
$ac_ext <<_ACEOF
4877 #line $LINENO "configure"
4878 #include "confdefs.h"
4879 /* System header to define __stub macros and hopefully few prototypes,
4880 which can conflict with char $ac_func (); below. */
4882 /* Override any gcc2 internal prototype to avoid an error. */
4886 /* We use char because int might match the return type of a gcc2
4887 builtin and then its argument prototype would still apply. */
4891 #ifdef F77_DUMMY_MAIN
4895 int F77_DUMMY_MAIN() { return 1; }
4900 /* The GNU C library defines this for functions which it implements
4901 to always fail with ENOSYS. Some functions are actually named
4902 something starting with __ and the normal name is an alias. */
4903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4913 rm -f conftest.
$ac_objext conftest
$ac_exeext
4914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4915 (eval $ac_link) 2>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } &&
4919 { ac_try
='test -s conftest$ac_exeext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 eval "$as_ac_var=yes"
4927 echo "$as_me: failed program was:" >&5
4928 cat conftest.
$ac_ext >&5
4929 eval "$as_ac_var=no"
4931 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4935 if test `eval echo '${'$as_ac_var'}'` = yes; then
4937 cat >>confdefs.h
<<_ACEOF
4938 #define CRAY_STACKSEG_END $ac_func
4947 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4948 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4949 if test "${ac_cv_c_stack_direction+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4952 if test "$cross_compiling" = yes; then
4953 ac_cv_c_stack_direction
=0
4955 cat >conftest.
$ac_ext <<_ACEOF
4956 #line $LINENO "configure"
4957 #include "confdefs.h"
4959 find_stack_direction ()
4961 static char *addr = 0;
4966 return find_stack_direction ();
4969 return (&dummy > addr) ? 1 : -1;
4975 exit (find_stack_direction () < 0);
4978 rm -f conftest
$ac_exeext
4979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4980 (eval $ac_link) 2>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 ac_cv_c_stack_direction
=1
4991 echo "$as_me: program exited with status $ac_status" >&5
4992 echo "$as_me: failed program was:" >&5
4993 cat conftest.
$ac_ext >&5
4995 ac_cv_c_stack_direction
=-1
4997 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5000 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5001 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5003 cat >>confdefs.h
<<_ACEOF
5004 #define STACK_DIRECTION $ac_cv_c_stack_direction
5010 echo "$as_me:$LINENO: checking for obstacks" >&5
5011 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
5012 if test "${ac_cv_func_obstack+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 cat >conftest.
$ac_ext <<_ACEOF
5016 #line $LINENO "configure"
5017 #include "confdefs.h"
5018 #include "obstack.h"
5019 #ifdef F77_DUMMY_MAIN
5023 int F77_DUMMY_MAIN() { return 1; }
5028 struct obstack *mem; obstack_free(mem,(char *) 0)
5033 rm -f conftest.
$ac_objext conftest
$ac_exeext
5034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5035 (eval $ac_link) 2>&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } &&
5039 { ac_try
='test -s conftest$ac_exeext'
5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_func_obstack
=yes
5047 echo "$as_me: failed program was:" >&5
5048 cat conftest.
$ac_ext >&5
5049 ac_cv_func_obstack
=no
5051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5053 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
5054 echo "${ECHO_T}$ac_cv_func_obstack" >&6
5055 if test $ac_cv_func_obstack = yes; then
5057 cat >>confdefs.h
<<\_ACEOF
5058 #define HAVE_OBSTACK 1
5062 LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5065 echo "$as_me:$LINENO: checking for error_at_line" >&5
5066 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
5067 if test "${ac_cv_lib_error_at_line+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 cat >conftest.
$ac_ext <<_ACEOF
5071 #line $LINENO "configure"
5072 #include "confdefs.h"
5074 #ifdef F77_DUMMY_MAIN
5078 int F77_DUMMY_MAIN() { return 1; }
5083 error_at_line (0, 0, "", 0, "");
5088 rm -f conftest.
$ac_objext conftest
$ac_exeext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5090 (eval $ac_link) 2>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } &&
5094 { ac_try
='test -s conftest$ac_exeext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5100 ac_cv_lib_error_at_line
=yes
5102 echo "$as_me: failed program was:" >&5
5103 cat conftest.
$ac_ext >&5
5104 ac_cv_lib_error_at_line
=no
5106 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5108 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
5109 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
5110 if test $ac_cv_lib_error_at_line = no
; then
5111 LIBOBJS
="$LIBOBJS error.$ac_objext"
5114 echo "$as_me:$LINENO: checking for working strnlen" >&5
5115 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6
5116 if test "${ac_cv_func_strnlen_working+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 if test "$cross_compiling" = yes; then
5120 ac_cv_func_strnlen_working
=no
5122 cat >conftest.
$ac_ext <<_ACEOF
5123 #line $LINENO "configure"
5124 #include "confdefs.h"
5126 #ifdef F77_DUMMY_MAIN
5130 int F77_DUMMY_MAIN() { return 1; }
5137 #define S_LEN (sizeof S - 1)
5139 /* At least one implementation is buggy: that of AIX 4.3 would
5140 give strnlen (S, 1) == 3. */
5143 for (i = 0; i < S_LEN + 1; ++i)
5145 int expected = i <= S_LEN ? i : S_LEN;
5146 if (strnlen (S, i) != expected)
5155 rm -f conftest
$ac_exeext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5157 (eval $ac_link) 2>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); }; }; then
5166 ac_cv_func_strnlen_working
=yes
5168 echo "$as_me: program exited with status $ac_status" >&5
5169 echo "$as_me: failed program was:" >&5
5170 cat conftest.
$ac_ext >&5
5172 ac_cv_func_strnlen_working
=no
5174 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5177 echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
5178 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6
5179 test $ac_cv_func_strnlen_working = no
&& LIBOBJS
="$LIBOBJS strnlen.$ac_objext"
5183 for ac_func
in mkstemp setlocale
5185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5186 echo "$as_me:$LINENO: checking for $ac_func" >&5
5187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5188 if eval "test \"\${$as_ac_var+set}\" = set"; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 cat >conftest.
$ac_ext <<_ACEOF
5192 #line $LINENO "configure"
5193 #include "confdefs.h"
5194 /* System header to define __stub macros and hopefully few prototypes,
5195 which can conflict with char $ac_func (); below. */
5197 /* Override any gcc2 internal prototype to avoid an error. */
5201 /* We use char because int might match the return type of a gcc2
5202 builtin and then its argument prototype would still apply. */
5206 #ifdef F77_DUMMY_MAIN
5210 int F77_DUMMY_MAIN() { return 1; }
5215 /* The GNU C library defines this for functions which it implements
5216 to always fail with ENOSYS. Some functions are actually named
5217 something starting with __ and the normal name is an alias. */
5218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5228 rm -f conftest.
$ac_objext conftest
$ac_exeext
5229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5230 (eval $ac_link) 2>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } &&
5234 { ac_try
='test -s conftest$ac_exeext'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
5240 eval "$as_ac_var=yes"
5242 echo "$as_me: failed program was:" >&5
5243 cat conftest.
$ac_ext >&5
5244 eval "$as_ac_var=no"
5246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5250 if test `eval echo '${'$as_ac_var'}'` = yes; then
5251 cat >>confdefs.h
<<_ACEOF
5252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5258 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
5259 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
5260 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 cat >conftest.
$ac_ext <<_ACEOF
5264 #line $LINENO "configure"
5265 #include "confdefs.h"
5266 $ac_includes_default
5267 #ifdef F77_DUMMY_MAIN
5271 int F77_DUMMY_MAIN() { return 1; }
5277 char *p = (char *) stpcpy;
5284 rm -f conftest.
$ac_objext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5286 (eval $ac_compile) 2>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } &&
5290 { ac_try
='test -s conftest.$ac_objext'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5296 ac_cv_have_decl_stpcpy
=yes
5298 echo "$as_me: failed program was:" >&5
5299 cat conftest.
$ac_ext >&5
5300 ac_cv_have_decl_stpcpy
=no
5302 rm -f conftest.
$ac_objext conftest.
$ac_ext
5304 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
5305 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
5306 if test $ac_cv_have_decl_stpcpy = yes; then
5308 cat >>confdefs.h
<<_ACEOF
5309 #define HAVE_DECL_STPCPY 1
5314 cat >>confdefs.h
<<_ACEOF
5315 #define HAVE_DECL_STPCPY 0
5320 echo "$as_me:$LINENO: checking whether strchr is declared" >&5
5321 echo $ECHO_N "checking whether strchr is declared... $ECHO_C" >&6
5322 if test "${ac_cv_have_decl_strchr+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 cat >conftest.
$ac_ext <<_ACEOF
5326 #line $LINENO "configure"
5327 #include "confdefs.h"
5328 $ac_includes_default
5329 #ifdef F77_DUMMY_MAIN
5333 int F77_DUMMY_MAIN() { return 1; }
5339 char *p = (char *) strchr;
5346 rm -f conftest.
$ac_objext
5347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5348 (eval $ac_compile) 2>&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } &&
5352 { ac_try
='test -s conftest.$ac_objext'
5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }; }; then
5358 ac_cv_have_decl_strchr
=yes
5360 echo "$as_me: failed program was:" >&5
5361 cat conftest.
$ac_ext >&5
5362 ac_cv_have_decl_strchr
=no
5364 rm -f conftest.
$ac_objext conftest.
$ac_ext
5366 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strchr" >&5
5367 echo "${ECHO_T}$ac_cv_have_decl_strchr" >&6
5368 if test $ac_cv_have_decl_strchr = yes; then
5370 cat >>confdefs.h
<<_ACEOF
5371 #define HAVE_DECL_STRCHR 1
5376 cat >>confdefs.h
<<_ACEOF
5377 #define HAVE_DECL_STRCHR 0
5382 echo "$as_me:$LINENO: checking whether strspn is declared" >&5
5383 echo $ECHO_N "checking whether strspn is declared... $ECHO_C" >&6
5384 if test "${ac_cv_have_decl_strspn+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 cat >conftest.
$ac_ext <<_ACEOF
5388 #line $LINENO "configure"
5389 #include "confdefs.h"
5390 $ac_includes_default
5391 #ifdef F77_DUMMY_MAIN
5395 int F77_DUMMY_MAIN() { return 1; }
5401 char *p = (char *) strspn;
5408 rm -f conftest.
$ac_objext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5410 (eval $ac_compile) 2>&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } &&
5414 { ac_try
='test -s conftest.$ac_objext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 ac_cv_have_decl_strspn
=yes
5422 echo "$as_me: failed program was:" >&5
5423 cat conftest.
$ac_ext >&5
5424 ac_cv_have_decl_strspn
=no
5426 rm -f conftest.
$ac_objext conftest.
$ac_ext
5428 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strspn" >&5
5429 echo "${ECHO_T}$ac_cv_have_decl_strspn" >&6
5430 if test $ac_cv_have_decl_strspn = yes; then
5432 cat >>confdefs.h
<<_ACEOF
5433 #define HAVE_DECL_STRSPN 1
5438 cat >>confdefs.h
<<_ACEOF
5439 #define HAVE_DECL_STRSPN 0
5444 echo "$as_me:$LINENO: checking whether strnlen is declared" >&5
5445 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
5446 if test "${ac_cv_have_decl_strnlen+set}" = set; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 cat >conftest.
$ac_ext <<_ACEOF
5450 #line $LINENO "configure"
5451 #include "confdefs.h"
5452 $ac_includes_default
5453 #ifdef F77_DUMMY_MAIN
5457 int F77_DUMMY_MAIN() { return 1; }
5463 char *p = (char *) strnlen;
5470 rm -f conftest.
$ac_objext
5471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5472 (eval $ac_compile) 2>&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } &&
5476 { ac_try
='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 ac_cv_have_decl_strnlen
=yes
5484 echo "$as_me: failed program was:" >&5
5485 cat conftest.
$ac_ext >&5
5486 ac_cv_have_decl_strnlen
=no
5488 rm -f conftest.
$ac_objext conftest.
$ac_ext
5490 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5
5491 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
5492 if test $ac_cv_have_decl_strnlen = yes; then
5494 cat >>confdefs.h
<<_ACEOF
5495 #define HAVE_DECL_STRNLEN 1
5500 cat >>confdefs.h
<<_ACEOF
5501 #define HAVE_DECL_STRNLEN 0
5506 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
5507 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
5508 if test "${ac_cv_have_decl_memchr+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 cat >conftest.
$ac_ext <<_ACEOF
5512 #line $LINENO "configure"
5513 #include "confdefs.h"
5514 $ac_includes_default
5515 #ifdef F77_DUMMY_MAIN
5519 int F77_DUMMY_MAIN() { return 1; }
5525 char *p = (char *) memchr;
5532 rm -f conftest.
$ac_objext
5533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5534 (eval $ac_compile) 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 { ac_try
='test -s conftest.$ac_objext'
5539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); }; }; then
5544 ac_cv_have_decl_memchr
=yes
5546 echo "$as_me: failed program was:" >&5
5547 cat conftest.
$ac_ext >&5
5548 ac_cv_have_decl_memchr
=no
5550 rm -f conftest.
$ac_objext conftest.
$ac_ext
5552 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
5553 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
5554 if test $ac_cv_have_decl_memchr = yes; then
5556 cat >>confdefs.h
<<_ACEOF
5557 #define HAVE_DECL_MEMCHR 1
5562 cat >>confdefs.h
<<_ACEOF
5563 #define HAVE_DECL_MEMCHR 0
5568 echo "$as_me:$LINENO: checking whether memrchr is declared" >&5
5569 echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6
5570 if test "${ac_cv_have_decl_memrchr+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 cat >conftest.
$ac_ext <<_ACEOF
5574 #line $LINENO "configure"
5575 #include "confdefs.h"
5576 $ac_includes_default
5577 #ifdef F77_DUMMY_MAIN
5581 int F77_DUMMY_MAIN() { return 1; }
5587 char *p = (char *) memrchr;
5594 rm -f conftest.
$ac_objext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } &&
5600 { ac_try
='test -s conftest.$ac_objext'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 ac_cv_have_decl_memrchr
=yes
5608 echo "$as_me: failed program was:" >&5
5609 cat conftest.
$ac_ext >&5
5610 ac_cv_have_decl_memrchr
=no
5612 rm -f conftest.
$ac_objext conftest.
$ac_ext
5614 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memrchr" >&5
5615 echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6
5616 if test $ac_cv_have_decl_memrchr = yes; then
5618 cat >>confdefs.h
<<_ACEOF
5619 #define HAVE_DECL_MEMRCHR 1
5624 cat >>confdefs.h
<<_ACEOF
5625 #define HAVE_DECL_MEMRCHR 0
5637 for ac_func
in stpcpy strchr strspn memchr memrchr
5639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5640 echo "$as_me:$LINENO: checking for $ac_func" >&5
5641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5642 if eval "test \"\${$as_ac_var+set}\" = set"; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 cat >conftest.
$ac_ext <<_ACEOF
5646 #line $LINENO "configure"
5647 #include "confdefs.h"
5648 /* System header to define __stub macros and hopefully few prototypes,
5649 which can conflict with char $ac_func (); below. */
5651 /* Override any gcc2 internal prototype to avoid an error. */
5655 /* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */
5660 #ifdef F77_DUMMY_MAIN
5664 int F77_DUMMY_MAIN() { return 1; }
5669 /* The GNU C library defines this for functions which it implements
5670 to always fail with ENOSYS. Some functions are actually named
5671 something starting with __ and the normal name is an alias. */
5672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5682 rm -f conftest.
$ac_objext conftest
$ac_exeext
5683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5684 (eval $ac_link) 2>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); } &&
5688 { ac_try
='test -s conftest$ac_exeext'
5689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); }; }; then
5694 eval "$as_ac_var=yes"
5696 echo "$as_me: failed program was:" >&5
5697 cat conftest.
$ac_ext >&5
5698 eval "$as_ac_var=no"
5700 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5704 if test `eval echo '${'$as_ac_var'}'` = yes; then
5705 cat >>confdefs.h
<<_ACEOF
5706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5710 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5717 cat >>confdefs.h
<<\_ACEOF
5718 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5722 echo "$as_me:$LINENO: checking for working malloc" >&5
5723 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5724 if test "${jm_cv_func_working_malloc+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 if test "$cross_compiling" = yes; then
5728 jm_cv_func_working_malloc
=no
5730 cat >conftest.
$ac_ext <<_ACEOF
5731 #line $LINENO "configure"
5732 #include "confdefs.h"
5738 exit (malloc (0) ? 0 : 1);
5742 rm -f conftest
$ac_exeext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5744 (eval $ac_link) 2>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; }; then
5753 jm_cv_func_working_malloc
=yes
5755 echo "$as_me: program exited with status $ac_status" >&5
5756 echo "$as_me: failed program was:" >&5
5757 cat conftest.
$ac_ext >&5
5759 jm_cv_func_working_malloc
=no
5761 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5765 echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
5766 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5767 if test $jm_cv_func_working_malloc = no
; then
5768 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5770 cat >>confdefs.h
<<\_ACEOF
5771 #define malloc rpl_malloc
5778 cat >>confdefs.h
<<\_ACEOF
5779 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5783 echo "$as_me:$LINENO: checking for working realloc" >&5
5784 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5785 if test "${jm_cv_func_working_realloc+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 if test "$cross_compiling" = yes; then
5789 jm_cv_func_working_realloc
=no
5791 cat >conftest.
$ac_ext <<_ACEOF
5792 #line $LINENO "configure"
5793 #include "confdefs.h"
5799 exit (realloc (0, 0) ? 0 : 1);
5803 rm -f conftest
$ac_exeext
5804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5805 (eval $ac_link) 2>&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; }; then
5814 jm_cv_func_working_realloc
=yes
5816 echo "$as_me: program exited with status $ac_status" >&5
5817 echo "$as_me: failed program was:" >&5
5818 cat conftest.
$ac_ext >&5
5820 jm_cv_func_working_realloc
=no
5822 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5826 echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
5827 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5828 if test $jm_cv_func_working_realloc = no
; then
5829 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5831 cat >>confdefs.h
<<\_ACEOF
5832 #define realloc rpl_realloc
5841 for ac_func
in isascii iswprint mbsinit
5843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5844 echo "$as_me:$LINENO: checking for $ac_func" >&5
5845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5846 if eval "test \"\${$as_ac_var+set}\" = set"; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 cat >conftest.
$ac_ext <<_ACEOF
5850 #line $LINENO "configure"
5851 #include "confdefs.h"
5852 /* System header to define __stub macros and hopefully few prototypes,
5853 which can conflict with char $ac_func (); below. */
5855 /* Override any gcc2 internal prototype to avoid an error. */
5859 /* We use char because int might match the return type of a gcc2
5860 builtin and then its argument prototype would still apply. */
5864 #ifdef F77_DUMMY_MAIN
5868 int F77_DUMMY_MAIN() { return 1; }
5873 /* The GNU C library defines this for functions which it implements
5874 to always fail with ENOSYS. Some functions are actually named
5875 something starting with __ and the normal name is an alias. */
5876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5886 rm -f conftest.
$ac_objext conftest
$ac_exeext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5888 (eval $ac_link) 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } &&
5892 { ac_try
='test -s conftest$ac_exeext'
5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; }; then
5898 eval "$as_ac_var=yes"
5900 echo "$as_me: failed program was:" >&5
5901 cat conftest.
$ac_ext >&5
5902 eval "$as_ac_var=no"
5904 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5908 if test `eval echo '${'$as_ac_var'}'` = yes; then
5909 cat >>confdefs.h
<<_ACEOF
5910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5917 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
5918 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
5919 if test "${jm_cv_func_mbrtowc+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 cat >conftest.
$ac_ext <<_ACEOF
5923 #line $LINENO "configure"
5924 #include "confdefs.h"
5926 #ifdef F77_DUMMY_MAIN
5930 int F77_DUMMY_MAIN() { return 1; }
5935 mbstate_t state; return ! (sizeof state && mbrtowc);
5940 rm -f conftest.
$ac_objext conftest
$ac_exeext
5941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5942 (eval $ac_link) 2>&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); } &&
5946 { ac_try
='test -s conftest$ac_exeext'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; }; then
5952 jm_cv_func_mbrtowc
=yes
5954 echo "$as_me: failed program was:" >&5
5955 cat conftest.
$ac_ext >&5
5956 jm_cv_func_mbrtowc
=no
5958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5960 echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
5961 echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
5962 if test $jm_cv_func_mbrtowc = yes; then
5964 cat >>confdefs.h
<<\_ACEOF
5965 #define HAVE_MBRTOWC 1
5976 for ac_header
in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
5978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5980 echo "$as_me:$LINENO: checking for $ac_header" >&5
5981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5988 # Is the header compilable?
5989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5991 cat >conftest.
$ac_ext <<_ACEOF
5992 #line $LINENO "configure"
5993 #include "confdefs.h"
5994 $ac_includes_default
5995 #include <$ac_header>
5997 rm -f conftest.
$ac_objext
5998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5999 (eval $ac_compile) 2>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } &&
6003 { ac_try
='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_header_compiler
=yes
6011 echo "$as_me: failed program was:" >&5
6012 cat conftest.
$ac_ext >&5
6013 ac_header_compiler
=no
6015 rm -f conftest.
$ac_objext conftest.
$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6017 echo "${ECHO_T}$ac_header_compiler" >&6
6019 # Is the header present?
6020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6022 cat >conftest.
$ac_ext <<_ACEOF
6023 #line $LINENO "configure"
6024 #include "confdefs.h"
6025 #include <$ac_header>
6027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6030 egrep -v '^ *\+' conftest.er1
>conftest.err
6032 cat conftest.err
>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } >/dev
/null
; then
6035 if test -s conftest.err
; then
6036 ac_cpp_err
=$ac_c_preproc_warn_flag
6043 if test -z "$ac_cpp_err"; then
6044 ac_header_preproc
=yes
6046 echo "$as_me: failed program was:" >&5
6047 cat conftest.
$ac_ext >&5
6048 ac_header_preproc
=no
6050 rm -f conftest.err conftest.
$ac_ext
6051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6052 echo "${ECHO_T}$ac_header_preproc" >&6
6054 # So? What about this header?
6055 case $ac_header_compiler:$ac_header_preproc in
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
6063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 eval "$as_ac_Header=$ac_header_preproc"
6076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6081 cat >>confdefs.h
<<_ACEOF
6082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6089 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6090 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6091 if test "${ac_cv_header_stdc+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 cat >conftest.
$ac_ext <<_ACEOF
6095 #line $LINENO "configure"
6096 #include "confdefs.h"
6103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6106 egrep -v '^ *\+' conftest.er1
>conftest.err
6108 cat conftest.err
>&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } >/dev
/null
; then
6111 if test -s conftest.err
; then
6112 ac_cpp_err
=$ac_c_preproc_warn_flag
6119 if test -z "$ac_cpp_err"; then
6120 ac_cv_header_stdc
=yes
6122 echo "$as_me: failed program was:" >&5
6123 cat conftest.
$ac_ext >&5
6124 ac_cv_header_stdc
=no
6126 rm -f conftest.err conftest.
$ac_ext
6128 if test $ac_cv_header_stdc = yes; then
6129 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6130 cat >conftest.
$ac_ext <<_ACEOF
6131 #line $LINENO "configure"
6132 #include "confdefs.h"
6136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6137 egrep "memchr" >/dev
/null
2>&1; then
6140 ac_cv_header_stdc
=no
6146 if test $ac_cv_header_stdc = yes; then
6147 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6148 cat >conftest.
$ac_ext <<_ACEOF
6149 #line $LINENO "configure"
6150 #include "confdefs.h"
6154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6155 egrep "free" >/dev
/null
2>&1; then
6158 ac_cv_header_stdc
=no
6164 if test $ac_cv_header_stdc = yes; then
6165 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6166 if test "$cross_compiling" = yes; then
6169 cat >conftest.
$ac_ext <<_ACEOF
6170 #line $LINENO "configure"
6171 #include "confdefs.h"
6173 #if ((' ' & 0x0FF) == 0x020)
6174 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6175 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6177 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6178 || ('j' <= (c) && (c) <= 'r') \
6179 || ('s' <= (c) && (c) <= 'z'))
6180 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6188 for (i = 0; i < 256; i++)
6189 if (XOR (islower (i), ISLOWER (i))
6190 || toupper (i) != TOUPPER (i))
6195 rm -f conftest
$ac_exeext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6197 (eval $ac_link) 2>&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then
6208 echo "$as_me: program exited with status $ac_status" >&5
6209 echo "$as_me: failed program was:" >&5
6210 cat conftest.
$ac_ext >&5
6212 ac_cv_header_stdc
=no
6214 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6218 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6219 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6220 if test $ac_cv_header_stdc = yes; then
6222 cat >>confdefs.h
<<\_ACEOF
6223 #define STDC_HEADERS 1
6229 echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5
6230 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
6231 if test "${ac_cv_c_backslash_a+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat >conftest.
$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 #include "confdefs.h"
6238 #ifdef F77_DUMMY_MAIN
6242 int F77_DUMMY_MAIN() { return 1; }
6251 char buf['\a' == 'a' ? -1 : 1];
6253 return buf[0] != "\a"[0];
6259 rm -f conftest.
$ac_objext
6260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6261 (eval $ac_compile) 2>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } &&
6265 { ac_try
='test -s conftest.$ac_objext'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; }; then
6271 ac_cv_c_backslash_a
=yes
6273 echo "$as_me: failed program was:" >&5
6274 cat conftest.
$ac_ext >&5
6275 ac_cv_c_backslash_a
=no
6277 rm -f conftest.
$ac_objext conftest.
$ac_ext
6279 echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5
6280 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
6281 if test $ac_cv_c_backslash_a = yes; then
6283 cat >>confdefs.h
<<\_ACEOF
6284 #define HAVE_C_BACKSLASH_A 1
6291 for ac_header
in stdlib.h
6293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6295 echo "$as_me:$LINENO: checking for $ac_header" >&5
6296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6303 # Is the header compilable?
6304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6306 cat >conftest.
$ac_ext <<_ACEOF
6307 #line $LINENO "configure"
6308 #include "confdefs.h"
6309 $ac_includes_default
6310 #include <$ac_header>
6312 rm -f conftest.
$ac_objext
6313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6314 (eval $ac_compile) 2>&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); } &&
6318 { ac_try
='test -s conftest.$ac_objext'
6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; }; then
6324 ac_header_compiler
=yes
6326 echo "$as_me: failed program was:" >&5
6327 cat conftest.
$ac_ext >&5
6328 ac_header_compiler
=no
6330 rm -f conftest.
$ac_objext conftest.
$ac_ext
6331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6332 echo "${ECHO_T}$ac_header_compiler" >&6
6334 # Is the header present?
6335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6337 cat >conftest.
$ac_ext <<_ACEOF
6338 #line $LINENO "configure"
6339 #include "confdefs.h"
6340 #include <$ac_header>
6342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6345 egrep -v '^ *\+' conftest.er1
>conftest.err
6347 cat conftest.err
>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } >/dev
/null
; then
6350 if test -s conftest.err
; then
6351 ac_cpp_err
=$ac_c_preproc_warn_flag
6358 if test -z "$ac_cpp_err"; then
6359 ac_header_preproc
=yes
6361 echo "$as_me: failed program was:" >&5
6362 cat conftest.
$ac_ext >&5
6363 ac_header_preproc
=no
6365 rm -f conftest.err conftest.
$ac_ext
6366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6367 echo "${ECHO_T}$ac_header_preproc" >&6
6369 # So? What about this header?
6370 case $ac_header_compiler:$ac_header_preproc in
6372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
6378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6384 echo "$as_me:$LINENO: checking for $ac_header" >&5
6385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 eval "$as_ac_Header=$ac_header_preproc"
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6396 cat >>confdefs.h
<<_ACEOF
6397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6405 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6406 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6407 if test "${ac_cv_type_mbstate_t+set}" = set; then
6408 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 cat >conftest.
$ac_ext <<_ACEOF
6411 #line $LINENO "configure"
6412 #include "confdefs.h"
6415 # include <stdlib.h>
6418 #ifdef F77_DUMMY_MAIN
6422 int F77_DUMMY_MAIN() { return 1; }
6427 mbstate_t x; return sizeof x;
6432 rm -f conftest.
$ac_objext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6434 (eval $ac_compile) 2>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } &&
6438 { ac_try
='test -s conftest.$ac_objext'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; }; then
6444 ac_cv_type_mbstate_t
=yes
6446 echo "$as_me: failed program was:" >&5
6447 cat conftest.
$ac_ext >&5
6448 ac_cv_type_mbstate_t
=no
6450 rm -f conftest.
$ac_objext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
6453 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
6454 if test $ac_cv_type_mbstate_t = no
; then
6456 cat >>confdefs.h
<<\_ACEOF
6457 #define mbstate_t int
6463 echo "$as_me:$LINENO: checking for function prototypes" >&5
6464 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
6465 if test "$am_cv_prog_cc_stdc" != no
; then
6466 echo "$as_me:$LINENO: result: yes" >&5
6467 echo "${ECHO_T}yes" >&6
6469 cat >>confdefs.h
<<\_ACEOF
6470 #define PROTOTYPES 1
6475 echo "$as_me:$LINENO: result: no" >&5
6476 echo "${ECHO_T}no" >&6
6477 U
=_ ANSI2KNR
=.
/ansi2knr
6479 # Ensure some checks needed by ansi2knr itself.
6480 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6481 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6482 if test "${ac_cv_header_stdc+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 cat >conftest.
$ac_ext <<_ACEOF
6486 #line $LINENO "configure"
6487 #include "confdefs.h"
6494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6497 egrep -v '^ *\+' conftest.er1
>conftest.err
6499 cat conftest.err
>&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } >/dev
/null
; then
6502 if test -s conftest.err
; then
6503 ac_cpp_err
=$ac_c_preproc_warn_flag
6510 if test -z "$ac_cpp_err"; then
6511 ac_cv_header_stdc
=yes
6513 echo "$as_me: failed program was:" >&5
6514 cat conftest.
$ac_ext >&5
6515 ac_cv_header_stdc
=no
6517 rm -f conftest.err conftest.
$ac_ext
6519 if test $ac_cv_header_stdc = yes; then
6520 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6521 cat >conftest.
$ac_ext <<_ACEOF
6522 #line $LINENO "configure"
6523 #include "confdefs.h"
6527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6528 egrep "memchr" >/dev
/null
2>&1; then
6531 ac_cv_header_stdc
=no
6537 if test $ac_cv_header_stdc = yes; then
6538 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6539 cat >conftest.
$ac_ext <<_ACEOF
6540 #line $LINENO "configure"
6541 #include "confdefs.h"
6545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6546 egrep "free" >/dev
/null
2>&1; then
6549 ac_cv_header_stdc
=no
6555 if test $ac_cv_header_stdc = yes; then
6556 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6557 if test "$cross_compiling" = yes; then
6560 cat >conftest.
$ac_ext <<_ACEOF
6561 #line $LINENO "configure"
6562 #include "confdefs.h"
6564 #if ((' ' & 0x0FF) == 0x020)
6565 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6566 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6568 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6569 || ('j' <= (c) && (c) <= 'r') \
6570 || ('s' <= (c) && (c) <= 'z'))
6571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6579 for (i = 0; i < 256; i++)
6580 if (XOR (islower (i), ISLOWER (i))
6581 || toupper (i) != TOUPPER (i))
6586 rm -f conftest
$ac_exeext
6587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6588 (eval $ac_link) 2>&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); }; }; then
6599 echo "$as_me: program exited with status $ac_status" >&5
6600 echo "$as_me: failed program was:" >&5
6601 cat conftest.
$ac_ext >&5
6603 ac_cv_header_stdc
=no
6605 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6609 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6610 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6611 if test $ac_cv_header_stdc = yes; then
6613 cat >>confdefs.h
<<\_ACEOF
6614 #define STDC_HEADERS 1
6620 for ac_header
in string.h
6622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6624 echo "$as_me:$LINENO: checking for $ac_header" >&5
6625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6632 # Is the header compilable?
6633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6635 cat >conftest.
$ac_ext <<_ACEOF
6636 #line $LINENO "configure"
6637 #include "confdefs.h"
6638 $ac_includes_default
6639 #include <$ac_header>
6641 rm -f conftest.
$ac_objext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6643 (eval $ac_compile) 2>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try
='test -s conftest.$ac_objext'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6653 ac_header_compiler
=yes
6655 echo "$as_me: failed program was:" >&5
6656 cat conftest.
$ac_ext >&5
6657 ac_header_compiler
=no
6659 rm -f conftest.
$ac_objext conftest.
$ac_ext
6660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6661 echo "${ECHO_T}$ac_header_compiler" >&6
6663 # Is the header present?
6664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6666 cat >conftest.
$ac_ext <<_ACEOF
6667 #line $LINENO "configure"
6668 #include "confdefs.h"
6669 #include <$ac_header>
6671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6674 egrep -v '^ *\+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } >/dev
/null
; then
6679 if test -s conftest.err
; then
6680 ac_cpp_err
=$ac_c_preproc_warn_flag
6687 if test -z "$ac_cpp_err"; then
6688 ac_header_preproc
=yes
6690 echo "$as_me: failed program was:" >&5
6691 cat conftest.
$ac_ext >&5
6692 ac_header_preproc
=no
6694 rm -f conftest.err conftest.
$ac_ext
6695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6696 echo "${ECHO_T}$ac_header_preproc" >&6
6698 # So? What about this header?
6699 case $ac_header_compiler:$ac_header_preproc in
6701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
6707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6713 echo "$as_me:$LINENO: checking for $ac_header" >&5
6714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 eval "$as_ac_Header=$ac_header_preproc"
6720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6739 for ac_func
in strerror vprintf doprnt
6741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6742 echo "$as_me:$LINENO: checking for $ac_func" >&5
6743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6744 if eval "test \"\${$as_ac_var+set}\" = set"; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat >conftest.
$ac_ext <<_ACEOF
6748 #line $LINENO "configure"
6749 #include "confdefs.h"
6750 /* System header to define __stub macros and hopefully few prototypes,
6751 which can conflict with char $ac_func (); below. */
6753 /* Override any gcc2 internal prototype to avoid an error. */
6757 /* We use char because int might match the return type of a gcc2
6758 builtin and then its argument prototype would still apply. */
6762 #ifdef F77_DUMMY_MAIN
6766 int F77_DUMMY_MAIN() { return 1; }
6771 /* The GNU C library defines this for functions which it implements
6772 to always fail with ENOSYS. Some functions are actually named
6773 something starting with __ and the normal name is an alias. */
6774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6784 rm -f conftest.
$ac_objext conftest
$ac_exeext
6785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6786 (eval $ac_link) 2>&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } &&
6790 { ac_try
='test -s conftest$ac_exeext'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6796 eval "$as_ac_var=yes"
6798 echo "$as_me: failed program was:" >&5
6799 cat conftest.
$ac_ext >&5
6800 eval "$as_ac_var=no"
6802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6806 if test `eval echo '${'$as_ac_var'}'` = yes; then
6807 cat >>confdefs.h
<<_ACEOF
6808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6814 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
6815 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
6816 if test "${ac_cv_have_decl_strerror+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 cat >conftest.
$ac_ext <<_ACEOF
6820 #line $LINENO "configure"
6821 #include "confdefs.h"
6822 $ac_includes_default
6823 #ifdef F77_DUMMY_MAIN
6827 int F77_DUMMY_MAIN() { return 1; }
6833 char *p = (char *) strerror;
6840 rm -f conftest.
$ac_objext
6841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842 (eval $ac_compile) 2>&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } &&
6846 { ac_try
='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_have_decl_strerror
=yes
6854 echo "$as_me: failed program was:" >&5
6855 cat conftest.
$ac_ext >&5
6856 ac_cv_have_decl_strerror
=no
6858 rm -f conftest.
$ac_objext conftest.
$ac_ext
6860 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
6861 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
6862 if test $ac_cv_have_decl_strerror = yes; then
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_DECL_STRERROR 1
6870 cat >>confdefs.h
<<_ACEOF
6871 #define HAVE_DECL_STRERROR 0
6878 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
6879 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6880 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 cat >conftest.
$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6885 #include "confdefs.h"
6886 $ac_includes_default
6887 #ifdef F77_DUMMY_MAIN
6891 int F77_DUMMY_MAIN() { return 1; }
6897 char *p = (char *) strerror_r;
6904 rm -f conftest.
$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } &&
6910 { ac_try
='test -s conftest.$ac_objext'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }; then
6916 ac_cv_have_decl_strerror_r
=yes
6918 echo "$as_me: failed program was:" >&5
6919 cat conftest.
$ac_ext >&5
6920 ac_cv_have_decl_strerror_r
=no
6922 rm -f conftest.
$ac_objext conftest.
$ac_ext
6924 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
6925 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6926 if test $ac_cv_have_decl_strerror_r = yes; then
6928 cat >>confdefs.h
<<_ACEOF
6929 #define HAVE_DECL_STRERROR_R 1
6934 cat >>confdefs.h
<<_ACEOF
6935 #define HAVE_DECL_STRERROR_R 0
6943 for ac_func
in strerror_r
6945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6946 echo "$as_me:$LINENO: checking for $ac_func" >&5
6947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6948 if eval "test \"\${$as_ac_var+set}\" = set"; then
6949 echo $ECHO_N "(cached) $ECHO_C" >&6
6951 cat >conftest.
$ac_ext <<_ACEOF
6952 #line $LINENO "configure"
6953 #include "confdefs.h"
6954 /* System header to define __stub macros and hopefully few prototypes,
6955 which can conflict with char $ac_func (); below. */
6957 /* Override any gcc2 internal prototype to avoid an error. */
6961 /* We use char because int might match the return type of a gcc2
6962 builtin and then its argument prototype would still apply. */
6966 #ifdef F77_DUMMY_MAIN
6970 int F77_DUMMY_MAIN() { return 1; }
6975 /* The GNU C library defines this for functions which it implements
6976 to always fail with ENOSYS. Some functions are actually named
6977 something starting with __ and the normal name is an alias. */
6978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6988 rm -f conftest.
$ac_objext conftest
$ac_exeext
6989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6990 (eval $ac_link) 2>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } &&
6994 { ac_try
='test -s conftest$ac_exeext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 eval "$as_ac_var=yes"
7002 echo "$as_me: failed program was:" >&5
7003 cat conftest.
$ac_ext >&5
7004 eval "$as_ac_var=no"
7006 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7010 if test `eval echo '${'$as_ac_var'}'` = yes; then
7011 cat >>confdefs.h
<<_ACEOF
7012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7018 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
7019 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
7020 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 ac_cv_func_strerror_r_char_p
=no
7025 if test $ac_cv_have_decl_strerror_r = yes; then
7026 cat >conftest.
$ac_ext <<_ACEOF
7027 #line $LINENO "configure"
7028 #include "confdefs.h"
7029 $ac_includes_default
7030 #ifdef F77_DUMMY_MAIN
7034 int F77_DUMMY_MAIN() { return 1; }
7041 char x = *strerror_r (0, buf, sizeof buf);
7042 char *p = strerror_r (0, buf, sizeof buf);
7048 rm -f conftest.
$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050 (eval $ac_compile) 2>&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } &&
7054 { ac_try
='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; }; then
7060 ac_cv_func_strerror_r_char_p
=yes
7062 echo "$as_me: failed program was:" >&5
7063 cat conftest.
$ac_ext >&5
7065 rm -f conftest.
$ac_objext conftest.
$ac_ext
7067 # strerror_r is not declared. Choose between
7068 # systems that have relatively inaccessible declarations for the
7069 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
7070 # former has a strerror_r that returns char*, while the latter
7071 # has a strerror_r that returns `int'.
7072 # This test should segfault on the DEC system.
7073 if test "$cross_compiling" = yes; then
7076 cat >conftest.
$ac_ext <<_ACEOF
7077 #line $LINENO "configure"
7078 #include "confdefs.h"
7079 $ac_includes_default
7080 extern char *strerror_r ();
7081 #ifdef F77_DUMMY_MAIN
7085 int F77_DUMMY_MAIN() { return 1; }
7091 char x = *strerror_r (0, buf, sizeof buf);
7092 exit (!isalpha (x));
7097 rm -f conftest
$ac_exeext
7098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7099 (eval $ac_link) 2>&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; }; then
7108 ac_cv_func_strerror_r_char_p
=yes
7110 echo "$as_me: program exited with status $ac_status" >&5
7111 echo "$as_me: failed program was:" >&5
7112 cat conftest.
$ac_ext >&5
7114 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7119 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
7120 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
7121 if test $ac_cv_func_strerror_r_char_p = yes; then
7123 cat >>confdefs.h
<<\_ACEOF
7124 #define STRERROR_R_CHAR_P 1
7129 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7130 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7131 if test "${ac_cv_header_stdc+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 cat >conftest.
$ac_ext <<_ACEOF
7135 #line $LINENO "configure"
7136 #include "confdefs.h"
7143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7146 egrep -v '^ *\+' conftest.er1
>conftest.err
7148 cat conftest.err
>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } >/dev
/null
; then
7151 if test -s conftest.err
; then
7152 ac_cpp_err
=$ac_c_preproc_warn_flag
7159 if test -z "$ac_cpp_err"; then
7160 ac_cv_header_stdc
=yes
7162 echo "$as_me: failed program was:" >&5
7163 cat conftest.
$ac_ext >&5
7164 ac_cv_header_stdc
=no
7166 rm -f conftest.err conftest.
$ac_ext
7168 if test $ac_cv_header_stdc = yes; then
7169 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7170 cat >conftest.
$ac_ext <<_ACEOF
7171 #line $LINENO "configure"
7172 #include "confdefs.h"
7176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7177 egrep "memchr" >/dev
/null
2>&1; then
7180 ac_cv_header_stdc
=no
7186 if test $ac_cv_header_stdc = yes; then
7187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7188 cat >conftest.
$ac_ext <<_ACEOF
7189 #line $LINENO "configure"
7190 #include "confdefs.h"
7194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7195 egrep "free" >/dev
/null
2>&1; then
7198 ac_cv_header_stdc
=no
7204 if test $ac_cv_header_stdc = yes; then
7205 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7206 if test "$cross_compiling" = yes; then
7209 cat >conftest.
$ac_ext <<_ACEOF
7210 #line $LINENO "configure"
7211 #include "confdefs.h"
7213 #if ((' ' & 0x0FF) == 0x020)
7214 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7215 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7217 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7218 || ('j' <= (c) && (c) <= 'r') \
7219 || ('s' <= (c) && (c) <= 'z'))
7220 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7228 for (i = 0; i < 256; i++)
7229 if (XOR (islower (i), ISLOWER (i))
7230 || toupper (i) != TOUPPER (i))
7235 rm -f conftest
$ac_exeext
7236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7237 (eval $ac_link) 2>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); }; }; then
7248 echo "$as_me: program exited with status $ac_status" >&5
7249 echo "$as_me: failed program was:" >&5
7250 cat conftest.
$ac_ext >&5
7252 ac_cv_header_stdc
=no
7254 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7258 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7259 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7260 if test $ac_cv_header_stdc = yes; then
7262 cat >>confdefs.h
<<\_ACEOF
7263 #define STDC_HEADERS 1
7269 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
7270 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
7272 # Check whether --with-dmalloc or --without-dmalloc was given.
7273 if test "${with_dmalloc+set}" = set; then
7274 withval
="$with_dmalloc"
7275 if test "$withval" = yes; then
7276 echo "$as_me:$LINENO: result: yes" >&5
7277 echo "${ECHO_T}yes" >&6
7279 cat >>confdefs.h
<<\_ACEOF
7280 #define WITH_DMALLOC 1
7283 LIBS
="$LIBS -ldmalloc"
7284 LDFLAGS
="$LDFLAGS -g"
7286 echo "$as_me:$LINENO: result: no" >&5
7287 echo "${ECHO_T}no" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7295 ALL_LINGUAS
="de es et fr it ja nl ru sv tr"
7296 # Make sure we can run config.sub.
7297 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7298 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7299 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7300 { (exit 1); exit 1; }; }
7302 echo "$as_me:$LINENO: checking build system type" >&5
7303 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7304 if test "${ac_cv_build+set}" = set; then
7305 echo $ECHO_N "(cached) $ECHO_C" >&6
7307 ac_cv_build_alias
=$build_alias
7308 test -z "$ac_cv_build_alias" &&
7309 ac_cv_build_alias
=`$ac_config_guess`
7310 test -z "$ac_cv_build_alias" &&
7311 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7312 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7313 { (exit 1); exit 1; }; }
7314 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7315 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed." >&5
7316 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
7317 { (exit 1); exit 1; }; }
7320 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7321 echo "${ECHO_T}$ac_cv_build" >&6
7323 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7324 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7325 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7328 echo "$as_me:$LINENO: checking host system type" >&5
7329 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7330 if test "${ac_cv_host+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 ac_cv_host_alias
=$host_alias
7334 test -z "$ac_cv_host_alias" &&
7335 ac_cv_host_alias
=$ac_cv_build_alias
7336 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7337 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7338 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7339 { (exit 1); exit 1; }; }
7342 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7343 echo "${ECHO_T}$ac_cv_host" >&6
7345 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7346 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7347 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7350 echo "$as_me:$LINENO: checking for off_t" >&5
7351 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7352 if test "${ac_cv_type_off_t+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.
$ac_ext <<_ACEOF
7356 #line $LINENO "configure"
7357 #include "confdefs.h"
7358 $ac_includes_default
7359 #ifdef F77_DUMMY_MAIN
7363 int F77_DUMMY_MAIN() { return 1; }
7376 rm -f conftest.
$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378 (eval $ac_compile) 2>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } &&
7382 { ac_try
='test -s conftest.$ac_objext'
7383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); }; }; then
7388 ac_cv_type_off_t
=yes
7390 echo "$as_me: failed program was:" >&5
7391 cat conftest.
$ac_ext >&5
7394 rm -f conftest.
$ac_objext conftest.
$ac_ext
7396 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7397 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7398 if test $ac_cv_type_off_t = yes; then
7402 cat >>confdefs.h
<<_ACEOF
7408 echo "$as_me:$LINENO: checking for size_t" >&5
7409 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7410 if test "${ac_cv_type_size_t+set}" = set; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 cat >conftest.
$ac_ext <<_ACEOF
7414 #line $LINENO "configure"
7415 #include "confdefs.h"
7416 $ac_includes_default
7417 #ifdef F77_DUMMY_MAIN
7421 int F77_DUMMY_MAIN() { return 1; }
7428 if (sizeof (size_t))
7434 rm -f conftest.
$ac_objext
7435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7436 (eval $ac_compile) 2>&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } &&
7440 { ac_try
='test -s conftest.$ac_objext'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; }; then
7446 ac_cv_type_size_t
=yes
7448 echo "$as_me: failed program was:" >&5
7449 cat conftest.
$ac_ext >&5
7450 ac_cv_type_size_t
=no
7452 rm -f conftest.
$ac_objext conftest.
$ac_ext
7454 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7455 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7456 if test $ac_cv_type_size_t = yes; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define size_t unsigned
7468 for ac_header
in stdlib.h unistd.h
7470 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7472 echo "$as_me:$LINENO: checking for $ac_header" >&5
7473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7480 # Is the header compilable?
7481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7483 cat >conftest.
$ac_ext <<_ACEOF
7484 #line $LINENO "configure"
7485 #include "confdefs.h"
7486 $ac_includes_default
7487 #include <$ac_header>
7489 rm -f conftest.
$ac_objext
7490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491 (eval $ac_compile) 2>&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } &&
7495 { ac_try
='test -s conftest.$ac_objext'
7496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; }; then
7501 ac_header_compiler
=yes
7503 echo "$as_me: failed program was:" >&5
7504 cat conftest.
$ac_ext >&5
7505 ac_header_compiler
=no
7507 rm -f conftest.
$ac_objext conftest.
$ac_ext
7508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7509 echo "${ECHO_T}$ac_header_compiler" >&6
7511 # Is the header present?
7512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7514 cat >conftest.
$ac_ext <<_ACEOF
7515 #line $LINENO "configure"
7516 #include "confdefs.h"
7517 #include <$ac_header>
7519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7522 egrep -v '^ *\+' conftest.er1
>conftest.err
7524 cat conftest.err
>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } >/dev
/null
; then
7527 if test -s conftest.err
; then
7528 ac_cpp_err
=$ac_c_preproc_warn_flag
7535 if test -z "$ac_cpp_err"; then
7536 ac_header_preproc
=yes
7538 echo "$as_me: failed program was:" >&5
7539 cat conftest.
$ac_ext >&5
7540 ac_header_preproc
=no
7542 rm -f conftest.err conftest.
$ac_ext
7543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7544 echo "${ECHO_T}$ac_header_preproc" >&6
7546 # So? What about this header?
7547 case $ac_header_compiler:$ac_header_preproc in
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
7555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7561 echo "$as_me:$LINENO: checking for $ac_header" >&5
7562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 eval "$as_ac_Header=$ac_header_preproc"
7568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7573 cat >>confdefs.h
<<_ACEOF
7574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7582 for ac_func
in getpagesize
7584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7585 echo "$as_me:$LINENO: checking for $ac_func" >&5
7586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7587 if eval "test \"\${$as_ac_var+set}\" = set"; then
7588 echo $ECHO_N "(cached) $ECHO_C" >&6
7590 cat >conftest.
$ac_ext <<_ACEOF
7591 #line $LINENO "configure"
7592 #include "confdefs.h"
7593 /* System header to define __stub macros and hopefully few prototypes,
7594 which can conflict with char $ac_func (); below. */
7596 /* Override any gcc2 internal prototype to avoid an error. */
7600 /* We use char because int might match the return type of a gcc2
7601 builtin and then its argument prototype would still apply. */
7605 #ifdef F77_DUMMY_MAIN
7609 int F77_DUMMY_MAIN() { return 1; }
7614 /* The GNU C library defines this for functions which it implements
7615 to always fail with ENOSYS. Some functions are actually named
7616 something starting with __ and the normal name is an alias. */
7617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7627 rm -f conftest.
$ac_objext conftest
$ac_exeext
7628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7629 (eval $ac_link) 2>&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } &&
7633 { ac_try
='test -s conftest$ac_exeext'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; }; then
7639 eval "$as_ac_var=yes"
7641 echo "$as_me: failed program was:" >&5
7642 cat conftest.
$ac_ext >&5
7643 eval "$as_ac_var=no"
7645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7649 if test `eval echo '${'$as_ac_var'}'` = yes; then
7650 cat >>confdefs.h
<<_ACEOF
7651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7657 echo "$as_me:$LINENO: checking for working mmap" >&5
7658 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7659 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7660 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 if test "$cross_compiling" = yes; then
7663 ac_cv_func_mmap_fixed_mapped
=no
7665 cat >conftest.
$ac_ext <<_ACEOF
7666 #line $LINENO "configure"
7667 #include "confdefs.h"
7668 $ac_includes_default
7669 /* malloc might have been renamed as rpl_malloc. */
7672 /* Thanks to Mike Haertel and Jim Avera for this test.
7673 Here is a matrix of mmap possibilities:
7674 mmap private not fixed
7675 mmap private fixed at somewhere currently unmapped
7676 mmap private fixed at somewhere already mapped
7677 mmap shared not fixed
7678 mmap shared fixed at somewhere currently unmapped
7679 mmap shared fixed at somewhere already mapped
7680 For private mappings, we should verify that changes cannot be read()
7681 back from the file, nor mmap's back from the file at a different
7682 address. (There have been systems where private was not correctly
7683 implemented like the infamous i386 svr4.0, and systems where the
7684 VM page cache was not coherent with the file system buffer cache
7685 like early versions of FreeBSD and possibly contemporary NetBSD.)
7686 For shared mappings, we should conversely verify that changes get
7687 propagated back to all the places they're supposed to be.
7689 Grep wants private fixed already mapped.
7690 The main things grep needs to know about mmap are:
7691 * does it exist and is it safe to write into the mmap'd area
7692 * how to use it (BSD variants) */
7695 #include <sys/mman.h>
7697 #if !STDC_HEADERS && !HAVE_STDLIB_H
7701 /* This mess was copied from the GNU getpagesize.h. */
7702 #if !HAVE_GETPAGESIZE
7703 /* Assume that all systems that can run configure have sys/param.h. */
7704 # if !HAVE_SYS_PARAM_H
7705 # define HAVE_SYS_PARAM_H 1
7708 # ifdef _SC_PAGESIZE
7709 # define getpagesize() sysconf(_SC_PAGESIZE)
7710 # else /* no _SC_PAGESIZE */
7711 # if HAVE_SYS_PARAM_H
7712 # include <sys/param.h>
7713 # ifdef EXEC_PAGESIZE
7714 # define getpagesize() EXEC_PAGESIZE
7715 # else /* no EXEC_PAGESIZE */
7717 # define getpagesize() NBPG * CLSIZE
7720 # endif /* no CLSIZE */
7721 # else /* no NBPG */
7723 # define getpagesize() NBPC
7724 # else /* no NBPC */
7726 # define getpagesize() PAGESIZE
7727 # endif /* PAGESIZE */
7728 # endif /* no NBPC */
7729 # endif /* no NBPG */
7730 # endif /* no EXEC_PAGESIZE */
7731 # else /* no HAVE_SYS_PARAM_H */
7732 # define getpagesize() 8192 /* punt totally */
7733 # endif /* no HAVE_SYS_PARAM_H */
7734 # endif /* no _SC_PAGESIZE */
7736 #endif /* no HAVE_GETPAGESIZE */
7741 char *data, *data2, *data3;
7745 pagesize = getpagesize ();
7747 /* First, make a file with some known garbage in it. */
7748 data = (char *) malloc (pagesize);
7751 for (i = 0; i < pagesize; ++i)
7752 *(data + i) = rand ();
7754 fd = creat ("conftest.mmap", 0600);
7757 if (write (fd, data, pagesize) != pagesize)
7761 /* Next, try to mmap the file at a fixed address which already has
7762 something else allocated at it. If we can, also make sure that
7763 we see the same garbage. */
7764 fd = open ("conftest.mmap", O_RDWR);
7767 data2 = (char *) malloc (2 * pagesize);
7770 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7771 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7772 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7774 for (i = 0; i < pagesize; ++i)
7775 if (*(data + i) != *(data2 + i))
7778 /* Finally, make sure that changes to the mapped area do not
7779 percolate back to the file as seen by read(). (This is a bug on
7780 some variants of i386 svr4.0.) */
7781 for (i = 0; i < pagesize; ++i)
7782 *(data2 + i) = *(data2 + i) + 1;
7783 data3 = (char *) malloc (pagesize);
7786 if (read (fd, data3, pagesize) != pagesize)
7788 for (i = 0; i < pagesize; ++i)
7789 if (*(data + i) != *(data3 + i))
7795 rm -f conftest
$ac_exeext
7796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7797 (eval $ac_link) 2>&5
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); }; }; then
7806 ac_cv_func_mmap_fixed_mapped
=yes
7808 echo "$as_me: program exited with status $ac_status" >&5
7809 echo "$as_me: failed program was:" >&5
7810 cat conftest.
$ac_ext >&5
7812 ac_cv_func_mmap_fixed_mapped
=no
7814 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7817 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7818 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7819 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7821 cat >>confdefs.h
<<\_ACEOF
7829 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
7830 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7831 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 cat >conftest.
$ac_ext <<_ACEOF
7835 #line $LINENO "configure"
7836 #include "confdefs.h"
7838 #include <features.h>
7839 #ifdef __GNU_LIBRARY__
7840 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7847 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7848 ac_cv_gnu_library_2_1
=yes
7850 ac_cv_gnu_library_2_1
=no
7857 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
7858 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7860 GLIBC21
="$ac_cv_gnu_library_2_1"
7874 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7875 stdlib.h string.h unistd.h sys
/param.h
7877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7879 echo "$as_me:$LINENO: checking for $ac_header" >&5
7880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7887 # Is the header compilable?
7888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7890 cat >conftest.
$ac_ext <<_ACEOF
7891 #line $LINENO "configure"
7892 #include "confdefs.h"
7893 $ac_includes_default
7894 #include <$ac_header>
7896 rm -f conftest.
$ac_objext
7897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7898 (eval $ac_compile) 2>&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try
='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_header_compiler
=yes
7910 echo "$as_me: failed program was:" >&5
7911 cat conftest.
$ac_ext >&5
7912 ac_header_compiler
=no
7914 rm -f conftest.
$ac_objext conftest.
$ac_ext
7915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7916 echo "${ECHO_T}$ac_header_compiler" >&6
7918 # Is the header present?
7919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7921 cat >conftest.
$ac_ext <<_ACEOF
7922 #line $LINENO "configure"
7923 #include "confdefs.h"
7924 #include <$ac_header>
7926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7929 egrep -v '^ *\+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } >/dev
/null
; then
7934 if test -s conftest.err
; then
7935 ac_cpp_err
=$ac_c_preproc_warn_flag
7942 if test -z "$ac_cpp_err"; then
7943 ac_header_preproc
=yes
7945 echo "$as_me: failed program was:" >&5
7946 cat conftest.
$ac_ext >&5
7947 ac_header_preproc
=no
7949 rm -f conftest.err conftest.
$ac_ext
7950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7951 echo "${ECHO_T}$ac_header_preproc" >&6
7953 # So? What about this header?
7954 case $ac_header_compiler:$ac_header_preproc in
7956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled." >&5
7962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7964 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7968 echo "$as_me:$LINENO: checking for $ac_header" >&5
7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 eval "$as_ac_Header=$ac_header_preproc"
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h
<<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8009 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
8010 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
8011 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
8013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8014 echo "$as_me:$LINENO: checking for $ac_func" >&5
8015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8016 if eval "test \"\${$as_ac_var+set}\" = set"; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 cat >conftest.
$ac_ext <<_ACEOF
8020 #line $LINENO "configure"
8021 #include "confdefs.h"
8022 /* System header to define __stub macros and hopefully few prototypes,
8023 which can conflict with char $ac_func (); below. */
8025 /* Override any gcc2 internal prototype to avoid an error. */
8029 /* We use char because int might match the return type of a gcc2
8030 builtin and then its argument prototype would still apply. */
8034 #ifdef F77_DUMMY_MAIN
8038 int F77_DUMMY_MAIN() { return 1; }
8043 /* The GNU C library defines this for functions which it implements
8044 to always fail with ENOSYS. Some functions are actually named
8045 something starting with __ and the normal name is an alias. */
8046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8056 rm -f conftest.
$ac_objext conftest
$ac_exeext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8058 (eval $ac_link) 2>&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); } &&
8062 { ac_try
='test -s conftest$ac_exeext'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; }; then
8068 eval "$as_ac_var=yes"
8070 echo "$as_me: failed program was:" >&5
8071 cat conftest.
$ac_ext >&5
8072 eval "$as_ac_var=no"
8074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8078 if test `eval echo '${'$as_ac_var'}'` = yes; then
8079 cat >>confdefs.h
<<_ACEOF
8080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8090 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8091 if test "${with_libiconv_prefix+set}" = set; then
8092 withval
="$with_libiconv_prefix"
8094 for dir
in `echo "$withval" | tr : ' '`; do
8095 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
8096 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
8101 echo "$as_me:$LINENO: checking for iconv" >&5
8102 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8103 if test "${am_cv_func_iconv+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 am_cv_func_iconv
="no, consider installing GNU libiconv"
8109 cat >conftest.
$ac_ext <<_ACEOF
8110 #line $LINENO "configure"
8111 #include "confdefs.h"
8114 #ifdef F77_DUMMY_MAIN
8118 int F77_DUMMY_MAIN() { return 1; }
8123 iconv_t cd = iconv_open("","");
8124 iconv(cd,NULL,NULL,NULL,NULL);
8130 rm -f conftest.
$ac_objext conftest
$ac_exeext
8131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8132 (eval $ac_link) 2>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try
='test -s conftest$ac_exeext'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; }; then
8142 am_cv_func_iconv
=yes
8144 echo "$as_me: failed program was:" >&5
8145 cat conftest.
$ac_ext >&5
8147 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8148 if test "$am_cv_func_iconv" != yes; then
8149 am_save_LIBS
="$LIBS"
8150 LIBS
="$LIBS -liconv"
8151 cat >conftest.
$ac_ext <<_ACEOF
8152 #line $LINENO "configure"
8153 #include "confdefs.h"
8156 #ifdef F77_DUMMY_MAIN
8160 int F77_DUMMY_MAIN() { return 1; }
8165 iconv_t cd = iconv_open("","");
8166 iconv(cd,NULL,NULL,NULL,NULL);
8172 rm -f conftest.
$ac_objext conftest
$ac_exeext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8174 (eval $ac_link) 2>&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } &&
8178 { ac_try
='test -s conftest$ac_exeext'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; }; then
8185 am_cv_func_iconv
=yes
8187 echo "$as_me: failed program was:" >&5
8188 cat conftest.
$ac_ext >&5
8190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8191 LIBS
="$am_save_LIBS"
8195 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8196 echo "${ECHO_T}$am_cv_func_iconv" >&6
8197 if test "$am_cv_func_iconv" = yes; then
8199 cat >>confdefs.h
<<\_ACEOF
8200 #define HAVE_ICONV 1
8203 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8204 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8205 if test "${am_cv_proto_iconv+set}" = set; then
8206 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 cat >conftest.
$ac_ext <<_ACEOF
8210 #line $LINENO "configure"
8211 #include "confdefs.h"
8219 #if defined(__STDC__) || defined(__cplusplus)
8220 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8225 #ifdef F77_DUMMY_MAIN
8229 int F77_DUMMY_MAIN() { return 1; }
8239 rm -f conftest.
$ac_objext
8240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8241 (eval $ac_compile) 2>&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } &&
8245 { ac_try
='test -s conftest.$ac_objext'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; }; then
8251 am_cv_proto_iconv_arg1
=""
8253 echo "$as_me: failed program was:" >&5
8254 cat conftest.
$ac_ext >&5
8255 am_cv_proto_iconv_arg1
="const"
8257 rm -f conftest.
$ac_objext conftest.
$ac_ext
8258 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);"
8261 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8262 echo "$as_me:$LINENO: result: ${ac_t:-
8263 }$am_cv_proto_iconv" >&5
8264 echo "${ECHO_T}${ac_t:-
8265 }$am_cv_proto_iconv" >&6
8267 cat >>confdefs.h
<<_ACEOF
8268 #define ICONV_CONST $am_cv_proto_iconv_arg1
8273 if test "$am_cv_lib_iconv" = yes; then
8279 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8280 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8281 if test "${am_cv_langinfo_codeset+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8284 cat >conftest.
$ac_ext <<_ACEOF
8285 #line $LINENO "configure"
8286 #include "confdefs.h"
8287 #include <langinfo.h>
8288 #ifdef F77_DUMMY_MAIN
8292 int F77_DUMMY_MAIN() { return 1; }
8297 char* cs = nl_langinfo(CODESET);
8302 rm -f conftest.
$ac_objext conftest
$ac_exeext
8303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8304 (eval $ac_link) 2>&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); } &&
8308 { ac_try
='test -s conftest$ac_exeext'
8309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; }; then
8314 am_cv_langinfo_codeset
=yes
8316 echo "$as_me: failed program was:" >&5
8317 cat conftest.
$ac_ext >&5
8318 am_cv_langinfo_codeset
=no
8320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8323 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
8324 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
8325 if test $am_cv_langinfo_codeset = yes; then
8327 cat >>confdefs.h
<<\_ACEOF
8328 #define HAVE_LANGINFO_CODESET 1
8333 if test $ac_cv_header_locale_h = yes; then
8334 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8335 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8336 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8339 cat >conftest.
$ac_ext <<_ACEOF
8340 #line $LINENO "configure"
8341 #include "confdefs.h"
8343 #ifdef F77_DUMMY_MAIN
8347 int F77_DUMMY_MAIN() { return 1; }
8357 rm -f conftest.
$ac_objext conftest
$ac_exeext
8358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359 (eval $ac_link) 2>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try
='test -s conftest$ac_exeext'
8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then
8369 am_cv_val_LC_MESSAGES
=yes
8371 echo "$as_me: failed program was:" >&5
8372 cat conftest.
$ac_ext >&5
8373 am_cv_val_LC_MESSAGES
=no
8375 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8377 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8378 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8379 if test $am_cv_val_LC_MESSAGES = yes; then
8381 cat >>confdefs.h
<<\_ACEOF
8382 #define HAVE_LC_MESSAGES 1
8387 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8388 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8389 # Check whether --enable-nls or --disable-nls was given.
8390 if test "${enable_nls+set}" = set; then
8391 enableval
="$enable_nls"
8396 echo "$as_me:$LINENO: result: $USE_NLS" >&5
8397 echo "${ECHO_T}$USE_NLS" >&6
8400 BUILD_INCLUDED_LIBINTL
=no
8401 USE_INCLUDED_LIBINTL
=no
8404 if test "$USE_NLS" = "yes"; then
8406 cat >>confdefs.h
<<\_ACEOF
8407 #define ENABLE_NLS 1
8410 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8411 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8413 # Check whether --with-included-gettext or --without-included-gettext was given.
8414 if test "${with_included_gettext+set}" = set; then
8415 withval
="$with_included_gettext"
8416 nls_cv_force_use_gnu_gettext
=$withval
8418 nls_cv_force_use_gnu_gettext
=no
8420 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8421 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8423 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
8424 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8430 if test "${ac_cv_header_libintl_h+set}" = set; then
8431 echo "$as_me:$LINENO: checking for libintl.h" >&5
8432 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8433 if test "${ac_cv_header_libintl_h+set}" = set; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8437 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8439 # Is the header compilable?
8440 echo "$as_me:$LINENO: checking libintl.h usability" >&5
8441 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8442 cat >conftest.
$ac_ext <<_ACEOF
8443 #line $LINENO "configure"
8444 #include "confdefs.h"
8445 $ac_includes_default
8446 #include <libintl.h>
8448 rm -f conftest.
$ac_objext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8450 (eval $ac_compile) 2>&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } &&
8454 { ac_try
='test -s conftest.$ac_objext'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; }; then
8460 ac_header_compiler
=yes
8462 echo "$as_me: failed program was:" >&5
8463 cat conftest.
$ac_ext >&5
8464 ac_header_compiler
=no
8466 rm -f conftest.
$ac_objext conftest.
$ac_ext
8467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8468 echo "${ECHO_T}$ac_header_compiler" >&6
8470 # Is the header present?
8471 echo "$as_me:$LINENO: checking libintl.h presence" >&5
8472 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8473 cat >conftest.
$ac_ext <<_ACEOF
8474 #line $LINENO "configure"
8475 #include "confdefs.h"
8476 #include <libintl.h>
8478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8481 egrep -v '^ *\+' conftest.er1
>conftest.err
8483 cat conftest.err
>&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } >/dev
/null
; then
8486 if test -s conftest.err
; then
8487 ac_cpp_err
=$ac_c_preproc_warn_flag
8494 if test -z "$ac_cpp_err"; then
8495 ac_header_preproc
=yes
8497 echo "$as_me: failed program was:" >&5
8498 cat conftest.
$ac_ext >&5
8499 ac_header_preproc
=no
8501 rm -f conftest.err conftest.
$ac_ext
8502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8503 echo "${ECHO_T}$ac_header_preproc" >&6
8505 # So? What about this header?
8506 case $ac_header_compiler:$ac_header_preproc in
8508 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8509 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8510 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8511 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8513 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled." >&5
8514 echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
8515 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
8516 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
8517 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
8518 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
8520 echo "$as_me:$LINENO: checking for libintl.h" >&5
8521 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8522 if test "${ac_cv_header_libintl_h+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 ac_cv_header_libintl_h
=$ac_header_preproc
8527 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8528 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8531 if test $ac_cv_header_libintl_h = yes; then
8532 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8533 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
8534 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 cat >conftest.
$ac_ext <<_ACEOF
8538 #line $LINENO "configure"
8539 #include "confdefs.h"
8540 #include <libintl.h>
8541 extern int _nl_msg_cat_cntr;
8542 #ifdef F77_DUMMY_MAIN
8546 int F77_DUMMY_MAIN() { return 1; }
8551 bindtextdomain ("", "");
8552 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8557 rm -f conftest.
$ac_objext conftest
$ac_exeext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8559 (eval $ac_link) 2>&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } &&
8563 { ac_try
='test -s conftest$ac_exeext'
8564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; }; then
8569 gt_cv_func_gnugettext2_libc
=yes
8571 echo "$as_me: failed program was:" >&5
8572 cat conftest.
$ac_ext >&5
8573 gt_cv_func_gnugettext2_libc
=no
8575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8577 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
8578 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
8580 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
8581 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8582 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
8583 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
8584 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 gt_save_LIBS
="$LIBS"
8587 LIBS
="$LIBS -lintl $LIBICONV"
8588 cat >conftest.
$ac_ext <<_ACEOF
8589 #line $LINENO "configure"
8590 #include "confdefs.h"
8591 #include <libintl.h>
8592 extern int _nl_msg_cat_cntr;
8593 #ifdef F77_DUMMY_MAIN
8597 int F77_DUMMY_MAIN() { return 1; }
8602 bindtextdomain ("", "");
8603 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
8608 rm -f conftest.
$ac_objext conftest
$ac_exeext
8609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8610 (eval $ac_link) 2>&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); } &&
8614 { ac_try
='test -s conftest$ac_exeext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 gt_cv_func_gnugettext2_libintl
=yes
8622 echo "$as_me: failed program was:" >&5
8623 cat conftest.
$ac_ext >&5
8624 gt_cv_func_gnugettext2_libintl
=no
8626 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8627 LIBS
="$gt_save_LIBS"
8629 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
8630 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
8633 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
8634 || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
8635 && test "$PACKAGE" != gettext; }; then
8637 cat >>confdefs.h
<<\_ACEOF
8638 #define HAVE_GETTEXT 1
8642 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
8643 INTLLIBS
="-lintl $LIBICONV"
8646 gt_save_LIBS
="$LIBS"
8647 LIBS
="$LIBS $INTLLIBS"
8649 for ac_func
in dcgettext
8651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8652 echo "$as_me:$LINENO: checking for $ac_func" >&5
8653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8654 if eval "test \"\${$as_ac_var+set}\" = set"; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 cat >conftest.
$ac_ext <<_ACEOF
8658 #line $LINENO "configure"
8659 #include "confdefs.h"
8660 /* System header to define __stub macros and hopefully few prototypes,
8661 which can conflict with char $ac_func (); below. */
8663 /* Override any gcc2 internal prototype to avoid an error. */
8667 /* We use char because int might match the return type of a gcc2
8668 builtin and then its argument prototype would still apply. */
8672 #ifdef F77_DUMMY_MAIN
8676 int F77_DUMMY_MAIN() { return 1; }
8681 /* The GNU C library defines this for functions which it implements
8682 to always fail with ENOSYS. Some functions are actually named
8683 something starting with __ and the normal name is an alias. */
8684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8694 rm -f conftest.
$ac_objext conftest
$ac_exeext
8695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8696 (eval $ac_link) 2>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try
='test -s conftest$ac_exeext'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; }; then
8706 eval "$as_ac_var=yes"
8708 echo "$as_me: failed program was:" >&5
8709 cat conftest.
$ac_ext >&5
8710 eval "$as_ac_var=no"
8712 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8716 if test `eval echo '${'$as_ac_var'}'` = yes; then
8717 cat >>confdefs.h
<<_ACEOF
8718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8724 LIBS
="$gt_save_LIBS"
8726 # Extract the first word of "msgfmt", so it can be a program name with args.
8727 set dummy msgfmt
; ac_word
=$2
8728 echo "$as_me:$LINENO: checking for $ac_word" >&5
8729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8730 if test "${ac_cv_path_MSGFMT+set}" = set; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8738 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8739 for ac_dir
in $PATH; do
8740 test -z "$ac_dir" && ac_dir
=.
8741 if test -f $ac_dir/$ac_word; then
8742 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8743 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8749 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8753 MSGFMT
="$ac_cv_path_MSGFMT"
8754 if test "$MSGFMT" != ":"; then
8755 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8756 echo "${ECHO_T}$MSGFMT" >&6
8758 echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6
8762 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8763 set dummy gmsgfmt
; ac_word
=$2
8764 echo "$as_me:$LINENO: checking for $ac_word" >&5
8765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8766 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8781 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8788 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8792 GMSGFMT
=$ac_cv_path_GMSGFMT
8794 if test -n "$GMSGFMT"; then
8795 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8796 echo "${ECHO_T}$GMSGFMT" >&6
8798 echo "$as_me:$LINENO: result: no" >&5
8799 echo "${ECHO_T}no" >&6
8803 # Extract the first word of "xgettext", so it can be a program name with args.
8804 set dummy xgettext
; ac_word
=$2
8805 echo "$as_me:$LINENO: checking for $ac_word" >&5
8806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8807 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8815 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8816 for ac_dir
in $PATH; do
8817 test -z "$ac_dir" && ac_dir
=.
8818 if test -f $ac_dir/$ac_word; then
8819 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8820 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8826 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8830 XGETTEXT
="$ac_cv_path_XGETTEXT"
8831 if test "$XGETTEXT" != ":"; then
8832 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8833 echo "${ECHO_T}$XGETTEXT" >&6
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8847 if test "$CATOBJEXT" = "NONE"; then
8848 nls_cv_use_gnu_gettext
=yes
8852 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8853 INTLOBJS
="\$(GETTOBJS)"
8854 # Extract the first word of "msgfmt", so it can be a program name with args.
8855 set dummy msgfmt
; ac_word
=$2
8856 echo "$as_me:$LINENO: checking for $ac_word" >&5
8857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8858 if test "${ac_cv_path_MSGFMT+set}" = set; then
8859 echo $ECHO_N "(cached) $ECHO_C" >&6
8863 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8866 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8867 for ac_dir
in $PATH; do
8868 test -z "$ac_dir" && ac_dir
=.
8869 if test -f $ac_dir/$ac_word; then
8870 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8871 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8877 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8881 MSGFMT
="$ac_cv_path_MSGFMT"
8882 if test "$MSGFMT" != ":"; then
8883 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8884 echo "${ECHO_T}$MSGFMT" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8890 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8891 set dummy gmsgfmt
; ac_word
=$2
8892 echo "$as_me:$LINENO: checking for $ac_word" >&5
8893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8894 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir
=.
8907 for ac_exec_ext
in '' $ac_executable_extensions; do
8908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8909 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8920 GMSGFMT
=$ac_cv_path_GMSGFMT
8922 if test -n "$GMSGFMT"; then
8923 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8924 echo "${ECHO_T}$GMSGFMT" >&6
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8930 # Extract the first word of "xgettext", so it can be a program name with args.
8931 set dummy xgettext
; ac_word
=$2
8932 echo "$as_me:$LINENO: checking for $ac_word" >&5
8933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8934 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8942 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8943 for ac_dir
in $PATH; do
8944 test -z "$ac_dir" && ac_dir
=.
8945 if test -f $ac_dir/$ac_word; then
8946 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8947 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8953 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8957 XGETTEXT
="$ac_cv_path_XGETTEXT"
8958 if test "$XGETTEXT" != ":"; then
8959 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8960 echo "${ECHO_T}$XGETTEXT" >&6
8962 echo "$as_me:$LINENO: result: no" >&5
8963 echo "${ECHO_T}no" >&6
8967 BUILD_INCLUDED_LIBINTL
=yes
8968 USE_INCLUDED_LIBINTL
=yes
8970 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8971 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8974 if test "$GMSGFMT" != ":"; then
8975 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8978 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8979 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8984 if test "$XGETTEXT" != ":"; then
8985 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8988 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8989 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8996 ac_config_commands
="$ac_config_commands default-1"
9000 if test "$PACKAGE" = gettext; then
9001 BUILD_INCLUDED_LIBINTL
=yes
9004 for ac_prog
in bison
9006 # Extract the first word of "$ac_prog", so it can be a program name with args.
9007 set dummy
$ac_prog; ac_word
=$2
9008 echo "$as_me:$LINENO: checking for $ac_word" >&5
9009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9010 if test "${ac_cv_prog_INTLBISON+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 if test -n "$INTLBISON"; then
9014 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
9016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir
=.
9021 for ac_exec_ext
in '' $ac_executable_extensions; do
9022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9023 ac_cv_prog_INTLBISON
="$ac_prog"
9024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9032 INTLBISON
=$ac_cv_prog_INTLBISON
9033 if test -n "$INTLBISON"; then
9034 echo "$as_me:$LINENO: result: $INTLBISON" >&5
9035 echo "${ECHO_T}$INTLBISON" >&6
9037 echo "$as_me:$LINENO: result: no" >&5
9038 echo "${ECHO_T}no" >&6
9041 test -n "$INTLBISON" && break
9044 if test -z "$INTLBISON"; then
9047 echo "$as_me:$LINENO: checking version of bison" >&5
9048 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
9049 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
9050 case $ac_prog_version in
9051 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
9052 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
9053 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
9054 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
9056 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
9057 echo "${ECHO_T}$ac_prog_version" >&6
9059 if test $ac_verc_fail = yes; then
9063 for lang
in $ALL_LINGUAS; do
9064 GMOFILES
="$GMOFILES $lang.gmo"
9065 POFILES
="$POFILES $lang.po"
9079 nls_cv_header_libgt
=
9091 if test "x$CATOBJEXT" != "x"; then
9092 if test "x$ALL_LINGUAS" = "x"; then
9095 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
9096 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
9098 for presentlang
in $ALL_LINGUAS; do
9100 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
9101 # Use the presentlang catalog if desiredlang is
9102 # a. equal to presentlang, or
9103 # b. a variant of presentlang (because in this case,
9104 # presentlang can be used as a fallback for messages
9105 # which are not translated in the desiredlang catalog).
9106 case "$desiredlang" in
9107 "$presentlang"*) useit
=yes;;
9110 if test $useit = yes; then
9111 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
9114 LINGUAS
=$NEW_LINGUAS
9115 echo "$as_me:$LINENO: result: $LINGUAS" >&5
9116 echo "${ECHO_T}$LINGUAS" >&6
9119 if test -n "$LINGUAS"; then
9120 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
9125 if test -n "$ac_aux_dir"; then
9126 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
9128 if test -z "$MKINSTALLDIRS"; then
9129 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
9133 INTL_LIBTOOL_SUFFIX_PREFIX
=
9137 # This is necessary so that .o files in LIBOBJS are also built via
9138 # the ANSI2KNR-filtering rules.
9139 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
9142 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile"
9143 cat >confcache
<<\_ACEOF
9144 # This file is a shell script that caches the results of configure
9145 # tests run on this system so they can be shared between configure
9146 # scripts and configure runs, see configure's option --config-cache.
9147 # It is not useful on other systems. If it contains results you don't
9148 # want to keep, you may remove or edit it.
9150 # config.status only pays attention to the cache file if you give it
9151 # the --recheck option to rerun configure.
9153 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9159 # The following way of writing the cache mishandles newlines in values,
9160 # but we know of no workaround that is simple, portable, and efficient.
9161 # So, don't put newlines in cache variables' values.
9162 # Ultrix sh set writes to stderr and can't be redirected directly,
9163 # and sets the high bit in the cache file unless we assign to the vars.
9166 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9168 # `set' does not quote correctly, so add quotes (double-quote
9169 # substitution turns \\\\ into \\, and sed turns \\ into \).
9172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9175 # `set' quotes correctly as required by POSIX, so do not add quotes.
9177 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9184 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9186 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9188 if cmp -s $cache_file confcache
; then :; else
9189 if test -w $cache_file; then
9190 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9191 cat confcache
>$cache_file
9193 echo "not updating unwritable cache $cache_file"
9198 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9199 # Let make expand exec_prefix.
9200 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9202 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9203 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9204 # trailing colons and then remove the whole line if VPATH becomes empty
9205 # (actually we leave an empty line to preserve line numbers).
9206 if test "x$srcdir" = x.
; then
9207 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9208 s/:*\$(srcdir):*/:/;
9209 s/:*\${srcdir}:*/:/;
9211 s/^\([^=]*=[ ]*\):*/\1/;
9217 DEFS
=-DHAVE_CONFIG_H
9219 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9220 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9221 Usually this means the macro was only invoked conditionally." >&5
9222 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9223 Usually this means the macro was only invoked conditionally." >&2;}
9224 { (exit 1); exit 1; }; }
9227 : ${CONFIG_STATUS=./config.status}
9228 ac_clean_files_save
=$ac_clean_files
9229 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9230 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9231 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9232 cat >$CONFIG_STATUS <<_ACEOF
9234 # Generated by $as_me.
9235 # Run this file to recreate the current configuration.
9236 # Compiler output produced by configure, useful for debugging
9237 # configure, is in config.log if it exists.
9240 SHELL=\${CONFIG_SHELL-$SHELL}
9243 cat >>$CONFIG_STATUS <<\_ACEOF
9245 ## --------------------- ##
9246 ## M4sh Initialization. ##
9247 ## --------------------- ##
9249 # Be Bourne compatible
9250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9253 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9258 # Support unset when possible.
9259 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
9265 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
9266 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
9267 { LANG
=C
; export LANG
; }
9268 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
9269 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
9270 { LC_ALL
=C
; export LC_ALL
; }
9271 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
9272 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
9273 { LC_TIME
=C
; export LC_TIME
; }
9274 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
9275 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
9276 { LC_CTYPE
=C
; export LC_CTYPE
; }
9277 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
9278 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
9279 { LANGUAGE
=C
; export LANGUAGE
; }
9280 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
9281 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
9282 { LC_COLLATE
=C
; export LC_COLLATE
; }
9283 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
9284 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
9285 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
9286 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
9287 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
9288 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
9291 # Name of the executable.
9292 as_me
=`(basename "$0") 2>/dev/null ||
9293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9294 X"$0" : 'X\(//\)$' \| \
9295 X"$0" : 'X\(/\)$' \| \
9296 . : '\(.\)' 2>/dev/null ||
9298 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9299 /^X\/\(\/\/\)$/{ s//\1/; q; }
9300 /^X\/\(\/\).*/{ s//\1/; q; }
9303 # PATH needs CR, and LINENO needs CR and PATH.
9304 # Avoid depending upon Character Ranges.
9305 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9306 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9307 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9308 as_cr_digits
='0123456789'
9309 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9311 # The user is always right.
9312 if test "${PATH_SEPARATOR+set}" != set; then
9313 echo "#! /bin/sh" >conftest.sh
9314 echo "exit 0" >>conftest.sh
9315 chmod +x conftest.sh
9316 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
9327 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9328 test "x$as_lineno_1" != "x$as_lineno_2" &&
9329 test "x$as_lineno_3" = "x$as_lineno_2" || {
9330 # Find who we are. Look in the path if we contain no path at all
9333 *[\\/]* ) as_myself
=$0 ;;
9334 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9338 test -z "$as_dir" && as_dir
=.
9339 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9344 # We did not find ourselves, most probably we were run as `sh COMMAND'
9345 # in which case we are not to be found in the path.
9346 if test "x$as_myself" = x
; then
9349 if test ! -f "$as_myself"; then
9350 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9351 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9352 { (exit 1); exit 1; }; }
9354 case $CONFIG_SHELL in
9356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9357 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9360 test -z "$as_dir" && as_dir
=.
9361 for as_base
in sh bash ksh sh5
; do
9364 if ("$as_dir/$as_base" -c '
9367 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9368 test "x$as_lineno_1" != "x$as_lineno_2" &&
9369 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9370 CONFIG_SHELL
=$as_dir/$as_base
9372 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9380 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9381 # uniformly replaced by the line number. The first 'sed' inserts a
9382 # line-number line before each line; the second 'sed' does the real
9383 # work. The second script uses 'N' to pair each line-number line
9384 # with the numbered line, and appends trailing '-' during
9385 # substitution so that $LINENO is not a special case at line end.
9386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9387 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9388 sed '=' <$as_myself |
9393 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9396 s,^['$as_cr_digits']*\n,,
9398 chmod +x
$as_me.lineno
||
9399 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9400 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9401 { (exit 1); exit 1; }; }
9403 # Don't try to exec as it changes $[0], causing all sort of problems
9404 # (the dirname of $[0] is not the place where we might find the
9405 # original and so on. Autoconf is especially sensible to this).
9407 # Exit status is that of the last command.
9412 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9413 *c
*,-n*) ECHO_N
= ECHO_C
='
9415 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9416 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9419 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9425 rm -f conf$$ conf$$.exe conf$$.
file
9427 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9428 # We could just check for DJGPP; but this test a) works b) is more generic
9429 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9430 if test -f conf$$.exe
; then
9431 # Don't use ln at all; we don't have any links
9436 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9441 rm -f conf$$ conf$$.exe conf$$.
file
9443 as_executable_p
="test -f"
9445 # Sed expression to map a string onto a valid CPP name.
9446 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9448 # Sed expression to map a string onto a valid variable name.
9449 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9453 # We need space, tab and new line, in precisely that order.
9459 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
9463 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9464 # report actual input values of CONFIG_FILES etc. instead of their
9465 # values after options handling. Logging --version etc. is OK.
9469 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9470 ## Running $as_me. ##
9475 This file was extended by GNU Bison $as_me 1.33a, which was
9476 generated by GNU Autoconf 2.52h. Invocation command line was
9478 CONFIG_FILES = $CONFIG_FILES
9479 CONFIG_HEADERS = $CONFIG_HEADERS
9480 CONFIG_LINKS = $CONFIG_LINKS
9481 CONFIG_COMMANDS = $CONFIG_COMMANDS
9485 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9489 # Files that config.status was made for.
9490 if test -n "$ac_config_files"; then
9491 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9494 if test -n "$ac_config_headers"; then
9495 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9498 if test -n "$ac_config_links"; then
9499 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9502 if test -n "$ac_config_commands"; then
9503 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9506 cat >>$CONFIG_STATUS <<\_ACEOF
9509 \`$as_me' instantiates files from templates according to the
9510 current configuration.
9512 Usage: $0 [OPTIONS] [FILE]...
9514 -h, --help print this help, then exit
9515 -V, --version print version number, then exit
9516 -d, --debug don't remove temporary files
9517 --recheck update $as_me by reconfiguring in the same conditions
9518 --file=FILE[:TEMPLATE]
9519 instantiate the configuration file FILE
9520 --header=FILE[:TEMPLATE]
9521 instantiate the configuration header FILE
9523 Configuration files:
9526 Configuration headers:
9529 Configuration commands:
9532 Report bugs to <bug-autoconf@gnu.org>."
9535 cat >>$CONFIG_STATUS <<_ACEOF
9537 GNU Bison config.status 1.33a
9538 configured by $0, generated by GNU Autoconf 2.52h,
9539 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9541 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9542 Free Software Foundation, Inc.
9543 This config.status script is free software; the Free Software Foundation
9544 gives unlimited permission to copy, distribute and modify it."
9549 cat >>$CONFIG_STATUS <<\_ACEOF
9550 # If no file are specified by the user, then we need to provide default
9551 # value. By we need to know if files were specified by the user.
9557 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9558 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9560 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
9564 *) # This is not an option, so the user has probably given explicit
9566 ac_need_defaults
=false
;;
9570 # Handling of the options.
9572 cat >>$CONFIG_STATUS <<_ACEOF
9573 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9574 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9575 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9577 cat >>$CONFIG_STATUS <<\_ACEOF
9578 --version | --vers* | -V )
9579 echo "$ac_cs_version"; exit 0 ;;
9581 # Conflict between --help and --header
9582 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9583 Try \`$0 --help' for more information." >&5
9584 echo "$as_me: error: ambiguous option: $1
9585 Try \`$0 --help' for more information." >&2;}
9586 { (exit 1); exit 1; }; };;
9587 --help | --hel | -h )
9588 echo "$ac_cs_usage"; exit 0 ;;
9589 --debug | --d* | -d )
9591 --file | --fil | --fi | --f )
9593 CONFIG_FILES
="$CONFIG_FILES $1"
9594 ac_need_defaults
=false
;;
9595 --header | --heade | --head | --hea )
9597 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
9598 ac_need_defaults
=false
;;
9601 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9602 Try \`$0 --help' for more information." >&5
9603 echo "$as_me: error: unrecognized option: $1
9604 Try \`$0 --help' for more information." >&2;}
9605 { (exit 1); exit 1; }; } ;;
9607 *) ac_config_targets
="$ac_config_targets $1" ;;
9615 cat >>$CONFIG_STATUS <<_ACEOF
9617 # INIT-COMMANDS section.
9620 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9627 cat >>$CONFIG_STATUS <<\_ACEOF
9628 for ac_config_target
in $ac_config_targets
9630 case "$ac_config_target" in
9631 # Handling of arguments.
9632 "tests/bison" ) CONFIG_FILES
="$CONFIG_FILES tests/bison" ;;
9633 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9634 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
9635 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9636 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
9637 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
9638 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9639 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
9640 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9641 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9642 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
9643 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
9644 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9645 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9646 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
9647 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9648 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9649 { (exit 1); exit 1; }; };;
9653 # If the user did not use the arguments to specify the items to instantiate,
9654 # then the envvar interface is used. Set only those that are not.
9655 # We use the long form for the default assignment because of an extremely
9656 # bizarre bug on SunOS 4.1.3.
9657 if $ac_need_defaults; then
9658 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9659 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9660 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9663 # Create a temporary directory, and hook for its removal unless debugging.
9666 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9667 trap '{ (exit 1); exit 1; }' 1 2 13 15
9670 # Create a (secure) tmp directory for tmp files.
9673 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9674 test -n "$tmp" && test -d "$tmp"
9677 tmp
=$TMPDIR/cs$$
-$RANDOM
9678 (umask 077 && mkdir $tmp)
9681 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9682 { (exit 1); exit 1; }
9687 cat >>$CONFIG_STATUS <<_ACEOF
9690 # CONFIG_FILES section.
9693 # No need to generate the scripts if there are no CONFIG_FILES.
9694 # This happens for instance when ./config.status config.h
9695 if test -n "\$CONFIG_FILES"; then
9696 # Protect against being on the right side of a sed subst in config.status.
9697 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9698 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9699 s,@SHELL@,$SHELL,;t t
9700 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9701 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9702 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9703 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9704 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9705 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9706 s,@exec_prefix@,$exec_prefix,;t t
9707 s,@prefix@,$prefix,;t t
9708 s,@program_transform_name@,$program_transform_name,;t t
9709 s,@bindir@,$bindir,;t t
9710 s,@sbindir@,$sbindir,;t t
9711 s,@libexecdir@,$libexecdir,;t t
9712 s,@datadir@,$datadir,;t t
9713 s,@sysconfdir@,$sysconfdir,;t t
9714 s,@sharedstatedir@,$sharedstatedir,;t t
9715 s,@localstatedir@,$localstatedir,;t t
9716 s,@libdir@,$libdir,;t t
9717 s,@includedir@,$includedir,;t t
9718 s,@oldincludedir@,$oldincludedir,;t t
9719 s,@infodir@,$infodir,;t t
9720 s,@mandir@,$mandir,;t t
9721 s,@build_alias@,$build_alias,;t t
9722 s,@host_alias@,$host_alias,;t t
9723 s,@target_alias@,$target_alias,;t t
9725 s,@ECHO_C@,$ECHO_C,;t t
9726 s,@ECHO_N@,$ECHO_N,;t t
9727 s,@ECHO_T@,$ECHO_T,;t t
9729 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9730 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9731 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9732 s,@PACKAGE@,$PACKAGE,;t t
9733 s,@VERSION@,$VERSION,;t t
9734 s,@ACLOCAL@,$ACLOCAL,;t t
9735 s,@AUTOCONF@,$AUTOCONF,;t t
9736 s,@AUTOMAKE@,$AUTOMAKE,;t t
9737 s,@AUTOHEADER@,$AUTOHEADER,;t t
9738 s,@MAKEINFO@,$MAKEINFO,;t t
9739 s,@AMTAR@,$AMTAR,;t t
9740 s,@install_sh@,$install_sh,;t t
9741 s,@STRIP@,$STRIP,;t t
9742 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9743 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9745 s,@SET_MAKE@,$SET_MAKE,;t t
9748 s,@CFLAGS@,$CFLAGS,;t t
9749 s,@LDFLAGS@,$LDFLAGS,;t t
9750 s,@CPPFLAGS@,$CPPFLAGS,;t t
9751 s,@ac_ct_CC@,$ac_ct_CC,;t t
9752 s,@EXEEXT@,$EXEEXT,;t t
9753 s,@OBJEXT@,$OBJEXT,;t t
9754 s,@DEPDIR@,$DEPDIR,;t t
9755 s,@am__include@,$am__include,;t t
9756 s,@am__quote@,$am__quote,;t t
9757 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9758 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9759 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9760 s,@CCDEPMODE@,$CCDEPMODE,;t t
9762 s,@RANLIB@,$RANLIB,;t t
9763 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9764 s,@AUTOM4TE@,$AUTOM4TE,;t t
9765 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
9766 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9768 s,@ANSI2KNR@,$ANSI2KNR,;t t
9769 s,@ALLOCA@,$ALLOCA,;t t
9770 s,@LIBOBJS@,$LIBOBJS,;t t
9771 s,@build@,$build,;t t
9772 s,@build_cpu@,$build_cpu,;t t
9773 s,@build_vendor@,$build_vendor,;t t
9774 s,@build_os@,$build_os,;t t
9776 s,@host_cpu@,$host_cpu,;t t
9777 s,@host_vendor@,$host_vendor,;t t
9778 s,@host_os@,$host_os,;t t
9779 s,@GLIBC21@,$GLIBC21,;t t
9780 s,@LIBICONV@,$LIBICONV,;t t
9781 s,@USE_NLS@,$USE_NLS,;t t
9782 s,@MSGFMT@,$MSGFMT,;t t
9783 s,@GMSGFMT@,$GMSGFMT,;t t
9784 s,@XGETTEXT@,$XGETTEXT,;t t
9785 s,@INTLBISON@,$INTLBISON,;t t
9786 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
9787 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9788 s,@CATALOGS@,$CATALOGS,;t t
9789 s,@CATOBJEXT@,$CATOBJEXT,;t t
9790 s,@GMOFILES@,$GMOFILES,;t t
9791 s,@INTLLIBS@,$INTLLIBS,;t t
9792 s,@INTLOBJS@,$INTLOBJS,;t t
9793 s,@POFILES@,$POFILES,;t t
9794 s,@POSUB@,$POSUB,;t t
9795 s,@DATADIRNAME@,$DATADIRNAME,;t t
9796 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9797 s,@GENCAT@,$GENCAT,;t t
9798 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9799 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
9804 cat >>$CONFIG_STATUS <<\_ACEOF
9805 # Split the substitutions into bite-sized pieces for seds with
9806 # small command number limits, like on Digital OSF/1 and HP-UX.
9808 ac_sed_frag
=1 # Number of current file.
9809 ac_beg
=1 # First line for current file.
9810 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9813 while $ac_more_lines; do
9814 if test $ac_beg -gt 1; then
9815 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9817 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9819 if test ! -s $tmp/subs.frag
; then
9822 # The purpose of the label and of the branching condition is to
9823 # speed up the sed processing (if there are no `@' at all, there
9824 # is no need to browse any of the substitutions).
9825 # These are the two extra sed commands mentioned above.
9827 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9828 if test -z "$ac_sed_cmds"; then
9829 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9831 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9833 ac_sed_frag
=`expr $ac_sed_frag + 1`
9835 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9838 if test -z "$ac_sed_cmds"; then
9841 fi # test -n "$CONFIG_FILES"
9844 cat >>$CONFIG_STATUS <<\_ACEOF
9845 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9846 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9848 - | *:- | *:-:* ) # input from stdin
9850 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9851 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9852 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9853 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9854 * ) ac_file_in
=$ac_file.
in ;;
9857 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9858 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9860 X"$ac_file" : 'X\(//\)[^/]' \| \
9861 X"$ac_file" : 'X\(//\)$' \| \
9862 X"$ac_file" : 'X\(/\)' \| \
9863 . : '\(.\)' 2>/dev/null ||
9865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9867 /^X\(\/\/\)$/{ s//\1/; q; }
9868 /^X\(\/\).*/{ s//\1/; q; }
9871 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9875 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9876 case $as_mkdir_dir in
9877 # Skip DOS drivespec
9878 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9880 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9881 test -d "$as_incr_dir" ||
9882 mkdir "$as_incr_dir" ||
9883 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9884 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9885 { (exit 1); exit 1; }; }
9892 if test "$ac_dir" != .
; then
9893 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9894 # A "../" for each directory in $ac_dir_suffix.
9895 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9897 ac_dir_suffix
= ac_top_builddir
=
9901 .
) # No --srcdir option. We are building in place.
9903 if test -z "$ac_top_builddir"; then
9906 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9908 [\\/]* | ?
:[\\/]* ) # Absolute path.
9909 ac_srcdir
=$srcdir$ac_dir_suffix;
9910 ac_top_srcdir
=$srcdir ;;
9912 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9913 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9915 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9917 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
9918 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9919 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9920 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9924 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9925 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9928 if test x
"$ac_file" != x
-; then
9929 { echo "$as_me:$LINENO: creating $ac_file" >&5
9930 echo "$as_me: creating $ac_file" >&6;}
9933 # Let's still pretend it is `configure' which instantiates (i.e., don't
9934 # use $as_me), people would be surprised to read:
9935 # /* config.h. Generated by config.status. */
9936 if test x
"$ac_file" = x
-; then
9939 configure_input
="$ac_file. "
9941 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9942 sed 's,.*/,,'` by configure."
9944 # First look for the input files in the build tree, otherwise in the
9946 ac_file_inputs
=`IFS=:
9947 for f in $ac_file_in; do
9949 -) echo $tmp/stdin ;;
9951 # Absolute (can't be DOS-style, as IFS=:)
9952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9953 echo "$as_me: error: cannot find input file: $f" >&2;}
9954 { (exit 1); exit 1; }; }
9957 if test -f "$f"; then
9960 elif test -f "$srcdir/$f"; then
9965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9966 echo "$as_me: error: cannot find input file: $f" >&2;}
9967 { (exit 1); exit 1; }; }
9970 done` || { (exit 1); exit 1; }
9972 cat >>$CONFIG_STATUS <<_ACEOF
9976 cat >>$CONFIG_STATUS <<\_ACEOF
9978 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9979 s
,@configure_input@
,$configure_input,;t t
9980 s
,@srcdir@
,$ac_srcdir,;t t
9981 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9982 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9983 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9984 s
,@builddir@
,$ac_builddir,;t t
9985 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9986 s
,@top_builddir@
,$ac_top_builddir,;t t
9987 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9988 s
,@INSTALL@
,$ac_INSTALL,;t t
9989 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9991 if test x"$ac_file" != x-; then
9992 mv $tmp/out $ac_file
9998 # Run the commands associated with the file.
10000 tests/bison ) chmod +x tests/bison ;;
10004 cat >>$CONFIG_STATUS <<\_ACEOF
10007 # CONFIG_HEADER section.
10010 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10011 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10013 # ac_d sets the value in "#define NAME VALUE" lines.
10014 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10015 ac_dB
='[ ].*$,\1#\2'
10018 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10019 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10020 ac_uB
='$,\1#\2define\3'
10024 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10025 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10027 - | *:- | *:-:* ) # input from stdin
10029 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10030 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10031 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10032 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10033 * ) ac_file_in
=$ac_file.
in ;;
10036 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10037 echo "$as_me: creating $ac_file" >&6;}
10039 # First look for the input files in the build tree, otherwise in the
10041 ac_file_inputs
=`IFS=:
10042 for f in $ac_file_in; do
10044 -) echo $tmp/stdin ;;
10046 # Absolute (can't be DOS-style, as IFS=:)
10047 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10048 echo "$as_me: error: cannot find input file: $f" >&2;}
10049 { (exit 1); exit 1; }; }
10052 if test -f "$f"; then
10055 elif test -f "$srcdir/$f"; then
10060 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10061 echo "$as_me: error: cannot find input file: $f" >&2;}
10062 { (exit 1); exit 1; }; }
10065 done` || { (exit 1); exit 1; }
10066 # Remove the trailing spaces.
10067 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10071 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10072 # `conftest.undefs', that substitutes the proper values into
10073 # config.h.in to produce config.h. The first handles `#define'
10074 # templates, and the second `#undef' templates.
10075 # And first: Protect against being on the right side of a sed subst in
10076 # config.status. Protect against being in an unquoted here document
10077 # in config.status.
10078 rm -f conftest.defines conftest.undefs
10079 # Using a here document instead of a string reduces the quoting nightmare.
10080 # Putting comments in sed scripts is not portable.
10082 # `end' is used to avoid that the second main sed command (meant for
10083 # 0-ary CPP macros) applies to n-ary macro definitions.
10084 # See the Autoconf documentation for `clear'.
10085 cat >confdef2sed.
sed <<\_ACEOF
10090 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10092 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10095 # If some macros were called several times there might be several times
10096 # the same #defines, which is useless. Nevertheless, we may not want to
10097 # sort them, since we want the *last* AC-DEFINE to be honored.
10098 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10099 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10100 rm -f confdef2sed.sed
10102 # This sed command replaces #undef with comments. This is necessary, for
10103 # example, in the case of _POSIX_SOURCE, which is predefined and required
10104 # on some systems where configure will not decide to define it.
10105 cat >>conftest.undefs <<\_ACEOF
10106 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10109 # Break up conftest.defines because some shells have a limit on the size
10110 # of here documents, and old seds have small limits too (100 cmds).
10111 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10112 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10113 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10114 echo ' :' >>$CONFIG_STATUS
10115 rm -f conftest.tail
10116 while grep . conftest.defines >/dev/null
10118 # Write a limited-size here document to $tmp/defines.sed.
10119 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10120 # Speed up: don't consider the non `#define' lines.
10121 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10122 # Work around the forget-to-reset-the-flag bug.
10123 echo 't clr' >>$CONFIG_STATUS
10124 echo ': clr' >>$CONFIG_STATUS
10125 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10127 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10129 mv $tmp/out $tmp/in
10131 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10132 rm -f conftest.defines
10133 mv conftest.
tail conftest.defines
10135 rm -f conftest.defines
10136 echo ' fi # egrep' >>$CONFIG_STATUS
10137 echo >>$CONFIG_STATUS
10139 # Break up conftest.undefs because some shells have a limit on the size
10140 # of here documents, and old seds have small limits too (100 cmds).
10141 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10142 rm -f conftest.
tail
10143 while grep . conftest.undefs
>/dev
/null
10145 # Write a limited-size here document to $tmp/undefs.sed.
10146 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10147 # Speed up: don't consider the non
`#undef'
10148 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10149 # Work around the forget-to-reset-the-flag bug.
10150 echo 't clr' >>$CONFIG_STATUS
10151 echo ': clr' >>$CONFIG_STATUS
10152 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10154 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10156 mv $tmp/out $tmp/in
10158 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10159 rm -f conftest.undefs
10160 mv conftest.tail conftest.undefs
10162 rm -f conftest.undefs
10164 cat >>$CONFIG_STATUS <<\_ACEOF
10165 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10166 # use $as_me), people would be surprised to read:
10167 # /* config.h. Generated by config.status. */
10168 if test x
"$ac_file" = x
-; then
10169 echo "/* Generated by configure. */" >$tmp/config.h
10171 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10173 cat $tmp/in >>$tmp/config.h
10175 if test x
"$ac_file" != x
-; then
10176 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
10177 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10178 echo "$as_me: $ac_file is unchanged" >&6;}
10180 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10181 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10182 X"$ac_file" : 'X\(//\)[^/]' \| \
10183 X"$ac_file" : 'X\(//\)$' \| \
10184 X"$ac_file" : 'X\(/\)' \| \
10185 . : '\(.\)' 2>/dev/null ||
10187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10189 /^X\(\/\/\)$/{ s//\1/; q; }
10190 /^X\(\/\).*/{ s//\1/; q; }
10192 { case "$ac_dir" in
10193 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10197 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10198 case $as_mkdir_dir in
10199 # Skip DOS drivespec
10200 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10202 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10203 test -d "$as_incr_dir" ||
10204 mkdir "$as_incr_dir" ||
10205 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
10206 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
10207 { (exit 1); exit 1; }; }
10213 mv $tmp/config.h
$ac_file
10217 rm -f $tmp/config.h
10219 # Run the commands associated with the file.
10221 config.h
) # update the timestamp
10222 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
10227 cat >>$CONFIG_STATUS <<\_ACEOF
10230 # CONFIG_COMMANDS section.
10232 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10233 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10234 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10235 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10236 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10237 X"$ac_dest" : 'X\(//\)[^/]' \| \
10238 X"$ac_dest" : 'X\(//\)$' \| \
10239 X"$ac_dest" : 'X\(/\)' \| \
10240 . : '\(.\)' 2>/dev/null ||
10242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10244 /^X\(\/\/\)$/{ s//\1/; q; }
10245 /^X\(\/\).*/{ s//\1/; q; }
10249 if test "$ac_dir" != .
; then
10250 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10251 # A "../" for each directory in $ac_dir_suffix.
10252 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10254 ac_dir_suffix
= ac_top_builddir
=
10258 .
) # No --srcdir option. We are building in place.
10260 if test -z "$ac_top_builddir"; then
10263 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10265 [\\/]* | ?
:[\\/]* ) # Absolute path.
10266 ac_srcdir
=$srcdir$ac_dir_suffix;
10267 ac_top_srcdir
=$srcdir ;;
10268 *) # Relative path.
10269 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10270 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10272 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10274 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
10275 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
10276 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10277 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10280 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10281 echo "$as_me: executing $ac_dest commands" >&6;}
10283 tests
/atconfig
) cat >tests
/atconfig
<<ATEOF
10284 # Configurable variable values for building test suites.
10286 # Copyright 2000, 2001 Free Software Foundation, Inc.
10288 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
10290 abs_builddir='$ac_abs_builddir'
10291 at_srcdir='$ac_srcdir'
10292 abs_srcdir='$ac_abs_srcdir'
10293 at_top_srcdir='$ac_top_srcdir'
10294 abs_top_srcdir='$ac_abs_top_srcdir'
10295 at_top_builddir='$ac_top_builddir'
10296 abs_top_builddir='$ac_abs_top_builddir'
10298 AUTOTEST_PATH='tests'
10300 SHELL=\${CONFIG_SHELL-'$SHELL'}
10303 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
10304 # Strip MF so we end up with the name of the file.
10305 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10306 if (head -1 $mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
10307 dirpart
=`(dirname "$mf") 2>/dev/null ||
10308 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10309 X"$mf" : 'X\(//\)[^/]' \| \
10310 X"$mf" : 'X\(//\)$' \| \
10311 X"$mf" : 'X\(/\)' \| \
10312 . : '\(.\)' 2>/dev/null ||
10314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10315 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10316 /^X\(\/\/\)$/{ s//\1/; q; }
10317 /^X\(\/\).*/{ s//\1/; q; }
10322 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
10323 # Extract the definition of DEP_FILES from the Makefile without
10325 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10326 test -z "$DEPDIR" && continue
10327 # When using ansi2knr, U may be empty or an underscore; expand it
10328 U
=`sed -n -e '/^U = / s///p' < "$mf"`
10329 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10330 # We invoke sed twice because it is the simplest approach to
10331 # changing $(DEPDIR) to its actual value in the expansion.
10332 for file in `sed -n -e '
10333 /^DEP_FILES = .*\\\\$/ {
10342 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10343 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10344 # Make sure the directory exists.
10345 test -f "$dirpart/$file" && continue
10346 fdir
=`(dirname "$file") 2>/dev/null ||
10347 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10348 X"$file" : 'X\(//\)[^/]' \| \
10349 X"$file" : 'X\(//\)$' \| \
10350 X"$file" : 'X\(/\)' \| \
10351 . : '\(.\)' 2>/dev/null ||
10353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10355 /^X\(\/\/\)$/{ s//\1/; q; }
10356 /^X\(\/\).*/{ s//\1/; q; }
10358 { case $dirpart/$fdir in
10359 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10362 as_dummy
=$dirpart/$fdir
10363 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10364 case $as_mkdir_dir in
10365 # Skip DOS drivespec
10366 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10368 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10369 test -d "$as_incr_dir" ||
10370 mkdir "$as_incr_dir" ||
10371 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
10372 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
10373 { (exit 1); exit 1; }; }
10378 # echo "creating $dirpart/$file"
10379 echo '# dummy' > "$dirpart/$file"
10383 default
-1 ) for ac_file
in $CONFIG_FILES; do
10384 # Support "outfile[:infile[:infile...]]"
10386 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10388 # PO directories have a Makefile.in generated from Makefile.in.in.
10389 case "$ac_file" in */Makefile.
in)
10390 # Adjust a relative srcdir.
10391 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10392 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10393 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10394 # In autoconf-2.13 it is called $ac_given_srcdir.
10395 # In autoconf-2.50 it is called $srcdir.
10396 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10397 case "$ac_given_srcdir" in
10398 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10399 /*) top_srcdir
="$ac_given_srcdir" ;;
10400 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10402 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10403 rm -f "$ac_dir/POTFILES"
10404 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10405 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
10406 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10407 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10416 cat >>$CONFIG_STATUS <<\_ACEOF
10418 { (exit 0); exit 0; }
10420 chmod +x
$CONFIG_STATUS
10421 ac_clean_files
=$ac_clean_files_save
10424 # configure is writing to config.log, and then calls config.status.
10425 # config.status does its own redirection, appending to config.log.
10426 # Unfortunately, on DOS this fails, as config.log is still kept open
10427 # by configure, so config.status won't be able to write to it; its
10428 # output is simply discarded. So we exec the FD to /dev/null,
10429 # effectively closing config.log, so it can be properly (re)opened and
10430 # appended to by config.status. When coming back to configure, we
10431 # need to make the FD available again.
10432 if test "$no_create" != yes; then
10435 $SHELL $CONFIG_STATUS || ac_cs_success
=false
10437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10438 # would make configure fail if this is the last instruction.
10439 $ac_cs_success || { (exit 1); exit 1; }