2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file
="zlib.h"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
356 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
359 -build |
--build |
--buil |
--bui |
--bu)
360 ac_prev
=build_alias
;;
361 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
365 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
366 ac_prev
=cache_file
;;
367 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
368 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
376 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* |
--disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* |
--enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
403 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
404 |
--exec |
--exe |
--ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
407 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
408 |
--exec=* |
--exe=* |
--ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas |
--gas |
--ga |
--g)
412 # Obsolete; use --with-gas.
415 -help |
--help |
--hel |
--he |
-h)
417 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
420 ac_init_help
=short
;;
422 -host |
--host |
--hos |
--ho)
423 ac_prev
=host_alias
;;
424 -host=* |
--host=* |
--hos=* |
--ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir |
--includedir |
--includedi |
--included |
--include \
428 |
--includ |
--inclu |
--incl |
--inc)
429 ac_prev
=includedir
;;
430 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
431 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
436 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir |
--libdir |
--libdi |
--libd)
441 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
444 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
445 |
--libexe |
--libex |
--libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
448 |
--libexe=* |
--libex=* |
--libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
452 |
--localstate |
--localstat |
--localsta |
--localst \
453 |
--locals |
--local |
--loca |
--loc |
--lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
456 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
457 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
462 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
466 # Obsolete; use --without-fp.
469 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
470 |
--no-cr |
--no-c |
-n)
473 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
474 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
477 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
478 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
479 |
--oldin |
--oldi |
--old |
--ol |
--o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
482 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
483 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
488 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
491 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
492 |
--program-pre |
--program-pr |
--program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
495 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
499 |
--program-suf |
--program-su |
--program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
502 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name |
--program-transform-name \
506 |
--program-transform-nam |
--program-transform-na \
507 |
--program-transform-n |
--program-transform- \
508 |
--program-transform |
--program-transfor \
509 |
--program-transfo |
--program-transf \
510 |
--program-trans |
--program-tran \
511 |
--progr-tra |
--program-tr |
--program-t)
512 ac_prev
=program_transform_name
;;
513 -program-transform-name=* |
--program-transform-name=* \
514 |
--program-transform-nam=* |
--program-transform-na=* \
515 |
--program-transform-n=* |
--program-transform-=* \
516 |
--program-transform=* |
--program-transfor=* \
517 |
--program-transfo=* |
--program-transf=* \
518 |
--program-trans=* |
--program-tran=* \
519 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
520 program_transform_name
=$ac_optarg ;;
522 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
523 |
-silent |
--silent |
--silen |
--sile |
--sil)
526 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
528 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
533 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
534 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
538 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
539 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site |
--site |
--sit)
545 -site=* |
--site=* |
--sit=*)
548 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
550 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
553 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
554 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
557 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
561 ac_prev
=target_alias
;;
562 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
563 target_alias
=$ac_optarg ;;
565 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
568 -version |
--version |
--versio |
--versi |
--vers |
-V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* |
--without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
598 |
--x-incl |
--x-inc |
--x-in |
--x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
601 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
605 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
608 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
822 --build=BUILD configure
for building on BUILD
[guessed
]
823 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
824 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
828 if test -n "$ac_init_help"; then
833 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
834 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
835 --enable-maintainer-mode enable make rules and dependencies not useful
836 (and sometimes confusing
) to the casual installer
837 --disable-dependency-tracking Speeds up one-time builds
838 --enable-dependency-tracking Do not reject slow dependency extractors
841 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
842 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
843 --with-target-subdir=SUBDIR
844 configuring
in a subdirectory
845 --with-cross-host=HOST configuring with a cross compiler
846 --with-system-zlib use installed libz
848 Some influential environment variables
:
849 CC C compiler
command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
852 nonstandard directory
<lib dir
>
853 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
854 headers
in a nonstandard directory
<include dir
>
857 Use these variables to override the choices made by
`configure' or to help
858 it to find libraries and programs with nonstandard names/locations.
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
870 if test "$ac_dir" != .; then
871 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
872 # A "../" for each directory in $ac_dir_suffix.
873 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
875 ac_dir_suffix= ac_top_builddir=
879 .) # No --srcdir option. We are building in place.
881 if test -z "$ac_top_builddir"; then
884 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
895 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
896 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
897 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
898 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
923 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
924 Free Software Foundation, Inc.
925 This configure script is free software; the Free Software Foundation
926 gives unlimited permission to copy, distribute and modify it.
932 This file contains any messages produced by compilers while
933 running configure, to aid debugging if configure makes a mistake.
935 It was created by $as_me, which was
936 generated by GNU Autoconf 2.53. Invocation command line was
947 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
948 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
949 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
950 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
951 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
953 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
954 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
956 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
957 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
958 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
959 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
960 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
961 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
962 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
970 test -z "$as_dir" && as_dir=.
986 # Keep a trace of the command line.
987 # Strip out --no-create and --no-recursion so they do not pile up.
988 # Also quote any args containing shell meta-characters.
994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995 | --no-cr | --no-c | -n ) continue ;;
996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1000 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1002 case " $ac_configure_args " in
1003 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1004 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1007 # Get rid of the leading space.
1010 # When interrupted or exit'd, cleanup temporary files, and complete
1011 # config.log. We remove comments because anyway the quotes in there
1012 # would cause problems or look ugly.
1013 # WARNING: Be sure not to use single quotes in there, as some shells,
1014 # such as our DU 5.0 friend, will then `close
' the trap.
1015 trap 'exit_status
=$?
1016 # Save into config.log some information that might help in debugging.
1020 ## ---------------- ##
1021 ## Cache variables. ##
1022 ## ---------------- ##
1025 # The following way of writing the cache mishandles newlines in values,
1028 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1031 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1036 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1041 if test -s confdefs.h
; then
1048 sed "/^$/d" confdefs.h
1051 test "$ac_signal" != 0 &&
1052 echo "$as_me: caught signal $ac_signal"
1053 echo "$as_me: exit $exit_status"
1055 rm -f core core.
* *.core
&&
1056 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1059 for ac_signal in 1 2 13 15; do
1060 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1064 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1065 rm -rf conftest* confdefs.h
1066 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1069 # Predefined preprocessor variables.
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_NAME "$PACKAGE_NAME"
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_STRING "$PACKAGE_STRING"
1091 cat >>confdefs.h <<_ACEOF
1092 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1096 # Let the site file select an alternate cache file if it wants to.
1097 # Prefer explicitly selected file to automatically selected ones.
1098 if test -z "$CONFIG_SITE"; then
1099 if test "x$prefix" != xNONE; then
1100 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1102 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1105 for ac_site_file in $CONFIG_SITE; do
1106 if test -r "$ac_site_file"; then
1107 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1108 echo "$as_me: loading site script $ac_site_file" >&6;}
1109 sed 's
/^
/|
/' "$ac_site_file" >&5
1114 if test -r "$cache_file"; then
1115 # Some versions of bash will fail to source /dev/null (special
1116 # files actually), so we avoid doing that.
1117 if test -f "$cache_file"; then
1118 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1119 echo "$as_me: loading cache $cache_file" >&6;}
1121 [\\/]* | ?:[\\/]* ) . $cache_file;;
1122 *) . ./$cache_file;;
1126 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1127 echo "$as_me: creating cache $cache_file" >&6;}
1131 # Check that the precious variables saved in the cache have kept the same
1133 ac_cache_corrupted=false
1134 for ac_var in `(set) 2>&1 |
1135 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1136 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1137 eval ac_new_set=\$ac_env_${ac_var}_set
1138 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1139 eval ac_new_val="\$ac_env_${ac_var}_value"
1140 case $ac_old_set,$ac_new_set in
1142 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1143 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1144 ac_cache_corrupted=: ;;
1146 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1147 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1148 ac_cache_corrupted=: ;;
1151 if test "x$ac_old_val" != "x$ac_new_val"; then
1152 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1153 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1154 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1155 echo "$as_me: former value: $ac_old_val" >&2;}
1156 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1157 echo "$as_me: current value: $ac_new_val" >&2;}
1158 ac_cache_corrupted=:
1161 # Pass precious variables to config.status.
1162 if test "$ac_new_set" = set; then
1164 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1165 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1166 *) ac_arg=$ac_var=$ac_new_val ;;
1168 case " $ac_configure_args " in
1169 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1170 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1174 if $ac_cache_corrupted; then
1175 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1176 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1177 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1178 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1179 { (exit 1); exit 1; }; }
1183 ac_cpp='$CPP $CPPFLAGS'
1184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1208 for ac_dir in ../cfgaux $srcdir/../cfgaux; do
1209 if test -f $ac_dir/install-sh; then
1211 ac_install_sh="$ac_aux_dir/install-sh -c"
1213 elif test -f $ac_dir/install.sh; then
1215 ac_install_sh="$ac_aux_dir/install.sh -c"
1217 elif test -f $ac_dir/shtool; then
1219 ac_install_sh="$ac_aux_dir/shtool install -c"
1223 if test -z "$ac_aux_dir"; then
1224 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../cfgaux $srcdir/../cfgaux" >&5
1225 echo "$as_me: error: cannot find install-sh or install.sh in ../cfgaux $srcdir/../cfgaux" >&2;}
1226 { (exit 1); exit 1; }; }
1228 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1229 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1230 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1232 # Make sure we can run config.sub.
1233 $ac_config_sub sun4 >/dev/null 2>&1 ||
1234 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1235 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1236 { (exit 1); exit 1; }; }
1238 echo "$as_me:$LINENO: checking build system type" >&5
1239 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1240 if test "${ac_cv_build+set}" = set; then
1241 echo $ECHO_N "(cached) $ECHO_C" >&6
1243 ac_cv_build_alias=$build_alias
1244 test -z "$ac_cv_build_alias" &&
1245 ac_cv_build_alias=`$ac_config_guess`
1246 test -z "$ac_cv_build_alias" &&
1247 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1248 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1249 { (exit 1); exit 1; }; }
1250 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1251 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1252 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1253 { (exit 1); exit 1; }; }
1256 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1257 echo "${ECHO_T}$ac_cv_build" >&6
1259 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1260 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1261 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1264 echo "$as_me:$LINENO: checking host system type" >&5
1265 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1266 if test "${ac_cv_host+set}" = set; then
1267 echo $ECHO_N "(cached) $ECHO_C" >&6
1269 ac_cv_host_alias=$host_alias
1270 test -z "$ac_cv_host_alias" &&
1271 ac_cv_host_alias=$ac_cv_build_alias
1272 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1273 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1274 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1275 { (exit 1); exit 1; }; }
1278 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1279 echo "${ECHO_T}$ac_cv_host" >&6
1281 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1282 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1283 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1286 echo "$as_me:$LINENO: checking target system type" >&5
1287 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1288 if test "${ac_cv_target+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1291 ac_cv_target_alias=$target_alias
1292 test "x$ac_cv_target_alias" = "x" &&
1293 ac_cv_target_alias=$ac_cv_host_alias
1294 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1295 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1296 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1297 { (exit 1); exit 1; }; }
1300 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1301 echo "${ECHO_T}$ac_cv_target" >&6
1302 target=$ac_cv_target
1303 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1304 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1305 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1308 # The aliases save the names the user supplied, while $host etc.
1309 # will get canonicalized.
1310 test -n "$target_alias" &&
1311 test "$program_prefix$program_suffix$program_transform_name" = \
1313 program_prefix=${target_alias}-
1314 am__api_version="1.6"
1315 # Find a good install program. We prefer a C program (faster),
1316 # so one script is as good as another. But avoid the broken or
1317 # incompatible versions:
1318 # SysV /etc/install, /usr/sbin/install
1319 # SunOS /usr/etc/install
1320 # IRIX /sbin/install
1322 # AmigaOS /C/install, which installs bootblocks on floppy discs
1323 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1326 # ./install, which can be erroneously created by make from ./install.sh.
1327 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1328 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1329 if test -z "$INSTALL"; then
1330 if test "${ac_cv_path_install+set}" = set; then
1331 echo $ECHO_N "(cached) $ECHO_C" >&6
1333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1337 test -z "$as_dir" && as_dir
=.
1338 # Account for people who put trailing slashes in PATH elements.
1340 .
/ | .
// |
/cC
/* | \
1341 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1344 # OSF1 and SCO ODT 3.0 have their own names for install.
1345 # Don't use installbsd from OSF since it installs stuff as root
1347 for ac_prog
in ginstall scoinst
install; do
1348 for ac_exec_ext
in '' $ac_executable_extensions; do
1349 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1350 if test $ac_prog = install &&
1351 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1352 # AIX install. It has an incompatible calling convention.
1354 elif test $ac_prog = install &&
1355 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1356 # program-specific install script used by HP pwplus--don't use.
1359 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1371 if test "${ac_cv_path_install+set}" = set; then
1372 INSTALL
=$ac_cv_path_install
1374 # As a last resort, use the slow shell script. We don't cache a
1375 # path for INSTALL within a source directory, because that will
1376 # break other packages using the cache if that directory is
1377 # removed, or if the path is relative.
1378 INSTALL
=$ac_install_sh
1381 echo "$as_me:$LINENO: result: $INSTALL" >&5
1382 echo "${ECHO_T}$INSTALL" >&6
1384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1385 # It thinks the first close brace ends the variable substitution.
1386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1390 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1392 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1393 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1396 echo timestamp
> conftest.
file
1397 # Do `set' in a subshell so we don't clobber the current shell's
1398 # arguments. Must try -L first in case configure is actually a
1399 # symlink; some systems play weird games with the mod time of symlinks
1400 # (eg FreeBSD returns the mod time of the symlink's containing
1403 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1404 if test "$*" = "X"; then
1406 set X
`ls -t $srcdir/configure conftest.file`
1409 if test "$*" != "X $srcdir/configure conftest.file" \
1410 && test "$*" != "X conftest.file $srcdir/configure"; then
1412 # If neither matched, then we have a broken ls. This can happen
1413 # if, for instance, CONFIG_SHELL is bash and it inherits a
1414 # broken ls alias from the environment. This has actually
1415 # happened. Such a system could not be considered "sane".
1416 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1417 alias in your environment" >&5
1418 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1419 alias in your environment" >&2;}
1420 { (exit 1); exit 1; }; }
1423 test "$2" = conftest.
file
1429 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1430 Check your system clock" >&5
1431 echo "$as_me: error: newly created file is older than distributed files!
1432 Check your system clock" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: result: yes" >&5
1436 echo "${ECHO_T}yes" >&6
1437 test "$program_prefix" != NONE
&&
1438 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1439 # Use a double $ so make ignores it.
1440 test "$program_suffix" != NONE
&&
1441 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1442 # Double any \ or $. echo might interpret backslashes.
1443 # By default was `s,x,x', remove it if useless.
1444 cat <<\_ACEOF
>conftest.
sed
1445 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1447 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1451 # expand $ac_aux_dir to an absolute path
1452 am_aux_dir
=`cd $ac_aux_dir && pwd`
1454 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1455 # Use eval to expand $SHELL
1456 if eval "$MISSING --run true"; then
1457 am_missing_run
="$MISSING --run "
1460 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1461 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1464 for ac_prog
in gawk mawk nawk
awk
1466 # Extract the first word of "$ac_prog", so it can be a program name with args.
1467 set dummy
$ac_prog; ac_word
=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_AWK+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$AWK"; then
1474 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir
=.
1481 for ac_exec_ext
in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_prog_AWK
="$ac_prog"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493 if test -n "$AWK"; then
1494 echo "$as_me:$LINENO: result: $AWK" >&5
1495 echo "${ECHO_T}$AWK" >&6
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1501 test -n "$AWK" && break
1504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1505 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1506 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 cat >conftest.
make <<\_ACEOF
1512 @
echo 'ac_maketemp="${MAKE}"'
1514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516 if test -n "$ac_maketemp"; then
1517 eval ac_cv_prog_make_
${ac_make}_set
=yes
1519 eval ac_cv_prog_make_
${ac_make}_set
=no
1523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 SET_MAKE
="MAKE=${MAKE-make}"
1533 # test to see if srcdir already configured
1534 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1535 test -f $srcdir/config.status
; then
1536 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1537 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1538 { (exit 1); exit 1; }; }
1541 # Define the identity of the package.
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE "$PACKAGE"
1551 cat >>confdefs.h
<<_ACEOF
1552 #define VERSION "$VERSION"
1555 # Some tools Automake needs.
1557 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1560 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1563 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1566 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1569 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1572 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1574 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1576 # Installed binaries are usually stripped using `strip' when the user
1577 # run `make install-strip'. However `strip' might not be the right
1578 # tool to use in cross-compilation environments, therefore Automake
1579 # will honor the `STRIP' environment variable to overrule this program.
1580 if test "$cross_compiling" != no
; then
1581 if test -n "$ac_tool_prefix"; then
1582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1583 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_STRIP+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$STRIP"; then
1590 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir
=.
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 STRIP
=$ac_cv_prog_STRIP
1609 if test -n "$STRIP"; then
1610 echo "$as_me:$LINENO: result: $STRIP" >&5
1611 echo "${ECHO_T}$STRIP" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1618 if test -z "$ac_cv_prog_STRIP"; then
1620 # Extract the first word of "strip", so it can be a program name with args.
1621 set dummy strip
; ac_word
=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$ac_ct_STRIP"; then
1628 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir
=.
1635 for ac_exec_ext
in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_ac_ct_STRIP
="strip"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1647 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1648 if test -n "$ac_ct_STRIP"; then
1649 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1650 echo "${ECHO_T}$ac_ct_STRIP" >&6
1652 echo "$as_me:$LINENO: result: no" >&5
1653 echo "${ECHO_T}no" >&6
1658 STRIP
="$ac_cv_prog_STRIP"
1662 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1664 # We need awk for the "check" target. The system "awk" is bad on
1670 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1671 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1672 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1673 if test "${enable_maintainer_mode+set}" = set; then
1674 enableval
="$enable_maintainer_mode"
1675 USE_MAINTAINER_MODE
=$enableval
1677 USE_MAINTAINER_MODE
=no
1679 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1680 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1683 if test $USE_MAINTAINER_MODE = yes; then
1684 MAINTAINER_MODE_TRUE
=
1685 MAINTAINER_MODE_FALSE
='#'
1687 MAINTAINER_MODE_TRUE
='#'
1688 MAINTAINER_MODE_FALSE
=
1691 MAINT
=$MAINTAINER_MODE_TRUE
1696 # Check whether --with-target-subdir or --without-target-subdir was given.
1697 if test "${with_target_subdir+set}" = set; then
1698 withval
="$with_target_subdir"
1702 # Check whether --with-cross-host or --without-cross-host was given.
1703 if test "${with_cross_host+set}" = set; then
1704 withval
="$with_cross_host"
1709 # Check whether --with-system-zlib or --without-system-zlib was given.
1710 if test "${with_system_zlib+set}" = set; then
1711 withval
="$with_system_zlib"
1716 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
1723 if test -n "$with_cross_host"; then
1724 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
1725 # may not work correctly, because the compiler may not be able to
1728 # We assume newlib. This lets us hard-code the functions we know
1730 cat >>confdefs.h
<<\_ACEOF
1731 #define HAVE_MEMCPY 1
1734 cat >>confdefs.h
<<\_ACEOF
1735 #define HAVE_STRERROR 1
1739 # We ignore --with-system-zlib in this case.
1740 target_all
=libzcygw.a
1742 rm -f .deps
2>/dev
/null
1743 mkdir .deps
2>/dev
/null
1744 if test -d .deps
; then
1747 # MS-DOS does not allow filenames that begin with a dot.
1750 rmdir .deps
2>/dev
/null
1753 ac_config_commands
="$ac_config_commands depfiles"
1756 am_make
=${MAKE-make}
1757 cat > confinc
<< 'END'
1761 # If we don't find an include directive, just comment out the code.
1762 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1763 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1767 # First try GNU make style include.
1768 echo "include confinc" > confmf
1769 # We grep out `Entering directory' and `Leaving directory'
1770 # messages which can occur if `w' ends up in MAKEFLAGS.
1771 # In particular we don't look at `^make:' because GNU make might
1772 # be invoked under some other name (usually "gmake"), in which
1773 # case it prints its new name instead of `make'.
1774 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1779 # Now try BSD make style include.
1780 if test "$am__include" = "#"; then
1781 echo '.include "confinc"' > confmf
1782 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1783 am__include
=.include
1790 echo "$as_me:$LINENO: result: $_am_result" >&5
1791 echo "${ECHO_T}$_am_result" >&6
1792 rm -f confinc confmf
1794 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1795 if test "${enable_dependency_tracking+set}" = set; then
1796 enableval
="$enable_dependency_tracking"
1799 if test "x$enable_dependency_tracking" != xno
; then
1800 am_depcomp
="$ac_aux_dir/depcomp"
1805 if test "x$enable_dependency_tracking" != xno; then
1816 ac_cpp
='$CPP $CPPFLAGS'
1817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1820 if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1822 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 if test -n "$CC"; then
1829 ac_cv_prog_CC
="$CC" # Let the user override the test.
1831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir
=.
1836 for ac_exec_ext
in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 if test -n "$CC"; then
1849 echo "$as_me:$LINENO: result: $CC" >&5
1850 echo "${ECHO_T}$CC" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1857 if test -z "$ac_cv_prog_CC"; then
1859 # Extract the first word of "gcc", so it can be a program name with args.
1860 set dummy gcc
; ac_word
=$2
1861 echo "$as_me:$LINENO: checking for $ac_word" >&5
1862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 if test -n "$ac_ct_CC"; then
1867 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir
=.
1874 for ac_exec_ext
in '' $ac_executable_extensions; do
1875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876 ac_cv_prog_ac_ct_CC
="gcc"
1877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1886 if test -n "$ac_ct_CC"; then
1887 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1888 echo "${ECHO_T}$ac_ct_CC" >&6
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1899 if test -z "$CC"; then
1900 if test -n "$ac_tool_prefix"; then
1901 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1902 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1937 if test -z "$ac_cv_prog_CC"; then
1939 # Extract the first word of "cc", so it can be a program name with args.
1940 set dummy cc
; ac_word
=$2
1941 echo "$as_me:$LINENO: checking for $ac_word" >&5
1942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 if test -n "$ac_ct_CC"; then
1947 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1953 test -z "$as_dir" && as_dir
=.
1954 for ac_exec_ext
in '' $ac_executable_extensions; do
1955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1956 ac_cv_prog_ac_ct_CC
="cc"
1957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1966 if test -n "$ac_ct_CC"; then
1967 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1968 echo "${ECHO_T}$ac_ct_CC" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1980 if test -z "$CC"; then
1981 # Extract the first word of "cc", so it can be a program name with args.
1982 set dummy cc
; ac_word
=$2
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985 if test "${ac_cv_prog_CC+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$CC"; then
1989 ac_cv_prog_CC
="$CC" # Let the user override the test.
1992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir
=.
1997 for ac_exec_ext
in '' $ac_executable_extensions; do
1998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2000 ac_prog_rejected
=yes
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 if test $ac_prog_rejected = yes; then
2011 # We found a bogon in the path, so make sure we never use it.
2012 set dummy
$ac_cv_prog_CC
2014 if test $# != 0; then
2015 # We chose a different compiler from the bogus one.
2016 # However, it has the same basename, so the bogon will be chosen
2017 # first if we set CC to just the basename; use the full file name.
2019 set dummy
"$as_dir/$ac_word" ${1+"$@"}
2027 if test -n "$CC"; then
2028 echo "$as_me:$LINENO: result: $CC" >&5
2029 echo "${ECHO_T}$CC" >&6
2031 echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6
2036 if test -z "$CC"; then
2037 if test -n "$ac_tool_prefix"; then
2040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2041 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$CC"; then
2048 ac_cv_prog_CC
="$CC" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2075 test -n "$CC" && break
2078 if test -z "$CC"; then
2082 # Extract the first word of "$ac_prog", so it can be a program name with args.
2083 set dummy
$ac_prog; ac_word
=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$ac_ct_CC"; then
2090 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir
=.
2097 for ac_exec_ext
in '' $ac_executable_extensions; do
2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_ac_ct_CC
="$ac_prog"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2109 if test -n "$ac_ct_CC"; then
2110 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2111 echo "${ECHO_T}$ac_ct_CC" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2117 test -n "$ac_ct_CC" && break
2126 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2127 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2128 { (exit 1); exit 1; }; }
2130 # Provide some information about the compiler.
2131 echo "$as_me:$LINENO:" \
2132 "checking for C compiler version" >&5
2133 ac_compiler
=`set X $ac_compile; echo $2`
2134 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2135 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2138 (exit $ac_status); }
2139 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2140 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }
2144 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2145 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }
2150 cat >conftest.
$ac_ext <<_ACEOF
2151 #line $LINENO "configure"
2152 #include "confdefs.h"
2154 #ifdef F77_DUMMY_MAIN
2158 int F77_DUMMY_MAIN() { return 1; }
2168 ac_clean_files_save
=$ac_clean_files
2169 ac_clean_files
="$ac_clean_files a.out a.exe"
2170 # Try to create an executable without -o first, disregard a.out.
2171 # It will help us diagnose broken compilers, and finding out an intuition
2173 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2174 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2175 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2176 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2177 (eval $ac_link_default) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; then
2181 # Find the output, starting from the most likely. This scheme is
2182 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2185 # Be careful to initialize this variable, since it used to be cached.
2186 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2188 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2189 ls a.out conftest 2>/dev/null;
2190 ls a.* conftest.* 2>/dev/null`; do
2192 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
2193 a.out
) # We found the default executable, but exeext='' is most
2196 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2197 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2204 echo "$as_me: failed program was:" >&5
2205 cat conftest.
$ac_ext >&5
2206 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2207 echo "$as_me: error: C compiler cannot create executables" >&2;}
2208 { (exit 77); exit 77; }; }
2211 ac_exeext
=$ac_cv_exeext
2212 echo "$as_me:$LINENO: result: $ac_file" >&5
2213 echo "${ECHO_T}$ac_file" >&6
2215 # Check the compiler produces executables we can run. If not, either
2216 # the compiler is broken, or we cross compile.
2217 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2218 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2219 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2220 # If not cross compiling, check that we can run a simple program.
2221 if test "$cross_compiling" != yes; then
2222 if { ac_try
='./$ac_file'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2230 if test "$cross_compiling" = maybe
; then
2233 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2234 If you meant to cross compile, use \`--host'." >&5
2235 echo "$as_me: error: cannot run C compiled programs.
2236 If you meant to cross compile, use \`--host'." >&2;}
2237 { (exit 1); exit 1; }; }
2241 echo "$as_me:$LINENO: result: yes" >&5
2242 echo "${ECHO_T}yes" >&6
2244 rm -f a.out a.exe conftest
$ac_cv_exeext
2245 ac_clean_files
=$ac_clean_files_save
2246 # Check the compiler produces executables we can run. If not, either
2247 # the compiler is broken, or we cross compile.
2248 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2249 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2250 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2251 echo "${ECHO_T}$cross_compiling" >&6
2253 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2254 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2256 (eval $ac_link) 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2262 # work properly (i.e., refer to `conftest.exe'), while it won't with
2264 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2266 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2267 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2275 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2276 { (exit 1); exit 1; }; }
2279 rm -f conftest
$ac_cv_exeext
2280 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2281 echo "${ECHO_T}$ac_cv_exeext" >&6
2283 rm -f conftest.
$ac_ext
2284 EXEEXT
=$ac_cv_exeext
2286 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2287 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2288 if test "${ac_cv_objext+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 cat >conftest.
$ac_ext <<_ACEOF
2292 #line $LINENO "configure"
2293 #include "confdefs.h"
2295 #ifdef F77_DUMMY_MAIN
2299 int F77_DUMMY_MAIN() { return 1; }
2309 rm -f conftest.o conftest.obj
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2317 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2318 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2323 echo "$as_me: failed program was:" >&5
2324 cat conftest.
$ac_ext >&5
2325 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2326 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2327 { (exit 1); exit 1; }; }
2330 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2332 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2333 echo "${ECHO_T}$ac_cv_objext" >&6
2334 OBJEXT
=$ac_cv_objext
2336 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2337 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2338 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 cat >conftest.
$ac_ext <<_ACEOF
2342 #line $LINENO "configure"
2343 #include "confdefs.h"
2345 #ifdef F77_DUMMY_MAIN
2349 int F77_DUMMY_MAIN() { return 1; }
2362 rm -f conftest.
$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364 (eval $ac_compile) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); } &&
2368 { ac_try
='test -s conftest.$ac_objext'
2369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }; }; then
2376 echo "$as_me: failed program was:" >&5
2377 cat conftest.
$ac_ext >&5
2380 rm -f conftest.
$ac_objext conftest.
$ac_ext
2381 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2384 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2385 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2386 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2387 ac_test_CFLAGS
=${CFLAGS+set}
2388 ac_save_CFLAGS
=$CFLAGS
2390 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2392 if test "${ac_cv_prog_cc_g+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.
$ac_ext <<_ACEOF
2396 #line $LINENO "configure"
2397 #include "confdefs.h"
2399 #ifdef F77_DUMMY_MAIN
2403 int F77_DUMMY_MAIN() { return 1; }
2413 rm -f conftest.
$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); } &&
2419 { ac_try
='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2427 echo "$as_me: failed program was:" >&5
2428 cat conftest.
$ac_ext >&5
2431 rm -f conftest.
$ac_objext conftest.
$ac_ext
2433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2434 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2435 if test "$ac_test_CFLAGS" = set; then
2436 CFLAGS
=$ac_save_CFLAGS
2437 elif test $ac_cv_prog_cc_g = yes; then
2438 if test "$GCC" = yes; then
2444 if test "$GCC" = yes; then
2450 # Some people use a C++ compiler to compile C. Since we use `exit',
2451 # in C++ we need to declare it. In case someone uses the same compiler
2452 # for both compiling C and C++ we need to have the C++ compiler decide
2453 # the declaration of exit, since it's the most demanding environment.
2454 cat >conftest.
$ac_ext <<_ACEOF
2459 rm -f conftest.
$ac_objext
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } &&
2465 { ac_try
='test -s conftest.$ac_objext'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2471 for ac_declaration
in \
2473 '#include <stdlib.h>' \
2474 'extern "C" void std::exit (int) throw (); using std::exit;' \
2475 'extern "C" void std::exit (int); using std::exit;' \
2476 'extern "C" void exit (int) throw ();' \
2477 'extern "C" void exit (int);' \
2480 cat >conftest.
$ac_ext <<_ACEOF
2481 #line $LINENO "configure"
2482 #include "confdefs.h"
2485 #ifdef F77_DUMMY_MAIN
2489 int F77_DUMMY_MAIN() { return 1; }
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } &&
2505 { ac_try
='test -s conftest.$ac_objext'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2513 echo "$as_me: failed program was:" >&5
2514 cat conftest.
$ac_ext >&5
2517 rm -f conftest.
$ac_objext conftest.
$ac_ext
2518 cat >conftest.
$ac_ext <<_ACEOF
2519 #line $LINENO "configure"
2520 #include "confdefs.h"
2522 #ifdef F77_DUMMY_MAIN
2526 int F77_DUMMY_MAIN() { return 1; }
2536 rm -f conftest.
$ac_objext
2537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2538 (eval $ac_compile) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2550 echo "$as_me: failed program was:" >&5
2551 cat conftest.
$ac_ext >&5
2553 rm -f conftest.
$ac_objext conftest.
$ac_ext
2556 if test -n "$ac_declaration"; then
2557 echo '#ifdef __cplusplus' >>confdefs.h
2558 echo $ac_declaration >>confdefs.h
2559 echo '#endif' >>confdefs.h
2563 echo "$as_me: failed program was:" >&5
2564 cat conftest.
$ac_ext >&5
2566 rm -f conftest.
$ac_objext conftest.
$ac_ext
2568 ac_cpp
='$CPP $CPPFLAGS'
2569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2573 depcc
="$CC" am_compiler_list
=
2575 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2576 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2577 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2581 # We make a subdir and do the tests there. Otherwise we can end up
2582 # making bogus files that we don't know about and never remove. For
2583 # instance it was reported that on HP-UX the gcc test will end up
2584 # making a dummy file named `D' -- because `-MD' means `put the output
2587 # Copy depcomp to subdir because otherwise we won't find it if we're
2588 # using a relative directory.
2589 cp "$am_depcomp" conftest.dir
2592 am_cv_CC_dependencies_compiler_type
=none
2593 if test "$am_compiler_list" = ""; then
2594 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2596 for depmode
in $am_compiler_list; do
2597 # We need to recreate these files for each test, as the compiler may
2598 # overwrite some of them when testing with obscure command lines.
2599 # This happens at least with the AIX C compiler.
2600 echo '#include "conftest.h"' > conftest.c
2601 echo 'int i;' > conftest.h
2602 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2606 # after this tag, mechanisms are not by side-effect, so they'll
2607 # only be used when explicitly requested
2608 if test "x$enable_dependency_tracking" = xyes
; then
2616 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2617 # mode. It turns out that the SunPro C++ compiler does not properly
2618 # handle `-M -o', and we need to detect this.
2619 if depmode
=$depmode \
2620 source=conftest.c object
=conftest.o \
2621 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2622 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2623 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2624 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2625 am_cv_CC_dependencies_compiler_type
=$depmode
2633 am_cv_CC_dependencies_compiler_type
=none
2637 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2638 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2639 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2644 ac_cpp
='$CPP $CPPFLAGS'
2645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2648 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2649 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2650 # On Suns, sometimes $CPP names a directory.
2651 if test -n "$CPP" && test -d "$CPP"; then
2654 if test -z "$CPP"; then
2655 if test "${ac_cv_prog_CPP+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 # Double quotes because CPP needs to be expanded
2659 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2662 for ac_c_preproc_warn_flag
in '' yes
2664 # Use a header file that comes with gcc, so configuring glibc
2665 # with a fresh cross-compiler works.
2666 # On the NeXT, cc -E runs the code through the compiler's parser,
2667 # not just through cpp. "Syntax error" is here to catch this case.
2668 cat >conftest.
$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2670 #include "confdefs.h"
2674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2677 egrep -v '^ *\+' conftest.er1
>conftest.err
2679 cat conftest.err
>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } >/dev
/null
; then
2682 if test -s conftest.err
; then
2683 ac_cpp_err
=$ac_c_preproc_warn_flag
2690 if test -z "$ac_cpp_err"; then
2693 echo "$as_me: failed program was:" >&5
2694 cat conftest.
$ac_ext >&5
2695 # Broken: fails on valid input.
2698 rm -f conftest.err conftest.
$ac_ext
2700 # OK, works on sane cases. Now check whether non-existent headers
2701 # can be detected and how.
2702 cat >conftest.
$ac_ext <<_ACEOF
2703 #line $LINENO "configure"
2704 #include "confdefs.h"
2705 #include <ac_nonexistent.h>
2707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2710 egrep -v '^ *\+' conftest.er1
>conftest.err
2712 cat conftest.err
>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } >/dev
/null
; then
2715 if test -s conftest.err
; then
2716 ac_cpp_err
=$ac_c_preproc_warn_flag
2723 if test -z "$ac_cpp_err"; then
2724 # Broken: success on invalid input.
2727 echo "$as_me: failed program was:" >&5
2728 cat conftest.
$ac_ext >&5
2729 # Passes both tests.
2733 rm -f conftest.err conftest.
$ac_ext
2736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2737 rm -f conftest.err conftest.
$ac_ext
2738 if $ac_preproc_ok; then
2750 echo "$as_me:$LINENO: result: $CPP" >&5
2751 echo "${ECHO_T}$CPP" >&6
2753 for ac_c_preproc_warn_flag
in '' yes
2755 # Use a header file that comes with gcc, so configuring glibc
2756 # with a fresh cross-compiler works.
2757 # On the NeXT, cc -E runs the code through the compiler's parser,
2758 # not just through cpp. "Syntax error" is here to catch this case.
2759 cat >conftest.
$ac_ext <<_ACEOF
2760 #line $LINENO "configure"
2761 #include "confdefs.h"
2765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2768 egrep -v '^ *\+' conftest.er1
>conftest.err
2770 cat conftest.err
>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } >/dev
/null
; then
2773 if test -s conftest.err
; then
2774 ac_cpp_err
=$ac_c_preproc_warn_flag
2781 if test -z "$ac_cpp_err"; then
2784 echo "$as_me: failed program was:" >&5
2785 cat conftest.
$ac_ext >&5
2786 # Broken: fails on valid input.
2789 rm -f conftest.err conftest.
$ac_ext
2791 # OK, works on sane cases. Now check whether non-existent headers
2792 # can be detected and how.
2793 cat >conftest.
$ac_ext <<_ACEOF
2794 #line $LINENO "configure"
2795 #include "confdefs.h"
2796 #include <ac_nonexistent.h>
2798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2801 egrep -v '^ *\+' conftest.er1
>conftest.err
2803 cat conftest.err
>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } >/dev
/null
; then
2806 if test -s conftest.err
; then
2807 ac_cpp_err
=$ac_c_preproc_warn_flag
2814 if test -z "$ac_cpp_err"; then
2815 # Broken: success on invalid input.
2818 echo "$as_me: failed program was:" >&5
2819 cat conftest.
$ac_ext >&5
2820 # Passes both tests.
2824 rm -f conftest.err conftest.
$ac_ext
2827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2828 rm -f conftest.err conftest.
$ac_ext
2829 if $ac_preproc_ok; then
2832 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2834 { (exit 1); exit 1; }; }
2838 ac_cpp
='$CPP $CPPFLAGS'
2839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2844 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2845 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2846 if test "${ac_cv_header_stdc+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 cat >conftest.
$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2851 #include "confdefs.h"
2858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2861 egrep -v '^ *\+' conftest.er1
>conftest.err
2863 cat conftest.err
>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } >/dev
/null
; then
2866 if test -s conftest.err
; then
2867 ac_cpp_err
=$ac_c_preproc_warn_flag
2874 if test -z "$ac_cpp_err"; then
2875 ac_cv_header_stdc
=yes
2877 echo "$as_me: failed program was:" >&5
2878 cat conftest.
$ac_ext >&5
2879 ac_cv_header_stdc
=no
2881 rm -f conftest.err conftest.
$ac_ext
2883 if test $ac_cv_header_stdc = yes; then
2884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2885 cat >conftest.
$ac_ext <<_ACEOF
2886 #line $LINENO "configure"
2887 #include "confdefs.h"
2891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2892 egrep "memchr" >/dev
/null
2>&1; then
2895 ac_cv_header_stdc
=no
2901 if test $ac_cv_header_stdc = yes; then
2902 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2903 cat >conftest.
$ac_ext <<_ACEOF
2904 #line $LINENO "configure"
2905 #include "confdefs.h"
2909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2910 egrep "free" >/dev
/null
2>&1; then
2913 ac_cv_header_stdc
=no
2919 if test $ac_cv_header_stdc = yes; then
2920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2921 if test "$cross_compiling" = yes; then
2924 cat >conftest.
$ac_ext <<_ACEOF
2925 #line $LINENO "configure"
2926 #include "confdefs.h"
2928 #if ((' ' & 0x0FF) == 0x020)
2929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2932 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2933 || ('j' <= (c) && (c) <= 'r') \
2934 || ('s' <= (c) && (c) <= 'z'))
2935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2943 for (i = 0; i < 256; i++)
2944 if (XOR (islower (i), ISLOWER (i))
2945 || toupper (i) != TOUPPER (i))
2950 rm -f conftest
$ac_exeext
2951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2952 (eval $ac_link) 2>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: program exited with status $ac_status" >&5
2964 echo "$as_me: failed program was:" >&5
2965 cat conftest.
$ac_ext >&5
2967 ac_cv_header_stdc
=no
2969 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2973 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2974 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2975 if test $ac_cv_header_stdc = yes; then
2977 cat >>confdefs.h
<<\_ACEOF
2978 #define STDC_HEADERS 1
2983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2993 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2994 inttypes.h stdint.h unistd.h
2996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2997 echo "$as_me:$LINENO: checking for $ac_header" >&5
2998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 cat >conftest.
$ac_ext <<_ACEOF
3003 #line $LINENO "configure"
3004 #include "confdefs.h"
3005 $ac_includes_default
3007 #include <$ac_header>
3009 rm -f conftest.
$ac_objext
3010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3011 (eval $ac_compile) 2>&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } &&
3015 { ac_try
='test -s conftest.$ac_objext'
3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; }; then
3021 eval "$as_ac_Header=yes"
3023 echo "$as_me: failed program was:" >&5
3024 cat conftest.
$ac_ext >&5
3025 eval "$as_ac_Header=no"
3027 rm -f conftest.
$ac_objext conftest.
$ac_ext
3029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3032 cat >>confdefs.h
<<_ACEOF
3033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3043 for ac_header
in stdlib.h unistd.h
3045 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3047 echo "$as_me:$LINENO: checking for $ac_header" >&5
3048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3055 # Is the header compilable?
3056 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3058 cat >conftest.
$ac_ext <<_ACEOF
3059 #line $LINENO "configure"
3060 #include "confdefs.h"
3061 $ac_includes_default
3062 #include <$ac_header>
3064 rm -f conftest.
$ac_objext
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } &&
3070 { ac_try
='test -s conftest.$ac_objext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3076 ac_header_compiler
=yes
3078 echo "$as_me: failed program was:" >&5
3079 cat conftest.
$ac_ext >&5
3080 ac_header_compiler
=no
3082 rm -f conftest.
$ac_objext conftest.
$ac_ext
3083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3084 echo "${ECHO_T}$ac_header_compiler" >&6
3086 # Is the header present?
3087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3089 cat >conftest.
$ac_ext <<_ACEOF
3090 #line $LINENO "configure"
3091 #include "confdefs.h"
3092 #include <$ac_header>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 egrep -v '^ *\+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3110 if test -z "$ac_cpp_err"; then
3111 ac_header_preproc
=yes
3113 echo "$as_me: failed program was:" >&5
3114 cat conftest.
$ac_ext >&5
3115 ac_header_preproc
=no
3117 rm -f conftest.err conftest.
$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3119 echo "${ECHO_T}$ac_header_preproc" >&6
3121 # So? What about this header?
3122 case $ac_header_compiler:$ac_header_preproc in
3124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3136 echo "$as_me:$LINENO: checking for $ac_header" >&5
3137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 eval "$as_ac_Header=$ac_header_preproc"
3143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3148 cat >>confdefs.h
<<_ACEOF
3149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3157 for ac_func
in getpagesize
3159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3160 echo "$as_me:$LINENO: checking for $ac_func" >&5
3161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3162 if eval "test \"\${$as_ac_var+set}\" = set"; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 cat >conftest.
$ac_ext <<_ACEOF
3166 #line $LINENO "configure"
3167 #include "confdefs.h"
3168 /* System header to define __stub macros and hopefully few prototypes,
3169 which can conflict with char $ac_func (); below. */
3171 /* Override any gcc2 internal prototype to avoid an error. */
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3180 #ifdef F77_DUMMY_MAIN
3184 int F77_DUMMY_MAIN() { return 1; }
3189 /* The GNU C library defines this for functions which it implements
3190 to always fail with ENOSYS. Some functions are actually named
3191 something starting with __ and the normal name is an alias. */
3192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3202 rm -f conftest.
$ac_objext conftest
$ac_exeext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3204 (eval $ac_link) 2>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try
='test -s conftest$ac_exeext'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; }; then
3214 eval "$as_ac_var=yes"
3216 echo "$as_me: failed program was:" >&5
3217 cat conftest.
$ac_ext >&5
3218 eval "$as_ac_var=no"
3220 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3224 if test `eval echo '${'$as_ac_var'}'` = yes; then
3225 cat >>confdefs.h
<<_ACEOF
3226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3232 echo "$as_me:$LINENO: checking for working mmap" >&5
3233 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3234 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 if test "$cross_compiling" = yes; then
3238 ac_cv_func_mmap_fixed_mapped
=no
3240 cat >conftest.
$ac_ext <<_ACEOF
3241 #line $LINENO "configure"
3242 #include "confdefs.h"
3243 $ac_includes_default
3244 /* malloc might have been renamed as rpl_malloc. */
3247 /* Thanks to Mike Haertel and Jim Avera for this test.
3248 Here is a matrix of mmap possibilities:
3249 mmap private not fixed
3250 mmap private fixed at somewhere currently unmapped
3251 mmap private fixed at somewhere already mapped
3252 mmap shared not fixed
3253 mmap shared fixed at somewhere currently unmapped
3254 mmap shared fixed at somewhere already mapped
3255 For private mappings, we should verify that changes cannot be read()
3256 back from the file, nor mmap's back from the file at a different
3257 address. (There have been systems where private was not correctly
3258 implemented like the infamous i386 svr4.0, and systems where the
3259 VM page cache was not coherent with the file system buffer cache
3260 like early versions of FreeBSD and possibly contemporary NetBSD.)
3261 For shared mappings, we should conversely verify that changes get
3262 propagated back to all the places they're supposed to be.
3264 Grep wants private fixed already mapped.
3265 The main things grep needs to know about mmap are:
3266 * does it exist and is it safe to write into the mmap'd area
3267 * how to use it (BSD variants) */
3270 #include <sys/mman.h>
3272 #if !STDC_HEADERS && !HAVE_STDLIB_H
3276 /* This mess was copied from the GNU getpagesize.h. */
3277 #if !HAVE_GETPAGESIZE
3278 /* Assume that all systems that can run configure have sys/param.h. */
3279 # if !HAVE_SYS_PARAM_H
3280 # define HAVE_SYS_PARAM_H 1
3283 # ifdef _SC_PAGESIZE
3284 # define getpagesize() sysconf(_SC_PAGESIZE)
3285 # else /* no _SC_PAGESIZE */
3286 # if HAVE_SYS_PARAM_H
3287 # include <sys/param.h>
3288 # ifdef EXEC_PAGESIZE
3289 # define getpagesize() EXEC_PAGESIZE
3290 # else /* no EXEC_PAGESIZE */
3292 # define getpagesize() NBPG * CLSIZE
3295 # endif /* no CLSIZE */
3296 # else /* no NBPG */
3298 # define getpagesize() NBPC
3299 # else /* no NBPC */
3301 # define getpagesize() PAGESIZE
3302 # endif /* PAGESIZE */
3303 # endif /* no NBPC */
3304 # endif /* no NBPG */
3305 # endif /* no EXEC_PAGESIZE */
3306 # else /* no HAVE_SYS_PARAM_H */
3307 # define getpagesize() 8192 /* punt totally */
3308 # endif /* no HAVE_SYS_PARAM_H */
3309 # endif /* no _SC_PAGESIZE */
3311 #endif /* no HAVE_GETPAGESIZE */
3316 char *data, *data2, *data3;
3320 pagesize = getpagesize ();
3322 /* First, make a file with some known garbage in it. */
3323 data = (char *) malloc (pagesize);
3326 for (i = 0; i < pagesize; ++i)
3327 *(data + i) = rand ();
3329 fd = creat ("conftest.mmap", 0600);
3332 if (write (fd, data, pagesize) != pagesize)
3336 /* Next, try to mmap the file at a fixed address which already has
3337 something else allocated at it. If we can, also make sure that
3338 we see the same garbage. */
3339 fd = open ("conftest.mmap", O_RDWR);
3342 data2 = (char *) malloc (2 * pagesize);
3345 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3346 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3347 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3349 for (i = 0; i < pagesize; ++i)
3350 if (*(data + i) != *(data2 + i))
3353 /* Finally, make sure that changes to the mapped area do not
3354 percolate back to the file as seen by read(). (This is a bug on
3355 some variants of i386 svr4.0.) */
3356 for (i = 0; i < pagesize; ++i)
3357 *(data2 + i) = *(data2 + i) + 1;
3358 data3 = (char *) malloc (pagesize);
3361 if (read (fd, data3, pagesize) != pagesize)
3363 for (i = 0; i < pagesize; ++i)
3364 if (*(data + i) != *(data3 + i))
3370 rm -f conftest
$ac_exeext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3372 (eval $ac_link) 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 ac_cv_func_mmap_fixed_mapped
=yes
3383 echo "$as_me: program exited with status $ac_status" >&5
3384 echo "$as_me: failed program was:" >&5
3385 cat conftest.
$ac_ext >&5
3387 ac_cv_func_mmap_fixed_mapped
=no
3389 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3392 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3393 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3394 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3396 cat >>confdefs.h
<<\_ACEOF
3405 for ac_func
in memcpy strerror
3407 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3408 echo "$as_me:$LINENO: checking for $ac_func" >&5
3409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3410 if eval "test \"\${$as_ac_var+set}\" = set"; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 cat >conftest.
$ac_ext <<_ACEOF
3414 #line $LINENO "configure"
3415 #include "confdefs.h"
3416 /* System header to define __stub macros and hopefully few prototypes,
3417 which can conflict with char $ac_func (); below. */
3419 /* Override any gcc2 internal prototype to avoid an error. */
3423 /* We use char because int might match the return type of a gcc2
3424 builtin and then its argument prototype would still apply. */
3428 #ifdef F77_DUMMY_MAIN
3432 int F77_DUMMY_MAIN() { return 1; }
3437 /* The GNU C library defines this for functions which it implements
3438 to always fail with ENOSYS. Some functions are actually named
3439 something starting with __ and the normal name is an alias. */
3440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3450 rm -f conftest.
$ac_objext conftest
$ac_exeext
3451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3452 (eval $ac_link) 2>&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } &&
3456 { ac_try
='test -s conftest$ac_exeext'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; }; then
3462 eval "$as_ac_var=yes"
3464 echo "$as_me: failed program was:" >&5
3465 cat conftest.
$ac_ext >&5
3466 eval "$as_ac_var=no"
3468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3472 if test `eval echo '${'$as_ac_var'}'` = yes; then
3473 cat >>confdefs.h
<<_ACEOF
3474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3481 if test "$with_system_zlib" = yes; then
3482 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
3483 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
3484 if test "${ac_cv_lib_z_deflate+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 ac_check_lib_save_LIBS
=$LIBS
3489 cat >conftest.
$ac_ext <<_ACEOF
3490 #line $LINENO "configure"
3491 #include "confdefs.h"
3493 /* Override any gcc2 internal prototype to avoid an error. */
3497 /* We use char because int might match the return type of a gcc2
3498 builtin and then its argument prototype would still apply. */
3500 #ifdef F77_DUMMY_MAIN
3504 int F77_DUMMY_MAIN() { return 1; }
3514 rm -f conftest.
$ac_objext conftest
$ac_exeext
3515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3516 (eval $ac_link) 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -s conftest$ac_exeext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 ac_cv_lib_z_deflate
=yes
3528 echo "$as_me: failed program was:" >&5
3529 cat conftest.
$ac_ext >&5
3530 ac_cv_lib_z_deflate
=no
3532 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3533 LIBS
=$ac_check_lib_save_LIBS
3535 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
3536 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
3537 if test $ac_cv_lib_z_deflate = yes; then
3540 target_all
=libzcygw.a
3544 target_all
=libzcygw.a
3551 for ac_header
in unistd.h
3553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3555 echo "$as_me:$LINENO: checking for $ac_header" >&5
3556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3563 # Is the header compilable?
3564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3566 cat >conftest.
$ac_ext <<_ACEOF
3567 #line $LINENO "configure"
3568 #include "confdefs.h"
3569 $ac_includes_default
3570 #include <$ac_header>
3572 rm -f conftest.
$ac_objext
3573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3574 (eval $ac_compile) 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); } &&
3578 { ac_try
='test -s conftest.$ac_objext'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3584 ac_header_compiler
=yes
3586 echo "$as_me: failed program was:" >&5
3587 cat conftest.
$ac_ext >&5
3588 ac_header_compiler
=no
3590 rm -f conftest.
$ac_objext conftest.
$ac_ext
3591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3592 echo "${ECHO_T}$ac_header_compiler" >&6
3594 # Is the header present?
3595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3597 cat >conftest.
$ac_ext <<_ACEOF
3598 #line $LINENO "configure"
3599 #include "confdefs.h"
3600 #include <$ac_header>
3602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3603 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3605 egrep -v '^ *\+' conftest.er1
>conftest.err
3607 cat conftest.err
>&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } >/dev
/null
; then
3610 if test -s conftest.err
; then
3611 ac_cpp_err
=$ac_c_preproc_warn_flag
3618 if test -z "$ac_cpp_err"; then
3619 ac_header_preproc
=yes
3621 echo "$as_me: failed program was:" >&5
3622 cat conftest.
$ac_ext >&5
3623 ac_header_preproc
=no
3625 rm -f conftest.err conftest.
$ac_ext
3626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3627 echo "${ECHO_T}$ac_header_preproc" >&6
3629 # So? What about this header?
3630 case $ac_header_compiler:$ac_header_preproc in
3632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3644 echo "$as_me:$LINENO: checking for $ac_header" >&5
3645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 eval "$as_ac_Header=$ac_header_preproc"
3651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3656 cat >>confdefs.h
<<_ACEOF
3657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3665 if test -n "$ac_tool_prefix"; then
3666 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3667 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3668 echo "$as_me:$LINENO: checking for $ac_word" >&5
3669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3670 if test "${ac_cv_prog_AR+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 if test -n "$AR"; then
3674 ac_cv_prog_AR
="$AR" # Let the user override the test.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 if test -n "$AR"; then
3694 echo "$as_me:$LINENO: result: $AR" >&5
3695 echo "${ECHO_T}$AR" >&6
3697 echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6
3702 if test -z "$ac_cv_prog_AR"; then
3704 # Extract the first word of "ar", so it can be a program name with args.
3705 set dummy
ar; ac_word
=$2
3706 echo "$as_me:$LINENO: checking for $ac_word" >&5
3707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3708 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 if test -n "$ac_ct_AR"; then
3712 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir
=.
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_ac_ct_AR
="ar"
3722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
3731 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3732 if test -n "$ac_ct_AR"; then
3733 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3734 echo "${ECHO_T}$ac_ct_AR" >&6
3736 echo "$as_me:$LINENO: result: no" >&5
3737 echo "${ECHO_T}no" >&6
3746 if test -n "$ac_tool_prefix"; then
3747 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3748 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3749 echo "$as_me:$LINENO: checking for $ac_word" >&5
3750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3751 if test "${ac_cv_prog_AS+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 if test -n "$AS"; then
3755 ac_cv_prog_AS
="$AS" # Let the user override the test.
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_AS
="${ac_tool_prefix}as"
3765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 if test -n "$AS"; then
3775 echo "$as_me:$LINENO: result: $AS" >&5
3776 echo "${ECHO_T}$AS" >&6
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3783 if test -z "$ac_cv_prog_AS"; then
3785 # Extract the first word of "as", so it can be a program name with args.
3786 set dummy as
; ac_word
=$2
3787 echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3789 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$ac_ct_AS"; then
3793 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_ac_ct_AS
="as"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="as"
3812 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3813 if test -n "$ac_ct_AS"; then
3814 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3815 echo "${ECHO_T}$ac_ct_AS" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3827 if test -n "$ac_tool_prefix"; then
3828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3829 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3830 echo "$as_me:$LINENO: checking for $ac_word" >&5
3831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3832 if test "${ac_cv_prog_RANLIB+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 if test -n "$RANLIB"; then
3836 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 RANLIB
=$ac_cv_prog_RANLIB
3855 if test -n "$RANLIB"; then
3856 echo "$as_me:$LINENO: result: $RANLIB" >&5
3857 echo "${ECHO_T}$RANLIB" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3864 if test -z "$ac_cv_prog_RANLIB"; then
3865 ac_ct_RANLIB
=$RANLIB
3866 # Extract the first word of "ranlib", so it can be a program name with args.
3867 set dummy ranlib
; ac_word
=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 if test -n "$ac_ct_RANLIB"; then
3874 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir
=.
3881 for ac_exec_ext
in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib"
3893 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3894 if test -n "$ac_ct_RANLIB"; then
3895 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3896 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3898 echo "$as_me:$LINENO: result: no" >&5
3899 echo "${ECHO_T}no" >&6
3902 RANLIB
=$ac_ct_RANLIB
3904 RANLIB
="$ac_cv_prog_RANLIB"
3908 if test -n "$ac_tool_prefix"; then
3909 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3910 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3911 echo "$as_me:$LINENO: checking for $ac_word" >&5
3912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3913 if test "${ac_cv_prog_LD+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if test -n "$LD"; then
3917 ac_cv_prog_LD
="$LD" # Let the user override the test.
3919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir
=.
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 if test -n "$LD"; then
3937 echo "$as_me:$LINENO: result: $LD" >&5
3938 echo "${ECHO_T}$LD" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3945 if test -z "$ac_cv_prog_LD"; then
3947 # Extract the first word of "ld", so it can be a program name with args.
3948 set dummy ld
; ac_word
=$2
3949 echo "$as_me:$LINENO: checking for $ac_word" >&5
3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3951 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -n "$ac_ct_LD"; then
3955 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_ac_ct_LD
="ld"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
3974 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3975 if test -n "$ac_ct_LD"; then
3976 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3977 echo "${ECHO_T}$ac_ct_LD" >&6
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3991 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3992 echo "$as_me:$LINENO: checking for $ac_word" >&5
3993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3994 if test "${ac_cv_prog_NM+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 if test -n "$NM"; then
3998 ac_cv_prog_NM
="$NM" # Let the user override the test.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007 ac_cv_prog_NM
="${ac_tool_prefix}nm"
4008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 if test -n "$NM"; then
4018 echo "$as_me:$LINENO: result: $NM" >&5
4019 echo "${ECHO_T}$NM" >&6
4021 echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6
4026 if test -z "$ac_cv_prog_NM"; then
4028 # Extract the first word of "nm", so it can be a program name with args.
4029 set dummy nm
; ac_word
=$2
4030 echo "$as_me:$LINENO: checking for $ac_word" >&5
4031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4032 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 if test -n "$ac_ct_NM"; then
4036 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_ac_ct_NM
="nm"
4046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
="nm"
4055 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
4056 if test -n "$ac_ct_NM"; then
4057 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
4058 echo "${ECHO_T}$ac_ct_NM" >&6
4060 echo "$as_me:$LINENO: result: no" >&5
4061 echo "${ECHO_T}no" >&6
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4072 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4073 echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 if test -n "$DLLTOOL"; then
4079 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir
=.
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 DLLTOOL
=$ac_cv_prog_DLLTOOL
4098 if test -n "$DLLTOOL"; then
4099 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4100 echo "${ECHO_T}$DLLTOOL" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4107 if test -z "$ac_cv_prog_DLLTOOL"; then
4108 ac_ct_DLLTOOL
=$DLLTOOL
4109 # Extract the first word of "dlltool", so it can be a program name with args.
4110 set dummy dlltool
; ac_word
=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$ac_ct_DLLTOOL"; then
4117 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4136 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4137 if test -n "$ac_ct_DLLTOOL"; then
4138 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4139 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4145 DLLTOOL
=$ac_ct_DLLTOOL
4147 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4151 if test -n "$ac_tool_prefix"; then
4152 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4153 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4154 echo "$as_me:$LINENO: checking for $ac_word" >&5
4155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4156 if test "${ac_cv_prog_WINDRES+set}" = set; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 if test -n "$WINDRES"; then
4160 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir
=.
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4169 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 WINDRES
=$ac_cv_prog_WINDRES
4179 if test -n "$WINDRES"; then
4180 echo "$as_me:$LINENO: result: $WINDRES" >&5
4181 echo "${ECHO_T}$WINDRES" >&6
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4188 if test -z "$ac_cv_prog_WINDRES"; then
4189 ac_ct_WINDRES
=$WINDRES
4190 # Extract the first word of "windres", so it can be a program name with args.
4191 set dummy windres
; ac_word
=$2
4192 echo "$as_me:$LINENO: checking for $ac_word" >&5
4193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4194 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 if test -n "$ac_ct_WINDRES"; then
4198 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4207 ac_cv_prog_ac_ct_WINDRES
="windres"
4208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="windres"
4217 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4218 if test -n "$ac_ct_WINDRES"; then
4219 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4220 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4226 WINDRES
=$ac_ct_WINDRES
4228 WINDRES
="$ac_cv_prog_WINDRES"
4235 if test -z "$with_cross_host"; then
4237 USE_LIBDIR_FALSE
='#'
4244 ac_config_files
="$ac_config_files Makefile"
4246 cat >confcache
<<\_ACEOF
4247 # This file is a shell script that caches the results of configure
4248 # tests run on this system so they can be shared between configure
4249 # scripts and configure runs, see configure's option --config-cache.
4250 # It is not useful on other systems. If it contains results you don't
4251 # want to keep, you may remove or edit it.
4253 # config.status only pays attention to the cache file if you give it
4254 # the --recheck option to rerun configure.
4256 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4257 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4262 # The following way of writing the cache mishandles newlines in values,
4263 # but we know of no workaround that is simple, portable, and efficient.
4264 # So, don't put newlines in cache variables' values.
4265 # Ultrix sh set writes to stderr and can't be redirected directly,
4266 # and sets the high bit in the cache file unless we assign to the vars.
4269 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4271 # `set' does not quote correctly, so add quotes (double-quote
4272 # substitution turns \\\\ into \\, and sed turns \\ into \).
4275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4278 # `set' quotes correctly as required by POSIX, so do not add quotes.
4280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4289 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4291 if cmp -s $cache_file confcache
; then :; else
4292 if test -w $cache_file; then
4293 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4294 cat confcache
>$cache_file
4296 echo "not updating unwritable cache $cache_file"
4301 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4302 # Let make expand exec_prefix.
4303 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4305 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4306 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4307 # trailing colons and then remove the whole line if VPATH becomes empty
4308 # (actually we leave an empty line to preserve line numbers).
4309 if test "x$srcdir" = x.
; then
4310 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4311 s/:*\$(srcdir):*/:/;
4312 s/:*\${srcdir}:*/:/;
4314 s/^\([^=]*=[ ]*\):*/\1/;
4320 # Transform confdefs.h into DEFS.
4321 # Protect against shell expansion while executing Makefile rules.
4322 # Protect against Makefile macro expansion.
4324 # If the first sed substitution is executed (which looks for macros that
4325 # take arguments), then we branch to the quote section. Otherwise,
4326 # look for a macro that doesn't take arguments.
4327 cat >confdef2opt.
sed <<\_ACEOF
4330 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4332 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4336 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4342 # We use echo to avoid assuming a particular line-breaking character.
4343 # The extra dot is to prevent the shell from consuming trailing
4344 # line-breaks from the sub-command output. A line-break within
4345 # single-quotes doesn't work because, if this script is created in a
4346 # platform that uses two characters for line-breaks (e.g., DOS), tr
4348 ac_LF_and_DOT=`echo; echo .
`
4349 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4350 rm -f confdef2opt.sed
4353 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4354 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4355 Usually this means the macro was only invoked conditionally." >&5
4356 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4357 Usually this means the macro was only invoked conditionally." >&2;}
4358 { (exit 1); exit 1; }; }
4360 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4361 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4362 Usually this means the macro was only invoked conditionally." >&5
4363 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4364 Usually this means the macro was only invoked conditionally." >&2;}
4365 { (exit 1); exit 1; }; }
4367 if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
4368 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBDIR\" was never defined.
4369 Usually this means the macro was only invoked conditionally." >&5
4370 echo "$as_me: error: conditional \"USE_LIBDIR\" was never defined.
4371 Usually this means the macro was only invoked conditionally." >&2;}
4372 { (exit 1); exit 1; }; }
4375 : ${CONFIG_STATUS=./config.status}
4376 ac_clean_files_save=$ac_clean_files
4377 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4378 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4379 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4380 cat >$CONFIG_STATUS <<_ACEOF
4382 # Generated by $as_me.
4383 # Run this file to recreate the current configuration.
4384 # Compiler output produced by configure, useful for debugging
4385 # configure, is in config.log if it exists.
4388 SHELL=\${CONFIG_SHELL-$SHELL}
4391 cat >>$CONFIG_STATUS <<\_ACEOF
4393 ## --------------------- ##
4394 ## M4sh Initialization. ##
4395 ## --------------------- ##
4397 # Be Bourne compatible
4398 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4401 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4406 # Support unset when possible.
4407 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4413 (set +x; test -n "`(LANG
=C
; export LANG
) 2>&1`") &&
4414 { $as_unset LANG || test "${LANG+set}" != set; } ||
4415 { LANG=C; export LANG; }
4416 (set +x; test -n "`(LC_ALL
=C
; export LC_ALL
) 2>&1`") &&
4417 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4418 { LC_ALL=C; export LC_ALL; }
4419 (set +x; test -n "`(LC_TIME
=C
; export LC_TIME
) 2>&1`") &&
4420 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4421 { LC_TIME=C; export LC_TIME; }
4422 (set +x; test -n "`(LC_CTYPE
=C
; export LC_CTYPE
) 2>&1`") &&
4423 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4424 { LC_CTYPE=C; export LC_CTYPE; }
4425 (set +x; test -n "`(LANGUAGE
=C
; export LANGUAGE
) 2>&1`") &&
4426 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4427 { LANGUAGE=C; export LANGUAGE; }
4428 (set +x; test -n "`(LC_COLLATE
=C
; export LC_COLLATE
) 2>&1`") &&
4429 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4430 { LC_COLLATE=C; export LC_COLLATE; }
4431 (set +x; test -n "`(LC_NUMERIC
=C
; export LC_NUMERIC
) 2>&1`") &&
4432 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4433 { LC_NUMERIC=C; export LC_NUMERIC; }
4434 (set +x; test -n "`(LC_MESSAGES
=C
; export LC_MESSAGES
) 2>&1`") &&
4435 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4436 { LC_MESSAGES=C; export LC_MESSAGES; }
4439 # Name of the executable.
4440 as_me=`(basename "$0") 2>/dev
/null ||
4441 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4442 X
"$0" : 'X\(//\)$' \| \
4443 X
"$0" : 'X\(/\)$' \| \
4444 .
: '\(.\)' 2>/dev
/null ||
4446 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4447 /^X\/\(\/\/\)$/{ s//\1/; q; }
4448 /^X\/\(\/\).*/{ s//\1/; q; }
4451 # PATH needs CR, and LINENO needs CR and PATH.
4452 # Avoid depending upon Character Ranges.
4453 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4454 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4455 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4456 as_cr_digits='0123456789'
4457 as_cr_alnum=$as_cr_Letters$as_cr_digits
4459 # The user is always right.
4460 if test "${PATH_SEPARATOR+set}" != set; then
4461 echo "#! /bin/sh" >conftest.sh
4462 echo "exit 0" >>conftest.sh
4463 chmod +x conftest.sh
4464 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4475 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4476 test "x$as_lineno_1" != "x$as_lineno_2" &&
4477 test "x$as_lineno_3" = "x$as_lineno_2" || {
4478 # Find who we are. Look in the path if we contain no path at all
4481 *[\\/]* ) as_myself=$0 ;;
4482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir=.
4487 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4492 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4493 # in which case we are not to be found in the path.
4494 if test "x$as_myself" = x; then
4497 if test ! -f "$as_myself"; then
4498 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4499 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4500 { (exit 1); exit 1; }; }
4502 case $CONFIG_SHELL in
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4508 test -z "$as_dir" && as_dir=.
4509 for as_base in sh bash ksh sh5; do
4512 if ("$as_dir/$as_base" -c '
4515 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4516 test "x$as_lineno_1" != "x$as_lineno_2" &&
4517 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4518 CONFIG_SHELL=$as_dir/$as_base
4520 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4528 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4529 # uniformly replaced by the line number. The first 'sed' inserts a
4530 # line-number line before each line; the second 'sed' does the real
4531 # work. The second script uses 'N
' to pair each line-number line
4532 # with the numbered line, and appends trailing '-' during
4533 # substitution so that $LINENO is not a special case at line end.
4534 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4535 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4536 sed '=' <$as_myself |
4541 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4544 s,^['$as_cr_digits']*\n,,
4546 chmod +x
$as_me.lineno ||
4547 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4548 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4549 { (exit 1); exit 1; }; }
4551 # Don't try to exec as it changes $[0], causing all sort of problems
4552 # (the dirname of $[0] is not the place where we might find the
4553 # original and so on. Autoconf is especially sensible to this).
4555 # Exit status is that of the last command.
4560 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4561 *c
*,-n*) ECHO_N
= ECHO_C
='
4563 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4564 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4567 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4573 rm -f conf$$ conf$$.exe conf$$.
file
4575 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4576 # We could just check for DJGPP; but this test a) works b) is more generic
4577 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4578 if test -f conf$$.exe
; then
4579 # Don't use ln at all; we don't have any links
4584 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4589 rm -f conf$$ conf$$.exe conf$$.
file
4591 as_executable_p
="test -f"
4593 # Sed expression to map a string onto a valid CPP name.
4594 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4596 # Sed expression to map a string onto a valid variable name.
4597 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4601 # We need space, tab and new line, in precisely that order.
4607 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
4611 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4612 # report actual input values of CONFIG_FILES etc. instead of their
4613 # values after options handling. Logging --version etc. is OK.
4617 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4618 ## Running $as_me. ##
4623 This file was extended by $as_me, which was
4624 generated by GNU Autoconf 2.53. Invocation command line was
4626 CONFIG_FILES = $CONFIG_FILES
4627 CONFIG_HEADERS = $CONFIG_HEADERS
4628 CONFIG_LINKS = $CONFIG_LINKS
4629 CONFIG_COMMANDS = $CONFIG_COMMANDS
4633 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4637 # Files that config.status was made for.
4638 if test -n "$ac_config_files"; then
4639 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4642 if test -n "$ac_config_headers"; then
4643 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4646 if test -n "$ac_config_links"; then
4647 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4650 if test -n "$ac_config_commands"; then
4651 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4654 cat >>$CONFIG_STATUS <<\_ACEOF
4657 \`$as_me' instantiates files from templates according to the
4658 current configuration.
4660 Usage: $0 [OPTIONS] [FILE]...
4662 -h, --help print this help, then exit
4663 -V, --version print version number, then exit
4664 -d, --debug don't remove temporary files
4665 --recheck update $as_me by reconfiguring in the same conditions
4666 --file=FILE[:TEMPLATE]
4667 instantiate the configuration file FILE
4669 Configuration files:
4672 Configuration commands:
4675 Report bugs to <bug-autoconf@gnu.org>."
4678 cat >>$CONFIG_STATUS <<_ACEOF
4681 configured by $0, generated by GNU Autoconf 2.53,
4682 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4684 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4685 Free Software Foundation, Inc.
4686 This config.status script is free software; the Free Software Foundation
4687 gives unlimited permission to copy, distribute and modify it."
4692 cat >>$CONFIG_STATUS <<\_ACEOF
4693 # If no file are specified by the user, then we need to provide default
4694 # value. By we need to know if files were specified by the user.
4700 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4701 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4703 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
4707 *) # This is not an option, so the user has probably given explicit
4709 ac_need_defaults
=false
;;
4713 # Handling of the options.
4715 cat >>$CONFIG_STATUS <<_ACEOF
4716 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4717 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4718 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4720 cat >>$CONFIG_STATUS <<\_ACEOF
4721 --version |
--vers* |
-V )
4722 echo "$ac_cs_version"; exit 0 ;;
4724 # Conflict between --help and --header
4725 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4726 Try \`$0 --help' for more information." >&5
4727 echo "$as_me: error: ambiguous option: $1
4728 Try \`$0 --help' for more information." >&2;}
4729 { (exit 1); exit 1; }; };;
4730 --help |
--hel |
-h )
4731 echo "$ac_cs_usage"; exit 0 ;;
4732 --debug |
--d* |
-d )
4734 --file |
--fil |
--fi |
--f )
4736 CONFIG_FILES
="$CONFIG_FILES $1"
4737 ac_need_defaults
=false
;;
4738 --header |
--heade |
--head |
--hea )
4740 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
4741 ac_need_defaults
=false
;;
4744 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4745 Try \`$0 --help' for more information." >&5
4746 echo "$as_me: error: unrecognized option: $1
4747 Try \`$0 --help' for more information." >&2;}
4748 { (exit 1); exit 1; }; } ;;
4750 *) ac_config_targets
="$ac_config_targets $1" ;;
4758 cat >>$CONFIG_STATUS <<_ACEOF
4760 # INIT-COMMANDS section.
4763 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4769 cat >>$CONFIG_STATUS <<\_ACEOF
4770 for ac_config_target
in $ac_config_targets
4772 case "$ac_config_target" in
4773 # Handling of arguments.
4774 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4775 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4776 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4777 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4778 { (exit 1); exit 1; }; };;
4782 # If the user did not use the arguments to specify the items to instantiate,
4783 # then the envvar interface is used. Set only those that are not.
4784 # We use the long form for the default assignment because of an extremely
4785 # bizarre bug on SunOS 4.1.3.
4786 if $ac_need_defaults; then
4787 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4788 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4791 # Create a temporary directory, and hook for its removal unless debugging.
4794 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4795 trap '{ (exit 1); exit 1; }' 1 2 13 15
4798 # Create a (secure) tmp directory for tmp files.
4801 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4802 test -n "$tmp" && test -d "$tmp"
4805 tmp
=$TMPDIR/cs$$
-$RANDOM
4806 (umask 077 && mkdir
$tmp)
4809 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4810 { (exit 1); exit 1; }
4815 cat >>$CONFIG_STATUS <<_ACEOF
4818 # CONFIG_FILES section.
4821 # No need to generate the scripts if there are no CONFIG_FILES.
4822 # This happens for instance when ./config.status config.h
4823 if test -n "\$CONFIG_FILES"; then
4824 # Protect against being on the right side of a sed subst in config.status.
4825 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4826 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4827 s,@SHELL@,$SHELL,;t t
4828 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4829 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4830 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4831 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4832 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4833 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4834 s,@exec_prefix@,$exec_prefix,;t t
4835 s,@prefix@,$prefix,;t t
4836 s,@program_transform_name@,$program_transform_name,;t t
4837 s,@bindir@,$bindir,;t t
4838 s,@sbindir@,$sbindir,;t t
4839 s,@libexecdir@,$libexecdir,;t t
4840 s,@datadir@,$datadir,;t t
4841 s,@sysconfdir@,$sysconfdir,;t t
4842 s,@sharedstatedir@,$sharedstatedir,;t t
4843 s,@localstatedir@,$localstatedir,;t t
4844 s,@libdir@,$libdir,;t t
4845 s,@includedir@,$includedir,;t t
4846 s,@oldincludedir@,$oldincludedir,;t t
4847 s,@infodir@,$infodir,;t t
4848 s,@mandir@,$mandir,;t t
4849 s,@build_alias@,$build_alias,;t t
4850 s,@host_alias@,$host_alias,;t t
4851 s,@target_alias@,$target_alias,;t t
4853 s,@ECHO_C@,$ECHO_C,;t t
4854 s,@ECHO_N@,$ECHO_N,;t t
4855 s,@ECHO_T@,$ECHO_T,;t t
4857 s,@build@,$build,;t t
4858 s,@build_cpu@,$build_cpu,;t t
4859 s,@build_vendor@,$build_vendor,;t t
4860 s,@build_os@,$build_os,;t t
4862 s,@host_cpu@,$host_cpu,;t t
4863 s,@host_vendor@,$host_vendor,;t t
4864 s,@host_os@,$host_os,;t t
4865 s,@target@,$target,;t t
4866 s,@target_cpu@,$target_cpu,;t t
4867 s,@target_vendor@,$target_vendor,;t t
4868 s,@target_os@,$target_os,;t t
4869 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4870 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4871 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4872 s,@PACKAGE@,$PACKAGE,;t t
4873 s,@VERSION@,$VERSION,;t t
4874 s,@ACLOCAL@,$ACLOCAL,;t t
4875 s,@AUTOCONF@,$AUTOCONF,;t t
4876 s,@AUTOMAKE@,$AUTOMAKE,;t t
4877 s,@AUTOHEADER@,$AUTOHEADER,;t t
4878 s,@MAKEINFO@,$MAKEINFO,;t t
4879 s,@AMTAR@,$AMTAR,;t t
4880 s,@install_sh@,$install_sh,;t t
4881 s,@STRIP@,$STRIP,;t t
4882 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4883 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4885 s,@SET_MAKE@,$SET_MAKE,;t t
4886 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4887 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4888 s,@MAINT@,$MAINT,;t t
4889 s,@COMPPATH@,$COMPPATH,;t t
4891 s,@CFLAGS@,$CFLAGS,;t t
4892 s,@LDFLAGS@,$LDFLAGS,;t t
4893 s,@CPPFLAGS@,$CPPFLAGS,;t t
4894 s,@ac_ct_CC@,$ac_ct_CC,;t t
4895 s,@EXEEXT@,$EXEEXT,;t t
4896 s,@OBJEXT@,$OBJEXT,;t t
4897 s,@DEPDIR@,$DEPDIR,;t t
4898 s,@am__include@,$am__include,;t t
4899 s,@am__quote@,$am__quote,;t t
4900 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4901 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4902 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4903 s,@CCDEPMODE@,$CCDEPMODE,;t t
4905 s,@target_all@,$target_all,;t t
4907 s,@ac_ct_AR@,$ac_ct_AR,;t t
4909 s,@ac_ct_AS@,$ac_ct_AS,;t t
4910 s,@RANLIB@,$RANLIB,;t t
4911 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4913 s,@ac_ct_LD@,$ac_ct_LD,;t t
4915 s,@ac_ct_NM@,$ac_ct_NM,;t t
4916 s,@DLLTOOL@,$DLLTOOL,;t t
4917 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
4918 s,@WINDRES@,$WINDRES,;t t
4919 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
4920 s,@USE_LIBDIR_TRUE@,$USE_LIBDIR_TRUE,;t t
4921 s,@USE_LIBDIR_FALSE@,$USE_LIBDIR_FALSE,;t t
4926 cat >>$CONFIG_STATUS <<\_ACEOF
4927 # Split the substitutions into bite-sized pieces for seds with
4928 # small command number limits, like on Digital OSF/1 and HP-UX.
4930 ac_sed_frag
=1 # Number of current file.
4931 ac_beg
=1 # First line for current file.
4932 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4935 while $ac_more_lines; do
4936 if test $ac_beg -gt 1; then
4937 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4939 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4941 if test ! -s $tmp/subs.frag
; then
4944 # The purpose of the label and of the branching condition is to
4945 # speed up the sed processing (if there are no `@' at all, there
4946 # is no need to browse any of the substitutions).
4947 # These are the two extra sed commands mentioned above.
4949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4950 if test -z "$ac_sed_cmds"; then
4951 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4953 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4955 ac_sed_frag
=`expr $ac_sed_frag + 1`
4957 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4960 if test -z "$ac_sed_cmds"; then
4963 fi # test -n "$CONFIG_FILES"
4966 cat >>$CONFIG_STATUS <<\_ACEOF
4967 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4970 - |
*:- |
*:-:* ) # input from stdin
4972 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4973 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4974 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4975 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4976 * ) ac_file_in
=$ac_file.
in ;;
4979 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4980 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4982 X"$ac_file" : 'X\(//\)[^/]' \| \
4983 X"$ac_file" : 'X\(//\)$' \| \
4984 X"$ac_file" : 'X\(/\)' \| \
4985 . : '\(.\)' 2>/dev/null ||
4987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4989 /^X\(\/\/\)$/{ s//\1/; q; }
4990 /^X\(\/\).*/{ s//\1/; q; }
4993 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
4997 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4998 case $as_mkdir_dir in
4999 # Skip DOS drivespec
5000 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5002 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5003 test -d "$as_incr_dir" ||
5004 mkdir
"$as_incr_dir" ||
5005 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5006 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5007 { (exit 1); exit 1; }; }
5014 if test "$ac_dir" != .
; then
5015 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5016 # A "../" for each directory in $ac_dir_suffix.
5017 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5019 ac_dir_suffix
= ac_top_builddir
=
5023 .
) # No --srcdir option. We are building in place.
5025 if test -z "$ac_top_builddir"; then
5028 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5030 [\\/]* | ?
:[\\/]* ) # Absolute path.
5031 ac_srcdir
=$srcdir$ac_dir_suffix;
5032 ac_top_srcdir
=$srcdir ;;
5034 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5035 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5037 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5039 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5040 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5041 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5042 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5046 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5047 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5050 if test x
"$ac_file" != x-
; then
5051 { echo "$as_me:$LINENO: creating $ac_file" >&5
5052 echo "$as_me: creating $ac_file" >&6;}
5055 # Let's still pretend it is `configure' which instantiates (i.e., don't
5056 # use $as_me), people would be surprised to read:
5057 # /* config.h. Generated by config.status. */
5058 if test x
"$ac_file" = x-
; then
5061 configure_input
="$ac_file. "
5063 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5064 sed 's,.*/,,'` by configure."
5066 # First look for the input files in the build tree, otherwise in the
5068 ac_file_inputs
=`IFS=:
5069 for f in $ac_file_in; do
5071 -) echo $tmp/stdin ;;
5073 # Absolute (can't be DOS-style, as IFS=:)
5074 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5075 echo "$as_me: error: cannot find input file: $f" >&2;}
5076 { (exit 1); exit 1; }; }
5079 if test -f "$f"; then
5082 elif test -f "$srcdir/$f"; then
5087 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5088 echo "$as_me: error: cannot find input file: $f" >&2;}
5089 { (exit 1); exit 1; }; }
5092 done` ||
{ (exit 1); exit 1; }
5094 cat >>$CONFIG_STATUS <<_ACEOF
5098 cat >>$CONFIG_STATUS <<\_ACEOF
5100 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5101 s
,@configure_input@
,$configure_input,;t t
5102 s
,@srcdir@
,$ac_srcdir,;t t
5103 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5104 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5105 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5106 s
,@builddir@
,$ac_builddir,;t t
5107 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5108 s
,@top_builddir@
,$ac_top_builddir,;t t
5109 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5110 s
,@INSTALL@
,$ac_INSTALL,;t t
5111 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5113 if test x"$ac_file" != x-; then
5114 mv $tmp/out $ac_file
5122 cat >>$CONFIG_STATUS <<\_ACEOF
5125 # CONFIG_COMMANDS section.
5127 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
5128 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5129 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5130 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5131 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5132 X"$ac_dest" : 'X\(//\)[^/]' \| \
5133 X"$ac_dest" : 'X\(//\)$' \| \
5134 X"$ac_dest" : 'X\(/\)' \| \
5135 . : '\(.\)' 2>/dev/null ||
5137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5139 /^X\(\/\/\)$/{ s//\1/; q; }
5140 /^X\(\/\).*/{ s//\1/; q; }
5144 if test "$ac_dir" != .; then
5145 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5146 # A "..
/" for each directory in $ac_dir_suffix.
5147 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5149 ac_dir_suffix= ac_top_builddir=
5153 .) # No --srcdir option. We are building in place.
5155 if test -z "$ac_top_builddir"; then
5158 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5160 [\\/]* | ?:[\\/]* ) # Absolute path.
5161 ac_srcdir=$srcdir$ac_dir_suffix;
5162 ac_top_srcdir=$srcdir ;;
5164 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5165 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5167 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5169 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5170 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5171 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5172 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5175 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
5176 echo "$as_me: executing
$ac_dest commands
" >&6;}
5178 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5179 # Strip MF so we end up with the name of the file.
5180 mf=`echo "$mf" | sed -e 's/:.*$//'`
5181 if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
5182 dirpart=`(dirname "$mf") 2>/dev/null ||
5183 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5184 X"$mf" : 'X\(//\)[^/]' \| \
5185 X"$mf" : 'X\(//\)$' \| \
5186 X"$mf" : 'X\(/\)' \| \
5187 . : '\(.\)' 2>/dev/null ||
5189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5191 /^X\(\/\/\)$/{ s//\1/; q; }
5192 /^X\(\/\).*/{ s//\1/; q; }
5197 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5198 # Extract the definition of DEP_FILES from the Makefile without
5200 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5201 test -z "$DEPDIR" && continue
5202 # When using ansi2knr, U may be empty or an underscore; expand it
5203 U=`sed -n -e '/^U = / s///p' < "$mf"`
5204 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5205 # We invoke sed twice because it is the simplest approach to
5206 # changing $(DEPDIR) to its actual value in the expansion.
5207 for file in `sed -n -e '
5208 /^DEP_FILES = .*\\\\$/ {
5217 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5219 # Make sure the directory exists.
5220 test -f "$dirpart/$file" && continue
5221 fdir=`(dirname "$file") 2>/dev/null ||
5222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5223 X"$file" : 'X\(//\)[^/]' \| \
5224 X"$file" : 'X\(//\)$' \| \
5225 X"$file" : 'X\(/\)' \| \
5226 . : '\(.\)' 2>/dev/null ||
5228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5230 /^X\(\/\/\)$/{ s//\1/; q; }
5231 /^X\(\/\).*/{ s//\1/; q; }
5233 { case $dirpart/$fdir in
5234 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5237 as_dummy=$dirpart/$fdir
5238 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@
"`; do
5239 case $as_mkdir_dir in
5240 # Skip DOS drivespec
5241 ?:) as_incr_dir=$as_mkdir_dir ;;
5243 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5244 test -d "$as_incr_dir" ||
5245 mkdir "$as_incr_dir" ||
5246 { { echo "$as_me:$LINENO: error
: cannot create
$dirpart/$fdir" >&5
5247 echo "$as_me: error
: cannot create
$dirpart/$fdir" >&2;}
5248 { (exit 1); exit 1; }; }
5253 # echo "creating
$dirpart/$file"
5254 echo '# dummy' > "$dirpart/$file"
5262 cat >>$CONFIG_STATUS <<\_ACEOF
5264 { (exit 0); exit 0; }
5266 chmod +x $CONFIG_STATUS
5267 ac_clean_files=$ac_clean_files_save
5270 # configure is writing to config.log, and then calls config.status.
5271 # config.status does its own redirection, appending to config.log.
5272 # Unfortunately, on DOS this fails, as config.log is still kept open
5273 # by configure, so config.status won't be able to write to it; its
5274 # output is simply discarded. So we exec the FD to /dev/null,
5275 # effectively closing config.log, so it can be properly (re)opened and
5276 # appended to by config.status. When coming back to configure, we
5277 # need to make the FD available again.
5278 if test "$no_create" != yes; then
5281 $SHELL $CONFIG_STATUS || ac_cs_success=false
5283 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5284 # would make configure fail if this is the last instruction.
5285 $ac_cs_success || { (exit 1); exit 1; }