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
="bzlib.h"
263 # Initialize some variables set by options.
265 ac_init_version
=false
266 # The variables have the same names as the options, with
267 # dashes changed to underlines.
275 program_transform_name
=s
,x
,x
,
283 # Installation directory options.
284 # These are left unexpanded so users can "make install exec_prefix=/foo"
285 # and all the variables that are supposed to be based on exec_prefix
286 # by default will actually change.
287 # Use braces instead of parens because sh, perl, etc. also accept them.
288 bindir
='${exec_prefix}/bin'
289 sbindir
='${exec_prefix}/sbin'
290 libexecdir
='${exec_prefix}/libexec'
291 datadir
='${prefix}/share'
292 sysconfdir
='${prefix}/etc'
293 sharedstatedir
='${prefix}/com'
294 localstatedir
='${prefix}/var'
295 libdir
='${exec_prefix}/lib'
296 includedir
='${prefix}/include'
297 oldincludedir
='/usr/include'
298 infodir
='${prefix}/info'
299 mandir
='${prefix}/man'
304 # If the previous option needs an argument, assign it.
305 if test -n "$ac_prev"; then
306 eval "$ac_prev=\$ac_option"
311 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
313 # Accept the important Cygnus configure options, so we can diagnose typos.
317 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
319 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
322 -build |
--build |
--buil |
--bui |
--bu)
323 ac_prev
=build_alias
;;
324 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
325 build_alias
=$ac_optarg ;;
327 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
328 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
329 ac_prev
=cache_file
;;
330 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
331 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
332 cache_file
=$ac_optarg ;;
335 cache_file
=config.cache
;;
337 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
339 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
341 datadir
=$ac_optarg ;;
343 -disable-* |
--disable-*)
344 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345 # Reject names that are not valid shell variable names.
346 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
347 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348 { (exit 1); exit 1; }; }
349 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
350 eval "enable_$ac_feature=no" ;;
352 -enable-* |
--enable-*)
353 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354 # Reject names that are not valid shell variable names.
355 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
356 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357 { (exit 1); exit 1; }; }
358 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
360 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
363 eval "enable_$ac_feature='$ac_optarg'" ;;
365 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
366 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
367 |
--exec |
--exe |
--ex)
368 ac_prev
=exec_prefix
;;
369 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
370 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
371 |
--exec=* |
--exe=* |
--ex=*)
372 exec_prefix
=$ac_optarg ;;
374 -gas |
--gas |
--ga |
--g)
375 # Obsolete; use --with-gas.
378 -help |
--help |
--hel |
--he |
-h)
380 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
381 ac_init_help
=recursive
;;
382 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
383 ac_init_help
=short
;;
385 -host |
--host |
--hos |
--ho)
386 ac_prev
=host_alias
;;
387 -host=* |
--host=* |
--hos=* |
--ho=*)
388 host_alias
=$ac_optarg ;;
390 -includedir |
--includedir |
--includedi |
--included |
--include \
391 |
--includ |
--inclu |
--incl |
--inc)
392 ac_prev
=includedir
;;
393 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
394 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
395 includedir
=$ac_optarg ;;
397 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
399 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
400 infodir
=$ac_optarg ;;
402 -libdir |
--libdir |
--libdi |
--libd)
404 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
407 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
408 |
--libexe |
--libex |
--libe)
409 ac_prev
=libexecdir
;;
410 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
411 |
--libexe=* |
--libex=* |
--libe=*)
412 libexecdir
=$ac_optarg ;;
414 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
415 |
--localstate |
--localstat |
--localsta |
--localst \
416 |
--locals |
--local |
--loca |
--loc |
--lo)
417 ac_prev
=localstatedir
;;
418 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
419 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
420 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
421 localstatedir
=$ac_optarg ;;
423 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
425 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
429 # Obsolete; use --without-fp.
432 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
433 |
--no-cr |
--no-c |
-n)
436 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
437 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
440 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
441 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
442 |
--oldin |
--oldi |
--old |
--ol |
--o)
443 ac_prev
=oldincludedir
;;
444 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
445 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
446 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
447 oldincludedir
=$ac_optarg ;;
449 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
451 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
454 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
455 |
--program-pre |
--program-pr |
--program-p)
456 ac_prev
=program_prefix
;;
457 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
458 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
459 program_prefix
=$ac_optarg ;;
461 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
462 |
--program-suf |
--program-su |
--program-s)
463 ac_prev
=program_suffix
;;
464 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
465 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
466 program_suffix
=$ac_optarg ;;
468 -program-transform-name |
--program-transform-name \
469 |
--program-transform-nam |
--program-transform-na \
470 |
--program-transform-n |
--program-transform- \
471 |
--program-transform |
--program-transfor \
472 |
--program-transfo |
--program-transf \
473 |
--program-trans |
--program-tran \
474 |
--progr-tra |
--program-tr |
--program-t)
475 ac_prev
=program_transform_name
;;
476 -program-transform-name=* |
--program-transform-name=* \
477 |
--program-transform-nam=* |
--program-transform-na=* \
478 |
--program-transform-n=* |
--program-transform-=* \
479 |
--program-transform=* |
--program-transfor=* \
480 |
--program-transfo=* |
--program-transf=* \
481 |
--program-trans=* |
--program-tran=* \
482 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
483 program_transform_name
=$ac_optarg ;;
485 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
486 |
-silent |
--silent |
--silen |
--sile |
--sil)
489 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
491 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
493 sbindir
=$ac_optarg ;;
495 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
496 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
497 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
499 ac_prev
=sharedstatedir
;;
500 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
501 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
502 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
504 sharedstatedir
=$ac_optarg ;;
506 -site |
--site |
--sit)
508 -site=* |
--site=* |
--sit=*)
511 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
513 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
516 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
517 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
518 ac_prev
=sysconfdir
;;
519 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
520 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
521 sysconfdir
=$ac_optarg ;;
523 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
524 ac_prev
=target_alias
;;
525 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
526 target_alias
=$ac_optarg ;;
528 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
531 -version |
--version |
--versio |
--versi |
--vers |
-V)
535 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536 # Reject names that are not valid shell variable names.
537 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
538 { echo "$as_me: error: invalid package name: $ac_package" >&2
539 { (exit 1); exit 1; }; }
540 ac_package
=`echo $ac_package| sed 's/-/_/g'`
542 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
545 eval "with_$ac_package='$ac_optarg'" ;;
547 -without-* |
--without-*)
548 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package
=`echo $ac_package | sed 's/-/_/g'`
554 eval "with_$ac_package=no" ;;
557 # Obsolete; use --with-x.
560 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
561 |
--x-incl |
--x-inc |
--x-in |
--x-i)
562 ac_prev
=x_includes
;;
563 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
564 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
565 x_includes
=$ac_optarg ;;
567 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
568 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
569 ac_prev
=x_libraries
;;
570 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
571 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
572 x_libraries
=$ac_optarg ;;
574 -*) { echo "$as_me: error: unrecognized option: $ac_option
575 Try \`$0 --help' for more information." >&2
576 { (exit 1); exit 1; }; }
580 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
583 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584 { (exit 1); exit 1; }; }
585 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586 eval "$ac_envvar='$ac_optarg'"
590 # FIXME: should be removed in autoconf 3.0.
591 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
593 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
600 if test -n "$ac_prev"; then
601 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
602 { echo "$as_me: error: missing argument to $ac_option" >&2
603 { (exit 1); exit 1; }; }
606 # Be sure to have absolute paths.
607 for ac_var
in exec_prefix prefix
609 eval ac_val
=$
`echo $ac_var`
611 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
612 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613 { (exit 1); exit 1; }; };;
617 # Be sure to have absolute paths.
618 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619 localstatedir libdir includedir oldincludedir infodir mandir
621 eval ac_val
=$
`echo $ac_var`
623 [\\/$
]* | ?
:[\\/]* ) ;;
624 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625 { (exit 1); exit 1; }; };;
629 # There might be people who depend on the old broken behavior: `$host'
630 # used to hold the argument of --host etc.
631 # FIXME: To remove some day.
636 # FIXME: To remove some day.
637 if test "x$host_alias" != x
; then
638 if test "x$build_alias" = x
; then
639 cross_compiling
=maybe
640 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641 If a cross compiler is detected then cross compile mode will be used." >&2
642 elif test "x$build_alias" != "x$host_alias"; then
648 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
650 test "$silent" = yes && exec 6>/dev
/null
653 # Find the source files, if location was not specified.
654 if test -z "$srcdir"; then
655 ac_srcdir_defaulted
=yes
656 # Try the directory containing this script, then its parent.
657 ac_confdir
=`(dirname "$0") 2>/dev/null ||
658 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659 X"$0" : 'X\(//\)[^/]' \| \
660 X"$0" : 'X\(//\)$' \| \
661 X"$0" : 'X\(/\)' \| \
662 . : '\(.\)' 2>/dev/null ||
664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666 /^X\(\/\/\)$/{ s//\1/; q; }
667 /^X\(\/\).*/{ s//\1/; q; }
670 if test ! -r $srcdir/$ac_unique_file; then
674 ac_srcdir_defaulted
=no
676 if test ! -r $srcdir/$ac_unique_file; then
677 if test "$ac_srcdir_defaulted" = yes; then
678 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679 { (exit 1); exit 1; }; }
681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682 { (exit 1); exit 1; }; }
685 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686 ac_env_build_alias_set
=${build_alias+set}
687 ac_env_build_alias_value
=$build_alias
688 ac_cv_env_build_alias_set
=${build_alias+set}
689 ac_cv_env_build_alias_value
=$build_alias
690 ac_env_host_alias_set
=${host_alias+set}
691 ac_env_host_alias_value
=$host_alias
692 ac_cv_env_host_alias_set
=${host_alias+set}
693 ac_cv_env_host_alias_value
=$host_alias
694 ac_env_target_alias_set
=${target_alias+set}
695 ac_env_target_alias_value
=$target_alias
696 ac_cv_env_target_alias_set
=${target_alias+set}
697 ac_cv_env_target_alias_value
=$target_alias
698 ac_env_CC_set
=${CC+set}
700 ac_cv_env_CC_set
=${CC+set}
701 ac_cv_env_CC_value
=$CC
702 ac_env_CFLAGS_set
=${CFLAGS+set}
703 ac_env_CFLAGS_value
=$CFLAGS
704 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
705 ac_cv_env_CFLAGS_value
=$CFLAGS
706 ac_env_LDFLAGS_set
=${LDFLAGS+set}
707 ac_env_LDFLAGS_value
=$LDFLAGS
708 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
709 ac_cv_env_LDFLAGS_value
=$LDFLAGS
710 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
711 ac_env_CPPFLAGS_value
=$CPPFLAGS
712 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
713 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
714 ac_env_CPP_set
=${CPP+set}
715 ac_env_CPP_value
=$CPP
716 ac_cv_env_CPP_set
=${CPP+set}
717 ac_cv_env_CPP_value
=$CPP
720 # Report the --help message.
722 if test "$ac_init_help" = "long"; then
723 # Omit some internal or obsolete options to make the list less imposing.
724 # This message is too long to be a string in the A/UX 3.1 sh.
726 \`configure' configures this package to adapt to many kinds of systems.
728 Usage: $0 [OPTION]... [VAR=VALUE]...
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE. See below for descriptions of some of the useful variables.
733 Defaults for the options are specified in brackets.
736 -h, --help display this help and exit
737 --help=short display options specific to this package
738 --help=recursive display the short help of all the included packages
739 -V, --version display version information and exit
740 -q, --quiet, --silent do not print \`checking...' messages
741 --cache-file=FILE cache test results in FILE [disabled]
742 -C, --config-cache alias for \`--cache-file=config.cache'
743 -n, --no-create do not create output files
744 --srcdir=DIR find the sources in DIR [configure dir or \`..']
749 Installation directories:
750 --prefix=PREFIX install architecture-independent files in PREFIX
752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
760 For better control, use the options below.
762 Fine tuning of the installation directories:
763 --bindir=DIR user executables [EPREFIX/bin]
764 --sbindir=DIR system admin executables [EPREFIX/sbin]
765 --libexecdir=DIR program executables [EPREFIX/libexec]
766 --datadir=DIR read-only architecture-independent data [PREFIX/share]
767 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
768 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
769 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
770 --libdir=DIR object code libraries [EPREFIX/lib]
771 --includedir=DIR C header files [PREFIX/include]
772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
773 --infodir=DIR info documentation [PREFIX/info]
774 --mandir=DIR man documentation [PREFIX/man]
780 --program-prefix=PREFIX prepend PREFIX to installed program names
781 --program-suffix=SUFFIX append SUFFIX to installed program names
782 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
785 --build=BUILD configure
for building on BUILD
[guessed
]
786 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
790 if test -n "$ac_init_help"; then
795 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
796 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
797 --enable-maintainer-mode enable make rules and dependencies not useful
798 (and sometimes confusing
) to the casual installer
799 --disable-dependency-tracking Speeds up one-time builds
800 --enable-dependency-tracking Do not reject slow dependency extractors
802 Some influential environment variables
:
803 CC C compiler
command
804 CFLAGS C compiler flags
805 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
806 nonstandard directory
<lib dir
>
807 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
808 headers
in a nonstandard directory
<include dir
>
811 Use these variables to override the choices made by
`configure' or to help
812 it to find libraries and programs with nonstandard names/locations.
817 if test "$ac_init_help" = "recursive"; then
818 # If there are subdirs, report their specific --help.
820 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821 test -d $ac_dir || continue
824 if test "$ac_dir" != .; then
825 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
826 # A "../" for each directory in $ac_dir_suffix.
827 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
829 ac_dir_suffix= ac_top_builddir=
833 .) # No --srcdir option. We are building in place.
835 if test -z "$ac_top_builddir"; then
838 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
840 [\\/]* | ?:[\\/]* ) # Absolute path.
841 ac_srcdir=$srcdir$ac_dir_suffix;
842 ac_top_srcdir=$srcdir ;;
844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
847 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
849 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
850 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
851 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
852 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
855 # Check for guested configure; otherwise get Cygnus style configure.
856 if test -f $ac_srcdir/configure.gnu; then
858 $SHELL $ac_srcdir/configure.gnu --help=recursive
859 elif test -f $ac_srcdir/configure; then
861 $SHELL $ac_srcdir/configure --help=recursive
862 elif test -f $ac_srcdir/configure.ac ||
863 test -f $ac_srcdir/configure.in; then
867 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
873 test -n "$ac_init_help" && exit 0
874 if $ac_init_version; then
877 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
878 Free Software Foundation, Inc.
879 This configure script is free software; the Free Software Foundation
880 gives unlimited permission to copy, distribute and modify it.
886 This file contains any messages produced by compilers while
887 running configure, to aid debugging if configure makes a mistake.
889 It was created by $as_me, which was
890 generated by GNU Autoconf 2.53. Invocation command line was
901 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
902 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
903 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
904 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
905 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
907 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
908 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
910 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
911 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
912 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
913 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
914 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
915 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
916 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
924 test -z "$as_dir" && as_dir=.
940 # Keep a trace of the command line.
941 # Strip out --no-create and --no-recursion so they do not pile up.
942 # Also quote any args containing shell meta-characters.
948 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949 | --no-cr | --no-c | -n ) continue ;;
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
954 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
956 case " $ac_configure_args " in
957 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
958 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
961 # Get rid of the leading space.
964 # When interrupted or exit'd, cleanup temporary files, and complete
965 # config.log. We remove comments because anyway the quotes in there
966 # would cause problems or look ugly.
967 # WARNING: Be sure not to use single quotes in there, as some shells,
968 # such as our DU 5.0 friend, will then `close
' the trap.
970 # Save into config.log some information that might help in debugging.
974 ## ---------------- ##
975 ## Cache variables. ##
976 ## ---------------- ##
979 # The following way of writing the cache mishandles newlines in values,
982 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
985 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
995 if test -s confdefs.h
; then
1002 sed "/^$/d" confdefs.h
1005 test "$ac_signal" != 0 &&
1006 echo "$as_me: caught signal $ac_signal"
1007 echo "$as_me: exit $exit_status"
1009 rm -f core core.
* *.core
&&
1010 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1013 for ac_signal in 1 2 13 15; do
1014 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1019 rm -rf conftest* confdefs.h
1020 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1023 # Predefined preprocessor variables.
1025 cat >>confdefs.h <<_ACEOF
1026 #define PACKAGE_NAME "$PACKAGE_NAME"
1030 cat >>confdefs.h <<_ACEOF
1031 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1035 cat >>confdefs.h <<_ACEOF
1036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1040 cat >>confdefs.h <<_ACEOF
1041 #define PACKAGE_STRING "$PACKAGE_STRING"
1045 cat >>confdefs.h <<_ACEOF
1046 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1050 # Let the site file select an alternate cache file if it wants to.
1051 # Prefer explicitly selected file to automatically selected ones.
1052 if test -z "$CONFIG_SITE"; then
1053 if test "x$prefix" != xNONE; then
1054 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1056 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1059 for ac_site_file in $CONFIG_SITE; do
1060 if test -r "$ac_site_file"; then
1061 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1062 echo "$as_me: loading site script $ac_site_file" >&6;}
1063 sed 's
/^
/|
/' "$ac_site_file" >&5
1068 if test -r "$cache_file"; then
1069 # Some versions of bash will fail to source /dev/null (special
1070 # files actually), so we avoid doing that.
1071 if test -f "$cache_file"; then
1072 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1073 echo "$as_me: loading cache $cache_file" >&6;}
1075 [\\/]* | ?:[\\/]* ) . $cache_file;;
1076 *) . ./$cache_file;;
1080 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1081 echo "$as_me: creating cache $cache_file" >&6;}
1085 # Check that the precious variables saved in the cache have kept the same
1087 ac_cache_corrupted=false
1088 for ac_var in `(set) 2>&1 |
1089 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1090 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1091 eval ac_new_set=\$ac_env_${ac_var}_set
1092 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1093 eval ac_new_val="\$ac_env_${ac_var}_value"
1094 case $ac_old_set,$ac_new_set in
1096 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1097 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1098 ac_cache_corrupted=: ;;
1100 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1101 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1102 ac_cache_corrupted=: ;;
1105 if test "x$ac_old_val" != "x$ac_new_val"; then
1106 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1107 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1108 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1109 echo "$as_me: former value: $ac_old_val" >&2;}
1110 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1111 echo "$as_me: current value: $ac_new_val" >&2;}
1112 ac_cache_corrupted=:
1115 # Pass precious variables to config.status.
1116 if test "$ac_new_set" = set; then
1118 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1119 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1120 *) ac_arg=$ac_var=$ac_new_val ;;
1122 case " $ac_configure_args " in
1123 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1124 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1128 if $ac_cache_corrupted; then
1129 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1130 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1131 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1132 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1133 { (exit 1); exit 1; }; }
1137 ac_cpp='$CPP $CPPFLAGS'
1138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1139 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1161 for ac_dir in ../cfgaux $srcdir/../cfgaux; do
1162 if test -f $ac_dir/install-sh; then
1164 ac_install_sh="$ac_aux_dir/install-sh -c"
1166 elif test -f $ac_dir/install.sh; then
1168 ac_install_sh="$ac_aux_dir/install.sh -c"
1170 elif test -f $ac_dir/shtool; then
1172 ac_install_sh="$ac_aux_dir/shtool install -c"
1176 if test -z "$ac_aux_dir"; then
1177 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../cfgaux $srcdir/../cfgaux" >&5
1178 echo "$as_me: error: cannot find install-sh or install.sh in ../cfgaux $srcdir/../cfgaux" >&2;}
1179 { (exit 1); exit 1; }; }
1181 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1182 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1183 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1185 am__api_version="1.6"
1186 # Find a good install program. We prefer a C program (faster),
1187 # so one script is as good as another. But avoid the broken or
1188 # incompatible versions:
1189 # SysV /etc/install, /usr/sbin/install
1190 # SunOS /usr/etc/install
1191 # IRIX /sbin/install
1193 # AmigaOS /C/install, which installs bootblocks on floppy discs
1194 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1195 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1196 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1197 # ./install, which can be erroneously created by make from ./install.sh.
1198 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1199 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1200 if test -z "$INSTALL"; then
1201 if test "${ac_cv_path_install+set}" = set; then
1202 echo $ECHO_N "(cached) $ECHO_C" >&6
1204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1208 test -z "$as_dir" && as_dir
=.
1209 # Account for people who put trailing slashes in PATH elements.
1211 .
/ | .
// |
/cC
/* | \
1212 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1215 # OSF1 and SCO ODT 3.0 have their own names for install.
1216 # Don't use installbsd from OSF since it installs stuff as root
1218 for ac_prog
in ginstall scoinst
install; do
1219 for ac_exec_ext
in '' $ac_executable_extensions; do
1220 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1221 if test $ac_prog = install &&
1222 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1223 # AIX install. It has an incompatible calling convention.
1225 elif test $ac_prog = install &&
1226 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1227 # program-specific install script used by HP pwplus--don't use.
1230 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1242 if test "${ac_cv_path_install+set}" = set; then
1243 INSTALL
=$ac_cv_path_install
1245 # As a last resort, use the slow shell script. We don't cache a
1246 # path for INSTALL within a source directory, because that will
1247 # break other packages using the cache if that directory is
1248 # removed, or if the path is relative.
1249 INSTALL
=$ac_install_sh
1252 echo "$as_me:$LINENO: result: $INSTALL" >&5
1253 echo "${ECHO_T}$INSTALL" >&6
1255 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1256 # It thinks the first close brace ends the variable substitution.
1257 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1259 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1261 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1263 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1264 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1267 echo timestamp
> conftest.
file
1268 # Do `set' in a subshell so we don't clobber the current shell's
1269 # arguments. Must try -L first in case configure is actually a
1270 # symlink; some systems play weird games with the mod time of symlinks
1271 # (eg FreeBSD returns the mod time of the symlink's containing
1274 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1275 if test "$*" = "X"; then
1277 set X
`ls -t $srcdir/configure conftest.file`
1280 if test "$*" != "X $srcdir/configure conftest.file" \
1281 && test "$*" != "X conftest.file $srcdir/configure"; then
1283 # If neither matched, then we have a broken ls. This can happen
1284 # if, for instance, CONFIG_SHELL is bash and it inherits a
1285 # broken ls alias from the environment. This has actually
1286 # happened. Such a system could not be considered "sane".
1287 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1288 alias in your environment" >&5
1289 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1290 alias in your environment" >&2;}
1291 { (exit 1); exit 1; }; }
1294 test "$2" = conftest.
file
1300 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1301 Check your system clock" >&5
1302 echo "$as_me: error: newly created file is older than distributed files!
1303 Check your system clock" >&2;}
1304 { (exit 1); exit 1; }; }
1306 echo "$as_me:$LINENO: result: yes" >&5
1307 echo "${ECHO_T}yes" >&6
1308 test "$program_prefix" != NONE
&&
1309 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1310 # Use a double $ so make ignores it.
1311 test "$program_suffix" != NONE
&&
1312 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1313 # Double any \ or $. echo might interpret backslashes.
1314 # By default was `s,x,x', remove it if useless.
1315 cat <<\_ACEOF
>conftest.
sed
1316 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1318 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1322 # expand $ac_aux_dir to an absolute path
1323 am_aux_dir
=`cd $ac_aux_dir && pwd`
1325 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1326 # Use eval to expand $SHELL
1327 if eval "$MISSING --run true"; then
1328 am_missing_run
="$MISSING --run "
1331 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1332 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1335 for ac_prog
in gawk mawk nawk
awk
1337 # Extract the first word of "$ac_prog", so it can be a program name with args.
1338 set dummy
$ac_prog; ac_word
=$2
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1341 if test "${ac_cv_prog_AWK+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 if test -n "$AWK"; then
1345 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir
=.
1352 for ac_exec_ext
in '' $ac_executable_extensions; do
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1354 ac_cv_prog_AWK
="$ac_prog"
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1364 if test -n "$AWK"; then
1365 echo "$as_me:$LINENO: result: $AWK" >&5
1366 echo "${ECHO_T}$AWK" >&6
1368 echo "$as_me:$LINENO: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1372 test -n "$AWK" && break
1375 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1376 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1377 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1378 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 cat >conftest.
make <<\_ACEOF
1383 @
echo 'ac_maketemp="${MAKE}"'
1385 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1386 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1387 if test -n "$ac_maketemp"; then
1388 eval ac_cv_prog_make_
${ac_make}_set
=yes
1390 eval ac_cv_prog_make_
${ac_make}_set
=no
1394 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1395 echo "$as_me:$LINENO: result: yes" >&5
1396 echo "${ECHO_T}yes" >&6
1399 echo "$as_me:$LINENO: result: no" >&5
1400 echo "${ECHO_T}no" >&6
1401 SET_MAKE
="MAKE=${MAKE-make}"
1404 # test to see if srcdir already configured
1405 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1406 test -f $srcdir/config.status
; then
1407 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1408 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1409 { (exit 1); exit 1; }; }
1412 # Define the identity of the package.
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE "$PACKAGE"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define VERSION "$VERSION"
1426 # Some tools Automake needs.
1428 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1431 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1434 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1437 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1440 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1443 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1445 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1447 # Installed binaries are usually stripped using `strip' when the user
1448 # run `make install-strip'. However `strip' might not be the right
1449 # tool to use in cross-compilation environments, therefore Automake
1450 # will honor the `STRIP' environment variable to overrule this program.
1451 if test "$cross_compiling" != no
; then
1452 if test -n "$ac_tool_prefix"; then
1453 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1454 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_STRIP+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$STRIP"; then
1461 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1467 test -z "$as_dir" && as_dir
=.
1468 for ac_exec_ext
in '' $ac_executable_extensions; do
1469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1470 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1479 STRIP
=$ac_cv_prog_STRIP
1480 if test -n "$STRIP"; then
1481 echo "$as_me:$LINENO: result: $STRIP" >&5
1482 echo "${ECHO_T}$STRIP" >&6
1484 echo "$as_me:$LINENO: result: no" >&5
1485 echo "${ECHO_T}no" >&6
1489 if test -z "$ac_cv_prog_STRIP"; then
1491 # Extract the first word of "strip", so it can be a program name with args.
1492 set dummy strip
; ac_word
=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$ac_ct_STRIP"; then
1499 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir
=.
1506 for ac_exec_ext
in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_ac_ct_STRIP
="strip"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1515 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1518 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1519 if test -n "$ac_ct_STRIP"; then
1520 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1521 echo "${ECHO_T}$ac_ct_STRIP" >&6
1523 echo "$as_me:$LINENO: result: no" >&5
1524 echo "${ECHO_T}no" >&6
1529 STRIP
="$ac_cv_prog_STRIP"
1533 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1535 # We need awk for the "check" target. The system "awk" is bad on
1540 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1541 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1542 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1543 if test "${enable_maintainer_mode+set}" = set; then
1544 enableval
="$enable_maintainer_mode"
1545 USE_MAINTAINER_MODE
=$enableval
1547 USE_MAINTAINER_MODE
=no
1549 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1550 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1553 if test $USE_MAINTAINER_MODE = yes; then
1554 MAINTAINER_MODE_TRUE
=
1555 MAINTAINER_MODE_FALSE
='#'
1557 MAINTAINER_MODE_TRUE
='#'
1558 MAINTAINER_MODE_FALSE
=
1561 MAINT
=$MAINTAINER_MODE_TRUE
1566 # Make sure we can run config.sub.
1567 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1568 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1569 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1570 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: checking build system type" >&5
1573 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1574 if test "${ac_cv_build+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_build_alias
=$build_alias
1578 test -z "$ac_cv_build_alias" &&
1579 ac_cv_build_alias
=`$ac_config_guess`
1580 test -z "$ac_cv_build_alias" &&
1581 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1582 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1583 { (exit 1); exit 1; }; }
1584 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1586 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1591 echo "${ECHO_T}$ac_cv_build" >&6
1593 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 echo "$as_me:$LINENO: checking host system type" >&5
1599 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1600 if test "${ac_cv_host+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 ac_cv_host_alias
=$host_alias
1604 test -z "$ac_cv_host_alias" &&
1605 ac_cv_host_alias
=$ac_cv_build_alias
1606 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1607 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1608 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1609 { (exit 1); exit 1; }; }
1612 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1613 echo "${ECHO_T}$ac_cv_host" >&6
1615 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1616 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1617 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621 ac_cpp
='$CPP $CPPFLAGS'
1622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1625 if test -n "$ac_tool_prefix"; then
1626 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1627 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_CC+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 if test -n "$CC"; then
1634 ac_cv_prog_CC
="$CC" # Let the user override the test.
1636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir
=.
1641 for ac_exec_ext
in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test -n "$CC"; then
1654 echo "$as_me:$LINENO: result: $CC" >&5
1655 echo "${ECHO_T}$CC" >&6
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1662 if test -z "$ac_cv_prog_CC"; then
1664 # Extract the first word of "gcc", so it can be a program name with args.
1665 set dummy gcc
; ac_word
=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -n "$ac_ct_CC"; then
1672 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1678 test -z "$as_dir" && as_dir
=.
1679 for ac_exec_ext
in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_ac_ct_CC
="gcc"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1691 if test -n "$ac_ct_CC"; then
1692 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1693 echo "${ECHO_T}$ac_ct_CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1704 if test -z "$CC"; then
1705 if test -n "$ac_tool_prefix"; then
1706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1707 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_CC+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$CC"; then
1714 ac_cv_prog_CC
="$CC" # Let the user override the test.
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 for ac_exec_ext
in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$ac_cv_prog_CC"; then
1744 # Extract the first word of "cc", so it can be a program name with args.
1745 set dummy cc
; ac_word
=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$ac_ct_CC"; then
1752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir
=.
1759 for ac_exec_ext
in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_ac_ct_CC
="cc"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1771 if test -n "$ac_ct_CC"; then
1772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1773 echo "${ECHO_T}$ac_ct_CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1785 if test -z "$CC"; then
1786 # Extract the first word of "cc", so it can be a program name with args.
1787 set dummy cc
; ac_word
=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$CC"; then
1794 ac_cv_prog_CC
="$CC" # Let the user override the test.
1797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir
=.
1802 for ac_exec_ext
in '' $ac_executable_extensions; do
1803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1805 ac_prog_rejected
=yes
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 if test $ac_prog_rejected = yes; then
1816 # We found a bogon in the path, so make sure we never use it.
1817 set dummy
$ac_cv_prog_CC
1819 if test $# != 0; then
1820 # We chose a different compiler from the bogus one.
1821 # However, it has the same basename, so the bogon will be chosen
1822 # first if we set CC to just the basename; use the full file name.
1824 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1832 if test -n "$CC"; then
1833 echo "$as_me:$LINENO: result: $CC" >&5
1834 echo "${ECHO_T}$CC" >&6
1836 echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1841 if test -z "$CC"; then
1842 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$CC"; then
1853 ac_cv_prog_CC
="$CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 if test -n "$CC"; then
1873 echo "$as_me:$LINENO: result: $CC" >&5
1874 echo "${ECHO_T}$CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1880 test -n "$CC" && break
1883 if test -z "$CC"; then
1887 # Extract the first word of "$ac_prog", so it can be a program name with args.
1888 set dummy
$ac_prog; ac_word
=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$ac_ct_CC"; then
1895 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir
=.
1902 for ac_exec_ext
in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_ac_ct_CC
="$ac_prog"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1914 if test -n "$ac_ct_CC"; then
1915 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1916 echo "${ECHO_T}$ac_ct_CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1922 test -n "$ac_ct_CC" && break
1931 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1932 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1933 { (exit 1); exit 1; }; }
1935 # Provide some information about the compiler.
1936 echo "$as_me:$LINENO:" \
1937 "checking for C compiler version" >&5
1938 ac_compiler
=`set X $ac_compile; echo $2`
1939 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1940 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }
1944 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1945 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }
1949 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1950 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }
1955 cat >conftest.
$ac_ext <<_ACEOF
1956 #line $LINENO "configure"
1957 #include "confdefs.h"
1959 #ifdef F77_DUMMY_MAIN
1963 int F77_DUMMY_MAIN() { return 1; }
1973 ac_clean_files_save
=$ac_clean_files
1974 ac_clean_files
="$ac_clean_files a.out a.exe"
1975 # Try to create an executable without -o first, disregard a.out.
1976 # It will help us diagnose broken compilers, and finding out an intuition
1978 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1979 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1980 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1981 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1982 (eval $ac_link_default) 2>&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }; then
1986 # Find the output, starting from the most likely. This scheme is
1987 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1990 # Be careful to initialize this variable, since it used to be cached.
1991 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1993 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1994 ls a.out conftest 2>/dev/null;
1995 ls a.* conftest.* 2>/dev/null`; do
1997 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1998 a.out
) # We found the default executable, but exeext='' is most
2001 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2002 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2009 echo "$as_me: failed program was:" >&5
2010 cat conftest.
$ac_ext >&5
2011 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2012 echo "$as_me: error: C compiler cannot create executables" >&2;}
2013 { (exit 77); exit 77; }; }
2016 ac_exeext
=$ac_cv_exeext
2017 echo "$as_me:$LINENO: result: $ac_file" >&5
2018 echo "${ECHO_T}$ac_file" >&6
2020 # Check the compiler produces executables we can run. If not, either
2021 # the compiler is broken, or we cross compile.
2022 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2023 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2024 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2025 # If not cross compiling, check that we can run a simple program.
2026 if test "$cross_compiling" != yes; then
2027 if { ac_try
='./$ac_file'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; }; then
2035 if test "$cross_compiling" = maybe
; then
2038 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2039 If you meant to cross compile, use \`--host'." >&5
2040 echo "$as_me: error: cannot run C compiled programs.
2041 If you meant to cross compile, use \`--host'." >&2;}
2042 { (exit 1); exit 1; }; }
2046 echo "$as_me:$LINENO: result: yes" >&5
2047 echo "${ECHO_T}yes" >&6
2049 rm -f a.out a.exe conftest
$ac_cv_exeext
2050 ac_clean_files
=$ac_clean_files_save
2051 # Check the compiler produces executables we can run. If not, either
2052 # the compiler is broken, or we cross compile.
2053 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2054 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2055 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2056 echo "${ECHO_T}$cross_compiling" >&6
2058 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2059 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2061 (eval $ac_link) 2>&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; then
2065 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2066 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2067 # work properly (i.e., refer to `conftest.exe'), while it won't with
2069 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2071 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2081 { (exit 1); exit 1; }; }
2084 rm -f conftest
$ac_cv_exeext
2085 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2086 echo "${ECHO_T}$ac_cv_exeext" >&6
2088 rm -f conftest.
$ac_ext
2089 EXEEXT
=$ac_cv_exeext
2091 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2092 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2093 if test "${ac_cv_objext+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 cat >conftest.
$ac_ext <<_ACEOF
2097 #line $LINENO "configure"
2098 #include "confdefs.h"
2100 #ifdef F77_DUMMY_MAIN
2104 int F77_DUMMY_MAIN() { return 1; }
2114 rm -f conftest.o conftest.obj
2115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; then
2120 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2122 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2123 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2128 echo "$as_me: failed program was:" >&5
2129 cat conftest.
$ac_ext >&5
2130 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2132 { (exit 1); exit 1; }; }
2135 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2137 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2138 echo "${ECHO_T}$ac_cv_objext" >&6
2139 OBJEXT
=$ac_cv_objext
2141 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2142 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2143 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 cat >conftest.
$ac_ext <<_ACEOF
2147 #line $LINENO "configure"
2148 #include "confdefs.h"
2150 #ifdef F77_DUMMY_MAIN
2154 int F77_DUMMY_MAIN() { return 1; }
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } &&
2173 { ac_try
='test -s conftest.$ac_objext'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; }; then
2181 echo "$as_me: failed program was:" >&5
2182 cat conftest.
$ac_ext >&5
2185 rm -f conftest.
$ac_objext conftest.
$ac_ext
2186 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2189 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2190 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2191 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2192 ac_test_CFLAGS
=${CFLAGS+set}
2193 ac_save_CFLAGS
=$CFLAGS
2195 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2196 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2197 if test "${ac_cv_prog_cc_g+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 cat >conftest.
$ac_ext <<_ACEOF
2201 #line $LINENO "configure"
2202 #include "confdefs.h"
2204 #ifdef F77_DUMMY_MAIN
2208 int F77_DUMMY_MAIN() { return 1; }
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 cat conftest.
$ac_ext >&5
2236 rm -f conftest.
$ac_objext conftest.
$ac_ext
2238 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2239 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2240 if test "$ac_test_CFLAGS" = set; then
2241 CFLAGS
=$ac_save_CFLAGS
2242 elif test $ac_cv_prog_cc_g = yes; then
2243 if test "$GCC" = yes; then
2249 if test "$GCC" = yes; then
2255 # Some people use a C++ compiler to compile C. Since we use `exit',
2256 # in C++ we need to declare it. In case someone uses the same compiler
2257 # for both compiling C and C++ we need to have the C++ compiler decide
2258 # the declaration of exit, since it's the most demanding environment.
2259 cat >conftest.
$ac_ext <<_ACEOF
2264 rm -f conftest.
$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -s conftest.$ac_objext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2276 for ac_declaration
in \
2278 '#include <stdlib.h>' \
2279 'extern "C" void std::exit (int) throw (); using std::exit;' \
2280 'extern "C" void std::exit (int); using std::exit;' \
2281 'extern "C" void exit (int) throw ();' \
2282 'extern "C" void exit (int);' \
2285 cat >conftest.
$ac_ext <<_ACEOF
2286 #line $LINENO "configure"
2287 #include "confdefs.h"
2290 #ifdef F77_DUMMY_MAIN
2294 int F77_DUMMY_MAIN() { return 1; }
2304 rm -f conftest.
$ac_objext
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 cat conftest.
$ac_ext >&5
2322 rm -f conftest.
$ac_objext conftest.
$ac_ext
2323 cat >conftest.
$ac_ext <<_ACEOF
2324 #line $LINENO "configure"
2325 #include "confdefs.h"
2327 #ifdef F77_DUMMY_MAIN
2331 int F77_DUMMY_MAIN() { return 1; }
2341 rm -f conftest.
$ac_objext
2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343 (eval $ac_compile) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); } &&
2347 { ac_try
='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 cat conftest.
$ac_ext >&5
2358 rm -f conftest.
$ac_objext conftest.
$ac_ext
2361 if test -n "$ac_declaration"; then
2362 echo '#ifdef __cplusplus' >>confdefs.h
2363 echo $ac_declaration >>confdefs.h
2364 echo '#endif' >>confdefs.h
2368 echo "$as_me: failed program was:" >&5
2369 cat conftest.
$ac_ext >&5
2371 rm -f conftest.
$ac_objext conftest.
$ac_ext
2373 ac_cpp
='$CPP $CPPFLAGS'
2374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2377 rm -f .deps
2>/dev
/null
2378 mkdir .deps
2>/dev
/null
2379 if test -d .deps
; then
2382 # MS-DOS does not allow filenames that begin with a dot.
2385 rmdir .deps
2>/dev
/null
2388 ac_config_commands
="$ac_config_commands depfiles"
2391 am_make
=${MAKE-make}
2392 cat > confinc
<< 'END'
2396 # If we don't find an include directive, just comment out the code.
2397 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2398 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2402 # First try GNU make style include.
2403 echo "include confinc" > confmf
2404 # We grep out `Entering directory' and `Leaving directory'
2405 # messages which can occur if `w' ends up in MAKEFLAGS.
2406 # In particular we don't look at `^make:' because GNU make might
2407 # be invoked under some other name (usually "gmake"), in which
2408 # case it prints its new name instead of `make'.
2409 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2414 # Now try BSD make style include.
2415 if test "$am__include" = "#"; then
2416 echo '.include "confinc"' > confmf
2417 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2418 am__include
=.include
2425 echo "$as_me:$LINENO: result: $_am_result" >&5
2426 echo "${ECHO_T}$_am_result" >&6
2427 rm -f confinc confmf
2429 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2430 if test "${enable_dependency_tracking+set}" = set; then
2431 enableval
="$enable_dependency_tracking"
2434 if test "x$enable_dependency_tracking" != xno
; then
2435 am_depcomp
="$ac_aux_dir/depcomp"
2440 if test "x$enable_dependency_tracking" != xno; then
2451 depcc
="$CC" am_compiler_list
=
2453 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2454 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2455 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2459 # We make a subdir and do the tests there. Otherwise we can end up
2460 # making bogus files that we don't know about and never remove. For
2461 # instance it was reported that on HP-UX the gcc test will end up
2462 # making a dummy file named `D' -- because `-MD' means `put the output
2465 # Copy depcomp to subdir because otherwise we won't find it if we're
2466 # using a relative directory.
2467 cp "$am_depcomp" conftest.dir
2470 am_cv_CC_dependencies_compiler_type
=none
2471 if test "$am_compiler_list" = ""; then
2472 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2474 for depmode
in $am_compiler_list; do
2475 # We need to recreate these files for each test, as the compiler may
2476 # overwrite some of them when testing with obscure command lines.
2477 # This happens at least with the AIX C compiler.
2478 echo '#include "conftest.h"' > conftest.c
2479 echo 'int i;' > conftest.h
2480 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2484 # after this tag, mechanisms are not by side-effect, so they'll
2485 # only be used when explicitly requested
2486 if test "x$enable_dependency_tracking" = xyes
; then
2494 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2495 # mode. It turns out that the SunPro C++ compiler does not properly
2496 # handle `-M -o', and we need to detect this.
2497 if depmode
=$depmode \
2498 source=conftest.c object
=conftest.o \
2499 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2500 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2501 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2502 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2503 am_cv_CC_dependencies_compiler_type
=$depmode
2511 am_cv_CC_dependencies_compiler_type
=none
2515 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2516 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2517 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2520 if test -n "$ac_tool_prefix"; then
2521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2522 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2523 echo "$as_me:$LINENO: checking for $ac_word" >&5
2524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2525 if test "${ac_cv_prog_RANLIB+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 if test -n "$RANLIB"; then
2529 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir
=.
2536 for ac_exec_ext
in '' $ac_executable_extensions; do
2537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 RANLIB
=$ac_cv_prog_RANLIB
2548 if test -n "$RANLIB"; then
2549 echo "$as_me:$LINENO: result: $RANLIB" >&5
2550 echo "${ECHO_T}$RANLIB" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2557 if test -z "$ac_cv_prog_RANLIB"; then
2558 ac_ct_RANLIB
=$RANLIB
2559 # Extract the first word of "ranlib", so it can be a program name with args.
2560 set dummy ranlib
; ac_word
=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$ac_ct_RANLIB"; then
2567 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir
=.
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2586 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2587 if test -n "$ac_ct_RANLIB"; then
2588 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2589 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2591 echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2595 RANLIB
=$ac_ct_RANLIB
2597 RANLIB
="$ac_cv_prog_RANLIB"
2602 ac_cpp
='$CPP $CPPFLAGS'
2603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2606 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2607 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2608 # On Suns, sometimes $CPP names a directory.
2609 if test -n "$CPP" && test -d "$CPP"; then
2612 if test -z "$CPP"; then
2613 if test "${ac_cv_prog_CPP+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 # Double quotes because CPP needs to be expanded
2617 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2620 for ac_c_preproc_warn_flag
in '' yes
2622 # Use a header file that comes with gcc, so configuring glibc
2623 # with a fresh cross-compiler works.
2624 # On the NeXT, cc -E runs the code through the compiler's parser,
2625 # not just through cpp. "Syntax error" is here to catch this case.
2626 cat >conftest.
$ac_ext <<_ACEOF
2627 #line $LINENO "configure"
2628 #include "confdefs.h"
2632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2635 egrep -v '^ *\+' conftest.er1
>conftest.err
2637 cat conftest.err
>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); } >/dev
/null
; then
2640 if test -s conftest.err
; then
2641 ac_cpp_err
=$ac_c_preproc_warn_flag
2648 if test -z "$ac_cpp_err"; then
2651 echo "$as_me: failed program was:" >&5
2652 cat conftest.
$ac_ext >&5
2653 # Broken: fails on valid input.
2656 rm -f conftest.err conftest.
$ac_ext
2658 # OK, works on sane cases. Now check whether non-existent headers
2659 # can be detected and how.
2660 cat >conftest.
$ac_ext <<_ACEOF
2661 #line $LINENO "configure"
2662 #include "confdefs.h"
2663 #include <ac_nonexistent.h>
2665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2668 egrep -v '^ *\+' conftest.er1
>conftest.err
2670 cat conftest.err
>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } >/dev
/null
; then
2673 if test -s conftest.err
; then
2674 ac_cpp_err
=$ac_c_preproc_warn_flag
2681 if test -z "$ac_cpp_err"; then
2682 # Broken: success on invalid input.
2685 echo "$as_me: failed program was:" >&5
2686 cat conftest.
$ac_ext >&5
2687 # Passes both tests.
2691 rm -f conftest.err conftest.
$ac_ext
2694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2695 rm -f conftest.err conftest.
$ac_ext
2696 if $ac_preproc_ok; then
2708 echo "$as_me:$LINENO: result: $CPP" >&5
2709 echo "${ECHO_T}$CPP" >&6
2711 for ac_c_preproc_warn_flag
in '' yes
2713 # Use a header file that comes with gcc, so configuring glibc
2714 # with a fresh cross-compiler works.
2715 # On the NeXT, cc -E runs the code through the compiler's parser,
2716 # not just through cpp. "Syntax error" is here to catch this case.
2717 cat >conftest.
$ac_ext <<_ACEOF
2718 #line $LINENO "configure"
2719 #include "confdefs.h"
2723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2726 egrep -v '^ *\+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } >/dev
/null
; then
2731 if test -s conftest.err
; then
2732 ac_cpp_err
=$ac_c_preproc_warn_flag
2739 if test -z "$ac_cpp_err"; then
2742 echo "$as_me: failed program was:" >&5
2743 cat conftest.
$ac_ext >&5
2744 # Broken: fails on valid input.
2747 rm -f conftest.err conftest.
$ac_ext
2749 # OK, works on sane cases. Now check whether non-existent headers
2750 # can be detected and how.
2751 cat >conftest.
$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2753 #include "confdefs.h"
2754 #include <ac_nonexistent.h>
2756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2759 egrep -v '^ *\+' conftest.er1
>conftest.err
2761 cat conftest.err
>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } >/dev
/null
; then
2764 if test -s conftest.err
; then
2765 ac_cpp_err
=$ac_c_preproc_warn_flag
2772 if test -z "$ac_cpp_err"; then
2773 # Broken: success on invalid input.
2776 echo "$as_me: failed program was:" >&5
2777 cat conftest.
$ac_ext >&5
2778 # Passes both tests.
2782 rm -f conftest.err conftest.
$ac_ext
2785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2786 rm -f conftest.err conftest.
$ac_ext
2787 if $ac_preproc_ok; then
2790 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2791 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2792 { (exit 1); exit 1; }; }
2796 ac_cpp
='$CPP $CPPFLAGS'
2797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2804 if test "${ac_cv_header_stdc+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 cat >conftest.
$ac_ext <<_ACEOF
2808 #line $LINENO "configure"
2809 #include "confdefs.h"
2816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2819 egrep -v '^ *\+' conftest.er1
>conftest.err
2821 cat conftest.err
>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } >/dev
/null
; then
2824 if test -s conftest.err
; then
2825 ac_cpp_err
=$ac_c_preproc_warn_flag
2832 if test -z "$ac_cpp_err"; then
2833 ac_cv_header_stdc
=yes
2835 echo "$as_me: failed program was:" >&5
2836 cat conftest.
$ac_ext >&5
2837 ac_cv_header_stdc
=no
2839 rm -f conftest.err conftest.
$ac_ext
2841 if test $ac_cv_header_stdc = yes; then
2842 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2843 cat >conftest.
$ac_ext <<_ACEOF
2844 #line $LINENO "configure"
2845 #include "confdefs.h"
2849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2850 egrep "memchr" >/dev
/null
2>&1; then
2853 ac_cv_header_stdc
=no
2859 if test $ac_cv_header_stdc = yes; then
2860 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2861 cat >conftest.
$ac_ext <<_ACEOF
2862 #line $LINENO "configure"
2863 #include "confdefs.h"
2867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2868 egrep "free" >/dev
/null
2>&1; then
2871 ac_cv_header_stdc
=no
2877 if test $ac_cv_header_stdc = yes; then
2878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2879 if test "$cross_compiling" = yes; then
2882 cat >conftest.
$ac_ext <<_ACEOF
2883 #line $LINENO "configure"
2884 #include "confdefs.h"
2886 #if ((' ' & 0x0FF) == 0x020)
2887 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2888 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2890 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2891 || ('j' <= (c) && (c) <= 'r') \
2892 || ('s' <= (c) && (c) <= 'z'))
2893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2901 for (i = 0; i < 256; i++)
2902 if (XOR (islower (i), ISLOWER (i))
2903 || toupper (i) != TOUPPER (i))
2908 rm -f conftest
$ac_exeext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2910 (eval $ac_link) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; }; then
2921 echo "$as_me: program exited with status $ac_status" >&5
2922 echo "$as_me: failed program was:" >&5
2923 cat conftest.
$ac_ext >&5
2925 ac_cv_header_stdc
=no
2927 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2931 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2932 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2933 if test $ac_cv_header_stdc = yes; then
2935 cat >>confdefs.h
<<\_ACEOF
2936 #define STDC_HEADERS 1
2943 ac_config_files
="$ac_config_files Makefile"
2945 cat >confcache
<<\_ACEOF
2946 # This file is a shell script that caches the results of configure
2947 # tests run on this system so they can be shared between configure
2948 # scripts and configure runs, see configure's option --config-cache.
2949 # It is not useful on other systems. If it contains results you don't
2950 # want to keep, you may remove or edit it.
2952 # config.status only pays attention to the cache file if you give it
2953 # the --recheck option to rerun configure.
2955 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2961 # The following way of writing the cache mishandles newlines in values,
2962 # but we know of no workaround that is simple, portable, and efficient.
2963 # So, don't put newlines in cache variables' values.
2964 # Ultrix sh set writes to stderr and can't be redirected directly,
2965 # and sets the high bit in the cache file unless we assign to the vars.
2968 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2970 # `set' does not quote correctly, so add quotes (double-quote
2971 # substitution turns \\\\ into \\, and sed turns \\ into \).
2974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2977 # `set' quotes correctly as required by POSIX, so do not add quotes.
2979 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2988 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2990 if cmp -s $cache_file confcache
; then :; else
2991 if test -w $cache_file; then
2992 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2993 cat confcache
>$cache_file
2995 echo "not updating unwritable cache $cache_file"
3000 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3001 # Let make expand exec_prefix.
3002 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3004 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3005 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3006 # trailing colons and then remove the whole line if VPATH becomes empty
3007 # (actually we leave an empty line to preserve line numbers).
3008 if test "x$srcdir" = x.
; then
3009 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3010 s/:*\$(srcdir):*/:/;
3011 s/:*\${srcdir}:*/:/;
3013 s/^\([^=]*=[ ]*\):*/\1/;
3019 # Transform confdefs.h into DEFS.
3020 # Protect against shell expansion while executing Makefile rules.
3021 # Protect against Makefile macro expansion.
3023 # If the first sed substitution is executed (which looks for macros that
3024 # take arguments), then we branch to the quote section. Otherwise,
3025 # look for a macro that doesn't take arguments.
3026 cat >confdef2opt.
sed <<\_ACEOF
3029 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3031 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3035 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3041 # We use echo to avoid assuming a particular line-breaking character.
3042 # The extra dot is to prevent the shell from consuming trailing
3043 # line-breaks from the sub-command output. A line-break within
3044 # single-quotes doesn't work because, if this script is created in a
3045 # platform that uses two characters for line-breaks (e.g., DOS), tr
3047 ac_LF_and_DOT=`echo; echo .
`
3048 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3049 rm -f confdef2opt.sed
3052 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3053 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3054 Usually this means the macro was only invoked conditionally." >&5
3055 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3056 Usually this means the macro was only invoked conditionally." >&2;}
3057 { (exit 1); exit 1; }; }
3059 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3060 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3061 Usually this means the macro was only invoked conditionally." >&5
3062 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3063 Usually this means the macro was only invoked conditionally." >&2;}
3064 { (exit 1); exit 1; }; }
3067 : ${CONFIG_STATUS=./config.status}
3068 ac_clean_files_save=$ac_clean_files
3069 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3070 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3071 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3072 cat >$CONFIG_STATUS <<_ACEOF
3074 # Generated by $as_me.
3075 # Run this file to recreate the current configuration.
3076 # Compiler output produced by configure, useful for debugging
3077 # configure, is in config.log if it exists.
3080 SHELL=\${CONFIG_SHELL-$SHELL}
3083 cat >>$CONFIG_STATUS <<\_ACEOF
3085 ## --------------------- ##
3086 ## M4sh Initialization. ##
3087 ## --------------------- ##
3089 # Be Bourne compatible
3090 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3093 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3098 # Support unset when possible.
3099 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3105 (set +x; test -n "`(LANG
=C
; export LANG
) 2>&1`") &&
3106 { $as_unset LANG || test "${LANG+set}" != set; } ||
3107 { LANG=C; export LANG; }
3108 (set +x; test -n "`(LC_ALL
=C
; export LC_ALL
) 2>&1`") &&
3109 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3110 { LC_ALL=C; export LC_ALL; }
3111 (set +x; test -n "`(LC_TIME
=C
; export LC_TIME
) 2>&1`") &&
3112 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3113 { LC_TIME=C; export LC_TIME; }
3114 (set +x; test -n "`(LC_CTYPE
=C
; export LC_CTYPE
) 2>&1`") &&
3115 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3116 { LC_CTYPE=C; export LC_CTYPE; }
3117 (set +x; test -n "`(LANGUAGE
=C
; export LANGUAGE
) 2>&1`") &&
3118 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3119 { LANGUAGE=C; export LANGUAGE; }
3120 (set +x; test -n "`(LC_COLLATE
=C
; export LC_COLLATE
) 2>&1`") &&
3121 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3122 { LC_COLLATE=C; export LC_COLLATE; }
3123 (set +x; test -n "`(LC_NUMERIC
=C
; export LC_NUMERIC
) 2>&1`") &&
3124 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3125 { LC_NUMERIC=C; export LC_NUMERIC; }
3126 (set +x; test -n "`(LC_MESSAGES
=C
; export LC_MESSAGES
) 2>&1`") &&
3127 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3128 { LC_MESSAGES=C; export LC_MESSAGES; }
3131 # Name of the executable.
3132 as_me=`(basename "$0") 2>/dev
/null ||
3133 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3134 X
"$0" : 'X\(//\)$' \| \
3135 X
"$0" : 'X\(/\)$' \| \
3136 .
: '\(.\)' 2>/dev
/null ||
3138 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3139 /^X\/\(\/\/\)$/{ s//\1/; q; }
3140 /^X\/\(\/\).*/{ s//\1/; q; }
3143 # PATH needs CR, and LINENO needs CR and PATH.
3144 # Avoid depending upon Character Ranges.
3145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3148 as_cr_digits='0123456789'
3149 as_cr_alnum=$as_cr_Letters$as_cr_digits
3151 # The user is always right.
3152 if test "${PATH_SEPARATOR+set}" != set; then
3153 echo "#! /bin/sh" >conftest.sh
3154 echo "exit 0" >>conftest.sh
3155 chmod +x conftest.sh
3156 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3167 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3168 test "x$as_lineno_1" != "x$as_lineno_2" &&
3169 test "x$as_lineno_3" = "x$as_lineno_2" || {
3170 # Find who we are. Look in the path if we contain no path at all
3173 *[\\/]* ) as_myself=$0 ;;
3174 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir=.
3179 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3184 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3185 # in which case we are not to be found in the path.
3186 if test "x$as_myself" = x; then
3189 if test ! -f "$as_myself"; then
3190 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3191 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3192 { (exit 1); exit 1; }; }
3194 case $CONFIG_SHELL in
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3200 test -z "$as_dir" && as_dir=.
3201 for as_base in sh bash ksh sh5; do
3204 if ("$as_dir/$as_base" -c '
3207 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3208 test "x$as_lineno_1" != "x$as_lineno_2" &&
3209 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3210 CONFIG_SHELL=$as_dir/$as_base
3212 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3220 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3221 # uniformly replaced by the line number. The first 'sed' inserts a
3222 # line-number line before each line; the second 'sed' does the real
3223 # work. The second script uses 'N
' to pair each line-number line
3224 # with the numbered line, and appends trailing '-' during
3225 # substitution so that $LINENO is not a special case at line end.
3226 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3227 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3228 sed '=' <$as_myself |
3233 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3236 s,^['$as_cr_digits']*\n,,
3238 chmod +x
$as_me.lineno ||
3239 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3240 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3241 { (exit 1); exit 1; }; }
3243 # Don't try to exec as it changes $[0], causing all sort of problems
3244 # (the dirname of $[0] is not the place where we might find the
3245 # original and so on. Autoconf is especially sensible to this).
3247 # Exit status is that of the last command.
3252 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3253 *c
*,-n*) ECHO_N
= ECHO_C
='
3255 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3256 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3259 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3265 rm -f conf$$ conf$$.exe conf$$.
file
3267 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3268 # We could just check for DJGPP; but this test a) works b) is more generic
3269 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3270 if test -f conf$$.exe
; then
3271 # Don't use ln at all; we don't have any links
3276 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3281 rm -f conf$$ conf$$.exe conf$$.
file
3283 as_executable_p
="test -f"
3285 # Sed expression to map a string onto a valid CPP name.
3286 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3288 # Sed expression to map a string onto a valid variable name.
3289 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3293 # We need space, tab and new line, in precisely that order.
3299 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
3303 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3304 # report actual input values of CONFIG_FILES etc. instead of their
3305 # values after options handling. Logging --version etc. is OK.
3309 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3310 ## Running $as_me. ##
3315 This file was extended by $as_me, which was
3316 generated by GNU Autoconf 2.53. Invocation command line was
3318 CONFIG_FILES = $CONFIG_FILES
3319 CONFIG_HEADERS = $CONFIG_HEADERS
3320 CONFIG_LINKS = $CONFIG_LINKS
3321 CONFIG_COMMANDS = $CONFIG_COMMANDS
3325 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3329 # Files that config.status was made for.
3330 if test -n "$ac_config_files"; then
3331 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3334 if test -n "$ac_config_headers"; then
3335 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3338 if test -n "$ac_config_links"; then
3339 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3342 if test -n "$ac_config_commands"; then
3343 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3346 cat >>$CONFIG_STATUS <<\_ACEOF
3349 \`$as_me' instantiates files from templates according to the
3350 current configuration.
3352 Usage: $0 [OPTIONS] [FILE]...
3354 -h, --help print this help, then exit
3355 -V, --version print version number, then exit
3356 -d, --debug don't remove temporary files
3357 --recheck update $as_me by reconfiguring in the same conditions
3358 --file=FILE[:TEMPLATE]
3359 instantiate the configuration file FILE
3361 Configuration files:
3364 Configuration commands:
3367 Report bugs to <bug-autoconf@gnu.org>."
3370 cat >>$CONFIG_STATUS <<_ACEOF
3373 configured by $0, generated by GNU Autoconf 2.53,
3374 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3376 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3377 Free Software Foundation, Inc.
3378 This config.status script is free software; the Free Software Foundation
3379 gives unlimited permission to copy, distribute and modify it."
3384 cat >>$CONFIG_STATUS <<\_ACEOF
3385 # If no file are specified by the user, then we need to provide default
3386 # value. By we need to know if files were specified by the user.
3392 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3393 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3395 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
3399 *) # This is not an option, so the user has probably given explicit
3401 ac_need_defaults
=false
;;
3405 # Handling of the options.
3407 cat >>$CONFIG_STATUS <<_ACEOF
3408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3409 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3410 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3412 cat >>$CONFIG_STATUS <<\_ACEOF
3413 --version |
--vers* |
-V )
3414 echo "$ac_cs_version"; exit 0 ;;
3416 # Conflict between --help and --header
3417 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3418 Try \`$0 --help' for more information." >&5
3419 echo "$as_me: error: ambiguous option: $1
3420 Try \`$0 --help' for more information." >&2;}
3421 { (exit 1); exit 1; }; };;
3422 --help |
--hel |
-h )
3423 echo "$ac_cs_usage"; exit 0 ;;
3424 --debug |
--d* |
-d )
3426 --file |
--fil |
--fi |
--f )
3428 CONFIG_FILES
="$CONFIG_FILES $1"
3429 ac_need_defaults
=false
;;
3430 --header |
--heade |
--head |
--hea )
3432 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
3433 ac_need_defaults
=false
;;
3436 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3437 Try \`$0 --help' for more information." >&5
3438 echo "$as_me: error: unrecognized option: $1
3439 Try \`$0 --help' for more information." >&2;}
3440 { (exit 1); exit 1; }; } ;;
3442 *) ac_config_targets
="$ac_config_targets $1" ;;
3450 cat >>$CONFIG_STATUS <<_ACEOF
3452 # INIT-COMMANDS section.
3455 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3461 cat >>$CONFIG_STATUS <<\_ACEOF
3462 for ac_config_target
in $ac_config_targets
3464 case "$ac_config_target" in
3465 # Handling of arguments.
3466 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3467 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
3468 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3469 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3470 { (exit 1); exit 1; }; };;
3474 # If the user did not use the arguments to specify the items to instantiate,
3475 # then the envvar interface is used. Set only those that are not.
3476 # We use the long form for the default assignment because of an extremely
3477 # bizarre bug on SunOS 4.1.3.
3478 if $ac_need_defaults; then
3479 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3483 # Create a temporary directory, and hook for its removal unless debugging.
3486 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3487 trap '{ (exit 1); exit 1; }' 1 2 13 15
3490 # Create a (secure) tmp directory for tmp files.
3493 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3494 test -n "$tmp" && test -d "$tmp"
3497 tmp
=$TMPDIR/cs$$
-$RANDOM
3498 (umask 077 && mkdir
$tmp)
3501 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3502 { (exit 1); exit 1; }
3507 cat >>$CONFIG_STATUS <<_ACEOF
3510 # CONFIG_FILES section.
3513 # No need to generate the scripts if there are no CONFIG_FILES.
3514 # This happens for instance when ./config.status config.h
3515 if test -n "\$CONFIG_FILES"; then
3516 # Protect against being on the right side of a sed subst in config.status.
3517 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3518 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3519 s,@SHELL@,$SHELL,;t t
3520 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3521 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3522 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3523 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3524 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3525 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3526 s,@exec_prefix@,$exec_prefix,;t t
3527 s,@prefix@,$prefix,;t t
3528 s,@program_transform_name@,$program_transform_name,;t t
3529 s,@bindir@,$bindir,;t t
3530 s,@sbindir@,$sbindir,;t t
3531 s,@libexecdir@,$libexecdir,;t t
3532 s,@datadir@,$datadir,;t t
3533 s,@sysconfdir@,$sysconfdir,;t t
3534 s,@sharedstatedir@,$sharedstatedir,;t t
3535 s,@localstatedir@,$localstatedir,;t t
3536 s,@libdir@,$libdir,;t t
3537 s,@includedir@,$includedir,;t t
3538 s,@oldincludedir@,$oldincludedir,;t t
3539 s,@infodir@,$infodir,;t t
3540 s,@mandir@,$mandir,;t t
3541 s,@build_alias@,$build_alias,;t t
3542 s,@host_alias@,$host_alias,;t t
3543 s,@target_alias@,$target_alias,;t t
3545 s,@ECHO_C@,$ECHO_C,;t t
3546 s,@ECHO_N@,$ECHO_N,;t t
3547 s,@ECHO_T@,$ECHO_T,;t t
3549 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3550 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3551 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3552 s,@PACKAGE@,$PACKAGE,;t t
3553 s,@VERSION@,$VERSION,;t t
3554 s,@ACLOCAL@,$ACLOCAL,;t t
3555 s,@AUTOCONF@,$AUTOCONF,;t t
3556 s,@AUTOMAKE@,$AUTOMAKE,;t t
3557 s,@AUTOHEADER@,$AUTOHEADER,;t t
3558 s,@MAKEINFO@,$MAKEINFO,;t t
3559 s,@AMTAR@,$AMTAR,;t t
3560 s,@install_sh@,$install_sh,;t t
3561 s,@STRIP@,$STRIP,;t t
3562 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3563 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3565 s,@SET_MAKE@,$SET_MAKE,;t t
3566 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3567 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3568 s,@MAINT@,$MAINT,;t t
3569 s,@build@,$build,;t t
3570 s,@build_cpu@,$build_cpu,;t t
3571 s,@build_vendor@,$build_vendor,;t t
3572 s,@build_os@,$build_os,;t t
3574 s,@host_cpu@,$host_cpu,;t t
3575 s,@host_vendor@,$host_vendor,;t t
3576 s,@host_os@,$host_os,;t t
3578 s,@CFLAGS@,$CFLAGS,;t t
3579 s,@LDFLAGS@,$LDFLAGS,;t t
3580 s,@CPPFLAGS@,$CPPFLAGS,;t t
3581 s,@ac_ct_CC@,$ac_ct_CC,;t t
3582 s,@EXEEXT@,$EXEEXT,;t t
3583 s,@OBJEXT@,$OBJEXT,;t t
3584 s,@DEPDIR@,$DEPDIR,;t t
3585 s,@am__include@,$am__include,;t t
3586 s,@am__quote@,$am__quote,;t t
3587 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3588 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3589 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3590 s,@CCDEPMODE@,$CCDEPMODE,;t t
3591 s,@RANLIB@,$RANLIB,;t t
3592 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3594 s,@installdata@,$installdata,;t t
3595 s,@uninstalldata@,$uninstalldata,;t t
3600 cat >>$CONFIG_STATUS <<\_ACEOF
3601 # Split the substitutions into bite-sized pieces for seds with
3602 # small command number limits, like on Digital OSF/1 and HP-UX.
3604 ac_sed_frag
=1 # Number of current file.
3605 ac_beg
=1 # First line for current file.
3606 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3609 while $ac_more_lines; do
3610 if test $ac_beg -gt 1; then
3611 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3613 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3615 if test ! -s $tmp/subs.frag
; then
3618 # The purpose of the label and of the branching condition is to
3619 # speed up the sed processing (if there are no `@' at all, there
3620 # is no need to browse any of the substitutions).
3621 # These are the two extra sed commands mentioned above.
3623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3624 if test -z "$ac_sed_cmds"; then
3625 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3627 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3629 ac_sed_frag
=`expr $ac_sed_frag + 1`
3631 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3634 if test -z "$ac_sed_cmds"; then
3637 fi # test -n "$CONFIG_FILES"
3640 cat >>$CONFIG_STATUS <<\_ACEOF
3641 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3642 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3644 - |
*:- |
*:-:* ) # input from stdin
3646 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3647 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3648 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3649 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3650 * ) ac_file_in
=$ac_file.
in ;;
3653 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3654 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3655 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3656 X"$ac_file" : 'X\(//\)[^/]' \| \
3657 X"$ac_file" : 'X\(//\)$' \| \
3658 X"$ac_file" : 'X\(/\)' \| \
3659 . : '\(.\)' 2>/dev/null ||
3661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3663 /^X\(\/\/\)$/{ s//\1/; q; }
3664 /^X\(\/\).*/{ s//\1/; q; }
3667 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3671 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3672 case $as_mkdir_dir in
3673 # Skip DOS drivespec
3674 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3676 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3677 test -d "$as_incr_dir" ||
3678 mkdir
"$as_incr_dir" ||
3679 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3680 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3681 { (exit 1); exit 1; }; }
3688 if test "$ac_dir" != .
; then
3689 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3690 # A "../" for each directory in $ac_dir_suffix.
3691 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3693 ac_dir_suffix
= ac_top_builddir
=
3697 .
) # No --srcdir option. We are building in place.
3699 if test -z "$ac_top_builddir"; then
3702 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
3704 [\\/]* | ?
:[\\/]* ) # Absolute path.
3705 ac_srcdir
=$srcdir$ac_dir_suffix;
3706 ac_top_srcdir
=$srcdir ;;
3708 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
3709 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
3711 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3713 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
3714 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3715 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3716 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3720 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3721 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
3724 if test x
"$ac_file" != x-
; then
3725 { echo "$as_me:$LINENO: creating $ac_file" >&5
3726 echo "$as_me: creating $ac_file" >&6;}
3729 # Let's still pretend it is `configure' which instantiates (i.e., don't
3730 # use $as_me), people would be surprised to read:
3731 # /* config.h. Generated by config.status. */
3732 if test x
"$ac_file" = x-
; then
3735 configure_input
="$ac_file. "
3737 configure_input
=$configure_input"Generated from `echo $ac_file_in |
3738 sed 's,.*/,,'` by configure."
3740 # First look for the input files in the build tree, otherwise in the
3742 ac_file_inputs
=`IFS=:
3743 for f in $ac_file_in; do
3745 -) echo $tmp/stdin ;;
3747 # Absolute (can't be DOS-style, as IFS=:)
3748 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3749 echo "$as_me: error: cannot find input file: $f" >&2;}
3750 { (exit 1); exit 1; }; }
3753 if test -f "$f"; then
3756 elif test -f "$srcdir/$f"; then
3761 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3762 echo "$as_me: error: cannot find input file: $f" >&2;}
3763 { (exit 1); exit 1; }; }
3766 done` ||
{ (exit 1); exit 1; }
3768 cat >>$CONFIG_STATUS <<_ACEOF
3772 cat >>$CONFIG_STATUS <<\_ACEOF
3774 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3775 s
,@configure_input@
,$configure_input,;t t
3776 s
,@srcdir@
,$ac_srcdir,;t t
3777 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
3778 s
,@top_srcdir@
,$ac_top_srcdir,;t t
3779 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
3780 s
,@builddir@
,$ac_builddir,;t t
3781 s
,@abs_builddir@
,$ac_abs_builddir,;t t
3782 s
,@top_builddir@
,$ac_top_builddir,;t t
3783 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
3784 s
,@INSTALL@
,$ac_INSTALL,;t t
3785 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3787 if test x"$ac_file" != x-; then
3788 mv $tmp/out $ac_file
3796 cat >>$CONFIG_STATUS <<\_ACEOF
3799 # CONFIG_COMMANDS section.
3801 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
3802 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3803 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3804 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3805 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3806 X"$ac_dest" : 'X\(//\)[^/]' \| \
3807 X"$ac_dest" : 'X\(//\)$' \| \
3808 X"$ac_dest" : 'X\(/\)' \| \
3809 . : '\(.\)' 2>/dev/null ||
3811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3813 /^X\(\/\/\)$/{ s//\1/; q; }
3814 /^X\(\/\).*/{ s//\1/; q; }
3818 if test "$ac_dir" != .; then
3819 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3820 # A "..
/" for each directory in $ac_dir_suffix.
3821 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3823 ac_dir_suffix= ac_top_builddir=
3827 .) # No --srcdir option. We are building in place.
3829 if test -z "$ac_top_builddir"; then
3832 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3834 [\\/]* | ?:[\\/]* ) # Absolute path.
3835 ac_srcdir=$srcdir$ac_dir_suffix;
3836 ac_top_srcdir=$srcdir ;;
3838 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3839 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3841 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3843 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3844 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3845 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3846 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3849 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
3850 echo "$as_me: executing
$ac_dest commands
" >&6;}
3852 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3853 # Strip MF so we end up with the name of the file.
3854 mf=`echo "$mf" | sed -e 's/:.*$//'`
3855 if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
3856 dirpart=`(dirname "$mf") 2>/dev/null ||
3857 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3858 X"$mf" : 'X\(//\)[^/]' \| \
3859 X"$mf" : 'X\(//\)$' \| \
3860 X"$mf" : 'X\(/\)' \| \
3861 . : '\(.\)' 2>/dev/null ||
3863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3865 /^X\(\/\/\)$/{ s//\1/; q; }
3866 /^X\(\/\).*/{ s//\1/; q; }
3871 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3872 # Extract the definition of DEP_FILES from the Makefile without
3874 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3875 test -z "$DEPDIR" && continue
3876 # When using ansi2knr, U may be empty or an underscore; expand it
3877 U=`sed -n -e '/^U = / s///p' < "$mf"`
3878 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3879 # We invoke sed twice because it is the simplest approach to
3880 # changing $(DEPDIR) to its actual value in the expansion.
3881 for file in `sed -n -e '
3882 /^DEP_FILES = .*\\\\$/ {
3891 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3892 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3893 # Make sure the directory exists.
3894 test -f "$dirpart/$file" && continue
3895 fdir=`(dirname "$file") 2>/dev/null ||
3896 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3897 X"$file" : 'X\(//\)[^/]' \| \
3898 X"$file" : 'X\(//\)$' \| \
3899 X"$file" : 'X\(/\)' \| \
3900 . : '\(.\)' 2>/dev/null ||
3902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3904 /^X\(\/\/\)$/{ s//\1/; q; }
3905 /^X\(\/\).*/{ s//\1/; q; }
3907 { case $dirpart/$fdir in
3908 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3911 as_dummy=$dirpart/$fdir
3912 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@
"`; do
3913 case $as_mkdir_dir in
3914 # Skip DOS drivespec
3915 ?:) as_incr_dir=$as_mkdir_dir ;;
3917 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3918 test -d "$as_incr_dir" ||
3919 mkdir "$as_incr_dir" ||
3920 { { echo "$as_me:$LINENO: error
: cannot create
$dirpart/$fdir" >&5
3921 echo "$as_me: error
: cannot create
$dirpart/$fdir" >&2;}
3922 { (exit 1); exit 1; }; }
3927 # echo "creating
$dirpart/$file"
3928 echo '# dummy' > "$dirpart/$file"
3936 cat >>$CONFIG_STATUS <<\_ACEOF
3938 { (exit 0); exit 0; }
3940 chmod +x $CONFIG_STATUS
3941 ac_clean_files=$ac_clean_files_save
3944 # configure is writing to config.log, and then calls config.status.
3945 # config.status does its own redirection, appending to config.log.
3946 # Unfortunately, on DOS this fails, as config.log is still kept open
3947 # by configure, so config.status won't be able to write to it; its
3948 # output is simply discarded. So we exec the FD to /dev/null,
3949 # effectively closing config.log, so it can be properly (re)opened and
3950 # appended to by config.status. When coming back to configure, we
3951 # need to make the FD available again.
3952 if test "$no_create" != yes; then
3955 $SHELL $CONFIG_STATUS || ac_cs_success=false
3957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3958 # would make configure fail if this is the last instruction.
3959 $ac_cs_success || { (exit 1); exit 1; }