2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by 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,.*[\\/],,'`
40 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46 rm -f conf$$ conf$$.exe conf$$.
file
48 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49 # We could just check for DJGPP; but this test a) works b) is more generic
50 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51 if test -f conf$$.exe
; then
52 # Don't use ln at all; we don't have any links
57 elif ln conf$$.
file conf$$
2>/dev
/null
; then
62 rm -f conf$$ conf$$.exe conf$$.
file
64 as_executable_p
="test -f"
66 # Support unset when possible.
67 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
74 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
75 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
76 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
77 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
78 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
79 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
80 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
81 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
84 # We need space, tab and new line, in precisely that order.
90 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
93 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
94 # so uname gets run too.
95 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
102 ac_default_prefix
=/usr
/local
106 SHELL
=${CONFIG_SHELL-/bin/sh}
108 # Maximum number of lines to put in a shell here document.
109 # This variable seems obsolete. It should probably be removed, and
110 # only ac_max_sed_lines should be used.
111 : ${ac_max_here_lines=38}
113 # Factoring default headers for most tests.
114 ac_includes_default
="\
117 # include <sys/types.h>
120 # include <sys/stat.h>
131 # if !STDC_HEADERS && HAVE_MEMORY_H
137 # include <strings.h>
140 # include <inttypes.h>
150 # Initialize some variables set by options.
152 ac_init_version
=false
153 # The variables have the same names as the options, with
154 # dashes changed to underlines.
162 program_transform_name
=s
,x
,x
,
170 # Installation directory options.
171 # These are left unexpanded so users can "make install exec_prefix=/foo"
172 # and all the variables that are supposed to be based on exec_prefix
173 # by default will actually change.
174 # Use braces instead of parens because sh, perl, etc. also accept them.
175 bindir
='${exec_prefix}/bin'
176 sbindir
='${exec_prefix}/sbin'
177 libexecdir
='${exec_prefix}/libexec'
178 datadir
='${prefix}/share'
179 sysconfdir
='${prefix}/etc'
180 sharedstatedir
='${prefix}/com'
181 localstatedir
='${prefix}/var'
182 libdir
='${exec_prefix}/lib'
183 includedir
='${prefix}/include'
184 oldincludedir
='/usr/include'
185 infodir
='${prefix}/info'
186 mandir
='${prefix}/man'
188 # Identity of this package.
189 PACKAGE_NAME
='GNU Bison'
190 PACKAGE_TARNAME
='bison'
191 PACKAGE_VERSION
='1.29a'
192 PACKAGE_STRING
='GNU Bison 1.29a'
193 PACKAGE_BUGREPORT
='bug-bison@gnu.org'
198 # If the previous option needs an argument, assign it.
199 if test -n "$ac_prev"; then
200 eval "$ac_prev=\$ac_option"
205 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
207 # Accept the important Cygnus configure options, so we can diagnose typos.
211 -bindir | --bindir | --bindi | --bind | --bin | --bi)
213 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
216 -build | --build | --buil | --bui | --bu)
217 ac_prev
=build_alias
;;
218 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
219 build_alias
=$ac_optarg ;;
221 -cache-file | --cache-file | --cache-fil | --cache-fi \
222 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
223 ac_prev
=cache_file
;;
224 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
225 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
226 cache_file
=$ac_optarg ;;
229 cache_file
=config.cache
;;
231 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
233 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
235 datadir
=$ac_optarg ;;
237 -disable-* | --disable-*)
238 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
239 # Reject names that are not valid shell variable names.
240 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
241 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
242 { (exit 1); exit 1; }; }
243 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
244 eval "enable_$ac_feature=no" ;;
246 -enable-* | --enable-*)
247 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
248 # Reject names that are not valid shell variable names.
249 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
250 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
251 { (exit 1); exit 1; }; }
252 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
254 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
257 eval "enable_$ac_feature='$ac_optarg'" ;;
259 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
260 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
261 | --exec | --exe | --ex)
262 ac_prev
=exec_prefix
;;
263 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
264 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
265 | --exec=* | --exe=* | --ex=*)
266 exec_prefix
=$ac_optarg ;;
268 -gas | --gas | --ga | --g)
269 # Obsolete; use --with-gas.
272 -help | --help | --hel | --he | -h)
274 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
275 ac_init_help
=recursive
;;
276 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
277 ac_init_help
=short
;;
279 -host | --host | --hos | --ho)
280 ac_prev
=host_alias
;;
281 -host=* | --host=* | --hos=* | --ho=*)
282 host_alias
=$ac_optarg ;;
284 -includedir | --includedir | --includedi | --included | --include \
285 | --includ | --inclu | --incl | --inc)
286 ac_prev
=includedir
;;
287 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
288 | --includ=* | --inclu=* | --incl=* | --inc=*)
289 includedir
=$ac_optarg ;;
291 -infodir | --infodir | --infodi | --infod | --info | --inf)
293 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
294 infodir
=$ac_optarg ;;
296 -libdir | --libdir | --libdi | --libd)
298 -libdir=* | --libdir=* | --libdi=* | --libd=*)
301 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
302 | --libexe | --libex | --libe)
303 ac_prev
=libexecdir
;;
304 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
305 | --libexe=* | --libex=* | --libe=*)
306 libexecdir
=$ac_optarg ;;
308 -localstatedir | --localstatedir | --localstatedi | --localstated \
309 | --localstate | --localstat | --localsta | --localst \
310 | --locals | --local | --loca | --loc | --lo)
311 ac_prev
=localstatedir
;;
312 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
313 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
314 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
315 localstatedir
=$ac_optarg ;;
317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
323 # Obsolete; use --without-fp.
326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
336 | --oldin | --oldi | --old | --ol | --o)
337 ac_prev
=oldincludedir
;;
338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
341 oldincludedir
=$ac_optarg ;;
343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
349 | --program-pre | --program-pr | --program-p)
350 ac_prev
=program_prefix
;;
351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
353 program_prefix
=$ac_optarg ;;
355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
356 | --program-suf | --program-su | --program-s)
357 ac_prev
=program_suffix
;;
358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
360 program_suffix
=$ac_optarg ;;
362 -program-transform-name | --program-transform-name \
363 | --program-transform-nam | --program-transform-na \
364 | --program-transform-n | --program-transform- \
365 | --program-transform | --program-transfor \
366 | --program-transfo | --program-transf \
367 | --program-trans | --program-tran \
368 | --progr-tra | --program-tr | --program-t)
369 ac_prev
=program_transform_name
;;
370 -program-transform-name=* | --program-transform-name=* \
371 | --program-transform-nam=* | --program-transform-na=* \
372 | --program-transform-n=* | --program-transform-=* \
373 | --program-transform=* | --program-transfor=* \
374 | --program-transfo=* | --program-transf=* \
375 | --program-trans=* | --program-tran=* \
376 | --progr-tra=* | --program-tr=* | --program-t=*)
377 program_transform_name
=$ac_optarg ;;
379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
380 | -silent | --silent | --silen | --sile | --sil)
383 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
385 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
387 sbindir
=$ac_optarg ;;
389 -sharedstatedir | --sharedstatedir | --sharedstatedi \
390 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
391 | --sharedst | --shareds | --shared | --share | --shar \
393 ac_prev
=sharedstatedir
;;
394 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
395 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
396 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
398 sharedstatedir
=$ac_optarg ;;
400 -site | --site | --sit)
402 -site=* | --site=* | --sit=*)
405 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
407 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
410 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
411 | --syscon | --sysco | --sysc | --sys | --sy)
412 ac_prev
=sysconfdir
;;
413 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
414 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
415 sysconfdir
=$ac_optarg ;;
417 -target | --target | --targe | --targ | --tar | --ta | --t)
418 ac_prev
=target_alias
;;
419 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
420 target_alias
=$ac_optarg ;;
422 -v | -verbose | --verbose | --verbos | --verbo | --verb)
425 -version | --version | --versio | --versi | --vers | -V)
429 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
430 # Reject names that are not valid shell variable names.
431 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
432 { echo "$as_me: error: invalid package name: $ac_package" >&2
433 { (exit 1); exit 1; }; }
434 ac_package
=`echo $ac_package| sed 's/-/_/g'`
436 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
439 eval "with_$ac_package='$ac_optarg'" ;;
441 -without-* | --without-*)
442 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
443 # Reject names that are not valid shell variable names.
444 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
445 { echo "$as_me: error: invalid package name: $ac_package" >&2
446 { (exit 1); exit 1; }; }
447 ac_package
=`echo $ac_package | sed 's/-/_/g'`
448 eval "with_$ac_package=no" ;;
451 # Obsolete; use --with-x.
454 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
455 | --x-incl | --x-inc | --x-in | --x-i)
456 ac_prev
=x_includes
;;
457 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
458 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
459 x_includes
=$ac_optarg ;;
461 -x-libraries | --x-libraries | --x-librarie | --x-librari \
462 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
463 ac_prev
=x_libraries
;;
464 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
465 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
466 x_libraries
=$ac_optarg ;;
468 -*) { echo "$as_me: error: unrecognized option: $ac_option
469 Try \`$0 --help' for more information." >&2
470 { (exit 1); exit 1; }; }
474 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
475 # Reject names that are not valid shell variable names.
476 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
477 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
478 { (exit 1); exit 1; }; }
479 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
480 eval "$ac_envvar='$ac_optarg'"
484 # FIXME: should be removed in autoconf 3.0.
485 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
486 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
487 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
488 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
494 if test -n "$ac_prev"; then
495 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
496 { echo "$as_me: error: missing argument to $ac_option" >&2
497 { (exit 1); exit 1; }; }
500 # Be sure to have absolute paths.
501 for ac_var
in exec_prefix prefix
503 eval ac_val
=$
`echo $ac_var`
505 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
506 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
507 { (exit 1); exit 1; }; };;
511 # Be sure to have absolute paths.
512 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
513 localstatedir libdir includedir oldincludedir infodir mandir
515 eval ac_val
=$
`echo $ac_var`
517 [\\/$
]* | ?
:[\\/]* ) ;;
518 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
519 { (exit 1); exit 1; }; };;
523 # There might be people who depend on the old broken behavior: `$host'
524 # used to hold the argument of --host etc.
529 # FIXME: should be removed in autoconf 3.0.
530 if test "x$host_alias" != x
; then
531 if test "x$build_alias" = x
; then
532 cross_compiling
=maybe
533 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
534 If a cross compiler is detected then cross compile mode will be used." >&2
535 elif test "x$build_alias" != "x$host_alias"; then
541 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
543 test "$silent" = yes && exec 6>/dev
/null
545 # Find the source files, if location was not specified.
546 if test -z "$srcdir"; then
547 ac_srcdir_defaulted
=yes
548 # Try the directory containing this script, then its parent.
550 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
551 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
553 if test ! -r $srcdir/$ac_unique_file; then
557 ac_srcdir_defaulted
=no
559 if test ! -r $srcdir/$ac_unique_file; then
560 if test "$ac_srcdir_defaulted" = yes; then
561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
562 { (exit 1); exit 1; }; }
564 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
565 { (exit 1); exit 1; }; }
568 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
569 ac_env_build_alias_set
=${build_alias+set}
570 ac_env_build_alias_value
=$build_alias
571 ac_cv_env_build_alias_set
=${build_alias+set}
572 ac_cv_env_build_alias_value
=$build_alias
573 ac_env_host_alias_set
=${host_alias+set}
574 ac_env_host_alias_value
=$host_alias
575 ac_cv_env_host_alias_set
=${host_alias+set}
576 ac_cv_env_host_alias_value
=$host_alias
577 ac_env_target_alias_set
=${target_alias+set}
578 ac_env_target_alias_value
=$target_alias
579 ac_cv_env_target_alias_set
=${target_alias+set}
580 ac_cv_env_target_alias_value
=$target_alias
581 ac_env_CC_set
=${CC+set}
583 ac_cv_env_CC_set
=${CC+set}
584 ac_cv_env_CC_value
=$CC
585 ac_env_CFLAGS_set
=${CFLAGS+set}
586 ac_env_CFLAGS_value
=$CFLAGS
587 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
588 ac_cv_env_CFLAGS_value
=$CFLAGS
589 ac_env_LDFLAGS_set
=${LDFLAGS+set}
590 ac_env_LDFLAGS_value
=$LDFLAGS
591 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
592 ac_cv_env_LDFLAGS_value
=$LDFLAGS
593 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
594 ac_env_CPPFLAGS_value
=$CPPFLAGS
595 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
596 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
597 ac_env_CPP_set
=${CPP+set}
598 ac_env_CPP_value
=$CPP
599 ac_cv_env_CPP_set
=${CPP+set}
600 ac_cv_env_CPP_value
=$CPP
603 # Report the --help message.
605 if test "$ac_init_help" = "long"; then
606 # Omit some internal or obsolete options to make the list less imposing.
607 # This message is too long to be a string in the A/UX 3.1 sh.
609 \`configure' configures GNU Bison 1.29a to adapt to many kinds of systems.
611 Usage: $0 [OPTION]... [VAR=VALUE]...
613 To assign environment variables (e.g., CC, CFLAGS...), specify them as
614 VAR=VALUE. See below for descriptions of some of the useful variables.
616 Defaults for the options are specified in brackets.
619 -h, --help display this help and exit
620 --help=short display options specific to this package
621 --help=recursive display the short help of all the included packages
622 -V, --version display version information and exit
623 -q, --quiet, --silent do not print \`checking...' messages
624 --cache-file=FILE cache test results in FILE [disabled]
625 -C, --config-cache alias for \`--cache-file=config.cache'
626 -n, --no-create do not create output files
627 --srcdir=DIR find the sources in DIR [configure dir or \`..']
632 Installation directories:
633 --prefix=PREFIX install architecture-independent files in PREFIX
635 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
638 By default, \`make install' will install all the files in
639 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
640 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
641 for instance \`--prefix=\$HOME'.
643 For better control, use the options below.
645 Fine tuning of the installation directories:
646 --bindir=DIR user executables [EPREFIX/bin]
647 --sbindir=DIR system admin executables [EPREFIX/sbin]
648 --libexecdir=DIR program executables [EPREFIX/libexec]
649 --datadir=DIR read-only architecture-independent data [PREFIX/share]
650 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
651 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
652 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
653 --libdir=DIR object code libraries [EPREFIX/lib]
654 --includedir=DIR C header files [PREFIX/include]
655 --oldincludedir=DIR C header files for non-gcc [/usr/include]
656 --infodir=DIR info documentation [PREFIX/info]
657 --mandir=DIR man documentation [PREFIX/man]
663 --program-prefix=PREFIX prepend PREFIX to installed program names
664 --program-suffix=SUFFIX append SUFFIX to installed program names
665 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
668 --build=BUILD configure
for building on BUILD
[guessed
]
669 --host=HOST build programs to run on HOST
[BUILD
]
673 if test -n "$ac_init_help"; then
674 case $ac_init_help in
675 short
| recursive
) echo "Configuration of GNU Bison 1.29a:";;
680 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
681 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
682 --disable-dependency-tracking Speeds up one
-time builds
683 --enable-dependency-tracking Do not reject slow dependency extractors
684 --enable-gcc-warnings turn on lots of GCC warnings
(not recommended
)
685 --disable-nls do not use Native Language Support
688 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
689 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
690 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
691 --with-included-gettext use the GNU
gettext library included here
693 Some influential environment variables
:
694 CC C compiler
command
695 CFLAGS C compiler flags
696 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
697 nonstandard directory
<lib dir
>
698 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
699 headers
in a nonstandard directory
<include dir
>
702 Use these variables to override the choices made by
`configure' or to help
703 it to find libraries and programs with nonstandard names/locations.
705 Report bugs to <bug-bison@gnu.org>.
709 if test "$ac_init_help" = "recursive"; then
710 # If there are subdirs, report their specific --help.
712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
714 if test "$ac_dir" != .; then
715 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
716 # A "../" for each directory in $ac_dir_suffix.
717 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
719 ac_dir_suffix= ac_top_builddir=
723 .) # No --srcdir option. We are building in place.
725 if test -z "$ac_top_builddir"; then
728 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
730 [\\/]* | ?:[\\/]* ) # Absolute path.
731 ac_srcdir=$srcdir$ac_dir_suffix;
732 ac_top_srcdir=$srcdir ;;
734 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
735 ac_top_srcdir=$ac_top_builddir$srcdir ;;
738 # Check for guested configure; otherwise get Cygnus style configure.
739 if test -f $ac_srcdir/configure.gnu; then
741 $SHELL $ac_srcdir/configure.gnu --help=recursive
742 elif test -f $ac_srcdir/configure; then
744 $SHELL $ac_srcdir/configure --help=recursive
745 elif test -f $ac_srcdir/configure.ac ||
746 test -f $ac_srcdir/configure.in; then
750 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
756 test -n "$ac_init_help" && exit 0
757 if $ac_init_version; then
759 GNU Bison configure 1.29a
760 generated by GNU Autoconf 2.52e
762 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
763 Free Software Foundation, Inc.
764 This configure script is free software; the Free Software Foundation
765 gives unlimited permission to copy, distribute and modify it.
771 This file contains any messages produced by compilers while
772 running configure, to aid debugging if configure makes a mistake.
774 It was created by GNU Bison $as_me 1.29a, which was
775 generated by GNU Autoconf 2.52e. Invocation command line was
786 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
787 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
788 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
789 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
790 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
792 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
793 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
795 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
796 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
797 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
798 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
799 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
800 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
801 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
821 # Keep a trace of the command line.
822 # Strip out --no-create and --no-recursion so they do not pile up.
823 # Also quote any args containing shell meta-characters.
829 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
830 | --no-cr | --no-c) ;;
831 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
832 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
833 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
834 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
835 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
837 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
840 # Get rid of the leading space.
843 # When interrupted or exit'd, cleanup temporary files, and complete
844 # config.log. We remove comments because anyway the quotes in there
845 # would cause problems or look ugly.
846 # WARNING: Be sure not to use single quotes in there, as some shells,
847 # such as our DU 5.0 friend, will then `close
' the trap.
849 # Save into config.log some information that might help in debugging.
853 ## ---------------- ##
854 ## Cache variables. ##
855 ## ---------------- ##
858 # The following way of writing the cache mishandles newlines in values,
861 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
864 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
869 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
874 if test -s confdefs.h
; then
881 sed "/^$/d" confdefs.h
884 test "$ac_signal" != 0 &&
885 echo "$as_me: caught signal $ac_signal"
886 echo "$as_me: exit $exit_status"
888 rm -rf conftest
* confdefs
* core core.
* *.core conf$$
* $ac_clean_files &&
891 for ac_signal in 1 2 13 15; do
892 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
897 rm -rf conftest* confdefs.h
898 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
901 # Let the site file select an alternate cache file if it wants to.
902 # Prefer explicitly selected file to automatically selected ones.
903 if test -z "$CONFIG_SITE"; then
904 if test "x$prefix" != xNONE; then
905 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
907 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
910 for ac_site_file in $CONFIG_SITE; do
911 if test -r "$ac_site_file"; then
912 { echo "$as_me:912: loading site script $ac_site_file" >&5
913 echo "$as_me: loading site script $ac_site_file" >&6;}
914 sed 's
/^
/| /' "$ac_site_file" >&5
919 if test -r "$cache_file"; then
920 # Some versions of bash will fail to source /dev/null (special
921 # files actually), so we avoid doing that.
922 if test -f "$cache_file"; then
923 { echo "$as_me:923: loading cache $cache_file" >&5
924 echo "$as_me: loading cache $cache_file" >&6;}
926 [\\/]* | ?:[\\/]* ) . $cache_file;;
931 { echo "$as_me:931: creating cache $cache_file" >&5
932 echo "$as_me: creating cache $cache_file" >&6;}
936 # Check that the precious variables saved in the cache have kept the same
938 ac_cache_corrupted=false
939 for ac_var in `(set) 2>&1 |
940 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
941 eval ac_old_set=\$ac_cv_env_${ac_var}_set
942 eval ac_new_set=\$ac_env_${ac_var}_set
943 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
944 eval ac_new_val="\$ac_env_${ac_var}_value"
945 case $ac_old_set,$ac_new_set in
947 { echo "$as_me:947: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
948 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
949 ac_cache_corrupted=: ;;
951 { echo "$as_me:951: error
: \
`$ac_var' was not set in the previous run" >&5
952 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
953 ac_cache_corrupted=: ;;
956 if test "x$ac_old_val" != "x$ac_new_val"; then
957 { echo "$as_me:957: error: \`$ac_var' has changed since the previous run
:" >&5
958 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
959 { echo "$as_me:959: former value: $ac_old_val" >&5
960 echo "$as_me: former value: $ac_old_val" >&2;}
961 { echo "$as_me:961: current value: $ac_new_val" >&5
962 echo "$as_me: current value: $ac_new_val" >&2;}
966 # Pass precious variables to config.status. It doesn't matter if
967 # we pass some twice (in addition to the command line arguments).
968 if test "$ac_new_set" = set; then
970 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
971 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
972 ac_configure_args="$ac_configure_args '$ac_arg'"
974 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
979 if $ac_cache_corrupted; then
980 { echo "$as_me:980: error: changes in the environment can compromise the build" >&5
981 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
982 { { echo "$as_me:982: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
983 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
984 { (exit 1); exit 1; }; }
988 ac_cpp='$CPP $CPPFLAGS'
989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
990 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
993 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
994 *c*,-n*) ECHO_N= ECHO_C='
996 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
997 *) ECHO_N= ECHO_C='\c
' ECHO_T= ;;
999 echo "#! $SHELL" >conftest.sh
1000 echo "exit 0" >>conftest.sh
1001 chmod +x conftest.sh
1002 if { (echo "$as_me:1002: PATH=\".;.\"; conftest.sh") >&5
1003 (PATH=".;."; conftest.sh) 2>&5
1005 echo "$as_me:1005: \$? = $ac_status" >&5
1006 (exit $ac_status); }; then
1007 ac_path_separator=';'
1011 PATH_SEPARATOR="$ac_path_separator"
1015 for ac_dir in config $srcdir/config; do
1016 if test -f $ac_dir/install-sh; then
1018 ac_install_sh="$ac_aux_dir/install-sh -c"
1020 elif test -f $ac_dir/install.sh; then
1022 ac_install_sh="$ac_aux_dir/install.sh -c"
1024 elif test -f $ac_dir/shtool; then
1026 ac_install_sh="$ac_aux_dir/shtool install -c"
1030 if test -z "$ac_aux_dir"; then
1031 { { echo "$as_me:1031: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1032 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1033 { (exit 1); exit 1; }; }
1035 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1036 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1037 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1039 # Find a good install program. We prefer a C program (faster),
1040 # so one script is as good as another. But avoid the broken or
1041 # incompatible versions:
1042 # SysV /etc/install, /usr/sbin/install
1043 # SunOS /usr/etc/install
1044 # IRIX /sbin/install
1046 # AmigaOS /C/install, which installs bootblocks on floppy discs
1047 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1048 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1049 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1050 # ./install, which can be erroneously created by make from ./install.sh.
1051 echo "$as_me:1051: checking for a BSD compatible install" >&5
1052 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1053 if test -z "$INSTALL"; then
1054 if test "${ac_cv_path_install+set}" = set; then
1055 echo $ECHO_N "(cached) $ECHO_C" >&6
1057 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1058 for ac_dir
in $PATH; do
1060 # Account for people who put trailing slashes in PATH elements.
1062 / | .
/ | .
// | /cC
/* \
1063 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
1066 # OSF1 and SCO ODT 3.0 have their own names for install.
1067 # Don't use installbsd from OSF since it installs stuff as root
1069 for ac_prog
in ginstall scoinst
install; do
1070 if $as_executable_p "$ac_dir/$ac_prog"; then
1071 if test $ac_prog = install &&
1072 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1073 # AIX install. It has an incompatible calling convention.
1075 elif test $ac_prog = install &&
1076 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1077 # program-specific install script used by HP pwplus--don't use.
1080 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1090 if test "${ac_cv_path_install+set}" = set; then
1091 INSTALL
=$ac_cv_path_install
1093 # As a last resort, use the slow shell script. We don't cache a
1094 # path for INSTALL within a source directory, because that will
1095 # break other packages using the cache if that directory is
1096 # removed, or if the path is relative.
1097 INSTALL
=$ac_install_sh
1100 echo "$as_me:1100: result: $INSTALL" >&5
1101 echo "${ECHO_T}$INSTALL" >&6
1103 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1104 # It thinks the first close brace ends the variable substitution.
1105 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1107 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1109 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1111 echo "$as_me:1111: checking whether build environment is sane" >&5
1112 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1115 echo timestamp
> conftest.
file
1116 # Do `set' in a subshell so we don't clobber the current shell's
1117 # arguments. Must try -L first in case configure is actually a
1118 # symlink; some systems play weird games with the mod time of symlinks
1119 # (eg FreeBSD returns the mod time of the symlink's containing
1122 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1123 if test "$*" = "X"; then
1125 set X
`ls -t $srcdir/configure conftest.file`
1128 if test "$*" != "X $srcdir/configure conftest.file" \
1129 && test "$*" != "X conftest.file $srcdir/configure"; then
1131 # If neither matched, then we have a broken ls. This can happen
1132 # if, for instance, CONFIG_SHELL is bash and it inherits a
1133 # broken ls alias from the environment. This has actually
1134 # happened. Such a system could not be considered "sane".
1135 { { echo "$as_me:1135: error: ls -t appears to fail. Make sure there is not a broken
1136 alias in your environment" >&5
1137 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1138 alias in your environment" >&2;}
1139 { (exit 1); exit 1; }; }
1142 test "$2" = conftest.
file
1148 { { echo "$as_me:1148: error: newly created file is older than distributed files!
1149 Check your system clock" >&5
1150 echo "$as_me: error: newly created file is older than distributed files!
1151 Check your system clock" >&2;}
1152 { (exit 1); exit 1; }; }
1154 echo "$as_me:1154: result: yes" >&5
1155 echo "${ECHO_T}yes" >&6
1156 test "$program_prefix" != NONE
&&
1157 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1158 # Use a double $ so make ignores it.
1159 test "$program_suffix" != NONE
&&
1160 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1161 # Double any \ or $. echo might interpret backslashes.
1162 # By default was `s,x,x', remove it if useless.
1163 cat <<\_ACEOF
>conftest.
sed
1164 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1166 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1169 # expand $ac_aux_dir to an absolute path
1170 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1172 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1173 # Use eval to expand $SHELL
1174 if eval "$MISSING --run true"; then
1175 am_missing_run
="$MISSING --run "
1179 { echo "$as_me:1179: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1180 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1183 for ac_prog
in mawk gawk nawk
awk
1185 # Extract the first word of "$ac_prog", so it can be a program name with args.
1186 set dummy
$ac_prog; ac_word
=$2
1187 echo "$as_me:1187: checking for $ac_word" >&5
1188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1189 if test "${ac_cv_prog_AWK+set}" = set; then
1190 echo $ECHO_N "(cached) $ECHO_C" >&6
1192 if test -n "$AWK"; then
1193 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1195 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1197 for ac_dir
in $ac_dummy; do
1199 test -z "$ac_dir" && ac_dir
=.
1200 $as_executable_p "$ac_dir/$ac_word" || continue
1201 ac_cv_prog_AWK
="$ac_prog"
1202 echo "$as_me:1202: found $ac_dir/$ac_word" >&5
1209 if test -n "$AWK"; then
1210 echo "$as_me:1210: result: $AWK" >&5
1211 echo "${ECHO_T}$AWK" >&6
1213 echo "$as_me:1213: result: no" >&5
1214 echo "${ECHO_T}no" >&6
1217 test -n "$AWK" && break
1220 echo "$as_me:1220: checking whether ${MAKE-make} sets \${MAKE}" >&5
1221 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1222 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1223 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1224 echo $ECHO_N "(cached) $ECHO_C" >&6
1226 cat >conftest.
make <<\_ACEOF
1228 @
echo 'ac_maketemp="${MAKE}"'
1230 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1231 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1232 if test -n "$ac_maketemp"; then
1233 eval ac_cv_prog_make_
${ac_make}_set
=yes
1235 eval ac_cv_prog_make_
${ac_make}_set
=no
1239 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1240 echo "$as_me:1240: result: yes" >&5
1241 echo "${ECHO_T}yes" >&6
1244 echo "$as_me:1244: result: no" >&5
1245 echo "${ECHO_T}no" >&6
1246 SET_MAKE
="MAKE=${MAKE-make}"
1249 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1250 if test "${enable_dependency_tracking+set}" = set; then
1251 enableval
="$enable_dependency_tracking"
1254 if test "x$enable_dependency_tracking" != xno
; then
1255 am_depcomp
="$ac_aux_dir/depcomp"
1259 if test "x$enable_dependency_tracking" != xno; then
1267 rm -f .deps
2>/dev
/null
1268 mkdir .deps
2>/dev
/null
1269 if test -d .deps
; then
1272 # MS-DOS does not allow filenames that begin with a dot.
1275 rmdir .deps
2>/dev
/null
1277 # test to see if srcdir already configured
1278 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1279 test -f $srcdir/config.status
; then
1280 { { echo "$as_me:1280: error: source directory already configured; run \"make distclean\" there first" >&5
1281 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1282 { (exit 1); exit 1; }; }
1285 # Define the identity of the package.
1289 cat >>confdefs.h
<<_ACEOF
1290 #define PACKAGE "$PACKAGE"
1293 cat >>confdefs.h
<<_ACEOF
1294 #define VERSION "$VERSION"
1297 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1298 # the ones we care about.
1300 # Autoconf 2.50 always computes EXEEXT. However we need to be
1301 # compatible with 2.13, for now. So we always define EXEEXT, but we
1304 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1305 # requests that it be used. This is a bit dumb.
1308 # Some tools Automake needs.
1310 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1312 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1314 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1316 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1318 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1320 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1322 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1324 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1326 # We need awk for the "check" target. The system "awk" is bad on
1329 ac_config_headers
="$ac_config_headers config.h:config.hin"
1331 # Initialize the test suite.
1332 ac_config_commands
="$ac_config_commands tests/atconfig"
1334 if test -f $srcdir/tests
/atlocal.
in; then
1335 ac_config_files
="$ac_config_files tests/atlocal"
1339 # Checks for programs.
1341 ac_cpp
='$CPP $CPPFLAGS'
1342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1345 if test -n "$ac_tool_prefix"; then
1346 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1347 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1348 echo "$as_me:1348: checking for $ac_word" >&5
1349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1350 if test "${ac_cv_prog_CC+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 if test -n "$CC"; then
1354 ac_cv_prog_CC
="$CC" # Let the user override the test.
1356 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1358 for ac_dir
in $ac_dummy; do
1360 test -z "$ac_dir" && ac_dir
=.
1361 $as_executable_p "$ac_dir/$ac_word" || continue
1362 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1363 echo "$as_me:1363: found $ac_dir/$ac_word" >&5
1370 if test -n "$CC"; then
1371 echo "$as_me:1371: result: $CC" >&5
1372 echo "${ECHO_T}$CC" >&6
1374 echo "$as_me:1374: result: no" >&5
1375 echo "${ECHO_T}no" >&6
1379 if test -z "$ac_cv_prog_CC"; then
1381 # Extract the first word of "gcc", so it can be a program name with args.
1382 set dummy gcc
; ac_word
=$2
1383 echo "$as_me:1383: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 if test -n "$ac_ct_CC"; then
1389 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1391 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1393 for ac_dir
in $ac_dummy; do
1395 test -z "$ac_dir" && ac_dir
=.
1396 $as_executable_p "$ac_dir/$ac_word" || continue
1397 ac_cv_prog_ac_ct_CC
="gcc"
1398 echo "$as_me:1398: found $ac_dir/$ac_word" >&5
1404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1405 if test -n "$ac_ct_CC"; then
1406 echo "$as_me:1406: result: $ac_ct_CC" >&5
1407 echo "${ECHO_T}$ac_ct_CC" >&6
1409 echo "$as_me:1409: result: no" >&5
1410 echo "${ECHO_T}no" >&6
1418 if test -z "$CC"; then
1419 if test -n "$ac_tool_prefix"; then
1420 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1421 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1422 echo "$as_me:1422: checking for $ac_word" >&5
1423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1424 if test "${ac_cv_prog_CC+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 if test -n "$CC"; then
1428 ac_cv_prog_CC
="$CC" # Let the user override the test.
1430 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1432 for ac_dir
in $ac_dummy; do
1434 test -z "$ac_dir" && ac_dir
=.
1435 $as_executable_p "$ac_dir/$ac_word" || continue
1436 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1437 echo "$as_me:1437: found $ac_dir/$ac_word" >&5
1444 if test -n "$CC"; then
1445 echo "$as_me:1445: result: $CC" >&5
1446 echo "${ECHO_T}$CC" >&6
1448 echo "$as_me:1448: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1453 if test -z "$ac_cv_prog_CC"; then
1455 # Extract the first word of "cc", so it can be a program name with args.
1456 set dummy cc
; ac_word
=$2
1457 echo "$as_me:1457: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$ac_ct_CC"; then
1463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1465 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1467 for ac_dir
in $ac_dummy; do
1469 test -z "$ac_dir" && ac_dir
=.
1470 $as_executable_p "$ac_dir/$ac_word" || continue
1471 ac_cv_prog_ac_ct_CC
="cc"
1472 echo "$as_me:1472: found $ac_dir/$ac_word" >&5
1478 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1479 if test -n "$ac_ct_CC"; then
1480 echo "$as_me:1480: result: $ac_ct_CC" >&5
1481 echo "${ECHO_T}$ac_ct_CC" >&6
1483 echo "$as_me:1483: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1493 if test -z "$CC"; then
1494 # Extract the first word of "cc", so it can be a program name with args.
1495 set dummy cc
; ac_word
=$2
1496 echo "$as_me:1496: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 if test -n "$CC"; then
1502 ac_cv_prog_CC
="$CC" # Let the user override the test.
1505 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1507 for ac_dir
in $ac_dummy; do
1509 test -z "$ac_dir" && ac_dir
=.
1510 $as_executable_p "$ac_dir/$ac_word" || continue
1511 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1512 ac_prog_rejected
=yes
1516 echo "$as_me:1516: found $ac_dir/$ac_word" >&5
1520 if test $ac_prog_rejected = yes; then
1521 # We found a bogon in the path, so make sure we never use it.
1522 set dummy
$ac_cv_prog_CC
1524 if test $# != 0; then
1525 # We chose a different compiler from the bogus one.
1526 # However, it has the same basename, so the bogon will be chosen
1527 # first if we set CC to just the basename; use the full file name.
1529 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1537 if test -n "$CC"; then
1538 echo "$as_me:1538: result: $CC" >&5
1539 echo "${ECHO_T}$CC" >&6
1541 echo "$as_me:1541: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1546 if test -z "$CC"; then
1547 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1552 echo "$as_me:1552: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC
="$CC" # Let the user override the test.
1560 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1562 for ac_dir
in $ac_dummy; do
1564 test -z "$ac_dir" && ac_dir
=.
1565 $as_executable_p "$ac_dir/$ac_word" || continue
1566 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1567 echo "$as_me:1567: found $ac_dir/$ac_word" >&5
1574 if test -n "$CC"; then
1575 echo "$as_me:1575: result: $CC" >&5
1576 echo "${ECHO_T}$CC" >&6
1578 echo "$as_me:1578: result: no" >&5
1579 echo "${ECHO_T}no" >&6
1582 test -n "$CC" && break
1585 if test -z "$CC"; then
1589 # Extract the first word of "$ac_prog", so it can be a program name with args.
1590 set dummy
$ac_prog; ac_word
=$2
1591 echo "$as_me:1591: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$ac_ct_CC"; then
1597 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1599 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1601 for ac_dir
in $ac_dummy; do
1603 test -z "$ac_dir" && ac_dir
=.
1604 $as_executable_p "$ac_dir/$ac_word" || continue
1605 ac_cv_prog_ac_ct_CC
="$ac_prog"
1606 echo "$as_me:1606: found $ac_dir/$ac_word" >&5
1612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1613 if test -n "$ac_ct_CC"; then
1614 echo "$as_me:1614: result: $ac_ct_CC" >&5
1615 echo "${ECHO_T}$ac_ct_CC" >&6
1617 echo "$as_me:1617: result: no" >&5
1618 echo "${ECHO_T}no" >&6
1621 test -n "$ac_ct_CC" && break
1629 test -z "$CC" && { { echo "$as_me:1629: error: no acceptable cc found in \$PATH" >&5
1630 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1631 { (exit 1); exit 1; }; }
1633 # Provide some information about the compiler.
1634 echo "$as_me:1634:" \
1635 "checking for C compiler version" >&5
1636 ac_compiler
=`set X $ac_compile; echo $2`
1637 { (eval echo "$as_me:1637: \"$ac_compiler --version </dev/null >&5\"") >&5
1638 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1640 echo "$as_me:1640: \$? = $ac_status" >&5
1641 (exit $ac_status); }
1642 { (eval echo "$as_me:1642: \"$ac_compiler -v </dev/null >&5\"") >&5
1643 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1645 echo "$as_me:1645: \$? = $ac_status" >&5
1646 (exit $ac_status); }
1647 { (eval echo "$as_me:1647: \"$ac_compiler -V </dev/null >&5\"") >&5
1648 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1650 echo "$as_me:1650: \$? = $ac_status" >&5
1651 (exit $ac_status); }
1653 cat >conftest.
$ac_ext <<_ACEOF
1654 #line 1654 "configure"
1655 #include "confdefs.h"
1657 #ifdef F77_DUMMY_MAIN
1661 int F77_DUMMY_MAIN() { return 1; }
1671 ac_clean_files_save
=$ac_clean_files
1672 ac_clean_files
="$ac_clean_files a.out a.exe"
1673 # Try to create an executable without -o first, disregard a.out.
1674 # It will help us diagnose broken compilers, and finding out an intuition
1676 echo "$as_me:1676: checking for C compiler default output" >&5
1677 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1678 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1679 if { (eval echo "$as_me:1679: \"$ac_link_default\"") >&5
1680 (eval $ac_link_default) 2>&5
1682 echo "$as_me:1682: \$? = $ac_status" >&5
1683 (exit $ac_status); }; then
1684 # Find the output, starting from the most likely. This scheme is
1685 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1687 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
1688 ls a.out conftest 2>/dev/null;
1689 ls a.* conftest.* 2>/dev/null`; do
1691 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1692 a.out
) # We found the default executable, but exeext='' is most
1695 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1696 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1703 echo "$as_me: failed program was:" >&5
1704 cat conftest.
$ac_ext >&5
1705 { { echo "$as_me:1705: error: C compiler cannot create executables" >&5
1706 echo "$as_me: error: C compiler cannot create executables" >&2;}
1707 { (exit 77); exit 77; }; }
1710 ac_exeext
=$ac_cv_exeext
1711 echo "$as_me:1711: result: $ac_file" >&5
1712 echo "${ECHO_T}$ac_file" >&6
1714 # Check the compiler produces executables we can run. If not, either
1715 # the compiler is broken, or we cross compile.
1716 echo "$as_me:1716: checking whether the C compiler works" >&5
1717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1719 # If not cross compiling, check that we can run a simple program.
1720 if test "$cross_compiling" != yes; then
1721 if { ac_try
='./$ac_file'
1722 { (eval echo "$as_me:1722: \"$ac_try\"") >&5
1725 echo "$as_me:1725: \$? = $ac_status" >&5
1726 (exit $ac_status); }; }; then
1729 if test "$cross_compiling" = maybe
; then
1732 { { echo "$as_me:1732: error: cannot run C compiled programs.
1733 If you meant to cross compile, use \`--host'." >&5
1734 echo "$as_me: error: cannot run C compiled programs.
1735 If you meant to cross compile, use \`--host'." >&2;}
1736 { (exit 1); exit 1; }; }
1740 echo "$as_me:1740: result: yes" >&5
1741 echo "${ECHO_T}yes" >&6
1743 rm -f a.out a.exe conftest
$ac_cv_exeext
1744 ac_clean_files
=$ac_clean_files_save
1745 # Check the compiler produces executables we can run. If not, either
1746 # the compiler is broken, or we cross compile.
1747 echo "$as_me:1747: checking whether we are cross compiling" >&5
1748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1749 echo "$as_me:1749: result: $cross_compiling" >&5
1750 echo "${ECHO_T}$cross_compiling" >&6
1752 echo "$as_me:1752: checking for executable suffix" >&5
1753 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1754 if { (eval echo "$as_me:1754: \"$ac_link\"") >&5
1755 (eval $ac_link) 2>&5
1757 echo "$as_me:1757: \$? = $ac_status" >&5
1758 (exit $ac_status); }; then
1759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1761 # work properly (i.e., refer to `conftest.exe'), while it won't with
1763 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1765 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1766 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1773 { { echo "$as_me:1773: error: cannot compute EXEEXT: cannot compile and link" >&5
1774 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1775 { (exit 1); exit 1; }; }
1778 rm -f conftest
$ac_cv_exeext
1779 echo "$as_me:1779: result: $ac_cv_exeext" >&5
1780 echo "${ECHO_T}$ac_cv_exeext" >&6
1782 rm -f conftest.
$ac_ext
1783 EXEEXT
=$ac_cv_exeext
1785 echo "$as_me:1785: checking for object suffix" >&5
1786 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1787 if test "${ac_cv_objext+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 cat >conftest.
$ac_ext <<_ACEOF
1791 #line 1791 "configure"
1792 #include "confdefs.h"
1794 #ifdef F77_DUMMY_MAIN
1798 int F77_DUMMY_MAIN() { return 1; }
1808 rm -f conftest.o conftest.obj
1809 if { (eval echo "$as_me:1809: \"$ac_compile\"") >&5
1810 (eval $ac_compile) 2>&5
1812 echo "$as_me:1812: \$? = $ac_status" >&5
1813 (exit $ac_status); }; then
1814 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1816 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1817 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1822 echo "$as_me: failed program was:" >&5
1823 cat conftest.
$ac_ext >&5
1824 { { echo "$as_me:1824: error: cannot compute OBJEXT: cannot compile" >&5
1825 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1826 { (exit 1); exit 1; }; }
1829 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1831 echo "$as_me:1831: result: $ac_cv_objext" >&5
1832 echo "${ECHO_T}$ac_cv_objext" >&6
1833 OBJEXT
=$ac_cv_objext
1835 echo "$as_me:1835: checking whether we are using the GNU C compiler" >&5
1836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 cat >conftest.
$ac_ext <<_ACEOF
1841 #line 1841 "configure"
1842 #include "confdefs.h"
1844 #ifdef F77_DUMMY_MAIN
1848 int F77_DUMMY_MAIN() { return 1; }
1861 rm -f conftest.
$ac_objext
1862 if { (eval echo "$as_me:1862: \"$ac_compile\"") >&5
1863 (eval $ac_compile) 2>&5
1865 echo "$as_me:1865: \$? = $ac_status" >&5
1866 (exit $ac_status); } &&
1867 { ac_try
='test -s conftest.$ac_objext'
1868 { (eval echo "$as_me:1868: \"$ac_try\"") >&5
1871 echo "$as_me:1871: \$? = $ac_status" >&5
1872 (exit $ac_status); }; }; then
1875 echo "$as_me: failed program was:" >&5
1876 cat conftest.
$ac_ext >&5
1879 rm -f conftest.
$ac_objext conftest.
$ac_ext
1880 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1883 echo "$as_me:1883: result: $ac_cv_c_compiler_gnu" >&5
1884 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1885 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1886 ac_test_CFLAGS
=${CFLAGS+set}
1887 ac_save_CFLAGS
=$CFLAGS
1889 echo "$as_me:1889: checking whether $CC accepts -g" >&5
1890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1891 if test "${ac_cv_prog_cc_g+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 cat >conftest.
$ac_ext <<_ACEOF
1895 #line 1895 "configure"
1896 #include "confdefs.h"
1898 #ifdef F77_DUMMY_MAIN
1902 int F77_DUMMY_MAIN() { return 1; }
1912 rm -f conftest.
$ac_objext
1913 if { (eval echo "$as_me:1913: \"$ac_compile\"") >&5
1914 (eval $ac_compile) 2>&5
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); } &&
1918 { ac_try
='test -s conftest.$ac_objext'
1919 { (eval echo "$as_me:1919: \"$ac_try\"") >&5
1922 echo "$as_me:1922: \$? = $ac_status" >&5
1923 (exit $ac_status); }; }; then
1926 echo "$as_me: failed program was:" >&5
1927 cat conftest.
$ac_ext >&5
1930 rm -f conftest.
$ac_objext conftest.
$ac_ext
1932 echo "$as_me:1932: result: $ac_cv_prog_cc_g" >&5
1933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1934 if test "$ac_test_CFLAGS" = set; then
1935 CFLAGS
=$ac_save_CFLAGS
1936 elif test $ac_cv_prog_cc_g = yes; then
1937 if test "$GCC" = yes; then
1943 if test "$GCC" = yes; then
1949 # Some people use a C++ compiler to compile C. Since we use `exit',
1950 # in C++ we need to declare it. In case someone uses the same compiler
1951 # for both compiling C and C++ we need to have the C++ compiler decide
1952 # the declaration of exit, since it's the most demanding environment.
1953 cat >conftest.
$ac_ext <<_ACEOF
1958 rm -f conftest.
$ac_objext
1959 if { (eval echo "$as_me:1959: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:1962: \$? = $ac_status" >&5
1963 (exit $ac_status); } &&
1964 { ac_try
='test -s conftest.$ac_objext'
1965 { (eval echo "$as_me:1965: \"$ac_try\"") >&5
1968 echo "$as_me:1968: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1970 for ac_declaration
in \
1972 '#include <stdlib.h>' \
1973 'extern "C" void std::exit (int) throw (); using std::exit;' \
1974 'extern "C" void std::exit (int); using std::exit;' \
1975 'extern "C" void exit (int) throw ();' \
1976 'extern "C" void exit (int);' \
1979 cat >conftest.
$ac_ext <<_ACEOF
1980 #line 1980 "configure"
1981 #include "confdefs.h"
1984 #ifdef F77_DUMMY_MAIN
1988 int F77_DUMMY_MAIN() { return 1; }
1998 rm -f conftest.
$ac_objext
1999 if { (eval echo "$as_me:1999: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>&5
2002 echo "$as_me:2002: \$? = $ac_status" >&5
2003 (exit $ac_status); } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:2005: \"$ac_try\"") >&5
2008 echo "$as_me:2008: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 cat conftest.
$ac_ext >&5
2016 rm -f conftest.
$ac_objext conftest.
$ac_ext
2017 cat >conftest.
$ac_ext <<_ACEOF
2018 #line 2018 "configure"
2019 #include "confdefs.h"
2021 #ifdef F77_DUMMY_MAIN
2025 int F77_DUMMY_MAIN() { return 1; }
2035 rm -f conftest.
$ac_objext
2036 if { (eval echo "$as_me:2036: \"$ac_compile\"") >&5
2037 (eval $ac_compile) 2>&5
2039 echo "$as_me:2039: \$? = $ac_status" >&5
2040 (exit $ac_status); } &&
2041 { ac_try
='test -s conftest.$ac_objext'
2042 { (eval echo "$as_me:2042: \"$ac_try\"") >&5
2045 echo "$as_me:2045: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2049 echo "$as_me: failed program was:" >&5
2050 cat conftest.
$ac_ext >&5
2052 rm -f conftest.
$ac_objext conftest.
$ac_ext
2055 if test -n "$ac_declaration"; then
2056 echo '#ifdef __cplusplus' >>confdefs.h
2057 echo $ac_declaration >>confdefs.h
2058 echo '#endif' >>confdefs.h
2062 echo "$as_me: failed program was:" >&5
2063 cat conftest.
$ac_ext >&5
2065 rm -f conftest.
$ac_objext conftest.
$ac_ext
2067 ac_cpp
='$CPP $CPPFLAGS'
2068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2072 ac_config_commands
="$ac_config_commands default-1"
2074 am_make
=${MAKE-make}
2075 cat > confinc
<< 'END'
2079 # If we don't find an include directive, just comment out the code.
2080 echo "$as_me:2080: checking for style of include used by $am_make" >&5
2081 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2085 # First try GNU make style include.
2086 echo "include confinc" > confmf
2087 # We grep out `Entering directory' and `Leaving directory'
2088 # messages which can occur if `w' ends up in MAKEFLAGS.
2089 # In particular we don't look at `^make:' because GNU make might
2090 # be invoked under some other name (usually "gmake"), in which
2091 # case it prints its new name instead of `make'.
2092 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2097 # Now try BSD make style include.
2098 if test "$am__include" = "#"; then
2099 echo '.include "confinc"' > confmf
2100 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2101 am__include
=.include
2107 echo "$as_me:2107: result: $_am_result" >&5
2108 echo "${ECHO_T}$_am_result" >&6
2109 rm -f confinc confmf
2111 depcc
="$CC" am_compiler_list
=
2113 echo "$as_me:2113: checking dependency style of $depcc" >&5
2114 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2115 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2119 # We make a subdir and do the tests there. Otherwise we can end up
2120 # making bogus files that we don't know about and never remove. For
2121 # instance it was reported that on HP-UX the gcc test will end up
2122 # making a dummy file named `D' -- because `-MD' means `put the output
2125 # Copy depcomp to subdir because otherwise we won't find it if we're
2126 # using a relative directory.
2127 cp "$am_depcomp" conftest.dir
2130 am_cv_CC_dependencies_compiler_type
=none
2131 if test "$am_compiler_list" = ""; then
2132 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2134 for depmode
in $am_compiler_list; do
2135 # We need to recreate these files for each test, as the compiler may
2136 # overwrite some of them when testing with obscure command lines.
2137 # This happens at least with the AIX C compiler.
2138 echo '#include "conftest.h"' > conftest.c
2139 echo 'int i;' > conftest.h
2140 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2144 # after this tag, mechanisms are not by side-effect, so they'll
2145 # only be used when explicitly requested
2146 if test "x$enable_dependency_tracking" = xyes
; then
2154 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2155 # mode. It turns out that the SunPro C++ compiler does not properly
2156 # handle `-M -o', and we need to detect this.
2157 if depmode
=$depmode \
2158 source=conftest.c object
=conftest.o \
2159 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2160 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2161 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2162 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2163 am_cv_CC_dependencies_compiler_type
=$depmode
2171 am_cv_CC_dependencies_compiler_type
=none
2175 echo "$as_me:2175: result: $am_cv_CC_dependencies_compiler_type" >&5
2176 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2177 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2180 ac_cpp
='$CPP $CPPFLAGS'
2181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2184 echo "$as_me:2184: checking how to run the C preprocessor" >&5
2185 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2186 # On Suns, sometimes $CPP names a directory.
2187 if test -n "$CPP" && test -d "$CPP"; then
2190 if test -z "$CPP"; then
2191 if test "${ac_cv_prog_CPP+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 # Double quotes because CPP needs to be expanded
2195 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2198 for ac_c_preproc_warn_flag
in '' yes
2200 # Use a header file that comes with gcc, so configuring glibc
2201 # with a fresh cross-compiler works.
2202 # On the NeXT, cc -E runs the code through the compiler's parser,
2203 # not just through cpp. "Syntax error" is here to catch this case.
2204 cat >conftest.
$ac_ext <<_ACEOF
2205 #line 2205 "configure"
2206 #include "confdefs.h"
2210 if { (eval echo "$as_me:2210: \"$ac_cpp conftest.$ac_ext\"") >&5
2211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2213 egrep -v '^ *\+' conftest.er1
>conftest.err
2215 cat conftest.err
>&5
2216 echo "$as_me:2216: \$? = $ac_status" >&5
2217 (exit $ac_status); } >/dev
/null
; then
2218 if test -s conftest.err
; then
2219 ac_cpp_err
=$ac_c_preproc_warn_flag
2226 if test -z "$ac_cpp_err"; then
2229 echo "$as_me: failed program was:" >&5
2230 cat conftest.
$ac_ext >&5
2231 # Broken: fails on valid input.
2234 rm -f conftest.err conftest.
$ac_ext
2236 # OK, works on sane cases. Now check whether non-existent headers
2237 # can be detected and how.
2238 cat >conftest.
$ac_ext <<_ACEOF
2239 #line 2239 "configure"
2240 #include "confdefs.h"
2241 #include <ac_nonexistent.h>
2243 if { (eval echo "$as_me:2243: \"$ac_cpp conftest.$ac_ext\"") >&5
2244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2246 egrep -v '^ *\+' conftest.er1
>conftest.err
2248 cat conftest.err
>&5
2249 echo "$as_me:2249: \$? = $ac_status" >&5
2250 (exit $ac_status); } >/dev
/null
; then
2251 if test -s conftest.err
; then
2252 ac_cpp_err
=$ac_c_preproc_warn_flag
2259 if test -z "$ac_cpp_err"; then
2260 # Broken: success on invalid input.
2263 echo "$as_me: failed program was:" >&5
2264 cat conftest.
$ac_ext >&5
2265 # Passes both tests.
2269 rm -f conftest.err conftest.
$ac_ext
2272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2273 rm -f conftest.err conftest.
$ac_ext
2274 if $ac_preproc_ok; then
2286 echo "$as_me:2286: result: $CPP" >&5
2287 echo "${ECHO_T}$CPP" >&6
2289 for ac_c_preproc_warn_flag
in '' yes
2291 # Use a header file that comes with gcc, so configuring glibc
2292 # with a fresh cross-compiler works.
2293 # On the NeXT, cc -E runs the code through the compiler's parser,
2294 # not just through cpp. "Syntax error" is here to catch this case.
2295 cat >conftest.
$ac_ext <<_ACEOF
2296 #line 2296 "configure"
2297 #include "confdefs.h"
2301 if { (eval echo "$as_me:2301: \"$ac_cpp conftest.$ac_ext\"") >&5
2302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2304 egrep -v '^ *\+' conftest.er1
>conftest.err
2306 cat conftest.err
>&5
2307 echo "$as_me:2307: \$? = $ac_status" >&5
2308 (exit $ac_status); } >/dev
/null
; then
2309 if test -s conftest.err
; then
2310 ac_cpp_err
=$ac_c_preproc_warn_flag
2317 if test -z "$ac_cpp_err"; then
2320 echo "$as_me: failed program was:" >&5
2321 cat conftest.
$ac_ext >&5
2322 # Broken: fails on valid input.
2325 rm -f conftest.err conftest.
$ac_ext
2327 # OK, works on sane cases. Now check whether non-existent headers
2328 # can be detected and how.
2329 cat >conftest.
$ac_ext <<_ACEOF
2330 #line 2330 "configure"
2331 #include "confdefs.h"
2332 #include <ac_nonexistent.h>
2334 if { (eval echo "$as_me:2334: \"$ac_cpp conftest.$ac_ext\"") >&5
2335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2337 egrep -v '^ *\+' conftest.er1
>conftest.err
2339 cat conftest.err
>&5
2340 echo "$as_me:2340: \$? = $ac_status" >&5
2341 (exit $ac_status); } >/dev
/null
; then
2342 if test -s conftest.err
; then
2343 ac_cpp_err
=$ac_c_preproc_warn_flag
2350 if test -z "$ac_cpp_err"; then
2351 # Broken: success on invalid input.
2354 echo "$as_me: failed program was:" >&5
2355 cat conftest.
$ac_ext >&5
2356 # Passes both tests.
2360 rm -f conftest.err conftest.
$ac_ext
2363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2364 rm -f conftest.err conftest.
$ac_ext
2365 if $ac_preproc_ok; then
2368 { { echo "$as_me:2368: error: C preprocessor \"$CPP\" fails sanity check" >&5
2369 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2370 { (exit 1); exit 1; }; }
2374 ac_cpp
='$CPP $CPPFLAGS'
2375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2379 echo "$as_me:2379: checking for ANSI C header files" >&5
2380 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2381 if test "${ac_cv_header_stdc+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 cat >conftest.
$ac_ext <<_ACEOF
2385 #line 2385 "configure"
2386 #include "confdefs.h"
2393 if { (eval echo "$as_me:2393: \"$ac_cpp conftest.$ac_ext\"") >&5
2394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2396 egrep -v '^ *\+' conftest.er1
>conftest.err
2398 cat conftest.err
>&5
2399 echo "$as_me:2399: \$? = $ac_status" >&5
2400 (exit $ac_status); } >/dev
/null
; then
2401 if test -s conftest.err
; then
2402 ac_cpp_err
=$ac_c_preproc_warn_flag
2409 if test -z "$ac_cpp_err"; then
2410 ac_cv_header_stdc
=yes
2412 echo "$as_me: failed program was:" >&5
2413 cat conftest.
$ac_ext >&5
2414 ac_cv_header_stdc
=no
2416 rm -f conftest.err conftest.
$ac_ext
2418 if test $ac_cv_header_stdc = yes; then
2419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2420 cat >conftest.
$ac_ext <<_ACEOF
2421 #line 2421 "configure"
2422 #include "confdefs.h"
2426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2427 egrep "memchr" >/dev
/null
2>&1; then
2430 ac_cv_header_stdc
=no
2436 if test $ac_cv_header_stdc = yes; then
2437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2438 cat >conftest.
$ac_ext <<_ACEOF
2439 #line 2439 "configure"
2440 #include "confdefs.h"
2444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2445 egrep "free" >/dev
/null
2>&1; then
2448 ac_cv_header_stdc
=no
2454 if test $ac_cv_header_stdc = yes; then
2455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2456 if test "$cross_compiling" = yes; then
2459 cat >conftest.
$ac_ext <<_ACEOF
2460 #line 2460 "configure"
2461 #include "confdefs.h"
2463 #if ((' ' & 0x0FF) == 0x020)
2464 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2465 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2467 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2468 || ('j' <= (c) && (c) <= 'r') \
2469 || ('s' <= (c) && (c) <= 'z'))
2470 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2473 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2478 for (i = 0; i < 256; i++)
2479 if (XOR (islower (i), ISLOWER (i))
2480 || toupper (i) != TOUPPER (i))
2485 rm -f conftest
$ac_exeext
2486 if { (eval echo "$as_me:2486: \"$ac_link\"") >&5
2487 (eval $ac_link) 2>&5
2489 echo "$as_me:2489: \$? = $ac_status" >&5
2490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2491 { (eval echo "$as_me:2491: \"$ac_try\"") >&5
2494 echo "$as_me:2494: \$? = $ac_status" >&5
2495 (exit $ac_status); }; }; then
2498 echo "$as_me: program exited with status $ac_status" >&5
2499 echo "$as_me: failed program was:" >&5
2500 cat conftest.
$ac_ext >&5
2501 ac_cv_header_stdc
=no
2503 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2507 echo "$as_me:2507: result: $ac_cv_header_stdc" >&5
2508 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2509 if test $ac_cv_header_stdc = yes; then
2511 cat >>confdefs.h
<<\_ACEOF
2512 #define STDC_HEADERS 1
2517 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2519 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2520 inttypes.h stdint.h unistd.h
2522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2523 echo "$as_me:2523: checking for $ac_header" >&5
2524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.
$ac_ext <<_ACEOF
2529 #line 2529 "configure"
2530 #include "confdefs.h"
2531 $ac_includes_default
2533 #include <$ac_header>
2535 rm -f conftest.
$ac_objext
2536 if { (eval echo "$as_me:2536: \"$ac_compile\"") >&5
2537 (eval $ac_compile) 2>&5
2539 echo "$as_me:2539: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try
='test -s conftest.$ac_objext'
2542 { (eval echo "$as_me:2542: \"$ac_try\"") >&5
2545 echo "$as_me:2545: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2547 eval "$as_ac_Header=yes"
2549 echo "$as_me: failed program was:" >&5
2550 cat conftest.
$ac_ext >&5
2551 eval "$as_ac_Header=no"
2553 rm -f conftest.
$ac_objext conftest.
$ac_ext
2555 echo "$as_me:2555: result: `eval echo '${'$as_ac_Header'}'`" >&5
2556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2558 cat >>confdefs.h
<<_ACEOF
2559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2566 if test "${ac_cv_header_minix_config_h+set}" = set; then
2567 echo "$as_me:2567: checking for minix/config.h" >&5
2568 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2569 if test "${ac_cv_header_minix_config_h+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 echo "$as_me:2572: result: $ac_cv_header_minix_config_h" >&5
2573 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2575 # Is the header compilable?
2576 echo "$as_me:2576: checking minix/config.h usability" >&5
2577 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2578 cat >conftest.
$ac_ext <<_ACEOF
2579 #line 2579 "configure"
2580 #include "confdefs.h"
2581 $ac_includes_default
2582 #include <minix/config.h>
2584 rm -f conftest.
$ac_objext
2585 if { (eval echo "$as_me:2585: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>&5
2588 echo "$as_me:2588: \$? = $ac_status" >&5
2589 (exit $ac_status); } &&
2590 { ac_try
='test -s conftest.$ac_objext'
2591 { (eval echo "$as_me:2591: \"$ac_try\"") >&5
2594 echo "$as_me:2594: \$? = $ac_status" >&5
2595 (exit $ac_status); }; }; then
2596 ac_header_compiler
=yes
2598 echo "$as_me: failed program was:" >&5
2599 cat conftest.
$ac_ext >&5
2600 ac_header_compiler
=no
2602 rm -f conftest.
$ac_objext conftest.
$ac_ext
2603 echo "$as_me:2603: result: $ac_header_compiler" >&5
2604 echo "${ECHO_T}$ac_header_compiler" >&6
2606 # Is the header present?
2607 echo "$as_me:2607: checking minix/config.h presence" >&5
2608 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2609 cat >conftest.
$ac_ext <<_ACEOF
2610 #line 2610 "configure"
2611 #include "confdefs.h"
2612 #include <minix/config.h>
2614 if { (eval echo "$as_me:2614: \"$ac_cpp conftest.$ac_ext\"") >&5
2615 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2617 egrep -v '^ *\+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:2620: \$? = $ac_status" >&5
2621 (exit $ac_status); } >/dev
/null
; then
2622 if test -s conftest.err
; then
2623 ac_cpp_err
=$ac_c_preproc_warn_flag
2630 if test -z "$ac_cpp_err"; then
2631 ac_header_preproc
=yes
2633 echo "$as_me: failed program was:" >&5
2634 cat conftest.
$ac_ext >&5
2635 ac_header_preproc
=no
2637 rm -f conftest.err conftest.
$ac_ext
2638 echo "$as_me:2638: result: $ac_header_preproc" >&5
2639 echo "${ECHO_T}$ac_header_preproc" >&6
2641 # So? What about this header?
2642 case $ac_header_compiler:$ac_header_preproc in
2644 { echo "$as_me:2644: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2645 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2646 { echo "$as_me:2646: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2647 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2649 { echo "$as_me:2649: WARNING: minix/config.h: present but cannot be compiled." >&5
2650 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
2651 { echo "$as_me:2651: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
2652 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
2653 { echo "$as_me:2653: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2654 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2656 echo "$as_me:2656: checking for minix/config.h" >&5
2657 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2658 if test "${ac_cv_header_minix_config_h+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 ac_cv_header_minix_config_h
=$ac_header_preproc
2663 echo "$as_me:2663: result: $ac_cv_header_minix_config_h" >&5
2664 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2667 if test $ac_cv_header_minix_config_h = yes; then
2673 if test "$MINIX" = yes; then
2675 cat >>confdefs.h
<<\_ACEOF
2676 #define _POSIX_SOURCE 1
2679 cat >>confdefs.h
<<\_ACEOF
2680 #define _POSIX_1_SOURCE 2
2683 cat >>confdefs.h
<<\_ACEOF
2689 echo "$as_me:2689: checking for strerror in -lcposix" >&5
2690 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2691 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 ac_check_lib_save_LIBS
=$LIBS
2695 LIBS
="-lcposix $LIBS"
2696 cat >conftest.
$ac_ext <<_ACEOF
2697 #line 2697 "configure"
2698 #include "confdefs.h"
2700 /* Override any gcc2 internal prototype to avoid an error. */
2704 /* We use char because int might match the return type of a gcc2
2705 builtin and then its argument prototype would still apply. */
2707 #ifdef F77_DUMMY_MAIN
2711 int F77_DUMMY_MAIN() { return 1; }
2721 rm -f conftest.
$ac_objext conftest
$ac_exeext
2722 if { (eval echo "$as_me:2722: \"$ac_link\"") >&5
2723 (eval $ac_link) 2>&5
2725 echo "$as_me:2725: \$? = $ac_status" >&5
2726 (exit $ac_status); } &&
2727 { ac_try
='test -s conftest$ac_exeext'
2728 { (eval echo "$as_me:2728: \"$ac_try\"") >&5
2731 echo "$as_me:2731: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2733 ac_cv_lib_cposix_strerror
=yes
2735 echo "$as_me: failed program was:" >&5
2736 cat conftest.
$ac_ext >&5
2737 ac_cv_lib_cposix_strerror
=no
2739 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2740 LIBS
=$ac_check_lib_save_LIBS
2742 echo "$as_me:2742: result: $ac_cv_lib_cposix_strerror" >&5
2743 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2744 if test $ac_cv_lib_cposix_strerror = yes; then
2745 LIBS
="$LIBS -lcposix"
2748 echo "$as_me:2748: checking for ${CC-cc} option to accept ANSI C" >&5
2749 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2750 if test "${am_cv_prog_cc_stdc+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 am_cv_prog_cc_stdc
=no
2755 # Don't try gcc -ansi; that turns off useful extensions and
2756 # breaks some systems' header files.
2757 # AIX -qlanglvl=ansi
2758 # Ultrix and OSF/1 -std1
2759 # HP-UX 10.20 and later -Ae
2760 # HP-UX older versions -Aa -D_HPUX_SOURCE
2761 # SVR4 -Xc -D__EXTENSIONS__
2762 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2764 CC
="$ac_save_CC $ac_arg"
2765 cat >conftest.
$ac_ext <<_ACEOF
2766 #line 2766 "configure"
2767 #include "confdefs.h"
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2786 s = g (p, va_arg (v,int));
2790 int test (int i, double x);
2791 struct s1 {int (*f) (int a);};
2792 struct s2 {int (*f) (double a);};
2793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2797 #ifdef F77_DUMMY_MAIN
2801 int F77_DUMMY_MAIN() { return 1; }
2807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2813 rm -f conftest.
$ac_objext
2814 if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5
2815 (eval $ac_compile) 2>&5
2817 echo "$as_me:2817: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try
='test -s conftest.$ac_objext'
2820 { (eval echo "$as_me:2820: \"$ac_try\"") >&5
2823 echo "$as_me:2823: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2825 am_cv_prog_cc_stdc
="$ac_arg"; break
2827 echo "$as_me: failed program was:" >&5
2828 cat conftest.
$ac_ext >&5
2830 rm -f conftest.
$ac_objext conftest.
$ac_ext
2836 if test -z "$am_cv_prog_cc_stdc"; then
2837 echo "$as_me:2837: result: none needed" >&5
2838 echo "${ECHO_T}none needed" >&6
2840 echo "$as_me:2840: result: $am_cv_prog_cc_stdc" >&5
2841 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2843 case "x$am_cv_prog_cc_stdc" in
2845 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2848 if test -n "$ac_tool_prefix"; then
2849 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2850 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2851 echo "$as_me:2851: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2853 if test "${ac_cv_prog_RANLIB+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$RANLIB"; then
2857 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2859 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2861 for ac_dir
in $ac_dummy; do
2863 test -z "$ac_dir" && ac_dir
=.
2864 $as_executable_p "$ac_dir/$ac_word" || continue
2865 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2866 echo "$as_me:2866: found $ac_dir/$ac_word" >&5
2872 RANLIB
=$ac_cv_prog_RANLIB
2873 if test -n "$RANLIB"; then
2874 echo "$as_me:2874: result: $RANLIB" >&5
2875 echo "${ECHO_T}$RANLIB" >&6
2877 echo "$as_me:2877: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2882 if test -z "$ac_cv_prog_RANLIB"; then
2883 ac_ct_RANLIB
=$RANLIB
2884 # Extract the first word of "ranlib", so it can be a program name with args.
2885 set dummy ranlib
; ac_word
=$2
2886 echo "$as_me:2886: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_RANLIB"; then
2892 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2894 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2896 for ac_dir
in $ac_dummy; do
2898 test -z "$ac_dir" && ac_dir
=.
2899 $as_executable_p "$ac_dir/$ac_word" || continue
2900 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2901 echo "$as_me:2901: found $ac_dir/$ac_word" >&5
2905 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2908 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2909 if test -n "$ac_ct_RANLIB"; then
2910 echo "$as_me:2910: result: $ac_ct_RANLIB" >&5
2911 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2913 echo "$as_me:2913: result: no" >&5
2914 echo "${ECHO_T}no" >&6
2917 RANLIB
=$ac_ct_RANLIB
2919 RANLIB
="$ac_cv_prog_RANLIB"
2922 # GNU M4 is needed to build the testsuite.
2923 for ac_prog
in gm4 gnum4
m4
2925 # Extract the first word of "$ac_prog", so it can be a program name with args.
2926 set dummy
$ac_prog; ac_word
=$2
2927 echo "$as_me:2927: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2929 if test "${ac_cv_path_M4+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2937 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2939 for ac_dir
in $ac_dummy; do
2941 test -z "$ac_dir" && ac_dir
=.
2942 if $as_executable_p "$ac_dir/$ac_word"; then
2943 ac_cv_path_M4
="$ac_dir/$ac_word"
2944 echo "$as_me:2944: found $ac_dir/$ac_word" >&5
2954 if test -n "$M4"; then
2955 echo "$as_me:2955: result: $M4" >&5
2956 echo "${ECHO_T}$M4" >&6
2958 echo "$as_me:2958: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2962 test -n "$M4" && break
2964 test -n "$M4" || M4
="m4"
2966 echo "$as_me:2966: checking whether m4 supports frozen files" >&5
2967 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2968 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 ac_cv_prog_gnu_m4
=no
2972 if test x
"$M4" != x
; then
2973 case `$M4 --help < /dev/null 2>&1` in
2974 *reload
-state*) ac_cv_prog_gnu_m4
=yes ;;
2978 echo "$as_me:2978: result: $ac_cv_prog_gnu_m4" >&5
2979 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2981 if test "$ac_cv_prog_gnu_m4" != yes; then
2982 missing_dir
=`cd $ac_aux_dir && pwd`
2983 M4
="$missing_dir/missing m4"
2986 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
2987 if test "${enable_gcc_warnings+set}" = set; then
2988 enableval
="$enable_gcc_warnings"
2989 case "${enableval}" in
2991 *) { { echo "$as_me:2991: error: bad value ${enableval} for gcc-warnings option" >&5
2992 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2993 { (exit 1); exit 1; }; } ;;
2998 if test "${enableval}" = yes; then
2999 echo "$as_me:2999: checking whether compiler accepts -Wall" >&5
3000 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
3002 ac_save_CFLAGS
="$CFLAGS"
3003 CFLAGS
="$CFLAGS -Wall"
3004 cat >conftest.
$ac_ext <<_ACEOF
3005 #line 3005 "configure"
3006 #include "confdefs.h"
3008 #ifdef F77_DUMMY_MAIN
3012 int F77_DUMMY_MAIN() { return 1; }
3022 rm -f conftest.
$ac_objext
3023 if { (eval echo "$as_me:3023: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3026 echo "$as_me:3026: \$? = $ac_status" >&5
3027 (exit $ac_status); } &&
3028 { ac_try
='test -s conftest.$ac_objext'
3029 { (eval echo "$as_me:3029: \"$ac_try\"") >&5
3032 echo "$as_me:3032: \$? = $ac_status" >&5
3033 (exit $ac_status); }; }; then
3034 WARNING_CFLAGS
="$WARNING_CFLAGS -Wall"
3035 echo "$as_me:3035: result: yes" >&5
3036 echo "${ECHO_T}yes" >&6
3038 echo "$as_me: failed program was:" >&5
3039 cat conftest.
$ac_ext >&5
3040 echo "$as_me:3040: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3043 rm -f conftest.
$ac_objext conftest.
$ac_ext
3044 CFLAGS
="$ac_save_CFLAGS"
3045 echo "$as_me:3045: checking whether compiler accepts -W" >&5
3046 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3048 ac_save_CFLAGS
="$CFLAGS"
3050 cat >conftest.
$ac_ext <<_ACEOF
3051 #line 3051 "configure"
3052 #include "confdefs.h"
3054 #ifdef F77_DUMMY_MAIN
3058 int F77_DUMMY_MAIN() { return 1; }
3068 rm -f conftest.
$ac_objext
3069 if { (eval echo "$as_me:3069: \"$ac_compile\"") >&5
3070 (eval $ac_compile) 2>&5
3072 echo "$as_me:3072: \$? = $ac_status" >&5
3073 (exit $ac_status); } &&
3074 { ac_try
='test -s conftest.$ac_objext'
3075 { (eval echo "$as_me:3075: \"$ac_try\"") >&5
3078 echo "$as_me:3078: \$? = $ac_status" >&5
3079 (exit $ac_status); }; }; then
3080 WARNING_CFLAGS
="$WARNING_CFLAGS -W"
3081 echo "$as_me:3081: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3084 echo "$as_me: failed program was:" >&5
3085 cat conftest.
$ac_ext >&5
3086 echo "$as_me:3086: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3089 rm -f conftest.
$ac_objext conftest.
$ac_ext
3090 CFLAGS
="$ac_save_CFLAGS"
3091 echo "$as_me:3091: checking whether compiler accepts -Wbad-function-cast" >&5
3092 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3094 ac_save_CFLAGS
="$CFLAGS"
3095 CFLAGS
="$CFLAGS -Wbad-function-cast"
3096 cat >conftest.
$ac_ext <<_ACEOF
3097 #line 3097 "configure"
3098 #include "confdefs.h"
3100 #ifdef F77_DUMMY_MAIN
3104 int F77_DUMMY_MAIN() { return 1; }
3114 rm -f conftest.
$ac_objext
3115 if { (eval echo "$as_me:3115: \"$ac_compile\"") >&5
3116 (eval $ac_compile) 2>&5
3118 echo "$as_me:3118: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try
='test -s conftest.$ac_objext'
3121 { (eval echo "$as_me:3121: \"$ac_try\"") >&5
3124 echo "$as_me:3124: \$? = $ac_status" >&5
3125 (exit $ac_status); }; }; then
3126 WARNING_CFLAGS
="$WARNING_CFLAGS -Wbad-function-cast"
3127 echo "$as_me:3127: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6
3130 echo "$as_me: failed program was:" >&5
3131 cat conftest.
$ac_ext >&5
3132 echo "$as_me:3132: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3135 rm -f conftest.
$ac_objext conftest.
$ac_ext
3136 CFLAGS
="$ac_save_CFLAGS"
3137 echo "$as_me:3137: checking whether compiler accepts -Wcast-align" >&5
3138 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3140 ac_save_CFLAGS
="$CFLAGS"
3141 CFLAGS
="$CFLAGS -Wcast-align"
3142 cat >conftest.
$ac_ext <<_ACEOF
3143 #line 3143 "configure"
3144 #include "confdefs.h"
3146 #ifdef F77_DUMMY_MAIN
3150 int F77_DUMMY_MAIN() { return 1; }
3160 rm -f conftest.
$ac_objext
3161 if { (eval echo "$as_me:3161: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>&5
3164 echo "$as_me:3164: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try
='test -s conftest.$ac_objext'
3167 { (eval echo "$as_me:3167: \"$ac_try\"") >&5
3170 echo "$as_me:3170: \$? = $ac_status" >&5
3171 (exit $ac_status); }; }; then
3172 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-align"
3173 echo "$as_me:3173: result: yes" >&5
3174 echo "${ECHO_T}yes" >&6
3176 echo "$as_me: failed program was:" >&5
3177 cat conftest.
$ac_ext >&5
3178 echo "$as_me:3178: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3181 rm -f conftest.
$ac_objext conftest.
$ac_ext
3182 CFLAGS
="$ac_save_CFLAGS"
3183 echo "$as_me:3183: checking whether compiler accepts -Wcast-qual" >&5
3184 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3186 ac_save_CFLAGS
="$CFLAGS"
3187 CFLAGS
="$CFLAGS -Wcast-qual"
3188 cat >conftest.
$ac_ext <<_ACEOF
3189 #line 3189 "configure"
3190 #include "confdefs.h"
3192 #ifdef F77_DUMMY_MAIN
3196 int F77_DUMMY_MAIN() { return 1; }
3206 rm -f conftest.
$ac_objext
3207 if { (eval echo "$as_me:3207: \"$ac_compile\"") >&5
3208 (eval $ac_compile) 2>&5
3210 echo "$as_me:3210: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try
='test -s conftest.$ac_objext'
3213 { (eval echo "$as_me:3213: \"$ac_try\"") >&5
3216 echo "$as_me:3216: \$? = $ac_status" >&5
3217 (exit $ac_status); }; }; then
3218 WARNING_CFLAGS
="$WARNING_CFLAGS -Wcast-qual"
3219 echo "$as_me:3219: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3222 echo "$as_me: failed program was:" >&5
3223 cat conftest.
$ac_ext >&5
3224 echo "$as_me:3224: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3227 rm -f conftest.
$ac_objext conftest.
$ac_ext
3228 CFLAGS
="$ac_save_CFLAGS"
3229 echo "$as_me:3229: checking whether compiler accepts -Wformat" >&5
3230 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3232 ac_save_CFLAGS
="$CFLAGS"
3233 CFLAGS
="$CFLAGS -Wformat"
3234 cat >conftest.
$ac_ext <<_ACEOF
3235 #line 3235 "configure"
3236 #include "confdefs.h"
3238 #ifdef F77_DUMMY_MAIN
3242 int F77_DUMMY_MAIN() { return 1; }
3252 rm -f conftest.
$ac_objext
3253 if { (eval echo "$as_me:3253: \"$ac_compile\"") >&5
3254 (eval $ac_compile) 2>&5
3256 echo "$as_me:3256: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try
='test -s conftest.$ac_objext'
3259 { (eval echo "$as_me:3259: \"$ac_try\"") >&5
3262 echo "$as_me:3262: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 WARNING_CFLAGS
="$WARNING_CFLAGS -Wformat"
3265 echo "$as_me:3265: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3268 echo "$as_me: failed program was:" >&5
3269 cat conftest.
$ac_ext >&5
3270 echo "$as_me:3270: result: no" >&5
3271 echo "${ECHO_T}no" >&6
3273 rm -f conftest.
$ac_objext conftest.
$ac_ext
3274 CFLAGS
="$ac_save_CFLAGS"
3275 echo "$as_me:3275: checking whether compiler accepts -Wmissing-declarations" >&5
3276 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3278 ac_save_CFLAGS
="$CFLAGS"
3279 CFLAGS
="$CFLAGS -Wmissing-declarations"
3280 cat >conftest.
$ac_ext <<_ACEOF
3281 #line 3281 "configure"
3282 #include "confdefs.h"
3284 #ifdef F77_DUMMY_MAIN
3288 int F77_DUMMY_MAIN() { return 1; }
3298 rm -f conftest.
$ac_objext
3299 if { (eval echo "$as_me:3299: \"$ac_compile\"") >&5
3300 (eval $ac_compile) 2>&5
3302 echo "$as_me:3302: \$? = $ac_status" >&5
3303 (exit $ac_status); } &&
3304 { ac_try
='test -s conftest.$ac_objext'
3305 { (eval echo "$as_me:3305: \"$ac_try\"") >&5
3308 echo "$as_me:3308: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-declarations"
3311 echo "$as_me:3311: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 echo "$as_me: failed program was:" >&5
3315 cat conftest.
$ac_ext >&5
3316 echo "$as_me:3316: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3319 rm -f conftest.
$ac_objext conftest.
$ac_ext
3320 CFLAGS
="$ac_save_CFLAGS"
3321 echo "$as_me:3321: checking whether compiler accepts -Wmissing-prototypes" >&5
3322 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3324 ac_save_CFLAGS
="$CFLAGS"
3325 CFLAGS
="$CFLAGS -Wmissing-prototypes"
3326 cat >conftest.
$ac_ext <<_ACEOF
3327 #line 3327 "configure"
3328 #include "confdefs.h"
3330 #ifdef F77_DUMMY_MAIN
3334 int F77_DUMMY_MAIN() { return 1; }
3344 rm -f conftest.
$ac_objext
3345 if { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
3346 (eval $ac_compile) 2>&5
3348 echo "$as_me:3348: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try
='test -s conftest.$ac_objext'
3351 { (eval echo "$as_me:3351: \"$ac_try\"") >&5
3354 echo "$as_me:3354: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3356 WARNING_CFLAGS
="$WARNING_CFLAGS -Wmissing-prototypes"
3357 echo "$as_me:3357: result: yes" >&5
3358 echo "${ECHO_T}yes" >&6
3360 echo "$as_me: failed program was:" >&5
3361 cat conftest.
$ac_ext >&5
3362 echo "$as_me:3362: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3365 rm -f conftest.
$ac_objext conftest.
$ac_ext
3366 CFLAGS
="$ac_save_CFLAGS"
3367 echo "$as_me:3367: checking whether compiler accepts -Wnested-externs" >&5
3368 echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3370 ac_save_CFLAGS
="$CFLAGS"
3371 CFLAGS
="$CFLAGS -Wnested-externs"
3372 cat >conftest.
$ac_ext <<_ACEOF
3373 #line 3373 "configure"
3374 #include "confdefs.h"
3376 #ifdef F77_DUMMY_MAIN
3380 int F77_DUMMY_MAIN() { return 1; }
3390 rm -f conftest.
$ac_objext
3391 if { (eval echo "$as_me:3391: \"$ac_compile\"") >&5
3392 (eval $ac_compile) 2>&5
3394 echo "$as_me:3394: \$? = $ac_status" >&5
3395 (exit $ac_status); } &&
3396 { ac_try
='test -s conftest.$ac_objext'
3397 { (eval echo "$as_me:3397: \"$ac_try\"") >&5
3400 echo "$as_me:3400: \$? = $ac_status" >&5
3401 (exit $ac_status); }; }; then
3402 WARNING_CFLAGS
="$WARNING_CFLAGS -Wnested-externs"
3403 echo "$as_me:3403: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3406 echo "$as_me: failed program was:" >&5
3407 cat conftest.
$ac_ext >&5
3408 echo "$as_me:3408: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3411 rm -f conftest.
$ac_objext conftest.
$ac_ext
3412 CFLAGS
="$ac_save_CFLAGS"
3413 echo "$as_me:3413: checking whether compiler accepts -Wshadow" >&5
3414 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3416 ac_save_CFLAGS
="$CFLAGS"
3417 CFLAGS
="$CFLAGS -Wshadow"
3418 cat >conftest.
$ac_ext <<_ACEOF
3419 #line 3419 "configure"
3420 #include "confdefs.h"
3422 #ifdef F77_DUMMY_MAIN
3426 int F77_DUMMY_MAIN() { return 1; }
3436 rm -f conftest.
$ac_objext
3437 if { (eval echo "$as_me:3437: \"$ac_compile\"") >&5
3438 (eval $ac_compile) 2>&5
3440 echo "$as_me:3440: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try
='test -s conftest.$ac_objext'
3443 { (eval echo "$as_me:3443: \"$ac_try\"") >&5
3446 echo "$as_me:3446: \$? = $ac_status" >&5
3447 (exit $ac_status); }; }; then
3448 WARNING_CFLAGS
="$WARNING_CFLAGS -Wshadow"
3449 echo "$as_me:3449: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3452 echo "$as_me: failed program was:" >&5
3453 cat conftest.
$ac_ext >&5
3454 echo "$as_me:3454: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3457 rm -f conftest.
$ac_objext conftest.
$ac_ext
3458 CFLAGS
="$ac_save_CFLAGS"
3459 echo "$as_me:3459: checking whether compiler accepts -Wstrict-prototypes" >&5
3460 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3462 ac_save_CFLAGS
="$CFLAGS"
3463 CFLAGS
="$CFLAGS -Wstrict-prototypes"
3464 cat >conftest.
$ac_ext <<_ACEOF
3465 #line 3465 "configure"
3466 #include "confdefs.h"
3468 #ifdef F77_DUMMY_MAIN
3472 int F77_DUMMY_MAIN() { return 1; }
3482 rm -f conftest.
$ac_objext
3483 if { (eval echo "$as_me:3483: \"$ac_compile\"") >&5
3484 (eval $ac_compile) 2>&5
3486 echo "$as_me:3486: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:3489: \"$ac_try\"") >&5
3492 echo "$as_me:3492: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3494 WARNING_CFLAGS
="$WARNING_CFLAGS -Wstrict-prototypes"
3495 echo "$as_me:3495: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me: failed program was:" >&5
3499 cat conftest.
$ac_ext >&5
3500 echo "$as_me:3500: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3503 rm -f conftest.
$ac_objext conftest.
$ac_ext
3504 CFLAGS
="$ac_save_CFLAGS"
3505 echo "$as_me:3505: checking whether compiler accepts -Wwrite-strings" >&5
3506 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3508 ac_save_CFLAGS
="$CFLAGS"
3509 CFLAGS
="$CFLAGS -Wwrite-strings"
3510 cat >conftest.
$ac_ext <<_ACEOF
3511 #line 3511 "configure"
3512 #include "confdefs.h"
3514 #ifdef F77_DUMMY_MAIN
3518 int F77_DUMMY_MAIN() { return 1; }
3528 rm -f conftest.
$ac_objext
3529 if { (eval echo "$as_me:3529: \"$ac_compile\"") >&5
3530 (eval $ac_compile) 2>&5
3532 echo "$as_me:3532: \$? = $ac_status" >&5
3533 (exit $ac_status); } &&
3534 { ac_try
='test -s conftest.$ac_objext'
3535 { (eval echo "$as_me:3535: \"$ac_try\"") >&5
3538 echo "$as_me:3538: \$? = $ac_status" >&5
3539 (exit $ac_status); }; }; then
3540 WARNING_CFLAGS
="$WARNING_CFLAGS -Wwrite-strings"
3541 echo "$as_me:3541: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me: failed program was:" >&5
3545 cat conftest.
$ac_ext >&5
3546 echo "$as_me:3546: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3549 rm -f conftest.
$ac_objext conftest.
$ac_ext
3550 CFLAGS
="$ac_save_CFLAGS"
3551 CFLAGS
="$CFLAGS $WARNING_CFLAGS"
3554 # Checks for libraries.
3556 cat >>confdefs.h
<<\_ACEOF
3557 #define _GNU_SOURCE 1
3560 # Checks for header files.
3561 echo "$as_me:3561: checking for ANSI C header files" >&5
3562 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3563 if test "${ac_cv_header_stdc+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 cat >conftest.
$ac_ext <<_ACEOF
3567 #line 3567 "configure"
3568 #include "confdefs.h"
3575 if { (eval echo "$as_me:3575: \"$ac_cpp conftest.$ac_ext\"") >&5
3576 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3578 egrep -v '^ *\+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:3581: \$? = $ac_status" >&5
3582 (exit $ac_status); } >/dev
/null
; then
3583 if test -s conftest.err
; then
3584 ac_cpp_err
=$ac_c_preproc_warn_flag
3591 if test -z "$ac_cpp_err"; then
3592 ac_cv_header_stdc
=yes
3594 echo "$as_me: failed program was:" >&5
3595 cat conftest.
$ac_ext >&5
3596 ac_cv_header_stdc
=no
3598 rm -f conftest.err conftest.
$ac_ext
3600 if test $ac_cv_header_stdc = yes; then
3601 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3602 cat >conftest.
$ac_ext <<_ACEOF
3603 #line 3603 "configure"
3604 #include "confdefs.h"
3608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3609 egrep "memchr" >/dev
/null
2>&1; then
3612 ac_cv_header_stdc
=no
3618 if test $ac_cv_header_stdc = yes; then
3619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3620 cat >conftest.
$ac_ext <<_ACEOF
3621 #line 3621 "configure"
3622 #include "confdefs.h"
3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3627 egrep "free" >/dev
/null
2>&1; then
3630 ac_cv_header_stdc
=no
3636 if test $ac_cv_header_stdc = yes; then
3637 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3638 if test "$cross_compiling" = yes; then
3641 cat >conftest.
$ac_ext <<_ACEOF
3642 #line 3642 "configure"
3643 #include "confdefs.h"
3645 #if ((' ' & 0x0FF) == 0x020)
3646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3649 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3650 || ('j' <= (c) && (c) <= 'r') \
3651 || ('s' <= (c) && (c) <= 'z'))
3652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3660 for (i = 0; i < 256; i++)
3661 if (XOR (islower (i), ISLOWER (i))
3662 || toupper (i) != TOUPPER (i))
3667 rm -f conftest
$ac_exeext
3668 if { (eval echo "$as_me:3668: \"$ac_link\"") >&5
3669 (eval $ac_link) 2>&5
3671 echo "$as_me:3671: \$? = $ac_status" >&5
3672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3673 { (eval echo "$as_me:3673: \"$ac_try\"") >&5
3676 echo "$as_me:3676: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3680 echo "$as_me: program exited with status $ac_status" >&5
3681 echo "$as_me: failed program was:" >&5
3682 cat conftest.
$ac_ext >&5
3683 ac_cv_header_stdc
=no
3685 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3689 echo "$as_me:3689: result: $ac_cv_header_stdc" >&5
3690 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3691 if test $ac_cv_header_stdc = yes; then
3693 cat >>confdefs.h
<<\_ACEOF
3694 #define STDC_HEADERS 1
3699 for ac_header
in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3701 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3703 echo "$as_me:3703: checking for $ac_header" >&5
3704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 echo "$as_me:3708: result: `eval echo '${'$as_ac_Header'}'`" >&5
3709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3711 # Is the header compilable?
3712 echo "$as_me:3712: checking $ac_header usability" >&5
3713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3714 cat >conftest.
$ac_ext <<_ACEOF
3715 #line 3715 "configure"
3716 #include "confdefs.h"
3717 $ac_includes_default
3718 #include <$ac_header>
3720 rm -f conftest.
$ac_objext
3721 if { (eval echo "$as_me:3721: \"$ac_compile\"") >&5
3722 (eval $ac_compile) 2>&5
3724 echo "$as_me:3724: \$? = $ac_status" >&5
3725 (exit $ac_status); } &&
3726 { ac_try
='test -s conftest.$ac_objext'
3727 { (eval echo "$as_me:3727: \"$ac_try\"") >&5
3730 echo "$as_me:3730: \$? = $ac_status" >&5
3731 (exit $ac_status); }; }; then
3732 ac_header_compiler
=yes
3734 echo "$as_me: failed program was:" >&5
3735 cat conftest.
$ac_ext >&5
3736 ac_header_compiler
=no
3738 rm -f conftest.
$ac_objext conftest.
$ac_ext
3739 echo "$as_me:3739: result: $ac_header_compiler" >&5
3740 echo "${ECHO_T}$ac_header_compiler" >&6
3742 # Is the header present?
3743 echo "$as_me:3743: checking $ac_header presence" >&5
3744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3745 cat >conftest.
$ac_ext <<_ACEOF
3746 #line 3746 "configure"
3747 #include "confdefs.h"
3748 #include <$ac_header>
3750 if { (eval echo "$as_me:3750: \"$ac_cpp conftest.$ac_ext\"") >&5
3751 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3753 egrep -v '^ *\+' conftest.er1
>conftest.err
3755 cat conftest.err
>&5
3756 echo "$as_me:3756: \$? = $ac_status" >&5
3757 (exit $ac_status); } >/dev
/null
; then
3758 if test -s conftest.err
; then
3759 ac_cpp_err
=$ac_c_preproc_warn_flag
3766 if test -z "$ac_cpp_err"; then
3767 ac_header_preproc
=yes
3769 echo "$as_me: failed program was:" >&5
3770 cat conftest.
$ac_ext >&5
3771 ac_header_preproc
=no
3773 rm -f conftest.err conftest.
$ac_ext
3774 echo "$as_me:3774: result: $ac_header_preproc" >&5
3775 echo "${ECHO_T}$ac_header_preproc" >&6
3777 # So? What about this header?
3778 case $ac_header_compiler:$ac_header_preproc in
3780 { echo "$as_me:3780: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3782 { echo "$as_me:3782: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3785 { echo "$as_me:3785: WARNING: $ac_header: present but cannot be compiled." >&5
3786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
3787 { echo "$as_me:3787: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3789 { echo "$as_me:3789: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3792 echo "$as_me:3792: checking for $ac_header" >&5
3793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 eval "$as_ac_Header=$ac_header_preproc"
3799 echo "$as_me:3799: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3804 cat >>confdefs.h
<<_ACEOF
3805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3812 # Checks for typedefs.
3814 # Checks for structures.
3816 # Checks for compiler characteristics.
3817 echo "$as_me:3817: checking for $CC option to accept ANSI C" >&5
3818 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3819 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_cv_prog_cc_stdc
=no
3824 cat >conftest.
$ac_ext <<_ACEOF
3825 #line 3825 "configure"
3826 #include "confdefs.h"
3829 #include <sys/types.h>
3830 #include <sys/stat.h>
3831 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3832 struct buf { int x; };
3833 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3834 static char *e (p, i)
3840 static char *f (char * (*g) (char **, int), char **p, ...)
3845 s = g (p, va_arg (v,int));
3849 int test (int i, double x);
3850 struct s1 {int (*f) (int a);};
3851 struct s2 {int (*f) (double a);};
3852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3855 #ifdef F77_DUMMY_MAIN
3859 int F77_DUMMY_MAIN() { return 1; }
3864 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3869 # Don't try gcc -ansi; that turns off useful extensions and
3870 # breaks some systems' header files.
3871 # AIX -qlanglvl=ansi
3872 # Ultrix and OSF/1 -std1
3873 # HP-UX 10.20 and later -Ae
3874 # HP-UX older versions -Aa -D_HPUX_SOURCE
3875 # SVR4 -Xc -D__EXTENSIONS__
3876 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3878 CC
="$ac_save_CC $ac_arg"
3879 rm -f conftest.
$ac_objext
3880 if { (eval echo "$as_me:3880: \"$ac_compile\"") >&5
3881 (eval $ac_compile) 2>&5
3883 echo "$as_me:3883: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try
='test -s conftest.$ac_objext'
3886 { (eval echo "$as_me:3886: \"$ac_try\"") >&5
3889 echo "$as_me:3889: \$? = $ac_status" >&5
3890 (exit $ac_status); }; }; then
3891 ac_cv_prog_cc_stdc
=$ac_arg
3894 echo "$as_me: failed program was:" >&5
3895 cat conftest.
$ac_ext >&5
3897 rm -f conftest.
$ac_objext
3899 rm -f conftest.
$ac_ext conftest.
$ac_objext
3904 case "x$ac_cv_prog_cc_stdc" in
3906 echo "$as_me:3906: result: none needed" >&5
3907 echo "${ECHO_T}none needed" >&6 ;;
3909 echo "$as_me:3909: result: $ac_cv_prog_cc_stdc" >&5
3910 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3911 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3914 echo "$as_me:3914: checking for an ANSI C-conforming const" >&5
3915 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3916 if test "${ac_cv_c_const+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 cat >conftest.
$ac_ext <<_ACEOF
3920 #line 3920 "configure"
3921 #include "confdefs.h"
3923 #ifdef F77_DUMMY_MAIN
3927 int F77_DUMMY_MAIN() { return 1; }
3932 /* FIXME: Include the comments suggested by Paul. */
3934 /* Ultrix mips cc rejects this. */
3935 typedef int charset[2];
3937 /* SunOS 4.1.1 cc rejects this. */
3938 char const *const *ccp;
3940 /* NEC SVR4.0.2 mips cc rejects this. */
3941 struct point {int x, y;};
3942 static struct point const zero = {0,0};
3943 /* AIX XL C 1.02.0.0 rejects this.
3944 It does not let you subtract one const X* pointer from another in
3945 an arm of an if-expression whose if-part is not a constant
3947 const char *g = "string";
3948 ccp = &g + (g ? g-g : 0);
3949 /* HPUX 7.0 cc rejects these. */
3952 ccp = (char const *const *) p;
3953 { /* SCO 3.2v4 cc rejects this. */
3955 char const *s = 0 ? (char *) 0 : (char const *) 0;
3959 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3961 const int *foo = &x[0];
3964 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3965 typedef const int *iptr;
3969 { /* AIX XL C 1.02.0.0 rejects this saying
3970 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3971 struct s { int j; const int *ap[3]; };
3972 struct s *b; b->j = 5;
3974 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3983 rm -f conftest.
$ac_objext
3984 if { (eval echo "$as_me:3984: \"$ac_compile\"") >&5
3985 (eval $ac_compile) 2>&5
3987 echo "$as_me:3987: \$? = $ac_status" >&5
3988 (exit $ac_status); } &&
3989 { ac_try
='test -s conftest.$ac_objext'
3990 { (eval echo "$as_me:3990: \"$ac_try\"") >&5
3993 echo "$as_me:3993: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3997 echo "$as_me: failed program was:" >&5
3998 cat conftest.
$ac_ext >&5
4001 rm -f conftest.
$ac_objext conftest.
$ac_ext
4003 echo "$as_me:4003: result: $ac_cv_c_const" >&5
4004 echo "${ECHO_T}$ac_cv_c_const" >&6
4005 if test $ac_cv_c_const = no
; then
4007 cat >>confdefs.h
<<\_ACEOF
4013 echo "$as_me:4013: checking for inline" >&5
4014 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4015 if test "${ac_cv_c_inline+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 for ac_kw
in inline __inline__ __inline
; do
4020 cat >conftest.
$ac_ext <<_ACEOF
4021 #line 4021 "configure"
4022 #include "confdefs.h"
4024 static $ac_kw int static_foo () {return 0; }
4025 $ac_kw int foo () {return 0; }
4029 rm -f conftest.
$ac_objext
4030 if { (eval echo "$as_me:4030: \"$ac_compile\"") >&5
4031 (eval $ac_compile) 2>&5
4033 echo "$as_me:4033: \$? = $ac_status" >&5
4034 (exit $ac_status); } &&
4035 { ac_try
='test -s conftest.$ac_objext'
4036 { (eval echo "$as_me:4036: \"$ac_try\"") >&5
4039 echo "$as_me:4039: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4041 ac_cv_c_inline
=$ac_kw; break
4043 echo "$as_me: failed program was:" >&5
4044 cat conftest.
$ac_ext >&5
4046 rm -f conftest.
$ac_objext conftest.
$ac_ext
4050 echo "$as_me:4050: result: $ac_cv_c_inline" >&5
4051 echo "${ECHO_T}$ac_cv_c_inline" >&6
4052 case $ac_cv_c_inline in
4055 cat >>confdefs.h
<<\_ACEOF
4059 *) cat >>confdefs.h
<<_ACEOF
4060 #define inline $ac_cv_c_inline
4065 echo "$as_me:4065: checking for function prototypes" >&5
4066 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4067 if test "$am_cv_prog_cc_stdc" != no
; then
4068 echo "$as_me:4068: result: yes" >&5
4069 echo "${ECHO_T}yes" >&6
4071 cat >>confdefs.h
<<\_ACEOF
4072 #define PROTOTYPES 1
4077 echo "$as_me:4077: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4079 U
=_ ANSI2KNR
=.
/ansi2knr
4081 # Ensure some checks needed by ansi2knr itself.
4082 echo "$as_me:4082: checking for ANSI C header files" >&5
4083 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4084 if test "${ac_cv_header_stdc+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 cat >conftest.
$ac_ext <<_ACEOF
4088 #line 4088 "configure"
4089 #include "confdefs.h"
4096 if { (eval echo "$as_me:4096: \"$ac_cpp conftest.$ac_ext\"") >&5
4097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4099 egrep -v '^ *\+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:4102: \$? = $ac_status" >&5
4103 (exit $ac_status); } >/dev
/null
; then
4104 if test -s conftest.err
; then
4105 ac_cpp_err
=$ac_c_preproc_warn_flag
4112 if test -z "$ac_cpp_err"; then
4113 ac_cv_header_stdc
=yes
4115 echo "$as_me: failed program was:" >&5
4116 cat conftest.
$ac_ext >&5
4117 ac_cv_header_stdc
=no
4119 rm -f conftest.err conftest.
$ac_ext
4121 if test $ac_cv_header_stdc = yes; then
4122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4123 cat >conftest.
$ac_ext <<_ACEOF
4124 #line 4124 "configure"
4125 #include "confdefs.h"
4129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4130 egrep "memchr" >/dev
/null
2>&1; then
4133 ac_cv_header_stdc
=no
4139 if test $ac_cv_header_stdc = yes; then
4140 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4141 cat >conftest.
$ac_ext <<_ACEOF
4142 #line 4142 "configure"
4143 #include "confdefs.h"
4147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4148 egrep "free" >/dev
/null
2>&1; then
4151 ac_cv_header_stdc
=no
4157 if test $ac_cv_header_stdc = yes; then
4158 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4159 if test "$cross_compiling" = yes; then
4162 cat >conftest.
$ac_ext <<_ACEOF
4163 #line 4163 "configure"
4164 #include "confdefs.h"
4166 #if ((' ' & 0x0FF) == 0x020)
4167 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4168 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4170 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4171 || ('j' <= (c) && (c) <= 'r') \
4172 || ('s' <= (c) && (c) <= 'z'))
4173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4181 for (i = 0; i < 256; i++)
4182 if (XOR (islower (i), ISLOWER (i))
4183 || toupper (i) != TOUPPER (i))
4188 rm -f conftest
$ac_exeext
4189 if { (eval echo "$as_me:4189: \"$ac_link\"") >&5
4190 (eval $ac_link) 2>&5
4192 echo "$as_me:4192: \$? = $ac_status" >&5
4193 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4194 { (eval echo "$as_me:4194: \"$ac_try\"") >&5
4197 echo "$as_me:4197: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4201 echo "$as_me: program exited with status $ac_status" >&5
4202 echo "$as_me: failed program was:" >&5
4203 cat conftest.
$ac_ext >&5
4204 ac_cv_header_stdc
=no
4206 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4210 echo "$as_me:4210: result: $ac_cv_header_stdc" >&5
4211 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4212 if test $ac_cv_header_stdc = yes; then
4214 cat >>confdefs.h
<<\_ACEOF
4215 #define STDC_HEADERS 1
4220 for ac_header
in string.h
4222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4224 echo "$as_me:4224: checking for $ac_header" >&5
4225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 echo "$as_me:4229: result: `eval echo '${'$as_ac_Header'}'`" >&5
4230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4232 # Is the header compilable?
4233 echo "$as_me:4233: checking $ac_header usability" >&5
4234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4235 cat >conftest.
$ac_ext <<_ACEOF
4236 #line 4236 "configure"
4237 #include "confdefs.h"
4238 $ac_includes_default
4239 #include <$ac_header>
4241 rm -f conftest.
$ac_objext
4242 if { (eval echo "$as_me:4242: \"$ac_compile\"") >&5
4243 (eval $ac_compile) 2>&5
4245 echo "$as_me:4245: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try
='test -s conftest.$ac_objext'
4248 { (eval echo "$as_me:4248: \"$ac_try\"") >&5
4251 echo "$as_me:4251: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4253 ac_header_compiler
=yes
4255 echo "$as_me: failed program was:" >&5
4256 cat conftest.
$ac_ext >&5
4257 ac_header_compiler
=no
4259 rm -f conftest.
$ac_objext conftest.
$ac_ext
4260 echo "$as_me:4260: result: $ac_header_compiler" >&5
4261 echo "${ECHO_T}$ac_header_compiler" >&6
4263 # Is the header present?
4264 echo "$as_me:4264: checking $ac_header presence" >&5
4265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4266 cat >conftest.
$ac_ext <<_ACEOF
4267 #line 4267 "configure"
4268 #include "confdefs.h"
4269 #include <$ac_header>
4271 if { (eval echo "$as_me:4271: \"$ac_cpp conftest.$ac_ext\"") >&5
4272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4274 egrep -v '^ *\+' conftest.er1
>conftest.err
4276 cat conftest.err
>&5
4277 echo "$as_me:4277: \$? = $ac_status" >&5
4278 (exit $ac_status); } >/dev
/null
; then
4279 if test -s conftest.err
; then
4280 ac_cpp_err
=$ac_c_preproc_warn_flag
4287 if test -z "$ac_cpp_err"; then
4288 ac_header_preproc
=yes
4290 echo "$as_me: failed program was:" >&5
4291 cat conftest.
$ac_ext >&5
4292 ac_header_preproc
=no
4294 rm -f conftest.err conftest.
$ac_ext
4295 echo "$as_me:4295: result: $ac_header_preproc" >&5
4296 echo "${ECHO_T}$ac_header_preproc" >&6
4298 # So? What about this header?
4299 case $ac_header_compiler:$ac_header_preproc in
4301 { echo "$as_me:4301: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4303 { echo "$as_me:4303: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4306 { echo "$as_me:4306: WARNING: $ac_header: present but cannot be compiled." >&5
4307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4308 { echo "$as_me:4308: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4310 { echo "$as_me:4310: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4313 echo "$as_me:4313: checking for $ac_header" >&5
4314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 eval "$as_ac_Header=$ac_header_preproc"
4320 echo "$as_me:4320: result: `eval echo '${'$as_ac_Header'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4325 cat >>confdefs.h
<<_ACEOF
4326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4333 # Checks for library functions.
4334 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4335 # for constant arguments. Useless!
4336 echo "$as_me:4336: checking for working alloca.h" >&5
4337 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4338 if test "${ac_cv_working_alloca_h+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 cat >conftest.
$ac_ext <<_ACEOF
4342 #line 4342 "configure"
4343 #include "confdefs.h"
4345 #ifdef F77_DUMMY_MAIN
4349 int F77_DUMMY_MAIN() { return 1; }
4354 char *p = (char *) alloca (2 * sizeof (int));
4359 rm -f conftest.
$ac_objext conftest
$ac_exeext
4360 if { (eval echo "$as_me:4360: \"$ac_link\"") >&5
4361 (eval $ac_link) 2>&5
4363 echo "$as_me:4363: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try
='test -s conftest$ac_exeext'
4366 { (eval echo "$as_me:4366: \"$ac_try\"") >&5
4369 echo "$as_me:4369: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4371 ac_cv_working_alloca_h
=yes
4373 echo "$as_me: failed program was:" >&5
4374 cat conftest.
$ac_ext >&5
4375 ac_cv_working_alloca_h
=no
4377 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4379 echo "$as_me:4379: result: $ac_cv_working_alloca_h" >&5
4380 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4381 if test $ac_cv_working_alloca_h = yes; then
4383 cat >>confdefs.h
<<\_ACEOF
4384 #define HAVE_ALLOCA_H 1
4389 echo "$as_me:4389: checking for alloca" >&5
4390 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4391 if test "${ac_cv_func_alloca_works+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 cat >conftest.
$ac_ext <<_ACEOF
4395 #line 4395 "configure"
4396 #include "confdefs.h"
4398 # define alloca __builtin_alloca
4401 # include <malloc.h>
4402 # define alloca _alloca
4405 # include <alloca.h>
4410 # ifndef alloca /* predefined by HP cc +Olibcalls */
4418 #ifdef F77_DUMMY_MAIN
4422 int F77_DUMMY_MAIN() { return 1; }
4427 char *p = (char *) alloca (1);
4432 rm -f conftest.
$ac_objext conftest
$ac_exeext
4433 if { (eval echo "$as_me:4433: \"$ac_link\"") >&5
4434 (eval $ac_link) 2>&5
4436 echo "$as_me:4436: \$? = $ac_status" >&5
4437 (exit $ac_status); } &&
4438 { ac_try
='test -s conftest$ac_exeext'
4439 { (eval echo "$as_me:4439: \"$ac_try\"") >&5
4442 echo "$as_me:4442: \$? = $ac_status" >&5
4443 (exit $ac_status); }; }; then
4444 ac_cv_func_alloca_works
=yes
4446 echo "$as_me: failed program was:" >&5
4447 cat conftest.
$ac_ext >&5
4448 ac_cv_func_alloca_works
=no
4450 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4452 echo "$as_me:4452: result: $ac_cv_func_alloca_works" >&5
4453 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4455 if test $ac_cv_func_alloca_works = yes; then
4457 cat >>confdefs.h
<<\_ACEOF
4458 #define HAVE_ALLOCA 1
4462 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4463 # that cause trouble. Some versions do not even contain alloca or
4464 # contain a buggy version. If you still want to use their alloca,
4465 # use ar to extract alloca.o from them instead of compiling alloca.c.
4467 ALLOCA
=alloca.
$ac_objext
4469 cat >>confdefs.h
<<\_ACEOF
4473 echo "$as_me:4473: checking whether \`alloca.c' needs Cray hooks" >&5
4474 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4475 if test "${ac_cv_os_cray+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 cat >conftest.
$ac_ext <<_ACEOF
4479 #line 4479 "configure"
4480 #include "confdefs.h"
4481 #if defined(CRAY) && ! defined(CRAY2)
4488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4489 egrep "webecray" >/dev
/null
2>&1; then
4497 echo "$as_me:4497: result: $ac_cv_os_cray" >&5
4498 echo "${ECHO_T}$ac_cv_os_cray" >&6
4499 if test $ac_cv_os_cray = yes; then
4500 for ac_func
in _getb67 GETB67 getb67
; do
4501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4502 echo "$as_me:4502: checking for $ac_func" >&5
4503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4504 if eval "test \"\${$as_ac_var+set}\" = set"; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4508 #line 4508 "configure"
4509 #include "confdefs.h"
4510 /* System header to define __stub macros and hopefully few prototypes,
4511 which can conflict with char $ac_func (); below. */
4513 /* Override any gcc2 internal prototype to avoid an error. */
4517 /* We use char because int might match the return type of a gcc2
4518 builtin and then its argument prototype would still apply. */
4522 #ifdef F77_DUMMY_MAIN
4526 int F77_DUMMY_MAIN() { return 1; }
4531 /* The GNU C library defines this for functions which it implements
4532 to always fail with ENOSYS. Some functions are actually named
4533 something starting with __ and the normal name is an alias. */
4534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4544 rm -f conftest.
$ac_objext conftest
$ac_exeext
4545 if { (eval echo "$as_me:4545: \"$ac_link\"") >&5
4546 (eval $ac_link) 2>&5
4548 echo "$as_me:4548: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -s conftest$ac_exeext'
4551 { (eval echo "$as_me:4551: \"$ac_try\"") >&5
4554 echo "$as_me:4554: \$? = $ac_status" >&5
4555 (exit $ac_status); }; }; then
4556 eval "$as_ac_var=yes"
4558 echo "$as_me: failed program was:" >&5
4559 cat conftest.
$ac_ext >&5
4560 eval "$as_ac_var=no"
4562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4564 echo "$as_me:4564: result: `eval echo '${'$as_ac_var'}'`" >&5
4565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4566 if test `eval echo '${'$as_ac_var'}'` = yes; then
4568 cat >>confdefs.h
<<_ACEOF
4569 #define CRAY_STACKSEG_END $ac_func
4578 echo "$as_me:4578: checking stack direction for C alloca" >&5
4579 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4580 if test "${ac_cv_c_stack_direction+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 if test "$cross_compiling" = yes; then
4584 ac_cv_c_stack_direction
=0
4586 cat >conftest.
$ac_ext <<_ACEOF
4587 #line 4587 "configure"
4588 #include "confdefs.h"
4590 find_stack_direction ()
4592 static char *addr = 0;
4597 return find_stack_direction ();
4600 return (&dummy > addr) ? 1 : -1;
4606 exit (find_stack_direction () < 0);
4609 rm -f conftest
$ac_exeext
4610 if { (eval echo "$as_me:4610: \"$ac_link\"") >&5
4611 (eval $ac_link) 2>&5
4613 echo "$as_me:4613: \$? = $ac_status" >&5
4614 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4615 { (eval echo "$as_me:4615: \"$ac_try\"") >&5
4618 echo "$as_me:4618: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 ac_cv_c_stack_direction
=1
4622 echo "$as_me: program exited with status $ac_status" >&5
4623 echo "$as_me: failed program was:" >&5
4624 cat conftest.
$ac_ext >&5
4625 ac_cv_c_stack_direction
=-1
4627 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4630 echo "$as_me:4630: result: $ac_cv_c_stack_direction" >&5
4631 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4633 cat >>confdefs.h
<<_ACEOF
4634 #define STACK_DIRECTION $ac_cv_c_stack_direction
4639 for ac_func
in mkstemp setlocale
4641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4642 echo "$as_me:4642: checking for $ac_func" >&5
4643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4644 if eval "test \"\${$as_ac_var+set}\" = set"; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 cat >conftest.
$ac_ext <<_ACEOF
4648 #line 4648 "configure"
4649 #include "confdefs.h"
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char $ac_func (); below. */
4653 /* Override any gcc2 internal prototype to avoid an error. */
4657 /* We use char because int might match the return type of a gcc2
4658 builtin and then its argument prototype would still apply. */
4662 #ifdef F77_DUMMY_MAIN
4666 int F77_DUMMY_MAIN() { return 1; }
4671 /* The GNU C library defines this for functions which it implements
4672 to always fail with ENOSYS. Some functions are actually named
4673 something starting with __ and the normal name is an alias. */
4674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4684 rm -f conftest.
$ac_objext conftest
$ac_exeext
4685 if { (eval echo "$as_me:4685: \"$ac_link\"") >&5
4686 (eval $ac_link) 2>&5
4688 echo "$as_me:4688: \$? = $ac_status" >&5
4689 (exit $ac_status); } &&
4690 { ac_try
='test -s conftest$ac_exeext'
4691 { (eval echo "$as_me:4691: \"$ac_try\"") >&5
4694 echo "$as_me:4694: \$? = $ac_status" >&5
4695 (exit $ac_status); }; }; then
4696 eval "$as_ac_var=yes"
4698 echo "$as_me: failed program was:" >&5
4699 cat conftest.
$ac_ext >&5
4700 eval "$as_ac_var=no"
4702 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4704 echo "$as_me:4704: result: `eval echo '${'$as_ac_var'}'`" >&5
4705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4706 if test `eval echo '${'$as_ac_var'}'` = yes; then
4707 cat >>confdefs.h
<<_ACEOF
4708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4714 echo "$as_me:4714: checking whether stpcpy is declared" >&5
4715 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
4716 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 cat >conftest.
$ac_ext <<_ACEOF
4720 #line 4720 "configure"
4721 #include "confdefs.h"
4722 $ac_includes_default
4723 #ifdef F77_DUMMY_MAIN
4727 int F77_DUMMY_MAIN() { return 1; }
4733 char *p = (char *) stpcpy;
4740 rm -f conftest.
$ac_objext
4741 if { (eval echo "$as_me:4741: \"$ac_compile\"") >&5
4742 (eval $ac_compile) 2>&5
4744 echo "$as_me:4744: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try
='test -s conftest.$ac_objext'
4747 { (eval echo "$as_me:4747: \"$ac_try\"") >&5
4750 echo "$as_me:4750: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_have_decl_stpcpy
=yes
4754 echo "$as_me: failed program was:" >&5
4755 cat conftest.
$ac_ext >&5
4756 ac_cv_have_decl_stpcpy
=no
4758 rm -f conftest.
$ac_objext conftest.
$ac_ext
4760 echo "$as_me:4760: result: $ac_cv_have_decl_stpcpy" >&5
4761 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4762 if test $ac_cv_have_decl_stpcpy = yes; then
4764 cat >>confdefs.h
<<_ACEOF
4765 #define HAVE_DECL_STPCPY 1
4769 cat >>confdefs.h
<<_ACEOF
4770 #define HAVE_DECL_STPCPY 0
4774 echo "$as_me:4774: checking whether strndup is declared" >&5
4775 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4776 if test "${ac_cv_have_decl_strndup+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 cat >conftest.
$ac_ext <<_ACEOF
4780 #line 4780 "configure"
4781 #include "confdefs.h"
4782 $ac_includes_default
4783 #ifdef F77_DUMMY_MAIN
4787 int F77_DUMMY_MAIN() { return 1; }
4793 char *p = (char *) strndup;
4800 rm -f conftest.
$ac_objext
4801 if { (eval echo "$as_me:4801: \"$ac_compile\"") >&5
4802 (eval $ac_compile) 2>&5
4804 echo "$as_me:4804: \$? = $ac_status" >&5
4805 (exit $ac_status); } &&
4806 { ac_try
='test -s conftest.$ac_objext'
4807 { (eval echo "$as_me:4807: \"$ac_try\"") >&5
4810 echo "$as_me:4810: \$? = $ac_status" >&5
4811 (exit $ac_status); }; }; then
4812 ac_cv_have_decl_strndup
=yes
4814 echo "$as_me: failed program was:" >&5
4815 cat conftest.
$ac_ext >&5
4816 ac_cv_have_decl_strndup
=no
4818 rm -f conftest.
$ac_objext conftest.
$ac_ext
4820 echo "$as_me:4820: result: $ac_cv_have_decl_strndup" >&5
4821 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4822 if test $ac_cv_have_decl_strndup = yes; then
4824 cat >>confdefs.h
<<_ACEOF
4825 #define HAVE_DECL_STRNDUP 1
4829 cat >>confdefs.h
<<_ACEOF
4830 #define HAVE_DECL_STRNDUP 0
4834 echo "$as_me:4834: checking whether strnlen is declared" >&5
4835 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4836 if test "${ac_cv_have_decl_strnlen+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 cat >conftest.
$ac_ext <<_ACEOF
4840 #line 4840 "configure"
4841 #include "confdefs.h"
4842 $ac_includes_default
4843 #ifdef F77_DUMMY_MAIN
4847 int F77_DUMMY_MAIN() { return 1; }
4853 char *p = (char *) strnlen;
4860 rm -f conftest.
$ac_objext
4861 if { (eval echo "$as_me:4861: \"$ac_compile\"") >&5
4862 (eval $ac_compile) 2>&5
4864 echo "$as_me:4864: \$? = $ac_status" >&5
4865 (exit $ac_status); } &&
4866 { ac_try
='test -s conftest.$ac_objext'
4867 { (eval echo "$as_me:4867: \"$ac_try\"") >&5
4870 echo "$as_me:4870: \$? = $ac_status" >&5
4871 (exit $ac_status); }; }; then
4872 ac_cv_have_decl_strnlen
=yes
4874 echo "$as_me: failed program was:" >&5
4875 cat conftest.
$ac_ext >&5
4876 ac_cv_have_decl_strnlen
=no
4878 rm -f conftest.
$ac_objext conftest.
$ac_ext
4880 echo "$as_me:4880: result: $ac_cv_have_decl_strnlen" >&5
4881 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4882 if test $ac_cv_have_decl_strnlen = yes; then
4884 cat >>confdefs.h
<<_ACEOF
4885 #define HAVE_DECL_STRNLEN 1
4889 cat >>confdefs.h
<<_ACEOF
4890 #define HAVE_DECL_STRNLEN 0
4894 echo "$as_me:4894: checking whether memchr is declared" >&5
4895 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4896 if test "${ac_cv_have_decl_memchr+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 cat >conftest.
$ac_ext <<_ACEOF
4900 #line 4900 "configure"
4901 #include "confdefs.h"
4902 $ac_includes_default
4903 #ifdef F77_DUMMY_MAIN
4907 int F77_DUMMY_MAIN() { return 1; }
4913 char *p = (char *) memchr;
4920 rm -f conftest.
$ac_objext
4921 if { (eval echo "$as_me:4921: \"$ac_compile\"") >&5
4922 (eval $ac_compile) 2>&5
4924 echo "$as_me:4924: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try
='test -s conftest.$ac_objext'
4927 { (eval echo "$as_me:4927: \"$ac_try\"") >&5
4930 echo "$as_me:4930: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4932 ac_cv_have_decl_memchr
=yes
4934 echo "$as_me: failed program was:" >&5
4935 cat conftest.
$ac_ext >&5
4936 ac_cv_have_decl_memchr
=no
4938 rm -f conftest.
$ac_objext conftest.
$ac_ext
4940 echo "$as_me:4940: result: $ac_cv_have_decl_memchr" >&5
4941 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4942 if test $ac_cv_have_decl_memchr = yes; then
4944 cat >>confdefs.h
<<_ACEOF
4945 #define HAVE_DECL_MEMCHR 1
4949 cat >>confdefs.h
<<_ACEOF
4950 #define HAVE_DECL_MEMCHR 0
4955 for ac_func
in stpcpy strndup strnlen strspn memchr
4957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4958 echo "$as_me:4958: checking for $ac_func" >&5
4959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4960 if eval "test \"\${$as_ac_var+set}\" = set"; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 cat >conftest.
$ac_ext <<_ACEOF
4964 #line 4964 "configure"
4965 #include "confdefs.h"
4966 /* System header to define __stub macros and hopefully few prototypes,
4967 which can conflict with char $ac_func (); below. */
4969 /* Override any gcc2 internal prototype to avoid an error. */
4973 /* We use char because int might match the return type of a gcc2
4974 builtin and then its argument prototype would still apply. */
4978 #ifdef F77_DUMMY_MAIN
4982 int F77_DUMMY_MAIN() { return 1; }
4987 /* The GNU C library defines this for functions which it implements
4988 to always fail with ENOSYS. Some functions are actually named
4989 something starting with __ and the normal name is an alias. */
4990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5000 rm -f conftest.
$ac_objext conftest
$ac_exeext
5001 if { (eval echo "$as_me:5001: \"$ac_link\"") >&5
5002 (eval $ac_link) 2>&5
5004 echo "$as_me:5004: \$? = $ac_status" >&5
5005 (exit $ac_status); } &&
5006 { ac_try
='test -s conftest$ac_exeext'
5007 { (eval echo "$as_me:5007: \"$ac_try\"") >&5
5010 echo "$as_me:5010: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 eval "$as_ac_var=yes"
5014 echo "$as_me: failed program was:" >&5
5015 cat conftest.
$ac_ext >&5
5016 eval "$as_ac_var=no"
5018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5020 echo "$as_me:5020: result: `eval echo '${'$as_ac_var'}'`" >&5
5021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5022 if test `eval echo '${'$as_ac_var'}'` = yes; then
5023 cat >>confdefs.h
<<_ACEOF
5024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5028 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5032 cat >>confdefs.h
<<_ACEOF
5033 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5036 echo "$as_me:5036: checking for working malloc" >&5
5037 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5038 if test "${jm_cv_func_working_malloc+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 if test "$cross_compiling" = yes; then
5042 jm_cv_func_working_malloc
=no
5044 cat >conftest.
$ac_ext <<_ACEOF
5045 #line 5045 "configure"
5046 #include "confdefs.h"
5052 exit (malloc (0) ? 0 : 1);
5056 rm -f conftest
$ac_exeext
5057 if { (eval echo "$as_me:5057: \"$ac_link\"") >&5
5058 (eval $ac_link) 2>&5
5060 echo "$as_me:5060: \$? = $ac_status" >&5
5061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5062 { (eval echo "$as_me:5062: \"$ac_try\"") >&5
5065 echo "$as_me:5065: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then
5067 jm_cv_func_working_malloc
=yes
5069 echo "$as_me: program exited with status $ac_status" >&5
5070 echo "$as_me: failed program was:" >&5
5071 cat conftest.
$ac_ext >&5
5072 jm_cv_func_working_malloc
=no
5074 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5078 echo "$as_me:5078: result: $jm_cv_func_working_malloc" >&5
5079 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5080 if test $jm_cv_func_working_malloc = no
; then
5082 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5084 cat >>confdefs.h
<<_ACEOF
5085 #define malloc rpl_malloc
5090 cat >>confdefs.h
<<_ACEOF
5091 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5094 echo "$as_me:5094: checking for working realloc" >&5
5095 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5096 if test "${jm_cv_func_working_realloc+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 if test "$cross_compiling" = yes; then
5100 jm_cv_func_working_realloc
=no
5102 cat >conftest.
$ac_ext <<_ACEOF
5103 #line 5103 "configure"
5104 #include "confdefs.h"
5110 exit (realloc (0, 0) ? 0 : 1);
5114 rm -f conftest
$ac_exeext
5115 if { (eval echo "$as_me:5115: \"$ac_link\"") >&5
5116 (eval $ac_link) 2>&5
5118 echo "$as_me:5118: \$? = $ac_status" >&5
5119 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5120 { (eval echo "$as_me:5120: \"$ac_try\"") >&5
5123 echo "$as_me:5123: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 jm_cv_func_working_realloc
=yes
5127 echo "$as_me: program exited with status $ac_status" >&5
5128 echo "$as_me: failed program was:" >&5
5129 cat conftest.
$ac_ext >&5
5130 jm_cv_func_working_realloc
=no
5132 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5136 echo "$as_me:5136: result: $jm_cv_func_working_realloc" >&5
5137 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5138 if test $jm_cv_func_working_realloc = no
; then
5140 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
5142 cat >>confdefs.h
<<_ACEOF
5143 #define realloc rpl_realloc
5148 for ac_func
in isascii iswprint mbrtowc
5150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5151 echo "$as_me:5151: checking for $ac_func" >&5
5152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5153 if eval "test \"\${$as_ac_var+set}\" = set"; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 cat >conftest.
$ac_ext <<_ACEOF
5157 #line 5157 "configure"
5158 #include "confdefs.h"
5159 /* System header to define __stub macros and hopefully few prototypes,
5160 which can conflict with char $ac_func (); below. */
5162 /* Override any gcc2 internal prototype to avoid an error. */
5166 /* We use char because int might match the return type of a gcc2
5167 builtin and then its argument prototype would still apply. */
5171 #ifdef F77_DUMMY_MAIN
5175 int F77_DUMMY_MAIN() { return 1; }
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5193 rm -f conftest.
$ac_objext conftest
$ac_exeext
5194 if { (eval echo "$as_me:5194: \"$ac_link\"") >&5
5195 (eval $ac_link) 2>&5
5197 echo "$as_me:5197: \$? = $ac_status" >&5
5198 (exit $ac_status); } &&
5199 { ac_try
='test -s conftest$ac_exeext'
5200 { (eval echo "$as_me:5200: \"$ac_try\"") >&5
5203 echo "$as_me:5203: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 eval "$as_ac_var=yes"
5207 echo "$as_me: failed program was:" >&5
5208 cat conftest.
$ac_ext >&5
5209 eval "$as_ac_var=no"
5211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5213 echo "$as_me:5213: result: `eval echo '${'$as_ac_var'}'`" >&5
5214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5215 if test `eval echo '${'$as_ac_var'}'` = yes; then
5216 cat >>confdefs.h
<<_ACEOF
5217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5223 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
5225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5227 echo "$as_me:5227: checking for $ac_header" >&5
5228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 echo "$as_me:5232: result: `eval echo '${'$as_ac_Header'}'`" >&5
5233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5235 # Is the header compilable?
5236 echo "$as_me:5236: checking $ac_header usability" >&5
5237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5239 #line 5239 "configure"
5240 #include "confdefs.h"
5241 $ac_includes_default
5242 #include <$ac_header>
5244 rm -f conftest.
$ac_objext
5245 if { (eval echo "$as_me:5245: \"$ac_compile\"") >&5
5246 (eval $ac_compile) 2>&5
5248 echo "$as_me:5248: \$? = $ac_status" >&5
5249 (exit $ac_status); } &&
5250 { ac_try
='test -s conftest.$ac_objext'
5251 { (eval echo "$as_me:5251: \"$ac_try\"") >&5
5254 echo "$as_me:5254: \$? = $ac_status" >&5
5255 (exit $ac_status); }; }; then
5256 ac_header_compiler
=yes
5258 echo "$as_me: failed program was:" >&5
5259 cat conftest.
$ac_ext >&5
5260 ac_header_compiler
=no
5262 rm -f conftest.
$ac_objext conftest.
$ac_ext
5263 echo "$as_me:5263: result: $ac_header_compiler" >&5
5264 echo "${ECHO_T}$ac_header_compiler" >&6
5266 # Is the header present?
5267 echo "$as_me:5267: checking $ac_header presence" >&5
5268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5269 cat >conftest.
$ac_ext <<_ACEOF
5270 #line 5270 "configure"
5271 #include "confdefs.h"
5272 #include <$ac_header>
5274 if { (eval echo "$as_me:5274: \"$ac_cpp conftest.$ac_ext\"") >&5
5275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5277 egrep -v '^ *\+' conftest.er1
>conftest.err
5279 cat conftest.err
>&5
5280 echo "$as_me:5280: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev
/null
; then
5282 if test -s conftest.err
; then
5283 ac_cpp_err
=$ac_c_preproc_warn_flag
5290 if test -z "$ac_cpp_err"; then
5291 ac_header_preproc
=yes
5293 echo "$as_me: failed program was:" >&5
5294 cat conftest.
$ac_ext >&5
5295 ac_header_preproc
=no
5297 rm -f conftest.err conftest.
$ac_ext
5298 echo "$as_me:5298: result: $ac_header_preproc" >&5
5299 echo "${ECHO_T}$ac_header_preproc" >&6
5301 # So? What about this header?
5302 case $ac_header_compiler:$ac_header_preproc in
5304 { echo "$as_me:5304: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5306 { echo "$as_me:5306: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5309 { echo "$as_me:5309: WARNING: $ac_header: present but cannot be compiled." >&5
5310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5311 { echo "$as_me:5311: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5313 { echo "$as_me:5313: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5316 echo "$as_me:5316: checking for $ac_header" >&5
5317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 eval "$as_ac_Header=$ac_header_preproc"
5323 echo "$as_me:5323: result: `eval echo '${'$as_ac_Header'}'`" >&5
5324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5328 cat >>confdefs.h
<<_ACEOF
5329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5336 echo "$as_me:5336: checking for ANSI C header files" >&5
5337 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5338 if test "${ac_cv_header_stdc+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 cat >conftest.
$ac_ext <<_ACEOF
5342 #line 5342 "configure"
5343 #include "confdefs.h"
5350 if { (eval echo "$as_me:5350: \"$ac_cpp conftest.$ac_ext\"") >&5
5351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5353 egrep -v '^ *\+' conftest.er1
>conftest.err
5355 cat conftest.err
>&5
5356 echo "$as_me:5356: \$? = $ac_status" >&5
5357 (exit $ac_status); } >/dev
/null
; then
5358 if test -s conftest.err
; then
5359 ac_cpp_err
=$ac_c_preproc_warn_flag
5366 if test -z "$ac_cpp_err"; then
5367 ac_cv_header_stdc
=yes
5369 echo "$as_me: failed program was:" >&5
5370 cat conftest.
$ac_ext >&5
5371 ac_cv_header_stdc
=no
5373 rm -f conftest.err conftest.
$ac_ext
5375 if test $ac_cv_header_stdc = yes; then
5376 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5377 cat >conftest.
$ac_ext <<_ACEOF
5378 #line 5378 "configure"
5379 #include "confdefs.h"
5383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5384 egrep "memchr" >/dev
/null
2>&1; then
5387 ac_cv_header_stdc
=no
5393 if test $ac_cv_header_stdc = yes; then
5394 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5395 cat >conftest.
$ac_ext <<_ACEOF
5396 #line 5396 "configure"
5397 #include "confdefs.h"
5401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5402 egrep "free" >/dev
/null
2>&1; then
5405 ac_cv_header_stdc
=no
5411 if test $ac_cv_header_stdc = yes; then
5412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5413 if test "$cross_compiling" = yes; then
5416 cat >conftest.
$ac_ext <<_ACEOF
5417 #line 5417 "configure"
5418 #include "confdefs.h"
5420 #if ((' ' & 0x0FF) == 0x020)
5421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5424 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5425 || ('j' <= (c) && (c) <= 'r') \
5426 || ('s' <= (c) && (c) <= 'z'))
5427 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5430 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5435 for (i = 0; i < 256; i++)
5436 if (XOR (islower (i), ISLOWER (i))
5437 || toupper (i) != TOUPPER (i))
5442 rm -f conftest
$ac_exeext
5443 if { (eval echo "$as_me:5443: \"$ac_link\"") >&5
5444 (eval $ac_link) 2>&5
5446 echo "$as_me:5446: \$? = $ac_status" >&5
5447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5448 { (eval echo "$as_me:5448: \"$ac_try\"") >&5
5451 echo "$as_me:5451: \$? = $ac_status" >&5
5452 (exit $ac_status); }; }; then
5455 echo "$as_me: program exited with status $ac_status" >&5
5456 echo "$as_me: failed program was:" >&5
5457 cat conftest.
$ac_ext >&5
5458 ac_cv_header_stdc
=no
5460 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5464 echo "$as_me:5464: result: $ac_cv_header_stdc" >&5
5465 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5466 if test $ac_cv_header_stdc = yes; then
5468 cat >>confdefs.h
<<\_ACEOF
5469 #define STDC_HEADERS 1
5474 echo "$as_me:5474: checking whether backslash-a works in strings" >&5
5475 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
5476 if test "${ac_cv_c_backslash_a+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 cat >conftest.
$ac_ext <<_ACEOF
5480 #line 5480 "configure"
5481 #include "confdefs.h"
5483 #ifdef F77_DUMMY_MAIN
5487 int F77_DUMMY_MAIN() { return 1; }
5496 char buf['\a' == 'a' ? -1 : 1];
5498 return buf[0] != "\a"[0];
5504 rm -f conftest.
$ac_objext
5505 if { (eval echo "$as_me:5505: \"$ac_compile\"") >&5
5506 (eval $ac_compile) 2>&5
5508 echo "$as_me:5508: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try
='test -s conftest.$ac_objext'
5511 { (eval echo "$as_me:5511: \"$ac_try\"") >&5
5514 echo "$as_me:5514: \$? = $ac_status" >&5
5515 (exit $ac_status); }; }; then
5516 ac_cv_c_backslash_a
=yes
5518 echo "$as_me: failed program was:" >&5
5519 cat conftest.
$ac_ext >&5
5520 ac_cv_c_backslash_a
=no
5522 rm -f conftest.
$ac_objext conftest.
$ac_ext
5524 echo "$as_me:5524: result: $ac_cv_c_backslash_a" >&5
5525 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
5526 if test $ac_cv_c_backslash_a = yes; then
5528 cat >>confdefs.h
<<\_ACEOF
5529 #define HAVE_C_BACKSLASH_A 1
5534 for ac_header
in stdlib.h
5536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5538 echo "$as_me:5538: checking for $ac_header" >&5
5539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 echo "$as_me:5543: result: `eval echo '${'$as_ac_Header'}'`" >&5
5544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5546 # Is the header compilable?
5547 echo "$as_me:5547: checking $ac_header usability" >&5
5548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5549 cat >conftest.
$ac_ext <<_ACEOF
5550 #line 5550 "configure"
5551 #include "confdefs.h"
5552 $ac_includes_default
5553 #include <$ac_header>
5555 rm -f conftest.
$ac_objext
5556 if { (eval echo "$as_me:5556: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>&5
5559 echo "$as_me:5559: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try
='test -s conftest.$ac_objext'
5562 { (eval echo "$as_me:5562: \"$ac_try\"") >&5
5565 echo "$as_me:5565: \$? = $ac_status" >&5
5566 (exit $ac_status); }; }; then
5567 ac_header_compiler
=yes
5569 echo "$as_me: failed program was:" >&5
5570 cat conftest.
$ac_ext >&5
5571 ac_header_compiler
=no
5573 rm -f conftest.
$ac_objext conftest.
$ac_ext
5574 echo "$as_me:5574: result: $ac_header_compiler" >&5
5575 echo "${ECHO_T}$ac_header_compiler" >&6
5577 # Is the header present?
5578 echo "$as_me:5578: checking $ac_header presence" >&5
5579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5580 cat >conftest.
$ac_ext <<_ACEOF
5581 #line 5581 "configure"
5582 #include "confdefs.h"
5583 #include <$ac_header>
5585 if { (eval echo "$as_me:5585: \"$ac_cpp conftest.$ac_ext\"") >&5
5586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5588 egrep -v '^ *\+' conftest.er1
>conftest.err
5590 cat conftest.err
>&5
5591 echo "$as_me:5591: \$? = $ac_status" >&5
5592 (exit $ac_status); } >/dev
/null
; then
5593 if test -s conftest.err
; then
5594 ac_cpp_err
=$ac_c_preproc_warn_flag
5601 if test -z "$ac_cpp_err"; then
5602 ac_header_preproc
=yes
5604 echo "$as_me: failed program was:" >&5
5605 cat conftest.
$ac_ext >&5
5606 ac_header_preproc
=no
5608 rm -f conftest.err conftest.
$ac_ext
5609 echo "$as_me:5609: result: $ac_header_preproc" >&5
5610 echo "${ECHO_T}$ac_header_preproc" >&6
5612 # So? What about this header?
5613 case $ac_header_compiler:$ac_header_preproc in
5615 { echo "$as_me:5615: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5617 { echo "$as_me:5617: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5620 { echo "$as_me:5620: WARNING: $ac_header: present but cannot be compiled." >&5
5621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5622 { echo "$as_me:5622: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5624 { echo "$as_me:5624: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5627 echo "$as_me:5627: checking for $ac_header" >&5
5628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 eval "$as_ac_Header=$ac_header_preproc"
5634 echo "$as_me:5634: result: `eval echo '${'$as_ac_Header'}'`" >&5
5635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5639 cat >>confdefs.h
<<_ACEOF
5640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5647 echo "$as_me:5647: checking for mbstate_t" >&5
5648 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
5649 if test "${ac_cv_type_mbstate_t+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.
$ac_ext <<_ACEOF
5653 #line 5653 "configure"
5654 #include "confdefs.h"
5657 # include <stdlib.h>
5660 #ifdef F77_DUMMY_MAIN
5664 int F77_DUMMY_MAIN() { return 1; }
5669 mbstate_t x; return sizeof x;
5674 rm -f conftest.
$ac_objext
5675 if { (eval echo "$as_me:5675: \"$ac_compile\"") >&5
5676 (eval $ac_compile) 2>&5
5678 echo "$as_me:5678: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try
='test -s conftest.$ac_objext'
5681 { (eval echo "$as_me:5681: \"$ac_try\"") >&5
5684 echo "$as_me:5684: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_type_mbstate_t
=yes
5688 echo "$as_me: failed program was:" >&5
5689 cat conftest.
$ac_ext >&5
5690 ac_cv_type_mbstate_t
=no
5692 rm -f conftest.
$ac_objext conftest.
$ac_ext
5694 echo "$as_me:5694: result: $ac_cv_type_mbstate_t" >&5
5695 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
5696 if test $ac_cv_type_mbstate_t = no
; then
5698 cat >>confdefs.h
<<\_ACEOF
5699 #define mbstate_t int
5704 echo "$as_me:5704: checking for function prototypes" >&5
5705 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5706 if test "$am_cv_prog_cc_stdc" != no
; then
5707 echo "$as_me:5707: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5710 cat >>confdefs.h
<<\_ACEOF
5711 #define PROTOTYPES 1
5716 echo "$as_me:5716: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 U
=_ ANSI2KNR
=.
/ansi2knr
5720 # Ensure some checks needed by ansi2knr itself.
5721 echo "$as_me:5721: checking for ANSI C header files" >&5
5722 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5723 if test "${ac_cv_header_stdc+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 cat >conftest.
$ac_ext <<_ACEOF
5727 #line 5727 "configure"
5728 #include "confdefs.h"
5735 if { (eval echo "$as_me:5735: \"$ac_cpp conftest.$ac_ext\"") >&5
5736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5738 egrep -v '^ *\+' conftest.er1
>conftest.err
5740 cat conftest.err
>&5
5741 echo "$as_me:5741: \$? = $ac_status" >&5
5742 (exit $ac_status); } >/dev
/null
; then
5743 if test -s conftest.err
; then
5744 ac_cpp_err
=$ac_c_preproc_warn_flag
5751 if test -z "$ac_cpp_err"; then
5752 ac_cv_header_stdc
=yes
5754 echo "$as_me: failed program was:" >&5
5755 cat conftest.
$ac_ext >&5
5756 ac_cv_header_stdc
=no
5758 rm -f conftest.err conftest.
$ac_ext
5760 if test $ac_cv_header_stdc = yes; then
5761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5762 cat >conftest.
$ac_ext <<_ACEOF
5763 #line 5763 "configure"
5764 #include "confdefs.h"
5768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5769 egrep "memchr" >/dev
/null
2>&1; then
5772 ac_cv_header_stdc
=no
5778 if test $ac_cv_header_stdc = yes; then
5779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5780 cat >conftest.
$ac_ext <<_ACEOF
5781 #line 5781 "configure"
5782 #include "confdefs.h"
5786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5787 egrep "free" >/dev
/null
2>&1; then
5790 ac_cv_header_stdc
=no
5796 if test $ac_cv_header_stdc = yes; then
5797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5798 if test "$cross_compiling" = yes; then
5801 cat >conftest.
$ac_ext <<_ACEOF
5802 #line 5802 "configure"
5803 #include "confdefs.h"
5805 #if ((' ' & 0x0FF) == 0x020)
5806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5809 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5810 || ('j' <= (c) && (c) <= 'r') \
5811 || ('s' <= (c) && (c) <= 'z'))
5812 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5815 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5820 for (i = 0; i < 256; i++)
5821 if (XOR (islower (i), ISLOWER (i))
5822 || toupper (i) != TOUPPER (i))
5827 rm -f conftest
$ac_exeext
5828 if { (eval echo "$as_me:5828: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>&5
5831 echo "$as_me:5831: \$? = $ac_status" >&5
5832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5833 { (eval echo "$as_me:5833: \"$ac_try\"") >&5
5836 echo "$as_me:5836: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5840 echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 cat conftest.
$ac_ext >&5
5843 ac_cv_header_stdc
=no
5845 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5849 echo "$as_me:5849: result: $ac_cv_header_stdc" >&5
5850 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5851 if test $ac_cv_header_stdc = yes; then
5853 cat >>confdefs.h
<<\_ACEOF
5854 #define STDC_HEADERS 1
5859 for ac_header
in string.h
5861 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5863 echo "$as_me:5863: checking for $ac_header" >&5
5864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 echo "$as_me:5868: result: `eval echo '${'$as_ac_Header'}'`" >&5
5869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5871 # Is the header compilable?
5872 echo "$as_me:5872: checking $ac_header usability" >&5
5873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5874 cat >conftest.
$ac_ext <<_ACEOF
5875 #line 5875 "configure"
5876 #include "confdefs.h"
5877 $ac_includes_default
5878 #include <$ac_header>
5880 rm -f conftest.
$ac_objext
5881 if { (eval echo "$as_me:5881: \"$ac_compile\"") >&5
5882 (eval $ac_compile) 2>&5
5884 echo "$as_me:5884: \$? = $ac_status" >&5
5885 (exit $ac_status); } &&
5886 { ac_try
='test -s conftest.$ac_objext'
5887 { (eval echo "$as_me:5887: \"$ac_try\"") >&5
5890 echo "$as_me:5890: \$? = $ac_status" >&5
5891 (exit $ac_status); }; }; then
5892 ac_header_compiler
=yes
5894 echo "$as_me: failed program was:" >&5
5895 cat conftest.
$ac_ext >&5
5896 ac_header_compiler
=no
5898 rm -f conftest.
$ac_objext conftest.
$ac_ext
5899 echo "$as_me:5899: result: $ac_header_compiler" >&5
5900 echo "${ECHO_T}$ac_header_compiler" >&6
5902 # Is the header present?
5903 echo "$as_me:5903: checking $ac_header presence" >&5
5904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5905 cat >conftest.
$ac_ext <<_ACEOF
5906 #line 5906 "configure"
5907 #include "confdefs.h"
5908 #include <$ac_header>
5910 if { (eval echo "$as_me:5910: \"$ac_cpp conftest.$ac_ext\"") >&5
5911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5913 egrep -v '^ *\+' conftest.er1
>conftest.err
5915 cat conftest.err
>&5
5916 echo "$as_me:5916: \$? = $ac_status" >&5
5917 (exit $ac_status); } >/dev
/null
; then
5918 if test -s conftest.err
; then
5919 ac_cpp_err
=$ac_c_preproc_warn_flag
5926 if test -z "$ac_cpp_err"; then
5927 ac_header_preproc
=yes
5929 echo "$as_me: failed program was:" >&5
5930 cat conftest.
$ac_ext >&5
5931 ac_header_preproc
=no
5933 rm -f conftest.err conftest.
$ac_ext
5934 echo "$as_me:5934: result: $ac_header_preproc" >&5
5935 echo "${ECHO_T}$ac_header_preproc" >&6
5937 # So? What about this header?
5938 case $ac_header_compiler:$ac_header_preproc in
5940 { echo "$as_me:5940: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5942 { echo "$as_me:5942: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5945 { echo "$as_me:5945: WARNING: $ac_header: present but cannot be compiled." >&5
5946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5947 { echo "$as_me:5947: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5949 { echo "$as_me:5949: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5952 echo "$as_me:5952: checking for $ac_header" >&5
5953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 eval "$as_ac_Header=$ac_header_preproc"
5959 echo "$as_me:5959: result: `eval echo '${'$as_ac_Header'}'`" >&5
5960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5964 cat >>confdefs.h
<<_ACEOF
5965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5972 for ac_func
in strerror strerror_r vprintf doprnt
5974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5975 echo "$as_me:5975: checking for $ac_func" >&5
5976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5977 if eval "test \"\${$as_ac_var+set}\" = set"; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 cat >conftest.
$ac_ext <<_ACEOF
5981 #line 5981 "configure"
5982 #include "confdefs.h"
5983 /* System header to define __stub macros and hopefully few prototypes,
5984 which can conflict with char $ac_func (); below. */
5986 /* Override any gcc2 internal prototype to avoid an error. */
5990 /* We use char because int might match the return type of a gcc2
5991 builtin and then its argument prototype would still apply. */
5995 #ifdef F77_DUMMY_MAIN
5999 int F77_DUMMY_MAIN() { return 1; }
6004 /* The GNU C library defines this for functions which it implements
6005 to always fail with ENOSYS. Some functions are actually named
6006 something starting with __ and the normal name is an alias. */
6007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6017 rm -f conftest.
$ac_objext conftest
$ac_exeext
6018 if { (eval echo "$as_me:6018: \"$ac_link\"") >&5
6019 (eval $ac_link) 2>&5
6021 echo "$as_me:6021: \$? = $ac_status" >&5
6022 (exit $ac_status); } &&
6023 { ac_try
='test -s conftest$ac_exeext'
6024 { (eval echo "$as_me:6024: \"$ac_try\"") >&5
6027 echo "$as_me:6027: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 eval "$as_ac_var=yes"
6031 echo "$as_me: failed program was:" >&5
6032 cat conftest.
$ac_ext >&5
6033 eval "$as_ac_var=no"
6035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6037 echo "$as_me:6037: result: `eval echo '${'$as_ac_var'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6039 if test `eval echo '${'$as_ac_var'}'` = yes; then
6040 cat >>confdefs.h
<<_ACEOF
6041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6047 echo "$as_me:6047: checking for ANSI C header files" >&5
6048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6049 if test "${ac_cv_header_stdc+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat >conftest.
$ac_ext <<_ACEOF
6053 #line 6053 "configure"
6054 #include "confdefs.h"
6061 if { (eval echo "$as_me:6061: \"$ac_cpp conftest.$ac_ext\"") >&5
6062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6064 egrep -v '^ *\+' conftest.er1
>conftest.err
6066 cat conftest.err
>&5
6067 echo "$as_me:6067: \$? = $ac_status" >&5
6068 (exit $ac_status); } >/dev
/null
; then
6069 if test -s conftest.err
; then
6070 ac_cpp_err
=$ac_c_preproc_warn_flag
6077 if test -z "$ac_cpp_err"; then
6078 ac_cv_header_stdc
=yes
6080 echo "$as_me: failed program was:" >&5
6081 cat conftest.
$ac_ext >&5
6082 ac_cv_header_stdc
=no
6084 rm -f conftest.err conftest.
$ac_ext
6086 if test $ac_cv_header_stdc = yes; then
6087 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6088 cat >conftest.
$ac_ext <<_ACEOF
6089 #line 6089 "configure"
6090 #include "confdefs.h"
6094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6095 egrep "memchr" >/dev
/null
2>&1; then
6098 ac_cv_header_stdc
=no
6104 if test $ac_cv_header_stdc = yes; then
6105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6106 cat >conftest.
$ac_ext <<_ACEOF
6107 #line 6107 "configure"
6108 #include "confdefs.h"
6112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6113 egrep "free" >/dev
/null
2>&1; then
6116 ac_cv_header_stdc
=no
6122 if test $ac_cv_header_stdc = yes; then
6123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6124 if test "$cross_compiling" = yes; then
6127 cat >conftest.
$ac_ext <<_ACEOF
6128 #line 6128 "configure"
6129 #include "confdefs.h"
6131 #if ((' ' & 0x0FF) == 0x020)
6132 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6133 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6135 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6136 || ('j' <= (c) && (c) <= 'r') \
6137 || ('s' <= (c) && (c) <= 'z'))
6138 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6141 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6146 for (i = 0; i < 256; i++)
6147 if (XOR (islower (i), ISLOWER (i))
6148 || toupper (i) != TOUPPER (i))
6153 rm -f conftest
$ac_exeext
6154 if { (eval echo "$as_me:6154: \"$ac_link\"") >&5
6155 (eval $ac_link) 2>&5
6157 echo "$as_me:6157: \$? = $ac_status" >&5
6158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6159 { (eval echo "$as_me:6159: \"$ac_try\"") >&5
6162 echo "$as_me:6162: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6166 echo "$as_me: program exited with status $ac_status" >&5
6167 echo "$as_me: failed program was:" >&5
6168 cat conftest.
$ac_ext >&5
6169 ac_cv_header_stdc
=no
6171 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6175 echo "$as_me:6175: result: $ac_cv_header_stdc" >&5
6176 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6177 if test $ac_cv_header_stdc = yes; then
6179 cat >>confdefs.h
<<\_ACEOF
6180 #define STDC_HEADERS 1
6185 echo "$as_me:6185: checking whether strerror_r is declared" >&5
6186 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6187 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 cat >conftest.
$ac_ext <<_ACEOF
6191 #line 6191 "configure"
6192 #include "confdefs.h"
6193 $ac_includes_default
6194 #ifdef F77_DUMMY_MAIN
6198 int F77_DUMMY_MAIN() { return 1; }
6204 char *p = (char *) strerror_r;
6211 rm -f conftest.
$ac_objext
6212 if { (eval echo "$as_me:6212: \"$ac_compile\"") >&5
6213 (eval $ac_compile) 2>&5
6215 echo "$as_me:6215: \$? = $ac_status" >&5
6216 (exit $ac_status); } &&
6217 { ac_try
='test -s conftest.$ac_objext'
6218 { (eval echo "$as_me:6218: \"$ac_try\"") >&5
6221 echo "$as_me:6221: \$? = $ac_status" >&5
6222 (exit $ac_status); }; }; then
6223 ac_cv_have_decl_strerror_r
=yes
6225 echo "$as_me: failed program was:" >&5
6226 cat conftest.
$ac_ext >&5
6227 ac_cv_have_decl_strerror_r
=no
6229 rm -f conftest.
$ac_objext conftest.
$ac_ext
6231 echo "$as_me:6231: result: $ac_cv_have_decl_strerror_r" >&5
6232 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6233 if test $ac_cv_have_decl_strerror_r = yes; then
6235 cat >>confdefs.h
<<_ACEOF
6236 #define HAVE_DECL_STRERROR_R 1
6240 cat >>confdefs.h
<<_ACEOF
6241 #define HAVE_DECL_STRERROR_R 0
6246 for ac_func
in strerror_r
6248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6249 echo "$as_me:6249: checking for $ac_func" >&5
6250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6251 if eval "test \"\${$as_ac_var+set}\" = set"; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 cat >conftest.
$ac_ext <<_ACEOF
6255 #line 6255 "configure"
6256 #include "confdefs.h"
6257 /* System header to define __stub macros and hopefully few prototypes,
6258 which can conflict with char $ac_func (); below. */
6260 /* Override any gcc2 internal prototype to avoid an error. */
6264 /* We use char because int might match the return type of a gcc2
6265 builtin and then its argument prototype would still apply. */
6269 #ifdef F77_DUMMY_MAIN
6273 int F77_DUMMY_MAIN() { return 1; }
6278 /* The GNU C library defines this for functions which it implements
6279 to always fail with ENOSYS. Some functions are actually named
6280 something starting with __ and the normal name is an alias. */
6281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6291 rm -f conftest.
$ac_objext conftest
$ac_exeext
6292 if { (eval echo "$as_me:6292: \"$ac_link\"") >&5
6293 (eval $ac_link) 2>&5
6295 echo "$as_me:6295: \$? = $ac_status" >&5
6296 (exit $ac_status); } &&
6297 { ac_try
='test -s conftest$ac_exeext'
6298 { (eval echo "$as_me:6298: \"$ac_try\"") >&5
6301 echo "$as_me:6301: \$? = $ac_status" >&5
6302 (exit $ac_status); }; }; then
6303 eval "$as_ac_var=yes"
6305 echo "$as_me: failed program was:" >&5
6306 cat conftest.
$ac_ext >&5
6307 eval "$as_ac_var=no"
6309 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6311 echo "$as_me:6311: result: `eval echo '${'$as_ac_var'}'`" >&5
6312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6313 if test `eval echo '${'$as_ac_var'}'` = yes; then
6314 cat >>confdefs.h
<<_ACEOF
6315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6321 if test $ac_cv_func_strerror_r = yes; then
6323 for ac_header
in string.h
6325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6327 echo "$as_me:6327: checking for $ac_header" >&5
6328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 echo "$as_me:6332: result: `eval echo '${'$as_ac_Header'}'`" >&5
6333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6335 # Is the header compilable?
6336 echo "$as_me:6336: checking $ac_header usability" >&5
6337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6339 #line 6339 "configure"
6340 #include "confdefs.h"
6341 $ac_includes_default
6342 #include <$ac_header>
6344 rm -f conftest.
$ac_objext
6345 if { (eval echo "$as_me:6345: \"$ac_compile\"") >&5
6346 (eval $ac_compile) 2>&5
6348 echo "$as_me:6348: \$? = $ac_status" >&5
6349 (exit $ac_status); } &&
6350 { ac_try
='test -s conftest.$ac_objext'
6351 { (eval echo "$as_me:6351: \"$ac_try\"") >&5
6354 echo "$as_me:6354: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_header_compiler
=yes
6358 echo "$as_me: failed program was:" >&5
6359 cat conftest.
$ac_ext >&5
6360 ac_header_compiler
=no
6362 rm -f conftest.
$ac_objext conftest.
$ac_ext
6363 echo "$as_me:6363: result: $ac_header_compiler" >&5
6364 echo "${ECHO_T}$ac_header_compiler" >&6
6366 # Is the header present?
6367 echo "$as_me:6367: checking $ac_header presence" >&5
6368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6369 cat >conftest.
$ac_ext <<_ACEOF
6370 #line 6370 "configure"
6371 #include "confdefs.h"
6372 #include <$ac_header>
6374 if { (eval echo "$as_me:6374: \"$ac_cpp conftest.$ac_ext\"") >&5
6375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6377 egrep -v '^ *\+' conftest.er1
>conftest.err
6379 cat conftest.err
>&5
6380 echo "$as_me:6380: \$? = $ac_status" >&5
6381 (exit $ac_status); } >/dev
/null
; then
6382 if test -s conftest.err
; then
6383 ac_cpp_err
=$ac_c_preproc_warn_flag
6390 if test -z "$ac_cpp_err"; then
6391 ac_header_preproc
=yes
6393 echo "$as_me: failed program was:" >&5
6394 cat conftest.
$ac_ext >&5
6395 ac_header_preproc
=no
6397 rm -f conftest.err conftest.
$ac_ext
6398 echo "$as_me:6398: result: $ac_header_preproc" >&5
6399 echo "${ECHO_T}$ac_header_preproc" >&6
6401 # So? What about this header?
6402 case $ac_header_compiler:$ac_header_preproc in
6404 { echo "$as_me:6404: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6406 { echo "$as_me:6406: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6409 { echo "$as_me:6409: WARNING: $ac_header: present but cannot be compiled." >&5
6410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6411 { echo "$as_me:6411: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6413 { echo "$as_me:6413: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6416 echo "$as_me:6416: checking for $ac_header" >&5
6417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 eval "$as_ac_Header=$ac_header_preproc"
6423 echo "$as_me:6423: result: `eval echo '${'$as_ac_Header'}'`" >&5
6424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6428 cat >>confdefs.h
<<_ACEOF
6429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6436 echo "$as_me:6436: checking for working strerror_r" >&5
6437 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
6438 if test "${ac_cv_func_strerror_r_works+set}" = set; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 cat >conftest.
$ac_ext <<_ACEOF
6443 #line 6443 "configure"
6444 #include "confdefs.h"
6448 # include <string.h>
6451 #ifdef F77_DUMMY_MAIN
6455 int F77_DUMMY_MAIN() { return 1; }
6462 char x = *strerror_r (0, buf, sizeof buf);
6468 rm -f conftest.
$ac_objext
6469 if { (eval echo "$as_me:6469: \"$ac_compile\"") >&5
6470 (eval $ac_compile) 2>&5
6472 echo "$as_me:6472: \$? = $ac_status" >&5
6473 (exit $ac_status); } &&
6474 { ac_try
='test -s conftest.$ac_objext'
6475 { (eval echo "$as_me:6475: \"$ac_try\"") >&5
6478 echo "$as_me:6478: \$? = $ac_status" >&5
6479 (exit $ac_status); }; }; then
6480 ac_cv_func_strerror_r_works
=yes
6482 echo "$as_me: failed program was:" >&5
6483 cat conftest.
$ac_ext >&5
6484 ac_cv_func_strerror_r_works
=no
6487 rm -f conftest.
$ac_objext conftest.
$ac_ext
6488 if test $ac_cv_func_strerror_r_works = no
; then
6489 # strerror_r seems not to work, but now we have to choose between
6490 # systems that have relatively inaccessible declarations for the
6491 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
6492 # former has a strerror_r that returns char*, while the latter
6493 # has a strerror_r that returns `int'.
6494 # This test should segfault on the DEC system.
6495 if test "$cross_compiling" = yes; then
6496 ac_cv_func_strerror_r_works
=no
6498 cat >conftest.
$ac_ext <<_ACEOF
6499 #line 6499 "configure"
6500 #include "confdefs.h"
6503 # include <string.h>
6506 extern char *strerror_r ();
6512 char x = *strerror_r (0, buf, sizeof buf);
6513 exit (!isalpha (x));
6517 rm -f conftest
$ac_exeext
6518 if { (eval echo "$as_me:6518: \"$ac_link\"") >&5
6519 (eval $ac_link) 2>&5
6521 echo "$as_me:6521: \$? = $ac_status" >&5
6522 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6523 { (eval echo "$as_me:6523: \"$ac_try\"") >&5
6526 echo "$as_me:6526: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then
6528 ac_cv_func_strerror_r_works
=yes
6530 echo "$as_me: program exited with status $ac_status" >&5
6531 echo "$as_me: failed program was:" >&5
6532 cat conftest.
$ac_ext >&5
6533 ac_cv_func_strerror_r_works
=no
6535 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6540 echo "$as_me:6540: result: $ac_cv_func_strerror_r_works" >&5
6541 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
6542 if test $ac_cv_func_strerror_r_works = yes; then
6544 cat >>confdefs.h
<<_ACEOF
6545 #define HAVE_WORKING_STRERROR_R 1
6551 ALL_LINGUAS
="de es et fr ja nl ru"
6552 # Make sure we can run config.sub.
6553 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6554 { { echo "$as_me:6554: error: cannot run $ac_config_sub" >&5
6555 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6556 { (exit 1); exit 1; }; }
6558 echo "$as_me:6558: checking build system type" >&5
6559 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6560 if test "${ac_cv_build+set}" = set; then
6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 ac_cv_build_alias
=$build_alias
6564 test -z "$ac_cv_build_alias" &&
6565 ac_cv_build_alias
=`$ac_config_guess`
6566 test -z "$ac_cv_build_alias" &&
6567 { { echo "$as_me:6567: error: cannot guess build type; you must specify one" >&5
6568 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6569 { (exit 1); exit 1; }; }
6570 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6571 { { echo "$as_me:6571: error: $ac_config_sub $ac_cv_build_alias failed." >&5
6572 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
6573 { (exit 1); exit 1; }; }
6576 echo "$as_me:6576: result: $ac_cv_build" >&5
6577 echo "${ECHO_T}$ac_cv_build" >&6
6579 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6580 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6581 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6583 echo "$as_me:6583: checking host system type" >&5
6584 echo $ECHO_N "checking host system type... $ECHO_C" >&6
6585 if test "${ac_cv_host+set}" = set; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 ac_cv_host_alias
=$host_alias
6589 test -z "$ac_cv_host_alias" &&
6590 ac_cv_host_alias
=$ac_cv_build_alias
6591 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
6592 { { echo "$as_me:6592: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6593 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6594 { (exit 1); exit 1; }; }
6597 echo "$as_me:6597: result: $ac_cv_host" >&5
6598 echo "${ECHO_T}$ac_cv_host" >&6
6600 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6601 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6602 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6604 echo "$as_me:6604: checking for off_t" >&5
6605 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6606 if test "${ac_cv_type_off_t+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 cat >conftest.
$ac_ext <<_ACEOF
6610 #line 6610 "configure"
6611 #include "confdefs.h"
6612 $ac_includes_default
6613 #ifdef F77_DUMMY_MAIN
6617 int F77_DUMMY_MAIN() { return 1; }
6630 rm -f conftest.
$ac_objext
6631 if { (eval echo "$as_me:6631: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>&5
6634 echo "$as_me:6634: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try
='test -s conftest.$ac_objext'
6637 { (eval echo "$as_me:6637: \"$ac_try\"") >&5
6640 echo "$as_me:6640: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then
6642 ac_cv_type_off_t
=yes
6644 echo "$as_me: failed program was:" >&5
6645 cat conftest.
$ac_ext >&5
6648 rm -f conftest.
$ac_objext conftest.
$ac_ext
6650 echo "$as_me:6650: result: $ac_cv_type_off_t" >&5
6651 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6652 if test $ac_cv_type_off_t = yes; then
6656 cat >>confdefs.h
<<_ACEOF
6662 echo "$as_me:6662: checking for size_t" >&5
6663 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6664 if test "${ac_cv_type_size_t+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 cat >conftest.
$ac_ext <<_ACEOF
6668 #line 6668 "configure"
6669 #include "confdefs.h"
6670 $ac_includes_default
6671 #ifdef F77_DUMMY_MAIN
6675 int F77_DUMMY_MAIN() { return 1; }
6682 if (sizeof (size_t))
6688 rm -f conftest.
$ac_objext
6689 if { (eval echo "$as_me:6689: \"$ac_compile\"") >&5
6690 (eval $ac_compile) 2>&5
6692 echo "$as_me:6692: \$? = $ac_status" >&5
6693 (exit $ac_status); } &&
6694 { ac_try
='test -s conftest.$ac_objext'
6695 { (eval echo "$as_me:6695: \"$ac_try\"") >&5
6698 echo "$as_me:6698: \$? = $ac_status" >&5
6699 (exit $ac_status); }; }; then
6700 ac_cv_type_size_t
=yes
6702 echo "$as_me: failed program was:" >&5
6703 cat conftest.
$ac_ext >&5
6704 ac_cv_type_size_t
=no
6706 rm -f conftest.
$ac_objext conftest.
$ac_ext
6708 echo "$as_me:6708: result: $ac_cv_type_size_t" >&5
6709 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6710 if test $ac_cv_type_size_t = yes; then
6714 cat >>confdefs.h
<<_ACEOF
6715 #define size_t unsigned
6720 for ac_header
in stdlib.h unistd.h
6722 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6724 echo "$as_me:6724: checking for $ac_header" >&5
6725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 echo "$as_me:6729: result: `eval echo '${'$as_ac_Header'}'`" >&5
6730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6732 # Is the header compilable?
6733 echo "$as_me:6733: checking $ac_header usability" >&5
6734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6735 cat >conftest.
$ac_ext <<_ACEOF
6736 #line 6736 "configure"
6737 #include "confdefs.h"
6738 $ac_includes_default
6739 #include <$ac_header>
6741 rm -f conftest.
$ac_objext
6742 if { (eval echo "$as_me:6742: \"$ac_compile\"") >&5
6743 (eval $ac_compile) 2>&5
6745 echo "$as_me:6745: \$? = $ac_status" >&5
6746 (exit $ac_status); } &&
6747 { ac_try
='test -s conftest.$ac_objext'
6748 { (eval echo "$as_me:6748: \"$ac_try\"") >&5
6751 echo "$as_me:6751: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6753 ac_header_compiler
=yes
6755 echo "$as_me: failed program was:" >&5
6756 cat conftest.
$ac_ext >&5
6757 ac_header_compiler
=no
6759 rm -f conftest.
$ac_objext conftest.
$ac_ext
6760 echo "$as_me:6760: result: $ac_header_compiler" >&5
6761 echo "${ECHO_T}$ac_header_compiler" >&6
6763 # Is the header present?
6764 echo "$as_me:6764: checking $ac_header presence" >&5
6765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6766 cat >conftest.
$ac_ext <<_ACEOF
6767 #line 6767 "configure"
6768 #include "confdefs.h"
6769 #include <$ac_header>
6771 if { (eval echo "$as_me:6771: \"$ac_cpp conftest.$ac_ext\"") >&5
6772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6774 egrep -v '^ *\+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 echo "$as_me:6777: \$? = $ac_status" >&5
6778 (exit $ac_status); } >/dev
/null
; then
6779 if test -s conftest.err
; then
6780 ac_cpp_err
=$ac_c_preproc_warn_flag
6787 if test -z "$ac_cpp_err"; then
6788 ac_header_preproc
=yes
6790 echo "$as_me: failed program was:" >&5
6791 cat conftest.
$ac_ext >&5
6792 ac_header_preproc
=no
6794 rm -f conftest.err conftest.
$ac_ext
6795 echo "$as_me:6795: result: $ac_header_preproc" >&5
6796 echo "${ECHO_T}$ac_header_preproc" >&6
6798 # So? What about this header?
6799 case $ac_header_compiler:$ac_header_preproc in
6801 { echo "$as_me:6801: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6802 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6803 { echo "$as_me:6803: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6806 { echo "$as_me:6806: WARNING: $ac_header: present but cannot be compiled." >&5
6807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6808 { echo "$as_me:6808: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6810 { echo "$as_me:6810: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6813 echo "$as_me:6813: checking for $ac_header" >&5
6814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6816 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 eval "$as_ac_Header=$ac_header_preproc"
6820 echo "$as_me:6820: result: `eval echo '${'$as_ac_Header'}'`" >&5
6821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6825 cat >>confdefs.h
<<_ACEOF
6826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 for ac_func
in getpagesize
6835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6836 echo "$as_me:6836: checking for $ac_func" >&5
6837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6838 if eval "test \"\${$as_ac_var+set}\" = set"; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.
$ac_ext <<_ACEOF
6842 #line 6842 "configure"
6843 #include "confdefs.h"
6844 /* System header to define __stub macros and hopefully few prototypes,
6845 which can conflict with char $ac_func (); below. */
6847 /* Override any gcc2 internal prototype to avoid an error. */
6851 /* We use char because int might match the return type of a gcc2
6852 builtin and then its argument prototype would still apply. */
6856 #ifdef F77_DUMMY_MAIN
6860 int F77_DUMMY_MAIN() { return 1; }
6865 /* The GNU C library defines this for functions which it implements
6866 to always fail with ENOSYS. Some functions are actually named
6867 something starting with __ and the normal name is an alias. */
6868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6878 rm -f conftest.
$ac_objext conftest
$ac_exeext
6879 if { (eval echo "$as_me:6879: \"$ac_link\"") >&5
6880 (eval $ac_link) 2>&5
6882 echo "$as_me:6882: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try
='test -s conftest$ac_exeext'
6885 { (eval echo "$as_me:6885: \"$ac_try\"") >&5
6888 echo "$as_me:6888: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 eval "$as_ac_var=yes"
6892 echo "$as_me: failed program was:" >&5
6893 cat conftest.
$ac_ext >&5
6894 eval "$as_ac_var=no"
6896 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6898 echo "$as_me:6898: result: `eval echo '${'$as_ac_var'}'`" >&5
6899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6900 if test `eval echo '${'$as_ac_var'}'` = yes; then
6901 cat >>confdefs.h
<<_ACEOF
6902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6908 echo "$as_me:6908: checking for working mmap" >&5
6909 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6910 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6911 echo $ECHO_N "(cached) $ECHO_C" >&6
6913 if test "$cross_compiling" = yes; then
6914 ac_cv_func_mmap_fixed_mapped
=no
6916 cat >conftest.
$ac_ext <<_ACEOF
6917 #line 6917 "configure"
6918 #include "confdefs.h"
6919 $ac_includes_default
6920 /* Thanks to Mike Haertel and Jim Avera for this test.
6921 Here is a matrix of mmap possibilities:
6922 mmap private not fixed
6923 mmap private fixed at somewhere currently unmapped
6924 mmap private fixed at somewhere already mapped
6925 mmap shared not fixed
6926 mmap shared fixed at somewhere currently unmapped
6927 mmap shared fixed at somewhere already mapped
6928 For private mappings, we should verify that changes cannot be read()
6929 back from the file, nor mmap's back from the file at a different
6930 address. (There have been systems where private was not correctly
6931 implemented like the infamous i386 svr4.0, and systems where the
6932 VM page cache was not coherent with the file system buffer cache
6933 like early versions of FreeBSD and possibly contemporary NetBSD.)
6934 For shared mappings, we should conversely verify that changes get
6935 propogated back to all the places they're supposed to be.
6937 Grep wants private fixed already mapped.
6938 The main things grep needs to know about mmap are:
6939 * does it exist and is it safe to write into the mmap'd area
6940 * how to use it (BSD variants) */
6943 #include <sys/mman.h>
6945 #if !STDC_HEADERS && !HAVE_STDLIB_H
6949 /* This mess was copied from the GNU getpagesize.h. */
6950 #if !HAVE_GETPAGESIZE
6951 /* Assume that all systems that can run configure have sys/param.h. */
6952 # if !HAVE_SYS_PARAM_H
6953 # define HAVE_SYS_PARAM_H 1
6956 # ifdef _SC_PAGESIZE
6957 # define getpagesize() sysconf(_SC_PAGESIZE)
6958 # else /* no _SC_PAGESIZE */
6959 # if HAVE_SYS_PARAM_H
6960 # include <sys/param.h>
6961 # ifdef EXEC_PAGESIZE
6962 # define getpagesize() EXEC_PAGESIZE
6963 # else /* no EXEC_PAGESIZE */
6965 # define getpagesize() NBPG * CLSIZE
6968 # endif /* no CLSIZE */
6969 # else /* no NBPG */
6971 # define getpagesize() NBPC
6972 # else /* no NBPC */
6974 # define getpagesize() PAGESIZE
6975 # endif /* PAGESIZE */
6976 # endif /* no NBPC */
6977 # endif /* no NBPG */
6978 # endif /* no EXEC_PAGESIZE */
6979 # else /* no HAVE_SYS_PARAM_H */
6980 # define getpagesize() 8192 /* punt totally */
6981 # endif /* no HAVE_SYS_PARAM_H */
6982 # endif /* no _SC_PAGESIZE */
6984 #endif /* no HAVE_GETPAGESIZE */
6989 char *data, *data2, *data3;
6993 pagesize = getpagesize ();
6995 /* First, make a file with some known garbage in it. */
6996 data = (char *) malloc (pagesize);
6999 for (i = 0; i < pagesize; ++i)
7000 *(data + i) = rand ();
7002 fd = creat ("conftest.mmap", 0600);
7005 if (write (fd, data, pagesize) != pagesize)
7009 /* Next, try to mmap the file at a fixed address which already has
7010 something else allocated at it. If we can, also make sure that
7011 we see the same garbage. */
7012 fd = open ("conftest.mmap", O_RDWR);
7015 data2 = (char *) malloc (2 * pagesize);
7018 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7019 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7020 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7022 for (i = 0; i < pagesize; ++i)
7023 if (*(data + i) != *(data2 + i))
7026 /* Finally, make sure that changes to the mapped area do not
7027 percolate back to the file as seen by read(). (This is a bug on
7028 some variants of i386 svr4.0.) */
7029 for (i = 0; i < pagesize; ++i)
7030 *(data2 + i) = *(data2 + i) + 1;
7031 data3 = (char *) malloc (pagesize);
7034 if (read (fd, data3, pagesize) != pagesize)
7036 for (i = 0; i < pagesize; ++i)
7037 if (*(data + i) != *(data3 + i))
7043 rm -f conftest
$ac_exeext
7044 if { (eval echo "$as_me:7044: \"$ac_link\"") >&5
7045 (eval $ac_link) 2>&5
7047 echo "$as_me:7047: \$? = $ac_status" >&5
7048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7049 { (eval echo "$as_me:7049: \"$ac_try\"") >&5
7052 echo "$as_me:7052: \$? = $ac_status" >&5
7053 (exit $ac_status); }; }; then
7054 ac_cv_func_mmap_fixed_mapped
=yes
7056 echo "$as_me: program exited with status $ac_status" >&5
7057 echo "$as_me: failed program was:" >&5
7058 cat conftest.
$ac_ext >&5
7059 ac_cv_func_mmap_fixed_mapped
=no
7061 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7064 echo "$as_me:7064: result: $ac_cv_func_mmap_fixed_mapped" >&5
7065 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7066 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7068 cat >>confdefs.h
<<\_ACEOF
7075 echo "$as_me:7075: checking whether we are using the GNU C Library 2.1 or newer" >&5
7076 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7077 if test "${ac_cv_gnu_library_2_1+set}" = set; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 cat >conftest.
$ac_ext <<_ACEOF
7081 #line 7081 "configure"
7082 #include "confdefs.h"
7084 #include <features.h>
7085 #ifdef __GNU_LIBRARY__
7086 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7093 egrep "Lucky GNU user" >/dev
/null
2>&1; then
7094 ac_cv_gnu_library_2_1
=yes
7096 ac_cv_gnu_library_2_1
=no
7101 echo "$as_me:7101: result: $ac_cv_gnu_library_2_1" >&5
7102 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7104 GLIBC21
="$ac_cv_gnu_library_2_1"
7106 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7107 stdlib.h string.h unistd.h sys
/param.h
7109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7111 echo "$as_me:7111: checking for $ac_header" >&5
7112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 echo "$as_me:7116: result: `eval echo '${'$as_ac_Header'}'`" >&5
7117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7119 # Is the header compilable?
7120 echo "$as_me:7120: checking $ac_header usability" >&5
7121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7122 cat >conftest.
$ac_ext <<_ACEOF
7123 #line 7123 "configure"
7124 #include "confdefs.h"
7125 $ac_includes_default
7126 #include <$ac_header>
7128 rm -f conftest.
$ac_objext
7129 if { (eval echo "$as_me:7129: \"$ac_compile\"") >&5
7130 (eval $ac_compile) 2>&5
7132 echo "$as_me:7132: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try
='test -s conftest.$ac_objext'
7135 { (eval echo "$as_me:7135: \"$ac_try\"") >&5
7138 echo "$as_me:7138: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7140 ac_header_compiler
=yes
7142 echo "$as_me: failed program was:" >&5
7143 cat conftest.
$ac_ext >&5
7144 ac_header_compiler
=no
7146 rm -f conftest.
$ac_objext conftest.
$ac_ext
7147 echo "$as_me:7147: result: $ac_header_compiler" >&5
7148 echo "${ECHO_T}$ac_header_compiler" >&6
7150 # Is the header present?
7151 echo "$as_me:7151: checking $ac_header presence" >&5
7152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7153 cat >conftest.
$ac_ext <<_ACEOF
7154 #line 7154 "configure"
7155 #include "confdefs.h"
7156 #include <$ac_header>
7158 if { (eval echo "$as_me:7158: \"$ac_cpp conftest.$ac_ext\"") >&5
7159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7161 egrep -v '^ *\+' conftest.er1
>conftest.err
7163 cat conftest.err
>&5
7164 echo "$as_me:7164: \$? = $ac_status" >&5
7165 (exit $ac_status); } >/dev
/null
; then
7166 if test -s conftest.err
; then
7167 ac_cpp_err
=$ac_c_preproc_warn_flag
7174 if test -z "$ac_cpp_err"; then
7175 ac_header_preproc
=yes
7177 echo "$as_me: failed program was:" >&5
7178 cat conftest.
$ac_ext >&5
7179 ac_header_preproc
=no
7181 rm -f conftest.err conftest.
$ac_ext
7182 echo "$as_me:7182: result: $ac_header_preproc" >&5
7183 echo "${ECHO_T}$ac_header_preproc" >&6
7185 # So? What about this header?
7186 case $ac_header_compiler:$ac_header_preproc in
7188 { echo "$as_me:7188: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7190 { echo "$as_me:7190: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7193 { echo "$as_me:7193: WARNING: $ac_header: present but cannot be compiled." >&5
7194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7195 { echo "$as_me:7195: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7197 { echo "$as_me:7197: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7200 echo "$as_me:7200: checking for $ac_header" >&5
7201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 eval "$as_ac_Header=$ac_header_preproc"
7207 echo "$as_me:7207: result: `eval echo '${'$as_ac_Header'}'`" >&5
7208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7212 cat >>confdefs.h
<<_ACEOF
7213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
7221 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
7222 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
7224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7225 echo "$as_me:7225: checking for $ac_func" >&5
7226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7227 if eval "test \"\${$as_ac_var+set}\" = set"; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7231 #line 7231 "configure"
7232 #include "confdefs.h"
7233 /* System header to define __stub macros and hopefully few prototypes,
7234 which can conflict with char $ac_func (); below. */
7236 /* Override any gcc2 internal prototype to avoid an error. */
7240 /* We use char because int might match the return type of a gcc2
7241 builtin and then its argument prototype would still apply. */
7245 #ifdef F77_DUMMY_MAIN
7249 int F77_DUMMY_MAIN() { return 1; }
7254 /* The GNU C library defines this for functions which it implements
7255 to always fail with ENOSYS. Some functions are actually named
7256 something starting with __ and the normal name is an alias. */
7257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7267 rm -f conftest.
$ac_objext conftest
$ac_exeext
7268 if { (eval echo "$as_me:7268: \"$ac_link\"") >&5
7269 (eval $ac_link) 2>&5
7271 echo "$as_me:7271: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try
='test -s conftest$ac_exeext'
7274 { (eval echo "$as_me:7274: \"$ac_try\"") >&5
7277 echo "$as_me:7277: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then
7279 eval "$as_ac_var=yes"
7281 echo "$as_me: failed program was:" >&5
7282 cat conftest.
$ac_ext >&5
7283 eval "$as_ac_var=no"
7285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7287 echo "$as_me:7287: result: `eval echo '${'$as_ac_var'}'`" >&5
7288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7289 if test `eval echo '${'$as_ac_var'}'` = yes; then
7290 cat >>confdefs.h
<<_ACEOF
7291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7297 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7298 if test "${with_libiconv_prefix+set}" = set; then
7299 withval
="$with_libiconv_prefix"
7301 for dir
in `echo "$withval" | tr : ' '`; do
7302 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
7303 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
7308 echo "$as_me:7308: checking for iconv" >&5
7309 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7310 if test "${am_cv_func_iconv+set}" = set; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 am_cv_func_iconv
="no, consider installing GNU libiconv"
7316 cat >conftest.
$ac_ext <<_ACEOF
7317 #line 7317 "configure"
7318 #include "confdefs.h"
7321 #ifdef F77_DUMMY_MAIN
7325 int F77_DUMMY_MAIN() { return 1; }
7330 iconv_t cd = iconv_open("","");
7331 iconv(cd,NULL,NULL,NULL,NULL);
7337 rm -f conftest.
$ac_objext conftest
$ac_exeext
7338 if { (eval echo "$as_me:7338: \"$ac_link\"") >&5
7339 (eval $ac_link) 2>&5
7341 echo "$as_me:7341: \$? = $ac_status" >&5
7342 (exit $ac_status); } &&
7343 { ac_try
='test -s conftest$ac_exeext'
7344 { (eval echo "$as_me:7344: \"$ac_try\"") >&5
7347 echo "$as_me:7347: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 am_cv_func_iconv
=yes
7351 echo "$as_me: failed program was:" >&5
7352 cat conftest.
$ac_ext >&5
7354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7355 if test "$am_cv_func_iconv" != yes; then
7356 am_save_LIBS
="$LIBS"
7357 LIBS
="$LIBS -liconv"
7358 cat >conftest.
$ac_ext <<_ACEOF
7359 #line 7359 "configure"
7360 #include "confdefs.h"
7363 #ifdef F77_DUMMY_MAIN
7367 int F77_DUMMY_MAIN() { return 1; }
7372 iconv_t cd = iconv_open("","");
7373 iconv(cd,NULL,NULL,NULL,NULL);
7379 rm -f conftest.
$ac_objext conftest
$ac_exeext
7380 if { (eval echo "$as_me:7380: \"$ac_link\"") >&5
7381 (eval $ac_link) 2>&5
7383 echo "$as_me:7383: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try
='test -s conftest$ac_exeext'
7386 { (eval echo "$as_me:7386: \"$ac_try\"") >&5
7389 echo "$as_me:7389: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7392 am_cv_func_iconv
=yes
7394 echo "$as_me: failed program was:" >&5
7395 cat conftest.
$ac_ext >&5
7397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7398 LIBS
="$am_save_LIBS"
7402 echo "$as_me:7402: result: $am_cv_func_iconv" >&5
7403 echo "${ECHO_T}$am_cv_func_iconv" >&6
7404 if test "$am_cv_func_iconv" = yes; then
7406 cat >>confdefs.h
<<\_ACEOF
7407 #define HAVE_ICONV 1
7410 echo "$as_me:7410: checking for iconv declaration" >&5
7411 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7412 if test "${am_cv_proto_iconv+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 cat >conftest.
$ac_ext <<_ACEOF
7417 #line 7417 "configure"
7418 #include "confdefs.h"
7426 #if defined(__STDC__) || defined(__cplusplus)
7427 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7432 #ifdef F77_DUMMY_MAIN
7436 int F77_DUMMY_MAIN() { return 1; }
7446 rm -f conftest.
$ac_objext
7447 if { (eval echo "$as_me:7447: \"$ac_compile\"") >&5
7448 (eval $ac_compile) 2>&5
7450 echo "$as_me:7450: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try
='test -s conftest.$ac_objext'
7453 { (eval echo "$as_me:7453: \"$ac_try\"") >&5
7456 echo "$as_me:7456: \$? = $ac_status" >&5
7457 (exit $ac_status); }; }; then
7458 am_cv_proto_iconv_arg1
=""
7460 echo "$as_me: failed program was:" >&5
7461 cat conftest.
$ac_ext >&5
7462 am_cv_proto_iconv_arg1
="const"
7464 rm -f conftest.
$ac_objext conftest.
$ac_ext
7465 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);"
7468 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7469 echo "$as_me:7469: result: ${ac_t:-
7470 }$am_cv_proto_iconv" >&5
7471 echo "${ECHO_T}${ac_t:-
7472 }$am_cv_proto_iconv" >&6
7474 cat >>confdefs.h
<<_ACEOF
7475 #define ICONV_CONST $am_cv_proto_iconv_arg1
7480 if test "$am_cv_lib_iconv" = yes; then
7484 echo "$as_me:7484: checking for nl_langinfo and CODESET" >&5
7485 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7486 if test "${am_cv_langinfo_codeset+set}" = set; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 cat >conftest.
$ac_ext <<_ACEOF
7490 #line 7490 "configure"
7491 #include "confdefs.h"
7492 #include <langinfo.h>
7493 #ifdef F77_DUMMY_MAIN
7497 int F77_DUMMY_MAIN() { return 1; }
7502 char* cs = nl_langinfo(CODESET);
7507 rm -f conftest.
$ac_objext conftest
$ac_exeext
7508 if { (eval echo "$as_me:7508: \"$ac_link\"") >&5
7509 (eval $ac_link) 2>&5
7511 echo "$as_me:7511: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try
='test -s conftest$ac_exeext'
7514 { (eval echo "$as_me:7514: \"$ac_try\"") >&5
7517 echo "$as_me:7517: \$? = $ac_status" >&5
7518 (exit $ac_status); }; }; then
7519 am_cv_langinfo_codeset
=yes
7521 echo "$as_me: failed program was:" >&5
7522 cat conftest.
$ac_ext >&5
7523 am_cv_langinfo_codeset
=no
7525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7528 echo "$as_me:7528: result: $am_cv_langinfo_codeset" >&5
7529 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7530 if test $am_cv_langinfo_codeset = yes; then
7532 cat >>confdefs.h
<<\_ACEOF
7533 #define HAVE_LANGINFO_CODESET 1
7538 if test $ac_cv_header_locale_h = yes; then
7539 echo "$as_me:7539: checking for LC_MESSAGES" >&5
7540 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7541 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 cat >conftest.
$ac_ext <<_ACEOF
7545 #line 7545 "configure"
7546 #include "confdefs.h"
7548 #ifdef F77_DUMMY_MAIN
7552 int F77_DUMMY_MAIN() { return 1; }
7562 rm -f conftest.
$ac_objext conftest
$ac_exeext
7563 if { (eval echo "$as_me:7563: \"$ac_link\"") >&5
7564 (eval $ac_link) 2>&5
7566 echo "$as_me:7566: \$? = $ac_status" >&5
7567 (exit $ac_status); } &&
7568 { ac_try
='test -s conftest$ac_exeext'
7569 { (eval echo "$as_me:7569: \"$ac_try\"") >&5
7572 echo "$as_me:7572: \$? = $ac_status" >&5
7573 (exit $ac_status); }; }; then
7574 am_cv_val_LC_MESSAGES
=yes
7576 echo "$as_me: failed program was:" >&5
7577 cat conftest.
$ac_ext >&5
7578 am_cv_val_LC_MESSAGES
=no
7580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7582 echo "$as_me:7582: result: $am_cv_val_LC_MESSAGES" >&5
7583 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7584 if test $am_cv_val_LC_MESSAGES = yes; then
7586 cat >>confdefs.h
<<\_ACEOF
7587 #define HAVE_LC_MESSAGES 1
7592 echo "$as_me:7592: checking whether NLS is requested" >&5
7593 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7594 # Check whether --enable-nls or --disable-nls was given.
7595 if test "${enable_nls+set}" = set; then
7596 enableval
="$enable_nls"
7601 echo "$as_me:7601: result: $USE_NLS" >&5
7602 echo "${ECHO_T}$USE_NLS" >&6
7604 BUILD_INCLUDED_LIBINTL
=no
7605 USE_INCLUDED_LIBINTL
=no
7608 if test "$USE_NLS" = "yes"; then
7610 cat >>confdefs.h
<<\_ACEOF
7611 #define ENABLE_NLS 1
7614 echo "$as_me:7614: checking whether included gettext is requested" >&5
7615 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7617 # Check whether --with-included-gettext or --without-included-gettext was given.
7618 if test "${with_included_gettext+set}" = set; then
7619 withval
="$with_included_gettext"
7620 nls_cv_force_use_gnu_gettext
=$withval
7622 nls_cv_force_use_gnu_gettext
=no
7624 echo "$as_me:7624: result: $nls_cv_force_use_gnu_gettext" >&5
7625 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7627 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7628 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7631 if test "${ac_cv_header_libintl_h+set}" = set; then
7632 echo "$as_me:7632: checking for libintl.h" >&5
7633 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7634 if test "${ac_cv_header_libintl_h+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 echo "$as_me:7637: result: $ac_cv_header_libintl_h" >&5
7638 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7640 # Is the header compilable?
7641 echo "$as_me:7641: checking libintl.h usability" >&5
7642 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7643 cat >conftest.
$ac_ext <<_ACEOF
7644 #line 7644 "configure"
7645 #include "confdefs.h"
7646 $ac_includes_default
7647 #include <libintl.h>
7649 rm -f conftest.
$ac_objext
7650 if { (eval echo "$as_me:7650: \"$ac_compile\"") >&5
7651 (eval $ac_compile) 2>&5
7653 echo "$as_me:7653: \$? = $ac_status" >&5
7654 (exit $ac_status); } &&
7655 { ac_try
='test -s conftest.$ac_objext'
7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5
7659 echo "$as_me:7659: \$? = $ac_status" >&5
7660 (exit $ac_status); }; }; then
7661 ac_header_compiler
=yes
7663 echo "$as_me: failed program was:" >&5
7664 cat conftest.
$ac_ext >&5
7665 ac_header_compiler
=no
7667 rm -f conftest.
$ac_objext conftest.
$ac_ext
7668 echo "$as_me:7668: result: $ac_header_compiler" >&5
7669 echo "${ECHO_T}$ac_header_compiler" >&6
7671 # Is the header present?
7672 echo "$as_me:7672: checking libintl.h presence" >&5
7673 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7674 cat >conftest.
$ac_ext <<_ACEOF
7675 #line 7675 "configure"
7676 #include "confdefs.h"
7677 #include <libintl.h>
7679 if { (eval echo "$as_me:7679: \"$ac_cpp conftest.$ac_ext\"") >&5
7680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7682 egrep -v '^ *\+' conftest.er1
>conftest.err
7684 cat conftest.err
>&5
7685 echo "$as_me:7685: \$? = $ac_status" >&5
7686 (exit $ac_status); } >/dev
/null
; then
7687 if test -s conftest.err
; then
7688 ac_cpp_err
=$ac_c_preproc_warn_flag
7695 if test -z "$ac_cpp_err"; then
7696 ac_header_preproc
=yes
7698 echo "$as_me: failed program was:" >&5
7699 cat conftest.
$ac_ext >&5
7700 ac_header_preproc
=no
7702 rm -f conftest.err conftest.
$ac_ext
7703 echo "$as_me:7703: result: $ac_header_preproc" >&5
7704 echo "${ECHO_T}$ac_header_preproc" >&6
7706 # So? What about this header?
7707 case $ac_header_compiler:$ac_header_preproc in
7709 { echo "$as_me:7709: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7710 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7711 { echo "$as_me:7711: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7712 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7714 { echo "$as_me:7714: WARNING: libintl.h: present but cannot be compiled." >&5
7715 echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
7716 { echo "$as_me:7716: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7717 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7718 { echo "$as_me:7718: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7719 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7721 echo "$as_me:7721: checking for libintl.h" >&5
7722 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7723 if test "${ac_cv_header_libintl_h+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 ac_cv_header_libintl_h
=$ac_header_preproc
7728 echo "$as_me:7728: result: $ac_cv_header_libintl_h" >&5
7729 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7732 if test $ac_cv_header_libintl_h = yes; then
7733 echo "$as_me:7733: checking for GNU gettext in libc" >&5
7734 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7735 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7736 echo $ECHO_N "(cached) $ECHO_C" >&6
7738 cat >conftest.
$ac_ext <<_ACEOF
7739 #line 7739 "configure"
7740 #include "confdefs.h"
7741 #include <libintl.h>
7742 extern int _nl_msg_cat_cntr;
7743 #ifdef F77_DUMMY_MAIN
7747 int F77_DUMMY_MAIN() { return 1; }
7752 bindtextdomain ("", "");
7753 return (int) gettext ("") + _nl_msg_cat_cntr
7758 rm -f conftest.
$ac_objext conftest
$ac_exeext
7759 if { (eval echo "$as_me:7759: \"$ac_link\"") >&5
7760 (eval $ac_link) 2>&5
7762 echo "$as_me:7762: \$? = $ac_status" >&5
7763 (exit $ac_status); } &&
7764 { ac_try
='test -s conftest$ac_exeext'
7765 { (eval echo "$as_me:7765: \"$ac_try\"") >&5
7768 echo "$as_me:7768: \$? = $ac_status" >&5
7769 (exit $ac_status); }; }; then
7770 gt_cv_func_gnugettext1_libc
=yes
7772 echo "$as_me: failed program was:" >&5
7773 cat conftest.
$ac_ext >&5
7774 gt_cv_func_gnugettext1_libc
=no
7776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7778 echo "$as_me:7778: result: $gt_cv_func_gnugettext1_libc" >&5
7779 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7781 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7782 echo "$as_me:7782: checking for GNU gettext in libintl" >&5
7783 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
7784 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 gt_save_LIBS
="$LIBS"
7788 LIBS
="$LIBS -lintl $LIBICONV"
7789 cat >conftest.
$ac_ext <<_ACEOF
7790 #line 7790 "configure"
7791 #include "confdefs.h"
7792 #include <libintl.h>
7793 extern int _nl_msg_cat_cntr;
7794 #ifdef F77_DUMMY_MAIN
7798 int F77_DUMMY_MAIN() { return 1; }
7803 bindtextdomain ("", "");
7804 return (int) gettext ("") + _nl_msg_cat_cntr
7809 rm -f conftest.
$ac_objext conftest
$ac_exeext
7810 if { (eval echo "$as_me:7810: \"$ac_link\"") >&5
7811 (eval $ac_link) 2>&5
7813 echo "$as_me:7813: \$? = $ac_status" >&5
7814 (exit $ac_status); } &&
7815 { ac_try
='test -s conftest$ac_exeext'
7816 { (eval echo "$as_me:7816: \"$ac_try\"") >&5
7819 echo "$as_me:7819: \$? = $ac_status" >&5
7820 (exit $ac_status); }; }; then
7821 gt_cv_func_gnugettext1_libintl
=yes
7823 echo "$as_me: failed program was:" >&5
7824 cat conftest.
$ac_ext >&5
7825 gt_cv_func_gnugettext1_libintl
=no
7827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7828 LIBS
="$gt_save_LIBS"
7830 echo "$as_me:7830: result: $gt_cv_func_gnugettext1_libintl" >&5
7831 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
7834 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
7835 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7836 && test "$PACKAGE" != gettext; }; then
7838 cat >>confdefs.h
<<\_ACEOF
7839 #define HAVE_GETTEXT 1
7842 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7843 INTLLIBS
="-lintl $LIBICONV"
7846 gt_save_LIBS
="$LIBS"
7847 LIBS
="$LIBS $INTLLIBS"
7849 for ac_func
in dcgettext
7851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7852 echo "$as_me:7852: checking for $ac_func" >&5
7853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7854 if eval "test \"\${$as_ac_var+set}\" = set"; then
7855 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 cat >conftest.
$ac_ext <<_ACEOF
7858 #line 7858 "configure"
7859 #include "confdefs.h"
7860 /* System header to define __stub macros and hopefully few prototypes,
7861 which can conflict with char $ac_func (); below. */
7863 /* Override any gcc2 internal prototype to avoid an error. */
7867 /* We use char because int might match the return type of a gcc2
7868 builtin and then its argument prototype would still apply. */
7872 #ifdef F77_DUMMY_MAIN
7876 int F77_DUMMY_MAIN() { return 1; }
7881 /* The GNU C library defines this for functions which it implements
7882 to always fail with ENOSYS. Some functions are actually named
7883 something starting with __ and the normal name is an alias. */
7884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7894 rm -f conftest.
$ac_objext conftest
$ac_exeext
7895 if { (eval echo "$as_me:7895: \"$ac_link\"") >&5
7896 (eval $ac_link) 2>&5
7898 echo "$as_me:7898: \$? = $ac_status" >&5
7899 (exit $ac_status); } &&
7900 { ac_try
='test -s conftest$ac_exeext'
7901 { (eval echo "$as_me:7901: \"$ac_try\"") >&5
7904 echo "$as_me:7904: \$? = $ac_status" >&5
7905 (exit $ac_status); }; }; then
7906 eval "$as_ac_var=yes"
7908 echo "$as_me: failed program was:" >&5
7909 cat conftest.
$ac_ext >&5
7910 eval "$as_ac_var=no"
7912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7914 echo "$as_me:7914: result: `eval echo '${'$as_ac_var'}'`" >&5
7915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7916 if test `eval echo '${'$as_ac_var'}'` = yes; then
7917 cat >>confdefs.h
<<_ACEOF
7918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7924 LIBS
="$gt_save_LIBS"
7926 # Extract the first word of "msgfmt", so it can be a program name with args.
7927 set dummy msgfmt
; ac_word
=$2
7928 echo "$as_me:7928: checking for $ac_word" >&5
7929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7930 if test "${ac_cv_path_MSGFMT+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7939 for ac_dir
in $PATH; do
7940 test -z "$ac_dir" && ac_dir
=.
7941 if test -f $ac_dir/$ac_word; then
7942 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
7943 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7949 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7953 MSGFMT
="$ac_cv_path_MSGFMT"
7954 if test "$MSGFMT" != ":"; then
7955 echo "$as_me:7955: result: $MSGFMT" >&5
7956 echo "${ECHO_T}$MSGFMT" >&6
7958 echo "$as_me:7958: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7962 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7963 set dummy gmsgfmt
; ac_word
=$2
7964 echo "$as_me:7964: checking for $ac_word" >&5
7965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7966 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7974 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7976 for ac_dir
in $ac_dummy; do
7978 test -z "$ac_dir" && ac_dir
=.
7979 if $as_executable_p "$ac_dir/$ac_word"; then
7980 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
7981 echo "$as_me:7981: found $ac_dir/$ac_word" >&5
7986 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7990 GMSGFMT
=$ac_cv_path_GMSGFMT
7992 if test -n "$GMSGFMT"; then
7993 echo "$as_me:7993: result: $GMSGFMT" >&5
7994 echo "${ECHO_T}$GMSGFMT" >&6
7996 echo "$as_me:7996: result: no" >&5
7997 echo "${ECHO_T}no" >&6
8000 # Extract the first word of "xgettext", so it can be a program name with args.
8001 set dummy xgettext
; ac_word
=$2
8002 echo "$as_me:8002: checking for $ac_word" >&5
8003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8004 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8013 for ac_dir
in $PATH; do
8014 test -z "$ac_dir" && ac_dir
=.
8015 if test -f $ac_dir/$ac_word; then
8016 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8017 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8023 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8027 XGETTEXT
="$ac_cv_path_XGETTEXT"
8028 if test "$XGETTEXT" != ":"; then
8029 echo "$as_me:8029: result: $XGETTEXT" >&5
8030 echo "${ECHO_T}$XGETTEXT" >&6
8032 echo "$as_me:8032: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8041 if test "$CATOBJEXT" = "NONE"; then
8042 nls_cv_use_gnu_gettext
=yes
8046 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8047 INTLOBJS
="\$(GETTOBJS)"
8048 # Extract the first word of "msgfmt", so it can be a program name with args.
8049 set dummy msgfmt
; ac_word
=$2
8050 echo "$as_me:8050: checking for $ac_word" >&5
8051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8052 if test "${ac_cv_path_MSGFMT+set}" = set; then
8053 echo $ECHO_N "(cached) $ECHO_C" >&6
8057 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8060 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8061 for ac_dir
in $PATH; do
8062 test -z "$ac_dir" && ac_dir
=.
8063 if test -f $ac_dir/$ac_word; then
8064 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
8065 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8071 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
8075 MSGFMT
="$ac_cv_path_MSGFMT"
8076 if test "$MSGFMT" != ":"; then
8077 echo "$as_me:8077: result: $MSGFMT" >&5
8078 echo "${ECHO_T}$MSGFMT" >&6
8080 echo "$as_me:8080: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8084 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8085 set dummy gmsgfmt
; ac_word
=$2
8086 echo "$as_me:8086: checking for $ac_word" >&5
8087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8088 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8096 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8098 for ac_dir
in $ac_dummy; do
8100 test -z "$ac_dir" && ac_dir
=.
8101 if $as_executable_p "$ac_dir/$ac_word"; then
8102 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
8103 echo "$as_me:8103: found $ac_dir/$ac_word" >&5
8108 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8112 GMSGFMT
=$ac_cv_path_GMSGFMT
8114 if test -n "$GMSGFMT"; then
8115 echo "$as_me:8115: result: $GMSGFMT" >&5
8116 echo "${ECHO_T}$GMSGFMT" >&6
8118 echo "$as_me:8118: result: no" >&5
8119 echo "${ECHO_T}no" >&6
8122 # Extract the first word of "xgettext", so it can be a program name with args.
8123 set dummy xgettext
; ac_word
=$2
8124 echo "$as_me:8124: checking for $ac_word" >&5
8125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8126 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8134 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8135 for ac_dir
in $PATH; do
8136 test -z "$ac_dir" && ac_dir
=.
8137 if test -f $ac_dir/$ac_word; then
8138 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
8139 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8145 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8149 XGETTEXT
="$ac_cv_path_XGETTEXT"
8150 if test "$XGETTEXT" != ":"; then
8151 echo "$as_me:8151: result: $XGETTEXT" >&5
8152 echo "${ECHO_T}$XGETTEXT" >&6
8154 echo "$as_me:8154: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8158 BUILD_INCLUDED_LIBINTL
=yes
8159 USE_INCLUDED_LIBINTL
=yes
8161 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
8162 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
8165 if test "$GMSGFMT" != ":"; then
8166 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
8169 echo "$as_me:8169: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8170 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8175 if test "$XGETTEXT" != ":"; then
8176 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
8179 echo "$as_me:8179: result: found xgettext program is not GNU xgettext; ignore it" >&5
8180 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8187 ac_config_commands
="$ac_config_commands default-2"
8189 if test "$PACKAGE" = gettext; then
8190 BUILD_INCLUDED_LIBINTL
=yes
8193 for ac_prog
in bison
8195 # Extract the first word of "$ac_prog", so it can be a program name with args.
8196 set dummy
$ac_prog; ac_word
=$2
8197 echo "$as_me:8197: checking for $ac_word" >&5
8198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8199 if test "${ac_cv_prog_INTLBISON+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 if test -n "$INTLBISON"; then
8203 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
8205 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8207 for ac_dir
in $ac_dummy; do
8209 test -z "$ac_dir" && ac_dir
=.
8210 $as_executable_p "$ac_dir/$ac_word" || continue
8211 ac_cv_prog_INTLBISON
="$ac_prog"
8212 echo "$as_me:8212: found $ac_dir/$ac_word" >&5
8218 INTLBISON
=$ac_cv_prog_INTLBISON
8219 if test -n "$INTLBISON"; then
8220 echo "$as_me:8220: result: $INTLBISON" >&5
8221 echo "${ECHO_T}$INTLBISON" >&6
8223 echo "$as_me:8223: result: no" >&5
8224 echo "${ECHO_T}no" >&6
8227 test -n "$INTLBISON" && break
8230 if test -z "$INTLBISON"; then
8233 echo "$as_me:8233: checking version of bison" >&5
8234 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8235 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8236 case $ac_prog_version in
8237 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
8238 1.2[6-9]* | 1.
[3-9][0-9]* | [2-9].
*)
8239 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
8240 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
8242 echo "$as_me:8242: result: $ac_prog_version" >&5
8243 echo "${ECHO_T}$ac_prog_version" >&6
8245 if test $ac_verc_fail = yes; then
8249 for lang
in $ALL_LINGUAS; do
8250 GMOFILES
="$GMOFILES $lang.gmo"
8251 POFILES
="$POFILES $lang.po"
8255 nls_cv_header_libgt
=
8263 if test "x$CATOBJEXT" != "x"; then
8264 if test "x$ALL_LINGUAS" = "x"; then
8267 echo "$as_me:8267: checking for catalogs to be installed" >&5
8268 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8270 for presentlang
in $ALL_LINGUAS; do
8272 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
8273 # Use the presentlang catalog if desiredlang is
8274 # a. equal to presentlang, or
8275 # b. a variant of presentlang (because in this case,
8276 # presentlang can be used as a fallback for messages
8277 # which are not translated in the desiredlang catalog).
8278 case "$desiredlang" in
8279 "$presentlang"*) useit
=yes;;
8282 if test $useit = yes; then
8283 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
8286 LINGUAS
=$NEW_LINGUAS
8287 echo "$as_me:8287: result: $LINGUAS" >&5
8288 echo "${ECHO_T}$LINGUAS" >&6
8291 if test -n "$LINGUAS"; then
8292 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8297 if test -n "$ac_aux_dir"; then
8298 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
8300 if test -z "$MKINSTALLDIRS"; then
8301 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
8304 INTL_LIBTOOL_SUFFIX_PREFIX
=
8306 # This is necessary so that .o files in LIBOBJS are also built via
8307 # the ANSI2KNR-filtering rules.
8308 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8310 ac_config_files
="$ac_config_files Makefile config/Makefile intl/Makefile po/Makefile.in lib/Makefile src/Makefile doc/Makefile m4/Makefile tests/Makefile"
8311 cat >confcache
<<\_ACEOF
8312 # This file is a shell script that caches the results of configure
8313 # tests run on this system so they can be shared between configure
8314 # scripts and configure runs, see configure's option --config-cache.
8315 # It is not useful on other systems. If it contains results you don't
8316 # want to keep, you may remove or edit it.
8318 # config.status only pays attention to the cache file if you give it
8319 # the --recheck option to rerun configure.
8321 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8327 # The following way of writing the cache mishandles newlines in values,
8328 # but we know of no workaround that is simple, portable, and efficient.
8329 # So, don't put newlines in cache variables' values.
8330 # Ultrix sh set writes to stderr and can't be redirected directly,
8331 # and sets the high bit in the cache file unless we assign to the vars.
8334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8336 # `set' does not quote correctly, so add quotes (double-quote
8337 # substitution turns \\\\ into \\, and sed turns \\ into \).
8340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8343 # `set' quotes correctly as required by POSIX, so do not add quotes.
8345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8356 if cmp -s $cache_file confcache
; then :; else
8357 if test -w $cache_file; then
8358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8359 cat confcache
>$cache_file
8361 echo "not updating unwritable cache $cache_file"
8366 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8367 # Let make expand exec_prefix.
8368 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8372 # trailing colons and then remove the whole line if VPATH becomes empty
8373 # (actually we leave an empty line to preserve line numbers).
8374 if test "x$srcdir" = x.
; then
8375 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8376 s/:*\$(srcdir):*/:/;
8377 s/:*\${srcdir}:*/:/;
8379 s/^\([^=]*=[ ]*\):*/\1/;
8385 DEFS
=-DHAVE_CONFIG_H
8387 : ${CONFIG_STATUS=./config.status}
8388 ac_clean_files_save
=$ac_clean_files
8389 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8390 { echo "$as_me:8390: creating $CONFIG_STATUS" >&5
8391 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8392 cat >$CONFIG_STATUS <<_ACEOF
8394 # Generated automatically by $as_me.
8395 # Run this file to recreate the current configuration.
8396 # Compiler output produced by configure, useful for debugging
8397 # configure, is in config.log if it exists.
8400 SHELL=\${CONFIG_SHELL-$SHELL}
8403 cat >>$CONFIG_STATUS <<\_ACEOF
8405 ## --------------------- ##
8406 ## M4sh Initialization. ##
8407 ## --------------------- ##
8409 # Be Bourne compatible
8410 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8413 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8417 # Name of the executable.
8418 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
8420 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8426 rm -f conf$$ conf$$.exe conf$$.
file
8428 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8429 # We could just check for DJGPP; but this test a) works b) is more generic
8430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8431 if test -f conf$$.exe
; then
8432 # Don't use ln at all; we don't have any links
8437 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8442 rm -f conf$$ conf$$.exe conf$$.
file
8444 as_executable_p
="test -f"
8446 # Support unset when possible.
8447 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
8454 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
8455 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
8456 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
8457 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
8458 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
8459 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
8460 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
8461 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
8464 # We need space, tab and new line, in precisely that order.
8470 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
8474 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8475 # report actual input values of CONFIG_FILES etc. instead of their
8476 # values after options handling. Logging --version etc. is OK.
8480 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8481 ## Running \$as_me. ##
8486 This file was extended by GNU Bison $as_me 1.29a, which was
8487 generated by GNU Autoconf 2.52e. Invocation command line was
8489 CONFIG_FILES = $CONFIG_FILES
8490 CONFIG_HEADERS = $CONFIG_HEADERS
8491 CONFIG_LINKS = $CONFIG_LINKS
8492 CONFIG_COMMANDS = $CONFIG_COMMANDS
8496 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8500 # Files that config.status was made for.
8501 if test -n "$ac_config_files"; then
8502 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8505 if test -n "$ac_config_headers"; then
8506 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8509 if test -n "$ac_config_links"; then
8510 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8513 if test -n "$ac_config_commands"; then
8514 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8517 cat >>$CONFIG_STATUS <<\_ACEOF
8520 \`$as_me' instantiates files from templates according to the
8521 current configuration.
8523 Usage: $0 [OPTIONS] [FILE]...
8525 -h, --help print this help, then exit
8526 -V, --version print version number, then exit
8527 -d, --debug don't remove temporary files
8528 --recheck update $as_me by reconfiguring in the same conditions
8529 --file=FILE[:TEMPLATE]
8530 instantiate the configuration file FILE
8531 --header=FILE[:TEMPLATE]
8532 instantiate the configuration header FILE
8534 Configuration files:
8537 Configuration headers:
8540 Configuration commands:
8543 Report bugs to <bug-autoconf@gnu.org>."
8546 cat >>$CONFIG_STATUS <<_ACEOF
8548 GNU Bison config.status 1.29a
8549 configured by $0, generated by GNU Autoconf 2.52e,
8550 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8552 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8553 Free Software Foundation, Inc.
8554 This config.status script is free software; the Free Software Foundation
8555 gives unlimited permission to copy, distribute and modify it."
8560 cat >>$CONFIG_STATUS <<\_ACEOF
8561 # If no file are specified by the user, then we need to provide default
8562 # value. By we need to know if files were specified by the user.
8568 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8569 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8571 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
8575 *) # This is not an option, so the user has probably given explicit
8577 ac_need_defaults
=false
;;
8581 # Handling of the options.
8583 cat >>$CONFIG_STATUS <<_ACEOF
8584 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8585 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8586 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8588 cat >>$CONFIG_STATUS <<\_ACEOF
8589 --version | --vers* | -V )
8590 echo "$ac_cs_version"; exit 0 ;;
8592 # Conflict between --help and --header
8593 { { echo "$as_me:8593: error: ambiguous option: $1
8594 Try \`$0 --help' for more information." >&5
8595 echo "$as_me: error: ambiguous option: $1
8596 Try \`$0 --help' for more information." >&2;}
8597 { (exit 1); exit 1; }; };;
8598 --help | --hel | -h )
8599 echo "$ac_cs_usage"; exit 0 ;;
8600 --debug | --d* | -d )
8602 --file | --fil | --fi | --f )
8604 CONFIG_FILES
="$CONFIG_FILES $1"
8605 ac_need_defaults
=false
;;
8606 --header | --heade | --head | --hea )
8608 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
8609 ac_need_defaults
=false
;;
8612 -*) { { echo "$as_me:8612: error: unrecognized option: $1
8613 Try \`$0 --help' for more information." >&5
8614 echo "$as_me: error: unrecognized option: $1
8615 Try \`$0 --help' for more information." >&2;}
8616 { (exit 1); exit 1; }; } ;;
8618 *) ac_config_targets
="$ac_config_targets $1" ;;
8626 cat >>$CONFIG_STATUS <<_ACEOF
8628 # INIT-COMMANDS section.
8631 at_package_name='$PACKAGE_NAME'
8632 at_package_version='$PACKAGE_VERSION'
8633 at_package_string='$PACKAGE_STRING'
8634 at_bugreport='$PACKAGE_BUGREPORT'
8640 at_path_separator='$PATH_SEPARATOR'
8642 AMDEP_TRUE="$AMDEP_TRUE"
8643 ac_aux_dir="$ac_aux_dir"
8647 cat >>$CONFIG_STATUS <<\_ACEOF
8648 for ac_config_target
in $ac_config_targets
8650 case "$ac_config_target" in
8651 # Handling of arguments.
8652 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
8653 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8654 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
8655 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
8656 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
8657 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
8658 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8659 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8660 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
8661 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
8662 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
8663 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8664 "default-2" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
8665 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
8666 *) { { echo "$as_me:8666: error: invalid argument: $ac_config_target" >&5
8667 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8668 { (exit 1); exit 1; }; };;
8672 # If the user did not use the arguments to specify the items to instantiate,
8673 # then the envvar interface is used. Set only those that are not.
8674 # We use the long form for the default assignment because of an extremely
8675 # bizarre bug on SunOS 4.1.3.
8676 if $ac_need_defaults; then
8677 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8678 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8679 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8682 # Create a temporary directory, and hook for its removal unless debugging.
8685 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8686 trap '{ (exit 1); exit 1; }' 1 2 13 15
8689 # Create a (secure) tmp directory for tmp files.
8692 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8693 test -n "$tmp" && test -d "$tmp"
8696 tmp
=$TMPDIR/cs$$
-$RANDOM
8697 (umask 077 && mkdir $tmp)
8700 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8701 { (exit 1); exit 1; }
8706 cat >>$CONFIG_STATUS <<_ACEOF
8709 # CONFIG_FILES section.
8712 # No need to generate the scripts if there are no CONFIG_FILES.
8713 # This happens for instance when ./config.status config.h
8714 if test -n "\$CONFIG_FILES"; then
8715 # Protect against being on the right side of a sed subst in config.status.
8716 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8717 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8718 s,@SHELL@,$SHELL,;t t
8719 s,@exec_prefix@,$exec_prefix,;t t
8720 s,@prefix@,$prefix,;t t
8721 s,@program_transform_name@,$program_transform_name,;t t
8722 s,@bindir@,$bindir,;t t
8723 s,@sbindir@,$sbindir,;t t
8724 s,@libexecdir@,$libexecdir,;t t
8725 s,@datadir@,$datadir,;t t
8726 s,@sysconfdir@,$sysconfdir,;t t
8727 s,@sharedstatedir@,$sharedstatedir,;t t
8728 s,@localstatedir@,$localstatedir,;t t
8729 s,@libdir@,$libdir,;t t
8730 s,@includedir@,$includedir,;t t
8731 s,@oldincludedir@,$oldincludedir,;t t
8732 s,@infodir@,$infodir,;t t
8733 s,@mandir@,$mandir,;t t
8734 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8735 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8736 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8737 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8738 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8739 s,@build_alias@,$build_alias,;t t
8740 s,@host_alias@,$host_alias,;t t
8741 s,@target_alias@,$target_alias,;t t
8742 s,@ECHO_C@,$ECHO_C,;t t
8743 s,@ECHO_N@,$ECHO_N,;t t
8744 s,@ECHO_T@,$ECHO_T,;t t
8745 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8748 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8749 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8750 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8751 s,@PACKAGE@,$PACKAGE,;t t
8752 s,@VERSION@,$VERSION,;t t
8753 s,@EXEEXT@,$EXEEXT,;t t
8754 s,@OBJEXT@,$OBJEXT,;t t
8755 s,@ACLOCAL@,$ACLOCAL,;t t
8756 s,@AUTOCONF@,$AUTOCONF,;t t
8757 s,@AUTOMAKE@,$AUTOMAKE,;t t
8758 s,@AUTOHEADER@,$AUTOHEADER,;t t
8759 s,@MAKEINFO@,$MAKEINFO,;t t
8760 s,@AMTAR@,$AMTAR,;t t
8761 s,@install_sh@,$install_sh,;t t
8762 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8764 s,@SET_MAKE@,$SET_MAKE,;t t
8765 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8766 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8767 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8768 s,@DEPDIR@,$DEPDIR,;t t
8770 s,@CFLAGS@,$CFLAGS,;t t
8771 s,@LDFLAGS@,$LDFLAGS,;t t
8772 s,@CPPFLAGS@,$CPPFLAGS,;t t
8773 s,@ac_ct_CC@,$ac_ct_CC,;t t
8774 s,@am__include@,$am__include,;t t
8775 s,@am__quote@,$am__quote,;t t
8776 s,@CCDEPMODE@,$CCDEPMODE,;t t
8778 s,@RANLIB@,$RANLIB,;t t
8779 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8781 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
8783 s,@ANSI2KNR@,$ANSI2KNR,;t t
8784 s,@ALLOCA@,$ALLOCA,;t t
8785 s,@LIBOBJS@,$LIBOBJS,;t t
8786 s,@build@,$build,;t t
8787 s,@build_cpu@,$build_cpu,;t t
8788 s,@build_vendor@,$build_vendor,;t t
8789 s,@build_os@,$build_os,;t t
8791 s,@host_cpu@,$host_cpu,;t t
8792 s,@host_vendor@,$host_vendor,;t t
8793 s,@host_os@,$host_os,;t t
8794 s,@GLIBC21@,$GLIBC21,;t t
8795 s,@LIBICONV@,$LIBICONV,;t t
8796 s,@USE_NLS@,$USE_NLS,;t t
8797 s,@MSGFMT@,$MSGFMT,;t t
8798 s,@GMSGFMT@,$GMSGFMT,;t t
8799 s,@XGETTEXT@,$XGETTEXT,;t t
8800 s,@INTLBISON@,$INTLBISON,;t t
8801 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
8802 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
8803 s,@CATALOGS@,$CATALOGS,;t t
8804 s,@CATOBJEXT@,$CATOBJEXT,;t t
8805 s,@GMOFILES@,$GMOFILES,;t t
8806 s,@INTLLIBS@,$INTLLIBS,;t t
8807 s,@INTLOBJS@,$INTLOBJS,;t t
8808 s,@POFILES@,$POFILES,;t t
8809 s,@POSUB@,$POSUB,;t t
8810 s,@DATADIRNAME@,$DATADIRNAME,;t t
8811 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8812 s,@GENCAT@,$GENCAT,;t t
8813 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8814 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
8819 cat >>$CONFIG_STATUS <<\_ACEOF
8820 # Split the substitutions into bite-sized pieces for seds with
8821 # small command number limits, like on Digital OSF/1 and HP-UX.
8823 ac_sed_frag
=1 # Number of current file.
8824 ac_beg
=1 # First line for current file.
8825 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8828 while $ac_more_lines; do
8829 if test $ac_beg -gt 1; then
8830 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8832 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8834 if test ! -s $tmp/subs.frag
; then
8837 # The purpose of the label and of the branching condition is to
8838 # speed up the sed processing (if there are no `@' at all, there
8839 # is no need to browse any of the substitutions).
8840 # These are the two extra sed commands mentioned above.
8842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
8843 if test -z "$ac_sed_cmds"; then
8844 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8846 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8848 ac_sed_frag
=`expr $ac_sed_frag + 1`
8850 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8853 if test -z "$ac_sed_cmds"; then
8856 fi # test -n "$CONFIG_FILES"
8859 cat >>$CONFIG_STATUS <<\_ACEOF
8860 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8861 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8863 - | *:- | *:-:* ) # input from stdin
8865 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8866 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8867 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8868 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8869 * ) ac_file_in
=$ac_file.
in ;;
8872 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8873 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8874 X"$ac_file" : 'X\(//\)[^/]' \| \
8875 X"$ac_file" : 'X\(//\)$' \| \
8876 X"$ac_file" : 'X\(/\)' \| \
8877 . : '\(.\)' 2>/dev/null ||
8879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8881 /^X\(\/\/\)$/{ s//\1/; q; }
8882 /^X\(\/\).*/{ s//\1/; q; }
8885 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8889 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8890 case $as_mkdir_dir in
8891 # Skip DOS drivespec
8892 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8894 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8895 test -d "$as_incr_dir" ||
8896 mkdir "$as_incr_dir" ||
8897 { { echo "$as_me:8897: error: cannot create \"$ac_dir\"" >&5
8898 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8899 { (exit 1); exit 1; }; }
8904 if test "$ac_dir" != .
; then
8905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\./,,'`
8906 # A "../" for each directory in $ac_dir_suffix.
8907 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8909 ac_dir_suffix
= ac_top_builddir
=
8913 .
) # No --srcdir option. We are building in place.
8915 if test -z "$ac_top_builddir"; then
8918 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8920 [\\/]* | ?
:[\\/]* ) # Absolute path.
8921 ac_srcdir
=$srcdir$ac_dir_suffix;
8922 ac_top_srcdir
=$srcdir ;;
8924 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8925 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8929 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8930 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8933 if test x
"$ac_file" != x
-; then
8934 { echo "$as_me:8934: creating $ac_file" >&5
8935 echo "$as_me: creating $ac_file" >&6;}
8938 # Let's still pretend it is `configure' which instantiates (i.e., don't
8939 # use $as_me), people would be surprised to read:
8940 # /* config.h. Generated automatically by config.status. */
8941 configure_input
="Generated automatically from `echo $ac_file_in |
8942 sed 's,.*/,,'` by configure."
8944 # First look for the input files in the build tree, otherwise in the
8946 ac_file_inputs
=`IFS=:
8947 for f in $ac_file_in; do
8949 -) echo $tmp/stdin ;;
8951 # Absolute (can't be DOS-style, as IFS=:)
8952 test -f "$f" || { { echo "$as_me:8952: error: cannot find input file: $f" >&5
8953 echo "$as_me: error: cannot find input file: $f" >&2;}
8954 { (exit 1); exit 1; }; }
8957 if test -f "$f"; then
8960 elif test -f "$srcdir/$f"; then
8965 { { 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 done` || { (exit 1); exit 1; }
8972 cat >>$CONFIG_STATUS <<_ACEOF
8976 cat >>$CONFIG_STATUS <<\_ACEOF
8978 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8979 s
,@configure_input@
,$configure_input,;t t
8980 s
,@srcdir@
,$ac_srcdir,;t t
8981 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8982 s
,@INSTALL@
,$ac_INSTALL,;t t
8983 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8985 if test x"$ac_file" != x-; then
8986 mv $tmp/out $ac_file
8994 cat >>$CONFIG_STATUS <<\_ACEOF
8997 # CONFIG_HEADER section.
9000 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9001 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9003 # ac_d sets the value in "#define NAME VALUE" lines.
9004 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9005 ac_dB
='[ ].*$,\1#\2'
9008 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9009 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9010 ac_uB
='$,\1#\2define\3'
9014 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9015 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9017 - | *:- | *:-:* ) # input from stdin
9019 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9020 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9021 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9022 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9023 * ) ac_file_in
=$ac_file.
in ;;
9026 test x
"$ac_file" != x
- && { echo "$as_me:9026: creating $ac_file" >&5
9027 echo "$as_me: creating $ac_file" >&6;}
9029 # First look for the input files in the build tree, otherwise in the
9031 ac_file_inputs
=`IFS=:
9032 for f in $ac_file_in; do
9034 -) echo $tmp/stdin ;;
9036 # Absolute (can't be DOS-style, as IFS=:)
9037 test -f "$f" || { { echo "$as_me:9037: error: cannot find input file: $f" >&5
9038 echo "$as_me: error: cannot find input file: $f" >&2;}
9039 { (exit 1); exit 1; }; }
9042 if test -f "$f"; then
9045 elif test -f "$srcdir/$f"; then
9050 { { 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 done` || { (exit 1); exit 1; }
9056 # Remove the trailing spaces.
9057 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9061 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9062 # `conftest.undefs', that substitutes the proper values into
9063 # config.h.in to produce config.h. The first handles `#define'
9064 # templates, and the second `#undef' templates.
9065 # And first: Protect against being on the right side of a sed subst in
9066 # config.status. Protect against being in an unquoted here document
9068 rm -f conftest.defines conftest.undefs
9069 # Using a here document instead of a string reduces the quoting nightmare.
9070 # Putting comments in sed scripts is not portable.
9072 # `end' is used to avoid that the second main sed command (meant for
9073 # 0-ary CPP macros) applies to n-ary macro definitions.
9074 # See the Autoconf documentation for `clear'.
9075 cat >confdef2sed.
sed <<\_ACEOF
9080 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9082 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9085 # If some macros were called several times there might be several times
9086 # the same #defines, which is useless. Nevertheless, we may not want to
9087 # sort them, since we want the *last* AC-DEFINE to be honored.
9088 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9089 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9090 rm -f confdef2sed.sed
9092 # This sed command replaces #undef with comments. This is necessary, for
9093 # example, in the case of _POSIX_SOURCE, which is predefined and required
9094 # on some systems where configure will not decide to define it.
9095 cat >>conftest.undefs <<\_ACEOF
9096 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9099 # Break up conftest.defines because some shells have a limit on the size
9100 # of here documents, and old seds have small limits too (100 cmds).
9101 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9102 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9103 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9104 echo ' :' >>$CONFIG_STATUS
9106 while grep . conftest.defines >/dev/null
9108 # Write a limited-size here document to $tmp/defines.sed.
9109 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9110 # Speed up: don't consider the non `#define' lines.
9111 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9112 # Work around the forget-to-reset-the-flag bug.
9113 echo 't clr' >>$CONFIG_STATUS
9114 echo ': clr' >>$CONFIG_STATUS
9115 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9117 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9121 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9122 rm -f conftest.defines
9123 mv conftest.
tail conftest.defines
9125 rm -f conftest.defines
9126 echo ' fi # egrep' >>$CONFIG_STATUS
9127 echo >>$CONFIG_STATUS
9129 # Break up conftest.undefs because some shells have a limit on the size
9130 # of here documents, and old seds have small limits too (100 cmds).
9131 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9133 while grep . conftest.undefs
>/dev
/null
9135 # Write a limited-size here document to $tmp/undefs.sed.
9136 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9137 # Speed up: don't consider the non
`#undef'
9138 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9139 # Work around the forget-to-reset-the-flag bug.
9140 echo 't clr' >>$CONFIG_STATUS
9141 echo ': clr' >>$CONFIG_STATUS
9142 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9144 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9148 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9149 rm -f conftest.undefs
9150 mv conftest.tail conftest.undefs
9152 rm -f conftest.undefs
9154 cat >>$CONFIG_STATUS <<\_ACEOF
9155 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9156 # use $as_me), people would be surprised to read:
9157 # /* config.h. Generated automatically by config.status. */
9158 if test x
"$ac_file" = x
-; then
9159 echo "/* Generated automatically by configure. */" >$tmp/config.h
9161 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
9163 cat $tmp/in >>$tmp/config.h
9165 if test x
"$ac_file" != x
-; then
9166 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
9167 { echo "$as_me:9167: $ac_file is unchanged" >&5
9168 echo "$as_me: $ac_file is unchanged" >&6;}
9170 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9171 X"$ac_file" : 'X\(//\)[^/]' \| \
9172 X"$ac_file" : 'X\(//\)$' \| \
9173 X"$ac_file" : 'X\(/\)' \| \
9174 . : '\(.\)' 2>/dev/null ||
9176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9178 /^X\(\/\/\)$/{ s//\1/; q; }
9179 /^X\(\/\).*/{ s//\1/; q; }
9182 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9186 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9187 case $as_mkdir_dir in
9188 # Skip DOS drivespec
9189 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9191 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9192 test -d "$as_incr_dir" ||
9193 mkdir "$as_incr_dir" ||
9194 { { echo "$as_me:9194: error: cannot create \"$ac_dir\"" >&5
9195 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9196 { (exit 1); exit 1; }; }
9202 mv $tmp/config.h
$ac_file
9208 # Run the commands associated with the file.
9210 config.h
) # update the timestamp
9211 echo timestamp
>"./stamp-h1"
9216 cat >>$CONFIG_STATUS <<\_ACEOF
9219 # CONFIG_COMMANDS section.
9221 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9222 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9223 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9224 ac_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9225 X"$ac_dest" : 'X\(//\)[^/]' \| \
9226 X"$ac_dest" : 'X\(//\)$' \| \
9227 X"$ac_dest" : 'X\(/\)' \| \
9228 . : '\(.\)' 2>/dev/null ||
9230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9232 /^X\(\/\/\)$/{ s//\1/; q; }
9233 /^X\(\/\).*/{ s//\1/; q; }
9235 if test "$ac_dir" != .
; then
9236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\./,,'`
9237 # A "../" for each directory in $ac_dir_suffix.
9238 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9240 ac_dir_suffix
= ac_top_builddir
=
9244 .
) # No --srcdir option. We are building in place.
9246 if test -z "$ac_top_builddir"; then
9249 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9251 [\\/]* | ?
:[\\/]* ) # Absolute path.
9252 ac_srcdir
=$srcdir$ac_dir_suffix;
9253 ac_top_srcdir
=$srcdir ;;
9255 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9256 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9259 { echo "$as_me:9259: executing $ac_dest commands" >&5
9260 echo "$as_me: executing $ac_dest commands" >&6;}
9262 tests
/atconfig
) # Do not use _ACEOF as we are being dumped into config.status via
9263 # an _ACEOF-heredoe.
9264 cat >tests
/atconfig
<<ATEOF
9265 # Configurable variable values for building test suites.
9267 # Copyright 2000, 2001 Free Software Foundation, Inc.
9269 at_package_name='$at_package_name'
9270 at_package_version='$at_package_version'
9271 at_package_string='$at_package_string'
9272 at_bugreport='$at_bugreport'
9279 top_srcdir='$ac_top_srcdir'
9280 top_builddir='$ac_top_builddir'
9282 AUTOTEST_PATH='tests'
9284 SHELL=\${CONFIG_SHELL-'$at_shell'}
9285 PATH_SEPARATOR='$at_path_separator'
9289 test x
"$AMDEP_TRUE" != x
"" ||
9290 for mf
in $CONFIG_FILES; do
9292 Makefile
) dirpart
=.
;;
9293 */Makefile
) dirpart
=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
9296 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
9297 # Extract the definition of DEP_FILES from the Makefile without
9299 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9300 test -z "$DEPDIR" && continue
9301 # When using ansi2knr, U may be empty or an underscore; expand it
9302 U
=`sed -n -e '/^U = / s///p' < "$mf"`
9303 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9304 # We invoke sed twice because it is the simplest approach to
9305 # changing $(DEPDIR) to its actual value in the expansion.
9306 for file in `sed -n -e '
9307 /^DEP_FILES = .*\\\\$/ {
9316 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9317 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9318 # Make sure the directory exists.
9319 test -f "$dirpart/$file" && continue
9320 fdir
=`echo "$file" | sed -e 's|/[^/]*$||'`
9321 $ac_aux_dir/mkinstalldirs
"$dirpart/$fdir" > /dev
/null
2>&1
9322 # echo "creating $dirpart/$file"
9323 echo '# dummy' > "$dirpart/$file"
9327 default
-2 ) for ac_file
in $CONFIG_FILES; do
9328 # Support "outfile[:infile[:infile...]]"
9330 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9332 # PO directories have a Makefile.in generated from Makefile.in.in.
9333 case "$ac_file" in */Makefile.
in)
9334 # Adjust a relative srcdir.
9335 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9336 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9337 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9338 # In autoconf-2.13 it is called $ac_given_srcdir.
9339 # In autoconf-2.50 it is called $srcdir.
9340 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9341 case "$ac_given_srcdir" in
9342 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9343 /*) top_srcdir
="$ac_given_srcdir" ;;
9344 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9346 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9347 rm -f "$ac_dir/POTFILES"
9348 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9349 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
9350 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9351 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9360 cat >>$CONFIG_STATUS <<\_ACEOF
9362 { (exit 0); exit 0; }
9364 chmod +x
$CONFIG_STATUS
9365 ac_clean_files
=$ac_clean_files_save
9367 # configure is writing to config.log, and then calls config.status.
9368 # config.status does its own redirection, appending to config.log.
9369 # Unfortunately, on DOS this fails, as config.log is still kept open
9370 # by configure, so config.status won't be able to write to it; its
9371 # output is simply discarded. So we exec the FD to /dev/null,
9372 # effectively closing config.log, so it can be properly (re)opened and
9373 # appended to by config.status. When coming back to configure, we
9374 # need to make the FD available again.
9375 if test "$no_create" != yes; then
9378 $SHELL $CONFIG_STATUS || ac_cs_success
=false
9380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9381 # would make configure fail if this is the last instruction.
9382 $ac_cs_success || { (exit 1); exit 1; }