2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53a for cygutils 1.0.0.
5 # Report bugs to <cwilson@ece.gatech.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
35 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
36 { LANG
=C
; export LANG
; }
37 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
38 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
39 { LC_ALL
=C
; export LC_ALL
; }
40 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
41 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
42 { LC_TIME
=C
; export LC_TIME
; }
43 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
44 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
45 { LC_CTYPE
=C
; export LC_CTYPE
; }
46 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
47 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
48 { LANGUAGE
=C
; export LANGUAGE
; }
49 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
50 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
51 { LC_COLLATE
=C
; export LC_COLLATE
; }
52 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
53 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
54 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
55 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
56 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
57 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
60 # Required to use basename.
61 if expr a
: '\(a\)' >/dev
/null
2>&1; then
67 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
74 # Name of the executable.
75 as_me
=`$as_basename "$0" ||
76 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77 X"$0" : 'X\(//\)$' \| \
78 X"$0" : 'X\(/\)$' \| \
79 . : '\(.\)' 2>/dev/null ||
81 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
82 /^X\/\(\/\/\)$/{ s//\1/; q; }
83 /^X\/\(\/\).*/{ s//\1/; q; }
87 # PATH needs CR, and LINENO needs CR and PATH.
88 # Avoid depending upon Character Ranges.
89 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
90 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
91 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
92 as_cr_digits
='0123456789'
93 as_cr_alnum
=$as_cr_Letters$as_cr_digits
95 # The user is always right.
96 if test "${PATH_SEPARATOR+set}" != set; then
97 echo "#! /bin/sh" >conftest.sh
98 echo "exit 0" >>conftest.sh
100 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
111 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
112 test "x$as_lineno_1" != "x$as_lineno_2" &&
113 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
114 # Find who we are. Look in the path if we contain no path at all
117 *[\\/]* ) as_myself
=$0 ;;
118 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
122 test -z "$as_dir" && as_dir
=.
123 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
128 # We did not find ourselves, most probably we were run as `sh COMMAND'
129 # in which case we are not to be found in the path.
130 if test "x$as_myself" = x
; then
133 if test ! -f "$as_myself"; then
134 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
135 { (exit 1); exit 1; }; }
137 case $CONFIG_SHELL in
139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
140 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
143 test -z "$as_dir" && as_dir
=.
144 for as_base
in sh bash ksh sh5
; do
147 if ("$as_dir/$as_base" -c '
150 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
151 test "x$as_lineno_1" != "x$as_lineno_2" &&
152 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
153 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
154 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
155 CONFIG_SHELL
=$as_dir/$as_base
157 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
165 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
166 # uniformly replaced by the line number. The first 'sed' inserts a
167 # line-number line before each line; the second 'sed' does the real
168 # work. The second script uses 'N' to pair each line-number line
169 # with the numbered line, and appends trailing '-' during
170 # substitution so that $LINENO is not a special case at line end.
171 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
172 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
173 sed '=' <$as_myself |
178 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
181 s,^['$as_cr_digits']*\n,,
183 chmod +x
$as_me.lineno ||
184 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
185 { (exit 1); exit 1; }; }
187 # Don't try to exec as it changes $[0], causing all sort of problems
188 # (the dirname of $[0] is not the place where we might find the
189 # original and so on. Autoconf is especially sensible to this).
191 # Exit status is that of the last command.
196 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
197 *c
*,-n*) ECHO_N
= ECHO_C
='
199 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
200 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
203 if expr a
: '\(a\)' >/dev
/null
2>&1; then
209 rm -f conf$$ conf$$.exe conf$$.
file
211 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
212 # We could just check for DJGPP; but this test a) works b) is more generic
213 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
214 if test -f conf$$.exe
; then
215 # Don't use ln at all; we don't have any links
220 elif ln conf$$.
file conf$$
2>/dev
/null
; then
225 rm -f conf$$ conf$$.exe conf$$.
file
227 if mkdir
-p .
2>/dev
/null
; then
233 as_executable_p
="test -f"
235 # Sed expression to map a string onto a valid CPP name.
236 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
238 # Sed expression to map a string onto a valid variable name.
239 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
243 # We need space, tab and new line, in precisely that order.
249 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
253 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
254 # so uname gets run too.
255 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
262 ac_default_prefix
=/usr
/local
267 SHELL
=${CONFIG_SHELL-/bin/sh}
269 # Maximum number of lines to put in a shell here document.
270 # This variable seems obsolete. It should probably be removed, and
271 # only ac_max_sed_lines should be used.
272 : ${ac_max_here_lines=38}
274 # Identity of this package.
275 PACKAGE_NAME
='cygutils'
276 PACKAGE_TARNAME
='cygutils'
277 PACKAGE_VERSION
='1.0.0'
278 PACKAGE_STRING
='cygutils 1.0.0'
279 PACKAGE_BUGREPORT
='cwilson@ece.gatech.edu'
281 ac_unique_file
="config.h.in"
282 # Factoring default headers for most tests.
283 ac_includes_default
="\
286 # include <sys/types.h>
289 # include <sys/stat.h>
300 # if !STDC_HEADERS && HAVE_MEMORY_H
306 # include <strings.h>
309 # include <inttypes.h>
320 # Initialize some variables set by options.
322 ac_init_version
=false
323 # The variables have the same names as the options, with
324 # dashes changed to underlines.
332 program_transform_name
=s
,x
,x
,
340 # Installation directory options.
341 # These are left unexpanded so users can "make install exec_prefix=/foo"
342 # and all the variables that are supposed to be based on exec_prefix
343 # by default will actually change.
344 # Use braces instead of parens because sh, perl, etc. also accept them.
345 bindir
='${exec_prefix}/bin'
346 sbindir
='${exec_prefix}/sbin'
347 libexecdir
='${exec_prefix}/libexec'
348 datadir
='${prefix}/share'
349 sysconfdir
='${prefix}/etc'
350 sharedstatedir
='${prefix}/com'
351 localstatedir
='${prefix}/var'
352 libdir
='${exec_prefix}/lib'
353 includedir
='${prefix}/include'
354 oldincludedir
='/usr/include'
355 infodir
='${prefix}/info'
356 mandir
='${prefix}/man'
361 # If the previous option needs an argument, assign it.
362 if test -n "$ac_prev"; then
363 eval "$ac_prev=\$ac_option"
368 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 # Accept the important Cygnus configure options, so we can diagnose typos.
374 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
376 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
379 -build |
--build |
--buil |
--bui |
--bu)
380 ac_prev
=build_alias
;;
381 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
382 build_alias
=$ac_optarg ;;
384 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
385 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
386 ac_prev
=cache_file
;;
387 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
388 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
389 cache_file
=$ac_optarg ;;
392 cache_file
=config.cache
;;
394 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
396 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
398 datadir
=$ac_optarg ;;
400 -disable-* |
--disable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
407 eval "enable_$ac_feature=no" ;;
409 -enable-* |
--enable-*)
410 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
413 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
414 { (exit 1); exit 1; }; }
415 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
417 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
420 eval "enable_$ac_feature='$ac_optarg'" ;;
422 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
423 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
424 |
--exec |
--exe |
--ex)
425 ac_prev
=exec_prefix
;;
426 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
427 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
428 |
--exec=* |
--exe=* |
--ex=*)
429 exec_prefix
=$ac_optarg ;;
431 -gas |
--gas |
--ga |
--g)
432 # Obsolete; use --with-gas.
435 -help |
--help |
--hel |
--he |
-h)
437 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
438 ac_init_help
=recursive
;;
439 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
440 ac_init_help
=short
;;
442 -host |
--host |
--hos |
--ho)
443 ac_prev
=host_alias
;;
444 -host=* |
--host=* |
--hos=* |
--ho=*)
445 host_alias
=$ac_optarg ;;
447 -includedir |
--includedir |
--includedi |
--included |
--include \
448 |
--includ |
--inclu |
--incl |
--inc)
449 ac_prev
=includedir
;;
450 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
451 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
452 includedir
=$ac_optarg ;;
454 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
456 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
457 infodir
=$ac_optarg ;;
459 -libdir |
--libdir |
--libdi |
--libd)
461 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
464 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
465 |
--libexe |
--libex |
--libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
468 |
--libexe=* |
--libex=* |
--libe=*)
469 libexecdir
=$ac_optarg ;;
471 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
472 |
--localstate |
--localstat |
--localsta |
--localst \
473 |
--locals |
--local |
--loca |
--loc |
--lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
476 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
477 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
478 localstatedir
=$ac_optarg ;;
480 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
482 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
486 # Obsolete; use --without-fp.
489 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
490 |
--no-cr |
--no-c |
-n)
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
497 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
498 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
499 |
--oldin |
--oldi |
--old |
--ol |
--o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
502 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
503 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
504 oldincludedir
=$ac_optarg ;;
506 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
508 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
511 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
512 |
--program-pre |
--program-pr |
--program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
515 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
516 program_prefix
=$ac_optarg ;;
518 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
519 |
--program-suf |
--program-su |
--program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
522 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
523 program_suffix
=$ac_optarg ;;
525 -program-transform-name |
--program-transform-name \
526 |
--program-transform-nam |
--program-transform-na \
527 |
--program-transform-n |
--program-transform- \
528 |
--program-transform |
--program-transfor \
529 |
--program-transfo |
--program-transf \
530 |
--program-trans |
--program-tran \
531 |
--progr-tra |
--program-tr |
--program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* |
--program-transform-name=* \
534 |
--program-transform-nam=* |
--program-transform-na=* \
535 |
--program-transform-n=* |
--program-transform-=* \
536 |
--program-transform=* |
--program-transfor=* \
537 |
--program-transfo=* |
--program-transf=* \
538 |
--program-trans=* |
--program-tran=* \
539 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
540 program_transform_name
=$ac_optarg ;;
542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
543 |
-silent |
--silent |
--silen |
--sile |
--sil)
546 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
548 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
550 sbindir
=$ac_optarg ;;
552 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
553 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
554 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
558 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
559 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
561 sharedstatedir
=$ac_optarg ;;
563 -site |
--site |
--sit)
565 -site=* |
--site=* |
--sit=*)
568 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
570 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
573 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
574 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
577 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
578 sysconfdir
=$ac_optarg ;;
580 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
581 ac_prev
=target_alias
;;
582 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
583 target_alias
=$ac_optarg ;;
585 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
588 -version |
--version |
--versio |
--versi |
--vers |
-V)
592 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
593 # Reject names that are not valid shell variable names.
594 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
595 { echo "$as_me: error: invalid package name: $ac_package" >&2
596 { (exit 1); exit 1; }; }
597 ac_package
=`echo $ac_package| sed 's/-/_/g'`
599 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
602 eval "with_$ac_package='$ac_optarg'" ;;
604 -without-* |
--without-*)
605 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package
=`echo $ac_package | sed 's/-/_/g'`
611 eval "with_$ac_package=no" ;;
614 # Obsolete; use --with-x.
617 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
618 |
--x-incl |
--x-inc |
--x-in |
--x-i)
619 ac_prev
=x_includes
;;
620 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
621 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
622 x_includes
=$ac_optarg ;;
624 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
625 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
626 ac_prev
=x_libraries
;;
627 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
628 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
629 x_libraries
=$ac_optarg ;;
631 -*) { echo "$as_me: error: unrecognized option: $ac_option
632 Try \`$0 --help' for more information." >&2
633 { (exit 1); exit 1; }; }
637 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
638 # Reject names that are not valid shell variable names.
639 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
640 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
641 { (exit 1); exit 1; }; }
642 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
643 eval "$ac_envvar='$ac_optarg'"
647 # FIXME: should be removed in autoconf 3.0.
648 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
649 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
650 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
651 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
657 if test -n "$ac_prev"; then
658 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
659 { echo "$as_me: error: missing argument to $ac_option" >&2
660 { (exit 1); exit 1; }; }
663 # Be sure to have absolute paths.
664 for ac_var
in exec_prefix prefix
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # Be sure to have absolute paths.
675 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
676 localstatedir libdir includedir oldincludedir infodir mandir
678 eval ac_val
=$
`echo $ac_var`
680 [\\/$
]* | ?
:[\\/]* ) ;;
681 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
682 { (exit 1); exit 1; }; };;
686 # There might be people who depend on the old broken behavior: `$host'
687 # used to hold the argument of --host etc.
688 # FIXME: To remove some day.
693 # FIXME: To remove some day.
694 if test "x$host_alias" != x
; then
695 if test "x$build_alias" = x
; then
696 cross_compiling
=maybe
697 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
698 If a cross compiler is detected then cross compile mode will be used." >&2
699 elif test "x$build_alias" != "x$host_alias"; then
705 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
707 test "$silent" = yes && exec 6>/dev
/null
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
714 ac_confdir
=`(dirname "$0") 2>/dev/null ||
715 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
716 X"$0" : 'X\(//\)[^/]' \| \
717 X"$0" : 'X\(//\)$' \| \
718 X"$0" : 'X\(/\)' \| \
719 . : '\(.\)' 2>/dev/null ||
721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723 /^X\(\/\/\)$/{ s//\1/; q; }
724 /^X\(\/\).*/{ s//\1/; q; }
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
736 { (exit 1); exit 1; }; }
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
739 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures cygutils 1.0.0 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of cygutils 1.0.0:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-maintainer-mode enable make rules and dependencies not useful
853 (and sometimes confusing
) to the casual installer
854 --disable-dependency-tracking Speeds up one-time builds
855 --enable-dependency-tracking Do not reject slow dependency extractors
857 Some influential environment variables
:
858 CC C compiler
command
859 CFLAGS C compiler flags
860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
861 nonstandard directory
<lib dir
>
862 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
863 headers
in a nonstandard directory
<include dir
>
866 Use these variables to override the choices made by
`configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
869 Report bugs to <cwilson@ece.gatech.edu>.
873 if test "$ac_init_help" = "recursive"; then
874 # If there are subdirs, report their specific --help.
876 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877 test -d $ac_dir || continue
880 if test "$ac_dir" != .; then
881 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
882 # A "../" for each directory in $ac_dir_suffix.
883 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
885 ac_dir_suffix= ac_top_builddir=
889 .) # No --srcdir option. We are building in place.
891 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
896 [\\/]* | ?:[\\/]* ) # Absolute path.
897 ac_srcdir=$srcdir$ac_dir_suffix;
898 ac_top_srcdir=$srcdir ;;
900 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
905 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
906 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
907 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
908 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
911 # Check for guested configure; otherwise get Cygnus style configure.
912 if test -f $ac_srcdir/configure.gnu; then
914 $SHELL $ac_srcdir/configure.gnu --help=recursive
915 elif test -f $ac_srcdir/configure; then
917 $SHELL $ac_srcdir/configure --help=recursive
918 elif test -f $ac_srcdir/configure.ac ||
919 test -f $ac_srcdir/configure.in; then
923 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
929 test -n "$ac_init_help" && exit 0
930 if $ac_init_version; then
932 cygutils configure 1.0.0
933 generated by GNU Autoconf 2.53a
935 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
936 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by cygutils $as_me 1.0.0, which was
948 generated by GNU Autoconf 2.53a. Invocation command line was
959 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
960 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
961 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
962 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
963 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
965 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
966 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
968 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
969 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
970 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
971 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
972 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
973 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
974 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982 test -z "$as_dir" && as_dir=.
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Also quote any args containing shell meta-characters.
1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007 | --no-cr | --no-c | -n ) continue ;;
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1012 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1014 case " $ac_configure_args " in
1015 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1016 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1022 # When interrupted or exit'd, cleanup temporary files, and complete
1023 # config.log. We remove comments because anyway the quotes in there
1024 # would cause problems or look ugly.
1025 # WARNING: Be sure not to use single quotes in there, as some shells,
1026 # such as our DU 5.0 friend, will then `close
' the trap.
1027 trap 'exit_status
=$?
1028 # Save into config.log some information that might help in debugging.
1032 ## ---------------- ##
1033 ## Cache variables. ##
1034 ## ---------------- ##
1037 # The following way of writing the cache mishandles newlines in values,
1040 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1043 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1048 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1053 if test -s confdefs.h
; then
1060 sed "/^$/d" confdefs.h
1063 test "$ac_signal" != 0 &&
1064 echo "$as_me: caught signal $ac_signal"
1065 echo "$as_me: exit $exit_status"
1067 rm -f core core.
* *.core
&&
1068 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1071 for ac_signal in 1 2 13 15; do
1072 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1076 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1077 rm -rf conftest* confdefs.h
1078 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1081 # Predefined preprocessor variables.
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_NAME "$PACKAGE_NAME"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_STRING "$PACKAGE_STRING"
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1108 # Let the site file select an alternate cache file if it wants to.
1109 # Prefer explicitly selected file to automatically selected ones.
1110 if test -z "$CONFIG_SITE"; then
1111 if test "x$prefix" != xNONE; then
1112 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1114 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1117 for ac_site_file in $CONFIG_SITE; do
1118 if test -r "$ac_site_file"; then
1119 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1120 echo "$as_me: loading site script $ac_site_file" >&6;}
1121 sed 's
/^
/|
/' "$ac_site_file" >&5
1126 if test -r "$cache_file"; then
1127 # Some versions of bash will fail to source /dev/null (special
1128 # files actually), so we avoid doing that.
1129 if test -f "$cache_file"; then
1130 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1131 echo "$as_me: loading cache $cache_file" >&6;}
1133 [\\/]* | ?:[\\/]* ) . $cache_file;;
1134 *) . ./$cache_file;;
1138 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1139 echo "$as_me: creating cache $cache_file" >&6;}
1143 # Check that the precious variables saved in the cache have kept the same
1145 ac_cache_corrupted=false
1146 for ac_var in `(set) 2>&1 |
1147 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1148 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1149 eval ac_new_set=\$ac_env_${ac_var}_set
1150 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1151 eval ac_new_val="\$ac_env_${ac_var}_value"
1152 case $ac_old_set,$ac_new_set in
1154 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1155 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1156 ac_cache_corrupted=: ;;
1158 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1159 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1160 ac_cache_corrupted=: ;;
1163 if test "x$ac_old_val" != "x$ac_new_val"; then
1164 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1165 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1166 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1167 echo "$as_me: former value: $ac_old_val" >&2;}
1168 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1169 echo "$as_me: current value: $ac_new_val" >&2;}
1170 ac_cache_corrupted=:
1173 # Pass precious variables to config.status.
1174 if test "$ac_new_set" = set; then
1176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1177 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1178 *) ac_arg=$ac_var=$ac_new_val ;;
1180 case " $ac_configure_args " in
1181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1182 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1186 if $ac_cache_corrupted; then
1187 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1188 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1189 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1190 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1191 { (exit 1); exit 1; }; }
1195 ac_cpp='$CPP $CPPFLAGS'
1196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1227 # Add the stamp file to the list of files AC keeps track of,
1228 # along with our hook.
1229 ac_config_headers="$ac_config_headers config.h"
1233 am__api_version="1.6"
1235 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1236 if test -f $ac_dir/install-sh; then
1238 ac_install_sh="$ac_aux_dir/install-sh -c"
1240 elif test -f $ac_dir/install.sh; then
1242 ac_install_sh="$ac_aux_dir/install.sh -c"
1244 elif test -f $ac_dir/shtool; then
1246 ac_install_sh="$ac_aux_dir/shtool install -c"
1250 if test -z "$ac_aux_dir"; then
1251 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1252 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1253 { (exit 1); exit 1; }; }
1255 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1256 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1257 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1259 # Find a good install program. We prefer a C program (faster),
1260 # so one script is as good as another. But avoid the broken or
1261 # incompatible versions:
1262 # SysV /etc/install, /usr/sbin/install
1263 # SunOS /usr/etc/install
1264 # IRIX /sbin/install
1266 # AmigaOS /C/install, which installs bootblocks on floppy discs
1267 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1270 # ./install, which can be erroneously created by make from ./install.sh.
1271 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1272 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1273 if test -z "$INSTALL"; then
1274 if test "${ac_cv_path_install+set}" = set; then
1275 echo $ECHO_N "(cached) $ECHO_C" >&6
1277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1281 test -z "$as_dir" && as_dir
=.
1282 # Account for people who put trailing slashes in PATH elements.
1284 .
/ | .
// |
/cC
/* | \
1285 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1288 # OSF1 and SCO ODT 3.0 have their own names for install.
1289 # Don't use installbsd from OSF since it installs stuff as root
1291 for ac_prog
in ginstall scoinst
install; do
1292 for ac_exec_ext
in '' $ac_executable_extensions; do
1293 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1294 if test $ac_prog = install &&
1295 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1296 # AIX install. It has an incompatible calling convention.
1298 elif test $ac_prog = install &&
1299 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1300 # program-specific install script used by HP pwplus--don't use.
1303 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1315 if test "${ac_cv_path_install+set}" = set; then
1316 INSTALL
=$ac_cv_path_install
1318 # As a last resort, use the slow shell script. We don't cache a
1319 # path for INSTALL within a source directory, because that will
1320 # break other packages using the cache if that directory is
1321 # removed, or if the path is relative.
1322 INSTALL
=$ac_install_sh
1325 echo "$as_me:$LINENO: result: $INSTALL" >&5
1326 echo "${ECHO_T}$INSTALL" >&6
1328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1329 # It thinks the first close brace ends the variable substitution.
1330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1334 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1336 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1337 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1340 echo timestamp
> conftest.
file
1341 # Do `set' in a subshell so we don't clobber the current shell's
1342 # arguments. Must try -L first in case configure is actually a
1343 # symlink; some systems play weird games with the mod time of symlinks
1344 # (eg FreeBSD returns the mod time of the symlink's containing
1347 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1348 if test "$*" = "X"; then
1350 set X
`ls -t $srcdir/configure conftest.file`
1353 if test "$*" != "X $srcdir/configure conftest.file" \
1354 && test "$*" != "X conftest.file $srcdir/configure"; then
1356 # If neither matched, then we have a broken ls. This can happen
1357 # if, for instance, CONFIG_SHELL is bash and it inherits a
1358 # broken ls alias from the environment. This has actually
1359 # happened. Such a system could not be considered "sane".
1360 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1361 alias in your environment" >&5
1362 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1363 alias in your environment" >&2;}
1364 { (exit 1); exit 1; }; }
1367 test "$2" = conftest.
file
1373 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1374 Check your system clock" >&5
1375 echo "$as_me: error: newly created file is older than distributed files!
1376 Check your system clock" >&2;}
1377 { (exit 1); exit 1; }; }
1379 echo "$as_me:$LINENO: result: yes" >&5
1380 echo "${ECHO_T}yes" >&6
1381 test "$program_prefix" != NONE
&&
1382 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1383 # Use a double $ so make ignores it.
1384 test "$program_suffix" != NONE
&&
1385 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1386 # Double any \ or $. echo might interpret backslashes.
1387 # By default was `s,x,x', remove it if useless.
1388 cat <<\_ACEOF
>conftest.
sed
1389 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1391 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1395 # expand $ac_aux_dir to an absolute path
1396 am_aux_dir
=`cd $ac_aux_dir && pwd`
1398 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1399 # Use eval to expand $SHELL
1400 if eval "$MISSING --run true"; then
1401 am_missing_run
="$MISSING --run "
1404 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1405 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1408 for ac_prog
in gawk mawk nawk
awk
1410 # Extract the first word of "$ac_prog", so it can be a program name with args.
1411 set dummy
$ac_prog; ac_word
=$2
1412 echo "$as_me:$LINENO: checking for $ac_word" >&5
1413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1414 if test "${ac_cv_prog_AWK+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 if test -n "$AWK"; then
1418 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1424 test -z "$as_dir" && as_dir
=.
1425 for ac_exec_ext
in '' $ac_executable_extensions; do
1426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1427 ac_cv_prog_AWK
="$ac_prog"
1428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1437 if test -n "$AWK"; then
1438 echo "$as_me:$LINENO: result: $AWK" >&5
1439 echo "${ECHO_T}$AWK" >&6
1441 echo "$as_me:$LINENO: result: no" >&5
1442 echo "${ECHO_T}no" >&6
1445 test -n "$AWK" && break
1448 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1449 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1450 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1451 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 cat >conftest.
make <<\_ACEOF
1456 @
echo 'ac_maketemp="${MAKE}"'
1458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1459 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1460 if test -n "$ac_maketemp"; then
1461 eval ac_cv_prog_make_
${ac_make}_set
=yes
1463 eval ac_cv_prog_make_
${ac_make}_set
=no
1467 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1468 echo "$as_me:$LINENO: result: yes" >&5
1469 echo "${ECHO_T}yes" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1474 SET_MAKE
="MAKE=${MAKE-make}"
1477 # test to see if srcdir already configured
1478 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1479 test -f $srcdir/config.status
; then
1480 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1481 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1482 { (exit 1); exit 1; }; }
1485 # Define the identity of the package.
1490 cat >>confdefs.h
<<_ACEOF
1491 #define PACKAGE "$PACKAGE"
1495 cat >>confdefs.h
<<_ACEOF
1496 #define VERSION "$VERSION"
1499 # Some tools Automake needs.
1501 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1504 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1507 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1510 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1513 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1516 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1518 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1520 # Installed binaries are usually stripped using `strip' when the user
1521 # run `make install-strip'. However `strip' might not be the right
1522 # tool to use in cross-compilation environments, therefore Automake
1523 # will honor the `STRIP' environment variable to overrule this program.
1524 if test "$cross_compiling" != no
; then
1525 if test -n "$ac_tool_prefix"; then
1526 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1527 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_STRIP+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 if test -n "$STRIP"; then
1534 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir
=.
1541 for ac_exec_ext
in '' $ac_executable_extensions; do
1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1552 STRIP
=$ac_cv_prog_STRIP
1553 if test -n "$STRIP"; then
1554 echo "$as_me:$LINENO: result: $STRIP" >&5
1555 echo "${ECHO_T}$STRIP" >&6
1557 echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1562 if test -z "$ac_cv_prog_STRIP"; then
1564 # Extract the first word of "strip", so it can be a program name with args.
1565 set dummy strip
; ac_word
=$2
1566 echo "$as_me:$LINENO: checking for $ac_word" >&5
1567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1568 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 if test -n "$ac_ct_STRIP"; then
1572 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir
=.
1579 for ac_exec_ext
in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1581 ac_cv_prog_ac_ct_STRIP
="strip"
1582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1588 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1591 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1592 if test -n "$ac_ct_STRIP"; then
1593 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1594 echo "${ECHO_T}$ac_ct_STRIP" >&6
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1602 STRIP
="$ac_cv_prog_STRIP"
1606 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1608 # We need awk for the "check" target. The system "awk" is bad on
1613 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1614 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1615 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1616 if test "${enable_maintainer_mode+set}" = set; then
1617 enableval
="$enable_maintainer_mode"
1618 USE_MAINTAINER_MODE
=$enableval
1620 USE_MAINTAINER_MODE
=no
1622 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1623 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1626 if test $USE_MAINTAINER_MODE = yes; then
1627 MAINTAINER_MODE_TRUE
=
1628 MAINTAINER_MODE_FALSE
='#'
1630 MAINTAINER_MODE_TRUE
='#'
1631 MAINTAINER_MODE_FALSE
=
1634 MAINT
=$MAINTAINER_MODE_TRUE
1638 # Checks for programs.
1640 ac_cpp
='$CPP $CPPFLAGS'
1641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1644 if test -n "$ac_tool_prefix"; then
1645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1646 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1649 if test "${ac_cv_prog_CC+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 if test -n "$CC"; then
1653 ac_cv_prog_CC
="$CC" # Let the user override the test.
1655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir
=.
1660 for ac_exec_ext
in '' $ac_executable_extensions; do
1661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1662 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 if test -n "$CC"; then
1673 echo "$as_me:$LINENO: result: $CC" >&5
1674 echo "${ECHO_T}$CC" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1681 if test -z "$ac_cv_prog_CC"; then
1683 # Extract the first word of "gcc", so it can be a program name with args.
1684 set dummy gcc
; ac_word
=$2
1685 echo "$as_me:$LINENO: checking for $ac_word" >&5
1686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 if test -n "$ac_ct_CC"; then
1691 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1697 test -z "$as_dir" && as_dir
=.
1698 for ac_exec_ext
in '' $ac_executable_extensions; do
1699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1700 ac_cv_prog_ac_ct_CC
="gcc"
1701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1710 if test -n "$ac_ct_CC"; then
1711 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1712 echo "${ECHO_T}$ac_ct_CC" >&6
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1723 if test -z "$CC"; then
1724 if test -n "$ac_tool_prefix"; then
1725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1726 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_CC+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$CC"; then
1733 ac_cv_prog_CC
="$CC" # Let the user override the test.
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 for ac_exec_ext
in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 if test -n "$CC"; then
1753 echo "$as_me:$LINENO: result: $CC" >&5
1754 echo "${ECHO_T}$CC" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1761 if test -z "$ac_cv_prog_CC"; then
1763 # Extract the first word of "cc", so it can be a program name with args.
1764 set dummy cc
; ac_word
=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$ac_ct_CC"; then
1771 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir
=.
1778 for ac_exec_ext
in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_ac_ct_CC
="cc"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1790 if test -n "$ac_ct_CC"; then
1791 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1792 echo "${ECHO_T}$ac_ct_CC" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1804 if test -z "$CC"; then
1805 # Extract the first word of "cc", so it can be a program name with args.
1806 set dummy cc
; ac_word
=$2
1807 echo "$as_me:$LINENO: checking for $ac_word" >&5
1808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809 if test "${ac_cv_prog_CC+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 if test -n "$CC"; then
1813 ac_cv_prog_CC
="$CC" # Let the user override the test.
1816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1820 test -z "$as_dir" && as_dir
=.
1821 for ac_exec_ext
in '' $ac_executable_extensions; do
1822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1824 ac_prog_rejected
=yes
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test $ac_prog_rejected = yes; then
1835 # We found a bogon in the path, so make sure we never use it.
1836 set dummy
$ac_cv_prog_CC
1838 if test $# != 0; then
1839 # We chose a different compiler from the bogus one.
1840 # However, it has the same basename, so the bogon will be chosen
1841 # first if we set CC to just the basename; use the full file name.
1843 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1849 if test -n "$CC"; then
1850 echo "$as_me:$LINENO: result: $CC" >&5
1851 echo "${ECHO_T}$CC" >&6
1853 echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6
1858 if test -z "$CC"; then
1859 if test -n "$ac_tool_prefix"; then
1862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1863 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_CC+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1869 if test -n "$CC"; then
1870 ac_cv_prog_CC
="$CC" # Let the user override the test.
1872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir
=.
1877 for ac_exec_ext
in '' $ac_executable_extensions; do
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 if test -n "$CC"; then
1890 echo "$as_me:$LINENO: result: $CC" >&5
1891 echo "${ECHO_T}$CC" >&6
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1897 test -n "$CC" && break
1900 if test -z "$CC"; then
1904 # Extract the first word of "$ac_prog", so it can be a program name with args.
1905 set dummy
$ac_prog; ac_word
=$2
1906 echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 if test -n "$ac_ct_CC"; then
1912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir
=.
1919 for ac_exec_ext
in '' $ac_executable_extensions; do
1920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_ac_ct_CC
="$ac_prog"
1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1931 if test -n "$ac_ct_CC"; then
1932 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1933 echo "${ECHO_T}$ac_ct_CC" >&6
1935 echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1939 test -n "$ac_ct_CC" && break
1948 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1949 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1950 { (exit 1); exit 1; }; }
1952 # Provide some information about the compiler.
1953 echo "$as_me:$LINENO:" \
1954 "checking for C compiler version" >&5
1955 ac_compiler
=`set X $ac_compile; echo $2`
1956 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1957 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }
1961 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1962 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1965 (exit $ac_status); }
1966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1967 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1970 (exit $ac_status); }
1972 cat >conftest.
$ac_ext <<_ACEOF
1973 #line $LINENO "configure"
1974 #include "confdefs.h"
1976 #ifdef F77_DUMMY_MAIN
1980 int F77_DUMMY_MAIN() { return 1; }
1990 ac_clean_files_save
=$ac_clean_files
1991 ac_clean_files
="$ac_clean_files a.out a.exe"
1992 # Try to create an executable without -o first, disregard a.out.
1993 # It will help us diagnose broken compilers, and finding out an intuition
1995 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1996 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1997 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1998 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1999 (eval $ac_link_default) 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; then
2003 # Find the output, starting from the most likely. This scheme is
2004 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2007 # Be careful to initialize this variable, since it used to be cached.
2008 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2010 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2011 ls a.out conftest 2>/dev/null;
2012 ls a.* conftest.* 2>/dev/null`; do
2014 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2015 a.out
) # We found the default executable, but exeext='' is most
2018 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2019 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2026 echo "$as_me: failed program was:" >&5
2027 cat conftest.
$ac_ext >&5
2028 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2029 echo "$as_me: error: C compiler cannot create executables" >&2;}
2030 { (exit 77); exit 77; }; }
2033 ac_exeext
=$ac_cv_exeext
2034 echo "$as_me:$LINENO: result: $ac_file" >&5
2035 echo "${ECHO_T}$ac_file" >&6
2037 # Check the compiler produces executables we can run. If not, either
2038 # the compiler is broken, or we cross compile.
2039 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2040 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2041 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2042 # If not cross compiling, check that we can run a simple program.
2043 if test "$cross_compiling" != yes; then
2044 if { ac_try
='./$ac_file'
2045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }; }; then
2052 if test "$cross_compiling" = maybe
; then
2055 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2056 If you meant to cross compile, use \`--host'." >&5
2057 echo "$as_me: error: cannot run C compiled programs.
2058 If you meant to cross compile, use \`--host'." >&2;}
2059 { (exit 1); exit 1; }; }
2063 echo "$as_me:$LINENO: result: yes" >&5
2064 echo "${ECHO_T}yes" >&6
2066 rm -f a.out a.exe conftest
$ac_cv_exeext
2067 ac_clean_files
=$ac_clean_files_save
2068 # Check the compiler produces executables we can run. If not, either
2069 # the compiler is broken, or we cross compile.
2070 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2071 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2072 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2073 echo "${ECHO_T}$cross_compiling" >&6
2075 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2076 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2078 (eval $ac_link) 2>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }; then
2082 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2083 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2084 # work properly (i.e., refer to `conftest.exe'), while it won't with
2086 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2089 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2097 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2098 { (exit 1); exit 1; }; }
2101 rm -f conftest
$ac_cv_exeext
2102 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2103 echo "${ECHO_T}$ac_cv_exeext" >&6
2105 rm -f conftest.
$ac_ext
2106 EXEEXT
=$ac_cv_exeext
2108 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2109 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2110 if test "${ac_cv_objext+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 cat >conftest.
$ac_ext <<_ACEOF
2114 #line $LINENO "configure"
2115 #include "confdefs.h"
2117 #ifdef F77_DUMMY_MAIN
2121 int F77_DUMMY_MAIN() { return 1; }
2131 rm -f conftest.o conftest.obj
2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2133 (eval $ac_compile) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; then
2137 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2139 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2140 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2145 echo "$as_me: failed program was:" >&5
2146 cat conftest.
$ac_ext >&5
2147 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2148 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2149 { (exit 1); exit 1; }; }
2152 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2155 echo "${ECHO_T}$ac_cv_objext" >&6
2156 OBJEXT
=$ac_cv_objext
2158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2160 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 cat >conftest.
$ac_ext <<_ACEOF
2164 #line $LINENO "configure"
2165 #include "confdefs.h"
2167 #ifdef F77_DUMMY_MAIN
2171 int F77_DUMMY_MAIN() { return 1; }
2184 rm -f conftest.
$ac_objext
2185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2186 (eval $ac_compile) 2>&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); } &&
2190 { ac_try
='test -s conftest.$ac_objext'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2198 echo "$as_me: failed program was:" >&5
2199 cat conftest.
$ac_ext >&5
2202 rm -f conftest.
$ac_objext conftest.
$ac_ext
2203 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2206 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2207 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2208 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2209 ac_test_CFLAGS
=${CFLAGS+set}
2210 ac_save_CFLAGS
=$CFLAGS
2212 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2213 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2214 if test "${ac_cv_prog_cc_g+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 cat >conftest.
$ac_ext <<_ACEOF
2218 #line $LINENO "configure"
2219 #include "confdefs.h"
2221 #ifdef F77_DUMMY_MAIN
2225 int F77_DUMMY_MAIN() { return 1; }
2235 rm -f conftest.
$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237 (eval $ac_compile) 2>&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); } &&
2241 { ac_try
='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2249 echo "$as_me: failed program was:" >&5
2250 cat conftest.
$ac_ext >&5
2253 rm -f conftest.
$ac_objext conftest.
$ac_ext
2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2257 if test "$ac_test_CFLAGS" = set; then
2258 CFLAGS
=$ac_save_CFLAGS
2259 elif test $ac_cv_prog_cc_g = yes; then
2260 if test "$GCC" = yes; then
2266 if test "$GCC" = yes; then
2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2274 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 ac_cv_prog_cc_stdc
=no
2279 cat >conftest.
$ac_ext <<_ACEOF
2280 #line $LINENO "configure"
2281 #include "confdefs.h"
2284 #include <sys/types.h>
2285 #include <sys/stat.h>
2286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2287 struct buf { int x; };
2288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2289 static char *e (p, i)
2295 static char *f (char * (*g) (char **, int), char **p, ...)
2300 s = g (p, va_arg (v,int));
2304 int test (int i, double x);
2305 struct s1 {int (*f) (int a);};
2306 struct s2 {int (*f) (double a);};
2307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2310 #ifdef F77_DUMMY_MAIN
2314 int F77_DUMMY_MAIN() { return 1; }
2319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2324 # Don't try gcc -ansi; that turns off useful extensions and
2325 # breaks some systems' header files.
2326 # AIX -qlanglvl=ansi
2327 # Ultrix and OSF/1 -std1
2328 # HP-UX 10.20 and later -Ae
2329 # HP-UX older versions -Aa -D_HPUX_SOURCE
2330 # SVR4 -Xc -D__EXTENSIONS__
2331 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2333 CC
="$ac_save_CC $ac_arg"
2334 rm -f conftest.
$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); } &&
2340 { ac_try
='test -s conftest.$ac_objext'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2346 ac_cv_prog_cc_stdc
=$ac_arg
2349 echo "$as_me: failed program was:" >&5
2350 cat conftest.
$ac_ext >&5
2352 rm -f conftest.
$ac_objext
2354 rm -f conftest.
$ac_ext conftest.
$ac_objext
2359 case "x$ac_cv_prog_cc_stdc" in
2361 echo "$as_me:$LINENO: result: none needed" >&5
2362 echo "${ECHO_T}none needed" >&6 ;;
2364 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2365 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2366 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2369 # Some people use a C++ compiler to compile C. Since we use `exit',
2370 # in C++ we need to declare it. In case someone uses the same compiler
2371 # for both compiling C and C++ we need to have the C++ compiler decide
2372 # the declaration of exit, since it's the most demanding environment.
2373 cat >conftest.
$ac_ext <<_ACEOF
2378 rm -f conftest.
$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try
='test -s conftest.$ac_objext'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2390 for ac_declaration
in \
2392 '#include <stdlib.h>' \
2393 'extern "C" void std::exit (int) throw (); using std::exit;' \
2394 'extern "C" void std::exit (int); using std::exit;' \
2395 'extern "C" void exit (int) throw ();' \
2396 'extern "C" void exit (int);' \
2399 cat >conftest.
$ac_ext <<_ACEOF
2400 #line $LINENO "configure"
2401 #include "confdefs.h"
2404 #ifdef F77_DUMMY_MAIN
2408 int F77_DUMMY_MAIN() { return 1; }
2418 rm -f conftest.
$ac_objext
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 cat conftest.
$ac_ext >&5
2436 rm -f conftest.
$ac_objext conftest.
$ac_ext
2437 cat >conftest.
$ac_ext <<_ACEOF
2438 #line $LINENO "configure"
2439 #include "confdefs.h"
2441 #ifdef F77_DUMMY_MAIN
2445 int F77_DUMMY_MAIN() { return 1; }
2455 rm -f conftest.
$ac_objext
2456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2457 (eval $ac_compile) 2>&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); } &&
2461 { ac_try
='test -s conftest.$ac_objext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2469 echo "$as_me: failed program was:" >&5
2470 cat conftest.
$ac_ext >&5
2472 rm -f conftest.
$ac_objext conftest.
$ac_ext
2475 if test -n "$ac_declaration"; then
2476 echo '#ifdef __cplusplus' >>confdefs.h
2477 echo $ac_declaration >>confdefs.h
2478 echo '#endif' >>confdefs.h
2482 echo "$as_me: failed program was:" >&5
2483 cat conftest.
$ac_ext >&5
2485 rm -f conftest.
$ac_objext conftest.
$ac_ext
2487 ac_cpp
='$CPP $CPPFLAGS'
2488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2491 rm -f .deps
2>/dev
/null
2492 mkdir .deps
2>/dev
/null
2493 if test -d .deps
; then
2496 # MS-DOS does not allow filenames that begin with a dot.
2499 rmdir .deps
2>/dev
/null
2502 ac_config_commands
="$ac_config_commands depfiles"
2505 am_make
=${MAKE-make}
2506 cat > confinc
<< 'END'
2510 # If we don't find an include directive, just comment out the code.
2511 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2512 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2516 # First try GNU make style include.
2517 echo "include confinc" > confmf
2518 # We grep out `Entering directory' and `Leaving directory'
2519 # messages which can occur if `w' ends up in MAKEFLAGS.
2520 # In particular we don't look at `^make:' because GNU make might
2521 # be invoked under some other name (usually "gmake"), in which
2522 # case it prints its new name instead of `make'.
2523 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2528 # Now try BSD make style include.
2529 if test "$am__include" = "#"; then
2530 echo '.include "confinc"' > confmf
2531 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2532 am__include
=.include
2539 echo "$as_me:$LINENO: result: $_am_result" >&5
2540 echo "${ECHO_T}$_am_result" >&6
2541 rm -f confinc confmf
2543 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2544 if test "${enable_dependency_tracking+set}" = set; then
2545 enableval
="$enable_dependency_tracking"
2548 if test "x$enable_dependency_tracking" != xno
; then
2549 am_depcomp
="$ac_aux_dir/depcomp"
2554 if test "x$enable_dependency_tracking" != xno; then
2565 depcc
="$CC" am_compiler_list
=
2567 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2568 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2569 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2573 # We make a subdir and do the tests there. Otherwise we can end up
2574 # making bogus files that we don't know about and never remove. For
2575 # instance it was reported that on HP-UX the gcc test will end up
2576 # making a dummy file named `D' -- because `-MD' means `put the output
2579 # Copy depcomp to subdir because otherwise we won't find it if we're
2580 # using a relative directory.
2581 cp "$am_depcomp" conftest.dir
2584 am_cv_CC_dependencies_compiler_type
=none
2585 if test "$am_compiler_list" = ""; then
2586 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2588 for depmode
in $am_compiler_list; do
2589 # We need to recreate these files for each test, as the compiler may
2590 # overwrite some of them when testing with obscure command lines.
2591 # This happens at least with the AIX C compiler.
2592 echo '#include "conftest.h"' > conftest.c
2593 echo 'int i;' > conftest.h
2594 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2598 # after this tag, mechanisms are not by side-effect, so they'll
2599 # only be used when explicitly requested
2600 if test "x$enable_dependency_tracking" = xyes
; then
2608 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2609 # mode. It turns out that the SunPro C++ compiler does not properly
2610 # handle `-M -o', and we need to detect this.
2611 if depmode
=$depmode \
2612 source=conftest.c object
=conftest.o \
2613 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2614 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2615 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2616 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2617 am_cv_CC_dependencies_compiler_type
=$depmode
2625 am_cv_CC_dependencies_compiler_type
=none
2629 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2630 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2631 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2634 # Find a good install program. We prefer a C program (faster),
2635 # so one script is as good as another. But avoid the broken or
2636 # incompatible versions:
2637 # SysV /etc/install, /usr/sbin/install
2638 # SunOS /usr/etc/install
2639 # IRIX /sbin/install
2641 # AmigaOS /C/install, which installs bootblocks on floppy discs
2642 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2643 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2644 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2645 # ./install, which can be erroneously created by make from ./install.sh.
2646 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2647 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2648 if test -z "$INSTALL"; then
2649 if test "${ac_cv_path_install+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 # Account for people who put trailing slashes in PATH elements.
2659 .
/ | .
// |
/cC
/* | \
2660 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2663 # OSF1 and SCO ODT 3.0 have their own names for install.
2664 # Don't use installbsd from OSF since it installs stuff as root
2666 for ac_prog
in ginstall scoinst
install; do
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2669 if test $ac_prog = install &&
2670 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2671 # AIX install. It has an incompatible calling convention.
2673 elif test $ac_prog = install &&
2674 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2675 # program-specific install script used by HP pwplus--don't use.
2678 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2690 if test "${ac_cv_path_install+set}" = set; then
2691 INSTALL
=$ac_cv_path_install
2693 # As a last resort, use the slow shell script. We don't cache a
2694 # path for INSTALL within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the path is relative.
2697 INSTALL
=$ac_install_sh
2700 echo "$as_me:$LINENO: result: $INSTALL" >&5
2701 echo "${ECHO_T}$INSTALL" >&6
2703 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2704 # It thinks the first close brace ends the variable substitution.
2705 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2707 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2709 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2712 # Checks for libraries.
2715 echo "$as_me:$LINENO: checking for poptPrintHelp in -lpopt" >&5
2716 echo $ECHO_N "checking for poptPrintHelp in -lpopt... $ECHO_C" >&6
2717 if test "${ac_cv_lib_popt_poptPrintHelp+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 ac_check_lib_save_LIBS
=$LIBS
2722 cat >conftest.
$ac_ext <<_ACEOF
2723 #line $LINENO "configure"
2724 #include "confdefs.h"
2726 /* Override any gcc2 internal prototype to avoid an error. */
2730 /* We use char because int might match the return type of a gcc2
2731 builtin and then its argument prototype would still apply. */
2732 char poptPrintHelp ();
2733 #ifdef F77_DUMMY_MAIN
2737 int F77_DUMMY_MAIN() { return 1; }
2747 rm -f conftest.
$ac_objext conftest
$ac_exeext
2748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2749 (eval $ac_link) 2>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -s conftest$ac_exeext'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2759 ac_cv_lib_popt_poptPrintHelp
=yes
2761 echo "$as_me: failed program was:" >&5
2762 cat conftest.
$ac_ext >&5
2763 ac_cv_lib_popt_poptPrintHelp
=no
2765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2766 LIBS
=$ac_check_lib_save_LIBS
2768 echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptPrintHelp" >&5
2769 echo "${ECHO_T}$ac_cv_lib_popt_poptPrintHelp" >&6
2770 if test $ac_cv_lib_popt_poptPrintHelp = yes; then
2771 cat >>confdefs.h
<<_ACEOF
2772 #define HAVE_LIBPOPT 1
2780 echo "$as_me:$LINENO: checking for semget in -lcygipc" >&5
2781 echo $ECHO_N "checking for semget in -lcygipc... $ECHO_C" >&6
2782 if test "${ac_cv_lib_cygipc_semget+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 ac_check_lib_save_LIBS
=$LIBS
2786 LIBS
="-lcygipc $LIBS"
2787 cat >conftest.
$ac_ext <<_ACEOF
2788 #line $LINENO "configure"
2789 #include "confdefs.h"
2791 /* Override any gcc2 internal prototype to avoid an error. */
2795 /* We use char because int might match the return type of a gcc2
2796 builtin and then its argument prototype would still apply. */
2798 #ifdef F77_DUMMY_MAIN
2802 int F77_DUMMY_MAIN() { return 1; }
2812 rm -f conftest.
$ac_objext conftest
$ac_exeext
2813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2814 (eval $ac_link) 2>&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } &&
2818 { ac_try
='test -s conftest$ac_exeext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2824 ac_cv_lib_cygipc_semget
=yes
2826 echo "$as_me: failed program was:" >&5
2827 cat conftest.
$ac_ext >&5
2828 ac_cv_lib_cygipc_semget
=no
2830 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2831 LIBS
=$ac_check_lib_save_LIBS
2833 echo "$as_me:$LINENO: result: $ac_cv_lib_cygipc_semget" >&5
2834 echo "${ECHO_T}$ac_cv_lib_cygipc_semget" >&6
2835 if test $ac_cv_lib_cygipc_semget = yes; then
2836 cat >>confdefs.h
<<_ACEOF
2837 #define HAVE_LIBCYGIPC 1
2840 LIBS
="-lcygipc $LIBS"
2845 echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
2846 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
2847 if test "${ac_cv_lib_intl_gettext+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 ac_check_lib_save_LIBS
=$LIBS
2852 cat >conftest.
$ac_ext <<_ACEOF
2853 #line $LINENO "configure"
2854 #include "confdefs.h"
2856 /* Override any gcc2 internal prototype to avoid an error. */
2860 /* We use char because int might match the return type of a gcc2
2861 builtin and then its argument prototype would still apply. */
2863 #ifdef F77_DUMMY_MAIN
2867 int F77_DUMMY_MAIN() { return 1; }
2877 rm -f conftest.
$ac_objext conftest
$ac_exeext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2879 (eval $ac_link) 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } &&
2883 { ac_try
='test -s conftest$ac_exeext'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2889 ac_cv_lib_intl_gettext
=yes
2891 echo "$as_me: failed program was:" >&5
2892 cat conftest.
$ac_ext >&5
2893 ac_cv_lib_intl_gettext
=no
2895 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2896 LIBS
=$ac_check_lib_save_LIBS
2898 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
2899 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
2900 if test $ac_cv_lib_intl_gettext = yes; then
2901 cat >>confdefs.h
<<_ACEOF
2902 #define HAVE_LIBINTL 1
2910 # Checks for header files.
2912 ac_cpp
='$CPP $CPPFLAGS'
2913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2916 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2917 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2918 # On Suns, sometimes $CPP names a directory.
2919 if test -n "$CPP" && test -d "$CPP"; then
2922 if test -z "$CPP"; then
2923 if test "${ac_cv_prog_CPP+set}" = set; then
2924 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 # Double quotes because CPP needs to be expanded
2927 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2930 for ac_c_preproc_warn_flag
in '' yes
2932 # Use a header file that comes with gcc, so configuring glibc
2933 # with a fresh cross-compiler works.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.
$ac_ext <<_ACEOF
2937 #line $LINENO "configure"
2938 #include "confdefs.h"
2942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2945 egrep -v '^ *\+' conftest.er1
>conftest.err
2947 cat conftest.err
>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } >/dev
/null
; then
2950 if test -s conftest.err
; then
2951 ac_cpp_err
=$ac_c_preproc_warn_flag
2958 if test -z "$ac_cpp_err"; then
2961 echo "$as_me: failed program was:" >&5
2962 cat conftest.
$ac_ext >&5
2963 # Broken: fails on valid input.
2966 rm -f conftest.err conftest.
$ac_ext
2968 # OK, works on sane cases. Now check whether non-existent headers
2969 # can be detected and how.
2970 cat >conftest.
$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2972 #include "confdefs.h"
2973 #include <ac_nonexistent.h>
2975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2978 egrep -v '^ *\+' conftest.er1
>conftest.err
2980 cat conftest.err
>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } >/dev
/null
; then
2983 if test -s conftest.err
; then
2984 ac_cpp_err
=$ac_c_preproc_warn_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 cat conftest.
$ac_ext >&5
2997 # Passes both tests.
3001 rm -f conftest.err conftest.
$ac_ext
3004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3005 rm -f conftest.err conftest.
$ac_ext
3006 if $ac_preproc_ok; then
3018 echo "$as_me:$LINENO: result: $CPP" >&5
3019 echo "${ECHO_T}$CPP" >&6
3021 for ac_c_preproc_warn_flag
in '' yes
3023 # Use a header file that comes with gcc, so configuring glibc
3024 # with a fresh cross-compiler works.
3025 # On the NeXT, cc -E runs the code through the compiler's parser,
3026 # not just through cpp. "Syntax error" is here to catch this case.
3027 cat >conftest.
$ac_ext <<_ACEOF
3028 #line $LINENO "configure"
3029 #include "confdefs.h"
3033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3036 egrep -v '^ *\+' conftest.er1
>conftest.err
3038 cat conftest.err
>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); } >/dev
/null
; then
3041 if test -s conftest.err
; then
3042 ac_cpp_err
=$ac_c_preproc_warn_flag
3049 if test -z "$ac_cpp_err"; then
3052 echo "$as_me: failed program was:" >&5
3053 cat conftest.
$ac_ext >&5
3054 # Broken: fails on valid input.
3057 rm -f conftest.err conftest.
$ac_ext
3059 # OK, works on sane cases. Now check whether non-existent headers
3060 # can be detected and how.
3061 cat >conftest.
$ac_ext <<_ACEOF
3062 #line $LINENO "configure"
3063 #include "confdefs.h"
3064 #include <ac_nonexistent.h>
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3069 egrep -v '^ *\+' conftest.er1
>conftest.err
3071 cat conftest.err
>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev
/null
; then
3074 if test -s conftest.err
; then
3075 ac_cpp_err
=$ac_c_preproc_warn_flag
3082 if test -z "$ac_cpp_err"; then
3083 # Broken: success on invalid input.
3086 echo "$as_me: failed program was:" >&5
3087 cat conftest.
$ac_ext >&5
3088 # Passes both tests.
3092 rm -f conftest.err conftest.
$ac_ext
3095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3096 rm -f conftest.err conftest.
$ac_ext
3097 if $ac_preproc_ok; then
3100 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3101 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3102 { (exit 1); exit 1; }; }
3106 ac_cpp
='$CPP $CPPFLAGS'
3107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3112 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3113 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3114 if test "${ac_cv_header_stdc+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 cat >conftest.
$ac_ext <<_ACEOF
3118 #line $LINENO "configure"
3119 #include "confdefs.h"
3126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3129 egrep -v '^ *\+' conftest.er1
>conftest.err
3131 cat conftest.err
>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } >/dev
/null
; then
3134 if test -s conftest.err
; then
3135 ac_cpp_err
=$ac_c_preproc_warn_flag
3142 if test -z "$ac_cpp_err"; then
3143 ac_cv_header_stdc
=yes
3145 echo "$as_me: failed program was:" >&5
3146 cat conftest.
$ac_ext >&5
3147 ac_cv_header_stdc
=no
3149 rm -f conftest.err conftest.
$ac_ext
3151 if test $ac_cv_header_stdc = yes; then
3152 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3153 cat >conftest.
$ac_ext <<_ACEOF
3154 #line $LINENO "configure"
3155 #include "confdefs.h"
3159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3160 egrep "memchr" >/dev
/null
2>&1; then
3163 ac_cv_header_stdc
=no
3169 if test $ac_cv_header_stdc = yes; then
3170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3171 cat >conftest.
$ac_ext <<_ACEOF
3172 #line $LINENO "configure"
3173 #include "confdefs.h"
3177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3178 egrep "free" >/dev
/null
2>&1; then
3181 ac_cv_header_stdc
=no
3187 if test $ac_cv_header_stdc = yes; then
3188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3189 if test "$cross_compiling" = yes; then
3192 cat >conftest.
$ac_ext <<_ACEOF
3193 #line $LINENO "configure"
3194 #include "confdefs.h"
3196 #if ((' ' & 0x0FF) == 0x020)
3197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3200 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3201 || ('j' <= (c) && (c) <= 'r') \
3202 || ('s' <= (c) && (c) <= 'z'))
3203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3211 for (i = 0; i < 256; i++)
3212 if (XOR (islower (i), ISLOWER (i))
3213 || toupper (i) != TOUPPER (i))
3218 rm -f conftest
$ac_exeext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3220 (eval $ac_link) 2>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: program exited with status $ac_status" >&5
3232 echo "$as_me: failed program was:" >&5
3233 cat conftest.
$ac_ext >&5
3235 ac_cv_header_stdc
=no
3237 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3241 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3242 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3243 if test $ac_cv_header_stdc = yes; then
3245 cat >>confdefs.h
<<\_ACEOF
3246 #define STDC_HEADERS 1
3251 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3252 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3253 if test "${ac_cv_header_time+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 cat >conftest.
$ac_ext <<_ACEOF
3257 #line $LINENO "configure"
3258 #include "confdefs.h"
3259 #include <sys/types.h>
3260 #include <sys/time.h>
3263 #ifdef F77_DUMMY_MAIN
3267 int F77_DUMMY_MAIN() { return 1; }
3272 if ((struct tm *) 0)
3278 rm -f conftest.
$ac_objext
3279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3280 (eval $ac_compile) 2>&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } &&
3284 { ac_try
='test -s conftest.$ac_objext'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; }; then
3290 ac_cv_header_time
=yes
3292 echo "$as_me: failed program was:" >&5
3293 cat conftest.
$ac_ext >&5
3294 ac_cv_header_time
=no
3296 rm -f conftest.
$ac_objext conftest.
$ac_ext
3298 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3299 echo "${ECHO_T}$ac_cv_header_time" >&6
3300 if test $ac_cv_header_time = yes; then
3302 cat >>confdefs.h
<<\_ACEOF
3303 #define TIME_WITH_SYS_TIME 1
3308 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3318 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3319 inttypes.h stdint.h unistd.h
3321 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3322 echo "$as_me:$LINENO: checking for $ac_header" >&5
3323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3327 cat >conftest.
$ac_ext <<_ACEOF
3328 #line $LINENO "configure"
3329 #include "confdefs.h"
3330 $ac_includes_default
3332 #include <$ac_header>
3334 rm -f conftest.
$ac_objext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336 (eval $ac_compile) 2>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try
='test -s conftest.$ac_objext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3346 eval "$as_ac_Header=yes"
3348 echo "$as_me: failed program was:" >&5
3349 cat conftest.
$ac_ext >&5
3350 eval "$as_ac_Header=no"
3352 rm -f conftest.
$ac_objext conftest.
$ac_ext
3354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3357 cat >>confdefs.h
<<_ACEOF
3358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3375 for ac_header
in stdlib.h stddef.h errno.h limits.h malloc.h \
3376 ctype.h getopt.h popt.h windows.h
3378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3380 echo "$as_me:$LINENO: checking for $ac_header" >&5
3381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3388 # Is the header compilable?
3389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3391 cat >conftest.
$ac_ext <<_ACEOF
3392 #line $LINENO "configure"
3393 #include "confdefs.h"
3394 $ac_includes_default
3395 #include <$ac_header>
3397 rm -f conftest.
$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try
='test -s conftest.$ac_objext'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; }; then
3409 ac_header_compiler
=yes
3411 echo "$as_me: failed program was:" >&5
3412 cat conftest.
$ac_ext >&5
3413 ac_header_compiler
=no
3415 rm -f conftest.
$ac_objext conftest.
$ac_ext
3416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3417 echo "${ECHO_T}$ac_header_compiler" >&6
3419 # Is the header present?
3420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3422 cat >conftest.
$ac_ext <<_ACEOF
3423 #line $LINENO "configure"
3424 #include "confdefs.h"
3425 #include <$ac_header>
3427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3430 egrep -v '^ *\+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } >/dev
/null
; then
3435 if test -s conftest.err
; then
3436 ac_cpp_err
=$ac_c_preproc_warn_flag
3443 if test -z "$ac_cpp_err"; then
3444 ac_header_preproc
=yes
3446 echo "$as_me: failed program was:" >&5
3447 cat conftest.
$ac_ext >&5
3448 ac_header_preproc
=no
3450 rm -f conftest.err conftest.
$ac_ext
3451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3452 echo "${ECHO_T}$ac_header_preproc" >&6
3454 # So? What about this header?
3455 case $ac_header_compiler:$ac_header_preproc in
3457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3469 echo "$as_me:$LINENO: checking for $ac_header" >&5
3470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 eval "$as_ac_Header=$ac_header_preproc"
3476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3481 cat >>confdefs.h
<<_ACEOF
3482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3491 for ac_header
in string.h
strings.h
3493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3495 echo "$as_me:$LINENO: checking for $ac_header" >&5
3496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3503 # Is the header compilable?
3504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3506 cat >conftest.
$ac_ext <<_ACEOF
3507 #line $LINENO "configure"
3508 #include "confdefs.h"
3509 $ac_includes_default
3510 #include <$ac_header>
3512 rm -f conftest.
$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_header_compiler
=yes
3526 echo "$as_me: failed program was:" >&5
3527 cat conftest.
$ac_ext >&5
3528 ac_header_compiler
=no
3530 rm -f conftest.
$ac_objext conftest.
$ac_ext
3531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3532 echo "${ECHO_T}$ac_header_compiler" >&6
3534 # Is the header present?
3535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3537 cat >conftest.
$ac_ext <<_ACEOF
3538 #line $LINENO "configure"
3539 #include "confdefs.h"
3540 #include <$ac_header>
3542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3545 egrep -v '^ *\+' conftest.er1
>conftest.err
3547 cat conftest.err
>&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } >/dev
/null
; then
3550 if test -s conftest.err
; then
3551 ac_cpp_err
=$ac_c_preproc_warn_flag
3558 if test -z "$ac_cpp_err"; then
3559 ac_header_preproc
=yes
3561 echo "$as_me: failed program was:" >&5
3562 cat conftest.
$ac_ext >&5
3563 ac_header_preproc
=no
3565 rm -f conftest.err conftest.
$ac_ext
3566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3567 echo "${ECHO_T}$ac_header_preproc" >&6
3569 # So? What about this header?
3570 case $ac_header_compiler:$ac_header_preproc in
3572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3584 echo "$as_me:$LINENO: checking for $ac_header" >&5
3585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 eval "$as_ac_Header=$ac_header_preproc"
3591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3596 cat >>confdefs.h
<<_ACEOF
3597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3606 for ac_header
in stdarg.h varargs.h
3608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3610 echo "$as_me:$LINENO: checking for $ac_header" >&5
3611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3618 # Is the header compilable?
3619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3621 cat >conftest.
$ac_ext <<_ACEOF
3622 #line $LINENO "configure"
3623 #include "confdefs.h"
3624 $ac_includes_default
3625 #include <$ac_header>
3627 rm -f conftest.
$ac_objext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3629 (eval $ac_compile) 2>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try
='test -s conftest.$ac_objext'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; }; then
3639 ac_header_compiler
=yes
3641 echo "$as_me: failed program was:" >&5
3642 cat conftest.
$ac_ext >&5
3643 ac_header_compiler
=no
3645 rm -f conftest.
$ac_objext conftest.
$ac_ext
3646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3647 echo "${ECHO_T}$ac_header_compiler" >&6
3649 # Is the header present?
3650 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3652 cat >conftest.
$ac_ext <<_ACEOF
3653 #line $LINENO "configure"
3654 #include "confdefs.h"
3655 #include <$ac_header>
3657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3660 egrep -v '^ *\+' conftest.er1
>conftest.err
3662 cat conftest.err
>&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev
/null
; then
3665 if test -s conftest.err
; then
3666 ac_cpp_err
=$ac_c_preproc_warn_flag
3673 if test -z "$ac_cpp_err"; then
3674 ac_header_preproc
=yes
3676 echo "$as_me: failed program was:" >&5
3677 cat conftest.
$ac_ext >&5
3678 ac_header_preproc
=no
3680 rm -f conftest.err conftest.
$ac_ext
3681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3682 echo "${ECHO_T}$ac_header_preproc" >&6
3684 # So? What about this header?
3685 case $ac_header_compiler:$ac_header_preproc in
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3699 echo "$as_me:$LINENO: checking for $ac_header" >&5
3700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 eval "$as_ac_Header=$ac_header_preproc"
3706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3711 cat >>confdefs.h
<<_ACEOF
3712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3725 for ac_header
in utmp.h signal.h netinet
/in.h netdb.h arpa
/inet.h \
3728 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3730 echo "$as_me:$LINENO: checking for $ac_header" >&5
3731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3738 # Is the header compilable?
3739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3741 cat >conftest.
$ac_ext <<_ACEOF
3742 #line $LINENO "configure"
3743 #include "confdefs.h"
3744 $ac_includes_default
3745 #include <$ac_header>
3747 rm -f conftest.
$ac_objext
3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3749 (eval $ac_compile) 2>&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } &&
3753 { ac_try
='test -s conftest.$ac_objext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3759 ac_header_compiler
=yes
3761 echo "$as_me: failed program was:" >&5
3762 cat conftest.
$ac_ext >&5
3763 ac_header_compiler
=no
3765 rm -f conftest.
$ac_objext conftest.
$ac_ext
3766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3767 echo "${ECHO_T}$ac_header_compiler" >&6
3769 # Is the header present?
3770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3772 cat >conftest.
$ac_ext <<_ACEOF
3773 #line $LINENO "configure"
3774 #include "confdefs.h"
3775 #include <$ac_header>
3777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3780 egrep -v '^ *\+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } >/dev
/null
; then
3785 if test -s conftest.err
; then
3786 ac_cpp_err
=$ac_c_preproc_warn_flag
3793 if test -z "$ac_cpp_err"; then
3794 ac_header_preproc
=yes
3796 echo "$as_me: failed program was:" >&5
3797 cat conftest.
$ac_ext >&5
3798 ac_header_preproc
=no
3800 rm -f conftest.err conftest.
$ac_ext
3801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3802 echo "${ECHO_T}$ac_header_preproc" >&6
3804 # So? What about this header?
3805 case $ac_header_compiler:$ac_header_preproc in
3807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3819 echo "$as_me:$LINENO: checking for $ac_header" >&5
3820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 eval "$as_ac_Header=$ac_header_preproc"
3826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3831 cat >>confdefs.h
<<_ACEOF
3832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3842 for ac_header
in sys
/sem.h sys
/shm.h sys
/msg.h
3844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3846 echo "$as_me:$LINENO: checking for $ac_header" >&5
3847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3854 # Is the header compilable?
3855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3857 cat >conftest.
$ac_ext <<_ACEOF
3858 #line $LINENO "configure"
3859 #include "confdefs.h"
3860 $ac_includes_default
3861 #include <$ac_header>
3863 rm -f conftest.
$ac_objext
3864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3865 (eval $ac_compile) 2>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try
='test -s conftest.$ac_objext'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; }; then
3875 ac_header_compiler
=yes
3877 echo "$as_me: failed program was:" >&5
3878 cat conftest.
$ac_ext >&5
3879 ac_header_compiler
=no
3881 rm -f conftest.
$ac_objext conftest.
$ac_ext
3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3883 echo "${ECHO_T}$ac_header_compiler" >&6
3885 # Is the header present?
3886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3888 cat >conftest.
$ac_ext <<_ACEOF
3889 #line $LINENO "configure"
3890 #include "confdefs.h"
3891 #include <$ac_header>
3893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3896 egrep -v '^ *\+' conftest.er1
>conftest.err
3898 cat conftest.err
>&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } >/dev
/null
; then
3901 if test -s conftest.err
; then
3902 ac_cpp_err
=$ac_c_preproc_warn_flag
3909 if test -z "$ac_cpp_err"; then
3910 ac_header_preproc
=yes
3912 echo "$as_me: failed program was:" >&5
3913 cat conftest.
$ac_ext >&5
3914 ac_header_preproc
=no
3916 rm -f conftest.err conftest.
$ac_ext
3917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3918 echo "${ECHO_T}$ac_header_preproc" >&6
3920 # So? What about this header?
3921 case $ac_header_compiler:$ac_header_preproc in
3923 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3924 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3935 echo "$as_me:$LINENO: checking for $ac_header" >&5
3936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 eval "$as_ac_Header=$ac_header_preproc"
3942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3947 cat >>confdefs.h
<<_ACEOF
3948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3960 for ac_header
in langinfo.h libintl.h sys
/param.h fcntl.h unistd.h
3962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3964 echo "$as_me:$LINENO: checking for $ac_header" >&5
3965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3972 # Is the header compilable?
3973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3976 #line $LINENO "configure"
3977 #include "confdefs.h"
3978 $ac_includes_default
3979 #include <$ac_header>
3981 rm -f conftest.
$ac_objext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3983 (eval $ac_compile) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try
='test -s conftest.$ac_objext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 ac_header_compiler
=yes
3995 echo "$as_me: failed program was:" >&5
3996 cat conftest.
$ac_ext >&5
3997 ac_header_compiler
=no
3999 rm -f conftest.
$ac_objext conftest.
$ac_ext
4000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4001 echo "${ECHO_T}$ac_header_compiler" >&6
4003 # Is the header present?
4004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4006 cat >conftest.
$ac_ext <<_ACEOF
4007 #line $LINENO "configure"
4008 #include "confdefs.h"
4009 #include <$ac_header>
4011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4014 egrep -v '^ *\+' conftest.er1
>conftest.err
4016 cat conftest.err
>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } >/dev
/null
; then
4019 if test -s conftest.err
; then
4020 ac_cpp_err
=$ac_c_preproc_warn_flag
4027 if test -z "$ac_cpp_err"; then
4028 ac_header_preproc
=yes
4030 echo "$as_me: failed program was:" >&5
4031 cat conftest.
$ac_ext >&5
4032 ac_header_preproc
=no
4034 rm -f conftest.err conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4036 echo "${ECHO_T}$ac_header_preproc" >&6
4038 # So? What about this header?
4039 case $ac_header_compiler:$ac_header_preproc in
4041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4053 echo "$as_me:$LINENO: checking for $ac_header" >&5
4054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 eval "$as_ac_Header=$ac_header_preproc"
4060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4065 cat >>confdefs.h
<<_ACEOF
4066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4074 for ac_header
in wchar.h
4076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4078 echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4086 # Is the header compilable?
4087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4089 cat >conftest.
$ac_ext <<_ACEOF
4090 #line $LINENO "configure"
4091 #include "confdefs.h"
4092 $ac_includes_default
4093 #include <$ac_header>
4095 rm -f conftest.
$ac_objext
4096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4097 (eval $ac_compile) 2>&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); } &&
4101 { ac_try
='test -s conftest.$ac_objext'
4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4107 ac_header_compiler
=yes
4109 echo "$as_me: failed program was:" >&5
4110 cat conftest.
$ac_ext >&5
4111 ac_header_compiler
=no
4113 rm -f conftest.
$ac_objext conftest.
$ac_ext
4114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4115 echo "${ECHO_T}$ac_header_compiler" >&6
4117 # Is the header present?
4118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4120 cat >conftest.
$ac_ext <<_ACEOF
4121 #line $LINENO "configure"
4122 #include "confdefs.h"
4123 #include <$ac_header>
4125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4128 egrep -v '^ *\+' conftest.er1
>conftest.err
4130 cat conftest.err
>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } >/dev
/null
; then
4133 if test -s conftest.err
; then
4134 ac_cpp_err
=$ac_c_preproc_warn_flag
4141 if test -z "$ac_cpp_err"; then
4142 ac_header_preproc
=yes
4144 echo "$as_me: failed program was:" >&5
4145 cat conftest.
$ac_ext >&5
4146 ac_header_preproc
=no
4148 rm -f conftest.err conftest.
$ac_ext
4149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4150 echo "${ECHO_T}$ac_header_preproc" >&6
4152 # So? What about this header?
4153 case $ac_header_compiler:$ac_header_preproc in
4155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4167 echo "$as_me:$LINENO: checking for $ac_header" >&5
4168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 eval "$as_ac_Header=$ac_header_preproc"
4174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4179 cat >>confdefs.h
<<_ACEOF
4180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4188 for ac_header
in locale.h
4190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4192 echo "$as_me:$LINENO: checking for $ac_header" >&5
4193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4200 # Is the header compilable?
4201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4203 cat >conftest.
$ac_ext <<_ACEOF
4204 #line $LINENO "configure"
4205 #include "confdefs.h"
4206 $ac_includes_default
4207 #include <$ac_header>
4209 rm -f conftest.
$ac_objext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 ac_header_compiler
=yes
4223 echo "$as_me: failed program was:" >&5
4224 cat conftest.
$ac_ext >&5
4225 ac_header_compiler
=no
4227 rm -f conftest.
$ac_objext conftest.
$ac_ext
4228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4229 echo "${ECHO_T}$ac_header_compiler" >&6
4231 # Is the header present?
4232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4234 cat >conftest.
$ac_ext <<_ACEOF
4235 #line $LINENO "configure"
4236 #include "confdefs.h"
4237 #include <$ac_header>
4239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4242 egrep -v '^ *\+' conftest.er1
>conftest.err
4244 cat conftest.err
>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } >/dev
/null
; then
4247 if test -s conftest.err
; then
4248 ac_cpp_err
=$ac_c_preproc_warn_flag
4255 if test -z "$ac_cpp_err"; then
4256 ac_header_preproc
=yes
4258 echo "$as_me: failed program was:" >&5
4259 cat conftest.
$ac_ext >&5
4260 ac_header_preproc
=no
4262 rm -f conftest.err conftest.
$ac_ext
4263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4264 echo "${ECHO_T}$ac_header_preproc" >&6
4266 # So? What about this header?
4267 case $ac_header_compiler:$ac_header_preproc in
4269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4281 echo "$as_me:$LINENO: checking for $ac_header" >&5
4282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 eval "$as_ac_Header=$ac_header_preproc"
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4293 cat >>confdefs.h
<<_ACEOF
4294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4297 for ac_func
in setlocale
4299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4300 echo "$as_me:$LINENO: checking for $ac_func" >&5
4301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4302 if eval "test \"\${$as_ac_var+set}\" = set"; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 cat >conftest.
$ac_ext <<_ACEOF
4306 #line $LINENO "configure"
4307 #include "confdefs.h"
4308 /* System header to define __stub macros and hopefully few prototypes
4310 which can conflict with char $ac_func (); below. */
4312 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4321 #ifdef F77_DUMMY_MAIN
4325 int F77_DUMMY_MAIN() { return 1; }
4330 /* The GNU C library defines this for functions which it implements
4331 to always fail with ENOSYS. Some functions are actually named
4332 something starting with __ and the normal name is an alias. */
4333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4343 rm -f conftest.
$ac_objext conftest
$ac_exeext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4345 (eval $ac_link) 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try
='test -s conftest$ac_exeext'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4355 eval "$as_ac_var=yes"
4357 echo "$as_me: failed program was:" >&5
4358 cat conftest.
$ac_ext >&5
4359 eval "$as_ac_var=no"
4361 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4365 if test `eval echo '${'$as_ac_var'}'` = yes; then
4366 cat >>confdefs.h
<<_ACEOF
4367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4378 # Checks for typedefs, structures, and compiler characteristics.
4379 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4380 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4381 if test "${ac_cv_c_const+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 cat >conftest.
$ac_ext <<_ACEOF
4385 #line $LINENO "configure"
4386 #include "confdefs.h"
4388 #ifdef F77_DUMMY_MAIN
4392 int F77_DUMMY_MAIN() { return 1; }
4397 /* FIXME: Include the comments suggested by Paul. */
4399 /* Ultrix mips cc rejects this. */
4400 typedef int charset[2];
4402 /* SunOS 4.1.1 cc rejects this. */
4403 char const *const *ccp;
4405 /* NEC SVR4.0.2 mips cc rejects this. */
4406 struct point {int x, y;};
4407 static struct point const zero = {0,0};
4408 /* AIX XL C 1.02.0.0 rejects this.
4409 It does not let you subtract one const X* pointer from another in
4410 an arm of an if-expression whose if-part is not a constant
4412 const char *g = "string";
4413 ccp = &g + (g ? g-g : 0);
4414 /* HPUX 7.0 cc rejects these. */
4417 ccp = (char const *const *) p;
4418 { /* SCO 3.2v4 cc rejects this. */
4420 char const *s = 0 ? (char *) 0 : (char const *) 0;
4424 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4426 const int *foo = &x[0];
4429 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4430 typedef const int *iptr;
4434 { /* AIX XL C 1.02.0.0 rejects this saying
4435 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4436 struct s { int j; const int *ap[3]; };
4437 struct s *b; b->j = 5;
4439 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4448 rm -f conftest.
$ac_objext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450 (eval $ac_compile) 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -s conftest.$ac_objext'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; }; then
4462 echo "$as_me: failed program was:" >&5
4463 cat conftest.
$ac_ext >&5
4466 rm -f conftest.
$ac_objext conftest.
$ac_ext
4468 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4469 echo "${ECHO_T}$ac_cv_c_const" >&6
4470 if test $ac_cv_c_const = no
; then
4472 cat >>confdefs.h
<<\_ACEOF
4478 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4479 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4480 if test "${ac_cv_struct_tm+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 cat >conftest.
$ac_ext <<_ACEOF
4484 #line $LINENO "configure"
4485 #include "confdefs.h"
4486 #include <sys/types.h>
4489 #ifdef F77_DUMMY_MAIN
4493 int F77_DUMMY_MAIN() { return 1; }
4498 struct tm *tp; tp->tm_sec;
4503 rm -f conftest.
$ac_objext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505 (eval $ac_compile) 2>&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } &&
4509 { ac_try
='test -s conftest.$ac_objext'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 ac_cv_struct_tm
=time.h
4517 echo "$as_me: failed program was:" >&5
4518 cat conftest.
$ac_ext >&5
4519 ac_cv_struct_tm
=sys
/time.h
4521 rm -f conftest.
$ac_objext conftest.
$ac_ext
4523 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4524 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4525 if test $ac_cv_struct_tm = sys
/time.h
; then
4527 cat >>confdefs.h
<<\_ACEOF
4528 #define TM_IN_SYS_TIME 1
4534 # Checks for library functions.
4536 for ac_header
in stdlib.h
4538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4540 echo "$as_me:$LINENO: checking for $ac_header" >&5
4541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4548 # Is the header compilable?
4549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4551 cat >conftest.
$ac_ext <<_ACEOF
4552 #line $LINENO "configure"
4553 #include "confdefs.h"
4554 $ac_includes_default
4555 #include <$ac_header>
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try
='test -s conftest.$ac_objext'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; }; then
4569 ac_header_compiler
=yes
4571 echo "$as_me: failed program was:" >&5
4572 cat conftest.
$ac_ext >&5
4573 ac_header_compiler
=no
4575 rm -f conftest.
$ac_objext conftest.
$ac_ext
4576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4577 echo "${ECHO_T}$ac_header_compiler" >&6
4579 # Is the header present?
4580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4582 cat >conftest.
$ac_ext <<_ACEOF
4583 #line $LINENO "configure"
4584 #include "confdefs.h"
4585 #include <$ac_header>
4587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4590 egrep -v '^ *\+' conftest.er1
>conftest.err
4592 cat conftest.err
>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } >/dev
/null
; then
4595 if test -s conftest.err
; then
4596 ac_cpp_err
=$ac_c_preproc_warn_flag
4603 if test -z "$ac_cpp_err"; then
4604 ac_header_preproc
=yes
4606 echo "$as_me: failed program was:" >&5
4607 cat conftest.
$ac_ext >&5
4608 ac_header_preproc
=no
4610 rm -f conftest.err conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4612 echo "${ECHO_T}$ac_header_preproc" >&6
4614 # So? What about this header?
4615 case $ac_header_compiler:$ac_header_preproc in
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4629 echo "$as_me:$LINENO: checking for $ac_header" >&5
4630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 eval "$as_ac_Header=$ac_header_preproc"
4636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4641 cat >>confdefs.h
<<_ACEOF
4642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4649 echo "$as_me:$LINENO: checking for working malloc" >&5
4650 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4651 if test "${ac_cv_func_malloc_works+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test "$cross_compiling" = yes; then
4655 ac_cv_func_malloc_works
=no
4657 cat >conftest.
$ac_ext <<_ACEOF
4658 #line $LINENO "configure"
4659 #include "confdefs.h"
4660 #if STDC_HEADERS || HAVE_STDLIB_H
4661 # include <stdlib.h>
4666 #ifdef F77_DUMMY_MAIN
4670 int F77_DUMMY_MAIN() { return 1; }
4675 exit (malloc (0) ? 0 : 1);
4680 rm -f conftest
$ac_exeext
4681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4682 (eval $ac_link) 2>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4691 ac_cv_func_malloc_works
=yes
4693 echo "$as_me: program exited with status $ac_status" >&5
4694 echo "$as_me: failed program was:" >&5
4695 cat conftest.
$ac_ext >&5
4697 ac_cv_func_malloc_works
=no
4699 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4702 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5
4703 echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
4704 if test $ac_cv_func_malloc_works = yes; then
4706 cat >>confdefs.h
<<\_ACEOF
4707 #define HAVE_MALLOC 1
4717 for ac_func
in strcasecmp strchr strdup strrchr strerror
4719 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4720 echo "$as_me:$LINENO: checking for $ac_func" >&5
4721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4722 if eval "test \"\${$as_ac_var+set}\" = set"; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 cat >conftest.
$ac_ext <<_ACEOF
4726 #line $LINENO "configure"
4727 #include "confdefs.h"
4728 /* System header to define __stub macros and hopefully few prototypes,
4729 which can conflict with char $ac_func (); below. */
4731 /* Override any gcc2 internal prototype to avoid an error. */
4735 /* We use char because int might match the return type of a gcc2
4736 builtin and then its argument prototype would still apply. */
4740 #ifdef F77_DUMMY_MAIN
4744 int F77_DUMMY_MAIN() { return 1; }
4749 /* The GNU C library defines this for functions which it implements
4750 to always fail with ENOSYS. Some functions are actually named
4751 something starting with __ and the normal name is an alias. */
4752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4762 rm -f conftest.
$ac_objext conftest
$ac_exeext
4763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4764 (eval $ac_link) 2>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } &&
4768 { ac_try
='test -s conftest$ac_exeext'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; }; then
4774 eval "$as_ac_var=yes"
4776 echo "$as_me: failed program was:" >&5
4777 cat conftest.
$ac_ext >&5
4778 eval "$as_ac_var=no"
4780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4784 if test `eval echo '${'$as_ac_var'}'` = yes; then
4785 cat >>confdefs.h
<<_ACEOF
4786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4796 for ac_func
in bzero getcwd memset nl_langinfo
4798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4799 echo "$as_me:$LINENO: checking for $ac_func" >&5
4800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4801 if eval "test \"\${$as_ac_var+set}\" = set"; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 cat >conftest.
$ac_ext <<_ACEOF
4805 #line $LINENO "configure"
4806 #include "confdefs.h"
4807 /* System header to define __stub macros and hopefully few prototypes,
4808 which can conflict with char $ac_func (); below. */
4810 /* Override any gcc2 internal prototype to avoid an error. */
4814 /* We use char because int might match the return type of a gcc2
4815 builtin and then its argument prototype would still apply. */
4819 #ifdef F77_DUMMY_MAIN
4823 int F77_DUMMY_MAIN() { return 1; }
4828 /* The GNU C library defines this for functions which it implements
4829 to always fail with ENOSYS. Some functions are actually named
4830 something starting with __ and the normal name is an alias. */
4831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4841 rm -f conftest.
$ac_objext conftest
$ac_exeext
4842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4843 (eval $ac_link) 2>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try
='test -s conftest$ac_exeext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 eval "$as_ac_var=yes"
4855 echo "$as_me: failed program was:" >&5
4856 cat conftest.
$ac_ext >&5
4857 eval "$as_ac_var=no"
4859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4863 if test `eval echo '${'$as_ac_var'}'` = yes; then
4864 cat >>confdefs.h
<<_ACEOF
4865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4871 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
4872 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
4873 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 rm -f conftest.sym conftest.
file
4878 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
4879 if test "$cross_compiling" = yes; then
4880 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4882 cat >conftest.
$ac_ext <<_ACEOF
4883 #line $LINENO "configure"
4884 #include "confdefs.h"
4885 $ac_includes_default
4886 #ifdef F77_DUMMY_MAIN
4890 int F77_DUMMY_MAIN() { return 1; }
4896 /* Linux will dereference the symlink and fail.
4897 That is better in the sense that it means we will not
4898 have to compile and use the lstat wrapper. */
4899 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
4904 rm -f conftest
$ac_exeext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4906 (eval $ac_link) 2>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
4917 echo "$as_me: program exited with status $ac_status" >&5
4918 echo "$as_me: failed program was:" >&5
4919 cat conftest.
$ac_ext >&5
4921 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4923 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4926 # If the `ln -s' command failed, then we probably don't even
4927 # have an lstat function.
4928 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4930 rm -f conftest.sym conftest.
file
4933 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4934 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
4936 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4938 cat >>confdefs.h
<<_ACEOF
4939 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4943 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
4944 LIBOBJS
="$LIBOBJS lstat.$ac_objext"
4947 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
4948 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
4949 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4952 if test "$cross_compiling" = yes; then
4953 ac_cv_func_lstat_empty_string_bug
=yes
4955 cat >conftest.
$ac_ext <<_ACEOF
4956 #line $LINENO "configure"
4957 #include "confdefs.h"
4958 $ac_includes_default
4959 #ifdef F77_DUMMY_MAIN
4963 int F77_DUMMY_MAIN() { return 1; }
4969 exit (lstat ("", &sbuf) ? 1 : 0);
4974 rm -f conftest
$ac_exeext
4975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4976 (eval $ac_link) 2>&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; }; then
4985 ac_cv_func_lstat_empty_string_bug
=yes
4987 echo "$as_me: program exited with status $ac_status" >&5
4988 echo "$as_me: failed program was:" >&5
4989 cat conftest.
$ac_ext >&5
4991 ac_cv_func_lstat_empty_string_bug
=no
4993 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4996 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
4997 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
4998 if test $ac_cv_func_lstat_empty_string_bug = yes; then
4999 LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5001 cat >>confdefs.h
<<_ACEOF
5002 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
5007 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
5008 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
5009 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 if test "$cross_compiling" = yes; then
5013 ac_cv_func_stat_empty_string_bug
=yes
5015 cat >conftest.
$ac_ext <<_ACEOF
5016 #line $LINENO "configure"
5017 #include "confdefs.h"
5018 $ac_includes_default
5019 #ifdef F77_DUMMY_MAIN
5023 int F77_DUMMY_MAIN() { return 1; }
5029 exit (stat ("", &sbuf) ? 1 : 0);
5034 rm -f conftest
$ac_exeext
5035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5036 (eval $ac_link) 2>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_func_stat_empty_string_bug
=yes
5047 echo "$as_me: program exited with status $ac_status" >&5
5048 echo "$as_me: failed program was:" >&5
5049 cat conftest.
$ac_ext >&5
5051 ac_cv_func_stat_empty_string_bug
=no
5053 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5056 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
5057 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
5058 if test $ac_cv_func_stat_empty_string_bug = yes; then
5059 LIBOBJS
="$LIBOBJS stat.$ac_objext"
5061 cat >>confdefs.h
<<_ACEOF
5062 #define HAVE_STAT_EMPTY_STRING_BUG 1
5068 for ac_func
in vprintf
5070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5071 echo "$as_me:$LINENO: checking for $ac_func" >&5
5072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5073 if eval "test \"\${$as_ac_var+set}\" = set"; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 cat >conftest.
$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5078 #include "confdefs.h"
5079 /* System header to define __stub macros and hopefully few prototypes,
5080 which can conflict with char $ac_func (); below. */
5082 /* Override any gcc2 internal prototype to avoid an error. */
5086 /* We use char because int might match the return type of a gcc2
5087 builtin and then its argument prototype would still apply. */
5091 #ifdef F77_DUMMY_MAIN
5095 int F77_DUMMY_MAIN() { return 1; }
5100 /* The GNU C library defines this for functions which it implements
5101 to always fail with ENOSYS. Some functions are actually named
5102 something starting with __ and the normal name is an alias. */
5103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5113 rm -f conftest.
$ac_objext conftest
$ac_exeext
5114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5115 (eval $ac_link) 2>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } &&
5119 { ac_try
='test -s conftest$ac_exeext'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 eval "$as_ac_var=yes"
5127 echo "$as_me: failed program was:" >&5
5128 cat conftest.
$ac_ext >&5
5129 eval "$as_ac_var=no"
5131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5135 if test `eval echo '${'$as_ac_var'}'` = yes; then
5136 cat >>confdefs.h
<<_ACEOF
5137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5140 echo "$as_me:$LINENO: checking for _doprnt" >&5
5141 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5142 if test "${ac_cv_func__doprnt+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 cat >conftest.
$ac_ext <<_ACEOF
5146 #line $LINENO "configure"
5147 #include "confdefs.h"
5148 /* System header to define __stub macros and hopefully few prototypes,
5149 which can conflict with char _doprnt (); below. */
5151 /* Override any gcc2 internal prototype to avoid an error. */
5155 /* We use char because int might match the return type of a gcc2
5156 builtin and then its argument prototype would still apply. */
5160 #ifdef F77_DUMMY_MAIN
5164 int F77_DUMMY_MAIN() { return 1; }
5169 /* The GNU C library defines this for functions which it implements
5170 to always fail with ENOSYS. Some functions are actually named
5171 something starting with __ and the normal name is an alias. */
5172 #if defined (__stub__doprnt) || defined (__stub____doprnt)
5182 rm -f conftest.
$ac_objext conftest
$ac_exeext
5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5184 (eval $ac_link) 2>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } &&
5188 { ac_try
='test -s conftest$ac_exeext'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; }; then
5194 ac_cv_func__doprnt
=yes
5196 echo "$as_me: failed program was:" >&5
5197 cat conftest.
$ac_ext >&5
5198 ac_cv_func__doprnt
=no
5200 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5202 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5203 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5204 if test $ac_cv_func__doprnt = yes; then
5206 cat >>confdefs.h
<<\_ACEOF
5207 #define HAVE_DOPRNT 1
5216 echo "$as_me:$LINENO: checking for OpenClipboard" >&5
5217 echo $ECHO_N "checking for OpenClipboard... $ECHO_C" >&6
5218 if test "${ac_cv_func_OpenClipboard+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 cat >conftest.
$ac_ext <<_ACEOF
5222 #line $LINENO "configure"
5223 #include "confdefs.h"
5224 /* System header to define __stub macros and hopefully few prototypes,
5225 which can conflict with char __stdcall OpenClipboard ( void * ) below. */
5227 /* Override any gcc2 internal prototype to avoid an error. */
5231 /* We use char because int might match the return type of a gcc2
5232 builtin and then its argument prototype would still apply. */
5233 char __stdcall OpenClipboard ( void * );
5234 char (*f) ( void * );
5236 #ifdef F77_DUMMY_MAIN
5240 int F77_DUMMY_MAIN() { return 1; }
5245 /* The GNU C library defines this for functions which it implements
5246 to always fail with ENOSYS. Some functions are actually named
5247 something starting with __ and the normal name is an alias. */
5248 #if defined (__stub_OpenClipboard) || defined (__stub___OpenClipboard)
5258 rm -f conftest.
$ac_objext conftest
$ac_exeext
5259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5260 (eval $ac_link) 2>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try
='test -s conftest$ac_exeext'
5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5270 ac_cv_func_OpenClipboard
=yes
5272 echo "$as_me: failed program was:" >&5
5273 cat conftest.
$ac_ext >&5
5274 ac_cv_func_OpenClipboard
=no
5276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5278 echo "$as_me:$LINENO: result: $ac_cv_func_OpenClipboard" >&5
5279 echo "${ECHO_T}$ac_cv_func_OpenClipboard" >&6
5284 if test "$ac_cv_func_OpenClipboard" = yes; then
5285 WITH_WINDOWS_PROGRAMS_TRUE
=
5286 WITH_WINDOWS_PROGRAMS_FALSE
='#'
5288 WITH_WINDOWS_PROGRAMS_TRUE
='#'
5289 WITH_WINDOWS_PROGRAMS_FALSE
=
5294 if test "$ac_cv_lib_cygipc_semget" = yes; then
5295 WITH_CYGIPC_PROGRAMS_TRUE
=
5296 WITH_CYGIPC_PROGRAMS_FALSE
='#'
5298 WITH_CYGIPC_PROGRAMS_TRUE
='#'
5299 WITH_CYGIPC_PROGRAMS_FALSE
=
5303 ac_config_files
="$ac_config_files Makefile src/Makefile src/ascii/Makefile src/banner/Makefile src/cal/Makefile src/clip/Makefile src/col/Makefile src/conv/Makefile src/ddate/Makefile src/dump/Makefile src/ipc/Makefile src/last/Makefile src/lpr/Makefile src/mkshortcut/Makefile src/namei/Makefile src/realpath/Makefile src/cygstart/Makefile"
5306 cat >confcache
<<\_ACEOF
5307 # This file is a shell script that caches the results of configure
5308 # tests run on this system so they can be shared between configure
5309 # scripts and configure runs, see configure's option --config-cache.
5310 # It is not useful on other systems. If it contains results you don't
5311 # want to keep, you may remove or edit it.
5313 # config.status only pays attention to the cache file if you give it
5314 # the --recheck option to rerun configure.
5316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5322 # The following way of writing the cache mishandles newlines in values,
5323 # but we know of no workaround that is simple, portable, and efficient.
5324 # So, don't put newlines in cache variables' values.
5325 # Ultrix sh set writes to stderr and can't be redirected directly,
5326 # and sets the high bit in the cache file unless we assign to the vars.
5329 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5331 # `set' does not quote correctly, so add quotes (double-quote
5332 # substitution turns \\\\ into \\, and sed turns \\ into \).
5335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5338 # `set' quotes correctly as required by POSIX, so do not add quotes.
5340 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5347 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5349 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5351 if cmp -s $cache_file confcache
; then :; else
5352 if test -w $cache_file; then
5353 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5354 cat confcache
>$cache_file
5356 echo "not updating unwritable cache $cache_file"
5361 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5362 # Let make expand exec_prefix.
5363 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5365 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5366 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5367 # trailing colons and then remove the whole line if VPATH becomes empty
5368 # (actually we leave an empty line to preserve line numbers).
5369 if test "x$srcdir" = x.
; then
5370 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5371 s/:*\$(srcdir):*/:/;
5372 s/:*\${srcdir}:*/:/;
5374 s/^\([^=]*=[ ]*\):*/\1/;
5380 DEFS
=-DHAVE_CONFIG_H
5382 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5383 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5384 Usually this means the macro was only invoked conditionally." >&5
5385 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5386 Usually this means the macro was only invoked conditionally." >&2;}
5387 { (exit 1); exit 1; }; }
5389 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5390 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5391 Usually this means the macro was only invoked conditionally." >&5
5392 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5393 Usually this means the macro was only invoked conditionally." >&2;}
5394 { (exit 1); exit 1; }; }
5396 if test -z "${WITH_WINDOWS_PROGRAMS_TRUE}" && test -z "${WITH_WINDOWS_PROGRAMS_FALSE}"; then
5397 { { echo "$as_me:$LINENO: error: conditional \"WITH_WINDOWS_PROGRAMS\" was never defined.
5398 Usually this means the macro was only invoked conditionally." >&5
5399 echo "$as_me: error: conditional \"WITH_WINDOWS_PROGRAMS\" was never defined.
5400 Usually this means the macro was only invoked conditionally." >&2;}
5401 { (exit 1); exit 1; }; }
5403 if test -z "${WITH_CYGIPC_PROGRAMS_TRUE}" && test -z "${WITH_CYGIPC_PROGRAMS_FALSE}"; then
5404 { { echo "$as_me:$LINENO: error: conditional \"WITH_CYGIPC_PROGRAMS\" was never defined.
5405 Usually this means the macro was only invoked conditionally." >&5
5406 echo "$as_me: error: conditional \"WITH_CYGIPC_PROGRAMS\" was never defined.
5407 Usually this means the macro was only invoked conditionally." >&2;}
5408 { (exit 1); exit 1; }; }
5411 : ${CONFIG_STATUS=./config.status}
5412 ac_clean_files_save
=$ac_clean_files
5413 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5414 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5415 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5416 cat >$CONFIG_STATUS <<_ACEOF
5418 # Generated by $as_me.
5419 # Run this file to recreate the current configuration.
5420 # Compiler output produced by configure, useful for debugging
5421 # configure, is in config.log if it exists.
5424 SHELL=\${CONFIG_SHELL-$SHELL}
5427 cat >>$CONFIG_STATUS <<\_ACEOF
5428 ## --------------------- ##
5429 ## M4sh Initialization. ##
5430 ## --------------------- ##
5432 # Be Bourne compatible
5433 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5436 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5437 # is contrary to our usage. Disable this feature.
5438 alias -g '${1+"$@"}'='"$@"'
5439 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5444 # Support unset when possible.
5445 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5451 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
5452 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
5453 { LANG
=C
; export LANG
; }
5454 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5455 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
5456 { LC_ALL
=C
; export LC_ALL
; }
5457 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5458 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
5459 { LC_TIME
=C
; export LC_TIME
; }
5460 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5461 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
5462 { LC_CTYPE
=C
; export LC_CTYPE
; }
5463 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5464 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
5465 { LANGUAGE
=C
; export LANGUAGE
; }
5466 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5467 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
5468 { LC_COLLATE
=C
; export LC_COLLATE
; }
5469 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5470 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
5471 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
5472 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5473 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
5474 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
5477 # Required to use basename.
5478 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5484 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5485 as_basename
=basename
5491 # Name of the executable.
5492 as_me
=`$as_basename "$0" ||
5493 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5494 X"$0" : 'X\(//\)$' \| \
5495 X"$0" : 'X\(/\)$' \| \
5496 . : '\(.\)' 2>/dev/null ||
5498 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5499 /^X\/\(\/\/\)$/{ s//\1/; q; }
5500 /^X\/\(\/\).*/{ s//\1/; q; }
5504 # PATH needs CR, and LINENO needs CR and PATH.
5505 # Avoid depending upon Character Ranges.
5506 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5507 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5508 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5509 as_cr_digits
='0123456789'
5510 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5512 # The user is always right.
5513 if test "${PATH_SEPARATOR+set}" != set; then
5514 echo "#! /bin/sh" >conftest.sh
5515 echo "exit 0" >>conftest.sh
5516 chmod +x conftest.sh
5517 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
5528 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5529 test "x$as_lineno_1" != "x$as_lineno_2" &&
5530 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5531 # Find who we are. Look in the path if we contain no path at all
5534 *[\\/]* ) as_myself
=$0 ;;
5535 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5545 # We did not find ourselves, most probably we were run as `sh COMMAND'
5546 # in which case we are not to be found in the path.
5547 if test "x$as_myself" = x
; then
5550 if test ! -f "$as_myself"; then
5551 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5552 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5553 { (exit 1); exit 1; }; }
5555 case $CONFIG_SHELL in
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5561 test -z "$as_dir" && as_dir
=.
5562 for as_base
in sh bash ksh sh5
; do
5565 if ("$as_dir/$as_base" -c '
5568 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5569 test "x$as_lineno_1" != "x$as_lineno_2" &&
5570 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5571 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5572 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5573 CONFIG_SHELL
=$as_dir/$as_base
5575 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5583 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5584 # uniformly replaced by the line number. The first 'sed' inserts a
5585 # line-number line before each line; the second 'sed' does the real
5586 # work. The second script uses 'N' to pair each line-number line
5587 # with the numbered line, and appends trailing '-' during
5588 # substitution so that $LINENO is not a special case at line end.
5589 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5590 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5591 sed '=' <$as_myself |
5596 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5599 s,^['$as_cr_digits']*\n,,
5601 chmod +x
$as_me.lineno ||
5602 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5603 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5604 { (exit 1); exit 1; }; }
5606 # Don't try to exec as it changes $[0], causing all sort of problems
5607 # (the dirname of $[0] is not the place where we might find the
5608 # original and so on. Autoconf is especially sensible to this).
5610 # Exit status is that of the last command.
5615 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5616 *c
*,-n*) ECHO_N
= ECHO_C
='
5618 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5619 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5622 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5628 rm -f conf$$ conf$$.exe conf$$.
file
5630 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5631 # We could just check for DJGPP; but this test a) works b) is more generic
5632 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5633 if test -f conf$$.exe
; then
5634 # Don't use ln at all; we don't have any links
5639 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5644 rm -f conf$$ conf$$.exe conf$$.
file
5646 if mkdir
-p .
2>/dev
/null
; then
5652 as_executable_p
="test -f"
5654 # Sed expression to map a string onto a valid CPP name.
5655 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5657 # Sed expression to map a string onto a valid variable name.
5658 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5662 # We need space, tab and new line, in precisely that order.
5668 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
5672 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5673 # report actual input values of CONFIG_FILES etc. instead of their
5674 # values after options handling. Logging --version etc. is OK.
5678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5679 ## Running $as_me. ##
5684 This file was extended by cygutils $as_me 1.0.0, which was
5685 generated by GNU Autoconf 2.53a. Invocation command line was
5687 CONFIG_FILES = $CONFIG_FILES
5688 CONFIG_HEADERS = $CONFIG_HEADERS
5689 CONFIG_LINKS = $CONFIG_LINKS
5690 CONFIG_COMMANDS = $CONFIG_COMMANDS
5694 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5698 # Files that config.status was made for.
5699 if test -n "$ac_config_files"; then
5700 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5703 if test -n "$ac_config_headers"; then
5704 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5707 if test -n "$ac_config_links"; then
5708 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5711 if test -n "$ac_config_commands"; then
5712 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5715 cat >>$CONFIG_STATUS <<\_ACEOF
5718 \`$as_me' instantiates files from templates according to the
5719 current configuration.
5721 Usage: $0 [OPTIONS] [FILE]...
5723 -h, --help print this help, then exit
5724 -V, --version print version number, then exit
5725 -d, --debug don't remove temporary files
5726 --recheck update $as_me by reconfiguring in the same conditions
5727 --file=FILE[:TEMPLATE]
5728 instantiate the configuration file FILE
5729 --header=FILE[:TEMPLATE]
5730 instantiate the configuration header FILE
5732 Configuration files:
5735 Configuration headers:
5738 Configuration commands:
5741 Report bugs to <bug-autoconf@gnu.org>."
5744 cat >>$CONFIG_STATUS <<_ACEOF
5746 cygutils config.status 1.0.0
5747 configured by $0, generated by GNU Autoconf 2.53a,
5748 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5750 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5751 Free Software Foundation, Inc.
5752 This config.status script is free software; the Free Software Foundation
5753 gives unlimited permission to copy, distribute and modify it."
5758 cat >>$CONFIG_STATUS <<\_ACEOF
5759 # If no file are specified by the user, then we need to provide default
5760 # value. By we need to know if files were specified by the user.
5766 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5767 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5775 *) # This is not an option, so the user has probably given explicit
5778 ac_need_defaults
=false
;;
5782 # Handling of the options.
5784 cat >>$CONFIG_STATUS <<_ACEOF
5785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5786 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5787 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5789 cat >>$CONFIG_STATUS <<\_ACEOF
5790 --version |
--vers* |
-V )
5791 echo "$ac_cs_version"; exit 0 ;;
5793 # Conflict between --help and --header
5794 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5795 Try \`$0 --help' for more information." >&5
5796 echo "$as_me: error: ambiguous option: $1
5797 Try \`$0 --help' for more information." >&2;}
5798 { (exit 1); exit 1; }; };;
5799 --help |
--hel |
-h )
5800 echo "$ac_cs_usage"; exit 0 ;;
5801 --debug |
--d* |
-d )
5803 --file |
--fil |
--fi |
--f )
5805 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5806 ac_need_defaults
=false
;;
5807 --header |
--heade |
--head |
--hea )
5809 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5810 ac_need_defaults
=false
;;
5813 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5814 Try \`$0 --help' for more information." >&5
5815 echo "$as_me: error: unrecognized option: $1
5816 Try \`$0 --help' for more information." >&2;}
5817 { (exit 1); exit 1; }; } ;;
5819 *) ac_config_targets
="$ac_config_targets $1" ;;
5827 cat >>$CONFIG_STATUS <<_ACEOF
5829 # INIT-COMMANDS section.
5832 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5838 cat >>$CONFIG_STATUS <<\_ACEOF
5839 for ac_config_target
in $ac_config_targets
5841 case "$ac_config_target" in
5842 # Handling of arguments.
5843 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5844 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5845 "src/ascii/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/ascii/Makefile" ;;
5846 "src/banner/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/banner/Makefile" ;;
5847 "src/cal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/cal/Makefile" ;;
5848 "src/clip/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/clip/Makefile" ;;
5849 "src/col/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/col/Makefile" ;;
5850 "src/conv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/conv/Makefile" ;;
5851 "src/ddate/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/ddate/Makefile" ;;
5852 "src/dump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/dump/Makefile" ;;
5853 "src/ipc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/ipc/Makefile" ;;
5854 "src/last/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/last/Makefile" ;;
5855 "src/lpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/lpr/Makefile" ;;
5856 "src/mkshortcut/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/mkshortcut/Makefile" ;;
5857 "src/namei/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/namei/Makefile" ;;
5858 "src/realpath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/realpath/Makefile" ;;
5859 "src/cygstart/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/cygstart/Makefile" ;;
5860 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5861 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5862 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5863 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5864 { (exit 1); exit 1; }; };;
5868 # If the user did not use the arguments to specify the items to instantiate,
5869 # then the envvar interface is used. Set only those that are not.
5870 # We use the long form for the default assignment because of an extremely
5871 # bizarre bug on SunOS 4.1.3.
5872 if $ac_need_defaults; then
5873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5874 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5875 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5878 # Create a temporary directory, and hook for its removal unless debugging.
5881 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5882 trap '{ (exit 1); exit 1; }' 1 2 13 15
5885 # Create a (secure) tmp directory for tmp files.
5888 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5889 test -n "$tmp" && test -d "$tmp"
5892 tmp
=$TMPDIR/cs$$
-$RANDOM
5893 (umask 077 && mkdir
$tmp)
5896 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5897 { (exit 1); exit 1; }
5902 cat >>$CONFIG_STATUS <<_ACEOF
5905 # CONFIG_FILES section.
5908 # No need to generate the scripts if there are no CONFIG_FILES.
5909 # This happens for instance when ./config.status config.h
5910 if test -n "\$CONFIG_FILES"; then
5911 # Protect against being on the right side of a sed subst in config.status.
5912 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5913 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5914 s,@SHELL@,$SHELL,;t t
5915 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5916 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5917 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5918 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5919 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5920 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5921 s,@exec_prefix@,$exec_prefix,;t t
5922 s,@prefix@,$prefix,;t t
5923 s,@program_transform_name@,$program_transform_name,;t t
5924 s,@bindir@,$bindir,;t t
5925 s,@sbindir@,$sbindir,;t t
5926 s,@libexecdir@,$libexecdir,;t t
5927 s,@datadir@,$datadir,;t t
5928 s,@sysconfdir@,$sysconfdir,;t t
5929 s,@sharedstatedir@,$sharedstatedir,;t t
5930 s,@localstatedir@,$localstatedir,;t t
5931 s,@libdir@,$libdir,;t t
5932 s,@includedir@,$includedir,;t t
5933 s,@oldincludedir@,$oldincludedir,;t t
5934 s,@infodir@,$infodir,;t t
5935 s,@mandir@,$mandir,;t t
5936 s,@build_alias@,$build_alias,;t t
5937 s,@host_alias@,$host_alias,;t t
5938 s,@target_alias@,$target_alias,;t t
5940 s,@ECHO_C@,$ECHO_C,;t t
5941 s,@ECHO_N@,$ECHO_N,;t t
5942 s,@ECHO_T@,$ECHO_T,;t t
5944 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5945 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5946 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5947 s,@PACKAGE@,$PACKAGE,;t t
5948 s,@VERSION@,$VERSION,;t t
5949 s,@ACLOCAL@,$ACLOCAL,;t t
5950 s,@AUTOCONF@,$AUTOCONF,;t t
5951 s,@AUTOMAKE@,$AUTOMAKE,;t t
5952 s,@AUTOHEADER@,$AUTOHEADER,;t t
5953 s,@MAKEINFO@,$MAKEINFO,;t t
5954 s,@AMTAR@,$AMTAR,;t t
5955 s,@install_sh@,$install_sh,;t t
5956 s,@STRIP@,$STRIP,;t t
5957 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5958 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5960 s,@SET_MAKE@,$SET_MAKE,;t t
5961 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5962 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5963 s,@MAINT@,$MAINT,;t t
5965 s,@CFLAGS@,$CFLAGS,;t t
5966 s,@LDFLAGS@,$LDFLAGS,;t t
5967 s,@CPPFLAGS@,$CPPFLAGS,;t t
5968 s,@ac_ct_CC@,$ac_ct_CC,;t t
5969 s,@EXEEXT@,$EXEEXT,;t t
5970 s,@OBJEXT@,$OBJEXT,;t t
5971 s,@DEPDIR@,$DEPDIR,;t t
5972 s,@am__include@,$am__include,;t t
5973 s,@am__quote@,$am__quote,;t t
5974 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5975 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5976 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5977 s,@CCDEPMODE@,$CCDEPMODE,;t t
5979 s,@LIBOBJS@,$LIBOBJS,;t t
5980 s,@WITH_WINDOWS_PROGRAMS_TRUE@,$WITH_WINDOWS_PROGRAMS_TRUE,;t t
5981 s,@WITH_WINDOWS_PROGRAMS_FALSE@,$WITH_WINDOWS_PROGRAMS_FALSE,;t t
5982 s,@WITH_CYGIPC_PROGRAMS_TRUE@,$WITH_CYGIPC_PROGRAMS_TRUE,;t t
5983 s,@WITH_CYGIPC_PROGRAMS_FALSE@,$WITH_CYGIPC_PROGRAMS_FALSE,;t t
5988 cat >>$CONFIG_STATUS <<\_ACEOF
5989 # Split the substitutions into bite-sized pieces for seds with
5990 # small command number limits, like on Digital OSF/1 and HP-UX.
5992 ac_sed_frag
=1 # Number of current file.
5993 ac_beg
=1 # First line for current file.
5994 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5997 while $ac_more_lines; do
5998 if test $ac_beg -gt 1; then
5999 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6001 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6003 if test ! -s $tmp/subs.frag
; then
6006 # The purpose of the label and of the branching condition is to
6007 # speed up the sed processing (if there are no `@' at all, there
6008 # is no need to browse any of the substitutions).
6009 # These are the two extra sed commands mentioned above.
6011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6012 if test -z "$ac_sed_cmds"; then
6013 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6015 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6017 ac_sed_frag
=`expr $ac_sed_frag + 1`
6019 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6022 if test -z "$ac_sed_cmds"; then
6025 fi # test -n "$CONFIG_FILES"
6028 cat >>$CONFIG_STATUS <<\_ACEOF
6029 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6030 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6032 - |
*:- |
*:-:* ) # input from stdin
6034 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6036 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6037 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6038 * ) ac_file_in
=$ac_file.
in ;;
6041 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6042 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6044 X"$ac_file" : 'X\(//\)[^/]' \| \
6045 X"$ac_file" : 'X\(//\)$' \| \
6046 X"$ac_file" : 'X\(/\)' \| \
6047 . : '\(.\)' 2>/dev/null ||
6049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6051 /^X\(\/\/\)$/{ s//\1/; q; }
6052 /^X\(\/\).*/{ s//\1/; q; }
6054 { if $as_mkdir_p; then
6059 while test ! -d "$as_dir"; do
6060 as_dirs
="$as_dir $as_dirs"
6061 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6063 X"$as_dir" : 'X\(//\)[^/]' \| \
6064 X"$as_dir" : 'X\(//\)$' \| \
6065 X"$as_dir" : 'X\(/\)' \| \
6066 . : '\(.\)' 2>/dev/null ||
6068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6070 /^X\(\/\/\)$/{ s//\1/; q; }
6071 /^X\(\/\).*/{ s//\1/; q; }
6074 test ! -n "$as_dirs" || mkdir
$as_dirs
6075 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6076 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6077 { (exit 1); exit 1; }; }; }
6081 if test "$ac_dir" != .
; then
6082 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6083 # A "../" for each directory in $ac_dir_suffix.
6084 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6086 ac_dir_suffix
= ac_top_builddir
=
6090 .
) # No --srcdir option. We are building in place.
6092 if test -z "$ac_top_builddir"; then
6095 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6097 [\\/]* | ?
:[\\/]* ) # Absolute path.
6098 ac_srcdir
=$srcdir$ac_dir_suffix;
6099 ac_top_srcdir
=$srcdir ;;
6101 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6102 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6104 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6106 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6107 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6108 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6109 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6113 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6114 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6117 if test x
"$ac_file" != x-
; then
6118 { echo "$as_me:$LINENO: creating $ac_file" >&5
6119 echo "$as_me: creating $ac_file" >&6;}
6122 # Let's still pretend it is `configure' which instantiates (i.e., don't
6123 # use $as_me), people would be surprised to read:
6124 # /* config.h. Generated by config.status. */
6125 if test x
"$ac_file" = x-
; then
6128 configure_input
="$ac_file. "
6130 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6131 sed 's,.*/,,'` by configure."
6133 # First look for the input files in the build tree, otherwise in the
6135 ac_file_inputs
=`IFS=:
6136 for f in $ac_file_in; do
6138 -) echo $tmp/stdin ;;
6140 # Absolute (can't be DOS-style, as IFS=:)
6141 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6142 echo "$as_me: error: cannot find input file: $f" >&2;}
6143 { (exit 1); exit 1; }; }
6146 if test -f "$f"; then
6149 elif test -f "$srcdir/$f"; then
6154 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6155 echo "$as_me: error: cannot find input file: $f" >&2;}
6156 { (exit 1); exit 1; }; }
6159 done` ||
{ (exit 1); exit 1; }
6161 cat >>$CONFIG_STATUS <<_ACEOF
6165 cat >>$CONFIG_STATUS <<\_ACEOF
6167 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6168 s
,@configure_input@
,$configure_input,;t t
6169 s
,@srcdir@
,$ac_srcdir,;t t
6170 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6171 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6172 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6173 s
,@builddir@
,$ac_builddir,;t t
6174 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6175 s
,@top_builddir@
,$ac_top_builddir,;t t
6176 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6177 s
,@INSTALL@
,$ac_INSTALL,;t t
6178 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6180 if test x"$ac_file" != x-; then
6181 mv $tmp/out $ac_file
6189 cat >>$CONFIG_STATUS <<\_ACEOF
6192 # CONFIG_HEADER section.
6195 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6196 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6198 # ac_d sets the value in "#define NAME VALUE" lines.
6199 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6200 ac_dB
='[ ].*$,\1#\2'
6203 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6204 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6205 ac_uB
='$,\1#\2define\3'
6209 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6212 - |
*:- |
*:-:* ) # input from stdin
6214 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6215 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6216 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6217 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6218 * ) ac_file_in
=$ac_file.
in ;;
6221 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6222 echo "$as_me: creating $ac_file" >&6;}
6224 # First look for the input files in the build tree, otherwise in the
6226 ac_file_inputs
=`IFS=:
6227 for f in $ac_file_in; do
6229 -) echo $tmp/stdin ;;
6231 # Absolute (can't be DOS-style, as IFS=:)
6232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6233 echo "$as_me: error: cannot find input file: $f" >&2;}
6234 { (exit 1); exit 1; }; }
6237 if test -f "$f"; then
6240 elif test -f "$srcdir/$f"; then
6245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6246 echo "$as_me: error: cannot find input file: $f" >&2;}
6247 { (exit 1); exit 1; }; }
6250 done` ||
{ (exit 1); exit 1; }
6251 # Remove the trailing spaces.
6252 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6256 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6257 # `conftest.undefs', that substitutes the proper values into
6258 # config.h.in to produce config.h. The first handles `#define'
6259 # templates, and the second `#undef' templates.
6260 # And first: Protect against being on the right side of a sed subst in
6261 # config.status. Protect against being in an unquoted here document
6263 rm -f conftest.defines conftest.undefs
6264 # Using a here document instead of a string reduces the quoting nightmare.
6265 # Putting comments in sed scripts is not portable.
6267 # `end' is used to avoid that the second main sed command (meant for
6268 # 0-ary CPP macros) applies to n-ary macro definitions.
6269 # See the Autoconf documentation for `clear'.
6270 cat >confdef2sed.
sed <<\_ACEOF
6275 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6277 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6280 # If some macros were called several times there might be several times
6281 # the same #defines, which is useless. Nevertheless, we may not want to
6282 # sort them, since we want the *last* AC-DEFINE to be honored.
6283 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6284 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6285 rm -f confdef2sed.sed
6287 # This sed command replaces #undef with comments. This is necessary, for
6288 # example, in the case of _POSIX_SOURCE, which is predefined and required
6289 # on some systems where configure will not decide to define it.
6290 cat >>conftest.undefs <<\_ACEOF
6291 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6294 # Break up conftest.defines because some shells have a limit on the size
6295 # of here documents, and old seds have small limits too (100 cmds).
6296 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6297 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6298 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6299 echo ' :' >>$CONFIG_STATUS
6301 while grep . conftest.defines >/dev/null
6303 # Write a limited-size here document to $tmp/defines.sed.
6304 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6305 # Speed up: don't consider the non `#define' lines.
6306 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6307 # Work around the forget-to-reset-the-flag bug.
6308 echo 't clr' >>$CONFIG_STATUS
6309 echo ': clr' >>$CONFIG_STATUS
6310 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6312 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6316 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6317 rm -f conftest.defines
6318 mv conftest.
tail conftest.defines
6320 rm -f conftest.defines
6321 echo ' fi # egrep' >>$CONFIG_STATUS
6322 echo >>$CONFIG_STATUS
6324 # Break up conftest.undefs because some shells have a limit on the size
6325 # of here documents, and old seds have small limits too (100 cmds).
6326 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6328 while grep . conftest.undefs
>/dev
/null
6330 # Write a limited-size here document to $tmp/undefs.sed.
6331 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6332 # Speed up: don't consider the non
`#undef'
6333 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6334 # Work around the forget-to-reset-the-flag bug.
6335 echo 't clr' >>$CONFIG_STATUS
6336 echo ': clr' >>$CONFIG_STATUS
6337 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6339 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6343 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6344 rm -f conftest.undefs
6345 mv conftest.tail conftest.undefs
6347 rm -f conftest.undefs
6349 cat >>$CONFIG_STATUS <<\_ACEOF
6350 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6351 # use $as_me), people would be surprised to read:
6352 # /* config.h. Generated by config.status. */
6353 if test x
"$ac_file" = x-
; then
6354 echo "/* Generated by configure. */" >$tmp/config.h
6356 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6358 cat $tmp/in >>$tmp/config.h
6360 if test x
"$ac_file" != x-
; then
6361 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
6362 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6363 echo "$as_me: $ac_file is unchanged" >&6;}
6365 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6366 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6367 X"$ac_file" : 'X\(//\)[^/]' \| \
6368 X"$ac_file" : 'X\(//\)$' \| \
6369 X"$ac_file" : 'X\(/\)' \| \
6370 . : '\(.\)' 2>/dev/null ||
6372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6374 /^X\(\/\/\)$/{ s//\1/; q; }
6375 /^X\(\/\).*/{ s//\1/; q; }
6377 { if $as_mkdir_p; then
6382 while test ! -d "$as_dir"; do
6383 as_dirs
="$as_dir $as_dirs"
6384 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6386 X"$as_dir" : 'X\(//\)[^/]' \| \
6387 X"$as_dir" : 'X\(//\)$' \| \
6388 X"$as_dir" : 'X\(/\)' \| \
6389 . : '\(.\)' 2>/dev/null ||
6391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6393 /^X\(\/\/\)$/{ s//\1/; q; }
6394 /^X\(\/\).*/{ s//\1/; q; }
6397 test ! -n "$as_dirs" || mkdir
$as_dirs
6398 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6399 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6400 { (exit 1); exit 1; }; }; }
6403 mv $tmp/config.h
$ac_file
6409 # Run the commands associated with the file.
6411 config.h
) # update the timestamp
6412 echo 'timestamp for config.h' >"./stamp-h1"
6417 cat >>$CONFIG_STATUS <<\_ACEOF
6420 # CONFIG_COMMANDS section.
6422 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6423 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6424 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6425 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6426 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6427 X"$ac_dest" : 'X\(//\)[^/]' \| \
6428 X"$ac_dest" : 'X\(//\)$' \| \
6429 X"$ac_dest" : 'X\(/\)' \| \
6430 . : '\(.\)' 2>/dev/null ||
6432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6434 /^X\(\/\/\)$/{ s//\1/; q; }
6435 /^X\(\/\).*/{ s//\1/; q; }
6439 if test "$ac_dir" != .
; then
6440 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6441 # A "../" for each directory in $ac_dir_suffix.
6442 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6444 ac_dir_suffix
= ac_top_builddir
=
6448 .
) # No --srcdir option. We are building in place.
6450 if test -z "$ac_top_builddir"; then
6453 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6455 [\\/]* | ?
:[\\/]* ) # Absolute path.
6456 ac_srcdir
=$srcdir$ac_dir_suffix;
6457 ac_top_srcdir
=$srcdir ;;
6459 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6460 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6462 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6464 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6465 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6466 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6467 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6470 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6471 echo "$as_me: executing $ac_dest commands" >&6;}
6473 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6474 # Strip MF so we end up with the name of the file.
6475 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6476 if (sed 1q
$mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
6477 dirpart
=`(dirname "$mf") 2>/dev/null ||
6478 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6479 X"$mf" : 'X\(//\)[^/]' \| \
6480 X"$mf" : 'X\(//\)$' \| \
6481 X"$mf" : 'X\(/\)' \| \
6482 . : '\(.\)' 2>/dev/null ||
6484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6486 /^X\(\/\/\)$/{ s//\1/; q; }
6487 /^X\(\/\).*/{ s//\1/; q; }
6492 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
6493 # Extract the definition of DEP_FILES from the Makefile without
6495 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6496 test -z "$DEPDIR" && continue
6497 # When using ansi2knr, U may be empty or an underscore; expand it
6498 U
=`sed -n -e '/^U = / s///p' < "$mf"`
6499 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
6500 # We invoke sed twice because it is the simplest approach to
6501 # changing $(DEPDIR) to its actual value in the expansion.
6502 for file in `sed -n -e '
6503 /^DEP_FILES = .*\\\\$/ {
6512 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6513 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6514 # Make sure the directory exists.
6515 test -f "$dirpart/$file" && continue
6516 fdir
=`(dirname "$file") 2>/dev/null ||
6517 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6518 X"$file" : 'X\(//\)[^/]' \| \
6519 X"$file" : 'X\(//\)$' \| \
6520 X"$file" : 'X\(/\)' \| \
6521 . : '\(.\)' 2>/dev/null ||
6523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6525 /^X\(\/\/\)$/{ s//\1/; q; }
6526 /^X\(\/\).*/{ s//\1/; q; }
6528 { if $as_mkdir_p; then
6529 mkdir
-p $dirpart/$fdir
6531 as_dir
=$dirpart/$fdir
6533 while test ! -d "$as_dir"; do
6534 as_dirs
="$as_dir $as_dirs"
6535 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6537 X"$as_dir" : 'X\(//\)[^/]' \| \
6538 X"$as_dir" : 'X\(//\)$' \| \
6539 X"$as_dir" : 'X\(/\)' \| \
6540 . : '\(.\)' 2>/dev/null ||
6542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6544 /^X\(\/\/\)$/{ s//\1/; q; }
6545 /^X\(\/\).*/{ s//\1/; q; }
6548 test ! -n "$as_dirs" || mkdir
$as_dirs
6549 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6550 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6551 { (exit 1); exit 1; }; }; }
6553 # echo "creating $dirpart/$file"
6554 echo '# dummy' > "$dirpart/$file"
6562 cat >>$CONFIG_STATUS <<\_ACEOF
6564 { (exit 0); exit 0; }
6566 chmod +x
$CONFIG_STATUS
6567 ac_clean_files
=$ac_clean_files_save
6570 # configure is writing to config.log, and then calls config.status.
6571 # config.status does its own redirection, appending to config.log.
6572 # Unfortunately, on DOS this fails, as config.log is still kept open
6573 # by configure, so config.status won't be able to write to it; its
6574 # output is simply discarded. So we exec the FD to /dev/null,
6575 # effectively closing config.log, so it can be properly (re)opened and
6576 # appended to by config.status. When coming back to configure, we
6577 # need to make the FD available again.
6578 if test "$no_create" != yes; then
6581 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6584 # would make configure fail if this is the last instruction.
6585 $ac_cs_success ||
{ (exit 1); exit 1; }