2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52c for GNU Bison 1.28e.
5 # Report bugs to <bug-bison@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits
='0123456789'
17 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 ## --------------------- ##
26 ## M4sh Initialization. ##
27 ## --------------------- ##
29 # Be Bourne compatible
30 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
37 # Name of the executable.
38 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
40 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46 rm -f conf$$ conf$$.exe conf$$.
file
48 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49 # We could just check for DJGPP; but this test a) works b) is more generic
50 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51 if test -f conf$$.exe
; then
52 # Don't use ln at all; we don't have any links
57 elif ln conf$$.
file conf$$
2>/dev
/null
; then
62 rm -f conf$$ conf$$.exe conf$$.
file
64 as_executable_p
="test -f"
66 # Support unset when possible.
67 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
74 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
75 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
76 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
77 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
78 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
79 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
80 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
81 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
84 # We need space, tab and new line, in precisely that order.
90 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
93 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
94 # so uname gets run too.
95 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
102 ac_default_prefix
=/usr
/local
106 SHELL
=${CONFIG_SHELL-/bin/sh}
108 # Maximum number of lines to put in a shell here document.
109 # This variable seems obsolete. It should probably be removed, and
110 # only ac_max_sed_lines should be used.
111 : ${ac_max_here_lines=38}
113 # Factoring default headers for most tests.
114 ac_includes_default
="\
117 # include <sys/types.h>
120 # include <sys/stat.h>
131 # if !STDC_HEADERS && HAVE_MEMORY_H
137 # include <strings.h>
140 # include <inttypes.h>
150 # Initialize some variables set by options.
152 ac_init_version
=false
153 # The variables have the same names as the options, with
154 # dashes changed to underlines.
162 program_transform_name
=s
,x
,x
,
170 # Installation directory options.
171 # These are left unexpanded so users can "make install exec_prefix=/foo"
172 # and all the variables that are supposed to be based on exec_prefix
173 # by default will actually change.
174 # Use braces instead of parens because sh, perl, etc. also accept them.
175 bindir
='${exec_prefix}/bin'
176 sbindir
='${exec_prefix}/sbin'
177 libexecdir
='${exec_prefix}/libexec'
178 datadir
='${prefix}/share'
179 sysconfdir
='${prefix}/etc'
180 sharedstatedir
='${prefix}/com'
181 localstatedir
='${prefix}/var'
182 libdir
='${exec_prefix}/lib'
183 includedir
='${prefix}/include'
184 oldincludedir
='/usr/include'
185 infodir
='${prefix}/info'
186 mandir
='${prefix}/man'
188 # Identity of this package.
189 PACKAGE_NAME
='GNU Bison'
190 PACKAGE_TARNAME
='bison'
191 PACKAGE_VERSION
='1.28e'
192 PACKAGE_STRING
='GNU Bison 1.28e'
193 PACKAGE_BUGREPORT
='bug-bison@gnu.org'
198 # If the previous option needs an argument, assign it.
199 if test -n "$ac_prev"; then
200 eval "$ac_prev=\$ac_option"
205 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
207 # Accept the important Cygnus configure options, so we can diagnose typos.
211 -bindir | --bindir | --bindi | --bind | --bin | --bi)
213 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
216 -build | --build | --buil | --bui | --bu)
217 ac_prev
=build_alias
;;
218 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
219 build_alias
=$ac_optarg ;;
221 -cache-file | --cache-file | --cache-fil | --cache-fi \
222 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
223 ac_prev
=cache_file
;;
224 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
225 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
226 cache_file
=$ac_optarg ;;
229 cache_file
=config.cache
;;
231 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
233 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
235 datadir
=$ac_optarg ;;
237 -disable-* | --disable-*)
238 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
239 # Reject names that are not valid shell variable names.
240 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
241 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
242 { (exit 1); exit 1; }; }
243 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
244 eval "enable_$ac_feature=no" ;;
246 -enable-* | --enable-*)
247 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
248 # Reject names that are not valid shell variable names.
249 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
250 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
251 { (exit 1); exit 1; }; }
252 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
254 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
257 eval "enable_$ac_feature='$ac_optarg'" ;;
259 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
260 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
261 | --exec | --exe | --ex)
262 ac_prev
=exec_prefix
;;
263 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
264 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
265 | --exec=* | --exe=* | --ex=*)
266 exec_prefix
=$ac_optarg ;;
268 -gas | --gas | --ga | --g)
269 # Obsolete; use --with-gas.
272 -help | --help | --hel | --he | -h)
274 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
275 ac_init_help
=recursive
;;
276 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
277 ac_init_help
=short
;;
279 -host | --host | --hos | --ho)
280 ac_prev
=host_alias
;;
281 -host=* | --host=* | --hos=* | --ho=*)
282 host_alias
=$ac_optarg ;;
284 -includedir | --includedir | --includedi | --included | --include \
285 | --includ | --inclu | --incl | --inc)
286 ac_prev
=includedir
;;
287 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
288 | --includ=* | --inclu=* | --incl=* | --inc=*)
289 includedir
=$ac_optarg ;;
291 -infodir | --infodir | --infodi | --infod | --info | --inf)
293 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
294 infodir
=$ac_optarg ;;
296 -libdir | --libdir | --libdi | --libd)
298 -libdir=* | --libdir=* | --libdi=* | --libd=*)
301 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
302 | --libexe | --libex | --libe)
303 ac_prev
=libexecdir
;;
304 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
305 | --libexe=* | --libex=* | --libe=*)
306 libexecdir
=$ac_optarg ;;
308 -localstatedir | --localstatedir | --localstatedi | --localstated \
309 | --localstate | --localstat | --localsta | --localst \
310 | --locals | --local | --loca | --loc | --lo)
311 ac_prev
=localstatedir
;;
312 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
313 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
314 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
315 localstatedir
=$ac_optarg ;;
317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
323 # Obsolete; use --without-fp.
326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
336 | --oldin | --oldi | --old | --ol | --o)
337 ac_prev
=oldincludedir
;;
338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
341 oldincludedir
=$ac_optarg ;;
343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
349 | --program-pre | --program-pr | --program-p)
350 ac_prev
=program_prefix
;;
351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
353 program_prefix
=$ac_optarg ;;
355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
356 | --program-suf | --program-su | --program-s)
357 ac_prev
=program_suffix
;;
358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
360 program_suffix
=$ac_optarg ;;
362 -program-transform-name | --program-transform-name \
363 | --program-transform-nam | --program-transform-na \
364 | --program-transform-n | --program-transform- \
365 | --program-transform | --program-transfor \
366 | --program-transfo | --program-transf \
367 | --program-trans | --program-tran \
368 | --progr-tra | --program-tr | --program-t)
369 ac_prev
=program_transform_name
;;
370 -program-transform-name=* | --program-transform-name=* \
371 | --program-transform-nam=* | --program-transform-na=* \
372 | --program-transform-n=* | --program-transform-=* \
373 | --program-transform=* | --program-transfor=* \
374 | --program-transfo=* | --program-transf=* \
375 | --program-trans=* | --program-tran=* \
376 | --progr-tra=* | --program-tr=* | --program-t=*)
377 program_transform_name
=$ac_optarg ;;
379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
380 | -silent | --silent | --silen | --sile | --sil)
383 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
385 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
387 sbindir
=$ac_optarg ;;
389 -sharedstatedir | --sharedstatedir | --sharedstatedi \
390 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
391 | --sharedst | --shareds | --shared | --share | --shar \
393 ac_prev
=sharedstatedir
;;
394 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
395 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
396 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
398 sharedstatedir
=$ac_optarg ;;
400 -site | --site | --sit)
402 -site=* | --site=* | --sit=*)
405 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
407 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
410 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
411 | --syscon | --sysco | --sysc | --sys | --sy)
412 ac_prev
=sysconfdir
;;
413 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
414 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
415 sysconfdir
=$ac_optarg ;;
417 -target | --target | --targe | --targ | --tar | --ta | --t)
418 ac_prev
=target_alias
;;
419 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
420 target_alias
=$ac_optarg ;;
422 -v | -verbose | --verbose | --verbos | --verbo | --verb)
425 -version | --version | --versio | --versi | --vers | -V)
429 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
430 # Reject names that are not valid shell variable names.
431 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
432 { echo "$as_me: error: invalid package name: $ac_package" >&2
433 { (exit 1); exit 1; }; }
434 ac_package
=`echo $ac_package| sed 's/-/_/g'`
436 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
439 eval "with_$ac_package='$ac_optarg'" ;;
441 -without-* | --without-*)
442 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
443 # Reject names that are not valid shell variable names.
444 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
445 { echo "$as_me: error: invalid package name: $ac_package" >&2
446 { (exit 1); exit 1; }; }
447 ac_package
=`echo $ac_package | sed 's/-/_/g'`
448 eval "with_$ac_package=no" ;;
451 # Obsolete; use --with-x.
454 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
455 | --x-incl | --x-inc | --x-in | --x-i)
456 ac_prev
=x_includes
;;
457 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
458 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
459 x_includes
=$ac_optarg ;;
461 -x-libraries | --x-libraries | --x-librarie | --x-librari \
462 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
463 ac_prev
=x_libraries
;;
464 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
465 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
466 x_libraries
=$ac_optarg ;;
468 -*) { echo "$as_me: error: unrecognized option: $ac_option
469 Try \`$0 --help' for more information." >&2
470 { (exit 1); exit 1; }; }
474 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
475 # Reject names that are not valid shell variable names.
476 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
477 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
478 { (exit 1); exit 1; }; }
479 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
480 eval "$ac_envvar='$ac_optarg'"
484 # FIXME: should be removed in autoconf 3.0.
485 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
486 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
487 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
488 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
494 if test -n "$ac_prev"; then
495 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
496 { echo "$as_me: error: missing argument to $ac_option" >&2
497 { (exit 1); exit 1; }; }
500 # Be sure to have absolute paths.
501 for ac_var
in exec_prefix prefix
503 eval ac_val
=$
`echo $ac_var`
505 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
506 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
507 { (exit 1); exit 1; }; };;
511 # Be sure to have absolute paths.
512 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
513 localstatedir libdir includedir oldincludedir infodir mandir
515 eval ac_val
=$
`echo $ac_var`
517 [\\/$
]* | ?
:[\\/]* ) ;;
518 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
519 { (exit 1); exit 1; }; };;
523 # There might be people who depend on the old broken behavior: `$host'
524 # used to hold the argument of --host etc.
529 # FIXME: should be removed in autoconf 3.0.
530 if test "x$host_alias" != x
; then
531 if test "x$build_alias" = x
; then
532 cross_compiling
=maybe
533 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
534 If a cross compiler is detected then cross compile mode will be used." >&2
535 elif test "x$build_alias" != "x$host_alias"; then
541 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
543 test "$silent" = yes && exec 6>/dev
/null
545 # Find the source files, if location was not specified.
546 if test -z "$srcdir"; then
547 ac_srcdir_defaulted
=yes
548 # Try the directory containing this script, then its parent.
550 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
551 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
553 if test ! -r $srcdir/$ac_unique_file; then
557 ac_srcdir_defaulted
=no
559 if test ! -r $srcdir/$ac_unique_file; then
560 if test "$ac_srcdir_defaulted" = yes; then
561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
562 { (exit 1); exit 1; }; }
564 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
565 { (exit 1); exit 1; }; }
568 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
569 ac_env_build_alias_set
=${build_alias+set}
570 ac_env_build_alias_value
=$build_alias
571 ac_cv_env_build_alias_set
=${build_alias+set}
572 ac_cv_env_build_alias_value
=$build_alias
573 ac_env_host_alias_set
=${host_alias+set}
574 ac_env_host_alias_value
=$host_alias
575 ac_cv_env_host_alias_set
=${host_alias+set}
576 ac_cv_env_host_alias_value
=$host_alias
577 ac_env_target_alias_set
=${target_alias+set}
578 ac_env_target_alias_value
=$target_alias
579 ac_cv_env_target_alias_set
=${target_alias+set}
580 ac_cv_env_target_alias_value
=$target_alias
581 ac_env_CC_set
=${CC+set}
583 ac_cv_env_CC_set
=${CC+set}
584 ac_cv_env_CC_value
=$CC
585 ac_env_CFLAGS_set
=${CFLAGS+set}
586 ac_env_CFLAGS_value
=$CFLAGS
587 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
588 ac_cv_env_CFLAGS_value
=$CFLAGS
589 ac_env_LDFLAGS_set
=${LDFLAGS+set}
590 ac_env_LDFLAGS_value
=$LDFLAGS
591 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
592 ac_cv_env_LDFLAGS_value
=$LDFLAGS
593 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
594 ac_env_CPPFLAGS_value
=$CPPFLAGS
595 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
596 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
597 ac_env_CPP_set
=${CPP+set}
598 ac_env_CPP_value
=$CPP
599 ac_cv_env_CPP_set
=${CPP+set}
600 ac_cv_env_CPP_value
=$CPP
603 # Report the --help message.
605 if test "$ac_init_help" = "long"; then
606 # Omit some internal or obsolete options to make the list less imposing.
607 # This message is too long to be a string in the A/UX 3.1 sh.
609 \`configure' configures GNU Bison 1.28e to adapt to many kinds of systems.
611 Usage: $0 [OPTION]... [VAR=VALUE]...
613 To assign environment variables (e.g., CC, CFLAGS...), specify them as
614 VAR=VALUE. See below for descriptions of some of the useful variables.
616 Defaults for the options are specified in brackets.
619 -h, --help display this help and exit
620 --help=short display options specific to this package
621 --help=recursive display the short help of all the included packages
622 -V, --version display version information and exit
623 -q, --quiet, --silent do not print \`checking...' messages
624 --cache-file=FILE cache test results in FILE [disabled]
625 -C, --config-cache alias for \`--cache-file=config.cache'
626 -n, --no-create do not create output files
627 --srcdir=DIR find the sources in DIR [configure dir or \`..']
632 Installation directories:
633 --prefix=PREFIX install architecture-independent files in PREFIX
635 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
638 By default, \`make install' will install all the files in
639 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
640 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
641 for instance \`--prefix=\$HOME'.
643 For better control, use the options below.
645 Fine tuning of the installation directories:
646 --bindir=DIR user executables [EPREFIX/bin]
647 --sbindir=DIR system admin executables [EPREFIX/sbin]
648 --libexecdir=DIR program executables [EPREFIX/libexec]
649 --datadir=DIR read-only architecture-independent data [PREFIX/share]
650 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
651 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
652 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
653 --libdir=DIR object code libraries [EPREFIX/lib]
654 --includedir=DIR C header files [PREFIX/include]
655 --oldincludedir=DIR C header files for non-gcc [/usr/include]
656 --infodir=DIR info documentation [PREFIX/info]
657 --mandir=DIR man documentation [PREFIX/man]
663 --program-prefix=PREFIX prepend PREFIX to installed program names
664 --program-suffix=SUFFIX append SUFFIX to installed program names
665 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
668 --build=BUILD configure
for building on BUILD
[guessed
]
669 --host=HOST build programs to run on HOST
[BUILD
]
673 if test -n "$ac_init_help"; then
674 case $ac_init_help in
675 short
| recursive
) echo "Configuration of GNU Bison 1.28e:";;
680 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
681 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
682 --disable-dependency-tracking Speeds up one
-time builds
683 --enable-dependency-tracking Do not reject slow dependency extractors
684 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
685 --disable-nls do not use Native Language Support
688 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
689 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
690 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
691 --with-included-gettext use the GNU
gettext library included here
693 Some influential environment variables
:
694 CC C compiler
command
695 CFLAGS C compiler flags
696 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
697 nonstandard directory
<lib dir
>
698 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
699 headers
in a nonstandard directory
<include dir
>
702 Use these variables to override the choices made by
`configure' or to help
703 it to find libraries and programs with nonstandard names/locations.
705 Report bugs to <bug-bison@gnu.org>.
709 if test "$ac_init_help" = "recursive"; then
710 # If there are subdirs, report their specific --help.
712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
714 if test "$ac_dir" != .; then
715 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
716 # A "../" for each directory in $ac_dir_suffix.
717 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
719 ac_dir_suffix= ac_top_builddir=
723 .) # No --srcdir option. We are building in place.
725 if test -z "$ac_top_builddir"; then
728 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
730 [\\/]* | ?:[\\/]* ) # Absolute path.
731 ac_srcdir=$srcdir$ac_dir_suffix;
732 ac_top_srcdir=$srcdir ;;
734 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
735 ac_top_srcdir=$ac_top_builddir$srcdir ;;
738 # Check for guested configure; otherwise get Cygnus style configure.
739 if test -f $ac_srcdir/configure.gnu; then
741 $SHELL $ac_srcdir/configure.gnu --help=recursive
742 elif test -f $ac_srcdir/configure; then
744 $SHELL $ac_srcdir/configure --help=recursive
745 elif test -f $ac_srcdir/configure.ac ||
746 test -f $ac_srcdir/configure.in; then
750 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
756 test -n "$ac_init_help" && exit 0
757 if $ac_init_version; then
759 GNU Bison configure 1.28e
760 generated by GNU Autoconf 2.52c
762 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
763 Free Software Foundation, Inc.
764 This configure script is free software; the Free Software Foundation
765 gives unlimited permission to copy, distribute and modify it.
771 This file contains any messages produced by compilers while
772 running configure, to aid debugging if configure makes a mistake.
774 It was created by GNU Bison $as_me 1.28e, which was
775 generated by GNU Autoconf 2.52c. Invocation command line was
786 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
787 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
788 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
789 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
790 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
792 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
793 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
795 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
796 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
797 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
798 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
799 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
800 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
801 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
815 # Keep a trace of the command line.
816 # Strip out --no-create and --no-recursion so they do not pile up.
817 # Also quote any args containing shell meta-characters.
823 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
824 | --no-cr | --no-c) ;;
825 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
826 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
827 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
828 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
829 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
831 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
834 # Get rid of the leading space.
837 # When interrupted or exit'd, cleanup temporary files, and complete
838 # config.log. We remove comments because anyway the quotes in there
839 # would cause problems or look ugly.
840 # WARNING: Be sure not to use single quotes in there, as some shells,
841 # such as our DU 5.0 friend, will then `close
' the trap.
843 # Save into config.log some information that might help in debugging.
847 ## ---------------- ##
848 ## Cache variables. ##
849 ## ---------------- ##
852 # The following way of writing the cache mishandles newlines in values,
855 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
858 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
863 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
868 if test -s confdefs.h
; then
875 sed "/^$/d" confdefs.h
878 test "$ac_signal" != 0 &&
879 echo "$as_me: caught signal $ac_signal"
880 echo "$as_me: exit $exit_status"
882 rm -rf conftest
* confdefs
* core core.
* *.core conf$$
* $ac_clean_files &&
885 for ac_signal in 1 2 13 15; do
886 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
890 # confdefs.h avoids OS command line length limits that DEFS can exceed.
891 rm -rf conftest* confdefs.h
892 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
895 # Let the site file select an alternate cache file if it wants to.
896 # Prefer explicitly selected file to automatically selected ones.
897 if test -z "$CONFIG_SITE"; then
898 if test "x$prefix" != xNONE; then
899 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
901 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
904 for ac_site_file in $CONFIG_SITE; do
905 if test -r "$ac_site_file"; then
906 { echo "$as_me:906: loading site script $ac_site_file" >&5
907 echo "$as_me: loading site script $ac_site_file" >&6;}
908 sed 's
/^
/| /' "$ac_site_file" >&5
913 if test -r "$cache_file"; then
914 # Some versions of bash will fail to source /dev/null (special
915 # files actually), so we avoid doing that.
916 if test -f "$cache_file"; then
917 { echo "$as_me:917: loading cache $cache_file" >&5
918 echo "$as_me: loading cache $cache_file" >&6;}
920 [\\/]* | ?:[\\/]* ) . $cache_file;;
925 { echo "$as_me:925: creating cache $cache_file" >&5
926 echo "$as_me: creating cache $cache_file" >&6;}
930 # Check that the precious variables saved in the cache have kept the same
932 ac_cache_corrupted=false
933 for ac_var in `(set) 2>&1 |
934 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
935 eval ac_old_set=\$ac_cv_env_${ac_var}_set
936 eval ac_new_set=\$ac_env_${ac_var}_set
937 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
938 eval ac_new_val="\$ac_env_${ac_var}_value"
939 case $ac_old_set,$ac_new_set in
941 { echo "$as_me:941: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
942 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
943 ac_cache_corrupted=: ;;
945 { echo "$as_me:945: error
: \
`$ac_var' was not set in the previous run" >&5
946 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
947 ac_cache_corrupted=: ;;
950 if test "x$ac_old_val" != "x$ac_new_val"; then
951 { echo "$as_me:951: error: \`$ac_var' has changed since the previous run
:" >&5
952 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
953 { echo "$as_me:953: former value: $ac_old_val" >&5
954 echo "$as_me: former value: $ac_old_val" >&2;}
955 { echo "$as_me:955: current value: $ac_new_val" >&5
956 echo "$as_me: current value: $ac_new_val" >&2;}
960 # Pass precious variables to config.status. It doesn't matter if
961 # we pass some twice (in addition to the command line arguments).
962 if test "$ac_new_set" = set; then
964 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
965 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
966 ac_configure_args="$ac_configure_args '$ac_arg'"
968 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
973 if $ac_cache_corrupted; then
974 { echo "$as_me:974: error: changes in the environment can compromise the build" >&5
975 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
976 { { echo "$as_me:976: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
977 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
978 { (exit 1); exit 1; }; }
982 ac_cpp='$CPP $CPPFLAGS'
983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
984 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
987 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
988 *c*,-n*) ECHO_N= ECHO_C='
990 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
991 *) ECHO_N= ECHO_C='\c
' ECHO_T= ;;
993 echo "#! $SHELL" >conftest.sh
994 echo "exit 0" >>conftest.sh
996 if { (echo "$as_me:996: PATH=\".;.\"; conftest.sh") >&5
997 (PATH=".;."; conftest.sh) 2>&5
999 echo "$as_me:999: \$? = $ac_status" >&5
1000 (exit $ac_status); }; then
1001 ac_path_separator=';'
1005 PATH_SEPARATOR="$ac_path_separator"
1009 for ac_dir in config $srcdir/config; do
1010 if test -f $ac_dir/install-sh; then
1012 ac_install_sh="$ac_aux_dir/install-sh -c"
1014 elif test -f $ac_dir/install.sh; then
1016 ac_install_sh="$ac_aux_dir/install.sh -c"
1018 elif test -f $ac_dir/shtool; then
1020 ac_install_sh="$ac_aux_dir/shtool install -c"
1024 if test -z "$ac_aux_dir"; then
1025 { { echo "$as_me:1025: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1026 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1027 { (exit 1); exit 1; }; }
1029 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1030 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1031 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1033 # Find a good install program. We prefer a C program (faster),
1034 # so one script is as good as another. But avoid the broken or
1035 # incompatible versions:
1036 # SysV /etc/install, /usr/sbin/install
1037 # SunOS /usr/etc/install
1038 # IRIX /sbin/install
1040 # AmigaOS /C/install, which installs bootblocks on floppy discs
1041 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1042 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1043 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1044 # ./install, which can be erroneously created by make from ./install.sh.
1045 echo "$as_me:1045: checking for a BSD compatible install" >&5
1046 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1047 if test -z "$INSTALL"; then
1048 if test "${ac_cv_path_install+set}" = set; then
1049 echo $ECHO_N "(cached) $ECHO_C" >&6
1051 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1052 for ac_dir
in $PATH; do
1054 # Account for people who put trailing slashes in PATH elements.
1056 / | .
/ | .
// | /cC
/* \
1057 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
1060 # OSF1 and SCO ODT 3.0 have their own names for install.
1061 # Don't use installbsd from OSF since it installs stuff as root
1063 for ac_prog
in ginstall scoinst
install; do
1064 if $as_executable_p "$ac_dir/$ac_prog"; then
1065 if test $ac_prog = install &&
1066 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1067 # AIX install. It has an incompatible calling convention.
1069 elif test $ac_prog = install &&
1070 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1071 # program-specific install script used by HP pwplus--don't use.
1074 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1084 if test "${ac_cv_path_install+set}" = set; then
1085 INSTALL
=$ac_cv_path_install
1087 # As a last resort, use the slow shell script. We don't cache a
1088 # path for INSTALL within a source directory, because that will
1089 # break other packages using the cache if that directory is
1090 # removed, or if the path is relative.
1091 INSTALL
=$ac_install_sh
1094 echo "$as_me:1094: result: $INSTALL" >&5
1095 echo "${ECHO_T}$INSTALL" >&6
1097 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1098 # It thinks the first close brace ends the variable substitution.
1099 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1101 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1103 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1105 echo "$as_me:1105: checking whether build environment is sane" >&5
1106 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1109 echo timestamp
> conftest.
file
1110 # Do `set' in a subshell so we don't clobber the current shell's
1111 # arguments. Must try -L first in case configure is actually a
1112 # symlink; some systems play weird games with the mod time of symlinks
1113 # (eg FreeBSD returns the mod time of the symlink's containing
1116 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1117 if test "$*" = "X"; then
1119 set X
`ls -t $srcdir/configure conftest.file`
1122 if test "$*" != "X $srcdir/configure conftest.file" \
1123 && test "$*" != "X conftest.file $srcdir/configure"; then
1125 # If neither matched, then we have a broken ls. This can happen
1126 # if, for instance, CONFIG_SHELL is bash and it inherits a
1127 # broken ls alias from the environment. This has actually
1128 # happened. Such a system could not be considered "sane".
1129 { { echo "$as_me:1129: error: ls -t appears to fail. Make sure there is not a broken
1130 alias in your environment" >&5
1131 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1132 alias in your environment" >&2;}
1133 { (exit 1); exit 1; }; }
1136 test "$2" = conftest.
file
1142 { { echo "$as_me:1142: error: newly created file is older than distributed files!
1143 Check your system clock" >&5
1144 echo "$as_me: error: newly created file is older than distributed files!
1145 Check your system clock" >&2;}
1146 { (exit 1); exit 1; }; }
1148 echo "$as_me:1148: result: yes" >&5
1149 echo "${ECHO_T}yes" >&6
1150 test "$program_prefix" != NONE
&&
1151 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1152 # Use a double $ so make ignores it.
1153 test "$program_suffix" != NONE
&&
1154 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1155 # Double any \ or $. echo might interpret backslashes.
1156 # By default was `s,x,x', remove it if useless.
1157 cat <<\_ACEOF
>conftest.
sed
1158 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1160 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1163 # expand $ac_aux_dir to an absolute path
1164 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1166 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1167 # Use eval to expand $SHELL
1168 if eval "$MISSING --run true"; then
1169 am_missing_run
="$MISSING --run "
1173 { echo "$as_me:1173: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1174 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1177 for ac_prog
in mawk gawk nawk
awk
1179 # Extract the first word of "$ac_prog", so it can be a program name with args.
1180 set dummy
$ac_prog; ac_word
=$2
1181 echo "$as_me:1181: checking for $ac_word" >&5
1182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1183 if test "${ac_cv_prog_AWK+set}" = set; then
1184 echo $ECHO_N "(cached) $ECHO_C" >&6
1186 if test -n "$AWK"; then
1187 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1189 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1191 for ac_dir
in $ac_dummy; do
1193 test -z "$ac_dir" && ac_dir
=.
1194 $as_executable_p "$ac_dir/$ac_word" || continue
1195 ac_cv_prog_AWK
="$ac_prog"
1196 echo "$as_me:1196: found $ac_dir/$ac_word" >&5
1203 if test -n "$AWK"; then
1204 echo "$as_me:1204: result: $AWK" >&5
1205 echo "${ECHO_T}$AWK" >&6
1207 echo "$as_me:1207: result: no" >&5
1208 echo "${ECHO_T}no" >&6
1211 test -n "$AWK" && break
1214 echo "$as_me:1214: checking whether ${MAKE-make} sets \${MAKE}" >&5
1215 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1216 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1217 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1218 echo $ECHO_N "(cached) $ECHO_C" >&6
1220 cat >conftest.
make <<\_ACEOF
1222 @
echo 'ac_maketemp="${MAKE}"'
1224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1225 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1226 if test -n "$ac_maketemp"; then
1227 eval ac_cv_prog_make_
${ac_make}_set
=yes
1229 eval ac_cv_prog_make_
${ac_make}_set
=no
1233 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1234 echo "$as_me:1234: result: yes" >&5
1235 echo "${ECHO_T}yes" >&6
1238 echo "$as_me:1238: result: no" >&5
1239 echo "${ECHO_T}no" >&6
1240 SET_MAKE
="MAKE=${MAKE-make}"
1243 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1244 if test "${enable_dependency_tracking+set}" = set; then
1245 enableval
="$enable_dependency_tracking"
1248 if test "x$enable_dependency_tracking" != xno
; then
1249 am_depcomp
="$ac_aux_dir/depcomp"
1253 if test "x$enable_dependency_tracking" != xno; then
1261 rm -f .deps
2>/dev
/null
1262 mkdir .deps
2>/dev
/null
1263 if test -d .deps
; then
1266 # MS-DOS does not allow filenames that begin with a dot.
1269 rmdir .deps
2>/dev
/null
1271 # test to see if srcdir already configured
1272 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1273 test -f $srcdir/config.status
; then
1274 { { echo "$as_me:1274: error: source directory already configured; run \"make distclean\" there first" >&5
1275 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1276 { (exit 1); exit 1; }; }
1279 # Define the identity of the package.
1283 cat >>confdefs.h
<<_ACEOF
1284 #define PACKAGE "$PACKAGE"
1287 cat >>confdefs.h
<<_ACEOF
1288 #define VERSION "$VERSION"
1291 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1292 # the ones we care about.
1294 # Autoconf 2.50 always computes EXEEXT. However we need to be
1295 # compatible with 2.13, for now. So we always define EXEEXT, but we
1298 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1299 # requests that it be used. This is a bit dumb.
1302 # Some tools Automake needs.
1304 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1306 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1308 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1310 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1312 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1314 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1316 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1318 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1320 # We need awk for the "check" target. The system "awk" is bad on
1323 ac_config_headers
="$ac_config_headers config.h:config.hin"
1325 # Initialize the test suite.
1326 ac_config_commands
="$ac_config_commands tests/atconfig"
1328 if test -f $srcdir/tests
/atlocal.
in; then
1329 ac_config_files
="$ac_config_files tests/atlocal"
1333 # Checks for programs.
1335 ac_cpp
='$CPP $CPPFLAGS'
1336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1339 if test -n "$ac_tool_prefix"; then
1340 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1341 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1342 echo "$as_me:1342: checking for $ac_word" >&5
1343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1344 if test "${ac_cv_prog_CC+set}" = set; then
1345 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 if test -n "$CC"; then
1348 ac_cv_prog_CC
="$CC" # Let the user override the test.
1350 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1352 for ac_dir
in $ac_dummy; do
1354 test -z "$ac_dir" && ac_dir
=.
1355 $as_executable_p "$ac_dir/$ac_word" || continue
1356 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1357 echo "$as_me:1357: found $ac_dir/$ac_word" >&5
1364 if test -n "$CC"; then
1365 echo "$as_me:1365: result: $CC" >&5
1366 echo "${ECHO_T}$CC" >&6
1368 echo "$as_me:1368: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1373 if test -z "$ac_cv_prog_CC"; then
1375 # Extract the first word of "gcc", so it can be a program name with args.
1376 set dummy gcc
; ac_word
=$2
1377 echo "$as_me:1377: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$ac_ct_CC"; then
1383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1385 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1387 for ac_dir
in $ac_dummy; do
1389 test -z "$ac_dir" && ac_dir
=.
1390 $as_executable_p "$ac_dir/$ac_word" || continue
1391 ac_cv_prog_ac_ct_CC
="gcc"
1392 echo "$as_me:1392: found $ac_dir/$ac_word" >&5
1398 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1399 if test -n "$ac_ct_CC"; then
1400 echo "$as_me:1400: result: $ac_ct_CC" >&5
1401 echo "${ECHO_T}$ac_ct_CC" >&6
1403 echo "$as_me:1403: result: no" >&5
1404 echo "${ECHO_T}no" >&6
1412 if test -z "$CC"; then
1413 if test -n "$ac_tool_prefix"; then
1414 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1415 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1416 echo "$as_me:1416: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$CC"; then
1422 ac_cv_prog_CC
="$CC" # Let the user override the test.
1424 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1426 for ac_dir
in $ac_dummy; do
1428 test -z "$ac_dir" && ac_dir
=.
1429 $as_executable_p "$ac_dir/$ac_word" || continue
1430 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1431 echo "$as_me:1431: found $ac_dir/$ac_word" >&5
1438 if test -n "$CC"; then
1439 echo "$as_me:1439: result: $CC" >&5
1440 echo "${ECHO_T}$CC" >&6
1442 echo "$as_me:1442: result: no" >&5
1443 echo "${ECHO_T}no" >&6
1447 if test -z "$ac_cv_prog_CC"; then
1449 # Extract the first word of "cc", so it can be a program name with args.
1450 set dummy cc
; ac_word
=$2
1451 echo "$as_me:1451: checking for $ac_word" >&5
1452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 if test -n "$ac_ct_CC"; then
1457 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1459 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1461 for ac_dir
in $ac_dummy; do
1463 test -z "$ac_dir" && ac_dir
=.
1464 $as_executable_p "$ac_dir/$ac_word" || continue
1465 ac_cv_prog_ac_ct_CC
="cc"
1466 echo "$as_me:1466: found $ac_dir/$ac_word" >&5
1472 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1473 if test -n "$ac_ct_CC"; then
1474 echo "$as_me:1474: result: $ac_ct_CC" >&5
1475 echo "${ECHO_T}$ac_ct_CC" >&6
1477 echo "$as_me:1477: result: no" >&5
1478 echo "${ECHO_T}no" >&6
1487 if test -z "$CC"; then
1488 # Extract the first word of "cc", so it can be a program name with args.
1489 set dummy cc
; ac_word
=$2
1490 echo "$as_me:1490: checking for $ac_word" >&5
1491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1492 if test "${ac_cv_prog_CC+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 if test -n "$CC"; then
1496 ac_cv_prog_CC
="$CC" # Let the user override the test.
1499 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1501 for ac_dir
in $ac_dummy; do
1503 test -z "$ac_dir" && ac_dir
=.
1504 $as_executable_p "$ac_dir/$ac_word" || continue
1505 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1506 ac_prog_rejected
=yes
1510 echo "$as_me:1510: found $ac_dir/$ac_word" >&5
1514 if test $ac_prog_rejected = yes; then
1515 # We found a bogon in the path, so make sure we never use it.
1516 set dummy
$ac_cv_prog_CC
1518 if test $# != 0; then
1519 # We chose a different compiler from the bogus one.
1520 # However, it has the same basename, so the bogon will be chosen
1521 # first if we set CC to just the basename; use the full file name.
1523 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1531 if test -n "$CC"; then
1532 echo "$as_me:1532: result: $CC" >&5
1533 echo "${ECHO_T}$CC" >&6
1535 echo "$as_me:1535: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1540 if test -z "$CC"; then
1541 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1545 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1546 echo "$as_me:1546: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$CC"; then
1552 ac_cv_prog_CC
="$CC" # Let the user override the test.
1554 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1556 for ac_dir
in $ac_dummy; do
1558 test -z "$ac_dir" && ac_dir
=.
1559 $as_executable_p "$ac_dir/$ac_word" || continue
1560 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1561 echo "$as_me:1561: found $ac_dir/$ac_word" >&5
1568 if test -n "$CC"; then
1569 echo "$as_me:1569: result: $CC" >&5
1570 echo "${ECHO_T}$CC" >&6
1572 echo "$as_me:1572: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1576 test -n "$CC" && break
1579 if test -z "$CC"; then
1583 # Extract the first word of "$ac_prog", so it can be a program name with args.
1584 set dummy
$ac_prog; ac_word
=$2
1585 echo "$as_me:1585: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$ac_ct_CC"; then
1591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1593 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1595 for ac_dir
in $ac_dummy; do
1597 test -z "$ac_dir" && ac_dir
=.
1598 $as_executable_p "$ac_dir/$ac_word" || continue
1599 ac_cv_prog_ac_ct_CC
="$ac_prog"
1600 echo "$as_me:1600: found $ac_dir/$ac_word" >&5
1606 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1607 if test -n "$ac_ct_CC"; then
1608 echo "$as_me:1608: result: $ac_ct_CC" >&5
1609 echo "${ECHO_T}$ac_ct_CC" >&6
1611 echo "$as_me:1611: result: no" >&5
1612 echo "${ECHO_T}no" >&6
1615 test -n "$ac_ct_CC" && break
1623 test -z "$CC" && { { echo "$as_me:1623: error: no acceptable cc found in \$PATH" >&5
1624 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1625 { (exit 1); exit 1; }; }
1627 # Provide some information about the compiler.
1628 echo "$as_me:1628:" \
1629 "checking for C compiler version" >&5
1630 ac_compiler
=`set X $ac_compile; echo $2`
1631 { (eval echo "$as_me:1631: \"$ac_compiler --version </dev/null >&5\"") >&5
1632 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1634 echo "$as_me:1634: \$? = $ac_status" >&5
1635 (exit $ac_status); }
1636 { (eval echo "$as_me:1636: \"$ac_compiler -v </dev/null >&5\"") >&5
1637 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1639 echo "$as_me:1639: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:1641: \"$ac_compiler -V </dev/null >&5\"") >&5
1642 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1644 echo "$as_me:1644: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1647 cat >conftest.
$ac_ext <<_ACEOF
1648 #line 1648 "configure"
1649 #include "confdefs.h"
1651 #ifdef F77_DUMMY_MAIN
1655 int F77_DUMMY_MAIN() { return 1; }
1665 ac_clean_files_save
=$ac_clean_files
1666 ac_clean_files
="$ac_clean_files a.out a.exe"
1667 # Try to create an executable without -o first, disregard a.out.
1668 # It will help us diagnose broken compilers, and finding out an intuition
1670 echo "$as_me:1670: checking for C compiler default output" >&5
1671 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1672 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1673 if { (eval echo "$as_me:1673: \"$ac_link_default\"") >&5
1674 (eval $ac_link_default) 2>&5
1676 echo "$as_me:1676: \$? = $ac_status" >&5
1677 (exit $ac_status); }; then
1678 # Find the output, starting from the most likely. This scheme is
1679 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1681 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
1682 ls a.out conftest 2>/dev/null;
1683 ls a.* conftest.* 2>/dev/null`; do
1685 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1686 a.out
) # We found the default executable, but exeext='' is most
1689 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1690 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1697 echo "$as_me: failed program was:" >&5
1698 cat conftest.
$ac_ext >&5
1699 { { echo "$as_me:1699: error: C compiler cannot create executables" >&5
1700 echo "$as_me: error: C compiler cannot create executables" >&2;}
1701 { (exit 77); exit 77; }; }
1704 ac_exeext
=$ac_cv_exeext
1705 echo "$as_me:1705: result: $ac_file" >&5
1706 echo "${ECHO_T}$ac_file" >&6
1708 # Check the compiler produces executables we can run. If not, either
1709 # the compiler is broken, or we cross compile.
1710 echo "$as_me:1710: checking whether the C compiler works" >&5
1711 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1712 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1713 # If not cross compiling, check that we can run a simple program.
1714 if test "$cross_compiling" != yes; then
1715 if { ac_try
='./$ac_file'
1716 { (eval echo "$as_me:1716: \"$ac_try\"") >&5
1719 echo "$as_me:1719: \$? = $ac_status" >&5
1720 (exit $ac_status); }; }; then
1723 if test "$cross_compiling" = maybe
; then
1726 { { echo "$as_me:1726: error: cannot run C compiled programs.
1727 If you meant to cross compile, use \`--host'." >&5
1728 echo "$as_me: error: cannot run C compiled programs.
1729 If you meant to cross compile, use \`--host'." >&2;}
1730 { (exit 1); exit 1; }; }
1734 echo "$as_me:1734: result: yes" >&5
1735 echo "${ECHO_T}yes" >&6
1737 rm -f a.out a.exe conftest
$ac_cv_exeext
1738 ac_clean_files
=$ac_clean_files_save
1739 # Check the compiler produces executables we can run. If not, either
1740 # the compiler is broken, or we cross compile.
1741 echo "$as_me:1741: checking whether we are cross compiling" >&5
1742 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1743 echo "$as_me:1743: result: $cross_compiling" >&5
1744 echo "${ECHO_T}$cross_compiling" >&6
1746 echo "$as_me:1746: checking for executable suffix" >&5
1747 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1748 if { (eval echo "$as_me:1748: \"$ac_link\"") >&5
1749 (eval $ac_link) 2>&5
1751 echo "$as_me:1751: \$? = $ac_status" >&5
1752 (exit $ac_status); }; then
1753 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1754 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1755 # work properly (i.e., refer to `conftest.exe'), while it won't with
1757 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1759 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1760 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1767 { { echo "$as_me:1767: error: cannot compute EXEEXT: cannot compile and link" >&5
1768 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1769 { (exit 1); exit 1; }; }
1772 rm -f conftest
$ac_cv_exeext
1773 echo "$as_me:1773: result: $ac_cv_exeext" >&5
1774 echo "${ECHO_T}$ac_cv_exeext" >&6
1776 rm -f conftest.
$ac_ext
1777 EXEEXT
=$ac_cv_exeext
1779 echo "$as_me:1779: checking for object suffix" >&5
1780 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1781 if test "${ac_cv_objext+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 cat >conftest.
$ac_ext <<_ACEOF
1785 #line 1785 "configure"
1786 #include "confdefs.h"
1788 #ifdef F77_DUMMY_MAIN
1792 int F77_DUMMY_MAIN() { return 1; }
1802 rm -f conftest.o conftest.obj
1803 if { (eval echo "$as_me:1803: \"$ac_compile\"") >&5
1804 (eval $ac_compile) 2>&5
1806 echo "$as_me:1806: \$? = $ac_status" >&5
1807 (exit $ac_status); }; then
1808 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1810 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1811 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1816 echo "$as_me: failed program was:" >&5
1817 cat conftest.
$ac_ext >&5
1818 { { echo "$as_me:1818: error: cannot compute OBJEXT: cannot compile" >&5
1819 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1820 { (exit 1); exit 1; }; }
1823 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1825 echo "$as_me:1825: result: $ac_cv_objext" >&5
1826 echo "${ECHO_T}$ac_cv_objext" >&6
1827 OBJEXT
=$ac_cv_objext
1829 echo "$as_me:1829: checking whether we are using the GNU C compiler" >&5
1830 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1832 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 cat >conftest.
$ac_ext <<_ACEOF
1835 #line 1835 "configure"
1836 #include "confdefs.h"
1838 #ifdef F77_DUMMY_MAIN
1842 int F77_DUMMY_MAIN() { return 1; }
1855 rm -f conftest.
$ac_objext
1856 if { (eval echo "$as_me:1856: \"$ac_compile\"") >&5
1857 (eval $ac_compile) 2>&5
1859 echo "$as_me:1859: \$? = $ac_status" >&5
1860 (exit $ac_status); } &&
1861 { ac_try
='test -s conftest.$ac_objext'
1862 { (eval echo "$as_me:1862: \"$ac_try\"") >&5
1865 echo "$as_me:1865: \$? = $ac_status" >&5
1866 (exit $ac_status); }; }; then
1869 echo "$as_me: failed program was:" >&5
1870 cat conftest.
$ac_ext >&5
1873 rm -f conftest.
$ac_objext conftest.
$ac_ext
1874 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1877 echo "$as_me:1877: result: $ac_cv_c_compiler_gnu" >&5
1878 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1879 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1880 ac_test_CFLAGS
=${CFLAGS+set}
1881 ac_save_CFLAGS
=$CFLAGS
1883 echo "$as_me:1883: checking whether $CC accepts -g" >&5
1884 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1885 if test "${ac_cv_prog_cc_g+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 cat >conftest.
$ac_ext <<_ACEOF
1889 #line 1889 "configure"
1890 #include "confdefs.h"
1892 #ifdef F77_DUMMY_MAIN
1896 int F77_DUMMY_MAIN() { return 1; }
1906 rm -f conftest.
$ac_objext
1907 if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5
1908 (eval $ac_compile) 2>&5
1910 echo "$as_me:1910: \$? = $ac_status" >&5
1911 (exit $ac_status); } &&
1912 { ac_try
='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:1913: \"$ac_try\"") >&5
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1920 echo "$as_me: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1924 rm -f conftest.
$ac_objext conftest.
$ac_ext
1926 echo "$as_me:1926: result: $ac_cv_prog_cc_g" >&5
1927 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1928 if test "$ac_test_CFLAGS" = set; then
1929 CFLAGS
=$ac_save_CFLAGS
1930 elif test $ac_cv_prog_cc_g = yes; then
1931 if test "$GCC" = yes; then
1937 if test "$GCC" = yes; then
1943 # Some people use a C++ compiler to compile C. Since we use `exit',
1944 # in C++ we need to declare it. In case someone uses the same compiler
1945 # for both compiling C and C++ we need to have the C++ compiler decide
1946 # the declaration of exit, since it's the most demanding environment.
1947 cat >conftest.
$ac_ext <<_ACEOF
1952 rm -f conftest.
$ac_objext
1953 if { (eval echo "$as_me:1953: \"$ac_compile\"") >&5
1954 (eval $ac_compile) 2>&5
1956 echo "$as_me:1956: \$? = $ac_status" >&5
1957 (exit $ac_status); } &&
1958 { ac_try
='test -s conftest.$ac_objext'
1959 { (eval echo "$as_me:1959: \"$ac_try\"") >&5
1962 echo "$as_me:1962: \$? = $ac_status" >&5
1963 (exit $ac_status); }; }; then
1964 for ac_declaration
in \
1966 '#include <stdlib.h>' \
1967 'extern "C" void std::exit (int) throw (); using std::exit;' \
1968 'extern "C" void std::exit (int); using std::exit;' \
1969 'extern "C" void exit (int) throw ();' \
1970 'extern "C" void exit (int);' \
1973 cat >conftest.
$ac_ext <<_ACEOF
1974 #line 1974 "configure"
1975 #include "confdefs.h"
1978 #ifdef F77_DUMMY_MAIN
1982 int F77_DUMMY_MAIN() { return 1; }
1992 rm -f conftest.
$ac_objext
1993 if { (eval echo "$as_me:1993: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>&5
1996 echo "$as_me:1996: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try
='test -s conftest.$ac_objext'
1999 { (eval echo "$as_me:1999: \"$ac_try\"") >&5
2002 echo "$as_me:2002: \$? = $ac_status" >&5
2003 (exit $ac_status); }; }; then
2006 echo "$as_me: failed program was:" >&5
2007 cat conftest.
$ac_ext >&5
2010 rm -f conftest.
$ac_objext conftest.
$ac_ext
2011 cat >conftest.
$ac_ext <<_ACEOF
2012 #line 2012 "configure"
2013 #include "confdefs.h"
2015 #ifdef F77_DUMMY_MAIN
2019 int F77_DUMMY_MAIN() { return 1; }
2029 rm -f conftest.
$ac_objext
2030 if { (eval echo "$as_me:2030: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:2033: \$? = $ac_status" >&5
2034 (exit $ac_status); } &&
2035 { ac_try
='test -s conftest.$ac_objext'
2036 { (eval echo "$as_me:2036: \"$ac_try\"") >&5
2039 echo "$as_me:2039: \$? = $ac_status" >&5
2040 (exit $ac_status); }; }; then
2043 echo "$as_me: failed program was:" >&5
2044 cat conftest.
$ac_ext >&5
2046 rm -f conftest.
$ac_objext conftest.
$ac_ext
2049 if test -n "$ac_declaration"; then
2050 echo '#ifdef __cplusplus' >>confdefs.h
2051 echo $ac_declaration >>confdefs.h
2052 echo '#endif' >>confdefs.h
2056 echo "$as_me: failed program was:" >&5
2057 cat conftest.
$ac_ext >&5
2059 rm -f conftest.
$ac_objext conftest.
$ac_ext
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2066 ac_config_commands
="$ac_config_commands default-1"
2068 am_make
=${MAKE-make}
2069 cat > confinc
<< 'END'
2073 # If we don't find an include directive, just comment out the code.
2074 echo "$as_me:2074: checking for style of include used by $am_make" >&5
2075 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2079 # First try GNU make style include.
2080 echo "include confinc" > confmf
2081 # We grep out `Entering directory' and `Leaving directory'
2082 # messages which can occur if `w' ends up in MAKEFLAGS.
2083 # In particular we don't look at `^make:' because GNU make might
2084 # be invoked under some other name (usually "gmake"), in which
2085 # case it prints its new name instead of `make'.
2086 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2091 # Now try BSD make style include.
2092 if test "$am__include" = "#"; then
2093 echo '.include "confinc"' > confmf
2094 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2095 am__include
=.include
2101 echo "$as_me:2101: result: $_am_result" >&5
2102 echo "${ECHO_T}$_am_result" >&6
2103 rm -f confinc confmf
2105 depcc
="$CC" am_compiler_list
=
2107 echo "$as_me:2107: checking dependency style of $depcc" >&5
2108 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2109 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2113 # We make a subdir and do the tests there. Otherwise we can end up
2114 # making bogus files that we don't know about and never remove. For
2115 # instance it was reported that on HP-UX the gcc test will end up
2116 # making a dummy file named `D' -- because `-MD' means `put the output
2119 # Copy depcomp to subdir because otherwise we won't find it if we're
2120 # using a relative directory.
2121 cp "$am_depcomp" conftest.dir
2124 am_cv_CC_dependencies_compiler_type
=none
2125 if test "$am_compiler_list" = ""; then
2126 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2128 for depmode
in $am_compiler_list; do
2129 # We need to recreate these files for each test, as the compiler may
2130 # overwrite some of them when testing with obscure command lines.
2131 # This happens at least with the AIX C compiler.
2132 echo '#include "conftest.h"' > conftest.c
2133 echo 'int i;' > conftest.h
2134 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2138 # after this tag, mechanisms are not by side-effect, so they'll
2139 # only be used when explicitly requested
2140 if test "x$enable_dependency_tracking" = xyes
; then
2148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2149 # mode. It turns out that the SunPro C++ compiler does not properly
2150 # handle `-M -o', and we need to detect this.
2151 if depmode
=$depmode \
2152 source=conftest.c object
=conftest.o \
2153 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2154 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2155 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2156 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2157 am_cv_CC_dependencies_compiler_type
=$depmode
2165 am_cv_CC_dependencies_compiler_type
=none
2169 echo "$as_me:2169: result: $am_cv_CC_dependencies_compiler_type" >&5
2170 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2171 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2174 ac_cpp
='$CPP $CPPFLAGS'
2175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2178 echo "$as_me:2178: checking how to run the C preprocessor" >&5
2179 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2180 # On Suns, sometimes $CPP names a directory.
2181 if test -n "$CPP" && test -d "$CPP"; then
2184 if test -z "$CPP"; then
2185 if test "${ac_cv_prog_CPP+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 # Double quotes because CPP needs to be expanded
2189 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2192 for ac_c_preproc_warn_flag
in '' yes
2194 # Use a header file that comes with gcc, so configuring glibc
2195 # with a fresh cross-compiler works.
2196 # On the NeXT, cc -E runs the code through the compiler's parser,
2197 # not just through cpp. "Syntax error" is here to catch this case.
2198 cat >conftest.
$ac_ext <<_ACEOF
2199 #line 2199 "configure"
2200 #include "confdefs.h"
2204 if { (eval echo "$as_me:2204: \"$ac_cpp conftest.$ac_ext\"") >&5
2205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2207 egrep -v '^ *\+' conftest.er1
>conftest.err
2209 cat conftest.err
>&5
2210 echo "$as_me:2210: \$? = $ac_status" >&5
2211 (exit $ac_status); } >/dev
/null
; then
2212 if test -s conftest.err
; then
2213 ac_cpp_err
=$ac_c_preproc_warn_flag
2220 if test -z "$ac_cpp_err"; then
2223 echo "$as_me: failed program was:" >&5
2224 cat conftest.
$ac_ext >&5
2225 # Broken: fails on valid input.
2228 rm -f conftest.err conftest.
$ac_ext
2230 # OK, works on sane cases. Now check whether non-existent headers
2231 # can be detected and how.
2232 cat >conftest.
$ac_ext <<_ACEOF
2233 #line 2233 "configure"
2234 #include "confdefs.h"
2235 #include <ac_nonexistent.h>
2237 if { (eval echo "$as_me:2237: \"$ac_cpp conftest.$ac_ext\"") >&5
2238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2240 egrep -v '^ *\+' conftest.er1
>conftest.err
2242 cat conftest.err
>&5
2243 echo "$as_me:2243: \$? = $ac_status" >&5
2244 (exit $ac_status); } >/dev
/null
; then
2245 if test -s conftest.err
; then
2246 ac_cpp_err
=$ac_c_preproc_warn_flag
2253 if test -z "$ac_cpp_err"; then
2254 # Broken: success on invalid input.
2257 echo "$as_me: failed program was:" >&5
2258 cat conftest.
$ac_ext >&5
2259 # Passes both tests.
2263 rm -f conftest.err conftest.
$ac_ext
2266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2267 rm -f conftest.err conftest.
$ac_ext
2268 if $ac_preproc_ok; then
2280 echo "$as_me:2280: result: $CPP" >&5
2281 echo "${ECHO_T}$CPP" >&6
2283 for ac_c_preproc_warn_flag
in '' yes
2285 # Use a header file that comes with gcc, so configuring glibc
2286 # with a fresh cross-compiler works.
2287 # On the NeXT, cc -E runs the code through the compiler's parser,
2288 # not just through cpp. "Syntax error" is here to catch this case.
2289 cat >conftest.
$ac_ext <<_ACEOF
2290 #line 2290 "configure"
2291 #include "confdefs.h"
2295 if { (eval echo "$as_me:2295: \"$ac_cpp conftest.$ac_ext\"") >&5
2296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2298 egrep -v '^ *\+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:2301: \$? = $ac_status" >&5
2302 (exit $ac_status); } >/dev
/null
; then
2303 if test -s conftest.err
; then
2304 ac_cpp_err
=$ac_c_preproc_warn_flag
2311 if test -z "$ac_cpp_err"; then
2314 echo "$as_me: failed program was:" >&5
2315 cat conftest.
$ac_ext >&5
2316 # Broken: fails on valid input.
2319 rm -f conftest.err conftest.
$ac_ext
2321 # OK, works on sane cases. Now check whether non-existent headers
2322 # can be detected and how.
2323 cat >conftest.
$ac_ext <<_ACEOF
2324 #line 2324 "configure"
2325 #include "confdefs.h"
2326 #include <ac_nonexistent.h>
2328 if { (eval echo "$as_me:2328: \"$ac_cpp conftest.$ac_ext\"") >&5
2329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2331 egrep -v '^ *\+' conftest.er1
>conftest.err
2333 cat conftest.err
>&5
2334 echo "$as_me:2334: \$? = $ac_status" >&5
2335 (exit $ac_status); } >/dev
/null
; then
2336 if test -s conftest.err
; then
2337 ac_cpp_err
=$ac_c_preproc_warn_flag
2344 if test -z "$ac_cpp_err"; then
2345 # Broken: success on invalid input.
2348 echo "$as_me: failed program was:" >&5
2349 cat conftest.
$ac_ext >&5
2350 # Passes both tests.
2354 rm -f conftest.err conftest.
$ac_ext
2357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2358 rm -f conftest.err conftest.
$ac_ext
2359 if $ac_preproc_ok; then
2362 { { echo "$as_me:2362: error: C preprocessor \"$CPP\" fails sanity check" >&5
2363 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2364 { (exit 1); exit 1; }; }
2368 ac_cpp
='$CPP $CPPFLAGS'
2369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2373 echo "$as_me:2373: checking for ANSI C header files" >&5
2374 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2375 if test "${ac_cv_header_stdc+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 cat >conftest.
$ac_ext <<_ACEOF
2379 #line 2379 "configure"
2380 #include "confdefs.h"
2387 if { (eval echo "$as_me:2387: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2390 egrep -v '^ *\+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:2393: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev
/null
; then
2395 if test -s conftest.err
; then
2396 ac_cpp_err
=$ac_c_preproc_warn_flag
2403 if test -z "$ac_cpp_err"; then
2404 ac_cv_header_stdc
=yes
2406 echo "$as_me: failed program was:" >&5
2407 cat conftest.
$ac_ext >&5
2408 ac_cv_header_stdc
=no
2410 rm -f conftest.err conftest.
$ac_ext
2412 if test $ac_cv_header_stdc = yes; then
2413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2414 cat >conftest.
$ac_ext <<_ACEOF
2415 #line 2415 "configure"
2416 #include "confdefs.h"
2420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2421 egrep "memchr" >/dev
/null
2>&1; then
2424 ac_cv_header_stdc
=no
2430 if test $ac_cv_header_stdc = yes; then
2431 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2432 cat >conftest.
$ac_ext <<_ACEOF
2433 #line 2433 "configure"
2434 #include "confdefs.h"
2438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2439 egrep "free" >/dev
/null
2>&1; then
2442 ac_cv_header_stdc
=no
2448 if test $ac_cv_header_stdc = yes; then
2449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2450 if test "$cross_compiling" = yes; then
2453 cat >conftest.
$ac_ext <<_ACEOF
2454 #line 2454 "configure"
2455 #include "confdefs.h"
2457 #if ((' ' & 0x0FF) == 0x020)
2458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2461 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2462 || ('j' <= (c) && (c) <= 'r') \
2463 || ('s' <= (c) && (c) <= 'z'))
2464 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2472 for (i = 0; i < 256; i++)
2473 if (XOR (islower (i), ISLOWER (i))
2474 || toupper (i) != TOUPPER (i))
2479 rm -f conftest
$ac_exeext
2480 if { (eval echo "$as_me:2480: \"$ac_link\"") >&5
2481 (eval $ac_link) 2>&5
2483 echo "$as_me:2483: \$? = $ac_status" >&5
2484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2485 { (eval echo "$as_me:2485: \"$ac_try\"") >&5
2488 echo "$as_me:2488: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 echo "$as_me: program exited with status $ac_status" >&5
2493 echo "$as_me: failed program was:" >&5
2494 cat conftest.
$ac_ext >&5
2495 ac_cv_header_stdc
=no
2497 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2501 echo "$as_me:2501: result: $ac_cv_header_stdc" >&5
2502 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2503 if test $ac_cv_header_stdc = yes; then
2505 cat >>confdefs.h
<<\_ACEOF
2506 #define STDC_HEADERS 1
2511 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2513 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2514 inttypes.h stdint.h unistd.h
2516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2517 echo "$as_me:2517: checking for $ac_header" >&5
2518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 cat >conftest.
$ac_ext <<_ACEOF
2523 #line 2523 "configure"
2524 #include "confdefs.h"
2525 $ac_includes_default
2527 #include <$ac_header>
2529 rm -f conftest.
$ac_objext
2530 if { (eval echo "$as_me:2530: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>&5
2533 echo "$as_me:2533: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:2536: \"$ac_try\"") >&5
2539 echo "$as_me:2539: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2541 eval "$as_ac_Header=yes"
2543 echo "$as_me: failed program was:" >&5
2544 cat conftest.
$ac_ext >&5
2545 eval "$as_ac_Header=no"
2547 rm -f conftest.
$ac_objext conftest.
$ac_ext
2549 echo "$as_me:2549: result: `eval echo '${'$as_ac_Header'}'`" >&5
2550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2552 cat >>confdefs.h
<<_ACEOF
2553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2560 if test "${ac_cv_header_minix_config_h+set}" = set; then
2561 echo "$as_me:2561: checking for minix/config.h" >&5
2562 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2563 if test "${ac_cv_header_minix_config_h+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 echo "$as_me:2566: result: $ac_cv_header_minix_config_h" >&5
2567 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2569 # Is the header compilable?
2570 echo "$as_me:2570: checking minix/config.h usability" >&5
2571 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2572 cat >conftest.
$ac_ext <<_ACEOF
2573 #line 2573 "configure"
2574 #include "confdefs.h"
2575 $ac_includes_default
2576 #include <minix/config.h>
2578 rm -f conftest.
$ac_objext
2579 if { (eval echo "$as_me:2579: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>&5
2582 echo "$as_me:2582: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try
='test -s conftest.$ac_objext'
2585 { (eval echo "$as_me:2585: \"$ac_try\"") >&5
2588 echo "$as_me:2588: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2590 ac_header_compiler
=yes
2592 echo "$as_me: failed program was:" >&5
2593 cat conftest.
$ac_ext >&5
2594 ac_header_compiler
=no
2596 rm -f conftest.
$ac_objext conftest.
$ac_ext
2597 echo "$as_me:2597: result: $ac_header_compiler" >&5
2598 echo "${ECHO_T}$ac_header_compiler" >&6
2600 # Is the header present?
2601 echo "$as_me:2601: checking minix/config.h presence" >&5
2602 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2603 cat >conftest.
$ac_ext <<_ACEOF
2604 #line 2604 "configure"
2605 #include "confdefs.h"
2606 #include <minix/config.h>
2608 if { (eval echo "$as_me:2608: \"$ac_cpp conftest.$ac_ext\"") >&5
2609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2611 egrep -v '^ *\+' conftest.er1
>conftest.err
2613 cat conftest.err
>&5
2614 echo "$as_me:2614: \$? = $ac_status" >&5
2615 (exit $ac_status); } >/dev
/null
; then
2616 if test -s conftest.err
; then
2617 ac_cpp_err
=$ac_c_preproc_warn_flag
2624 if test -z "$ac_cpp_err"; then
2625 ac_header_preproc
=yes
2627 echo "$as_me: failed program was:" >&5
2628 cat conftest.
$ac_ext >&5
2629 ac_header_preproc
=no
2631 rm -f conftest.err conftest.
$ac_ext
2632 echo "$as_me:2632: result: $ac_header_preproc" >&5
2633 echo "${ECHO_T}$ac_header_preproc" >&6
2635 # So? What about this header?
2636 case $ac_header_compiler:$ac_header_preproc in
2638 { echo "$as_me:2638: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2639 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2640 { echo "$as_me:2640: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2641 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2643 { echo "$as_me:2643: WARNING: minix/config.h: present but cannot be compiled." >&5
2644 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
2645 { echo "$as_me:2645: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
2646 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
2647 { echo "$as_me:2647: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2648 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2650 echo "$as_me:2650: checking for minix/config.h" >&5
2651 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2652 if test "${ac_cv_header_minix_config_h+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2655 ac_cv_header_minix_config_h
=$ac_header_preproc
2657 echo "$as_me:2657: result: $ac_cv_header_minix_config_h" >&5
2658 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2661 if test $ac_cv_header_minix_config_h = yes; then
2667 if test "$MINIX" = yes; then
2669 cat >>confdefs.h
<<\_ACEOF
2670 #define _POSIX_SOURCE 1
2673 cat >>confdefs.h
<<\_ACEOF
2674 #define _POSIX_1_SOURCE 2
2677 cat >>confdefs.h
<<\_ACEOF
2683 echo "$as_me:2683: checking for strerror in -lcposix" >&5
2684 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2685 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 ac_check_lib_save_LIBS
=$LIBS
2689 LIBS
="-lcposix $LIBS"
2690 cat >conftest.
$ac_ext <<_ACEOF
2691 #line 2691 "configure"
2692 #include "confdefs.h"
2694 /* Override any gcc2 internal prototype to avoid an error. */
2698 /* We use char because int might match the return type of a gcc2
2699 builtin and then its argument prototype would still apply. */
2701 #ifdef F77_DUMMY_MAIN
2705 int F77_DUMMY_MAIN() { return 1; }
2715 rm -f conftest.
$ac_objext conftest
$ac_exeext
2716 if { (eval echo "$as_me:2716: \"$ac_link\"") >&5
2717 (eval $ac_link) 2>&5
2719 echo "$as_me:2719: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -s conftest$ac_exeext'
2722 { (eval echo "$as_me:2722: \"$ac_try\"") >&5
2725 echo "$as_me:2725: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2727 ac_cv_lib_cposix_strerror
=yes
2729 echo "$as_me: failed program was:" >&5
2730 cat conftest.
$ac_ext >&5
2731 ac_cv_lib_cposix_strerror
=no
2733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2734 LIBS
=$ac_check_lib_save_LIBS
2736 echo "$as_me:2736: result: $ac_cv_lib_cposix_strerror" >&5
2737 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2738 if test $ac_cv_lib_cposix_strerror = yes; then
2739 LIBS
="$LIBS -lcposix"
2742 echo "$as_me:2742: checking for ${CC-cc} option to accept ANSI C" >&5
2743 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2744 if test "${am_cv_prog_cc_stdc+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 am_cv_prog_cc_stdc
=no
2749 # Don't try gcc -ansi; that turns off useful extensions and
2750 # breaks some systems' header files.
2751 # AIX -qlanglvl=ansi
2752 # Ultrix and OSF/1 -std1
2753 # HP-UX 10.20 and later -Ae
2754 # HP-UX older versions -Aa -D_HPUX_SOURCE
2755 # SVR4 -Xc -D__EXTENSIONS__
2756 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2758 CC
="$ac_save_CC $ac_arg"
2759 cat >conftest.
$ac_ext <<_ACEOF
2760 #line 2760 "configure"
2761 #include "confdefs.h"
2764 #include <sys/types.h>
2765 #include <sys/stat.h>
2766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2767 struct buf { int x; };
2768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2769 static char *e (p, i)
2775 static char *f (char * (*g) (char **, int), char **p, ...)
2780 s = g (p, va_arg (v,int));
2784 int test (int i, double x);
2785 struct s1 {int (*f) (int a);};
2786 struct s2 {int (*f) (double a);};
2787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2791 #ifdef F77_DUMMY_MAIN
2795 int F77_DUMMY_MAIN() { return 1; }
2801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2807 rm -f conftest.
$ac_objext
2808 if { (eval echo "$as_me:2808: \"$ac_compile\"") >&5
2809 (eval $ac_compile) 2>&5
2811 echo "$as_me:2811: \$? = $ac_status" >&5
2812 (exit $ac_status); } &&
2813 { ac_try
='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:2814: \"$ac_try\"") >&5
2817 echo "$as_me:2817: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2819 am_cv_prog_cc_stdc
="$ac_arg"; break
2821 echo "$as_me: failed program was:" >&5
2822 cat conftest.
$ac_ext >&5
2824 rm -f conftest.
$ac_objext conftest.
$ac_ext
2830 if test -z "$am_cv_prog_cc_stdc"; then
2831 echo "$as_me:2831: result: none needed" >&5
2832 echo "${ECHO_T}none needed" >&6
2834 echo "$as_me:2834: result: $am_cv_prog_cc_stdc" >&5
2835 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2837 case "x$am_cv_prog_cc_stdc" in
2839 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2842 if test -n "$ac_tool_prefix"; then
2843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2844 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2845 echo "$as_me:2845: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2847 if test "${ac_cv_prog_RANLIB+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 if test -n "$RANLIB"; then
2851 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2853 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2855 for ac_dir
in $ac_dummy; do
2857 test -z "$ac_dir" && ac_dir
=.
2858 $as_executable_p "$ac_dir/$ac_word" || continue
2859 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2860 echo "$as_me:2860: found $ac_dir/$ac_word" >&5
2866 RANLIB
=$ac_cv_prog_RANLIB
2867 if test -n "$RANLIB"; then
2868 echo "$as_me:2868: result: $RANLIB" >&5
2869 echo "${ECHO_T}$RANLIB" >&6
2871 echo "$as_me:2871: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2876 if test -z "$ac_cv_prog_RANLIB"; then
2877 ac_ct_RANLIB
=$RANLIB
2878 # Extract the first word of "ranlib", so it can be a program name with args.
2879 set dummy ranlib
; ac_word
=$2
2880 echo "$as_me:2880: checking for $ac_word" >&5
2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2882 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -n "$ac_ct_RANLIB"; then
2886 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2888 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2890 for ac_dir
in $ac_dummy; do
2892 test -z "$ac_dir" && ac_dir
=.
2893 $as_executable_p "$ac_dir/$ac_word" || continue
2894 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2895 echo "$as_me:2895: found $ac_dir/$ac_word" >&5
2899 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2902 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2903 if test -n "$ac_ct_RANLIB"; then
2904 echo "$as_me:2904: result: $ac_ct_RANLIB" >&5
2905 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2907 echo "$as_me:2907: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2911 RANLIB
=$ac_ct_RANLIB
2913 RANLIB
="$ac_cv_prog_RANLIB"
2916 # GNU M4 is needed to build the testsuite.
2917 for ac_prog
in gm4 gnum4
m4
2919 # Extract the first word of "$ac_prog", so it can be a program name with args.
2920 set dummy
$ac_prog; ac_word
=$2
2921 echo "$as_me:2921: checking for $ac_word" >&5
2922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2923 if test "${ac_cv_path_M4+set}" = set; then
2924 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2931 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2933 for ac_dir
in $ac_dummy; do
2935 test -z "$ac_dir" && ac_dir
=.
2936 if $as_executable_p "$ac_dir/$ac_word"; then
2937 ac_cv_path_M4
="$ac_dir/$ac_word"
2938 echo "$as_me:2938: found $ac_dir/$ac_word" >&5
2948 if test -n "$M4"; then
2949 echo "$as_me:2949: result: $M4" >&5
2950 echo "${ECHO_T}$M4" >&6
2952 echo "$as_me:2952: result: no" >&5
2953 echo "${ECHO_T}no" >&6
2956 test -n "$M4" && break
2958 test -n "$M4" || M4
="m4"
2960 echo "$as_me:2960: checking whether m4 supports frozen files" >&5
2961 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2962 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2963 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 ac_cv_prog_gnu_m4
=no
2966 if test x
"$M4" != x
; then
2967 case `$M4 --help < /dev/null 2>&1` in
2968 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2972 echo "$as_me:2972: result: $ac_cv_prog_gnu_m4" >&5
2973 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2975 if test "$ac_cv_prog_gnu_m4" != yes; then
2976 missing_dir
=`cd $ac_aux_dir && pwd`
2977 M4
="$missing_dir/missing m4"
2980 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2981 if test "${enable_gcc_warnings+set}" = set; then
2982 enableval
="$enable_gcc_warnings"
2983 case "${enableval}" in
2985 *) { { echo "$as_me:2985: error: bad value ${enableval} for gcc-warnings option" >&5
2986 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2987 { (exit 1); exit 1; }; } ;;
2992 if test "${enableval}" = yes; then
2993 echo "$as_me:2993: checking whether compiler accepts -Wall" >&5
2994 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
2996 ac_save_CFLAGS
="$CFLAGS"
2997 CFLAGS
="$CFLAGS -Wall"
2998 cat >conftest.
$ac_ext <<_ACEOF
2999 #line 2999 "configure"
3000 #include "confdefs.h"
3002 #ifdef F77_DUMMY_MAIN
3006 int F77_DUMMY_MAIN() { return 1; }
3016 rm -f conftest.
$ac_objext
3017 if { (eval echo "$as_me:3017: \"$ac_compile\"") >&5
3018 (eval $ac_compile) 2>&5
3020 echo "$as_me:3020: \$? = $ac_status" >&5
3021 (exit $ac_status); } &&
3022 { ac_try
='test -s conftest.$ac_objext'
3023 { (eval echo "$as_me:3023: \"$ac_try\"") >&5
3026 echo "$as_me:3026: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3028 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3029 echo "$as_me:3029: result: yes" >&5
3030 echo "${ECHO_T}yes" >&6
3032 echo "$as_me: failed program was:" >&5
3033 cat conftest.
$ac_ext >&5
3034 echo "$as_me:3034: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3037 rm -f conftest.
$ac_objext conftest.
$ac_ext
3038 CFLAGS
="$ac_save_CFLAGS"
3039 echo "$as_me:3039: checking whether compiler accepts -W" >&5
3040 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3042 ac_save_CFLAGS
="$CFLAGS"
3044 cat >conftest.
$ac_ext <<_ACEOF
3045 #line 3045 "configure"
3046 #include "confdefs.h"
3048 #ifdef F77_DUMMY_MAIN
3052 int F77_DUMMY_MAIN() { return 1; }
3062 rm -f conftest.
$ac_objext
3063 if { (eval echo "$as_me:3063: \"$ac_compile\"") >&5
3064 (eval $ac_compile) 2>&5
3066 echo "$as_me:3066: \$? = $ac_status" >&5
3067 (exit $ac_status); } &&
3068 { ac_try
='test -s conftest.$ac_objext'
3069 { (eval echo "$as_me:3069: \"$ac_try\"") >&5
3072 echo "$as_me:3072: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then
3074 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3075 echo "$as_me:3075: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3078 echo "$as_me: failed program was:" >&5
3079 cat conftest.
$ac_ext >&5
3080 echo "$as_me:3080: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3083 rm -f conftest.
$ac_objext conftest.
$ac_ext
3084 CFLAGS
="$ac_save_CFLAGS"
3085 echo "$as_me:3085: checking whether compiler accepts -Wbad-function-cast" >&5
3086 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3088 ac_save_CFLAGS
="$CFLAGS"
3089 CFLAGS
="$CFLAGS -Wbad-function-cast"
3090 cat >conftest.
$ac_ext <<_ACEOF
3091 #line 3091 "configure"
3092 #include "confdefs.h"
3094 #ifdef F77_DUMMY_MAIN
3098 int F77_DUMMY_MAIN() { return 1; }
3108 rm -f conftest.
$ac_objext
3109 if { (eval echo "$as_me:3109: \"$ac_compile\"") >&5
3110 (eval $ac_compile) 2>&5
3112 echo "$as_me:3112: \$? = $ac_status" >&5
3113 (exit $ac_status); } &&
3114 { ac_try
='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:3115: \"$ac_try\"") >&5
3118 echo "$as_me:3118: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3121 echo "$as_me:3121: result: yes" >&5
3122 echo "${ECHO_T}yes" >&6
3124 echo "$as_me: failed program was:" >&5
3125 cat conftest.
$ac_ext >&5
3126 echo "$as_me:3126: result: no" >&5
3127 echo "${ECHO_T}no" >&6
3129 rm -f conftest.
$ac_objext conftest.
$ac_ext
3130 CFLAGS
="$ac_save_CFLAGS"
3131 echo "$as_me:3131: checking whether compiler accepts -Wcast-align" >&5
3132 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3134 ac_save_CFLAGS
="$CFLAGS"
3135 CFLAGS
="$CFLAGS -Wcast-align"
3136 cat >conftest.
$ac_ext <<_ACEOF
3137 #line 3137 "configure"
3138 #include "confdefs.h"
3140 #ifdef F77_DUMMY_MAIN
3144 int F77_DUMMY_MAIN() { return 1; }
3154 rm -f conftest.
$ac_objext
3155 if { (eval echo "$as_me:3155: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>&5
3158 echo "$as_me:3158: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:3161: \"$ac_try\"") >&5
3164 echo "$as_me:3164: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3166 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3167 echo "$as_me:3167: result: yes" >&5
3168 echo "${ECHO_T}yes" >&6
3170 echo "$as_me: failed program was:" >&5
3171 cat conftest.
$ac_ext >&5
3172 echo "$as_me:3172: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3175 rm -f conftest.
$ac_objext conftest.
$ac_ext
3176 CFLAGS
="$ac_save_CFLAGS"
3177 echo "$as_me:3177: checking whether compiler accepts -Wcast-qual" >&5
3178 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3180 ac_save_CFLAGS
="$CFLAGS"
3181 CFLAGS
="$CFLAGS -Wcast-qual"
3182 cat >conftest.
$ac_ext <<_ACEOF
3183 #line 3183 "configure"
3184 #include "confdefs.h"
3186 #ifdef F77_DUMMY_MAIN
3190 int F77_DUMMY_MAIN() { return 1; }
3200 rm -f conftest.
$ac_objext
3201 if { (eval echo "$as_me:3201: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>&5
3204 echo "$as_me:3204: \$? = $ac_status" >&5
3205 (exit $ac_status); } &&
3206 { ac_try
='test -s conftest.$ac_objext'
3207 { (eval echo "$as_me:3207: \"$ac_try\"") >&5
3210 echo "$as_me:3210: \$? = $ac_status" >&5
3211 (exit $ac_status); }; }; then
3212 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3213 echo "$as_me:3213: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me: failed program was:" >&5
3217 cat conftest.
$ac_ext >&5
3218 echo "$as_me:3218: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3221 rm -f conftest.
$ac_objext conftest.
$ac_ext
3222 CFLAGS
="$ac_save_CFLAGS"
3223 echo "$as_me:3223: checking whether compiler accepts -Wformat" >&5
3224 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3226 ac_save_CFLAGS
="$CFLAGS"
3227 CFLAGS
="$CFLAGS -Wformat"
3228 cat >conftest.
$ac_ext <<_ACEOF
3229 #line 3229 "configure"
3230 #include "confdefs.h"
3232 #ifdef F77_DUMMY_MAIN
3236 int F77_DUMMY_MAIN() { return 1; }
3246 rm -f conftest.
$ac_objext
3247 if { (eval echo "$as_me:3247: \"$ac_compile\"") >&5
3248 (eval $ac_compile) 2>&5
3250 echo "$as_me:3250: \$? = $ac_status" >&5
3251 (exit $ac_status); } &&
3252 { ac_try
='test -s conftest.$ac_objext'
3253 { (eval echo "$as_me:3253: \"$ac_try\"") >&5
3256 echo "$as_me:3256: \$? = $ac_status" >&5
3257 (exit $ac_status); }; }; then
3258 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3259 echo "$as_me:3259: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3262 echo "$as_me: failed program was:" >&5
3263 cat conftest.
$ac_ext >&5
3264 echo "$as_me:3264: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3267 rm -f conftest.
$ac_objext conftest.
$ac_ext
3268 CFLAGS
="$ac_save_CFLAGS"
3269 echo "$as_me:3269: checking whether compiler accepts -Wmissing-declarations" >&5
3270 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3272 ac_save_CFLAGS
="$CFLAGS"
3273 CFLAGS
="$CFLAGS -Wmissing-declarations"
3274 cat >conftest.
$ac_ext <<_ACEOF
3275 #line 3275 "configure"
3276 #include "confdefs.h"
3278 #ifdef F77_DUMMY_MAIN
3282 int F77_DUMMY_MAIN() { return 1; }
3292 rm -f conftest.
$ac_objext
3293 if { (eval echo "$as_me:3293: \"$ac_compile\"") >&5
3294 (eval $ac_compile) 2>&5
3296 echo "$as_me:3296: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try
='test -s conftest.$ac_objext'
3299 { (eval echo "$as_me:3299: \"$ac_try\"") >&5
3302 echo "$as_me:3302: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then
3304 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3305 echo "$as_me:3305: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3308 echo "$as_me: failed program was:" >&5
3309 cat conftest.
$ac_ext >&5
3310 echo "$as_me:3310: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3313 rm -f conftest.
$ac_objext conftest.
$ac_ext
3314 CFLAGS
="$ac_save_CFLAGS"
3315 echo "$as_me:3315: checking whether compiler accepts -Wmissing-prototypes" >&5
3316 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3318 ac_save_CFLAGS
="$CFLAGS"
3319 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3320 cat >conftest.
$ac_ext <<_ACEOF
3321 #line 3321 "configure"
3322 #include "confdefs.h"
3324 #ifdef F77_DUMMY_MAIN
3328 int F77_DUMMY_MAIN() { return 1; }
3338 rm -f conftest.
$ac_objext
3339 if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5
3340 (eval $ac_compile) 2>&5
3342 echo "$as_me:3342: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try
='test -s conftest.$ac_objext'
3345 { (eval echo "$as_me:3345: \"$ac_try\"") >&5
3348 echo "$as_me:3348: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3351 echo "$as_me:3351: result: yes" >&5
3352 echo "${ECHO_T}yes" >&6
3354 echo "$as_me: failed program was:" >&5
3355 cat conftest.
$ac_ext >&5
3356 echo "$as_me:3356: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3359 rm -f conftest.
$ac_objext conftest.
$ac_ext
3360 CFLAGS
="$ac_save_CFLAGS"
3361 echo "$as_me:3361: checking whether compiler accepts -Wnested-externs" >&5
3362 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3364 ac_save_CFLAGS
="$CFLAGS"
3365 CFLAGS
="$CFLAGS -Wnested-externs"
3366 cat >conftest.
$ac_ext <<_ACEOF
3367 #line 3367 "configure"
3368 #include "confdefs.h"
3370 #ifdef F77_DUMMY_MAIN
3374 int F77_DUMMY_MAIN() { return 1; }
3384 rm -f conftest.
$ac_objext
3385 if { (eval echo "$as_me:3385: \"$ac_compile\"") >&5
3386 (eval $ac_compile) 2>&5
3388 echo "$as_me:3388: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -s conftest.$ac_objext'
3391 { (eval echo "$as_me:3391: \"$ac_try\"") >&5
3394 echo "$as_me:3394: \$? = $ac_status" >&5
3395 (exit $ac_status); }; }; then
3396 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3397 echo "$as_me:3397: result: yes" >&5
3398 echo "${ECHO_T}yes" >&6
3400 echo "$as_me: failed program was:" >&5
3401 cat conftest.
$ac_ext >&5
3402 echo "$as_me:3402: result: no" >&5
3403 echo "${ECHO_T}no" >&6
3405 rm -f conftest.
$ac_objext conftest.
$ac_ext
3406 CFLAGS
="$ac_save_CFLAGS"
3407 echo "$as_me:3407: checking whether compiler accepts -Wshadow" >&5
3408 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3410 ac_save_CFLAGS
="$CFLAGS"
3411 CFLAGS
="$CFLAGS -Wshadow"
3412 cat >conftest.
$ac_ext <<_ACEOF
3413 #line 3413 "configure"
3414 #include "confdefs.h"
3416 #ifdef F77_DUMMY_MAIN
3420 int F77_DUMMY_MAIN() { return 1; }
3430 rm -f conftest.
$ac_objext
3431 if { (eval echo "$as_me:3431: \"$ac_compile\"") >&5
3432 (eval $ac_compile) 2>&5
3434 echo "$as_me:3434: \$? = $ac_status" >&5
3435 (exit $ac_status); } &&
3436 { ac_try
='test -s conftest.$ac_objext'
3437 { (eval echo "$as_me:3437: \"$ac_try\"") >&5
3440 echo "$as_me:3440: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3443 echo "$as_me:3443: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6
3446 echo "$as_me: failed program was:" >&5
3447 cat conftest.
$ac_ext >&5
3448 echo "$as_me:3448: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3451 rm -f conftest.
$ac_objext conftest.
$ac_ext
3452 CFLAGS
="$ac_save_CFLAGS"
3453 echo "$as_me:3453: checking whether compiler accepts -Wstrict-prototypes" >&5
3454 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3456 ac_save_CFLAGS
="$CFLAGS"
3457 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3458 cat >conftest.
$ac_ext <<_ACEOF
3459 #line 3459 "configure"
3460 #include "confdefs.h"
3462 #ifdef F77_DUMMY_MAIN
3466 int F77_DUMMY_MAIN() { return 1; }
3476 rm -f conftest.
$ac_objext
3477 if { (eval echo "$as_me:3477: \"$ac_compile\"") >&5
3478 (eval $ac_compile) 2>&5
3480 echo "$as_me:3480: \$? = $ac_status" >&5
3481 (exit $ac_status); } &&
3482 { ac_try
='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:3483: \"$ac_try\"") >&5
3486 echo "$as_me:3486: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3489 echo "$as_me:3489: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me: failed program was:" >&5
3493 cat conftest.
$ac_ext >&5
3494 echo "$as_me:3494: result: no" >&5
3495 echo "${ECHO_T}no" >&6
3497 rm -f conftest.
$ac_objext conftest.
$ac_ext
3498 CFLAGS
="$ac_save_CFLAGS"
3499 echo "$as_me:3499: checking whether compiler accepts -Wwrite-strings" >&5
3500 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3502 ac_save_CFLAGS
="$CFLAGS"
3503 CFLAGS
="$CFLAGS -Wwrite-strings"
3504 cat >conftest.
$ac_ext <<_ACEOF
3505 #line 3505 "configure"
3506 #include "confdefs.h"
3508 #ifdef F77_DUMMY_MAIN
3512 int F77_DUMMY_MAIN() { return 1; }
3522 rm -f conftest.
$ac_objext
3523 if { (eval echo "$as_me:3523: \"$ac_compile\"") >&5
3524 (eval $ac_compile) 2>&5
3526 echo "$as_me:3526: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try
='test -s conftest.$ac_objext'
3529 { (eval echo "$as_me:3529: \"$ac_try\"") >&5
3532 echo "$as_me:3532: \$? = $ac_status" >&5
3533 (exit $ac_status); }; }; then
3534 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3535 echo "$as_me:3535: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me: failed program was:" >&5
3539 cat conftest.
$ac_ext >&5
3540 echo "$as_me:3540: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3543 rm -f conftest.
$ac_objext conftest.
$ac_ext
3544 CFLAGS
="$ac_save_CFLAGS"
3545 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
3548 # Checks for libraries.
3550 cat >>confdefs.h
<<\_ACEOF
3551 #define _GNU_SOURCE 1
3554 # Checks for header files.
3555 echo "$as_me:3555: checking for ANSI C header files" >&5
3556 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3557 if test "${ac_cv_header_stdc+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 cat >conftest.
$ac_ext <<_ACEOF
3561 #line 3561 "configure"
3562 #include "confdefs.h"
3569 if { (eval echo "$as_me:3569: \"$ac_cpp conftest.$ac_ext\"") >&5
3570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3572 egrep -v '^ *\+' conftest.er1
>conftest.err
3574 cat conftest.err
>&5
3575 echo "$as_me:3575: \$? = $ac_status" >&5
3576 (exit $ac_status); } >/dev
/null
; then
3577 if test -s conftest.err
; then
3578 ac_cpp_err
=$ac_c_preproc_warn_flag
3585 if test -z "$ac_cpp_err"; then
3586 ac_cv_header_stdc
=yes
3588 echo "$as_me: failed program was:" >&5
3589 cat conftest.
$ac_ext >&5
3590 ac_cv_header_stdc
=no
3592 rm -f conftest.err conftest.
$ac_ext
3594 if test $ac_cv_header_stdc = yes; then
3595 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3596 cat >conftest.
$ac_ext <<_ACEOF
3597 #line 3597 "configure"
3598 #include "confdefs.h"
3602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3603 egrep "memchr" >/dev
/null
2>&1; then
3606 ac_cv_header_stdc
=no
3612 if test $ac_cv_header_stdc = yes; then
3613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3614 cat >conftest.
$ac_ext <<_ACEOF
3615 #line 3615 "configure"
3616 #include "confdefs.h"
3620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3621 egrep "free" >/dev
/null
2>&1; then
3624 ac_cv_header_stdc
=no
3630 if test $ac_cv_header_stdc = yes; then
3631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3632 if test "$cross_compiling" = yes; then
3635 cat >conftest.
$ac_ext <<_ACEOF
3636 #line 3636 "configure"
3637 #include "confdefs.h"
3639 #if ((' ' & 0x0FF) == 0x020)
3640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3643 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3644 || ('j' <= (c) && (c) <= 'r') \
3645 || ('s' <= (c) && (c) <= 'z'))
3646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3654 for (i = 0; i < 256; i++)
3655 if (XOR (islower (i), ISLOWER (i))
3656 || toupper (i) != TOUPPER (i))
3661 rm -f conftest
$ac_exeext
3662 if { (eval echo "$as_me:3662: \"$ac_link\"") >&5
3663 (eval $ac_link) 2>&5
3665 echo "$as_me:3665: \$? = $ac_status" >&5
3666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3667 { (eval echo "$as_me:3667: \"$ac_try\"") >&5
3670 echo "$as_me:3670: \$? = $ac_status" >&5
3671 (exit $ac_status); }; }; then
3674 echo "$as_me: program exited with status $ac_status" >&5
3675 echo "$as_me: failed program was:" >&5
3676 cat conftest.
$ac_ext >&5
3677 ac_cv_header_stdc
=no
3679 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3683 echo "$as_me:3683: result: $ac_cv_header_stdc" >&5
3684 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3685 if test $ac_cv_header_stdc = yes; then
3687 cat >>confdefs.h
<<\_ACEOF
3688 #define STDC_HEADERS 1
3693 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3697 echo "$as_me:3697: checking for $ac_header" >&5
3698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 echo "$as_me:3702: result: `eval echo '${'$as_ac_Header'}'`" >&5
3703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3705 # Is the header compilable?
3706 echo "$as_me:3706: checking $ac_header usability" >&5
3707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3708 cat >conftest.
$ac_ext <<_ACEOF
3709 #line 3709 "configure"
3710 #include "confdefs.h"
3711 $ac_includes_default
3712 #include <$ac_header>
3714 rm -f conftest.
$ac_objext
3715 if { (eval echo "$as_me:3715: \"$ac_compile\"") >&5
3716 (eval $ac_compile) 2>&5
3718 echo "$as_me:3718: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try
='test -s conftest.$ac_objext'
3721 { (eval echo "$as_me:3721: \"$ac_try\"") >&5
3724 echo "$as_me:3724: \$? = $ac_status" >&5
3725 (exit $ac_status); }; }; then
3726 ac_header_compiler
=yes
3728 echo "$as_me: failed program was:" >&5
3729 cat conftest.
$ac_ext >&5
3730 ac_header_compiler
=no
3732 rm -f conftest.
$ac_objext conftest.
$ac_ext
3733 echo "$as_me:3733: result: $ac_header_compiler" >&5
3734 echo "${ECHO_T}$ac_header_compiler" >&6
3736 # Is the header present?
3737 echo "$as_me:3737: checking $ac_header presence" >&5
3738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3739 cat >conftest.
$ac_ext <<_ACEOF
3740 #line 3740 "configure"
3741 #include "confdefs.h"
3742 #include <$ac_header>
3744 if { (eval echo "$as_me:3744: \"$ac_cpp conftest.$ac_ext\"") >&5
3745 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3747 egrep -v '^ *\+' conftest.er1
>conftest.err
3749 cat conftest.err
>&5
3750 echo "$as_me:3750: \$? = $ac_status" >&5
3751 (exit $ac_status); } >/dev
/null
; then
3752 if test -s conftest.err
; then
3753 ac_cpp_err
=$ac_c_preproc_warn_flag
3760 if test -z "$ac_cpp_err"; then
3761 ac_header_preproc
=yes
3763 echo "$as_me: failed program was:" >&5
3764 cat conftest.
$ac_ext >&5
3765 ac_header_preproc
=no
3767 rm -f conftest.err conftest.
$ac_ext
3768 echo "$as_me:3768: result: $ac_header_preproc" >&5
3769 echo "${ECHO_T}$ac_header_preproc" >&6
3771 # So? What about this header?
3772 case $ac_header_compiler:$ac_header_preproc in
3774 { echo "$as_me:3774: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3776 { echo "$as_me:3776: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3779 { echo "$as_me:3779: WARNING: $ac_header: present but cannot be compiled." >&5
3780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
3781 { echo "$as_me:3781: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3783 { echo "$as_me:3783: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3786 echo "$as_me:3786: checking for $ac_header" >&5
3787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 eval "$as_ac_Header=$ac_header_preproc"
3793 echo "$as_me:3793: result: `eval echo '${'$as_ac_Header'}'`" >&5
3794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3798 cat >>confdefs.h
<<_ACEOF
3799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3806 # Checks for typedefs.
3808 # Checks for structures.
3810 # Checks for compiler characteristics.
3811 echo "$as_me:3811: checking for $CC option to accept ANSI C" >&5
3812 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3813 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 ac_cv_prog_cc_stdc
=no
3818 cat >conftest.
$ac_ext <<_ACEOF
3819 #line 3819 "configure"
3820 #include "confdefs.h"
3823 #include <sys/types.h>
3824 #include <sys/stat.h>
3825 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3826 struct buf { int x; };
3827 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3828 static char *e (p, i)
3834 static char *f (char * (*g) (char **, int), char **p, ...)
3839 s = g (p, va_arg (v,int));
3843 int test (int i, double x);
3844 struct s1 {int (*f) (int a);};
3845 struct s2 {int (*f) (double a);};
3846 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3849 #ifdef F77_DUMMY_MAIN
3853 int F77_DUMMY_MAIN() { return 1; }
3858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3863 # Don't try gcc -ansi; that turns off useful extensions and
3864 # breaks some systems' header files.
3865 # AIX -qlanglvl=ansi
3866 # Ultrix and OSF/1 -std1
3867 # HP-UX 10.20 and later -Ae
3868 # HP-UX older versions -Aa -D_HPUX_SOURCE
3869 # SVR4 -Xc -D__EXTENSIONS__
3870 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3872 CC
="$ac_save_CC $ac_arg"
3873 rm -f conftest.
$ac_objext
3874 if { (eval echo "$as_me:3874: \"$ac_compile\"") >&5
3875 (eval $ac_compile) 2>&5
3877 echo "$as_me:3877: \$? = $ac_status" >&5
3878 (exit $ac_status); } &&
3879 { ac_try
='test -s conftest.$ac_objext'
3880 { (eval echo "$as_me:3880: \"$ac_try\"") >&5
3883 echo "$as_me:3883: \$? = $ac_status" >&5
3884 (exit $ac_status); }; }; then
3885 ac_cv_prog_cc_stdc
=$ac_arg
3888 echo "$as_me: failed program was:" >&5
3889 cat conftest.
$ac_ext >&5
3891 rm -f conftest.
$ac_objext
3893 rm -f conftest.
$ac_ext conftest.
$ac_objext
3898 case "x$ac_cv_prog_cc_stdc" in
3900 echo "$as_me:3900: result: none needed" >&5
3901 echo "${ECHO_T}none needed" >&6 ;;
3903 echo "$as_me:3903: result: $ac_cv_prog_cc_stdc" >&5
3904 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3905 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3908 echo "$as_me:3908: checking for an ANSI C-conforming const" >&5
3909 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3910 if test "${ac_cv_c_const+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 cat >conftest.
$ac_ext <<_ACEOF
3914 #line 3914 "configure"
3915 #include "confdefs.h"
3917 #ifdef F77_DUMMY_MAIN
3921 int F77_DUMMY_MAIN() { return 1; }
3926 /* FIXME: Include the comments suggested by Paul. */
3928 /* Ultrix mips cc rejects this. */
3929 typedef int charset[2];
3931 /* SunOS 4.1.1 cc rejects this. */
3932 char const *const *ccp;
3934 /* NEC SVR4.0.2 mips cc rejects this. */
3935 struct point {int x, y;};
3936 static struct point const zero = {0,0};
3937 /* AIX XL C 1.02.0.0 rejects this.
3938 It does not let you subtract one const X* pointer from another in
3939 an arm of an if-expression whose if-part is not a constant
3941 const char *g = "string";
3942 ccp = &g + (g ? g-g : 0);
3943 /* HPUX 7.0 cc rejects these. */
3946 ccp = (char const *const *) p;
3947 { /* SCO 3.2v4 cc rejects this. */
3949 char const *s = 0 ? (char *) 0 : (char const *) 0;
3953 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3955 const int *foo = &x[0];
3958 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3959 typedef const int *iptr;
3963 { /* AIX XL C 1.02.0.0 rejects this saying
3964 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3965 struct s { int j; const int *ap[3]; };
3966 struct s *b; b->j = 5;
3968 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3977 rm -f conftest.
$ac_objext
3978 if { (eval echo "$as_me:3978: \"$ac_compile\"") >&5
3979 (eval $ac_compile) 2>&5
3981 echo "$as_me:3981: \$? = $ac_status" >&5
3982 (exit $ac_status); } &&
3983 { ac_try
='test -s conftest.$ac_objext'
3984 { (eval echo "$as_me:3984: \"$ac_try\"") >&5
3987 echo "$as_me:3987: \$? = $ac_status" >&5
3988 (exit $ac_status); }; }; then
3991 echo "$as_me: failed program was:" >&5
3992 cat conftest.
$ac_ext >&5
3995 rm -f conftest.
$ac_objext conftest.
$ac_ext
3997 echo "$as_me:3997: result: $ac_cv_c_const" >&5
3998 echo "${ECHO_T}$ac_cv_c_const" >&6
3999 if test $ac_cv_c_const = no
; then
4001 cat >>confdefs.h
<<\_ACEOF
4007 echo "$as_me:4007: checking for inline" >&5
4008 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4009 if test "${ac_cv_c_inline+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 for ac_kw
in inline __inline__ __inline
; do
4014 cat >conftest.
$ac_ext <<_ACEOF
4015 #line 4015 "configure"
4016 #include "confdefs.h"
4018 static $ac_kw int static_foo () {return 0; }
4019 $ac_kw int foo () {return 0; }
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:4024: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>&5
4027 echo "$as_me:4027: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try
='test -s conftest.$ac_objext'
4030 { (eval echo "$as_me:4030: \"$ac_try\"") >&5
4033 echo "$as_me:4033: \$? = $ac_status" >&5
4034 (exit $ac_status); }; }; then
4035 ac_cv_c_inline
=$ac_kw; break
4037 echo "$as_me: failed program was:" >&5
4038 cat conftest.
$ac_ext >&5
4040 rm -f conftest.
$ac_objext conftest.
$ac_ext
4044 echo "$as_me:4044: result: $ac_cv_c_inline" >&5
4045 echo "${ECHO_T}$ac_cv_c_inline" >&6
4046 case $ac_cv_c_inline in
4049 cat >>confdefs.h
<<\_ACEOF
4053 *) cat >>confdefs.h
<<_ACEOF
4054 #define inline $ac_cv_c_inline
4059 echo "$as_me:4059: checking for function prototypes" >&5
4060 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4061 if test "$am_cv_prog_cc_stdc" != no
; then
4062 echo "$as_me:4062: result: yes" >&5
4063 echo "${ECHO_T}yes" >&6
4065 cat >>confdefs.h
<<\_ACEOF
4066 #define PROTOTYPES 1
4071 echo "$as_me:4071: result: no" >&5
4072 echo "${ECHO_T}no" >&6
4073 U
=_ ANSI2KNR
=.
/ansi2knr
4075 # Ensure some checks needed by ansi2knr itself.
4076 echo "$as_me:4076: checking for ANSI C header files" >&5
4077 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4078 if test "${ac_cv_header_stdc+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 cat >conftest.
$ac_ext <<_ACEOF
4082 #line 4082 "configure"
4083 #include "confdefs.h"
4090 if { (eval echo "$as_me:4090: \"$ac_cpp conftest.$ac_ext\"") >&5
4091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4093 egrep -v '^ *\+' conftest.er1
>conftest.err
4095 cat conftest.err
>&5
4096 echo "$as_me:4096: \$? = $ac_status" >&5
4097 (exit $ac_status); } >/dev
/null
; then
4098 if test -s conftest.err
; then
4099 ac_cpp_err
=$ac_c_preproc_warn_flag
4106 if test -z "$ac_cpp_err"; then
4107 ac_cv_header_stdc
=yes
4109 echo "$as_me: failed program was:" >&5
4110 cat conftest.
$ac_ext >&5
4111 ac_cv_header_stdc
=no
4113 rm -f conftest.err conftest.
$ac_ext
4115 if test $ac_cv_header_stdc = yes; then
4116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4117 cat >conftest.
$ac_ext <<_ACEOF
4118 #line 4118 "configure"
4119 #include "confdefs.h"
4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4124 egrep "memchr" >/dev
/null
2>&1; then
4127 ac_cv_header_stdc
=no
4133 if test $ac_cv_header_stdc = yes; then
4134 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4135 cat >conftest.
$ac_ext <<_ACEOF
4136 #line 4136 "configure"
4137 #include "confdefs.h"
4141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4142 egrep "free" >/dev
/null
2>&1; then
4145 ac_cv_header_stdc
=no
4151 if test $ac_cv_header_stdc = yes; then
4152 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4153 if test "$cross_compiling" = yes; then
4156 cat >conftest.
$ac_ext <<_ACEOF
4157 #line 4157 "configure"
4158 #include "confdefs.h"
4160 #if ((' ' & 0x0FF) == 0x020)
4161 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4162 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4164 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4165 || ('j' <= (c) && (c) <= 'r') \
4166 || ('s' <= (c) && (c) <= 'z'))
4167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4175 for (i = 0; i < 256; i++)
4176 if (XOR (islower (i), ISLOWER (i))
4177 || toupper (i) != TOUPPER (i))
4182 rm -f conftest
$ac_exeext
4183 if { (eval echo "$as_me:4183: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>&5
4186 echo "$as_me:4186: \$? = $ac_status" >&5
4187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4188 { (eval echo "$as_me:4188: \"$ac_try\"") >&5
4191 echo "$as_me:4191: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4195 echo "$as_me: program exited with status $ac_status" >&5
4196 echo "$as_me: failed program was:" >&5
4197 cat conftest.
$ac_ext >&5
4198 ac_cv_header_stdc
=no
4200 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4204 echo "$as_me:4204: result: $ac_cv_header_stdc" >&5
4205 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4206 if test $ac_cv_header_stdc = yes; then
4208 cat >>confdefs.h
<<\_ACEOF
4209 #define STDC_HEADERS 1
4214 for ac_header
in string.h
4216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4218 echo "$as_me:4218: checking for $ac_header" >&5
4219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 echo "$as_me:4223: result: `eval echo '${'$as_ac_Header'}'`" >&5
4224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4226 # Is the header compilable?
4227 echo "$as_me:4227: checking $ac_header usability" >&5
4228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4229 cat >conftest.
$ac_ext <<_ACEOF
4230 #line 4230 "configure"
4231 #include "confdefs.h"
4232 $ac_includes_default
4233 #include <$ac_header>
4235 rm -f conftest.
$ac_objext
4236 if { (eval echo "$as_me:4236: \"$ac_compile\"") >&5
4237 (eval $ac_compile) 2>&5
4239 echo "$as_me:4239: \$? = $ac_status" >&5
4240 (exit $ac_status); } &&
4241 { ac_try
='test -s conftest.$ac_objext'
4242 { (eval echo "$as_me:4242: \"$ac_try\"") >&5
4245 echo "$as_me:4245: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4247 ac_header_compiler
=yes
4249 echo "$as_me: failed program was:" >&5
4250 cat conftest.
$ac_ext >&5
4251 ac_header_compiler
=no
4253 rm -f conftest.
$ac_objext conftest.
$ac_ext
4254 echo "$as_me:4254: result: $ac_header_compiler" >&5
4255 echo "${ECHO_T}$ac_header_compiler" >&6
4257 # Is the header present?
4258 echo "$as_me:4258: checking $ac_header presence" >&5
4259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4260 cat >conftest.
$ac_ext <<_ACEOF
4261 #line 4261 "configure"
4262 #include "confdefs.h"
4263 #include <$ac_header>
4265 if { (eval echo "$as_me:4265: \"$ac_cpp conftest.$ac_ext\"") >&5
4266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4268 egrep -v '^ *\+' conftest.er1
>conftest.err
4270 cat conftest.err
>&5
4271 echo "$as_me:4271: \$? = $ac_status" >&5
4272 (exit $ac_status); } >/dev
/null
; then
4273 if test -s conftest.err
; then
4274 ac_cpp_err
=$ac_c_preproc_warn_flag
4281 if test -z "$ac_cpp_err"; then
4282 ac_header_preproc
=yes
4284 echo "$as_me: failed program was:" >&5
4285 cat conftest.
$ac_ext >&5
4286 ac_header_preproc
=no
4288 rm -f conftest.err conftest.
$ac_ext
4289 echo "$as_me:4289: result: $ac_header_preproc" >&5
4290 echo "${ECHO_T}$ac_header_preproc" >&6
4292 # So? What about this header?
4293 case $ac_header_compiler:$ac_header_preproc in
4295 { echo "$as_me:4295: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4297 { echo "$as_me:4297: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4300 { echo "$as_me:4300: WARNING: $ac_header: present but cannot be compiled." >&5
4301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4302 { echo "$as_me:4302: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4304 { echo "$as_me:4304: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4307 echo "$as_me:4307: checking for $ac_header" >&5
4308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 eval "$as_ac_Header=$ac_header_preproc"
4314 echo "$as_me:4314: result: `eval echo '${'$as_ac_Header'}'`" >&5
4315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4319 cat >>confdefs.h
<<_ACEOF
4320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4327 # Checks for library functions.
4328 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4329 # for constant arguments. Useless!
4330 echo "$as_me:4330: checking for working alloca.h" >&5
4331 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4332 if test "${ac_cv_working_alloca_h+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 cat >conftest.
$ac_ext <<_ACEOF
4336 #line 4336 "configure"
4337 #include "confdefs.h"
4339 #ifdef F77_DUMMY_MAIN
4343 int F77_DUMMY_MAIN() { return 1; }
4348 char *p = (char *) alloca (2 * sizeof (int));
4353 rm -f conftest.
$ac_objext conftest
$ac_exeext
4354 if { (eval echo "$as_me:4354: \"$ac_link\"") >&5
4355 (eval $ac_link) 2>&5
4357 echo "$as_me:4357: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try
='test -s conftest$ac_exeext'
4360 { (eval echo "$as_me:4360: \"$ac_try\"") >&5
4363 echo "$as_me:4363: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_cv_working_alloca_h
=yes
4367 echo "$as_me: failed program was:" >&5
4368 cat conftest.
$ac_ext >&5
4369 ac_cv_working_alloca_h
=no
4371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4373 echo "$as_me:4373: result: $ac_cv_working_alloca_h" >&5
4374 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4375 if test $ac_cv_working_alloca_h = yes; then
4377 cat >>confdefs.h
<<\_ACEOF
4378 #define HAVE_ALLOCA_H 1
4383 echo "$as_me:4383: checking for alloca" >&5
4384 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4385 if test "${ac_cv_func_alloca_works+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 cat >conftest.
$ac_ext <<_ACEOF
4389 #line 4389 "configure"
4390 #include "confdefs.h"
4392 # define alloca __builtin_alloca
4395 # include <malloc.h>
4396 # define alloca _alloca
4399 # include <alloca.h>
4404 # ifndef alloca /* predefined by HP cc +Olibcalls */
4412 #ifdef F77_DUMMY_MAIN
4416 int F77_DUMMY_MAIN() { return 1; }
4421 char *p = (char *) alloca (1);
4426 rm -f conftest.
$ac_objext conftest
$ac_exeext
4427 if { (eval echo "$as_me:4427: \"$ac_link\"") >&5
4428 (eval $ac_link) 2>&5
4430 echo "$as_me:4430: \$? = $ac_status" >&5
4431 (exit $ac_status); } &&
4432 { ac_try
='test -s conftest$ac_exeext'
4433 { (eval echo "$as_me:4433: \"$ac_try\"") >&5
4436 echo "$as_me:4436: \$? = $ac_status" >&5
4437 (exit $ac_status); }; }; then
4438 ac_cv_func_alloca_works
=yes
4440 echo "$as_me: failed program was:" >&5
4441 cat conftest.
$ac_ext >&5
4442 ac_cv_func_alloca_works
=no
4444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4446 echo "$as_me:4446: result: $ac_cv_func_alloca_works" >&5
4447 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4449 if test $ac_cv_func_alloca_works = yes; then
4451 cat >>confdefs.h
<<\_ACEOF
4452 #define HAVE_ALLOCA 1
4456 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4457 # that cause trouble. Some versions do not even contain alloca or
4458 # contain a buggy version. If you still want to use their alloca,
4459 # use ar to extract alloca.o from them instead of compiling alloca.c.
4461 ALLOCA
=alloca.
$ac_objext
4463 cat >>confdefs.h
<<\_ACEOF
4467 echo "$as_me:4467: checking whether \`alloca.c' needs Cray hooks" >&5
4468 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4469 if test "${ac_cv_os_cray+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 cat >conftest.
$ac_ext <<_ACEOF
4473 #line 4473 "configure"
4474 #include "confdefs.h"
4475 #if defined(CRAY) && ! defined(CRAY2)
4482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4483 egrep "webecray" >/dev
/null
2>&1; then
4491 echo "$as_me:4491: result: $ac_cv_os_cray" >&5
4492 echo "${ECHO_T}$ac_cv_os_cray" >&6
4493 if test $ac_cv_os_cray = yes; then
4494 for ac_func
in _getb67 GETB67 getb67
; do
4495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4496 echo "$as_me:4496: checking for $ac_func" >&5
4497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4498 if eval "test \"\${$as_ac_var+set}\" = set"; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 cat >conftest.
$ac_ext <<_ACEOF
4502 #line 4502 "configure"
4503 #include "confdefs.h"
4504 /* System header to define __stub macros and hopefully few prototypes,
4505 which can conflict with char $ac_func (); below. */
4507 /* Override any gcc2 internal prototype to avoid an error. */
4511 /* We use char because int might match the return type of a gcc2
4512 builtin and then its argument prototype would still apply. */
4516 #ifdef F77_DUMMY_MAIN
4520 int F77_DUMMY_MAIN() { return 1; }
4525 /* The GNU C library defines this for functions which it implements
4526 to always fail with ENOSYS. Some functions are actually named
4527 something starting with __ and the normal name is an alias. */
4528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4538 rm -f conftest.
$ac_objext conftest
$ac_exeext
4539 if { (eval echo "$as_me:4539: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>&5
4542 echo "$as_me:4542: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try
='test -s conftest$ac_exeext'
4545 { (eval echo "$as_me:4545: \"$ac_try\"") >&5
4548 echo "$as_me:4548: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 eval "$as_ac_var=yes"
4552 echo "$as_me: failed program was:" >&5
4553 cat conftest.
$ac_ext >&5
4554 eval "$as_ac_var=no"
4556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4558 echo "$as_me:4558: result: `eval echo '${'$as_ac_var'}'`" >&5
4559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4560 if test `eval echo '${'$as_ac_var'}'` = yes; then
4562 cat >>confdefs.h
<<_ACEOF
4563 #define CRAY_STACKSEG_END $ac_func
4572 echo "$as_me:4572: checking stack direction for C alloca" >&5
4573 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4574 if test "${ac_cv_c_stack_direction+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test "$cross_compiling" = yes; then
4578 ac_cv_c_stack_direction
=0
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line 4581 "configure"
4582 #include "confdefs.h"
4584 find_stack_direction ()
4586 static char *addr = 0;
4591 return find_stack_direction ();
4594 return (&dummy > addr) ? 1 : -1;
4600 exit (find_stack_direction () < 0);
4603 rm -f conftest
$ac_exeext
4604 if { (eval echo "$as_me:4604: \"$ac_link\"") >&5
4605 (eval $ac_link) 2>&5
4607 echo "$as_me:4607: \$? = $ac_status" >&5
4608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4609 { (eval echo "$as_me:4609: \"$ac_try\"") >&5
4612 echo "$as_me:4612: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_cv_c_stack_direction
=1
4616 echo "$as_me: program exited with status $ac_status" >&5
4617 echo "$as_me: failed program was:" >&5
4618 cat conftest.
$ac_ext >&5
4619 ac_cv_c_stack_direction
=-1
4621 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4624 echo "$as_me:4624: result: $ac_cv_c_stack_direction" >&5
4625 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4627 cat >>confdefs.h
<<_ACEOF
4628 #define STACK_DIRECTION $ac_cv_c_stack_direction
4633 for ac_func
in mkstemp setlocale
4635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4636 echo "$as_me:4636: checking for $ac_func" >&5
4637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4638 if eval "test \"\${$as_ac_var+set}\" = set"; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.
$ac_ext <<_ACEOF
4642 #line 4642 "configure"
4643 #include "confdefs.h"
4644 /* System header to define __stub macros and hopefully few prototypes,
4645 which can conflict with char $ac_func (); below. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4656 #ifdef F77_DUMMY_MAIN
4660 int F77_DUMMY_MAIN() { return 1; }
4665 /* The GNU C library defines this for functions which it implements
4666 to always fail with ENOSYS. Some functions are actually named
4667 something starting with __ and the normal name is an alias. */
4668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4678 rm -f conftest.
$ac_objext conftest
$ac_exeext
4679 if { (eval echo "$as_me:4679: \"$ac_link\"") >&5
4680 (eval $ac_link) 2>&5
4682 echo "$as_me:4682: \$? = $ac_status" >&5
4683 (exit $ac_status); } &&
4684 { ac_try
='test -s conftest$ac_exeext'
4685 { (eval echo "$as_me:4685: \"$ac_try\"") >&5
4688 echo "$as_me:4688: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 eval "$as_ac_var=yes"
4692 echo "$as_me: failed program was:" >&5
4693 cat conftest.
$ac_ext >&5
4694 eval "$as_ac_var=no"
4696 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4698 echo "$as_me:4698: result: `eval echo '${'$as_ac_var'}'`" >&5
4699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4700 if test `eval echo '${'$as_ac_var'}'` = yes; then
4701 cat >>confdefs.h
<<_ACEOF
4702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4708 echo "$as_me:4708: checking whether stpcpy is declared" >&5
4709 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
4710 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 cat >conftest.
$ac_ext <<_ACEOF
4714 #line 4714 "configure"
4715 #include "confdefs.h"
4716 $ac_includes_default
4717 #ifdef F77_DUMMY_MAIN
4721 int F77_DUMMY_MAIN() { return 1; }
4727 char *p = (char *) stpcpy;
4734 rm -f conftest.
$ac_objext
4735 if { (eval echo "$as_me:4735: \"$ac_compile\"") >&5
4736 (eval $ac_compile) 2>&5
4738 echo "$as_me:4738: \$? = $ac_status" >&5
4739 (exit $ac_status); } &&
4740 { ac_try
='test -s conftest.$ac_objext'
4741 { (eval echo "$as_me:4741: \"$ac_try\"") >&5
4744 echo "$as_me:4744: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4746 ac_cv_have_decl_stpcpy
=yes
4748 echo "$as_me: failed program was:" >&5
4749 cat conftest.
$ac_ext >&5
4750 ac_cv_have_decl_stpcpy
=no
4752 rm -f conftest.
$ac_objext conftest.
$ac_ext
4754 echo "$as_me:4754: result: $ac_cv_have_decl_stpcpy" >&5
4755 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4756 if test $ac_cv_have_decl_stpcpy = yes; then
4758 cat >>confdefs.h
<<_ACEOF
4759 #define HAVE_DECL_STPCPY 1
4763 cat >>confdefs.h
<<_ACEOF
4764 #define HAVE_DECL_STPCPY 0
4768 echo "$as_me:4768: checking whether strndup is declared" >&5
4769 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4770 if test "${ac_cv_have_decl_strndup+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 cat >conftest.
$ac_ext <<_ACEOF
4774 #line 4774 "configure"
4775 #include "confdefs.h"
4776 $ac_includes_default
4777 #ifdef F77_DUMMY_MAIN
4781 int F77_DUMMY_MAIN() { return 1; }
4787 char *p = (char *) strndup;
4794 rm -f conftest.
$ac_objext
4795 if { (eval echo "$as_me:4795: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>&5
4798 echo "$as_me:4798: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try
='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:4801: \"$ac_try\"") >&5
4804 echo "$as_me:4804: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_cv_have_decl_strndup
=yes
4808 echo "$as_me: failed program was:" >&5
4809 cat conftest.
$ac_ext >&5
4810 ac_cv_have_decl_strndup
=no
4812 rm -f conftest.
$ac_objext conftest.
$ac_ext
4814 echo "$as_me:4814: result: $ac_cv_have_decl_strndup" >&5
4815 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4816 if test $ac_cv_have_decl_strndup = yes; then
4818 cat >>confdefs.h
<<_ACEOF
4819 #define HAVE_DECL_STRNDUP 1
4823 cat >>confdefs.h
<<_ACEOF
4824 #define HAVE_DECL_STRNDUP 0
4828 echo "$as_me:4828: checking whether strnlen is declared" >&5
4829 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4830 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 cat >conftest.
$ac_ext <<_ACEOF
4834 #line 4834 "configure"
4835 #include "confdefs.h"
4836 $ac_includes_default
4837 #ifdef F77_DUMMY_MAIN
4841 int F77_DUMMY_MAIN() { return 1; }
4847 char *p = (char *) strnlen;
4854 rm -f conftest.
$ac_objext
4855 if { (eval echo "$as_me:4855: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>&5
4858 echo "$as_me:4858: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try
='test -s conftest.$ac_objext'
4861 { (eval echo "$as_me:4861: \"$ac_try\"") >&5
4864 echo "$as_me:4864: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 ac_cv_have_decl_strnlen
=yes
4868 echo "$as_me: failed program was:" >&5
4869 cat conftest.
$ac_ext >&5
4870 ac_cv_have_decl_strnlen
=no
4872 rm -f conftest.
$ac_objext conftest.
$ac_ext
4874 echo "$as_me:4874: result: $ac_cv_have_decl_strnlen" >&5
4875 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4876 if test $ac_cv_have_decl_strnlen = yes; then
4878 cat >>confdefs.h
<<_ACEOF
4879 #define HAVE_DECL_STRNLEN 1
4883 cat >>confdefs.h
<<_ACEOF
4884 #define HAVE_DECL_STRNLEN 0
4888 echo "$as_me:4888: checking whether memchr is declared" >&5
4889 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4890 if test "${ac_cv_have_decl_memchr+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 cat >conftest.
$ac_ext <<_ACEOF
4894 #line 4894 "configure"
4895 #include "confdefs.h"
4896 $ac_includes_default
4897 #ifdef F77_DUMMY_MAIN
4901 int F77_DUMMY_MAIN() { return 1; }
4907 char *p = (char *) memchr;
4914 rm -f conftest.
$ac_objext
4915 if { (eval echo "$as_me:4915: \"$ac_compile\"") >&5
4916 (eval $ac_compile) 2>&5
4918 echo "$as_me:4918: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try
='test -s conftest.$ac_objext'
4921 { (eval echo "$as_me:4921: \"$ac_try\"") >&5
4924 echo "$as_me:4924: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 ac_cv_have_decl_memchr
=yes
4928 echo "$as_me: failed program was:" >&5
4929 cat conftest.
$ac_ext >&5
4930 ac_cv_have_decl_memchr
=no
4932 rm -f conftest.
$ac_objext conftest.
$ac_ext
4934 echo "$as_me:4934: result: $ac_cv_have_decl_memchr" >&5
4935 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4936 if test $ac_cv_have_decl_memchr = yes; then
4938 cat >>confdefs.h
<<_ACEOF
4939 #define HAVE_DECL_MEMCHR 1
4943 cat >>confdefs.h
<<_ACEOF
4944 #define HAVE_DECL_MEMCHR 0
4949 for ac_func
in stpcpy strndup strnlen strspn memchr
4951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4952 echo "$as_me:4952: checking for $ac_func" >&5
4953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4954 if eval "test \"\${$as_ac_var+set}\" = set"; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 cat >conftest.
$ac_ext <<_ACEOF
4958 #line 4958 "configure"
4959 #include "confdefs.h"
4960 /* System header to define __stub macros and hopefully few prototypes,
4961 which can conflict with char $ac_func (); below. */
4963 /* Override any gcc2 internal prototype to avoid an error. */
4967 /* We use char because int might match the return type of a gcc2
4968 builtin and then its argument prototype would still apply. */
4972 #ifdef F77_DUMMY_MAIN
4976 int F77_DUMMY_MAIN() { return 1; }
4981 /* The GNU C library defines this for functions which it implements
4982 to always fail with ENOSYS. Some functions are actually named
4983 something starting with __ and the normal name is an alias. */
4984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4994 rm -f conftest.
$ac_objext conftest
$ac_exeext
4995 if { (eval echo "$as_me:4995: \"$ac_link\"") >&5
4996 (eval $ac_link) 2>&5
4998 echo "$as_me:4998: \$? = $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try
='test -s conftest$ac_exeext'
5001 { (eval echo "$as_me:5001: \"$ac_try\"") >&5
5004 echo "$as_me:5004: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 eval "$as_ac_var=yes"
5008 echo "$as_me: failed program was:" >&5
5009 cat conftest.
$ac_ext >&5
5010 eval "$as_ac_var=no"
5012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5014 echo "$as_me:5014: result: `eval echo '${'$as_ac_var'}'`" >&5
5015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5016 if test `eval echo '${'$as_ac_var'}'` = yes; then
5017 cat >>confdefs.h
<<_ACEOF
5018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5022 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5026 cat >>confdefs.h
<<_ACEOF
5027 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5030 echo "$as_me:5030: checking for working malloc" >&5
5031 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5032 if test "${jm_cv_func_working_malloc+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if test "$cross_compiling" = yes; then
5036 jm_cv_func_working_malloc
=no
5038 cat >conftest.
$ac_ext <<_ACEOF
5039 #line 5039 "configure"
5040 #include "confdefs.h"
5046 exit (malloc (0) ? 0 : 1);
5050 rm -f conftest
$ac_exeext
5051 if { (eval echo "$as_me:5051: \"$ac_link\"") >&5
5052 (eval $ac_link) 2>&5
5054 echo "$as_me:5054: \$? = $ac_status" >&5
5055 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5056 { (eval echo "$as_me:5056: \"$ac_try\"") >&5
5059 echo "$as_me:5059: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 jm_cv_func_working_malloc
=yes
5063 echo "$as_me: program exited with status $ac_status" >&5
5064 echo "$as_me: failed program was:" >&5
5065 cat conftest.
$ac_ext >&5
5066 jm_cv_func_working_malloc
=no
5068 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5072 echo "$as_me:5072: result: $jm_cv_func_working_malloc" >&5
5073 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5074 if test $jm_cv_func_working_malloc = no
; then
5076 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5078 cat >>confdefs.h
<<_ACEOF
5079 #define malloc rpl_malloc
5084 cat >>confdefs.h
<<_ACEOF
5085 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5088 echo "$as_me:5088: checking for working realloc" >&5
5089 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5090 if test "${jm_cv_func_working_realloc+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 if test "$cross_compiling" = yes; then
5094 jm_cv_func_working_realloc
=no
5096 cat >conftest.
$ac_ext <<_ACEOF
5097 #line 5097 "configure"
5098 #include "confdefs.h"
5104 exit (realloc (0, 0) ? 0 : 1);
5108 rm -f conftest
$ac_exeext
5109 if { (eval echo "$as_me:5109: \"$ac_link\"") >&5
5110 (eval $ac_link) 2>&5
5112 echo "$as_me:5112: \$? = $ac_status" >&5
5113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5114 { (eval echo "$as_me:5114: \"$ac_try\"") >&5
5117 echo "$as_me:5117: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 jm_cv_func_working_realloc
=yes
5121 echo "$as_me: program exited with status $ac_status" >&5
5122 echo "$as_me: failed program was:" >&5
5123 cat conftest.
$ac_ext >&5
5124 jm_cv_func_working_realloc
=no
5126 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5130 echo "$as_me:5130: result: $jm_cv_func_working_realloc" >&5
5131 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5132 if test $jm_cv_func_working_realloc = no
; then
5134 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5136 cat >>confdefs.h
<<_ACEOF
5137 #define realloc rpl_realloc
5142 for ac_func
in isascii iswprint mbrtowc
5144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5145 echo "$as_me:5145: checking for $ac_func" >&5
5146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5147 if eval "test \"\${$as_ac_var+set}\" = set"; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.
$ac_ext <<_ACEOF
5151 #line 5151 "configure"
5152 #include "confdefs.h"
5153 /* System header to define __stub macros and hopefully few prototypes,
5154 which can conflict with char $ac_func (); below. */
5156 /* Override any gcc2 internal prototype to avoid an error. */
5160 /* We use char because int might match the return type of a gcc2
5161 builtin and then its argument prototype would still apply. */
5165 #ifdef F77_DUMMY_MAIN
5169 int F77_DUMMY_MAIN() { return 1; }
5174 /* The GNU C library defines this for functions which it implements
5175 to always fail with ENOSYS. Some functions are actually named
5176 something starting with __ and the normal name is an alias. */
5177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5187 rm -f conftest.
$ac_objext conftest
$ac_exeext
5188 if { (eval echo "$as_me:5188: \"$ac_link\"") >&5
5189 (eval $ac_link) 2>&5
5191 echo "$as_me:5191: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -s conftest$ac_exeext'
5194 { (eval echo "$as_me:5194: \"$ac_try\"") >&5
5197 echo "$as_me:5197: \$? = $ac_status" >&5
5198 (exit $ac_status); }; }; then
5199 eval "$as_ac_var=yes"
5201 echo "$as_me: failed program was:" >&5
5202 cat conftest.
$ac_ext >&5
5203 eval "$as_ac_var=no"
5205 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5207 echo "$as_me:5207: result: `eval echo '${'$as_ac_var'}'`" >&5
5208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5209 if test `eval echo '${'$as_ac_var'}'` = yes; then
5210 cat >>confdefs.h
<<_ACEOF
5211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5217 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
5219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5221 echo "$as_me:5221: checking for $ac_header" >&5
5222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5224 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 echo "$as_me:5226: result: `eval echo '${'$as_ac_Header'}'`" >&5
5227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5229 # Is the header compilable?
5230 echo "$as_me:5230: checking $ac_header usability" >&5
5231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5232 cat >conftest.
$ac_ext <<_ACEOF
5233 #line 5233 "configure"
5234 #include "confdefs.h"
5235 $ac_includes_default
5236 #include <$ac_header>
5238 rm -f conftest.
$ac_objext
5239 if { (eval echo "$as_me:5239: \"$ac_compile\"") >&5
5240 (eval $ac_compile) 2>&5
5242 echo "$as_me:5242: \$? = $ac_status" >&5
5243 (exit $ac_status); } &&
5244 { ac_try
='test -s conftest.$ac_objext'
5245 { (eval echo "$as_me:5245: \"$ac_try\"") >&5
5248 echo "$as_me:5248: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then
5250 ac_header_compiler
=yes
5252 echo "$as_me: failed program was:" >&5
5253 cat conftest.
$ac_ext >&5
5254 ac_header_compiler
=no
5256 rm -f conftest.
$ac_objext conftest.
$ac_ext
5257 echo "$as_me:5257: result: $ac_header_compiler" >&5
5258 echo "${ECHO_T}$ac_header_compiler" >&6
5260 # Is the header present?
5261 echo "$as_me:5261: checking $ac_header presence" >&5
5262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5263 cat >conftest.
$ac_ext <<_ACEOF
5264 #line 5264 "configure"
5265 #include "confdefs.h"
5266 #include <$ac_header>
5268 if { (eval echo "$as_me:5268: \"$ac_cpp conftest.$ac_ext\"") >&5
5269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5271 egrep -v '^ *\+' conftest.er1
>conftest.err
5273 cat conftest.err
>&5
5274 echo "$as_me:5274: \$? = $ac_status" >&5
5275 (exit $ac_status); } >/dev
/null
; then
5276 if test -s conftest.err
; then
5277 ac_cpp_err
=$ac_c_preproc_warn_flag
5284 if test -z "$ac_cpp_err"; then
5285 ac_header_preproc
=yes
5287 echo "$as_me: failed program was:" >&5
5288 cat conftest.
$ac_ext >&5
5289 ac_header_preproc
=no
5291 rm -f conftest.err conftest.
$ac_ext
5292 echo "$as_me:5292: result: $ac_header_preproc" >&5
5293 echo "${ECHO_T}$ac_header_preproc" >&6
5295 # So? What about this header?
5296 case $ac_header_compiler:$ac_header_preproc in
5298 { echo "$as_me:5298: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5300 { echo "$as_me:5300: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5303 { echo "$as_me:5303: WARNING: $ac_header: present but cannot be compiled." >&5
5304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5305 { echo "$as_me:5305: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5307 { echo "$as_me:5307: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5310 echo "$as_me:5310: checking for $ac_header" >&5
5311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 eval "$as_ac_Header=$ac_header_preproc"
5317 echo "$as_me:5317: result: `eval echo '${'$as_ac_Header'}'`" >&5
5318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5322 cat >>confdefs.h
<<_ACEOF
5323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5330 echo "$as_me:5330: checking for ANSI C header files" >&5
5331 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5332 if test "${ac_cv_header_stdc+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 cat >conftest.
$ac_ext <<_ACEOF
5336 #line 5336 "configure"
5337 #include "confdefs.h"
5344 if { (eval echo "$as_me:5344: \"$ac_cpp conftest.$ac_ext\"") >&5
5345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5347 egrep -v '^ *\+' conftest.er1
>conftest.err
5349 cat conftest.err
>&5
5350 echo "$as_me:5350: \$? = $ac_status" >&5
5351 (exit $ac_status); } >/dev
/null
; then
5352 if test -s conftest.err
; then
5353 ac_cpp_err
=$ac_c_preproc_warn_flag
5360 if test -z "$ac_cpp_err"; then
5361 ac_cv_header_stdc
=yes
5363 echo "$as_me: failed program was:" >&5
5364 cat conftest.
$ac_ext >&5
5365 ac_cv_header_stdc
=no
5367 rm -f conftest.err conftest.
$ac_ext
5369 if test $ac_cv_header_stdc = yes; then
5370 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5371 cat >conftest.
$ac_ext <<_ACEOF
5372 #line 5372 "configure"
5373 #include "confdefs.h"
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378 egrep "memchr" >/dev
/null
2>&1; then
5381 ac_cv_header_stdc
=no
5387 if test $ac_cv_header_stdc = yes; then
5388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5389 cat >conftest.
$ac_ext <<_ACEOF
5390 #line 5390 "configure"
5391 #include "confdefs.h"
5395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5396 egrep "free" >/dev
/null
2>&1; then
5399 ac_cv_header_stdc
=no
5405 if test $ac_cv_header_stdc = yes; then
5406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5407 if test "$cross_compiling" = yes; then
5410 cat >conftest.
$ac_ext <<_ACEOF
5411 #line 5411 "configure"
5412 #include "confdefs.h"
5414 #if ((' ' & 0x0FF) == 0x020)
5415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5418 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5419 || ('j' <= (c) && (c) <= 'r') \
5420 || ('s' <= (c) && (c) <= 'z'))
5421 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5424 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5429 for (i = 0; i < 256; i++)
5430 if (XOR (islower (i), ISLOWER (i))
5431 || toupper (i) != TOUPPER (i))
5436 rm -f conftest
$ac_exeext
5437 if { (eval echo "$as_me:5437: \"$ac_link\"") >&5
5438 (eval $ac_link) 2>&5
5440 echo "$as_me:5440: \$? = $ac_status" >&5
5441 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5442 { (eval echo "$as_me:5442: \"$ac_try\"") >&5
5445 echo "$as_me:5445: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }; then
5449 echo "$as_me: program exited with status $ac_status" >&5
5450 echo "$as_me: failed program was:" >&5
5451 cat conftest.
$ac_ext >&5
5452 ac_cv_header_stdc
=no
5454 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5458 echo "$as_me:5458: result: $ac_cv_header_stdc" >&5
5459 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5460 if test $ac_cv_header_stdc = yes; then
5462 cat >>confdefs.h
<<\_ACEOF
5463 #define STDC_HEADERS 1
5468 echo "$as_me:5468: checking whether backslash-a works in strings" >&5
5469 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
5470 if test "${ac_cv_c_backslash_a+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 cat >conftest.
$ac_ext <<_ACEOF
5474 #line 5474 "configure"
5475 #include "confdefs.h"
5477 #ifdef F77_DUMMY_MAIN
5481 int F77_DUMMY_MAIN() { return 1; }
5490 char buf['\a' == 'a' ? -1 : 1];
5492 return buf[0] != "\a"[0];
5498 rm -f conftest.
$ac_objext
5499 if { (eval echo "$as_me:5499: \"$ac_compile\"") >&5
5500 (eval $ac_compile) 2>&5
5502 echo "$as_me:5502: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try
='test -s conftest.$ac_objext'
5505 { (eval echo "$as_me:5505: \"$ac_try\"") >&5
5508 echo "$as_me:5508: \$? = $ac_status" >&5
5509 (exit $ac_status); }; }; then
5510 ac_cv_c_backslash_a
=yes
5512 echo "$as_me: failed program was:" >&5
5513 cat conftest.
$ac_ext >&5
5514 ac_cv_c_backslash_a
=no
5516 rm -f conftest.
$ac_objext conftest.
$ac_ext
5518 echo "$as_me:5518: result: $ac_cv_c_backslash_a" >&5
5519 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
5520 if test $ac_cv_c_backslash_a = yes; then
5522 cat >>confdefs.h
<<\_ACEOF
5523 #define HAVE_C_BACKSLASH_A 1
5528 for ac_header
in stdlib.h
5530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5532 echo "$as_me:5532: checking for $ac_header" >&5
5533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 echo "$as_me:5537: result: `eval echo '${'$as_ac_Header'}'`" >&5
5538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5540 # Is the header compilable?
5541 echo "$as_me:5541: checking $ac_header usability" >&5
5542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5543 cat >conftest.
$ac_ext <<_ACEOF
5544 #line 5544 "configure"
5545 #include "confdefs.h"
5546 $ac_includes_default
5547 #include <$ac_header>
5549 rm -f conftest.
$ac_objext
5550 if { (eval echo "$as_me:5550: \"$ac_compile\"") >&5
5551 (eval $ac_compile) 2>&5
5553 echo "$as_me:5553: \$? = $ac_status" >&5
5554 (exit $ac_status); } &&
5555 { ac_try
='test -s conftest.$ac_objext'
5556 { (eval echo "$as_me:5556: \"$ac_try\"") >&5
5559 echo "$as_me:5559: \$? = $ac_status" >&5
5560 (exit $ac_status); }; }; then
5561 ac_header_compiler
=yes
5563 echo "$as_me: failed program was:" >&5
5564 cat conftest.
$ac_ext >&5
5565 ac_header_compiler
=no
5567 rm -f conftest.
$ac_objext conftest.
$ac_ext
5568 echo "$as_me:5568: result: $ac_header_compiler" >&5
5569 echo "${ECHO_T}$ac_header_compiler" >&6
5571 # Is the header present?
5572 echo "$as_me:5572: checking $ac_header presence" >&5
5573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5574 cat >conftest.
$ac_ext <<_ACEOF
5575 #line 5575 "configure"
5576 #include "confdefs.h"
5577 #include <$ac_header>
5579 if { (eval echo "$as_me:5579: \"$ac_cpp conftest.$ac_ext\"") >&5
5580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5582 egrep -v '^ *\+' conftest.er1
>conftest.err
5584 cat conftest.err
>&5
5585 echo "$as_me:5585: \$? = $ac_status" >&5
5586 (exit $ac_status); } >/dev
/null
; then
5587 if test -s conftest.err
; then
5588 ac_cpp_err
=$ac_c_preproc_warn_flag
5595 if test -z "$ac_cpp_err"; then
5596 ac_header_preproc
=yes
5598 echo "$as_me: failed program was:" >&5
5599 cat conftest.
$ac_ext >&5
5600 ac_header_preproc
=no
5602 rm -f conftest.err conftest.
$ac_ext
5603 echo "$as_me:5603: result: $ac_header_preproc" >&5
5604 echo "${ECHO_T}$ac_header_preproc" >&6
5606 # So? What about this header?
5607 case $ac_header_compiler:$ac_header_preproc in
5609 { echo "$as_me:5609: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5611 { echo "$as_me:5611: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5614 { echo "$as_me:5614: WARNING: $ac_header: present but cannot be compiled." >&5
5615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5616 { echo "$as_me:5616: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5618 { echo "$as_me:5618: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5621 echo "$as_me:5621: checking for $ac_header" >&5
5622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 eval "$as_ac_Header=$ac_header_preproc"
5628 echo "$as_me:5628: result: `eval echo '${'$as_ac_Header'}'`" >&5
5629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5633 cat >>confdefs.h
<<_ACEOF
5634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5641 echo "$as_me:5641: checking for mbstate_t" >&5
5642 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
5643 if test "${ac_cv_type_mbstate_t+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 cat >conftest.
$ac_ext <<_ACEOF
5647 #line 5647 "configure"
5648 #include "confdefs.h"
5651 # include <stdlib.h>
5654 #ifdef F77_DUMMY_MAIN
5658 int F77_DUMMY_MAIN() { return 1; }
5663 mbstate_t x; return sizeof x;
5668 rm -f conftest.
$ac_objext
5669 if { (eval echo "$as_me:5669: \"$ac_compile\"") >&5
5670 (eval $ac_compile) 2>&5
5672 echo "$as_me:5672: \$? = $ac_status" >&5
5673 (exit $ac_status); } &&
5674 { ac_try
='test -s conftest.$ac_objext'
5675 { (eval echo "$as_me:5675: \"$ac_try\"") >&5
5678 echo "$as_me:5678: \$? = $ac_status" >&5
5679 (exit $ac_status); }; }; then
5680 ac_cv_type_mbstate_t
=yes
5682 echo "$as_me: failed program was:" >&5
5683 cat conftest.
$ac_ext >&5
5684 ac_cv_type_mbstate_t
=no
5686 rm -f conftest.
$ac_objext conftest.
$ac_ext
5688 echo "$as_me:5688: result: $ac_cv_type_mbstate_t" >&5
5689 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
5690 if test $ac_cv_type_mbstate_t = no
; then
5692 cat >>confdefs.h
<<\_ACEOF
5693 #define mbstate_t int
5698 echo "$as_me:5698: checking for function prototypes" >&5
5699 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5700 if test "$am_cv_prog_cc_stdc" != no
; then
5701 echo "$as_me:5701: result: yes" >&5
5702 echo "${ECHO_T}yes" >&6
5704 cat >>confdefs.h
<<\_ACEOF
5705 #define PROTOTYPES 1
5710 echo "$as_me:5710: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5712 U
=_ ANSI2KNR
=.
/ansi2knr
5714 # Ensure some checks needed by ansi2knr itself.
5715 echo "$as_me:5715: checking for ANSI C header files" >&5
5716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5717 if test "${ac_cv_header_stdc+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 cat >conftest.
$ac_ext <<_ACEOF
5721 #line 5721 "configure"
5722 #include "confdefs.h"
5729 if { (eval echo "$as_me:5729: \"$ac_cpp conftest.$ac_ext\"") >&5
5730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5732 egrep -v '^ *\+' conftest.er1
>conftest.err
5734 cat conftest.err
>&5
5735 echo "$as_me:5735: \$? = $ac_status" >&5
5736 (exit $ac_status); } >/dev
/null
; then
5737 if test -s conftest.err
; then
5738 ac_cpp_err
=$ac_c_preproc_warn_flag
5745 if test -z "$ac_cpp_err"; then
5746 ac_cv_header_stdc
=yes
5748 echo "$as_me: failed program was:" >&5
5749 cat conftest.
$ac_ext >&5
5750 ac_cv_header_stdc
=no
5752 rm -f conftest.err conftest.
$ac_ext
5754 if test $ac_cv_header_stdc = yes; then
5755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5756 cat >conftest.
$ac_ext <<_ACEOF
5757 #line 5757 "configure"
5758 #include "confdefs.h"
5762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5763 egrep "memchr" >/dev
/null
2>&1; then
5766 ac_cv_header_stdc
=no
5772 if test $ac_cv_header_stdc = yes; then
5773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5774 cat >conftest.
$ac_ext <<_ACEOF
5775 #line 5775 "configure"
5776 #include "confdefs.h"
5780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5781 egrep "free" >/dev
/null
2>&1; then
5784 ac_cv_header_stdc
=no
5790 if test $ac_cv_header_stdc = yes; then
5791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5792 if test "$cross_compiling" = yes; then
5795 cat >conftest.
$ac_ext <<_ACEOF
5796 #line 5796 "configure"
5797 #include "confdefs.h"
5799 #if ((' ' & 0x0FF) == 0x020)
5800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5803 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5804 || ('j' <= (c) && (c) <= 'r') \
5805 || ('s' <= (c) && (c) <= 'z'))
5806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5814 for (i = 0; i < 256; i++)
5815 if (XOR (islower (i), ISLOWER (i))
5816 || toupper (i) != TOUPPER (i))
5821 rm -f conftest
$ac_exeext
5822 if { (eval echo "$as_me:5822: \"$ac_link\"") >&5
5823 (eval $ac_link) 2>&5
5825 echo "$as_me:5825: \$? = $ac_status" >&5
5826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5827 { (eval echo "$as_me:5827: \"$ac_try\"") >&5
5830 echo "$as_me:5830: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5834 echo "$as_me: program exited with status $ac_status" >&5
5835 echo "$as_me: failed program was:" >&5
5836 cat conftest.
$ac_ext >&5
5837 ac_cv_header_stdc
=no
5839 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5843 echo "$as_me:5843: result: $ac_cv_header_stdc" >&5
5844 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5845 if test $ac_cv_header_stdc = yes; then
5847 cat >>confdefs.h
<<\_ACEOF
5848 #define STDC_HEADERS 1
5853 for ac_header
in string.h
5855 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5857 echo "$as_me:5857: checking for $ac_header" >&5
5858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 echo "$as_me:5862: result: `eval echo '${'$as_ac_Header'}'`" >&5
5863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5865 # Is the header compilable?
5866 echo "$as_me:5866: checking $ac_header usability" >&5
5867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5868 cat >conftest.
$ac_ext <<_ACEOF
5869 #line 5869 "configure"
5870 #include "confdefs.h"
5871 $ac_includes_default
5872 #include <$ac_header>
5874 rm -f conftest.
$ac_objext
5875 if { (eval echo "$as_me:5875: \"$ac_compile\"") >&5
5876 (eval $ac_compile) 2>&5
5878 echo "$as_me:5878: \$? = $ac_status" >&5
5879 (exit $ac_status); } &&
5880 { ac_try
='test -s conftest.$ac_objext'
5881 { (eval echo "$as_me:5881: \"$ac_try\"") >&5
5884 echo "$as_me:5884: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_header_compiler
=yes
5888 echo "$as_me: failed program was:" >&5
5889 cat conftest.
$ac_ext >&5
5890 ac_header_compiler
=no
5892 rm -f conftest.
$ac_objext conftest.
$ac_ext
5893 echo "$as_me:5893: result: $ac_header_compiler" >&5
5894 echo "${ECHO_T}$ac_header_compiler" >&6
5896 # Is the header present?
5897 echo "$as_me:5897: checking $ac_header presence" >&5
5898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5899 cat >conftest.
$ac_ext <<_ACEOF
5900 #line 5900 "configure"
5901 #include "confdefs.h"
5902 #include <$ac_header>
5904 if { (eval echo "$as_me:5904: \"$ac_cpp conftest.$ac_ext\"") >&5
5905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5907 egrep -v '^ *\+' conftest.er1
>conftest.err
5909 cat conftest.err
>&5
5910 echo "$as_me:5910: \$? = $ac_status" >&5
5911 (exit $ac_status); } >/dev
/null
; then
5912 if test -s conftest.err
; then
5913 ac_cpp_err
=$ac_c_preproc_warn_flag
5920 if test -z "$ac_cpp_err"; then
5921 ac_header_preproc
=yes
5923 echo "$as_me: failed program was:" >&5
5924 cat conftest.
$ac_ext >&5
5925 ac_header_preproc
=no
5927 rm -f conftest.err conftest.
$ac_ext
5928 echo "$as_me:5928: result: $ac_header_preproc" >&5
5929 echo "${ECHO_T}$ac_header_preproc" >&6
5931 # So? What about this header?
5932 case $ac_header_compiler:$ac_header_preproc in
5934 { echo "$as_me:5934: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5936 { echo "$as_me:5936: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5939 { echo "$as_me:5939: WARNING: $ac_header: present but cannot be compiled." >&5
5940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5941 { echo "$as_me:5941: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5943 { echo "$as_me:5943: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5946 echo "$as_me:5946: checking for $ac_header" >&5
5947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 eval "$as_ac_Header=$ac_header_preproc"
5953 echo "$as_me:5953: result: `eval echo '${'$as_ac_Header'}'`" >&5
5954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5958 cat >>confdefs.h
<<_ACEOF
5959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5966 for ac_func
in strerror strerror_r vprintf doprnt
5968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5969 echo "$as_me:5969: checking for $ac_func" >&5
5970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5971 if eval "test \"\${$as_ac_var+set}\" = set"; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 cat >conftest.
$ac_ext <<_ACEOF
5975 #line 5975 "configure"
5976 #include "confdefs.h"
5977 /* System header to define __stub macros and hopefully few prototypes,
5978 which can conflict with char $ac_func (); below. */
5980 /* Override any gcc2 internal prototype to avoid an error. */
5984 /* We use char because int might match the return type of a gcc2
5985 builtin and then its argument prototype would still apply. */
5989 #ifdef F77_DUMMY_MAIN
5993 int F77_DUMMY_MAIN() { return 1; }
5998 /* The GNU C library defines this for functions which it implements
5999 to always fail with ENOSYS. Some functions are actually named
6000 something starting with __ and the normal name is an alias. */
6001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6011 rm -f conftest.
$ac_objext conftest
$ac_exeext
6012 if { (eval echo "$as_me:6012: \"$ac_link\"") >&5
6013 (eval $ac_link) 2>&5
6015 echo "$as_me:6015: \$? = $ac_status" >&5
6016 (exit $ac_status); } &&
6017 { ac_try
='test -s conftest$ac_exeext'
6018 { (eval echo "$as_me:6018: \"$ac_try\"") >&5
6021 echo "$as_me:6021: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 eval "$as_ac_var=yes"
6025 echo "$as_me: failed program was:" >&5
6026 cat conftest.
$ac_ext >&5
6027 eval "$as_ac_var=no"
6029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6031 echo "$as_me:6031: result: `eval echo '${'$as_ac_var'}'`" >&5
6032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6033 if test `eval echo '${'$as_ac_var'}'` = yes; then
6034 cat >>confdefs.h
<<_ACEOF
6035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6041 echo "$as_me:6041: checking for ANSI C header files" >&5
6042 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6043 if test "${ac_cv_header_stdc+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 cat >conftest.
$ac_ext <<_ACEOF
6047 #line 6047 "configure"
6048 #include "confdefs.h"
6055 if { (eval echo "$as_me:6055: \"$ac_cpp conftest.$ac_ext\"") >&5
6056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6058 egrep -v '^ *\+' conftest.er1
>conftest.err
6060 cat conftest.err
>&5
6061 echo "$as_me:6061: \$? = $ac_status" >&5
6062 (exit $ac_status); } >/dev
/null
; then
6063 if test -s conftest.err
; then
6064 ac_cpp_err
=$ac_c_preproc_warn_flag
6071 if test -z "$ac_cpp_err"; then
6072 ac_cv_header_stdc
=yes
6074 echo "$as_me: failed program was:" >&5
6075 cat conftest.
$ac_ext >&5
6076 ac_cv_header_stdc
=no
6078 rm -f conftest.err conftest.
$ac_ext
6080 if test $ac_cv_header_stdc = yes; then
6081 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6082 cat >conftest.
$ac_ext <<_ACEOF
6083 #line 6083 "configure"
6084 #include "confdefs.h"
6088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6089 egrep "memchr" >/dev
/null
2>&1; then
6092 ac_cv_header_stdc
=no
6098 if test $ac_cv_header_stdc = yes; then
6099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6100 cat >conftest.
$ac_ext <<_ACEOF
6101 #line 6101 "configure"
6102 #include "confdefs.h"
6106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6107 egrep "free" >/dev
/null
2>&1; then
6110 ac_cv_header_stdc
=no
6116 if test $ac_cv_header_stdc = yes; then
6117 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6118 if test "$cross_compiling" = yes; then
6121 cat >conftest.
$ac_ext <<_ACEOF
6122 #line 6122 "configure"
6123 #include "confdefs.h"
6125 #if ((' ' & 0x0FF) == 0x020)
6126 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6127 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6129 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6130 || ('j' <= (c) && (c) <= 'r') \
6131 || ('s' <= (c) && (c) <= 'z'))
6132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6140 for (i = 0; i < 256; i++)
6141 if (XOR (islower (i), ISLOWER (i))
6142 || toupper (i) != TOUPPER (i))
6147 rm -f conftest
$ac_exeext
6148 if { (eval echo "$as_me:6148: \"$ac_link\"") >&5
6149 (eval $ac_link) 2>&5
6151 echo "$as_me:6151: \$? = $ac_status" >&5
6152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6153 { (eval echo "$as_me:6153: \"$ac_try\"") >&5
6156 echo "$as_me:6156: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6160 echo "$as_me: program exited with status $ac_status" >&5
6161 echo "$as_me: failed program was:" >&5
6162 cat conftest.
$ac_ext >&5
6163 ac_cv_header_stdc
=no
6165 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6169 echo "$as_me:6169: result: $ac_cv_header_stdc" >&5
6170 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6171 if test $ac_cv_header_stdc = yes; then
6173 cat >>confdefs.h
<<\_ACEOF
6174 #define STDC_HEADERS 1
6179 echo "$as_me:6179: checking whether strerror_r is declared" >&5
6180 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6181 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 cat >conftest.
$ac_ext <<_ACEOF
6185 #line 6185 "configure"
6186 #include "confdefs.h"
6187 $ac_includes_default
6188 #ifdef F77_DUMMY_MAIN
6192 int F77_DUMMY_MAIN() { return 1; }
6198 char *p = (char *) strerror_r;
6205 rm -f conftest.
$ac_objext
6206 if { (eval echo "$as_me:6206: \"$ac_compile\"") >&5
6207 (eval $ac_compile) 2>&5
6209 echo "$as_me:6209: \$? = $ac_status" >&5
6210 (exit $ac_status); } &&
6211 { ac_try
='test -s conftest.$ac_objext'
6212 { (eval echo "$as_me:6212: \"$ac_try\"") >&5
6215 echo "$as_me:6215: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 ac_cv_have_decl_strerror_r
=yes
6219 echo "$as_me: failed program was:" >&5
6220 cat conftest.
$ac_ext >&5
6221 ac_cv_have_decl_strerror_r
=no
6223 rm -f conftest.
$ac_objext conftest.
$ac_ext
6225 echo "$as_me:6225: result: $ac_cv_have_decl_strerror_r" >&5
6226 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6227 if test $ac_cv_have_decl_strerror_r = yes; then
6229 cat >>confdefs.h
<<_ACEOF
6230 #define HAVE_DECL_STRERROR_R 1
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_DECL_STRERROR_R 0
6240 for ac_func
in strerror_r
6242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6243 echo "$as_me:6243: checking for $ac_func" >&5
6244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6245 if eval "test \"\${$as_ac_var+set}\" = set"; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 cat >conftest.
$ac_ext <<_ACEOF
6249 #line 6249 "configure"
6250 #include "confdefs.h"
6251 /* System header to define __stub macros and hopefully few prototypes,
6252 which can conflict with char $ac_func (); below. */
6254 /* Override any gcc2 internal prototype to avoid an error. */
6258 /* We use char because int might match the return type of a gcc2
6259 builtin and then its argument prototype would still apply. */
6263 #ifdef F77_DUMMY_MAIN
6267 int F77_DUMMY_MAIN() { return 1; }
6272 /* The GNU C library defines this for functions which it implements
6273 to always fail with ENOSYS. Some functions are actually named
6274 something starting with __ and the normal name is an alias. */
6275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6285 rm -f conftest.
$ac_objext conftest
$ac_exeext
6286 if { (eval echo "$as_me:6286: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>&5
6289 echo "$as_me:6289: \$? = $ac_status" >&5
6290 (exit $ac_status); } &&
6291 { ac_try
='test -s conftest$ac_exeext'
6292 { (eval echo "$as_me:6292: \"$ac_try\"") >&5
6295 echo "$as_me:6295: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 eval "$as_ac_var=yes"
6299 echo "$as_me: failed program was:" >&5
6300 cat conftest.
$ac_ext >&5
6301 eval "$as_ac_var=no"
6303 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6305 echo "$as_me:6305: result: `eval echo '${'$as_ac_var'}'`" >&5
6306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6307 if test `eval echo '${'$as_ac_var'}'` = yes; then
6308 cat >>confdefs.h
<<_ACEOF
6309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6315 if test $ac_cv_func_strerror_r = yes; then
6317 for ac_header
in string.h
6319 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6321 echo "$as_me:6321: checking for $ac_header" >&5
6322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 echo "$as_me:6326: result: `eval echo '${'$as_ac_Header'}'`" >&5
6327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6329 # Is the header compilable?
6330 echo "$as_me:6330: checking $ac_header usability" >&5
6331 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6332 cat >conftest.
$ac_ext <<_ACEOF
6333 #line 6333 "configure"
6334 #include "confdefs.h"
6335 $ac_includes_default
6336 #include <$ac_header>
6338 rm -f conftest.
$ac_objext
6339 if { (eval echo "$as_me:6339: \"$ac_compile\"") >&5
6340 (eval $ac_compile) 2>&5
6342 echo "$as_me:6342: \$? = $ac_status" >&5
6343 (exit $ac_status); } &&
6344 { ac_try
='test -s conftest.$ac_objext'
6345 { (eval echo "$as_me:6345: \"$ac_try\"") >&5
6348 echo "$as_me:6348: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then
6350 ac_header_compiler
=yes
6352 echo "$as_me: failed program was:" >&5
6353 cat conftest.
$ac_ext >&5
6354 ac_header_compiler
=no
6356 rm -f conftest.
$ac_objext conftest.
$ac_ext
6357 echo "$as_me:6357: result: $ac_header_compiler" >&5
6358 echo "${ECHO_T}$ac_header_compiler" >&6
6360 # Is the header present?
6361 echo "$as_me:6361: checking $ac_header presence" >&5
6362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6363 cat >conftest.
$ac_ext <<_ACEOF
6364 #line 6364 "configure"
6365 #include "confdefs.h"
6366 #include <$ac_header>
6368 if { (eval echo "$as_me:6368: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6371 egrep -v '^ *\+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:6374: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev
/null
; then
6376 if test -s conftest.err
; then
6377 ac_cpp_err
=$ac_c_preproc_warn_flag
6384 if test -z "$ac_cpp_err"; then
6385 ac_header_preproc
=yes
6387 echo "$as_me: failed program was:" >&5
6388 cat conftest.
$ac_ext >&5
6389 ac_header_preproc
=no
6391 rm -f conftest.err conftest.
$ac_ext
6392 echo "$as_me:6392: result: $ac_header_preproc" >&5
6393 echo "${ECHO_T}$ac_header_preproc" >&6
6395 # So? What about this header?
6396 case $ac_header_compiler:$ac_header_preproc in
6398 { echo "$as_me:6398: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6400 { echo "$as_me:6400: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6403 { echo "$as_me:6403: WARNING: $ac_header: present but cannot be compiled." >&5
6404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6405 { echo "$as_me:6405: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6407 { echo "$as_me:6407: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6410 echo "$as_me:6410: checking for $ac_header" >&5
6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 eval "$as_ac_Header=$ac_header_preproc"
6417 echo "$as_me:6417: result: `eval echo '${'$as_ac_Header'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6422 cat >>confdefs.h
<<_ACEOF
6423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6430 echo "$as_me:6430: checking for working strerror_r" >&5
6431 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
6432 if test "${ac_cv_func_strerror_r_works+set}" = set; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 cat >conftest.
$ac_ext <<_ACEOF
6437 #line 6437 "configure"
6438 #include "confdefs.h"
6442 # include <string.h>
6445 #ifdef F77_DUMMY_MAIN
6449 int F77_DUMMY_MAIN() { return 1; }
6456 char x = *strerror_r (0, buf, sizeof buf);
6462 rm -f conftest.
$ac_objext
6463 if { (eval echo "$as_me:6463: \"$ac_compile\"") >&5
6464 (eval $ac_compile) 2>&5
6466 echo "$as_me:6466: \$? = $ac_status" >&5
6467 (exit $ac_status); } &&
6468 { ac_try
='test -s conftest.$ac_objext'
6469 { (eval echo "$as_me:6469: \"$ac_try\"") >&5
6472 echo "$as_me:6472: \$? = $ac_status" >&5
6473 (exit $ac_status); }; }; then
6474 ac_cv_func_strerror_r_works
=yes
6476 echo "$as_me: failed program was:" >&5
6477 cat conftest.
$ac_ext >&5
6478 ac_cv_func_strerror_r_works
=no
6481 rm -f conftest.
$ac_objext conftest.
$ac_ext
6482 if test $ac_cv_func_strerror_r_works = no
; then
6483 # strerror_r seems not to work, but now we have to choose between
6484 # systems that have relatively inaccessible declarations for the
6485 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
6486 # former has a strerror_r that returns char*, while the latter
6487 # has a strerror_r that returns `int'.
6488 # This test should segfault on the DEC system.
6489 if test "$cross_compiling" = yes; then
6490 ac_cv_func_strerror_r_works
=no
6492 cat >conftest.
$ac_ext <<_ACEOF
6493 #line 6493 "configure"
6494 #include "confdefs.h"
6497 # include <string.h>
6500 extern char *strerror_r ();
6506 char x = *strerror_r (0, buf, sizeof buf);
6507 exit (!isalpha (x));
6511 rm -f conftest
$ac_exeext
6512 if { (eval echo "$as_me:6512: \"$ac_link\"") >&5
6513 (eval $ac_link) 2>&5
6515 echo "$as_me:6515: \$? = $ac_status" >&5
6516 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6517 { (eval echo "$as_me:6517: \"$ac_try\"") >&5
6520 echo "$as_me:6520: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 ac_cv_func_strerror_r_works
=yes
6524 echo "$as_me: program exited with status $ac_status" >&5
6525 echo "$as_me: failed program was:" >&5
6526 cat conftest.
$ac_ext >&5
6527 ac_cv_func_strerror_r_works
=no
6529 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6534 echo "$as_me:6534: result: $ac_cv_func_strerror_r_works" >&5
6535 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
6536 if test $ac_cv_func_strerror_r_works = yes; then
6538 cat >>confdefs.h
<<_ACEOF
6539 #define HAVE_WORKING_STRERROR_R 1
6545 ALL_LINGUAS
="de es et fr ja nl ru"
6546 # Make sure we can run config.sub.
6547 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6548 { { echo "$as_me:6548: error: cannot run $ac_config_sub" >&5
6549 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6550 { (exit 1); exit 1; }; }
6552 echo "$as_me:6552: checking build system type" >&5
6553 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6554 if test "${ac_cv_build+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 ac_cv_build_alias
=$build_alias
6558 test -z "$ac_cv_build_alias" &&
6559 ac_cv_build_alias
=`$ac_config_guess`
6560 test -z "$ac_cv_build_alias" &&
6561 { { echo "$as_me:6561: error: cannot guess build type; you must specify one" >&5
6562 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6563 { (exit 1); exit 1; }; }
6564 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6565 { { echo "$as_me:6565: error: $ac_config_sub $ac_cv_build_alias failed." >&5
6566 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
6567 { (exit 1); exit 1; }; }
6570 echo "$as_me:6570: result: $ac_cv_build" >&5
6571 echo "${ECHO_T}$ac_cv_build" >&6
6573 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6574 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6575 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6577 echo "$as_me:6577: checking host system type" >&5
6578 echo $ECHO_N "checking host system type... $ECHO_C" >&6
6579 if test "${ac_cv_host+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 ac_cv_host_alias
=$host_alias
6583 test -z "$ac_cv_host_alias" &&
6584 ac_cv_host_alias
=$ac_cv_build_alias
6585 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
6586 { { echo "$as_me:6586: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6587 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6588 { (exit 1); exit 1; }; }
6591 echo "$as_me:6591: result: $ac_cv_host" >&5
6592 echo "${ECHO_T}$ac_cv_host" >&6
6594 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6595 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6596 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6598 echo "$as_me:6598: checking for off_t" >&5
6599 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6600 if test "${ac_cv_type_off_t+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 cat >conftest.
$ac_ext <<_ACEOF
6604 #line 6604 "configure"
6605 #include "confdefs.h"
6606 $ac_includes_default
6607 #ifdef F77_DUMMY_MAIN
6611 int F77_DUMMY_MAIN() { return 1; }
6624 rm -f conftest.
$ac_objext
6625 if { (eval echo "$as_me:6625: \"$ac_compile\"") >&5
6626 (eval $ac_compile) 2>&5
6628 echo "$as_me:6628: \$? = $ac_status" >&5
6629 (exit $ac_status); } &&
6630 { ac_try
='test -s conftest.$ac_objext'
6631 { (eval echo "$as_me:6631: \"$ac_try\"") >&5
6634 echo "$as_me:6634: \$? = $ac_status" >&5
6635 (exit $ac_status); }; }; then
6636 ac_cv_type_off_t
=yes
6638 echo "$as_me: failed program was:" >&5
6639 cat conftest.
$ac_ext >&5
6642 rm -f conftest.
$ac_objext conftest.
$ac_ext
6644 echo "$as_me:6644: result: $ac_cv_type_off_t" >&5
6645 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6646 if test $ac_cv_type_off_t = yes; then
6650 cat >>confdefs.h
<<_ACEOF
6656 echo "$as_me:6656: checking for size_t" >&5
6657 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6658 if test "${ac_cv_type_size_t+set}" = set; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 cat >conftest.
$ac_ext <<_ACEOF
6662 #line 6662 "configure"
6663 #include "confdefs.h"
6664 $ac_includes_default
6665 #ifdef F77_DUMMY_MAIN
6669 int F77_DUMMY_MAIN() { return 1; }
6676 if (sizeof (size_t))
6682 rm -f conftest.
$ac_objext
6683 if { (eval echo "$as_me:6683: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>&5
6686 echo "$as_me:6686: \$? = $ac_status" >&5
6687 (exit $ac_status); } &&
6688 { ac_try
='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:6689: \"$ac_try\"") >&5
6692 echo "$as_me:6692: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 ac_cv_type_size_t
=yes
6696 echo "$as_me: failed program was:" >&5
6697 cat conftest.
$ac_ext >&5
6698 ac_cv_type_size_t
=no
6700 rm -f conftest.
$ac_objext conftest.
$ac_ext
6702 echo "$as_me:6702: result: $ac_cv_type_size_t" >&5
6703 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6704 if test $ac_cv_type_size_t = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define size_t unsigned
6714 for ac_header
in stdlib.h unistd.h
6716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6718 echo "$as_me:6718: checking for $ac_header" >&5
6719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 echo "$as_me:6723: result: `eval echo '${'$as_ac_Header'}'`" >&5
6724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6726 # Is the header compilable?
6727 echo "$as_me:6727: checking $ac_header usability" >&5
6728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6729 cat >conftest.
$ac_ext <<_ACEOF
6730 #line 6730 "configure"
6731 #include "confdefs.h"
6732 $ac_includes_default
6733 #include <$ac_header>
6735 rm -f conftest.
$ac_objext
6736 if { (eval echo "$as_me:6736: \"$ac_compile\"") >&5
6737 (eval $ac_compile) 2>&5
6739 echo "$as_me:6739: \$? = $ac_status" >&5
6740 (exit $ac_status); } &&
6741 { ac_try
='test -s conftest.$ac_objext'
6742 { (eval echo "$as_me:6742: \"$ac_try\"") >&5
6745 echo "$as_me:6745: \$? = $ac_status" >&5
6746 (exit $ac_status); }; }; then
6747 ac_header_compiler
=yes
6749 echo "$as_me: failed program was:" >&5
6750 cat conftest.
$ac_ext >&5
6751 ac_header_compiler
=no
6753 rm -f conftest.
$ac_objext conftest.
$ac_ext
6754 echo "$as_me:6754: result: $ac_header_compiler" >&5
6755 echo "${ECHO_T}$ac_header_compiler" >&6
6757 # Is the header present?
6758 echo "$as_me:6758: checking $ac_header presence" >&5
6759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6760 cat >conftest.
$ac_ext <<_ACEOF
6761 #line 6761 "configure"
6762 #include "confdefs.h"
6763 #include <$ac_header>
6765 if { (eval echo "$as_me:6765: \"$ac_cpp conftest.$ac_ext\"") >&5
6766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6768 egrep -v '^ *\+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:6771: \$? = $ac_status" >&5
6772 (exit $ac_status); } >/dev
/null
; then
6773 if test -s conftest.err
; then
6774 ac_cpp_err
=$ac_c_preproc_warn_flag
6781 if test -z "$ac_cpp_err"; then
6782 ac_header_preproc
=yes
6784 echo "$as_me: failed program was:" >&5
6785 cat conftest.
$ac_ext >&5
6786 ac_header_preproc
=no
6788 rm -f conftest.err conftest.
$ac_ext
6789 echo "$as_me:6789: result: $ac_header_preproc" >&5
6790 echo "${ECHO_T}$ac_header_preproc" >&6
6792 # So? What about this header?
6793 case $ac_header_compiler:$ac_header_preproc in
6795 { echo "$as_me:6795: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6797 { echo "$as_me:6797: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6800 { echo "$as_me:6800: WARNING: $ac_header: present but cannot be compiled." >&5
6801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6802 { echo "$as_me:6802: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6804 { echo "$as_me:6804: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6807 echo "$as_me:6807: checking for $ac_header" >&5
6808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 eval "$as_ac_Header=$ac_header_preproc"
6814 echo "$as_me:6814: result: `eval echo '${'$as_ac_Header'}'`" >&5
6815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6819 cat >>confdefs.h
<<_ACEOF
6820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 for ac_func
in getpagesize
6829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6830 echo "$as_me:6830: checking for $ac_func" >&5
6831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6832 if eval "test \"\${$as_ac_var+set}\" = set"; then
6833 echo $ECHO_N "(cached) $ECHO_C" >&6
6835 cat >conftest.
$ac_ext <<_ACEOF
6836 #line 6836 "configure"
6837 #include "confdefs.h"
6838 /* System header to define __stub macros and hopefully few prototypes,
6839 which can conflict with char $ac_func (); below. */
6841 /* Override any gcc2 internal prototype to avoid an error. */
6845 /* We use char because int might match the return type of a gcc2
6846 builtin and then its argument prototype would still apply. */
6850 #ifdef F77_DUMMY_MAIN
6854 int F77_DUMMY_MAIN() { return 1; }
6859 /* The GNU C library defines this for functions which it implements
6860 to always fail with ENOSYS. Some functions are actually named
6861 something starting with __ and the normal name is an alias. */
6862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6872 rm -f conftest.
$ac_objext conftest
$ac_exeext
6873 if { (eval echo "$as_me:6873: \"$ac_link\"") >&5
6874 (eval $ac_link) 2>&5
6876 echo "$as_me:6876: \$? = $ac_status" >&5
6877 (exit $ac_status); } &&
6878 { ac_try
='test -s conftest$ac_exeext'
6879 { (eval echo "$as_me:6879: \"$ac_try\"") >&5
6882 echo "$as_me:6882: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6884 eval "$as_ac_var=yes"
6886 echo "$as_me: failed program was:" >&5
6887 cat conftest.
$ac_ext >&5
6888 eval "$as_ac_var=no"
6890 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6892 echo "$as_me:6892: result: `eval echo '${'$as_ac_var'}'`" >&5
6893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6894 if test `eval echo '${'$as_ac_var'}'` = yes; then
6895 cat >>confdefs.h
<<_ACEOF
6896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6902 echo "$as_me:6902: checking for working mmap" >&5
6903 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6904 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6907 if test "$cross_compiling" = yes; then
6908 ac_cv_func_mmap_fixed_mapped
=no
6910 cat >conftest.
$ac_ext <<_ACEOF
6911 #line 6911 "configure"
6912 #include "confdefs.h"
6913 $ac_includes_default
6914 /* Thanks to Mike Haertel and Jim Avera for this test.
6915 Here is a matrix of mmap possibilities:
6916 mmap private not fixed
6917 mmap private fixed at somewhere currently unmapped
6918 mmap private fixed at somewhere already mapped
6919 mmap shared not fixed
6920 mmap shared fixed at somewhere currently unmapped
6921 mmap shared fixed at somewhere already mapped
6922 For private mappings, we should verify that changes cannot be read()
6923 back from the file, nor mmap's back from the file at a different
6924 address. (There have been systems where private was not correctly
6925 implemented like the infamous i386 svr4.0, and systems where the
6926 VM page cache was not coherent with the file system buffer cache
6927 like early versions of FreeBSD and possibly contemporary NetBSD.)
6928 For shared mappings, we should conversely verify that changes get
6929 propogated back to all the places they're supposed to be.
6931 Grep wants private fixed already mapped.
6932 The main things grep needs to know about mmap are:
6933 * does it exist and is it safe to write into the mmap'd area
6934 * how to use it (BSD variants) */
6937 #include <sys/mman.h>
6939 #if !STDC_HEADERS && !HAVE_STDLIB_H
6943 /* This mess was copied from the GNU getpagesize.h. */
6944 #if !HAVE_GETPAGESIZE
6945 /* Assume that all systems that can run configure have sys/param.h. */
6946 # if !HAVE_SYS_PARAM_H
6947 # define HAVE_SYS_PARAM_H 1
6950 # ifdef _SC_PAGESIZE
6951 # define getpagesize() sysconf(_SC_PAGESIZE)
6952 # else /* no _SC_PAGESIZE */
6953 # if HAVE_SYS_PARAM_H
6954 # include <sys/param.h>
6955 # ifdef EXEC_PAGESIZE
6956 # define getpagesize() EXEC_PAGESIZE
6957 # else /* no EXEC_PAGESIZE */
6959 # define getpagesize() NBPG * CLSIZE
6962 # endif /* no CLSIZE */
6963 # else /* no NBPG */
6965 # define getpagesize() NBPC
6966 # else /* no NBPC */
6968 # define getpagesize() PAGESIZE
6969 # endif /* PAGESIZE */
6970 # endif /* no NBPC */
6971 # endif /* no NBPG */
6972 # endif /* no EXEC_PAGESIZE */
6973 # else /* no HAVE_SYS_PARAM_H */
6974 # define getpagesize() 8192 /* punt totally */
6975 # endif /* no HAVE_SYS_PARAM_H */
6976 # endif /* no _SC_PAGESIZE */
6978 #endif /* no HAVE_GETPAGESIZE */
6983 char *data, *data2, *data3;
6987 pagesize = getpagesize ();
6989 /* First, make a file with some known garbage in it. */
6990 data = (char *) malloc (pagesize);
6993 for (i = 0; i < pagesize; ++i)
6994 *(data + i) = rand ();
6996 fd = creat ("conftest.mmap", 0600);
6999 if (write (fd, data, pagesize) != pagesize)
7003 /* Next, try to mmap the file at a fixed address which already has
7004 something else allocated at it. If we can, also make sure that
7005 we see the same garbage. */
7006 fd = open ("conftest.mmap", O_RDWR);
7009 data2 = (char *) malloc (2 * pagesize);
7012 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7013 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7014 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7016 for (i = 0; i < pagesize; ++i)
7017 if (*(data + i) != *(data2 + i))
7020 /* Finally, make sure that changes to the mapped area do not
7021 percolate back to the file as seen by read(). (This is a bug on
7022 some variants of i386 svr4.0.) */
7023 for (i = 0; i < pagesize; ++i)
7024 *(data2 + i) = *(data2 + i) + 1;
7025 data3 = (char *) malloc (pagesize);
7028 if (read (fd, data3, pagesize) != pagesize)
7030 for (i = 0; i < pagesize; ++i)
7031 if (*(data + i) != *(data3 + i))
7037 rm -f conftest
$ac_exeext
7038 if { (eval echo "$as_me:7038: \"$ac_link\"") >&5
7039 (eval $ac_link) 2>&5
7041 echo "$as_me:7041: \$? = $ac_status" >&5
7042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7043 { (eval echo "$as_me:7043: \"$ac_try\"") >&5
7046 echo "$as_me:7046: \$? = $ac_status" >&5
7047 (exit $ac_status); }; }; then
7048 ac_cv_func_mmap_fixed_mapped
=yes
7050 echo "$as_me: program exited with status $ac_status" >&5
7051 echo "$as_me: failed program was:" >&5
7052 cat conftest.
$ac_ext >&5
7053 ac_cv_func_mmap_fixed_mapped
=no
7055 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7058 echo "$as_me:7058: result: $ac_cv_func_mmap_fixed_mapped" >&5
7059 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7060 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7062 cat >>confdefs.h
<<\_ACEOF
7069 echo "$as_me:7069: checking whether we are using the GNU C Library 2.1 or newer" >&5
7070 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7071 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 cat >conftest.
$ac_ext <<_ACEOF
7075 #line 7075 "configure"
7076 #include "confdefs.h"
7078 #include <features.h>
7079 #ifdef __GNU_LIBRARY__
7080 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7087 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7088 ac_cv_gnu_library_2_1
=yes
7090 ac_cv_gnu_library_2_1
=no
7095 echo "$as_me:7095: result: $ac_cv_gnu_library_2_1" >&5
7096 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7098 GLIBC21
="$ac_cv_gnu_library_2_1"
7100 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7101 stdlib.h string.h unistd.h sys
/param.h
7103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7105 echo "$as_me:7105: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 echo "$as_me:7110: result: `eval echo '${'$as_ac_Header'}'`" >&5
7111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7113 # Is the header compilable?
7114 echo "$as_me:7114: checking $ac_header usability" >&5
7115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7116 cat >conftest.
$ac_ext <<_ACEOF
7117 #line 7117 "configure"
7118 #include "confdefs.h"
7119 $ac_includes_default
7120 #include <$ac_header>
7122 rm -f conftest.
$ac_objext
7123 if { (eval echo "$as_me:7123: \"$ac_compile\"") >&5
7124 (eval $ac_compile) 2>&5
7126 echo "$as_me:7126: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try
='test -s conftest.$ac_objext'
7129 { (eval echo "$as_me:7129: \"$ac_try\"") >&5
7132 echo "$as_me:7132: \$? = $ac_status" >&5
7133 (exit $ac_status); }; }; then
7134 ac_header_compiler
=yes
7136 echo "$as_me: failed program was:" >&5
7137 cat conftest.
$ac_ext >&5
7138 ac_header_compiler
=no
7140 rm -f conftest.
$ac_objext conftest.
$ac_ext
7141 echo "$as_me:7141: result: $ac_header_compiler" >&5
7142 echo "${ECHO_T}$ac_header_compiler" >&6
7144 # Is the header present?
7145 echo "$as_me:7145: checking $ac_header presence" >&5
7146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7147 cat >conftest.
$ac_ext <<_ACEOF
7148 #line 7148 "configure"
7149 #include "confdefs.h"
7150 #include <$ac_header>
7152 if { (eval echo "$as_me:7152: \"$ac_cpp conftest.$ac_ext\"") >&5
7153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7155 egrep -v '^ *\+' conftest.er1
>conftest.err
7157 cat conftest.err
>&5
7158 echo "$as_me:7158: \$? = $ac_status" >&5
7159 (exit $ac_status); } >/dev
/null
; then
7160 if test -s conftest.err
; then
7161 ac_cpp_err
=$ac_c_preproc_warn_flag
7168 if test -z "$ac_cpp_err"; then
7169 ac_header_preproc
=yes
7171 echo "$as_me: failed program was:" >&5
7172 cat conftest.
$ac_ext >&5
7173 ac_header_preproc
=no
7175 rm -f conftest.err conftest.
$ac_ext
7176 echo "$as_me:7176: result: $ac_header_preproc" >&5
7177 echo "${ECHO_T}$ac_header_preproc" >&6
7179 # So? What about this header?
7180 case $ac_header_compiler:$ac_header_preproc in
7182 { echo "$as_me:7182: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7184 { echo "$as_me:7184: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7187 { echo "$as_me:7187: WARNING: $ac_header: present but cannot be compiled." >&5
7188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7189 { echo "$as_me:7189: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7191 { echo "$as_me:7191: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7194 echo "$as_me:7194: checking for $ac_header" >&5
7195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 eval "$as_ac_Header=$ac_header_preproc"
7201 echo "$as_me:7201: result: `eval echo '${'$as_ac_Header'}'`" >&5
7202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h
<<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
7215 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
7216 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
7218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7219 echo "$as_me:7219: checking for $ac_func" >&5
7220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7221 if eval "test \"\${$as_ac_var+set}\" = set"; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 cat >conftest.
$ac_ext <<_ACEOF
7225 #line 7225 "configure"
7226 #include "confdefs.h"
7227 /* System header to define __stub macros and hopefully few prototypes,
7228 which can conflict with char $ac_func (); below. */
7230 /* Override any gcc2 internal prototype to avoid an error. */
7234 /* We use char because int might match the return type of a gcc2
7235 builtin and then its argument prototype would still apply. */
7239 #ifdef F77_DUMMY_MAIN
7243 int F77_DUMMY_MAIN() { return 1; }
7248 /* The GNU C library defines this for functions which it implements
7249 to always fail with ENOSYS. Some functions are actually named
7250 something starting with __ and the normal name is an alias. */
7251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7261 rm -f conftest.
$ac_objext conftest
$ac_exeext
7262 if { (eval echo "$as_me:7262: \"$ac_link\"") >&5
7263 (eval $ac_link) 2>&5
7265 echo "$as_me:7265: \$? = $ac_status" >&5
7266 (exit $ac_status); } &&
7267 { ac_try
='test -s conftest$ac_exeext'
7268 { (eval echo "$as_me:7268: \"$ac_try\"") >&5
7271 echo "$as_me:7271: \$? = $ac_status" >&5
7272 (exit $ac_status); }; }; then
7273 eval "$as_ac_var=yes"
7275 echo "$as_me: failed program was:" >&5
7276 cat conftest.
$ac_ext >&5
7277 eval "$as_ac_var=no"
7279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7281 echo "$as_me:7281: result: `eval echo '${'$as_ac_var'}'`" >&5
7282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7283 if test `eval echo '${'$as_ac_var'}'` = yes; then
7284 cat >>confdefs.h
<<_ACEOF
7285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7291 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7292 if test "${with_libiconv_prefix+set}" = set; then
7293 withval
="$with_libiconv_prefix"
7295 for dir
in `echo "$withval" | tr : ' '`; do
7296 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
7297 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
7302 echo "$as_me:7302: checking for iconv" >&5
7303 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7304 if test "${am_cv_func_iconv+set}" = set; then
7305 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 am_cv_func_iconv
="no, consider installing GNU libiconv"
7310 cat >conftest.
$ac_ext <<_ACEOF
7311 #line 7311 "configure"
7312 #include "confdefs.h"
7315 #ifdef F77_DUMMY_MAIN
7319 int F77_DUMMY_MAIN() { return 1; }
7324 iconv_t cd = iconv_open("","");
7325 iconv(cd,NULL,NULL,NULL,NULL);
7331 rm -f conftest.
$ac_objext conftest
$ac_exeext
7332 if { (eval echo "$as_me:7332: \"$ac_link\"") >&5
7333 (eval $ac_link) 2>&5
7335 echo "$as_me:7335: \$? = $ac_status" >&5
7336 (exit $ac_status); } &&
7337 { ac_try
='test -s conftest$ac_exeext'
7338 { (eval echo "$as_me:7338: \"$ac_try\"") >&5
7341 echo "$as_me:7341: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 am_cv_func_iconv
=yes
7345 echo "$as_me: failed program was:" >&5
7346 cat conftest.
$ac_ext >&5
7348 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7349 if test "$am_cv_func_iconv" != yes; then
7350 am_save_LIBS
="$LIBS"
7351 LIBS
="$LIBS -liconv"
7352 cat >conftest.
$ac_ext <<_ACEOF
7353 #line 7353 "configure"
7354 #include "confdefs.h"
7357 #ifdef F77_DUMMY_MAIN
7361 int F77_DUMMY_MAIN() { return 1; }
7366 iconv_t cd = iconv_open("","");
7367 iconv(cd,NULL,NULL,NULL,NULL);
7373 rm -f conftest.
$ac_objext conftest
$ac_exeext
7374 if { (eval echo "$as_me:7374: \"$ac_link\"") >&5
7375 (eval $ac_link) 2>&5
7377 echo "$as_me:7377: \$? = $ac_status" >&5
7378 (exit $ac_status); } &&
7379 { ac_try
='test -s conftest$ac_exeext'
7380 { (eval echo "$as_me:7380: \"$ac_try\"") >&5
7383 echo "$as_me:7383: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7386 am_cv_func_iconv
=yes
7388 echo "$as_me: failed program was:" >&5
7389 cat conftest.
$ac_ext >&5
7391 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7392 LIBS
="$am_save_LIBS"
7396 echo "$as_me:7396: result: $am_cv_func_iconv" >&5
7397 echo "${ECHO_T}$am_cv_func_iconv" >&6
7398 if test "$am_cv_func_iconv" = yes; then
7400 cat >>confdefs.h
<<\_ACEOF
7401 #define HAVE_ICONV 1
7404 echo "$as_me:7404: checking for iconv declaration" >&5
7405 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7406 if test "${am_cv_proto_iconv+set}" = set; then
7407 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 cat >conftest.
$ac_ext <<_ACEOF
7411 #line 7411 "configure"
7412 #include "confdefs.h"
7420 #if defined(__STDC__) || defined(__cplusplus)
7421 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7426 #ifdef F77_DUMMY_MAIN
7430 int F77_DUMMY_MAIN() { return 1; }
7440 rm -f conftest.
$ac_objext
7441 if { (eval echo "$as_me:7441: \"$ac_compile\"") >&5
7442 (eval $ac_compile) 2>&5
7444 echo "$as_me:7444: \$? = $ac_status" >&5
7445 (exit $ac_status); } &&
7446 { ac_try
='test -s conftest.$ac_objext'
7447 { (eval echo "$as_me:7447: \"$ac_try\"") >&5
7450 echo "$as_me:7450: \$? = $ac_status" >&5
7451 (exit $ac_status); }; }; then
7452 am_cv_proto_iconv_arg1
=""
7454 echo "$as_me: failed program was:" >&5
7455 cat conftest.
$ac_ext >&5
7456 am_cv_proto_iconv_arg1
="const"
7458 rm -f conftest.
$ac_objext conftest.
$ac_ext
7459 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);"
7462 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7463 echo "$as_me:7463: result: ${ac_t:-
7464 }$am_cv_proto_iconv" >&5
7465 echo "${ECHO_T}${ac_t:-
7466 }$am_cv_proto_iconv" >&6
7468 cat >>confdefs.h
<<_ACEOF
7469 #define ICONV_CONST $am_cv_proto_iconv_arg1
7474 if test "$am_cv_lib_iconv" = yes; then
7478 echo "$as_me:7478: checking for nl_langinfo and CODESET" >&5
7479 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7480 if test "${am_cv_langinfo_codeset+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 cat >conftest.
$ac_ext <<_ACEOF
7484 #line 7484 "configure"
7485 #include "confdefs.h"
7486 #include <langinfo.h>
7487 #ifdef F77_DUMMY_MAIN
7491 int F77_DUMMY_MAIN() { return 1; }
7496 char* cs = nl_langinfo(CODESET);
7501 rm -f conftest.
$ac_objext conftest
$ac_exeext
7502 if { (eval echo "$as_me:7502: \"$ac_link\"") >&5
7503 (eval $ac_link) 2>&5
7505 echo "$as_me:7505: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try
='test -s conftest$ac_exeext'
7508 { (eval echo "$as_me:7508: \"$ac_try\"") >&5
7511 echo "$as_me:7511: \$? = $ac_status" >&5
7512 (exit $ac_status); }; }; then
7513 am_cv_langinfo_codeset
=yes
7515 echo "$as_me: failed program was:" >&5
7516 cat conftest.
$ac_ext >&5
7517 am_cv_langinfo_codeset
=no
7519 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7522 echo "$as_me:7522: result: $am_cv_langinfo_codeset" >&5
7523 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7524 if test $am_cv_langinfo_codeset = yes; then
7526 cat >>confdefs.h
<<\_ACEOF
7527 #define HAVE_LANGINFO_CODESET 1
7532 if test $ac_cv_header_locale_h = yes; then
7533 echo "$as_me:7533: checking for LC_MESSAGES" >&5
7534 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7535 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7538 cat >conftest.
$ac_ext <<_ACEOF
7539 #line 7539 "configure"
7540 #include "confdefs.h"
7542 #ifdef F77_DUMMY_MAIN
7546 int F77_DUMMY_MAIN() { return 1; }
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext
7557 if { (eval echo "$as_me:7557: \"$ac_link\"") >&5
7558 (eval $ac_link) 2>&5
7560 echo "$as_me:7560: \$? = $ac_status" >&5
7561 (exit $ac_status); } &&
7562 { ac_try
='test -s conftest$ac_exeext'
7563 { (eval echo "$as_me:7563: \"$ac_try\"") >&5
7566 echo "$as_me:7566: \$? = $ac_status" >&5
7567 (exit $ac_status); }; }; then
7568 am_cv_val_LC_MESSAGES
=yes
7570 echo "$as_me: failed program was:" >&5
7571 cat conftest.
$ac_ext >&5
7572 am_cv_val_LC_MESSAGES
=no
7574 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7576 echo "$as_me:7576: result: $am_cv_val_LC_MESSAGES" >&5
7577 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7578 if test $am_cv_val_LC_MESSAGES = yes; then
7580 cat >>confdefs.h
<<\_ACEOF
7581 #define HAVE_LC_MESSAGES 1
7586 echo "$as_me:7586: checking whether NLS is requested" >&5
7587 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7588 # Check whether --enable-nls or --disable-nls was given.
7589 if test "${enable_nls+set}" = set; then
7590 enableval
="$enable_nls"
7595 echo "$as_me:7595: result: $USE_NLS" >&5
7596 echo "${ECHO_T}$USE_NLS" >&6
7598 BUILD_INCLUDED_LIBINTL
=no
7599 USE_INCLUDED_LIBINTL
=no
7602 if test "$USE_NLS" = "yes"; then
7604 cat >>confdefs.h
<<\_ACEOF
7605 #define ENABLE_NLS 1
7608 echo "$as_me:7608: checking whether included gettext is requested" >&5
7609 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7611 # Check whether --with-included-gettext or --without-included-gettext was given.
7612 if test "${with_included_gettext+set}" = set; then
7613 withval
="$with_included_gettext"
7614 nls_cv_force_use_gnu_gettext
=$withval
7616 nls_cv_force_use_gnu_gettext
=no
7618 echo "$as_me:7618: result: $nls_cv_force_use_gnu_gettext" >&5
7619 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7621 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7622 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7625 if test "${ac_cv_header_libintl_h+set}" = set; then
7626 echo "$as_me:7626: checking for libintl.h" >&5
7627 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7628 if test "${ac_cv_header_libintl_h+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7631 echo "$as_me:7631: result: $ac_cv_header_libintl_h" >&5
7632 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7634 # Is the header compilable?
7635 echo "$as_me:7635: checking libintl.h usability" >&5
7636 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7637 cat >conftest.
$ac_ext <<_ACEOF
7638 #line 7638 "configure"
7639 #include "confdefs.h"
7640 $ac_includes_default
7641 #include <libintl.h>
7643 rm -f conftest.
$ac_objext
7644 if { (eval echo "$as_me:7644: \"$ac_compile\"") >&5
7645 (eval $ac_compile) 2>&5
7647 echo "$as_me:7647: \$? = $ac_status" >&5
7648 (exit $ac_status); } &&
7649 { ac_try
='test -s conftest.$ac_objext'
7650 { (eval echo "$as_me:7650: \"$ac_try\"") >&5
7653 echo "$as_me:7653: \$? = $ac_status" >&5
7654 (exit $ac_status); }; }; then
7655 ac_header_compiler
=yes
7657 echo "$as_me: failed program was:" >&5
7658 cat conftest.
$ac_ext >&5
7659 ac_header_compiler
=no
7661 rm -f conftest.
$ac_objext conftest.
$ac_ext
7662 echo "$as_me:7662: result: $ac_header_compiler" >&5
7663 echo "${ECHO_T}$ac_header_compiler" >&6
7665 # Is the header present?
7666 echo "$as_me:7666: checking libintl.h presence" >&5
7667 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7668 cat >conftest.
$ac_ext <<_ACEOF
7669 #line 7669 "configure"
7670 #include "confdefs.h"
7671 #include <libintl.h>
7673 if { (eval echo "$as_me:7673: \"$ac_cpp conftest.$ac_ext\"") >&5
7674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7676 egrep -v '^ *\+' conftest.er1
>conftest.err
7678 cat conftest.err
>&5
7679 echo "$as_me:7679: \$? = $ac_status" >&5
7680 (exit $ac_status); } >/dev
/null
; then
7681 if test -s conftest.err
; then
7682 ac_cpp_err
=$ac_c_preproc_warn_flag
7689 if test -z "$ac_cpp_err"; then
7690 ac_header_preproc
=yes
7692 echo "$as_me: failed program was:" >&5
7693 cat conftest.
$ac_ext >&5
7694 ac_header_preproc
=no
7696 rm -f conftest.err conftest.
$ac_ext
7697 echo "$as_me:7697: result: $ac_header_preproc" >&5
7698 echo "${ECHO_T}$ac_header_preproc" >&6
7700 # So? What about this header?
7701 case $ac_header_compiler:$ac_header_preproc in
7703 { echo "$as_me:7703: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7704 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7705 { echo "$as_me:7705: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7706 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7708 { echo "$as_me:7708: WARNING: libintl.h: present but cannot be compiled." >&5
7709 echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
7710 { echo "$as_me:7710: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7711 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7712 { echo "$as_me:7712: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7713 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7715 echo "$as_me:7715: checking for libintl.h" >&5
7716 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7717 if test "${ac_cv_header_libintl_h+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 ac_cv_header_libintl_h
=$ac_header_preproc
7722 echo "$as_me:7722: result: $ac_cv_header_libintl_h" >&5
7723 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7726 if test $ac_cv_header_libintl_h = yes; then
7727 echo "$as_me:7727: checking for GNU gettext in libc" >&5
7728 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7729 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 cat >conftest.
$ac_ext <<_ACEOF
7733 #line 7733 "configure"
7734 #include "confdefs.h"
7735 #include <libintl.h>
7736 extern int _nl_msg_cat_cntr;
7737 #ifdef F77_DUMMY_MAIN
7741 int F77_DUMMY_MAIN() { return 1; }
7746 bindtextdomain ("", "");
7747 return (int) gettext ("") + _nl_msg_cat_cntr
7752 rm -f conftest.
$ac_objext conftest
$ac_exeext
7753 if { (eval echo "$as_me:7753: \"$ac_link\"") >&5
7754 (eval $ac_link) 2>&5
7756 echo "$as_me:7756: \$? = $ac_status" >&5
7757 (exit $ac_status); } &&
7758 { ac_try
='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:7759: \"$ac_try\"") >&5
7762 echo "$as_me:7762: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 gt_cv_func_gnugettext1_libc
=yes
7766 echo "$as_me: failed program was:" >&5
7767 cat conftest.
$ac_ext >&5
7768 gt_cv_func_gnugettext1_libc
=no
7770 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7772 echo "$as_me:7772: result: $gt_cv_func_gnugettext1_libc" >&5
7773 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7775 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7776 echo "$as_me:7776: checking for GNU gettext in libintl" >&5
7777 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
7778 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 gt_save_LIBS
="$LIBS"
7782 LIBS
="$LIBS -lintl $LIBICONV"
7783 cat >conftest.
$ac_ext <<_ACEOF
7784 #line 7784 "configure"
7785 #include "confdefs.h"
7786 #include <libintl.h>
7787 extern int _nl_msg_cat_cntr;
7788 #ifdef F77_DUMMY_MAIN
7792 int F77_DUMMY_MAIN() { return 1; }
7797 bindtextdomain ("", "");
7798 return (int) gettext ("") + _nl_msg_cat_cntr
7803 rm -f conftest.
$ac_objext conftest
$ac_exeext
7804 if { (eval echo "$as_me:7804: \"$ac_link\"") >&5
7805 (eval $ac_link) 2>&5
7807 echo "$as_me:7807: \$? = $ac_status" >&5
7808 (exit $ac_status); } &&
7809 { ac_try
='test -s conftest$ac_exeext'
7810 { (eval echo "$as_me:7810: \"$ac_try\"") >&5
7813 echo "$as_me:7813: \$? = $ac_status" >&5
7814 (exit $ac_status); }; }; then
7815 gt_cv_func_gnugettext1_libintl
=yes
7817 echo "$as_me: failed program was:" >&5
7818 cat conftest.
$ac_ext >&5
7819 gt_cv_func_gnugettext1_libintl
=no
7821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7822 LIBS
="$gt_save_LIBS"
7824 echo "$as_me:7824: result: $gt_cv_func_gnugettext1_libintl" >&5
7825 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
7828 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
7829 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7830 && test "$PACKAGE" != gettext; }; then
7832 cat >>confdefs.h
<<\_ACEOF
7833 #define HAVE_GETTEXT 1
7836 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7837 INTLLIBS
="-lintl $LIBICONV"
7840 gt_save_LIBS
="$LIBS"
7841 LIBS
="$LIBS $INTLLIBS"
7843 for ac_func
in dcgettext
7845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7846 echo "$as_me:7846: checking for $ac_func" >&5
7847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7848 if eval "test \"\${$as_ac_var+set}\" = set"; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7851 cat >conftest.
$ac_ext <<_ACEOF
7852 #line 7852 "configure"
7853 #include "confdefs.h"
7854 /* System header to define __stub macros and hopefully few prototypes,
7855 which can conflict with char $ac_func (); below. */
7857 /* Override any gcc2 internal prototype to avoid an error. */
7861 /* We use char because int might match the return type of a gcc2
7862 builtin and then its argument prototype would still apply. */
7866 #ifdef F77_DUMMY_MAIN
7870 int F77_DUMMY_MAIN() { return 1; }
7875 /* The GNU C library defines this for functions which it implements
7876 to always fail with ENOSYS. Some functions are actually named
7877 something starting with __ and the normal name is an alias. */
7878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7888 rm -f conftest.
$ac_objext conftest
$ac_exeext
7889 if { (eval echo "$as_me:7889: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>&5
7892 echo "$as_me:7892: \$? = $ac_status" >&5
7893 (exit $ac_status); } &&
7894 { ac_try
='test -s conftest$ac_exeext'
7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5
7898 echo "$as_me:7898: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then
7900 eval "$as_ac_var=yes"
7902 echo "$as_me: failed program was:" >&5
7903 cat conftest.
$ac_ext >&5
7904 eval "$as_ac_var=no"
7906 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7908 echo "$as_me:7908: result: `eval echo '${'$as_ac_var'}'`" >&5
7909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7910 if test `eval echo '${'$as_ac_var'}'` = yes; then
7911 cat >>confdefs.h
<<_ACEOF
7912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7918 LIBS
="$gt_save_LIBS"
7920 # Extract the first word of "msgfmt", so it can be a program name with args.
7921 set dummy msgfmt
; ac_word
=$2
7922 echo "$as_me:7922: checking for $ac_word" >&5
7923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7924 if test "${ac_cv_path_MSGFMT+set}" = set; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7932 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7933 for ac_dir
in $PATH; do
7934 test -z "$ac_dir" && ac_dir
=.
7935 if test -f $ac_dir/$ac_word; then
7936 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
7937 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7943 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7947 MSGFMT
="$ac_cv_path_MSGFMT"
7948 if test "$MSGFMT" != ":"; then
7949 echo "$as_me:7949: result: $MSGFMT" >&5
7950 echo "${ECHO_T}$MSGFMT" >&6
7952 echo "$as_me:7952: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7956 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7957 set dummy gmsgfmt
; ac_word
=$2
7958 echo "$as_me:7958: checking for $ac_word" >&5
7959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7960 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7965 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7968 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7970 for ac_dir
in $ac_dummy; do
7972 test -z "$ac_dir" && ac_dir
=.
7973 if $as_executable_p "$ac_dir/$ac_word"; then
7974 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
7975 echo "$as_me:7975: found $ac_dir/$ac_word" >&5
7980 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7984 GMSGFMT
=$ac_cv_path_GMSGFMT
7986 if test -n "$GMSGFMT"; then
7987 echo "$as_me:7987: result: $GMSGFMT" >&5
7988 echo "${ECHO_T}$GMSGFMT" >&6
7990 echo "$as_me:7990: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7994 # Extract the first word of "xgettext", so it can be a program name with args.
7995 set dummy xgettext
; ac_word
=$2
7996 echo "$as_me:7996: checking for $ac_word" >&5
7997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7998 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6
8003 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8006 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8007 for ac_dir
in $PATH; do
8008 test -z "$ac_dir" && ac_dir
=.
8009 if test -f $ac_dir/$ac_word; then
8010 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8011 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8017 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8021 XGETTEXT
="$ac_cv_path_XGETTEXT"
8022 if test "$XGETTEXT" != ":"; then
8023 echo "$as_me:8023: result: $XGETTEXT" >&5
8024 echo "${ECHO_T}$XGETTEXT" >&6
8026 echo "$as_me:8026: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8035 if test "$CATOBJEXT" = "NONE"; then
8036 nls_cv_use_gnu_gettext
=yes
8040 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8041 INTLOBJS
="\$(GETTOBJS)"
8042 # Extract the first word of "msgfmt", so it can be a program name with args.
8043 set dummy msgfmt
; ac_word
=$2
8044 echo "$as_me:8044: checking for $ac_word" >&5
8045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8046 if test "${ac_cv_path_MSGFMT+set}" = set; then
8047 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8054 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8055 for ac_dir
in $PATH; do
8056 test -z "$ac_dir" && ac_dir
=.
8057 if test -f $ac_dir/$ac_word; then
8058 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8059 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8065 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8069 MSGFMT
="$ac_cv_path_MSGFMT"
8070 if test "$MSGFMT" != ":"; then
8071 echo "$as_me:8071: result: $MSGFMT" >&5
8072 echo "${ECHO_T}$MSGFMT" >&6
8074 echo "$as_me:8074: result: no" >&5
8075 echo "${ECHO_T}no" >&6
8078 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8079 set dummy gmsgfmt
; ac_word
=$2
8080 echo "$as_me:8080: checking for $ac_word" >&5
8081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8082 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8090 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8092 for ac_dir
in $ac_dummy; do
8094 test -z "$ac_dir" && ac_dir
=.
8095 if $as_executable_p "$ac_dir/$ac_word"; then
8096 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8097 echo "$as_me:8097: found $ac_dir/$ac_word" >&5
8102 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8106 GMSGFMT
=$ac_cv_path_GMSGFMT
8108 if test -n "$GMSGFMT"; then
8109 echo "$as_me:8109: result: $GMSGFMT" >&5
8110 echo "${ECHO_T}$GMSGFMT" >&6
8112 echo "$as_me:8112: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8116 # Extract the first word of "xgettext", so it can be a program name with args.
8117 set dummy xgettext
; ac_word
=$2
8118 echo "$as_me:8118: checking for $ac_word" >&5
8119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8120 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8125 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8129 for ac_dir
in $PATH; do
8130 test -z "$ac_dir" && ac_dir
=.
8131 if test -f $ac_dir/$ac_word; then
8132 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8133 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8139 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8143 XGETTEXT
="$ac_cv_path_XGETTEXT"
8144 if test "$XGETTEXT" != ":"; then
8145 echo "$as_me:8145: result: $XGETTEXT" >&5
8146 echo "${ECHO_T}$XGETTEXT" >&6
8148 echo "$as_me:8148: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8152 BUILD_INCLUDED_LIBINTL
=yes
8153 USE_INCLUDED_LIBINTL
=yes
8155 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8156 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8159 if test "$GMSGFMT" != ":"; then
8160 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8163 echo "$as_me:8163: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8164 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8169 if test "$XGETTEXT" != ":"; then
8170 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8173 echo "$as_me:8173: result: found xgettext program is not GNU xgettext; ignore it" >&5
8174 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8181 ac_config_commands
="$ac_config_commands default-2"
8183 if test "$PACKAGE" = gettext; then
8184 BUILD_INCLUDED_LIBINTL
=yes
8187 for ac_prog
in bison
8189 # Extract the first word of "$ac_prog", so it can be a program name with args.
8190 set dummy
$ac_prog; ac_word
=$2
8191 echo "$as_me:8191: checking for $ac_word" >&5
8192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8193 if test "${ac_cv_prog_INTLBISON+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 if test -n "$INTLBISON"; then
8197 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
8199 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8201 for ac_dir
in $ac_dummy; do
8203 test -z "$ac_dir" && ac_dir
=.
8204 $as_executable_p "$ac_dir/$ac_word" || continue
8205 ac_cv_prog_INTLBISON
="$ac_prog"
8206 echo "$as_me:8206: found $ac_dir/$ac_word" >&5
8212 INTLBISON
=$ac_cv_prog_INTLBISON
8213 if test -n "$INTLBISON"; then
8214 echo "$as_me:8214: result: $INTLBISON" >&5
8215 echo "${ECHO_T}$INTLBISON" >&6
8217 echo "$as_me:8217: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8221 test -n "$INTLBISON" && break
8224 if test -z "$INTLBISON"; then
8227 echo "$as_me:8227: checking version of bison" >&5
8228 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8229 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8230 case $ac_prog_version in
8231 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
8232 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
8233 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
8234 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
8236 echo "$as_me:8236: result: $ac_prog_version" >&5
8237 echo "${ECHO_T}$ac_prog_version" >&6
8239 if test $ac_verc_fail = yes; then
8243 for lang
in $ALL_LINGUAS; do
8244 GMOFILES
="$GMOFILES $lang.gmo"
8245 POFILES
="$POFILES $lang.po"
8249 nls_cv_header_libgt
=
8257 if test "x$CATOBJEXT" != "x"; then
8258 if test "x$ALL_LINGUAS" = "x"; then
8261 echo "$as_me:8261: checking for catalogs to be installed" >&5
8262 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8264 for presentlang
in $ALL_LINGUAS; do
8266 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
8267 # Use the presentlang catalog if desiredlang is
8268 # a. equal to presentlang, or
8269 # b. a variant of presentlang (because in this case,
8270 # presentlang can be used as a fallback for messages
8271 # which are not translated in the desiredlang catalog).
8272 case "$desiredlang" in
8273 "$presentlang"*) useit
=yes;;
8276 if test $useit = yes; then
8277 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
8280 LINGUAS
=$NEW_LINGUAS
8281 echo "$as_me:8281: result: $LINGUAS" >&5
8282 echo "${ECHO_T}$LINGUAS" >&6
8285 if test -n "$LINGUAS"; then
8286 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8291 if test -n "$ac_aux_dir"; then
8292 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
8294 if test -z "$MKINSTALLDIRS"; then
8295 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
8298 INTL_LIBTOOL_SUFFIX_PREFIX
=
8300 # This is necessary so that .o files in LIBOBJS are also built via
8301 # the ANSI2KNR-filtering rules.
8302 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8304 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile"
8305 cat >confcache
<<\_ACEOF
8306 # This file is a shell script that caches the results of configure
8307 # tests run on this system so they can be shared between configure
8308 # scripts and configure runs, see configure's option --config-cache.
8309 # It is not useful on other systems. If it contains results you don't
8310 # want to keep, you may remove or edit it.
8312 # config.status only pays attention to the cache file if you give it
8313 # the --recheck option to rerun configure.
8315 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8321 # The following way of writing the cache mishandles newlines in values,
8322 # but we know of no workaround that is simple, portable, and efficient.
8323 # So, don't put newlines in cache variables' values.
8324 # Ultrix sh set writes to stderr and can't be redirected directly,
8325 # and sets the high bit in the cache file unless we assign to the vars.
8328 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8330 # `set' does not quote correctly, so add quotes (double-quote
8331 # substitution turns \\\\ into \\, and sed turns \\ into \).
8334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8337 # `set' quotes correctly as required by POSIX, so do not add quotes.
8339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8348 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8350 if cmp -s $cache_file confcache
; then :; else
8351 if test -w $cache_file; then
8352 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8353 cat confcache
>$cache_file
8355 echo "not updating unwritable cache $cache_file"
8360 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8361 # Let make expand exec_prefix.
8362 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8364 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8365 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8366 # trailing colons and then remove the whole line if VPATH becomes empty
8367 # (actually we leave an empty line to preserve line numbers).
8368 if test "x$srcdir" = x.
; then
8369 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8370 s/:*\$(srcdir):*/:/;
8371 s/:*\${srcdir}:*/:/;
8373 s/^\([^=]*=[ ]*\):*/\1/;
8379 DEFS
=-DHAVE_CONFIG_H
8381 : ${CONFIG_STATUS=./config.status}
8382 ac_clean_files_save
=$ac_clean_files
8383 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8384 { echo "$as_me:8384: creating $CONFIG_STATUS" >&5
8385 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8386 cat >$CONFIG_STATUS <<_ACEOF
8388 # Generated automatically by $as_me.
8389 # Run this file to recreate the current configuration.
8390 # Compiler output produced by configure, useful for debugging
8391 # configure, is in config.log if it exists.
8394 SHELL=\${CONFIG_SHELL-$SHELL}
8397 cat >>$CONFIG_STATUS <<\_ACEOF
8399 ## --------------------- ##
8400 ## M4sh Initialization. ##
8401 ## --------------------- ##
8403 # Be Bourne compatible
8404 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8407 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8411 # Name of the executable.
8412 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
8414 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8420 rm -f conf$$ conf$$.exe conf$$.
file
8422 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8423 # We could just check for DJGPP; but this test a) works b) is more generic
8424 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8425 if test -f conf$$.exe
; then
8426 # Don't use ln at all; we don't have any links
8431 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8436 rm -f conf$$ conf$$.exe conf$$.
file
8438 as_executable_p
="test -f"
8440 # Support unset when possible.
8441 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
8448 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
8449 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
8450 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
8451 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
8452 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
8453 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
8454 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
8455 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
8458 # We need space, tab and new line, in precisely that order.
8464 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
8468 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8469 # report actual input values of CONFIG_FILES etc. instead of their
8470 # values after options handling. Logging --version etc. is OK.
8474 `sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8475 ## Running \$as_me. ##
8478 This file was extended by GNU Bison $as_me 1.28e, which was
8479 generated by GNU Autoconf 2.52c. Invocation command line was
8481 CONFIG_FILES = $CONFIG_FILES
8482 CONFIG_HEADERS = $CONFIG_HEADERS
8483 CONFIG_LINKS = $CONFIG_LINKS
8484 CONFIG_COMMANDS = $CONFIG_COMMANDS
8486 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8491 # Files that config.status was made for.
8492 if test -n "$ac_config_files"; then
8493 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8496 if test -n "$ac_config_headers"; then
8497 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8500 if test -n "$ac_config_links"; then
8501 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8504 if test -n "$ac_config_commands"; then
8505 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8508 cat >>$CONFIG_STATUS <<\_ACEOF
8511 \`$as_me' instantiates files from templates according to the
8512 current configuration.
8514 Usage: $0 [OPTIONS] [FILE]...
8516 -h, --help print this help, then exit
8517 -V, --version print version number, then exit
8518 -d, --debug don't remove temporary files
8519 --recheck update $as_me by reconfiguring in the same conditions
8520 --file=FILE[:TEMPLATE]
8521 instantiate the configuration file FILE
8522 --header=FILE[:TEMPLATE]
8523 instantiate the configuration header FILE
8525 Configuration files:
8528 Configuration headers:
8531 Configuration commands:
8534 Report bugs to <bug-autoconf@gnu.org>."
8537 cat >>$CONFIG_STATUS <<_ACEOF
8539 GNU Bison config.status 1.28e
8540 configured by $0, generated by GNU Autoconf 2.52c,
8541 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8543 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8544 Free Software Foundation, Inc.
8545 This config.status script is free software; the Free Software Foundation
8546 gives unlimited permission to copy, distribute and modify it."
8551 cat >>$CONFIG_STATUS <<\_ACEOF
8552 # If no file are specified by the user, then we need to provide default
8553 # value. By we need to know if files were specified by the user.
8559 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8560 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8562 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
8566 *) # This is not an option, so the user has probably given explicit
8568 ac_need_defaults
=false
;;
8572 # Handling of the options.
8574 cat >>$CONFIG_STATUS <<_ACEOF
8575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8576 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8577 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8579 cat >>$CONFIG_STATUS <<\_ACEOF
8580 --version | --vers* | -V )
8581 echo "$ac_cs_version"; exit 0 ;;
8583 # Conflict between --help and --header
8584 { { echo "$as_me:8584: error: ambiguous option: $1
8585 Try \`$0 --help' for more information." >&5
8586 echo "$as_me: error: ambiguous option: $1
8587 Try \`$0 --help' for more information." >&2;}
8588 { (exit 1); exit 1; }; };;
8589 --help | --hel | -h )
8590 echo "$ac_cs_usage"; exit 0 ;;
8591 --debug | --d* | -d )
8593 --file | --fil | --fi | --f )
8595 CONFIG_FILES
="$CONFIG_FILES $1"
8596 ac_need_defaults
=false
;;
8597 --header | --heade | --head | --hea )
8599 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
8600 ac_need_defaults
=false
;;
8603 -*) { { echo "$as_me:8603: error: unrecognized option: $1
8604 Try \`$0 --help' for more information." >&5
8605 echo "$as_me: error: unrecognized option: $1
8606 Try \`$0 --help' for more information." >&2;}
8607 { (exit 1); exit 1; }; } ;;
8609 *) ac_config_targets
="$ac_config_targets $1" ;;
8617 cat >>$CONFIG_STATUS <<_ACEOF
8619 # INIT-COMMANDS section.
8622 at_package='$PACKAGE_NAME'
8623 at_version='$PACKAGE_VERSION'
8624 at_bugreport='$PACKAGE_BUGREPORT'
8630 at_path_separator='$PATH_SEPARATOR'
8632 AMDEP_TRUE="$AMDEP_TRUE"
8633 ac_aux_dir="$ac_aux_dir"
8637 cat >>$CONFIG_STATUS <<\_ACEOF
8638 for ac_config_target
in $ac_config_targets
8640 case "$ac_config_target" in
8641 # Handling of arguments.
8642 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
8643 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8644 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
8645 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
8646 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
8647 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
8648 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8649 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8650 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
8651 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
8652 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
8653 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8654 "default-2" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
8655 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
8656 *) { { echo "$as_me:8656: error: invalid argument: $ac_config_target" >&5
8657 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8658 { (exit 1); exit 1; }; };;
8662 # If the user did not use the arguments to specify the items to instantiate,
8663 # then the envvar interface is used. Set only those that are not.
8664 # We use the long form for the default assignment because of an extremely
8665 # bizarre bug on SunOS 4.1.3.
8666 if $ac_need_defaults; then
8667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8668 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8672 # Create a temporary directory, and hook for its removal unless debugging.
8675 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8676 trap '{ (exit 1); exit 1; }' 1 2 13 15
8679 # Create a (secure) tmp directory for tmp files.
8682 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8683 test -n "$tmp" && test -d "$tmp"
8686 tmp
=$TMPDIR/cs$$
-$RANDOM
8687 (umask 077 && mkdir $tmp)
8690 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8691 { (exit 1); exit 1; }
8696 cat >>$CONFIG_STATUS <<_ACEOF
8699 # CONFIG_FILES section.
8702 # No need to generate the scripts if there are no CONFIG_FILES.
8703 # This happens for instance when ./config.status config.h
8704 if test -n "\$CONFIG_FILES"; then
8705 # Protect against being on the right side of a sed subst in config.status.
8706 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8707 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8708 s,@SHELL@,$SHELL,;t t
8709 s,@exec_prefix@,$exec_prefix,;t t
8710 s,@prefix@,$prefix,;t t
8711 s,@program_transform_name@,$program_transform_name,;t t
8712 s,@bindir@,$bindir,;t t
8713 s,@sbindir@,$sbindir,;t t
8714 s,@libexecdir@,$libexecdir,;t t
8715 s,@datadir@,$datadir,;t t
8716 s,@sysconfdir@,$sysconfdir,;t t
8717 s,@sharedstatedir@,$sharedstatedir,;t t
8718 s,@localstatedir@,$localstatedir,;t t
8719 s,@libdir@,$libdir,;t t
8720 s,@includedir@,$includedir,;t t
8721 s,@oldincludedir@,$oldincludedir,;t t
8722 s,@infodir@,$infodir,;t t
8723 s,@mandir@,$mandir,;t t
8724 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8725 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8726 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8727 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8728 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8729 s,@build_alias@,$build_alias,;t t
8730 s,@host_alias@,$host_alias,;t t
8731 s,@target_alias@,$target_alias,;t t
8732 s,@ECHO_C@,$ECHO_C,;t t
8733 s,@ECHO_N@,$ECHO_N,;t t
8734 s,@ECHO_T@,$ECHO_T,;t t
8735 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8738 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8739 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8740 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8741 s,@PACKAGE@,$PACKAGE,;t t
8742 s,@VERSION@,$VERSION,;t t
8743 s,@EXEEXT@,$EXEEXT,;t t
8744 s,@OBJEXT@,$OBJEXT,;t t
8745 s,@ACLOCAL@,$ACLOCAL,;t t
8746 s,@AUTOCONF@,$AUTOCONF,;t t
8747 s,@AUTOMAKE@,$AUTOMAKE,;t t
8748 s,@AUTOHEADER@,$AUTOHEADER,;t t
8749 s,@MAKEINFO@,$MAKEINFO,;t t
8750 s,@AMTAR@,$AMTAR,;t t
8751 s,@install_sh@,$install_sh,;t t
8752 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8754 s,@SET_MAKE@,$SET_MAKE,;t t
8755 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8756 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8757 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8758 s,@DEPDIR@,$DEPDIR,;t t
8760 s,@CFLAGS@,$CFLAGS,;t t
8761 s,@LDFLAGS@,$LDFLAGS,;t t
8762 s,@CPPFLAGS@,$CPPFLAGS,;t t
8763 s,@ac_ct_CC@,$ac_ct_CC,;t t
8764 s,@am__include@,$am__include,;t t
8765 s,@am__quote@,$am__quote,;t t
8766 s,@CCDEPMODE@,$CCDEPMODE,;t t
8768 s,@RANLIB@,$RANLIB,;t t
8769 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8771 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
8773 s,@ANSI2KNR@,$ANSI2KNR,;t t
8774 s,@ALLOCA@,$ALLOCA,;t t
8775 s,@LIBOBJS@,$LIBOBJS,;t t
8776 s,@build@,$build,;t t
8777 s,@build_cpu@,$build_cpu,;t t
8778 s,@build_vendor@,$build_vendor,;t t
8779 s,@build_os@,$build_os,;t t
8781 s,@host_cpu@,$host_cpu,;t t
8782 s,@host_vendor@,$host_vendor,;t t
8783 s,@host_os@,$host_os,;t t
8784 s,@GLIBC21@,$GLIBC21,;t t
8785 s,@LIBICONV@,$LIBICONV,;t t
8786 s,@USE_NLS@,$USE_NLS,;t t
8787 s,@MSGFMT@,$MSGFMT,;t t
8788 s,@GMSGFMT@,$GMSGFMT,;t t
8789 s,@XGETTEXT@,$XGETTEXT,;t t
8790 s,@INTLBISON@,$INTLBISON,;t t
8791 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
8792 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
8793 s,@CATALOGS@,$CATALOGS,;t t
8794 s,@CATOBJEXT@,$CATOBJEXT,;t t
8795 s,@GMOFILES@,$GMOFILES,;t t
8796 s,@INTLLIBS@,$INTLLIBS,;t t
8797 s,@INTLOBJS@,$INTLOBJS,;t t
8798 s,@POFILES@,$POFILES,;t t
8799 s,@POSUB@,$POSUB,;t t
8800 s,@DATADIRNAME@,$DATADIRNAME,;t t
8801 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8802 s,@GENCAT@,$GENCAT,;t t
8803 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8804 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
8809 cat >>$CONFIG_STATUS <<\_ACEOF
8810 # Split the substitutions into bite-sized pieces for seds with
8811 # small command number limits, like on Digital OSF/1 and HP-UX.
8813 ac_sed_frag
=1 # Number of current file.
8814 ac_beg
=1 # First line for current file.
8815 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8818 while $ac_more_lines; do
8819 if test $ac_beg -gt 1; then
8820 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8822 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8824 if test ! -s $tmp/subs.frag
; then
8827 # The purpose of the label and of the branching condition is to
8828 # speed up the sed processing (if there are no `@' at all, there
8829 # is no need to browse any of the substitutions).
8830 # These are the two extra sed commands mentioned above.
8832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
8833 if test -z "$ac_sed_cmds"; then
8834 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8836 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8838 ac_sed_frag
=`expr $ac_sed_frag + 1`
8840 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8843 if test -z "$ac_sed_cmds"; then
8846 fi # test -n "$CONFIG_FILES"
8849 cat >>$CONFIG_STATUS <<\_ACEOF
8850 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8851 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8853 - | *:- | *:-:* ) # input from stdin
8855 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8856 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8857 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8858 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8859 * ) ac_file_in
=$ac_file.
in ;;
8862 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8863 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8864 X"$ac_file" : 'X\(//\)[^/]' \| \
8865 X"$ac_file" : 'X\(//\)$' \| \
8866 X"$ac_file" : 'X\(/\)' \| \
8867 . : '\(.\)' 2>/dev/null ||
8869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8871 /^X\(\/\/\)$/{ s//\1/; q; }
8872 /^X\(\/\).*/{ s//\1/; q; }
8875 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8879 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8880 case $as_mkdir_dir in
8881 # Skip DOS drivespec
8882 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8884 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8885 test -d "$as_incr_dir" ||
8886 mkdir "$as_incr_dir" ||
8887 { { echo "$as_me:8887: error: cannot create \"$ac_dir\"" >&5
8888 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8889 { (exit 1); exit 1; }; }
8894 if test "$ac_dir" != .
; then
8895 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\./,,'`
8896 # A "../" for each directory in $ac_dir_suffix.
8897 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8899 ac_dir_suffix
= ac_top_builddir
=
8903 .
) # No --srcdir option. We are building in place.
8905 if test -z "$ac_top_builddir"; then
8908 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8910 [\\/]* | ?
:[\\/]* ) # Absolute path.
8911 ac_srcdir
=$srcdir$ac_dir_suffix;
8912 ac_top_srcdir
=$srcdir ;;
8914 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8915 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8919 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8920 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8923 if test x
"$ac_file" != x
-; then
8924 { echo "$as_me:8924: creating $ac_file" >&5
8925 echo "$as_me: creating $ac_file" >&6;}
8928 # Let's still pretend it is `configure' which instantiates (i.e., don't
8929 # use $as_me), people would be surprised to read:
8930 # /* config.h. Generated automatically by config.status. */
8931 configure_input
="Generated automatically from `echo $ac_file_in |
8932 sed 's,.*/,,'` by configure."
8934 # First look for the input files in the build tree, otherwise in the
8936 ac_file_inputs
=`IFS=:
8937 for f in $ac_file_in; do
8939 -) echo $tmp/stdin ;;
8941 # Absolute (can't be DOS-style, as IFS=:)
8942 test -f "$f" || { { echo "$as_me:8942: error: cannot find input file: $f" >&5
8943 echo "$as_me: error: cannot find input file: $f" >&2;}
8944 { (exit 1); exit 1; }; }
8947 if test -f "$f"; then
8950 elif test -f "$srcdir/$f"; then
8955 { { echo "$as_me:8955: error: cannot find input file: $f" >&5
8956 echo "$as_me: error: cannot find input file: $f" >&2;}
8957 { (exit 1); exit 1; }; }
8960 done` || { (exit 1); exit 1; }
8962 cat >>$CONFIG_STATUS <<_ACEOF
8966 cat >>$CONFIG_STATUS <<\_ACEOF
8968 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8969 s
,@configure_input@
,$configure_input,;t t
8970 s
,@srcdir@
,$ac_srcdir,;t t
8971 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8972 s
,@INSTALL@
,$ac_INSTALL,;t t
8973 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8975 if test x"$ac_file" != x-; then
8976 mv $tmp/out $ac_file
8984 cat >>$CONFIG_STATUS <<\_ACEOF
8987 # CONFIG_HEADER section.
8990 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8991 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8993 # ac_d sets the value in "#define NAME VALUE" lines.
8994 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8995 ac_dB
='[ ].*$,\1#\2'
8998 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8999 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9000 ac_uB
='$,\1#\2define\3'
9004 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9007 - | *:- | *:-:* ) # input from stdin
9009 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9011 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9013 * ) ac_file_in
=$ac_file.
in ;;
9016 test x
"$ac_file" != x
- && { echo "$as_me:9016: creating $ac_file" >&5
9017 echo "$as_me: creating $ac_file" >&6;}
9019 # First look for the input files in the build tree, otherwise in the
9021 ac_file_inputs
=`IFS=:
9022 for f in $ac_file_in; do
9024 -) echo $tmp/stdin ;;
9026 # Absolute (can't be DOS-style, as IFS=:)
9027 test -f "$f" || { { echo "$as_me:9027: error: cannot find input file: $f" >&5
9028 echo "$as_me: error: cannot find input file: $f" >&2;}
9029 { (exit 1); exit 1; }; }
9032 if test -f "$f"; then
9035 elif test -f "$srcdir/$f"; then
9040 { { echo "$as_me:9040: error: cannot find input file: $f" >&5
9041 echo "$as_me: error: cannot find input file: $f" >&2;}
9042 { (exit 1); exit 1; }; }
9045 done` || { (exit 1); exit 1; }
9046 # Remove the trailing spaces.
9047 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9051 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9052 # `conftest.undefs', that substitutes the proper values into
9053 # config.h.in to produce config.h. The first handles `#define'
9054 # templates, and the second `#undef' templates.
9055 # And first: Protect against being on the right side of a sed subst in
9056 # config.status. Protect against being in an unquoted here document
9058 rm -f conftest.defines conftest.undefs
9059 # Using a here document instead of a string reduces the quoting nightmare.
9060 # Putting comments in sed scripts is not portable.
9062 # `end' is used to avoid that the second main sed command (meant for
9063 # 0-ary CPP macros) applies to n-ary macro definitions.
9064 # See the Autoconf documentation for `clear'.
9065 cat >confdef2sed.
sed <<\_ACEOF
9070 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9072 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9075 # If some macros were called several times there might be several times
9076 # the same #defines, which is useless. Nevertheless, we may not want to
9077 # sort them, since we want the *last* AC-DEFINE to be honored.
9078 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9079 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9080 rm -f confdef2sed.sed
9082 # This sed command replaces #undef with comments. This is necessary, for
9083 # example, in the case of _POSIX_SOURCE, which is predefined and required
9084 # on some systems where configure will not decide to define it.
9085 cat >>conftest.undefs <<\_ACEOF
9086 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9089 # Break up conftest.defines because some shells have a limit on the size
9090 # of here documents, and old seds have small limits too (100 cmds).
9091 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9092 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9093 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9094 echo ' :' >>$CONFIG_STATUS
9096 while grep . conftest.defines >/dev/null
9098 # Write a limited-size here document to $tmp/defines.sed.
9099 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9100 # Speed up: don't consider the non `#define' lines.
9101 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9102 # Work around the forget-to-reset-the-flag bug.
9103 echo 't clr' >>$CONFIG_STATUS
9104 echo ': clr' >>$CONFIG_STATUS
9105 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9107 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9111 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9112 rm -f conftest.defines
9113 mv conftest.
tail conftest.defines
9115 rm -f conftest.defines
9116 echo ' fi # egrep' >>$CONFIG_STATUS
9117 echo >>$CONFIG_STATUS
9119 # Break up conftest.undefs because some shells have a limit on the size
9120 # of here documents, and old seds have small limits too (100 cmds).
9121 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9123 while grep . conftest.undefs
>/dev
/null
9125 # Write a limited-size here document to $tmp/undefs.sed.
9126 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9127 # Speed up: don't consider the non
`#undef'
9128 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9129 # Work around the forget-to-reset-the-flag bug.
9130 echo 't clr' >>$CONFIG_STATUS
9131 echo ': clr' >>$CONFIG_STATUS
9132 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9134 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9138 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9139 rm -f conftest.undefs
9140 mv conftest.tail conftest.undefs
9142 rm -f conftest.undefs
9144 cat >>$CONFIG_STATUS <<\_ACEOF
9145 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9146 # use $as_me), people would be surprised to read:
9147 # /* config.h. Generated automatically by config.status. */
9148 if test x
"$ac_file" = x
-; then
9149 echo "/* Generated automatically by configure. */" >$tmp/config.h
9151 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
9153 cat $tmp/in >>$tmp/config.h
9155 if test x
"$ac_file" != x
-; then
9156 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
9157 { echo "$as_me:9157: $ac_file is unchanged" >&5
9158 echo "$as_me: $ac_file is unchanged" >&6;}
9160 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9161 X"$ac_file" : 'X\(//\)[^/]' \| \
9162 X"$ac_file" : 'X\(//\)$' \| \
9163 X"$ac_file" : 'X\(/\)' \| \
9164 . : '\(.\)' 2>/dev/null ||
9166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9168 /^X\(\/\/\)$/{ s//\1/; q; }
9169 /^X\(\/\).*/{ s//\1/; q; }
9172 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9176 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9177 case $as_mkdir_dir in
9178 # Skip DOS drivespec
9179 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9181 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9182 test -d "$as_incr_dir" ||
9183 mkdir "$as_incr_dir" ||
9184 { { echo "$as_me:9184: error: cannot create \"$ac_dir\"" >&5
9185 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9186 { (exit 1); exit 1; }; }
9192 mv $tmp/config.h
$ac_file
9198 # Run the commands associated with the file.
9200 config.h
) # update the timestamp
9201 echo timestamp
>"./stamp-h1"
9206 cat >>$CONFIG_STATUS <<\_ACEOF
9209 # CONFIG_COMMANDS section.
9211 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9212 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9213 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9214 ac_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9215 X"$ac_dest" : 'X\(//\)[^/]' \| \
9216 X"$ac_dest" : 'X\(//\)$' \| \
9217 X"$ac_dest" : 'X\(/\)' \| \
9218 . : '\(.\)' 2>/dev/null ||
9220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9222 /^X\(\/\/\)$/{ s//\1/; q; }
9223 /^X\(\/\).*/{ s//\1/; q; }
9225 if test "$ac_dir" != .
; then
9226 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\./,,'`
9227 # A "../" for each directory in $ac_dir_suffix.
9228 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9230 ac_dir_suffix
= ac_top_builddir
=
9234 .
) # No --srcdir option. We are building in place.
9236 if test -z "$ac_top_builddir"; then
9239 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9241 [\\/]* | ?
:[\\/]* ) # Absolute path.
9242 ac_srcdir
=$srcdir$ac_dir_suffix;
9243 ac_top_srcdir
=$srcdir ;;
9245 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9246 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9249 { echo "$as_me:9249: executing $ac_dest commands" >&5
9250 echo "$as_me: executing $ac_dest commands" >&6;}
9252 tests
/atconfig
) cat >tests
/atconfig
<<ATEOF
9253 # Configurable variable values for building test suites.
9255 # Copyright 2000, 2001 Free Software Foundation, Inc.
9257 at_package='$at_package'
9258 at_version='$at_version'
9259 at_bugreport='$at_bugreport'
9266 top_srcdir='$ac_top_srcdir'
9267 top_builddir='$ac_top_builddir'
9269 AUTOTEST_PATH='tests'
9271 SHELL=\${CONFIG_SHELL-'$at_shell'}
9272 PATH_SEPARATOR='$at_path_separator'
9277 test x
"$AMDEP_TRUE" != x
"" ||
9278 for mf
in $CONFIG_FILES; do
9280 Makefile
) dirpart
=.
;;
9281 */Makefile
) dirpart
=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
9284 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
9285 # Extract the definition of DEP_FILES from the Makefile without
9287 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9288 test -z "$DEPDIR" && continue
9289 # When using ansi2knr, U may be empty or an underscore; expand it
9290 U
=`sed -n -e '/^U = / s///p' < "$mf"`
9291 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9292 # We invoke sed twice because it is the simplest approach to
9293 # changing $(DEPDIR) to its actual value in the expansion.
9294 for file in `sed -n -e '
9295 /^DEP_FILES = .*\\\\$/ {
9304 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9305 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9306 # Make sure the directory exists.
9307 test -f "$dirpart/$file" && continue
9308 fdir
=`echo "$file" | sed -e 's|/[^/]*$||'`
9309 $ac_aux_dir/mkinstalldirs
"$dirpart/$fdir" > /dev
/null
2>&1
9310 # echo "creating $dirpart/$file"
9311 echo '# dummy' > "$dirpart/$file"
9315 default
-2 ) for ac_file
in $CONFIG_FILES; do
9316 # Support "outfile[:infile[:infile...]]"
9318 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9320 # PO directories have a Makefile.in generated from Makefile.in.in.
9321 case "$ac_file" in */Makefile.
in)
9322 # Adjust a relative srcdir.
9323 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9324 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9325 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9326 # In autoconf-2.13 it is called $ac_given_srcdir.
9327 # In autoconf-2.50 it is called $srcdir.
9328 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9329 case "$ac_given_srcdir" in
9330 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9331 /*) top_srcdir
="$ac_given_srcdir" ;;
9332 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9334 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9335 rm -f "$ac_dir/POTFILES"
9336 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9337 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
9338 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9339 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9348 cat >>$CONFIG_STATUS <<\_ACEOF
9350 { (exit 0); exit 0; }
9352 chmod +x
$CONFIG_STATUS
9353 ac_clean_files
=$ac_clean_files_save
9355 # configure is writing to config.log, and then calls config.status.
9356 # config.status does its own redirection, appending to config.log.
9357 # Unfortunately, on DOS this fails, as config.log is still kept open
9358 # by configure, so config.status won't be able to write to it; its
9359 # output is simply discarded. So we exec the FD to /dev/null,
9360 # effectively closing config.log, so it can be properly (re)opened and
9361 # appended to by config.status. When coming back to configure, we
9362 # need to make the FD available again.
9363 if test "$no_create" != yes; then
9366 $SHELL $CONFIG_STATUS || ac_cs_success
=false
9368 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9369 # would make configure fail if this is the last instruction.
9370 $ac_cs_success || { (exit 1); exit 1; }