2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.52e for GNU Bison 1.29a.
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,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
40 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
41 *c*,-n*) ECHO_N= ECHO_C='
43 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
47 if expr a : '\(a\)' >/dev/null 2>&1; then
53 rm -f conf$$ conf$$.exe conf$$.file
55 if ln -s conf$$.file conf$$ 2>/dev/null; then
56 # We could just check for DJGPP; but this test a) works b) is more generic
57 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
58 if test -f conf$$.exe; then
59 # Don't use ln at all; we don't have any links
64 elif ln conf$$.file conf$$ 2>/dev/null; then
69 rm -f conf$$ conf$$.exe conf$$.file
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 echo "#! $SHELL" >conftest.sh
74 echo "exit 0" >>conftest.sh
76 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
84 as_executable_p="test -f"
86 # Support unset when possible.
87 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
94 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
95 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
96 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
97 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
98 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
99 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
100 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
101 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
104 # We need space, tab and new line, in precisely that order.
110 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
113 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
114 # so uname gets run too.
115 ac_hostname=`(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
122 ac_default_prefix=/usr/local
127 SHELL=${CONFIG_SHELL-/bin/sh}
129 # Maximum number of lines to put in a shell here document.
130 # This variable seems obsolete. It should probably be removed, and
131 # only ac_max_sed_lines should be used.
132 : ${ac_max_here_lines=38}
134 # Factoring default headers for most tests.
135 ac_includes_default="\
138 # include <sys/types.h>
141 # include <sys/stat.h>
152 # if !STDC_HEADERS && HAVE_MEMORY_H
158 # include <strings.h>
161 # include <inttypes.h>
171 # Initialize some variables set by options.
173 ac_init_version=false
174 # The variables have the same names as the options, with
175 # dashes changed to underlines.
183 program_transform_name=s,x,x,
191 # Installation directory options.
192 # These are left unexpanded so users can "make install exec_prefix=/foo"
193 # and all the variables that are supposed to be based on exec_prefix
194 # by default will actually change.
195 # Use braces instead of parens because sh, perl, etc. also accept them.
196 bindir='${exec_prefix}/bin'
197 sbindir='${exec_prefix}/sbin'
198 libexecdir='${exec_prefix}/libexec'
199 datadir='${prefix}/share'
200 sysconfdir='${prefix}/etc'
201 sharedstatedir='${prefix}/com'
202 localstatedir='${prefix}/var'
203 libdir='${exec_prefix}/lib'
204 includedir='${prefix}/include'
205 oldincludedir='/usr/include'
206 infodir='${prefix}/info'
207 mandir='${prefix}/man'
209 # Identity of this package.
210 PACKAGE_NAME='GNU Bison'
211 PACKAGE_TARNAME='bison'
212 PACKAGE_VERSION='1.29a'
213 PACKAGE_STRING='GNU Bison 1.29a'
214 PACKAGE_BUGREPORT='bug-bison@gnu.org'
219 # If the previous option needs an argument, assign it.
220 if test -n "$ac_prev"; then
221 eval "$ac_prev=\$ac_option"
226 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
228 # Accept the important Cygnus configure options, so we can diagnose typos.
232 -bindir | --bindir | --bindi | --bind | --bin | --bi)
234 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
237 -build | --build | --buil | --bui | --bu)
238 ac_prev=build_alias ;;
239 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
240 build_alias=$ac_optarg ;;
242 -cache-file | --cache-file | --cache-fil | --cache-fi \
243 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
244 ac_prev=cache_file ;;
245 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
246 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
247 cache_file=$ac_optarg ;;
250 cache_file=config.cache ;;
252 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
254 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
256 datadir=$ac_optarg ;;
258 -disable-* | --disable-*)
259 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
260 # Reject names that are not valid shell variable names.
261 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
262 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
263 { (exit 1); exit 1; }; }
264 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
265 eval "enable_$ac_feature=no" ;;
267 -enable-* | --enable-*)
268 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
269 # Reject names that are not valid shell variable names.
270 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
271 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
272 { (exit 1); exit 1; }; }
273 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
275 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
278 eval "enable_$ac_feature='$ac_optarg'" ;;
280 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
281 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
282 | --exec | --exe | --ex)
283 ac_prev=exec_prefix ;;
284 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
285 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
286 | --exec=* | --exe=* | --ex=*)
287 exec_prefix=$ac_optarg ;;
289 -gas | --gas | --ga | --g)
290 # Obsolete; use --with-gas.
293 -help | --help | --hel | --he | -h)
295 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
296 ac_init_help=recursive ;;
297 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
298 ac_init_help=short ;;
300 -host | --host | --hos | --ho)
301 ac_prev=host_alias ;;
302 -host=* | --host=* | --hos=* | --ho=*)
303 host_alias=$ac_optarg ;;
305 -includedir | --includedir | --includedi | --included | --include \
306 | --includ | --inclu | --incl | --inc)
307 ac_prev=includedir ;;
308 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
309 | --includ=* | --inclu=* | --incl=* | --inc=*)
310 includedir=$ac_optarg ;;
312 -infodir | --infodir | --infodi | --infod | --info | --inf)
314 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
315 infodir=$ac_optarg ;;
317 -libdir | --libdir | --libdi | --libd)
319 -libdir=* | --libdir=* | --libdi=* | --libd=*)
322 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
323 | --libexe | --libex | --libe)
324 ac_prev=libexecdir ;;
325 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
326 | --libexe=* | --libex=* | --libe=*)
327 libexecdir=$ac_optarg ;;
329 -localstatedir | --localstatedir | --localstatedi | --localstated \
330 | --localstate | --localstat | --localsta | --localst \
331 | --locals | --local | --loca | --loc | --lo)
332 ac_prev=localstatedir ;;
333 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
334 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
335 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
336 localstatedir=$ac_optarg ;;
338 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
340 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
344 # Obsolete; use --without-fp.
347 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
351 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
352 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
355 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
356 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
357 | --oldin | --oldi | --old | --ol | --o)
358 ac_prev=oldincludedir ;;
359 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
360 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
361 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
362 oldincludedir=$ac_optarg ;;
364 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
366 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
369 -program-prefix | --program-prefix | --program-prefi | --program-pref \
370 | --program-pre | --program-pr | --program-p)
371 ac_prev=program_prefix ;;
372 -program-prefix=* | --program-prefix=* | --program-prefi=* \
373 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
374 program_prefix=$ac_optarg ;;
376 -program-suffix | --program-suffix | --program-suffi | --program-suff \
377 | --program-suf | --program-su | --program-s)
378 ac_prev=program_suffix ;;
379 -program-suffix=* | --program-suffix=* | --program-suffi=* \
380 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
381 program_suffix=$ac_optarg ;;
383 -program-transform-name | --program-transform-name \
384 | --program-transform-nam | --program-transform-na \
385 | --program-transform-n | --program-transform- \
386 | --program-transform | --program-transfor \
387 | --program-transfo | --program-transf \
388 | --program-trans | --program-tran \
389 | --progr-tra | --program-tr | --program-t)
390 ac_prev=program_transform_name ;;
391 -program-transform-name=* | --program-transform-name=* \
392 | --program-transform-nam=* | --program-transform-na=* \
393 | --program-transform-n=* | --program-transform-=* \
394 | --program-transform=* | --program-transfor=* \
395 | --program-transfo=* | --program-transf=* \
396 | --program-trans=* | --program-tran=* \
397 | --progr-tra=* | --program-tr=* | --program-t=*)
398 program_transform_name=$ac_optarg ;;
400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
401 | -silent | --silent | --silen | --sile | --sil)
404 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
406 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
408 sbindir=$ac_optarg ;;
410 -sharedstatedir | --sharedstatedir | --sharedstatedi \
411 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
412 | --sharedst | --shareds | --shared | --share | --shar \
414 ac_prev=sharedstatedir ;;
415 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
416 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
417 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
419 sharedstatedir=$ac_optarg ;;
421 -site | --site | --sit)
423 -site=* | --site=* | --sit=*)
426 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
428 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
431 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
432 | --syscon | --sysco | --sysc | --sys | --sy)
433 ac_prev=sysconfdir ;;
434 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
435 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
436 sysconfdir=$ac_optarg ;;
438 -target | --target | --targe | --targ | --tar | --ta | --t)
439 ac_prev=target_alias ;;
440 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
441 target_alias=$ac_optarg ;;
443 -v | -verbose | --verbose | --verbos | --verbo | --verb)
446 -version | --version | --versio | --versi | --vers | -V)
450 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
451 # Reject names that are not valid shell variable names.
452 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
453 { echo "$as_me: error: invalid package name: $ac_package" >&2
454 { (exit 1); exit 1; }; }
455 ac_package=`echo $ac_package| sed 's/-/_/g'`
457 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
460 eval "with_$ac_package='$ac_optarg'" ;;
462 -without-* | --without-*)
463 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
464 # Reject names that are not valid shell variable names.
465 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
466 { echo "$as_me: error: invalid package name: $ac_package" >&2
467 { (exit 1); exit 1; }; }
468 ac_package=`echo $ac_package | sed 's/-/_/g'`
469 eval "with_$ac_package=no" ;;
472 # Obsolete; use --with-x.
475 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
476 | --x-incl | --x-inc | --x-in | --x-i)
477 ac_prev=x_includes ;;
478 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
479 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
480 x_includes=$ac_optarg ;;
482 -x-libraries | --x-libraries | --x-librarie | --x-librari \
483 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
484 ac_prev=x_libraries ;;
485 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
486 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
487 x_libraries=$ac_optarg ;;
489 -*) { echo "$as_me: error: unrecognized option: $ac_option
490 Try \`$0 --help' for more information." >&2
491 { (exit 1); exit 1; }; }
495 ac_envvar=`expr "x$ac_option" : 'x\
([^
=]*\
)='`
496 # Reject names that are not valid shell variable names.
497 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
498 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
499 { (exit 1); exit 1; }; }
500 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
501 eval "$ac_envvar='$ac_optarg'"
505 # FIXME: should be removed in autoconf 3.0.
506 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
507 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
508 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
509 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
515 if test -n "$ac_prev"; then
516 ac_option=--`echo $ac_prev | sed 's
/_
/-/g
'`
517 { echo "$as_me: error: missing argument to $ac_option" >&2
518 { (exit 1); exit 1; }; }
521 # Be sure to have absolute paths.
522 for ac_var in exec_prefix prefix
524 eval ac_val=$`echo $ac_var`
526 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
527 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
528 { (exit 1); exit 1; }; };;
532 # Be sure to have absolute paths.
533 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
534 localstatedir libdir includedir oldincludedir infodir mandir
536 eval ac_val=$`echo $ac_var`
538 [\\/$]* | ?:[\\/]* ) ;;
539 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
540 { (exit 1); exit 1; }; };;
544 # There might be people who depend on the old broken behavior: `$host'
545 # used to hold the argument of --host etc.
550 # FIXME: should be removed in autoconf 3.0.
551 if test "x$host_alias" != x
; then
552 if test "x$build_alias" = x
; then
553 cross_compiling
=maybe
554 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
555 If a cross compiler is detected then cross compile mode will be used." >&2
556 elif test "x$build_alias" != "x$host_alias"; then
562 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
564 test "$silent" = yes && exec 6>/dev
/null
566 # Find the source files, if location was not specified.
567 if test -z "$srcdir"; then
568 ac_srcdir_defaulted
=yes
569 # Try the directory containing this script, then its parent.
571 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
572 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
574 if test ! -r $srcdir/$ac_unique_file; then
578 ac_srcdir_defaulted
=no
580 if test ! -r $srcdir/$ac_unique_file; then
581 if test "$ac_srcdir_defaulted" = yes; then
582 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
583 { (exit 1); exit 1; }; }
585 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
586 { (exit 1); exit 1; }; }
589 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
590 ac_env_build_alias_set
=${build_alias+set}
591 ac_env_build_alias_value
=$build_alias
592 ac_cv_env_build_alias_set
=${build_alias+set}
593 ac_cv_env_build_alias_value
=$build_alias
594 ac_env_host_alias_set
=${host_alias+set}
595 ac_env_host_alias_value
=$host_alias
596 ac_cv_env_host_alias_set
=${host_alias+set}
597 ac_cv_env_host_alias_value
=$host_alias
598 ac_env_target_alias_set
=${target_alias+set}
599 ac_env_target_alias_value
=$target_alias
600 ac_cv_env_target_alias_set
=${target_alias+set}
601 ac_cv_env_target_alias_value
=$target_alias
602 ac_env_CC_set
=${CC+set}
604 ac_cv_env_CC_set
=${CC+set}
605 ac_cv_env_CC_value
=$CC
606 ac_env_CFLAGS_set
=${CFLAGS+set}
607 ac_env_CFLAGS_value
=$CFLAGS
608 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
609 ac_cv_env_CFLAGS_value
=$CFLAGS
610 ac_env_LDFLAGS_set
=${LDFLAGS+set}
611 ac_env_LDFLAGS_value
=$LDFLAGS
612 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
613 ac_cv_env_LDFLAGS_value
=$LDFLAGS
614 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
615 ac_env_CPPFLAGS_value
=$CPPFLAGS
616 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
617 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
618 ac_env_CPP_set
=${CPP+set}
619 ac_env_CPP_value
=$CPP
620 ac_cv_env_CPP_set
=${CPP+set}
621 ac_cv_env_CPP_value
=$CPP
624 # Report the --help message.
626 if test "$ac_init_help" = "long"; then
627 # Omit some internal or obsolete options to make the list less imposing.
628 # This message is too long to be a string in the A/UX 3.1 sh.
630 \`configure' configures GNU Bison 1.29a to adapt to many kinds of systems.
632 Usage: $0 [OPTION]... [VAR=VALUE]...
634 To assign environment variables (e.g., CC, CFLAGS...), specify them as
635 VAR=VALUE. See below for descriptions of some of the useful variables.
637 Defaults for the options are specified in brackets.
640 -h, --help display this help and exit
641 --help=short display options specific to this package
642 --help=recursive display the short help of all the included packages
643 -V, --version display version information and exit
644 -q, --quiet, --silent do not print \`checking...' messages
645 --cache-file=FILE cache test results in FILE [disabled]
646 -C, --config-cache alias for \`--cache-file=config.cache'
647 -n, --no-create do not create output files
648 --srcdir=DIR find the sources in DIR [configure dir or \`..']
653 Installation directories:
654 --prefix=PREFIX install architecture-independent files in PREFIX
656 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
659 By default, \`make install' will install all the files in
660 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
661 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
662 for instance \`--prefix=\$HOME'.
664 For better control, use the options below.
666 Fine tuning of the installation directories:
667 --bindir=DIR user executables [EPREFIX/bin]
668 --sbindir=DIR system admin executables [EPREFIX/sbin]
669 --libexecdir=DIR program executables [EPREFIX/libexec]
670 --datadir=DIR read-only architecture-independent data [PREFIX/share]
671 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
672 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
673 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
674 --libdir=DIR object code libraries [EPREFIX/lib]
675 --includedir=DIR C header files [PREFIX/include]
676 --oldincludedir=DIR C header files for non-gcc [/usr/include]
677 --infodir=DIR info documentation [PREFIX/info]
678 --mandir=DIR man documentation [PREFIX/man]
684 --program-prefix=PREFIX prepend PREFIX to installed program names
685 --program-suffix=SUFFIX append SUFFIX to installed program names
686 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
689 --build=BUILD configure
for building on BUILD
[guessed
]
690 --host=HOST build programs to run on HOST
[BUILD
]
694 if test -n "$ac_init_help"; then
695 case $ac_init_help in
696 short
| recursive
) echo "Configuration of GNU Bison 1.29a:";;
701 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
702 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
703 --disable-dependency-tracking Speeds up one
-time builds
704 --enable-dependency-tracking Do not reject slow dependency extractors
705 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
706 --disable-nls do not use Native Language Support
709 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
710 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
711 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
712 --with-included-gettext use the GNU
gettext library included here
714 Some influential environment variables
:
715 CC C compiler
command
716 CFLAGS C compiler flags
717 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
718 nonstandard directory
<lib dir
>
719 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
720 headers
in a nonstandard directory
<include dir
>
723 Use these variables to override the choices made by
`configure' or to help
724 it to find libraries and programs with nonstandard names/locations.
726 Report bugs to <bug-bison@gnu.org>.
730 if test "$ac_init_help" = "recursive"; then
731 # If there are subdirs, report their specific --help.
733 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
735 if test "$ac_dir" != .; then
736 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
737 # A "../" for each directory in $ac_dir_suffix.
738 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
740 ac_dir_suffix= ac_top_builddir=
744 .) # No --srcdir option. We are building in place.
746 if test -z "$ac_top_builddir"; then
749 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
751 [\\/]* | ?:[\\/]* ) # Absolute path.
752 ac_srcdir=$srcdir$ac_dir_suffix;
753 ac_top_srcdir=$srcdir ;;
755 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
756 ac_top_srcdir=$ac_top_builddir$srcdir ;;
759 # Check for guested configure; otherwise get Cygnus style configure.
760 if test -f $ac_srcdir/configure.gnu; then
762 $SHELL $ac_srcdir/configure.gnu --help=recursive
763 elif test -f $ac_srcdir/configure; then
765 $SHELL $ac_srcdir/configure --help=recursive
766 elif test -f $ac_srcdir/configure.ac ||
767 test -f $ac_srcdir/configure.in; then
771 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
777 test -n "$ac_init_help" && exit 0
778 if $ac_init_version; then
780 GNU Bison configure 1.29a
781 generated by GNU Autoconf 2.52e
783 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
784 Free Software Foundation, Inc.
785 This configure script is free software; the Free Software Foundation
786 gives unlimited permission to copy, distribute and modify it.
792 This file contains any messages produced by compilers while
793 running configure, to aid debugging if configure makes a mistake.
795 It was created by GNU Bison $as_me 1.29a, which was
796 generated by GNU Autoconf 2.52e. Invocation command line was
807 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
808 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
809 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
810 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
811 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
813 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
814 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
816 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
817 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
818 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
819 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
820 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
821 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
822 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
830 test -z "$as_dir" && as_dir=.
844 # Keep a trace of the command line.
845 # Strip out --no-create and --no-recursion so they do not pile up.
846 # Also quote any args containing shell meta-characters.
852 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
853 | --no-cr | --no-c) ;;
854 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
855 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
856 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
857 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
858 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
860 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
863 # Get rid of the leading space.
866 # When interrupted or exit'd, cleanup temporary files, and complete
867 # config.log. We remove comments because anyway the quotes in there
868 # would cause problems or look ugly.
869 # WARNING: Be sure not to use single quotes in there, as some shells,
870 # such as our DU 5.0 friend, will then `close
' the trap.
872 # Save into config.log some information that might help in debugging.
876 ## ---------------- ##
877 ## Cache variables. ##
878 ## ---------------- ##
881 # The following way of writing the cache mishandles newlines in values,
884 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
887 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
892 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
897 if test -s confdefs.h
; then
904 sed "/^$/d" confdefs.h
907 test "$ac_signal" != 0 &&
908 echo "$as_me: caught signal $ac_signal"
909 echo "$as_me: exit $exit_status"
911 rm -rf conftest
* confdefs
* core core.
* *.core conf$$
* $ac_clean_files &&
914 for ac_signal in 1 2 13 15; do
915 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
919 # confdefs.h avoids OS command line length limits that DEFS can exceed.
920 rm -rf conftest* confdefs.h
921 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
924 # Let the site file select an alternate cache file if it wants to.
925 # Prefer explicitly selected file to automatically selected ones.
926 if test -z "$CONFIG_SITE"; then
927 if test "x$prefix" != xNONE; then
928 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
930 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
933 for ac_site_file in $CONFIG_SITE; do
934 if test -r "$ac_site_file"; then
935 { echo "$as_me:935: loading site script $ac_site_file" >&5
936 echo "$as_me: loading site script $ac_site_file" >&6;}
937 sed 's
/^
/| /' "$ac_site_file" >&5
942 if test -r "$cache_file"; then
943 # Some versions of bash will fail to source /dev/null (special
944 # files actually), so we avoid doing that.
945 if test -f "$cache_file"; then
946 { echo "$as_me:946: loading cache $cache_file" >&5
947 echo "$as_me: loading cache $cache_file" >&6;}
949 [\\/]* | ?:[\\/]* ) . $cache_file;;
954 { echo "$as_me:954: creating cache $cache_file" >&5
955 echo "$as_me: creating cache $cache_file" >&6;}
959 # Check that the precious variables saved in the cache have kept the same
961 ac_cache_corrupted=false
962 for ac_var in `(set) 2>&1 |
963 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
964 eval ac_old_set=\$ac_cv_env_${ac_var}_set
965 eval ac_new_set=\$ac_env_${ac_var}_set
966 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
967 eval ac_new_val="\$ac_env_${ac_var}_value"
968 case $ac_old_set,$ac_new_set in
970 { echo "$as_me:970: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
971 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
972 ac_cache_corrupted=: ;;
974 { echo "$as_me:974: error
: \
`$ac_var' was not set in the previous run" >&5
975 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
976 ac_cache_corrupted=: ;;
979 if test "x$ac_old_val" != "x$ac_new_val"; then
980 { echo "$as_me:980: error: \`$ac_var' has changed since the previous run
:" >&5
981 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
982 { echo "$as_me:982: former value: $ac_old_val" >&5
983 echo "$as_me: former value: $ac_old_val" >&2;}
984 { echo "$as_me:984: current value: $ac_new_val" >&5
985 echo "$as_me: current value: $ac_new_val" >&2;}
989 # Pass precious variables to config.status. It doesn't matter if
990 # we pass some twice (in addition to the command line arguments).
991 if test "$ac_new_set" = set; then
993 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
994 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
995 ac_configure_args="$ac_configure_args '$ac_arg'"
997 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1002 if $ac_cache_corrupted; then
1003 { echo "$as_me:1003: error: changes in the environment can compromise the build" >&5
1004 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1005 { { echo "$as_me:1005: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1006 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1007 { (exit 1); exit 1; }; }
1011 ac_cpp='$CPP $CPPFLAGS'
1012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1017 for ac_dir in config $srcdir/config; do
1018 if test -f $ac_dir/install-sh; then
1020 ac_install_sh="$ac_aux_dir/install-sh -c"
1022 elif test -f $ac_dir/install.sh; then
1024 ac_install_sh="$ac_aux_dir/install.sh -c"
1026 elif test -f $ac_dir/shtool; then
1028 ac_install_sh="$ac_aux_dir/shtool install -c"
1032 if test -z "$ac_aux_dir"; then
1033 { { echo "$as_me:1033: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1034 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1035 { (exit 1); exit 1; }; }
1037 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1038 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1039 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1041 # Find a good install program. We prefer a C program (faster),
1042 # so one script is as good as another. But avoid the broken or
1043 # incompatible versions:
1044 # SysV /etc/install, /usr/sbin/install
1045 # SunOS /usr/etc/install
1046 # IRIX /sbin/install
1048 # AmigaOS /C/install, which installs bootblocks on floppy discs
1049 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1052 # ./install, which can be erroneously created by make from ./install.sh.
1053 echo "$as_me:1053: checking for a BSD compatible install" >&5
1054 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1055 if test -z "$INSTALL"; then
1056 if test "${ac_cv_path_install+set}" = set; then
1057 echo $ECHO_N "(cached) $ECHO_C" >&6
1059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1063 test -z "$as_dir" && as_dir
=.
1064 # Account for people who put trailing slashes in PATH elements.
1066 .
/ | .
// | /cC
/* | \
1067 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1070 # OSF1 and SCO ODT 3.0 have their own names for install.
1071 # Don't use installbsd from OSF since it installs stuff as root
1073 for ac_prog
in ginstall scoinst
install; do
1074 if $as_executable_p "$as_dir/$ac_prog"; then
1075 if test $ac_prog = install &&
1076 grep dspmsg
"$as_dir/$ac_prog" >/dev
/null
2>&1; then
1077 # AIX install. It has an incompatible calling convention.
1079 elif test $ac_prog = install &&
1080 grep pwplus
"$as_dir/$ac_prog" >/dev
/null
2>&1; then
1081 # program-specific install script used by HP pwplus--don't use.
1084 ac_cv_path_install
="$as_dir/$ac_prog -c"
1094 if test "${ac_cv_path_install+set}" = set; then
1095 INSTALL
=$ac_cv_path_install
1097 # As a last resort, use the slow shell script. We don't cache a
1098 # path for INSTALL within a source directory, because that will
1099 # break other packages using the cache if that directory is
1100 # removed, or if the path is relative.
1101 INSTALL
=$ac_install_sh
1104 echo "$as_me:1104: result: $INSTALL" >&5
1105 echo "${ECHO_T}$INSTALL" >&6
1107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1108 # It thinks the first close brace ends the variable substitution.
1109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1113 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1115 echo "$as_me:1115: checking whether build environment is sane" >&5
1116 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1119 echo timestamp
> conftest.
file
1120 # Do `set' in a subshell so we don't clobber the current shell's
1121 # arguments. Must try -L first in case configure is actually a
1122 # symlink; some systems play weird games with the mod time of symlinks
1123 # (eg FreeBSD returns the mod time of the symlink's containing
1126 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1127 if test "$*" = "X"; then
1129 set X
`ls -t $srcdir/configure conftest.file`
1132 if test "$*" != "X $srcdir/configure conftest.file" \
1133 && test "$*" != "X conftest.file $srcdir/configure"; then
1135 # If neither matched, then we have a broken ls. This can happen
1136 # if, for instance, CONFIG_SHELL is bash and it inherits a
1137 # broken ls alias from the environment. This has actually
1138 # happened. Such a system could not be considered "sane".
1139 { { echo "$as_me:1139: error: ls -t appears to fail. Make sure there is not a broken
1140 alias in your environment" >&5
1141 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1142 alias in your environment" >&2;}
1143 { (exit 1); exit 1; }; }
1146 test "$2" = conftest.
file
1152 { { echo "$as_me:1152: error: newly created file is older than distributed files!
1153 Check your system clock" >&5
1154 echo "$as_me: error: newly created file is older than distributed files!
1155 Check your system clock" >&2;}
1156 { (exit 1); exit 1; }; }
1158 echo "$as_me:1158: result: yes" >&5
1159 echo "${ECHO_T}yes" >&6
1160 test "$program_prefix" != NONE
&&
1161 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1162 # Use a double $ so make ignores it.
1163 test "$program_suffix" != NONE
&&
1164 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1165 # Double any \ or $. echo might interpret backslashes.
1166 # By default was `s,x,x', remove it if useless.
1167 cat <<\_ACEOF
>conftest.
sed
1168 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1170 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1173 # expand $ac_aux_dir to an absolute path
1174 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1176 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1177 # Use eval to expand $SHELL
1178 if eval "$MISSING --run true"; then
1179 am_missing_run
="$MISSING --run "
1183 { echo "$as_me:1183: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1184 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1187 for ac_prog
in mawk gawk nawk
awk
1189 # Extract the first word of "$ac_prog", so it can be a program name with args.
1190 set dummy
$ac_prog; ac_word
=$2
1191 echo "$as_me:1191: checking for $ac_word" >&5
1192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1193 if test "${ac_cv_prog_AWK+set}" = set; then
1194 echo $ECHO_N "(cached) $ECHO_C" >&6
1196 if test -n "$AWK"; then
1197 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1203 test -z "$as_dir" && as_dir
=.
1204 $as_executable_p "$as_dir/$ac_word" || continue
1205 ac_cv_prog_AWK
="$ac_prog"
1206 echo "$as_me:1206: found $as_dir/$ac_word" >&5
1213 if test -n "$AWK"; then
1214 echo "$as_me:1214: result: $AWK" >&5
1215 echo "${ECHO_T}$AWK" >&6
1217 echo "$as_me:1217: result: no" >&5
1218 echo "${ECHO_T}no" >&6
1221 test -n "$AWK" && break
1224 echo "$as_me:1224: checking whether ${MAKE-make} sets \${MAKE}" >&5
1225 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1226 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1227 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1228 echo $ECHO_N "(cached) $ECHO_C" >&6
1230 cat >conftest.
make <<\_ACEOF
1232 @
echo 'ac_maketemp="${MAKE}"'
1234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1235 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1236 if test -n "$ac_maketemp"; then
1237 eval ac_cv_prog_make_
${ac_make}_set
=yes
1239 eval ac_cv_prog_make_
${ac_make}_set
=no
1243 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1244 echo "$as_me:1244: result: yes" >&5
1245 echo "${ECHO_T}yes" >&6
1248 echo "$as_me:1248: result: no" >&5
1249 echo "${ECHO_T}no" >&6
1250 SET_MAKE
="MAKE=${MAKE-make}"
1253 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1254 if test "${enable_dependency_tracking+set}" = set; then
1255 enableval
="$enable_dependency_tracking"
1258 if test "x$enable_dependency_tracking" != xno
; then
1259 am_depcomp
="$ac_aux_dir/depcomp"
1263 if test "x$enable_dependency_tracking" != xno; then
1271 rm -f .deps
2>/dev
/null
1272 mkdir .deps
2>/dev
/null
1273 if test -d .deps
; then
1276 # MS-DOS does not allow filenames that begin with a dot.
1279 rmdir .deps
2>/dev
/null
1281 # test to see if srcdir already configured
1282 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1283 test -f $srcdir/config.status
; then
1284 { { echo "$as_me:1284: error: source directory already configured; run \"make distclean\" there first" >&5
1285 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1286 { (exit 1); exit 1; }; }
1289 # Define the identity of the package.
1293 cat >>confdefs.h
<<_ACEOF
1294 #define PACKAGE "$PACKAGE"
1297 cat >>confdefs.h
<<_ACEOF
1298 #define VERSION "$VERSION"
1301 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1302 # the ones we care about.
1304 # Autoconf 2.50 always computes EXEEXT. However we need to be
1305 # compatible with 2.13, for now. So we always define EXEEXT, but we
1308 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1309 # requests that it be used. This is a bit dumb.
1312 # Some tools Automake needs.
1314 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1316 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1318 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1320 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1322 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1324 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1326 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1328 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1330 # We need awk for the "check" target. The system "awk" is bad on
1333 ac_config_headers
="$ac_config_headers config.h:config.hin"
1335 # Initialize the test suite.
1336 ac_config_commands
="$ac_config_commands tests/atconfig"
1338 if test -f $srcdir/tests
/atlocal.
in; then
1339 ac_config_files
="$ac_config_files tests/atlocal"
1343 # Checks for programs.
1345 ac_cpp
='$CPP $CPPFLAGS'
1346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1349 if test -n "$ac_tool_prefix"; then
1350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1351 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1352 echo "$as_me:1352: checking for $ac_word" >&5
1353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1354 if test "${ac_cv_prog_CC+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 if test -n "$CC"; then
1358 ac_cv_prog_CC
="$CC" # Let the user override the test.
1360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1364 test -z "$as_dir" && as_dir
=.
1365 $as_executable_p "$as_dir/$ac_word" || continue
1366 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1367 echo "$as_me:1367: found $as_dir/$ac_word" >&5
1374 if test -n "$CC"; then
1375 echo "$as_me:1375: result: $CC" >&5
1376 echo "${ECHO_T}$CC" >&6
1378 echo "$as_me:1378: result: no" >&5
1379 echo "${ECHO_T}no" >&6
1383 if test -z "$ac_cv_prog_CC"; then
1385 # Extract the first word of "gcc", so it can be a program name with args.
1386 set dummy gcc
; ac_word
=$2
1387 echo "$as_me:1387: checking for $ac_word" >&5
1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 if test -n "$ac_ct_CC"; then
1393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir
=.
1400 $as_executable_p "$as_dir/$ac_word" || continue
1401 ac_cv_prog_ac_ct_CC
="gcc"
1402 echo "$as_me:1402: found $as_dir/$ac_word" >&5
1408 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1409 if test -n "$ac_ct_CC"; then
1410 echo "$as_me:1410: result: $ac_ct_CC" >&5
1411 echo "${ECHO_T}$ac_ct_CC" >&6
1413 echo "$as_me:1413: result: no" >&5
1414 echo "${ECHO_T}no" >&6
1422 if test -z "$CC"; then
1423 if test -n "$ac_tool_prefix"; then
1424 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1425 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1426 echo "$as_me:1426: checking for $ac_word" >&5
1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1428 if test "${ac_cv_prog_CC+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 if test -n "$CC"; then
1432 ac_cv_prog_CC
="$CC" # Let the user override the test.
1434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir
=.
1439 $as_executable_p "$as_dir/$ac_word" || continue
1440 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1441 echo "$as_me:1441: found $as_dir/$ac_word" >&5
1448 if test -n "$CC"; then
1449 echo "$as_me:1449: result: $CC" >&5
1450 echo "${ECHO_T}$CC" >&6
1452 echo "$as_me:1452: result: no" >&5
1453 echo "${ECHO_T}no" >&6
1457 if test -z "$ac_cv_prog_CC"; then
1459 # Extract the first word of "cc", so it can be a program name with args.
1460 set dummy cc
; ac_word
=$2
1461 echo "$as_me:1461: checking for $ac_word" >&5
1462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 if test -n "$ac_ct_CC"; then
1467 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1473 test -z "$as_dir" && as_dir
=.
1474 $as_executable_p "$as_dir/$ac_word" || continue
1475 ac_cv_prog_ac_ct_CC
="cc"
1476 echo "$as_me:1476: found $as_dir/$ac_word" >&5
1482 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1483 if test -n "$ac_ct_CC"; then
1484 echo "$as_me:1484: result: $ac_ct_CC" >&5
1485 echo "${ECHO_T}$ac_ct_CC" >&6
1487 echo "$as_me:1487: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1497 if test -z "$CC"; then
1498 # Extract the first word of "cc", so it can be a program name with args.
1499 set dummy cc
; ac_word
=$2
1500 echo "$as_me:1500: checking for $ac_word" >&5
1501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502 if test "${ac_cv_prog_CC+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 if test -n "$CC"; then
1506 ac_cv_prog_CC
="$CC" # Let the user override the test.
1509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir
=.
1514 $as_executable_p "$as_dir/$ac_word" || continue
1515 if test "$as_dir/$ac_word" = "/usr/ucb/cc"; then
1516 ac_prog_rejected
=yes
1520 echo "$as_me:1520: found $as_dir/$ac_word" >&5
1524 if test $ac_prog_rejected = yes; then
1525 # We found a bogon in the path, so make sure we never use it.
1526 set dummy
$ac_cv_prog_CC
1528 if test $# != 0; then
1529 # We chose a different compiler from the bogus one.
1530 # However, it has the same basename, so the bogon will be chosen
1531 # first if we set CC to just the basename; use the full file name.
1533 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1541 if test -n "$CC"; then
1542 echo "$as_me:1542: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:1545: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1550 if test -z "$CC"; then
1551 if test -n "$ac_tool_prefix"; then
1554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1556 echo "$as_me:1556: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$CC"; then
1562 ac_cv_prog_CC
="$CC" # Let the user override the test.
1564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir
=.
1569 $as_executable_p "$as_dir/$ac_word" || continue
1570 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1571 echo "$as_me:1571: found $as_dir/$ac_word" >&5
1578 if test -n "$CC"; then
1579 echo "$as_me:1579: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:1582: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1586 test -n "$CC" && break
1589 if test -z "$CC"; then
1593 # Extract the first word of "$ac_prog", so it can be a program name with args.
1594 set dummy
$ac_prog; ac_word
=$2
1595 echo "$as_me:1595: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$ac_ct_CC"; then
1601 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1607 test -z "$as_dir" && as_dir
=.
1608 $as_executable_p "$as_dir/$ac_word" || continue
1609 ac_cv_prog_ac_ct_CC
="$ac_prog"
1610 echo "$as_me:1610: found $as_dir/$ac_word" >&5
1616 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1617 if test -n "$ac_ct_CC"; then
1618 echo "$as_me:1618: result: $ac_ct_CC" >&5
1619 echo "${ECHO_T}$ac_ct_CC" >&6
1621 echo "$as_me:1621: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1625 test -n "$ac_ct_CC" && break
1633 test -z "$CC" && { { echo "$as_me:1633: error: no acceptable cc found in \$PATH" >&5
1634 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1635 { (exit 1); exit 1; }; }
1637 # Provide some information about the compiler.
1638 echo "$as_me:1638:" \
1639 "checking for C compiler version" >&5
1640 ac_compiler
=`set X $ac_compile; echo $2`
1641 { (eval echo "$as_me:1641: \"$ac_compiler --version </dev/null >&5\"") >&5
1642 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1644 echo "$as_me:1644: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1646 { (eval echo "$as_me:1646: \"$ac_compiler -v </dev/null >&5\"") >&5
1647 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1649 echo "$as_me:1649: \$? = $ac_status" >&5
1650 (exit $ac_status); }
1651 { (eval echo "$as_me:1651: \"$ac_compiler -V </dev/null >&5\"") >&5
1652 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1654 echo "$as_me:1654: \$? = $ac_status" >&5
1655 (exit $ac_status); }
1657 cat >conftest.
$ac_ext <<_ACEOF
1658 #line 1658 "configure"
1659 #include "confdefs.h"
1661 #ifdef F77_DUMMY_MAIN
1665 int F77_DUMMY_MAIN() { return 1; }
1675 ac_clean_files_save
=$ac_clean_files
1676 ac_clean_files
="$ac_clean_files a.out a.exe"
1677 # Try to create an executable without -o first, disregard a.out.
1678 # It will help us diagnose broken compilers, and finding out an intuition
1680 echo "$as_me:1680: checking for C compiler default output" >&5
1681 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1682 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1683 if { (eval echo "$as_me:1683: \"$ac_link_default\"") >&5
1684 (eval $ac_link_default) 2>&5
1686 echo "$as_me:1686: \$? = $ac_status" >&5
1687 (exit $ac_status); }; then
1688 # Find the output, starting from the most likely. This scheme is
1689 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1691 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
1692 ls a.out conftest 2>/dev/null;
1693 ls a.* conftest.* 2>/dev/null`; do
1695 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1696 a.out
) # We found the default executable, but exeext='' is most
1699 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1700 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1707 echo "$as_me: failed program was:" >&5
1708 cat conftest.
$ac_ext >&5
1709 { { echo "$as_me:1709: error: C compiler cannot create executables" >&5
1710 echo "$as_me: error: C compiler cannot create executables" >&2;}
1711 { (exit 77); exit 77; }; }
1714 ac_exeext
=$ac_cv_exeext
1715 echo "$as_me:1715: result: $ac_file" >&5
1716 echo "${ECHO_T}$ac_file" >&6
1718 # Check the compiler produces executables we can run. If not, either
1719 # the compiler is broken, or we cross compile.
1720 echo "$as_me:1720: checking whether the C compiler works" >&5
1721 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1722 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1723 # If not cross compiling, check that we can run a simple program.
1724 if test "$cross_compiling" != yes; then
1725 if { ac_try
='./$ac_file'
1726 { (eval echo "$as_me:1726: \"$ac_try\"") >&5
1729 echo "$as_me:1729: \$? = $ac_status" >&5
1730 (exit $ac_status); }; }; then
1733 if test "$cross_compiling" = maybe
; then
1736 { { echo "$as_me:1736: error: cannot run C compiled programs.
1737 If you meant to cross compile, use \`--host'." >&5
1738 echo "$as_me: error: cannot run C compiled programs.
1739 If you meant to cross compile, use \`--host'." >&2;}
1740 { (exit 1); exit 1; }; }
1744 echo "$as_me:1744: result: yes" >&5
1745 echo "${ECHO_T}yes" >&6
1747 rm -f a.out a.exe conftest
$ac_cv_exeext
1748 ac_clean_files
=$ac_clean_files_save
1749 # Check the compiler produces executables we can run. If not, either
1750 # the compiler is broken, or we cross compile.
1751 echo "$as_me:1751: checking whether we are cross compiling" >&5
1752 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1753 echo "$as_me:1753: result: $cross_compiling" >&5
1754 echo "${ECHO_T}$cross_compiling" >&6
1756 echo "$as_me:1756: checking for executable suffix" >&5
1757 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1758 if { (eval echo "$as_me:1758: \"$ac_link\"") >&5
1759 (eval $ac_link) 2>&5
1761 echo "$as_me:1761: \$? = $ac_status" >&5
1762 (exit $ac_status); }; then
1763 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1764 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1765 # work properly (i.e., refer to `conftest.exe'), while it won't with
1767 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1769 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1770 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1777 { { echo "$as_me:1777: error: cannot compute EXEEXT: cannot compile and link" >&5
1778 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1779 { (exit 1); exit 1; }; }
1782 rm -f conftest
$ac_cv_exeext
1783 echo "$as_me:1783: result: $ac_cv_exeext" >&5
1784 echo "${ECHO_T}$ac_cv_exeext" >&6
1786 rm -f conftest.
$ac_ext
1787 EXEEXT
=$ac_cv_exeext
1789 echo "$as_me:1789: checking for object suffix" >&5
1790 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1791 if test "${ac_cv_objext+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 cat >conftest.
$ac_ext <<_ACEOF
1795 #line 1795 "configure"
1796 #include "confdefs.h"
1798 #ifdef F77_DUMMY_MAIN
1802 int F77_DUMMY_MAIN() { return 1; }
1812 rm -f conftest.o conftest.obj
1813 if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5
1814 (eval $ac_compile) 2>&5
1816 echo "$as_me:1816: \$? = $ac_status" >&5
1817 (exit $ac_status); }; then
1818 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1820 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1821 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1826 echo "$as_me: failed program was:" >&5
1827 cat conftest.
$ac_ext >&5
1828 { { echo "$as_me:1828: error: cannot compute OBJEXT: cannot compile" >&5
1829 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1830 { (exit 1); exit 1; }; }
1833 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1835 echo "$as_me:1835: result: $ac_cv_objext" >&5
1836 echo "${ECHO_T}$ac_cv_objext" >&6
1837 OBJEXT
=$ac_cv_objext
1839 echo "$as_me:1839: checking whether we are using the GNU C compiler" >&5
1840 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1841 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 cat >conftest.
$ac_ext <<_ACEOF
1845 #line 1845 "configure"
1846 #include "confdefs.h"
1848 #ifdef F77_DUMMY_MAIN
1852 int F77_DUMMY_MAIN() { return 1; }
1865 rm -f conftest.
$ac_objext
1866 if { (eval echo "$as_me:1866: \"$ac_compile\"") >&5
1867 (eval $ac_compile) 2>&5
1869 echo "$as_me:1869: \$? = $ac_status" >&5
1870 (exit $ac_status); } &&
1871 { ac_try
='test -s conftest.$ac_objext'
1872 { (eval echo "$as_me:1872: \"$ac_try\"") >&5
1875 echo "$as_me:1875: \$? = $ac_status" >&5
1876 (exit $ac_status); }; }; then
1879 echo "$as_me: failed program was:" >&5
1880 cat conftest.
$ac_ext >&5
1883 rm -f conftest.
$ac_objext conftest.
$ac_ext
1884 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1887 echo "$as_me:1887: result: $ac_cv_c_compiler_gnu" >&5
1888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1889 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1890 ac_test_CFLAGS
=${CFLAGS+set}
1891 ac_save_CFLAGS
=$CFLAGS
1893 echo "$as_me:1893: checking whether $CC accepts -g" >&5
1894 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1895 if test "${ac_cv_prog_cc_g+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 cat >conftest.
$ac_ext <<_ACEOF
1899 #line 1899 "configure"
1900 #include "confdefs.h"
1902 #ifdef F77_DUMMY_MAIN
1906 int F77_DUMMY_MAIN() { return 1; }
1916 rm -f conftest.
$ac_objext
1917 if { (eval echo "$as_me:1917: \"$ac_compile\"") >&5
1918 (eval $ac_compile) 2>&5
1920 echo "$as_me:1920: \$? = $ac_status" >&5
1921 (exit $ac_status); } &&
1922 { ac_try
='test -s conftest.$ac_objext'
1923 { (eval echo "$as_me:1923: \"$ac_try\"") >&5
1926 echo "$as_me:1926: \$? = $ac_status" >&5
1927 (exit $ac_status); }; }; then
1930 echo "$as_me: failed program was:" >&5
1931 cat conftest.
$ac_ext >&5
1934 rm -f conftest.
$ac_objext conftest.
$ac_ext
1936 echo "$as_me:1936: result: $ac_cv_prog_cc_g" >&5
1937 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1938 if test "$ac_test_CFLAGS" = set; then
1939 CFLAGS
=$ac_save_CFLAGS
1940 elif test $ac_cv_prog_cc_g = yes; then
1941 if test "$GCC" = yes; then
1947 if test "$GCC" = yes; then
1953 # Some people use a C++ compiler to compile C. Since we use `exit',
1954 # in C++ we need to declare it. In case someone uses the same compiler
1955 # for both compiling C and C++ we need to have the C++ compiler decide
1956 # the declaration of exit, since it's the most demanding environment.
1957 cat >conftest.
$ac_ext <<_ACEOF
1962 rm -f conftest.
$ac_objext
1963 if { (eval echo "$as_me:1963: \"$ac_compile\"") >&5
1964 (eval $ac_compile) 2>&5
1966 echo "$as_me:1966: \$? = $ac_status" >&5
1967 (exit $ac_status); } &&
1968 { ac_try
='test -s conftest.$ac_objext'
1969 { (eval echo "$as_me:1969: \"$ac_try\"") >&5
1972 echo "$as_me:1972: \$? = $ac_status" >&5
1973 (exit $ac_status); }; }; then
1974 for ac_declaration
in \
1976 '#include <stdlib.h>' \
1977 'extern "C" void std::exit (int) throw (); using std::exit;' \
1978 'extern "C" void std::exit (int); using std::exit;' \
1979 'extern "C" void exit (int) throw ();' \
1980 'extern "C" void exit (int);' \
1983 cat >conftest.
$ac_ext <<_ACEOF
1984 #line 1984 "configure"
1985 #include "confdefs.h"
1988 #ifdef F77_DUMMY_MAIN
1992 int F77_DUMMY_MAIN() { return 1; }
2002 rm -f conftest.
$ac_objext
2003 if { (eval echo "$as_me:2003: \"$ac_compile\"") >&5
2004 (eval $ac_compile) 2>&5
2006 echo "$as_me:2006: \$? = $ac_status" >&5
2007 (exit $ac_status); } &&
2008 { ac_try
='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:2009: \"$ac_try\"") >&5
2012 echo "$as_me:2012: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2016 echo "$as_me: failed program was:" >&5
2017 cat conftest.
$ac_ext >&5
2020 rm -f conftest.
$ac_objext conftest.
$ac_ext
2021 cat >conftest.
$ac_ext <<_ACEOF
2022 #line 2022 "configure"
2023 #include "confdefs.h"
2025 #ifdef F77_DUMMY_MAIN
2029 int F77_DUMMY_MAIN() { return 1; }
2039 rm -f conftest.
$ac_objext
2040 if { (eval echo "$as_me:2040: \"$ac_compile\"") >&5
2041 (eval $ac_compile) 2>&5
2043 echo "$as_me:2043: \$? = $ac_status" >&5
2044 (exit $ac_status); } &&
2045 { ac_try
='test -s conftest.$ac_objext'
2046 { (eval echo "$as_me:2046: \"$ac_try\"") >&5
2049 echo "$as_me:2049: \$? = $ac_status" >&5
2050 (exit $ac_status); }; }; then
2053 echo "$as_me: failed program was:" >&5
2054 cat conftest.
$ac_ext >&5
2056 rm -f conftest.
$ac_objext conftest.
$ac_ext
2059 if test -n "$ac_declaration"; then
2060 echo '#ifdef __cplusplus' >>confdefs.h
2061 echo $ac_declaration >>confdefs.h
2062 echo '#endif' >>confdefs.h
2066 echo "$as_me: failed program was:" >&5
2067 cat conftest.
$ac_ext >&5
2069 rm -f conftest.
$ac_objext conftest.
$ac_ext
2071 ac_cpp
='$CPP $CPPFLAGS'
2072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2076 ac_config_commands
="$ac_config_commands default-1"
2078 am_make
=${MAKE-make}
2079 cat > confinc
<< 'END'
2083 # If we don't find an include directive, just comment out the code.
2084 echo "$as_me:2084: checking for style of include used by $am_make" >&5
2085 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2089 # First try GNU make style include.
2090 echo "include confinc" > confmf
2091 # We grep out `Entering directory' and `Leaving directory'
2092 # messages which can occur if `w' ends up in MAKEFLAGS.
2093 # In particular we don't look at `^make:' because GNU make might
2094 # be invoked under some other name (usually "gmake"), in which
2095 # case it prints its new name instead of `make'.
2096 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2101 # Now try BSD make style include.
2102 if test "$am__include" = "#"; then
2103 echo '.include "confinc"' > confmf
2104 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2105 am__include
=.include
2111 echo "$as_me:2111: result: $_am_result" >&5
2112 echo "${ECHO_T}$_am_result" >&6
2113 rm -f confinc confmf
2115 depcc
="$CC" am_compiler_list
=
2117 echo "$as_me:2117: checking dependency style of $depcc" >&5
2118 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2119 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2123 # We make a subdir and do the tests there. Otherwise we can end up
2124 # making bogus files that we don't know about and never remove. For
2125 # instance it was reported that on HP-UX the gcc test will end up
2126 # making a dummy file named `D' -- because `-MD' means `put the output
2129 # Copy depcomp to subdir because otherwise we won't find it if we're
2130 # using a relative directory.
2131 cp "$am_depcomp" conftest.dir
2134 am_cv_CC_dependencies_compiler_type
=none
2135 if test "$am_compiler_list" = ""; then
2136 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2138 for depmode
in $am_compiler_list; do
2139 # We need to recreate these files for each test, as the compiler may
2140 # overwrite some of them when testing with obscure command lines.
2141 # This happens at least with the AIX C compiler.
2142 echo '#include "conftest.h"' > conftest.c
2143 echo 'int i;' > conftest.h
2144 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2148 # after this tag, mechanisms are not by side-effect, so they'll
2149 # only be used when explicitly requested
2150 if test "x$enable_dependency_tracking" = xyes
; then
2158 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2159 # mode. It turns out that the SunPro C++ compiler does not properly
2160 # handle `-M -o', and we need to detect this.
2161 if depmode
=$depmode \
2162 source=conftest.c object
=conftest.o \
2163 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2164 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2165 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2166 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2167 am_cv_CC_dependencies_compiler_type
=$depmode
2175 am_cv_CC_dependencies_compiler_type
=none
2179 echo "$as_me:2179: result: $am_cv_CC_dependencies_compiler_type" >&5
2180 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2181 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2184 ac_cpp
='$CPP $CPPFLAGS'
2185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2188 echo "$as_me:2188: checking how to run the C preprocessor" >&5
2189 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2190 # On Suns, sometimes $CPP names a directory.
2191 if test -n "$CPP" && test -d "$CPP"; then
2194 if test -z "$CPP"; then
2195 if test "${ac_cv_prog_CPP+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 # Double quotes because CPP needs to be expanded
2199 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2202 for ac_c_preproc_warn_flag
in '' yes
2204 # Use a header file that comes with gcc, so configuring glibc
2205 # with a fresh cross-compiler works.
2206 # On the NeXT, cc -E runs the code through the compiler's parser,
2207 # not just through cpp. "Syntax error" is here to catch this case.
2208 cat >conftest.
$ac_ext <<_ACEOF
2209 #line 2209 "configure"
2210 #include "confdefs.h"
2214 if { (eval echo "$as_me:2214: \"$ac_cpp conftest.$ac_ext\"") >&5
2215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2217 egrep -v '^ *\+' conftest.er1
>conftest.err
2219 cat conftest.err
>&5
2220 echo "$as_me:2220: \$? = $ac_status" >&5
2221 (exit $ac_status); } >/dev
/null
; then
2222 if test -s conftest.err
; then
2223 ac_cpp_err
=$ac_c_preproc_warn_flag
2230 if test -z "$ac_cpp_err"; then
2233 echo "$as_me: failed program was:" >&5
2234 cat conftest.
$ac_ext >&5
2235 # Broken: fails on valid input.
2238 rm -f conftest.err conftest.
$ac_ext
2240 # OK, works on sane cases. Now check whether non-existent headers
2241 # can be detected and how.
2242 cat >conftest.
$ac_ext <<_ACEOF
2243 #line 2243 "configure"
2244 #include "confdefs.h"
2245 #include <ac_nonexistent.h>
2247 if { (eval echo "$as_me:2247: \"$ac_cpp conftest.$ac_ext\"") >&5
2248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2250 egrep -v '^ *\+' conftest.er1
>conftest.err
2252 cat conftest.err
>&5
2253 echo "$as_me:2253: \$? = $ac_status" >&5
2254 (exit $ac_status); } >/dev
/null
; then
2255 if test -s conftest.err
; then
2256 ac_cpp_err
=$ac_c_preproc_warn_flag
2263 if test -z "$ac_cpp_err"; then
2264 # Broken: success on invalid input.
2267 echo "$as_me: failed program was:" >&5
2268 cat conftest.
$ac_ext >&5
2269 # Passes both tests.
2273 rm -f conftest.err conftest.
$ac_ext
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.
$ac_ext
2278 if $ac_preproc_ok; then
2290 echo "$as_me:2290: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2293 for ac_c_preproc_warn_flag
in '' yes
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # On the NeXT, cc -E runs the code through the compiler's parser,
2298 # not just through cpp. "Syntax error" is here to catch this case.
2299 cat >conftest.
$ac_ext <<_ACEOF
2300 #line 2300 "configure"
2301 #include "confdefs.h"
2305 if { (eval echo "$as_me:2305: \"$ac_cpp conftest.$ac_ext\"") >&5
2306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2308 egrep -v '^ *\+' conftest.er1
>conftest.err
2310 cat conftest.err
>&5
2311 echo "$as_me:2311: \$? = $ac_status" >&5
2312 (exit $ac_status); } >/dev
/null
; then
2313 if test -s conftest.err
; then
2314 ac_cpp_err
=$ac_c_preproc_warn_flag
2321 if test -z "$ac_cpp_err"; then
2324 echo "$as_me: failed program was:" >&5
2325 cat conftest.
$ac_ext >&5
2326 # Broken: fails on valid input.
2329 rm -f conftest.err conftest.
$ac_ext
2331 # OK, works on sane cases. Now check whether non-existent headers
2332 # can be detected and how.
2333 cat >conftest.
$ac_ext <<_ACEOF
2334 #line 2334 "configure"
2335 #include "confdefs.h"
2336 #include <ac_nonexistent.h>
2338 if { (eval echo "$as_me:2338: \"$ac_cpp conftest.$ac_ext\"") >&5
2339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2341 egrep -v '^ *\+' conftest.er1
>conftest.err
2343 cat conftest.err
>&5
2344 echo "$as_me:2344: \$? = $ac_status" >&5
2345 (exit $ac_status); } >/dev
/null
; then
2346 if test -s conftest.err
; then
2347 ac_cpp_err
=$ac_c_preproc_warn_flag
2354 if test -z "$ac_cpp_err"; then
2355 # Broken: success on invalid input.
2358 echo "$as_me: failed program was:" >&5
2359 cat conftest.
$ac_ext >&5
2360 # Passes both tests.
2364 rm -f conftest.err conftest.
$ac_ext
2367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2368 rm -f conftest.err conftest.
$ac_ext
2369 if $ac_preproc_ok; then
2372 { { echo "$as_me:2372: error: C preprocessor \"$CPP\" fails sanity check" >&5
2373 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2374 { (exit 1); exit 1; }; }
2378 ac_cpp
='$CPP $CPPFLAGS'
2379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2383 echo "$as_me:2383: checking for ANSI C header files" >&5
2384 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2385 if test "${ac_cv_header_stdc+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 cat >conftest.
$ac_ext <<_ACEOF
2389 #line 2389 "configure"
2390 #include "confdefs.h"
2397 if { (eval echo "$as_me:2397: \"$ac_cpp conftest.$ac_ext\"") >&5
2398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2400 egrep -v '^ *\+' conftest.er1
>conftest.err
2402 cat conftest.err
>&5
2403 echo "$as_me:2403: \$? = $ac_status" >&5
2404 (exit $ac_status); } >/dev
/null
; then
2405 if test -s conftest.err
; then
2406 ac_cpp_err
=$ac_c_preproc_warn_flag
2413 if test -z "$ac_cpp_err"; then
2414 ac_cv_header_stdc
=yes
2416 echo "$as_me: failed program was:" >&5
2417 cat conftest.
$ac_ext >&5
2418 ac_cv_header_stdc
=no
2420 rm -f conftest.err conftest.
$ac_ext
2422 if test $ac_cv_header_stdc = yes; then
2423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2424 cat >conftest.
$ac_ext <<_ACEOF
2425 #line 2425 "configure"
2426 #include "confdefs.h"
2430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2431 egrep "memchr" >/dev
/null
2>&1; then
2434 ac_cv_header_stdc
=no
2440 if test $ac_cv_header_stdc = yes; then
2441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2442 cat >conftest.
$ac_ext <<_ACEOF
2443 #line 2443 "configure"
2444 #include "confdefs.h"
2448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2449 egrep "free" >/dev
/null
2>&1; then
2452 ac_cv_header_stdc
=no
2458 if test $ac_cv_header_stdc = yes; then
2459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2460 if test "$cross_compiling" = yes; then
2463 cat >conftest.
$ac_ext <<_ACEOF
2464 #line 2464 "configure"
2465 #include "confdefs.h"
2467 #if ((' ' & 0x0FF) == 0x020)
2468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2471 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2472 || ('j' <= (c) && (c) <= 'r') \
2473 || ('s' <= (c) && (c) <= 'z'))
2474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2482 for (i = 0; i < 256; i++)
2483 if (XOR (islower (i), ISLOWER (i))
2484 || toupper (i) != TOUPPER (i))
2489 rm -f conftest
$ac_exeext
2490 if { (eval echo "$as_me:2490: \"$ac_link\"") >&5
2491 (eval $ac_link) 2>&5
2493 echo "$as_me:2493: \$? = $ac_status" >&5
2494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2495 { (eval echo "$as_me:2495: \"$ac_try\"") >&5
2498 echo "$as_me:2498: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2502 echo "$as_me: program exited with status $ac_status" >&5
2503 echo "$as_me: failed program was:" >&5
2504 cat conftest.
$ac_ext >&5
2505 ac_cv_header_stdc
=no
2507 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2511 echo "$as_me:2511: result: $ac_cv_header_stdc" >&5
2512 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2513 if test $ac_cv_header_stdc = yes; then
2515 cat >>confdefs.h
<<\_ACEOF
2516 #define STDC_HEADERS 1
2521 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2523 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2524 inttypes.h stdint.h unistd.h
2526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2527 echo "$as_me:2527: checking for $ac_header" >&5
2528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 cat >conftest.
$ac_ext <<_ACEOF
2533 #line 2533 "configure"
2534 #include "confdefs.h"
2535 $ac_includes_default
2537 #include <$ac_header>
2539 rm -f conftest.
$ac_objext
2540 if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5
2541 (eval $ac_compile) 2>&5
2543 echo "$as_me:2543: \$? = $ac_status" >&5
2544 (exit $ac_status); } &&
2545 { ac_try
='test -s conftest.$ac_objext'
2546 { (eval echo "$as_me:2546: \"$ac_try\"") >&5
2549 echo "$as_me:2549: \$? = $ac_status" >&5
2550 (exit $ac_status); }; }; then
2551 eval "$as_ac_Header=yes"
2553 echo "$as_me: failed program was:" >&5
2554 cat conftest.
$ac_ext >&5
2555 eval "$as_ac_Header=no"
2557 rm -f conftest.
$ac_objext conftest.
$ac_ext
2559 echo "$as_me:2559: result: `eval echo '${'$as_ac_Header'}'`" >&5
2560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2562 cat >>confdefs.h
<<_ACEOF
2563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2570 if test "${ac_cv_header_minix_config_h+set}" = set; then
2571 echo "$as_me:2571: checking for minix/config.h" >&5
2572 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2573 if test "${ac_cv_header_minix_config_h+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 echo "$as_me:2576: result: $ac_cv_header_minix_config_h" >&5
2577 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2579 # Is the header compilable?
2580 echo "$as_me:2580: checking minix/config.h usability" >&5
2581 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2582 cat >conftest.
$ac_ext <<_ACEOF
2583 #line 2583 "configure"
2584 #include "confdefs.h"
2585 $ac_includes_default
2586 #include <minix/config.h>
2588 rm -f conftest.
$ac_objext
2589 if { (eval echo "$as_me:2589: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>&5
2592 echo "$as_me:2592: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try
='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:2595: \"$ac_try\"") >&5
2598 echo "$as_me:2598: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 ac_header_compiler
=yes
2602 echo "$as_me: failed program was:" >&5
2603 cat conftest.
$ac_ext >&5
2604 ac_header_compiler
=no
2606 rm -f conftest.
$ac_objext conftest.
$ac_ext
2607 echo "$as_me:2607: result: $ac_header_compiler" >&5
2608 echo "${ECHO_T}$ac_header_compiler" >&6
2610 # Is the header present?
2611 echo "$as_me:2611: checking minix/config.h presence" >&5
2612 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2614 #line 2614 "configure"
2615 #include "confdefs.h"
2616 #include <minix/config.h>
2618 if { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
2619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2621 egrep -v '^ *\+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:2624: \$? = $ac_status" >&5
2625 (exit $ac_status); } >/dev
/null
; then
2626 if test -s conftest.err
; then
2627 ac_cpp_err
=$ac_c_preproc_warn_flag
2634 if test -z "$ac_cpp_err"; then
2635 ac_header_preproc
=yes
2637 echo "$as_me: failed program was:" >&5
2638 cat conftest.
$ac_ext >&5
2639 ac_header_preproc
=no
2641 rm -f conftest.err conftest.
$ac_ext
2642 echo "$as_me:2642: result: $ac_header_preproc" >&5
2643 echo "${ECHO_T}$ac_header_preproc" >&6
2645 # So? What about this header?
2646 case $ac_header_compiler:$ac_header_preproc in
2648 { echo "$as_me:2648: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2649 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2650 { echo "$as_me:2650: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2651 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2653 { echo "$as_me:2653: WARNING: minix/config.h: present but cannot be compiled." >&5
2654 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
2655 { echo "$as_me:2655: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
2656 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
2657 { echo "$as_me:2657: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2658 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2660 echo "$as_me:2660: checking for minix/config.h" >&5
2661 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2662 if test "${ac_cv_header_minix_config_h+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 ac_cv_header_minix_config_h
=$ac_header_preproc
2667 echo "$as_me:2667: result: $ac_cv_header_minix_config_h" >&5
2668 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2671 if test $ac_cv_header_minix_config_h = yes; then
2677 if test "$MINIX" = yes; then
2679 cat >>confdefs.h
<<\_ACEOF
2680 #define _POSIX_SOURCE 1
2683 cat >>confdefs.h
<<\_ACEOF
2684 #define _POSIX_1_SOURCE 2
2687 cat >>confdefs.h
<<\_ACEOF
2693 echo "$as_me:2693: checking for strerror in -lcposix" >&5
2694 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2695 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 ac_check_lib_save_LIBS
=$LIBS
2699 LIBS
="-lcposix $LIBS"
2700 cat >conftest.
$ac_ext <<_ACEOF
2701 #line 2701 "configure"
2702 #include "confdefs.h"
2704 /* Override any gcc2 internal prototype to avoid an error. */
2708 /* We use char because int might match the return type of a gcc2
2709 builtin and then its argument prototype would still apply. */
2711 #ifdef F77_DUMMY_MAIN
2715 int F77_DUMMY_MAIN() { return 1; }
2725 rm -f conftest.
$ac_objext conftest
$ac_exeext
2726 if { (eval echo "$as_me:2726: \"$ac_link\"") >&5
2727 (eval $ac_link) 2>&5
2729 echo "$as_me:2729: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -s conftest$ac_exeext'
2732 { (eval echo "$as_me:2732: \"$ac_try\"") >&5
2735 echo "$as_me:2735: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 ac_cv_lib_cposix_strerror
=yes
2739 echo "$as_me: failed program was:" >&5
2740 cat conftest.
$ac_ext >&5
2741 ac_cv_lib_cposix_strerror
=no
2743 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2744 LIBS
=$ac_check_lib_save_LIBS
2746 echo "$as_me:2746: result: $ac_cv_lib_cposix_strerror" >&5
2747 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2748 if test $ac_cv_lib_cposix_strerror = yes; then
2749 LIBS
="$LIBS -lcposix"
2752 echo "$as_me:2752: checking for ${CC-cc} option to accept ANSI C" >&5
2753 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2754 if test "${am_cv_prog_cc_stdc+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 am_cv_prog_cc_stdc
=no
2759 # Don't try gcc -ansi; that turns off useful extensions and
2760 # breaks some systems' header files.
2761 # AIX -qlanglvl=ansi
2762 # Ultrix and OSF/1 -std1
2763 # HP-UX 10.20 and later -Ae
2764 # HP-UX older versions -Aa -D_HPUX_SOURCE
2765 # SVR4 -Xc -D__EXTENSIONS__
2766 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2768 CC
="$ac_save_CC $ac_arg"
2769 cat >conftest.
$ac_ext <<_ACEOF
2770 #line 2770 "configure"
2771 #include "confdefs.h"
2774 #include <sys/types.h>
2775 #include <sys/stat.h>
2776 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2777 struct buf { int x; };
2778 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2779 static char *e (p, i)
2785 static char *f (char * (*g) (char **, int), char **p, ...)
2790 s = g (p, va_arg (v,int));
2794 int test (int i, double x);
2795 struct s1 {int (*f) (int a);};
2796 struct s2 {int (*f) (double a);};
2797 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2801 #ifdef F77_DUMMY_MAIN
2805 int F77_DUMMY_MAIN() { return 1; }
2811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2817 rm -f conftest.
$ac_objext
2818 if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5
2819 (eval $ac_compile) 2>&5
2821 echo "$as_me:2821: \$? = $ac_status" >&5
2822 (exit $ac_status); } &&
2823 { ac_try
='test -s conftest.$ac_objext'
2824 { (eval echo "$as_me:2824: \"$ac_try\"") >&5
2827 echo "$as_me:2827: \$? = $ac_status" >&5
2828 (exit $ac_status); }; }; then
2829 am_cv_prog_cc_stdc
="$ac_arg"; break
2831 echo "$as_me: failed program was:" >&5
2832 cat conftest.
$ac_ext >&5
2834 rm -f conftest.
$ac_objext conftest.
$ac_ext
2840 if test -z "$am_cv_prog_cc_stdc"; then
2841 echo "$as_me:2841: result: none needed" >&5
2842 echo "${ECHO_T}none needed" >&6
2844 echo "$as_me:2844: result: $am_cv_prog_cc_stdc" >&5
2845 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2847 case "x$am_cv_prog_cc_stdc" in
2849 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2852 if test -n "$ac_tool_prefix"; then
2853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2854 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2855 echo "$as_me:2855: checking for $ac_word" >&5
2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2857 if test "${ac_cv_prog_RANLIB+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 if test -n "$RANLIB"; then
2861 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir
=.
2868 $as_executable_p "$as_dir/$ac_word" || continue
2869 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2870 echo "$as_me:2870: found $as_dir/$ac_word" >&5
2876 RANLIB
=$ac_cv_prog_RANLIB
2877 if test -n "$RANLIB"; then
2878 echo "$as_me:2878: result: $RANLIB" >&5
2879 echo "${ECHO_T}$RANLIB" >&6
2881 echo "$as_me:2881: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2886 if test -z "$ac_cv_prog_RANLIB"; then
2887 ac_ct_RANLIB
=$RANLIB
2888 # Extract the first word of "ranlib", so it can be a program name with args.
2889 set dummy ranlib
; ac_word
=$2
2890 echo "$as_me:2890: checking for $ac_word" >&5
2891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 if test -n "$ac_ct_RANLIB"; then
2896 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir
=.
2903 $as_executable_p "$as_dir/$ac_word" || continue
2904 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2905 echo "$as_me:2905: found $as_dir/$ac_word" >&5
2909 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2913 if test -n "$ac_ct_RANLIB"; then
2914 echo "$as_me:2914: result: $ac_ct_RANLIB" >&5
2915 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2917 echo "$as_me:2917: result: no" >&5
2918 echo "${ECHO_T}no" >&6
2921 RANLIB
=$ac_ct_RANLIB
2923 RANLIB
="$ac_cv_prog_RANLIB"
2926 # GNU M4 is needed to build the testsuite.
2927 for ac_prog
in gm4 gnum4
m4
2929 # Extract the first word of "$ac_prog", so it can be a program name with args.
2930 set dummy
$ac_prog; ac_word
=$2
2931 echo "$as_me:2931: checking for $ac_word" >&5
2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2933 if test "${ac_cv_path_M4+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 if $as_executable_p "$as_dir/$ac_word"; then
2947 ac_cv_path_M4
="$as_dir/$ac_word"
2948 echo "$as_me:2948: found $as_dir/$ac_word" >&5
2958 if test -n "$M4"; then
2959 echo "$as_me:2959: result: $M4" >&5
2960 echo "${ECHO_T}$M4" >&6
2962 echo "$as_me:2962: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2966 test -n "$M4" && break
2968 test -n "$M4" || M4
="m4"
2970 echo "$as_me:2970: checking whether m4 supports frozen files" >&5
2971 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2972 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 ac_cv_prog_gnu_m4
=no
2976 if test x
"$M4" != x
; then
2977 case `$M4 --help < /dev/null 2>&1` in
2978 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2982 echo "$as_me:2982: result: $ac_cv_prog_gnu_m4" >&5
2983 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2985 if test "$ac_cv_prog_gnu_m4" != yes; then
2986 missing_dir
=`cd $ac_aux_dir && pwd`
2987 M4
="$missing_dir/missing m4"
2990 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2991 if test "${enable_gcc_warnings+set}" = set; then
2992 enableval
="$enable_gcc_warnings"
2993 case "${enableval}" in
2995 *) { { echo "$as_me:2995: error: bad value ${enableval} for gcc-warnings option" >&5
2996 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2997 { (exit 1); exit 1; }; } ;;
3002 if test "${enableval}" = yes; then
3003 echo "$as_me:3003: checking whether compiler accepts -Wall" >&5
3004 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
3006 ac_save_CFLAGS
="$CFLAGS"
3007 CFLAGS
="$CFLAGS -Wall"
3008 cat >conftest.
$ac_ext <<_ACEOF
3009 #line 3009 "configure"
3010 #include "confdefs.h"
3012 #ifdef F77_DUMMY_MAIN
3016 int F77_DUMMY_MAIN() { return 1; }
3026 rm -f conftest.
$ac_objext
3027 if { (eval echo "$as_me:3027: \"$ac_compile\"") >&5
3028 (eval $ac_compile) 2>&5
3030 echo "$as_me:3030: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try
='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:3033: \"$ac_try\"") >&5
3036 echo "$as_me:3036: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3038 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3039 echo "$as_me:3039: result: yes" >&5
3040 echo "${ECHO_T}yes" >&6
3042 echo "$as_me: failed program was:" >&5
3043 cat conftest.
$ac_ext >&5
3044 echo "$as_me:3044: result: no" >&5
3045 echo "${ECHO_T}no" >&6
3047 rm -f conftest.
$ac_objext conftest.
$ac_ext
3048 CFLAGS
="$ac_save_CFLAGS"
3049 echo "$as_me:3049: checking whether compiler accepts -W" >&5
3050 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3052 ac_save_CFLAGS
="$CFLAGS"
3054 cat >conftest.
$ac_ext <<_ACEOF
3055 #line 3055 "configure"
3056 #include "confdefs.h"
3058 #ifdef F77_DUMMY_MAIN
3062 int F77_DUMMY_MAIN() { return 1; }
3072 rm -f conftest.
$ac_objext
3073 if { (eval echo "$as_me:3073: \"$ac_compile\"") >&5
3074 (eval $ac_compile) 2>&5
3076 echo "$as_me:3076: \$? = $ac_status" >&5
3077 (exit $ac_status); } &&
3078 { ac_try
='test -s conftest.$ac_objext'
3079 { (eval echo "$as_me:3079: \"$ac_try\"") >&5
3082 echo "$as_me:3082: \$? = $ac_status" >&5
3083 (exit $ac_status); }; }; then
3084 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3085 echo "$as_me:3085: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3088 echo "$as_me: failed program was:" >&5
3089 cat conftest.
$ac_ext >&5
3090 echo "$as_me:3090: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3093 rm -f conftest.
$ac_objext conftest.
$ac_ext
3094 CFLAGS
="$ac_save_CFLAGS"
3095 echo "$as_me:3095: checking whether compiler accepts -Wbad-function-cast" >&5
3096 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3098 ac_save_CFLAGS
="$CFLAGS"
3099 CFLAGS
="$CFLAGS -Wbad-function-cast"
3100 cat >conftest.
$ac_ext <<_ACEOF
3101 #line 3101 "configure"
3102 #include "confdefs.h"
3104 #ifdef F77_DUMMY_MAIN
3108 int F77_DUMMY_MAIN() { return 1; }
3118 rm -f conftest.
$ac_objext
3119 if { (eval echo "$as_me:3119: \"$ac_compile\"") >&5
3120 (eval $ac_compile) 2>&5
3122 echo "$as_me:3122: \$? = $ac_status" >&5
3123 (exit $ac_status); } &&
3124 { ac_try
='test -s conftest.$ac_objext'
3125 { (eval echo "$as_me:3125: \"$ac_try\"") >&5
3128 echo "$as_me:3128: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3131 echo "$as_me:3131: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3134 echo "$as_me: failed program was:" >&5
3135 cat conftest.
$ac_ext >&5
3136 echo "$as_me:3136: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3139 rm -f conftest.
$ac_objext conftest.
$ac_ext
3140 CFLAGS
="$ac_save_CFLAGS"
3141 echo "$as_me:3141: checking whether compiler accepts -Wcast-align" >&5
3142 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3144 ac_save_CFLAGS
="$CFLAGS"
3145 CFLAGS
="$CFLAGS -Wcast-align"
3146 cat >conftest.
$ac_ext <<_ACEOF
3147 #line 3147 "configure"
3148 #include "confdefs.h"
3150 #ifdef F77_DUMMY_MAIN
3154 int F77_DUMMY_MAIN() { return 1; }
3164 rm -f conftest.
$ac_objext
3165 if { (eval echo "$as_me:3165: \"$ac_compile\"") >&5
3166 (eval $ac_compile) 2>&5
3168 echo "$as_me:3168: \$? = $ac_status" >&5
3169 (exit $ac_status); } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:3171: \"$ac_try\"") >&5
3174 echo "$as_me:3174: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3176 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3177 echo "$as_me:3177: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me: failed program was:" >&5
3181 cat conftest.
$ac_ext >&5
3182 echo "$as_me:3182: result: no" >&5
3183 echo "${ECHO_T}no" >&6
3185 rm -f conftest.
$ac_objext conftest.
$ac_ext
3186 CFLAGS
="$ac_save_CFLAGS"
3187 echo "$as_me:3187: checking whether compiler accepts -Wcast-qual" >&5
3188 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3190 ac_save_CFLAGS
="$CFLAGS"
3191 CFLAGS
="$CFLAGS -Wcast-qual"
3192 cat >conftest.
$ac_ext <<_ACEOF
3193 #line 3193 "configure"
3194 #include "confdefs.h"
3196 #ifdef F77_DUMMY_MAIN
3200 int F77_DUMMY_MAIN() { return 1; }
3210 rm -f conftest.
$ac_objext
3211 if { (eval echo "$as_me:3211: \"$ac_compile\"") >&5
3212 (eval $ac_compile) 2>&5
3214 echo "$as_me:3214: \$? = $ac_status" >&5
3215 (exit $ac_status); } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (eval echo "$as_me:3217: \"$ac_try\"") >&5
3220 echo "$as_me:3220: \$? = $ac_status" >&5
3221 (exit $ac_status); }; }; then
3222 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3223 echo "$as_me:3223: result: yes" >&5
3224 echo "${ECHO_T}yes" >&6
3226 echo "$as_me: failed program was:" >&5
3227 cat conftest.
$ac_ext >&5
3228 echo "$as_me:3228: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3231 rm -f conftest.
$ac_objext conftest.
$ac_ext
3232 CFLAGS
="$ac_save_CFLAGS"
3233 echo "$as_me:3233: checking whether compiler accepts -Wformat" >&5
3234 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3236 ac_save_CFLAGS
="$CFLAGS"
3237 CFLAGS
="$CFLAGS -Wformat"
3238 cat >conftest.
$ac_ext <<_ACEOF
3239 #line 3239 "configure"
3240 #include "confdefs.h"
3242 #ifdef F77_DUMMY_MAIN
3246 int F77_DUMMY_MAIN() { return 1; }
3256 rm -f conftest.
$ac_objext
3257 if { (eval echo "$as_me:3257: \"$ac_compile\"") >&5
3258 (eval $ac_compile) 2>&5
3260 echo "$as_me:3260: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -s conftest.$ac_objext'
3263 { (eval echo "$as_me:3263: \"$ac_try\"") >&5
3266 echo "$as_me:3266: \$? = $ac_status" >&5
3267 (exit $ac_status); }; }; then
3268 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3269 echo "$as_me:3269: result: yes" >&5
3270 echo "${ECHO_T}yes" >&6
3272 echo "$as_me: failed program was:" >&5
3273 cat conftest.
$ac_ext >&5
3274 echo "$as_me:3274: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3277 rm -f conftest.
$ac_objext conftest.
$ac_ext
3278 CFLAGS
="$ac_save_CFLAGS"
3279 echo "$as_me:3279: checking whether compiler accepts -Wmissing-declarations" >&5
3280 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3282 ac_save_CFLAGS
="$CFLAGS"
3283 CFLAGS
="$CFLAGS -Wmissing-declarations"
3284 cat >conftest.
$ac_ext <<_ACEOF
3285 #line 3285 "configure"
3286 #include "confdefs.h"
3288 #ifdef F77_DUMMY_MAIN
3292 int F77_DUMMY_MAIN() { return 1; }
3302 rm -f conftest.
$ac_objext
3303 if { (eval echo "$as_me:3303: \"$ac_compile\"") >&5
3304 (eval $ac_compile) 2>&5
3306 echo "$as_me:3306: \$? = $ac_status" >&5
3307 (exit $ac_status); } &&
3308 { ac_try
='test -s conftest.$ac_objext'
3309 { (eval echo "$as_me:3309: \"$ac_try\"") >&5
3312 echo "$as_me:3312: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then
3314 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3315 echo "$as_me:3315: result: yes" >&5
3316 echo "${ECHO_T}yes" >&6
3318 echo "$as_me: failed program was:" >&5
3319 cat conftest.
$ac_ext >&5
3320 echo "$as_me:3320: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3323 rm -f conftest.
$ac_objext conftest.
$ac_ext
3324 CFLAGS
="$ac_save_CFLAGS"
3325 echo "$as_me:3325: checking whether compiler accepts -Wmissing-prototypes" >&5
3326 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3328 ac_save_CFLAGS
="$CFLAGS"
3329 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3330 cat >conftest.
$ac_ext <<_ACEOF
3331 #line 3331 "configure"
3332 #include "confdefs.h"
3334 #ifdef F77_DUMMY_MAIN
3338 int F77_DUMMY_MAIN() { return 1; }
3348 rm -f conftest.
$ac_objext
3349 if { (eval echo "$as_me:3349: \"$ac_compile\"") >&5
3350 (eval $ac_compile) 2>&5
3352 echo "$as_me:3352: \$? = $ac_status" >&5
3353 (exit $ac_status); } &&
3354 { ac_try
='test -s conftest.$ac_objext'
3355 { (eval echo "$as_me:3355: \"$ac_try\"") >&5
3358 echo "$as_me:3358: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3361 echo "$as_me:3361: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me: failed program was:" >&5
3365 cat conftest.
$ac_ext >&5
3366 echo "$as_me:3366: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3369 rm -f conftest.
$ac_objext conftest.
$ac_ext
3370 CFLAGS
="$ac_save_CFLAGS"
3371 echo "$as_me:3371: checking whether compiler accepts -Wnested-externs" >&5
3372 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3374 ac_save_CFLAGS
="$CFLAGS"
3375 CFLAGS
="$CFLAGS -Wnested-externs"
3376 cat >conftest.
$ac_ext <<_ACEOF
3377 #line 3377 "configure"
3378 #include "confdefs.h"
3380 #ifdef F77_DUMMY_MAIN
3384 int F77_DUMMY_MAIN() { return 1; }
3394 rm -f conftest.
$ac_objext
3395 if { (eval echo "$as_me:3395: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>&5
3398 echo "$as_me:3398: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try
='test -s conftest.$ac_objext'
3401 { (eval echo "$as_me:3401: \"$ac_try\"") >&5
3404 echo "$as_me:3404: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3407 echo "$as_me:3407: result: yes" >&5
3408 echo "${ECHO_T}yes" >&6
3410 echo "$as_me: failed program was:" >&5
3411 cat conftest.
$ac_ext >&5
3412 echo "$as_me:3412: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3415 rm -f conftest.
$ac_objext conftest.
$ac_ext
3416 CFLAGS
="$ac_save_CFLAGS"
3417 echo "$as_me:3417: checking whether compiler accepts -Wshadow" >&5
3418 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3420 ac_save_CFLAGS
="$CFLAGS"
3421 CFLAGS
="$CFLAGS -Wshadow"
3422 cat >conftest.
$ac_ext <<_ACEOF
3423 #line 3423 "configure"
3424 #include "confdefs.h"
3426 #ifdef F77_DUMMY_MAIN
3430 int F77_DUMMY_MAIN() { return 1; }
3440 rm -f conftest.
$ac_objext
3441 if { (eval echo "$as_me:3441: \"$ac_compile\"") >&5
3442 (eval $ac_compile) 2>&5
3444 echo "$as_me:3444: \$? = $ac_status" >&5
3445 (exit $ac_status); } &&
3446 { ac_try
='test -s conftest.$ac_objext'
3447 { (eval echo "$as_me:3447: \"$ac_try\"") >&5
3450 echo "$as_me:3450: \$? = $ac_status" >&5
3451 (exit $ac_status); }; }; then
3452 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3453 echo "$as_me:3453: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me: failed program was:" >&5
3457 cat conftest.
$ac_ext >&5
3458 echo "$as_me:3458: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3461 rm -f conftest.
$ac_objext conftest.
$ac_ext
3462 CFLAGS
="$ac_save_CFLAGS"
3463 echo "$as_me:3463: checking whether compiler accepts -Wstrict-prototypes" >&5
3464 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3466 ac_save_CFLAGS
="$CFLAGS"
3467 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3468 cat >conftest.
$ac_ext <<_ACEOF
3469 #line 3469 "configure"
3470 #include "confdefs.h"
3472 #ifdef F77_DUMMY_MAIN
3476 int F77_DUMMY_MAIN() { return 1; }
3486 rm -f conftest.
$ac_objext
3487 if { (eval echo "$as_me:3487: \"$ac_compile\"") >&5
3488 (eval $ac_compile) 2>&5
3490 echo "$as_me:3490: \$? = $ac_status" >&5
3491 (exit $ac_status); } &&
3492 { ac_try
='test -s conftest.$ac_objext'
3493 { (eval echo "$as_me:3493: \"$ac_try\"") >&5
3496 echo "$as_me:3496: \$? = $ac_status" >&5
3497 (exit $ac_status); }; }; then
3498 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3499 echo "$as_me:3499: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3502 echo "$as_me: failed program was:" >&5
3503 cat conftest.
$ac_ext >&5
3504 echo "$as_me:3504: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3507 rm -f conftest.
$ac_objext conftest.
$ac_ext
3508 CFLAGS
="$ac_save_CFLAGS"
3509 echo "$as_me:3509: checking whether compiler accepts -Wwrite-strings" >&5
3510 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3512 ac_save_CFLAGS
="$CFLAGS"
3513 CFLAGS
="$CFLAGS -Wwrite-strings"
3514 cat >conftest.
$ac_ext <<_ACEOF
3515 #line 3515 "configure"
3516 #include "confdefs.h"
3518 #ifdef F77_DUMMY_MAIN
3522 int F77_DUMMY_MAIN() { return 1; }
3532 rm -f conftest.
$ac_objext
3533 if { (eval echo "$as_me:3533: \"$ac_compile\"") >&5
3534 (eval $ac_compile) 2>&5
3536 echo "$as_me:3536: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try
='test -s conftest.$ac_objext'
3539 { (eval echo "$as_me:3539: \"$ac_try\"") >&5
3542 echo "$as_me:3542: \$? = $ac_status" >&5
3543 (exit $ac_status); }; }; then
3544 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3545 echo "$as_me:3545: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me: failed program was:" >&5
3549 cat conftest.
$ac_ext >&5
3550 echo "$as_me:3550: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3553 rm -f conftest.
$ac_objext conftest.
$ac_ext
3554 CFLAGS
="$ac_save_CFLAGS"
3555 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
3558 # Checks for libraries.
3560 cat >>confdefs.h
<<\_ACEOF
3561 #define _GNU_SOURCE 1
3564 # Checks for header files.
3565 echo "$as_me:3565: checking for ANSI C header files" >&5
3566 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3567 if test "${ac_cv_header_stdc+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 cat >conftest.
$ac_ext <<_ACEOF
3571 #line 3571 "configure"
3572 #include "confdefs.h"
3579 if { (eval echo "$as_me:3579: \"$ac_cpp conftest.$ac_ext\"") >&5
3580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3582 egrep -v '^ *\+' conftest.er1
>conftest.err
3584 cat conftest.err
>&5
3585 echo "$as_me:3585: \$? = $ac_status" >&5
3586 (exit $ac_status); } >/dev
/null
; then
3587 if test -s conftest.err
; then
3588 ac_cpp_err
=$ac_c_preproc_warn_flag
3595 if test -z "$ac_cpp_err"; then
3596 ac_cv_header_stdc
=yes
3598 echo "$as_me: failed program was:" >&5
3599 cat conftest.
$ac_ext >&5
3600 ac_cv_header_stdc
=no
3602 rm -f conftest.err conftest.
$ac_ext
3604 if test $ac_cv_header_stdc = yes; then
3605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3606 cat >conftest.
$ac_ext <<_ACEOF
3607 #line 3607 "configure"
3608 #include "confdefs.h"
3612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3613 egrep "memchr" >/dev
/null
2>&1; then
3616 ac_cv_header_stdc
=no
3622 if test $ac_cv_header_stdc = yes; then
3623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3624 cat >conftest.
$ac_ext <<_ACEOF
3625 #line 3625 "configure"
3626 #include "confdefs.h"
3630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3631 egrep "free" >/dev
/null
2>&1; then
3634 ac_cv_header_stdc
=no
3640 if test $ac_cv_header_stdc = yes; then
3641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3642 if test "$cross_compiling" = yes; then
3645 cat >conftest.
$ac_ext <<_ACEOF
3646 #line 3646 "configure"
3647 #include "confdefs.h"
3649 #if ((' ' & 0x0FF) == 0x020)
3650 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3651 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3653 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3654 || ('j' <= (c) && (c) <= 'r') \
3655 || ('s' <= (c) && (c) <= 'z'))
3656 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3664 for (i = 0; i < 256; i++)
3665 if (XOR (islower (i), ISLOWER (i))
3666 || toupper (i) != TOUPPER (i))
3671 rm -f conftest
$ac_exeext
3672 if { (eval echo "$as_me:3672: \"$ac_link\"") >&5
3673 (eval $ac_link) 2>&5
3675 echo "$as_me:3675: \$? = $ac_status" >&5
3676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3677 { (eval echo "$as_me:3677: \"$ac_try\"") >&5
3680 echo "$as_me:3680: \$? = $ac_status" >&5
3681 (exit $ac_status); }; }; then
3684 echo "$as_me: program exited with status $ac_status" >&5
3685 echo "$as_me: failed program was:" >&5
3686 cat conftest.
$ac_ext >&5
3687 ac_cv_header_stdc
=no
3689 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3693 echo "$as_me:3693: result: $ac_cv_header_stdc" >&5
3694 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3695 if test $ac_cv_header_stdc = yes; then
3697 cat >>confdefs.h
<<\_ACEOF
3698 #define STDC_HEADERS 1
3703 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3707 echo "$as_me:3707: checking for $ac_header" >&5
3708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 echo "$as_me:3712: result: `eval echo '${'$as_ac_Header'}'`" >&5
3713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3715 # Is the header compilable?
3716 echo "$as_me:3716: checking $ac_header usability" >&5
3717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3718 cat >conftest.
$ac_ext <<_ACEOF
3719 #line 3719 "configure"
3720 #include "confdefs.h"
3721 $ac_includes_default
3722 #include <$ac_header>
3724 rm -f conftest.
$ac_objext
3725 if { (eval echo "$as_me:3725: \"$ac_compile\"") >&5
3726 (eval $ac_compile) 2>&5
3728 echo "$as_me:3728: \$? = $ac_status" >&5
3729 (exit $ac_status); } &&
3730 { ac_try
='test -s conftest.$ac_objext'
3731 { (eval echo "$as_me:3731: \"$ac_try\"") >&5
3734 echo "$as_me:3734: \$? = $ac_status" >&5
3735 (exit $ac_status); }; }; then
3736 ac_header_compiler
=yes
3738 echo "$as_me: failed program was:" >&5
3739 cat conftest.
$ac_ext >&5
3740 ac_header_compiler
=no
3742 rm -f conftest.
$ac_objext conftest.
$ac_ext
3743 echo "$as_me:3743: result: $ac_header_compiler" >&5
3744 echo "${ECHO_T}$ac_header_compiler" >&6
3746 # Is the header present?
3747 echo "$as_me:3747: checking $ac_header presence" >&5
3748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3749 cat >conftest.
$ac_ext <<_ACEOF
3750 #line 3750 "configure"
3751 #include "confdefs.h"
3752 #include <$ac_header>
3754 if { (eval echo "$as_me:3754: \"$ac_cpp conftest.$ac_ext\"") >&5
3755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3757 egrep -v '^ *\+' conftest.er1
>conftest.err
3759 cat conftest.err
>&5
3760 echo "$as_me:3760: \$? = $ac_status" >&5
3761 (exit $ac_status); } >/dev
/null
; then
3762 if test -s conftest.err
; then
3763 ac_cpp_err
=$ac_c_preproc_warn_flag
3770 if test -z "$ac_cpp_err"; then
3771 ac_header_preproc
=yes
3773 echo "$as_me: failed program was:" >&5
3774 cat conftest.
$ac_ext >&5
3775 ac_header_preproc
=no
3777 rm -f conftest.err conftest.
$ac_ext
3778 echo "$as_me:3778: result: $ac_header_preproc" >&5
3779 echo "${ECHO_T}$ac_header_preproc" >&6
3781 # So? What about this header?
3782 case $ac_header_compiler:$ac_header_preproc in
3784 { echo "$as_me:3784: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3786 { echo "$as_me:3786: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3789 { echo "$as_me:3789: WARNING: $ac_header: present but cannot be compiled." >&5
3790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
3791 { echo "$as_me:3791: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3793 { echo "$as_me:3793: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3796 echo "$as_me:3796: checking for $ac_header" >&5
3797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 eval "$as_ac_Header=$ac_header_preproc"
3803 echo "$as_me:3803: result: `eval echo '${'$as_ac_Header'}'`" >&5
3804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3808 cat >>confdefs.h
<<_ACEOF
3809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3816 # Checks for typedefs.
3818 # Checks for structures.
3820 # Checks for compiler characteristics.
3821 echo "$as_me:3821: checking for $CC option to accept ANSI C" >&5
3822 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3823 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 ac_cv_prog_cc_stdc
=no
3828 cat >conftest.
$ac_ext <<_ACEOF
3829 #line 3829 "configure"
3830 #include "confdefs.h"
3833 #include <sys/types.h>
3834 #include <sys/stat.h>
3835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3836 struct buf { int x; };
3837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3838 static char *e (p, i)
3844 static char *f (char * (*g) (char **, int), char **p, ...)
3849 s = g (p, va_arg (v,int));
3853 int test (int i, double x);
3854 struct s1 {int (*f) (int a);};
3855 struct s2 {int (*f) (double a);};
3856 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3859 #ifdef F77_DUMMY_MAIN
3863 int F77_DUMMY_MAIN() { return 1; }
3868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3873 # Don't try gcc -ansi; that turns off useful extensions and
3874 # breaks some systems' header files.
3875 # AIX -qlanglvl=ansi
3876 # Ultrix and OSF/1 -std1
3877 # HP-UX 10.20 and later -Ae
3878 # HP-UX older versions -Aa -D_HPUX_SOURCE
3879 # SVR4 -Xc -D__EXTENSIONS__
3880 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3882 CC
="$ac_save_CC $ac_arg"
3883 rm -f conftest.
$ac_objext
3884 if { (eval echo "$as_me:3884: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>&5
3887 echo "$as_me:3887: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try
='test -s conftest.$ac_objext'
3890 { (eval echo "$as_me:3890: \"$ac_try\"") >&5
3893 echo "$as_me:3893: \$? = $ac_status" >&5
3894 (exit $ac_status); }; }; then
3895 ac_cv_prog_cc_stdc
=$ac_arg
3898 echo "$as_me: failed program was:" >&5
3899 cat conftest.
$ac_ext >&5
3901 rm -f conftest.
$ac_objext
3903 rm -f conftest.
$ac_ext conftest.
$ac_objext
3908 case "x$ac_cv_prog_cc_stdc" in
3910 echo "$as_me:3910: result: none needed" >&5
3911 echo "${ECHO_T}none needed" >&6 ;;
3913 echo "$as_me:3913: result: $ac_cv_prog_cc_stdc" >&5
3914 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3915 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3918 echo "$as_me:3918: checking for an ANSI C-conforming const" >&5
3919 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3920 if test "${ac_cv_c_const+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 cat >conftest.
$ac_ext <<_ACEOF
3924 #line 3924 "configure"
3925 #include "confdefs.h"
3927 #ifdef F77_DUMMY_MAIN
3931 int F77_DUMMY_MAIN() { return 1; }
3936 /* FIXME: Include the comments suggested by Paul. */
3938 /* Ultrix mips cc rejects this. */
3939 typedef int charset[2];
3941 /* SunOS 4.1.1 cc rejects this. */
3942 char const *const *ccp;
3944 /* NEC SVR4.0.2 mips cc rejects this. */
3945 struct point {int x, y;};
3946 static struct point const zero = {0,0};
3947 /* AIX XL C 1.02.0.0 rejects this.
3948 It does not let you subtract one const X* pointer from another in
3949 an arm of an if-expression whose if-part is not a constant
3951 const char *g = "string";
3952 ccp = &g + (g ? g-g : 0);
3953 /* HPUX 7.0 cc rejects these. */
3956 ccp = (char const *const *) p;
3957 { /* SCO 3.2v4 cc rejects this. */
3959 char const *s = 0 ? (char *) 0 : (char const *) 0;
3963 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3965 const int *foo = &x[0];
3968 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3969 typedef const int *iptr;
3973 { /* AIX XL C 1.02.0.0 rejects this saying
3974 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3975 struct s { int j; const int *ap[3]; };
3976 struct s *b; b->j = 5;
3978 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3987 rm -f conftest.
$ac_objext
3988 if { (eval echo "$as_me:3988: \"$ac_compile\"") >&5
3989 (eval $ac_compile) 2>&5
3991 echo "$as_me:3991: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:3994: \"$ac_try\"") >&5
3997 echo "$as_me:3997: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
4001 echo "$as_me: failed program was:" >&5
4002 cat conftest.
$ac_ext >&5
4005 rm -f conftest.
$ac_objext conftest.
$ac_ext
4007 echo "$as_me:4007: result: $ac_cv_c_const" >&5
4008 echo "${ECHO_T}$ac_cv_c_const" >&6
4009 if test $ac_cv_c_const = no
; then
4011 cat >>confdefs.h
<<\_ACEOF
4017 echo "$as_me:4017: checking for inline" >&5
4018 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4019 if test "${ac_cv_c_inline+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 for ac_kw
in inline __inline__ __inline
; do
4024 cat >conftest.
$ac_ext <<_ACEOF
4025 #line 4025 "configure"
4026 #include "confdefs.h"
4028 static $ac_kw int static_foo () {return 0; }
4029 $ac_kw int foo () {return 0; }
4033 rm -f conftest.
$ac_objext
4034 if { (eval echo "$as_me:4034: \"$ac_compile\"") >&5
4035 (eval $ac_compile) 2>&5
4037 echo "$as_me:4037: \$? = $ac_status" >&5
4038 (exit $ac_status); } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:4040: \"$ac_try\"") >&5
4043 echo "$as_me:4043: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 ac_cv_c_inline
=$ac_kw; break
4047 echo "$as_me: failed program was:" >&5
4048 cat conftest.
$ac_ext >&5
4050 rm -f conftest.
$ac_objext conftest.
$ac_ext
4054 echo "$as_me:4054: result: $ac_cv_c_inline" >&5
4055 echo "${ECHO_T}$ac_cv_c_inline" >&6
4056 case $ac_cv_c_inline in
4059 cat >>confdefs.h
<<\_ACEOF
4063 *) cat >>confdefs.h
<<_ACEOF
4064 #define inline $ac_cv_c_inline
4069 echo "$as_me:4069: checking for function prototypes" >&5
4070 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4071 if test "$am_cv_prog_cc_stdc" != no
; then
4072 echo "$as_me:4072: result: yes" >&5
4073 echo "${ECHO_T}yes" >&6
4075 cat >>confdefs.h
<<\_ACEOF
4076 #define PROTOTYPES 1
4081 echo "$as_me:4081: result: no" >&5
4082 echo "${ECHO_T}no" >&6
4083 U
=_ ANSI2KNR
=.
/ansi2knr
4085 # Ensure some checks needed by ansi2knr itself.
4086 echo "$as_me:4086: checking for ANSI C header files" >&5
4087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4088 if test "${ac_cv_header_stdc+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 cat >conftest.
$ac_ext <<_ACEOF
4092 #line 4092 "configure"
4093 #include "confdefs.h"
4100 if { (eval echo "$as_me:4100: \"$ac_cpp conftest.$ac_ext\"") >&5
4101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4103 egrep -v '^ *\+' conftest.er1
>conftest.err
4105 cat conftest.err
>&5
4106 echo "$as_me:4106: \$? = $ac_status" >&5
4107 (exit $ac_status); } >/dev
/null
; then
4108 if test -s conftest.err
; then
4109 ac_cpp_err
=$ac_c_preproc_warn_flag
4116 if test -z "$ac_cpp_err"; then
4117 ac_cv_header_stdc
=yes
4119 echo "$as_me: failed program was:" >&5
4120 cat conftest.
$ac_ext >&5
4121 ac_cv_header_stdc
=no
4123 rm -f conftest.err conftest.
$ac_ext
4125 if test $ac_cv_header_stdc = yes; then
4126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4127 cat >conftest.
$ac_ext <<_ACEOF
4128 #line 4128 "configure"
4129 #include "confdefs.h"
4133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4134 egrep "memchr" >/dev
/null
2>&1; then
4137 ac_cv_header_stdc
=no
4143 if test $ac_cv_header_stdc = yes; then
4144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4145 cat >conftest.
$ac_ext <<_ACEOF
4146 #line 4146 "configure"
4147 #include "confdefs.h"
4151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152 egrep "free" >/dev
/null
2>&1; then
4155 ac_cv_header_stdc
=no
4161 if test $ac_cv_header_stdc = yes; then
4162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4163 if test "$cross_compiling" = yes; then
4166 cat >conftest.
$ac_ext <<_ACEOF
4167 #line 4167 "configure"
4168 #include "confdefs.h"
4170 #if ((' ' & 0x0FF) == 0x020)
4171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4174 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4175 || ('j' <= (c) && (c) <= 'r') \
4176 || ('s' <= (c) && (c) <= 'z'))
4177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4185 for (i = 0; i < 256; i++)
4186 if (XOR (islower (i), ISLOWER (i))
4187 || toupper (i) != TOUPPER (i))
4192 rm -f conftest
$ac_exeext
4193 if { (eval echo "$as_me:4193: \"$ac_link\"") >&5
4194 (eval $ac_link) 2>&5
4196 echo "$as_me:4196: \$? = $ac_status" >&5
4197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4198 { (eval echo "$as_me:4198: \"$ac_try\"") >&5
4201 echo "$as_me:4201: \$? = $ac_status" >&5
4202 (exit $ac_status); }; }; then
4205 echo "$as_me: program exited with status $ac_status" >&5
4206 echo "$as_me: failed program was:" >&5
4207 cat conftest.
$ac_ext >&5
4208 ac_cv_header_stdc
=no
4210 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4214 echo "$as_me:4214: result: $ac_cv_header_stdc" >&5
4215 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4216 if test $ac_cv_header_stdc = yes; then
4218 cat >>confdefs.h
<<\_ACEOF
4219 #define STDC_HEADERS 1
4224 for ac_header
in string.h
4226 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4228 echo "$as_me:4228: checking for $ac_header" >&5
4229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 echo "$as_me:4233: result: `eval echo '${'$as_ac_Header'}'`" >&5
4234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4236 # Is the header compilable?
4237 echo "$as_me:4237: checking $ac_header usability" >&5
4238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4239 cat >conftest.
$ac_ext <<_ACEOF
4240 #line 4240 "configure"
4241 #include "confdefs.h"
4242 $ac_includes_default
4243 #include <$ac_header>
4245 rm -f conftest.
$ac_objext
4246 if { (eval echo "$as_me:4246: \"$ac_compile\"") >&5
4247 (eval $ac_compile) 2>&5
4249 echo "$as_me:4249: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try
='test -s conftest.$ac_objext'
4252 { (eval echo "$as_me:4252: \"$ac_try\"") >&5
4255 echo "$as_me:4255: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4257 ac_header_compiler
=yes
4259 echo "$as_me: failed program was:" >&5
4260 cat conftest.
$ac_ext >&5
4261 ac_header_compiler
=no
4263 rm -f conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me:4264: result: $ac_header_compiler" >&5
4265 echo "${ECHO_T}$ac_header_compiler" >&6
4267 # Is the header present?
4268 echo "$as_me:4268: checking $ac_header presence" >&5
4269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4270 cat >conftest.
$ac_ext <<_ACEOF
4271 #line 4271 "configure"
4272 #include "confdefs.h"
4273 #include <$ac_header>
4275 if { (eval echo "$as_me:4275: \"$ac_cpp conftest.$ac_ext\"") >&5
4276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4278 egrep -v '^ *\+' conftest.er1
>conftest.err
4280 cat conftest.err
>&5
4281 echo "$as_me:4281: \$? = $ac_status" >&5
4282 (exit $ac_status); } >/dev
/null
; then
4283 if test -s conftest.err
; then
4284 ac_cpp_err
=$ac_c_preproc_warn_flag
4291 if test -z "$ac_cpp_err"; then
4292 ac_header_preproc
=yes
4294 echo "$as_me: failed program was:" >&5
4295 cat conftest.
$ac_ext >&5
4296 ac_header_preproc
=no
4298 rm -f conftest.err conftest.
$ac_ext
4299 echo "$as_me:4299: result: $ac_header_preproc" >&5
4300 echo "${ECHO_T}$ac_header_preproc" >&6
4302 # So? What about this header?
4303 case $ac_header_compiler:$ac_header_preproc in
4305 { echo "$as_me:4305: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4307 { echo "$as_me:4307: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4310 { echo "$as_me:4310: WARNING: $ac_header: present but cannot be compiled." >&5
4311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4312 { echo "$as_me:4312: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4314 { echo "$as_me:4314: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4317 echo "$as_me:4317: checking for $ac_header" >&5
4318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 eval "$as_ac_Header=$ac_header_preproc"
4324 echo "$as_me:4324: result: `eval echo '${'$as_ac_Header'}'`" >&5
4325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4329 cat >>confdefs.h
<<_ACEOF
4330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4337 # Checks for library functions.
4338 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4339 # for constant arguments. Useless!
4340 echo "$as_me:4340: checking for working alloca.h" >&5
4341 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4342 if test "${ac_cv_working_alloca_h+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 cat >conftest.
$ac_ext <<_ACEOF
4346 #line 4346 "configure"
4347 #include "confdefs.h"
4349 #ifdef F77_DUMMY_MAIN
4353 int F77_DUMMY_MAIN() { return 1; }
4358 char *p = (char *) alloca (2 * sizeof (int));
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:4364: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>&5
4367 echo "$as_me:4367: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -s conftest$ac_exeext'
4370 { (eval echo "$as_me:4370: \"$ac_try\"") >&5
4373 echo "$as_me:4373: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_working_alloca_h
=yes
4377 echo "$as_me: failed program was:" >&5
4378 cat conftest.
$ac_ext >&5
4379 ac_cv_working_alloca_h
=no
4381 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4383 echo "$as_me:4383: result: $ac_cv_working_alloca_h" >&5
4384 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4385 if test $ac_cv_working_alloca_h = yes; then
4387 cat >>confdefs.h
<<\_ACEOF
4388 #define HAVE_ALLOCA_H 1
4393 echo "$as_me:4393: checking for alloca" >&5
4394 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4395 if test "${ac_cv_func_alloca_works+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 cat >conftest.
$ac_ext <<_ACEOF
4399 #line 4399 "configure"
4400 #include "confdefs.h"
4402 # define alloca __builtin_alloca
4405 # include <malloc.h>
4406 # define alloca _alloca
4409 # include <alloca.h>
4414 # ifndef alloca /* predefined by HP cc +Olibcalls */
4422 #ifdef F77_DUMMY_MAIN
4426 int F77_DUMMY_MAIN() { return 1; }
4431 char *p = (char *) alloca (1);
4436 rm -f conftest.
$ac_objext conftest
$ac_exeext
4437 if { (eval echo "$as_me:4437: \"$ac_link\"") >&5
4438 (eval $ac_link) 2>&5
4440 echo "$as_me:4440: \$? = $ac_status" >&5
4441 (exit $ac_status); } &&
4442 { ac_try
='test -s conftest$ac_exeext'
4443 { (eval echo "$as_me:4443: \"$ac_try\"") >&5
4446 echo "$as_me:4446: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then
4448 ac_cv_func_alloca_works
=yes
4450 echo "$as_me: failed program was:" >&5
4451 cat conftest.
$ac_ext >&5
4452 ac_cv_func_alloca_works
=no
4454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4456 echo "$as_me:4456: result: $ac_cv_func_alloca_works" >&5
4457 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4459 if test $ac_cv_func_alloca_works = yes; then
4461 cat >>confdefs.h
<<\_ACEOF
4462 #define HAVE_ALLOCA 1
4466 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4467 # that cause trouble. Some versions do not even contain alloca or
4468 # contain a buggy version. If you still want to use their alloca,
4469 # use ar to extract alloca.o from them instead of compiling alloca.c.
4471 ALLOCA
=alloca.
$ac_objext
4473 cat >>confdefs.h
<<\_ACEOF
4477 echo "$as_me:4477: checking whether \`alloca.c' needs Cray hooks" >&5
4478 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4479 if test "${ac_cv_os_cray+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4483 #line 4483 "configure"
4484 #include "confdefs.h"
4485 #if defined(CRAY) && ! defined(CRAY2)
4492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4493 egrep "webecray" >/dev
/null
2>&1; then
4501 echo "$as_me:4501: result: $ac_cv_os_cray" >&5
4502 echo "${ECHO_T}$ac_cv_os_cray" >&6
4503 if test $ac_cv_os_cray = yes; then
4504 for ac_func
in _getb67 GETB67 getb67
; do
4505 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4506 echo "$as_me:4506: checking for $ac_func" >&5
4507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4508 if eval "test \"\${$as_ac_var+set}\" = set"; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 cat >conftest.
$ac_ext <<_ACEOF
4512 #line 4512 "configure"
4513 #include "confdefs.h"
4514 /* System header to define __stub macros and hopefully few prototypes,
4515 which can conflict with char $ac_func (); below. */
4517 /* Override any gcc2 internal prototype to avoid an error. */
4521 /* We use char because int might match the return type of a gcc2
4522 builtin and then its argument prototype would still apply. */
4526 #ifdef F77_DUMMY_MAIN
4530 int F77_DUMMY_MAIN() { return 1; }
4535 /* The GNU C library defines this for functions which it implements
4536 to always fail with ENOSYS. Some functions are actually named
4537 something starting with __ and the normal name is an alias. */
4538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4548 rm -f conftest.
$ac_objext conftest
$ac_exeext
4549 if { (eval echo "$as_me:4549: \"$ac_link\"") >&5
4550 (eval $ac_link) 2>&5
4552 echo "$as_me:4552: \$? = $ac_status" >&5
4553 (exit $ac_status); } &&
4554 { ac_try
='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:4555: \"$ac_try\"") >&5
4558 echo "$as_me:4558: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 eval "$as_ac_var=yes"
4562 echo "$as_me: failed program was:" >&5
4563 cat conftest.
$ac_ext >&5
4564 eval "$as_ac_var=no"
4566 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4568 echo "$as_me:4568: result: `eval echo '${'$as_ac_var'}'`" >&5
4569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4570 if test `eval echo '${'$as_ac_var'}'` = yes; then
4572 cat >>confdefs.h
<<_ACEOF
4573 #define CRAY_STACKSEG_END $ac_func
4582 echo "$as_me:4582: checking stack direction for C alloca" >&5
4583 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4584 if test "${ac_cv_c_stack_direction+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 if test "$cross_compiling" = yes; then
4588 ac_cv_c_stack_direction
=0
4590 cat >conftest.
$ac_ext <<_ACEOF
4591 #line 4591 "configure"
4592 #include "confdefs.h"
4594 find_stack_direction ()
4596 static char *addr = 0;
4601 return find_stack_direction ();
4604 return (&dummy > addr) ? 1 : -1;
4610 exit (find_stack_direction () < 0);
4613 rm -f conftest
$ac_exeext
4614 if { (eval echo "$as_me:4614: \"$ac_link\"") >&5
4615 (eval $ac_link) 2>&5
4617 echo "$as_me:4617: \$? = $ac_status" >&5
4618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4619 { (eval echo "$as_me:4619: \"$ac_try\"") >&5
4622 echo "$as_me:4622: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
4624 ac_cv_c_stack_direction
=1
4626 echo "$as_me: program exited with status $ac_status" >&5
4627 echo "$as_me: failed program was:" >&5
4628 cat conftest.
$ac_ext >&5
4629 ac_cv_c_stack_direction
=-1
4631 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4634 echo "$as_me:4634: result: $ac_cv_c_stack_direction" >&5
4635 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4637 cat >>confdefs.h
<<_ACEOF
4638 #define STACK_DIRECTION $ac_cv_c_stack_direction
4643 for ac_func
in mkstemp setlocale
4645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4646 echo "$as_me:4646: checking for $ac_func" >&5
4647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4648 if eval "test \"\${$as_ac_var+set}\" = set"; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 cat >conftest.
$ac_ext <<_ACEOF
4652 #line 4652 "configure"
4653 #include "confdefs.h"
4654 /* System header to define __stub macros and hopefully few prototypes,
4655 which can conflict with char $ac_func (); below. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4666 #ifdef F77_DUMMY_MAIN
4670 int F77_DUMMY_MAIN() { return 1; }
4675 /* The GNU C library defines this for functions which it implements
4676 to always fail with ENOSYS. Some functions are actually named
4677 something starting with __ and the normal name is an alias. */
4678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4688 rm -f conftest.
$ac_objext conftest
$ac_exeext
4689 if { (eval echo "$as_me:4689: \"$ac_link\"") >&5
4690 (eval $ac_link) 2>&5
4692 echo "$as_me:4692: \$? = $ac_status" >&5
4693 (exit $ac_status); } &&
4694 { ac_try
='test -s conftest$ac_exeext'
4695 { (eval echo "$as_me:4695: \"$ac_try\"") >&5
4698 echo "$as_me:4698: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4700 eval "$as_ac_var=yes"
4702 echo "$as_me: failed program was:" >&5
4703 cat conftest.
$ac_ext >&5
4704 eval "$as_ac_var=no"
4706 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4708 echo "$as_me:4708: result: `eval echo '${'$as_ac_var'}'`" >&5
4709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4710 if test `eval echo '${'$as_ac_var'}'` = yes; then
4711 cat >>confdefs.h
<<_ACEOF
4712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4718 echo "$as_me:4718: checking whether stpcpy is declared" >&5
4719 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
4720 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 cat >conftest.
$ac_ext <<_ACEOF
4724 #line 4724 "configure"
4725 #include "confdefs.h"
4726 $ac_includes_default
4727 #ifdef F77_DUMMY_MAIN
4731 int F77_DUMMY_MAIN() { return 1; }
4737 char *p = (char *) stpcpy;
4744 rm -f conftest.
$ac_objext
4745 if { (eval echo "$as_me:4745: \"$ac_compile\"") >&5
4746 (eval $ac_compile) 2>&5
4748 echo "$as_me:4748: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try
='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:4751: \"$ac_try\"") >&5
4754 echo "$as_me:4754: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4756 ac_cv_have_decl_stpcpy
=yes
4758 echo "$as_me: failed program was:" >&5
4759 cat conftest.
$ac_ext >&5
4760 ac_cv_have_decl_stpcpy
=no
4762 rm -f conftest.
$ac_objext conftest.
$ac_ext
4764 echo "$as_me:4764: result: $ac_cv_have_decl_stpcpy" >&5
4765 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4766 if test $ac_cv_have_decl_stpcpy = yes; then
4768 cat >>confdefs.h
<<_ACEOF
4769 #define HAVE_DECL_STPCPY 1
4773 cat >>confdefs.h
<<_ACEOF
4774 #define HAVE_DECL_STPCPY 0
4778 echo "$as_me:4778: checking whether strndup is declared" >&5
4779 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4780 if test "${ac_cv_have_decl_strndup+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 cat >conftest.
$ac_ext <<_ACEOF
4784 #line 4784 "configure"
4785 #include "confdefs.h"
4786 $ac_includes_default
4787 #ifdef F77_DUMMY_MAIN
4791 int F77_DUMMY_MAIN() { return 1; }
4797 char *p = (char *) strndup;
4804 rm -f conftest.
$ac_objext
4805 if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5
4808 echo "$as_me:4808: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try
='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:4811: \"$ac_try\"") >&5
4814 echo "$as_me:4814: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 ac_cv_have_decl_strndup
=yes
4818 echo "$as_me: failed program was:" >&5
4819 cat conftest.
$ac_ext >&5
4820 ac_cv_have_decl_strndup
=no
4822 rm -f conftest.
$ac_objext conftest.
$ac_ext
4824 echo "$as_me:4824: result: $ac_cv_have_decl_strndup" >&5
4825 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4826 if test $ac_cv_have_decl_strndup = yes; then
4828 cat >>confdefs.h
<<_ACEOF
4829 #define HAVE_DECL_STRNDUP 1
4833 cat >>confdefs.h
<<_ACEOF
4834 #define HAVE_DECL_STRNDUP 0
4838 echo "$as_me:4838: checking whether strnlen is declared" >&5
4839 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4840 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 cat >conftest.
$ac_ext <<_ACEOF
4844 #line 4844 "configure"
4845 #include "confdefs.h"
4846 $ac_includes_default
4847 #ifdef F77_DUMMY_MAIN
4851 int F77_DUMMY_MAIN() { return 1; }
4857 char *p = (char *) strnlen;
4864 rm -f conftest.
$ac_objext
4865 if { (eval echo "$as_me:4865: \"$ac_compile\"") >&5
4866 (eval $ac_compile) 2>&5
4868 echo "$as_me:4868: \$? = $ac_status" >&5
4869 (exit $ac_status); } &&
4870 { ac_try
='test -s conftest.$ac_objext'
4871 { (eval echo "$as_me:4871: \"$ac_try\"") >&5
4874 echo "$as_me:4874: \$? = $ac_status" >&5
4875 (exit $ac_status); }; }; then
4876 ac_cv_have_decl_strnlen
=yes
4878 echo "$as_me: failed program was:" >&5
4879 cat conftest.
$ac_ext >&5
4880 ac_cv_have_decl_strnlen
=no
4882 rm -f conftest.
$ac_objext conftest.
$ac_ext
4884 echo "$as_me:4884: result: $ac_cv_have_decl_strnlen" >&5
4885 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4886 if test $ac_cv_have_decl_strnlen = yes; then
4888 cat >>confdefs.h
<<_ACEOF
4889 #define HAVE_DECL_STRNLEN 1
4893 cat >>confdefs.h
<<_ACEOF
4894 #define HAVE_DECL_STRNLEN 0
4898 echo "$as_me:4898: checking whether memchr is declared" >&5
4899 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4900 if test "${ac_cv_have_decl_memchr+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 cat >conftest.
$ac_ext <<_ACEOF
4904 #line 4904 "configure"
4905 #include "confdefs.h"
4906 $ac_includes_default
4907 #ifdef F77_DUMMY_MAIN
4911 int F77_DUMMY_MAIN() { return 1; }
4917 char *p = (char *) memchr;
4924 rm -f conftest.
$ac_objext
4925 if { (eval echo "$as_me:4925: \"$ac_compile\"") >&5
4926 (eval $ac_compile) 2>&5
4928 echo "$as_me:4928: \$? = $ac_status" >&5
4929 (exit $ac_status); } &&
4930 { ac_try
='test -s conftest.$ac_objext'
4931 { (eval echo "$as_me:4931: \"$ac_try\"") >&5
4934 echo "$as_me:4934: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_have_decl_memchr
=yes
4938 echo "$as_me: failed program was:" >&5
4939 cat conftest.
$ac_ext >&5
4940 ac_cv_have_decl_memchr
=no
4942 rm -f conftest.
$ac_objext conftest.
$ac_ext
4944 echo "$as_me:4944: result: $ac_cv_have_decl_memchr" >&5
4945 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4946 if test $ac_cv_have_decl_memchr = yes; then
4948 cat >>confdefs.h
<<_ACEOF
4949 #define HAVE_DECL_MEMCHR 1
4953 cat >>confdefs.h
<<_ACEOF
4954 #define HAVE_DECL_MEMCHR 0
4959 for ac_func
in stpcpy strndup strnlen strspn memchr
4961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4962 echo "$as_me:4962: checking for $ac_func" >&5
4963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4964 if eval "test \"\${$as_ac_var+set}\" = set"; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 cat >conftest.
$ac_ext <<_ACEOF
4968 #line 4968 "configure"
4969 #include "confdefs.h"
4970 /* System header to define __stub macros and hopefully few prototypes,
4971 which can conflict with char $ac_func (); below. */
4973 /* Override any gcc2 internal prototype to avoid an error. */
4977 /* We use char because int might match the return type of a gcc2
4978 builtin and then its argument prototype would still apply. */
4982 #ifdef F77_DUMMY_MAIN
4986 int F77_DUMMY_MAIN() { return 1; }
4991 /* The GNU C library defines this for functions which it implements
4992 to always fail with ENOSYS. Some functions are actually named
4993 something starting with __ and the normal name is an alias. */
4994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5004 rm -f conftest.
$ac_objext conftest
$ac_exeext
5005 if { (eval echo "$as_me:5005: \"$ac_link\"") >&5
5006 (eval $ac_link) 2>&5
5008 echo "$as_me:5008: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try
='test -s conftest$ac_exeext'
5011 { (eval echo "$as_me:5011: \"$ac_try\"") >&5
5014 echo "$as_me:5014: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5016 eval "$as_ac_var=yes"
5018 echo "$as_me: failed program was:" >&5
5019 cat conftest.
$ac_ext >&5
5020 eval "$as_ac_var=no"
5022 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5024 echo "$as_me:5024: result: `eval echo '${'$as_ac_var'}'`" >&5
5025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5026 if test `eval echo '${'$as_ac_var'}'` = yes; then
5027 cat >>confdefs.h
<<_ACEOF
5028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5032 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5036 cat >>confdefs.h
<<_ACEOF
5037 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5040 echo "$as_me:5040: checking for working malloc" >&5
5041 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5042 if test "${jm_cv_func_working_malloc+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 if test "$cross_compiling" = yes; then
5046 jm_cv_func_working_malloc
=no
5048 cat >conftest.
$ac_ext <<_ACEOF
5049 #line 5049 "configure"
5050 #include "confdefs.h"
5056 exit (malloc (0) ? 0 : 1);
5060 rm -f conftest
$ac_exeext
5061 if { (eval echo "$as_me:5061: \"$ac_link\"") >&5
5062 (eval $ac_link) 2>&5
5064 echo "$as_me:5064: \$? = $ac_status" >&5
5065 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5066 { (eval echo "$as_me:5066: \"$ac_try\"") >&5
5069 echo "$as_me:5069: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 jm_cv_func_working_malloc
=yes
5073 echo "$as_me: program exited with status $ac_status" >&5
5074 echo "$as_me: failed program was:" >&5
5075 cat conftest.
$ac_ext >&5
5076 jm_cv_func_working_malloc
=no
5078 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5082 echo "$as_me:5082: result: $jm_cv_func_working_malloc" >&5
5083 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5084 if test $jm_cv_func_working_malloc = no
; then
5086 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5088 cat >>confdefs.h
<<_ACEOF
5089 #define malloc rpl_malloc
5094 cat >>confdefs.h
<<_ACEOF
5095 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5098 echo "$as_me:5098: checking for working realloc" >&5
5099 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5100 if test "${jm_cv_func_working_realloc+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 if test "$cross_compiling" = yes; then
5104 jm_cv_func_working_realloc
=no
5106 cat >conftest.
$ac_ext <<_ACEOF
5107 #line 5107 "configure"
5108 #include "confdefs.h"
5114 exit (realloc (0, 0) ? 0 : 1);
5118 rm -f conftest
$ac_exeext
5119 if { (eval echo "$as_me:5119: \"$ac_link\"") >&5
5120 (eval $ac_link) 2>&5
5122 echo "$as_me:5122: \$? = $ac_status" >&5
5123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5124 { (eval echo "$as_me:5124: \"$ac_try\"") >&5
5127 echo "$as_me:5127: \$? = $ac_status" >&5
5128 (exit $ac_status); }; }; then
5129 jm_cv_func_working_realloc
=yes
5131 echo "$as_me: program exited with status $ac_status" >&5
5132 echo "$as_me: failed program was:" >&5
5133 cat conftest.
$ac_ext >&5
5134 jm_cv_func_working_realloc
=no
5136 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5140 echo "$as_me:5140: result: $jm_cv_func_working_realloc" >&5
5141 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5142 if test $jm_cv_func_working_realloc = no
; then
5144 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5146 cat >>confdefs.h
<<_ACEOF
5147 #define realloc rpl_realloc
5152 for ac_func
in isascii iswprint mbrtowc
5154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5155 echo "$as_me:5155: checking for $ac_func" >&5
5156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5157 if eval "test \"\${$as_ac_var+set}\" = set"; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 cat >conftest.
$ac_ext <<_ACEOF
5161 #line 5161 "configure"
5162 #include "confdefs.h"
5163 /* System header to define __stub macros and hopefully few prototypes,
5164 which can conflict with char $ac_func (); below. */
5166 /* Override any gcc2 internal prototype to avoid an error. */
5170 /* We use char because int might match the return type of a gcc2
5171 builtin and then its argument prototype would still apply. */
5175 #ifdef F77_DUMMY_MAIN
5179 int F77_DUMMY_MAIN() { return 1; }
5184 /* The GNU C library defines this for functions which it implements
5185 to always fail with ENOSYS. Some functions are actually named
5186 something starting with __ and the normal name is an alias. */
5187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5197 rm -f conftest.
$ac_objext conftest
$ac_exeext
5198 if { (eval echo "$as_me:5198: \"$ac_link\"") >&5
5199 (eval $ac_link) 2>&5
5201 echo "$as_me:5201: \$? = $ac_status" >&5
5202 (exit $ac_status); } &&
5203 { ac_try
='test -s conftest$ac_exeext'
5204 { (eval echo "$as_me:5204: \"$ac_try\"") >&5
5207 echo "$as_me:5207: \$? = $ac_status" >&5
5208 (exit $ac_status); }; }; then
5209 eval "$as_ac_var=yes"
5211 echo "$as_me: failed program was:" >&5
5212 cat conftest.
$ac_ext >&5
5213 eval "$as_ac_var=no"
5215 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5217 echo "$as_me:5217: result: `eval echo '${'$as_ac_var'}'`" >&5
5218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5219 if test `eval echo '${'$as_ac_var'}'` = yes; then
5220 cat >>confdefs.h
<<_ACEOF
5221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5227 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
5229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5231 echo "$as_me:5231: checking for $ac_header" >&5
5232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 echo "$as_me:5236: result: `eval echo '${'$as_ac_Header'}'`" >&5
5237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5239 # Is the header compilable?
5240 echo "$as_me:5240: checking $ac_header usability" >&5
5241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5242 cat >conftest.
$ac_ext <<_ACEOF
5243 #line 5243 "configure"
5244 #include "confdefs.h"
5245 $ac_includes_default
5246 #include <$ac_header>
5248 rm -f conftest.
$ac_objext
5249 if { (eval echo "$as_me:5249: \"$ac_compile\"") >&5
5250 (eval $ac_compile) 2>&5
5252 echo "$as_me:5252: \$? = $ac_status" >&5
5253 (exit $ac_status); } &&
5254 { ac_try
='test -s conftest.$ac_objext'
5255 { (eval echo "$as_me:5255: \"$ac_try\"") >&5
5258 echo "$as_me:5258: \$? = $ac_status" >&5
5259 (exit $ac_status); }; }; then
5260 ac_header_compiler
=yes
5262 echo "$as_me: failed program was:" >&5
5263 cat conftest.
$ac_ext >&5
5264 ac_header_compiler
=no
5266 rm -f conftest.
$ac_objext conftest.
$ac_ext
5267 echo "$as_me:5267: result: $ac_header_compiler" >&5
5268 echo "${ECHO_T}$ac_header_compiler" >&6
5270 # Is the header present?
5271 echo "$as_me:5271: checking $ac_header presence" >&5
5272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5273 cat >conftest.
$ac_ext <<_ACEOF
5274 #line 5274 "configure"
5275 #include "confdefs.h"
5276 #include <$ac_header>
5278 if { (eval echo "$as_me:5278: \"$ac_cpp conftest.$ac_ext\"") >&5
5279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5281 egrep -v '^ *\+' conftest.er1
>conftest.err
5283 cat conftest.err
>&5
5284 echo "$as_me:5284: \$? = $ac_status" >&5
5285 (exit $ac_status); } >/dev
/null
; then
5286 if test -s conftest.err
; then
5287 ac_cpp_err
=$ac_c_preproc_warn_flag
5294 if test -z "$ac_cpp_err"; then
5295 ac_header_preproc
=yes
5297 echo "$as_me: failed program was:" >&5
5298 cat conftest.
$ac_ext >&5
5299 ac_header_preproc
=no
5301 rm -f conftest.err conftest.
$ac_ext
5302 echo "$as_me:5302: result: $ac_header_preproc" >&5
5303 echo "${ECHO_T}$ac_header_preproc" >&6
5305 # So? What about this header?
5306 case $ac_header_compiler:$ac_header_preproc in
5308 { echo "$as_me:5308: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5310 { echo "$as_me:5310: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5313 { echo "$as_me:5313: WARNING: $ac_header: present but cannot be compiled." >&5
5314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5315 { echo "$as_me:5315: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5317 { echo "$as_me:5317: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5320 echo "$as_me:5320: checking for $ac_header" >&5
5321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 eval "$as_ac_Header=$ac_header_preproc"
5327 echo "$as_me:5327: result: `eval echo '${'$as_ac_Header'}'`" >&5
5328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5332 cat >>confdefs.h
<<_ACEOF
5333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5340 echo "$as_me:5340: checking for ANSI C header files" >&5
5341 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5342 if test "${ac_cv_header_stdc+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 cat >conftest.
$ac_ext <<_ACEOF
5346 #line 5346 "configure"
5347 #include "confdefs.h"
5354 if { (eval echo "$as_me:5354: \"$ac_cpp conftest.$ac_ext\"") >&5
5355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5357 egrep -v '^ *\+' conftest.er1
>conftest.err
5359 cat conftest.err
>&5
5360 echo "$as_me:5360: \$? = $ac_status" >&5
5361 (exit $ac_status); } >/dev
/null
; then
5362 if test -s conftest.err
; then
5363 ac_cpp_err
=$ac_c_preproc_warn_flag
5370 if test -z "$ac_cpp_err"; then
5371 ac_cv_header_stdc
=yes
5373 echo "$as_me: failed program was:" >&5
5374 cat conftest.
$ac_ext >&5
5375 ac_cv_header_stdc
=no
5377 rm -f conftest.err conftest.
$ac_ext
5379 if test $ac_cv_header_stdc = yes; then
5380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5381 cat >conftest.
$ac_ext <<_ACEOF
5382 #line 5382 "configure"
5383 #include "confdefs.h"
5387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5388 egrep "memchr" >/dev
/null
2>&1; then
5391 ac_cv_header_stdc
=no
5397 if test $ac_cv_header_stdc = yes; then
5398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5399 cat >conftest.
$ac_ext <<_ACEOF
5400 #line 5400 "configure"
5401 #include "confdefs.h"
5405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5406 egrep "free" >/dev
/null
2>&1; then
5409 ac_cv_header_stdc
=no
5415 if test $ac_cv_header_stdc = yes; then
5416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5417 if test "$cross_compiling" = yes; then
5420 cat >conftest.
$ac_ext <<_ACEOF
5421 #line 5421 "configure"
5422 #include "confdefs.h"
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5428 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5429 || ('j' <= (c) && (c) <= 'r') \
5430 || ('s' <= (c) && (c) <= 'z'))
5431 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5434 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5439 for (i = 0; i < 256; i++)
5440 if (XOR (islower (i), ISLOWER (i))
5441 || toupper (i) != TOUPPER (i))
5446 rm -f conftest
$ac_exeext
5447 if { (eval echo "$as_me:5447: \"$ac_link\"") >&5
5448 (eval $ac_link) 2>&5
5450 echo "$as_me:5450: \$? = $ac_status" >&5
5451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5452 { (eval echo "$as_me:5452: \"$ac_try\"") >&5
5455 echo "$as_me:5455: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5459 echo "$as_me: program exited with status $ac_status" >&5
5460 echo "$as_me: failed program was:" >&5
5461 cat conftest.
$ac_ext >&5
5462 ac_cv_header_stdc
=no
5464 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5468 echo "$as_me:5468: result: $ac_cv_header_stdc" >&5
5469 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5470 if test $ac_cv_header_stdc = yes; then
5472 cat >>confdefs.h
<<\_ACEOF
5473 #define STDC_HEADERS 1
5478 echo "$as_me:5478: checking whether backslash-a works in strings" >&5
5479 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
5480 if test "${ac_cv_c_backslash_a+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 cat >conftest.
$ac_ext <<_ACEOF
5484 #line 5484 "configure"
5485 #include "confdefs.h"
5487 #ifdef F77_DUMMY_MAIN
5491 int F77_DUMMY_MAIN() { return 1; }
5500 char buf['\a' == 'a' ? -1 : 1];
5502 return buf[0] != "\a"[0];
5508 rm -f conftest.
$ac_objext
5509 if { (eval echo "$as_me:5509: \"$ac_compile\"") >&5
5510 (eval $ac_compile) 2>&5
5512 echo "$as_me:5512: \$? = $ac_status" >&5
5513 (exit $ac_status); } &&
5514 { ac_try
='test -s conftest.$ac_objext'
5515 { (eval echo "$as_me:5515: \"$ac_try\"") >&5
5518 echo "$as_me:5518: \$? = $ac_status" >&5
5519 (exit $ac_status); }; }; then
5520 ac_cv_c_backslash_a
=yes
5522 echo "$as_me: failed program was:" >&5
5523 cat conftest.
$ac_ext >&5
5524 ac_cv_c_backslash_a
=no
5526 rm -f conftest.
$ac_objext conftest.
$ac_ext
5528 echo "$as_me:5528: result: $ac_cv_c_backslash_a" >&5
5529 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
5530 if test $ac_cv_c_backslash_a = yes; then
5532 cat >>confdefs.h
<<\_ACEOF
5533 #define HAVE_C_BACKSLASH_A 1
5538 for ac_header
in stdlib.h
5540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo "$as_me:5542: checking for $ac_header" >&5
5543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 echo "$as_me:5547: result: `eval echo '${'$as_ac_Header'}'`" >&5
5548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5550 # Is the header compilable?
5551 echo "$as_me:5551: checking $ac_header usability" >&5
5552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5553 cat >conftest.
$ac_ext <<_ACEOF
5554 #line 5554 "configure"
5555 #include "confdefs.h"
5556 $ac_includes_default
5557 #include <$ac_header>
5559 rm -f conftest.
$ac_objext
5560 if { (eval echo "$as_me:5560: \"$ac_compile\"") >&5
5561 (eval $ac_compile) 2>&5
5563 echo "$as_me:5563: \$? = $ac_status" >&5
5564 (exit $ac_status); } &&
5565 { ac_try
='test -s conftest.$ac_objext'
5566 { (eval echo "$as_me:5566: \"$ac_try\"") >&5
5569 echo "$as_me:5569: \$? = $ac_status" >&5
5570 (exit $ac_status); }; }; then
5571 ac_header_compiler
=yes
5573 echo "$as_me: failed program was:" >&5
5574 cat conftest.
$ac_ext >&5
5575 ac_header_compiler
=no
5577 rm -f conftest.
$ac_objext conftest.
$ac_ext
5578 echo "$as_me:5578: result: $ac_header_compiler" >&5
5579 echo "${ECHO_T}$ac_header_compiler" >&6
5581 # Is the header present?
5582 echo "$as_me:5582: checking $ac_header presence" >&5
5583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5585 #line 5585 "configure"
5586 #include "confdefs.h"
5587 #include <$ac_header>
5589 if { (eval echo "$as_me:5589: \"$ac_cpp conftest.$ac_ext\"") >&5
5590 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5592 egrep -v '^ *\+' conftest.er1
>conftest.err
5594 cat conftest.err
>&5
5595 echo "$as_me:5595: \$? = $ac_status" >&5
5596 (exit $ac_status); } >/dev
/null
; then
5597 if test -s conftest.err
; then
5598 ac_cpp_err
=$ac_c_preproc_warn_flag
5605 if test -z "$ac_cpp_err"; then
5606 ac_header_preproc
=yes
5608 echo "$as_me: failed program was:" >&5
5609 cat conftest.
$ac_ext >&5
5610 ac_header_preproc
=no
5612 rm -f conftest.err conftest.
$ac_ext
5613 echo "$as_me:5613: result: $ac_header_preproc" >&5
5614 echo "${ECHO_T}$ac_header_preproc" >&6
5616 # So? What about this header?
5617 case $ac_header_compiler:$ac_header_preproc in
5619 { echo "$as_me:5619: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5621 { echo "$as_me:5621: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5624 { echo "$as_me:5624: WARNING: $ac_header: present but cannot be compiled." >&5
5625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5626 { echo "$as_me:5626: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5628 { echo "$as_me:5628: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5631 echo "$as_me:5631: checking for $ac_header" >&5
5632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 eval "$as_ac_Header=$ac_header_preproc"
5638 echo "$as_me:5638: result: `eval echo '${'$as_ac_Header'}'`" >&5
5639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5643 cat >>confdefs.h
<<_ACEOF
5644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5651 echo "$as_me:5651: checking for mbstate_t" >&5
5652 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
5653 if test "${ac_cv_type_mbstate_t+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 cat >conftest.
$ac_ext <<_ACEOF
5657 #line 5657 "configure"
5658 #include "confdefs.h"
5661 # include <stdlib.h>
5664 #ifdef F77_DUMMY_MAIN
5668 int F77_DUMMY_MAIN() { return 1; }
5673 mbstate_t x; return sizeof x;
5678 rm -f conftest.
$ac_objext
5679 if { (eval echo "$as_me:5679: \"$ac_compile\"") >&5
5680 (eval $ac_compile) 2>&5
5682 echo "$as_me:5682: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:5685: \"$ac_try\"") >&5
5688 echo "$as_me:5688: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 ac_cv_type_mbstate_t
=yes
5692 echo "$as_me: failed program was:" >&5
5693 cat conftest.
$ac_ext >&5
5694 ac_cv_type_mbstate_t
=no
5696 rm -f conftest.
$ac_objext conftest.
$ac_ext
5698 echo "$as_me:5698: result: $ac_cv_type_mbstate_t" >&5
5699 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
5700 if test $ac_cv_type_mbstate_t = no
; then
5702 cat >>confdefs.h
<<\_ACEOF
5703 #define mbstate_t int
5708 echo "$as_me:5708: checking for function prototypes" >&5
5709 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5710 if test "$am_cv_prog_cc_stdc" != no
; then
5711 echo "$as_me:5711: result: yes" >&5
5712 echo "${ECHO_T}yes" >&6
5714 cat >>confdefs.h
<<\_ACEOF
5715 #define PROTOTYPES 1
5720 echo "$as_me:5720: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5722 U
=_ ANSI2KNR
=.
/ansi2knr
5724 # Ensure some checks needed by ansi2knr itself.
5725 echo "$as_me:5725: checking for ANSI C header files" >&5
5726 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5727 if test "${ac_cv_header_stdc+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 cat >conftest.
$ac_ext <<_ACEOF
5731 #line 5731 "configure"
5732 #include "confdefs.h"
5739 if { (eval echo "$as_me:5739: \"$ac_cpp conftest.$ac_ext\"") >&5
5740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5742 egrep -v '^ *\+' conftest.er1
>conftest.err
5744 cat conftest.err
>&5
5745 echo "$as_me:5745: \$? = $ac_status" >&5
5746 (exit $ac_status); } >/dev
/null
; then
5747 if test -s conftest.err
; then
5748 ac_cpp_err
=$ac_c_preproc_warn_flag
5755 if test -z "$ac_cpp_err"; then
5756 ac_cv_header_stdc
=yes
5758 echo "$as_me: failed program was:" >&5
5759 cat conftest.
$ac_ext >&5
5760 ac_cv_header_stdc
=no
5762 rm -f conftest.err conftest.
$ac_ext
5764 if test $ac_cv_header_stdc = yes; then
5765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5766 cat >conftest.
$ac_ext <<_ACEOF
5767 #line 5767 "configure"
5768 #include "confdefs.h"
5772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5773 egrep "memchr" >/dev
/null
2>&1; then
5776 ac_cv_header_stdc
=no
5782 if test $ac_cv_header_stdc = yes; then
5783 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5784 cat >conftest.
$ac_ext <<_ACEOF
5785 #line 5785 "configure"
5786 #include "confdefs.h"
5790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5791 egrep "free" >/dev
/null
2>&1; then
5794 ac_cv_header_stdc
=no
5800 if test $ac_cv_header_stdc = yes; then
5801 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5802 if test "$cross_compiling" = yes; then
5805 cat >conftest.
$ac_ext <<_ACEOF
5806 #line 5806 "configure"
5807 #include "confdefs.h"
5809 #if ((' ' & 0x0FF) == 0x020)
5810 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5811 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5813 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5814 || ('j' <= (c) && (c) <= 'r') \
5815 || ('s' <= (c) && (c) <= 'z'))
5816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5824 for (i = 0; i < 256; i++)
5825 if (XOR (islower (i), ISLOWER (i))
5826 || toupper (i) != TOUPPER (i))
5831 rm -f conftest
$ac_exeext
5832 if { (eval echo "$as_me:5832: \"$ac_link\"") >&5
5833 (eval $ac_link) 2>&5
5835 echo "$as_me:5835: \$? = $ac_status" >&5
5836 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5837 { (eval echo "$as_me:5837: \"$ac_try\"") >&5
5840 echo "$as_me:5840: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5844 echo "$as_me: program exited with status $ac_status" >&5
5845 echo "$as_me: failed program was:" >&5
5846 cat conftest.
$ac_ext >&5
5847 ac_cv_header_stdc
=no
5849 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5853 echo "$as_me:5853: result: $ac_cv_header_stdc" >&5
5854 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5855 if test $ac_cv_header_stdc = yes; then
5857 cat >>confdefs.h
<<\_ACEOF
5858 #define STDC_HEADERS 1
5863 for ac_header
in string.h
5865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5867 echo "$as_me:5867: checking for $ac_header" >&5
5868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 echo "$as_me:5872: result: `eval echo '${'$as_ac_Header'}'`" >&5
5873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5875 # Is the header compilable?
5876 echo "$as_me:5876: checking $ac_header usability" >&5
5877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5878 cat >conftest.
$ac_ext <<_ACEOF
5879 #line 5879 "configure"
5880 #include "confdefs.h"
5881 $ac_includes_default
5882 #include <$ac_header>
5884 rm -f conftest.
$ac_objext
5885 if { (eval echo "$as_me:5885: \"$ac_compile\"") >&5
5886 (eval $ac_compile) 2>&5
5888 echo "$as_me:5888: \$? = $ac_status" >&5
5889 (exit $ac_status); } &&
5890 { ac_try
='test -s conftest.$ac_objext'
5891 { (eval echo "$as_me:5891: \"$ac_try\"") >&5
5894 echo "$as_me:5894: \$? = $ac_status" >&5
5895 (exit $ac_status); }; }; then
5896 ac_header_compiler
=yes
5898 echo "$as_me: failed program was:" >&5
5899 cat conftest.
$ac_ext >&5
5900 ac_header_compiler
=no
5902 rm -f conftest.
$ac_objext conftest.
$ac_ext
5903 echo "$as_me:5903: result: $ac_header_compiler" >&5
5904 echo "${ECHO_T}$ac_header_compiler" >&6
5906 # Is the header present?
5907 echo "$as_me:5907: checking $ac_header presence" >&5
5908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5909 cat >conftest.
$ac_ext <<_ACEOF
5910 #line 5910 "configure"
5911 #include "confdefs.h"
5912 #include <$ac_header>
5914 if { (eval echo "$as_me:5914: \"$ac_cpp conftest.$ac_ext\"") >&5
5915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5917 egrep -v '^ *\+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:5920: \$? = $ac_status" >&5
5921 (exit $ac_status); } >/dev
/null
; then
5922 if test -s conftest.err
; then
5923 ac_cpp_err
=$ac_c_preproc_warn_flag
5930 if test -z "$ac_cpp_err"; then
5931 ac_header_preproc
=yes
5933 echo "$as_me: failed program was:" >&5
5934 cat conftest.
$ac_ext >&5
5935 ac_header_preproc
=no
5937 rm -f conftest.err conftest.
$ac_ext
5938 echo "$as_me:5938: result: $ac_header_preproc" >&5
5939 echo "${ECHO_T}$ac_header_preproc" >&6
5941 # So? What about this header?
5942 case $ac_header_compiler:$ac_header_preproc in
5944 { echo "$as_me:5944: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5946 { echo "$as_me:5946: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5949 { echo "$as_me:5949: WARNING: $ac_header: present but cannot be compiled." >&5
5950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5951 { echo "$as_me:5951: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5953 { echo "$as_me:5953: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5956 echo "$as_me:5956: checking for $ac_header" >&5
5957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 eval "$as_ac_Header=$ac_header_preproc"
5963 echo "$as_me:5963: result: `eval echo '${'$as_ac_Header'}'`" >&5
5964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5968 cat >>confdefs.h
<<_ACEOF
5969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5976 for ac_func
in strerror strerror_r vprintf doprnt
5978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5979 echo "$as_me:5979: checking for $ac_func" >&5
5980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5981 if eval "test \"\${$as_ac_var+set}\" = set"; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 cat >conftest.
$ac_ext <<_ACEOF
5985 #line 5985 "configure"
5986 #include "confdefs.h"
5987 /* System header to define __stub macros and hopefully few prototypes,
5988 which can conflict with char $ac_func (); below. */
5990 /* Override any gcc2 internal prototype to avoid an error. */
5994 /* We use char because int might match the return type of a gcc2
5995 builtin and then its argument prototype would still apply. */
5999 #ifdef F77_DUMMY_MAIN
6003 int F77_DUMMY_MAIN() { return 1; }
6008 /* The GNU C library defines this for functions which it implements
6009 to always fail with ENOSYS. Some functions are actually named
6010 something starting with __ and the normal name is an alias. */
6011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6021 rm -f conftest.
$ac_objext conftest
$ac_exeext
6022 if { (eval echo "$as_me:6022: \"$ac_link\"") >&5
6023 (eval $ac_link) 2>&5
6025 echo "$as_me:6025: \$? = $ac_status" >&5
6026 (exit $ac_status); } &&
6027 { ac_try
='test -s conftest$ac_exeext'
6028 { (eval echo "$as_me:6028: \"$ac_try\"") >&5
6031 echo "$as_me:6031: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 eval "$as_ac_var=yes"
6035 echo "$as_me: failed program was:" >&5
6036 cat conftest.
$ac_ext >&5
6037 eval "$as_ac_var=no"
6039 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6041 echo "$as_me:6041: result: `eval echo '${'$as_ac_var'}'`" >&5
6042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6043 if test `eval echo '${'$as_ac_var'}'` = yes; then
6044 cat >>confdefs.h
<<_ACEOF
6045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6051 echo "$as_me:6051: checking for ANSI C header files" >&5
6052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6053 if test "${ac_cv_header_stdc+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 cat >conftest.
$ac_ext <<_ACEOF
6057 #line 6057 "configure"
6058 #include "confdefs.h"
6065 if { (eval echo "$as_me:6065: \"$ac_cpp conftest.$ac_ext\"") >&5
6066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6068 egrep -v '^ *\+' conftest.er1
>conftest.err
6070 cat conftest.err
>&5
6071 echo "$as_me:6071: \$? = $ac_status" >&5
6072 (exit $ac_status); } >/dev
/null
; then
6073 if test -s conftest.err
; then
6074 ac_cpp_err
=$ac_c_preproc_warn_flag
6081 if test -z "$ac_cpp_err"; then
6082 ac_cv_header_stdc
=yes
6084 echo "$as_me: failed program was:" >&5
6085 cat conftest.
$ac_ext >&5
6086 ac_cv_header_stdc
=no
6088 rm -f conftest.err conftest.
$ac_ext
6090 if test $ac_cv_header_stdc = yes; then
6091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6092 cat >conftest.
$ac_ext <<_ACEOF
6093 #line 6093 "configure"
6094 #include "confdefs.h"
6098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6099 egrep "memchr" >/dev
/null
2>&1; then
6102 ac_cv_header_stdc
=no
6108 if test $ac_cv_header_stdc = yes; then
6109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6110 cat >conftest.
$ac_ext <<_ACEOF
6111 #line 6111 "configure"
6112 #include "confdefs.h"
6116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6117 egrep "free" >/dev
/null
2>&1; then
6120 ac_cv_header_stdc
=no
6126 if test $ac_cv_header_stdc = yes; then
6127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6128 if test "$cross_compiling" = yes; then
6131 cat >conftest.
$ac_ext <<_ACEOF
6132 #line 6132 "configure"
6133 #include "confdefs.h"
6135 #if ((' ' & 0x0FF) == 0x020)
6136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6139 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6140 || ('j' <= (c) && (c) <= 'r') \
6141 || ('s' <= (c) && (c) <= 'z'))
6142 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6145 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6150 for (i = 0; i < 256; i++)
6151 if (XOR (islower (i), ISLOWER (i))
6152 || toupper (i) != TOUPPER (i))
6157 rm -f conftest
$ac_exeext
6158 if { (eval echo "$as_me:6158: \"$ac_link\"") >&5
6159 (eval $ac_link) 2>&5
6161 echo "$as_me:6161: \$? = $ac_status" >&5
6162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6163 { (eval echo "$as_me:6163: \"$ac_try\"") >&5
6166 echo "$as_me:6166: \$? = $ac_status" >&5
6167 (exit $ac_status); }; }; then
6170 echo "$as_me: program exited with status $ac_status" >&5
6171 echo "$as_me: failed program was:" >&5
6172 cat conftest.
$ac_ext >&5
6173 ac_cv_header_stdc
=no
6175 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6179 echo "$as_me:6179: result: $ac_cv_header_stdc" >&5
6180 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6181 if test $ac_cv_header_stdc = yes; then
6183 cat >>confdefs.h
<<\_ACEOF
6184 #define STDC_HEADERS 1
6189 echo "$as_me:6189: checking whether strerror_r is declared" >&5
6190 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6191 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 cat >conftest.
$ac_ext <<_ACEOF
6195 #line 6195 "configure"
6196 #include "confdefs.h"
6197 $ac_includes_default
6198 #ifdef F77_DUMMY_MAIN
6202 int F77_DUMMY_MAIN() { return 1; }
6208 char *p = (char *) strerror_r;
6215 rm -f conftest.
$ac_objext
6216 if { (eval echo "$as_me:6216: \"$ac_compile\"") >&5
6217 (eval $ac_compile) 2>&5
6219 echo "$as_me:6219: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try
='test -s conftest.$ac_objext'
6222 { (eval echo "$as_me:6222: \"$ac_try\"") >&5
6225 echo "$as_me:6225: \$? = $ac_status" >&5
6226 (exit $ac_status); }; }; then
6227 ac_cv_have_decl_strerror_r
=yes
6229 echo "$as_me: failed program was:" >&5
6230 cat conftest.
$ac_ext >&5
6231 ac_cv_have_decl_strerror_r
=no
6233 rm -f conftest.
$ac_objext conftest.
$ac_ext
6235 echo "$as_me:6235: result: $ac_cv_have_decl_strerror_r" >&5
6236 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6237 if test $ac_cv_have_decl_strerror_r = yes; then
6239 cat >>confdefs.h
<<_ACEOF
6240 #define HAVE_DECL_STRERROR_R 1
6244 cat >>confdefs.h
<<_ACEOF
6245 #define HAVE_DECL_STRERROR_R 0
6250 for ac_func
in strerror_r
6252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6253 echo "$as_me:6253: checking for $ac_func" >&5
6254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6255 if eval "test \"\${$as_ac_var+set}\" = set"; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 cat >conftest.
$ac_ext <<_ACEOF
6259 #line 6259 "configure"
6260 #include "confdefs.h"
6261 /* System header to define __stub macros and hopefully few prototypes,
6262 which can conflict with char $ac_func (); below. */
6264 /* Override any gcc2 internal prototype to avoid an error. */
6268 /* We use char because int might match the return type of a gcc2
6269 builtin and then its argument prototype would still apply. */
6273 #ifdef F77_DUMMY_MAIN
6277 int F77_DUMMY_MAIN() { return 1; }
6282 /* The GNU C library defines this for functions which it implements
6283 to always fail with ENOSYS. Some functions are actually named
6284 something starting with __ and the normal name is an alias. */
6285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6295 rm -f conftest.
$ac_objext conftest
$ac_exeext
6296 if { (eval echo "$as_me:6296: \"$ac_link\"") >&5
6297 (eval $ac_link) 2>&5
6299 echo "$as_me:6299: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try
='test -s conftest$ac_exeext'
6302 { (eval echo "$as_me:6302: \"$ac_try\"") >&5
6305 echo "$as_me:6305: \$? = $ac_status" >&5
6306 (exit $ac_status); }; }; then
6307 eval "$as_ac_var=yes"
6309 echo "$as_me: failed program was:" >&5
6310 cat conftest.
$ac_ext >&5
6311 eval "$as_ac_var=no"
6313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6315 echo "$as_me:6315: result: `eval echo '${'$as_ac_var'}'`" >&5
6316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6317 if test `eval echo '${'$as_ac_var'}'` = yes; then
6318 cat >>confdefs.h
<<_ACEOF
6319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6325 if test $ac_cv_func_strerror_r = yes; then
6327 for ac_header
in string.h
6329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6331 echo "$as_me:6331: checking for $ac_header" >&5
6332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 echo "$as_me:6336: result: `eval echo '${'$as_ac_Header'}'`" >&5
6337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6339 # Is the header compilable?
6340 echo "$as_me:6340: checking $ac_header usability" >&5
6341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6342 cat >conftest.
$ac_ext <<_ACEOF
6343 #line 6343 "configure"
6344 #include "confdefs.h"
6345 $ac_includes_default
6346 #include <$ac_header>
6348 rm -f conftest.
$ac_objext
6349 if { (eval echo "$as_me:6349: \"$ac_compile\"") >&5
6350 (eval $ac_compile) 2>&5
6352 echo "$as_me:6352: \$? = $ac_status" >&5
6353 (exit $ac_status); } &&
6354 { ac_try
='test -s conftest.$ac_objext'
6355 { (eval echo "$as_me:6355: \"$ac_try\"") >&5
6358 echo "$as_me:6358: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 ac_header_compiler
=yes
6362 echo "$as_me: failed program was:" >&5
6363 cat conftest.
$ac_ext >&5
6364 ac_header_compiler
=no
6366 rm -f conftest.
$ac_objext conftest.
$ac_ext
6367 echo "$as_me:6367: result: $ac_header_compiler" >&5
6368 echo "${ECHO_T}$ac_header_compiler" >&6
6370 # Is the header present?
6371 echo "$as_me:6371: checking $ac_header presence" >&5
6372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6373 cat >conftest.
$ac_ext <<_ACEOF
6374 #line 6374 "configure"
6375 #include "confdefs.h"
6376 #include <$ac_header>
6378 if { (eval echo "$as_me:6378: \"$ac_cpp conftest.$ac_ext\"") >&5
6379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6381 egrep -v '^ *\+' conftest.er1
>conftest.err
6383 cat conftest.err
>&5
6384 echo "$as_me:6384: \$? = $ac_status" >&5
6385 (exit $ac_status); } >/dev
/null
; then
6386 if test -s conftest.err
; then
6387 ac_cpp_err
=$ac_c_preproc_warn_flag
6394 if test -z "$ac_cpp_err"; then
6395 ac_header_preproc
=yes
6397 echo "$as_me: failed program was:" >&5
6398 cat conftest.
$ac_ext >&5
6399 ac_header_preproc
=no
6401 rm -f conftest.err conftest.
$ac_ext
6402 echo "$as_me:6402: result: $ac_header_preproc" >&5
6403 echo "${ECHO_T}$ac_header_preproc" >&6
6405 # So? What about this header?
6406 case $ac_header_compiler:$ac_header_preproc in
6408 { echo "$as_me:6408: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6410 { echo "$as_me:6410: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6413 { echo "$as_me:6413: WARNING: $ac_header: present but cannot be compiled." >&5
6414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6415 { echo "$as_me:6415: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6417 { echo "$as_me:6417: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6420 echo "$as_me:6420: checking for $ac_header" >&5
6421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 eval "$as_ac_Header=$ac_header_preproc"
6427 echo "$as_me:6427: result: `eval echo '${'$as_ac_Header'}'`" >&5
6428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6432 cat >>confdefs.h
<<_ACEOF
6433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6440 echo "$as_me:6440: checking for working strerror_r" >&5
6441 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
6442 if test "${ac_cv_func_strerror_r_works+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 cat >conftest.
$ac_ext <<_ACEOF
6447 #line 6447 "configure"
6448 #include "confdefs.h"
6452 # include <string.h>
6455 #ifdef F77_DUMMY_MAIN
6459 int F77_DUMMY_MAIN() { return 1; }
6466 char x = *strerror_r (0, buf, sizeof buf);
6472 rm -f conftest.
$ac_objext
6473 if { (eval echo "$as_me:6473: \"$ac_compile\"") >&5
6474 (eval $ac_compile) 2>&5
6476 echo "$as_me:6476: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try
='test -s conftest.$ac_objext'
6479 { (eval echo "$as_me:6479: \"$ac_try\"") >&5
6482 echo "$as_me:6482: \$? = $ac_status" >&5
6483 (exit $ac_status); }; }; then
6484 ac_cv_func_strerror_r_works
=yes
6486 echo "$as_me: failed program was:" >&5
6487 cat conftest.
$ac_ext >&5
6488 ac_cv_func_strerror_r_works
=no
6491 rm -f conftest.
$ac_objext conftest.
$ac_ext
6492 if test $ac_cv_func_strerror_r_works = no
; then
6493 # strerror_r seems not to work, but now we have to choose between
6494 # systems that have relatively inaccessible declarations for the
6495 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
6496 # former has a strerror_r that returns char*, while the latter
6497 # has a strerror_r that returns `int'.
6498 # This test should segfault on the DEC system.
6499 if test "$cross_compiling" = yes; then
6500 ac_cv_func_strerror_r_works
=no
6502 cat >conftest.
$ac_ext <<_ACEOF
6503 #line 6503 "configure"
6504 #include "confdefs.h"
6507 # include <string.h>
6510 extern char *strerror_r ();
6516 char x = *strerror_r (0, buf, sizeof buf);
6517 exit (!isalpha (x));
6521 rm -f conftest
$ac_exeext
6522 if { (eval echo "$as_me:6522: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>&5
6525 echo "$as_me:6525: \$? = $ac_status" >&5
6526 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6527 { (eval echo "$as_me:6527: \"$ac_try\"") >&5
6530 echo "$as_me:6530: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 ac_cv_func_strerror_r_works
=yes
6534 echo "$as_me: program exited with status $ac_status" >&5
6535 echo "$as_me: failed program was:" >&5
6536 cat conftest.
$ac_ext >&5
6537 ac_cv_func_strerror_r_works
=no
6539 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6544 echo "$as_me:6544: result: $ac_cv_func_strerror_r_works" >&5
6545 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
6546 if test $ac_cv_func_strerror_r_works = yes; then
6548 cat >>confdefs.h
<<_ACEOF
6549 #define HAVE_WORKING_STRERROR_R 1
6555 ALL_LINGUAS
="de es et fr ja nl tr ru"
6556 # Make sure we can run config.sub.
6557 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6558 { { echo "$as_me:6558: error: cannot run $ac_config_sub" >&5
6559 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6560 { (exit 1); exit 1; }; }
6562 echo "$as_me:6562: checking build system type" >&5
6563 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6564 if test "${ac_cv_build+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 ac_cv_build_alias
=$build_alias
6568 test -z "$ac_cv_build_alias" &&
6569 ac_cv_build_alias
=`$ac_config_guess`
6570 test -z "$ac_cv_build_alias" &&
6571 { { echo "$as_me:6571: error: cannot guess build type; you must specify one" >&5
6572 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6573 { (exit 1); exit 1; }; }
6574 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6575 { { echo "$as_me:6575: error: $ac_config_sub $ac_cv_build_alias failed." >&5
6576 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
6577 { (exit 1); exit 1; }; }
6580 echo "$as_me:6580: result: $ac_cv_build" >&5
6581 echo "${ECHO_T}$ac_cv_build" >&6
6583 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6584 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6585 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6587 echo "$as_me:6587: checking host system type" >&5
6588 echo $ECHO_N "checking host system type... $ECHO_C" >&6
6589 if test "${ac_cv_host+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 ac_cv_host_alias
=$host_alias
6593 test -z "$ac_cv_host_alias" &&
6594 ac_cv_host_alias
=$ac_cv_build_alias
6595 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
6596 { { echo "$as_me:6596: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6597 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6598 { (exit 1); exit 1; }; }
6601 echo "$as_me:6601: result: $ac_cv_host" >&5
6602 echo "${ECHO_T}$ac_cv_host" >&6
6604 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6605 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6606 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6608 echo "$as_me:6608: checking for off_t" >&5
6609 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6610 if test "${ac_cv_type_off_t+set}" = set; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 cat >conftest.
$ac_ext <<_ACEOF
6614 #line 6614 "configure"
6615 #include "confdefs.h"
6616 $ac_includes_default
6617 #ifdef F77_DUMMY_MAIN
6621 int F77_DUMMY_MAIN() { return 1; }
6634 rm -f conftest.
$ac_objext
6635 if { (eval echo "$as_me:6635: \"$ac_compile\"") >&5
6636 (eval $ac_compile) 2>&5
6638 echo "$as_me:6638: \$? = $ac_status" >&5
6639 (exit $ac_status); } &&
6640 { ac_try
='test -s conftest.$ac_objext'
6641 { (eval echo "$as_me:6641: \"$ac_try\"") >&5
6644 echo "$as_me:6644: \$? = $ac_status" >&5
6645 (exit $ac_status); }; }; then
6646 ac_cv_type_off_t
=yes
6648 echo "$as_me: failed program was:" >&5
6649 cat conftest.
$ac_ext >&5
6652 rm -f conftest.
$ac_objext conftest.
$ac_ext
6654 echo "$as_me:6654: result: $ac_cv_type_off_t" >&5
6655 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6656 if test $ac_cv_type_off_t = yes; then
6660 cat >>confdefs.h
<<_ACEOF
6666 echo "$as_me:6666: checking for size_t" >&5
6667 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6668 if test "${ac_cv_type_size_t+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 cat >conftest.
$ac_ext <<_ACEOF
6672 #line 6672 "configure"
6673 #include "confdefs.h"
6674 $ac_includes_default
6675 #ifdef F77_DUMMY_MAIN
6679 int F77_DUMMY_MAIN() { return 1; }
6686 if (sizeof (size_t))
6692 rm -f conftest.
$ac_objext
6693 if { (eval echo "$as_me:6693: \"$ac_compile\"") >&5
6694 (eval $ac_compile) 2>&5
6696 echo "$as_me:6696: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try
='test -s conftest.$ac_objext'
6699 { (eval echo "$as_me:6699: \"$ac_try\"") >&5
6702 echo "$as_me:6702: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6704 ac_cv_type_size_t
=yes
6706 echo "$as_me: failed program was:" >&5
6707 cat conftest.
$ac_ext >&5
6708 ac_cv_type_size_t
=no
6710 rm -f conftest.
$ac_objext conftest.
$ac_ext
6712 echo "$as_me:6712: result: $ac_cv_type_size_t" >&5
6713 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6714 if test $ac_cv_type_size_t = yes; then
6718 cat >>confdefs.h
<<_ACEOF
6719 #define size_t unsigned
6724 for ac_header
in stdlib.h unistd.h
6726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6728 echo "$as_me:6728: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 echo "$as_me:6733: result: `eval echo '${'$as_ac_Header'}'`" >&5
6734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6736 # Is the header compilable?
6737 echo "$as_me:6737: checking $ac_header usability" >&5
6738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6739 cat >conftest.
$ac_ext <<_ACEOF
6740 #line 6740 "configure"
6741 #include "confdefs.h"
6742 $ac_includes_default
6743 #include <$ac_header>
6745 rm -f conftest.
$ac_objext
6746 if { (eval echo "$as_me:6746: \"$ac_compile\"") >&5
6747 (eval $ac_compile) 2>&5
6749 echo "$as_me:6749: \$? = $ac_status" >&5
6750 (exit $ac_status); } &&
6751 { ac_try
='test -s conftest.$ac_objext'
6752 { (eval echo "$as_me:6752: \"$ac_try\"") >&5
6755 echo "$as_me:6755: \$? = $ac_status" >&5
6756 (exit $ac_status); }; }; then
6757 ac_header_compiler
=yes
6759 echo "$as_me: failed program was:" >&5
6760 cat conftest.
$ac_ext >&5
6761 ac_header_compiler
=no
6763 rm -f conftest.
$ac_objext conftest.
$ac_ext
6764 echo "$as_me:6764: result: $ac_header_compiler" >&5
6765 echo "${ECHO_T}$ac_header_compiler" >&6
6767 # Is the header present?
6768 echo "$as_me:6768: checking $ac_header presence" >&5
6769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6770 cat >conftest.
$ac_ext <<_ACEOF
6771 #line 6771 "configure"
6772 #include "confdefs.h"
6773 #include <$ac_header>
6775 if { (eval echo "$as_me:6775: \"$ac_cpp conftest.$ac_ext\"") >&5
6776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6778 egrep -v '^ *\+' conftest.er1
>conftest.err
6780 cat conftest.err
>&5
6781 echo "$as_me:6781: \$? = $ac_status" >&5
6782 (exit $ac_status); } >/dev
/null
; then
6783 if test -s conftest.err
; then
6784 ac_cpp_err
=$ac_c_preproc_warn_flag
6791 if test -z "$ac_cpp_err"; then
6792 ac_header_preproc
=yes
6794 echo "$as_me: failed program was:" >&5
6795 cat conftest.
$ac_ext >&5
6796 ac_header_preproc
=no
6798 rm -f conftest.err conftest.
$ac_ext
6799 echo "$as_me:6799: result: $ac_header_preproc" >&5
6800 echo "${ECHO_T}$ac_header_preproc" >&6
6802 # So? What about this header?
6803 case $ac_header_compiler:$ac_header_preproc in
6805 { echo "$as_me:6805: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6807 { echo "$as_me:6807: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6810 { echo "$as_me:6810: WARNING: $ac_header: present but cannot be compiled." >&5
6811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6812 { echo "$as_me:6812: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6814 { echo "$as_me:6814: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6817 echo "$as_me:6817: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 eval "$as_ac_Header=$ac_header_preproc"
6824 echo "$as_me:6824: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 for ac_func
in getpagesize
6839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6840 echo "$as_me:6840: checking for $ac_func" >&5
6841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6842 if eval "test \"\${$as_ac_var+set}\" = set"; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 cat >conftest.
$ac_ext <<_ACEOF
6846 #line 6846 "configure"
6847 #include "confdefs.h"
6848 /* System header to define __stub macros and hopefully few prototypes,
6849 which can conflict with char $ac_func (); below. */
6851 /* Override any gcc2 internal prototype to avoid an error. */
6855 /* We use char because int might match the return type of a gcc2
6856 builtin and then its argument prototype would still apply. */
6860 #ifdef F77_DUMMY_MAIN
6864 int F77_DUMMY_MAIN() { return 1; }
6869 /* The GNU C library defines this for functions which it implements
6870 to always fail with ENOSYS. Some functions are actually named
6871 something starting with __ and the normal name is an alias. */
6872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6882 rm -f conftest.
$ac_objext conftest
$ac_exeext
6883 if { (eval echo "$as_me:6883: \"$ac_link\"") >&5
6884 (eval $ac_link) 2>&5
6886 echo "$as_me:6886: \$? = $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try
='test -s conftest$ac_exeext'
6889 { (eval echo "$as_me:6889: \"$ac_try\"") >&5
6892 echo "$as_me:6892: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894 eval "$as_ac_var=yes"
6896 echo "$as_me: failed program was:" >&5
6897 cat conftest.
$ac_ext >&5
6898 eval "$as_ac_var=no"
6900 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6902 echo "$as_me:6902: result: `eval echo '${'$as_ac_var'}'`" >&5
6903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6904 if test `eval echo '${'$as_ac_var'}'` = yes; then
6905 cat >>confdefs.h
<<_ACEOF
6906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6912 echo "$as_me:6912: checking for working mmap" >&5
6913 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6914 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 if test "$cross_compiling" = yes; then
6918 ac_cv_func_mmap_fixed_mapped
=no
6920 cat >conftest.
$ac_ext <<_ACEOF
6921 #line 6921 "configure"
6922 #include "confdefs.h"
6923 $ac_includes_default
6924 /* Thanks to Mike Haertel and Jim Avera for this test.
6925 Here is a matrix of mmap possibilities:
6926 mmap private not fixed
6927 mmap private fixed at somewhere currently unmapped
6928 mmap private fixed at somewhere already mapped
6929 mmap shared not fixed
6930 mmap shared fixed at somewhere currently unmapped
6931 mmap shared fixed at somewhere already mapped
6932 For private mappings, we should verify that changes cannot be read()
6933 back from the file, nor mmap's back from the file at a different
6934 address. (There have been systems where private was not correctly
6935 implemented like the infamous i386 svr4.0, and systems where the
6936 VM page cache was not coherent with the file system buffer cache
6937 like early versions of FreeBSD and possibly contemporary NetBSD.)
6938 For shared mappings, we should conversely verify that changes get
6939 propogated back to all the places they're supposed to be.
6941 Grep wants private fixed already mapped.
6942 The main things grep needs to know about mmap are:
6943 * does it exist and is it safe to write into the mmap'd area
6944 * how to use it (BSD variants) */
6947 #include <sys/mman.h>
6949 #if !STDC_HEADERS && !HAVE_STDLIB_H
6953 /* This mess was copied from the GNU getpagesize.h. */
6954 #if !HAVE_GETPAGESIZE
6955 /* Assume that all systems that can run configure have sys/param.h. */
6956 # if !HAVE_SYS_PARAM_H
6957 # define HAVE_SYS_PARAM_H 1
6960 # ifdef _SC_PAGESIZE
6961 # define getpagesize() sysconf(_SC_PAGESIZE)
6962 # else /* no _SC_PAGESIZE */
6963 # if HAVE_SYS_PARAM_H
6964 # include <sys/param.h>
6965 # ifdef EXEC_PAGESIZE
6966 # define getpagesize() EXEC_PAGESIZE
6967 # else /* no EXEC_PAGESIZE */
6969 # define getpagesize() NBPG * CLSIZE
6972 # endif /* no CLSIZE */
6973 # else /* no NBPG */
6975 # define getpagesize() NBPC
6976 # else /* no NBPC */
6978 # define getpagesize() PAGESIZE
6979 # endif /* PAGESIZE */
6980 # endif /* no NBPC */
6981 # endif /* no NBPG */
6982 # endif /* no EXEC_PAGESIZE */
6983 # else /* no HAVE_SYS_PARAM_H */
6984 # define getpagesize() 8192 /* punt totally */
6985 # endif /* no HAVE_SYS_PARAM_H */
6986 # endif /* no _SC_PAGESIZE */
6988 #endif /* no HAVE_GETPAGESIZE */
6993 char *data, *data2, *data3;
6997 pagesize = getpagesize ();
6999 /* First, make a file with some known garbage in it. */
7000 data = (char *) malloc (pagesize);
7003 for (i = 0; i < pagesize; ++i)
7004 *(data + i) = rand ();
7006 fd = creat ("conftest.mmap", 0600);
7009 if (write (fd, data, pagesize) != pagesize)
7013 /* Next, try to mmap the file at a fixed address which already has
7014 something else allocated at it. If we can, also make sure that
7015 we see the same garbage. */
7016 fd = open ("conftest.mmap", O_RDWR);
7019 data2 = (char *) malloc (2 * pagesize);
7022 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7023 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7024 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7026 for (i = 0; i < pagesize; ++i)
7027 if (*(data + i) != *(data2 + i))
7030 /* Finally, make sure that changes to the mapped area do not
7031 percolate back to the file as seen by read(). (This is a bug on
7032 some variants of i386 svr4.0.) */
7033 for (i = 0; i < pagesize; ++i)
7034 *(data2 + i) = *(data2 + i) + 1;
7035 data3 = (char *) malloc (pagesize);
7038 if (read (fd, data3, pagesize) != pagesize)
7040 for (i = 0; i < pagesize; ++i)
7041 if (*(data + i) != *(data3 + i))
7047 rm -f conftest
$ac_exeext
7048 if { (eval echo "$as_me:7048: \"$ac_link\"") >&5
7049 (eval $ac_link) 2>&5
7051 echo "$as_me:7051: \$? = $ac_status" >&5
7052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7053 { (eval echo "$as_me:7053: \"$ac_try\"") >&5
7056 echo "$as_me:7056: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then
7058 ac_cv_func_mmap_fixed_mapped
=yes
7060 echo "$as_me: program exited with status $ac_status" >&5
7061 echo "$as_me: failed program was:" >&5
7062 cat conftest.
$ac_ext >&5
7063 ac_cv_func_mmap_fixed_mapped
=no
7065 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7068 echo "$as_me:7068: result: $ac_cv_func_mmap_fixed_mapped" >&5
7069 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7070 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7072 cat >>confdefs.h
<<\_ACEOF
7079 echo "$as_me:7079: checking whether we are using the GNU C Library 2.1 or newer" >&5
7080 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7081 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.
$ac_ext <<_ACEOF
7085 #line 7085 "configure"
7086 #include "confdefs.h"
7088 #include <features.h>
7089 #ifdef __GNU_LIBRARY__
7090 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7097 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7098 ac_cv_gnu_library_2_1
=yes
7100 ac_cv_gnu_library_2_1
=no
7105 echo "$as_me:7105: result: $ac_cv_gnu_library_2_1" >&5
7106 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7108 GLIBC21
="$ac_cv_gnu_library_2_1"
7110 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7111 stdlib.h string.h unistd.h sys
/param.h
7113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo "$as_me:7115: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 echo "$as_me:7120: result: `eval echo '${'$as_ac_Header'}'`" >&5
7121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7123 # Is the header compilable?
7124 echo "$as_me:7124: checking $ac_header usability" >&5
7125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7126 cat >conftest.
$ac_ext <<_ACEOF
7127 #line 7127 "configure"
7128 #include "confdefs.h"
7129 $ac_includes_default
7130 #include <$ac_header>
7132 rm -f conftest.
$ac_objext
7133 if { (eval echo "$as_me:7133: \"$ac_compile\"") >&5
7134 (eval $ac_compile) 2>&5
7136 echo "$as_me:7136: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try
='test -s conftest.$ac_objext'
7139 { (eval echo "$as_me:7139: \"$ac_try\"") >&5
7142 echo "$as_me:7142: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 ac_header_compiler
=yes
7146 echo "$as_me: failed program was:" >&5
7147 cat conftest.
$ac_ext >&5
7148 ac_header_compiler
=no
7150 rm -f conftest.
$ac_objext conftest.
$ac_ext
7151 echo "$as_me:7151: result: $ac_header_compiler" >&5
7152 echo "${ECHO_T}$ac_header_compiler" >&6
7154 # Is the header present?
7155 echo "$as_me:7155: checking $ac_header presence" >&5
7156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7157 cat >conftest.
$ac_ext <<_ACEOF
7158 #line 7158 "configure"
7159 #include "confdefs.h"
7160 #include <$ac_header>
7162 if { (eval echo "$as_me:7162: \"$ac_cpp conftest.$ac_ext\"") >&5
7163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7165 egrep -v '^ *\+' conftest.er1
>conftest.err
7167 cat conftest.err
>&5
7168 echo "$as_me:7168: \$? = $ac_status" >&5
7169 (exit $ac_status); } >/dev
/null
; then
7170 if test -s conftest.err
; then
7171 ac_cpp_err
=$ac_c_preproc_warn_flag
7178 if test -z "$ac_cpp_err"; then
7179 ac_header_preproc
=yes
7181 echo "$as_me: failed program was:" >&5
7182 cat conftest.
$ac_ext >&5
7183 ac_header_preproc
=no
7185 rm -f conftest.err conftest.
$ac_ext
7186 echo "$as_me:7186: result: $ac_header_preproc" >&5
7187 echo "${ECHO_T}$ac_header_preproc" >&6
7189 # So? What about this header?
7190 case $ac_header_compiler:$ac_header_preproc in
7192 { echo "$as_me:7192: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7194 { echo "$as_me:7194: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7197 { echo "$as_me:7197: WARNING: $ac_header: present but cannot be compiled." >&5
7198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7199 { echo "$as_me:7199: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7201 { echo "$as_me:7201: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7204 echo "$as_me:7204: checking for $ac_header" >&5
7205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 eval "$as_ac_Header=$ac_header_preproc"
7211 echo "$as_me:7211: result: `eval echo '${'$as_ac_Header'}'`" >&5
7212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7216 cat >>confdefs.h
<<_ACEOF
7217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
7225 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
7226 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
7228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7229 echo "$as_me:7229: checking for $ac_func" >&5
7230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7231 if eval "test \"\${$as_ac_var+set}\" = set"; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 cat >conftest.
$ac_ext <<_ACEOF
7235 #line 7235 "configure"
7236 #include "confdefs.h"
7237 /* System header to define __stub macros and hopefully few prototypes,
7238 which can conflict with char $ac_func (); below. */
7240 /* Override any gcc2 internal prototype to avoid an error. */
7244 /* We use char because int might match the return type of a gcc2
7245 builtin and then its argument prototype would still apply. */
7249 #ifdef F77_DUMMY_MAIN
7253 int F77_DUMMY_MAIN() { return 1; }
7258 /* The GNU C library defines this for functions which it implements
7259 to always fail with ENOSYS. Some functions are actually named
7260 something starting with __ and the normal name is an alias. */
7261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7271 rm -f conftest.
$ac_objext conftest
$ac_exeext
7272 if { (eval echo "$as_me:7272: \"$ac_link\"") >&5
7273 (eval $ac_link) 2>&5
7275 echo "$as_me:7275: \$? = $ac_status" >&5
7276 (exit $ac_status); } &&
7277 { ac_try
='test -s conftest$ac_exeext'
7278 { (eval echo "$as_me:7278: \"$ac_try\"") >&5
7281 echo "$as_me:7281: \$? = $ac_status" >&5
7282 (exit $ac_status); }; }; then
7283 eval "$as_ac_var=yes"
7285 echo "$as_me: failed program was:" >&5
7286 cat conftest.
$ac_ext >&5
7287 eval "$as_ac_var=no"
7289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7291 echo "$as_me:7291: result: `eval echo '${'$as_ac_var'}'`" >&5
7292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7293 if test `eval echo '${'$as_ac_var'}'` = yes; then
7294 cat >>confdefs.h
<<_ACEOF
7295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7301 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7302 if test "${with_libiconv_prefix+set}" = set; then
7303 withval
="$with_libiconv_prefix"
7305 for dir
in `echo "$withval" | tr : ' '`; do
7306 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
7307 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
7312 echo "$as_me:7312: checking for iconv" >&5
7313 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7314 if test "${am_cv_func_iconv+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 am_cv_func_iconv
="no, consider installing GNU libiconv"
7320 cat >conftest.
$ac_ext <<_ACEOF
7321 #line 7321 "configure"
7322 #include "confdefs.h"
7325 #ifdef F77_DUMMY_MAIN
7329 int F77_DUMMY_MAIN() { return 1; }
7334 iconv_t cd = iconv_open("","");
7335 iconv(cd,NULL,NULL,NULL,NULL);
7341 rm -f conftest.
$ac_objext conftest
$ac_exeext
7342 if { (eval echo "$as_me:7342: \"$ac_link\"") >&5
7343 (eval $ac_link) 2>&5
7345 echo "$as_me:7345: \$? = $ac_status" >&5
7346 (exit $ac_status); } &&
7347 { ac_try
='test -s conftest$ac_exeext'
7348 { (eval echo "$as_me:7348: \"$ac_try\"") >&5
7351 echo "$as_me:7351: \$? = $ac_status" >&5
7352 (exit $ac_status); }; }; then
7353 am_cv_func_iconv
=yes
7355 echo "$as_me: failed program was:" >&5
7356 cat conftest.
$ac_ext >&5
7358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7359 if test "$am_cv_func_iconv" != yes; then
7360 am_save_LIBS
="$LIBS"
7361 LIBS
="$LIBS -liconv"
7362 cat >conftest.
$ac_ext <<_ACEOF
7363 #line 7363 "configure"
7364 #include "confdefs.h"
7367 #ifdef F77_DUMMY_MAIN
7371 int F77_DUMMY_MAIN() { return 1; }
7376 iconv_t cd = iconv_open("","");
7377 iconv(cd,NULL,NULL,NULL,NULL);
7383 rm -f conftest.
$ac_objext conftest
$ac_exeext
7384 if { (eval echo "$as_me:7384: \"$ac_link\"") >&5
7385 (eval $ac_link) 2>&5
7387 echo "$as_me:7387: \$? = $ac_status" >&5
7388 (exit $ac_status); } &&
7389 { ac_try
='test -s conftest$ac_exeext'
7390 { (eval echo "$as_me:7390: \"$ac_try\"") >&5
7393 echo "$as_me:7393: \$? = $ac_status" >&5
7394 (exit $ac_status); }; }; then
7396 am_cv_func_iconv
=yes
7398 echo "$as_me: failed program was:" >&5
7399 cat conftest.
$ac_ext >&5
7401 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7402 LIBS
="$am_save_LIBS"
7406 echo "$as_me:7406: result: $am_cv_func_iconv" >&5
7407 echo "${ECHO_T}$am_cv_func_iconv" >&6
7408 if test "$am_cv_func_iconv" = yes; then
7410 cat >>confdefs.h
<<\_ACEOF
7411 #define HAVE_ICONV 1
7414 echo "$as_me:7414: checking for iconv declaration" >&5
7415 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7416 if test "${am_cv_proto_iconv+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.
$ac_ext <<_ACEOF
7421 #line 7421 "configure"
7422 #include "confdefs.h"
7430 #if defined(__STDC__) || defined(__cplusplus)
7431 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7436 #ifdef F77_DUMMY_MAIN
7440 int F77_DUMMY_MAIN() { return 1; }
7450 rm -f conftest.
$ac_objext
7451 if { (eval echo "$as_me:7451: \"$ac_compile\"") >&5
7452 (eval $ac_compile) 2>&5
7454 echo "$as_me:7454: \$? = $ac_status" >&5
7455 (exit $ac_status); } &&
7456 { ac_try
='test -s conftest.$ac_objext'
7457 { (eval echo "$as_me:7457: \"$ac_try\"") >&5
7460 echo "$as_me:7460: \$? = $ac_status" >&5
7461 (exit $ac_status); }; }; then
7462 am_cv_proto_iconv_arg1
=""
7464 echo "$as_me: failed program was:" >&5
7465 cat conftest.
$ac_ext >&5
7466 am_cv_proto_iconv_arg1
="const"
7468 rm -f conftest.
$ac_objext conftest.
$ac_ext
7469 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);"
7472 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7473 echo "$as_me:7473: result: ${ac_t:-
7474 }$am_cv_proto_iconv" >&5
7475 echo "${ECHO_T}${ac_t:-
7476 }$am_cv_proto_iconv" >&6
7478 cat >>confdefs.h
<<_ACEOF
7479 #define ICONV_CONST $am_cv_proto_iconv_arg1
7484 if test "$am_cv_lib_iconv" = yes; then
7488 echo "$as_me:7488: checking for nl_langinfo and CODESET" >&5
7489 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7490 if test "${am_cv_langinfo_codeset+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 cat >conftest.
$ac_ext <<_ACEOF
7494 #line 7494 "configure"
7495 #include "confdefs.h"
7496 #include <langinfo.h>
7497 #ifdef F77_DUMMY_MAIN
7501 int F77_DUMMY_MAIN() { return 1; }
7506 char* cs = nl_langinfo(CODESET);
7511 rm -f conftest.
$ac_objext conftest
$ac_exeext
7512 if { (eval echo "$as_me:7512: \"$ac_link\"") >&5
7513 (eval $ac_link) 2>&5
7515 echo "$as_me:7515: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -s conftest$ac_exeext'
7518 { (eval echo "$as_me:7518: \"$ac_try\"") >&5
7521 echo "$as_me:7521: \$? = $ac_status" >&5
7522 (exit $ac_status); }; }; then
7523 am_cv_langinfo_codeset
=yes
7525 echo "$as_me: failed program was:" >&5
7526 cat conftest.
$ac_ext >&5
7527 am_cv_langinfo_codeset
=no
7529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7532 echo "$as_me:7532: result: $am_cv_langinfo_codeset" >&5
7533 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7534 if test $am_cv_langinfo_codeset = yes; then
7536 cat >>confdefs.h
<<\_ACEOF
7537 #define HAVE_LANGINFO_CODESET 1
7542 if test $ac_cv_header_locale_h = yes; then
7543 echo "$as_me:7543: checking for LC_MESSAGES" >&5
7544 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7545 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7549 #line 7549 "configure"
7550 #include "confdefs.h"
7552 #ifdef F77_DUMMY_MAIN
7556 int F77_DUMMY_MAIN() { return 1; }
7566 rm -f conftest.
$ac_objext conftest
$ac_exeext
7567 if { (eval echo "$as_me:7567: \"$ac_link\"") >&5
7568 (eval $ac_link) 2>&5
7570 echo "$as_me:7570: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try
='test -s conftest$ac_exeext'
7573 { (eval echo "$as_me:7573: \"$ac_try\"") >&5
7576 echo "$as_me:7576: \$? = $ac_status" >&5
7577 (exit $ac_status); }; }; then
7578 am_cv_val_LC_MESSAGES
=yes
7580 echo "$as_me: failed program was:" >&5
7581 cat conftest.
$ac_ext >&5
7582 am_cv_val_LC_MESSAGES
=no
7584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7586 echo "$as_me:7586: result: $am_cv_val_LC_MESSAGES" >&5
7587 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7588 if test $am_cv_val_LC_MESSAGES = yes; then
7590 cat >>confdefs.h
<<\_ACEOF
7591 #define HAVE_LC_MESSAGES 1
7596 echo "$as_me:7596: checking whether NLS is requested" >&5
7597 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7598 # Check whether --enable-nls or --disable-nls was given.
7599 if test "${enable_nls+set}" = set; then
7600 enableval
="$enable_nls"
7605 echo "$as_me:7605: result: $USE_NLS" >&5
7606 echo "${ECHO_T}$USE_NLS" >&6
7608 BUILD_INCLUDED_LIBINTL
=no
7609 USE_INCLUDED_LIBINTL
=no
7612 if test "$USE_NLS" = "yes"; then
7614 cat >>confdefs.h
<<\_ACEOF
7615 #define ENABLE_NLS 1
7618 echo "$as_me:7618: checking whether included gettext is requested" >&5
7619 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7621 # Check whether --with-included-gettext or --without-included-gettext was given.
7622 if test "${with_included_gettext+set}" = set; then
7623 withval
="$with_included_gettext"
7624 nls_cv_force_use_gnu_gettext
=$withval
7626 nls_cv_force_use_gnu_gettext
=no
7628 echo "$as_me:7628: result: $nls_cv_force_use_gnu_gettext" >&5
7629 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7631 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7632 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7635 if test "${ac_cv_header_libintl_h+set}" = set; then
7636 echo "$as_me:7636: checking for libintl.h" >&5
7637 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7638 if test "${ac_cv_header_libintl_h+set}" = set; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 echo "$as_me:7641: result: $ac_cv_header_libintl_h" >&5
7642 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7644 # Is the header compilable?
7645 echo "$as_me:7645: checking libintl.h usability" >&5
7646 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7647 cat >conftest.
$ac_ext <<_ACEOF
7648 #line 7648 "configure"
7649 #include "confdefs.h"
7650 $ac_includes_default
7651 #include <libintl.h>
7653 rm -f conftest.
$ac_objext
7654 if { (eval echo "$as_me:7654: \"$ac_compile\"") >&5
7655 (eval $ac_compile) 2>&5
7657 echo "$as_me:7657: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try
='test -s conftest.$ac_objext'
7660 { (eval echo "$as_me:7660: \"$ac_try\"") >&5
7663 echo "$as_me:7663: \$? = $ac_status" >&5
7664 (exit $ac_status); }; }; then
7665 ac_header_compiler
=yes
7667 echo "$as_me: failed program was:" >&5
7668 cat conftest.
$ac_ext >&5
7669 ac_header_compiler
=no
7671 rm -f conftest.
$ac_objext conftest.
$ac_ext
7672 echo "$as_me:7672: result: $ac_header_compiler" >&5
7673 echo "${ECHO_T}$ac_header_compiler" >&6
7675 # Is the header present?
7676 echo "$as_me:7676: checking libintl.h presence" >&5
7677 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7678 cat >conftest.
$ac_ext <<_ACEOF
7679 #line 7679 "configure"
7680 #include "confdefs.h"
7681 #include <libintl.h>
7683 if { (eval echo "$as_me:7683: \"$ac_cpp conftest.$ac_ext\"") >&5
7684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7686 egrep -v '^ *\+' conftest.er1
>conftest.err
7688 cat conftest.err
>&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 (exit $ac_status); } >/dev
/null
; then
7691 if test -s conftest.err
; then
7692 ac_cpp_err
=$ac_c_preproc_warn_flag
7699 if test -z "$ac_cpp_err"; then
7700 ac_header_preproc
=yes
7702 echo "$as_me: failed program was:" >&5
7703 cat conftest.
$ac_ext >&5
7704 ac_header_preproc
=no
7706 rm -f conftest.err conftest.
$ac_ext
7707 echo "$as_me:7707: result: $ac_header_preproc" >&5
7708 echo "${ECHO_T}$ac_header_preproc" >&6
7710 # So? What about this header?
7711 case $ac_header_compiler:$ac_header_preproc in
7713 { echo "$as_me:7713: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7714 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7715 { echo "$as_me:7715: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7716 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7718 { echo "$as_me:7718: WARNING: libintl.h: present but cannot be compiled." >&5
7719 echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
7720 { echo "$as_me:7720: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7721 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7722 { echo "$as_me:7722: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7723 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7725 echo "$as_me:7725: checking for libintl.h" >&5
7726 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7727 if test "${ac_cv_header_libintl_h+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 ac_cv_header_libintl_h
=$ac_header_preproc
7732 echo "$as_me:7732: result: $ac_cv_header_libintl_h" >&5
7733 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7736 if test $ac_cv_header_libintl_h = yes; then
7737 echo "$as_me:7737: checking for GNU gettext in libc" >&5
7738 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7739 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 cat >conftest.
$ac_ext <<_ACEOF
7743 #line 7743 "configure"
7744 #include "confdefs.h"
7745 #include <libintl.h>
7746 extern int _nl_msg_cat_cntr;
7747 #ifdef F77_DUMMY_MAIN
7751 int F77_DUMMY_MAIN() { return 1; }
7756 bindtextdomain ("", "");
7757 return (int) gettext ("") + _nl_msg_cat_cntr
7762 rm -f conftest.
$ac_objext conftest
$ac_exeext
7763 if { (eval echo "$as_me:7763: \"$ac_link\"") >&5
7764 (eval $ac_link) 2>&5
7766 echo "$as_me:7766: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try
='test -s conftest$ac_exeext'
7769 { (eval echo "$as_me:7769: \"$ac_try\"") >&5
7772 echo "$as_me:7772: \$? = $ac_status" >&5
7773 (exit $ac_status); }; }; then
7774 gt_cv_func_gnugettext1_libc
=yes
7776 echo "$as_me: failed program was:" >&5
7777 cat conftest.
$ac_ext >&5
7778 gt_cv_func_gnugettext1_libc
=no
7780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7782 echo "$as_me:7782: result: $gt_cv_func_gnugettext1_libc" >&5
7783 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7785 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7786 echo "$as_me:7786: checking for GNU gettext in libintl" >&5
7787 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
7788 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 gt_save_LIBS
="$LIBS"
7792 LIBS
="$LIBS -lintl $LIBICONV"
7793 cat >conftest.
$ac_ext <<_ACEOF
7794 #line 7794 "configure"
7795 #include "confdefs.h"
7796 #include <libintl.h>
7797 extern int _nl_msg_cat_cntr;
7798 #ifdef F77_DUMMY_MAIN
7802 int F77_DUMMY_MAIN() { return 1; }
7807 bindtextdomain ("", "");
7808 return (int) gettext ("") + _nl_msg_cat_cntr
7813 rm -f conftest.
$ac_objext conftest
$ac_exeext
7814 if { (eval echo "$as_me:7814: \"$ac_link\"") >&5
7815 (eval $ac_link) 2>&5
7817 echo "$as_me:7817: \$? = $ac_status" >&5
7818 (exit $ac_status); } &&
7819 { ac_try
='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:7820: \"$ac_try\"") >&5
7823 echo "$as_me:7823: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 gt_cv_func_gnugettext1_libintl
=yes
7827 echo "$as_me: failed program was:" >&5
7828 cat conftest.
$ac_ext >&5
7829 gt_cv_func_gnugettext1_libintl
=no
7831 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7832 LIBS
="$gt_save_LIBS"
7834 echo "$as_me:7834: result: $gt_cv_func_gnugettext1_libintl" >&5
7835 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
7838 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
7839 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7840 && test "$PACKAGE" != gettext; }; then
7842 cat >>confdefs.h
<<\_ACEOF
7843 #define HAVE_GETTEXT 1
7846 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7847 INTLLIBS
="-lintl $LIBICONV"
7850 gt_save_LIBS
="$LIBS"
7851 LIBS
="$LIBS $INTLLIBS"
7853 for ac_func
in dcgettext
7855 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7856 echo "$as_me:7856: checking for $ac_func" >&5
7857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7858 if eval "test \"\${$as_ac_var+set}\" = set"; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 cat >conftest.
$ac_ext <<_ACEOF
7862 #line 7862 "configure"
7863 #include "confdefs.h"
7864 /* System header to define __stub macros and hopefully few prototypes,
7865 which can conflict with char $ac_func (); below. */
7867 /* Override any gcc2 internal prototype to avoid an error. */
7871 /* We use char because int might match the return type of a gcc2
7872 builtin and then its argument prototype would still apply. */
7876 #ifdef F77_DUMMY_MAIN
7880 int F77_DUMMY_MAIN() { return 1; }
7885 /* The GNU C library defines this for functions which it implements
7886 to always fail with ENOSYS. Some functions are actually named
7887 something starting with __ and the normal name is an alias. */
7888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7898 rm -f conftest.
$ac_objext conftest
$ac_exeext
7899 if { (eval echo "$as_me:7899: \"$ac_link\"") >&5
7900 (eval $ac_link) 2>&5
7902 echo "$as_me:7902: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try
='test -s conftest$ac_exeext'
7905 { (eval echo "$as_me:7905: \"$ac_try\"") >&5
7908 echo "$as_me:7908: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 eval "$as_ac_var=yes"
7912 echo "$as_me: failed program was:" >&5
7913 cat conftest.
$ac_ext >&5
7914 eval "$as_ac_var=no"
7916 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7918 echo "$as_me:7918: result: `eval echo '${'$as_ac_var'}'`" >&5
7919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7920 if test `eval echo '${'$as_ac_var'}'` = yes; then
7921 cat >>confdefs.h
<<_ACEOF
7922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7928 LIBS
="$gt_save_LIBS"
7930 # Extract the first word of "msgfmt", so it can be a program name with args.
7931 set dummy msgfmt
; ac_word
=$2
7932 echo "$as_me:7932: checking for $ac_word" >&5
7933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7934 if test "${ac_cv_path_MSGFMT+set}" = set; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7939 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7942 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7943 for ac_dir
in $PATH; do
7944 test -z "$ac_dir" && ac_dir
=.
7945 if test -f $ac_dir/$ac_word; then
7946 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
7947 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7953 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7957 MSGFMT
="$ac_cv_path_MSGFMT"
7958 if test "$MSGFMT" != ":"; then
7959 echo "$as_me:7959: result: $MSGFMT" >&5
7960 echo "${ECHO_T}$MSGFMT" >&6
7962 echo "$as_me:7962: result: no" >&5
7963 echo "${ECHO_T}no" >&6
7966 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7967 set dummy gmsgfmt
; ac_word
=$2
7968 echo "$as_me:7968: checking for $ac_word" >&5
7969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7970 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir
=.
7983 if $as_executable_p "$as_dir/$ac_word"; then
7984 ac_cv_path_GMSGFMT
="$as_dir/$ac_word"
7985 echo "$as_me:7985: found $as_dir/$ac_word" >&5
7990 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7994 GMSGFMT
=$ac_cv_path_GMSGFMT
7996 if test -n "$GMSGFMT"; then
7997 echo "$as_me:7997: result: $GMSGFMT" >&5
7998 echo "${ECHO_T}$GMSGFMT" >&6
8000 echo "$as_me:8000: result: no" >&5
8001 echo "${ECHO_T}no" >&6
8004 # Extract the first word of "xgettext", so it can be a program name with args.
8005 set dummy xgettext
; ac_word
=$2
8006 echo "$as_me:8006: checking for $ac_word" >&5
8007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8008 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8016 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8017 for ac_dir
in $PATH; do
8018 test -z "$ac_dir" && ac_dir
=.
8019 if test -f $ac_dir/$ac_word; then
8020 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8021 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8027 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8031 XGETTEXT
="$ac_cv_path_XGETTEXT"
8032 if test "$XGETTEXT" != ":"; then
8033 echo "$as_me:8033: result: $XGETTEXT" >&5
8034 echo "${ECHO_T}$XGETTEXT" >&6
8036 echo "$as_me:8036: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8045 if test "$CATOBJEXT" = "NONE"; then
8046 nls_cv_use_gnu_gettext
=yes
8050 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8051 INTLOBJS
="\$(GETTOBJS)"
8052 # Extract the first word of "msgfmt", so it can be a program name with args.
8053 set dummy msgfmt
; ac_word
=$2
8054 echo "$as_me:8054: checking for $ac_word" >&5
8055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8056 if test "${ac_cv_path_MSGFMT+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8064 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8065 for ac_dir
in $PATH; do
8066 test -z "$ac_dir" && ac_dir
=.
8067 if test -f $ac_dir/$ac_word; then
8068 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8069 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8075 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8079 MSGFMT
="$ac_cv_path_MSGFMT"
8080 if test "$MSGFMT" != ":"; then
8081 echo "$as_me:8081: result: $MSGFMT" >&5
8082 echo "${ECHO_T}$MSGFMT" >&6
8084 echo "$as_me:8084: result: no" >&5
8085 echo "${ECHO_T}no" >&6
8088 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8089 set dummy gmsgfmt
; ac_word
=$2
8090 echo "$as_me:8090: checking for $ac_word" >&5
8091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8092 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir
=.
8105 if $as_executable_p "$as_dir/$ac_word"; then
8106 ac_cv_path_GMSGFMT
="$as_dir/$ac_word"
8107 echo "$as_me:8107: found $as_dir/$ac_word" >&5
8112 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8116 GMSGFMT
=$ac_cv_path_GMSGFMT
8118 if test -n "$GMSGFMT"; then
8119 echo "$as_me:8119: result: $GMSGFMT" >&5
8120 echo "${ECHO_T}$GMSGFMT" >&6
8122 echo "$as_me:8122: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8126 # Extract the first word of "xgettext", so it can be a program name with args.
8127 set dummy xgettext
; ac_word
=$2
8128 echo "$as_me:8128: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8130 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8138 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8139 for ac_dir
in $PATH; do
8140 test -z "$ac_dir" && ac_dir
=.
8141 if test -f $ac_dir/$ac_word; then
8142 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8143 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8149 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8153 XGETTEXT
="$ac_cv_path_XGETTEXT"
8154 if test "$XGETTEXT" != ":"; then
8155 echo "$as_me:8155: result: $XGETTEXT" >&5
8156 echo "${ECHO_T}$XGETTEXT" >&6
8158 echo "$as_me:8158: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8162 BUILD_INCLUDED_LIBINTL
=yes
8163 USE_INCLUDED_LIBINTL
=yes
8165 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8166 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8169 if test "$GMSGFMT" != ":"; then
8170 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8173 echo "$as_me:8173: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8174 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8179 if test "$XGETTEXT" != ":"; then
8180 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8183 echo "$as_me:8183: result: found xgettext program is not GNU xgettext; ignore it" >&5
8184 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8191 ac_config_commands
="$ac_config_commands default-2"
8193 if test "$PACKAGE" = gettext; then
8194 BUILD_INCLUDED_LIBINTL
=yes
8197 for ac_prog
in bison
8199 # Extract the first word of "$ac_prog", so it can be a program name with args.
8200 set dummy
$ac_prog; ac_word
=$2
8201 echo "$as_me:8201: checking for $ac_word" >&5
8202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8203 if test "${ac_cv_prog_INTLBISON+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 if test -n "$INTLBISON"; then
8207 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
8209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir
=.
8214 $as_executable_p "$as_dir/$ac_word" || continue
8215 ac_cv_prog_INTLBISON
="$ac_prog"
8216 echo "$as_me:8216: found $as_dir/$ac_word" >&5
8222 INTLBISON
=$ac_cv_prog_INTLBISON
8223 if test -n "$INTLBISON"; then
8224 echo "$as_me:8224: result: $INTLBISON" >&5
8225 echo "${ECHO_T}$INTLBISON" >&6
8227 echo "$as_me:8227: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8231 test -n "$INTLBISON" && break
8234 if test -z "$INTLBISON"; then
8237 echo "$as_me:8237: checking version of bison" >&5
8238 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8239 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8240 case $ac_prog_version in
8241 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
8242 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
8243 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
8244 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
8246 echo "$as_me:8246: result: $ac_prog_version" >&5
8247 echo "${ECHO_T}$ac_prog_version" >&6
8249 if test $ac_verc_fail = yes; then
8253 for lang
in $ALL_LINGUAS; do
8254 GMOFILES
="$GMOFILES $lang.gmo"
8255 POFILES
="$POFILES $lang.po"
8259 nls_cv_header_libgt
=
8267 if test "x$CATOBJEXT" != "x"; then
8268 if test "x$ALL_LINGUAS" = "x"; then
8271 echo "$as_me:8271: checking for catalogs to be installed" >&5
8272 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8274 for presentlang
in $ALL_LINGUAS; do
8276 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
8277 # Use the presentlang catalog if desiredlang is
8278 # a. equal to presentlang, or
8279 # b. a variant of presentlang (because in this case,
8280 # presentlang can be used as a fallback for messages
8281 # which are not translated in the desiredlang catalog).
8282 case "$desiredlang" in
8283 "$presentlang"*) useit
=yes;;
8286 if test $useit = yes; then
8287 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
8290 LINGUAS
=$NEW_LINGUAS
8291 echo "$as_me:8291: result: $LINGUAS" >&5
8292 echo "${ECHO_T}$LINGUAS" >&6
8295 if test -n "$LINGUAS"; then
8296 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8301 if test -n "$ac_aux_dir"; then
8302 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
8304 if test -z "$MKINSTALLDIRS"; then
8305 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
8308 INTL_LIBTOOL_SUFFIX_PREFIX
=
8310 # This is necessary so that .o files in LIBOBJS are also built via
8311 # the ANSI2KNR-filtering rules.
8312 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8314 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile"
8315 cat >confcache
<<\_ACEOF
8316 # This file is a shell script that caches the results of configure
8317 # tests run on this system so they can be shared between configure
8318 # scripts and configure runs, see configure's option --config-cache.
8319 # It is not useful on other systems. If it contains results you don't
8320 # want to keep, you may remove or edit it.
8322 # config.status only pays attention to the cache file if you give it
8323 # the --recheck option to rerun configure.
8325 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8331 # The following way of writing the cache mishandles newlines in values,
8332 # but we know of no workaround that is simple, portable, and efficient.
8333 # So, don't put newlines in cache variables' values.
8334 # Ultrix sh set writes to stderr and can't be redirected directly,
8335 # and sets the high bit in the cache file unless we assign to the vars.
8338 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8340 # `set' does not quote correctly, so add quotes (double-quote
8341 # substitution turns \\\\ into \\, and sed turns \\ into \).
8344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8347 # `set' quotes correctly as required by POSIX, so do not add quotes.
8349 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8358 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8360 if cmp -s $cache_file confcache
; then :; else
8361 if test -w $cache_file; then
8362 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8363 cat confcache
>$cache_file
8365 echo "not updating unwritable cache $cache_file"
8370 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8371 # Let make expand exec_prefix.
8372 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8374 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8375 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8376 # trailing colons and then remove the whole line if VPATH becomes empty
8377 # (actually we leave an empty line to preserve line numbers).
8378 if test "x$srcdir" = x.
; then
8379 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8380 s/:*\$(srcdir):*/:/;
8381 s/:*\${srcdir}:*/:/;
8383 s/^\([^=]*=[ ]*\):*/\1/;
8389 DEFS
=-DHAVE_CONFIG_H
8391 : ${CONFIG_STATUS=./config.status}
8392 ac_clean_files_save
=$ac_clean_files
8393 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8394 { echo "$as_me:8394: creating $CONFIG_STATUS" >&5
8395 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8396 cat >$CONFIG_STATUS <<_ACEOF
8398 # Generated automatically by $as_me.
8399 # Run this file to recreate the current configuration.
8400 # Compiler output produced by configure, useful for debugging
8401 # configure, is in config.log if it exists.
8404 SHELL=\${CONFIG_SHELL-$SHELL}
8407 cat >>$CONFIG_STATUS <<\_ACEOF
8409 ## --------------------- ##
8410 ## M4sh Initialization. ##
8411 ## --------------------- ##
8413 # Be Bourne compatible
8414 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8417 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8421 # Name of the executable.
8422 as_me
=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'`
8424 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
8425 *c*,-n*) ECHO_N= ECHO_C='
8427 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8428 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8431 if expr a : '\(a\)' >/dev/null 2>&1; then
8437 rm -f conf$$ conf$$.exe conf$$.file
8439 if ln -s conf$$.file conf$$ 2>/dev/null; then
8440 # We could just check for DJGPP; but this test a) works b) is more generic
8441 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8442 if test -f conf$$.exe; then
8443 # Don't use ln at all; we don't have any links
8448 elif ln conf$$.file conf$$ 2>/dev/null; then
8453 rm -f conf$$ conf$$.exe conf$$.file
8455 # The user is always right.
8456 if test "${PATH_SEPARATOR+set}" != set; then
8457 echo "#! $SHELL" >conftest.sh
8458 echo "exit 0" >>conftest.sh
8459 chmod +x conftest.sh
8460 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
8468 as_executable_p="test -f"
8470 # Support unset when possible.
8471 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8478 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
8479 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
8480 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
8481 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
8482 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
8483 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
8484 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
8485 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
8488 # We need space, tab and new line, in precisely that order.
8494 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
8498 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8499 # report actual input values of CONFIG_FILES etc. instead of their
8500 # values after options handling. Logging --version etc. is OK.
8504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8505 ## Running \$as_me. ##
8510 This file was extended by GNU Bison $as_me 1.29a, which was
8511 generated by GNU Autoconf 2.52e. Invocation command line was
8513 CONFIG_FILES = $CONFIG_FILES
8514 CONFIG_HEADERS = $CONFIG_HEADERS
8515 CONFIG_LINKS = $CONFIG_LINKS
8516 CONFIG_COMMANDS = $CONFIG_COMMANDS
8520 echo "on `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`" >&5
8524 # Files that config.status was made for.
8525 if test -n "$ac_config_files"; then
8526 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8529 if test -n "$ac_config_headers"; then
8530 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8533 if test -n "$ac_config_links"; then
8534 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8537 if test -n "$ac_config_commands"; then
8538 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8541 cat >>$CONFIG_STATUS <<\_ACEOF
8544 \`$as_me' instantiates files from templates according to the
8545 current configuration.
8547 Usage: $0 [OPTIONS] [FILE]...
8549 -h, --help print this help, then exit
8550 -V, --version print version number, then exit
8551 -d, --debug don't remove temporary files
8552 --recheck update
$as_me by reconfiguring
in the same conditions
8553 --file=FILE
[:TEMPLATE
]
8554 instantiate the configuration
file FILE
8555 --header=FILE
[:TEMPLATE
]
8556 instantiate the configuration header FILE
8558 Configuration files
:
8561 Configuration headers
:
8564 Configuration commands
:
8567 Report bugs to
<bug
-autoconf@gnu.org
>.
"
8570 cat >>$CONFIG_STATUS <<_ACEOF
8572 GNU Bison config.status
1.29a
8573 configured by
$0, generated by GNU Autoconf
2.52e
,
8574 with options
\\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8576 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8577 Free Software Foundation
, Inc.
8578 This config.status
script is free software
; the Free Software Foundation
8579 gives unlimited permission to copy
, distribute and modify it.
"
8584 cat >>$CONFIG_STATUS <<\_ACEOF
8585 # If no file are specified by the user, then we need to provide default
8586 # value. By we need to know if files were specified by the user.
8592 ac_option=`expr "x
$1" : 'x\([^=]*\)='`
8593 ac_optarg=`expr "x
$1" : 'x[^=]*=\(.*\)'`
8595 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
8599 *) # This is not an option, so the user has probably given explicit
8601 ac_need_defaults=false;;
8605 # Handling of the options.
8607 cat >>$CONFIG_STATUS <<_ACEOF
8608 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8609 echo "running
$SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8610 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8612 cat >>$CONFIG_STATUS <<\_ACEOF
8613 --version | --vers* | -V )
8614 echo "$ac_cs_version"; exit 0 ;;
8616 # Conflict between --help and --header
8617 { { echo "$as_me:8617: error
: ambiguous option
: $1
8618 Try \
`$0 --help' for more information." >&5
8619 echo "$as_me: error: ambiguous option: $1
8620 Try \`$0 --help' for more information." >&2;}
8621 { (exit 1); exit 1; }; };;
8622 --help | --hel | -h )
8623 echo "$ac_cs_usage"; exit 0 ;;
8624 --debug | --d* | -d )
8626 --file | --fil | --fi | --f )
8628 CONFIG_FILES="$CONFIG_FILES $1"
8629 ac_need_defaults=false;;
8630 --header | --heade | --head | --hea )
8632 CONFIG_HEADERS="$CONFIG_HEADERS $1"
8633 ac_need_defaults=false;;
8636 -*) { { echo "$as_me:8636: error: unrecognized option: $1
8637 Try \`$0 --help' for more information.
" >&5
8638 echo "$as_me: error
: unrecognized option
: $1
8639 Try \
`$0 --help' for more information." >&2;}
8640 { (exit 1); exit 1; }; } ;;
8642 *) ac_config_targets="$ac_config_targets $1" ;;
8650 cat >>$CONFIG_STATUS <<_ACEOF
8652 # INIT-COMMANDS section.
8655 AMDEP_TRUE="$AMDEP_TRUE"
8656 ac_aux_dir="$ac_aux_dir"
8660 cat >>$CONFIG_STATUS <<\_ACEOF
8661 for ac_config_target in $ac_config_targets
8663 case "$ac_config_target" in
8664 # Handling of arguments.
8665 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
8666 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8667 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
8668 "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
8669 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8670 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
8671 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8672 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8673 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
8674 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
8675 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
8676 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8677 "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
8678 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
8679 *) { { echo "$as_me:8679: error: invalid argument: $ac_config_target" >&5
8680 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8681 { (exit 1); exit 1; }; };;
8685 # If the user did not use the arguments to specify the items to instantiate,
8686 # then the envvar interface is used. Set only those that are not.
8687 # We use the long form for the default assignment because of an extremely
8688 # bizarre bug on SunOS 4.1.3.
8689 if $ac_need_defaults; then
8690 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8691 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8692 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8695 # Create a temporary directory, and hook for its removal unless debugging.
8698 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8699 trap '{ (exit 1); exit 1; }' 1 2 13 15
8702 # Create a (secure) tmp directory for tmp files.
8705 tmp=`(umask 077 && mktemp
-d -q "$TMPDIR/csXXXXXX") 2>/dev
/null
` &&
8706 test -n "$tmp" && test -d "$tmp"
8709 tmp=$TMPDIR/cs$$-$RANDOM
8710 (umask 077 && mkdir $tmp)
8713 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8714 { (exit 1); exit 1; }
8719 cat >>$CONFIG_STATUS <<_ACEOF
8722 # CONFIG_FILES section.
8725 # No need to generate the scripts if there are no CONFIG_FILES.
8726 # This happens for instance when ./config.status config.h
8727 if test -n "\$CONFIG_FILES"; then
8728 # Protect against being on the right side of a sed subst in config.status.
8729 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8730 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8731 s,@SHELL@,$SHELL,;t t
8732 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8733 s,@exec_prefix@,$exec_prefix,;t t
8734 s,@prefix@,$prefix,;t t
8735 s,@program_transform_name@,$program_transform_name,;t t
8736 s,@bindir@,$bindir,;t t
8737 s,@sbindir@,$sbindir,;t t
8738 s,@libexecdir@,$libexecdir,;t t
8739 s,@datadir@,$datadir,;t t
8740 s,@sysconfdir@,$sysconfdir,;t t
8741 s,@sharedstatedir@,$sharedstatedir,;t t
8742 s,@localstatedir@,$localstatedir,;t t
8743 s,@libdir@,$libdir,;t t
8744 s,@includedir@,$includedir,;t t
8745 s,@oldincludedir@,$oldincludedir,;t t
8746 s,@infodir@,$infodir,;t t
8747 s,@mandir@,$mandir,;t t
8748 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8749 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8750 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8751 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8752 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8753 s,@build_alias@,$build_alias,;t t
8754 s,@host_alias@,$host_alias,;t t
8755 s,@target_alias@,$target_alias,;t t
8757 s,@ECHO_C@,$ECHO_C,;t t
8758 s,@ECHO_N@,$ECHO_N,;t t
8759 s,@ECHO_T@,$ECHO_T,;t t
8761 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8762 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8763 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8764 s,@PACKAGE@,$PACKAGE,;t t
8765 s,@VERSION@,$VERSION,;t t
8766 s,@EXEEXT@,$EXEEXT,;t t
8767 s,@OBJEXT@,$OBJEXT,;t t
8768 s,@ACLOCAL@,$ACLOCAL,;t t
8769 s,@AUTOCONF@,$AUTOCONF,;t t
8770 s,@AUTOMAKE@,$AUTOMAKE,;t t
8771 s,@AUTOHEADER@,$AUTOHEADER,;t t
8772 s,@MAKEINFO@,$MAKEINFO,;t t
8773 s,@AMTAR@,$AMTAR,;t t
8774 s,@install_sh@,$install_sh,;t t
8775 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8777 s,@SET_MAKE@,$SET_MAKE,;t t
8778 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8779 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8780 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8781 s,@DEPDIR@,$DEPDIR,;t t
8783 s,@CFLAGS@,$CFLAGS,;t t
8784 s,@LDFLAGS@,$LDFLAGS,;t t
8785 s,@CPPFLAGS@,$CPPFLAGS,;t t
8786 s,@ac_ct_CC@,$ac_ct_CC,;t t
8787 s,@am__include@,$am__include,;t t
8788 s,@am__quote@,$am__quote,;t t
8789 s,@CCDEPMODE@,$CCDEPMODE,;t t
8791 s,@RANLIB@,$RANLIB,;t t
8792 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8794 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
8796 s,@ANSI2KNR@,$ANSI2KNR,;t t
8797 s,@ALLOCA@,$ALLOCA,;t t
8798 s,@LIBOBJS@,$LIBOBJS,;t t
8799 s,@build@,$build,;t t
8800 s,@build_cpu@,$build_cpu,;t t
8801 s,@build_vendor@,$build_vendor,;t t
8802 s,@build_os@,$build_os,;t t
8804 s,@host_cpu@,$host_cpu,;t t
8805 s,@host_vendor@,$host_vendor,;t t
8806 s,@host_os@,$host_os,;t t
8807 s,@GLIBC21@,$GLIBC21,;t t
8808 s,@LIBICONV@,$LIBICONV,;t t
8809 s,@USE_NLS@,$USE_NLS,;t t
8810 s,@MSGFMT@,$MSGFMT,;t t
8811 s,@GMSGFMT@,$GMSGFMT,;t t
8812 s,@XGETTEXT@,$XGETTEXT,;t t
8813 s,@INTLBISON@,$INTLBISON,;t t
8814 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
8815 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
8816 s,@CATALOGS@,$CATALOGS,;t t
8817 s,@CATOBJEXT@,$CATOBJEXT,;t t
8818 s,@GMOFILES@,$GMOFILES,;t t
8819 s,@INTLLIBS@,$INTLLIBS,;t t
8820 s,@INTLOBJS@,$INTLOBJS,;t t
8821 s,@POFILES@,$POFILES,;t t
8822 s,@POSUB@,$POSUB,;t t
8823 s,@DATADIRNAME@,$DATADIRNAME,;t t
8824 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8825 s,@GENCAT@,$GENCAT,;t t
8826 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8827 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
8832 cat >>$CONFIG_STATUS <<\_ACEOF
8833 # Split the substitutions into bite-sized pieces for seds with
8834 # small command number limits, like on Digital OSF/1 and HP-UX.
8836 ac_sed_frag=1 # Number of current file.
8837 ac_beg=1 # First line for current file.
8838 ac_end=$ac_max_sed_lines # Line after last line for current file.
8841 while $ac_more_lines; do
8842 if test $ac_beg -gt 1; then
8843 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8845 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8847 if test ! -s $tmp/subs.frag; then
8850 # The purpose of the label and of the branching condition is to
8851 # speed up the sed processing (if there are no `@
' at all, there
8852 # is no need to browse any of the substitutions).
8853 # These are the two extra sed commands mentioned above.
8855 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8856 if test -z "$ac_sed_cmds"; then
8857 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8859 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8861 ac_sed_frag=`expr $ac_sed_frag + 1`
8863 ac_end=`expr $ac_end + $ac_max_sed_lines`
8866 if test -z "$ac_sed_cmds"; then
8869 fi # test -n "$CONFIG_FILES"
8872 cat >>$CONFIG_STATUS <<\_ACEOF
8873 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8874 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8876 - | *:- | *:-:* ) # input from stdin
8878 ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
8879 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
8880 *:* ) ac_file_in=`echo "$ac_file" | sed 's
,[^
:]*:,,'`
8881 ac_file=`echo "$ac_file" | sed 's
,:.
*,,'` ;;
8882 * ) ac_file_in=$ac_file.in ;;
8885 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8886 ac_dir=`$as_expr X"$ac_file" : 'X\
(.
*[^/]\)//*[^/][^/]*/*$
' \
| \
8887 X
"$ac_file" : 'X\(//\)[^/]' \
| \
8888 X
"$ac_file" : 'X\(//\)$' \
| \
8889 X
"$ac_file" : 'X\(/\)' \
| \
8890 .
: '\(.\)' 2>/dev
/null
||
8892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8894 /^X\(\/\/\)$/{ s//\1/; q; }
8895 /^X\(\/\).*/{ s//\1/; q; }
8898 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
8902 for as_mkdir_dir in `IFS
='/\\'; set X
$as_dummy; shift; echo "$@"`; do
8903 case $as_mkdir_dir in
8904 # Skip DOS drivespec
8905 ?:) as_incr_dir=$as_mkdir_dir ;;
8907 as_incr_dir=$as_incr_dir/$as_mkdir_dir
8908 test -d "$as_incr_dir" ||
8909 mkdir "$as_incr_dir" ||
8910 { { echo "$as_me:8910: error: cannot create \"$ac_dir\"" >&5
8911 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8912 { (exit 1); exit 1; }; }
8917 if test "$ac_dir" != .; then
8918 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
8919 # A "../" for each directory in $ac_dir_suffix.
8920 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8922 ac_dir_suffix= ac_top_builddir=
8926 .) # No --srcdir option. We are building in place.
8928 if test -z "$ac_top_builddir"; then
8931 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8933 [\\/]* | ?:[\\/]* ) # Absolute path.
8934 ac_srcdir=$srcdir$ac_dir_suffix;
8935 ac_top_srcdir=$srcdir ;;
8937 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8938 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8942 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8943 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8946 if test x"$ac_file" != x-; then
8947 { echo "$as_me:8947: creating $ac_file" >&5
8948 echo "$as_me: creating $ac_file" >&6;}
8951 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8952 # use $as_me), people would be surprised to read:
8953 # /* config.h. Generated automatically by config.status. */
8954 configure_input
="Generated automatically from `echo $ac_file_in |
8955 sed 's,.*/,,'` by configure."
8957 # First look for the input files in the build tree, otherwise in the
8959 ac_file_inputs
=`IFS=:
8960 for f in $ac_file_in; do
8962 -) echo $tmp/stdin ;;
8964 # Absolute (can't be DOS-style, as IFS=:)
8965 test -f "$f" || { { echo "$as_me:8965: error: cannot find input file: $f" >&5
8966 echo "$as_me: error: cannot find input file: $f" >&2;}
8967 { (exit 1); exit 1; }; }
8970 if test -f "$f"; then
8973 elif test -f "$srcdir/$f"; then
8978 { { echo "$as_me:8978: error: cannot find input file: $f" >&5
8979 echo "$as_me: error: cannot find input file: $f" >&2;}
8980 { (exit 1); exit 1; }; }
8983 done` || { (exit 1); exit 1; }
8985 cat >>$CONFIG_STATUS <<_ACEOF
8989 cat >>$CONFIG_STATUS <<\_ACEOF
8991 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8992 s
,@configure_input@
,$configure_input,;t t
8993 s
,@srcdir@
,$ac_srcdir,;t t
8994 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8995 s
,@INSTALL@
,$ac_INSTALL,;t t
8996 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8998 if test x"$ac_file" != x-; then
8999 mv $tmp/out $ac_file
9007 cat >>$CONFIG_STATUS <<\_ACEOF
9010 # CONFIG_HEADER section.
9013 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9014 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9016 # ac_d sets the value in "#define NAME VALUE" lines.
9017 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9018 ac_dB
='[ ].*$,\1#\2'
9021 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9022 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9023 ac_uB
='$,\1#\2define\3'
9027 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9030 - | *:- | *:-:* ) # input from stdin
9032 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9034 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9036 * ) ac_file_in
=$ac_file.
in ;;
9039 test x
"$ac_file" != x
- && { echo "$as_me:9039: creating $ac_file" >&5
9040 echo "$as_me: creating $ac_file" >&6;}
9042 # First look for the input files in the build tree, otherwise in the
9044 ac_file_inputs
=`IFS=:
9045 for f in $ac_file_in; do
9047 -) echo $tmp/stdin ;;
9049 # Absolute (can't be DOS-style, as IFS=:)
9050 test -f "$f" || { { echo "$as_me:9050: error: cannot find input file: $f" >&5
9051 echo "$as_me: error: cannot find input file: $f" >&2;}
9052 { (exit 1); exit 1; }; }
9055 if test -f "$f"; then
9058 elif test -f "$srcdir/$f"; then
9063 { { echo "$as_me:9063: error: cannot find input file: $f" >&5
9064 echo "$as_me: error: cannot find input file: $f" >&2;}
9065 { (exit 1); exit 1; }; }
9068 done` || { (exit 1); exit 1; }
9069 # Remove the trailing spaces.
9070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9075 # `conftest.undefs', that substitutes the proper values into
9076 # config.h.in to produce config.h. The first handles `#define'
9077 # templates, and the second `#undef' templates.
9078 # And first: Protect against being on the right side of a sed subst in
9079 # config.status. Protect against being in an unquoted here document
9081 rm -f conftest.defines conftest.undefs
9082 # Using a here document instead of a string reduces the quoting nightmare.
9083 # Putting comments in sed scripts is not portable.
9085 # `end' is used to avoid that the second main sed command (meant for
9086 # 0-ary CPP macros) applies to n-ary macro definitions.
9087 # See the Autoconf documentation for `clear'.
9088 cat >confdef2sed.
sed <<\_ACEOF
9093 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9098 # If some macros were called several times there might be several times
9099 # the same #defines, which is useless. Nevertheless, we may not want to
9100 # sort them, since we want the *last* AC-DEFINE to be honored.
9101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9103 rm -f confdef2sed.sed
9105 # This sed command replaces #undef with comments. This is necessary, for
9106 # example, in the case of _POSIX_SOURCE, which is predefined and required
9107 # on some systems where configure will not decide to define it.
9108 cat >>conftest.undefs <<\_ACEOF
9109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9112 # Break up conftest.defines because some shells have a limit on the size
9113 # of here documents, and old seds have small limits too (100 cmds).
9114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9115 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9117 echo ' :' >>$CONFIG_STATUS
9119 while grep . conftest.defines >/dev/null
9121 # Write a limited-size here document to $tmp/defines.sed.
9122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9123 # Speed up: don't consider the non `#define' lines.
9124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9125 # Work around the forget-to-reset-the-flag bug.
9126 echo 't clr' >>$CONFIG_STATUS
9127 echo ': clr' >>$CONFIG_STATUS
9128 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9134 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9135 rm -f conftest.defines
9136 mv conftest.
tail conftest.defines
9138 rm -f conftest.defines
9139 echo ' fi # egrep' >>$CONFIG_STATUS
9140 echo >>$CONFIG_STATUS
9142 # Break up conftest.undefs because some shells have a limit on the size
9143 # of here documents, and old seds have small limits too (100 cmds).
9144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9146 while grep . conftest.undefs
>/dev
/null
9148 # Write a limited-size here document to $tmp/undefs.sed.
9149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9150 # Speed up: don't consider the non
`#undef'
9151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9152 # Work around the forget-to-reset-the-flag bug.
9153 echo 't clr' >>$CONFIG_STATUS
9154 echo ': clr' >>$CONFIG_STATUS
9155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9162 rm -f conftest.undefs
9163 mv conftest.tail conftest.undefs
9165 rm -f conftest.undefs
9167 cat >>$CONFIG_STATUS <<\_ACEOF
9168 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9169 # use $as_me), people would be surprised to read:
9170 # /* config.h. Generated automatically by config.status. */
9171 if test x
"$ac_file" = x
-; then
9172 echo "/* Generated automatically by configure. */" >$tmp/config.h
9174 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
9176 cat $tmp/in >>$tmp/config.h
9178 if test x
"$ac_file" != x
-; then
9179 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
9180 { echo "$as_me:9180: $ac_file is unchanged" >&5
9181 echo "$as_me: $ac_file is unchanged" >&6;}
9183 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9184 X"$ac_file" : 'X\(//\)[^/]' \| \
9185 X"$ac_file" : 'X\(//\)$' \| \
9186 X"$ac_file" : 'X\(/\)' \| \
9187 . : '\(.\)' 2>/dev/null ||
9189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9191 /^X\(\/\/\)$/{ s//\1/; q; }
9192 /^X\(\/\).*/{ s//\1/; q; }
9195 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9199 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9200 case $as_mkdir_dir in
9201 # Skip DOS drivespec
9202 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9204 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9205 test -d "$as_incr_dir" ||
9206 mkdir "$as_incr_dir" ||
9207 { { echo "$as_me:9207: error: cannot create \"$ac_dir\"" >&5
9208 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9209 { (exit 1); exit 1; }; }
9215 mv $tmp/config.h
$ac_file
9221 # Run the commands associated with the file.
9223 config.h
) # update the timestamp
9224 echo timestamp
>"./stamp-h1"
9229 cat >>$CONFIG_STATUS <<\_ACEOF
9232 # CONFIG_COMMANDS section.
9234 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9235 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9236 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9237 ac_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9238 X"$ac_dest" : 'X\(//\)[^/]' \| \
9239 X"$ac_dest" : 'X\(//\)$' \| \
9240 X"$ac_dest" : 'X\(/\)' \| \
9241 . : '\(.\)' 2>/dev/null ||
9243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9244 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9245 /^X\(\/\/\)$/{ s//\1/; q; }
9246 /^X\(\/\).*/{ s//\1/; q; }
9248 if test "$ac_dir" != .
; then
9249 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\./,,'`
9250 # A "../" for each directory in $ac_dir_suffix.
9251 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9253 ac_dir_suffix
= ac_top_builddir
=
9257 .
) # No --srcdir option. We are building in place.
9259 if test -z "$ac_top_builddir"; then
9262 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9264 [\\/]* | ?
:[\\/]* ) # Absolute path.
9265 ac_srcdir
=$srcdir$ac_dir_suffix;
9266 ac_top_srcdir
=$srcdir ;;
9268 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9269 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9272 { echo "$as_me:9272: executing $ac_dest commands" >&5
9273 echo "$as_me: executing $ac_dest commands" >&6;}
9275 tests
/atconfig
) # Do not use _ACEOF as we are being dumped into config.status via
9276 # an _ACEOF-heredoc.
9277 cat >tests
/atconfig
<<ATEOF
9278 # Configurable variable values for building test suites.
9280 # Copyright 2000, 2001 Free Software Foundation, Inc.
9284 top_srcdir='$ac_top_srcdir'
9285 top_builddir='$ac_top_builddir'
9287 AUTOTEST_PATH='tests'
9289 SHELL=\${CONFIG_SHELL-'$SHELL'}
9293 test x
"$AMDEP_TRUE" != x
"" ||
9294 for mf
in $CONFIG_FILES; do
9296 Makefile
) dirpart
=.
;;
9297 */Makefile
) dirpart
=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
9300 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
9301 # Extract the definition of DEP_FILES from the Makefile without
9303 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9304 test -z "$DEPDIR" && continue
9305 # When using ansi2knr, U may be empty or an underscore; expand it
9306 U
=`sed -n -e '/^U = / s///p' < "$mf"`
9307 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9308 # We invoke sed twice because it is the simplest approach to
9309 # changing $(DEPDIR) to its actual value in the expansion.
9310 for file in `sed -n -e '
9311 /^DEP_FILES = .*\\\\$/ {
9320 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9321 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9322 # Make sure the directory exists.
9323 test -f "$dirpart/$file" && continue
9324 fdir
=`echo "$file" | sed -e 's|/[^/]*$||'`
9325 $ac_aux_dir/mkinstalldirs
"$dirpart/$fdir" > /dev
/null
2>&1
9326 # echo "creating $dirpart/$file"
9327 echo '# dummy' > "$dirpart/$file"
9331 default
-2 ) for ac_file
in $CONFIG_FILES; do
9332 # Support "outfile[:infile[:infile...]]"
9334 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9336 # PO directories have a Makefile.in generated from Makefile.in.in.
9337 case "$ac_file" in */Makefile.
in)
9338 # Adjust a relative srcdir.
9339 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9340 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9341 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9342 # In autoconf-2.13 it is called $ac_given_srcdir.
9343 # In autoconf-2.50 it is called $srcdir.
9344 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9345 case "$ac_given_srcdir" in
9346 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9347 /*) top_srcdir
="$ac_given_srcdir" ;;
9348 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9350 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9351 rm -f "$ac_dir/POTFILES"
9352 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9353 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
9354 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9355 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9364 cat >>$CONFIG_STATUS <<\_ACEOF
9366 { (exit 0); exit 0; }
9368 chmod +x
$CONFIG_STATUS
9369 ac_clean_files
=$ac_clean_files_save
9371 # configure is writing to config.log, and then calls config.status.
9372 # config.status does its own redirection, appending to config.log.
9373 # Unfortunately, on DOS this fails, as config.log is still kept open
9374 # by configure, so config.status won't be able to write to it; its
9375 # output is simply discarded. So we exec the FD to /dev/null,
9376 # effectively closing config.log, so it can be properly (re)opened and
9377 # appended to by config.status. When coming back to configure, we
9378 # need to make the FD available again.
9379 if test "$no_create" != yes; then
9382 $SHELL $CONFIG_STATUS || ac_cs_success
=false
9384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9385 # would make configure fail if this is the last instruction.
9386 $ac_cs_success || { (exit 1); exit 1; }