2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for GNU diffutils 2.8.1.
5 # Report bugs to <bug-gnu-utils@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 if mkdir
-p .
2>/dev
/null
; then
18 if expr a
: '\(a\)' >/dev
/null
2>&1; then
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
38 # Support unset when possible.
39 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
45 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
46 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
47 { LANG
=C
; export LANG
; }
48 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
49 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
50 { LC_ALL
=C
; export LC_ALL
; }
51 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
52 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
53 { LC_TIME
=C
; export LC_TIME
; }
54 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
55 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
56 { LC_CTYPE
=C
; export LC_CTYPE
; }
57 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
58 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
59 { LANGUAGE
=C
; export LANGUAGE
; }
60 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
61 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
62 { LC_COLLATE
=C
; export LC_COLLATE
; }
63 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
64 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
65 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
66 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
67 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
68 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
71 # Name of the executable.
72 as_me
=`(basename "$0") 2>/dev/null ||
73 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
74 X"$0" : 'X\(//\)$' \| \
75 X"$0" : 'X\(/\)$' \| \
76 . : '\(.\)' 2>/dev/null ||
78 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
79 /^X\/\(\/\/\)$/{ s//\1/; q; }
80 /^X\/\(\/\).*/{ s//\1/; q; }
83 # PATH needs CR, and LINENO needs CR and PATH.
84 # Avoid depending upon Character Ranges.
85 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
86 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
87 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
88 as_cr_digits
='0123456789'
89 as_cr_alnum
=$as_cr_Letters$as_cr_digits
91 # The user is always right.
92 if test "${PATH_SEPARATOR+set}" != set; then
93 echo "#! /bin/sh" >conftest.sh
94 echo "exit 0" >>conftest.sh
96 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
107 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
108 test "x$as_lineno_1" != "x$as_lineno_2" &&
109 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
110 # Find who we are. Look in the path if we contain no path at all
113 *[\\/]* ) as_myself
=$0 ;;
114 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
118 test -z "$as_dir" && as_dir
=.
119 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
124 # We did not find ourselves, most probably we were run as `sh COMMAND'
125 # in which case we are not to be found in the path.
126 if test "x$as_myself" = x
; then
129 if test ! -f "$as_myself"; then
130 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
131 { (exit 1); exit 1; }; }
133 case $CONFIG_SHELL in
135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
136 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
139 test -z "$as_dir" && as_dir
=.
140 for as_base
in sh bash ksh sh5
; do
143 if ("$as_dir/$as_base" -c '
146 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
147 test "x$as_lineno_1" != "x$as_lineno_2" &&
148 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 as_executable_p
="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
237 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix
=/usr
/local
255 SHELL
=${CONFIG_SHELL-/bin/sh}
257 # Maximum number of lines to put in a shell here document.
258 # This variable seems obsolete. It should probably be removed, and
259 # only ac_max_sed_lines should be used.
260 : ${ac_max_here_lines=38}
262 # Identity of this package.
263 PACKAGE_NAME
='GNU diffutils'
264 PACKAGE_TARNAME
='diffutils'
265 PACKAGE_VERSION
='2.8.1'
266 PACKAGE_STRING
='GNU diffutils 2.8.1'
267 PACKAGE_BUGREPORT
='bug-gnu-utils@gnu.org'
269 ac_unique_file
="src/diff.c"
270 # Factoring default headers for most tests.
271 ac_includes_default
="\
274 # include <sys/types.h>
277 # include <sys/stat.h>
288 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <strings.h>
297 # include <inttypes.h>
308 # Initialize some variables set by options.
310 ac_init_version
=false
311 # The variables have the same names as the options, with
312 # dashes changed to underlines.
320 program_transform_name
=s
,x
,x
,
328 # Installation directory options.
329 # These are left unexpanded so users can "make install exec_prefix=/foo"
330 # and all the variables that are supposed to be based on exec_prefix
331 # by default will actually change.
332 # Use braces instead of parens because sh, perl, etc. also accept them.
333 bindir
='${exec_prefix}/bin'
334 sbindir
='${exec_prefix}/sbin'
335 libexecdir
='${exec_prefix}/libexec'
336 datadir
='${prefix}/share'
337 sysconfdir
='${prefix}/etc'
338 sharedstatedir
='${prefix}/com'
339 localstatedir
='${prefix}/var'
340 libdir
='${exec_prefix}/lib'
341 includedir
='${prefix}/include'
342 oldincludedir
='/usr/include'
343 infodir
='${prefix}/info'
344 mandir
='${prefix}/man'
349 # If the previous option needs an argument, assign it.
350 if test -n "$ac_prev"; then
351 eval "$ac_prev=\$ac_option"
356 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
358 # Accept the important Cygnus configure options, so we can diagnose typos.
362 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
364 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
367 -build |
--build |
--buil |
--bui |
--bu)
368 ac_prev
=build_alias
;;
369 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
370 build_alias
=$ac_optarg ;;
372 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
373 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
374 ac_prev
=cache_file
;;
375 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
376 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
377 cache_file
=$ac_optarg ;;
380 cache_file
=config.cache
;;
382 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
384 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
386 datadir
=$ac_optarg ;;
388 -disable-* |
--disable-*)
389 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
390 # Reject names that are not valid shell variable names.
391 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
392 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
393 { (exit 1); exit 1; }; }
394 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
395 eval "enable_$ac_feature=no" ;;
397 -enable-* |
--enable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
408 eval "enable_$ac_feature='$ac_optarg'" ;;
410 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
411 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
412 |
--exec |
--exe |
--ex)
413 ac_prev
=exec_prefix
;;
414 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
415 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
416 |
--exec=* |
--exe=* |
--ex=*)
417 exec_prefix
=$ac_optarg ;;
419 -gas |
--gas |
--ga |
--g)
420 # Obsolete; use --with-gas.
423 -help |
--help |
--hel |
--he |
-h)
425 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
426 ac_init_help
=recursive
;;
427 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
428 ac_init_help
=short
;;
430 -host |
--host |
--hos |
--ho)
431 ac_prev
=host_alias
;;
432 -host=* |
--host=* |
--hos=* |
--ho=*)
433 host_alias
=$ac_optarg ;;
435 -includedir |
--includedir |
--includedi |
--included |
--include \
436 |
--includ |
--inclu |
--incl |
--inc)
437 ac_prev
=includedir
;;
438 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
439 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
440 includedir
=$ac_optarg ;;
442 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
444 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
445 infodir
=$ac_optarg ;;
447 -libdir |
--libdir |
--libdi |
--libd)
449 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
452 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
453 |
--libexe |
--libex |
--libe)
454 ac_prev
=libexecdir
;;
455 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
456 |
--libexe=* |
--libex=* |
--libe=*)
457 libexecdir
=$ac_optarg ;;
459 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
460 |
--localstate |
--localstat |
--localsta |
--localst \
461 |
--locals |
--local |
--loca |
--loc |
--lo)
462 ac_prev
=localstatedir
;;
463 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
464 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
465 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
466 localstatedir
=$ac_optarg ;;
468 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
470 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
474 # Obsolete; use --without-fp.
477 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
478 |
--no-cr |
--no-c |
-n)
481 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
482 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
485 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
486 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
487 |
--oldin |
--oldi |
--old |
--ol |
--o)
488 ac_prev
=oldincludedir
;;
489 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
490 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
491 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
492 oldincludedir
=$ac_optarg ;;
494 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
496 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
499 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
500 |
--program-pre |
--program-pr |
--program-p)
501 ac_prev
=program_prefix
;;
502 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
503 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
504 program_prefix
=$ac_optarg ;;
506 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
507 |
--program-suf |
--program-su |
--program-s)
508 ac_prev
=program_suffix
;;
509 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
510 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
511 program_suffix
=$ac_optarg ;;
513 -program-transform-name |
--program-transform-name \
514 |
--program-transform-nam |
--program-transform-na \
515 |
--program-transform-n |
--program-transform- \
516 |
--program-transform |
--program-transfor \
517 |
--program-transfo |
--program-transf \
518 |
--program-trans |
--program-tran \
519 |
--progr-tra |
--program-tr |
--program-t)
520 ac_prev
=program_transform_name
;;
521 -program-transform-name=* |
--program-transform-name=* \
522 |
--program-transform-nam=* |
--program-transform-na=* \
523 |
--program-transform-n=* |
--program-transform-=* \
524 |
--program-transform=* |
--program-transfor=* \
525 |
--program-transfo=* |
--program-transf=* \
526 |
--program-trans=* |
--program-tran=* \
527 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
528 program_transform_name
=$ac_optarg ;;
530 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
531 |
-silent |
--silent |
--silen |
--sile |
--sil)
534 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
536 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
538 sbindir
=$ac_optarg ;;
540 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
541 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
542 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
544 ac_prev
=sharedstatedir
;;
545 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
546 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
547 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
549 sharedstatedir
=$ac_optarg ;;
551 -site |
--site |
--sit)
553 -site=* |
--site=* |
--sit=*)
556 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
558 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
561 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
562 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
563 ac_prev
=sysconfdir
;;
564 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
565 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
566 sysconfdir
=$ac_optarg ;;
568 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
569 ac_prev
=target_alias
;;
570 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
571 target_alias
=$ac_optarg ;;
573 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
576 -version |
--version |
--versio |
--versi |
--vers |
-V)
580 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
583 { echo "$as_me: error: invalid package name: $ac_package" >&2
584 { (exit 1); exit 1; }; }
585 ac_package
=`echo $ac_package| sed 's/-/_/g'`
587 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
590 eval "with_$ac_package='$ac_optarg'" ;;
592 -without-* |
--without-*)
593 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
596 { echo "$as_me: error: invalid package name: $ac_package" >&2
597 { (exit 1); exit 1; }; }
598 ac_package
=`echo $ac_package | sed 's/-/_/g'`
599 eval "with_$ac_package=no" ;;
602 # Obsolete; use --with-x.
605 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
606 |
--x-incl |
--x-inc |
--x-in |
--x-i)
607 ac_prev
=x_includes
;;
608 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
609 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
610 x_includes
=$ac_optarg ;;
612 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
613 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
614 ac_prev
=x_libraries
;;
615 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
616 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
617 x_libraries
=$ac_optarg ;;
619 -*) { echo "$as_me: error: unrecognized option: $ac_option
620 Try \`$0 --help' for more information." >&2
621 { (exit 1); exit 1; }; }
625 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
626 # Reject names that are not valid shell variable names.
627 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
628 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
629 { (exit 1); exit 1; }; }
630 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
631 eval "$ac_envvar='$ac_optarg'"
635 # FIXME: should be removed in autoconf 3.0.
636 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
637 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
638 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
639 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
645 if test -n "$ac_prev"; then
646 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
647 { echo "$as_me: error: missing argument to $ac_option" >&2
648 { (exit 1); exit 1; }; }
651 # Be sure to have absolute paths.
652 for ac_var
in exec_prefix prefix
654 eval ac_val
=$
`echo $ac_var`
656 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
657 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
658 { (exit 1); exit 1; }; };;
662 # Be sure to have absolute paths.
663 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
664 localstatedir libdir includedir oldincludedir infodir mandir
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # There might be people who depend on the old broken behavior: `$host'
675 # used to hold the argument of --host etc.
676 # FIXME: To remove some day.
681 # FIXME: To remove some day.
682 if test "x$host_alias" != x
; then
683 if test "x$build_alias" = x
; then
684 cross_compiling
=maybe
685 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
686 If a cross compiler is detected then cross compile mode will be used." >&2
687 elif test "x$build_alias" != "x$host_alias"; then
693 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
695 test "$silent" = yes && exec 6>/dev
/null
698 # Find the source files, if location was not specified.
699 if test -z "$srcdir"; then
700 ac_srcdir_defaulted
=yes
701 # Try the directory containing this script, then its parent.
702 ac_confdir
=`(dirname "$0") 2>/dev/null ||
703 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
704 X"$0" : 'X\(//\)[^/]' \| \
705 X"$0" : 'X\(//\)$' \| \
706 X"$0" : 'X\(/\)' \| \
707 . : '\(.\)' 2>/dev/null ||
709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
711 /^X\(\/\/\)$/{ s//\1/; q; }
712 /^X\(\/\).*/{ s//\1/; q; }
715 if test ! -r $srcdir/$ac_unique_file; then
719 ac_srcdir_defaulted
=no
721 if test ! -r $srcdir/$ac_unique_file; then
722 if test "$ac_srcdir_defaulted" = yes; then
723 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
724 { (exit 1); exit 1; }; }
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
727 { (exit 1); exit 1; }; }
730 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
731 ac_env_build_alias_set
=${build_alias+set}
732 ac_env_build_alias_value
=$build_alias
733 ac_cv_env_build_alias_set
=${build_alias+set}
734 ac_cv_env_build_alias_value
=$build_alias
735 ac_env_host_alias_set
=${host_alias+set}
736 ac_env_host_alias_value
=$host_alias
737 ac_cv_env_host_alias_set
=${host_alias+set}
738 ac_cv_env_host_alias_value
=$host_alias
739 ac_env_target_alias_set
=${target_alias+set}
740 ac_env_target_alias_value
=$target_alias
741 ac_cv_env_target_alias_set
=${target_alias+set}
742 ac_cv_env_target_alias_value
=$target_alias
743 ac_env_CC_set
=${CC+set}
745 ac_cv_env_CC_set
=${CC+set}
746 ac_cv_env_CC_value
=$CC
747 ac_env_CFLAGS_set
=${CFLAGS+set}
748 ac_env_CFLAGS_value
=$CFLAGS
749 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
750 ac_cv_env_CFLAGS_value
=$CFLAGS
751 ac_env_LDFLAGS_set
=${LDFLAGS+set}
752 ac_env_LDFLAGS_value
=$LDFLAGS
753 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
754 ac_cv_env_LDFLAGS_value
=$LDFLAGS
755 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
756 ac_env_CPPFLAGS_value
=$CPPFLAGS
757 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_env_CPP_set
=${CPP+set}
760 ac_env_CPP_value
=$CPP
761 ac_cv_env_CPP_set
=${CPP+set}
762 ac_cv_env_CPP_value
=$CPP
765 # Report the --help message.
767 if test "$ac_init_help" = "long"; then
768 # Omit some internal or obsolete options to make the list less imposing.
769 # This message is too long to be a string in the A/UX 3.1 sh.
771 \`configure' configures GNU diffutils 2.8.1 to adapt to many kinds of systems.
773 Usage: $0 [OPTION]... [VAR=VALUE]...
775 To assign environment variables (e.g., CC, CFLAGS...), specify them as
776 VAR=VALUE. See below for descriptions of some of the useful variables.
778 Defaults for the options are specified in brackets.
781 -h, --help display this help and exit
782 --help=short display options specific to this package
783 --help=recursive display the short help of all the included packages
784 -V, --version display version information and exit
785 -q, --quiet, --silent do not print \`checking...' messages
786 --cache-file=FILE cache test results in FILE [disabled]
787 -C, --config-cache alias for \`--cache-file=config.cache'
788 -n, --no-create do not create output files
789 --srcdir=DIR find the sources in DIR [configure dir or \`..']
794 Installation directories:
795 --prefix=PREFIX install architecture-independent files in PREFIX
797 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 By default, \`make install' will install all the files in
801 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
802 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
803 for instance \`--prefix=\$HOME'.
805 For better control, use the options below.
807 Fine tuning of the installation directories:
808 --bindir=DIR user executables [EPREFIX/bin]
809 --sbindir=DIR system admin executables [EPREFIX/sbin]
810 --libexecdir=DIR program executables [EPREFIX/libexec]
811 --datadir=DIR read-only architecture-independent data [PREFIX/share]
812 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
813 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
814 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
815 --libdir=DIR object code libraries [EPREFIX/lib]
816 --includedir=DIR C header files [PREFIX/include]
817 --oldincludedir=DIR C header files for non-gcc [/usr/include]
818 --infodir=DIR info documentation [PREFIX/info]
819 --mandir=DIR man documentation [PREFIX/man]
825 --program-prefix=PREFIX prepend PREFIX to installed program names
826 --program-suffix=SUFFIX append SUFFIX to installed program names
827 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
830 --build=BUILD configure
for building on BUILD
[guessed
]
831 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
835 if test -n "$ac_init_help"; then
836 case $ac_init_help in
837 short | recursive
) echo "Configuration of GNU diffutils 2.8.1:";;
842 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
843 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
844 --disable-dependency-tracking Speeds up one-time builds
845 --enable-dependency-tracking Do not reject slow dependency extractors
846 --disable-largefile omit support
for large files
847 --disable-nls do not use Native Language Support
850 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
851 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
852 --with-gnu-ld assume the C compiler uses GNU ld default
=no
853 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
854 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
855 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
856 --without-libintl-prefix don't search
for libintl
in includedir and libdir
857 --without-included-regex don
't compile regex; this is the default on
858 systems with version 2 of the GNU C library
859 (use with caution on other system)
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to
help
871 it to
find libraries and programs with nonstandard names
/locations.
873 Report bugs to
<bug-gnu-utils@gnu.org
>.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
881 test -d $ac_dir ||
continue
884 if test "$ac_dir" != .
; then
885 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix
= ac_top_builddir
=
893 .
) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
900 [\\/]* | ?
:[\\/]* ) # Absolute path.
901 ac_srcdir
=$srcdir$ac_dir_suffix;
902 ac_top_srcdir
=$srcdir ;;
904 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
909 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
910 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
911 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu
; then
918 $SHELL $ac_srcdir/configure.gnu
--help=recursive
919 elif test -f $ac_srcdir/configure
; then
921 $SHELL $ac_srcdir/configure
--help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.
in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
936 GNU diffutils configure
2.8.1
937 generated by GNU Autoconf
2.53
939 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
940 Free Software Foundation
, Inc.
941 This configure
script is free software
; the Free Software Foundation
942 gives unlimited permission to copy
, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by GNU diffutils $as_me 2.8.1, which was
952 generated by GNU Autoconf 2.53. Invocation command line was
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir
=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Also quote any args containing shell meta-characters.
1010 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1011 |
--no-cr |
--no-c |
-n ) continue ;;
1012 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1013 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1016 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018 case " $ac_configure_args " in
1019 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1020 *) ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1023 # Get rid of the leading space.
1026 # When interrupted or exit'd, cleanup temporary files, and complete
1027 # config.log. We remove comments because anyway the quotes in there
1028 # would cause problems or look ugly.
1029 # WARNING: Be sure not to use single quotes in there, as some shells,
1030 # such as our DU 5.0 friend, will then `close' the trap.
1031 trap 'exit_status=$?
1032 # Save into config.log some information that might help in debugging.
1036 ## ---------------- ##
1037 ## Cache variables. ##
1038 ## ---------------- ##
1041 # The following way of writing the cache mishandles newlines in values,
1044 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1047 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057 if test -s confdefs.h; then
1064 sed "/^$/d" confdefs.h
1067 test "$ac_signal" != 0 &&
1068 echo "$as_me: caught signal $ac_signal"
1069 echo "$as_me: exit $exit_status"
1071 rm -f core core.* *.core &&
1072 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1075 for ac_signal
in 1 2 13 15; do
1076 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1081 rm -rf conftest
* confdefs.h
1082 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1085 # Predefined preprocessor variables.
1087 cat >>confdefs.h
<<_ACEOF
1088 #define PACKAGE_NAME "$PACKAGE_NAME"
1092 cat >>confdefs.h
<<_ACEOF
1093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1097 cat >>confdefs.h
<<_ACEOF
1098 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1102 cat >>confdefs.h
<<_ACEOF
1103 #define PACKAGE_STRING "$PACKAGE_STRING"
1107 cat >>confdefs.h
<<_ACEOF
1108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1112 # Let the site file select an alternate cache file if it wants to.
1113 # Prefer explicitly selected file to automatically selected ones.
1114 if test -z "$CONFIG_SITE"; then
1115 if test "x$prefix" != xNONE
; then
1116 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1118 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1121 for ac_site_file
in $CONFIG_SITE; do
1122 if test -r "$ac_site_file"; then
1123 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1124 echo "$as_me: loading site script $ac_site_file" >&6;}
1125 sed 's/^/| /' "$ac_site_file" >&5
1130 if test -r "$cache_file"; then
1131 # Some versions of bash will fail to source /dev/null (special
1132 # files actually), so we avoid doing that.
1133 if test -f "$cache_file"; then
1134 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1135 echo "$as_me: loading cache $cache_file" >&6;}
1137 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1138 *) . .
/$cache_file;;
1142 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1143 echo "$as_me: creating cache $cache_file" >&6;}
1147 # Check that the precious variables saved in the cache have kept the same
1149 ac_cache_corrupted
=false
1150 for ac_var
in `(set) 2>&1 |
1151 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1152 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1153 eval ac_new_set
=\
$ac_env_${ac_var}_set
1154 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1155 eval ac_new_val
="\$ac_env_${ac_var}_value"
1156 case $ac_old_set,$ac_new_set in
1158 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1159 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1160 ac_cache_corrupted
=: ;;
1162 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1163 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1164 ac_cache_corrupted
=: ;;
1167 if test "x$ac_old_val" != "x$ac_new_val"; then
1168 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1169 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1170 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1171 echo "$as_me: former value: $ac_old_val" >&2;}
1172 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1173 echo "$as_me: current value: $ac_new_val" >&2;}
1174 ac_cache_corrupted
=:
1177 # Pass precious variables to config.status.
1178 if test "$ac_new_set" = set; then
1180 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1181 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1182 *) ac_arg
=$ac_var=$ac_new_val ;;
1184 case " $ac_configure_args " in
1185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1186 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1190 if $ac_cache_corrupted; then
1191 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1192 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1193 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1194 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1195 { (exit 1); exit 1; }; }
1199 ac_cpp
='$CPP $CPPFLAGS'
1200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1232 for ac_dir
in config
$srcdir/config
; do
1233 if test -f $ac_dir/install-sh
; then
1235 ac_install_sh
="$ac_aux_dir/install-sh -c"
1237 elif test -f $ac_dir/install.sh
; then
1239 ac_install_sh
="$ac_aux_dir/install.sh -c"
1241 elif test -f $ac_dir/shtool
; then
1243 ac_install_sh
="$ac_aux_dir/shtool install -c"
1247 if test -z "$ac_aux_dir"; then
1248 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1249 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1250 { (exit 1); exit 1; }; }
1252 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1253 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1254 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1256 # Add the stamp file to the list of files AC keeps track of,
1257 # along with our hook.
1258 ac_config_headers
="$ac_config_headers config.h:config.hin"
1262 am__api_version
="1.6"
1263 # Find a good install program. We prefer a C program (faster),
1264 # so one script is as good as another. But avoid the broken or
1265 # incompatible versions:
1266 # SysV /etc/install, /usr/sbin/install
1267 # SunOS /usr/etc/install
1268 # IRIX /sbin/install
1270 # AmigaOS /C/install, which installs bootblocks on floppy discs
1271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1274 # ./install, which can be erroneously created by make from ./install.sh.
1275 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1276 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1277 if test -z "$INSTALL"; then
1278 if test "${ac_cv_path_install+set}" = set; then
1279 echo $ECHO_N "(cached) $ECHO_C" >&6
1281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1285 test -z "$as_dir" && as_dir
=.
1286 # Account for people who put trailing slashes in PATH elements.
1288 .
/ | .
// |
/cC
/* | \
1289 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1292 # OSF1 and SCO ODT 3.0 have their own names for install.
1293 # Don't use installbsd from OSF since it installs stuff as root
1295 for ac_prog
in ginstall scoinst
install; do
1296 for ac_exec_ext
in '' $ac_executable_extensions; do
1297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1298 if test $ac_prog = install &&
1299 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1300 # AIX install. It has an incompatible calling convention.
1302 elif test $ac_prog = install &&
1303 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1304 # program-specific install script used by HP pwplus--don't use.
1307 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1319 if test "${ac_cv_path_install+set}" = set; then
1320 INSTALL
=$ac_cv_path_install
1322 # As a last resort, use the slow shell script. We don't cache a
1323 # path for INSTALL within a source directory, because that will
1324 # break other packages using the cache if that directory is
1325 # removed, or if the path is relative.
1326 INSTALL
=$ac_install_sh
1329 echo "$as_me:$LINENO: result: $INSTALL" >&5
1330 echo "${ECHO_T}$INSTALL" >&6
1332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1333 # It thinks the first close brace ends the variable substitution.
1334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1340 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1341 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1344 echo timestamp
> conftest.
file
1345 # Do `set' in a subshell so we don't clobber the current shell's
1346 # arguments. Must try -L first in case configure is actually a
1347 # symlink; some systems play weird games with the mod time of symlinks
1348 # (eg FreeBSD returns the mod time of the symlink's containing
1351 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1352 if test "$*" = "X"; then
1354 set X
`ls -t $srcdir/configure conftest.file`
1357 if test "$*" != "X $srcdir/configure conftest.file" \
1358 && test "$*" != "X conftest.file $srcdir/configure"; then
1360 # If neither matched, then we have a broken ls. This can happen
1361 # if, for instance, CONFIG_SHELL is bash and it inherits a
1362 # broken ls alias from the environment. This has actually
1363 # happened. Such a system could not be considered "sane".
1364 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1365 alias in your environment" >&5
1366 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1367 alias in your environment" >&2;}
1368 { (exit 1); exit 1; }; }
1371 test "$2" = conftest.
file
1377 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1378 Check your system clock" >&5
1379 echo "$as_me: error: newly created file is older than distributed files!
1380 Check your system clock" >&2;}
1381 { (exit 1); exit 1; }; }
1383 echo "$as_me:$LINENO: result: yes" >&5
1384 echo "${ECHO_T}yes" >&6
1385 test "$program_prefix" != NONE
&&
1386 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1387 # Use a double $ so make ignores it.
1388 test "$program_suffix" != NONE
&&
1389 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1390 # Double any \ or $. echo might interpret backslashes.
1391 # By default was `s,x,x', remove it if useless.
1392 cat <<\_ACEOF
>conftest.
sed
1393 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1395 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1399 # expand $ac_aux_dir to an absolute path
1400 am_aux_dir
=`cd $ac_aux_dir && pwd`
1402 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1403 # Use eval to expand $SHELL
1404 if eval "$MISSING --run true"; then
1405 am_missing_run
="$MISSING --run "
1408 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1409 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1412 for ac_prog
in gawk mawk nawk
awk
1414 # Extract the first word of "$ac_prog", so it can be a program name with args.
1415 set dummy
$ac_prog; ac_word
=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_AWK+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$AWK"; then
1422 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir
=.
1429 for ac_exec_ext
in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_AWK
="$ac_prog"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1441 if test -n "$AWK"; then
1442 echo "$as_me:$LINENO: result: $AWK" >&5
1443 echo "${ECHO_T}$AWK" >&6
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1449 test -n "$AWK" && break
1452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1453 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1454 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 cat >conftest.
make <<\_ACEOF
1460 @
echo 'ac_maketemp="${MAKE}"'
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1464 if test -n "$ac_maketemp"; then
1465 eval ac_cv_prog_make_
${ac_make}_set
=yes
1467 eval ac_cv_prog_make_
${ac_make}_set
=no
1471 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1476 echo "$as_me:$LINENO: result: no" >&5
1477 echo "${ECHO_T}no" >&6
1478 SET_MAKE
="MAKE=${MAKE-make}"
1481 # test to see if srcdir already configured
1482 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1483 test -f $srcdir/config.status
; then
1484 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1485 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1486 { (exit 1); exit 1; }; }
1489 # Define the identity of the package.
1494 cat >>confdefs.h
<<_ACEOF
1495 #define PACKAGE "$PACKAGE"
1499 cat >>confdefs.h
<<_ACEOF
1500 #define VERSION "$VERSION"
1503 # Some tools Automake needs.
1505 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1508 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1511 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1514 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1517 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1520 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1522 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1524 # Installed binaries are usually stripped using `strip' when the user
1525 # run `make install-strip'. However `strip' might not be the right
1526 # tool to use in cross-compilation environments, therefore Automake
1527 # will honor the `STRIP' environment variable to overrule this program.
1528 if test "$cross_compiling" != no
; then
1529 if test -n "$ac_tool_prefix"; then
1530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1531 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_STRIP+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 if test -n "$STRIP"; then
1538 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir
=.
1545 for ac_exec_ext
in '' $ac_executable_extensions; do
1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 STRIP
=$ac_cv_prog_STRIP
1557 if test -n "$STRIP"; then
1558 echo "$as_me:$LINENO: result: $STRIP" >&5
1559 echo "${ECHO_T}$STRIP" >&6
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1566 if test -z "$ac_cv_prog_STRIP"; then
1568 # Extract the first word of "strip", so it can be a program name with args.
1569 set dummy strip
; ac_word
=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 if test -n "$ac_ct_STRIP"; then
1576 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir
=.
1583 for ac_exec_ext
in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_STRIP
="strip"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1595 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1596 if test -n "$ac_ct_STRIP"; then
1597 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1598 echo "${ECHO_T}$ac_ct_STRIP" >&6
1600 echo "$as_me:$LINENO: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1606 STRIP
="$ac_cv_prog_STRIP"
1610 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1612 # We need awk for the "check" target. The system "awk" is bad on
1618 for ac_prog
in gawk mawk nawk
awk
1620 # Extract the first word of "$ac_prog", so it can be a program name with args.
1621 set dummy
$ac_prog; ac_word
=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_AWK+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$AWK"; then
1628 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir
=.
1635 for ac_exec_ext
in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_AWK
="$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test -n "$AWK"; then
1648 echo "$as_me:$LINENO: result: $AWK" >&5
1649 echo "${ECHO_T}$AWK" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1655 test -n "$AWK" && break
1659 ac_cpp
='$CPP $CPPFLAGS'
1660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1663 if test -n "$ac_tool_prefix"; then
1664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1665 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_CC+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -n "$CC"; then
1672 ac_cv_prog_CC
="$CC" # Let the user override the test.
1674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1678 test -z "$as_dir" && as_dir
=.
1679 for ac_exec_ext
in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$ac_cv_prog_CC"; then
1702 # Extract the first word of "gcc", so it can be a program name with args.
1703 set dummy gcc
; ac_word
=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$ac_ct_CC"; then
1710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir
=.
1717 for ac_exec_ext
in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_ac_ct_CC
="gcc"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1729 if test -n "$ac_ct_CC"; then
1730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1731 echo "${ECHO_T}$ac_ct_CC" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1745 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$CC"; then
1752 ac_cv_prog_CC
="$CC" # Let the user override the test.
1754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir
=.
1759 for ac_exec_ext
in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 if test -n "$CC"; then
1772 echo "$as_me:$LINENO: result: $CC" >&5
1773 echo "${ECHO_T}$CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1780 if test -z "$ac_cv_prog_CC"; then
1782 # Extract the first word of "cc", so it can be a program name with args.
1783 set dummy cc
; ac_word
=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$ac_ct_CC"; then
1790 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir
=.
1797 for ac_exec_ext
in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_ac_ct_CC
="cc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1809 if test -n "$ac_ct_CC"; then
1810 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1811 echo "${ECHO_T}$ac_ct_CC" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1823 if test -z "$CC"; then
1824 # Extract the first word of "cc", so it can be a program name with args.
1825 set dummy cc
; ac_word
=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC
="$CC" # Let the user override the test.
1835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir
=.
1840 for ac_exec_ext
in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1843 ac_prog_rejected
=yes
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 if test $ac_prog_rejected = yes; then
1854 # We found a bogon in the path, so make sure we never use it.
1855 set dummy
$ac_cv_prog_CC
1857 if test $# != 0; then
1858 # We chose a different compiler from the bogus one.
1859 # However, it has the same basename, so the bogon will be chosen
1860 # first if we set CC to just the basename; use the full file name.
1862 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1870 if test -n "$CC"; then
1871 echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$CC"; then
1880 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1884 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_CC+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$CC"; then
1891 ac_cv_prog_CC
="$CC" # Let the user override the test.
1893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir
=.
1898 for ac_exec_ext
in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 if test -n "$CC"; then
1911 echo "$as_me:$LINENO: result: $CC" >&5
1912 echo "${ECHO_T}$CC" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1918 test -n "$CC" && break
1921 if test -z "$CC"; then
1925 # Extract the first word of "$ac_prog", so it can be a program name with args.
1926 set dummy
$ac_prog; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC
="$ac_prog"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1960 test -n "$ac_ct_CC" && break
1969 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1970 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1971 { (exit 1); exit 1; }; }
1973 # Provide some information about the compiler.
1974 echo "$as_me:$LINENO:" \
1975 "checking for C compiler version" >&5
1976 ac_compiler
=`set X $ac_compile; echo $2`
1977 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1978 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981 (exit $ac_status); }
1982 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1983 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986 (exit $ac_status); }
1987 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1988 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991 (exit $ac_status); }
1993 cat >conftest.
$ac_ext <<_ACEOF
1994 #line $LINENO "configure"
1995 #include "confdefs.h"
1997 #ifdef F77_DUMMY_MAIN
2001 int F77_DUMMY_MAIN() { return 1; }
2011 ac_clean_files_save
=$ac_clean_files
2012 ac_clean_files
="$ac_clean_files a.out a.exe"
2013 # Try to create an executable without -o first, disregard a.out.
2014 # It will help us diagnose broken compilers, and finding out an intuition
2016 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2017 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2018 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2019 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2020 (eval $ac_link_default) 2>&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); }; then
2024 # Find the output, starting from the most likely. This scheme is
2025 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2028 # Be careful to initialize this variable, since it used to be cached.
2029 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2031 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2032 ls a.out conftest 2>/dev/null;
2033 ls a.* conftest.* 2>/dev/null`; do
2035 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
2036 a.out
) # We found the default executable, but exeext='' is most
2039 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2040 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2047 echo "$as_me: failed program was:" >&5
2048 cat conftest.
$ac_ext >&5
2049 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2050 echo "$as_me: error: C compiler cannot create executables" >&2;}
2051 { (exit 77); exit 77; }; }
2054 ac_exeext
=$ac_cv_exeext
2055 echo "$as_me:$LINENO: result: $ac_file" >&5
2056 echo "${ECHO_T}$ac_file" >&6
2058 # Check the compiler produces executables we can run. If not, either
2059 # the compiler is broken, or we cross compile.
2060 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2061 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2062 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2063 # If not cross compiling, check that we can run a simple program.
2064 if test "$cross_compiling" != yes; then
2065 if { ac_try
='./$ac_file'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2073 if test "$cross_compiling" = maybe
; then
2076 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2077 If you meant to cross compile, use \`--host'." >&5
2078 echo "$as_me: error: cannot run C compiled programs.
2079 If you meant to cross compile, use \`--host'." >&2;}
2080 { (exit 1); exit 1; }; }
2084 echo "$as_me:$LINENO: result: yes" >&5
2085 echo "${ECHO_T}yes" >&6
2087 rm -f a.out a.exe conftest
$ac_cv_exeext
2088 ac_clean_files
=$ac_clean_files_save
2089 # Check the compiler produces executables we can run. If not, either
2090 # the compiler is broken, or we cross compile.
2091 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2092 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2093 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2094 echo "${ECHO_T}$cross_compiling" >&6
2096 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2097 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2099 (eval $ac_link) 2>&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; then
2103 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2104 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2105 # work properly (i.e., refer to `conftest.exe'), while it won't with
2107 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2109 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2110 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2117 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2118 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2119 { (exit 1); exit 1; }; }
2122 rm -f conftest
$ac_cv_exeext
2123 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2124 echo "${ECHO_T}$ac_cv_exeext" >&6
2126 rm -f conftest.
$ac_ext
2127 EXEEXT
=$ac_cv_exeext
2129 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2130 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2131 if test "${ac_cv_objext+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 cat >conftest.
$ac_ext <<_ACEOF
2135 #line $LINENO "configure"
2136 #include "confdefs.h"
2138 #ifdef F77_DUMMY_MAIN
2142 int F77_DUMMY_MAIN() { return 1; }
2152 rm -f conftest.o conftest.obj
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; then
2158 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2160 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2161 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2166 echo "$as_me: failed program was:" >&5
2167 cat conftest.
$ac_ext >&5
2168 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2169 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2170 { (exit 1); exit 1; }; }
2173 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2175 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2176 echo "${ECHO_T}$ac_cv_objext" >&6
2177 OBJEXT
=$ac_cv_objext
2179 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2180 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2181 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 cat >conftest.
$ac_ext <<_ACEOF
2185 #line $LINENO "configure"
2186 #include "confdefs.h"
2188 #ifdef F77_DUMMY_MAIN
2192 int F77_DUMMY_MAIN() { return 1; }
2205 rm -f conftest.
$ac_objext
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207 (eval $ac_compile) 2>&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); } &&
2211 { ac_try
='test -s conftest.$ac_objext'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 echo "$as_me: failed program was:" >&5
2220 cat conftest.
$ac_ext >&5
2223 rm -f conftest.
$ac_objext conftest.
$ac_ext
2224 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2227 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2228 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2229 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2230 ac_test_CFLAGS
=${CFLAGS+set}
2231 ac_save_CFLAGS
=$CFLAGS
2233 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2234 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2235 if test "${ac_cv_prog_cc_g+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 cat >conftest.
$ac_ext <<_ACEOF
2239 #line $LINENO "configure"
2240 #include "confdefs.h"
2242 #ifdef F77_DUMMY_MAIN
2246 int F77_DUMMY_MAIN() { return 1; }
2256 rm -f conftest.
$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try
='test -s conftest.$ac_objext'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; }; then
2270 echo "$as_me: failed program was:" >&5
2271 cat conftest.
$ac_ext >&5
2274 rm -f conftest.
$ac_objext conftest.
$ac_ext
2276 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2277 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2278 if test "$ac_test_CFLAGS" = set; then
2279 CFLAGS
=$ac_save_CFLAGS
2280 elif test $ac_cv_prog_cc_g = yes; then
2281 if test "$GCC" = yes; then
2287 if test "$GCC" = yes; then
2293 # Some people use a C++ compiler to compile C. Since we use `exit',
2294 # in C++ we need to declare it. In case someone uses the same compiler
2295 # for both compiling C and C++ we need to have the C++ compiler decide
2296 # the declaration of exit, since it's the most demanding environment.
2297 cat >conftest.
$ac_ext <<_ACEOF
2302 rm -f conftest.
$ac_objext
2303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2304 (eval $ac_compile) 2>&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } &&
2308 { ac_try
='test -s conftest.$ac_objext'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; }; then
2314 for ac_declaration
in \
2316 '#include <stdlib.h>' \
2317 'extern "C" void std::exit (int) throw (); using std::exit;' \
2318 'extern "C" void std::exit (int); using std::exit;' \
2319 'extern "C" void exit (int) throw ();' \
2320 'extern "C" void exit (int);' \
2323 cat >conftest.
$ac_ext <<_ACEOF
2324 #line $LINENO "configure"
2325 #include "confdefs.h"
2328 #ifdef F77_DUMMY_MAIN
2332 int F77_DUMMY_MAIN() { return 1; }
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -s conftest.$ac_objext'
2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; }; then
2356 echo "$as_me: failed program was:" >&5
2357 cat conftest.
$ac_ext >&5
2360 rm -f conftest.
$ac_objext conftest.
$ac_ext
2361 cat >conftest.
$ac_ext <<_ACEOF
2362 #line $LINENO "configure"
2363 #include "confdefs.h"
2365 #ifdef F77_DUMMY_MAIN
2369 int F77_DUMMY_MAIN() { return 1; }
2379 rm -f conftest.
$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try
='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2393 echo "$as_me: failed program was:" >&5
2394 cat conftest.
$ac_ext >&5
2396 rm -f conftest.
$ac_objext conftest.
$ac_ext
2399 if test -n "$ac_declaration"; then
2400 echo '#ifdef __cplusplus' >>confdefs.h
2401 echo $ac_declaration >>confdefs.h
2402 echo '#endif' >>confdefs.h
2406 echo "$as_me: failed program was:" >&5
2407 cat conftest.
$ac_ext >&5
2409 rm -f conftest.
$ac_objext conftest.
$ac_ext
2411 ac_cpp
='$CPP $CPPFLAGS'
2412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2415 rm -f .deps
2>/dev
/null
2416 mkdir .deps
2>/dev
/null
2417 if test -d .deps
; then
2420 # MS-DOS does not allow filenames that begin with a dot.
2423 rmdir .deps
2>/dev
/null
2426 ac_config_commands
="$ac_config_commands depfiles"
2429 am_make
=${MAKE-make}
2430 cat > confinc
<< 'END'
2434 # If we don't find an include directive, just comment out the code.
2435 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2436 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2440 # First try GNU make style include.
2441 echo "include confinc" > confmf
2442 # We grep out `Entering directory' and `Leaving directory'
2443 # messages which can occur if `w' ends up in MAKEFLAGS.
2444 # In particular we don't look at `^make:' because GNU make might
2445 # be invoked under some other name (usually "gmake"), in which
2446 # case it prints its new name instead of `make'.
2447 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2452 # Now try BSD make style include.
2453 if test "$am__include" = "#"; then
2454 echo '.include "confinc"' > confmf
2455 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2456 am__include
=.include
2463 echo "$as_me:$LINENO: result: $_am_result" >&5
2464 echo "${ECHO_T}$_am_result" >&6
2465 rm -f confinc confmf
2467 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2468 if test "${enable_dependency_tracking+set}" = set; then
2469 enableval
="$enable_dependency_tracking"
2472 if test "x$enable_dependency_tracking" != xno
; then
2473 am_depcomp
="$ac_aux_dir/depcomp"
2478 if test "x$enable_dependency_tracking" != xno; then
2489 depcc
="$CC" am_compiler_list
=
2491 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2492 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2497 # We make a subdir and do the tests there. Otherwise we can end up
2498 # making bogus files that we don't know about and never remove. For
2499 # instance it was reported that on HP-UX the gcc test will end up
2500 # making a dummy file named `D' -- because `-MD' means `put the output
2503 # Copy depcomp to subdir because otherwise we won't find it if we're
2504 # using a relative directory.
2505 cp "$am_depcomp" conftest.dir
2508 am_cv_CC_dependencies_compiler_type
=none
2509 if test "$am_compiler_list" = ""; then
2510 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2512 for depmode
in $am_compiler_list; do
2513 # We need to recreate these files for each test, as the compiler may
2514 # overwrite some of them when testing with obscure command lines.
2515 # This happens at least with the AIX C compiler.
2516 echo '#include "conftest.h"' > conftest.c
2517 echo 'int i;' > conftest.h
2518 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2522 # after this tag, mechanisms are not by side-effect, so they'll
2523 # only be used when explicitly requested
2524 if test "x$enable_dependency_tracking" = xyes
; then
2532 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2533 # mode. It turns out that the SunPro C++ compiler does not properly
2534 # handle `-M -o', and we need to detect this.
2535 if depmode
=$depmode \
2536 source=conftest.c object
=conftest.o \
2537 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2538 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2539 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2540 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2541 am_cv_CC_dependencies_compiler_type
=$depmode
2549 am_cv_CC_dependencies_compiler_type
=none
2553 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2554 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2555 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2560 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2561 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2562 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 ac_check_lib_save_LIBS
=$LIBS
2566 LIBS
="-lcposix $LIBS"
2567 cat >conftest.
$ac_ext <<_ACEOF
2568 #line $LINENO "configure"
2569 #include "confdefs.h"
2571 /* Override any gcc2 internal prototype to avoid an error. */
2575 /* We use char because int might match the return type of a gcc2
2576 builtin and then its argument prototype would still apply. */
2578 #ifdef F77_DUMMY_MAIN
2582 int F77_DUMMY_MAIN() { return 1; }
2592 rm -f conftest.
$ac_objext conftest
$ac_exeext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2594 (eval $ac_link) 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try
='test -s conftest$ac_exeext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2604 ac_cv_lib_cposix_strerror
=yes
2606 echo "$as_me: failed program was:" >&5
2607 cat conftest.
$ac_ext >&5
2608 ac_cv_lib_cposix_strerror
=no
2610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2611 LIBS
=$ac_check_lib_save_LIBS
2613 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2614 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2615 if test $ac_cv_lib_cposix_strerror = yes; then
2616 LIBS
="$LIBS -lcposix"
2624 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2625 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2626 if test "${am_cv_prog_cc_stdc+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 am_cv_prog_cc_stdc
=no
2631 # Don't try gcc -ansi; that turns off useful extensions and
2632 # breaks some systems' header files.
2633 # AIX -qlanglvl=ansi
2634 # Ultrix and OSF/1 -std1
2635 # HP-UX 10.20 and later -Ae
2636 # HP-UX older versions -Aa -D_HPUX_SOURCE
2637 # SVR4 -Xc -D__EXTENSIONS__
2638 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2640 CC
="$ac_save_CC $ac_arg"
2641 cat >conftest.
$ac_ext <<_ACEOF
2642 #line $LINENO "configure"
2643 #include "confdefs.h"
2646 #include <sys/types.h>
2647 #include <sys/stat.h>
2648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2649 struct buf { int x; };
2650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2651 static char *e (p, i)
2657 static char *f (char * (*g) (char **, int), char **p, ...)
2662 s = g (p, va_arg (v,int));
2666 int test (int i, double x);
2667 struct s1 {int (*f) (int a);};
2668 struct s2 {int (*f) (double a);};
2669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2673 #ifdef F77_DUMMY_MAIN
2677 int F77_DUMMY_MAIN() { return 1; }
2683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2689 rm -f conftest.
$ac_objext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2691 (eval $ac_compile) 2>&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); } &&
2695 { ac_try
='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2701 am_cv_prog_cc_stdc
="$ac_arg"; break
2703 echo "$as_me: failed program was:" >&5
2704 cat conftest.
$ac_ext >&5
2706 rm -f conftest.
$ac_objext conftest.
$ac_ext
2712 if test -z "$am_cv_prog_cc_stdc"; then
2713 echo "$as_me:$LINENO: result: none needed" >&5
2714 echo "${ECHO_T}none needed" >&6
2716 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2717 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2719 case "x$am_cv_prog_cc_stdc" in
2721 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2725 ac_cpp
='$CPP $CPPFLAGS'
2726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2729 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2730 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2731 # On Suns, sometimes $CPP names a directory.
2732 if test -n "$CPP" && test -d "$CPP"; then
2735 if test -z "$CPP"; then
2736 if test "${ac_cv_prog_CPP+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 # Double quotes because CPP needs to be expanded
2740 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2743 for ac_c_preproc_warn_flag
in '' yes
2745 # Use a header file that comes with gcc, so configuring glibc
2746 # with a fresh cross-compiler works.
2747 # On the NeXT, cc -E runs the code through the compiler's parser,
2748 # not just through cpp. "Syntax error" is here to catch this case.
2749 cat >conftest.
$ac_ext <<_ACEOF
2750 #line $LINENO "configure"
2751 #include "confdefs.h"
2755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2758 egrep -v '^ *\+' conftest.er1
>conftest.err
2760 cat conftest.err
>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } >/dev
/null
; then
2763 if test -s conftest.err
; then
2764 ac_cpp_err
=$ac_c_preproc_warn_flag
2771 if test -z "$ac_cpp_err"; then
2774 echo "$as_me: failed program was:" >&5
2775 cat conftest.
$ac_ext >&5
2776 # Broken: fails on valid input.
2779 rm -f conftest.err conftest.
$ac_ext
2781 # OK, works on sane cases. Now check whether non-existent headers
2782 # can be detected and how.
2783 cat >conftest.
$ac_ext <<_ACEOF
2784 #line $LINENO "configure"
2785 #include "confdefs.h"
2786 #include <ac_nonexistent.h>
2788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2791 egrep -v '^ *\+' conftest.er1
>conftest.err
2793 cat conftest.err
>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } >/dev
/null
; then
2796 if test -s conftest.err
; then
2797 ac_cpp_err
=$ac_c_preproc_warn_flag
2804 if test -z "$ac_cpp_err"; then
2805 # Broken: success on invalid input.
2808 echo "$as_me: failed program was:" >&5
2809 cat conftest.
$ac_ext >&5
2810 # Passes both tests.
2814 rm -f conftest.err conftest.
$ac_ext
2817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2818 rm -f conftest.err conftest.
$ac_ext
2819 if $ac_preproc_ok; then
2831 echo "$as_me:$LINENO: result: $CPP" >&5
2832 echo "${ECHO_T}$CPP" >&6
2834 for ac_c_preproc_warn_flag
in '' yes
2836 # Use a header file that comes with gcc, so configuring glibc
2837 # with a fresh cross-compiler works.
2838 # On the NeXT, cc -E runs the code through the compiler's parser,
2839 # not just through cpp. "Syntax error" is here to catch this case.
2840 cat >conftest.
$ac_ext <<_ACEOF
2841 #line $LINENO "configure"
2842 #include "confdefs.h"
2846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2849 egrep -v '^ *\+' conftest.er1
>conftest.err
2851 cat conftest.err
>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } >/dev
/null
; then
2854 if test -s conftest.err
; then
2855 ac_cpp_err
=$ac_c_preproc_warn_flag
2862 if test -z "$ac_cpp_err"; then
2865 echo "$as_me: failed program was:" >&5
2866 cat conftest.
$ac_ext >&5
2867 # Broken: fails on valid input.
2870 rm -f conftest.err conftest.
$ac_ext
2872 # OK, works on sane cases. Now check whether non-existent headers
2873 # can be detected and how.
2874 cat >conftest.
$ac_ext <<_ACEOF
2875 #line $LINENO "configure"
2876 #include "confdefs.h"
2877 #include <ac_nonexistent.h>
2879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2882 egrep -v '^ *\+' conftest.er1
>conftest.err
2884 cat conftest.err
>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } >/dev
/null
; then
2887 if test -s conftest.err
; then
2888 ac_cpp_err
=$ac_c_preproc_warn_flag
2895 if test -z "$ac_cpp_err"; then
2896 # Broken: success on invalid input.
2899 echo "$as_me: failed program was:" >&5
2900 cat conftest.
$ac_ext >&5
2901 # Passes both tests.
2905 rm -f conftest.err conftest.
$ac_ext
2908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2909 rm -f conftest.err conftest.
$ac_ext
2910 if $ac_preproc_ok; then
2913 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2914 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2915 { (exit 1); exit 1; }; }
2919 ac_cpp
='$CPP $CPPFLAGS'
2920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2925 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2927 # Find a good install program. We prefer a C program (faster),
2928 # so one script is as good as another. But avoid the broken or
2929 # incompatible versions:
2930 # SysV /etc/install, /usr/sbin/install
2931 # SunOS /usr/etc/install
2932 # IRIX /sbin/install
2934 # AmigaOS /C/install, which installs bootblocks on floppy discs
2935 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2936 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2937 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2938 # ./install, which can be erroneously created by make from ./install.sh.
2939 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2941 if test -z "$INSTALL"; then
2942 if test "${ac_cv_path_install+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 # Account for people who put trailing slashes in PATH elements.
2952 .
/ | .
// |
/cC
/* | \
2953 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2956 # OSF1 and SCO ODT 3.0 have their own names for install.
2957 # Don't use installbsd from OSF since it installs stuff as root
2959 for ac_prog
in ginstall scoinst
install; do
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2962 if test $ac_prog = install &&
2963 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2964 # AIX install. It has an incompatible calling convention.
2966 elif test $ac_prog = install &&
2967 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2968 # program-specific install script used by HP pwplus--don't use.
2971 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2983 if test "${ac_cv_path_install+set}" = set; then
2984 INSTALL
=$ac_cv_path_install
2986 # As a last resort, use the slow shell script. We don't cache a
2987 # path for INSTALL within a source directory, because that will
2988 # break other packages using the cache if that directory is
2989 # removed, or if the path is relative.
2990 INSTALL
=$ac_install_sh
2993 echo "$as_me:$LINENO: result: $INSTALL" >&5
2994 echo "${ECHO_T}$INSTALL" >&6
2996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2997 # It thinks the first close brace ends the variable substitution.
2998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3002 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3004 if test -n "$ac_tool_prefix"; then
3005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3006 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009 if test "${ac_cv_prog_RANLIB+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 if test -n "$RANLIB"; then
3013 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir
=.
3020 for ac_exec_ext
in '' $ac_executable_extensions; do
3021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 RANLIB
=$ac_cv_prog_RANLIB
3032 if test -n "$RANLIB"; then
3033 echo "$as_me:$LINENO: result: $RANLIB" >&5
3034 echo "${ECHO_T}$RANLIB" >&6
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3041 if test -z "$ac_cv_prog_RANLIB"; then
3042 ac_ct_RANLIB
=$RANLIB
3043 # Extract the first word of "ranlib", so it can be a program name with args.
3044 set dummy ranlib
; ac_word
=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 if test -n "$ac_ct_RANLIB"; then
3051 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir
=.
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3070 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3071 if test -n "$ac_ct_RANLIB"; then
3072 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3073 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3079 RANLIB
=$ac_ct_RANLIB
3081 RANLIB
="$ac_cv_prog_RANLIB"
3086 # Make sure that _GNU_SOURCE is defined for all subsequent
3087 # configure-time compile tests.
3088 # This definition must be emitted (into confdefs.h) before any
3089 # test that involves compilation.
3090 cat >>confdefs.h
<<\EOF
3092 # define _GNU_SOURCE
3096 # Emit this code into config.h.in.
3097 # The ifndef is to avoid redefinition warnings.
3102 cat >>confdefs.h
<<\_ACEOF
3103 #define __EXTENSIONS__ 1
3106 # Check whether --enable-largefile or --disable-largefile was given.
3107 if test "${enable_largefile+set}" = set; then
3108 enableval
="$enable_largefile"
3111 if test "$enable_largefile" != no
; then
3113 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3114 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3115 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 ac_cv_sys_largefile_CC
=no
3119 if test "$GCC" != yes; then
3122 # IRIX 6.2 and later do not support large files by default,
3123 # so use the C compiler's -n32 option if that helps.
3124 cat >conftest.
$ac_ext <<_ACEOF
3125 #line $LINENO "configure"
3126 #include "confdefs.h"
3127 #include <sys/types.h>
3128 /* Check that off_t can represent 2**63 - 1 correctly.
3129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3130 since some C++ compilers masquerading as C compilers
3131 incorrectly reject 9223372036854775807. */
3132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3134 && LARGE_OFF_T % 2147483647 == 1)
3136 #ifdef F77_DUMMY_MAIN
3140 int F77_DUMMY_MAIN() { return 1; }
3150 rm -f conftest.
$ac_objext
3151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3152 (eval $ac_compile) 2>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try
='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 echo "$as_me: failed program was:" >&5
3165 cat conftest.
$ac_ext >&5
3167 rm -f conftest.
$ac_objext
3169 rm -f conftest.
$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } &&
3175 { ac_try
='test -s conftest.$ac_objext'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; }; then
3181 ac_cv_sys_largefile_CC
=' -n32'; break
3183 echo "$as_me: failed program was:" >&5
3184 cat conftest.
$ac_ext >&5
3186 rm -f conftest.
$ac_objext
3190 rm -f conftest.
$ac_ext
3193 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3194 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3195 if test "$ac_cv_sys_largefile_CC" != no
; then
3196 CC
=$CC$ac_cv_sys_largefile_CC
3199 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3200 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3201 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 ac_cv_sys_file_offset_bits
=no
3206 cat >conftest.
$ac_ext <<_ACEOF
3207 #line $LINENO "configure"
3208 #include "confdefs.h"
3209 #include <sys/types.h>
3210 /* Check that off_t can represent 2**63 - 1 correctly.
3211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3212 since some C++ compilers masquerading as C compilers
3213 incorrectly reject 9223372036854775807. */
3214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3216 && LARGE_OFF_T % 2147483647 == 1)
3218 #ifdef F77_DUMMY_MAIN
3222 int F77_DUMMY_MAIN() { return 1; }
3232 rm -f conftest.
$ac_objext
3233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3234 (eval $ac_compile) 2>&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); } &&
3238 { ac_try
='test -s conftest.$ac_objext'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; }; then
3246 echo "$as_me: failed program was:" >&5
3247 cat conftest.
$ac_ext >&5
3249 rm -f conftest.
$ac_objext conftest.
$ac_ext
3250 cat >conftest.
$ac_ext <<_ACEOF
3251 #line $LINENO "configure"
3252 #include "confdefs.h"
3253 #define _FILE_OFFSET_BITS 64
3254 #include <sys/types.h>
3255 /* Check that off_t can represent 2**63 - 1 correctly.
3256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3257 since some C++ compilers masquerading as C compilers
3258 incorrectly reject 9223372036854775807. */
3259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3261 && LARGE_OFF_T % 2147483647 == 1)
3263 #ifdef F77_DUMMY_MAIN
3267 int F77_DUMMY_MAIN() { return 1; }
3277 rm -f conftest.
$ac_objext
3278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 (eval $ac_compile) 2>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try
='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 ac_cv_sys_file_offset_bits
=64; break
3291 echo "$as_me: failed program was:" >&5
3292 cat conftest.
$ac_ext >&5
3294 rm -f conftest.
$ac_objext conftest.
$ac_ext
3298 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3299 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3300 if test "$ac_cv_sys_file_offset_bits" != no
; then
3302 cat >>confdefs.h
<<_ACEOF
3303 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3308 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3309 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3310 if test "${ac_cv_sys_large_files+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 ac_cv_sys_large_files
=no
3315 cat >conftest.
$ac_ext <<_ACEOF
3316 #line $LINENO "configure"
3317 #include "confdefs.h"
3318 #include <sys/types.h>
3319 /* Check that off_t can represent 2**63 - 1 correctly.
3320 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3321 since some C++ compilers masquerading as C compilers
3322 incorrectly reject 9223372036854775807. */
3323 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3324 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3325 && LARGE_OFF_T % 2147483647 == 1)
3327 #ifdef F77_DUMMY_MAIN
3331 int F77_DUMMY_MAIN() { return 1; }
3341 rm -f conftest.
$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3343 (eval $ac_compile) 2>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } &&
3347 { ac_try
='test -s conftest.$ac_objext'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3355 echo "$as_me: failed program was:" >&5
3356 cat conftest.
$ac_ext >&5
3358 rm -f conftest.
$ac_objext conftest.
$ac_ext
3359 cat >conftest.
$ac_ext <<_ACEOF
3360 #line $LINENO "configure"
3361 #include "confdefs.h"
3362 #define _LARGE_FILES 1
3363 #include <sys/types.h>
3364 /* Check that off_t can represent 2**63 - 1 correctly.
3365 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3366 since some C++ compilers masquerading as C compilers
3367 incorrectly reject 9223372036854775807. */
3368 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3370 && LARGE_OFF_T % 2147483647 == 1)
3372 #ifdef F77_DUMMY_MAIN
3376 int F77_DUMMY_MAIN() { return 1; }
3386 rm -f conftest.
$ac_objext
3387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3388 (eval $ac_compile) 2>&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try
='test -s conftest.$ac_objext'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; }; then
3398 ac_cv_sys_large_files
=1; break
3400 echo "$as_me: failed program was:" >&5
3401 cat conftest.
$ac_ext >&5
3403 rm -f conftest.
$ac_objext conftest.
$ac_ext
3407 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3408 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3409 if test "$ac_cv_sys_large_files" != no
; then
3411 cat >>confdefs.h
<<_ACEOF
3412 #define _LARGE_FILES $ac_cv_sys_large_files
3420 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3421 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3422 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 ac_cv_prog_cc_stdc
=no
3427 cat >conftest.
$ac_ext <<_ACEOF
3428 #line $LINENO "configure"
3429 #include "confdefs.h"
3432 #include <sys/types.h>
3433 #include <sys/stat.h>
3434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3435 struct buf { int x; };
3436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3437 static char *e (p, i)
3443 static char *f (char * (*g) (char **, int), char **p, ...)
3448 s = g (p, va_arg (v,int));
3452 int test (int i, double x);
3453 struct s1 {int (*f) (int a);};
3454 struct s2 {int (*f) (double a);};
3455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3458 #ifdef F77_DUMMY_MAIN
3462 int F77_DUMMY_MAIN() { return 1; }
3467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3472 # Don't try gcc -ansi; that turns off useful extensions and
3473 # breaks some systems' header files.
3474 # AIX -qlanglvl=ansi
3475 # Ultrix and OSF/1 -std1
3476 # HP-UX 10.20 and later -Ae
3477 # HP-UX older versions -Aa -D_HPUX_SOURCE
3478 # SVR4 -Xc -D__EXTENSIONS__
3479 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3481 CC
="$ac_save_CC $ac_arg"
3482 rm -f conftest.
$ac_objext
3483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3484 (eval $ac_compile) 2>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3494 ac_cv_prog_cc_stdc
=$ac_arg
3497 echo "$as_me: failed program was:" >&5
3498 cat conftest.
$ac_ext >&5
3500 rm -f conftest.
$ac_objext
3502 rm -f conftest.
$ac_ext conftest.
$ac_objext
3507 case "x$ac_cv_prog_cc_stdc" in
3509 echo "$as_me:$LINENO: result: none needed" >&5
3510 echo "${ECHO_T}none needed" >&6 ;;
3512 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3513 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3514 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3517 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3518 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3519 if test "${ac_cv_c_const+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.
$ac_ext <<_ACEOF
3523 #line $LINENO "configure"
3524 #include "confdefs.h"
3526 #ifdef F77_DUMMY_MAIN
3530 int F77_DUMMY_MAIN() { return 1; }
3535 /* FIXME: Include the comments suggested by Paul. */
3537 /* Ultrix mips cc rejects this. */
3538 typedef int charset[2];
3540 /* SunOS 4.1.1 cc rejects this. */
3541 char const *const *ccp;
3543 /* NEC SVR4.0.2 mips cc rejects this. */
3544 struct point {int x, y;};
3545 static struct point const zero = {0,0};
3546 /* AIX XL C 1.02.0.0 rejects this.
3547 It does not let you subtract one const X* pointer from another in
3548 an arm of an if-expression whose if-part is not a constant
3550 const char *g = "string";
3551 ccp = &g + (g ? g-g : 0);
3552 /* HPUX 7.0 cc rejects these. */
3555 ccp = (char const *const *) p;
3556 { /* SCO 3.2v4 cc rejects this. */
3558 char const *s = 0 ? (char *) 0 : (char const *) 0;
3562 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3564 const int *foo = &x[0];
3567 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3568 typedef const int *iptr;
3572 { /* AIX XL C 1.02.0.0 rejects this saying
3573 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3574 struct s { int j; const int *ap[3]; };
3575 struct s *b; b->j = 5;
3577 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3586 rm -f conftest.
$ac_objext
3587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3588 (eval $ac_compile) 2>&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } &&
3592 { ac_try
='test -s conftest.$ac_objext'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; }; then
3600 echo "$as_me: failed program was:" >&5
3601 cat conftest.
$ac_ext >&5
3604 rm -f conftest.
$ac_objext conftest.
$ac_ext
3606 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3607 echo "${ECHO_T}$ac_cv_c_const" >&6
3608 if test $ac_cv_c_const = no
; then
3610 cat >>confdefs.h
<<\_ACEOF
3616 echo "$as_me:$LINENO: checking for inline" >&5
3617 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3618 if test "${ac_cv_c_inline+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 for ac_kw
in inline __inline__ __inline
; do
3623 cat >conftest.
$ac_ext <<_ACEOF
3624 #line $LINENO "configure"
3625 #include "confdefs.h"
3627 static $ac_kw int static_foo () {return 0; }
3628 $ac_kw int foo () {return 0; }
3632 rm -f conftest.
$ac_objext
3633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 (eval $ac_compile) 2>&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } &&
3638 { ac_try
='test -s conftest.$ac_objext'
3639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }; }; then
3644 ac_cv_c_inline
=$ac_kw; break
3646 echo "$as_me: failed program was:" >&5
3647 cat conftest.
$ac_ext >&5
3649 rm -f conftest.
$ac_objext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3654 echo "${ECHO_T}$ac_cv_c_inline" >&6
3655 case $ac_cv_c_inline in
3658 cat >>confdefs.h
<<\_ACEOF
3662 *) cat >>confdefs.h
<<_ACEOF
3663 #define inline $ac_cv_c_inline
3669 echo "$as_me:$LINENO: checking for variable-length arrays" >&5
3670 echo $ECHO_N "checking for variable-length arrays... $ECHO_C" >&6
3671 if test "${ac_cv_c_vararrays+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 cat >conftest.
$ac_ext <<_ACEOF
3675 #line $LINENO "configure"
3676 #include "confdefs.h"
3678 #ifdef F77_DUMMY_MAIN
3682 int F77_DUMMY_MAIN() { return 1; }
3687 static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];
3692 rm -f conftest.
$ac_objext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try
='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_c_vararrays
=yes
3706 echo "$as_me: failed program was:" >&5
3707 cat conftest.
$ac_ext >&5
3708 ac_cv_c_vararrays
=no
3710 rm -f conftest.
$ac_objext conftest.
$ac_ext
3712 echo "$as_me:$LINENO: result: $ac_cv_c_vararrays" >&5
3713 echo "${ECHO_T}$ac_cv_c_vararrays" >&6
3714 if test $ac_cv_c_vararrays = yes; then
3716 cat >>confdefs.h
<<\_ACEOF
3717 #define HAVE_C_VARARRAYS 1
3724 cat >>confdefs.h
<<\_ACEOF
3725 #define DEFAULT_DIFF_PROGRAM "diff"
3730 cat >>confdefs.h
<<\_ACEOF
3731 #define DEFAULT_EDITOR_PROGRAM "ed"
3735 # Extract the first word of "pr", so it can be a program name with args.
3736 set dummy
pr; ac_word
=$2
3737 echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3739 if test "${ac_cv_path_PR_PROGRAM+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 ac_cv_path_PR_PROGRAM
="$PR_PROGRAM" # Let the user override the test with a path.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_path_PR_PROGRAM
="$as_dir/$ac_word$ac_exec_ext"
3755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 test -z "$ac_cv_path_PR_PROGRAM" && ac_cv_path_PR_PROGRAM
=""""
3765 PR_PROGRAM
=$ac_cv_path_PR_PROGRAM
3767 if test -n "$PR_PROGRAM"; then
3768 echo "$as_me:$LINENO: result: $PR_PROGRAM" >&5
3769 echo "${ECHO_T}$PR_PROGRAM" >&6
3771 echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6
3776 cat >>confdefs.h
<<_ACEOF
3777 #define PR_PROGRAM "$PR_PROGRAM"
3781 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3782 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3783 if test "${ac_cv_header_stdbool_h+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 cat >conftest.
$ac_ext <<_ACEOF
3787 #line $LINENO "configure"
3788 #include "confdefs.h"
3790 #include <stdbool.h>
3792 "error: bool is not defined"
3795 "error: false is not defined"
3798 "error: false is not defined"
3800 #ifndef __bool_true_false_are_defined
3801 "error: __bool_true_false_are_defined is not defined"
3804 struct s { _Bool s: 1; _Bool t; } s;
3806 char a[true == 1 ? 1 : -1];
3807 char b[false == 0 ? 1 : -1];
3808 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3809 char d[(bool) -0.5 == true ? 1 : -1];
3810 char e[(bool) &s == true ? 1 : -1];
3811 char f[(_Bool) -0.0 == false ? 1 : -1];
3813 char h[sizeof (_Bool)];
3816 #ifdef F77_DUMMY_MAIN
3820 int F77_DUMMY_MAIN() { return 1; }
3825 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3830 rm -f conftest.
$ac_objext
3831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3832 (eval $ac_compile) 2>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } &&
3836 { ac_try
='test -s conftest.$ac_objext'
3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }; }; then
3842 ac_cv_header_stdbool_h
=yes
3844 echo "$as_me: failed program was:" >&5
3845 cat conftest.
$ac_ext >&5
3846 ac_cv_header_stdbool_h
=no
3848 rm -f conftest.
$ac_objext conftest.
$ac_ext
3850 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3851 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3852 if test $ac_cv_header_stdbool_h = yes; then
3854 cat >>confdefs.h
<<\_ACEOF
3855 #define HAVE_STDBOOL_H 1
3860 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3862 if test "${ac_cv_header_stdc+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 cat >conftest.
$ac_ext <<_ACEOF
3866 #line $LINENO "configure"
3867 #include "confdefs.h"
3874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3877 egrep -v '^ *\+' conftest.er1
>conftest.err
3879 cat conftest.err
>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } >/dev
/null
; then
3882 if test -s conftest.err
; then
3883 ac_cpp_err
=$ac_c_preproc_warn_flag
3890 if test -z "$ac_cpp_err"; then
3891 ac_cv_header_stdc
=yes
3893 echo "$as_me: failed program was:" >&5
3894 cat conftest.
$ac_ext >&5
3895 ac_cv_header_stdc
=no
3897 rm -f conftest.err conftest.
$ac_ext
3899 if test $ac_cv_header_stdc = yes; then
3900 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3901 cat >conftest.
$ac_ext <<_ACEOF
3902 #line $LINENO "configure"
3903 #include "confdefs.h"
3907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3908 egrep "memchr" >/dev
/null
2>&1; then
3911 ac_cv_header_stdc
=no
3917 if test $ac_cv_header_stdc = yes; then
3918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3919 cat >conftest.
$ac_ext <<_ACEOF
3920 #line $LINENO "configure"
3921 #include "confdefs.h"
3925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3926 egrep "free" >/dev
/null
2>&1; then
3929 ac_cv_header_stdc
=no
3935 if test $ac_cv_header_stdc = yes; then
3936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3937 if test "$cross_compiling" = yes; then
3940 cat >conftest.
$ac_ext <<_ACEOF
3941 #line $LINENO "configure"
3942 #include "confdefs.h"
3944 #if ((' ' & 0x0FF) == 0x020)
3945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3948 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3949 || ('j' <= (c) && (c) <= 'r') \
3950 || ('s' <= (c) && (c) <= 'z'))
3951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3959 for (i = 0; i < 256; i++)
3960 if (XOR (islower (i), ISLOWER (i))
3961 || toupper (i) != TOUPPER (i))
3966 rm -f conftest
$ac_exeext
3967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3968 (eval $ac_link) 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; }; then
3979 echo "$as_me: program exited with status $ac_status" >&5
3980 echo "$as_me: failed program was:" >&5
3981 cat conftest.
$ac_ext >&5
3983 ac_cv_header_stdc
=no
3985 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3989 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3990 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3991 if test $ac_cv_header_stdc = yes; then
3993 cat >>confdefs.h
<<\_ACEOF
3994 #define STDC_HEADERS 1
3999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4009 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4010 inttypes.h stdint.h unistd.h
4012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4013 echo "$as_me:$LINENO: checking for $ac_header" >&5
4014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 cat >conftest.
$ac_ext <<_ACEOF
4019 #line $LINENO "configure"
4020 #include "confdefs.h"
4021 $ac_includes_default
4023 #include <$ac_header>
4025 rm -f conftest.
$ac_objext
4026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4027 (eval $ac_compile) 2>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try
='test -s conftest.$ac_objext'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; }; then
4037 eval "$as_ac_Header=yes"
4039 echo "$as_me: failed program was:" >&5
4040 cat conftest.
$ac_ext >&5
4041 eval "$as_ac_Header=no"
4043 rm -f conftest.
$ac_objext conftest.
$ac_ext
4045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4048 cat >>confdefs.h
<<_ACEOF
4049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4066 for ac_header
in fcntl.h libintl.h limits.h locale.h \
4067 stdlib.h string.h sys
/file.h
time.h unistd.h
4069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4071 echo "$as_me:$LINENO: checking for $ac_header" >&5
4072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4079 # Is the header compilable?
4080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4082 cat >conftest.
$ac_ext <<_ACEOF
4083 #line $LINENO "configure"
4084 #include "confdefs.h"
4085 $ac_includes_default
4086 #include <$ac_header>
4088 rm -f conftest.
$ac_objext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4090 (eval $ac_compile) 2>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } &&
4094 { ac_try
='test -s conftest.$ac_objext'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4100 ac_header_compiler
=yes
4102 echo "$as_me: failed program was:" >&5
4103 cat conftest.
$ac_ext >&5
4104 ac_header_compiler
=no
4106 rm -f conftest.
$ac_objext conftest.
$ac_ext
4107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4108 echo "${ECHO_T}$ac_header_compiler" >&6
4110 # Is the header present?
4111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4113 cat >conftest.
$ac_ext <<_ACEOF
4114 #line $LINENO "configure"
4115 #include "confdefs.h"
4116 #include <$ac_header>
4118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4121 egrep -v '^ *\+' conftest.er1
>conftest.err
4123 cat conftest.err
>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } >/dev
/null
; then
4126 if test -s conftest.err
; then
4127 ac_cpp_err
=$ac_c_preproc_warn_flag
4134 if test -z "$ac_cpp_err"; then
4135 ac_header_preproc
=yes
4137 echo "$as_me: failed program was:" >&5
4138 cat conftest.
$ac_ext >&5
4139 ac_header_preproc
=no
4141 rm -f conftest.err conftest.
$ac_ext
4142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4143 echo "${ECHO_T}$ac_header_preproc" >&6
4145 # So? What about this header?
4146 case $ac_header_compiler:$ac_header_preproc in
4148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4160 echo "$as_me:$LINENO: checking for $ac_header" >&5
4161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 eval "$as_ac_Header=$ac_header_preproc"
4167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4172 cat >>confdefs.h
<<_ACEOF
4173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4180 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
4181 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
4182 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 cat >conftest.
$ac_ext <<_ACEOF
4186 #line $LINENO "configure"
4187 #include "confdefs.h"
4188 $ac_includes_default
4189 #ifdef F77_DUMMY_MAIN
4193 int F77_DUMMY_MAIN() { return 1; }
4198 static struct stat ac_aggr;
4199 if (ac_aggr.st_blksize)
4205 rm -f conftest.
$ac_objext
4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4207 (eval $ac_compile) 2>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try
='test -s conftest.$ac_objext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 ac_cv_member_struct_stat_st_blksize
=yes
4219 echo "$as_me: failed program was:" >&5
4220 cat conftest.
$ac_ext >&5
4221 ac_cv_member_struct_stat_st_blksize
=no
4223 rm -f conftest.
$ac_objext conftest.
$ac_ext
4225 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
4226 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
4227 if test $ac_cv_member_struct_stat_st_blksize = yes; then
4229 cat >>confdefs.h
<<_ACEOF
4230 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4236 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
4237 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
4238 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 cat >conftest.
$ac_ext <<_ACEOF
4242 #line $LINENO "configure"
4243 #include "confdefs.h"
4244 $ac_includes_default
4245 #ifdef F77_DUMMY_MAIN
4249 int F77_DUMMY_MAIN() { return 1; }
4254 static struct stat ac_aggr;
4255 if (ac_aggr.st_rdev)
4261 rm -f conftest.
$ac_objext
4262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4263 (eval $ac_compile) 2>&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try
='test -s conftest.$ac_objext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_member_struct_stat_st_rdev
=yes
4275 echo "$as_me: failed program was:" >&5
4276 cat conftest.
$ac_ext >&5
4277 ac_cv_member_struct_stat_st_rdev
=no
4279 rm -f conftest.
$ac_objext conftest.
$ac_ext
4281 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
4282 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
4283 if test $ac_cv_member_struct_stat_st_rdev = yes; then
4285 cat >>confdefs.h
<<_ACEOF
4286 #define HAVE_STRUCT_STAT_ST_RDEV 1
4292 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
4293 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
4294 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 cat >conftest.
$ac_ext <<_ACEOF
4298 #line $LINENO "configure"
4299 #include "confdefs.h"
4300 $ac_includes_default
4301 #ifdef F77_DUMMY_MAIN
4305 int F77_DUMMY_MAIN() { return 1; }
4310 if ((ptrdiff_t *) 0)
4312 if (sizeof (ptrdiff_t))
4318 rm -f conftest.
$ac_objext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4320 (eval $ac_compile) 2>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } &&
4324 { ac_try
='test -s conftest.$ac_objext'
4325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; }; then
4330 ac_cv_type_ptrdiff_t
=yes
4332 echo "$as_me: failed program was:" >&5
4333 cat conftest.
$ac_ext >&5
4334 ac_cv_type_ptrdiff_t
=no
4336 rm -f conftest.
$ac_objext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
4339 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
4340 if test $ac_cv_type_ptrdiff_t = yes; then
4344 cat >>confdefs.h
<<_ACEOF
4345 #define ptrdiff_t int
4350 echo "$as_me:$LINENO: checking for ssize_t" >&5
4351 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4352 if test "${ac_cv_type_ssize_t+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.
$ac_ext <<_ACEOF
4356 #line $LINENO "configure"
4357 #include "confdefs.h"
4358 $ac_includes_default
4359 #ifdef F77_DUMMY_MAIN
4363 int F77_DUMMY_MAIN() { return 1; }
4370 if (sizeof (ssize_t))
4376 rm -f conftest.
$ac_objext
4377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4378 (eval $ac_compile) 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } &&
4382 { ac_try
='test -s conftest.$ac_objext'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; }; then
4388 ac_cv_type_ssize_t
=yes
4390 echo "$as_me: failed program was:" >&5
4391 cat conftest.
$ac_ext >&5
4392 ac_cv_type_ssize_t
=no
4394 rm -f conftest.
$ac_objext conftest.
$ac_ext
4396 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4397 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4398 if test $ac_cv_type_ssize_t = yes; then
4402 cat >>confdefs.h
<<_ACEOF
4409 echo "$as_me:$LINENO: checking for unsigned long long" >&5
4410 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4411 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 cat >conftest.
$ac_ext <<_ACEOF
4415 #line $LINENO "configure"
4416 #include "confdefs.h"
4417 unsigned long long ull = 1; int i = 63;
4418 #ifdef F77_DUMMY_MAIN
4422 int F77_DUMMY_MAIN() { return 1; }
4427 unsigned long long ullmax = (unsigned long long) -1;
4428 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4433 rm -f conftest.
$ac_objext conftest
$ac_exeext
4434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4435 (eval $ac_link) 2>&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); } &&
4439 { ac_try
='test -s conftest$ac_exeext'
4440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); }; }; then
4445 ac_cv_type_unsigned_long_long
=yes
4447 echo "$as_me: failed program was:" >&5
4448 cat conftest.
$ac_ext >&5
4449 ac_cv_type_unsigned_long_long
=no
4451 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4453 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4454 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4455 if test $ac_cv_type_unsigned_long_long = yes; then
4457 cat >>confdefs.h
<<\_ACEOF
4458 #define HAVE_UNSIGNED_LONG_LONG 1
4465 echo "$as_me:$LINENO: checking for uintmax_t" >&5
4466 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
4467 if test "${ac_cv_type_uintmax_t+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.
$ac_ext <<_ACEOF
4471 #line $LINENO "configure"
4472 #include "confdefs.h"
4473 $ac_includes_default
4474 #ifdef F77_DUMMY_MAIN
4478 int F77_DUMMY_MAIN() { return 1; }
4483 if ((uintmax_t *) 0)
4485 if (sizeof (uintmax_t))
4491 rm -f conftest.
$ac_objext
4492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4493 (eval $ac_compile) 2>&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } &&
4497 { ac_try
='test -s conftest.$ac_objext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_type_uintmax_t
=yes
4505 echo "$as_me: failed program was:" >&5
4506 cat conftest.
$ac_ext >&5
4507 ac_cv_type_uintmax_t
=no
4509 rm -f conftest.
$ac_objext conftest.
$ac_ext
4511 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
4512 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
4513 if test $ac_cv_type_uintmax_t = yes; then
4516 test $ac_cv_type_unsigned_long_long = yes \
4517 && ac_type
='unsigned long long' \
4518 || ac_type
='unsigned long'
4520 cat >>confdefs.h
<<_ACEOF
4521 #define uintmax_t $ac_type
4529 if test -n "$ac_aux_dir"; then
4530 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
4532 if test -z "$MKINSTALLDIRS"; then
4533 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
4540 # Extract the first word of "msgfmt", so it can be a program name with args.
4541 set dummy msgfmt
; ac_word
=$2
4542 echo "$as_me:$LINENO: checking for $ac_word" >&5
4543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4544 if test "${ac_cv_path_MSGFMT+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4552 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4553 for ac_dir
in $PATH; do
4554 test -z "$ac_dir" && ac_dir
=.
4555 if test -f $ac_dir/$ac_word; then
4556 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
4557 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4558 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
4564 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4568 MSGFMT
="$ac_cv_path_MSGFMT"
4569 if test "$MSGFMT" != ":"; then
4570 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4571 echo "${ECHO_T}$MSGFMT" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4577 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4578 set dummy gmsgfmt
; ac_word
=$2
4579 echo "$as_me:$LINENO: checking for $ac_word" >&5
4580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4581 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir
=.
4594 for ac_exec_ext
in '' $ac_executable_extensions; do
4595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4596 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4607 GMSGFMT
=$ac_cv_path_GMSGFMT
4609 if test -n "$GMSGFMT"; then
4610 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4611 echo "${ECHO_T}$GMSGFMT" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4618 # Extract the first word of "xgettext", so it can be a program name with args.
4619 set dummy xgettext
; ac_word
=$2
4620 echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4622 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4630 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4631 for ac_dir
in $PATH; do
4632 test -z "$ac_dir" && ac_dir
=.
4633 if test -f $ac_dir/$ac_word; then
4634 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
4635 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4636 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
4642 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4646 XGETTEXT
="$ac_cv_path_XGETTEXT"
4647 if test "$XGETTEXT" != ":"; then
4648 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4649 echo "${ECHO_T}$XGETTEXT" >&6
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4657 # Extract the first word of "msgmerge", so it can be a program name with args.
4658 set dummy msgmerge
; ac_word
=$2
4659 echo "$as_me:$LINENO: checking for $ac_word" >&5
4660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4670 for ac_dir
in $PATH; do
4671 test -z "$ac_dir" && ac_dir
=.
4672 if test -f $ac_dir/$ac_word; then
4673 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4674 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
4680 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4684 MSGMERGE
="$ac_cv_path_MSGMERGE"
4685 if test "$MSGMERGE" != ":"; then
4686 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4687 echo "${ECHO_T}$MSGMERGE" >&6
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4694 if test "$GMSGFMT" != ":"; then
4695 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4696 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4699 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4700 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4701 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4706 if test "$XGETTEXT" != ":"; then
4707 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
4708 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4711 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4712 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4718 ac_config_commands
="$ac_config_commands default-1"
4722 if test "X$prefix" = "XNONE"; then
4723 acl_final_prefix
="$ac_default_prefix"
4725 acl_final_prefix
="$prefix"
4727 if test "X$exec_prefix" = "XNONE"; then
4728 acl_final_exec_prefix
='${prefix}'
4730 acl_final_exec_prefix
="$exec_prefix"
4732 acl_save_prefix
="$prefix"
4733 prefix
="$acl_final_prefix"
4734 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
4735 prefix
="$acl_save_prefix"
4737 # Make sure we can run config.sub.
4738 $ac_config_sub sun4
>/dev
/null
2>&1 ||
4739 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4740 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4741 { (exit 1); exit 1; }; }
4743 echo "$as_me:$LINENO: checking build system type" >&5
4744 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4745 if test "${ac_cv_build+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 ac_cv_build_alias
=$build_alias
4749 test -z "$ac_cv_build_alias" &&
4750 ac_cv_build_alias
=`$ac_config_guess`
4751 test -z "$ac_cv_build_alias" &&
4752 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4753 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4754 { (exit 1); exit 1; }; }
4755 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
4756 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4757 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4758 { (exit 1); exit 1; }; }
4761 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4762 echo "${ECHO_T}$ac_cv_build" >&6
4764 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4765 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4766 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4769 echo "$as_me:$LINENO: checking host system type" >&5
4770 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4771 if test "${ac_cv_host+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 ac_cv_host_alias
=$host_alias
4775 test -z "$ac_cv_host_alias" &&
4776 ac_cv_host_alias
=$ac_cv_build_alias
4777 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
4778 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4779 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4780 { (exit 1); exit 1; }; }
4783 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4784 echo "${ECHO_T}$ac_cv_host" >&6
4786 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4787 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4788 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4792 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4793 if test "${with_gnu_ld+set}" = set; then
4794 withval
="$with_gnu_ld"
4795 test "$withval" = no || with_gnu_ld
=yes
4800 if test "$GCC" = yes; then
4801 # Check if gcc -print-prog-name=ld gives a path.
4802 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4803 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4806 # gcc leaves a trailing carriage return which upsets mingw
4807 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4809 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4812 # Accept absolute paths.
4813 [\\/]* |
[A-Za-z
]:[\\/]*)
4814 re_direlt
='/[^/][^/]*/\.\./'
4815 # Canonicalize the path of ld
4816 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4817 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4818 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4820 test -z "$LD" && LD
="$ac_prog"
4823 # If it fails, then pretend we aren't using GCC.
4827 # If it is relative, then search for the first ld in PATH.
4831 elif test "$with_gnu_ld" = yes; then
4832 echo "$as_me:$LINENO: checking for GNU ld" >&5
4833 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4835 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4836 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4838 if test "${acl_cv_path_LD+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 if test -z "$LD"; then
4842 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4843 for ac_dir
in $PATH; do
4844 test -z "$ac_dir" && ac_dir
=.
4845 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4846 acl_cv_path_LD
="$ac_dir/$ac_prog"
4847 # Check to see if the program is GNU ld. I'd rather use --version,
4848 # but apparently some GNU ld's only accept -v.
4849 # Break only if it was the GNU/non-GNU ld that we prefer.
4850 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4851 test "$with_gnu_ld" != no
&& break
4853 test "$with_gnu_ld" != yes && break
4859 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
4863 LD
="$acl_cv_path_LD"
4864 if test -n "$LD"; then
4865 echo "$as_me:$LINENO: result: $LD" >&5
4866 echo "${ECHO_T}$LD" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4871 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4872 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4873 { (exit 1); exit 1; }; }
4874 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4875 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4876 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4880 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4881 acl_cv_prog_gnu_ld
=yes
4883 acl_cv_prog_gnu_ld
=no
4886 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4887 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4888 with_gnu_ld
=$acl_cv_prog_gnu_ld
4892 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
4893 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
4894 if test "${acl_cv_rpath+set}" = set; then
4895 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
4899 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4905 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
4906 echo "${ECHO_T}$acl_cv_rpath" >&6
4908 libext
="$acl_cv_libext"
4909 shlibext
="$acl_cv_shlibext"
4910 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
4911 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
4912 hardcode_direct
="$acl_cv_hardcode_direct"
4913 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
4914 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
4915 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
4928 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4929 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4930 # Check whether --enable-nls or --disable-nls was given.
4931 if test "${enable_nls+set}" = set; then
4932 enableval
="$enable_nls"
4937 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4938 echo "${ECHO_T}$USE_NLS" >&6
4946 if test "$USE_NLS" = "yes"; then
4947 gt_use_preinstalled_gnugettext
=no
4954 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4955 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4956 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 cat >conftest.
$ac_ext <<_ACEOF
4960 #line $LINENO "configure"
4961 #include "confdefs.h"
4962 #include <libintl.h>
4963 extern int _nl_msg_cat_cntr;
4964 extern int *_nl_domain_bindings;
4965 #ifdef F77_DUMMY_MAIN
4969 int F77_DUMMY_MAIN() { return 1; }
4974 bindtextdomain ("", "");
4975 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4980 rm -f conftest.
$ac_objext conftest
$ac_exeext
4981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4982 (eval $ac_link) 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try
='test -s conftest$ac_exeext'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; }; then
4992 gt_cv_func_gnugettext1_libc
=yes
4994 echo "$as_me: failed program was:" >&5
4995 cat conftest.
$ac_ext >&5
4996 gt_cv_func_gnugettext1_libc
=no
4998 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5000 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
5001 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
5003 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5014 acl_save_prefix
="$prefix"
5015 prefix
="$acl_final_prefix"
5016 acl_save_exec_prefix
="$exec_prefix"
5017 exec_prefix
="$acl_final_exec_prefix"
5019 eval additional_includedir
=\"$includedir\"
5020 eval additional_libdir
=\"$libdir\"
5022 exec_prefix
="$acl_save_exec_prefix"
5023 prefix
="$acl_save_prefix"
5026 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5027 if test "${with_libiconv_prefix+set}" = set; then
5028 withval
="$with_libiconv_prefix"
5030 if test "X$withval" = "Xno"; then
5033 if test "X$withval" = "X"; then
5035 acl_save_prefix
="$prefix"
5036 prefix
="$acl_final_prefix"
5037 acl_save_exec_prefix
="$exec_prefix"
5038 exec_prefix
="$acl_final_exec_prefix"
5040 eval additional_includedir
=\"$includedir\"
5041 eval additional_libdir
=\"$libdir\"
5043 exec_prefix
="$acl_save_exec_prefix"
5044 prefix
="$acl_save_prefix"
5047 additional_includedir
="$withval/include"
5048 additional_libdir
="$withval/lib"
5058 names_already_handled
=
5059 names_next_round
='iconv '
5060 while test -n "$names_next_round"; do
5061 names_this_round
="$names_next_round"
5063 for name
in $names_this_round; do
5065 for n
in $names_already_handled; do
5066 if test "$n" = "$name"; then
5071 if test -z "$already_handled"; then
5072 names_already_handled
="$names_already_handled $name"
5073 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5074 eval value
=\"\
$HAVE_LIB$uppername\"
5075 if test -n "$value"; then
5076 if test "$value" = yes; then
5077 eval value
=\"\
$LIB$uppername\"
5078 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5079 eval value
=\"\
$LTLIB$uppername\"
5080 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5089 if test $use_additional = yes; then
5090 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5091 found_dir
="$additional_libdir"
5092 found_so
="$additional_libdir/lib$name.$shlibext"
5093 if test -f "$additional_libdir/lib$name.la"; then
5094 found_la
="$additional_libdir/lib$name.la"
5097 if test -f "$additional_libdir/lib$name.$libext"; then
5098 found_dir
="$additional_libdir"
5099 found_a
="$additional_libdir/lib$name.$libext"
5100 if test -f "$additional_libdir/lib$name.la"; then
5101 found_la
="$additional_libdir/lib$name.la"
5106 if test "X$found_dir" = "X"; then
5107 for x
in $LDFLAGS $LTLIBICONV; do
5109 acl_save_prefix
="$prefix"
5110 prefix
="$acl_final_prefix"
5111 acl_save_exec_prefix
="$exec_prefix"
5112 exec_prefix
="$acl_final_exec_prefix"
5114 exec_prefix
="$acl_save_exec_prefix"
5115 prefix
="$acl_save_prefix"
5119 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5120 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5122 found_so
="$dir/lib$name.$shlibext"
5123 if test -f "$dir/lib$name.la"; then
5124 found_la
="$dir/lib$name.la"
5127 if test -f "$dir/lib$name.$libext"; then
5129 found_a
="$dir/lib$name.$libext"
5130 if test -f "$dir/lib$name.la"; then
5131 found_la
="$dir/lib$name.la"
5137 if test "X$found_dir" != "X"; then
5142 if test "X$found_dir" != "X"; then
5143 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5144 if test "X$found_so" != "X"; then
5145 if test "X$found_dir" = "X/usr/lib"; then
5146 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5149 for x
in $ltrpathdirs; do
5150 if test "X$x" = "X$found_dir"; then
5155 if test -z "$haveit"; then
5156 ltrpathdirs
="$ltrpathdirs $found_dir"
5158 if test "$hardcode_direct" = yes; then
5159 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5161 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5162 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5164 for x
in $rpathdirs; do
5165 if test "X$x" = "X$found_dir"; then
5170 if test -z "$haveit"; then
5171 rpathdirs
="$rpathdirs $found_dir"
5175 for x
in $LDFLAGS $LIBICONV; do
5177 acl_save_prefix
="$prefix"
5178 prefix
="$acl_final_prefix"
5179 acl_save_exec_prefix
="$exec_prefix"
5180 exec_prefix
="$acl_final_exec_prefix"
5182 exec_prefix
="$acl_save_exec_prefix"
5183 prefix
="$acl_save_prefix"
5185 if test "X$x" = "X-L$found_dir"; then
5190 if test -z "$haveit"; then
5191 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5193 if test "$hardcode_minus_L" != no
; then
5194 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5196 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5202 if test "X$found_a" != "X"; then
5203 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5205 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5208 additional_includedir
=
5209 case "$found_dir" in
5211 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5212 additional_includedir
="$basedir/include"
5215 if test "X$additional_includedir" != "X"; then
5216 if test "X$additional_includedir" != "X/usr/include"; then
5218 if test "X$additional_includedir" = "X/usr/local/include"; then
5219 if test -n "$GCC"; then
5221 linux
*) haveit
=yes;;
5225 if test -z "$haveit"; then
5226 for x
in $CPPFLAGS $INCICONV; do
5228 acl_save_prefix
="$prefix"
5229 prefix
="$acl_final_prefix"
5230 acl_save_exec_prefix
="$exec_prefix"
5231 exec_prefix
="$acl_final_exec_prefix"
5233 exec_prefix
="$acl_save_exec_prefix"
5234 prefix
="$acl_save_prefix"
5236 if test "X$x" = "X-I$additional_includedir"; then
5241 if test -z "$haveit"; then
5242 if test -d "$additional_includedir"; then
5243 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5249 if test -n "$found_la"; then
5250 save_libdir
="$libdir"
5252 */* |
*\\*) .
"$found_la" ;;
5253 *) .
"./$found_la" ;;
5255 libdir
="$save_libdir"
5256 for dep
in $dependency_libs; do
5259 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5260 if test "X$additional_libdir" != "X/usr/lib"; then
5262 if test "X$additional_libdir" = "X/usr/local/lib"; then
5263 if test -n "$GCC"; then
5265 linux
*) haveit
=yes;;
5269 if test -z "$haveit"; then
5271 for x
in $LDFLAGS $LIBICONV; do
5273 acl_save_prefix
="$prefix"
5274 prefix
="$acl_final_prefix"
5275 acl_save_exec_prefix
="$exec_prefix"
5276 exec_prefix
="$acl_final_exec_prefix"
5278 exec_prefix
="$acl_save_exec_prefix"
5279 prefix
="$acl_save_prefix"
5281 if test "X$x" = "X-L$additional_libdir"; then
5286 if test -z "$haveit"; then
5287 if test -d "$additional_libdir"; then
5288 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5292 for x
in $LDFLAGS $LTLIBICONV; do
5294 acl_save_prefix
="$prefix"
5295 prefix
="$acl_final_prefix"
5296 acl_save_exec_prefix
="$exec_prefix"
5297 exec_prefix
="$acl_final_exec_prefix"
5299 exec_prefix
="$acl_save_exec_prefix"
5300 prefix
="$acl_save_prefix"
5302 if test "X$x" = "X-L$additional_libdir"; then
5307 if test -z "$haveit"; then
5308 if test -d "$additional_libdir"; then
5309 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5316 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5319 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5322 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5323 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5329 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5330 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5336 if test "X$rpathdirs" != "X"; then
5337 if test -n "$hardcode_libdir_separator"; then
5339 for found_dir
in $rpathdirs; do
5340 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5342 acl_save_libdir
="$libdir"
5344 eval flag
=\"$hardcode_libdir_flag_spec\"
5345 libdir
="$acl_save_libdir"
5346 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5348 for found_dir
in $rpathdirs; do
5349 acl_save_libdir
="$libdir"
5351 eval flag
=\"$hardcode_libdir_flag_spec\"
5352 libdir
="$acl_save_libdir"
5353 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5357 if test "X$ltrpathdirs" != "X"; then
5358 for found_dir
in $ltrpathdirs; do
5359 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5364 am_save_CPPFLAGS
="$CPPFLAGS"
5366 for element
in $INCICONV; do
5368 for x
in $CPPFLAGS; do
5370 acl_save_prefix
="$prefix"
5371 prefix
="$acl_final_prefix"
5372 acl_save_exec_prefix
="$exec_prefix"
5373 exec_prefix
="$acl_final_exec_prefix"
5375 exec_prefix
="$acl_save_exec_prefix"
5376 prefix
="$acl_save_prefix"
5378 if test "X$x" = "X$element"; then
5383 if test -z "$haveit"; then
5384 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5389 echo "$as_me:$LINENO: checking for iconv" >&5
5390 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5391 if test "${am_cv_func_iconv+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 am_cv_func_iconv
="no, consider installing GNU libiconv"
5397 cat >conftest.
$ac_ext <<_ACEOF
5398 #line $LINENO "configure"
5399 #include "confdefs.h"
5402 #ifdef F77_DUMMY_MAIN
5406 int F77_DUMMY_MAIN() { return 1; }
5411 iconv_t cd = iconv_open("","");
5412 iconv(cd,NULL,NULL,NULL,NULL);
5418 rm -f conftest.
$ac_objext conftest
$ac_exeext
5419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5420 (eval $ac_link) 2>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } &&
5424 { ac_try
='test -s conftest$ac_exeext'
5425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); }; }; then
5430 am_cv_func_iconv
=yes
5432 echo "$as_me: failed program was:" >&5
5433 cat conftest.
$ac_ext >&5
5435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5436 if test "$am_cv_func_iconv" != yes; then
5437 am_save_LIBS
="$LIBS"
5438 LIBS
="$LIBS $LIBICONV"
5439 cat >conftest.
$ac_ext <<_ACEOF
5440 #line $LINENO "configure"
5441 #include "confdefs.h"
5444 #ifdef F77_DUMMY_MAIN
5448 int F77_DUMMY_MAIN() { return 1; }
5453 iconv_t cd = iconv_open("","");
5454 iconv(cd,NULL,NULL,NULL,NULL);
5460 rm -f conftest.
$ac_objext conftest
$ac_exeext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5462 (eval $ac_link) 2>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } &&
5466 { ac_try
='test -s conftest$ac_exeext'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; }; then
5473 am_cv_func_iconv
=yes
5475 echo "$as_me: failed program was:" >&5
5476 cat conftest.
$ac_ext >&5
5478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5479 LIBS
="$am_save_LIBS"
5483 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5484 echo "${ECHO_T}$am_cv_func_iconv" >&6
5485 if test "$am_cv_func_iconv" = yes; then
5487 cat >>confdefs.h
<<\_ACEOF
5488 #define HAVE_ICONV 1
5492 if test "$am_cv_lib_iconv" = yes; then
5493 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5494 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
5495 echo "$as_me:$LINENO: result: $LIBICONV" >&5
5496 echo "${ECHO_T}$LIBICONV" >&6
5498 CPPFLAGS
="$am_save_CPPFLAGS"
5510 acl_save_prefix
="$prefix"
5511 prefix
="$acl_final_prefix"
5512 acl_save_exec_prefix
="$exec_prefix"
5513 exec_prefix
="$acl_final_exec_prefix"
5515 eval additional_includedir
=\"$includedir\"
5516 eval additional_libdir
=\"$libdir\"
5518 exec_prefix
="$acl_save_exec_prefix"
5519 prefix
="$acl_save_prefix"
5522 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
5523 if test "${with_libintl_prefix+set}" = set; then
5524 withval
="$with_libintl_prefix"
5526 if test "X$withval" = "Xno"; then
5529 if test "X$withval" = "X"; then
5531 acl_save_prefix
="$prefix"
5532 prefix
="$acl_final_prefix"
5533 acl_save_exec_prefix
="$exec_prefix"
5534 exec_prefix
="$acl_final_exec_prefix"
5536 eval additional_includedir
=\"$includedir\"
5537 eval additional_libdir
=\"$libdir\"
5539 exec_prefix
="$acl_save_exec_prefix"
5540 prefix
="$acl_save_prefix"
5543 additional_includedir
="$withval/include"
5544 additional_libdir
="$withval/lib"
5554 names_already_handled
=
5555 names_next_round
='intl '
5556 while test -n "$names_next_round"; do
5557 names_this_round
="$names_next_round"
5559 for name
in $names_this_round; do
5561 for n
in $names_already_handled; do
5562 if test "$n" = "$name"; then
5567 if test -z "$already_handled"; then
5568 names_already_handled
="$names_already_handled $name"
5569 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5570 eval value
=\"\
$HAVE_LIB$uppername\"
5571 if test -n "$value"; then
5572 if test "$value" = yes; then
5573 eval value
=\"\
$LIB$uppername\"
5574 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
5575 eval value
=\"\
$LTLIB$uppername\"
5576 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
5585 if test $use_additional = yes; then
5586 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5587 found_dir
="$additional_libdir"
5588 found_so
="$additional_libdir/lib$name.$shlibext"
5589 if test -f "$additional_libdir/lib$name.la"; then
5590 found_la
="$additional_libdir/lib$name.la"
5593 if test -f "$additional_libdir/lib$name.$libext"; then
5594 found_dir
="$additional_libdir"
5595 found_a
="$additional_libdir/lib$name.$libext"
5596 if test -f "$additional_libdir/lib$name.la"; then
5597 found_la
="$additional_libdir/lib$name.la"
5602 if test "X$found_dir" = "X"; then
5603 for x
in $LDFLAGS $LTLIBINTL; do
5605 acl_save_prefix
="$prefix"
5606 prefix
="$acl_final_prefix"
5607 acl_save_exec_prefix
="$exec_prefix"
5608 exec_prefix
="$acl_final_exec_prefix"
5610 exec_prefix
="$acl_save_exec_prefix"
5611 prefix
="$acl_save_prefix"
5615 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5616 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5618 found_so
="$dir/lib$name.$shlibext"
5619 if test -f "$dir/lib$name.la"; then
5620 found_la
="$dir/lib$name.la"
5623 if test -f "$dir/lib$name.$libext"; then
5625 found_a
="$dir/lib$name.$libext"
5626 if test -f "$dir/lib$name.la"; then
5627 found_la
="$dir/lib$name.la"
5633 if test "X$found_dir" != "X"; then
5638 if test "X$found_dir" != "X"; then
5639 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5640 if test "X$found_so" != "X"; then
5641 if test "X$found_dir" = "X/usr/lib"; then
5642 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5645 for x
in $ltrpathdirs; do
5646 if test "X$x" = "X$found_dir"; then
5651 if test -z "$haveit"; then
5652 ltrpathdirs
="$ltrpathdirs $found_dir"
5654 if test "$hardcode_direct" = yes; then
5655 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5657 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5658 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5660 for x
in $rpathdirs; do
5661 if test "X$x" = "X$found_dir"; then
5666 if test -z "$haveit"; then
5667 rpathdirs
="$rpathdirs $found_dir"
5671 for x
in $LDFLAGS $LIBINTL; do
5673 acl_save_prefix
="$prefix"
5674 prefix
="$acl_final_prefix"
5675 acl_save_exec_prefix
="$exec_prefix"
5676 exec_prefix
="$acl_final_exec_prefix"
5678 exec_prefix
="$acl_save_exec_prefix"
5679 prefix
="$acl_save_prefix"
5681 if test "X$x" = "X-L$found_dir"; then
5686 if test -z "$haveit"; then
5687 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5689 if test "$hardcode_minus_L" != no
; then
5690 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5692 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
5698 if test "X$found_a" != "X"; then
5699 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
5701 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5704 additional_includedir
=
5705 case "$found_dir" in
5707 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5708 additional_includedir
="$basedir/include"
5711 if test "X$additional_includedir" != "X"; then
5712 if test "X$additional_includedir" != "X/usr/include"; then
5714 if test "X$additional_includedir" = "X/usr/local/include"; then
5715 if test -n "$GCC"; then
5717 linux
*) haveit
=yes;;
5721 if test -z "$haveit"; then
5722 for x
in $CPPFLAGS $INCINTL; do
5724 acl_save_prefix
="$prefix"
5725 prefix
="$acl_final_prefix"
5726 acl_save_exec_prefix
="$exec_prefix"
5727 exec_prefix
="$acl_final_exec_prefix"
5729 exec_prefix
="$acl_save_exec_prefix"
5730 prefix
="$acl_save_prefix"
5732 if test "X$x" = "X-I$additional_includedir"; then
5737 if test -z "$haveit"; then
5738 if test -d "$additional_includedir"; then
5739 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5745 if test -n "$found_la"; then
5746 save_libdir
="$libdir"
5748 */* |
*\\*) .
"$found_la" ;;
5749 *) .
"./$found_la" ;;
5751 libdir
="$save_libdir"
5752 for dep
in $dependency_libs; do
5755 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5756 if test "X$additional_libdir" != "X/usr/lib"; then
5758 if test "X$additional_libdir" = "X/usr/local/lib"; then
5759 if test -n "$GCC"; then
5761 linux
*) haveit
=yes;;
5765 if test -z "$haveit"; then
5767 for x
in $LDFLAGS $LIBINTL; do
5769 acl_save_prefix
="$prefix"
5770 prefix
="$acl_final_prefix"
5771 acl_save_exec_prefix
="$exec_prefix"
5772 exec_prefix
="$acl_final_exec_prefix"
5774 exec_prefix
="$acl_save_exec_prefix"
5775 prefix
="$acl_save_prefix"
5777 if test "X$x" = "X-L$additional_libdir"; then
5782 if test -z "$haveit"; then
5783 if test -d "$additional_libdir"; then
5784 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5788 for x
in $LDFLAGS $LTLIBINTL; do
5790 acl_save_prefix
="$prefix"
5791 prefix
="$acl_final_prefix"
5792 acl_save_exec_prefix
="$exec_prefix"
5793 exec_prefix
="$acl_final_exec_prefix"
5795 exec_prefix
="$acl_save_exec_prefix"
5796 prefix
="$acl_save_prefix"
5798 if test "X$x" = "X-L$additional_libdir"; then
5803 if test -z "$haveit"; then
5804 if test -d "$additional_libdir"; then
5805 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5812 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5815 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5818 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
5819 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5825 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
5826 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5832 if test "X$rpathdirs" != "X"; then
5833 if test -n "$hardcode_libdir_separator"; then
5835 for found_dir
in $rpathdirs; do
5836 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5838 acl_save_libdir
="$libdir"
5840 eval flag
=\"$hardcode_libdir_flag_spec\"
5841 libdir
="$acl_save_libdir"
5842 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
5844 for found_dir
in $rpathdirs; do
5845 acl_save_libdir
="$libdir"
5847 eval flag
=\"$hardcode_libdir_flag_spec\"
5848 libdir
="$acl_save_libdir"
5849 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
5853 if test "X$ltrpathdirs" != "X"; then
5854 for found_dir
in $ltrpathdirs; do
5855 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5859 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
5860 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
5861 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 gt_save_CPPFLAGS
="$CPPFLAGS"
5865 CPPFLAGS
="$CPPFLAGS $INCINTL"
5866 gt_save_LIBS
="$LIBS"
5867 LIBS
="$LIBS $LIBINTL"
5868 cat >conftest.
$ac_ext <<_ACEOF
5869 #line $LINENO "configure"
5870 #include "confdefs.h"
5871 #include <libintl.h>
5872 extern int _nl_msg_cat_cntr;
5873 extern int *_nl_domain_bindings;
5878 const char *_nl_expand_alias ();
5879 #ifdef F77_DUMMY_MAIN
5883 int F77_DUMMY_MAIN() { return 1; }
5888 bindtextdomain ("", "");
5889 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
5894 rm -f conftest.
$ac_objext conftest
$ac_exeext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5896 (eval $ac_link) 2>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } &&
5900 { ac_try
='test -s conftest$ac_exeext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 gt_cv_func_gnugettext1_libintl
=yes
5908 echo "$as_me: failed program was:" >&5
5909 cat conftest.
$ac_ext >&5
5910 gt_cv_func_gnugettext1_libintl
=no
5912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5913 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5914 LIBS
="$LIBS $LIBICONV"
5915 cat >conftest.
$ac_ext <<_ACEOF
5916 #line $LINENO "configure"
5917 #include "confdefs.h"
5918 #include <libintl.h>
5919 extern int _nl_msg_cat_cntr;
5920 extern int *_nl_domain_bindings;
5925 const char *_nl_expand_alias ();
5926 #ifdef F77_DUMMY_MAIN
5930 int F77_DUMMY_MAIN() { return 1; }
5935 bindtextdomain ("", "");
5936 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
5941 rm -f conftest.
$ac_objext conftest
$ac_exeext
5942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5943 (eval $ac_link) 2>&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try
='test -s conftest$ac_exeext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 LIBINTL
="$LIBINTL $LIBICONV"
5954 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
5955 gt_cv_func_gnugettext1_libintl
=yes
5958 echo "$as_me: failed program was:" >&5
5959 cat conftest.
$ac_ext >&5
5961 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5963 CPPFLAGS
="$gt_save_CPPFLAGS"
5964 LIBS
="$gt_save_LIBS"
5966 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
5967 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
5970 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5971 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5972 && test "$PACKAGE" != gettext; }; then
5973 gt_use_preinstalled_gnugettext
=yes
5982 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5983 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
5985 cat >>confdefs.h
<<\_ACEOF
5986 #define ENABLE_NLS 1
5994 if test "$USE_NLS" = "yes"; then
5996 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5997 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5998 echo "$as_me:$LINENO: checking how to link with libintl" >&5
5999 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
6000 echo "$as_me:$LINENO: result: $LIBINTL" >&5
6001 echo "${ECHO_T}$LIBINTL" >&6
6003 for element
in $INCINTL; do
6005 for x
in $CPPFLAGS; do
6007 acl_save_prefix
="$prefix"
6008 prefix
="$acl_final_prefix"
6009 acl_save_exec_prefix
="$exec_prefix"
6010 exec_prefix
="$acl_final_exec_prefix"
6012 exec_prefix
="$acl_save_exec_prefix"
6013 prefix
="$acl_save_prefix"
6015 if test "X$x" = "X$element"; then
6020 if test -z "$haveit"; then
6021 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6028 cat >>confdefs.h
<<\_ACEOF
6029 #define HAVE_GETTEXT 1
6033 cat >>confdefs.h
<<\_ACEOF
6034 #define HAVE_DCGETTEXT 1
6051 XGETTEXT
="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
6058 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6059 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6060 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6061 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 cat >conftest.
$ac_ext <<_ACEOF
6066 #line $LINENO "configure"
6067 #include "confdefs.h"
6068 #include <sys/types.h>
6071 #ifdef F77_DUMMY_MAIN
6075 int F77_DUMMY_MAIN() { return 1; }
6086 rm -f conftest.
$ac_objext
6087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6088 (eval $ac_compile) 2>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } &&
6092 { ac_try
='test -s conftest.$ac_objext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 eval "$as_ac_Header=yes"
6100 echo "$as_me: failed program was:" >&5
6101 cat conftest.
$ac_ext >&5
6102 eval "$as_ac_Header=no"
6104 rm -f conftest.
$ac_objext conftest.
$ac_ext
6106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6109 cat >>confdefs.h
<<_ACEOF
6110 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6113 ac_header_dirent
=$ac_hdr; break
6117 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6118 if test $ac_header_dirent = dirent.h
; then
6119 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6120 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6121 if test "${ac_cv_search_opendir+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 ac_func_search_save_LIBS
=$LIBS
6125 ac_cv_search_opendir
=no
6126 cat >conftest.
$ac_ext <<_ACEOF
6127 #line $LINENO "configure"
6128 #include "confdefs.h"
6130 /* Override any gcc2 internal prototype to avoid an error. */
6134 /* We use char because int might match the return type of a gcc2
6135 builtin and then its argument prototype would still apply. */
6137 #ifdef F77_DUMMY_MAIN
6141 int F77_DUMMY_MAIN() { return 1; }
6151 rm -f conftest.
$ac_objext conftest
$ac_exeext
6152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6153 (eval $ac_link) 2>&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } &&
6157 { ac_try
='test -s conftest$ac_exeext'
6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; }; then
6163 ac_cv_search_opendir
="none required"
6165 echo "$as_me: failed program was:" >&5
6166 cat conftest.
$ac_ext >&5
6168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6169 if test "$ac_cv_search_opendir" = no
; then
6170 for ac_lib
in dir
; do
6171 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6172 cat >conftest.
$ac_ext <<_ACEOF
6173 #line $LINENO "configure"
6174 #include "confdefs.h"
6176 /* Override any gcc2 internal prototype to avoid an error. */
6180 /* We use char because int might match the return type of a gcc2
6181 builtin and then its argument prototype would still apply. */
6183 #ifdef F77_DUMMY_MAIN
6187 int F77_DUMMY_MAIN() { return 1; }
6197 rm -f conftest.
$ac_objext conftest
$ac_exeext
6198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6199 (eval $ac_link) 2>&5
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); } &&
6203 { ac_try
='test -s conftest$ac_exeext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 ac_cv_search_opendir
="-l$ac_lib"
6212 echo "$as_me: failed program was:" >&5
6213 cat conftest.
$ac_ext >&5
6215 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6218 LIBS
=$ac_func_search_save_LIBS
6220 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6221 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6222 if test "$ac_cv_search_opendir" != no
; then
6223 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6228 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6229 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6230 if test "${ac_cv_search_opendir+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 ac_func_search_save_LIBS
=$LIBS
6234 ac_cv_search_opendir
=no
6235 cat >conftest.
$ac_ext <<_ACEOF
6236 #line $LINENO "configure"
6237 #include "confdefs.h"
6239 /* Override any gcc2 internal prototype to avoid an error. */
6243 /* We use char because int might match the return type of a gcc2
6244 builtin and then its argument prototype would still apply. */
6246 #ifdef F77_DUMMY_MAIN
6250 int F77_DUMMY_MAIN() { return 1; }
6260 rm -f conftest.
$ac_objext conftest
$ac_exeext
6261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6262 (eval $ac_link) 2>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try
='test -s conftest$ac_exeext'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6272 ac_cv_search_opendir
="none required"
6274 echo "$as_me: failed program was:" >&5
6275 cat conftest.
$ac_ext >&5
6277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6278 if test "$ac_cv_search_opendir" = no
; then
6280 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6281 cat >conftest.
$ac_ext <<_ACEOF
6282 #line $LINENO "configure"
6283 #include "confdefs.h"
6285 /* Override any gcc2 internal prototype to avoid an error. */
6289 /* We use char because int might match the return type of a gcc2
6290 builtin and then its argument prototype would still apply. */
6292 #ifdef F77_DUMMY_MAIN
6296 int F77_DUMMY_MAIN() { return 1; }
6306 rm -f conftest.
$ac_objext conftest
$ac_exeext
6307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6308 (eval $ac_link) 2>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } &&
6312 { ac_try
='test -s conftest$ac_exeext'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 ac_cv_search_opendir
="-l$ac_lib"
6321 echo "$as_me: failed program was:" >&5
6322 cat conftest.
$ac_ext >&5
6324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6327 LIBS
=$ac_func_search_save_LIBS
6329 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6330 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6331 if test "$ac_cv_search_opendir" != no
; then
6332 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6338 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6339 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6340 if test "${ac_cv_header_stat_broken+set}" = set; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 cat >conftest.
$ac_ext <<_ACEOF
6344 #line $LINENO "configure"
6345 #include "confdefs.h"
6346 #include <sys/types.h>
6347 #include <sys/stat.h>
6349 #if defined(S_ISBLK) && defined(S_IFDIR)
6350 # if S_ISBLK (S_IFDIR)
6355 #if defined(S_ISBLK) && defined(S_IFCHR)
6356 # if S_ISBLK (S_IFCHR)
6361 #if defined(S_ISLNK) && defined(S_IFREG)
6362 # if S_ISLNK (S_IFREG)
6367 #if defined(S_ISSOCK) && defined(S_IFREG)
6368 # if S_ISSOCK (S_IFREG)
6374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6375 egrep "You lose" >/dev
/null
2>&1; then
6376 ac_cv_header_stat_broken
=yes
6378 ac_cv_header_stat_broken
=no
6383 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6384 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6385 if test $ac_cv_header_stat_broken = yes; then
6387 cat >>confdefs.h
<<\_ACEOF
6388 #define STAT_MACROS_BROKEN 1
6393 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6394 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6395 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 cat >conftest.
$ac_ext <<_ACEOF
6399 #line $LINENO "configure"
6400 #include "confdefs.h"
6401 #include <sys/types.h>
6402 #include <sys/wait.h>
6404 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6407 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6410 #ifdef F77_DUMMY_MAIN
6414 int F77_DUMMY_MAIN() { return 1; }
6421 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6426 rm -f conftest.
$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428 (eval $ac_compile) 2>&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } &&
6432 { ac_try
='test -s conftest.$ac_objext'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; }; then
6438 ac_cv_header_sys_wait_h
=yes
6440 echo "$as_me: failed program was:" >&5
6441 cat conftest.
$ac_ext >&5
6442 ac_cv_header_sys_wait_h
=no
6444 rm -f conftest.
$ac_objext conftest.
$ac_ext
6446 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6447 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6448 if test $ac_cv_header_sys_wait_h = yes; then
6450 cat >>confdefs.h
<<\_ACEOF
6451 #define HAVE_SYS_WAIT_H 1
6456 echo "$as_me:$LINENO: checking for nanoseconds member of struct stat.st_mtim" >&5
6457 echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6
6458 if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 ac_save_CPPFLAGS
="$CPPFLAGS"
6462 ac_cv_struct_st_mtim_nsec
=no
6463 # tv_nsec -- the usual case
6464 # _tv_nsec -- Solaris 2.6, if
6465 # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1
6466 # && !defined __EXTENSIONS__)
6467 # st__tim.tv_nsec -- UnixWare 2.1.2
6468 for ac_val
in tv_nsec _tv_nsec st__tim.tv_nsec
; do
6469 CPPFLAGS
="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val"
6470 cat >conftest.
$ac_ext <<_ACEOF
6471 #line $LINENO "configure"
6472 #include "confdefs.h"
6473 #include <sys/types.h>
6474 #include <sys/stat.h>
6475 #ifdef F77_DUMMY_MAIN
6479 int F77_DUMMY_MAIN() { return 1; }
6484 struct stat s; s.st_mtim.ST_MTIM_NSEC;
6489 rm -f conftest.
$ac_objext
6490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6491 (eval $ac_compile) 2>&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); } &&
6495 { ac_try
='test -s conftest.$ac_objext'
6496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); }; }; then
6501 ac_cv_struct_st_mtim_nsec
=$ac_val; break
6503 echo "$as_me: failed program was:" >&5
6504 cat conftest.
$ac_ext >&5
6506 rm -f conftest.
$ac_objext conftest.
$ac_ext
6508 CPPFLAGS
="$ac_save_CPPFLAGS"
6510 echo "$as_me:$LINENO: result: $ac_cv_struct_st_mtim_nsec" >&5
6511 echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6
6513 if test $ac_cv_struct_st_mtim_nsec != no
; then
6515 cat >>confdefs.h
<<_ACEOF
6516 #define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec
6522 echo "$as_me:$LINENO: checking for pid_t" >&5
6523 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6524 if test "${ac_cv_type_pid_t+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 cat >conftest.
$ac_ext <<_ACEOF
6528 #line $LINENO "configure"
6529 #include "confdefs.h"
6530 $ac_includes_default
6531 #ifdef F77_DUMMY_MAIN
6535 int F77_DUMMY_MAIN() { return 1; }
6548 rm -f conftest.
$ac_objext
6549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6550 (eval $ac_compile) 2>&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } &&
6554 { ac_try
='test -s conftest.$ac_objext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6560 ac_cv_type_pid_t
=yes
6562 echo "$as_me: failed program was:" >&5
6563 cat conftest.
$ac_ext >&5
6566 rm -f conftest.
$ac_objext conftest.
$ac_ext
6568 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6569 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6570 if test $ac_cv_type_pid_t = yes; then
6574 cat >>confdefs.h
<<_ACEOF
6580 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6581 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6582 if test "${ac_cv_type_signal+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 cat >conftest.
$ac_ext <<_ACEOF
6586 #line $LINENO "configure"
6587 #include "confdefs.h"
6588 #include <sys/types.h>
6594 extern "C" void (*signal (int, void (*)(int)))(int);
6596 void (*signal ()) ();
6599 #ifdef F77_DUMMY_MAIN
6603 int F77_DUMMY_MAIN() { return 1; }
6613 rm -f conftest.
$ac_objext
6614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6615 (eval $ac_compile) 2>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try
='test -s conftest.$ac_objext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_type_signal
=void
6627 echo "$as_me: failed program was:" >&5
6628 cat conftest.
$ac_ext >&5
6629 ac_cv_type_signal
=int
6631 rm -f conftest.
$ac_objext conftest.
$ac_ext
6633 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6634 echo "${ECHO_T}$ac_cv_type_signal" >&6
6636 cat >>confdefs.h
<<_ACEOF
6637 #define RETSIGTYPE $ac_cv_type_signal
6650 for ac_func
in diraccess dup2 gettimeofday \
6651 sigaction sigprocmask strchr strerror tmpnam
6653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6654 echo "$as_me:$LINENO: checking for $ac_func" >&5
6655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6656 if eval "test \"\${$as_ac_var+set}\" = set"; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 cat >conftest.
$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6661 #include "confdefs.h"
6662 /* System header to define __stub macros and hopefully few prototypes,
6663 which can conflict with char $ac_func (); below. */
6665 /* Override any gcc2 internal prototype to avoid an error. */
6669 /* We use char because int might match the return type of a gcc2
6670 builtin and then its argument prototype would still apply. */
6674 #ifdef F77_DUMMY_MAIN
6678 int F77_DUMMY_MAIN() { return 1; }
6683 /* The GNU C library defines this for functions which it implements
6684 to always fail with ENOSYS. Some functions are actually named
6685 something starting with __ and the normal name is an alias. */
6686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6696 rm -f conftest.
$ac_objext conftest
$ac_exeext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6698 (eval $ac_link) 2>&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } &&
6702 { ac_try
='test -s conftest$ac_exeext'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; }; then
6708 eval "$as_ac_var=yes"
6710 echo "$as_me: failed program was:" >&5
6711 cat conftest.
$ac_ext >&5
6712 eval "$as_ac_var=no"
6714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6718 if test `eval echo '${'$as_ac_var'}'` = yes; then
6719 cat >>confdefs.h
<<_ACEOF
6720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6730 for ac_func
in memchr mkstemp strcasecmp waitpid
6732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733 echo "$as_me:$LINENO: checking for $ac_func" >&5
6734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6735 if eval "test \"\${$as_ac_var+set}\" = set"; then
6736 echo $ECHO_N "(cached) $ECHO_C" >&6
6738 cat >conftest.
$ac_ext <<_ACEOF
6739 #line $LINENO "configure"
6740 #include "confdefs.h"
6741 /* System header to define __stub macros and hopefully few prototypes,
6742 which can conflict with char $ac_func (); below. */
6744 /* Override any gcc2 internal prototype to avoid an error. */
6748 /* We use char because int might match the return type of a gcc2
6749 builtin and then its argument prototype would still apply. */
6753 #ifdef F77_DUMMY_MAIN
6757 int F77_DUMMY_MAIN() { return 1; }
6762 /* The GNU C library defines this for functions which it implements
6763 to always fail with ENOSYS. Some functions are actually named
6764 something starting with __ and the normal name is an alias. */
6765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6775 rm -f conftest.
$ac_objext conftest
$ac_exeext
6776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6777 (eval $ac_link) 2>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 { ac_try
='test -s conftest$ac_exeext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6787 eval "$as_ac_var=yes"
6789 echo "$as_me: failed program was:" >&5
6790 cat conftest.
$ac_ext >&5
6791 eval "$as_ac_var=no"
6793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6797 if test `eval echo '${'$as_ac_var'}'` = yes; then
6798 cat >>confdefs.h
<<_ACEOF
6799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6803 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6808 if test $ac_cv_func_mkstemp != yes; then
6809 LIBOBJS
="$LIBOBJS tempname.$ac_objext"
6811 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6812 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
6813 if test "${ac_cv_func_closedir_void+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 if test "$cross_compiling" = yes; then
6817 ac_cv_func_closedir_void
=yes
6819 cat >conftest.
$ac_ext <<_ACEOF
6820 #line $LINENO "configure"
6821 #include "confdefs.h"
6822 $ac_includes_default
6823 #include <$ac_header_dirent>
6828 #ifdef F77_DUMMY_MAIN
6832 int F77_DUMMY_MAIN() { return 1; }
6837 exit (closedir (opendir (".")) != 0);
6842 rm -f conftest
$ac_exeext
6843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6844 (eval $ac_link) 2>&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6853 ac_cv_func_closedir_void
=no
6855 echo "$as_me: program exited with status $ac_status" >&5
6856 echo "$as_me: failed program was:" >&5
6857 cat conftest.
$ac_ext >&5
6859 ac_cv_func_closedir_void
=yes
6861 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6864 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6865 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
6866 if test $ac_cv_func_closedir_void = yes; then
6868 cat >>confdefs.h
<<\_ACEOF
6869 #define CLOSEDIR_VOID 1
6876 for ac_header
in unistd.h vfork.h
6878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6880 echo "$as_me:$LINENO: checking for $ac_header" >&5
6881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6888 # Is the header compilable?
6889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6891 cat >conftest.
$ac_ext <<_ACEOF
6892 #line $LINENO "configure"
6893 #include "confdefs.h"
6894 $ac_includes_default
6895 #include <$ac_header>
6897 rm -f conftest.
$ac_objext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try
='test -s conftest.$ac_objext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_header_compiler
=yes
6911 echo "$as_me: failed program was:" >&5
6912 cat conftest.
$ac_ext >&5
6913 ac_header_compiler
=no
6915 rm -f conftest.
$ac_objext conftest.
$ac_ext
6916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6917 echo "${ECHO_T}$ac_header_compiler" >&6
6919 # Is the header present?
6920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6922 cat >conftest.
$ac_ext <<_ACEOF
6923 #line $LINENO "configure"
6924 #include "confdefs.h"
6925 #include <$ac_header>
6927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6930 egrep -v '^ *\+' conftest.er1
>conftest.err
6932 cat conftest.err
>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } >/dev
/null
; then
6935 if test -s conftest.err
; then
6936 ac_cpp_err
=$ac_c_preproc_warn_flag
6943 if test -z "$ac_cpp_err"; then
6944 ac_header_preproc
=yes
6946 echo "$as_me: failed program was:" >&5
6947 cat conftest.
$ac_ext >&5
6948 ac_header_preproc
=no
6950 rm -f conftest.err conftest.
$ac_ext
6951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6952 echo "${ECHO_T}$ac_header_preproc" >&6
6954 # So? What about this header?
6955 case $ac_header_compiler:$ac_header_preproc in
6957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6969 echo "$as_me:$LINENO: checking for $ac_header" >&5
6970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 eval "$as_ac_Header=$ac_header_preproc"
6976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6981 cat >>confdefs.h
<<_ACEOF
6982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6991 for ac_func
in fork vfork
6993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6994 echo "$as_me:$LINENO: checking for $ac_func" >&5
6995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6996 if eval "test \"\${$as_ac_var+set}\" = set"; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 cat >conftest.
$ac_ext <<_ACEOF
7000 #line $LINENO "configure"
7001 #include "confdefs.h"
7002 /* System header to define __stub macros and hopefully few prototypes,
7003 which can conflict with char $ac_func (); below. */
7005 /* Override any gcc2 internal prototype to avoid an error. */
7009 /* We use char because int might match the return type of a gcc2
7010 builtin and then its argument prototype would still apply. */
7014 #ifdef F77_DUMMY_MAIN
7018 int F77_DUMMY_MAIN() { return 1; }
7023 /* The GNU C library defines this for functions which it implements
7024 to always fail with ENOSYS. Some functions are actually named
7025 something starting with __ and the normal name is an alias. */
7026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7036 rm -f conftest.
$ac_objext conftest
$ac_exeext
7037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7038 (eval $ac_link) 2>&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } &&
7042 { ac_try
='test -s conftest$ac_exeext'
7043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); }; }; then
7048 eval "$as_ac_var=yes"
7050 echo "$as_me: failed program was:" >&5
7051 cat conftest.
$ac_ext >&5
7052 eval "$as_ac_var=no"
7054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7058 if test `eval echo '${'$as_ac_var'}'` = yes; then
7059 cat >>confdefs.h
<<_ACEOF
7060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7066 ac_cv_func_fork_works
=$ac_cv_func_fork
7067 if test "x$ac_cv_func_fork" = xyes
; then
7068 echo "$as_me:$LINENO: checking for working fork" >&5
7069 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
7070 if test "${ac_cv_func_fork_works+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7073 if test "$cross_compiling" = yes; then
7074 ac_cv_func_fork_works
=cross
7076 cat >conftest.
$ac_ext <<_ACEOF
7077 /* By Ruediger Kuhlmann. */
7078 #include <sys/types.h>
7080 # include <unistd.h>
7082 /* Some systems only have a dummy stub for fork() */
7090 rm -f conftest
$ac_exeext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7092 (eval $ac_link) 2>&5
7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; }; then
7101 ac_cv_func_fork_works
=yes
7103 echo "$as_me: program exited with status $ac_status" >&5
7104 echo "$as_me: failed program was:" >&5
7105 cat conftest.
$ac_ext >&5
7107 ac_cv_func_fork_works
=no
7109 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7112 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7113 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
7116 if test "x$ac_cv_func_fork_works" = xcross
; then
7118 *-*-amigaos* |
*-*-msdosdjgpp*)
7119 # Override, as these systems have only a dummy fork() stub
7120 ac_cv_func_fork_works
=no
7123 ac_cv_func_fork_works
=yes
7126 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7127 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7129 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7130 if test "x$ac_cv_func_vfork" = xyes
; then
7131 echo "$as_me:$LINENO: checking for working vfork" >&5
7132 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
7133 if test "${ac_cv_func_vfork_works+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 if test "$cross_compiling" = yes; then
7137 ac_cv_func_vfork_works
=cross
7139 cat >conftest.
$ac_ext <<_ACEOF
7140 #line $LINENO "configure"
7141 #include "confdefs.h"
7142 /* Thanks to Paul Eggert for this test. */
7144 #include <sys/types.h>
7145 #include <sys/stat.h>
7147 # include <unistd.h>
7152 /* On some sparc systems, changes by the child to local and incoming
7153 argument registers are propagated back to the parent. The compiler
7154 is told about this with #include <vfork.h>, but some compilers
7155 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7156 static variable whose address is put into a register that is
7157 clobbered by the vfork. */
7160 sparc_address_test (int arg)
7162 sparc_address_test (arg) int arg;
7183 pid_t parent = getpid ();
7186 sparc_address_test ();
7191 /* Here is another test for sparc vfork register problems. This
7192 test uses lots of local variables, at least as many local
7193 variables as main has allocated so far including compiler
7194 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7195 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7196 reuse the register of parent for one of the local variables,
7197 since it will think that parent can't possibly be used any more
7198 in this routine. Assigning to the local variable will thus
7199 munge parent in the parent process. */
7201 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7202 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7203 /* Convince the compiler that p..p7 are live; otherwise, it might
7204 use the same hardware register for all 8 local variables. */
7205 if (p != p1 || p != p2 || p != p3 || p != p4
7206 || p != p5 || p != p6 || p != p7)
7209 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7210 from child file descriptors. If the child closes a descriptor
7211 before it execs or exits, this munges the parent's descriptor
7212 as well. Test for this by closing stdout in the child. */
7213 _exit(close(fileno(stdout)) != 0);
7218 while (wait(&status) != child)
7221 /* Was there some problem with vforking? */
7224 /* Did the child fail? (This shouldn't happen.) */
7227 /* Did the vfork/compiler bug occur? */
7228 || parent != getpid()
7230 /* Did the file descriptor bug occur? */
7231 || fstat(fileno(stdout), &st) != 0
7236 rm -f conftest
$ac_exeext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; }; then
7247 ac_cv_func_vfork_works
=yes
7249 echo "$as_me: program exited with status $ac_status" >&5
7250 echo "$as_me: failed program was:" >&5
7251 cat conftest.
$ac_ext >&5
7253 ac_cv_func_vfork_works
=no
7255 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7258 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7259 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
7262 if test "x$ac_cv_func_fork_works" = xcross
; then
7263 ac_cv_func_vfork_works
=ac_cv_func_vfork
7264 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7265 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7268 if test "x$ac_cv_func_vfork_works" = xyes
; then
7270 cat >>confdefs.h
<<\_ACEOF
7271 #define HAVE_WORKING_VFORK 1
7276 cat >>confdefs.h
<<\_ACEOF
7281 if test "x$ac_cv_func_fork_works" = xyes
; then
7283 cat >>confdefs.h
<<\_ACEOF
7284 #define HAVE_WORKING_FORK 1
7290 for ac_func
in vprintf
7292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7293 echo "$as_me:$LINENO: checking for $ac_func" >&5
7294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7295 if eval "test \"\${$as_ac_var+set}\" = set"; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 cat >conftest.
$ac_ext <<_ACEOF
7299 #line $LINENO "configure"
7300 #include "confdefs.h"
7301 /* System header to define __stub macros and hopefully few prototypes,
7302 which can conflict with char $ac_func (); below. */
7304 /* Override any gcc2 internal prototype to avoid an error. */
7308 /* We use char because int might match the return type of a gcc2
7309 builtin and then its argument prototype would still apply. */
7313 #ifdef F77_DUMMY_MAIN
7317 int F77_DUMMY_MAIN() { return 1; }
7322 /* The GNU C library defines this for functions which it implements
7323 to always fail with ENOSYS. Some functions are actually named
7324 something starting with __ and the normal name is an alias. */
7325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7335 rm -f conftest.
$ac_objext conftest
$ac_exeext
7336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7337 (eval $ac_link) 2>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } &&
7341 { ac_try
='test -s conftest$ac_exeext'
7342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); }; }; then
7347 eval "$as_ac_var=yes"
7349 echo "$as_me: failed program was:" >&5
7350 cat conftest.
$ac_ext >&5
7351 eval "$as_ac_var=no"
7353 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7357 if test `eval echo '${'$as_ac_var'}'` = yes; then
7358 cat >>confdefs.h
<<_ACEOF
7359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7362 echo "$as_me:$LINENO: checking for _doprnt" >&5
7363 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7364 if test "${ac_cv_func__doprnt+set}" = set; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 cat >conftest.
$ac_ext <<_ACEOF
7368 #line $LINENO "configure"
7369 #include "confdefs.h"
7370 /* System header to define __stub macros and hopefully few prototypes,
7371 which can conflict with char _doprnt (); below. */
7373 /* Override any gcc2 internal prototype to avoid an error. */
7377 /* We use char because int might match the return type of a gcc2
7378 builtin and then its argument prototype would still apply. */
7382 #ifdef F77_DUMMY_MAIN
7386 int F77_DUMMY_MAIN() { return 1; }
7391 /* The GNU C library defines this for functions which it implements
7392 to always fail with ENOSYS. Some functions are actually named
7393 something starting with __ and the normal name is an alias. */
7394 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7404 rm -f conftest.
$ac_objext conftest
$ac_exeext
7405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7406 (eval $ac_link) 2>&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try
='test -s conftest$ac_exeext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_cv_func__doprnt
=yes
7418 echo "$as_me: failed program was:" >&5
7419 cat conftest.
$ac_ext >&5
7420 ac_cv_func__doprnt
=no
7422 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7425 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7426 if test $ac_cv_func__doprnt = yes; then
7428 cat >>confdefs.h
<<\_ACEOF
7429 #define HAVE_DOPRNT 1
7438 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
7439 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
7440 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 cat >conftest.
$ac_ext <<_ACEOF
7444 #line $LINENO "configure"
7445 #include "confdefs.h"
7446 $ac_includes_default
7447 #ifdef F77_DUMMY_MAIN
7451 int F77_DUMMY_MAIN() { return 1; }
7456 #ifndef clearerr_unlocked
7457 char *p = (char *) clearerr_unlocked;
7464 rm -f conftest.
$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466 (eval $ac_compile) 2>&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); } &&
7470 { ac_try
='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_have_decl_clearerr_unlocked
=yes
7478 echo "$as_me: failed program was:" >&5
7479 cat conftest.
$ac_ext >&5
7480 ac_cv_have_decl_clearerr_unlocked
=no
7482 rm -f conftest.
$ac_objext conftest.
$ac_ext
7484 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
7485 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
7486 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
7488 cat >>confdefs.h
<<_ACEOF
7489 #define HAVE_DECL_CLEARERR_UNLOCKED 1
7494 cat >>confdefs.h
<<_ACEOF
7495 #define HAVE_DECL_CLEARERR_UNLOCKED 0
7500 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
7501 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
7502 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 cat >conftest.
$ac_ext <<_ACEOF
7506 #line $LINENO "configure"
7507 #include "confdefs.h"
7508 $ac_includes_default
7509 #ifdef F77_DUMMY_MAIN
7513 int F77_DUMMY_MAIN() { return 1; }
7518 #ifndef feof_unlocked
7519 char *p = (char *) feof_unlocked;
7526 rm -f conftest.
$ac_objext
7527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7528 (eval $ac_compile) 2>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try
='test -s conftest.$ac_objext'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_have_decl_feof_unlocked
=yes
7540 echo "$as_me: failed program was:" >&5
7541 cat conftest.
$ac_ext >&5
7542 ac_cv_have_decl_feof_unlocked
=no
7544 rm -f conftest.
$ac_objext conftest.
$ac_ext
7546 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
7547 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
7548 if test $ac_cv_have_decl_feof_unlocked = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define HAVE_DECL_FEOF_UNLOCKED 1
7556 cat >>confdefs.h
<<_ACEOF
7557 #define HAVE_DECL_FEOF_UNLOCKED 0
7562 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
7563 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
7564 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 cat >conftest.
$ac_ext <<_ACEOF
7568 #line $LINENO "configure"
7569 #include "confdefs.h"
7570 $ac_includes_default
7571 #ifdef F77_DUMMY_MAIN
7575 int F77_DUMMY_MAIN() { return 1; }
7580 #ifndef ferror_unlocked
7581 char *p = (char *) ferror_unlocked;
7588 rm -f conftest.
$ac_objext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7590 (eval $ac_compile) 2>&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); } &&
7594 { ac_try
='test -s conftest.$ac_objext'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; }; then
7600 ac_cv_have_decl_ferror_unlocked
=yes
7602 echo "$as_me: failed program was:" >&5
7603 cat conftest.
$ac_ext >&5
7604 ac_cv_have_decl_ferror_unlocked
=no
7606 rm -f conftest.
$ac_objext conftest.
$ac_ext
7608 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
7609 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
7610 if test $ac_cv_have_decl_ferror_unlocked = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7613 #define HAVE_DECL_FERROR_UNLOCKED 1
7618 cat >>confdefs.h
<<_ACEOF
7619 #define HAVE_DECL_FERROR_UNLOCKED 0
7624 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
7625 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
7626 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 cat >conftest.
$ac_ext <<_ACEOF
7630 #line $LINENO "configure"
7631 #include "confdefs.h"
7632 $ac_includes_default
7633 #ifdef F77_DUMMY_MAIN
7637 int F77_DUMMY_MAIN() { return 1; }
7642 #ifndef fflush_unlocked
7643 char *p = (char *) fflush_unlocked;
7650 rm -f conftest.
$ac_objext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652 (eval $ac_compile) 2>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } &&
7656 { ac_try
='test -s conftest.$ac_objext'
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; }; then
7662 ac_cv_have_decl_fflush_unlocked
=yes
7664 echo "$as_me: failed program was:" >&5
7665 cat conftest.
$ac_ext >&5
7666 ac_cv_have_decl_fflush_unlocked
=no
7668 rm -f conftest.
$ac_objext conftest.
$ac_ext
7670 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
7671 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
7672 if test $ac_cv_have_decl_fflush_unlocked = yes; then
7674 cat >>confdefs.h
<<_ACEOF
7675 #define HAVE_DECL_FFLUSH_UNLOCKED 1
7680 cat >>confdefs.h
<<_ACEOF
7681 #define HAVE_DECL_FFLUSH_UNLOCKED 0
7686 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
7687 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
7688 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 cat >conftest.
$ac_ext <<_ACEOF
7692 #line $LINENO "configure"
7693 #include "confdefs.h"
7694 $ac_includes_default
7695 #ifdef F77_DUMMY_MAIN
7699 int F77_DUMMY_MAIN() { return 1; }
7704 #ifndef fgets_unlocked
7705 char *p = (char *) fgets_unlocked;
7712 rm -f conftest.
$ac_objext
7713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7714 (eval $ac_compile) 2>&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); } &&
7718 { ac_try
='test -s conftest.$ac_objext'
7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); }; }; then
7724 ac_cv_have_decl_fgets_unlocked
=yes
7726 echo "$as_me: failed program was:" >&5
7727 cat conftest.
$ac_ext >&5
7728 ac_cv_have_decl_fgets_unlocked
=no
7730 rm -f conftest.
$ac_objext conftest.
$ac_ext
7732 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
7733 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
7734 if test $ac_cv_have_decl_fgets_unlocked = yes; then
7736 cat >>confdefs.h
<<_ACEOF
7737 #define HAVE_DECL_FGETS_UNLOCKED 1
7742 cat >>confdefs.h
<<_ACEOF
7743 #define HAVE_DECL_FGETS_UNLOCKED 0
7748 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
7749 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
7750 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 cat >conftest.
$ac_ext <<_ACEOF
7754 #line $LINENO "configure"
7755 #include "confdefs.h"
7756 $ac_includes_default
7757 #ifdef F77_DUMMY_MAIN
7761 int F77_DUMMY_MAIN() { return 1; }
7766 #ifndef fputc_unlocked
7767 char *p = (char *) fputc_unlocked;
7774 rm -f conftest.
$ac_objext
7775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7776 (eval $ac_compile) 2>&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } &&
7780 { ac_try
='test -s conftest.$ac_objext'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; }; then
7786 ac_cv_have_decl_fputc_unlocked
=yes
7788 echo "$as_me: failed program was:" >&5
7789 cat conftest.
$ac_ext >&5
7790 ac_cv_have_decl_fputc_unlocked
=no
7792 rm -f conftest.
$ac_objext conftest.
$ac_ext
7794 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
7795 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
7796 if test $ac_cv_have_decl_fputc_unlocked = yes; then
7798 cat >>confdefs.h
<<_ACEOF
7799 #define HAVE_DECL_FPUTC_UNLOCKED 1
7804 cat >>confdefs.h
<<_ACEOF
7805 #define HAVE_DECL_FPUTC_UNLOCKED 0
7810 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
7811 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
7812 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 cat >conftest.
$ac_ext <<_ACEOF
7816 #line $LINENO "configure"
7817 #include "confdefs.h"
7818 $ac_includes_default
7819 #ifdef F77_DUMMY_MAIN
7823 int F77_DUMMY_MAIN() { return 1; }
7828 #ifndef fputs_unlocked
7829 char *p = (char *) fputs_unlocked;
7836 rm -f conftest.
$ac_objext
7837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7838 (eval $ac_compile) 2>&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); } &&
7842 { ac_try
='test -s conftest.$ac_objext'
7843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); }; }; then
7848 ac_cv_have_decl_fputs_unlocked
=yes
7850 echo "$as_me: failed program was:" >&5
7851 cat conftest.
$ac_ext >&5
7852 ac_cv_have_decl_fputs_unlocked
=no
7854 rm -f conftest.
$ac_objext conftest.
$ac_ext
7856 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
7857 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
7858 if test $ac_cv_have_decl_fputs_unlocked = yes; then
7860 cat >>confdefs.h
<<_ACEOF
7861 #define HAVE_DECL_FPUTS_UNLOCKED 1
7866 cat >>confdefs.h
<<_ACEOF
7867 #define HAVE_DECL_FPUTS_UNLOCKED 0
7872 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
7873 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
7874 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 cat >conftest.
$ac_ext <<_ACEOF
7878 #line $LINENO "configure"
7879 #include "confdefs.h"
7880 $ac_includes_default
7881 #ifdef F77_DUMMY_MAIN
7885 int F77_DUMMY_MAIN() { return 1; }
7890 #ifndef fread_unlocked
7891 char *p = (char *) fread_unlocked;
7898 rm -f conftest.
$ac_objext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900 (eval $ac_compile) 2>&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try
='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 ac_cv_have_decl_fread_unlocked
=yes
7912 echo "$as_me: failed program was:" >&5
7913 cat conftest.
$ac_ext >&5
7914 ac_cv_have_decl_fread_unlocked
=no
7916 rm -f conftest.
$ac_objext conftest.
$ac_ext
7918 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
7919 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
7920 if test $ac_cv_have_decl_fread_unlocked = yes; then
7922 cat >>confdefs.h
<<_ACEOF
7923 #define HAVE_DECL_FREAD_UNLOCKED 1
7928 cat >>confdefs.h
<<_ACEOF
7929 #define HAVE_DECL_FREAD_UNLOCKED 0
7934 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
7935 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
7936 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
7937 echo $ECHO_N "(cached) $ECHO_C" >&6
7939 cat >conftest.
$ac_ext <<_ACEOF
7940 #line $LINENO "configure"
7941 #include "confdefs.h"
7942 $ac_includes_default
7943 #ifdef F77_DUMMY_MAIN
7947 int F77_DUMMY_MAIN() { return 1; }
7952 #ifndef fwrite_unlocked
7953 char *p = (char *) fwrite_unlocked;
7960 rm -f conftest.
$ac_objext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7962 (eval $ac_compile) 2>&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try
='test -s conftest.$ac_objext'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; }; then
7972 ac_cv_have_decl_fwrite_unlocked
=yes
7974 echo "$as_me: failed program was:" >&5
7975 cat conftest.
$ac_ext >&5
7976 ac_cv_have_decl_fwrite_unlocked
=no
7978 rm -f conftest.
$ac_objext conftest.
$ac_ext
7980 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
7981 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
7982 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
7984 cat >>confdefs.h
<<_ACEOF
7985 #define HAVE_DECL_FWRITE_UNLOCKED 1
7990 cat >>confdefs.h
<<_ACEOF
7991 #define HAVE_DECL_FWRITE_UNLOCKED 0
7996 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
7997 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
7998 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6
8001 cat >conftest.
$ac_ext <<_ACEOF
8002 #line $LINENO "configure"
8003 #include "confdefs.h"
8004 $ac_includes_default
8005 #ifdef F77_DUMMY_MAIN
8009 int F77_DUMMY_MAIN() { return 1; }
8014 #ifndef getc_unlocked
8015 char *p = (char *) getc_unlocked;
8022 rm -f conftest.
$ac_objext
8023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8024 (eval $ac_compile) 2>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } &&
8028 { ac_try
='test -s conftest.$ac_objext'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; }; then
8034 ac_cv_have_decl_getc_unlocked
=yes
8036 echo "$as_me: failed program was:" >&5
8037 cat conftest.
$ac_ext >&5
8038 ac_cv_have_decl_getc_unlocked
=no
8040 rm -f conftest.
$ac_objext conftest.
$ac_ext
8042 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
8043 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
8044 if test $ac_cv_have_decl_getc_unlocked = yes; then
8046 cat >>confdefs.h
<<_ACEOF
8047 #define HAVE_DECL_GETC_UNLOCKED 1
8052 cat >>confdefs.h
<<_ACEOF
8053 #define HAVE_DECL_GETC_UNLOCKED 0
8058 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
8059 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
8060 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 cat >conftest.
$ac_ext <<_ACEOF
8064 #line $LINENO "configure"
8065 #include "confdefs.h"
8066 $ac_includes_default
8067 #ifdef F77_DUMMY_MAIN
8071 int F77_DUMMY_MAIN() { return 1; }
8076 #ifndef getchar_unlocked
8077 char *p = (char *) getchar_unlocked;
8084 rm -f conftest.
$ac_objext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8086 (eval $ac_compile) 2>&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } &&
8090 { ac_try
='test -s conftest.$ac_objext'
8091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); }; }; then
8096 ac_cv_have_decl_getchar_unlocked
=yes
8098 echo "$as_me: failed program was:" >&5
8099 cat conftest.
$ac_ext >&5
8100 ac_cv_have_decl_getchar_unlocked
=no
8102 rm -f conftest.
$ac_objext conftest.
$ac_ext
8104 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
8105 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
8106 if test $ac_cv_have_decl_getchar_unlocked = yes; then
8108 cat >>confdefs.h
<<_ACEOF
8109 #define HAVE_DECL_GETCHAR_UNLOCKED 1
8114 cat >>confdefs.h
<<_ACEOF
8115 #define HAVE_DECL_GETCHAR_UNLOCKED 0
8120 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
8121 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
8122 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
8123 echo $ECHO_N "(cached) $ECHO_C" >&6
8125 cat >conftest.
$ac_ext <<_ACEOF
8126 #line $LINENO "configure"
8127 #include "confdefs.h"
8128 $ac_includes_default
8129 #ifdef F77_DUMMY_MAIN
8133 int F77_DUMMY_MAIN() { return 1; }
8138 #ifndef putc_unlocked
8139 char *p = (char *) putc_unlocked;
8146 rm -f conftest.
$ac_objext
8147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8148 (eval $ac_compile) 2>&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } &&
8152 { ac_try
='test -s conftest.$ac_objext'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 ac_cv_have_decl_putc_unlocked
=yes
8160 echo "$as_me: failed program was:" >&5
8161 cat conftest.
$ac_ext >&5
8162 ac_cv_have_decl_putc_unlocked
=no
8164 rm -f conftest.
$ac_objext conftest.
$ac_ext
8166 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
8167 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
8168 if test $ac_cv_have_decl_putc_unlocked = yes; then
8170 cat >>confdefs.h
<<_ACEOF
8171 #define HAVE_DECL_PUTC_UNLOCKED 1
8176 cat >>confdefs.h
<<_ACEOF
8177 #define HAVE_DECL_PUTC_UNLOCKED 0
8182 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
8183 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
8184 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8187 cat >conftest.
$ac_ext <<_ACEOF
8188 #line $LINENO "configure"
8189 #include "confdefs.h"
8190 $ac_includes_default
8191 #ifdef F77_DUMMY_MAIN
8195 int F77_DUMMY_MAIN() { return 1; }
8200 #ifndef putchar_unlocked
8201 char *p = (char *) putchar_unlocked;
8208 rm -f conftest.
$ac_objext
8209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8210 (eval $ac_compile) 2>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try
='test -s conftest.$ac_objext'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; }; then
8220 ac_cv_have_decl_putchar_unlocked
=yes
8222 echo "$as_me: failed program was:" >&5
8223 cat conftest.
$ac_ext >&5
8224 ac_cv_have_decl_putchar_unlocked
=no
8226 rm -f conftest.
$ac_objext conftest.
$ac_ext
8228 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
8229 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
8230 if test $ac_cv_have_decl_putchar_unlocked = yes; then
8232 cat >>confdefs.h
<<_ACEOF
8233 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
8238 cat >>confdefs.h
<<_ACEOF
8239 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
8246 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8247 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8248 if test "${ac_cv_header_time+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 cat >conftest.
$ac_ext <<_ACEOF
8252 #line $LINENO "configure"
8253 #include "confdefs.h"
8254 #include <sys/types.h>
8255 #include <sys/time.h>
8258 #ifdef F77_DUMMY_MAIN
8262 int F77_DUMMY_MAIN() { return 1; }
8267 if ((struct tm *) 0)
8273 rm -f conftest.
$ac_objext
8274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8275 (eval $ac_compile) 2>&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); } &&
8279 { ac_try
='test -s conftest.$ac_objext'
8280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); }; }; then
8285 ac_cv_header_time
=yes
8287 echo "$as_me: failed program was:" >&5
8288 cat conftest.
$ac_ext >&5
8289 ac_cv_header_time
=no
8291 rm -f conftest.
$ac_objext conftest.
$ac_ext
8293 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8294 echo "${ECHO_T}$ac_cv_header_time" >&6
8295 if test $ac_cv_header_time = yes; then
8297 cat >>confdefs.h
<<\_ACEOF
8298 #define TIME_WITH_SYS_TIME 1
8303 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8304 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8305 if test "${ac_cv_struct_tm+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 cat >conftest.
$ac_ext <<_ACEOF
8309 #line $LINENO "configure"
8310 #include "confdefs.h"
8311 #include <sys/types.h>
8314 #ifdef F77_DUMMY_MAIN
8318 int F77_DUMMY_MAIN() { return 1; }
8323 struct tm *tp; tp->tm_sec;
8328 rm -f conftest.
$ac_objext
8329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8330 (eval $ac_compile) 2>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try
='test -s conftest.$ac_objext'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; }; then
8340 ac_cv_struct_tm
=time.h
8342 echo "$as_me: failed program was:" >&5
8343 cat conftest.
$ac_ext >&5
8344 ac_cv_struct_tm
=sys
/time.h
8346 rm -f conftest.
$ac_objext conftest.
$ac_ext
8348 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8349 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8350 if test $ac_cv_struct_tm = sys
/time.h
; then
8352 cat >>confdefs.h
<<\_ACEOF
8353 #define TM_IN_SYS_TIME 1
8362 for ac_func
in localtime_r strftime
8364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8365 echo "$as_me:$LINENO: checking for $ac_func" >&5
8366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8367 if eval "test \"\${$as_ac_var+set}\" = set"; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 cat >conftest.
$ac_ext <<_ACEOF
8371 #line $LINENO "configure"
8372 #include "confdefs.h"
8373 /* System header to define __stub macros and hopefully few prototypes,
8374 which can conflict with char $ac_func (); below. */
8376 /* Override any gcc2 internal prototype to avoid an error. */
8380 /* We use char because int might match the return type of a gcc2
8381 builtin and then its argument prototype would still apply. */
8385 #ifdef F77_DUMMY_MAIN
8389 int F77_DUMMY_MAIN() { return 1; }
8394 /* The GNU C library defines this for functions which it implements
8395 to always fail with ENOSYS. Some functions are actually named
8396 something starting with __ and the normal name is an alias. */
8397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8407 rm -f conftest.
$ac_objext conftest
$ac_exeext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8409 (eval $ac_link) 2>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try
='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 eval "$as_ac_var=yes"
8421 echo "$as_me: failed program was:" >&5
8422 cat conftest.
$ac_ext >&5
8423 eval "$as_ac_var=no"
8425 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8429 if test `eval echo '${'$as_ac_var'}'` = yes; then
8430 cat >>confdefs.h
<<_ACEOF
8431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8439 for ac_header
in limits.h
8441 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8443 echo "$as_me:$LINENO: checking for $ac_header" >&5
8444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8451 # Is the header compilable?
8452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8454 cat >conftest.
$ac_ext <<_ACEOF
8455 #line $LINENO "configure"
8456 #include "confdefs.h"
8457 $ac_includes_default
8458 #include <$ac_header>
8460 rm -f conftest.
$ac_objext
8461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8462 (eval $ac_compile) 2>&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try
='test -s conftest.$ac_objext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_header_compiler
=yes
8474 echo "$as_me: failed program was:" >&5
8475 cat conftest.
$ac_ext >&5
8476 ac_header_compiler
=no
8478 rm -f conftest.
$ac_objext conftest.
$ac_ext
8479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8480 echo "${ECHO_T}$ac_header_compiler" >&6
8482 # Is the header present?
8483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8485 cat >conftest.
$ac_ext <<_ACEOF
8486 #line $LINENO "configure"
8487 #include "confdefs.h"
8488 #include <$ac_header>
8490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8493 egrep -v '^ *\+' conftest.er1
>conftest.err
8495 cat conftest.err
>&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); } >/dev
/null
; then
8498 if test -s conftest.err
; then
8499 ac_cpp_err
=$ac_c_preproc_warn_flag
8506 if test -z "$ac_cpp_err"; then
8507 ac_header_preproc
=yes
8509 echo "$as_me: failed program was:" >&5
8510 cat conftest.
$ac_ext >&5
8511 ac_header_preproc
=no
8513 rm -f conftest.err conftest.
$ac_ext
8514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8515 echo "${ECHO_T}$ac_header_preproc" >&6
8517 # So? What about this header?
8518 case $ac_header_compiler:$ac_header_preproc in
8520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8532 echo "$as_me:$LINENO: checking for $ac_header" >&5
8533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 eval "$as_ac_Header=$ac_header_preproc"
8539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8544 cat >>confdefs.h
<<_ACEOF
8545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8557 for ac_func
in bcopy tzset mempcpy memcpy memset
8559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8560 echo "$as_me:$LINENO: checking for $ac_func" >&5
8561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8562 if eval "test \"\${$as_ac_var+set}\" = set"; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 cat >conftest.
$ac_ext <<_ACEOF
8566 #line $LINENO "configure"
8567 #include "confdefs.h"
8568 /* System header to define __stub macros and hopefully few prototypes,
8569 which can conflict with char $ac_func (); below. */
8571 /* Override any gcc2 internal prototype to avoid an error. */
8575 /* We use char because int might match the return type of a gcc2
8576 builtin and then its argument prototype would still apply. */
8580 #ifdef F77_DUMMY_MAIN
8584 int F77_DUMMY_MAIN() { return 1; }
8589 /* The GNU C library defines this for functions which it implements
8590 to always fail with ENOSYS. Some functions are actually named
8591 something starting with __ and the normal name is an alias. */
8592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8602 rm -f conftest.
$ac_objext conftest
$ac_exeext
8603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8604 (eval $ac_link) 2>&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try
='test -s conftest$ac_exeext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8614 eval "$as_ac_var=yes"
8616 echo "$as_me: failed program was:" >&5
8617 cat conftest.
$ac_ext >&5
8618 eval "$as_ac_var=no"
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8624 if test `eval echo '${'$as_ac_var'}'` = yes; then
8625 cat >>confdefs.h
<<_ACEOF
8626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8633 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
8634 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8635 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
8636 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 cat >conftest.
$ac_ext <<_ACEOF
8640 #line $LINENO "configure"
8641 #include "confdefs.h"
8642 #include <sys/types.h>
8643 #include <$ac_cv_struct_tm>
8646 #ifdef F77_DUMMY_MAIN
8650 int F77_DUMMY_MAIN() { return 1; }
8655 static struct tm ac_aggr;
8656 if (ac_aggr.tm_zone)
8662 rm -f conftest.
$ac_objext
8663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8664 (eval $ac_compile) 2>&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); } &&
8668 { ac_try
='test -s conftest.$ac_objext'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; }; then
8674 ac_cv_member_struct_tm_tm_zone
=yes
8676 echo "$as_me: failed program was:" >&5
8677 cat conftest.
$ac_ext >&5
8678 ac_cv_member_struct_tm_tm_zone
=no
8680 rm -f conftest.
$ac_objext conftest.
$ac_ext
8682 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8683 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
8684 if test $ac_cv_member_struct_tm_tm_zone = yes; then
8686 cat >>confdefs.h
<<_ACEOF
8687 #define HAVE_STRUCT_TM_TM_ZONE 1
8693 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8695 cat >>confdefs.h
<<\_ACEOF
8696 #define HAVE_TM_ZONE 1
8700 echo "$as_me:$LINENO: checking for tzname" >&5
8701 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
8702 if test "${ac_cv_var_tzname+set}" = set; then
8703 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 cat >conftest.
$ac_ext <<_ACEOF
8706 #line $LINENO "configure"
8707 #include "confdefs.h"
8709 #ifndef tzname /* For SGI. */
8710 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
8713 #ifdef F77_DUMMY_MAIN
8717 int F77_DUMMY_MAIN() { return 1; }
8727 rm -f conftest.
$ac_objext conftest
$ac_exeext
8728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8729 (eval $ac_link) 2>&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } &&
8733 { ac_try
='test -s conftest$ac_exeext'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 ac_cv_var_tzname
=yes
8741 echo "$as_me: failed program was:" >&5
8742 cat conftest.
$ac_ext >&5
8745 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8747 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8748 echo "${ECHO_T}$ac_cv_var_tzname" >&6
8749 if test $ac_cv_var_tzname = yes; then
8751 cat >>confdefs.h
<<\_ACEOF
8752 #define HAVE_TZNAME 1
8761 for ac_func
in mblen mbrlen
8763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8764 echo "$as_me:$LINENO: checking for $ac_func" >&5
8765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8766 if eval "test \"\${$as_ac_var+set}\" = set"; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 cat >conftest.
$ac_ext <<_ACEOF
8770 #line $LINENO "configure"
8771 #include "confdefs.h"
8772 /* System header to define __stub macros and hopefully few prototypes,
8773 which can conflict with char $ac_func (); below. */
8775 /* Override any gcc2 internal prototype to avoid an error. */
8779 /* We use char because int might match the return type of a gcc2
8780 builtin and then its argument prototype would still apply. */
8784 #ifdef F77_DUMMY_MAIN
8788 int F77_DUMMY_MAIN() { return 1; }
8793 /* The GNU C library defines this for functions which it implements
8794 to always fail with ENOSYS. Some functions are actually named
8795 something starting with __ and the normal name is an alias. */
8796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 rm -f conftest.
$ac_objext conftest
$ac_exeext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8808 (eval $ac_link) 2>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } &&
8812 { ac_try
='test -s conftest$ac_exeext'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; }; then
8818 eval "$as_ac_var=yes"
8820 echo "$as_me: failed program was:" >&5
8821 cat conftest.
$ac_ext >&5
8822 eval "$as_ac_var=no"
8824 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8828 if test `eval echo '${'$as_ac_var'}'` = yes; then
8829 cat >>confdefs.h
<<_ACEOF
8830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8837 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
8838 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
8839 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
8840 echo $ECHO_N "(cached) $ECHO_C" >&6
8842 cat >conftest.
$ac_ext <<_ACEOF
8843 #line $LINENO "configure"
8844 #include "confdefs.h"
8847 #ifdef F77_DUMMY_MAIN
8851 int F77_DUMMY_MAIN() { return 1; }
8856 static struct tm ac_aggr;
8857 if (ac_aggr.tm_gmtoff)
8863 rm -f conftest.
$ac_objext
8864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8865 (eval $ac_compile) 2>&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try
='test -s conftest.$ac_objext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8875 ac_cv_member_struct_tm_tm_gmtoff
=yes
8877 echo "$as_me: failed program was:" >&5
8878 cat conftest.
$ac_ext >&5
8879 ac_cv_member_struct_tm_tm_gmtoff
=no
8881 rm -f conftest.
$ac_objext conftest.
$ac_ext
8883 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8884 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
8885 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8887 cat >>confdefs.h
<<\_ACEOF
8888 #define HAVE_TM_GMTOFF 1
8896 for ac_header
in sys
/time.h
8898 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8900 echo "$as_me:$LINENO: checking for $ac_header" >&5
8901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8903 echo $ECHO_N "(cached) $ECHO_C" >&6
8905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8908 # Is the header compilable?
8909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8911 cat >conftest.
$ac_ext <<_ACEOF
8912 #line $LINENO "configure"
8913 #include "confdefs.h"
8914 $ac_includes_default
8915 #include <$ac_header>
8917 rm -f conftest.
$ac_objext
8918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8919 (eval $ac_compile) 2>&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } &&
8923 { ac_try
='test -s conftest.$ac_objext'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; }; then
8929 ac_header_compiler
=yes
8931 echo "$as_me: failed program was:" >&5
8932 cat conftest.
$ac_ext >&5
8933 ac_header_compiler
=no
8935 rm -f conftest.
$ac_objext conftest.
$ac_ext
8936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8937 echo "${ECHO_T}$ac_header_compiler" >&6
8939 # Is the header present?
8940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8942 cat >conftest.
$ac_ext <<_ACEOF
8943 #line $LINENO "configure"
8944 #include "confdefs.h"
8945 #include <$ac_header>
8947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8950 egrep -v '^ *\+' conftest.er1
>conftest.err
8952 cat conftest.err
>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } >/dev
/null
; then
8955 if test -s conftest.err
; then
8956 ac_cpp_err
=$ac_c_preproc_warn_flag
8963 if test -z "$ac_cpp_err"; then
8964 ac_header_preproc
=yes
8966 echo "$as_me: failed program was:" >&5
8967 cat conftest.
$ac_ext >&5
8968 ac_header_preproc
=no
8970 rm -f conftest.err conftest.
$ac_ext
8971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8972 echo "${ECHO_T}$ac_header_preproc" >&6
8974 # So? What about this header?
8975 case $ac_header_compiler:$ac_header_preproc in
8977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8989 echo "$as_me:$LINENO: checking for $ac_header" >&5
8990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 eval "$as_ac_Header=$ac_header_preproc"
8996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9001 cat >>confdefs.h
<<_ACEOF
9002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9010 cat >>confdefs.h
<<\_ACEOF
9011 #define my_strftime nstrftime
9015 # No need for AC_FUNC_MEMCMP, since memcmp is used only to test for equality.
9018 cat >>confdefs.h
<<\_ACEOF
9019 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
9023 echo "$as_me:$LINENO: checking for working malloc" >&5
9024 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
9025 if test "${jm_cv_func_working_malloc+set}" = set; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9028 if test "$cross_compiling" = yes; then
9029 jm_cv_func_working_malloc
=no
9031 cat >conftest.
$ac_ext <<_ACEOF
9032 #line $LINENO "configure"
9033 #include "confdefs.h"
9039 exit (malloc (0) ? 0 : 1);
9043 rm -f conftest
$ac_exeext
9044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045 (eval $ac_link) 2>&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 jm_cv_func_working_malloc
=yes
9056 echo "$as_me: program exited with status $ac_status" >&5
9057 echo "$as_me: failed program was:" >&5
9058 cat conftest.
$ac_ext >&5
9060 jm_cv_func_working_malloc
=no
9062 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9066 echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
9067 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
9068 if test $jm_cv_func_working_malloc = no
; then
9069 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
9071 cat >>confdefs.h
<<\_ACEOF
9072 #define malloc rpl_malloc
9079 cat >>confdefs.h
<<\_ACEOF
9080 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
9084 echo "$as_me:$LINENO: checking for working realloc" >&5
9085 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
9086 if test "${jm_cv_func_working_realloc+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 if test "$cross_compiling" = yes; then
9090 jm_cv_func_working_realloc
=no
9092 cat >conftest.
$ac_ext <<_ACEOF
9093 #line $LINENO "configure"
9094 #include "confdefs.h"
9100 exit (realloc (0, 0) ? 0 : 1);
9104 rm -f conftest
$ac_exeext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; }; then
9115 jm_cv_func_working_realloc
=yes
9117 echo "$as_me: program exited with status $ac_status" >&5
9118 echo "$as_me: failed program was:" >&5
9119 cat conftest.
$ac_ext >&5
9121 jm_cv_func_working_realloc
=no
9123 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9127 echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
9128 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
9129 if test $jm_cv_func_working_realloc = no
; then
9130 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
9132 cat >>confdefs.h
<<\_ACEOF
9133 #define realloc rpl_realloc
9138 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9139 # for constant arguments. Useless!
9140 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9141 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9142 if test "${ac_cv_working_alloca_h+set}" = set; then
9143 echo $ECHO_N "(cached) $ECHO_C" >&6
9145 cat >conftest.
$ac_ext <<_ACEOF
9146 #line $LINENO "configure"
9147 #include "confdefs.h"
9149 #ifdef F77_DUMMY_MAIN
9153 int F77_DUMMY_MAIN() { return 1; }
9158 char *p = (char *) alloca (2 * sizeof (int));
9163 rm -f conftest.
$ac_objext conftest
$ac_exeext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9165 (eval $ac_link) 2>&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } &&
9169 { ac_try
='test -s conftest$ac_exeext'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; }; then
9175 ac_cv_working_alloca_h
=yes
9177 echo "$as_me: failed program was:" >&5
9178 cat conftest.
$ac_ext >&5
9179 ac_cv_working_alloca_h
=no
9181 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9183 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9184 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9185 if test $ac_cv_working_alloca_h = yes; then
9187 cat >>confdefs.h
<<\_ACEOF
9188 #define HAVE_ALLOCA_H 1
9193 echo "$as_me:$LINENO: checking for alloca" >&5
9194 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9195 if test "${ac_cv_func_alloca_works+set}" = set; then
9196 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 cat >conftest.
$ac_ext <<_ACEOF
9199 #line $LINENO "configure"
9200 #include "confdefs.h"
9202 # define alloca __builtin_alloca
9205 # include <malloc.h>
9206 # define alloca _alloca
9209 # include <alloca.h>
9214 # ifndef alloca /* predefined by HP cc +Olibcalls */
9222 #ifdef F77_DUMMY_MAIN
9226 int F77_DUMMY_MAIN() { return 1; }
9231 char *p = (char *) alloca (1);
9236 rm -f conftest.
$ac_objext conftest
$ac_exeext
9237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9238 (eval $ac_link) 2>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } &&
9242 { ac_try
='test -s conftest$ac_exeext'
9243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); }; }; then
9248 ac_cv_func_alloca_works
=yes
9250 echo "$as_me: failed program was:" >&5
9251 cat conftest.
$ac_ext >&5
9252 ac_cv_func_alloca_works
=no
9254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9256 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9257 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9259 if test $ac_cv_func_alloca_works = yes; then
9261 cat >>confdefs.h
<<\_ACEOF
9262 #define HAVE_ALLOCA 1
9266 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9267 # that cause trouble. Some versions do not even contain alloca or
9268 # contain a buggy version. If you still want to use their alloca,
9269 # use ar to extract alloca.o from them instead of compiling alloca.c.
9271 ALLOCA
=alloca.
$ac_objext
9273 cat >>confdefs.h
<<\_ACEOF
9278 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9279 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9280 if test "${ac_cv_os_cray+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 cat >conftest.
$ac_ext <<_ACEOF
9284 #line $LINENO "configure"
9285 #include "confdefs.h"
9286 #if defined(CRAY) && ! defined(CRAY2)
9293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9294 egrep "webecray" >/dev
/null
2>&1; then
9302 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9303 echo "${ECHO_T}$ac_cv_os_cray" >&6
9304 if test $ac_cv_os_cray = yes; then
9305 for ac_func
in _getb67 GETB67 getb67
; do
9306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9307 echo "$as_me:$LINENO: checking for $ac_func" >&5
9308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9309 if eval "test \"\${$as_ac_var+set}\" = set"; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 cat >conftest.
$ac_ext <<_ACEOF
9313 #line $LINENO "configure"
9314 #include "confdefs.h"
9315 /* System header to define __stub macros and hopefully few prototypes,
9316 which can conflict with char $ac_func (); below. */
9318 /* Override any gcc2 internal prototype to avoid an error. */
9322 /* We use char because int might match the return type of a gcc2
9323 builtin and then its argument prototype would still apply. */
9327 #ifdef F77_DUMMY_MAIN
9331 int F77_DUMMY_MAIN() { return 1; }
9336 /* The GNU C library defines this for functions which it implements
9337 to always fail with ENOSYS. Some functions are actually named
9338 something starting with __ and the normal name is an alias. */
9339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9349 rm -f conftest.
$ac_objext conftest
$ac_exeext
9350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9351 (eval $ac_link) 2>&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); } &&
9355 { ac_try
='test -s conftest$ac_exeext'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; }; then
9361 eval "$as_ac_var=yes"
9363 echo "$as_me: failed program was:" >&5
9364 cat conftest.
$ac_ext >&5
9365 eval "$as_ac_var=no"
9367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9371 if test `eval echo '${'$as_ac_var'}'` = yes; then
9373 cat >>confdefs.h
<<_ACEOF
9374 #define CRAY_STACKSEG_END $ac_func
9383 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9384 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9385 if test "${ac_cv_c_stack_direction+set}" = set; then
9386 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 if test "$cross_compiling" = yes; then
9389 ac_cv_c_stack_direction
=0
9391 cat >conftest.
$ac_ext <<_ACEOF
9392 #line $LINENO "configure"
9393 #include "confdefs.h"
9395 find_stack_direction ()
9397 static char *addr = 0;
9402 return find_stack_direction ();
9405 return (&dummy > addr) ? 1 : -1;
9411 exit (find_stack_direction () < 0);
9414 rm -f conftest
$ac_exeext
9415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9416 (eval $ac_link) 2>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); }; }; then
9425 ac_cv_c_stack_direction
=1
9427 echo "$as_me: program exited with status $ac_status" >&5
9428 echo "$as_me: failed program was:" >&5
9429 cat conftest.
$ac_ext >&5
9431 ac_cv_c_stack_direction
=-1
9433 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9436 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9437 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9439 cat >>confdefs.h
<<_ACEOF
9440 #define STACK_DIRECTION $ac_cv_c_stack_direction
9446 # for STACK_DIRECTION
9449 echo "$as_me:$LINENO: checking for working C stack overflow detection" >&5
9450 echo $ECHO_N "checking for working C stack overflow detection... $ECHO_C" >&6
9451 if test "${ac_cv_sys_xsi_stack_overflow_heuristic+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 if test "$cross_compiling" = yes; then
9455 ac_cv_sys_xsi_stack_overflow_heuristic
=cross-compiling
9457 cat >conftest.
$ac_ext <<_ACEOF
9458 #line $LINENO "configure"
9459 #include "confdefs.h"
9462 #include <ucontext.h>
9466 char buffer[SIGSTKSZ];
9470 } alternate_signal_stack;
9473 # define find_stack_direction(ptr) STACK_DIRECTION
9476 find_stack_direction (char const *addr)
9479 return (! addr ? find_stack_direction (&dummy)
9480 : addr < &dummy ? 1 : -1);
9485 segv_handler (int signo, siginfo_t *info, void *context)
9487 if (0 < info->si_code)
9489 ucontext_t const *user_context = context;
9490 char const *stack_min = user_context->uc_stack.ss_sp;
9491 size_t stack_size = user_context->uc_stack.ss_size;
9492 char const *faulting_address = info->si_addr;
9493 size_t s = faulting_address - stack_min;
9494 size_t page_size = sysconf (_SC_PAGESIZE);
9495 if (find_stack_direction (0) < 0)
9497 if (s < stack_size + page_size)
9505 c_stack_action (void)
9508 struct sigaction act;
9512 st.ss_sp = alternate_signal_stack.buffer;
9513 st.ss_size = sizeof alternate_signal_stack.buffer;
9514 r = sigaltstack (&st, 0);
9518 sigemptyset (&act.sa_mask);
9519 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
9520 act.sa_sigaction = segv_handler;
9521 return sigaction (SIGSEGV, &act, 0);
9529 return *p + recurse (array);
9536 return recurse ("\1");
9540 rm -f conftest
$ac_exeext
9541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9542 (eval $ac_link) 2>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; }; then
9551 ac_cv_sys_xsi_stack_overflow_heuristic
=yes
9553 echo "$as_me: program exited with status $ac_status" >&5
9554 echo "$as_me: failed program was:" >&5
9555 cat conftest.
$ac_ext >&5
9557 ac_cv_sys_xsi_stack_overflow_heuristic
=no
9559 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9562 echo "$as_me:$LINENO: result: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5
9563 echo "${ECHO_T}$ac_cv_sys_xsi_stack_overflow_heuristic" >&6
9565 if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
9567 cat >>confdefs.h
<<\_ACEOF
9568 #define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1
9575 # for STACK_DIRECTION
9579 for ac_header
in unistd.h
9581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9583 echo "$as_me:$LINENO: checking for $ac_header" >&5
9584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9591 # Is the header compilable?
9592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9594 cat >conftest.
$ac_ext <<_ACEOF
9595 #line $LINENO "configure"
9596 #include "confdefs.h"
9597 $ac_includes_default
9598 #include <$ac_header>
9600 rm -f conftest.
$ac_objext
9601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9602 (eval $ac_compile) 2>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try
='test -s conftest.$ac_objext'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; }; then
9612 ac_header_compiler
=yes
9614 echo "$as_me: failed program was:" >&5
9615 cat conftest.
$ac_ext >&5
9616 ac_header_compiler
=no
9618 rm -f conftest.
$ac_objext conftest.
$ac_ext
9619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9620 echo "${ECHO_T}$ac_header_compiler" >&6
9622 # Is the header present?
9623 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9624 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9625 cat >conftest.
$ac_ext <<_ACEOF
9626 #line $LINENO "configure"
9627 #include "confdefs.h"
9628 #include <$ac_header>
9630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9633 egrep -v '^ *\+' conftest.er1
>conftest.err
9635 cat conftest.err
>&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } >/dev
/null
; then
9638 if test -s conftest.err
; then
9639 ac_cpp_err
=$ac_c_preproc_warn_flag
9646 if test -z "$ac_cpp_err"; then
9647 ac_header_preproc
=yes
9649 echo "$as_me: failed program was:" >&5
9650 cat conftest.
$ac_ext >&5
9651 ac_header_preproc
=no
9653 rm -f conftest.err conftest.
$ac_ext
9654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9655 echo "${ECHO_T}$ac_header_preproc" >&6
9657 # So? What about this header?
9658 case $ac_header_compiler:$ac_header_preproc in
9660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9672 echo "$as_me:$LINENO: checking for $ac_header" >&5
9673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 eval "$as_ac_Header=$ac_header_preproc"
9679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9684 cat >>confdefs.h
<<_ACEOF
9685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9693 echo "$as_me:$LINENO: checking for siginfo_t" >&5
9694 echo $ECHO_N "checking for siginfo_t... $ECHO_C" >&6
9695 if test "${ac_cv_type_siginfo_t+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 cat >conftest.
$ac_ext <<_ACEOF
9699 #line $LINENO "configure"
9700 #include "confdefs.h"
9703 #ifdef F77_DUMMY_MAIN
9707 int F77_DUMMY_MAIN() { return 1; }
9712 if ((siginfo_t *) 0)
9714 if (sizeof (siginfo_t))
9720 rm -f conftest.
$ac_objext
9721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9722 (eval $ac_compile) 2>&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } &&
9726 { ac_try
='test -s conftest.$ac_objext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9732 ac_cv_type_siginfo_t
=yes
9734 echo "$as_me: failed program was:" >&5
9735 cat conftest.
$ac_ext >&5
9736 ac_cv_type_siginfo_t
=no
9738 rm -f conftest.
$ac_objext conftest.
$ac_ext
9740 echo "$as_me:$LINENO: result: $ac_cv_type_siginfo_t" >&5
9741 echo "${ECHO_T}$ac_cv_type_siginfo_t" >&6
9742 if test $ac_cv_type_siginfo_t = yes; then
9744 cat >>confdefs.h
<<_ACEOF
9745 #define HAVE_SIGINFO_T 1
9750 echo "$as_me:$LINENO: checking for stack_t" >&5
9751 echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
9752 if test "${ac_cv_type_stack_t+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 cat >conftest.
$ac_ext <<_ACEOF
9756 #line $LINENO "configure"
9757 #include "confdefs.h"
9760 #ifdef F77_DUMMY_MAIN
9764 int F77_DUMMY_MAIN() { return 1; }
9771 if (sizeof (stack_t))
9777 rm -f conftest.
$ac_objext
9778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9779 (eval $ac_compile) 2>&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try
='test -s conftest.$ac_objext'
9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; }; then
9789 ac_cv_type_stack_t
=yes
9791 echo "$as_me: failed program was:" >&5
9792 cat conftest.
$ac_ext >&5
9793 ac_cv_type_stack_t
=no
9795 rm -f conftest.
$ac_objext conftest.
$ac_ext
9797 echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
9798 echo "${ECHO_T}$ac_cv_type_stack_t" >&6
9799 if test $ac_cv_type_stack_t = yes; then
9801 cat >>confdefs.h
<<_ACEOF
9802 #define HAVE_STACK_T 1
9812 for ac_func
in strerror vprintf doprnt
9814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9815 echo "$as_me:$LINENO: checking for $ac_func" >&5
9816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9817 if eval "test \"\${$as_ac_var+set}\" = set"; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 cat >conftest.
$ac_ext <<_ACEOF
9821 #line $LINENO "configure"
9822 #include "confdefs.h"
9823 /* System header to define __stub macros and hopefully few prototypes,
9824 which can conflict with char $ac_func (); below. */
9826 /* Override any gcc2 internal prototype to avoid an error. */
9830 /* We use char because int might match the return type of a gcc2
9831 builtin and then its argument prototype would still apply. */
9835 #ifdef F77_DUMMY_MAIN
9839 int F77_DUMMY_MAIN() { return 1; }
9844 /* The GNU C library defines this for functions which it implements
9845 to always fail with ENOSYS. Some functions are actually named
9846 something starting with __ and the normal name is an alias. */
9847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9857 rm -f conftest.
$ac_objext conftest
$ac_exeext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9859 (eval $ac_link) 2>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } &&
9863 { ac_try
='test -s conftest$ac_exeext'
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
9869 eval "$as_ac_var=yes"
9871 echo "$as_me: failed program was:" >&5
9872 cat conftest.
$ac_ext >&5
9873 eval "$as_ac_var=no"
9875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9879 if test `eval echo '${'$as_ac_var'}'` = yes; then
9880 cat >>confdefs.h
<<_ACEOF
9881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9887 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
9888 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
9889 if test "${ac_cv_have_decl_strerror+set}" = set; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 cat >conftest.
$ac_ext <<_ACEOF
9893 #line $LINENO "configure"
9894 #include "confdefs.h"
9895 $ac_includes_default
9896 #ifdef F77_DUMMY_MAIN
9900 int F77_DUMMY_MAIN() { return 1; }
9906 char *p = (char *) strerror;
9913 rm -f conftest.
$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); } &&
9919 { ac_try
='test -s conftest.$ac_objext'
9920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); }; }; then
9925 ac_cv_have_decl_strerror
=yes
9927 echo "$as_me: failed program was:" >&5
9928 cat conftest.
$ac_ext >&5
9929 ac_cv_have_decl_strerror
=no
9931 rm -f conftest.
$ac_objext conftest.
$ac_ext
9933 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
9934 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
9935 if test $ac_cv_have_decl_strerror = yes; then
9937 cat >>confdefs.h
<<_ACEOF
9938 #define HAVE_DECL_STRERROR 1
9943 cat >>confdefs.h
<<_ACEOF
9944 #define HAVE_DECL_STRERROR 0
9951 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
9952 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
9953 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
9954 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 cat >conftest.
$ac_ext <<_ACEOF
9957 #line $LINENO "configure"
9958 #include "confdefs.h"
9959 $ac_includes_default
9960 #ifdef F77_DUMMY_MAIN
9964 int F77_DUMMY_MAIN() { return 1; }
9970 char *p = (char *) strerror_r;
9977 rm -f conftest.
$ac_objext
9978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9979 (eval $ac_compile) 2>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try
='test -s conftest.$ac_objext'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then
9989 ac_cv_have_decl_strerror_r
=yes
9991 echo "$as_me: failed program was:" >&5
9992 cat conftest.
$ac_ext >&5
9993 ac_cv_have_decl_strerror_r
=no
9995 rm -f conftest.
$ac_objext conftest.
$ac_ext
9997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
9998 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
9999 if test $ac_cv_have_decl_strerror_r = yes; then
10001 cat >>confdefs.h
<<_ACEOF
10002 #define HAVE_DECL_STRERROR_R 1
10007 cat >>confdefs.h
<<_ACEOF
10008 #define HAVE_DECL_STRERROR_R 0
10016 for ac_func
in strerror_r
10018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10019 echo "$as_me:$LINENO: checking for $ac_func" >&5
10020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10021 if eval "test \"\${$as_ac_var+set}\" = set"; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 cat >conftest.
$ac_ext <<_ACEOF
10025 #line $LINENO "configure"
10026 #include "confdefs.h"
10027 /* System header to define __stub macros and hopefully few prototypes,
10028 which can conflict with char $ac_func (); below. */
10029 #include <assert.h>
10030 /* Override any gcc2 internal prototype to avoid an error. */
10034 /* We use char because int might match the return type of a gcc2
10035 builtin and then its argument prototype would still apply. */
10039 #ifdef F77_DUMMY_MAIN
10040 # ifdef __cplusplus
10043 int F77_DUMMY_MAIN() { return 1; }
10048 /* The GNU C library defines this for functions which it implements
10049 to always fail with ENOSYS. Some functions are actually named
10050 something starting with __ and the normal name is an alias. */
10051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10061 rm -f conftest.
$ac_objext conftest
$ac_exeext
10062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10063 (eval $ac_link) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } &&
10067 { ac_try
='test -s conftest$ac_exeext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 eval "$as_ac_var=yes"
10075 echo "$as_me: failed program was:" >&5
10076 cat conftest.
$ac_ext >&5
10077 eval "$as_ac_var=no"
10079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10083 if test `eval echo '${'$as_ac_var'}'` = yes; then
10084 cat >>confdefs.h
<<_ACEOF
10085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10091 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
10092 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
10093 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10097 ac_cv_func_strerror_r_char_p
=no
10098 if test $ac_cv_have_decl_strerror_r = yes; then
10099 cat >conftest.
$ac_ext <<_ACEOF
10100 #line $LINENO "configure"
10101 #include "confdefs.h"
10102 $ac_includes_default
10103 #ifdef F77_DUMMY_MAIN
10104 # ifdef __cplusplus
10107 int F77_DUMMY_MAIN() { return 1; }
10114 char x = *strerror_r (0, buf, sizeof buf);
10115 char *p = strerror_r (0, buf, sizeof buf);
10121 rm -f conftest.
$ac_objext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10123 (eval $ac_compile) 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } &&
10127 { ac_try
='test -s conftest.$ac_objext'
10128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10129 (eval $ac_try) 2>&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); }; }; then
10133 ac_cv_func_strerror_r_char_p
=yes
10135 echo "$as_me: failed program was:" >&5
10136 cat conftest.
$ac_ext >&5
10138 rm -f conftest.
$ac_objext conftest.
$ac_ext
10140 # strerror_r is not declared. Choose between
10141 # systems that have relatively inaccessible declarations for the
10142 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
10143 # former has a strerror_r that returns char*, while the latter
10144 # has a strerror_r that returns `int'.
10145 # This test should segfault on the DEC system.
10146 if test "$cross_compiling" = yes; then
10149 cat >conftest.
$ac_ext <<_ACEOF
10150 #line $LINENO "configure"
10151 #include "confdefs.h"
10152 $ac_includes_default
10153 extern char *strerror_r ();
10154 #ifdef F77_DUMMY_MAIN
10155 # ifdef __cplusplus
10158 int F77_DUMMY_MAIN() { return 1; }
10164 char x = *strerror_r (0, buf, sizeof buf);
10165 exit (!isalpha (x));
10170 rm -f conftest
$ac_exeext
10171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10172 (eval $ac_link) 2>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10177 (eval $ac_try) 2>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); }; }; then
10181 ac_cv_func_strerror_r_char_p
=yes
10183 echo "$as_me: program exited with status $ac_status" >&5
10184 echo "$as_me: failed program was:" >&5
10185 cat conftest.
$ac_ext >&5
10187 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10192 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
10193 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
10194 if test $ac_cv_func_strerror_r_char_p = yes; then
10196 cat >>confdefs.h
<<\_ACEOF
10197 #define STRERROR_R_CHAR_P 1
10202 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10203 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10204 if test "${ac_cv_header_stdc+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 cat >conftest.
$ac_ext <<_ACEOF
10208 #line $LINENO "configure"
10209 #include "confdefs.h"
10210 #include <stdlib.h>
10211 #include <stdarg.h>
10212 #include <string.h>
10216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10219 egrep -v '^ *\+' conftest.er1
>conftest.err
10221 cat conftest.err
>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); } >/dev
/null
; then
10224 if test -s conftest.err
; then
10225 ac_cpp_err
=$ac_c_preproc_warn_flag
10232 if test -z "$ac_cpp_err"; then
10233 ac_cv_header_stdc
=yes
10235 echo "$as_me: failed program was:" >&5
10236 cat conftest.
$ac_ext >&5
10237 ac_cv_header_stdc
=no
10239 rm -f conftest.err conftest.
$ac_ext
10241 if test $ac_cv_header_stdc = yes; then
10242 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10243 cat >conftest.
$ac_ext <<_ACEOF
10244 #line $LINENO "configure"
10245 #include "confdefs.h"
10246 #include <string.h>
10249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10250 egrep "memchr" >/dev
/null
2>&1; then
10253 ac_cv_header_stdc
=no
10259 if test $ac_cv_header_stdc = yes; then
10260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10261 cat >conftest.
$ac_ext <<_ACEOF
10262 #line $LINENO "configure"
10263 #include "confdefs.h"
10264 #include <stdlib.h>
10267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10268 egrep "free" >/dev
/null
2>&1; then
10271 ac_cv_header_stdc
=no
10277 if test $ac_cv_header_stdc = yes; then
10278 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10279 if test "$cross_compiling" = yes; then
10282 cat >conftest.
$ac_ext <<_ACEOF
10283 #line $LINENO "configure"
10284 #include "confdefs.h"
10286 #if ((' ' & 0x0FF) == 0x020)
10287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10288 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10290 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10291 || ('j' <= (c) && (c) <= 'r') \
10292 || ('s' <= (c) && (c) <= 'z'))
10293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10301 for (i = 0; i < 256; i++)
10302 if (XOR (islower (i), ISLOWER (i))
10303 || toupper (i) != TOUPPER (i))
10308 rm -f conftest
$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; }; then
10321 echo "$as_me: program exited with status $ac_status" >&5
10322 echo "$as_me: failed program was:" >&5
10323 cat conftest.
$ac_ext >&5
10324 ( exit $ac_status )
10325 ac_cv_header_stdc
=no
10327 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10331 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10332 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10333 if test $ac_cv_header_stdc = yes; then
10335 cat >>confdefs.h
<<\_ACEOF
10336 #define STDC_HEADERS 1
10343 echo "$as_me:$LINENO: checking for function prototypes" >&5
10344 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
10345 if test "$ac_cv_prog_cc_stdc" != no
; then
10346 echo "$as_me:$LINENO: result: yes" >&5
10347 echo "${ECHO_T}yes" >&6
10349 cat >>confdefs.h
<<\_ACEOF
10350 #define PROTOTYPES 1
10354 cat >>confdefs.h
<<\_ACEOF
10355 #define __PROTOTYPES 1
10359 echo "$as_me:$LINENO: result: no" >&5
10360 echo "${ECHO_T}no" >&6
10364 for ac_func
in setlocale
10366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10367 echo "$as_me:$LINENO: checking for $ac_func" >&5
10368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10369 if eval "test \"\${$as_ac_var+set}\" = set"; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 cat >conftest.
$ac_ext <<_ACEOF
10373 #line $LINENO "configure"
10374 #include "confdefs.h"
10375 /* System header to define __stub macros and hopefully few prototypes,
10376 which can conflict with char $ac_func (); below. */
10377 #include <assert.h>
10378 /* Override any gcc2 internal prototype to avoid an error. */
10382 /* We use char because int might match the return type of a gcc2
10383 builtin and then its argument prototype would still apply. */
10387 #ifdef F77_DUMMY_MAIN
10388 # ifdef __cplusplus
10391 int F77_DUMMY_MAIN() { return 1; }
10396 /* The GNU C library defines this for functions which it implements
10397 to always fail with ENOSYS. Some functions are actually named
10398 something starting with __ and the normal name is an alias. */
10399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10409 rm -f conftest.
$ac_objext conftest
$ac_exeext
10410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10411 (eval $ac_link) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); } &&
10415 { ac_try
='test -s conftest$ac_exeext'
10416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417 (eval $ac_try) 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; }; then
10421 eval "$as_ac_var=yes"
10423 echo "$as_me: failed program was:" >&5
10424 cat conftest.
$ac_ext >&5
10425 eval "$as_ac_var=no"
10427 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10431 if test `eval echo '${'$as_ac_var'}'` = yes; then
10432 cat >>confdefs.h
<<_ACEOF
10433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10442 for ac_header
in locale.h stdlib.h string.h
10444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10446 echo "$as_me:$LINENO: checking for $ac_header" >&5
10447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10454 # Is the header compilable?
10455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10457 cat >conftest.
$ac_ext <<_ACEOF
10458 #line $LINENO "configure"
10459 #include "confdefs.h"
10460 $ac_includes_default
10461 #include <$ac_header>
10463 rm -f conftest.
$ac_objext
10464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10465 (eval $ac_compile) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try
='test -s conftest.$ac_objext'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10475 ac_header_compiler
=yes
10477 echo "$as_me: failed program was:" >&5
10478 cat conftest.
$ac_ext >&5
10479 ac_header_compiler
=no
10481 rm -f conftest.
$ac_objext conftest.
$ac_ext
10482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10483 echo "${ECHO_T}$ac_header_compiler" >&6
10485 # Is the header present?
10486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10488 cat >conftest.
$ac_ext <<_ACEOF
10489 #line $LINENO "configure"
10490 #include "confdefs.h"
10491 #include <$ac_header>
10493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10496 egrep -v '^ *\+' conftest.er1
>conftest.err
10498 cat conftest.err
>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } >/dev
/null
; then
10501 if test -s conftest.err
; then
10502 ac_cpp_err
=$ac_c_preproc_warn_flag
10509 if test -z "$ac_cpp_err"; then
10510 ac_header_preproc
=yes
10512 echo "$as_me: failed program was:" >&5
10513 cat conftest.
$ac_ext >&5
10514 ac_header_preproc
=no
10516 rm -f conftest.err conftest.
$ac_ext
10517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10518 echo "${ECHO_T}$ac_header_preproc" >&6
10520 # So? What about this header?
10521 case $ac_header_compiler:$ac_header_preproc in
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10535 echo "$as_me:$LINENO: checking for $ac_header" >&5
10536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 eval "$as_ac_Header=$ac_header_preproc"
10542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10547 cat >>confdefs.h
<<_ACEOF
10548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10559 for ac_func
in isascii iswprint
10561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10562 echo "$as_me:$LINENO: checking for $ac_func" >&5
10563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10564 if eval "test \"\${$as_ac_var+set}\" = set"; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 cat >conftest.
$ac_ext <<_ACEOF
10568 #line $LINENO "configure"
10569 #include "confdefs.h"
10570 /* System header to define __stub macros and hopefully few prototypes,
10571 which can conflict with char $ac_func (); below. */
10572 #include <assert.h>
10573 /* Override any gcc2 internal prototype to avoid an error. */
10577 /* We use char because int might match the return type of a gcc2
10578 builtin and then its argument prototype would still apply. */
10582 #ifdef F77_DUMMY_MAIN
10583 # ifdef __cplusplus
10586 int F77_DUMMY_MAIN() { return 1; }
10591 /* The GNU C library defines this for functions which it implements
10592 to always fail with ENOSYS. Some functions are actually named
10593 something starting with __ and the normal name is an alias. */
10594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10604 rm -f conftest.
$ac_objext conftest
$ac_exeext
10605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10606 (eval $ac_link) 2>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } &&
10610 { ac_try
='test -s conftest$ac_exeext'
10611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10612 (eval $ac_try) 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); }; }; then
10616 eval "$as_ac_var=yes"
10618 echo "$as_me: failed program was:" >&5
10619 cat conftest.
$ac_ext >&5
10620 eval "$as_ac_var=no"
10622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10626 if test `eval echo '${'$as_ac_var'}'` = yes; then
10627 cat >>confdefs.h
<<_ACEOF
10628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10635 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
10636 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
10637 if test "${jm_cv_func_mbrtowc+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 cat >conftest.
$ac_ext <<_ACEOF
10641 #line $LINENO "configure"
10642 #include "confdefs.h"
10644 #ifdef F77_DUMMY_MAIN
10645 # ifdef __cplusplus
10648 int F77_DUMMY_MAIN() { return 1; }
10653 mbstate_t state; return ! (sizeof state && mbrtowc);
10658 rm -f conftest.
$ac_objext conftest
$ac_exeext
10659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10660 (eval $ac_link) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } &&
10664 { ac_try
='test -s conftest$ac_exeext'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; }; then
10670 jm_cv_func_mbrtowc
=yes
10672 echo "$as_me: failed program was:" >&5
10673 cat conftest.
$ac_ext >&5
10674 jm_cv_func_mbrtowc
=no
10676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10678 echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
10679 echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
10680 if test $jm_cv_func_mbrtowc = yes; then
10682 cat >>confdefs.h
<<\_ACEOF
10683 #define HAVE_MBRTOWC 1
10694 for ac_header
in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
10696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10698 echo "$as_me:$LINENO: checking for $ac_header" >&5
10699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10706 # Is the header compilable?
10707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10709 cat >conftest.
$ac_ext <<_ACEOF
10710 #line $LINENO "configure"
10711 #include "confdefs.h"
10712 $ac_includes_default
10713 #include <$ac_header>
10715 rm -f conftest.
$ac_objext
10716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10717 (eval $ac_compile) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); } &&
10721 { ac_try
='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10727 ac_header_compiler
=yes
10729 echo "$as_me: failed program was:" >&5
10730 cat conftest.
$ac_ext >&5
10731 ac_header_compiler
=no
10733 rm -f conftest.
$ac_objext conftest.
$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10735 echo "${ECHO_T}$ac_header_compiler" >&6
10737 # Is the header present?
10738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10740 cat >conftest.
$ac_ext <<_ACEOF
10741 #line $LINENO "configure"
10742 #include "confdefs.h"
10743 #include <$ac_header>
10745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10748 egrep -v '^ *\+' conftest.er1
>conftest.err
10750 cat conftest.err
>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } >/dev
/null
; then
10753 if test -s conftest.err
; then
10754 ac_cpp_err
=$ac_c_preproc_warn_flag
10761 if test -z "$ac_cpp_err"; then
10762 ac_header_preproc
=yes
10764 echo "$as_me: failed program was:" >&5
10765 cat conftest.
$ac_ext >&5
10766 ac_header_preproc
=no
10768 rm -f conftest.err conftest.
$ac_ext
10769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10770 echo "${ECHO_T}$ac_header_preproc" >&6
10772 # So? What about this header?
10773 case $ac_header_compiler:$ac_header_preproc in
10775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10787 echo "$as_me:$LINENO: checking for $ac_header" >&5
10788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 eval "$as_ac_Header=$ac_header_preproc"
10794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10799 cat >>confdefs.h
<<_ACEOF
10800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10807 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10808 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10809 if test "${ac_cv_header_stdc+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 cat >conftest.
$ac_ext <<_ACEOF
10813 #line $LINENO "configure"
10814 #include "confdefs.h"
10815 #include <stdlib.h>
10816 #include <stdarg.h>
10817 #include <string.h>
10821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10824 egrep -v '^ *\+' conftest.er1
>conftest.err
10826 cat conftest.err
>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } >/dev
/null
; then
10829 if test -s conftest.err
; then
10830 ac_cpp_err
=$ac_c_preproc_warn_flag
10837 if test -z "$ac_cpp_err"; then
10838 ac_cv_header_stdc
=yes
10840 echo "$as_me: failed program was:" >&5
10841 cat conftest.
$ac_ext >&5
10842 ac_cv_header_stdc
=no
10844 rm -f conftest.err conftest.
$ac_ext
10846 if test $ac_cv_header_stdc = yes; then
10847 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10848 cat >conftest.
$ac_ext <<_ACEOF
10849 #line $LINENO "configure"
10850 #include "confdefs.h"
10851 #include <string.h>
10854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10855 egrep "memchr" >/dev
/null
2>&1; then
10858 ac_cv_header_stdc
=no
10864 if test $ac_cv_header_stdc = yes; then
10865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10866 cat >conftest.
$ac_ext <<_ACEOF
10867 #line $LINENO "configure"
10868 #include "confdefs.h"
10869 #include <stdlib.h>
10872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10873 egrep "free" >/dev
/null
2>&1; then
10876 ac_cv_header_stdc
=no
10882 if test $ac_cv_header_stdc = yes; then
10883 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10884 if test "$cross_compiling" = yes; then
10887 cat >conftest.
$ac_ext <<_ACEOF
10888 #line $LINENO "configure"
10889 #include "confdefs.h"
10891 #if ((' ' & 0x0FF) == 0x020)
10892 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10893 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10895 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10896 || ('j' <= (c) && (c) <= 'r') \
10897 || ('s' <= (c) && (c) <= 'z'))
10898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10906 for (i = 0; i < 256; i++)
10907 if (XOR (islower (i), ISLOWER (i))
10908 || toupper (i) != TOUPPER (i))
10913 rm -f conftest
$ac_exeext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10915 (eval $ac_link) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10926 echo "$as_me: program exited with status $ac_status" >&5
10927 echo "$as_me: failed program was:" >&5
10928 cat conftest.
$ac_ext >&5
10929 ( exit $ac_status )
10930 ac_cv_header_stdc
=no
10932 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10936 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10937 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10938 if test $ac_cv_header_stdc = yes; then
10940 cat >>confdefs.h
<<\_ACEOF
10941 #define STDC_HEADERS 1
10947 echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5
10948 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
10949 if test "${ac_cv_c_backslash_a+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 cat >conftest.
$ac_ext <<_ACEOF
10953 #line $LINENO "configure"
10954 #include "confdefs.h"
10956 #ifdef F77_DUMMY_MAIN
10957 # ifdef __cplusplus
10960 int F77_DUMMY_MAIN() { return 1; }
10969 char buf['\a' == 'a' ? -1 : 1];
10971 return buf[0] != "\a"[0];
10977 rm -f conftest.
$ac_objext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10979 (eval $ac_compile) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } &&
10983 { ac_try
='test -s conftest.$ac_objext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 ac_cv_c_backslash_a
=yes
10991 echo "$as_me: failed program was:" >&5
10992 cat conftest.
$ac_ext >&5
10993 ac_cv_c_backslash_a
=no
10995 rm -f conftest.
$ac_objext conftest.
$ac_ext
10997 echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5
10998 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
10999 if test $ac_cv_c_backslash_a = yes; then
11001 cat >>confdefs.h
<<\_ACEOF
11002 #define HAVE_C_BACKSLASH_A 1
11009 for ac_header
in stdlib.h
11011 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11013 echo "$as_me:$LINENO: checking for $ac_header" >&5
11014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11021 # Is the header compilable?
11022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11024 cat >conftest.
$ac_ext <<_ACEOF
11025 #line $LINENO "configure"
11026 #include "confdefs.h"
11027 $ac_includes_default
11028 #include <$ac_header>
11030 rm -f conftest.
$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032 (eval $ac_compile) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try
='test -s conftest.$ac_objext'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; }; then
11042 ac_header_compiler
=yes
11044 echo "$as_me: failed program was:" >&5
11045 cat conftest.
$ac_ext >&5
11046 ac_header_compiler
=no
11048 rm -f conftest.
$ac_objext conftest.
$ac_ext
11049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11050 echo "${ECHO_T}$ac_header_compiler" >&6
11052 # Is the header present?
11053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11055 cat >conftest.
$ac_ext <<_ACEOF
11056 #line $LINENO "configure"
11057 #include "confdefs.h"
11058 #include <$ac_header>
11060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11063 egrep -v '^ *\+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } >/dev
/null
; then
11068 if test -s conftest.err
; then
11069 ac_cpp_err
=$ac_c_preproc_warn_flag
11076 if test -z "$ac_cpp_err"; then
11077 ac_header_preproc
=yes
11079 echo "$as_me: failed program was:" >&5
11080 cat conftest.
$ac_ext >&5
11081 ac_header_preproc
=no
11083 rm -f conftest.err conftest.
$ac_ext
11084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11085 echo "${ECHO_T}$ac_header_preproc" >&6
11087 # So? What about this header?
11088 case $ac_header_compiler:$ac_header_preproc in
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11102 echo "$as_me:$LINENO: checking for $ac_header" >&5
11103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 eval "$as_ac_Header=$ac_header_preproc"
11109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11114 cat >>confdefs.h
<<_ACEOF
11115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11123 echo "$as_me:$LINENO: checking for mbstate_t" >&5
11124 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
11125 if test "${ac_cv_type_mbstate_t+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 cat >conftest.
$ac_ext <<_ACEOF
11129 #line $LINENO "configure"
11130 #include "confdefs.h"
11133 # include <stdlib.h>
11136 #ifdef F77_DUMMY_MAIN
11137 # ifdef __cplusplus
11140 int F77_DUMMY_MAIN() { return 1; }
11145 mbstate_t x; return sizeof x;
11150 rm -f conftest.
$ac_objext
11151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11152 (eval $ac_compile) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try
='test -s conftest.$ac_objext'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; }; then
11162 ac_cv_type_mbstate_t
=yes
11164 echo "$as_me: failed program was:" >&5
11165 cat conftest.
$ac_ext >&5
11166 ac_cv_type_mbstate_t
=no
11168 rm -f conftest.
$ac_objext conftest.
$ac_ext
11170 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
11171 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
11172 if test $ac_cv_type_mbstate_t = no
; then
11174 cat >>confdefs.h
<<\_ACEOF
11175 #define mbstate_t int
11181 echo "$as_me:$LINENO: checking for function prototypes" >&5
11182 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
11183 if test "$am_cv_prog_cc_stdc" != no
; then
11184 echo "$as_me:$LINENO: result: yes" >&5
11185 echo "${ECHO_T}yes" >&6
11187 cat >>confdefs.h
<<\_ACEOF
11188 #define PROTOTYPES 1
11193 echo "$as_me:$LINENO: result: no" >&5
11194 echo "${ECHO_T}no" >&6
11195 U
=_ ANSI2KNR
=.
/ansi2knr
11197 # Ensure some checks needed by ansi2knr itself.
11198 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11199 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11200 if test "${ac_cv_header_stdc+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 cat >conftest.
$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11205 #include "confdefs.h"
11206 #include <stdlib.h>
11207 #include <stdarg.h>
11208 #include <string.h>
11212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11215 egrep -v '^ *\+' conftest.er1
>conftest.err
11217 cat conftest.err
>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } >/dev
/null
; then
11220 if test -s conftest.err
; then
11221 ac_cpp_err
=$ac_c_preproc_warn_flag
11228 if test -z "$ac_cpp_err"; then
11229 ac_cv_header_stdc
=yes
11231 echo "$as_me: failed program was:" >&5
11232 cat conftest.
$ac_ext >&5
11233 ac_cv_header_stdc
=no
11235 rm -f conftest.err conftest.
$ac_ext
11237 if test $ac_cv_header_stdc = yes; then
11238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11239 cat >conftest.
$ac_ext <<_ACEOF
11240 #line $LINENO "configure"
11241 #include "confdefs.h"
11242 #include <string.h>
11245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11246 egrep "memchr" >/dev
/null
2>&1; then
11249 ac_cv_header_stdc
=no
11255 if test $ac_cv_header_stdc = yes; then
11256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11257 cat >conftest.
$ac_ext <<_ACEOF
11258 #line $LINENO "configure"
11259 #include "confdefs.h"
11260 #include <stdlib.h>
11263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11264 egrep "free" >/dev
/null
2>&1; then
11267 ac_cv_header_stdc
=no
11273 if test $ac_cv_header_stdc = yes; then
11274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11275 if test "$cross_compiling" = yes; then
11278 cat >conftest.
$ac_ext <<_ACEOF
11279 #line $LINENO "configure"
11280 #include "confdefs.h"
11282 #if ((' ' & 0x0FF) == 0x020)
11283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11286 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
11287 || ('j' <= (c) && (c) <= 'r') \
11288 || ('s' <= (c) && (c) <= 'z'))
11289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11297 for (i = 0; i < 256; i++)
11298 if (XOR (islower (i), ISLOWER (i))
11299 || toupper (i) != TOUPPER (i))
11304 rm -f conftest
$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11317 echo "$as_me: program exited with status $ac_status" >&5
11318 echo "$as_me: failed program was:" >&5
11319 cat conftest.
$ac_ext >&5
11320 ( exit $ac_status )
11321 ac_cv_header_stdc
=no
11323 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11327 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11328 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11329 if test $ac_cv_header_stdc = yes; then
11331 cat >>confdefs.h
<<\_ACEOF
11332 #define STDC_HEADERS 1
11338 for ac_header
in string.h
11340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11342 echo "$as_me:$LINENO: checking for $ac_header" >&5
11343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11350 # Is the header compilable?
11351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11353 cat >conftest.
$ac_ext <<_ACEOF
11354 #line $LINENO "configure"
11355 #include "confdefs.h"
11356 $ac_includes_default
11357 #include <$ac_header>
11359 rm -f conftest.
$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } &&
11365 { ac_try
='test -s conftest.$ac_objext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 ac_header_compiler
=yes
11373 echo "$as_me: failed program was:" >&5
11374 cat conftest.
$ac_ext >&5
11375 ac_header_compiler
=no
11377 rm -f conftest.
$ac_objext conftest.
$ac_ext
11378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11379 echo "${ECHO_T}$ac_header_compiler" >&6
11381 # Is the header present?
11382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11384 cat >conftest.
$ac_ext <<_ACEOF
11385 #line $LINENO "configure"
11386 #include "confdefs.h"
11387 #include <$ac_header>
11389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11392 egrep -v '^ *\+' conftest.er1
>conftest.err
11394 cat conftest.err
>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } >/dev
/null
; then
11397 if test -s conftest.err
; then
11398 ac_cpp_err
=$ac_c_preproc_warn_flag
11405 if test -z "$ac_cpp_err"; then
11406 ac_header_preproc
=yes
11408 echo "$as_me: failed program was:" >&5
11409 cat conftest.
$ac_ext >&5
11410 ac_header_preproc
=no
11412 rm -f conftest.err conftest.
$ac_ext
11413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11414 echo "${ECHO_T}$ac_header_preproc" >&6
11416 # So? What about this header?
11417 case $ac_header_compiler:$ac_header_preproc in
11419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11431 echo "$as_me:$LINENO: checking for $ac_header" >&5
11432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 eval "$as_ac_Header=$ac_header_preproc"
11438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11443 cat >>confdefs.h
<<_ACEOF
11444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11458 for ac_func
in bzero bcopy isascii btowc
11460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11461 echo "$as_me:$LINENO: checking for $ac_func" >&5
11462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11463 if eval "test \"\${$as_ac_var+set}\" = set"; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 cat >conftest.
$ac_ext <<_ACEOF
11467 #line $LINENO "configure"
11468 #include "confdefs.h"
11469 /* System header to define __stub macros and hopefully few prototypes,
11470 which can conflict with char $ac_func (); below. */
11471 #include <assert.h>
11472 /* Override any gcc2 internal prototype to avoid an error. */
11476 /* We use char because int might match the return type of a gcc2
11477 builtin and then its argument prototype would still apply. */
11481 #ifdef F77_DUMMY_MAIN
11482 # ifdef __cplusplus
11485 int F77_DUMMY_MAIN() { return 1; }
11490 /* The GNU C library defines this for functions which it implements
11491 to always fail with ENOSYS. Some functions are actually named
11492 something starting with __ and the normal name is an alias. */
11493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11503 rm -f conftest.
$ac_objext conftest
$ac_exeext
11504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11505 (eval $ac_link) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } &&
11509 { ac_try
='test -s conftest$ac_exeext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 eval "$as_ac_var=yes"
11517 echo "$as_me: failed program was:" >&5
11518 cat conftest.
$ac_ext >&5
11519 eval "$as_ac_var=no"
11521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11525 if test `eval echo '${'$as_ac_var'}'` = yes; then
11526 cat >>confdefs.h
<<_ACEOF
11527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11537 for ac_header
in alloca.h libintl.h wctype.h wchar.h
11539 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11541 echo "$as_me:$LINENO: checking for $ac_header" >&5
11542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11549 # Is the header compilable?
11550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11552 cat >conftest.
$ac_ext <<_ACEOF
11553 #line $LINENO "configure"
11554 #include "confdefs.h"
11555 $ac_includes_default
11556 #include <$ac_header>
11558 rm -f conftest.
$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try
='test -s conftest.$ac_objext'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; }; then
11570 ac_header_compiler
=yes
11572 echo "$as_me: failed program was:" >&5
11573 cat conftest.
$ac_ext >&5
11574 ac_header_compiler
=no
11576 rm -f conftest.
$ac_objext conftest.
$ac_ext
11577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11578 echo "${ECHO_T}$ac_header_compiler" >&6
11580 # Is the header present?
11581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11583 cat >conftest.
$ac_ext <<_ACEOF
11584 #line $LINENO "configure"
11585 #include "confdefs.h"
11586 #include <$ac_header>
11588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11591 egrep -v '^ *\+' conftest.er1
>conftest.err
11593 cat conftest.err
>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } >/dev
/null
; then
11596 if test -s conftest.err
; then
11597 ac_cpp_err
=$ac_c_preproc_warn_flag
11604 if test -z "$ac_cpp_err"; then
11605 ac_header_preproc
=yes
11607 echo "$as_me: failed program was:" >&5
11608 cat conftest.
$ac_ext >&5
11609 ac_header_preproc
=no
11611 rm -f conftest.err conftest.
$ac_ext
11612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11613 echo "${ECHO_T}$ac_header_preproc" >&6
11615 # So? What about this header?
11616 case $ac_header_compiler:$ac_header_preproc in
11618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11630 echo "$as_me:$LINENO: checking for $ac_header" >&5
11631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 eval "$as_ac_Header=$ac_header_preproc"
11637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11642 cat >>confdefs.h
<<_ACEOF
11643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11650 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11651 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11652 if test "${ac_cv_header_stdc+set}" = set; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 cat >conftest.
$ac_ext <<_ACEOF
11656 #line $LINENO "configure"
11657 #include "confdefs.h"
11658 #include <stdlib.h>
11659 #include <stdarg.h>
11660 #include <string.h>
11664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11667 egrep -v '^ *\+' conftest.er1
>conftest.err
11669 cat conftest.err
>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } >/dev
/null
; then
11672 if test -s conftest.err
; then
11673 ac_cpp_err
=$ac_c_preproc_warn_flag
11680 if test -z "$ac_cpp_err"; then
11681 ac_cv_header_stdc
=yes
11683 echo "$as_me: failed program was:" >&5
11684 cat conftest.
$ac_ext >&5
11685 ac_cv_header_stdc
=no
11687 rm -f conftest.err conftest.
$ac_ext
11689 if test $ac_cv_header_stdc = yes; then
11690 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11691 cat >conftest.
$ac_ext <<_ACEOF
11692 #line $LINENO "configure"
11693 #include "confdefs.h"
11694 #include <string.h>
11697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11698 egrep "memchr" >/dev
/null
2>&1; then
11701 ac_cv_header_stdc
=no
11707 if test $ac_cv_header_stdc = yes; then
11708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11709 cat >conftest.
$ac_ext <<_ACEOF
11710 #line $LINENO "configure"
11711 #include "confdefs.h"
11712 #include <stdlib.h>
11715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11716 egrep "free" >/dev
/null
2>&1; then
11719 ac_cv_header_stdc
=no
11725 if test $ac_cv_header_stdc = yes; then
11726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11727 if test "$cross_compiling" = yes; then
11730 cat >conftest.
$ac_ext <<_ACEOF
11731 #line $LINENO "configure"
11732 #include "confdefs.h"
11734 #if ((' ' & 0x0FF) == 0x020)
11735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11738 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
11739 || ('j' <= (c) && (c) <= 'r') \
11740 || ('s' <= (c) && (c) <= 'z'))
11741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11749 for (i = 0; i < 256; i++)
11750 if (XOR (islower (i), ISLOWER (i))
11751 || toupper (i) != TOUPPER (i))
11756 rm -f conftest
$ac_exeext
11757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11758 (eval $ac_link) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11769 echo "$as_me: program exited with status $ac_status" >&5
11770 echo "$as_me: failed program was:" >&5
11771 cat conftest.
$ac_ext >&5
11772 ( exit $ac_status )
11773 ac_cv_header_stdc
=no
11775 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11779 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11780 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11781 if test $ac_cv_header_stdc = yes; then
11783 cat >>confdefs.h
<<\_ACEOF
11784 #define STDC_HEADERS 1
11789 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11790 # for constant arguments. Useless!
11791 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11792 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11793 if test "${ac_cv_working_alloca_h+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 cat >conftest.
$ac_ext <<_ACEOF
11797 #line $LINENO "configure"
11798 #include "confdefs.h"
11799 #include <alloca.h>
11800 #ifdef F77_DUMMY_MAIN
11801 # ifdef __cplusplus
11804 int F77_DUMMY_MAIN() { return 1; }
11809 char *p = (char *) alloca (2 * sizeof (int));
11814 rm -f conftest.
$ac_objext conftest
$ac_exeext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11816 (eval $ac_link) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try
='test -s conftest$ac_exeext'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; }; then
11826 ac_cv_working_alloca_h
=yes
11828 echo "$as_me: failed program was:" >&5
11829 cat conftest.
$ac_ext >&5
11830 ac_cv_working_alloca_h
=no
11832 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11834 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11835 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11836 if test $ac_cv_working_alloca_h = yes; then
11838 cat >>confdefs.h
<<\_ACEOF
11839 #define HAVE_ALLOCA_H 1
11844 echo "$as_me:$LINENO: checking for alloca" >&5
11845 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11846 if test "${ac_cv_func_alloca_works+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 cat >conftest.
$ac_ext <<_ACEOF
11850 #line $LINENO "configure"
11851 #include "confdefs.h"
11853 # define alloca __builtin_alloca
11856 # include <malloc.h>
11857 # define alloca _alloca
11860 # include <alloca.h>
11865 # ifndef alloca /* predefined by HP cc +Olibcalls */
11873 #ifdef F77_DUMMY_MAIN
11874 # ifdef __cplusplus
11877 int F77_DUMMY_MAIN() { return 1; }
11882 char *p = (char *) alloca (1);
11887 rm -f conftest.
$ac_objext conftest
$ac_exeext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11889 (eval $ac_link) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try
='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 ac_cv_func_alloca_works
=yes
11901 echo "$as_me: failed program was:" >&5
11902 cat conftest.
$ac_ext >&5
11903 ac_cv_func_alloca_works
=no
11905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11907 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11908 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11910 if test $ac_cv_func_alloca_works = yes; then
11912 cat >>confdefs.h
<<\_ACEOF
11913 #define HAVE_ALLOCA 1
11917 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11918 # that cause trouble. Some versions do not even contain alloca or
11919 # contain a buggy version. If you still want to use their alloca,
11920 # use ar to extract alloca.o from them instead of compiling alloca.c.
11922 ALLOCA
=alloca.
$ac_objext
11924 cat >>confdefs.h
<<\_ACEOF
11929 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11930 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11931 if test "${ac_cv_os_cray+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 cat >conftest.
$ac_ext <<_ACEOF
11935 #line $LINENO "configure"
11936 #include "confdefs.h"
11937 #if defined(CRAY) && ! defined(CRAY2)
11944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11945 egrep "webecray" >/dev
/null
2>&1; then
11953 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11954 echo "${ECHO_T}$ac_cv_os_cray" >&6
11955 if test $ac_cv_os_cray = yes; then
11956 for ac_func
in _getb67 GETB67 getb67
; do
11957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11958 echo "$as_me:$LINENO: checking for $ac_func" >&5
11959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11960 if eval "test \"\${$as_ac_var+set}\" = set"; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 cat >conftest.
$ac_ext <<_ACEOF
11964 #line $LINENO "configure"
11965 #include "confdefs.h"
11966 /* System header to define __stub macros and hopefully few prototypes,
11967 which can conflict with char $ac_func (); below. */
11968 #include <assert.h>
11969 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11978 #ifdef F77_DUMMY_MAIN
11979 # ifdef __cplusplus
11982 int F77_DUMMY_MAIN() { return 1; }
11987 /* The GNU C library defines this for functions which it implements
11988 to always fail with ENOSYS. Some functions are actually named
11989 something starting with __ and the normal name is an alias. */
11990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12000 rm -f conftest.
$ac_objext conftest
$ac_exeext
12001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12002 (eval $ac_link) 2>&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); } &&
12006 { ac_try
='test -s conftest$ac_exeext'
12007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008 (eval $ac_try) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; }; then
12012 eval "$as_ac_var=yes"
12014 echo "$as_me: failed program was:" >&5
12015 cat conftest.
$ac_ext >&5
12016 eval "$as_ac_var=no"
12018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12022 if test `eval echo '${'$as_ac_var'}'` = yes; then
12024 cat >>confdefs.h
<<_ACEOF
12025 #define CRAY_STACKSEG_END $ac_func
12034 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12035 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12036 if test "${ac_cv_c_stack_direction+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 if test "$cross_compiling" = yes; then
12040 ac_cv_c_stack_direction
=0
12042 cat >conftest.
$ac_ext <<_ACEOF
12043 #line $LINENO "configure"
12044 #include "confdefs.h"
12046 find_stack_direction ()
12048 static char *addr = 0;
12053 return find_stack_direction ();
12056 return (&dummy > addr) ? 1 : -1;
12062 exit (find_stack_direction () < 0);
12065 rm -f conftest
$ac_exeext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12067 (eval $ac_link) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 ac_cv_c_stack_direction
=1
12078 echo "$as_me: program exited with status $ac_status" >&5
12079 echo "$as_me: failed program was:" >&5
12080 cat conftest.
$ac_ext >&5
12081 ( exit $ac_status )
12082 ac_cv_c_stack_direction
=-1
12084 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12087 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12088 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12090 cat >>confdefs.h
<<_ACEOF
12091 #define STACK_DIRECTION $ac_cv_c_stack_direction
12099 cat >>confdefs.h
<<\_ACEOF
12100 #define REGEX_MALLOC 1
12104 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12105 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12106 if test "${ac_cv_header_stdc+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12110 #line $LINENO "configure"
12111 #include "confdefs.h"
12112 #include <stdlib.h>
12113 #include <stdarg.h>
12114 #include <string.h>
12118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12121 egrep -v '^ *\+' conftest.er1
>conftest.err
12123 cat conftest.err
>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } >/dev
/null
; then
12126 if test -s conftest.err
; then
12127 ac_cpp_err
=$ac_c_preproc_warn_flag
12134 if test -z "$ac_cpp_err"; then
12135 ac_cv_header_stdc
=yes
12137 echo "$as_me: failed program was:" >&5
12138 cat conftest.
$ac_ext >&5
12139 ac_cv_header_stdc
=no
12141 rm -f conftest.err conftest.
$ac_ext
12143 if test $ac_cv_header_stdc = yes; then
12144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12145 cat >conftest.
$ac_ext <<_ACEOF
12146 #line $LINENO "configure"
12147 #include "confdefs.h"
12148 #include <string.h>
12151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12152 egrep "memchr" >/dev
/null
2>&1; then
12155 ac_cv_header_stdc
=no
12161 if test $ac_cv_header_stdc = yes; then
12162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12163 cat >conftest.
$ac_ext <<_ACEOF
12164 #line $LINENO "configure"
12165 #include "confdefs.h"
12166 #include <stdlib.h>
12169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12170 egrep "free" >/dev
/null
2>&1; then
12173 ac_cv_header_stdc
=no
12179 if test $ac_cv_header_stdc = yes; then
12180 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12181 if test "$cross_compiling" = yes; then
12184 cat >conftest.
$ac_ext <<_ACEOF
12185 #line $LINENO "configure"
12186 #include "confdefs.h"
12188 #if ((' ' & 0x0FF) == 0x020)
12189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12192 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
12193 || ('j' <= (c) && (c) <= 'r') \
12194 || ('s' <= (c) && (c) <= 'z'))
12195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12203 for (i = 0; i < 256; i++)
12204 if (XOR (islower (i), ISLOWER (i))
12205 || toupper (i) != TOUPPER (i))
12210 rm -f conftest
$ac_exeext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12212 (eval $ac_link) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12223 echo "$as_me: program exited with status $ac_status" >&5
12224 echo "$as_me: failed program was:" >&5
12225 cat conftest.
$ac_ext >&5
12226 ( exit $ac_status )
12227 ac_cv_header_stdc
=no
12229 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12233 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12234 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12235 if test $ac_cv_header_stdc = yes; then
12237 cat >>confdefs.h
<<\_ACEOF
12238 #define STDC_HEADERS 1
12243 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
12244 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
12245 if test "${ac_cv_header_stat_broken+set}" = set; then
12246 echo $ECHO_N "(cached) $ECHO_C" >&6
12248 cat >conftest.
$ac_ext <<_ACEOF
12249 #line $LINENO "configure"
12250 #include "confdefs.h"
12251 #include <sys/types.h>
12252 #include <sys/stat.h>
12254 #if defined(S_ISBLK) && defined(S_IFDIR)
12255 # if S_ISBLK (S_IFDIR)
12260 #if defined(S_ISBLK) && defined(S_IFCHR)
12261 # if S_ISBLK (S_IFCHR)
12266 #if defined(S_ISLNK) && defined(S_IFREG)
12267 # if S_ISLNK (S_IFREG)
12272 #if defined(S_ISSOCK) && defined(S_IFREG)
12273 # if S_ISSOCK (S_IFREG)
12279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12280 egrep "You lose" >/dev
/null
2>&1; then
12281 ac_cv_header_stat_broken
=yes
12283 ac_cv_header_stat_broken
=no
12288 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12289 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12290 if test $ac_cv_header_stat_broken = yes; then
12292 cat >>confdefs.h
<<\_ACEOF
12293 #define STAT_MACROS_BROKEN 1
12302 for ac_header
in fcntl.h sys
/time.h stdint.h unistd.h
12304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12306 echo "$as_me:$LINENO: checking for $ac_header" >&5
12307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12314 # Is the header compilable?
12315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12317 cat >conftest.
$ac_ext <<_ACEOF
12318 #line $LINENO "configure"
12319 #include "confdefs.h"
12320 $ac_includes_default
12321 #include <$ac_header>
12323 rm -f conftest.
$ac_objext
12324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12325 (eval $ac_compile) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try
='test -s conftest.$ac_objext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_header_compiler
=yes
12337 echo "$as_me: failed program was:" >&5
12338 cat conftest.
$ac_ext >&5
12339 ac_header_compiler
=no
12341 rm -f conftest.
$ac_objext conftest.
$ac_ext
12342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12343 echo "${ECHO_T}$ac_header_compiler" >&6
12345 # Is the header present?
12346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12348 cat >conftest.
$ac_ext <<_ACEOF
12349 #line $LINENO "configure"
12350 #include "confdefs.h"
12351 #include <$ac_header>
12353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12356 egrep -v '^ *\+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } >/dev
/null
; then
12361 if test -s conftest.err
; then
12362 ac_cpp_err
=$ac_c_preproc_warn_flag
12369 if test -z "$ac_cpp_err"; then
12370 ac_header_preproc
=yes
12372 echo "$as_me: failed program was:" >&5
12373 cat conftest.
$ac_ext >&5
12374 ac_header_preproc
=no
12376 rm -f conftest.err conftest.
$ac_ext
12377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12378 echo "${ECHO_T}$ac_header_preproc" >&6
12380 # So? What about this header?
12381 case $ac_header_compiler:$ac_header_preproc in
12383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12395 echo "$as_me:$LINENO: checking for $ac_header" >&5
12396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 eval "$as_ac_Header=$ac_header_preproc"
12402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12407 cat >>confdefs.h
<<_ACEOF
12408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12417 for ac_func
in __secure_getenv gettimeofday
12419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12420 echo "$as_me:$LINENO: checking for $ac_func" >&5
12421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12422 if eval "test \"\${$as_ac_var+set}\" = set"; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 cat >conftest.
$ac_ext <<_ACEOF
12426 #line $LINENO "configure"
12427 #include "confdefs.h"
12428 /* System header to define __stub macros and hopefully few prototypes,
12429 which can conflict with char $ac_func (); below. */
12430 #include <assert.h>
12431 /* Override any gcc2 internal prototype to avoid an error. */
12435 /* We use char because int might match the return type of a gcc2
12436 builtin and then its argument prototype would still apply. */
12440 #ifdef F77_DUMMY_MAIN
12441 # ifdef __cplusplus
12444 int F77_DUMMY_MAIN() { return 1; }
12449 /* The GNU C library defines this for functions which it implements
12450 to always fail with ENOSYS. Some functions are actually named
12451 something starting with __ and the normal name is an alias. */
12452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12462 rm -f conftest.
$ac_objext conftest
$ac_exeext
12463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12464 (eval $ac_link) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } &&
12468 { ac_try
='test -s conftest$ac_exeext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 eval "$as_ac_var=yes"
12476 echo "$as_me: failed program was:" >&5
12477 cat conftest.
$ac_ext >&5
12478 eval "$as_ac_var=no"
12480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12484 if test `eval echo '${'$as_ac_var'}'` = yes; then
12485 cat >>confdefs.h
<<_ACEOF
12486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12492 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
12493 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
12494 if test "${ac_cv_have_decl_getenv+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12498 #line $LINENO "configure"
12499 #include "confdefs.h"
12500 $ac_includes_default
12501 #ifdef F77_DUMMY_MAIN
12502 # ifdef __cplusplus
12505 int F77_DUMMY_MAIN() { return 1; }
12511 char *p = (char *) getenv;
12518 rm -f conftest.
$ac_objext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12520 (eval $ac_compile) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try
='test -s conftest.$ac_objext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 ac_cv_have_decl_getenv
=yes
12532 echo "$as_me: failed program was:" >&5
12533 cat conftest.
$ac_ext >&5
12534 ac_cv_have_decl_getenv
=no
12536 rm -f conftest.
$ac_objext conftest.
$ac_ext
12538 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12539 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
12540 if test $ac_cv_have_decl_getenv = yes; then
12542 cat >>confdefs.h
<<_ACEOF
12543 #define HAVE_DECL_GETENV 1
12548 cat >>confdefs.h
<<_ACEOF
12549 #define HAVE_DECL_GETENV 0
12558 echo "$as_me:$LINENO: checking for long long" >&5
12559 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12560 if test "${ac_cv_type_long_long+set}" = set; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 cat >conftest.
$ac_ext <<_ACEOF
12564 #line $LINENO "configure"
12565 #include "confdefs.h"
12566 long long ll = 1; int i = 63;
12567 #ifdef F77_DUMMY_MAIN
12568 # ifdef __cplusplus
12571 int F77_DUMMY_MAIN() { return 1; }
12576 long long llmax = (long long) -1;
12577 return ll << i | ll >> i | llmax / ll | llmax % ll;
12582 rm -f conftest.
$ac_objext conftest
$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try
='test -s conftest$ac_exeext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 ac_cv_type_long_long
=yes
12596 echo "$as_me: failed program was:" >&5
12597 cat conftest.
$ac_ext >&5
12598 ac_cv_type_long_long
=no
12600 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12602 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12603 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12604 if test $ac_cv_type_long_long = yes; then
12606 cat >>confdefs.h
<<\_ACEOF
12607 #define HAVE_LONG_LONG 1
12614 echo "$as_me:$LINENO: checking for intmax_t" >&5
12615 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
12616 if test "${ac_cv_type_intmax_t+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 cat >conftest.
$ac_ext <<_ACEOF
12620 #line $LINENO "configure"
12621 #include "confdefs.h"
12622 $ac_includes_default
12623 #ifdef F77_DUMMY_MAIN
12624 # ifdef __cplusplus
12627 int F77_DUMMY_MAIN() { return 1; }
12632 if ((intmax_t *) 0)
12634 if (sizeof (intmax_t))
12640 rm -f conftest.
$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_cv_type_intmax_t
=yes
12654 echo "$as_me: failed program was:" >&5
12655 cat conftest.
$ac_ext >&5
12656 ac_cv_type_intmax_t
=no
12658 rm -f conftest.
$ac_objext conftest.
$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
12661 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
12662 if test $ac_cv_type_intmax_t = yes; then
12665 test $ac_cv_type_long_long = yes \
12666 && ac_type
='long long' \
12669 cat >>confdefs.h
<<_ACEOF
12670 #define intmax_t $ac_type
12681 echo "$as_me:$LINENO: checking whether strtol is declared" >&5
12682 echo $ECHO_N "checking whether strtol is declared... $ECHO_C" >&6
12683 if test "${ac_cv_have_decl_strtol+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 cat >conftest.
$ac_ext <<_ACEOF
12687 #line $LINENO "configure"
12688 #include "confdefs.h"
12689 $ac_includes_default
12690 #ifdef F77_DUMMY_MAIN
12691 # ifdef __cplusplus
12694 int F77_DUMMY_MAIN() { return 1; }
12700 char *p = (char *) strtol;
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 ac_cv_have_decl_strtol
=yes
12721 echo "$as_me: failed program was:" >&5
12722 cat conftest.
$ac_ext >&5
12723 ac_cv_have_decl_strtol
=no
12725 rm -f conftest.
$ac_objext conftest.
$ac_ext
12727 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtol" >&5
12728 echo "${ECHO_T}$ac_cv_have_decl_strtol" >&6
12729 if test $ac_cv_have_decl_strtol = yes; then
12731 cat >>confdefs.h
<<_ACEOF
12732 #define HAVE_DECL_STRTOL 1
12737 cat >>confdefs.h
<<_ACEOF
12738 #define HAVE_DECL_STRTOL 0
12743 echo "$as_me:$LINENO: checking whether strtoul is declared" >&5
12744 echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6
12745 if test "${ac_cv_have_decl_strtoul+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 cat >conftest.
$ac_ext <<_ACEOF
12749 #line $LINENO "configure"
12750 #include "confdefs.h"
12751 $ac_includes_default
12752 #ifdef F77_DUMMY_MAIN
12753 # ifdef __cplusplus
12756 int F77_DUMMY_MAIN() { return 1; }
12762 char *p = (char *) strtoul;
12769 rm -f conftest.
$ac_objext
12770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12771 (eval $ac_compile) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try
='test -s conftest.$ac_objext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 ac_cv_have_decl_strtoul
=yes
12783 echo "$as_me: failed program was:" >&5
12784 cat conftest.
$ac_ext >&5
12785 ac_cv_have_decl_strtoul
=no
12787 rm -f conftest.
$ac_objext conftest.
$ac_ext
12789 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5
12790 echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6
12791 if test $ac_cv_have_decl_strtoul = yes; then
12793 cat >>confdefs.h
<<_ACEOF
12794 #define HAVE_DECL_STRTOUL 1
12799 cat >>confdefs.h
<<_ACEOF
12800 #define HAVE_DECL_STRTOUL 0
12805 echo "$as_me:$LINENO: checking whether strtoull is declared" >&5
12806 echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6
12807 if test "${ac_cv_have_decl_strtoull+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12811 #line $LINENO "configure"
12812 #include "confdefs.h"
12813 $ac_includes_default
12814 #ifdef F77_DUMMY_MAIN
12815 # ifdef __cplusplus
12818 int F77_DUMMY_MAIN() { return 1; }
12824 char *p = (char *) strtoull;
12831 rm -f conftest.
$ac_objext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12833 (eval $ac_compile) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -s conftest.$ac_objext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12843 ac_cv_have_decl_strtoull
=yes
12845 echo "$as_me: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12847 ac_cv_have_decl_strtoull
=no
12849 rm -f conftest.
$ac_objext conftest.
$ac_ext
12851 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5
12852 echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6
12853 if test $ac_cv_have_decl_strtoull = yes; then
12855 cat >>confdefs.h
<<_ACEOF
12856 #define HAVE_DECL_STRTOULL 1
12861 cat >>confdefs.h
<<_ACEOF
12862 #define HAVE_DECL_STRTOULL 0
12867 echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5
12868 echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6
12869 if test "${ac_cv_have_decl_strtoimax+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12873 #line $LINENO "configure"
12874 #include "confdefs.h"
12875 $ac_includes_default
12876 #ifdef F77_DUMMY_MAIN
12877 # ifdef __cplusplus
12880 int F77_DUMMY_MAIN() { return 1; }
12886 char *p = (char *) strtoimax;
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try
='test -s conftest.$ac_objext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_cv_have_decl_strtoimax
=yes
12907 echo "$as_me: failed program was:" >&5
12908 cat conftest.
$ac_ext >&5
12909 ac_cv_have_decl_strtoimax
=no
12911 rm -f conftest.
$ac_objext conftest.
$ac_ext
12913 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5
12914 echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6
12915 if test $ac_cv_have_decl_strtoimax = yes; then
12917 cat >>confdefs.h
<<_ACEOF
12918 #define HAVE_DECL_STRTOIMAX 1
12923 cat >>confdefs.h
<<_ACEOF
12924 #define HAVE_DECL_STRTOIMAX 0
12929 echo "$as_me:$LINENO: checking whether strtoumax is declared" >&5
12930 echo $ECHO_N "checking whether strtoumax is declared... $ECHO_C" >&6
12931 if test "${ac_cv_have_decl_strtoumax+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 cat >conftest.
$ac_ext <<_ACEOF
12935 #line $LINENO "configure"
12936 #include "confdefs.h"
12937 $ac_includes_default
12938 #ifdef F77_DUMMY_MAIN
12939 # ifdef __cplusplus
12942 int F77_DUMMY_MAIN() { return 1; }
12948 char *p = (char *) strtoumax;
12955 rm -f conftest.
$ac_objext
12956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12957 (eval $ac_compile) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -s conftest.$ac_objext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 ac_cv_have_decl_strtoumax
=yes
12969 echo "$as_me: failed program was:" >&5
12970 cat conftest.
$ac_ext >&5
12971 ac_cv_have_decl_strtoumax
=no
12973 rm -f conftest.
$ac_objext conftest.
$ac_ext
12975 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoumax" >&5
12976 echo "${ECHO_T}$ac_cv_have_decl_strtoumax" >&6
12977 if test $ac_cv_have_decl_strtoumax = yes; then
12979 cat >>confdefs.h
<<_ACEOF
12980 #define HAVE_DECL_STRTOUMAX 1
12985 cat >>confdefs.h
<<_ACEOF
12986 #define HAVE_DECL_STRTOUMAX 0
12996 for ac_header
in limits.h stdlib.h inttypes.h
12998 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13000 echo "$as_me:$LINENO: checking for $ac_header" >&5
13001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13008 # Is the header compilable?
13009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13011 cat >conftest.
$ac_ext <<_ACEOF
13012 #line $LINENO "configure"
13013 #include "confdefs.h"
13014 $ac_includes_default
13015 #include <$ac_header>
13017 rm -f conftest.
$ac_objext
13018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13019 (eval $ac_compile) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } &&
13023 { ac_try
='test -s conftest.$ac_objext'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; }; then
13029 ac_header_compiler
=yes
13031 echo "$as_me: failed program was:" >&5
13032 cat conftest.
$ac_ext >&5
13033 ac_header_compiler
=no
13035 rm -f conftest.
$ac_objext conftest.
$ac_ext
13036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13037 echo "${ECHO_T}$ac_header_compiler" >&6
13039 # Is the header present?
13040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13042 cat >conftest.
$ac_ext <<_ACEOF
13043 #line $LINENO "configure"
13044 #include "confdefs.h"
13045 #include <$ac_header>
13047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13050 egrep -v '^ *\+' conftest.er1
>conftest.err
13052 cat conftest.err
>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } >/dev
/null
; then
13055 if test -s conftest.err
; then
13056 ac_cpp_err
=$ac_c_preproc_warn_flag
13063 if test -z "$ac_cpp_err"; then
13064 ac_header_preproc
=yes
13066 echo "$as_me: failed program was:" >&5
13067 cat conftest.
$ac_ext >&5
13068 ac_header_preproc
=no
13070 rm -f conftest.err conftest.
$ac_ext
13071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13072 echo "${ECHO_T}$ac_header_preproc" >&6
13074 # So? What about this header?
13075 case $ac_header_compiler:$ac_header_preproc in
13077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13089 echo "$as_me:$LINENO: checking for $ac_header" >&5
13090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 eval "$as_ac_Header=$ac_header_preproc"
13096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13101 cat >>confdefs.h
<<_ACEOF
13102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13110 echo "$as_me:$LINENO: checking whether <inttypes.h> defines strtoumax as a macro" >&5
13111 echo $ECHO_N "checking whether <inttypes.h> defines strtoumax as a macro... $ECHO_C" >&6
13112 if test "${jm_cv_func_strtoumax_macro+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 cat >conftest.
$ac_ext <<_ACEOF
13116 #line $LINENO "configure"
13117 #include "confdefs.h"
13118 #include <inttypes.h>
13120 inttypes_h_defines_strtoumax
13123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13124 egrep "inttypes_h_defines_strtoumax" >/dev
/null
2>&1; then
13125 jm_cv_func_strtoumax_macro
=yes
13127 jm_cv_func_strtoumax_macro
=no
13132 echo "$as_me:$LINENO: result: $jm_cv_func_strtoumax_macro" >&5
13133 echo "${ECHO_T}$jm_cv_func_strtoumax_macro" >&6
13135 if test "$jm_cv_func_strtoumax_macro" != yes; then
13137 for ac_func
in strtoumax
13139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13140 echo "$as_me:$LINENO: checking for $ac_func" >&5
13141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13142 if eval "test \"\${$as_ac_var+set}\" = set"; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 cat >conftest.
$ac_ext <<_ACEOF
13146 #line $LINENO "configure"
13147 #include "confdefs.h"
13148 /* System header to define __stub macros and hopefully few prototypes,
13149 which can conflict with char $ac_func (); below. */
13150 #include <assert.h>
13151 /* Override any gcc2 internal prototype to avoid an error. */
13155 /* We use char because int might match the return type of a gcc2
13156 builtin and then its argument prototype would still apply. */
13160 #ifdef F77_DUMMY_MAIN
13161 # ifdef __cplusplus
13164 int F77_DUMMY_MAIN() { return 1; }
13169 /* The GNU C library defines this for functions which it implements
13170 to always fail with ENOSYS. Some functions are actually named
13171 something starting with __ and the normal name is an alias. */
13172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13182 rm -f conftest.
$ac_objext conftest
$ac_exeext
13183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13184 (eval $ac_link) 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); } &&
13188 { ac_try
='test -s conftest$ac_exeext'
13189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 (eval $ac_try) 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; }; then
13194 eval "$as_ac_var=yes"
13196 echo "$as_me: failed program was:" >&5
13197 cat conftest.
$ac_ext >&5
13198 eval "$as_ac_var=no"
13200 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13204 if test `eval echo '${'$as_ac_var'}'` = yes; then
13205 cat >>confdefs.h
<<_ACEOF
13206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13210 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
13217 case "$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
13220 for ac_func
in strtoul
13222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13223 echo "$as_me:$LINENO: checking for $ac_func" >&5
13224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13225 if eval "test \"\${$as_ac_var+set}\" = set"; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13228 cat >conftest.
$ac_ext <<_ACEOF
13229 #line $LINENO "configure"
13230 #include "confdefs.h"
13231 /* System header to define __stub macros and hopefully few prototypes,
13232 which can conflict with char $ac_func (); below. */
13233 #include <assert.h>
13234 /* Override any gcc2 internal prototype to avoid an error. */
13238 /* We use char because int might match the return type of a gcc2
13239 builtin and then its argument prototype would still apply. */
13243 #ifdef F77_DUMMY_MAIN
13244 # ifdef __cplusplus
13247 int F77_DUMMY_MAIN() { return 1; }
13252 /* The GNU C library defines this for functions which it implements
13253 to always fail with ENOSYS. Some functions are actually named
13254 something starting with __ and the normal name is an alias. */
13255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13265 rm -f conftest.
$ac_objext conftest
$ac_exeext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267 (eval $ac_link) 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try
='test -s conftest$ac_exeext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 eval "$as_ac_var=yes"
13279 echo "$as_me: failed program was:" >&5
13280 cat conftest.
$ac_ext >&5
13281 eval "$as_ac_var=no"
13283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13287 if test `eval echo '${'$as_ac_var'}'` = yes; then
13288 cat >>confdefs.h
<<_ACEOF
13289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13293 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
13299 if test "$ac_cv_type_unsigned_long_long" = yes; then
13301 for ac_func
in strtoull
13303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13304 echo "$as_me:$LINENO: checking for $ac_func" >&5
13305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13306 if eval "test \"\${$as_ac_var+set}\" = set"; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 cat >conftest.
$ac_ext <<_ACEOF
13310 #line $LINENO "configure"
13311 #include "confdefs.h"
13312 /* System header to define __stub macros and hopefully few prototypes,
13313 which can conflict with char $ac_func (); below. */
13314 #include <assert.h>
13315 /* Override any gcc2 internal prototype to avoid an error. */
13319 /* We use char because int might match the return type of a gcc2
13320 builtin and then its argument prototype would still apply. */
13324 #ifdef F77_DUMMY_MAIN
13325 # ifdef __cplusplus
13328 int F77_DUMMY_MAIN() { return 1; }
13333 /* The GNU C library defines this for functions which it implements
13334 to always fail with ENOSYS. Some functions are actually named
13335 something starting with __ and the normal name is an alias. */
13336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13346 rm -f conftest.
$ac_objext conftest
$ac_exeext
13347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13348 (eval $ac_link) 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } &&
13352 { ac_try
='test -s conftest$ac_exeext'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; }; then
13358 eval "$as_ac_var=yes"
13360 echo "$as_me: failed program was:" >&5
13361 cat conftest.
$ac_ext >&5
13362 eval "$as_ac_var=no"
13364 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13368 if test `eval echo '${'$as_ac_var'}'` = yes; then
13369 cat >>confdefs.h
<<_ACEOF
13370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13374 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
13384 # Check for clock_gettime and its library. Solaris puts it in -lrt or
13385 # -lposix4, but we don't want to link that library unless we have to.
13386 diff_saved_libs
=$LIBS
13387 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
13388 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
13389 if test "${ac_cv_search_clock_gettime+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 ac_func_search_save_LIBS
=$LIBS
13393 ac_cv_search_clock_gettime
=no
13394 cat >conftest.
$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13396 #include "confdefs.h"
13398 /* Override any gcc2 internal prototype to avoid an error. */
13402 /* We use char because int might match the return type of a gcc2
13403 builtin and then its argument prototype would still apply. */
13404 char clock_gettime ();
13405 #ifdef F77_DUMMY_MAIN
13406 # ifdef __cplusplus
13409 int F77_DUMMY_MAIN() { return 1; }
13419 rm -f conftest.
$ac_objext conftest
$ac_exeext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13421 (eval $ac_link) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try
='test -s conftest$ac_exeext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 ac_cv_search_clock_gettime
="none required"
13433 echo "$as_me: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13437 if test "$ac_cv_search_clock_gettime" = no
; then
13438 for ac_lib
in rt posix4
; do
13439 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13440 cat >conftest.
$ac_ext <<_ACEOF
13441 #line $LINENO "configure"
13442 #include "confdefs.h"
13444 /* Override any gcc2 internal prototype to avoid an error. */
13448 /* We use char because int might match the return type of a gcc2
13449 builtin and then its argument prototype would still apply. */
13450 char clock_gettime ();
13451 #ifdef F77_DUMMY_MAIN
13452 # ifdef __cplusplus
13455 int F77_DUMMY_MAIN() { return 1; }
13465 rm -f conftest.
$ac_objext conftest
$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467 (eval $ac_link) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try
='test -s conftest$ac_exeext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_cv_search_clock_gettime
="-l$ac_lib"
13480 echo "$as_me: failed program was:" >&5
13481 cat conftest.
$ac_ext >&5
13483 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13486 LIBS
=$ac_func_search_save_LIBS
13488 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
13489 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
13490 if test "$ac_cv_search_clock_gettime" != no
; then
13491 test "$ac_cv_search_clock_gettime" = "none required" || LIBS
="$ac_cv_search_clock_gettime $LIBS"
13495 case $ac_cv_search_clock_gettime in
13496 no |
'none required')
13497 LIB_CLOCK_GETTIME
=;;
13499 LIB_CLOCK_GETTIME
=$ac_cv_search_clock_gettime;;
13503 for ac_func
in clock_gettime
13505 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13506 echo "$as_me:$LINENO: checking for $ac_func" >&5
13507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13508 if eval "test \"\${$as_ac_var+set}\" = set"; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 cat >conftest.
$ac_ext <<_ACEOF
13512 #line $LINENO "configure"
13513 #include "confdefs.h"
13514 /* System header to define __stub macros and hopefully few prototypes,
13515 which can conflict with char $ac_func (); below. */
13516 #include <assert.h>
13517 /* Override any gcc2 internal prototype to avoid an error. */
13521 /* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */
13526 #ifdef F77_DUMMY_MAIN
13527 # ifdef __cplusplus
13530 int F77_DUMMY_MAIN() { return 1; }
13535 /* The GNU C library defines this for functions which it implements
13536 to always fail with ENOSYS. Some functions are actually named
13537 something starting with __ and the normal name is an alias. */
13538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13548 rm -f conftest.
$ac_objext conftest
$ac_exeext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13550 (eval $ac_link) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } &&
13554 { ac_try
='test -s conftest$ac_exeext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 eval "$as_ac_var=yes"
13562 echo "$as_me: failed program was:" >&5
13563 cat conftest.
$ac_ext >&5
13564 eval "$as_ac_var=no"
13566 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571 cat >>confdefs.h
<<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13578 LIBS
=$diff_saved_libs
13581 echo "$as_me:$LINENO: checking for working GNU-style fnmatch" >&5
13582 echo $ECHO_N "checking for working GNU-style fnmatch... $ECHO_C" >&6
13583 if test "${ac_cv_func_fnmatch_works+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 # Some versions of Solaris, SCO, and the GNU C Library
13587 # have a broken or incompatible fnmatch.
13588 # So we run a test program. If we are cross-compiling, take no chance.
13589 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
13590 if test "$cross_compiling" = yes; then
13591 ac_cv_func_fnmatch_works
=no
13593 cat >conftest.
$ac_ext <<_ACEOF
13594 #line $LINENO "configure"
13595 #include "confdefs.h"
13596 #include <fnmatch.h>
13597 #ifdef F77_DUMMY_MAIN
13598 # ifdef __cplusplus
13601 int F77_DUMMY_MAIN() { return 1; }
13606 exit (fnmatch ("a*", "abc", 0) != 0
13607 || fnmatch ("xxXX", "xXxX", FNM_CASEFOLD) != 0
13608 || fnmatch ("d*/*1", "d/s/1", FNM_FILE_NAME) != FNM_NOMATCH
13609 || fnmatch ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
13610 || fnmatch ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
13611 || fnmatch ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0);
13616 rm -f conftest
$ac_exeext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13618 (eval $ac_link) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 ac_cv_func_fnmatch_works
=yes
13629 echo "$as_me: program exited with status $ac_status" >&5
13630 echo "$as_me: failed program was:" >&5
13631 cat conftest.
$ac_ext >&5
13632 ( exit $ac_status )
13633 ac_cv_func_fnmatch_works
=no
13635 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13638 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
13639 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
13640 if test $ac_cv_func_fnmatch_works = yes; then
13642 cat >>confdefs.h
<<\_ACEOF
13643 #define HAVE_FNMATCH 1
13648 if test $ac_cv_func_fnmatch_works = yes; then
13649 rm -f lib
/fnmatch.h
13651 LIBOBJS
="$LIBOBJS fnmatch.$ac_objext"
13652 ac_config_links
="$ac_config_links lib/fnmatch.h:lib/fnmatch.hin"
13659 # Assume we'll default to using the included regex.c.
13660 ac_use_included_regex
=yes
13662 # However, if the system regex support is good enough that it passes the
13663 # the following run test, then default to *not* using the included regex.c.
13664 # If cross compiling, assume the test would fail and use the included
13665 # regex.c. The first failing regular expression is from `Spencer ere
13666 # test #75' in grep-2.3.
13667 echo "$as_me:$LINENO: checking for working re_compile_pattern" >&5
13668 echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6
13669 if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 if test "$cross_compiling" = yes; then
13673 jm_cv_func_working_re_compile_pattern
=no
13675 cat >conftest.
$ac_ext <<_ACEOF
13676 #line $LINENO "configure"
13677 #include "confdefs.h"
13683 static struct re_pattern_buffer regex;
13685 struct re_registers regs;
13686 re_set_syntax (RE_SYNTAX_POSIX_EGREP);
13687 s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex);
13688 /* This should fail with _Invalid character class name_ error. */
13692 /* This should succeed, but doesn't for e.g. glibc-2.1.3. */
13693 s = re_compile_pattern ("{1", 2, ®ex);
13698 /* The following example is derived from a problem report
13699 against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
13700 s = re_compile_pattern ("[anù]*n", 7, ®ex);
13704 /* This should match, but doesn't for e.g. glibc-2.2.1. */
13705 if (re_match (®ex, "an", 2, 0, ®s) != 2)
13712 rm -f conftest
$ac_exeext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13714 (eval $ac_link) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then
13723 jm_cv_func_working_re_compile_pattern
=yes
13725 echo "$as_me: program exited with status $ac_status" >&5
13726 echo "$as_me: failed program was:" >&5
13727 cat conftest.
$ac_ext >&5
13728 ( exit $ac_status )
13729 jm_cv_func_working_re_compile_pattern
=no
13731 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13734 echo "$as_me:$LINENO: result: $jm_cv_func_working_re_compile_pattern" >&5
13735 echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6
13736 if test $jm_cv_func_working_re_compile_pattern = yes; then
13737 ac_use_included_regex
=no
13740 test -n "lib/regex.c" ||
{ { echo "$as_me:$LINENO: error: missing argument" >&5
13741 echo "$as_me: error: missing argument" >&2;}
13742 { (exit 1); exit 1; }; }
13746 # Check whether --with-included-regex or --without-included-regex was given.
13747 if test "${with_included_regex+set}" = set; then
13748 withval
="$with_included_regex"
13749 jm_with_regex
=$withval
13751 jm_with_regex
=$ac_use_included_regex
13753 if test "$jm_with_regex" = yes; then
13754 LIBOBJS
="$LIBOBJS regex.$ac_objext"
13759 if test "$jm_with_regex" = yes; then
13760 ac_config_links
="$ac_config_links lib/regex.h:lib/regex.hin"
13767 echo "$as_me:$LINENO: checking whether system is Windows or MSDOS" >&5
13768 echo $ECHO_N "checking whether system is Windows or MSDOS... $ECHO_C" >&6
13769 if test "${ac_cv_win_or_dos+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 cat >conftest.
$ac_ext <<_ACEOF
13774 #line $LINENO "configure"
13775 #include "confdefs.h"
13777 #ifdef F77_DUMMY_MAIN
13778 # ifdef __cplusplus
13781 int F77_DUMMY_MAIN() { return 1; }
13786 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__
13787 neither MSDOS nor Windows
13793 rm -f conftest.
$ac_objext
13794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13795 (eval $ac_compile) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); } &&
13799 { ac_try
='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ac_cv_win_or_dos
=yes
13807 echo "$as_me: failed program was:" >&5
13808 cat conftest.
$ac_ext >&5
13809 ac_cv_win_or_dos
=no
13811 rm -f conftest.
$ac_objext conftest.
$ac_ext
13814 echo "$as_me:$LINENO: result: $ac_cv_win_or_dos" >&5
13815 echo "${ECHO_T}$ac_cv_win_or_dos" >&6
13817 if test x
"$ac_cv_win_or_dos" = xyes
; then
13818 ac_fs_accepts_drive_letter_prefix
=1
13819 ac_fs_backslash_is_file_name_separator
=1
13821 ac_fs_accepts_drive_letter_prefix
=0
13822 ac_fs_backslash_is_file_name_separator
=0
13829 cat >>confdefs.h
<<_ACEOF
13830 #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix
13838 cat >>confdefs.h
<<_ACEOF
13839 #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator
13845 for ac_header
in fcntl.h unistd.h
13847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13849 echo "$as_me:$LINENO: checking for $ac_header" >&5
13850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13857 # Is the header compilable?
13858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13860 cat >conftest.
$ac_ext <<_ACEOF
13861 #line $LINENO "configure"
13862 #include "confdefs.h"
13863 $ac_includes_default
13864 #include <$ac_header>
13866 rm -f conftest.
$ac_objext
13867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13868 (eval $ac_compile) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try
='test -s conftest.$ac_objext'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13878 ac_header_compiler
=yes
13880 echo "$as_me: failed program was:" >&5
13881 cat conftest.
$ac_ext >&5
13882 ac_header_compiler
=no
13884 rm -f conftest.
$ac_objext conftest.
$ac_ext
13885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13886 echo "${ECHO_T}$ac_header_compiler" >&6
13888 # Is the header present?
13889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13891 cat >conftest.
$ac_ext <<_ACEOF
13892 #line $LINENO "configure"
13893 #include "confdefs.h"
13894 #include <$ac_header>
13896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13897 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13899 egrep -v '^ *\+' conftest.er1
>conftest.err
13901 cat conftest.err
>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } >/dev
/null
; then
13904 if test -s conftest.err
; then
13905 ac_cpp_err
=$ac_c_preproc_warn_flag
13912 if test -z "$ac_cpp_err"; then
13913 ac_header_preproc
=yes
13915 echo "$as_me: failed program was:" >&5
13916 cat conftest.
$ac_ext >&5
13917 ac_header_preproc
=no
13919 rm -f conftest.err conftest.
$ac_ext
13920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13921 echo "${ECHO_T}$ac_header_preproc" >&6
13923 # So? What about this header?
13924 case $ac_header_compiler:$ac_header_preproc in
13926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13938 echo "$as_me:$LINENO: checking for $ac_header" >&5
13939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 eval "$as_ac_Header=$ac_header_preproc"
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13950 cat >>confdefs.h
<<_ACEOF
13951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13958 echo "$as_me:$LINENO: checking for DOS-style setmode" >&5
13959 echo $ECHO_N "checking for DOS-style setmode... $ECHO_C" >&6
13960 if test "${ac_cv_func_setmode_dos+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 cat >conftest.
$ac_ext <<_ACEOF
13964 #line $LINENO "configure"
13965 #include "confdefs.h"
13968 # include <fcntl.h>
13971 # include <unistd.h>
13973 #ifdef F77_DUMMY_MAIN
13974 # ifdef __cplusplus
13977 int F77_DUMMY_MAIN() { return 1; }
13982 int ret = setmode && setmode (1, O_BINARY);
13987 rm -f conftest.
$ac_objext conftest
$ac_exeext
13988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13989 (eval $ac_link) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try
='test -s conftest$ac_exeext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 ac_cv_func_setmode_dos
=yes
14001 echo "$as_me: failed program was:" >&5
14002 cat conftest.
$ac_ext >&5
14003 ac_cv_func_setmode_dos
=no
14005 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14007 echo "$as_me:$LINENO: result: $ac_cv_func_setmode_dos" >&5
14008 echo "${ECHO_T}$ac_cv_func_setmode_dos" >&6
14009 if test $ac_cv_func_setmode_dos = yes; then
14011 cat >>confdefs.h
<<\_ACEOF
14012 #define HAVE_SETMODE_DOS 1
14017 ac_config_files
="$ac_config_files Makefile doc/Makefile lib/Makefile lib/posix/Makefile man/Makefile m4/Makefile ms/Makefile po/Makefile.in src/Makefile"
14019 ac_config_commands
="$ac_config_commands default"
14021 cat >confcache
<<\_ACEOF
14022 # This file is a shell script that caches the results of configure
14023 # tests run on this system so they can be shared between configure
14024 # scripts and configure runs, see configure's option --config-cache.
14025 # It is not useful on other systems. If it contains results you don't
14026 # want to keep, you may remove or edit it.
14028 # config.status only pays attention to the cache file if you give it
14029 # the --recheck option to rerun configure.
14031 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14033 # following values.
14037 # The following way of writing the cache mishandles newlines in values,
14038 # but we know of no workaround that is simple, portable, and efficient.
14039 # So, don't put newlines in cache variables' values.
14040 # Ultrix sh set writes to stderr and can't be redirected directly,
14041 # and sets the high bit in the cache file unless we assign to the vars.
14044 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14046 # `set' does not quote correctly, so add quotes (double-quote
14047 # substitution turns \\\\ into \\, and sed turns \\ into \).
14050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14053 # `set' quotes correctly as required by POSIX, so do not add quotes.
14055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14064 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14066 if cmp -s $cache_file confcache
; then :; else
14067 if test -w $cache_file; then
14068 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14069 cat confcache
>$cache_file
14071 echo "not updating unwritable cache $cache_file"
14076 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14077 # Let make expand exec_prefix.
14078 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14080 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14081 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14082 # trailing colons and then remove the whole line if VPATH becomes empty
14083 # (actually we leave an empty line to preserve line numbers).
14084 if test "x$srcdir" = x.
; then
14085 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14086 s/:*\$(srcdir):*/:/;
14087 s/:*\${srcdir}:*/:/;
14089 s/^\([^=]*=[ ]*\):*/\1/;
14095 DEFS
=-DHAVE_CONFIG_H
14097 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14098 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14099 Usually this means the macro was only invoked conditionally." >&5
14100 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14101 Usually this means the macro was only invoked conditionally." >&2;}
14102 { (exit 1); exit 1; }; }
14105 : ${CONFIG_STATUS=./config.status}
14106 ac_clean_files_save
=$ac_clean_files
14107 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14108 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14109 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14110 cat >$CONFIG_STATUS <<_ACEOF
14112 # Generated by $as_me.
14113 # Run this file to recreate the current configuration.
14114 # Compiler output produced by configure, useful for debugging
14115 # configure, is in config.log if it exists.
14118 SHELL=\${CONFIG_SHELL-$SHELL}
14121 cat >>$CONFIG_STATUS <<\_ACEOF
14123 ## --------------------- ##
14124 ## M4sh Initialization. ##
14125 ## --------------------- ##
14127 # Be Bourne compatible
14128 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14131 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14136 # Support unset when possible.
14137 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
14143 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
14144 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
14145 { LANG
=C
; export LANG
; }
14146 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14147 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
14148 { LC_ALL
=C
; export LC_ALL
; }
14149 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14150 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
14151 { LC_TIME
=C
; export LC_TIME
; }
14152 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14153 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
14154 { LC_CTYPE
=C
; export LC_CTYPE
; }
14155 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14156 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
14157 { LANGUAGE
=C
; export LANGUAGE
; }
14158 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14159 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
14160 { LC_COLLATE
=C
; export LC_COLLATE
; }
14161 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14162 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
14163 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
14164 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14165 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
14166 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
14169 # Name of the executable.
14170 as_me
=`(basename "$0") 2>/dev/null ||
14171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14172 X"$0" : 'X\(//\)$' \| \
14173 X"$0" : 'X\(/\)$' \| \
14174 . : '\(.\)' 2>/dev/null ||
14176 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14177 /^X\/\(\/\/\)$/{ s//\1/; q; }
14178 /^X\/\(\/\).*/{ s//\1/; q; }
14181 # PATH needs CR, and LINENO needs CR and PATH.
14182 # Avoid depending upon Character Ranges.
14183 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14184 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14185 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14186 as_cr_digits
='0123456789'
14187 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14189 # The user is always right.
14190 if test "${PATH_SEPARATOR+set}" != set; then
14191 echo "#! /bin/sh" >conftest.sh
14192 echo "exit 0" >>conftest.sh
14193 chmod +x conftest.sh
14194 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
14203 as_lineno_1
=$LINENO
14204 as_lineno_2
=$LINENO
14205 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14206 test "x$as_lineno_1" != "x$as_lineno_2" &&
14207 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14208 # Find who we are. Look in the path if we contain no path at all
14211 *[\\/]* ) as_myself
=$0 ;;
14212 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14213 for as_dir
in $PATH
14216 test -z "$as_dir" && as_dir
=.
14217 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14222 # We did not find ourselves, most probably we were run as `sh COMMAND'
14223 # in which case we are not to be found in the path.
14224 if test "x$as_myself" = x
; then
14227 if test ! -f "$as_myself"; then
14228 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14229 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14230 { (exit 1); exit 1; }; }
14232 case $CONFIG_SHELL in
14234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14235 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14238 test -z "$as_dir" && as_dir
=.
14239 for as_base
in sh bash ksh sh5
; do
14242 if ("$as_dir/$as_base" -c '
14243 as_lineno_1=$LINENO
14244 as_lineno_2=$LINENO
14245 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14246 test "x$as_lineno_1" != "x$as_lineno_2" &&
14247 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14248 CONFIG_SHELL
=$as_dir/$as_base
14249 export CONFIG_SHELL
14250 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14258 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14259 # uniformly replaced by the line number. The first 'sed' inserts a
14260 # line-number line before each line; the second 'sed' does the real
14261 # work. The second script uses 'N' to pair each line-number line
14262 # with the numbered line, and appends trailing '-' during
14263 # substitution so that $LINENO is not a special case at line end.
14264 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14265 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14266 sed '=' <$as_myself |
14271 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14274 s,^['$as_cr_digits']*\n,,
14275 ' >$as_me.lineno
&&
14276 chmod +x
$as_me.lineno ||
14277 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14278 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14279 { (exit 1); exit 1; }; }
14281 # Don't try to exec as it changes $[0], causing all sort of problems
14282 # (the dirname of $[0] is not the place where we might find the
14283 # original and so on. Autoconf is especially sensible to this).
14285 # Exit status is that of the last command.
14290 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14291 *c
*,-n*) ECHO_N
= ECHO_C
='
14293 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14294 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14297 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14303 rm -f conf$$ conf$$.exe conf$$.
file
14305 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14306 # We could just check for DJGPP; but this test a) works b) is more generic
14307 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14308 if test -f conf$$.exe
; then
14309 # Don't use ln at all; we don't have any links
14314 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14319 rm -f conf$$ conf$$.exe conf$$.
file
14321 as_executable_p
="test -f"
14323 # Sed expression to map a string onto a valid CPP name.
14324 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14326 # Sed expression to map a string onto a valid variable name.
14327 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14331 # We need space, tab and new line, in precisely that order.
14337 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
14341 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14342 # report actual input values of CONFIG_FILES etc. instead of their
14343 # values after options handling. Logging --version etc. is OK.
14347 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14348 ## Running $as_me. ##
14353 This file was extended by GNU diffutils $as_me 2.8.1, which was
14354 generated by GNU Autoconf 2.53. Invocation command line was
14356 CONFIG_FILES = $CONFIG_FILES
14357 CONFIG_HEADERS = $CONFIG_HEADERS
14358 CONFIG_LINKS = $CONFIG_LINKS
14359 CONFIG_COMMANDS = $CONFIG_COMMANDS
14363 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14367 # Files that config.status was made for.
14368 if test -n "$ac_config_files"; then
14369 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14372 if test -n "$ac_config_headers"; then
14373 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14376 if test -n "$ac_config_links"; then
14377 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14380 if test -n "$ac_config_commands"; then
14381 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14384 cat >>$CONFIG_STATUS <<\_ACEOF
14387 \`$as_me' instantiates files from templates according to the
14388 current configuration.
14390 Usage: $0 [OPTIONS] [FILE]...
14392 -h, --help print this help, then exit
14393 -V, --version print version number, then exit
14394 -d, --debug don't remove temporary files
14395 --recheck update $as_me by reconfiguring in the same conditions
14396 --file=FILE[:TEMPLATE]
14397 instantiate the configuration file FILE
14398 --header=FILE[:TEMPLATE]
14399 instantiate the configuration header FILE
14401 Configuration files:
14404 Configuration headers:
14407 Configuration links:
14410 Configuration commands:
14413 Report bugs to <bug-autoconf@gnu.org>."
14416 cat >>$CONFIG_STATUS <<_ACEOF
14418 GNU diffutils config.status 2.8.1
14419 configured by $0, generated by GNU Autoconf 2.53,
14420 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14422 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14423 Free Software Foundation, Inc.
14424 This config.status script is free software; the Free Software Foundation
14425 gives unlimited permission to copy, distribute and modify it."
14430 cat >>$CONFIG_STATUS <<\_ACEOF
14431 # If no file are specified by the user, then we need to provide default
14432 # value. By we need to know if files were specified by the user.
14438 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14439 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14441 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
14445 *) # This is not an option, so the user has probably given explicit
14447 ac_need_defaults
=false
;;
14451 # Handling of the options.
14453 cat >>$CONFIG_STATUS <<_ACEOF
14454 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14455 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14456 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14458 cat >>$CONFIG_STATUS <<\_ACEOF
14459 --version |
--vers* |
-V )
14460 echo "$ac_cs_version"; exit 0 ;;
14462 # Conflict between --help and --header
14463 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14464 Try \`$0 --help' for more information." >&5
14465 echo "$as_me: error: ambiguous option: $1
14466 Try \`$0 --help' for more information." >&2;}
14467 { (exit 1); exit 1; }; };;
14468 --help |
--hel |
-h )
14469 echo "$ac_cs_usage"; exit 0 ;;
14470 --debug |
--d* |
-d )
14472 --file |
--fil |
--fi |
--f )
14474 CONFIG_FILES
="$CONFIG_FILES $1"
14475 ac_need_defaults
=false
;;
14476 --header |
--heade |
--head |
--hea )
14478 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
14479 ac_need_defaults
=false
;;
14481 # This is an error.
14482 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14483 Try \`$0 --help' for more information." >&5
14484 echo "$as_me: error: unrecognized option: $1
14485 Try \`$0 --help' for more information." >&2;}
14486 { (exit 1); exit 1; }; } ;;
14488 *) ac_config_targets
="$ac_config_targets $1" ;;
14496 cat >>$CONFIG_STATUS <<_ACEOF
14498 # INIT-COMMANDS section.
14501 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14502 # Capture the value of obsolete $ALL_LINGUAS because we need it to compute
14503 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14505 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
14506 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14507 LINGUAS="${LINGUAS-%UNSET%}"
14514 cat >>$CONFIG_STATUS <<\_ACEOF
14515 for ac_config_target
in $ac_config_targets
14517 case "$ac_config_target" in
14518 # Handling of arguments.
14519 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14520 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14521 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
14522 "lib/posix/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/posix/Makefile" ;;
14523 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
14524 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
14525 "ms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ms/Makefile" ;;
14526 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
14527 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14528 "lib/fnmatch.h" ) CONFIG_LINKS
="$CONFIG_LINKS lib/fnmatch.h:lib/fnmatch.hin" ;;
14529 "lib/regex.h" ) CONFIG_LINKS
="$CONFIG_LINKS lib/regex.h:lib/regex.hin" ;;
14530 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14531 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14532 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14533 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
14534 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14535 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14536 { (exit 1); exit 1; }; };;
14540 # If the user did not use the arguments to specify the items to instantiate,
14541 # then the envvar interface is used. Set only those that are not.
14542 # We use the long form for the default assignment because of an extremely
14543 # bizarre bug on SunOS 4.1.3.
14544 if $ac_need_defaults; then
14545 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14546 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14547 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
14548 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14551 # Create a temporary directory, and hook for its removal unless debugging.
14554 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14555 trap '{ (exit 1); exit 1; }' 1 2 13 15
14558 # Create a (secure) tmp directory for tmp files.
14561 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14562 test -n "$tmp" && test -d "$tmp"
14565 tmp
=$TMPDIR/cs$$
-$RANDOM
14566 (umask 077 && mkdir
$tmp)
14569 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14570 { (exit 1); exit 1; }
14575 cat >>$CONFIG_STATUS <<_ACEOF
14578 # CONFIG_FILES section.
14581 # No need to generate the scripts if there are no CONFIG_FILES.
14582 # This happens for instance when ./config.status config.h
14583 if test -n "\$CONFIG_FILES"; then
14584 # Protect against being on the right side of a sed subst in config.status.
14585 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14586 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14587 s,@SHELL@,$SHELL,;t t
14588 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14589 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14590 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14591 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14592 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14593 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14594 s,@exec_prefix@,$exec_prefix,;t t
14595 s,@prefix@,$prefix,;t t
14596 s,@program_transform_name@,$program_transform_name,;t t
14597 s,@bindir@,$bindir,;t t
14598 s,@sbindir@,$sbindir,;t t
14599 s,@libexecdir@,$libexecdir,;t t
14600 s,@datadir@,$datadir,;t t
14601 s,@sysconfdir@,$sysconfdir,;t t
14602 s,@sharedstatedir@,$sharedstatedir,;t t
14603 s,@localstatedir@,$localstatedir,;t t
14604 s,@libdir@,$libdir,;t t
14605 s,@includedir@,$includedir,;t t
14606 s,@oldincludedir@,$oldincludedir,;t t
14607 s,@infodir@,$infodir,;t t
14608 s,@mandir@,$mandir,;t t
14609 s,@build_alias@,$build_alias,;t t
14610 s,@host_alias@,$host_alias,;t t
14611 s,@target_alias@,$target_alias,;t t
14612 s,@DEFS@,$DEFS,;t t
14613 s,@ECHO_C@,$ECHO_C,;t t
14614 s,@ECHO_N@,$ECHO_N,;t t
14615 s,@ECHO_T@,$ECHO_T,;t t
14616 s,@LIBS@,$LIBS,;t t
14617 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14618 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14619 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14620 s,@PACKAGE@,$PACKAGE,;t t
14621 s,@VERSION@,$VERSION,;t t
14622 s,@ACLOCAL@,$ACLOCAL,;t t
14623 s,@AUTOCONF@,$AUTOCONF,;t t
14624 s,@AUTOMAKE@,$AUTOMAKE,;t t
14625 s,@AUTOHEADER@,$AUTOHEADER,;t t
14626 s,@MAKEINFO@,$MAKEINFO,;t t
14627 s,@AMTAR@,$AMTAR,;t t
14628 s,@install_sh@,$install_sh,;t t
14629 s,@STRIP@,$STRIP,;t t
14630 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14631 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14633 s,@SET_MAKE@,$SET_MAKE,;t t
14635 s,@CFLAGS@,$CFLAGS,;t t
14636 s,@LDFLAGS@,$LDFLAGS,;t t
14637 s,@CPPFLAGS@,$CPPFLAGS,;t t
14638 s,@ac_ct_CC@,$ac_ct_CC,;t t
14639 s,@EXEEXT@,$EXEEXT,;t t
14640 s,@OBJEXT@,$OBJEXT,;t t
14641 s,@DEPDIR@,$DEPDIR,;t t
14642 s,@am__include@,$am__include,;t t
14643 s,@am__quote@,$am__quote,;t t
14644 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14645 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14646 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14647 s,@CCDEPMODE@,$CCDEPMODE,;t t
14649 s,@HELP2MAN@,$HELP2MAN,;t t
14650 s,@RANLIB@,$RANLIB,;t t
14651 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14652 s,@PR_PROGRAM@,$PR_PROGRAM,;t t
14653 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14654 s,@MSGFMT@,$MSGFMT,;t t
14655 s,@GMSGFMT@,$GMSGFMT,;t t
14656 s,@XGETTEXT@,$XGETTEXT,;t t
14657 s,@MSGMERGE@,$MSGMERGE,;t t
14658 s,@build@,$build,;t t
14659 s,@build_cpu@,$build_cpu,;t t
14660 s,@build_vendor@,$build_vendor,;t t
14661 s,@build_os@,$build_os,;t t
14662 s,@host@,$host,;t t
14663 s,@host_cpu@,$host_cpu,;t t
14664 s,@host_vendor@,$host_vendor,;t t
14665 s,@host_os@,$host_os,;t t
14666 s,@USE_NLS@,$USE_NLS,;t t
14667 s,@LIBICONV@,$LIBICONV,;t t
14668 s,@LTLIBICONV@,$LTLIBICONV,;t t
14669 s,@INTLLIBS@,$INTLLIBS,;t t
14670 s,@LIBINTL@,$LIBINTL,;t t
14671 s,@LTLIBINTL@,$LTLIBINTL,;t t
14672 s,@POSUB@,$POSUB,;t t
14673 s,@LIBOBJS@,$LIBOBJS,;t t
14674 s,@ALLOCA@,$ALLOCA,;t t
14676 s,@ANSI2KNR@,$ANSI2KNR,;t t
14677 s,@LIB_CLOCK_GETTIME@,$LIB_CLOCK_GETTIME,;t t
14682 cat >>$CONFIG_STATUS <<\_ACEOF
14683 # Split the substitutions into bite-sized pieces for seds with
14684 # small command number limits, like on Digital OSF/1 and HP-UX.
14685 ac_max_sed_lines
=48
14686 ac_sed_frag
=1 # Number of current file.
14687 ac_beg
=1 # First line for current file.
14688 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14691 while $ac_more_lines; do
14692 if test $ac_beg -gt 1; then
14693 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14695 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14697 if test ! -s $tmp/subs.frag
; then
14698 ac_more_lines
=false
14700 # The purpose of the label and of the branching condition is to
14701 # speed up the sed processing (if there are no `@' at all, there
14702 # is no need to browse any of the substitutions).
14703 # These are the two extra sed commands mentioned above.
14705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14706 if test -z "$ac_sed_cmds"; then
14707 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14709 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14711 ac_sed_frag
=`expr $ac_sed_frag + 1`
14713 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14716 if test -z "$ac_sed_cmds"; then
14719 fi # test -n "$CONFIG_FILES"
14722 cat >>$CONFIG_STATUS <<\_ACEOF
14723 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14724 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14726 - |
*:- |
*:-:* ) # input from stdin
14728 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14729 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14730 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14731 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14732 * ) ac_file_in
=$ac_file.
in ;;
14735 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14736 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14737 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14738 X"$ac_file" : 'X\(//\)[^/]' \| \
14739 X"$ac_file" : 'X\(//\)$' \| \
14740 X"$ac_file" : 'X\(/\)' \| \
14741 . : '\(.\)' 2>/dev/null ||
14743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14744 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14745 /^X\(\/\/\)$/{ s//\1/; q; }
14746 /^X\(\/\).*/{ s//\1/; q; }
14748 { if $as_mkdir_p; then
14753 while test ! -d "$as_dir"; do
14754 as_dirs
="$as_dir $as_dirs"
14755 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14757 X"$as_dir" : 'X\(//\)[^/]' \| \
14758 X"$as_dir" : 'X\(//\)$' \| \
14759 X"$as_dir" : 'X\(/\)' \| \
14760 . : '\(.\)' 2>/dev/null ||
14762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14764 /^X\(\/\/\)$/{ s//\1/; q; }
14765 /^X\(\/\).*/{ s//\1/; q; }
14768 test ! -n "$as_dirs" || mkdir
$as_dirs
14769 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14770 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14771 { (exit 1); exit 1; }; }; }
14775 if test "$ac_dir" != .
; then
14776 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14777 # A "../" for each directory in $ac_dir_suffix.
14778 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14780 ac_dir_suffix
= ac_top_builddir
=
14784 .
) # No --srcdir option. We are building in place.
14786 if test -z "$ac_top_builddir"; then
14789 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14791 [\\/]* | ?
:[\\/]* ) # Absolute path.
14792 ac_srcdir
=$srcdir$ac_dir_suffix;
14793 ac_top_srcdir
=$srcdir ;;
14794 *) # Relative path.
14795 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14796 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14798 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14800 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
14801 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
14802 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14803 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14807 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14808 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14811 if test x
"$ac_file" != x-
; then
14812 { echo "$as_me:$LINENO: creating $ac_file" >&5
14813 echo "$as_me: creating $ac_file" >&6;}
14816 # Let's still pretend it is `configure' which instantiates (i.e., don't
14817 # use $as_me), people would be surprised to read:
14818 # /* config.h. Generated by config.status. */
14819 if test x
"$ac_file" = x-
; then
14822 configure_input
="$ac_file. "
14824 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14825 sed 's,.*/,,'` by configure."
14827 # First look for the input files in the build tree, otherwise in the
14829 ac_file_inputs
=`IFS=:
14830 for f in $ac_file_in; do
14832 -) echo $tmp/stdin ;;
14834 # Absolute (can't be DOS-style, as IFS=:)
14835 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14836 echo "$as_me: error: cannot find input file: $f" >&2;}
14837 { (exit 1); exit 1; }; }
14840 if test -f "$f"; then
14843 elif test -f "$srcdir/$f"; then
14848 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14849 echo "$as_me: error: cannot find input file: $f" >&2;}
14850 { (exit 1); exit 1; }; }
14853 done` ||
{ (exit 1); exit 1; }
14855 cat >>$CONFIG_STATUS <<_ACEOF
14859 cat >>$CONFIG_STATUS <<\_ACEOF
14861 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14862 s
,@configure_input@
,$configure_input,;t t
14863 s
,@srcdir@
,$ac_srcdir,;t t
14864 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14865 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14866 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14867 s
,@builddir@
,$ac_builddir,;t t
14868 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14869 s
,@top_builddir@
,$ac_top_builddir,;t t
14870 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14871 s
,@INSTALL@
,$ac_INSTALL,;t t
14872 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14874 if test x"$ac_file" != x-; then
14875 mv $tmp/out $ac_file
14883 cat >>$CONFIG_STATUS <<\_ACEOF
14886 # CONFIG_HEADER section.
14889 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14890 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14892 # ac_d sets the value in "#define NAME VALUE" lines.
14893 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14894 ac_dB
='[ ].*$,\1#\2'
14897 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14898 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14899 ac_uB
='$,\1#\2define\3'
14903 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14904 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14906 - |
*:- |
*:-:* ) # input from stdin
14908 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14909 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14910 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14911 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14912 * ) ac_file_in
=$ac_file.
in ;;
14915 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14916 echo "$as_me: creating $ac_file" >&6;}
14918 # First look for the input files in the build tree, otherwise in the
14920 ac_file_inputs
=`IFS=:
14921 for f in $ac_file_in; do
14923 -) echo $tmp/stdin ;;
14925 # Absolute (can't be DOS-style, as IFS=:)
14926 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14927 echo "$as_me: error: cannot find input file: $f" >&2;}
14928 { (exit 1); exit 1; }; }
14931 if test -f "$f"; then
14934 elif test -f "$srcdir/$f"; then
14939 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14940 echo "$as_me: error: cannot find input file: $f" >&2;}
14941 { (exit 1); exit 1; }; }
14944 done` ||
{ (exit 1); exit 1; }
14945 # Remove the trailing spaces.
14946 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14950 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14951 # `conftest.undefs', that substitutes the proper values into
14952 # config.h.in to produce config.h. The first handles `#define'
14953 # templates, and the second `#undef' templates.
14954 # And first: Protect against being on the right side of a sed subst in
14955 # config.status. Protect against being in an unquoted here document
14956 # in config.status.
14957 rm -f conftest.defines conftest.undefs
14958 # Using a here document instead of a string reduces the quoting nightmare.
14959 # Putting comments in sed scripts is not portable.
14961 # `end' is used to avoid that the second main sed command (meant for
14962 # 0-ary CPP macros) applies to n-ary macro definitions.
14963 # See the Autoconf documentation for `clear'.
14964 cat >confdef2sed.
sed <<\_ACEOF
14969 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14971 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14974 # If some macros were called several times there might be several times
14975 # the same #defines, which is useless. Nevertheless, we may not want to
14976 # sort them, since we want the *last* AC-DEFINE to be honored.
14977 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14978 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14979 rm -f confdef2sed.sed
14981 # This sed command replaces #undef with comments. This is necessary, for
14982 # example, in the case of _POSIX_SOURCE, which is predefined and required
14983 # on some systems where configure will not decide to define it.
14984 cat >>conftest.undefs <<\_ACEOF
14985 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14988 # Break up conftest.defines because some shells have a limit on the size
14989 # of here documents, and old seds have small limits too (100 cmds).
14990 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14991 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14992 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14993 echo ' :' >>$CONFIG_STATUS
14994 rm -f conftest.tail
14995 while grep . conftest.defines >/dev/null
14997 # Write a limited-size here document to $tmp/defines.sed.
14998 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14999 # Speed up: don't consider the non `#define' lines.
15000 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15001 # Work around the forget-to-reset-the-flag bug.
15002 echo 't clr' >>$CONFIG_STATUS
15003 echo ': clr' >>$CONFIG_STATUS
15004 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15006 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15008 mv $tmp/out $tmp/in
15010 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15011 rm -f conftest.defines
15012 mv conftest.
tail conftest.defines
15014 rm -f conftest.defines
15015 echo ' fi # egrep' >>$CONFIG_STATUS
15016 echo >>$CONFIG_STATUS
15018 # Break up conftest.undefs because some shells have a limit on the size
15019 # of here documents, and old seds have small limits too (100 cmds).
15020 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15021 rm -f conftest.
tail
15022 while grep . conftest.undefs
>/dev
/null
15024 # Write a limited-size here document to $tmp/undefs.sed.
15025 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15026 # Speed up: don't consider the non
`#undef'
15027 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15028 # Work around the forget-to-reset-the-flag bug.
15029 echo 't clr' >>$CONFIG_STATUS
15030 echo ': clr' >>$CONFIG_STATUS
15031 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15033 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15035 mv $tmp/out $tmp/in
15037 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15038 rm -f conftest.undefs
15039 mv conftest.tail conftest.undefs
15041 rm -f conftest.undefs
15043 cat >>$CONFIG_STATUS <<\_ACEOF
15044 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15045 # use $as_me), people would be surprised to read:
15046 # /* config.h. Generated by config.status. */
15047 if test x
"$ac_file" = x-
; then
15048 echo "/* Generated by configure. */" >$tmp/config.h
15050 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15052 cat $tmp/in >>$tmp/config.h
15054 if test x
"$ac_file" != x-
; then
15055 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
15056 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15057 echo "$as_me: $ac_file is unchanged" >&6;}
15059 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15061 X"$ac_file" : 'X\(//\)[^/]' \| \
15062 X"$ac_file" : 'X\(//\)$' \| \
15063 X"$ac_file" : 'X\(/\)' \| \
15064 . : '\(.\)' 2>/dev/null ||
15066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15068 /^X\(\/\/\)$/{ s//\1/; q; }
15069 /^X\(\/\).*/{ s//\1/; q; }
15071 { if $as_mkdir_p; then
15076 while test ! -d "$as_dir"; do
15077 as_dirs
="$as_dir $as_dirs"
15078 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15080 X"$as_dir" : 'X\(//\)[^/]' \| \
15081 X"$as_dir" : 'X\(//\)$' \| \
15082 X"$as_dir" : 'X\(/\)' \| \
15083 . : '\(.\)' 2>/dev/null ||
15085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15087 /^X\(\/\/\)$/{ s//\1/; q; }
15088 /^X\(\/\).*/{ s//\1/; q; }
15091 test ! -n "$as_dirs" || mkdir
$as_dirs
15092 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15093 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15094 { (exit 1); exit 1; }; }; }
15097 mv $tmp/config.h
$ac_file
15101 rm -f $tmp/config.h
15103 # Run the commands associated with the file.
15105 config.h
) # update the timestamp
15106 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
15111 cat >>$CONFIG_STATUS <<\_ACEOF
15114 # CONFIG_LINKS section.
15117 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
15118 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15119 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15121 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
15122 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
15124 if test ! -r $srcdir/$ac_source; then
15125 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
15126 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
15127 { (exit 1); exit 1; }; }
15131 # Make relative symlinks.
15132 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15133 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15134 X"$ac_dest" : 'X\(//\)[^/]' \| \
15135 X"$ac_dest" : 'X\(//\)$' \| \
15136 X"$ac_dest" : 'X\(/\)' \| \
15137 . : '\(.\)' 2>/dev/null ||
15139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15141 /^X\(\/\/\)$/{ s//\1/; q; }
15142 /^X\(\/\).*/{ s//\1/; q; }
15144 { if $as_mkdir_p; then
15145 mkdir
-p "$ac_dest_dir"
15147 as_dir
="$ac_dest_dir"
15149 while test ! -d "$as_dir"; do
15150 as_dirs
="$as_dir $as_dirs"
15151 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15153 X"$as_dir" : 'X\(//\)[^/]' \| \
15154 X"$as_dir" : 'X\(//\)$' \| \
15155 X"$as_dir" : 'X\(/\)' \| \
15156 . : '\(.\)' 2>/dev/null ||
15158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15160 /^X\(\/\/\)$/{ s//\1/; q; }
15161 /^X\(\/\).*/{ s//\1/; q; }
15164 test ! -n "$as_dirs" || mkdir
$as_dirs
15165 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
15166 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
15167 { (exit 1); exit 1; }; }; }
15171 if test "$ac_dest_dir" != .
; then
15172 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
15173 # A "../" for each directory in $ac_dir_suffix.
15174 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15176 ac_dir_suffix
= ac_top_builddir
=
15180 .
) # No --srcdir option. We are building in place.
15182 if test -z "$ac_top_builddir"; then
15185 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15187 [\\/]* | ?
:[\\/]* ) # Absolute path.
15188 ac_srcdir
=$srcdir$ac_dir_suffix;
15189 ac_top_srcdir
=$srcdir ;;
15190 *) # Relative path.
15191 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15192 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15194 # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
15196 ac_abs_builddir
=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
15197 ac_abs_top_builddir
=`cd "$ac_dest_dir" && cd $ac_top_builddir && pwd`
15198 ac_abs_srcdir
=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
15199 ac_abs_top_srcdir
=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
15203 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
15204 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
15207 # Make a symlink if possible; otherwise try a hard link.
15208 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
15209 ln $srcdir/$ac_source $ac_dest ||
15210 { { echo "$as_me:$LINENO: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
15211 echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
15212 { (exit 1); exit 1; }; }
15215 cat >>$CONFIG_STATUS <<\_ACEOF
15218 # CONFIG_COMMANDS section.
15220 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15221 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15222 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15223 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15224 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15225 X"$ac_dest" : 'X\(//\)[^/]' \| \
15226 X"$ac_dest" : 'X\(//\)$' \| \
15227 X"$ac_dest" : 'X\(/\)' \| \
15228 . : '\(.\)' 2>/dev/null ||
15230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15232 /^X\(\/\/\)$/{ s//\1/; q; }
15233 /^X\(\/\).*/{ s//\1/; q; }
15237 if test "$ac_dir" != .
; then
15238 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15239 # A "../" for each directory in $ac_dir_suffix.
15240 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15242 ac_dir_suffix
= ac_top_builddir
=
15246 .
) # No --srcdir option. We are building in place.
15248 if test -z "$ac_top_builddir"; then
15251 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15253 [\\/]* | ?
:[\\/]* ) # Absolute path.
15254 ac_srcdir
=$srcdir$ac_dir_suffix;
15255 ac_top_srcdir
=$srcdir ;;
15256 *) # Relative path.
15257 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15258 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15260 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15262 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
15263 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15264 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15265 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15268 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15269 echo "$as_me: executing $ac_dest commands" >&6;}
15271 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15272 # Strip MF so we end up with the name of the file.
15273 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15274 if (sed 1q
$mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
15275 dirpart
=`(dirname "$mf") 2>/dev/null ||
15276 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15277 X"$mf" : 'X\(//\)[^/]' \| \
15278 X"$mf" : 'X\(//\)$' \| \
15279 X"$mf" : 'X\(/\)' \| \
15280 . : '\(.\)' 2>/dev/null ||
15282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15284 /^X\(\/\/\)$/{ s//\1/; q; }
15285 /^X\(\/\).*/{ s//\1/; q; }
15290 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
15291 # Extract the definition of DEP_FILES from the Makefile without
15293 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
15294 test -z "$DEPDIR" && continue
15295 # When using ansi2knr, U may be empty or an underscore; expand it
15296 U
=`sed -n -e '/^U = / s///p' < "$mf"`
15297 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
15298 # We invoke sed twice because it is the simplest approach to
15299 # changing $(DEPDIR) to its actual value in the expansion.
15300 for file in `sed -n -e '
15301 /^DEP_FILES = .*\\\\$/ {
15310 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
15311 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15312 # Make sure the directory exists.
15313 test -f "$dirpart/$file" && continue
15314 fdir
=`(dirname "$file") 2>/dev/null ||
15315 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15316 X"$file" : 'X\(//\)[^/]' \| \
15317 X"$file" : 'X\(//\)$' \| \
15318 X"$file" : 'X\(/\)' \| \
15319 . : '\(.\)' 2>/dev/null ||
15321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15323 /^X\(\/\/\)$/{ s//\1/; q; }
15324 /^X\(\/\).*/{ s//\1/; q; }
15326 { if $as_mkdir_p; then
15327 mkdir
-p $dirpart/$fdir
15329 as_dir
=$dirpart/$fdir
15331 while test ! -d "$as_dir"; do
15332 as_dirs
="$as_dir $as_dirs"
15333 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15335 X"$as_dir" : 'X\(//\)[^/]' \| \
15336 X"$as_dir" : 'X\(//\)$' \| \
15337 X"$as_dir" : 'X\(/\)' \| \
15338 . : '\(.\)' 2>/dev/null ||
15340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15342 /^X\(\/\/\)$/{ s//\1/; q; }
15343 /^X\(\/\).*/{ s//\1/; q; }
15346 test ! -n "$as_dirs" || mkdir
$as_dirs
15347 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15348 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15349 { (exit 1); exit 1; }; }; }
15351 # echo "creating $dirpart/$file"
15352 echo '# dummy' > "$dirpart/$file"
15357 for ac_file
in $CONFIG_FILES; do
15358 # Support "outfile[:infile[:infile...]]"
15360 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15362 # PO directories have a Makefile.in generated from Makefile.in.in.
15363 case "$ac_file" in */Makefile.
in)
15364 # Adjust a relative srcdir.
15365 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15366 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15367 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15368 # In autoconf-2.13 it is called $ac_given_srcdir.
15369 # In autoconf-2.50 it is called $srcdir.
15370 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15371 case "$ac_given_srcdir" in
15372 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15373 /*) top_srcdir
="$ac_given_srcdir" ;;
15374 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15376 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15377 rm -f "$ac_dir/POTFILES"
15378 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15379 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15380 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15381 # on $ac_dir but don't depend on user-specified configuration
15383 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15384 # The LINGUAS file contains the set of available languages.
15385 if test -n "$ALL_LINGUAS"; then
15386 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15388 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15389 # Hide the ALL_LINGUAS assigment from automake.
15390 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15392 case "$ac_given_srcdir" in
15394 *) srcdirpre
='$(srcdir)/' ;;
15400 for lang
in $ALL_LINGUAS; do
15401 POFILES
="$POFILES $srcdirpre$lang.po"
15402 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15403 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15404 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15406 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15407 # environment variable.
15409 if test -n "$ALL_LINGUAS"; then
15410 for presentlang
in $ALL_LINGUAS; do
15412 if test "%UNSET%" != "$LINGUAS"; then
15413 desiredlanguages
="$LINGUAS"
15415 desiredlanguages
="$ALL_LINGUAS"
15417 for desiredlang
in $desiredlanguages; do
15418 # Use the presentlang catalog if desiredlang is
15419 # a. equal to presentlang, or
15420 # b. a variant of presentlang (because in this case,
15421 # presentlang can be used as a fallback for messages
15422 # which are not translated in the desiredlang catalog).
15423 case "$desiredlang" in
15424 "$presentlang"*) useit
=yes;;
15427 if test $useit = yes; then
15428 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15433 if test -n "$INST_LINGUAS"; then
15434 for lang
in $INST_LINGUAS; do
15435 CATALOGS
="$CATALOGS $lang.gmo"
15438 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15439 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
15440 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15441 if test -f "$f"; then
15443 *.orig |
*.bak |
*~
) ;;
15444 *) cat "$f" >> "$ac_dir/Makefile" ;;
15452 default
) date > stamp-h
;;
15457 cat >>$CONFIG_STATUS <<\_ACEOF
15459 { (exit 0); exit 0; }
15461 chmod +x
$CONFIG_STATUS
15462 ac_clean_files
=$ac_clean_files_save
15465 # configure is writing to config.log, and then calls config.status.
15466 # config.status does its own redirection, appending to config.log.
15467 # Unfortunately, on DOS this fails, as config.log is still kept open
15468 # by configure, so config.status won't be able to write to it; its
15469 # output is simply discarded. So we exec the FD to /dev/null,
15470 # effectively closing config.log, so it can be properly (re)opened and
15471 # appended to by config.status. When coming back to configure, we
15472 # need to make the FD available again.
15473 if test "$no_create" != yes; then
15476 $SHELL $CONFIG_STATUS || ac_cs_success
=false
15478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15479 # would make configure fail if this is the last instruction.
15480 $ac_cs_success ||
{ (exit 1); exit 1; }