2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file
="src/grep.c"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
356 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
359 -build |
--build |
--buil |
--bui |
--bu)
360 ac_prev
=build_alias
;;
361 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
365 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
366 ac_prev
=cache_file
;;
367 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
368 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
376 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* |
--disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* |
--enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
403 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
404 |
--exec |
--exe |
--ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
407 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
408 |
--exec=* |
--exe=* |
--ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas |
--gas |
--ga |
--g)
412 # Obsolete; use --with-gas.
415 -help |
--help |
--hel |
--he |
-h)
417 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
420 ac_init_help
=short
;;
422 -host |
--host |
--hos |
--ho)
423 ac_prev
=host_alias
;;
424 -host=* |
--host=* |
--hos=* |
--ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir |
--includedir |
--includedi |
--included |
--include \
428 |
--includ |
--inclu |
--incl |
--inc)
429 ac_prev
=includedir
;;
430 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
431 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
436 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir |
--libdir |
--libdi |
--libd)
441 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
444 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
445 |
--libexe |
--libex |
--libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
448 |
--libexe=* |
--libex=* |
--libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
452 |
--localstate |
--localstat |
--localsta |
--localst \
453 |
--locals |
--local |
--loca |
--loc |
--lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
456 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
457 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
462 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
466 # Obsolete; use --without-fp.
469 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
470 |
--no-cr |
--no-c |
-n)
473 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
474 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
477 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
478 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
479 |
--oldin |
--oldi |
--old |
--ol |
--o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
482 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
483 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
488 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
491 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
492 |
--program-pre |
--program-pr |
--program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
495 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
499 |
--program-suf |
--program-su |
--program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
502 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name |
--program-transform-name \
506 |
--program-transform-nam |
--program-transform-na \
507 |
--program-transform-n |
--program-transform- \
508 |
--program-transform |
--program-transfor \
509 |
--program-transfo |
--program-transf \
510 |
--program-trans |
--program-tran \
511 |
--progr-tra |
--program-tr |
--program-t)
512 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
522 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
523 |
-silent |
--silent |
--silen |
--sile |
--sil)
526 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
528 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
533 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
534 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
538 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
539 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site |
--site |
--sit)
545 -site=* |
--site=* |
--sit=*)
548 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
550 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
553 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
554 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
557 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
561 ac_prev
=target_alias
;;
562 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
563 target_alias
=$ac_optarg ;;
565 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
568 -version |
--version |
--versio |
--versi |
--vers |
-V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* |
--without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
598 |
--x-incl |
--x-inc |
--x-in |
--x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
601 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
605 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
608 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
822 --build=BUILD configure
for building on BUILD
[guessed
]
823 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
827 if test -n "$ac_init_help"; then
832 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
833 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
834 --disable-dependency-tracking Speeds up one-time builds
835 --enable-dependency-tracking Do not reject slow dependency extractors
836 --disable-perl-regexp disable perl-regexp
837 --disable-largefile omit support
for large files
838 --disable-nls do not use Native Language Support
841 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
842 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
843 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
844 --with-included-gettext use the GNU
gettext library included here
845 --without-included-regex don
't compile regex; this is the default on
846 systems with version 2 of the GNU C library
847 (use with caution on other system)
848 --with-included-getopt Use the included getopt rather than glibc's
850 Some influential environment variables
:
851 CC C compiler
command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
854 nonstandard directory
<lib dir
>
855 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
856 headers
in a nonstandard directory
<include dir
>
859 Use these variables to override the choices made by
`configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
877 ac_dir_suffix= ac_top_builddir=
881 .) # No --srcdir option. We are building in place.
883 if test -z "$ac_top_builddir"; then
886 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
897 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
899 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
903 # Check for guested configure; otherwise get Cygnus style configure.
904 if test -f $ac_srcdir/configure.gnu; then
906 $SHELL $ac_srcdir/configure.gnu --help=recursive
907 elif test -f $ac_srcdir/configure; then
909 $SHELL $ac_srcdir/configure --help=recursive
910 elif test -f $ac_srcdir/configure.ac ||
911 test -f $ac_srcdir/configure.in; then
915 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921 test -n "$ac_init_help" && exit 0
922 if $ac_init_version; then
925 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926 Free Software Foundation, Inc.
927 This configure script is free software; the Free Software Foundation
928 gives unlimited permission to copy, distribute and modify it.
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
937 It was created by $as_me, which was
938 generated by GNU Autoconf 2.53. Invocation command line was
949 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
950 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
951 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
952 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
953 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
955 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
956 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
958 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
959 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
960 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
961 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
962 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
963 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
964 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 test -z "$as_dir" && as_dir=.
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Also quote any args containing shell meta-characters.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n ) continue ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1004 case " $ac_configure_args " in
1005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1006 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1009 # Get rid of the leading space.
1012 # When interrupted or exit'd, cleanup temporary files, and complete
1013 # config.log. We remove comments because anyway the quotes in there
1014 # would cause problems or look ugly.
1015 # WARNING: Be sure not to use single quotes in there, as some shells,
1016 # such as our DU 5.0 friend, will then `close
' the trap.
1017 trap 'exit_status
=$?
1018 # Save into config.log some information that might help in debugging.
1022 ## ---------------- ##
1023 ## Cache variables. ##
1024 ## ---------------- ##
1027 # The following way of writing the cache mishandles newlines in values,
1030 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1033 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1038 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1043 if test -s confdefs.h
; then
1050 sed "/^$/d" confdefs.h
1053 test "$ac_signal" != 0 &&
1054 echo "$as_me: caught signal $ac_signal"
1055 echo "$as_me: exit $exit_status"
1057 rm -f core core.
* *.core
&&
1058 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1061 for ac_signal in 1 2 13 15; do
1062 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1067 rm -rf conftest* confdefs.h
1068 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1071 # Predefined preprocessor variables.
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_NAME "$PACKAGE_NAME"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_STRING "$PACKAGE_STRING"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1098 # Let the site file select an alternate cache file if it wants to.
1099 # Prefer explicitly selected file to automatically selected ones.
1100 if test -z "$CONFIG_SITE"; then
1101 if test "x$prefix" != xNONE; then
1102 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1104 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1107 for ac_site_file in $CONFIG_SITE; do
1108 if test -r "$ac_site_file"; then
1109 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1110 echo "$as_me: loading site script $ac_site_file" >&6;}
1111 sed 's
/^
/|
/' "$ac_site_file" >&5
1116 if test -r "$cache_file"; then
1117 # Some versions of bash will fail to source /dev/null (special
1118 # files actually), so we avoid doing that.
1119 if test -f "$cache_file"; then
1120 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1121 echo "$as_me: loading cache $cache_file" >&6;}
1123 [\\/]* | ?:[\\/]* ) . $cache_file;;
1124 *) . ./$cache_file;;
1128 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1129 echo "$as_me: creating cache $cache_file" >&6;}
1133 # Check that the precious variables saved in the cache have kept the same
1135 ac_cache_corrupted=false
1136 for ac_var in `(set) 2>&1 |
1137 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1139 eval ac_new_set=\$ac_env_${ac_var}_set
1140 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1141 eval ac_new_val="\$ac_env_${ac_var}_value"
1142 case $ac_old_set,$ac_new_set in
1144 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1145 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1146 ac_cache_corrupted=: ;;
1148 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1149 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1150 ac_cache_corrupted=: ;;
1153 if test "x$ac_old_val" != "x$ac_new_val"; then
1154 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1155 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1156 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1157 echo "$as_me: former value: $ac_old_val" >&2;}
1158 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1159 echo "$as_me: current value: $ac_new_val" >&2;}
1160 ac_cache_corrupted=:
1163 # Pass precious variables to config.status.
1164 if test "$ac_new_set" = set; then
1166 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1167 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1168 *) ac_arg=$ac_var=$ac_new_val ;;
1170 case " $ac_configure_args " in
1171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1172 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1176 if $ac_cache_corrupted; then
1177 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1178 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1179 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1180 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1181 { (exit 1); exit 1; }; }
1185 ac_cpp='$CPP $CPPFLAGS'
1186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1187 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1208 cat >>confdefs.h <<\_ACEOF
1215 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1216 if test -f $ac_dir/install-sh; then
1218 ac_install_sh="$ac_aux_dir/install-sh -c"
1220 elif test -f $ac_dir/install.sh; then
1222 ac_install_sh="$ac_aux_dir/install.sh -c"
1224 elif test -f $ac_dir/shtool; then
1226 ac_install_sh="$ac_aux_dir/shtool install -c"
1230 if test -z "$ac_aux_dir"; then
1231 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1232 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1233 { (exit 1); exit 1; }; }
1235 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1236 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1237 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1239 # Find a good install program. We prefer a C program (faster),
1240 # so one script is as good as another. But avoid the broken or
1241 # incompatible versions:
1242 # SysV /etc/install, /usr/sbin/install
1243 # SunOS /usr/etc/install
1244 # IRIX /sbin/install
1246 # AmigaOS /C/install, which installs bootblocks on floppy discs
1247 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1250 # ./install, which can be erroneously created by make from ./install.sh.
1251 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1252 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1253 if test -z "$INSTALL"; then
1254 if test "${ac_cv_path_install+set}" = set; then
1255 echo $ECHO_N "(cached) $ECHO_C" >&6
1257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1261 test -z "$as_dir" && as_dir
=.
1262 # Account for people who put trailing slashes in PATH elements.
1264 .
/ | .
// |
/cC
/* | \
1265 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1268 # OSF1 and SCO ODT 3.0 have their own names for install.
1269 # Don't use installbsd from OSF since it installs stuff as root
1271 for ac_prog
in ginstall scoinst
install; do
1272 for ac_exec_ext
in '' $ac_executable_extensions; do
1273 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1274 if test $ac_prog = install &&
1275 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1276 # AIX install. It has an incompatible calling convention.
1278 elif test $ac_prog = install &&
1279 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1280 # program-specific install script used by HP pwplus--don't use.
1283 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1295 if test "${ac_cv_path_install+set}" = set; then
1296 INSTALL
=$ac_cv_path_install
1298 # As a last resort, use the slow shell script. We don't cache a
1299 # path for INSTALL within a source directory, because that will
1300 # break other packages using the cache if that directory is
1301 # removed, or if the path is relative.
1302 INSTALL
=$ac_install_sh
1305 echo "$as_me:$LINENO: result: $INSTALL" >&5
1306 echo "${ECHO_T}$INSTALL" >&6
1308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1309 # It thinks the first close brace ends the variable substitution.
1310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1314 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1316 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1317 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1320 echo timestamp
> conftest.
file
1321 # Do `set' in a subshell so we don't clobber the current shell's
1322 # arguments. Must try -L first in case configure is actually a
1323 # symlink; some systems play weird games with the mod time of symlinks
1324 # (eg FreeBSD returns the mod time of the symlink's containing
1327 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1328 if test "$*" = "X"; then
1330 set X
`ls -t $srcdir/configure conftest.file`
1333 if test "$*" != "X $srcdir/configure conftest.file" \
1334 && test "$*" != "X conftest.file $srcdir/configure"; then
1336 # If neither matched, then we have a broken ls. This can happen
1337 # if, for instance, CONFIG_SHELL is bash and it inherits a
1338 # broken ls alias from the environment. This has actually
1339 # happened. Such a system could not be considered "sane".
1340 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1341 alias in your environment" >&5
1342 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1343 alias in your environment" >&2;}
1344 { (exit 1); exit 1; }; }
1347 test "$2" = conftest.
file
1353 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1354 Check your system clock" >&5
1355 echo "$as_me: error: newly created file is older than distributed files!
1356 Check your system clock" >&2;}
1357 { (exit 1); exit 1; }; }
1359 echo "$as_me:$LINENO: result: yes" >&5
1360 echo "${ECHO_T}yes" >&6
1361 test "$program_prefix" != NONE
&&
1362 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1363 # Use a double $ so make ignores it.
1364 test "$program_suffix" != NONE
&&
1365 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1366 # Double any \ or $. echo might interpret backslashes.
1367 # By default was `s,x,x', remove it if useless.
1368 cat <<\_ACEOF
>conftest.
sed
1369 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1371 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1375 # expand $ac_aux_dir to an absolute path
1376 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
1378 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1379 # Use eval to expand $SHELL
1380 if eval "$MISSING --run true"; then
1381 am_missing_run
="$MISSING --run "
1385 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1386 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1389 for ac_prog
in gawk mawk nawk
awk
1391 # Extract the first word of "$ac_prog", so it can be a program name with args.
1392 set dummy
$ac_prog; ac_word
=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_AWK+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 if test -n "$AWK"; then
1399 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1405 test -z "$as_dir" && as_dir
=.
1406 for ac_exec_ext
in '' $ac_executable_extensions; do
1407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408 ac_cv_prog_AWK
="$ac_prog"
1409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 if test -n "$AWK"; then
1419 echo "$as_me:$LINENO: result: $AWK" >&5
1420 echo "${ECHO_T}$AWK" >&6
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1426 test -n "$AWK" && break
1429 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1430 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1431 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1432 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 cat >conftest.
make <<\_ACEOF
1437 @
echo 'ac_maketemp="${MAKE}"'
1439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1440 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1441 if test -n "$ac_maketemp"; then
1442 eval ac_cv_prog_make_
${ac_make}_set
=yes
1444 eval ac_cv_prog_make_
${ac_make}_set
=no
1448 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1449 echo "$as_me:$LINENO: result: yes" >&5
1450 echo "${ECHO_T}yes" >&6
1453 echo "$as_me:$LINENO: result: no" >&5
1454 echo "${ECHO_T}no" >&6
1455 SET_MAKE
="MAKE=${MAKE-make}"
1458 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1459 if test "${enable_dependency_tracking+set}" = set; then
1460 enableval
="$enable_dependency_tracking"
1463 if test "x$enable_dependency_tracking" != xno
; then
1464 am_depcomp
="$ac_aux_dir/depcomp"
1469 if test "x$enable_dependency_tracking" != xno; then
1480 rm -f .deps
2>/dev
/null
1481 mkdir .deps
2>/dev
/null
1482 if test -d .deps
; then
1485 # MS-DOS does not allow filenames that begin with a dot.
1488 rmdir .deps
2>/dev
/null
1491 # test to see if srcdir already configured
1492 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1493 test -f $srcdir/config.status
; then
1494 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1495 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1496 { (exit 1); exit 1; }; }
1499 # Define the identity of the package.
1503 cat >>confdefs.h
<<_ACEOF
1504 #define PACKAGE "$PACKAGE"
1508 cat >>confdefs.h
<<_ACEOF
1509 #define VERSION "$VERSION"
1513 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1514 # the ones we care about.
1516 # Autoconf 2.50 always computes EXEEXT. However we need to be
1517 # compatible with 2.13, for now. So we always define EXEEXT, but we
1520 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1521 # requests that it be used. This is a bit dumb.
1525 # Some tools Automake needs.
1527 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1530 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1533 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1536 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1539 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1542 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1544 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1546 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1548 # We need awk for the "check" target. The system "awk" is bad on
1554 ac_config_headers
="$ac_config_headers config.h:config.hin"
1557 # Check whether --enable-perl-regexp or --disable-perl-regexp was given.
1558 if test "${enable_perl_regexp+set}" = set; then
1559 enableval
="$enable_perl_regexp"
1560 case "${enableval}" in
1561 yes) testpcre
=yes ;;
1563 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-perl-regexp" >&5
1564 echo "$as_me: error: bad value ${enableval} for --disable-perl-regexp" >&2;}
1565 { (exit 1); exit 1; }; } ;;
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 ac_cv_build_alias
=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias
=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1598 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 ac_cv_host_alias
=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias
=$ac_cv_build_alias
1611 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1620 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 for ac_prog
in gawk mawk nawk
awk
1627 # Extract the first word of "$ac_prog", so it can be a program name with args.
1628 set dummy
$ac_prog; ac_word
=$2
1629 echo "$as_me:$LINENO: checking for $ac_word" >&5
1630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1631 if test "${ac_cv_prog_AWK+set}" = set; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 if test -n "$AWK"; then
1635 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1641 test -z "$as_dir" && as_dir
=.
1642 for ac_exec_ext
in '' $ac_executable_extensions; do
1643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1644 ac_cv_prog_AWK
="$ac_prog"
1645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654 if test -n "$AWK"; then
1655 echo "$as_me:$LINENO: result: $AWK" >&5
1656 echo "${ECHO_T}$AWK" >&6
1658 echo "$as_me:$LINENO: result: no" >&5
1659 echo "${ECHO_T}no" >&6
1662 test -n "$AWK" && break
1666 ac_cpp
='$CPP $CPPFLAGS'
1667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1670 if test -n "$ac_tool_prefix"; then
1671 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1672 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1673 echo "$as_me:$LINENO: checking for $ac_word" >&5
1674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1675 if test "${ac_cv_prog_CC+set}" = set; then
1676 echo $ECHO_N "(cached) $ECHO_C" >&6
1678 if test -n "$CC"; then
1679 ac_cv_prog_CC
="$CC" # Let the user override the test.
1681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir
=.
1686 for ac_exec_ext
in '' $ac_executable_extensions; do
1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1688 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 if test -n "$CC"; then
1699 echo "$as_me:$LINENO: result: $CC" >&5
1700 echo "${ECHO_T}$CC" >&6
1702 echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1707 if test -z "$ac_cv_prog_CC"; then
1709 # Extract the first word of "gcc", so it can be a program name with args.
1710 set dummy gcc
; ac_word
=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$ac_ct_CC"; then
1717 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir
=.
1724 for ac_exec_ext
in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_ac_ct_CC
="gcc"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1736 if test -n "$ac_ct_CC"; then
1737 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1738 echo "${ECHO_T}$ac_ct_CC" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1749 if test -z "$CC"; then
1750 if test -n "$ac_tool_prefix"; then
1751 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1752 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$CC"; then
1759 ac_cv_prog_CC
="$CC" # Let the user override the test.
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 for ac_exec_ext
in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$CC"; then
1779 echo "$as_me:$LINENO: result: $CC" >&5
1780 echo "${ECHO_T}$CC" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1787 if test -z "$ac_cv_prog_CC"; then
1789 # Extract the first word of "cc", so it can be a program name with args.
1790 set dummy cc
; ac_word
=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir
=.
1804 for ac_exec_ext
in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC
="cc"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1830 if test -z "$CC"; then
1831 # Extract the first word of "cc", so it can be a program name with args.
1832 set dummy cc
; ac_word
=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC
="$CC" # Let the user override the test.
1842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir
=.
1847 for ac_exec_ext
in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1850 ac_prog_rejected
=yes
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test $ac_prog_rejected = yes; then
1861 # We found a bogon in the path, so make sure we never use it.
1862 set dummy
$ac_cv_prog_CC
1864 if test $# != 0; then
1865 # We chose a different compiler from the bogus one.
1866 # However, it has the same basename, so the bogon will be chosen
1867 # first if we set CC to just the basename; use the full file name.
1869 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1886 if test -z "$CC"; then
1887 if test -n "$ac_tool_prefix"; then
1890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1891 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_CC+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$CC"; then
1898 ac_cv_prog_CC
="$CC" # Let the user override the test.
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 for ac_exec_ext
in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 if test -n "$CC"; then
1918 echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1925 test -n "$CC" && break
1928 if test -z "$CC"; then
1932 # Extract the first word of "$ac_prog", so it can be a program name with args.
1933 set dummy
$ac_prog; ac_word
=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$ac_ct_CC"; then
1940 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_exec_ext
in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_ac_ct_CC
="$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1959 if test -n "$ac_ct_CC"; then
1960 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1961 echo "${ECHO_T}$ac_ct_CC" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1967 test -n "$ac_ct_CC" && break
1976 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1977 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1978 { (exit 1); exit 1; }; }
1980 # Provide some information about the compiler.
1981 echo "$as_me:$LINENO:" \
1982 "checking for C compiler version" >&5
1983 ac_compiler
=`set X $ac_compile; echo $2`
1984 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1985 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }
1989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1990 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1994 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1995 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }
2000 cat >conftest.
$ac_ext <<_ACEOF
2001 #line $LINENO "configure"
2002 #include "confdefs.h"
2004 #ifdef F77_DUMMY_MAIN
2008 int F77_DUMMY_MAIN() { return 1; }
2018 ac_clean_files_save
=$ac_clean_files
2019 ac_clean_files
="$ac_clean_files a.out a.exe"
2020 # Try to create an executable without -o first, disregard a.out.
2021 # It will help us diagnose broken compilers, and finding out an intuition
2023 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2024 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2025 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2026 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2027 (eval $ac_link_default) 2>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; then
2031 # Find the output, starting from the most likely. This scheme is
2032 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2035 # Be careful to initialize this variable, since it used to be cached.
2036 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2038 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2039 ls a.out conftest 2>/dev/null;
2040 ls a.* conftest.* 2>/dev/null`; do
2042 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
2043 a.out
) # We found the default executable, but exeext='' is most
2046 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2047 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2054 echo "$as_me: failed program was:" >&5
2055 cat conftest.
$ac_ext >&5
2056 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2057 echo "$as_me: error: C compiler cannot create executables" >&2;}
2058 { (exit 77); exit 77; }; }
2061 ac_exeext
=$ac_cv_exeext
2062 echo "$as_me:$LINENO: result: $ac_file" >&5
2063 echo "${ECHO_T}$ac_file" >&6
2065 # Check the compiler produces executables we can run. If not, either
2066 # the compiler is broken, or we cross compile.
2067 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2068 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2069 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2070 # If not cross compiling, check that we can run a simple program.
2071 if test "$cross_compiling" != yes; then
2072 if { ac_try
='./$ac_file'
2073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); }; }; then
2080 if test "$cross_compiling" = maybe
; then
2083 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2084 If you meant to cross compile, use \`--host'." >&5
2085 echo "$as_me: error: cannot run C compiled programs.
2086 If you meant to cross compile, use \`--host'." >&2;}
2087 { (exit 1); exit 1; }; }
2091 echo "$as_me:$LINENO: result: yes" >&5
2092 echo "${ECHO_T}yes" >&6
2094 rm -f a.out a.exe conftest
$ac_cv_exeext
2095 ac_clean_files
=$ac_clean_files_save
2096 # Check the compiler produces executables we can run. If not, either
2097 # the compiler is broken, or we cross compile.
2098 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2099 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2100 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2101 echo "${ECHO_T}$cross_compiling" >&6
2103 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2104 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2106 (eval $ac_link) 2>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }; then
2110 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2111 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2112 # work properly (i.e., refer to `conftest.exe'), while it won't with
2114 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2116 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2117 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2124 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2125 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2126 { (exit 1); exit 1; }; }
2129 rm -f conftest
$ac_cv_exeext
2130 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2131 echo "${ECHO_T}$ac_cv_exeext" >&6
2133 rm -f conftest.
$ac_ext
2134 EXEEXT
=$ac_cv_exeext
2136 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2137 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2138 if test "${ac_cv_objext+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 cat >conftest.
$ac_ext <<_ACEOF
2142 #line $LINENO "configure"
2143 #include "confdefs.h"
2145 #ifdef F77_DUMMY_MAIN
2149 int F77_DUMMY_MAIN() { return 1; }
2159 rm -f conftest.o conftest.obj
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2168 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2173 echo "$as_me: failed program was:" >&5
2174 cat conftest.
$ac_ext >&5
2175 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2176 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2177 { (exit 1); exit 1; }; }
2180 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2182 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2183 echo "${ECHO_T}$ac_cv_objext" >&6
2184 OBJEXT
=$ac_cv_objext
2186 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2187 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2188 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 cat >conftest.
$ac_ext <<_ACEOF
2192 #line $LINENO "configure"
2193 #include "confdefs.h"
2195 #ifdef F77_DUMMY_MAIN
2199 int F77_DUMMY_MAIN() { return 1; }
2212 rm -f conftest.
$ac_objext
2213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2214 (eval $ac_compile) 2>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); } &&
2218 { ac_try
='test -s conftest.$ac_objext'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2226 echo "$as_me: failed program was:" >&5
2227 cat conftest.
$ac_ext >&5
2230 rm -f conftest.
$ac_objext conftest.
$ac_ext
2231 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2234 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2235 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2236 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2237 ac_test_CFLAGS
=${CFLAGS+set}
2238 ac_save_CFLAGS
=$CFLAGS
2240 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2241 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2242 if test "${ac_cv_prog_cc_g+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 cat >conftest.
$ac_ext <<_ACEOF
2246 #line $LINENO "configure"
2247 #include "confdefs.h"
2249 #ifdef F77_DUMMY_MAIN
2253 int F77_DUMMY_MAIN() { return 1; }
2263 rm -f conftest.
$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 cat conftest.
$ac_ext >&5
2281 rm -f conftest.
$ac_objext conftest.
$ac_ext
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2285 if test "$ac_test_CFLAGS" = set; then
2286 CFLAGS
=$ac_save_CFLAGS
2287 elif test $ac_cv_prog_cc_g = yes; then
2288 if test "$GCC" = yes; then
2294 if test "$GCC" = yes; then
2300 # Some people use a C++ compiler to compile C. Since we use `exit',
2301 # in C++ we need to declare it. In case someone uses the same compiler
2302 # for both compiling C and C++ we need to have the C++ compiler decide
2303 # the declaration of exit, since it's the most demanding environment.
2304 cat >conftest.
$ac_ext <<_ACEOF
2309 rm -f conftest.
$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -s conftest.$ac_objext'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; }; then
2321 for ac_declaration
in \
2323 '#include <stdlib.h>' \
2324 'extern "C" void std::exit (int) throw (); using std::exit;' \
2325 'extern "C" void std::exit (int); using std::exit;' \
2326 'extern "C" void exit (int) throw ();' \
2327 'extern "C" void exit (int);' \
2330 cat >conftest.
$ac_ext <<_ACEOF
2331 #line $LINENO "configure"
2332 #include "confdefs.h"
2335 #ifdef F77_DUMMY_MAIN
2339 int F77_DUMMY_MAIN() { return 1; }
2349 rm -f conftest.
$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 cat conftest.
$ac_ext >&5
2367 rm -f conftest.
$ac_objext conftest.
$ac_ext
2368 cat >conftest.
$ac_ext <<_ACEOF
2369 #line $LINENO "configure"
2370 #include "confdefs.h"
2372 #ifdef F77_DUMMY_MAIN
2376 int F77_DUMMY_MAIN() { return 1; }
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -s conftest.$ac_objext'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; }; then
2400 echo "$as_me: failed program was:" >&5
2401 cat conftest.
$ac_ext >&5
2403 rm -f conftest.
$ac_objext conftest.
$ac_ext
2406 if test -n "$ac_declaration"; then
2407 echo '#ifdef __cplusplus' >>confdefs.h
2408 echo $ac_declaration >>confdefs.h
2409 echo '#endif' >>confdefs.h
2413 echo "$as_me: failed program was:" >&5
2414 cat conftest.
$ac_ext >&5
2416 rm -f conftest.
$ac_objext conftest.
$ac_ext
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2423 ac_config_commands
="$ac_config_commands default-1"
2425 am_make
=${MAKE-make}
2426 cat > confinc
<< 'END'
2430 # If we don't find an include directive, just comment out the code.
2431 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2432 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2436 # First try GNU make style include.
2437 echo "include confinc" > confmf
2438 # We grep out `Entering directory' and `Leaving directory'
2439 # messages which can occur if `w' ends up in MAKEFLAGS.
2440 # In particular we don't look at `^make:' because GNU make might
2441 # be invoked under some other name (usually "gmake"), in which
2442 # case it prints its new name instead of `make'.
2443 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2448 # Now try BSD make style include.
2449 if test "$am__include" = "#"; then
2450 echo '.include "confinc"' > confmf
2451 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2452 am__include
=.include
2459 echo "$as_me:$LINENO: result: $_am_result" >&5
2460 echo "${ECHO_T}$_am_result" >&6
2461 rm -f confinc confmf
2464 depcc
="$CC" am_compiler_list
=
2466 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2467 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2468 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2472 # We make a subdir and do the tests there. Otherwise we can end up
2473 # making bogus files that we don't know about and never remove. For
2474 # instance it was reported that on HP-UX the gcc test will end up
2475 # making a dummy file named `D' -- because `-MD' means `put the output
2478 # Copy depcomp to subdir because otherwise we won't find it if we're
2479 # using a relative directory.
2480 cp "$am_depcomp" conftest.dir
2483 am_cv_CC_dependencies_compiler_type
=none
2484 if test "$am_compiler_list" = ""; then
2485 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2487 for depmode
in $am_compiler_list; do
2488 # We need to recreate these files for each test, as the compiler may
2489 # overwrite some of them when testing with obscure command lines.
2490 # This happens at least with the AIX C compiler.
2491 echo '#include "conftest.h"' > conftest.c
2492 echo 'int i;' > conftest.h
2493 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2497 # after this tag, mechanisms are not by side-effect, so they'll
2498 # only be used when explicitly requested
2499 if test "x$enable_dependency_tracking" = xyes
; then
2507 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2508 # mode. It turns out that the SunPro C++ compiler does not properly
2509 # handle `-M -o', and we need to detect this.
2510 if depmode
=$depmode \
2511 source=conftest.c object
=conftest.o \
2512 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2513 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2514 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2515 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2516 am_cv_CC_dependencies_compiler_type
=$depmode
2524 am_cv_CC_dependencies_compiler_type
=none
2528 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2529 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2530 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2533 # Find a good install program. We prefer a C program (faster),
2534 # so one script is as good as another. But avoid the broken or
2535 # incompatible versions:
2536 # SysV /etc/install, /usr/sbin/install
2537 # SunOS /usr/etc/install
2538 # IRIX /sbin/install
2540 # AmigaOS /C/install, which installs bootblocks on floppy discs
2541 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2542 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2543 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2544 # ./install, which can be erroneously created by make from ./install.sh.
2545 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2546 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2547 if test -z "$INSTALL"; then
2548 if test "${ac_cv_path_install+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir
=.
2556 # Account for people who put trailing slashes in PATH elements.
2558 .
/ | .
// |
/cC
/* | \
2559 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2562 # OSF1 and SCO ODT 3.0 have their own names for install.
2563 # Don't use installbsd from OSF since it installs stuff as root
2565 for ac_prog
in ginstall scoinst
install; do
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2568 if test $ac_prog = install &&
2569 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2570 # AIX install. It has an incompatible calling convention.
2572 elif test $ac_prog = install &&
2573 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2574 # program-specific install script used by HP pwplus--don't use.
2577 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2589 if test "${ac_cv_path_install+set}" = set; then
2590 INSTALL
=$ac_cv_path_install
2592 # As a last resort, use the slow shell script. We don't cache a
2593 # path for INSTALL within a source directory, because that will
2594 # break other packages using the cache if that directory is
2595 # removed, or if the path is relative.
2596 INSTALL
=$ac_install_sh
2599 echo "$as_me:$LINENO: result: $INSTALL" >&5
2600 echo "${ECHO_T}$INSTALL" >&6
2602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2603 # It thinks the first close brace ends the variable substitution.
2604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2608 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2612 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2613 echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 if test "${ac_cv_prog_RANLIB+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$RANLIB"; then
2619 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 RANLIB
=$ac_cv_prog_RANLIB
2638 if test -n "$RANLIB"; then
2639 echo "$as_me:$LINENO: result: $RANLIB" >&5
2640 echo "${ECHO_T}$RANLIB" >&6
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2647 if test -z "$ac_cv_prog_RANLIB"; then
2648 ac_ct_RANLIB
=$RANLIB
2649 # Extract the first word of "ranlib", so it can be a program name with args.
2650 set dummy ranlib
; ac_word
=$2
2651 echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 if test -n "$ac_ct_RANLIB"; then
2657 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2676 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2677 if test -n "$ac_ct_RANLIB"; then
2678 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2679 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2685 RANLIB
=$ac_ct_RANLIB
2687 RANLIB
="$ac_cv_prog_RANLIB"
2693 # Check whether --enable-largefile or --disable-largefile was given.
2694 if test "${enable_largefile+set}" = set; then
2695 enableval
="$enable_largefile"
2698 if test "$enable_largefile" != no
; then
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
2701 set dummy
${ac_tool_prefix}getconf
; ac_word
=$2
2702 echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2704 if test "${ac_cv_prog_GETCONF+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$GETCONF"; then
2708 ac_cv_prog_GETCONF
="$GETCONF" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_GETCONF
="${ac_tool_prefix}getconf"
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 GETCONF
=$ac_cv_prog_GETCONF
2727 if test -n "$GETCONF"; then
2728 echo "$as_me:$LINENO: result: $GETCONF" >&5
2729 echo "${ECHO_T}$GETCONF" >&6
2731 echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2736 if test -z "$ac_cv_prog_GETCONF"; then
2737 ac_ct_GETCONF
=$GETCONF
2738 # Extract the first word of "getconf", so it can be a program name with args.
2739 set dummy getconf
; ac_word
=$2
2740 echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742 if test "${ac_cv_prog_ac_ct_GETCONF+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -n "$ac_ct_GETCONF"; then
2746 ac_cv_prog_ac_ct_GETCONF
="$ac_ct_GETCONF" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_ac_ct_GETCONF
="getconf"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 ac_ct_GETCONF
=$ac_cv_prog_ac_ct_GETCONF
2765 if test -n "$ac_ct_GETCONF"; then
2766 echo "$as_me:$LINENO: result: $ac_ct_GETCONF" >&5
2767 echo "${ECHO_T}$ac_ct_GETCONF" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2773 GETCONF
=$ac_ct_GETCONF
2775 GETCONF
="$ac_cv_prog_GETCONF"
2778 echo "$as_me:$LINENO: checking for CFLAGS value to request large file support" >&5
2779 echo $ECHO_N "checking for CFLAGS value to request large file support... $ECHO_C" >&6
2780 if test "${ac_cv_sys_largefile_CFLAGS+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 if ($GETCONF LFS_CFLAGS
) >conftest
.1 2>conftest
.2 && test ! -s conftest
.2
2785 ac_cv_sys_largefile_CFLAGS
=`cat conftest.1`
2787 ac_cv_sys_largefile_CFLAGS
=no
2789 # HP-UX 10.20 requires -D__STDC_EXT__ with gcc 2.95.1.
2790 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
2791 if test "$GCC" = yes; then
2792 ac_cv_sys_largefile_CFLAGS
=-D__STDC_EXT__
2795 # IRIX 6.2 and later require cc -n32.
2796 irix6.
[2-9]* | irix6.1
[0-9]* | irix
[7-9].
* | irix
[1-9][0-9]*)
2797 if test "$GCC" != yes; then
2798 ac_cv_sys_largefile_CFLAGS
=-n32
2801 if test "$ac_cv_sys_largefile_CFLAGS" != no
; then
2803 CC
="$CC $ac_cv_sys_largefile_CFLAGS"
2804 cat >conftest.
$ac_ext <<_ACEOF
2805 #line $LINENO "configure"
2806 #include "confdefs.h"
2808 #ifdef F77_DUMMY_MAIN
2812 int F77_DUMMY_MAIN() { return 1; }
2822 rm -f conftest.
$ac_objext conftest
$ac_exeext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2824 (eval $ac_link) 2>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } &&
2828 { ac_try
='test -s conftest$ac_exeext'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2836 echo "$as_me: failed program was:" >&5
2837 cat conftest.
$ac_ext >&5
2838 ac_cv_sys_largefile_CFLAGS
=no
2840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2846 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CFLAGS" >&5
2847 echo "${ECHO_T}$ac_cv_sys_largefile_CFLAGS" >&6
2848 echo "$as_me:$LINENO: checking for LDFLAGS value to request large file support" >&5
2849 echo $ECHO_N "checking for LDFLAGS value to request large file support... $ECHO_C" >&6
2850 if test "${ac_cv_sys_largefile_LDFLAGS+set}" = set; then
2851 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 if ($GETCONF LFS_LDFLAGS
) >conftest
.1 2>conftest
.2 && test ! -s conftest
.2
2855 ac_cv_sys_largefile_LDFLAGS
=`cat conftest.1`
2857 ac_cv_sys_largefile_LDFLAGS
=no
2862 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LDFLAGS" >&5
2863 echo "${ECHO_T}$ac_cv_sys_largefile_LDFLAGS" >&6
2864 echo "$as_me:$LINENO: checking for LIBS value to request large file support" >&5
2865 echo $ECHO_N "checking for LIBS value to request large file support... $ECHO_C" >&6
2866 if test "${ac_cv_sys_largefile_LIBS+set}" = set; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 if ($GETCONF LFS_LIBS
) >conftest
.1 2>conftest
.2 && test ! -s conftest
.2
2871 ac_cv_sys_largefile_LIBS
=`cat conftest.1`
2873 ac_cv_sys_largefile_LIBS
=no
2878 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LIBS" >&5
2879 echo "${ECHO_T}$ac_cv_sys_largefile_LIBS" >&6
2881 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
2884 -D_FILE_OFFSET_BITS=*) ;;
2885 -D_LARGEFILE_SOURCE |
-D_LARGEFILE_SOURCE=*) ;;
2886 -D_LARGE_FILES |
-D_LARGE_FILES=*) ;;
2892 '') CPPFLAGS
="$ac_flag" ;;
2893 *) CPPFLAGS
=$CPPFLAGS' '"$ac_flag" ;;
2901 '') CFLAGS
="$ac_flag" ;;
2902 *) CFLAGS
=$CFLAGS' '"$ac_flag" ;;
2907 case "$ac_cv_sys_largefile_LDFLAGS" in
2911 '') LDFLAGS
="$ac_cv_sys_largefile_LDFLAGS" ;;
2912 *) LDFLAGS
=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
2915 case "$ac_cv_sys_largefile_LIBS" in
2919 '') LIBS
="$ac_cv_sys_largefile_LIBS" ;;
2920 *) LIBS
=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
2923 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS" >&5
2924 echo $ECHO_N "checking for _FILE_OFFSET_BITS... $ECHO_C" >&6
2925 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 ac_cv_sys_file_offset_bits
=no
2930 # HP-UX 10.20 and later
2931 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
2932 ac_cv_sys_file_offset_bits
=64 ;;
2934 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
2936 -D_FILE_OFFSET_BITS)
2937 ac_cv_sys_file_offset_bits
=1 ;;
2938 -D_FILE_OFFSET_BITS=*)
2939 ac_cv_sys_file_offset_bits
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
2944 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
2946 if test "$ac_cv_sys_file_offset_bits" != no
; then
2948 cat >>confdefs.h
<<_ACEOF
2949 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2953 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE" >&5
2954 echo $ECHO_N "checking for _LARGEFILE_SOURCE... $ECHO_C" >&6
2955 if test "${ac_cv_sys_largefile_source+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 ac_cv_sys_largefile_source
=no
2960 # HP-UX 10.20 and later
2961 hpux10.
[2-9][0-9]* | hpux1
[1-9]* | hpux
[2-9][0-9]*)
2962 ac_cv_sys_largefile_source
=1 ;;
2964 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
2966 -D_LARGEFILE_SOURCE)
2967 ac_cv_sys_largefile_source
=1 ;;
2968 -D_LARGEFILE_SOURCE=*)
2969 ac_cv_sys_largefile_source
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
2974 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
2975 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
2976 if test "$ac_cv_sys_largefile_source" != no
; then
2978 cat >>confdefs.h
<<_ACEOF
2979 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
2983 echo "$as_me:$LINENO: checking for _LARGE_FILES" >&5
2984 echo $ECHO_N "checking for _LARGE_FILES... $ECHO_C" >&6
2985 if test "${ac_cv_sys_large_files+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 ac_cv_sys_large_files
=no
2991 aix4.
[2-9]* | aix4.1
[0-9]* | aix
[5-9].
* | aix
[1-9][0-9]*)
2992 ac_cv_sys_large_files
=1 ;;
2994 for ac_flag
in $ac_cv_sys_largefile_CFLAGS no
; do
2997 ac_cv_sys_large_files
=1 ;;
2999 ac_cv_sys_large_files
=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
3004 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3005 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3006 if test "$ac_cv_sys_large_files" != no
; then
3008 cat >>confdefs.h
<<_ACEOF
3009 #define _LARGE_FILES $ac_cv_sys_large_files
3018 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3019 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3020 if test "${am_cv_prog_cc_stdc+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 am_cv_prog_cc_stdc
=no
3025 # Don't try gcc -ansi; that turns off useful extensions and
3026 # breaks some systems' header files.
3027 # AIX -qlanglvl=ansi
3028 # Ultrix and OSF/1 -std1
3029 # HP-UX 10.20 and later -Ae
3030 # HP-UX older versions -Aa -D_HPUX_SOURCE
3031 # SVR4 -Xc -D__EXTENSIONS__
3032 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3034 CC
="$ac_save_CC $ac_arg"
3035 cat >conftest.
$ac_ext <<_ACEOF
3036 #line $LINENO "configure"
3037 #include "confdefs.h"
3040 #include <sys/types.h>
3041 #include <sys/stat.h>
3042 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3043 struct buf { int x; };
3044 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3045 static char *e (p, i)
3051 static char *f (char * (*g) (char **, int), char **p, ...)
3056 s = g (p, va_arg (v,int));
3060 int test (int i, double x);
3061 struct s1 {int (*f) (int a);};
3062 struct s2 {int (*f) (double a);};
3063 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3067 #ifdef F77_DUMMY_MAIN
3071 int F77_DUMMY_MAIN() { return 1; }
3077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3083 rm -f conftest.
$ac_objext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085 (eval $ac_compile) 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } &&
3089 { ac_try
='test -s conftest.$ac_objext'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; }; then
3095 am_cv_prog_cc_stdc
="$ac_arg"; break
3097 echo "$as_me: failed program was:" >&5
3098 cat conftest.
$ac_ext >&5
3100 rm -f conftest.
$ac_objext conftest.
$ac_ext
3106 if test -z "$am_cv_prog_cc_stdc"; then
3107 echo "$as_me:$LINENO: result: none needed" >&5
3108 echo "${ECHO_T}none needed" >&6
3110 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3111 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3113 case "x$am_cv_prog_cc_stdc" in
3115 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3119 ac_cpp
='$CPP $CPPFLAGS'
3120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3124 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3125 # On Suns, sometimes $CPP names a directory.
3126 if test -n "$CPP" && test -d "$CPP"; then
3129 if test -z "$CPP"; then
3130 if test "${ac_cv_prog_CPP+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 # Double quotes because CPP needs to be expanded
3134 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3137 for ac_c_preproc_warn_flag
in '' yes
3139 # Use a header file that comes with gcc, so configuring glibc
3140 # with a fresh cross-compiler works.
3141 # On the NeXT, cc -E runs the code through the compiler's parser,
3142 # not just through cpp. "Syntax error" is here to catch this case.
3143 cat >conftest.
$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3145 #include "confdefs.h"
3149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3152 egrep -v '^ *\+' conftest.er1
>conftest.err
3154 cat conftest.err
>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } >/dev
/null
; then
3157 if test -s conftest.err
; then
3158 ac_cpp_err
=$ac_c_preproc_warn_flag
3165 if test -z "$ac_cpp_err"; then
3168 echo "$as_me: failed program was:" >&5
3169 cat conftest.
$ac_ext >&5
3170 # Broken: fails on valid input.
3173 rm -f conftest.err conftest.
$ac_ext
3175 # OK, works on sane cases. Now check whether non-existent headers
3176 # can be detected and how.
3177 cat >conftest.
$ac_ext <<_ACEOF
3178 #line $LINENO "configure"
3179 #include "confdefs.h"
3180 #include <ac_nonexistent.h>
3182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3185 egrep -v '^ *\+' conftest.er1
>conftest.err
3187 cat conftest.err
>&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } >/dev
/null
; then
3190 if test -s conftest.err
; then
3191 ac_cpp_err
=$ac_c_preproc_warn_flag
3198 if test -z "$ac_cpp_err"; then
3199 # Broken: success on invalid input.
3202 echo "$as_me: failed program was:" >&5
3203 cat conftest.
$ac_ext >&5
3204 # Passes both tests.
3208 rm -f conftest.err conftest.
$ac_ext
3211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3212 rm -f conftest.err conftest.
$ac_ext
3213 if $ac_preproc_ok; then
3225 echo "$as_me:$LINENO: result: $CPP" >&5
3226 echo "${ECHO_T}$CPP" >&6
3228 for ac_c_preproc_warn_flag
in '' yes
3230 # Use a header file that comes with gcc, so configuring glibc
3231 # with a fresh cross-compiler works.
3232 # On the NeXT, cc -E runs the code through the compiler's parser,
3233 # not just through cpp. "Syntax error" is here to catch this case.
3234 cat >conftest.
$ac_ext <<_ACEOF
3235 #line $LINENO "configure"
3236 #include "confdefs.h"
3240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3243 egrep -v '^ *\+' conftest.er1
>conftest.err
3245 cat conftest.err
>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } >/dev
/null
; then
3248 if test -s conftest.err
; then
3249 ac_cpp_err
=$ac_c_preproc_warn_flag
3256 if test -z "$ac_cpp_err"; then
3259 echo "$as_me: failed program was:" >&5
3260 cat conftest.
$ac_ext >&5
3261 # Broken: fails on valid input.
3264 rm -f conftest.err conftest.
$ac_ext
3266 # OK, works on sane cases. Now check whether non-existent headers
3267 # can be detected and how.
3268 cat >conftest.
$ac_ext <<_ACEOF
3269 #line $LINENO "configure"
3270 #include "confdefs.h"
3271 #include <ac_nonexistent.h>
3273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3276 egrep -v '^ *\+' conftest.er1
>conftest.err
3278 cat conftest.err
>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } >/dev
/null
; then
3281 if test -s conftest.err
; then
3282 ac_cpp_err
=$ac_c_preproc_warn_flag
3289 if test -z "$ac_cpp_err"; then
3290 # Broken: success on invalid input.
3293 echo "$as_me: failed program was:" >&5
3294 cat conftest.
$ac_ext >&5
3295 # Passes both tests.
3299 rm -f conftest.err conftest.
$ac_ext
3302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3303 rm -f conftest.err conftest.
$ac_ext
3304 if $ac_preproc_ok; then
3307 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3308 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3309 { (exit 1); exit 1; }; }
3313 ac_cpp
='$CPP $CPPFLAGS'
3314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3329 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3330 inttypes.h stdint.h unistd.h
3332 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3333 echo "$as_me:$LINENO: checking for $ac_header" >&5
3334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 cat >conftest.
$ac_ext <<_ACEOF
3339 #line $LINENO "configure"
3340 #include "confdefs.h"
3341 $ac_includes_default
3343 #include <$ac_header>
3345 rm -f conftest.
$ac_objext
3346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3347 (eval $ac_compile) 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try
='test -s conftest.$ac_objext'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3357 eval "$as_ac_Header=yes"
3359 echo "$as_me: failed program was:" >&5
3360 cat conftest.
$ac_ext >&5
3361 eval "$as_ac_Header=no"
3363 rm -f conftest.
$ac_objext conftest.
$ac_ext
3365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3368 cat >>confdefs.h
<<_ACEOF
3369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3379 echo "$as_me:$LINENO: checking for function prototypes" >&5
3380 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3381 if test "$am_cv_prog_cc_stdc" != no
; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3385 cat >>confdefs.h
<<\_ACEOF
3386 #define PROTOTYPES 1
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 U
=_ ANSI2KNR
=.
/ansi2knr
3395 # Ensure some checks needed by ansi2knr itself.
3396 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3397 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3398 if test "${ac_cv_header_stdc+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 cat >conftest.
$ac_ext <<_ACEOF
3402 #line $LINENO "configure"
3403 #include "confdefs.h"
3410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3413 egrep -v '^ *\+' conftest.er1
>conftest.err
3415 cat conftest.err
>&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } >/dev
/null
; then
3418 if test -s conftest.err
; then
3419 ac_cpp_err
=$ac_c_preproc_warn_flag
3426 if test -z "$ac_cpp_err"; then
3427 ac_cv_header_stdc
=yes
3429 echo "$as_me: failed program was:" >&5
3430 cat conftest.
$ac_ext >&5
3431 ac_cv_header_stdc
=no
3433 rm -f conftest.err conftest.
$ac_ext
3435 if test $ac_cv_header_stdc = yes; then
3436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3437 cat >conftest.
$ac_ext <<_ACEOF
3438 #line $LINENO "configure"
3439 #include "confdefs.h"
3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3444 egrep "memchr" >/dev
/null
2>&1; then
3447 ac_cv_header_stdc
=no
3453 if test $ac_cv_header_stdc = yes; then
3454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3455 cat >conftest.
$ac_ext <<_ACEOF
3456 #line $LINENO "configure"
3457 #include "confdefs.h"
3461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3462 egrep "free" >/dev
/null
2>&1; then
3465 ac_cv_header_stdc
=no
3471 if test $ac_cv_header_stdc = yes; then
3472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3473 if test "$cross_compiling" = yes; then
3476 cat >conftest.
$ac_ext <<_ACEOF
3477 #line $LINENO "configure"
3478 #include "confdefs.h"
3480 #if ((' ' & 0x0FF) == 0x020)
3481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3484 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3485 || ('j' <= (c) && (c) <= 'r') \
3486 || ('s' <= (c) && (c) <= 'z'))
3487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3495 for (i = 0; i < 256; i++)
3496 if (XOR (islower (i), ISLOWER (i))
3497 || toupper (i) != TOUPPER (i))
3502 rm -f conftest
$ac_exeext
3503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3504 (eval $ac_link) 2>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3515 echo "$as_me: program exited with status $ac_status" >&5
3516 echo "$as_me: failed program was:" >&5
3517 cat conftest.
$ac_ext >&5
3519 ac_cv_header_stdc
=no
3521 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3525 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3526 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3527 if test $ac_cv_header_stdc = yes; then
3529 cat >>confdefs.h
<<\_ACEOF
3530 #define STDC_HEADERS 1
3536 for ac_header
in string.h
3538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3540 echo "$as_me:$LINENO: checking for $ac_header" >&5
3541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3548 # Is the header compilable?
3549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3551 cat >conftest.
$ac_ext <<_ACEOF
3552 #line $LINENO "configure"
3553 #include "confdefs.h"
3554 $ac_includes_default
3555 #include <$ac_header>
3557 rm -f conftest.
$ac_objext
3558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3559 (eval $ac_compile) 2>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); } &&
3563 { ac_try
='test -s conftest.$ac_objext'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then
3569 ac_header_compiler
=yes
3571 echo "$as_me: failed program was:" >&5
3572 cat conftest.
$ac_ext >&5
3573 ac_header_compiler
=no
3575 rm -f conftest.
$ac_objext conftest.
$ac_ext
3576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3577 echo "${ECHO_T}$ac_header_compiler" >&6
3579 # Is the header present?
3580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3582 cat >conftest.
$ac_ext <<_ACEOF
3583 #line $LINENO "configure"
3584 #include "confdefs.h"
3585 #include <$ac_header>
3587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3590 egrep -v '^ *\+' conftest.er1
>conftest.err
3592 cat conftest.err
>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } >/dev
/null
; then
3595 if test -s conftest.err
; then
3596 ac_cpp_err
=$ac_c_preproc_warn_flag
3603 if test -z "$ac_cpp_err"; then
3604 ac_header_preproc
=yes
3606 echo "$as_me: failed program was:" >&5
3607 cat conftest.
$ac_ext >&5
3608 ac_header_preproc
=no
3610 rm -f conftest.err conftest.
$ac_ext
3611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3612 echo "${ECHO_T}$ac_header_preproc" >&6
3614 # So? What about this header?
3615 case $ac_header_compiler:$ac_header_preproc in
3617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3629 echo "$as_me:$LINENO: checking for $ac_header" >&5
3630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 eval "$as_ac_Header=$ac_header_preproc"
3636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3641 cat >>confdefs.h
<<_ACEOF
3642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3650 echo "$as_me:$LINENO: checking for size_t" >&5
3651 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3652 if test "${ac_cv_type_size_t+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 cat >conftest.
$ac_ext <<_ACEOF
3656 #line $LINENO "configure"
3657 #include "confdefs.h"
3658 $ac_includes_default
3659 #ifdef F77_DUMMY_MAIN
3663 int F77_DUMMY_MAIN() { return 1; }
3670 if (sizeof (size_t))
3676 rm -f conftest.
$ac_objext
3677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3678 (eval $ac_compile) 2>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -s conftest.$ac_objext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_cv_type_size_t
=yes
3690 echo "$as_me: failed program was:" >&5
3691 cat conftest.
$ac_ext >&5
3692 ac_cv_type_size_t
=no
3694 rm -f conftest.
$ac_objext conftest.
$ac_ext
3696 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3697 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3698 if test $ac_cv_type_size_t = yes; then
3702 cat >>confdefs.h
<<_ACEOF
3703 #define size_t unsigned
3708 echo "$as_me:$LINENO: checking for ssize_t" >&5
3709 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
3710 if test "${ac_cv_type_ssize_t+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 cat >conftest.
$ac_ext <<_ACEOF
3714 #line $LINENO "configure"
3715 #include "confdefs.h"
3716 $ac_includes_default
3717 #ifdef F77_DUMMY_MAIN
3721 int F77_DUMMY_MAIN() { return 1; }
3728 if (sizeof (ssize_t))
3734 rm -f conftest.
$ac_objext
3735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3736 (eval $ac_compile) 2>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } &&
3740 { ac_try
='test -s conftest.$ac_objext'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; }; then
3746 ac_cv_type_ssize_t
=yes
3748 echo "$as_me: failed program was:" >&5
3749 cat conftest.
$ac_ext >&5
3750 ac_cv_type_ssize_t
=no
3752 rm -f conftest.
$ac_objext conftest.
$ac_ext
3754 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
3755 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
3756 if test $ac_cv_type_ssize_t = yes; then
3760 cat >>confdefs.h
<<_ACEOF
3766 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3767 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3768 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 ac_cv_prog_cc_stdc
=no
3773 cat >conftest.
$ac_ext <<_ACEOF
3774 #line $LINENO "configure"
3775 #include "confdefs.h"
3778 #include <sys/types.h>
3779 #include <sys/stat.h>
3780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3781 struct buf { int x; };
3782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3783 static char *e (p, i)
3789 static char *f (char * (*g) (char **, int), char **p, ...)
3794 s = g (p, va_arg (v,int));
3798 int test (int i, double x);
3799 struct s1 {int (*f) (int a);};
3800 struct s2 {int (*f) (double a);};
3801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3804 #ifdef F77_DUMMY_MAIN
3808 int F77_DUMMY_MAIN() { return 1; }
3813 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3818 # Don't try gcc -ansi; that turns off useful extensions and
3819 # breaks some systems' header files.
3820 # AIX -qlanglvl=ansi
3821 # Ultrix and OSF/1 -std1
3822 # HP-UX 10.20 and later -Ae
3823 # HP-UX older versions -Aa -D_HPUX_SOURCE
3824 # SVR4 -Xc -D__EXTENSIONS__
3825 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3827 CC
="$ac_save_CC $ac_arg"
3828 rm -f conftest.
$ac_objext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3830 (eval $ac_compile) 2>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try
='test -s conftest.$ac_objext'
3835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; }; then
3840 ac_cv_prog_cc_stdc
=$ac_arg
3843 echo "$as_me: failed program was:" >&5
3844 cat conftest.
$ac_ext >&5
3846 rm -f conftest.
$ac_objext
3848 rm -f conftest.
$ac_ext conftest.
$ac_objext
3853 case "x$ac_cv_prog_cc_stdc" in
3855 echo "$as_me:$LINENO: result: none needed" >&5
3856 echo "${ECHO_T}none needed" >&6 ;;
3858 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3859 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3860 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3863 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3864 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3865 if test "${ac_cv_c_const+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 cat >conftest.
$ac_ext <<_ACEOF
3869 #line $LINENO "configure"
3870 #include "confdefs.h"
3872 #ifdef F77_DUMMY_MAIN
3876 int F77_DUMMY_MAIN() { return 1; }
3881 /* FIXME: Include the comments suggested by Paul. */
3883 /* Ultrix mips cc rejects this. */
3884 typedef int charset[2];
3886 /* SunOS 4.1.1 cc rejects this. */
3887 char const *const *ccp;
3889 /* NEC SVR4.0.2 mips cc rejects this. */
3890 struct point {int x, y;};
3891 static struct point const zero = {0,0};
3892 /* AIX XL C 1.02.0.0 rejects this.
3893 It does not let you subtract one const X* pointer from another in
3894 an arm of an if-expression whose if-part is not a constant
3896 const char *g = "string";
3897 ccp = &g + (g ? g-g : 0);
3898 /* HPUX 7.0 cc rejects these. */
3901 ccp = (char const *const *) p;
3902 { /* SCO 3.2v4 cc rejects this. */
3904 char const *s = 0 ? (char *) 0 : (char const *) 0;
3908 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3910 const int *foo = &x[0];
3913 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3914 typedef const int *iptr;
3918 { /* AIX XL C 1.02.0.0 rejects this saying
3919 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3920 struct s { int j; const int *ap[3]; };
3921 struct s *b; b->j = 5;
3923 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3932 rm -f conftest.
$ac_objext
3933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3934 (eval $ac_compile) 2>&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } &&
3938 { ac_try
='test -s conftest.$ac_objext'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; }; then
3946 echo "$as_me: failed program was:" >&5
3947 cat conftest.
$ac_ext >&5
3950 rm -f conftest.
$ac_objext conftest.
$ac_ext
3952 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3953 echo "${ECHO_T}$ac_cv_c_const" >&6
3954 if test $ac_cv_c_const = no
; then
3956 cat >>confdefs.h
<<\_ACEOF
3963 echo "$as_me:$LINENO: checking for inttypes.h" >&5
3964 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
3965 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 cat >conftest.
$ac_ext <<_ACEOF
3969 #line $LINENO "configure"
3970 #include "confdefs.h"
3971 #include <sys/types.h>
3972 #include <inttypes.h>
3973 #ifdef F77_DUMMY_MAIN
3977 int F77_DUMMY_MAIN() { return 1; }
3982 uintmax_t i = (uintmax_t) -1;
3987 rm -f conftest.
$ac_objext
3988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3989 (eval $ac_compile) 2>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 jm_ac_cv_header_inttypes_h
=yes
4001 echo "$as_me: failed program was:" >&5
4002 cat conftest.
$ac_ext >&5
4003 jm_ac_cv_header_inttypes_h
=no
4005 rm -f conftest.
$ac_objext conftest.
$ac_ext
4007 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
4008 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4009 if test $jm_ac_cv_header_inttypes_h = yes; then
4011 cat >>confdefs.h
<<_ACEOF
4012 #define HAVE_INTTYPES_H 1
4018 echo "$as_me:$LINENO: checking for unsigned long long" >&5
4019 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4020 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 cat >conftest.
$ac_ext <<_ACEOF
4024 #line $LINENO "configure"
4025 #include "confdefs.h"
4026 unsigned long long ull = 1; int i = 63;
4027 #ifdef F77_DUMMY_MAIN
4031 int F77_DUMMY_MAIN() { return 1; }
4036 unsigned long long ullmax = (unsigned long long) -1;
4037 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4042 rm -f conftest.
$ac_objext conftest
$ac_exeext
4043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4044 (eval $ac_link) 2>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try
='test -s conftest$ac_exeext'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; }; then
4054 ac_cv_type_unsigned_long_long
=yes
4056 echo "$as_me: failed program was:" >&5
4057 cat conftest.
$ac_ext >&5
4058 ac_cv_type_unsigned_long_long
=no
4060 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4062 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4063 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4064 if test $ac_cv_type_unsigned_long_long = yes; then
4066 cat >>confdefs.h
<<\_ACEOF
4067 #define HAVE_UNSIGNED_LONG_LONG 1
4074 if test $jm_ac_cv_header_inttypes_h = no
; then
4076 test $ac_cv_type_unsigned_long_long = yes \
4077 && ac_type
='unsigned long long' \
4078 || ac_type
='unsigned long'
4080 cat >>confdefs.h
<<_ACEOF
4081 #define uintmax_t $ac_type
4087 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4088 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4089 if test "${ac_cv_header_stdc+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 cat >conftest.
$ac_ext <<_ACEOF
4093 #line $LINENO "configure"
4094 #include "confdefs.h"
4101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4104 egrep -v '^ *\+' conftest.er1
>conftest.err
4106 cat conftest.err
>&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); } >/dev
/null
; then
4109 if test -s conftest.err
; then
4110 ac_cpp_err
=$ac_c_preproc_warn_flag
4117 if test -z "$ac_cpp_err"; then
4118 ac_cv_header_stdc
=yes
4120 echo "$as_me: failed program was:" >&5
4121 cat conftest.
$ac_ext >&5
4122 ac_cv_header_stdc
=no
4124 rm -f conftest.err conftest.
$ac_ext
4126 if test $ac_cv_header_stdc = yes; then
4127 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4128 cat >conftest.
$ac_ext <<_ACEOF
4129 #line $LINENO "configure"
4130 #include "confdefs.h"
4134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4135 egrep "memchr" >/dev
/null
2>&1; then
4138 ac_cv_header_stdc
=no
4144 if test $ac_cv_header_stdc = yes; then
4145 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4146 cat >conftest.
$ac_ext <<_ACEOF
4147 #line $LINENO "configure"
4148 #include "confdefs.h"
4152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4153 egrep "free" >/dev
/null
2>&1; then
4156 ac_cv_header_stdc
=no
4162 if test $ac_cv_header_stdc = yes; then
4163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4164 if test "$cross_compiling" = yes; then
4167 cat >conftest.
$ac_ext <<_ACEOF
4168 #line $LINENO "configure"
4169 #include "confdefs.h"
4171 #if ((' ' & 0x0FF) == 0x020)
4172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4175 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4176 || ('j' <= (c) && (c) <= 'r') \
4177 || ('s' <= (c) && (c) <= 'z'))
4178 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4181 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4186 for (i = 0; i < 256; i++)
4187 if (XOR (islower (i), ISLOWER (i))
4188 || toupper (i) != TOUPPER (i))
4193 rm -f conftest
$ac_exeext
4194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4195 (eval $ac_link) 2>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4206 echo "$as_me: program exited with status $ac_status" >&5
4207 echo "$as_me: failed program was:" >&5
4208 cat conftest.
$ac_ext >&5
4210 ac_cv_header_stdc
=no
4212 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4216 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4217 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4218 if test $ac_cv_header_stdc = yes; then
4220 cat >>confdefs.h
<<\_ACEOF
4221 #define STDC_HEADERS 1
4232 for ac_header
in string.h stdlib.h sys
/param.h memory.h unistd.h libintl.h
4234 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4236 echo "$as_me:$LINENO: checking for $ac_header" >&5
4237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4244 # Is the header compilable?
4245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4248 #line $LINENO "configure"
4249 #include "confdefs.h"
4250 $ac_includes_default
4251 #include <$ac_header>
4253 rm -f conftest.
$ac_objext
4254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4255 (eval $ac_compile) 2>&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } &&
4259 { ac_try
='test -s conftest.$ac_objext'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4265 ac_header_compiler
=yes
4267 echo "$as_me: failed program was:" >&5
4268 cat conftest.
$ac_ext >&5
4269 ac_header_compiler
=no
4271 rm -f conftest.
$ac_objext conftest.
$ac_ext
4272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4273 echo "${ECHO_T}$ac_header_compiler" >&6
4275 # Is the header present?
4276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4278 cat >conftest.
$ac_ext <<_ACEOF
4279 #line $LINENO "configure"
4280 #include "confdefs.h"
4281 #include <$ac_header>
4283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4286 egrep -v '^ *\+' conftest.er1
>conftest.err
4288 cat conftest.err
>&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } >/dev
/null
; then
4291 if test -s conftest.err
; then
4292 ac_cpp_err
=$ac_c_preproc_warn_flag
4299 if test -z "$ac_cpp_err"; then
4300 ac_header_preproc
=yes
4302 echo "$as_me: failed program was:" >&5
4303 cat conftest.
$ac_ext >&5
4304 ac_header_preproc
=no
4306 rm -f conftest.err conftest.
$ac_ext
4307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4308 echo "${ECHO_T}$ac_header_preproc" >&6
4310 # So? What about this header?
4311 case $ac_header_compiler:$ac_header_preproc in
4313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4325 echo "$as_me:$LINENO: checking for $ac_header" >&5
4326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 eval "$as_ac_Header=$ac_header_preproc"
4332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4337 cat >>confdefs.h
<<_ACEOF
4338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4347 for ac_header
in wctype.h wchar.h
4349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4351 echo "$as_me:$LINENO: checking for $ac_header" >&5
4352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4359 # Is the header compilable?
4360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4362 cat >conftest.
$ac_ext <<_ACEOF
4363 #line $LINENO "configure"
4364 #include "confdefs.h"
4365 $ac_includes_default
4366 #include <$ac_header>
4368 rm -f conftest.
$ac_objext
4369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4370 (eval $ac_compile) 2>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try
='test -s conftest.$ac_objext'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; }; then
4380 ac_header_compiler
=yes
4382 echo "$as_me: failed program was:" >&5
4383 cat conftest.
$ac_ext >&5
4384 ac_header_compiler
=no
4386 rm -f conftest.
$ac_objext conftest.
$ac_ext
4387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4388 echo "${ECHO_T}$ac_header_compiler" >&6
4390 # Is the header present?
4391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4393 cat >conftest.
$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4395 #include "confdefs.h"
4396 #include <$ac_header>
4398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4401 egrep -v '^ *\+' conftest.er1
>conftest.err
4403 cat conftest.err
>&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } >/dev
/null
; then
4406 if test -s conftest.err
; then
4407 ac_cpp_err
=$ac_c_preproc_warn_flag
4414 if test -z "$ac_cpp_err"; then
4415 ac_header_preproc
=yes
4417 echo "$as_me: failed program was:" >&5
4418 cat conftest.
$ac_ext >&5
4419 ac_header_preproc
=no
4421 rm -f conftest.err conftest.
$ac_ext
4422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4423 echo "${ECHO_T}$ac_header_preproc" >&6
4425 # So? What about this header?
4426 case $ac_header_compiler:$ac_header_preproc in
4428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4440 echo "$as_me:$LINENO: checking for $ac_header" >&5
4441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 eval "$as_ac_Header=$ac_header_preproc"
4447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4452 cat >>confdefs.h
<<_ACEOF
4453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4466 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4467 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4468 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4469 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 cat >conftest.
$ac_ext <<_ACEOF
4474 #line $LINENO "configure"
4475 #include "confdefs.h"
4476 #include <sys/types.h>
4479 #ifdef F77_DUMMY_MAIN
4483 int F77_DUMMY_MAIN() { return 1; }
4494 rm -f conftest.
$ac_objext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try
='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 eval "$as_ac_Header=yes"
4508 echo "$as_me: failed program was:" >&5
4509 cat conftest.
$ac_ext >&5
4510 eval "$as_ac_Header=no"
4512 rm -f conftest.
$ac_objext conftest.
$ac_ext
4514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4517 cat >>confdefs.h
<<_ACEOF
4518 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4521 ac_header_dirent
=$ac_hdr; break
4525 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4526 if test $ac_header_dirent = dirent.h
; then
4527 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4528 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4529 if test "${ac_cv_search_opendir+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 ac_func_search_save_LIBS
=$LIBS
4533 ac_cv_search_opendir
=no
4534 cat >conftest.
$ac_ext <<_ACEOF
4535 #line $LINENO "configure"
4536 #include "confdefs.h"
4538 /* Override any gcc2 internal prototype to avoid an error. */
4542 /* We use char because int might match the return type of a gcc2
4543 builtin and then its argument prototype would still apply. */
4545 #ifdef F77_DUMMY_MAIN
4549 int F77_DUMMY_MAIN() { return 1; }
4559 rm -f conftest.
$ac_objext conftest
$ac_exeext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4561 (eval $ac_link) 2>&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } &&
4565 { ac_try
='test -s conftest$ac_exeext'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; }; then
4571 ac_cv_search_opendir
="none required"
4573 echo "$as_me: failed program was:" >&5
4574 cat conftest.
$ac_ext >&5
4576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4577 if test "$ac_cv_search_opendir" = no
; then
4578 for ac_lib
in dir
; do
4579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line $LINENO "configure"
4582 #include "confdefs.h"
4584 /* Override any gcc2 internal prototype to avoid an error. */
4588 /* We use char because int might match the return type of a gcc2
4589 builtin and then its argument prototype would still apply. */
4591 #ifdef F77_DUMMY_MAIN
4595 int F77_DUMMY_MAIN() { return 1; }
4605 rm -f conftest.
$ac_objext conftest
$ac_exeext
4606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4607 (eval $ac_link) 2>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } &&
4611 { ac_try
='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_search_opendir
="-l$ac_lib"
4620 echo "$as_me: failed program was:" >&5
4621 cat conftest.
$ac_ext >&5
4623 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_func_search_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4629 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4630 if test "$ac_cv_search_opendir" != no
; then
4631 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4636 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4637 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4638 if test "${ac_cv_search_opendir+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 ac_func_search_save_LIBS
=$LIBS
4642 ac_cv_search_opendir
=no
4643 cat >conftest.
$ac_ext <<_ACEOF
4644 #line $LINENO "configure"
4645 #include "confdefs.h"
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4654 #ifdef F77_DUMMY_MAIN
4658 int F77_DUMMY_MAIN() { return 1; }
4668 rm -f conftest.
$ac_objext conftest
$ac_exeext
4669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4670 (eval $ac_link) 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } &&
4674 { ac_try
='test -s conftest$ac_exeext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4680 ac_cv_search_opendir
="none required"
4682 echo "$as_me: failed program was:" >&5
4683 cat conftest.
$ac_ext >&5
4685 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4686 if test "$ac_cv_search_opendir" = no
; then
4688 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4689 cat >conftest.
$ac_ext <<_ACEOF
4690 #line $LINENO "configure"
4691 #include "confdefs.h"
4693 /* Override any gcc2 internal prototype to avoid an error. */
4697 /* We use char because int might match the return type of a gcc2
4698 builtin and then its argument prototype would still apply. */
4700 #ifdef F77_DUMMY_MAIN
4704 int F77_DUMMY_MAIN() { return 1; }
4714 rm -f conftest.
$ac_objext conftest
$ac_exeext
4715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4716 (eval $ac_link) 2>&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try
='test -s conftest$ac_exeext'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4726 ac_cv_search_opendir
="-l$ac_lib"
4729 echo "$as_me: failed program was:" >&5
4730 cat conftest.
$ac_ext >&5
4732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4735 LIBS
=$ac_func_search_save_LIBS
4737 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4738 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4739 if test "$ac_cv_search_opendir" != no
; then
4740 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4746 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4747 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4748 if test "${ac_cv_header_stat_broken+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 cat >conftest.
$ac_ext <<_ACEOF
4752 #line $LINENO "configure"
4753 #include "confdefs.h"
4754 #include <sys/types.h>
4755 #include <sys/stat.h>
4757 #if defined(S_ISBLK) && defined(S_IFDIR)
4758 # if S_ISBLK (S_IFDIR)
4763 #if defined(S_ISBLK) && defined(S_IFCHR)
4764 # if S_ISBLK (S_IFCHR)
4769 #if defined(S_ISLNK) && defined(S_IFREG)
4770 # if S_ISLNK (S_IFREG)
4775 #if defined(S_ISSOCK) && defined(S_IFREG)
4776 # if S_ISSOCK (S_IFREG)
4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4783 egrep "You lose" >/dev
/null
2>&1; then
4784 ac_cv_header_stat_broken
=yes
4786 ac_cv_header_stat_broken
=no
4791 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4792 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4793 if test $ac_cv_header_stat_broken = yes; then
4795 cat >>confdefs.h
<<\_ACEOF
4796 #define STAT_MACROS_BROKEN 1
4803 for ac_header
in stdlib.h
4805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4807 echo "$as_me:$LINENO: checking for $ac_header" >&5
4808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4815 # Is the header compilable?
4816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4818 cat >conftest.
$ac_ext <<_ACEOF
4819 #line $LINENO "configure"
4820 #include "confdefs.h"
4821 $ac_includes_default
4822 #include <$ac_header>
4824 rm -f conftest.
$ac_objext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4826 (eval $ac_compile) 2>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try
='test -s conftest.$ac_objext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_header_compiler
=yes
4838 echo "$as_me: failed program was:" >&5
4839 cat conftest.
$ac_ext >&5
4840 ac_header_compiler
=no
4842 rm -f conftest.
$ac_objext conftest.
$ac_ext
4843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4844 echo "${ECHO_T}$ac_header_compiler" >&6
4846 # Is the header present?
4847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4849 cat >conftest.
$ac_ext <<_ACEOF
4850 #line $LINENO "configure"
4851 #include "confdefs.h"
4852 #include <$ac_header>
4854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4857 egrep -v '^ *\+' conftest.er1
>conftest.err
4859 cat conftest.err
>&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } >/dev
/null
; then
4862 if test -s conftest.err
; then
4863 ac_cpp_err
=$ac_c_preproc_warn_flag
4870 if test -z "$ac_cpp_err"; then
4871 ac_header_preproc
=yes
4873 echo "$as_me: failed program was:" >&5
4874 cat conftest.
$ac_ext >&5
4875 ac_header_preproc
=no
4877 rm -f conftest.err conftest.
$ac_ext
4878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4879 echo "${ECHO_T}$ac_header_preproc" >&6
4881 # So? What about this header?
4882 case $ac_header_compiler:$ac_header_preproc in
4884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4896 echo "$as_me:$LINENO: checking for $ac_header" >&5
4897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 eval "$as_ac_Header=$ac_header_preproc"
4903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4908 cat >>confdefs.h
<<_ACEOF
4909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4917 echo "$as_me:$LINENO: checking for mbstate_t" >&5
4918 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
4919 if test "${ac_cv_type_mbstate_t+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 cat >conftest.
$ac_ext <<_ACEOF
4923 #line $LINENO "configure"
4924 #include "confdefs.h"
4927 # include <stdlib.h>
4930 #ifdef F77_DUMMY_MAIN
4934 int F77_DUMMY_MAIN() { return 1; }
4939 mbstate_t x; return sizeof x;
4944 rm -f conftest.
$ac_objext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4946 (eval $ac_compile) 2>&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } &&
4950 { ac_try
='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 ac_cv_type_mbstate_t
=yes
4958 echo "$as_me: failed program was:" >&5
4959 cat conftest.
$ac_ext >&5
4960 ac_cv_type_mbstate_t
=no
4962 rm -f conftest.
$ac_objext conftest.
$ac_ext
4964 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
4965 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
4966 if test $ac_cv_type_mbstate_t = no
; then
4968 cat >>confdefs.h
<<\_ACEOF
4969 #define mbstate_t int
4974 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4975 # for constant arguments. Useless!
4976 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4977 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4978 if test "${ac_cv_working_alloca_h+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 cat >conftest.
$ac_ext <<_ACEOF
4982 #line $LINENO "configure"
4983 #include "confdefs.h"
4985 #ifdef F77_DUMMY_MAIN
4989 int F77_DUMMY_MAIN() { return 1; }
4994 char *p = (char *) alloca (2 * sizeof (int));
4999 rm -f conftest.
$ac_objext conftest
$ac_exeext
5000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5001 (eval $ac_link) 2>&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try
='test -s conftest$ac_exeext'
5006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; }; then
5011 ac_cv_working_alloca_h
=yes
5013 echo "$as_me: failed program was:" >&5
5014 cat conftest.
$ac_ext >&5
5015 ac_cv_working_alloca_h
=no
5017 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5019 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5020 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5021 if test $ac_cv_working_alloca_h = yes; then
5023 cat >>confdefs.h
<<\_ACEOF
5024 #define HAVE_ALLOCA_H 1
5029 echo "$as_me:$LINENO: checking for alloca" >&5
5030 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5031 if test "${ac_cv_func_alloca_works+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 cat >conftest.
$ac_ext <<_ACEOF
5035 #line $LINENO "configure"
5036 #include "confdefs.h"
5038 # define alloca __builtin_alloca
5041 # include <malloc.h>
5042 # define alloca _alloca
5045 # include <alloca.h>
5050 # ifndef alloca /* predefined by HP cc +Olibcalls */
5058 #ifdef F77_DUMMY_MAIN
5062 int F77_DUMMY_MAIN() { return 1; }
5067 char *p = (char *) alloca (1);
5072 rm -f conftest.
$ac_objext conftest
$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } &&
5078 { ac_try
='test -s conftest$ac_exeext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 ac_cv_func_alloca_works
=yes
5086 echo "$as_me: failed program was:" >&5
5087 cat conftest.
$ac_ext >&5
5088 ac_cv_func_alloca_works
=no
5090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5092 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5093 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5095 if test $ac_cv_func_alloca_works = yes; then
5097 cat >>confdefs.h
<<\_ACEOF
5098 #define HAVE_ALLOCA 1
5102 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5103 # that cause trouble. Some versions do not even contain alloca or
5104 # contain a buggy version. If you still want to use their alloca,
5105 # use ar to extract alloca.o from them instead of compiling alloca.c.
5107 ALLOCA
=alloca.
$ac_objext
5109 cat >>confdefs.h
<<\_ACEOF
5114 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5115 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5116 if test "${ac_cv_os_cray+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 cat >conftest.
$ac_ext <<_ACEOF
5120 #line $LINENO "configure"
5121 #include "confdefs.h"
5122 #if defined(CRAY) && ! defined(CRAY2)
5129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5130 egrep "webecray" >/dev
/null
2>&1; then
5138 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5139 echo "${ECHO_T}$ac_cv_os_cray" >&6
5140 if test $ac_cv_os_cray = yes; then
5141 for ac_func
in _getb67 GETB67 getb67
; do
5142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5143 echo "$as_me:$LINENO: checking for $ac_func" >&5
5144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5145 if eval "test \"\${$as_ac_var+set}\" = set"; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 cat >conftest.
$ac_ext <<_ACEOF
5149 #line $LINENO "configure"
5150 #include "confdefs.h"
5151 /* System header to define __stub macros and hopefully few prototypes,
5152 which can conflict with char $ac_func (); below. */
5154 /* Override any gcc2 internal prototype to avoid an error. */
5158 /* We use char because int might match the return type of a gcc2
5159 builtin and then its argument prototype would still apply. */
5163 #ifdef F77_DUMMY_MAIN
5167 int F77_DUMMY_MAIN() { return 1; }
5172 /* The GNU C library defines this for functions which it implements
5173 to always fail with ENOSYS. Some functions are actually named
5174 something starting with __ and the normal name is an alias. */
5175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5185 rm -f conftest.
$ac_objext conftest
$ac_exeext
5186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5187 (eval $ac_link) 2>&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } &&
5191 { ac_try
='test -s conftest$ac_exeext'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; }; then
5197 eval "$as_ac_var=yes"
5199 echo "$as_me: failed program was:" >&5
5200 cat conftest.
$ac_ext >&5
5201 eval "$as_ac_var=no"
5203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5207 if test `eval echo '${'$as_ac_var'}'` = yes; then
5209 cat >>confdefs.h
<<_ACEOF
5210 #define CRAY_STACKSEG_END $ac_func
5219 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5220 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5221 if test "${ac_cv_c_stack_direction+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5224 if test "$cross_compiling" = yes; then
5225 ac_cv_c_stack_direction
=0
5227 cat >conftest.
$ac_ext <<_ACEOF
5228 #line $LINENO "configure"
5229 #include "confdefs.h"
5231 find_stack_direction ()
5233 static char *addr = 0;
5238 return find_stack_direction ();
5241 return (&dummy > addr) ? 1 : -1;
5247 exit (find_stack_direction () < 0);
5250 rm -f conftest
$ac_exeext
5251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5252 (eval $ac_link) 2>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }; }; then
5261 ac_cv_c_stack_direction
=1
5263 echo "$as_me: program exited with status $ac_status" >&5
5264 echo "$as_me: failed program was:" >&5
5265 cat conftest.
$ac_ext >&5
5267 ac_cv_c_stack_direction
=-1
5269 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5272 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5273 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5275 cat >>confdefs.h
<<_ACEOF
5276 #define STACK_DIRECTION $ac_cv_c_stack_direction
5282 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
5283 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
5284 if test "${ac_cv_func_closedir_void+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 if test "$cross_compiling" = yes; then
5288 ac_cv_func_closedir_void
=yes
5290 cat >conftest.
$ac_ext <<_ACEOF
5291 #line $LINENO "configure"
5292 #include "confdefs.h"
5293 $ac_includes_default
5294 #include <$ac_header_dirent>
5299 #ifdef F77_DUMMY_MAIN
5303 int F77_DUMMY_MAIN() { return 1; }
5308 exit (closedir (opendir (".")) != 0);
5313 rm -f conftest
$ac_exeext
5314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5315 (eval $ac_link) 2>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5324 ac_cv_func_closedir_void
=no
5326 echo "$as_me: program exited with status $ac_status" >&5
5327 echo "$as_me: failed program was:" >&5
5328 cat conftest.
$ac_ext >&5
5330 ac_cv_func_closedir_void
=yes
5332 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5335 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
5336 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
5337 if test $ac_cv_func_closedir_void = yes; then
5339 cat >>confdefs.h
<<\_ACEOF
5340 #define CLOSEDIR_VOID 1
5347 for ac_header
in stdlib.h unistd.h
5349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5351 echo "$as_me:$LINENO: checking for $ac_header" >&5
5352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5359 # Is the header compilable?
5360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5362 cat >conftest.
$ac_ext <<_ACEOF
5363 #line $LINENO "configure"
5364 #include "confdefs.h"
5365 $ac_includes_default
5366 #include <$ac_header>
5368 rm -f conftest.
$ac_objext
5369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5370 (eval $ac_compile) 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } &&
5374 { ac_try
='test -s conftest.$ac_objext'
5375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }; }; then
5380 ac_header_compiler
=yes
5382 echo "$as_me: failed program was:" >&5
5383 cat conftest.
$ac_ext >&5
5384 ac_header_compiler
=no
5386 rm -f conftest.
$ac_objext conftest.
$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5388 echo "${ECHO_T}$ac_header_compiler" >&6
5390 # Is the header present?
5391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5393 cat >conftest.
$ac_ext <<_ACEOF
5394 #line $LINENO "configure"
5395 #include "confdefs.h"
5396 #include <$ac_header>
5398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5401 egrep -v '^ *\+' conftest.er1
>conftest.err
5403 cat conftest.err
>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } >/dev
/null
; then
5406 if test -s conftest.err
; then
5407 ac_cpp_err
=$ac_c_preproc_warn_flag
5414 if test -z "$ac_cpp_err"; then
5415 ac_header_preproc
=yes
5417 echo "$as_me: failed program was:" >&5
5418 cat conftest.
$ac_ext >&5
5419 ac_header_preproc
=no
5421 rm -f conftest.err conftest.
$ac_ext
5422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5423 echo "${ECHO_T}$ac_header_preproc" >&6
5425 # So? What about this header?
5426 case $ac_header_compiler:$ac_header_preproc in
5428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5440 echo "$as_me:$LINENO: checking for $ac_header" >&5
5441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 eval "$as_ac_Header=$ac_header_preproc"
5447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5452 cat >>confdefs.h
<<_ACEOF
5453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5461 for ac_func
in getpagesize
5463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5464 echo "$as_me:$LINENO: checking for $ac_func" >&5
5465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5466 if eval "test \"\${$as_ac_var+set}\" = set"; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 cat >conftest.
$ac_ext <<_ACEOF
5470 #line $LINENO "configure"
5471 #include "confdefs.h"
5472 /* System header to define __stub macros and hopefully few prototypes,
5473 which can conflict with char $ac_func (); below. */
5475 /* Override any gcc2 internal prototype to avoid an error. */
5479 /* We use char because int might match the return type of a gcc2
5480 builtin and then its argument prototype would still apply. */
5484 #ifdef F77_DUMMY_MAIN
5488 int F77_DUMMY_MAIN() { return 1; }
5493 /* The GNU C library defines this for functions which it implements
5494 to always fail with ENOSYS. Some functions are actually named
5495 something starting with __ and the normal name is an alias. */
5496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5506 rm -f conftest.
$ac_objext conftest
$ac_exeext
5507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5508 (eval $ac_link) 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try
='test -s conftest$ac_exeext'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; }; then
5518 eval "$as_ac_var=yes"
5520 echo "$as_me: failed program was:" >&5
5521 cat conftest.
$ac_ext >&5
5522 eval "$as_ac_var=no"
5524 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5528 if test `eval echo '${'$as_ac_var'}'` = yes; then
5529 cat >>confdefs.h
<<_ACEOF
5530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5536 echo "$as_me:$LINENO: checking for working mmap" >&5
5537 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5538 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test "$cross_compiling" = yes; then
5542 ac_cv_func_mmap_fixed_mapped
=no
5544 cat >conftest.
$ac_ext <<_ACEOF
5545 #line $LINENO "configure"
5546 #include "confdefs.h"
5547 $ac_includes_default
5548 /* malloc might have been renamed as rpl_malloc. */
5551 /* Thanks to Mike Haertel and Jim Avera for this test.
5552 Here is a matrix of mmap possibilities:
5553 mmap private not fixed
5554 mmap private fixed at somewhere currently unmapped
5555 mmap private fixed at somewhere already mapped
5556 mmap shared not fixed
5557 mmap shared fixed at somewhere currently unmapped
5558 mmap shared fixed at somewhere already mapped
5559 For private mappings, we should verify that changes cannot be read()
5560 back from the file, nor mmap's back from the file at a different
5561 address. (There have been systems where private was not correctly
5562 implemented like the infamous i386 svr4.0, and systems where the
5563 VM page cache was not coherent with the file system buffer cache
5564 like early versions of FreeBSD and possibly contemporary NetBSD.)
5565 For shared mappings, we should conversely verify that changes get
5566 propagated back to all the places they're supposed to be.
5568 Grep wants private fixed already mapped.
5569 The main things grep needs to know about mmap are:
5570 * does it exist and is it safe to write into the mmap'd area
5571 * how to use it (BSD variants) */
5574 #include <sys/mman.h>
5576 #if !STDC_HEADERS && !HAVE_STDLIB_H
5580 /* This mess was copied from the GNU getpagesize.h. */
5581 #if !HAVE_GETPAGESIZE
5582 /* Assume that all systems that can run configure have sys/param.h. */
5583 # if !HAVE_SYS_PARAM_H
5584 # define HAVE_SYS_PARAM_H 1
5587 # ifdef _SC_PAGESIZE
5588 # define getpagesize() sysconf(_SC_PAGESIZE)
5589 # else /* no _SC_PAGESIZE */
5590 # if HAVE_SYS_PARAM_H
5591 # include <sys/param.h>
5592 # ifdef EXEC_PAGESIZE
5593 # define getpagesize() EXEC_PAGESIZE
5594 # else /* no EXEC_PAGESIZE */
5596 # define getpagesize() NBPG * CLSIZE
5599 # endif /* no CLSIZE */
5600 # else /* no NBPG */
5602 # define getpagesize() NBPC
5603 # else /* no NBPC */
5605 # define getpagesize() PAGESIZE
5606 # endif /* PAGESIZE */
5607 # endif /* no NBPC */
5608 # endif /* no NBPG */
5609 # endif /* no EXEC_PAGESIZE */
5610 # else /* no HAVE_SYS_PARAM_H */
5611 # define getpagesize() 8192 /* punt totally */
5612 # endif /* no HAVE_SYS_PARAM_H */
5613 # endif /* no _SC_PAGESIZE */
5615 #endif /* no HAVE_GETPAGESIZE */
5620 char *data, *data2, *data3;
5624 pagesize = getpagesize ();
5626 /* First, make a file with some known garbage in it. */
5627 data = (char *) malloc (pagesize);
5630 for (i = 0; i < pagesize; ++i)
5631 *(data + i) = rand ();
5633 fd = creat ("conftest.mmap", 0600);
5636 if (write (fd, data, pagesize) != pagesize)
5640 /* Next, try to mmap the file at a fixed address which already has
5641 something else allocated at it. If we can, also make sure that
5642 we see the same garbage. */
5643 fd = open ("conftest.mmap", O_RDWR);
5646 data2 = (char *) malloc (2 * pagesize);
5649 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5650 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5651 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5653 for (i = 0; i < pagesize; ++i)
5654 if (*(data + i) != *(data2 + i))
5657 /* Finally, make sure that changes to the mapped area do not
5658 percolate back to the file as seen by read(). (This is a bug on
5659 some variants of i386 svr4.0.) */
5660 for (i = 0; i < pagesize; ++i)
5661 *(data2 + i) = *(data2 + i) + 1;
5662 data3 = (char *) malloc (pagesize);
5665 if (read (fd, data3, pagesize) != pagesize)
5667 for (i = 0; i < pagesize; ++i)
5668 if (*(data + i) != *(data3 + i))
5674 rm -f conftest
$ac_exeext
5675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5676 (eval $ac_link) 2>&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; }; then
5685 ac_cv_func_mmap_fixed_mapped
=yes
5687 echo "$as_me: program exited with status $ac_status" >&5
5688 echo "$as_me: failed program was:" >&5
5689 cat conftest.
$ac_ext >&5
5691 ac_cv_func_mmap_fixed_mapped
=no
5693 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5696 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5697 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5698 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5700 cat >>confdefs.h
<<\_ACEOF
5715 for ac_func
in btowc isascii memmove setmode strerror wctype mbrtowc
5717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5718 echo "$as_me:$LINENO: checking for $ac_func" >&5
5719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5720 if eval "test \"\${$as_ac_var+set}\" = set"; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 cat >conftest.
$ac_ext <<_ACEOF
5724 #line $LINENO "configure"
5725 #include "confdefs.h"
5726 /* System header to define __stub macros and hopefully few prototypes,
5727 which can conflict with char $ac_func (); below. */
5729 /* Override any gcc2 internal prototype to avoid an error. */
5733 /* We use char because int might match the return type of a gcc2
5734 builtin and then its argument prototype would still apply. */
5738 #ifdef F77_DUMMY_MAIN
5742 int F77_DUMMY_MAIN() { return 1; }
5747 /* The GNU C library defines this for functions which it implements
5748 to always fail with ENOSYS. Some functions are actually named
5749 something starting with __ and the normal name is an alias. */
5750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5760 rm -f conftest.
$ac_objext conftest
$ac_exeext
5761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5762 (eval $ac_link) 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try
='test -s conftest$ac_exeext'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; }; then
5772 eval "$as_ac_var=yes"
5774 echo "$as_me: failed program was:" >&5
5775 cat conftest.
$ac_ext >&5
5776 eval "$as_ac_var=no"
5778 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5782 if test `eval echo '${'$as_ac_var'}'` = yes; then
5783 cat >>confdefs.h
<<_ACEOF
5784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5795 for ac_func
in memchr stpcpy strtoul atexit fnmatch
5797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5798 echo "$as_me:$LINENO: checking for $ac_func" >&5
5799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5800 if eval "test \"\${$as_ac_var+set}\" = set"; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 cat >conftest.
$ac_ext <<_ACEOF
5804 #line $LINENO "configure"
5805 #include "confdefs.h"
5806 /* System header to define __stub macros and hopefully few prototypes,
5807 which can conflict with char $ac_func (); below. */
5809 /* Override any gcc2 internal prototype to avoid an error. */
5813 /* We use char because int might match the return type of a gcc2
5814 builtin and then its argument prototype would still apply. */
5818 #ifdef F77_DUMMY_MAIN
5822 int F77_DUMMY_MAIN() { return 1; }
5827 /* The GNU C library defines this for functions which it implements
5828 to always fail with ENOSYS. Some functions are actually named
5829 something starting with __ and the normal name is an alias. */
5830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5840 rm -f conftest.
$ac_objext conftest
$ac_exeext
5841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5842 (eval $ac_link) 2>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } &&
5846 { ac_try
='test -s conftest$ac_exeext'
5847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); }; }; then
5852 eval "$as_ac_var=yes"
5854 echo "$as_me: failed program was:" >&5
5855 cat conftest.
$ac_ext >&5
5856 eval "$as_ac_var=no"
5858 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5862 if test `eval echo '${'$as_ac_var'}'` = yes; then
5863 cat >>confdefs.h
<<_ACEOF
5864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5868 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
5877 for ac_header
in stdlib.h
5879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881 echo "$as_me:$LINENO: checking for $ac_header" >&5
5882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5889 # Is the header compilable?
5890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5892 cat >conftest.
$ac_ext <<_ACEOF
5893 #line $LINENO "configure"
5894 #include "confdefs.h"
5895 $ac_includes_default
5896 #include <$ac_header>
5898 rm -f conftest.
$ac_objext
5899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5900 (eval $ac_compile) 2>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try
='test -s conftest.$ac_objext'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 ac_header_compiler
=yes
5912 echo "$as_me: failed program was:" >&5
5913 cat conftest.
$ac_ext >&5
5914 ac_header_compiler
=no
5916 rm -f conftest.
$ac_objext conftest.
$ac_ext
5917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5918 echo "${ECHO_T}$ac_header_compiler" >&6
5920 # Is the header present?
5921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5923 cat >conftest.
$ac_ext <<_ACEOF
5924 #line $LINENO "configure"
5925 #include "confdefs.h"
5926 #include <$ac_header>
5928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5931 egrep -v '^ *\+' conftest.er1
>conftest.err
5933 cat conftest.err
>&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } >/dev
/null
; then
5936 if test -s conftest.err
; then
5937 ac_cpp_err
=$ac_c_preproc_warn_flag
5944 if test -z "$ac_cpp_err"; then
5945 ac_header_preproc
=yes
5947 echo "$as_me: failed program was:" >&5
5948 cat conftest.
$ac_ext >&5
5949 ac_header_preproc
=no
5951 rm -f conftest.err conftest.
$ac_ext
5952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5953 echo "${ECHO_T}$ac_header_preproc" >&6
5955 # So? What about this header?
5956 case $ac_header_compiler:$ac_header_preproc in
5958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5970 echo "$as_me:$LINENO: checking for $ac_header" >&5
5971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 eval "$as_ac_Header=$ac_header_preproc"
5977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5982 cat >>confdefs.h
<<_ACEOF
5983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5991 echo "$as_me:$LINENO: checking whether <inttypes.h> defines strtoumax as a macro" >&5
5992 echo $ECHO_N "checking whether <inttypes.h> defines strtoumax as a macro... $ECHO_C" >&6
5993 if test "${jm_cv_func_strtoumax_macro+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 cat >conftest.
$ac_ext <<_ACEOF
5997 #line $LINENO "configure"
5998 #include "confdefs.h"
5999 #include <inttypes.h>
6001 inttypes_h_defines_strtoumax
6004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6005 egrep "inttypes_h_defines_strtoumax" >/dev
/null
2>&1; then
6006 jm_cv_func_strtoumax_macro
=yes
6008 jm_cv_func_strtoumax_macro
=no
6013 echo "$as_me:$LINENO: result: $jm_cv_func_strtoumax_macro" >&5
6014 echo "${ECHO_T}$jm_cv_func_strtoumax_macro" >&6
6016 if test "$jm_cv_func_strtoumax_macro" != yes; then
6018 for ac_func
in strtoumax
6020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6021 echo "$as_me:$LINENO: checking for $ac_func" >&5
6022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6023 if eval "test \"\${$as_ac_var+set}\" = set"; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 cat >conftest.
$ac_ext <<_ACEOF
6027 #line $LINENO "configure"
6028 #include "confdefs.h"
6029 /* System header to define __stub macros and hopefully few prototypes,
6030 which can conflict with char $ac_func (); below. */
6032 /* Override any gcc2 internal prototype to avoid an error. */
6036 /* We use char because int might match the return type of a gcc2
6037 builtin and then its argument prototype would still apply. */
6041 #ifdef F77_DUMMY_MAIN
6045 int F77_DUMMY_MAIN() { return 1; }
6050 /* The GNU C library defines this for functions which it implements
6051 to always fail with ENOSYS. Some functions are actually named
6052 something starting with __ and the normal name is an alias. */
6053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6063 rm -f conftest.
$ac_objext conftest
$ac_exeext
6064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6065 (eval $ac_link) 2>&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); } &&
6069 { ac_try
='test -s conftest$ac_exeext'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; }; then
6075 eval "$as_ac_var=yes"
6077 echo "$as_me: failed program was:" >&5
6078 cat conftest.
$ac_ext >&5
6079 eval "$as_ac_var=no"
6081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6085 if test `eval echo '${'$as_ac_var'}'` = yes; then
6086 cat >>confdefs.h
<<_ACEOF
6087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6091 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6098 case "$ac_cv_type_unsigned_long_long,$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
6101 for ac_func
in strtoull
6103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6104 echo "$as_me:$LINENO: checking for $ac_func" >&5
6105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6106 if eval "test \"\${$as_ac_var+set}\" = set"; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 cat >conftest.
$ac_ext <<_ACEOF
6110 #line $LINENO "configure"
6111 #include "confdefs.h"
6112 /* System header to define __stub macros and hopefully few prototypes,
6113 which can conflict with char $ac_func (); below. */
6115 /* Override any gcc2 internal prototype to avoid an error. */
6119 /* We use char because int might match the return type of a gcc2
6120 builtin and then its argument prototype would still apply. */
6124 #ifdef F77_DUMMY_MAIN
6128 int F77_DUMMY_MAIN() { return 1; }
6133 /* The GNU C library defines this for functions which it implements
6134 to always fail with ENOSYS. Some functions are actually named
6135 something starting with __ and the normal name is an alias. */
6136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6146 rm -f conftest.
$ac_objext conftest
$ac_exeext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6148 (eval $ac_link) 2>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } &&
6152 { ac_try
='test -s conftest$ac_exeext'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6158 eval "$as_ac_var=yes"
6160 echo "$as_me: failed program was:" >&5
6161 cat conftest.
$ac_ext >&5
6162 eval "$as_ac_var=no"
6164 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6168 if test `eval echo '${'$as_ac_var'}'` = yes; then
6169 cat >>confdefs.h
<<_ACEOF
6170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6174 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6185 for jm_func
in strtoul strtoull
6188 echo "$as_me:$LINENO: checking whether $jm_func is declared" >&5
6189 echo $ECHO_N "checking whether $jm_func is declared... $ECHO_C" >&6
6190 if eval "test \"\${jm_cv_func_decl_$jm_func+set}\" = set"; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 cat >conftest.
$ac_ext <<_ACEOF
6194 #line $LINENO "configure"
6195 #include "confdefs.h"
6197 #ifdef F77_DUMMY_MAIN
6201 int F77_DUMMY_MAIN() { return 1; }
6208 char *(*pfn) = (char *(*)) $jm_func
6215 rm -f conftest.
$ac_objext
6216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6217 (eval $ac_compile) 2>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try
='test -s conftest.$ac_objext'
6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; }; then
6227 eval "jm_cv_func_decl_$jm_func=yes"
6229 echo "$as_me: failed program was:" >&5
6230 cat conftest.
$ac_ext >&5
6231 eval "jm_cv_func_decl_$jm_func=no"
6233 rm -f conftest.
$ac_objext conftest.
$ac_ext
6237 if eval "test \"`echo '$jm_cv_func_decl_'$jm_func`\" = yes"; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6
6241 jm_tr_func
=HAVE_DECL_
`echo $jm_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
6243 cat >>confdefs.h
<<_ACEOF
6244 #define $jm_tr_func 1
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6253 test $jm_cv_func_decl_strtoul != yes
6255 cat >>confdefs.h
<<_ACEOF
6256 #define HAVE_DECL_STRTOUL $?
6259 test $jm_cv_func_decl_strtoull != yes
6261 cat >>confdefs.h
<<_ACEOF
6262 #define HAVE_DECL_STRTOULL $?
6266 case "$ac_cv_prog_CC" in
6268 cat >>confdefs.h
<<\_ACEOF
6269 #define alloca _alloca
6275 ALL_LINGUAS
="cs de el eo es et fr gl hr id it ja ko nl no pl pt_BR ru sl sv"
6277 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6278 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6279 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6280 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 ac_check_lib_save_LIBS
=$LIBS
6283 LIBS
="-lcposix $LIBS"
6284 cat >conftest.
$ac_ext <<_ACEOF
6285 #line $LINENO "configure"
6286 #include "confdefs.h"
6288 /* Override any gcc2 internal prototype to avoid an error. */
6292 /* We use char because int might match the return type of a gcc2
6293 builtin and then its argument prototype would still apply. */
6295 #ifdef F77_DUMMY_MAIN
6299 int F77_DUMMY_MAIN() { return 1; }
6309 rm -f conftest.
$ac_objext conftest
$ac_exeext
6310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6311 (eval $ac_link) 2>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } &&
6315 { ac_try
='test -s conftest$ac_exeext'
6316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); }; }; then
6321 ac_cv_lib_cposix_strerror
=yes
6323 echo "$as_me: failed program was:" >&5
6324 cat conftest.
$ac_ext >&5
6325 ac_cv_lib_cposix_strerror
=no
6327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6328 LIBS
=$ac_check_lib_save_LIBS
6330 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6331 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6332 if test $ac_cv_lib_cposix_strerror = yes; then
6333 LIBS
="$LIBS -lcposix"
6338 echo "$as_me:$LINENO: checking for inline" >&5
6339 echo $ECHO_N "checking for inline... $ECHO_C" >&6
6340 if test "${ac_cv_c_inline+set}" = set; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 for ac_kw
in inline __inline__ __inline
; do
6345 cat >conftest.
$ac_ext <<_ACEOF
6346 #line $LINENO "configure"
6347 #include "confdefs.h"
6349 static $ac_kw int static_foo () {return 0; }
6350 $ac_kw int foo () {return 0; }
6354 rm -f conftest.
$ac_objext
6355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6356 (eval $ac_compile) 2>&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } &&
6360 { ac_try
='test -s conftest.$ac_objext'
6361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; }; then
6366 ac_cv_c_inline
=$ac_kw; break
6368 echo "$as_me: failed program was:" >&5
6369 cat conftest.
$ac_ext >&5
6371 rm -f conftest.
$ac_objext conftest.
$ac_ext
6375 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6376 echo "${ECHO_T}$ac_cv_c_inline" >&6
6377 case $ac_cv_c_inline in
6380 cat >>confdefs.h
<<\_ACEOF
6384 *) cat >>confdefs.h
<<_ACEOF
6385 #define inline $ac_cv_c_inline
6390 echo "$as_me:$LINENO: checking for off_t" >&5
6391 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6392 if test "${ac_cv_type_off_t+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 cat >conftest.
$ac_ext <<_ACEOF
6396 #line $LINENO "configure"
6397 #include "confdefs.h"
6398 $ac_includes_default
6399 #ifdef F77_DUMMY_MAIN
6403 int F77_DUMMY_MAIN() { return 1; }
6416 rm -f conftest.
$ac_objext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6418 (eval $ac_compile) 2>&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); } &&
6422 { ac_try
='test -s conftest.$ac_objext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_cv_type_off_t
=yes
6430 echo "$as_me: failed program was:" >&5
6431 cat conftest.
$ac_ext >&5
6434 rm -f conftest.
$ac_objext conftest.
$ac_ext
6436 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6437 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6438 if test $ac_cv_type_off_t = yes; then
6442 cat >>confdefs.h
<<_ACEOF
6449 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
6450 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
6451 if test "${ac_cv_gnu_library_2_1+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 cat >conftest.
$ac_ext <<_ACEOF
6455 #line $LINENO "configure"
6456 #include "confdefs.h"
6458 #include <features.h>
6459 #ifdef __GNU_LIBRARY__
6460 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
6466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6467 egrep "Lucky GNU user" >/dev
/null
2>&1; then
6468 ac_cv_gnu_library_2_1
=yes
6470 ac_cv_gnu_library_2_1
=no
6477 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
6478 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
6480 GLIBC21
="$ac_cv_gnu_library_2_1"
6494 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
6495 stdlib.h string.h unistd.h sys
/param.h
6497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6499 echo "$as_me:$LINENO: checking for $ac_header" >&5
6500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6507 # Is the header compilable?
6508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6510 cat >conftest.
$ac_ext <<_ACEOF
6511 #line $LINENO "configure"
6512 #include "confdefs.h"
6513 $ac_includes_default
6514 #include <$ac_header>
6516 rm -f conftest.
$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } &&
6522 { ac_try
='test -s conftest.$ac_objext'
6523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then
6528 ac_header_compiler
=yes
6530 echo "$as_me: failed program was:" >&5
6531 cat conftest.
$ac_ext >&5
6532 ac_header_compiler
=no
6534 rm -f conftest.
$ac_objext conftest.
$ac_ext
6535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6536 echo "${ECHO_T}$ac_header_compiler" >&6
6538 # Is the header present?
6539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6541 cat >conftest.
$ac_ext <<_ACEOF
6542 #line $LINENO "configure"
6543 #include "confdefs.h"
6544 #include <$ac_header>
6546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6549 egrep -v '^ *\+' conftest.er1
>conftest.err
6551 cat conftest.err
>&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } >/dev
/null
; then
6554 if test -s conftest.err
; then
6555 ac_cpp_err
=$ac_c_preproc_warn_flag
6562 if test -z "$ac_cpp_err"; then
6563 ac_header_preproc
=yes
6565 echo "$as_me: failed program was:" >&5
6566 cat conftest.
$ac_ext >&5
6567 ac_header_preproc
=no
6569 rm -f conftest.err conftest.
$ac_ext
6570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6571 echo "${ECHO_T}$ac_header_preproc" >&6
6573 # So? What about this header?
6574 case $ac_header_compiler:$ac_header_preproc in
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6588 echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 eval "$as_ac_Header=$ac_header_preproc"
6595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6600 cat >>confdefs.h
<<_ACEOF
6601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6629 for ac_func
in feof_unlocked fgets_unlocked getcwd getegid geteuid \
6630 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
6631 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
6633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6634 echo "$as_me:$LINENO: checking for $ac_func" >&5
6635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6636 if eval "test \"\${$as_ac_var+set}\" = set"; then
6637 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 cat >conftest.
$ac_ext <<_ACEOF
6640 #line $LINENO "configure"
6641 #include "confdefs.h"
6642 /* System header to define __stub macros and hopefully few prototypes,
6643 which can conflict with char $ac_func (); below. */
6645 /* Override any gcc2 internal prototype to avoid an error. */
6649 /* We use char because int might match the return type of a gcc2
6650 builtin and then its argument prototype would still apply. */
6654 #ifdef F77_DUMMY_MAIN
6658 int F77_DUMMY_MAIN() { return 1; }
6663 /* The GNU C library defines this for functions which it implements
6664 to always fail with ENOSYS. Some functions are actually named
6665 something starting with __ and the normal name is an alias. */
6666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6676 rm -f conftest.
$ac_objext conftest
$ac_exeext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6678 (eval $ac_link) 2>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try
='test -s conftest$ac_exeext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 eval "$as_ac_var=yes"
6690 echo "$as_me: failed program was:" >&5
6691 cat conftest.
$ac_ext >&5
6692 eval "$as_ac_var=no"
6694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6698 if test `eval echo '${'$as_ac_var'}'` = yes; then
6699 cat >>confdefs.h
<<_ACEOF
6700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6710 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6711 if test "${with_libiconv_prefix+set}" = set; then
6712 withval
="$with_libiconv_prefix"
6714 for dir
in `echo "$withval" | tr : ' '`; do
6715 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
6716 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
6721 echo "$as_me:$LINENO: checking for iconv" >&5
6722 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
6723 if test "${am_cv_func_iconv+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 am_cv_func_iconv
="no, consider installing GNU libiconv"
6729 cat >conftest.
$ac_ext <<_ACEOF
6730 #line $LINENO "configure"
6731 #include "confdefs.h"
6734 #ifdef F77_DUMMY_MAIN
6738 int F77_DUMMY_MAIN() { return 1; }
6743 iconv_t cd = iconv_open("","");
6744 iconv(cd,NULL,NULL,NULL,NULL);
6750 rm -f conftest.
$ac_objext conftest
$ac_exeext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6752 (eval $ac_link) 2>&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try
='test -s conftest$ac_exeext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 am_cv_func_iconv
=yes
6764 echo "$as_me: failed program was:" >&5
6765 cat conftest.
$ac_ext >&5
6767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6768 if test "$am_cv_func_iconv" != yes; then
6769 am_save_LIBS
="$LIBS"
6770 LIBS
="$LIBS -liconv"
6771 cat >conftest.
$ac_ext <<_ACEOF
6772 #line $LINENO "configure"
6773 #include "confdefs.h"
6776 #ifdef F77_DUMMY_MAIN
6780 int F77_DUMMY_MAIN() { return 1; }
6785 iconv_t cd = iconv_open("","");
6786 iconv(cd,NULL,NULL,NULL,NULL);
6792 rm -f conftest.
$ac_objext conftest
$ac_exeext
6793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6794 (eval $ac_link) 2>&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); } &&
6798 { ac_try
='test -s conftest$ac_exeext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6805 am_cv_func_iconv
=yes
6807 echo "$as_me: failed program was:" >&5
6808 cat conftest.
$ac_ext >&5
6810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6811 LIBS
="$am_save_LIBS"
6815 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6816 echo "${ECHO_T}$am_cv_func_iconv" >&6
6817 if test "$am_cv_func_iconv" = yes; then
6819 cat >>confdefs.h
<<\_ACEOF
6820 #define HAVE_ICONV 1
6823 echo "$as_me:$LINENO: checking for iconv declaration" >&5
6824 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6825 if test "${am_cv_proto_iconv+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 cat >conftest.
$ac_ext <<_ACEOF
6830 #line $LINENO "configure"
6831 #include "confdefs.h"
6839 #if defined(__STDC__) || defined(__cplusplus)
6840 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6845 #ifdef F77_DUMMY_MAIN
6849 int F77_DUMMY_MAIN() { return 1; }
6859 rm -f conftest.
$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try
='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 am_cv_proto_iconv_arg1
=""
6873 echo "$as_me: failed program was:" >&5
6874 cat conftest.
$ac_ext >&5
6875 am_cv_proto_iconv_arg1
="const"
6877 rm -f conftest.
$ac_objext conftest.
$ac_ext
6878 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
6881 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6882 echo "$as_me:$LINENO: result: ${ac_t:-
6883 }$am_cv_proto_iconv" >&5
6884 echo "${ECHO_T}${ac_t:-
6885 }$am_cv_proto_iconv" >&6
6887 cat >>confdefs.h
<<_ACEOF
6888 #define ICONV_CONST $am_cv_proto_iconv_arg1
6893 if test "$am_cv_lib_iconv" = yes; then
6899 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6900 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6901 if test "${am_cv_langinfo_codeset+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 cat >conftest.
$ac_ext <<_ACEOF
6905 #line $LINENO "configure"
6906 #include "confdefs.h"
6907 #include <langinfo.h>
6908 #ifdef F77_DUMMY_MAIN
6912 int F77_DUMMY_MAIN() { return 1; }
6917 char* cs = nl_langinfo(CODESET);
6922 rm -f conftest.
$ac_objext conftest
$ac_exeext
6923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6924 (eval $ac_link) 2>&5
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); } &&
6928 { ac_try
='test -s conftest$ac_exeext'
6929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); }; }; then
6934 am_cv_langinfo_codeset
=yes
6936 echo "$as_me: failed program was:" >&5
6937 cat conftest.
$ac_ext >&5
6938 am_cv_langinfo_codeset
=no
6940 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6943 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6944 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6945 if test $am_cv_langinfo_codeset = yes; then
6947 cat >>confdefs.h
<<\_ACEOF
6948 #define HAVE_LANGINFO_CODESET 1
6953 if test $ac_cv_header_locale_h = yes; then
6954 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6955 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6956 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6959 cat >conftest.
$ac_ext <<_ACEOF
6960 #line $LINENO "configure"
6961 #include "confdefs.h"
6963 #ifdef F77_DUMMY_MAIN
6967 int F77_DUMMY_MAIN() { return 1; }
6977 rm -f conftest.
$ac_objext conftest
$ac_exeext
6978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6979 (eval $ac_link) 2>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } &&
6983 { ac_try
='test -s conftest$ac_exeext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 am_cv_val_LC_MESSAGES
=yes
6991 echo "$as_me: failed program was:" >&5
6992 cat conftest.
$ac_ext >&5
6993 am_cv_val_LC_MESSAGES
=no
6995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6997 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6998 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6999 if test $am_cv_val_LC_MESSAGES = yes; then
7001 cat >>confdefs.h
<<\_ACEOF
7002 #define HAVE_LC_MESSAGES 1
7007 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7008 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7009 # Check whether --enable-nls or --disable-nls was given.
7010 if test "${enable_nls+set}" = set; then
7011 enableval
="$enable_nls"
7016 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7017 echo "${ECHO_T}$USE_NLS" >&6
7020 BUILD_INCLUDED_LIBINTL
=no
7021 USE_INCLUDED_LIBINTL
=no
7024 if test "$USE_NLS" = "yes"; then
7026 cat >>confdefs.h
<<\_ACEOF
7027 #define ENABLE_NLS 1
7030 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7031 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7033 # Check whether --with-included-gettext or --without-included-gettext was given.
7034 if test "${with_included_gettext+set}" = set; then
7035 withval
="$with_included_gettext"
7036 nls_cv_force_use_gnu_gettext
=$withval
7038 nls_cv_force_use_gnu_gettext
=no
7040 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7041 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7043 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7044 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7050 if test "${ac_cv_header_libintl_h+set}" = set; then
7051 echo "$as_me:$LINENO: checking for libintl.h" >&5
7052 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7053 if test "${ac_cv_header_libintl_h+set}" = set; then
7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7057 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7059 # Is the header compilable?
7060 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7061 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7062 cat >conftest.
$ac_ext <<_ACEOF
7063 #line $LINENO "configure"
7064 #include "confdefs.h"
7065 $ac_includes_default
7066 #include <libintl.h>
7068 rm -f conftest.
$ac_objext
7069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7070 (eval $ac_compile) 2>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } &&
7074 { ac_try
='test -s conftest.$ac_objext'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 ac_header_compiler
=yes
7082 echo "$as_me: failed program was:" >&5
7083 cat conftest.
$ac_ext >&5
7084 ac_header_compiler
=no
7086 rm -f conftest.
$ac_objext conftest.
$ac_ext
7087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7088 echo "${ECHO_T}$ac_header_compiler" >&6
7090 # Is the header present?
7091 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7092 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7093 cat >conftest.
$ac_ext <<_ACEOF
7094 #line $LINENO "configure"
7095 #include "confdefs.h"
7096 #include <libintl.h>
7098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7101 egrep -v '^ *\+' conftest.er1
>conftest.err
7103 cat conftest.err
>&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } >/dev
/null
; then
7106 if test -s conftest.err
; then
7107 ac_cpp_err
=$ac_c_preproc_warn_flag
7114 if test -z "$ac_cpp_err"; then
7115 ac_header_preproc
=yes
7117 echo "$as_me: failed program was:" >&5
7118 cat conftest.
$ac_ext >&5
7119 ac_header_preproc
=no
7121 rm -f conftest.err conftest.
$ac_ext
7122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7123 echo "${ECHO_T}$ac_header_preproc" >&6
7125 # So? What about this header?
7126 case $ac_header_compiler:$ac_header_preproc in
7128 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7129 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7130 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7131 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7133 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7134 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7135 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7136 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7137 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7138 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7140 echo "$as_me:$LINENO: checking for libintl.h" >&5
7141 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7142 if test "${ac_cv_header_libintl_h+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 ac_cv_header_libintl_h
=$ac_header_preproc
7147 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7148 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7151 if test $ac_cv_header_libintl_h = yes; then
7152 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
7153 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7154 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7155 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 cat >conftest.
$ac_ext <<_ACEOF
7158 #line $LINENO "configure"
7159 #include "confdefs.h"
7160 #include <libintl.h>
7161 extern int _nl_msg_cat_cntr;
7162 #ifdef F77_DUMMY_MAIN
7166 int F77_DUMMY_MAIN() { return 1; }
7171 bindtextdomain ("", "");
7172 return (int) gettext ("") + _nl_msg_cat_cntr
7177 rm -f conftest.
$ac_objext conftest
$ac_exeext
7178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7179 (eval $ac_link) 2>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try
='test -s conftest$ac_exeext'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }; }; then
7189 gt_cv_func_gnugettext1_libc
=yes
7191 echo "$as_me: failed program was:" >&5
7192 cat conftest.
$ac_ext >&5
7193 gt_cv_func_gnugettext1_libc
=no
7195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7197 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
7198 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7200 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7201 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
7202 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
7203 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7206 gt_save_LIBS
="$LIBS"
7207 LIBS
="$LIBS -lintl $LIBICONV"
7208 cat >conftest.
$ac_ext <<_ACEOF
7209 #line $LINENO "configure"
7210 #include "confdefs.h"
7211 #include <libintl.h>
7212 extern int _nl_msg_cat_cntr;
7213 #ifdef F77_DUMMY_MAIN
7217 int F77_DUMMY_MAIN() { return 1; }
7222 bindtextdomain ("", "");
7223 return (int) gettext ("") + _nl_msg_cat_cntr
7228 rm -f conftest.
$ac_objext conftest
$ac_exeext
7229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7230 (eval $ac_link) 2>&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); } &&
7234 { ac_try
='test -s conftest$ac_exeext'
7235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; }; then
7240 gt_cv_func_gnugettext1_libintl
=yes
7242 echo "$as_me: failed program was:" >&5
7243 cat conftest.
$ac_ext >&5
7244 gt_cv_func_gnugettext1_libintl
=no
7246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7247 LIBS
="$gt_save_LIBS"
7249 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
7250 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
7253 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
7254 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7255 && test "$PACKAGE" != gettext; }; then
7257 cat >>confdefs.h
<<\_ACEOF
7258 #define HAVE_GETTEXT 1
7262 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7263 INTLLIBS
="-lintl $LIBICONV"
7266 gt_save_LIBS
="$LIBS"
7267 LIBS
="$LIBS $INTLLIBS"
7269 for ac_func
in dcgettext
7271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7272 echo "$as_me:$LINENO: checking for $ac_func" >&5
7273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7274 if eval "test \"\${$as_ac_var+set}\" = set"; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 cat >conftest.
$ac_ext <<_ACEOF
7278 #line $LINENO "configure"
7279 #include "confdefs.h"
7280 /* System header to define __stub macros and hopefully few prototypes,
7281 which can conflict with char $ac_func (); below. */
7283 /* Override any gcc2 internal prototype to avoid an error. */
7287 /* We use char because int might match the return type of a gcc2
7288 builtin and then its argument prototype would still apply. */
7292 #ifdef F77_DUMMY_MAIN
7296 int F77_DUMMY_MAIN() { return 1; }
7301 /* The GNU C library defines this for functions which it implements
7302 to always fail with ENOSYS. Some functions are actually named
7303 something starting with __ and the normal name is an alias. */
7304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7314 rm -f conftest.
$ac_objext conftest
$ac_exeext
7315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7316 (eval $ac_link) 2>&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try
='test -s conftest$ac_exeext'
7321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); }; }; then
7326 eval "$as_ac_var=yes"
7328 echo "$as_me: failed program was:" >&5
7329 cat conftest.
$ac_ext >&5
7330 eval "$as_ac_var=no"
7332 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7336 if test `eval echo '${'$as_ac_var'}'` = yes; then
7337 cat >>confdefs.h
<<_ACEOF
7338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7344 LIBS
="$gt_save_LIBS"
7346 # Extract the first word of "msgfmt", so it can be a program name with args.
7347 set dummy msgfmt
; ac_word
=$2
7348 echo "$as_me:$LINENO: checking for $ac_word" >&5
7349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7350 if test "${ac_cv_path_MSGFMT+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7358 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7359 for ac_dir
in $PATH; do
7360 test -z "$ac_dir" && ac_dir
=.
7361 if test -f $ac_dir/$ac_word; then
7362 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
7363 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7369 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7373 MSGFMT
="$ac_cv_path_MSGFMT"
7374 if test "$MSGFMT" != ":"; then
7375 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7376 echo "${ECHO_T}$MSGFMT" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7382 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7383 set dummy gmsgfmt
; ac_word
=$2
7384 echo "$as_me:$LINENO: checking for $ac_word" >&5
7385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7386 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7398 test -z "$as_dir" && as_dir
=.
7399 for ac_exec_ext
in '' $ac_executable_extensions; do
7400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7412 GMSGFMT
=$ac_cv_path_GMSGFMT
7414 if test -n "$GMSGFMT"; then
7415 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7416 echo "${ECHO_T}$GMSGFMT" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7423 # Extract the first word of "xgettext", so it can be a program name with args.
7424 set dummy xgettext
; ac_word
=$2
7425 echo "$as_me:$LINENO: checking for $ac_word" >&5
7426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7427 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7435 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7436 for ac_dir
in $PATH; do
7437 test -z "$ac_dir" && ac_dir
=.
7438 if test -f $ac_dir/$ac_word; then
7439 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
7440 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7446 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7450 XGETTEXT
="$ac_cv_path_XGETTEXT"
7451 if test "$XGETTEXT" != ":"; then
7452 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7453 echo "${ECHO_T}$XGETTEXT" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7467 if test "$CATOBJEXT" = "NONE"; then
7468 nls_cv_use_gnu_gettext
=yes
7472 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7473 INTLOBJS
="\$(GETTOBJS)"
7474 # Extract the first word of "msgfmt", so it can be a program name with args.
7475 set dummy msgfmt
; ac_word
=$2
7476 echo "$as_me:$LINENO: checking for $ac_word" >&5
7477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7478 if test "${ac_cv_path_MSGFMT+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7487 for ac_dir
in $PATH; do
7488 test -z "$ac_dir" && ac_dir
=.
7489 if test -f $ac_dir/$ac_word; then
7490 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1; then
7491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7501 MSGFMT
="$ac_cv_path_MSGFMT"
7502 if test "$MSGFMT" != ":"; then
7503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7504 echo "${ECHO_T}$MSGFMT" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7511 set dummy gmsgfmt
; ac_word
=$2
7512 echo "$as_me:$LINENO: checking for $ac_word" >&5
7513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7514 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir
=.
7527 for ac_exec_ext
in '' $ac_executable_extensions; do
7528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7529 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7536 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7540 GMSGFMT
=$ac_cv_path_GMSGFMT
7542 if test -n "$GMSGFMT"; then
7543 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7544 echo "${ECHO_T}$GMSGFMT" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7550 # Extract the first word of "xgettext", so it can be a program name with args.
7551 set dummy xgettext
; ac_word
=$2
7552 echo "$as_me:$LINENO: checking for $ac_word" >&5
7553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7554 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7563 for ac_dir
in $PATH; do
7564 test -z "$ac_dir" && ac_dir
=.
7565 if test -f $ac_dir/$ac_word; then
7566 if $ac_dir/$ac_word --omit-header /dev
/null
>/dev
/null
2>&1; then
7567 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7573 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7577 XGETTEXT
="$ac_cv_path_XGETTEXT"
7578 if test "$XGETTEXT" != ":"; then
7579 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7580 echo "${ECHO_T}$XGETTEXT" >&6
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7587 BUILD_INCLUDED_LIBINTL
=yes
7588 USE_INCLUDED_LIBINTL
=yes
7590 INTLLIBS
="\$(top_builddir)/intl/libintl.a $LIBICONV"
7591 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7594 if test "$GMSGFMT" != ":"; then
7595 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1; then
7598 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
7599 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
7604 if test "$XGETTEXT" != ":"; then
7605 if $XGETTEXT --omit-header /dev
/null
>/dev
/null
2>&1; then
7608 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7609 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7616 ac_config_commands
="$ac_config_commands default-2"
7620 if test "$PACKAGE" = gettext; then
7621 BUILD_INCLUDED_LIBINTL
=yes
7624 for ac_prog
in bison
7626 # Extract the first word of "$ac_prog", so it can be a program name with args.
7627 set dummy
$ac_prog; ac_word
=$2
7628 echo "$as_me:$LINENO: checking for $ac_word" >&5
7629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7630 if test "${ac_cv_prog_INTLBISON+set}" = set; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 if test -n "$INTLBISON"; then
7634 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
7636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir
=.
7641 for ac_exec_ext
in '' $ac_executable_extensions; do
7642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_INTLBISON
="$ac_prog"
7644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 INTLBISON
=$ac_cv_prog_INTLBISON
7653 if test -n "$INTLBISON"; then
7654 echo "$as_me:$LINENO: result: $INTLBISON" >&5
7655 echo "${ECHO_T}$INTLBISON" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7661 test -n "$INTLBISON" && break
7664 if test -z "$INTLBISON"; then
7667 echo "$as_me:$LINENO: checking version of bison" >&5
7668 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
7669 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7670 case $ac_prog_version in
7671 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
7672 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
7673 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
7674 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
7676 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
7677 echo "${ECHO_T}$ac_prog_version" >&6
7679 if test $ac_verc_fail = yes; then
7683 for lang
in $ALL_LINGUAS; do
7684 GMOFILES
="$GMOFILES $lang.gmo"
7685 POFILES
="$POFILES $lang.po"
7699 nls_cv_header_libgt
=
7711 if test "x$CATOBJEXT" != "x"; then
7712 if test "x$ALL_LINGUAS" = "x"; then
7715 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7716 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7718 for presentlang
in $ALL_LINGUAS; do
7720 for desiredlang
in ${LINGUAS-$ALL_LINGUAS}; do
7721 # Use the presentlang catalog if desiredlang is
7722 # a. equal to presentlang, or
7723 # b. a variant of presentlang (because in this case,
7724 # presentlang can be used as a fallback for messages
7725 # which are not translated in the desiredlang catalog).
7726 case "$desiredlang" in
7727 "$presentlang"*) useit
=yes;;
7730 if test $useit = yes; then
7731 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
7734 LINGUAS
=$NEW_LINGUAS
7735 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7736 echo "${ECHO_T}$LINGUAS" >&6
7739 if test -n "$LINGUAS"; then
7740 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7745 if test -n "$ac_aux_dir"; then
7746 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
7748 if test -z "$MKINSTALLDIRS"; then
7749 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7753 INTL_LIBTOOL_SUFFIX_PREFIX
=
7758 echo "$as_me:$LINENO: checking for dos file convention" >&5
7759 echo $ECHO_N "checking for dos file convention... $ECHO_C" >&6
7760 if test "${ac_cv_dosfile+set}" = set; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 if test -d ".\."; then
7770 echo "$as_me:$LINENO: result: $ac_cv_dosfile" >&5
7771 echo "${ECHO_T}$ac_cv_dosfile" >&6
7773 if test $ac_cv_dosfile = yes; then
7775 cat >>confdefs.h
<<\_ACEOF
7776 #define HAVE_DOS_FILE_NAMES 1
7780 cat >>confdefs.h
<<\_ACEOF
7781 #define HAVE_DOS_FILE_CONTENTS 1
7788 *cygwin
* ) CYGWIN
=yes;;
7793 *mingw32
* ) MINGW32
=yes;;
7797 echo "$as_me:$LINENO: checking for DJGPP environment" >&5
7798 echo $ECHO_N "checking for DJGPP environment... $ECHO_C" >&6
7799 if test "${ac_cv_djgpp+set}" = set; then
7800 echo $ECHO_N "(cached) $ECHO_C" >&6
7802 cat >conftest.
$ac_ext <<_ACEOF
7803 #line $LINENO "configure"
7804 #include "confdefs.h"
7806 #ifdef F77_DUMMY_MAIN
7810 int F77_DUMMY_MAIN() { return 1; }
7820 rm -f conftest.
$ac_objext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7822 (eval $ac_compile) 2>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try
='test -s conftest.$ac_objext'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7834 echo "$as_me: failed program was:" >&5
7835 cat conftest.
$ac_ext >&5
7838 rm -f conftest.
$ac_objext conftest.
$ac_ext
7841 echo "$as_me:$LINENO: result: $ac_cv_djgpp" >&5
7842 echo "${ECHO_T}$ac_cv_djgpp" >&6
7844 test "$ac_cv_djgpp" = yes && DJ_GPP
=yes
7848 echo "$as_me:$LINENO: checking for environ variable separator" >&5
7849 echo $ECHO_N "checking for environ variable separator... $ECHO_C" >&6
7850 if test "${ac_cv_sep+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes ||
test "$DJ_GPP" = yes ; then
7861 test x
"$ac_cv_sep" = xyes
&& SEP
=";"
7862 echo "$as_me:$LINENO: result: ${SEP}" >&5
7863 echo "${ECHO_T}${SEP}" >&6
7872 # Assume we'll default to using the included regex.c.
7873 ac_use_included_regex
=yes
7875 # However, if the system regex support is good enough that it passes the
7876 # the following run test, then default to *not* using the included regex.c.
7877 # If cross compiling, assume the test would fail and use the included
7878 # regex.c. The first failing regular expression is from `Spencer ere
7879 # test #75' in grep-2.3.
7880 echo "$as_me:$LINENO: checking for working re_compile_pattern" >&5
7881 echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6
7882 if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 if test "$cross_compiling" = yes; then
7886 jm_cv_func_working_re_compile_pattern
=no
7888 cat >conftest.
$ac_ext <<_ACEOF
7889 #line $LINENO "configure"
7890 #include "confdefs.h"
7897 static struct re_pattern_buffer regex;
7899 re_set_syntax (RE_SYNTAX_POSIX_EGREP);
7900 /* Add this third left square bracket, , to balance the
7901 three right ones below. Otherwise autoconf-2.14 chokes. */
7902 s = re_compile_pattern ("a[[:]:]b\n", 9, ®ex);
7903 /* This should fail with _Invalid character class name_ error. */
7907 /* This should succeed, but doesn't for e.g. glibc-2.1.3. */
7908 s = re_compile_pattern ("{1", 2, ®ex);
7914 rm -f conftest
$ac_exeext
7915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7916 (eval $ac_link) 2>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7926 jm_cv_func_working_re_compile_pattern
=yes
7928 echo "$as_me: program exited with status $ac_status" >&5
7929 echo "$as_me: failed program was:" >&5
7930 cat conftest.
$ac_ext >&5
7932 jm_cv_func_working_re_compile_pattern
=no
7934 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7937 echo "$as_me:$LINENO: result: $jm_cv_func_working_re_compile_pattern" >&5
7938 echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6
7939 if test $jm_cv_func_working_re_compile_pattern = yes; then
7940 ac_use_included_regex
=no
7943 test -n "lib/regex.c" ||
{ { echo "$as_me:$LINENO: error: missing argument" >&5
7944 echo "$as_me: error: missing argument" >&2;}
7945 { (exit 1); exit 1; }; }
7950 # Check whether --with-included-regex or --without-included-regex was given.
7951 if test "${with_included_regex+set}" = set; then
7952 withval
="$with_included_regex"
7953 jm_with_regex
=$withval
7955 jm_with_regex
=$ac_use_included_regex
7957 if test "$jm_with_regex" = yes; then
7958 LIBOBJS
="$LIBOBJS regex.$ac_objext"
7964 echo "$as_me:$LINENO: checking for getopt_long" >&5
7965 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
7966 if test "${ac_cv_func_getopt_long+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 cat >conftest.
$ac_ext <<_ACEOF
7970 #line $LINENO "configure"
7971 #include "confdefs.h"
7972 /* System header to define __stub macros and hopefully few prototypes,
7973 which can conflict with char getopt_long (); below. */
7975 /* Override any gcc2 internal prototype to avoid an error. */
7979 /* We use char because int might match the return type of a gcc2
7980 builtin and then its argument prototype would still apply. */
7981 char getopt_long ();
7984 #ifdef F77_DUMMY_MAIN
7988 int F77_DUMMY_MAIN() { return 1; }
7993 /* The GNU C library defines this for functions which it implements
7994 to always fail with ENOSYS. Some functions are actually named
7995 something starting with __ and the normal name is an alias. */
7996 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
8006 rm -f conftest.
$ac_objext conftest
$ac_exeext
8007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8008 (eval $ac_link) 2>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } &&
8012 { ac_try
='test -s conftest$ac_exeext'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; }; then
8018 ac_cv_func_getopt_long
=yes
8020 echo "$as_me: failed program was:" >&5
8021 cat conftest.
$ac_ext >&5
8022 ac_cv_func_getopt_long
=no
8024 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8026 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
8027 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
8028 if test $ac_cv_func_getopt_long = yes; then
8031 # Check whether --with-included-getopt or --without-included-getopt was given.
8032 if test "${with_included_getopt+set}" = set; then
8033 withval
="$with_included_getopt"
8034 with_getopt
=$withval
8038 if test "x$with_getopt" = xyes
; then
8039 LIBOBJS
="$LIBOBJS getopt.$ac_objext"
8040 LIBOBJS
="$LIBOBJS getopt1.$ac_objext"
8045 LIBOBJS
="$LIBOBJS getopt.$ac_objext"
8046 LIBOBJS
="$LIBOBJS getopt1.$ac_objext"
8051 if test "$jm_with_regex" = no
; then
8052 { echo "$as_me:$LINENO: WARNING: Included lib/regex.c not used" >&5
8053 echo "$as_me: WARNING: Included lib/regex.c not used" >&2;}
8057 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
8058 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
8059 if test "${jm_cv_func_decl_strerror_r+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 cat >conftest.
$ac_ext <<_ACEOF
8063 #line $LINENO "configure"
8064 #include "confdefs.h"
8066 #ifdef F77_DUMMY_MAIN
8070 int F77_DUMMY_MAIN() { return 1; }
8077 char *(*pfn) = (char *(*)) strerror_r
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 eval "jm_cv_func_decl_strerror_r=yes"
8098 echo "$as_me: failed program was:" >&5
8099 cat conftest.
$ac_ext >&5
8100 eval "jm_cv_func_decl_strerror_r=no"
8102 rm -f conftest.
$ac_objext conftest.
$ac_ext
8106 if eval "test \"`echo '$jm_cv_func_decl_'strerror_r`\" = yes"; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8115 test $jm_cv_func_decl_strerror_r != yes
8117 cat >>confdefs.h
<<_ACEOF
8118 #define HAVE_DECL_STRERROR_R $?
8122 for ac_func
in strerror_r
8124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8125 echo "$as_me:$LINENO: checking for $ac_func" >&5
8126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8127 if eval "test \"\${$as_ac_var+set}\" = set"; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 cat >conftest.
$ac_ext <<_ACEOF
8131 #line $LINENO "configure"
8132 #include "confdefs.h"
8133 /* System header to define __stub macros and hopefully few prototypes,
8134 which can conflict with char $ac_func (); below. */
8136 /* Override any gcc2 internal prototype to avoid an error. */
8140 /* We use char because int might match the return type of a gcc2
8141 builtin and then its argument prototype would still apply. */
8145 #ifdef F77_DUMMY_MAIN
8149 int F77_DUMMY_MAIN() { return 1; }
8154 /* The GNU C library defines this for functions which it implements
8155 to always fail with ENOSYS. Some functions are actually named
8156 something starting with __ and the normal name is an alias. */
8157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8167 rm -f conftest.
$ac_objext conftest
$ac_exeext
8168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8169 (eval $ac_link) 2>&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try
='test -s conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 eval "$as_ac_var=yes"
8181 echo "$as_me: failed program was:" >&5
8182 cat conftest.
$ac_ext >&5
8183 eval "$as_ac_var=no"
8185 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8189 if test `eval echo '${'$as_ac_var'}'` = yes; then
8190 cat >>confdefs.h
<<_ACEOF
8191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8197 if test $ac_cv_func_strerror_r = yes; then
8199 for ac_header
in string.h
8201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8203 echo "$as_me:$LINENO: checking for $ac_header" >&5
8204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8206 echo $ECHO_N "(cached) $ECHO_C" >&6
8208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8211 # Is the header compilable?
8212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8214 cat >conftest.
$ac_ext <<_ACEOF
8215 #line $LINENO "configure"
8216 #include "confdefs.h"
8217 $ac_includes_default
8218 #include <$ac_header>
8220 rm -f conftest.
$ac_objext
8221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8222 (eval $ac_compile) 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try
='test -s conftest.$ac_objext'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; }; then
8232 ac_header_compiler
=yes
8234 echo "$as_me: failed program was:" >&5
8235 cat conftest.
$ac_ext >&5
8236 ac_header_compiler
=no
8238 rm -f conftest.
$ac_objext conftest.
$ac_ext
8239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8240 echo "${ECHO_T}$ac_header_compiler" >&6
8242 # Is the header present?
8243 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8245 cat >conftest.
$ac_ext <<_ACEOF
8246 #line $LINENO "configure"
8247 #include "confdefs.h"
8248 #include <$ac_header>
8250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8253 egrep -v '^ *\+' conftest.er1
>conftest.err
8255 cat conftest.err
>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); } >/dev
/null
; then
8258 if test -s conftest.err
; then
8259 ac_cpp_err
=$ac_c_preproc_warn_flag
8266 if test -z "$ac_cpp_err"; then
8267 ac_header_preproc
=yes
8269 echo "$as_me: failed program was:" >&5
8270 cat conftest.
$ac_ext >&5
8271 ac_header_preproc
=no
8273 rm -f conftest.err conftest.
$ac_ext
8274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8275 echo "${ECHO_T}$ac_header_preproc" >&6
8277 # So? What about this header?
8278 case $ac_header_compiler:$ac_header_preproc in
8280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8292 echo "$as_me:$LINENO: checking for $ac_header" >&5
8293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8295 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 eval "$as_ac_Header=$ac_header_preproc"
8299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8304 cat >>confdefs.h
<<_ACEOF
8305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8312 echo "$as_me:$LINENO: checking for working strerror_r" >&5
8313 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
8314 if test "${ac_cv_func_strerror_r_works+set}" = set; then
8315 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 cat >conftest.
$ac_ext <<_ACEOF
8319 #line $LINENO "configure"
8320 #include "confdefs.h"
8324 # include <string.h>
8327 #ifdef F77_DUMMY_MAIN
8331 int F77_DUMMY_MAIN() { return 1; }
8338 char x = *strerror_r (0, buf, sizeof buf);
8344 rm -f conftest.
$ac_objext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8346 (eval $ac_compile) 2>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } &&
8350 { ac_try
='test -s conftest.$ac_objext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_cv_func_strerror_r_works
=yes
8358 echo "$as_me: failed program was:" >&5
8359 cat conftest.
$ac_ext >&5
8360 ac_cv_func_strerror_r_works
=no
8363 rm -f conftest.
$ac_objext conftest.
$ac_ext
8364 if test $ac_cv_func_strerror_r_works = no
; then
8365 # strerror_r seems not to work, but now we have to choose between
8366 # systems that have relatively inaccessible declarations for the
8367 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
8368 # former has a strerror_r that returns char*, while the latter
8369 # has a strerror_r that returns int.
8370 # This test should segfault on the DEC system.
8371 if test "$cross_compiling" = yes; then
8372 ac_cv_func_strerror_r_works
=no
8374 cat >conftest.
$ac_ext <<_ACEOF
8375 #line $LINENO "configure"
8376 #include "confdefs.h"
8379 # include <string.h>
8382 extern char *strerror_r ();
8388 char x = *strerror_r (0, buf, sizeof buf);
8389 exit (!isalpha (x));
8393 rm -f conftest
$ac_exeext
8394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8395 (eval $ac_link) 2>&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; }; then
8404 ac_cv_func_strerror_r_works
=yes
8406 echo "$as_me: program exited with status $ac_status" >&5
8407 echo "$as_me: failed program was:" >&5
8408 cat conftest.
$ac_ext >&5
8410 ac_cv_func_strerror_r_works
=no
8412 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8417 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_works" >&5
8418 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
8419 if test $ac_cv_func_strerror_r_works = yes; then
8421 cat >>confdefs.h
<<_ACEOF
8422 #define HAVE_WORKING_STRERROR_R 1
8433 for ac_func
in strerror strerror_r vprintf doprnt
8435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8436 echo "$as_me:$LINENO: checking for $ac_func" >&5
8437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8438 if eval "test \"\${$as_ac_var+set}\" = set"; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 cat >conftest.
$ac_ext <<_ACEOF
8442 #line $LINENO "configure"
8443 #include "confdefs.h"
8444 /* System header to define __stub macros and hopefully few prototypes,
8445 which can conflict with char $ac_func (); below. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8456 #ifdef F77_DUMMY_MAIN
8460 int F77_DUMMY_MAIN() { return 1; }
8465 /* The GNU C library defines this for functions which it implements
8466 to always fail with ENOSYS. Some functions are actually named
8467 something starting with __ and the normal name is an alias. */
8468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8478 rm -f conftest.
$ac_objext conftest
$ac_exeext
8479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8480 (eval $ac_link) 2>&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); } &&
8484 { ac_try
='test -s conftest$ac_exeext'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; }; then
8490 eval "$as_ac_var=yes"
8492 echo "$as_me: failed program was:" >&5
8493 cat conftest.
$ac_ext >&5
8494 eval "$as_ac_var=no"
8496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8500 if test `eval echo '${'$as_ac_var'}'` = yes; then
8501 cat >>confdefs.h
<<_ACEOF
8502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8508 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8509 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8510 if test "${ac_cv_header_stdc+set}" = set; then
8511 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 cat >conftest.
$ac_ext <<_ACEOF
8514 #line $LINENO "configure"
8515 #include "confdefs.h"
8522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8525 egrep -v '^ *\+' conftest.er1
>conftest.err
8527 cat conftest.err
>&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } >/dev
/null
; then
8530 if test -s conftest.err
; then
8531 ac_cpp_err
=$ac_c_preproc_warn_flag
8538 if test -z "$ac_cpp_err"; then
8539 ac_cv_header_stdc
=yes
8541 echo "$as_me: failed program was:" >&5
8542 cat conftest.
$ac_ext >&5
8543 ac_cv_header_stdc
=no
8545 rm -f conftest.err conftest.
$ac_ext
8547 if test $ac_cv_header_stdc = yes; then
8548 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8549 cat >conftest.
$ac_ext <<_ACEOF
8550 #line $LINENO "configure"
8551 #include "confdefs.h"
8555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8556 egrep "memchr" >/dev
/null
2>&1; then
8559 ac_cv_header_stdc
=no
8565 if test $ac_cv_header_stdc = yes; then
8566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8567 cat >conftest.
$ac_ext <<_ACEOF
8568 #line $LINENO "configure"
8569 #include "confdefs.h"
8573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8574 egrep "free" >/dev
/null
2>&1; then
8577 ac_cv_header_stdc
=no
8583 if test $ac_cv_header_stdc = yes; then
8584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8585 if test "$cross_compiling" = yes; then
8588 cat >conftest.
$ac_ext <<_ACEOF
8589 #line $LINENO "configure"
8590 #include "confdefs.h"
8592 #if ((' ' & 0x0FF) == 0x020)
8593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8596 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
8597 || ('j' <= (c) && (c) <= 'r') \
8598 || ('s' <= (c) && (c) <= 'z'))
8599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8607 for (i = 0; i < 256; i++)
8608 if (XOR (islower (i), ISLOWER (i))
8609 || toupper (i) != TOUPPER (i))
8614 rm -f conftest
$ac_exeext
8615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8616 (eval $ac_link) 2>&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; }; then
8627 echo "$as_me: program exited with status $ac_status" >&5
8628 echo "$as_me: failed program was:" >&5
8629 cat conftest.
$ac_ext >&5
8631 ac_cv_header_stdc
=no
8633 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8637 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8638 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8639 if test $ac_cv_header_stdc = yes; then
8641 cat >>confdefs.h
<<\_ACEOF
8642 #define STDC_HEADERS 1
8651 cat >>confdefs.h
<<_ACEOF
8652 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
8656 echo "$as_me:$LINENO: checking for working malloc" >&5
8657 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
8658 if test "${jm_cv_func_working_malloc+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 if test "$cross_compiling" = yes; then
8662 jm_cv_func_working_malloc
=no
8664 cat >conftest.
$ac_ext <<_ACEOF
8665 #line $LINENO "configure"
8666 #include "confdefs.h"
8672 exit (malloc (0) ? 0 : 1);
8676 rm -f conftest
$ac_exeext
8677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8678 (eval $ac_link) 2>&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 jm_cv_func_working_malloc
=yes
8689 echo "$as_me: program exited with status $ac_status" >&5
8690 echo "$as_me: failed program was:" >&5
8691 cat conftest.
$ac_ext >&5
8693 jm_cv_func_working_malloc
=no
8695 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8699 echo "$as_me:$LINENO: result: $jm_cv_func_working_malloc" >&5
8700 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
8701 if test $jm_cv_func_working_malloc = no
; then
8702 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
8704 cat >>confdefs.h
<<_ACEOF
8705 #define malloc rpl_malloc
8712 cat >>confdefs.h
<<_ACEOF
8713 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
8717 echo "$as_me:$LINENO: checking for working realloc" >&5
8718 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
8719 if test "${jm_cv_func_working_realloc+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 if test "$cross_compiling" = yes; then
8723 jm_cv_func_working_realloc
=no
8725 cat >conftest.
$ac_ext <<_ACEOF
8726 #line $LINENO "configure"
8727 #include "confdefs.h"
8733 exit (realloc (0, 0) ? 0 : 1);
8737 rm -f conftest
$ac_exeext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8739 (eval $ac_link) 2>&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 jm_cv_func_working_realloc
=yes
8750 echo "$as_me: program exited with status $ac_status" >&5
8751 echo "$as_me: failed program was:" >&5
8752 cat conftest.
$ac_ext >&5
8754 jm_cv_func_working_realloc
=no
8756 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8760 echo "$as_me:$LINENO: result: $jm_cv_func_working_realloc" >&5
8761 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
8762 if test $jm_cv_func_working_realloc = no
; then
8763 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
8765 cat >>confdefs.h
<<_ACEOF
8766 #define realloc rpl_realloc
8773 if test x
"$testpcre" = x
"yes"; then
8774 if pcre-config
--cflags >/dev
/null
2>&1; then
8775 CFLAGS
="$CFLAGS `pcre-config --cflags`"
8776 LIBS
="$LIBS `pcre-config --libs`"
8779 echo "$as_me:$LINENO: checking for pcre_exec in -lpcre" >&5
8780 echo $ECHO_N "checking for pcre_exec in -lpcre... $ECHO_C" >&6
8781 if test "${ac_cv_lib_pcre_pcre_exec+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 ac_check_lib_save_LIBS
=$LIBS
8786 cat >conftest.
$ac_ext <<_ACEOF
8787 #line $LINENO "configure"
8788 #include "confdefs.h"
8790 /* Override any gcc2 internal prototype to avoid an error. */
8794 /* We use char because int might match the return type of a gcc2
8795 builtin and then its argument prototype would still apply. */
8797 #ifdef F77_DUMMY_MAIN
8801 int F77_DUMMY_MAIN() { return 1; }
8811 rm -f conftest.
$ac_objext conftest
$ac_exeext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8813 (eval $ac_link) 2>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } &&
8817 { ac_try
='test -s conftest$ac_exeext'
8818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; }; then
8823 ac_cv_lib_pcre_pcre_exec
=yes
8825 echo "$as_me: failed program was:" >&5
8826 cat conftest.
$ac_ext >&5
8827 ac_cv_lib_pcre_pcre_exec
=no
8829 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8830 LIBS
=$ac_check_lib_save_LIBS
8832 echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_exec" >&5
8833 echo "${ECHO_T}$ac_cv_lib_pcre_pcre_exec" >&6
8834 if test $ac_cv_lib_pcre_pcre_exec = yes; then
8835 cat >>confdefs.h
<<_ACEOF
8836 #define HAVE_LIBPCRE 1
8845 ac_config_files
="$ac_config_files Makefile lib/Makefile lib/posix/Makefile src/Makefile tests/Makefile po/Makefile.in intl/Makefile doc/Makefile m4/Makefile vms/Makefile bootstrap/Makefile"
8846 ac_config_commands
="$ac_config_commands default"
8847 cat >confcache
<<\_ACEOF
8848 # This file is a shell script that caches the results of configure
8849 # tests run on this system so they can be shared between configure
8850 # scripts and configure runs, see configure's option --config-cache.
8851 # It is not useful on other systems. If it contains results you don't
8852 # want to keep, you may remove or edit it.
8854 # config.status only pays attention to the cache file if you give it
8855 # the --recheck option to rerun configure.
8857 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8858 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8863 # The following way of writing the cache mishandles newlines in values,
8864 # but we know of no workaround that is simple, portable, and efficient.
8865 # So, don't put newlines in cache variables' values.
8866 # Ultrix sh set writes to stderr and can't be redirected directly,
8867 # and sets the high bit in the cache file unless we assign to the vars.
8870 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8872 # `set' does not quote correctly, so add quotes (double-quote
8873 # substitution turns \\\\ into \\, and sed turns \\ into \).
8876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8879 # `set' quotes correctly as required by POSIX, so do not add quotes.
8881 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8890 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8892 if cmp -s $cache_file confcache
; then :; else
8893 if test -w $cache_file; then
8894 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8895 cat confcache
>$cache_file
8897 echo "not updating unwritable cache $cache_file"
8902 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8903 # Let make expand exec_prefix.
8904 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8906 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8907 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8908 # trailing colons and then remove the whole line if VPATH becomes empty
8909 # (actually we leave an empty line to preserve line numbers).
8910 if test "x$srcdir" = x.
; then
8911 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8912 s/:*\$(srcdir):*/:/;
8913 s/:*\${srcdir}:*/:/;
8915 s/^\([^=]*=[ ]*\):*/\1/;
8921 DEFS
=-DHAVE_CONFIG_H
8924 : ${CONFIG_STATUS=./config.status}
8925 ac_clean_files_save
=$ac_clean_files
8926 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8927 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8928 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8929 cat >$CONFIG_STATUS <<_ACEOF
8931 # Generated by $as_me.
8932 # Run this file to recreate the current configuration.
8933 # Compiler output produced by configure, useful for debugging
8934 # configure, is in config.log if it exists.
8937 SHELL=\${CONFIG_SHELL-$SHELL}
8940 cat >>$CONFIG_STATUS <<\_ACEOF
8942 ## --------------------- ##
8943 ## M4sh Initialization. ##
8944 ## --------------------- ##
8946 # Be Bourne compatible
8947 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8950 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8955 # Support unset when possible.
8956 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
8962 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
8963 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
8964 { LANG
=C
; export LANG
; }
8965 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
8966 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
8967 { LC_ALL
=C
; export LC_ALL
; }
8968 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
8969 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
8970 { LC_TIME
=C
; export LC_TIME
; }
8971 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8972 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
8973 { LC_CTYPE
=C
; export LC_CTYPE
; }
8974 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8975 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
8976 { LANGUAGE
=C
; export LANGUAGE
; }
8977 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8978 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
8979 { LC_COLLATE
=C
; export LC_COLLATE
; }
8980 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8981 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
8982 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
8983 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8984 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
8985 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
8988 # Name of the executable.
8989 as_me
=`(basename "$0") 2>/dev/null ||
8990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8991 X"$0" : 'X\(//\)$' \| \
8992 X"$0" : 'X\(/\)$' \| \
8993 . : '\(.\)' 2>/dev/null ||
8995 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8996 /^X\/\(\/\/\)$/{ s//\1/; q; }
8997 /^X\/\(\/\).*/{ s//\1/; q; }
9000 # PATH needs CR, and LINENO needs CR and PATH.
9001 # Avoid depending upon Character Ranges.
9002 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9003 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9004 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9005 as_cr_digits
='0123456789'
9006 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9008 # The user is always right.
9009 if test "${PATH_SEPARATOR+set}" != set; then
9010 echo "#! /bin/sh" >conftest.sh
9011 echo "exit 0" >>conftest.sh
9012 chmod +x conftest.sh
9013 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
9024 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9025 test "x$as_lineno_1" != "x$as_lineno_2" &&
9026 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9027 # Find who we are. Look in the path if we contain no path at all
9030 *[\\/]* ) as_myself
=$0 ;;
9031 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9035 test -z "$as_dir" && as_dir
=.
9036 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9041 # We did not find ourselves, most probably we were run as `sh COMMAND'
9042 # in which case we are not to be found in the path.
9043 if test "x$as_myself" = x
; then
9046 if test ! -f "$as_myself"; then
9047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9049 { (exit 1); exit 1; }; }
9051 case $CONFIG_SHELL in
9053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9054 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9057 test -z "$as_dir" && as_dir
=.
9058 for as_base
in sh bash ksh sh5
; do
9061 if ("$as_dir/$as_base" -c '
9064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9065 test "x$as_lineno_1" != "x$as_lineno_2" &&
9066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9067 CONFIG_SHELL
=$as_dir/$as_base
9069 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9078 # uniformly replaced by the line number. The first 'sed' inserts a
9079 # line-number line before each line; the second 'sed' does the real
9080 # work. The second script uses 'N' to pair each line-number line
9081 # with the numbered line, and appends trailing '-' during
9082 # substitution so that $LINENO is not a special case at line end.
9083 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9084 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9085 sed '=' <$as_myself |
9090 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9093 s,^['$as_cr_digits']*\n,,
9095 chmod +x
$as_me.lineno ||
9096 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9097 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9098 { (exit 1); exit 1; }; }
9100 # Don't try to exec as it changes $[0], causing all sort of problems
9101 # (the dirname of $[0] is not the place where we might find the
9102 # original and so on. Autoconf is especially sensible to this).
9104 # Exit status is that of the last command.
9109 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9110 *c
*,-n*) ECHO_N
= ECHO_C
='
9112 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9113 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9116 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9122 rm -f conf$$ conf$$.exe conf$$.
file
9124 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9125 # We could just check for DJGPP; but this test a) works b) is more generic
9126 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9127 if test -f conf$$.exe
; then
9128 # Don't use ln at all; we don't have any links
9133 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9138 rm -f conf$$ conf$$.exe conf$$.
file
9140 as_executable_p
="test -f"
9142 # Sed expression to map a string onto a valid CPP name.
9143 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9145 # Sed expression to map a string onto a valid variable name.
9146 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9150 # We need space, tab and new line, in precisely that order.
9156 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
9160 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9161 # report actual input values of CONFIG_FILES etc. instead of their
9162 # values after options handling. Logging --version etc. is OK.
9166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9167 ## Running $as_me. ##
9172 This file was extended by $as_me, which was
9173 generated by GNU Autoconf 2.53. Invocation command line was
9175 CONFIG_FILES = $CONFIG_FILES
9176 CONFIG_HEADERS = $CONFIG_HEADERS
9177 CONFIG_LINKS = $CONFIG_LINKS
9178 CONFIG_COMMANDS = $CONFIG_COMMANDS
9182 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9186 # Files that config.status was made for.
9187 if test -n "$ac_config_files"; then
9188 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9191 if test -n "$ac_config_headers"; then
9192 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9195 if test -n "$ac_config_links"; then
9196 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9199 if test -n "$ac_config_commands"; then
9200 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9203 cat >>$CONFIG_STATUS <<\_ACEOF
9206 \`$as_me' instantiates files from templates according to the
9207 current configuration.
9209 Usage: $0 [OPTIONS] [FILE]...
9211 -h, --help print this help, then exit
9212 -V, --version print version number, then exit
9213 -d, --debug don't remove temporary files
9214 --recheck update $as_me by reconfiguring in the same conditions
9215 --file=FILE[:TEMPLATE]
9216 instantiate the configuration file FILE
9217 --header=FILE[:TEMPLATE]
9218 instantiate the configuration header FILE
9220 Configuration files:
9223 Configuration headers:
9226 Configuration commands:
9229 Report bugs to <bug-autoconf@gnu.org>."
9232 cat >>$CONFIG_STATUS <<_ACEOF
9235 configured by $0, generated by GNU Autoconf 2.53,
9236 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9238 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9239 Free Software Foundation, Inc.
9240 This config.status script is free software; the Free Software Foundation
9241 gives unlimited permission to copy, distribute and modify it."
9246 cat >>$CONFIG_STATUS <<\_ACEOF
9247 # If no file are specified by the user, then we need to provide default
9248 # value. By we need to know if files were specified by the user.
9254 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9255 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9257 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
9261 *) # This is not an option, so the user has probably given explicit
9263 ac_need_defaults
=false
;;
9267 # Handling of the options.
9269 cat >>$CONFIG_STATUS <<_ACEOF
9270 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9271 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9272 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
9274 cat >>$CONFIG_STATUS <<\_ACEOF
9275 --version |
--vers* |
-V )
9276 echo "$ac_cs_version"; exit 0 ;;
9278 # Conflict between --help and --header
9279 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9280 Try \`$0 --help' for more information." >&5
9281 echo "$as_me: error: ambiguous option: $1
9282 Try \`$0 --help' for more information." >&2;}
9283 { (exit 1); exit 1; }; };;
9284 --help |
--hel |
-h )
9285 echo "$ac_cs_usage"; exit 0 ;;
9286 --debug |
--d* |
-d )
9288 --file |
--fil |
--fi |
--f )
9290 CONFIG_FILES
="$CONFIG_FILES $1"
9291 ac_need_defaults
=false
;;
9292 --header |
--heade |
--head |
--hea )
9294 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
9295 ac_need_defaults
=false
;;
9298 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9299 Try \`$0 --help' for more information." >&5
9300 echo "$as_me: error: unrecognized option: $1
9301 Try \`$0 --help' for more information." >&2;}
9302 { (exit 1); exit 1; }; } ;;
9304 *) ac_config_targets
="$ac_config_targets $1" ;;
9312 cat >>$CONFIG_STATUS <<_ACEOF
9314 # INIT-COMMANDS section.
9317 AMDEP_TRUE="$AMDEP_TRUE"
9318 ac_aux_dir="$ac_aux_dir"
9325 cat >>$CONFIG_STATUS <<\_ACEOF
9326 for ac_config_target
in $ac_config_targets
9328 case "$ac_config_target" in
9329 # Handling of arguments.
9330 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9331 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
9332 "lib/posix/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/posix/Makefile" ;;
9333 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9334 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9335 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9336 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
9337 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9338 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
9339 "vms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES vms/Makefile" ;;
9340 "bootstrap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES bootstrap/Makefile" ;;
9341 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9342 "default-2" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
9343 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9344 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
9345 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9346 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9347 { (exit 1); exit 1; }; };;
9351 # If the user did not use the arguments to specify the items to instantiate,
9352 # then the envvar interface is used. Set only those that are not.
9353 # We use the long form for the default assignment because of an extremely
9354 # bizarre bug on SunOS 4.1.3.
9355 if $ac_need_defaults; then
9356 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9357 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9358 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9361 # Create a temporary directory, and hook for its removal unless debugging.
9364 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9365 trap '{ (exit 1); exit 1; }' 1 2 13 15
9368 # Create a (secure) tmp directory for tmp files.
9371 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9372 test -n "$tmp" && test -d "$tmp"
9375 tmp
=$TMPDIR/cs$$
-$RANDOM
9376 (umask 077 && mkdir
$tmp)
9379 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9380 { (exit 1); exit 1; }
9385 cat >>$CONFIG_STATUS <<_ACEOF
9388 # CONFIG_FILES section.
9391 # No need to generate the scripts if there are no CONFIG_FILES.
9392 # This happens for instance when ./config.status config.h
9393 if test -n "\$CONFIG_FILES"; then
9394 # Protect against being on the right side of a sed subst in config.status.
9395 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9396 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9397 s,@SHELL@,$SHELL,;t t
9398 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9399 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9400 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9401 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9402 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9403 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9404 s,@exec_prefix@,$exec_prefix,;t t
9405 s,@prefix@,$prefix,;t t
9406 s,@program_transform_name@,$program_transform_name,;t t
9407 s,@bindir@,$bindir,;t t
9408 s,@sbindir@,$sbindir,;t t
9409 s,@libexecdir@,$libexecdir,;t t
9410 s,@datadir@,$datadir,;t t
9411 s,@sysconfdir@,$sysconfdir,;t t
9412 s,@sharedstatedir@,$sharedstatedir,;t t
9413 s,@localstatedir@,$localstatedir,;t t
9414 s,@libdir@,$libdir,;t t
9415 s,@includedir@,$includedir,;t t
9416 s,@oldincludedir@,$oldincludedir,;t t
9417 s,@infodir@,$infodir,;t t
9418 s,@mandir@,$mandir,;t t
9419 s,@build_alias@,$build_alias,;t t
9420 s,@host_alias@,$host_alias,;t t
9421 s,@target_alias@,$target_alias,;t t
9423 s,@ECHO_C@,$ECHO_C,;t t
9424 s,@ECHO_N@,$ECHO_N,;t t
9425 s,@ECHO_T@,$ECHO_T,;t t
9427 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9428 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9429 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9430 s,@PACKAGE@,$PACKAGE,;t t
9431 s,@VERSION@,$VERSION,;t t
9432 s,@EXEEXT@,$EXEEXT,;t t
9433 s,@OBJEXT@,$OBJEXT,;t t
9434 s,@ACLOCAL@,$ACLOCAL,;t t
9435 s,@AUTOCONF@,$AUTOCONF,;t t
9436 s,@AUTOMAKE@,$AUTOMAKE,;t t
9437 s,@AUTOHEADER@,$AUTOHEADER,;t t
9438 s,@MAKEINFO@,$MAKEINFO,;t t
9439 s,@AMTAR@,$AMTAR,;t t
9440 s,@install_sh@,$install_sh,;t t
9441 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9443 s,@SET_MAKE@,$SET_MAKE,;t t
9444 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9445 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9446 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9447 s,@DEPDIR@,$DEPDIR,;t t
9448 s,@build@,$build,;t t
9449 s,@build_cpu@,$build_cpu,;t t
9450 s,@build_vendor@,$build_vendor,;t t
9451 s,@build_os@,$build_os,;t t
9453 s,@host_cpu@,$host_cpu,;t t
9454 s,@host_vendor@,$host_vendor,;t t
9455 s,@host_os@,$host_os,;t t
9457 s,@CFLAGS@,$CFLAGS,;t t
9458 s,@LDFLAGS@,$LDFLAGS,;t t
9459 s,@CPPFLAGS@,$CPPFLAGS,;t t
9460 s,@ac_ct_CC@,$ac_ct_CC,;t t
9461 s,@am__include@,$am__include,;t t
9462 s,@am__quote@,$am__quote,;t t
9463 s,@CCDEPMODE@,$CCDEPMODE,;t t
9464 s,@RANLIB@,$RANLIB,;t t
9465 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9466 s,@GETCONF@,$GETCONF,;t t
9467 s,@ac_ct_GETCONF@,$ac_ct_GETCONF,;t t
9470 s,@ANSI2KNR@,$ANSI2KNR,;t t
9471 s,@ALLOCA@,$ALLOCA,;t t
9472 s,@LIBOBJS@,$LIBOBJS,;t t
9473 s,@GLIBC21@,$GLIBC21,;t t
9474 s,@LIBICONV@,$LIBICONV,;t t
9475 s,@USE_NLS@,$USE_NLS,;t t
9476 s,@MSGFMT@,$MSGFMT,;t t
9477 s,@GMSGFMT@,$GMSGFMT,;t t
9478 s,@XGETTEXT@,$XGETTEXT,;t t
9479 s,@INTLBISON@,$INTLBISON,;t t
9480 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
9481 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9482 s,@CATALOGS@,$CATALOGS,;t t
9483 s,@CATOBJEXT@,$CATOBJEXT,;t t
9484 s,@GMOFILES@,$GMOFILES,;t t
9485 s,@INTLLIBS@,$INTLLIBS,;t t
9486 s,@INTLOBJS@,$INTLOBJS,;t t
9487 s,@POFILES@,$POFILES,;t t
9488 s,@POSUB@,$POSUB,;t t
9489 s,@DATADIRNAME@,$DATADIRNAME,;t t
9490 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9491 s,@GENCAT@,$GENCAT,;t t
9492 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9493 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
9499 cat >>$CONFIG_STATUS <<\_ACEOF
9500 # Split the substitutions into bite-sized pieces for seds with
9501 # small command number limits, like on Digital OSF/1 and HP-UX.
9503 ac_sed_frag
=1 # Number of current file.
9504 ac_beg
=1 # First line for current file.
9505 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9508 while $ac_more_lines; do
9509 if test $ac_beg -gt 1; then
9510 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9512 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9514 if test ! -s $tmp/subs.frag
; then
9517 # The purpose of the label and of the branching condition is to
9518 # speed up the sed processing (if there are no `@' at all, there
9519 # is no need to browse any of the substitutions).
9520 # These are the two extra sed commands mentioned above.
9522 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9523 if test -z "$ac_sed_cmds"; then
9524 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9526 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9528 ac_sed_frag
=`expr $ac_sed_frag + 1`
9530 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9533 if test -z "$ac_sed_cmds"; then
9536 fi # test -n "$CONFIG_FILES"
9539 cat >>$CONFIG_STATUS <<\_ACEOF
9540 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9541 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9543 - |
*:- |
*:-:* ) # input from stdin
9545 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9546 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9547 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9548 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9549 * ) ac_file_in
=$ac_file.
in ;;
9552 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9553 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9555 X"$ac_file" : 'X\(//\)[^/]' \| \
9556 X"$ac_file" : 'X\(//\)$' \| \
9557 X"$ac_file" : 'X\(/\)' \| \
9558 . : '\(.\)' 2>/dev/null ||
9560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9562 /^X\(\/\/\)$/{ s//\1/; q; }
9563 /^X\(\/\).*/{ s//\1/; q; }
9566 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9570 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9571 case $as_mkdir_dir in
9572 # Skip DOS drivespec
9573 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9575 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9576 test -d "$as_incr_dir" ||
9577 mkdir
"$as_incr_dir" ||
9578 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9579 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9580 { (exit 1); exit 1; }; }
9587 if test "$ac_dir" != .
; then
9588 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9589 # A "../" for each directory in $ac_dir_suffix.
9590 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9592 ac_dir_suffix
= ac_top_builddir
=
9596 .
) # No --srcdir option. We are building in place.
9598 if test -z "$ac_top_builddir"; then
9601 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9603 [\\/]* | ?
:[\\/]* ) # Absolute path.
9604 ac_srcdir
=$srcdir$ac_dir_suffix;
9605 ac_top_srcdir
=$srcdir ;;
9607 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9608 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9610 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9612 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
9613 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9614 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9615 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9619 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9620 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9623 if test x
"$ac_file" != x-
; then
9624 { echo "$as_me:$LINENO: creating $ac_file" >&5
9625 echo "$as_me: creating $ac_file" >&6;}
9628 # Let's still pretend it is `configure' which instantiates (i.e., don't
9629 # use $as_me), people would be surprised to read:
9630 # /* config.h. Generated by config.status. */
9631 if test x
"$ac_file" = x-
; then
9634 configure_input
="$ac_file. "
9636 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9637 sed 's,.*/,,'` by configure."
9639 # First look for the input files in the build tree, otherwise in the
9641 ac_file_inputs
=`IFS=:
9642 for f in $ac_file_in; do
9644 -) echo $tmp/stdin ;;
9646 # Absolute (can't be DOS-style, as IFS=:)
9647 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9648 echo "$as_me: error: cannot find input file: $f" >&2;}
9649 { (exit 1); exit 1; }; }
9652 if test -f "$f"; then
9655 elif test -f "$srcdir/$f"; then
9660 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9661 echo "$as_me: error: cannot find input file: $f" >&2;}
9662 { (exit 1); exit 1; }; }
9665 done` ||
{ (exit 1); exit 1; }
9667 cat >>$CONFIG_STATUS <<_ACEOF
9671 cat >>$CONFIG_STATUS <<\_ACEOF
9673 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9674 s
,@configure_input@
,$configure_input,;t t
9675 s
,@srcdir@
,$ac_srcdir,;t t
9676 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9677 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9678 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9679 s
,@builddir@
,$ac_builddir,;t t
9680 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9681 s
,@top_builddir@
,$ac_top_builddir,;t t
9682 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9683 s
,@INSTALL@
,$ac_INSTALL,;t t
9684 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9686 if test x"$ac_file" != x-; then
9687 mv $tmp/out $ac_file
9695 cat >>$CONFIG_STATUS <<\_ACEOF
9698 # CONFIG_HEADER section.
9701 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9702 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9704 # ac_d sets the value in "#define NAME VALUE" lines.
9705 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9706 ac_dB
='[ ].*$,\1#\2'
9709 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9710 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9711 ac_uB
='$,\1#\2define\3'
9715 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9718 - |
*:- |
*:-:* ) # input from stdin
9720 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9721 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9722 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9723 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9724 * ) ac_file_in
=$ac_file.
in ;;
9727 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9728 echo "$as_me: creating $ac_file" >&6;}
9730 # First look for the input files in the build tree, otherwise in the
9732 ac_file_inputs
=`IFS=:
9733 for f in $ac_file_in; do
9735 -) echo $tmp/stdin ;;
9737 # Absolute (can't be DOS-style, as IFS=:)
9738 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9739 echo "$as_me: error: cannot find input file: $f" >&2;}
9740 { (exit 1); exit 1; }; }
9743 if test -f "$f"; then
9746 elif test -f "$srcdir/$f"; then
9751 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9752 echo "$as_me: error: cannot find input file: $f" >&2;}
9753 { (exit 1); exit 1; }; }
9756 done` ||
{ (exit 1); exit 1; }
9757 # Remove the trailing spaces.
9758 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9762 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9763 # `conftest.undefs', that substitutes the proper values into
9764 # config.h.in to produce config.h. The first handles `#define'
9765 # templates, and the second `#undef' templates.
9766 # And first: Protect against being on the right side of a sed subst in
9767 # config.status. Protect against being in an unquoted here document
9769 rm -f conftest.defines conftest.undefs
9770 # Using a here document instead of a string reduces the quoting nightmare.
9771 # Putting comments in sed scripts is not portable.
9773 # `end' is used to avoid that the second main sed command (meant for
9774 # 0-ary CPP macros) applies to n-ary macro definitions.
9775 # See the Autoconf documentation for `clear'.
9776 cat >confdef2sed.
sed <<\_ACEOF
9781 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9783 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9786 # If some macros were called several times there might be several times
9787 # the same #defines, which is useless. Nevertheless, we may not want to
9788 # sort them, since we want the *last* AC-DEFINE to be honored.
9789 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9790 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9791 rm -f confdef2sed.sed
9793 # This sed command replaces #undef with comments. This is necessary, for
9794 # example, in the case of _POSIX_SOURCE, which is predefined and required
9795 # on some systems where configure will not decide to define it.
9796 cat >>conftest.undefs <<\_ACEOF
9797 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9800 # Break up conftest.defines because some shells have a limit on the size
9801 # of here documents, and old seds have small limits too (100 cmds).
9802 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9803 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9804 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9805 echo ' :' >>$CONFIG_STATUS
9807 while grep . conftest.defines >/dev/null
9809 # Write a limited-size here document to $tmp/defines.sed.
9810 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9811 # Speed up: don't consider the non `#define' lines.
9812 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9813 # Work around the forget-to-reset-the-flag bug.
9814 echo 't clr' >>$CONFIG_STATUS
9815 echo ': clr' >>$CONFIG_STATUS
9816 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9818 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9822 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9823 rm -f conftest.defines
9824 mv conftest.
tail conftest.defines
9826 rm -f conftest.defines
9827 echo ' fi # egrep' >>$CONFIG_STATUS
9828 echo >>$CONFIG_STATUS
9830 # Break up conftest.undefs because some shells have a limit on the size
9831 # of here documents, and old seds have small limits too (100 cmds).
9832 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9834 while grep . conftest.undefs
>/dev
/null
9836 # Write a limited-size here document to $tmp/undefs.sed.
9837 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9838 # Speed up: don't consider the non
`#undef'
9839 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9840 # Work around the forget-to-reset-the-flag bug.
9841 echo 't clr' >>$CONFIG_STATUS
9842 echo ': clr' >>$CONFIG_STATUS
9843 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9845 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9849 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9850 rm -f conftest.undefs
9851 mv conftest.tail conftest.undefs
9853 rm -f conftest.undefs
9855 cat >>$CONFIG_STATUS <<\_ACEOF
9856 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9857 # use $as_me), people would be surprised to read:
9858 # /* config.h. Generated by config.status. */
9859 if test x
"$ac_file" = x-
; then
9860 echo "/* Generated by configure. */" >$tmp/config.h
9862 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9864 cat $tmp/in >>$tmp/config.h
9866 if test x
"$ac_file" != x-
; then
9867 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
9868 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9869 echo "$as_me: $ac_file is unchanged" >&6;}
9871 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9873 X"$ac_file" : 'X\(//\)[^/]' \| \
9874 X"$ac_file" : 'X\(//\)$' \| \
9875 X"$ac_file" : 'X\(/\)' \| \
9876 . : '\(.\)' 2>/dev/null ||
9878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9880 /^X\(\/\/\)$/{ s//\1/; q; }
9881 /^X\(\/\).*/{ s//\1/; q; }
9884 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
9888 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9889 case $as_mkdir_dir in
9890 # Skip DOS drivespec
9891 ?
:) as_incr_dir
=$as_mkdir_dir ;;
9893 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
9894 test -d "$as_incr_dir" ||
9895 mkdir
"$as_incr_dir" ||
9896 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9897 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9898 { (exit 1); exit 1; }; }
9904 mv $tmp/config.h
$ac_file
9910 # Run the commands associated with the file.
9912 config.h
) # update the timestamp
9913 echo timestamp
>"./stamp-h1"
9918 cat >>$CONFIG_STATUS <<\_ACEOF
9921 # CONFIG_COMMANDS section.
9923 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9924 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9925 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9926 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9927 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9928 X"$ac_dest" : 'X\(//\)[^/]' \| \
9929 X"$ac_dest" : 'X\(//\)$' \| \
9930 X"$ac_dest" : 'X\(/\)' \| \
9931 . : '\(.\)' 2>/dev/null ||
9933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9935 /^X\(\/\/\)$/{ s//\1/; q; }
9936 /^X\(\/\).*/{ s//\1/; q; }
9940 if test "$ac_dir" != .
; then
9941 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9942 # A "../" for each directory in $ac_dir_suffix.
9943 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9945 ac_dir_suffix
= ac_top_builddir
=
9949 .
) # No --srcdir option. We are building in place.
9951 if test -z "$ac_top_builddir"; then
9954 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9956 [\\/]* | ?
:[\\/]* ) # Absolute path.
9957 ac_srcdir
=$srcdir$ac_dir_suffix;
9958 ac_top_srcdir
=$srcdir ;;
9960 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9961 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9963 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9965 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
9966 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9967 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9968 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9971 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9972 echo "$as_me: executing $ac_dest commands" >&6;}
9975 test x
"$AMDEP_TRUE" != x
"" ||
9976 for mf
in $CONFIG_FILES; do
9978 Makefile
) dirpart
=.
;;
9979 */Makefile
) dirpart
=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
9982 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
9983 # Extract the definition of DEP_FILES from the Makefile without
9985 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9986 test -z "$DEPDIR" && continue
9987 # When using ansi2knr, U may be empty or an underscore; expand it
9988 U
=`sed -n -e '/^U = / s///p' < "$mf"`
9989 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
9990 # We invoke sed twice because it is the simplest approach to
9991 # changing $(DEPDIR) to its actual value in the expansion.
9992 for file in `sed -n -e '
9993 /^DEP_FILES = .*\\\\$/ {
10002 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10003 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10004 # Make sure the directory exists.
10005 test -f "$dirpart/$file" && continue
10006 fdir
=`echo "$file" | sed -e 's|/[^/]*$||'`
10007 $ac_aux_dir/mkinstalldirs
"$dirpart/$fdir" > /dev
/null
2>&1
10008 # echo "creating $dirpart/$file"
10009 echo '# dummy' > "$dirpart/$file"
10013 default-2
) for ac_file
in $CONFIG_FILES; do
10014 # Support "outfile[:infile[:infile...]]"
10016 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10018 # PO directories have a Makefile.in generated from Makefile.in.in.
10019 case "$ac_file" in */Makefile.
in)
10020 # Adjust a relative srcdir.
10021 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10022 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10023 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10024 # In autoconf-2.13 it is called $ac_given_srcdir.
10025 # In autoconf-2.50 it is called $srcdir.
10026 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10027 case "$ac_given_srcdir" in
10028 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10029 /*) top_srcdir
="$ac_given_srcdir" ;;
10030 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10032 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10033 rm -f "$ac_dir/POTFILES"
10034 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10035 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
10036 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10037 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10042 default
) sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
; echo timestamp
> stamp-h
;;
10047 cat >>$CONFIG_STATUS <<\_ACEOF
10049 { (exit 0); exit 0; }
10051 chmod +x
$CONFIG_STATUS
10052 ac_clean_files
=$ac_clean_files_save
10055 # configure is writing to config.log, and then calls config.status.
10056 # config.status does its own redirection, appending to config.log.
10057 # Unfortunately, on DOS this fails, as config.log is still kept open
10058 # by configure, so config.status won't be able to write to it; its
10059 # output is simply discarded. So we exec the FD to /dev/null,
10060 # effectively closing config.log, so it can be properly (re)opened and
10061 # appended to by config.status. When coming back to configure, we
10062 # need to make the FD available again.
10063 if test "$no_create" != yes; then
10066 $SHELL $CONFIG_STATUS || ac_cs_success
=false
10068 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10069 # would make configure fail if this is the last instruction.
10070 $ac_cs_success ||
{ (exit 1); exit 1; }