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
="calc.c"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
356 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
359 -build |
--build |
--buil |
--bui |
--bu)
360 ac_prev
=build_alias
;;
361 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
365 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
366 ac_prev
=cache_file
;;
367 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
368 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
376 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* |
--disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* |
--enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
403 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
404 |
--exec |
--exe |
--ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
407 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
408 |
--exec=* |
--exe=* |
--ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas |
--gas |
--ga |
--g)
412 # Obsolete; use --with-gas.
415 -help |
--help |
--hel |
--he |
-h)
417 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
420 ac_init_help
=short
;;
422 -host |
--host |
--hos |
--ho)
423 ac_prev
=host_alias
;;
424 -host=* |
--host=* |
--hos=* |
--ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir |
--includedir |
--includedi |
--included |
--include \
428 |
--includ |
--inclu |
--incl |
--inc)
429 ac_prev
=includedir
;;
430 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
431 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
436 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir |
--libdir |
--libdi |
--libd)
441 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
444 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
445 |
--libexe |
--libex |
--libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
448 |
--libexe=* |
--libex=* |
--libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
452 |
--localstate |
--localstat |
--localsta |
--localst \
453 |
--locals |
--local |
--loca |
--loc |
--lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
456 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
457 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
462 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
466 # Obsolete; use --without-fp.
469 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
470 |
--no-cr |
--no-c |
-n)
473 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
474 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
477 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
478 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
479 |
--oldin |
--oldi |
--old |
--ol |
--o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
482 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
483 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
488 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
491 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
492 |
--program-pre |
--program-pr |
--program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
495 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
499 |
--program-suf |
--program-su |
--program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
502 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name |
--program-transform-name \
506 |
--program-transform-nam |
--program-transform-na \
507 |
--program-transform-n |
--program-transform- \
508 |
--program-transform |
--program-transfor \
509 |
--program-transfo |
--program-transf \
510 |
--program-trans |
--program-tran \
511 |
--progr-tra |
--program-tr |
--program-t)
512 ac_prev
=program_transform_name
;;
513 -program-transform-name=* |
--program-transform-name=* \
514 |
--program-transform-nam=* |
--program-transform-na=* \
515 |
--program-transform-n=* |
--program-transform-=* \
516 |
--program-transform=* |
--program-transfor=* \
517 |
--program-transfo=* |
--program-transf=* \
518 |
--program-trans=* |
--program-tran=* \
519 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
520 program_transform_name
=$ac_optarg ;;
522 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
523 |
-silent |
--silent |
--silen |
--sile |
--sil)
526 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
528 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
533 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
534 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
538 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
539 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site |
--site |
--sit)
545 -site=* |
--site=* |
--sit=*)
548 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
550 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
553 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
554 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
557 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
561 ac_prev
=target_alias
;;
562 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
563 target_alias
=$ac_optarg ;;
565 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
568 -version |
--version |
--versio |
--versi |
--vers |
-V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* |
--without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
598 |
--x-incl |
--x-inc |
--x-in |
--x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
601 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
605 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
608 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
823 if test -n "$ac_init_help"; then
828 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
829 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
830 --disable-dependency-tracking Speeds up one-time builds
831 --enable-dependency-tracking Do not reject slow dependency extractors
832 --enable-maintainer-mode enable make rules and dependencies not useful
833 (and sometimes confusing
) to the casual installer
835 Some influential environment variables
:
836 CC C compiler
command
837 CFLAGS C compiler flags
838 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
839 nonstandard directory
<lib dir
>
840 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
841 headers
in a nonstandard directory
<include dir
>
844 Use these variables to override the choices made by
`configure' or to help
845 it to find libraries and programs with nonstandard names/locations.
850 if test "$ac_init_help" = "recursive"; then
851 # If there are subdirs, report their specific --help.
853 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
854 test -d $ac_dir || continue
857 if test "$ac_dir" != .; then
858 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
859 # A "../" for each directory in $ac_dir_suffix.
860 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
862 ac_dir_suffix= ac_top_builddir=
866 .) # No --srcdir option. We are building in place.
868 if test -z "$ac_top_builddir"; then
871 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
873 [\\/]* | ?:[\\/]* ) # Absolute path.
874 ac_srcdir=$srcdir$ac_dir_suffix;
875 ac_top_srcdir=$srcdir ;;
877 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
878 ac_top_srcdir=$ac_top_builddir$srcdir ;;
880 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
882 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
883 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
884 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
885 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
888 # Check for guested configure; otherwise get Cygnus style configure.
889 if test -f $ac_srcdir/configure.gnu; then
891 $SHELL $ac_srcdir/configure.gnu --help=recursive
892 elif test -f $ac_srcdir/configure; then
894 $SHELL $ac_srcdir/configure --help=recursive
895 elif test -f $ac_srcdir/configure.ac ||
896 test -f $ac_srcdir/configure.in; then
900 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
906 test -n "$ac_init_help" && exit 0
907 if $ac_init_version; then
910 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
911 Free Software Foundation, Inc.
912 This configure script is free software; the Free Software Foundation
913 gives unlimited permission to copy, distribute and modify it.
919 This file contains any messages produced by compilers while
920 running configure, to aid debugging if configure makes a mistake.
922 It was created by $as_me, which was
923 generated by GNU Autoconf 2.53. Invocation command line was
934 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
935 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
936 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
937 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
938 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
940 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
941 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
943 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
944 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
945 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
946 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
947 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
948 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
949 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
957 test -z "$as_dir" && as_dir=.
973 # Keep a trace of the command line.
974 # Strip out --no-create and --no-recursion so they do not pile up.
975 # Also quote any args containing shell meta-characters.
981 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
982 | --no-cr | --no-c | -n ) continue ;;
983 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
984 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
986 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
987 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
989 case " $ac_configure_args " in
990 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
991 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994 # Get rid of the leading space.
997 # When interrupted or exit'd, cleanup temporary files, and complete
998 # config.log. We remove comments because anyway the quotes in there
999 # would cause problems or look ugly.
1000 # WARNING: Be sure not to use single quotes in there, as some shells,
1001 # such as our DU 5.0 friend, will then `close
' the trap.
1002 trap 'exit_status
=$?
1003 # Save into config.log some information that might help in debugging.
1007 ## ---------------- ##
1008 ## Cache variables. ##
1009 ## ---------------- ##
1012 # The following way of writing the cache mishandles newlines in values,
1015 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1018 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1028 if test -s confdefs.h
; then
1035 sed "/^$/d" confdefs.h
1038 test "$ac_signal" != 0 &&
1039 echo "$as_me: caught signal $ac_signal"
1040 echo "$as_me: exit $exit_status"
1042 rm -f core core.
* *.core
&&
1043 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1046 for ac_signal in 1 2 13 15; do
1047 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1051 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1052 rm -rf conftest* confdefs.h
1053 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1056 # Predefined preprocessor variables.
1058 cat >>confdefs.h <<_ACEOF
1059 #define PACKAGE_NAME "$PACKAGE_NAME"
1063 cat >>confdefs.h <<_ACEOF
1064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1068 cat >>confdefs.h <<_ACEOF
1069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_STRING "$PACKAGE_STRING"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1083 # Let the site file select an alternate cache file if it wants to.
1084 # Prefer explicitly selected file to automatically selected ones.
1085 if test -z "$CONFIG_SITE"; then
1086 if test "x$prefix" != xNONE; then
1087 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1089 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1092 for ac_site_file in $CONFIG_SITE; do
1093 if test -r "$ac_site_file"; then
1094 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1095 echo "$as_me: loading site script $ac_site_file" >&6;}
1096 sed 's
/^
/|
/' "$ac_site_file" >&5
1101 if test -r "$cache_file"; then
1102 # Some versions of bash will fail to source /dev/null (special
1103 # files actually), so we avoid doing that.
1104 if test -f "$cache_file"; then
1105 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1106 echo "$as_me: loading cache $cache_file" >&6;}
1108 [\\/]* | ?:[\\/]* ) . $cache_file;;
1109 *) . ./$cache_file;;
1113 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1114 echo "$as_me: creating cache $cache_file" >&6;}
1118 # Check that the precious variables saved in the cache have kept the same
1120 ac_cache_corrupted=false
1121 for ac_var in `(set) 2>&1 |
1122 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1123 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1124 eval ac_new_set=\$ac_env_${ac_var}_set
1125 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1126 eval ac_new_val="\$ac_env_${ac_var}_value"
1127 case $ac_old_set,$ac_new_set in
1129 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1130 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1131 ac_cache_corrupted=: ;;
1133 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1134 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1135 ac_cache_corrupted=: ;;
1138 if test "x$ac_old_val" != "x$ac_new_val"; then
1139 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1140 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1141 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1142 echo "$as_me: former value: $ac_old_val" >&2;}
1143 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1144 echo "$as_me: current value: $ac_new_val" >&2;}
1145 ac_cache_corrupted=:
1148 # Pass precious variables to config.status.
1149 if test "$ac_new_set" = set; then
1151 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1152 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1153 *) ac_arg=$ac_var=$ac_new_val ;;
1155 case " $ac_configure_args " in
1156 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1157 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1161 if $ac_cache_corrupted; then
1162 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1163 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1164 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1165 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1166 { (exit 1); exit 1; }; }
1170 ac_cpp='$CPP $CPPFLAGS'
1171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1172 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1192 # Add the stamp file to the list of files AC keeps track of,
1193 # along with our hook.
1194 ac_config_headers="$ac_config_headers calc.h"
1198 am__api_version="1.6"
1200 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1201 if test -f $ac_dir/install-sh; then
1203 ac_install_sh="$ac_aux_dir/install-sh -c"
1205 elif test -f $ac_dir/install.sh; then
1207 ac_install_sh="$ac_aux_dir/install.sh -c"
1209 elif test -f $ac_dir/shtool; then
1211 ac_install_sh="$ac_aux_dir/shtool install -c"
1215 if test -z "$ac_aux_dir"; then
1216 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1217 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1218 { (exit 1); exit 1; }; }
1220 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1221 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1222 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1224 # Find a good install program. We prefer a C program (faster),
1225 # so one script is as good as another. But avoid the broken or
1226 # incompatible versions:
1227 # SysV /etc/install, /usr/sbin/install
1228 # SunOS /usr/etc/install
1229 # IRIX /sbin/install
1231 # AmigaOS /C/install, which installs bootblocks on floppy discs
1232 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1233 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1234 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1235 # ./install, which can be erroneously created by make from ./install.sh.
1236 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1237 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1238 if test -z "$INSTALL"; then
1239 if test "${ac_cv_path_install+set}" = set; then
1240 echo $ECHO_N "(cached) $ECHO_C" >&6
1242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1246 test -z "$as_dir" && as_dir
=.
1247 # Account for people who put trailing slashes in PATH elements.
1249 .
/ | .
// |
/cC
/* | \
1250 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1253 # OSF1 and SCO ODT 3.0 have their own names for install.
1254 # Don't use installbsd from OSF since it installs stuff as root
1256 for ac_prog
in ginstall scoinst
install; do
1257 for ac_exec_ext
in '' $ac_executable_extensions; do
1258 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1259 if test $ac_prog = install &&
1260 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1261 # AIX install. It has an incompatible calling convention.
1263 elif test $ac_prog = install &&
1264 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1265 # program-specific install script used by HP pwplus--don't use.
1268 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1280 if test "${ac_cv_path_install+set}" = set; then
1281 INSTALL
=$ac_cv_path_install
1283 # As a last resort, use the slow shell script. We don't cache a
1284 # path for INSTALL within a source directory, because that will
1285 # break other packages using the cache if that directory is
1286 # removed, or if the path is relative.
1287 INSTALL
=$ac_install_sh
1290 echo "$as_me:$LINENO: result: $INSTALL" >&5
1291 echo "${ECHO_T}$INSTALL" >&6
1293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1294 # It thinks the first close brace ends the variable substitution.
1295 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1297 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1299 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1301 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1302 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1305 echo timestamp
> conftest.
file
1306 # Do `set' in a subshell so we don't clobber the current shell's
1307 # arguments. Must try -L first in case configure is actually a
1308 # symlink; some systems play weird games with the mod time of symlinks
1309 # (eg FreeBSD returns the mod time of the symlink's containing
1312 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1313 if test "$*" = "X"; then
1315 set X
`ls -t $srcdir/configure conftest.file`
1318 if test "$*" != "X $srcdir/configure conftest.file" \
1319 && test "$*" != "X conftest.file $srcdir/configure"; then
1321 # If neither matched, then we have a broken ls. This can happen
1322 # if, for instance, CONFIG_SHELL is bash and it inherits a
1323 # broken ls alias from the environment. This has actually
1324 # happened. Such a system could not be considered "sane".
1325 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1326 alias in your environment" >&5
1327 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1328 alias in your environment" >&2;}
1329 { (exit 1); exit 1; }; }
1332 test "$2" = conftest.
file
1338 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1339 Check your system clock" >&5
1340 echo "$as_me: error: newly created file is older than distributed files!
1341 Check your system clock" >&2;}
1342 { (exit 1); exit 1; }; }
1344 echo "$as_me:$LINENO: result: yes" >&5
1345 echo "${ECHO_T}yes" >&6
1346 test "$program_prefix" != NONE
&&
1347 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1348 # Use a double $ so make ignores it.
1349 test "$program_suffix" != NONE
&&
1350 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1351 # Double any \ or $. echo might interpret backslashes.
1352 # By default was `s,x,x', remove it if useless.
1353 cat <<\_ACEOF
>conftest.
sed
1354 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1356 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1360 # expand $ac_aux_dir to an absolute path
1361 am_aux_dir
=`cd $ac_aux_dir && pwd`
1363 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1364 # Use eval to expand $SHELL
1365 if eval "$MISSING --run true"; then
1366 am_missing_run
="$MISSING --run "
1369 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1370 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1373 for ac_prog
in gawk mawk nawk
awk
1375 # Extract the first word of "$ac_prog", so it can be a program name with args.
1376 set dummy
$ac_prog; ac_word
=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_AWK+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$AWK"; then
1383 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 for ac_exec_ext
in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_AWK
="$ac_prog"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 if test -n "$AWK"; then
1403 echo "$as_me:$LINENO: result: $AWK" >&5
1404 echo "${ECHO_T}$AWK" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1410 test -n "$AWK" && break
1413 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1414 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1415 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1416 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 cat >conftest.
make <<\_ACEOF
1421 @
echo 'ac_maketemp="${MAKE}"'
1423 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1424 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1425 if test -n "$ac_maketemp"; then
1426 eval ac_cv_prog_make_
${ac_make}_set
=yes
1428 eval ac_cv_prog_make_
${ac_make}_set
=no
1432 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1433 echo "$as_me:$LINENO: result: yes" >&5
1434 echo "${ECHO_T}yes" >&6
1437 echo "$as_me:$LINENO: result: no" >&5
1438 echo "${ECHO_T}no" >&6
1439 SET_MAKE
="MAKE=${MAKE-make}"
1442 # test to see if srcdir already configured
1443 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1444 test -f $srcdir/config.status
; then
1445 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1446 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1447 { (exit 1); exit 1; }; }
1450 # Define the identity of the package.
1455 cat >>confdefs.h
<<_ACEOF
1456 #define PACKAGE "$PACKAGE"
1460 cat >>confdefs.h
<<_ACEOF
1461 #define VERSION "$VERSION"
1464 # Some tools Automake needs.
1466 ACLOCAL
=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1469 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1472 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1475 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1478 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1481 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1483 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1485 # Installed binaries are usually stripped using `strip' when the user
1486 # run `make install-strip'. However `strip' might not be the right
1487 # tool to use in cross-compilation environments, therefore Automake
1488 # will honor the `STRIP' environment variable to overrule this program.
1489 if test "$cross_compiling" != no
; then
1490 if test -n "$ac_tool_prefix"; then
1491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1492 set dummy
${ac_tool_prefix}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_STRIP+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$STRIP"; then
1499 ac_cv_prog_STRIP
="$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_STRIP
="${ac_tool_prefix}strip"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1517 STRIP
=$ac_cv_prog_STRIP
1518 if test -n "$STRIP"; then
1519 echo "$as_me:$LINENO: result: $STRIP" >&5
1520 echo "${ECHO_T}$STRIP" >&6
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1527 if test -z "$ac_cv_prog_STRIP"; then
1529 # Extract the first word of "strip", so it can be a program name with args.
1530 set dummy strip
; ac_word
=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$ac_ct_STRIP"; then
1537 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir
=.
1544 for ac_exec_ext
in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_ac_ct_STRIP
="strip"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1553 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1556 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1557 if test -n "$ac_ct_STRIP"; then
1558 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1559 echo "${ECHO_T}$ac_ct_STRIP" >&6
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1567 STRIP
="$ac_cv_prog_STRIP"
1571 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1573 # We need awk for the "check" target. The system "awk" is bad on
1580 ac_cpp
='$CPP $CPPFLAGS'
1581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1584 if test -n "$ac_tool_prefix"; then
1585 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1586 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1587 echo "$as_me:$LINENO: checking for $ac_word" >&5
1588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1589 if test "${ac_cv_prog_CC+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 if test -n "$CC"; then
1593 ac_cv_prog_CC
="$CC" # Let the user override the test.
1595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1599 test -z "$as_dir" && as_dir
=.
1600 for ac_exec_ext
in '' $ac_executable_extensions; do
1601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1602 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1612 if test -n "$CC"; then
1613 echo "$as_me:$LINENO: result: $CC" >&5
1614 echo "${ECHO_T}$CC" >&6
1616 echo "$as_me:$LINENO: result: no" >&5
1617 echo "${ECHO_T}no" >&6
1621 if test -z "$ac_cv_prog_CC"; then
1623 # Extract the first word of "gcc", so it can be a program name with args.
1624 set dummy gcc
; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$ac_ct_CC"; then
1631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir
=.
1638 for ac_exec_ext
in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_ac_ct_CC
="gcc"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1650 if test -n "$ac_ct_CC"; then
1651 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1652 echo "${ECHO_T}$ac_ct_CC" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1663 if test -z "$CC"; then
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1666 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669 if test "${ac_cv_prog_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$CC"; then
1673 ac_cv_prog_CC
="$CC" # Let the user override the test.
1675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir
=.
1680 for ac_exec_ext
in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 if test -n "$CC"; then
1693 echo "$as_me:$LINENO: result: $CC" >&5
1694 echo "${ECHO_T}$CC" >&6
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1701 if test -z "$ac_cv_prog_CC"; then
1703 # Extract the first word of "cc", so it can be a program name with args.
1704 set dummy cc
; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$ac_ct_CC"; then
1711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_ac_ct_CC
="cc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1730 if test -n "$ac_ct_CC"; then
1731 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1732 echo "${ECHO_T}$ac_ct_CC" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1744 if test -z "$CC"; then
1745 # Extract the first word of "cc", so it can be a program name with args.
1746 set dummy cc
; ac_word
=$2
1747 echo "$as_me:$LINENO: checking for $ac_word" >&5
1748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749 if test "${ac_cv_prog_CC+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 if test -n "$CC"; then
1753 ac_cv_prog_CC
="$CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1764 ac_prog_rejected
=yes
1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test $ac_prog_rejected = yes; then
1775 # We found a bogon in the path, so make sure we never use it.
1776 set dummy
$ac_cv_prog_CC
1778 if test $# != 0; then
1779 # We chose a different compiler from the bogus one.
1780 # However, it has the same basename, so the bogon will be chosen
1781 # first if we set CC to just the basename; use the full file name.
1783 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1791 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$CC"; then
1801 if test -n "$ac_tool_prefix"; then
1804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1805 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC
="$CC" # Let the user override the test.
1814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir
=.
1819 for ac_exec_ext
in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 if test -n "$CC"; then
1832 echo "$as_me:$LINENO: result: $CC" >&5
1833 echo "${ECHO_T}$CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1839 test -n "$CC" && break
1842 if test -z "$CC"; then
1846 # Extract the first word of "$ac_prog", so it can be a program name with args.
1847 set dummy
$ac_prog; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$ac_ct_CC"; then
1854 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_ac_ct_CC
="$ac_prog"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1873 if test -n "$ac_ct_CC"; then
1874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1875 echo "${ECHO_T}$ac_ct_CC" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1881 test -n "$ac_ct_CC" && break
1890 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1891 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1892 { (exit 1); exit 1; }; }
1894 # Provide some information about the compiler.
1895 echo "$as_me:$LINENO:" \
1896 "checking for C compiler version" >&5
1897 ac_compiler
=`set X $ac_compile; echo $2`
1898 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1899 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); }
1903 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1904 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1907 (exit $ac_status); }
1908 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1909 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 (exit $ac_status); }
1914 cat >conftest.
$ac_ext <<_ACEOF
1915 #line $LINENO "configure"
1916 #include "confdefs.h"
1918 #ifdef F77_DUMMY_MAIN
1922 int F77_DUMMY_MAIN() { return 1; }
1932 ac_clean_files_save
=$ac_clean_files
1933 ac_clean_files
="$ac_clean_files a.out a.exe"
1934 # Try to create an executable without -o first, disregard a.out.
1935 # It will help us diagnose broken compilers, and finding out an intuition
1937 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1938 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1939 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1940 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1941 (eval $ac_link_default) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; then
1945 # Find the output, starting from the most likely. This scheme is
1946 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1949 # Be careful to initialize this variable, since it used to be cached.
1950 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1952 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1953 ls a.out conftest 2>/dev/null;
1954 ls a.* conftest.* 2>/dev/null`; do
1956 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1957 a.out
) # We found the default executable, but exeext='' is most
1960 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1961 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1968 echo "$as_me: failed program was:" >&5
1969 cat conftest.
$ac_ext >&5
1970 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1971 echo "$as_me: error: C compiler cannot create executables" >&2;}
1972 { (exit 77); exit 77; }; }
1975 ac_exeext
=$ac_cv_exeext
1976 echo "$as_me:$LINENO: result: $ac_file" >&5
1977 echo "${ECHO_T}$ac_file" >&6
1979 # Check the compiler produces executables we can run. If not, either
1980 # the compiler is broken, or we cross compile.
1981 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1982 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1983 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1984 # If not cross compiling, check that we can run a simple program.
1985 if test "$cross_compiling" != yes; then
1986 if { ac_try
='./$ac_file'
1987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991 (exit $ac_status); }; }; then
1994 if test "$cross_compiling" = maybe
; then
1997 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1998 If you meant to cross compile, use \`--host'." >&5
1999 echo "$as_me: error: cannot run C compiled programs.
2000 If you meant to cross compile, use \`--host'." >&2;}
2001 { (exit 1); exit 1; }; }
2005 echo "$as_me:$LINENO: result: yes" >&5
2006 echo "${ECHO_T}yes" >&6
2008 rm -f a.out a.exe conftest
$ac_cv_exeext
2009 ac_clean_files
=$ac_clean_files_save
2010 # Check the compiler produces executables we can run. If not, either
2011 # the compiler is broken, or we cross compile.
2012 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2013 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2014 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2015 echo "${ECHO_T}$cross_compiling" >&6
2017 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2018 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2020 (eval $ac_link) 2>&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); }; then
2024 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2026 # work properly (i.e., refer to `conftest.exe'), while it won't with
2028 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2030 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2031 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2038 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2039 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2040 { (exit 1); exit 1; }; }
2043 rm -f conftest
$ac_cv_exeext
2044 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2045 echo "${ECHO_T}$ac_cv_exeext" >&6
2047 rm -f conftest.
$ac_ext
2048 EXEEXT
=$ac_cv_exeext
2050 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2051 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2052 if test "${ac_cv_objext+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 cat >conftest.
$ac_ext <<_ACEOF
2056 #line $LINENO "configure"
2057 #include "confdefs.h"
2059 #ifdef F77_DUMMY_MAIN
2063 int F77_DUMMY_MAIN() { return 1; }
2073 rm -f conftest.o conftest.obj
2074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2075 (eval $ac_compile) 2>&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }; then
2079 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2081 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2082 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2087 echo "$as_me: failed program was:" >&5
2088 cat conftest.
$ac_ext >&5
2089 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2090 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2091 { (exit 1); exit 1; }; }
2094 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2096 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2097 echo "${ECHO_T}$ac_cv_objext" >&6
2098 OBJEXT
=$ac_cv_objext
2100 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2101 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2102 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 cat >conftest.
$ac_ext <<_ACEOF
2106 #line $LINENO "configure"
2107 #include "confdefs.h"
2109 #ifdef F77_DUMMY_MAIN
2113 int F77_DUMMY_MAIN() { return 1; }
2126 rm -f conftest.
$ac_objext
2127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128 (eval $ac_compile) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); } &&
2132 { ac_try
='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 cat conftest.
$ac_ext >&5
2144 rm -f conftest.
$ac_objext conftest.
$ac_ext
2145 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2148 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2149 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2150 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2151 ac_test_CFLAGS
=${CFLAGS+set}
2152 ac_save_CFLAGS
=$CFLAGS
2154 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2155 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2156 if test "${ac_cv_prog_cc_g+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 cat >conftest.
$ac_ext <<_ACEOF
2160 #line $LINENO "configure"
2161 #include "confdefs.h"
2163 #ifdef F77_DUMMY_MAIN
2167 int F77_DUMMY_MAIN() { return 1; }
2177 rm -f conftest.
$ac_objext
2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179 (eval $ac_compile) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2191 echo "$as_me: failed program was:" >&5
2192 cat conftest.
$ac_ext >&5
2195 rm -f conftest.
$ac_objext conftest.
$ac_ext
2197 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2198 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2199 if test "$ac_test_CFLAGS" = set; then
2200 CFLAGS
=$ac_save_CFLAGS
2201 elif test $ac_cv_prog_cc_g = yes; then
2202 if test "$GCC" = yes; then
2208 if test "$GCC" = yes; then
2214 # Some people use a C++ compiler to compile C. Since we use `exit',
2215 # in C++ we need to declare it. In case someone uses the same compiler
2216 # for both compiling C and C++ we need to have the C++ compiler decide
2217 # the declaration of exit, since it's the most demanding environment.
2218 cat >conftest.
$ac_ext <<_ACEOF
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -s conftest.$ac_objext'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; }; then
2235 for ac_declaration
in \
2237 '#include <stdlib.h>' \
2238 'extern "C" void std::exit (int) throw (); using std::exit;' \
2239 'extern "C" void std::exit (int); using std::exit;' \
2240 'extern "C" void exit (int) throw ();' \
2241 'extern "C" void exit (int);' \
2244 cat >conftest.
$ac_ext <<_ACEOF
2245 #line $LINENO "configure"
2246 #include "confdefs.h"
2249 #ifdef F77_DUMMY_MAIN
2253 int F77_DUMMY_MAIN() { return 1; }
2263 rm -f conftest.
$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 cat conftest.
$ac_ext >&5
2281 rm -f conftest.
$ac_objext conftest.
$ac_ext
2282 cat >conftest.
$ac_ext <<_ACEOF
2283 #line $LINENO "configure"
2284 #include "confdefs.h"
2286 #ifdef F77_DUMMY_MAIN
2290 int F77_DUMMY_MAIN() { return 1; }
2300 rm -f conftest.
$ac_objext
2301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2302 (eval $ac_compile) 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -s conftest.$ac_objext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2314 echo "$as_me: failed program was:" >&5
2315 cat conftest.
$ac_ext >&5
2317 rm -f conftest.
$ac_objext conftest.
$ac_ext
2320 if test -n "$ac_declaration"; then
2321 echo '#ifdef __cplusplus' >>confdefs.h
2322 echo $ac_declaration >>confdefs.h
2323 echo '#endif' >>confdefs.h
2327 echo "$as_me: failed program was:" >&5
2328 cat conftest.
$ac_ext >&5
2330 rm -f conftest.
$ac_objext conftest.
$ac_ext
2332 ac_cpp
='$CPP $CPPFLAGS'
2333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2336 rm -f .deps
2>/dev
/null
2337 mkdir .deps
2>/dev
/null
2338 if test -d .deps
; then
2341 # MS-DOS does not allow filenames that begin with a dot.
2344 rmdir .deps
2>/dev
/null
2347 ac_config_commands
="$ac_config_commands depfiles"
2350 am_make
=${MAKE-make}
2351 cat > confinc
<< 'END'
2355 # If we don't find an include directive, just comment out the code.
2356 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2357 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2361 # First try GNU make style include.
2362 echo "include confinc" > confmf
2363 # We grep out `Entering directory' and `Leaving directory'
2364 # messages which can occur if `w' ends up in MAKEFLAGS.
2365 # In particular we don't look at `^make:' because GNU make might
2366 # be invoked under some other name (usually "gmake"), in which
2367 # case it prints its new name instead of `make'.
2368 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2373 # Now try BSD make style include.
2374 if test "$am__include" = "#"; then
2375 echo '.include "confinc"' > confmf
2376 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2377 am__include
=.include
2384 echo "$as_me:$LINENO: result: $_am_result" >&5
2385 echo "${ECHO_T}$_am_result" >&6
2386 rm -f confinc confmf
2388 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2389 if test "${enable_dependency_tracking+set}" = set; then
2390 enableval
="$enable_dependency_tracking"
2393 if test "x$enable_dependency_tracking" != xno
; then
2394 am_depcomp
="$ac_aux_dir/depcomp"
2399 if test "x$enable_dependency_tracking" != xno; then
2410 depcc
="$CC" am_compiler_list
=
2412 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2413 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2418 # We make a subdir and do the tests there. Otherwise we can end up
2419 # making bogus files that we don't know about and never remove. For
2420 # instance it was reported that on HP-UX the gcc test will end up
2421 # making a dummy file named `D' -- because `-MD' means `put the output
2424 # Copy depcomp to subdir because otherwise we won't find it if we're
2425 # using a relative directory.
2426 cp "$am_depcomp" conftest.dir
2429 am_cv_CC_dependencies_compiler_type
=none
2430 if test "$am_compiler_list" = ""; then
2431 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2433 for depmode
in $am_compiler_list; do
2434 # We need to recreate these files for each test, as the compiler may
2435 # overwrite some of them when testing with obscure command lines.
2436 # This happens at least with the AIX C compiler.
2437 echo '#include "conftest.h"' > conftest.c
2438 echo 'int i;' > conftest.h
2439 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2443 # after this tag, mechanisms are not by side-effect, so they'll
2444 # only be used when explicitly requested
2445 if test "x$enable_dependency_tracking" = xyes
; then
2453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2454 # mode. It turns out that the SunPro C++ compiler does not properly
2455 # handle `-M -o', and we need to detect this.
2456 if depmode
=$depmode \
2457 source=conftest.c object
=conftest.o \
2458 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2459 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2460 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2461 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2462 am_cv_CC_dependencies_compiler_type
=$depmode
2470 am_cv_CC_dependencies_compiler_type
=none
2474 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2475 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2476 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2479 # Find a good install program. We prefer a C program (faster),
2480 # so one script is as good as another. But avoid the broken or
2481 # incompatible versions:
2482 # SysV /etc/install, /usr/sbin/install
2483 # SunOS /usr/etc/install
2484 # IRIX /sbin/install
2486 # AmigaOS /C/install, which installs bootblocks on floppy discs
2487 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2488 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2489 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2490 # ./install, which can be erroneously created by make from ./install.sh.
2491 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2492 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2493 if test -z "$INSTALL"; then
2494 if test "${ac_cv_path_install+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir
=.
2502 # Account for people who put trailing slashes in PATH elements.
2504 .
/ | .
// |
/cC
/* | \
2505 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2508 # OSF1 and SCO ODT 3.0 have their own names for install.
2509 # Don't use installbsd from OSF since it installs stuff as root
2511 for ac_prog
in ginstall scoinst
install; do
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2514 if test $ac_prog = install &&
2515 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2516 # AIX install. It has an incompatible calling convention.
2518 elif test $ac_prog = install &&
2519 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2520 # program-specific install script used by HP pwplus--don't use.
2523 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2535 if test "${ac_cv_path_install+set}" = set; then
2536 INSTALL
=$ac_cv_path_install
2538 # As a last resort, use the slow shell script. We don't cache a
2539 # path for INSTALL within a source directory, because that will
2540 # break other packages using the cache if that directory is
2541 # removed, or if the path is relative.
2542 INSTALL
=$ac_install_sh
2545 echo "$as_me:$LINENO: result: $INSTALL" >&5
2546 echo "${ECHO_T}$INSTALL" >&6
2548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2549 # It thinks the first close brace ends the variable substitution.
2550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2554 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2557 # Look for various header files
2561 ac_cpp
='$CPP $CPPFLAGS'
2562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2565 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2566 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2567 # On Suns, sometimes $CPP names a directory.
2568 if test -n "$CPP" && test -d "$CPP"; then
2571 if test -z "$CPP"; then
2572 if test "${ac_cv_prog_CPP+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 # Double quotes because CPP needs to be expanded
2576 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2579 for ac_c_preproc_warn_flag
in '' yes
2581 # Use a header file that comes with gcc, so configuring glibc
2582 # with a fresh cross-compiler works.
2583 # On the NeXT, cc -E runs the code through the compiler's parser,
2584 # not just through cpp. "Syntax error" is here to catch this case.
2585 cat >conftest.
$ac_ext <<_ACEOF
2586 #line $LINENO "configure"
2587 #include "confdefs.h"
2591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2594 egrep -v '^ *\+' conftest.er1
>conftest.err
2596 cat conftest.err
>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } >/dev
/null
; then
2599 if test -s conftest.err
; then
2600 ac_cpp_err
=$ac_c_preproc_warn_flag
2607 if test -z "$ac_cpp_err"; then
2610 echo "$as_me: failed program was:" >&5
2611 cat conftest.
$ac_ext >&5
2612 # Broken: fails on valid input.
2615 rm -f conftest.err conftest.
$ac_ext
2617 # OK, works on sane cases. Now check whether non-existent headers
2618 # can be detected and how.
2619 cat >conftest.
$ac_ext <<_ACEOF
2620 #line $LINENO "configure"
2621 #include "confdefs.h"
2622 #include <ac_nonexistent.h>
2624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2627 egrep -v '^ *\+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } >/dev
/null
; then
2632 if test -s conftest.err
; then
2633 ac_cpp_err
=$ac_c_preproc_warn_flag
2640 if test -z "$ac_cpp_err"; then
2641 # Broken: success on invalid input.
2644 echo "$as_me: failed program was:" >&5
2645 cat conftest.
$ac_ext >&5
2646 # Passes both tests.
2650 rm -f conftest.err conftest.
$ac_ext
2653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2654 rm -f conftest.err conftest.
$ac_ext
2655 if $ac_preproc_ok; then
2667 echo "$as_me:$LINENO: result: $CPP" >&5
2668 echo "${ECHO_T}$CPP" >&6
2670 for ac_c_preproc_warn_flag
in '' yes
2672 # Use a header file that comes with gcc, so configuring glibc
2673 # with a fresh cross-compiler works.
2674 # On the NeXT, cc -E runs the code through the compiler's parser,
2675 # not just through cpp. "Syntax error" is here to catch this case.
2676 cat >conftest.
$ac_ext <<_ACEOF
2677 #line $LINENO "configure"
2678 #include "confdefs.h"
2682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2685 egrep -v '^ *\+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } >/dev
/null
; then
2690 if test -s conftest.err
; then
2691 ac_cpp_err
=$ac_c_preproc_warn_flag
2698 if test -z "$ac_cpp_err"; then
2701 echo "$as_me: failed program was:" >&5
2702 cat conftest.
$ac_ext >&5
2703 # Broken: fails on valid input.
2706 rm -f conftest.err conftest.
$ac_ext
2708 # OK, works on sane cases. Now check whether non-existent headers
2709 # can be detected and how.
2710 cat >conftest.
$ac_ext <<_ACEOF
2711 #line $LINENO "configure"
2712 #include "confdefs.h"
2713 #include <ac_nonexistent.h>
2715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2718 egrep -v '^ *\+' conftest.er1
>conftest.err
2720 cat conftest.err
>&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } >/dev
/null
; then
2723 if test -s conftest.err
; then
2724 ac_cpp_err
=$ac_c_preproc_warn_flag
2731 if test -z "$ac_cpp_err"; then
2732 # Broken: success on invalid input.
2735 echo "$as_me: failed program was:" >&5
2736 cat conftest.
$ac_ext >&5
2737 # Passes both tests.
2741 rm -f conftest.err conftest.
$ac_ext
2744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2745 rm -f conftest.err conftest.
$ac_ext
2746 if $ac_preproc_ok; then
2749 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2750 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2751 { (exit 1); exit 1; }; }
2755 ac_cpp
='$CPP $CPPFLAGS'
2756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2761 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2762 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2763 if test "${ac_cv_header_stdc+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 cat >conftest.
$ac_ext <<_ACEOF
2767 #line $LINENO "configure"
2768 #include "confdefs.h"
2775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2778 egrep -v '^ *\+' conftest.er1
>conftest.err
2780 cat conftest.err
>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } >/dev
/null
; then
2783 if test -s conftest.err
; then
2784 ac_cpp_err
=$ac_c_preproc_warn_flag
2791 if test -z "$ac_cpp_err"; then
2792 ac_cv_header_stdc
=yes
2794 echo "$as_me: failed program was:" >&5
2795 cat conftest.
$ac_ext >&5
2796 ac_cv_header_stdc
=no
2798 rm -f conftest.err conftest.
$ac_ext
2800 if test $ac_cv_header_stdc = yes; then
2801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2802 cat >conftest.
$ac_ext <<_ACEOF
2803 #line $LINENO "configure"
2804 #include "confdefs.h"
2808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2809 egrep "memchr" >/dev
/null
2>&1; then
2812 ac_cv_header_stdc
=no
2818 if test $ac_cv_header_stdc = yes; then
2819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2820 cat >conftest.
$ac_ext <<_ACEOF
2821 #line $LINENO "configure"
2822 #include "confdefs.h"
2826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2827 egrep "free" >/dev
/null
2>&1; then
2830 ac_cv_header_stdc
=no
2836 if test $ac_cv_header_stdc = yes; then
2837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2838 if test "$cross_compiling" = yes; then
2841 cat >conftest.
$ac_ext <<_ACEOF
2842 #line $LINENO "configure"
2843 #include "confdefs.h"
2845 #if ((' ' & 0x0FF) == 0x020)
2846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2849 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2850 || ('j' <= (c) && (c) <= 'r') \
2851 || ('s' <= (c) && (c) <= 'z'))
2852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2860 for (i = 0; i < 256; i++)
2861 if (XOR (islower (i), ISLOWER (i))
2862 || toupper (i) != TOUPPER (i))
2867 rm -f conftest
$ac_exeext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2880 echo "$as_me: program exited with status $ac_status" >&5
2881 echo "$as_me: failed program was:" >&5
2882 cat conftest.
$ac_ext >&5
2884 ac_cv_header_stdc
=no
2886 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2890 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2891 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2892 if test $ac_cv_header_stdc = yes; then
2894 cat >>confdefs.h
<<\_ACEOF
2895 #define STDC_HEADERS 1
2900 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2910 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2911 inttypes.h stdint.h unistd.h
2913 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2914 echo "$as_me:$LINENO: checking for $ac_header" >&5
2915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 cat >conftest.
$ac_ext <<_ACEOF
2920 #line $LINENO "configure"
2921 #include "confdefs.h"
2922 $ac_includes_default
2924 #include <$ac_header>
2926 rm -f conftest.
$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try
='test -s conftest.$ac_objext'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 eval "$as_ac_Header=yes"
2940 echo "$as_me: failed program was:" >&5
2941 cat conftest.
$ac_ext >&5
2942 eval "$as_ac_Header=no"
2944 rm -f conftest.
$ac_objext conftest.
$ac_ext
2946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2949 cat >>confdefs.h
<<_ACEOF
2950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2959 for ac_header
in stdlib.h
2961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2963 echo "$as_me:$LINENO: checking for $ac_header" >&5
2964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2971 # Is the header compilable?
2972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2974 cat >conftest.
$ac_ext <<_ACEOF
2975 #line $LINENO "configure"
2976 #include "confdefs.h"
2977 $ac_includes_default
2978 #include <$ac_header>
2980 rm -f conftest.
$ac_objext
2981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2982 (eval $ac_compile) 2>&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } &&
2986 { ac_try
='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_header_compiler
=yes
2994 echo "$as_me: failed program was:" >&5
2995 cat conftest.
$ac_ext >&5
2996 ac_header_compiler
=no
2998 rm -f conftest.
$ac_objext conftest.
$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3000 echo "${ECHO_T}$ac_header_compiler" >&6
3002 # Is the header present?
3003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3005 cat >conftest.
$ac_ext <<_ACEOF
3006 #line $LINENO "configure"
3007 #include "confdefs.h"
3008 #include <$ac_header>
3010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3013 egrep -v '^ *\+' conftest.er1
>conftest.err
3015 cat conftest.err
>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } >/dev
/null
; then
3018 if test -s conftest.err
; then
3019 ac_cpp_err
=$ac_c_preproc_warn_flag
3026 if test -z "$ac_cpp_err"; then
3027 ac_header_preproc
=yes
3029 echo "$as_me: failed program was:" >&5
3030 cat conftest.
$ac_ext >&5
3031 ac_header_preproc
=no
3033 rm -f conftest.err conftest.
$ac_ext
3034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3035 echo "${ECHO_T}$ac_header_preproc" >&6
3037 # So? What about this header?
3038 case $ac_header_compiler:$ac_header_preproc in
3040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3052 echo "$as_me:$LINENO: checking for $ac_header" >&5
3053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 eval "$as_ac_Header=$ac_header_preproc"
3059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3064 cat >>confdefs.h
<<_ACEOF
3065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3074 # Look for various functions
3076 echo "$as_me:$LINENO: checking for strcmp" >&5
3077 echo $ECHO_N "checking for strcmp... $ECHO_C" >&6
3078 if test "${ac_cv_func_strcmp+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 cat >conftest.
$ac_ext <<_ACEOF
3082 #line $LINENO "configure"
3083 #include "confdefs.h"
3084 /* System header to define __stub macros and hopefully few prototypes,
3085 which can conflict with char strcmp (); below. */
3087 /* Override any gcc2 internal prototype to avoid an error. */
3091 /* We use char because int might match the return type of a gcc2
3092 builtin and then its argument prototype would still apply. */
3096 #ifdef F77_DUMMY_MAIN
3100 int F77_DUMMY_MAIN() { return 1; }
3105 /* The GNU C library defines this for functions which it implements
3106 to always fail with ENOSYS. Some functions are actually named
3107 something starting with __ and the normal name is an alias. */
3108 #if defined (__stub_strcmp) || defined (__stub___strcmp)
3118 rm -f conftest.
$ac_objext conftest
$ac_exeext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3120 (eval $ac_link) 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } &&
3124 { ac_try
='test -s conftest$ac_exeext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 ac_cv_func_strcmp
=yes
3132 echo "$as_me: failed program was:" >&5
3133 cat conftest.
$ac_ext >&5
3134 ac_cv_func_strcmp
=no
3136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3138 echo "$as_me:$LINENO: result: $ac_cv_func_strcmp" >&5
3139 echo "${ECHO_T}$ac_cv_func_strcmp" >&6
3142 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3143 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3144 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3145 if test "${enable_maintainer_mode+set}" = set; then
3146 enableval
="$enable_maintainer_mode"
3147 USE_MAINTAINER_MODE
=$enableval
3149 USE_MAINTAINER_MODE
=no
3151 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3152 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3155 if test $USE_MAINTAINER_MODE = yes; then
3156 MAINTAINER_MODE_TRUE
=
3157 MAINTAINER_MODE_FALSE
='#'
3159 MAINTAINER_MODE_TRUE
='#'
3160 MAINTAINER_MODE_FALSE
=
3163 MAINT
=$MAINTAINER_MODE_TRUE
3168 # Output Makefile with substitutions
3170 ac_config_files
="$ac_config_files Makefile"
3171 cat >confcache
<<\_ACEOF
3172 # This file is a shell script that caches the results of configure
3173 # tests run on this system so they can be shared between configure
3174 # scripts and configure runs, see configure's option --config-cache.
3175 # It is not useful on other systems. If it contains results you don't
3176 # want to keep, you may remove or edit it.
3178 # config.status only pays attention to the cache file if you give it
3179 # the --recheck option to rerun configure.
3181 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3187 # The following way of writing the cache mishandles newlines in values,
3188 # but we know of no workaround that is simple, portable, and efficient.
3189 # So, don't put newlines in cache variables' values.
3190 # Ultrix sh set writes to stderr and can't be redirected directly,
3191 # and sets the high bit in the cache file unless we assign to the vars.
3194 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3196 # `set' does not quote correctly, so add quotes (double-quote
3197 # substitution turns \\\\ into \\, and sed turns \\ into \).
3200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3203 # `set' quotes correctly as required by POSIX, so do not add quotes.
3205 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3212 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3214 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3216 if cmp -s $cache_file confcache
; then :; else
3217 if test -w $cache_file; then
3218 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3219 cat confcache
>$cache_file
3221 echo "not updating unwritable cache $cache_file"
3226 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3227 # Let make expand exec_prefix.
3228 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3230 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3231 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3232 # trailing colons and then remove the whole line if VPATH becomes empty
3233 # (actually we leave an empty line to preserve line numbers).
3234 if test "x$srcdir" = x.
; then
3235 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3236 s/:*\$(srcdir):*/:/;
3237 s/:*\${srcdir}:*/:/;
3239 s/^\([^=]*=[ ]*\):*/\1/;
3245 DEFS
=-DHAVE_CONFIG_H
3247 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3248 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3249 Usually this means the macro was only invoked conditionally." >&5
3250 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3251 Usually this means the macro was only invoked conditionally." >&2;}
3252 { (exit 1); exit 1; }; }
3254 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3255 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3256 Usually this means the macro was only invoked conditionally." >&5
3257 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3258 Usually this means the macro was only invoked conditionally." >&2;}
3259 { (exit 1); exit 1; }; }
3262 : ${CONFIG_STATUS=./config.status}
3263 ac_clean_files_save
=$ac_clean_files
3264 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3265 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3266 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3267 cat >$CONFIG_STATUS <<_ACEOF
3269 # Generated by $as_me.
3270 # Run this file to recreate the current configuration.
3271 # Compiler output produced by configure, useful for debugging
3272 # configure, is in config.log if it exists.
3275 SHELL=\${CONFIG_SHELL-$SHELL}
3278 cat >>$CONFIG_STATUS <<\_ACEOF
3280 ## --------------------- ##
3281 ## M4sh Initialization. ##
3282 ## --------------------- ##
3284 # Be Bourne compatible
3285 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3288 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3293 # Support unset when possible.
3294 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
3300 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
3301 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
3302 { LANG
=C
; export LANG
; }
3303 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3304 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
3305 { LC_ALL
=C
; export LC_ALL
; }
3306 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3307 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
3308 { LC_TIME
=C
; export LC_TIME
; }
3309 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3310 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
3311 { LC_CTYPE
=C
; export LC_CTYPE
; }
3312 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3313 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
3314 { LANGUAGE
=C
; export LANGUAGE
; }
3315 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3316 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
3317 { LC_COLLATE
=C
; export LC_COLLATE
; }
3318 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3319 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
3320 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
3321 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3322 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
3323 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
3326 # Name of the executable.
3327 as_me
=`(basename "$0") 2>/dev/null ||
3328 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3329 X"$0" : 'X\(//\)$' \| \
3330 X"$0" : 'X\(/\)$' \| \
3331 . : '\(.\)' 2>/dev/null ||
3333 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3334 /^X\/\(\/\/\)$/{ s//\1/; q; }
3335 /^X\/\(\/\).*/{ s//\1/; q; }
3338 # PATH needs CR, and LINENO needs CR and PATH.
3339 # Avoid depending upon Character Ranges.
3340 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3341 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3342 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3343 as_cr_digits
='0123456789'
3344 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3346 # The user is always right.
3347 if test "${PATH_SEPARATOR+set}" != set; then
3348 echo "#! /bin/sh" >conftest.sh
3349 echo "exit 0" >>conftest.sh
3350 chmod +x conftest.sh
3351 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
3362 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3363 test "x$as_lineno_1" != "x$as_lineno_2" &&
3364 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3365 # Find who we are. Look in the path if we contain no path at all
3368 *[\\/]* ) as_myself
=$0 ;;
3369 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir
=.
3374 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3379 # We did not find ourselves, most probably we were run as `sh COMMAND'
3380 # in which case we are not to be found in the path.
3381 if test "x$as_myself" = x
; then
3384 if test ! -f "$as_myself"; then
3385 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3386 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3387 { (exit 1); exit 1; }; }
3389 case $CONFIG_SHELL in
3391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3395 test -z "$as_dir" && as_dir
=.
3396 for as_base
in sh bash ksh sh5
; do
3399 if ("$as_dir/$as_base" -c '
3402 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3403 test "x$as_lineno_1" != "x$as_lineno_2" &&
3404 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3405 CONFIG_SHELL
=$as_dir/$as_base
3407 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3415 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3416 # uniformly replaced by the line number. The first 'sed' inserts a
3417 # line-number line before each line; the second 'sed' does the real
3418 # work. The second script uses 'N' to pair each line-number line
3419 # with the numbered line, and appends trailing '-' during
3420 # substitution so that $LINENO is not a special case at line end.
3421 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3422 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3423 sed '=' <$as_myself |
3428 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3431 s,^['$as_cr_digits']*\n,,
3433 chmod +x
$as_me.lineno ||
3434 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3435 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3436 { (exit 1); exit 1; }; }
3438 # Don't try to exec as it changes $[0], causing all sort of problems
3439 # (the dirname of $[0] is not the place where we might find the
3440 # original and so on. Autoconf is especially sensible to this).
3442 # Exit status is that of the last command.
3447 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3448 *c
*,-n*) ECHO_N
= ECHO_C
='
3450 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3451 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3454 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3460 rm -f conf$$ conf$$.exe conf$$.
file
3462 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3463 # We could just check for DJGPP; but this test a) works b) is more generic
3464 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3465 if test -f conf$$.exe
; then
3466 # Don't use ln at all; we don't have any links
3471 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3476 rm -f conf$$ conf$$.exe conf$$.
file
3478 as_executable_p
="test -f"
3480 # Sed expression to map a string onto a valid CPP name.
3481 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3483 # Sed expression to map a string onto a valid variable name.
3484 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3488 # We need space, tab and new line, in precisely that order.
3494 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
3498 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3499 # report actual input values of CONFIG_FILES etc. instead of their
3500 # values after options handling. Logging --version etc. is OK.
3504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3505 ## Running $as_me. ##
3510 This file was extended by $as_me, which was
3511 generated by GNU Autoconf 2.53. Invocation command line was
3513 CONFIG_FILES = $CONFIG_FILES
3514 CONFIG_HEADERS = $CONFIG_HEADERS
3515 CONFIG_LINKS = $CONFIG_LINKS
3516 CONFIG_COMMANDS = $CONFIG_COMMANDS
3520 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3524 # Files that config.status was made for.
3525 if test -n "$ac_config_files"; then
3526 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3529 if test -n "$ac_config_headers"; then
3530 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3533 if test -n "$ac_config_links"; then
3534 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3537 if test -n "$ac_config_commands"; then
3538 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3541 cat >>$CONFIG_STATUS <<\_ACEOF
3544 \`$as_me' instantiates files from templates according to the
3545 current configuration.
3547 Usage: $0 [OPTIONS] [FILE]...
3549 -h, --help print this help, then exit
3550 -V, --version print version number, then exit
3551 -d, --debug don't remove temporary files
3552 --recheck update $as_me by reconfiguring in the same conditions
3553 --file=FILE[:TEMPLATE]
3554 instantiate the configuration file FILE
3555 --header=FILE[:TEMPLATE]
3556 instantiate the configuration header FILE
3558 Configuration files:
3561 Configuration headers:
3564 Configuration commands:
3567 Report bugs to <bug-autoconf@gnu.org>."
3570 cat >>$CONFIG_STATUS <<_ACEOF
3573 configured by $0, generated by GNU Autoconf 2.53,
3574 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3576 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3577 Free Software Foundation, Inc.
3578 This config.status script is free software; the Free Software Foundation
3579 gives unlimited permission to copy, distribute and modify it."
3584 cat >>$CONFIG_STATUS <<\_ACEOF
3585 # If no file are specified by the user, then we need to provide default
3586 # value. By we need to know if files were specified by the user.
3592 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3593 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3595 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
3599 *) # This is not an option, so the user has probably given explicit
3601 ac_need_defaults
=false
;;
3605 # Handling of the options.
3607 cat >>$CONFIG_STATUS <<_ACEOF
3608 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3609 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3610 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3612 cat >>$CONFIG_STATUS <<\_ACEOF
3613 --version |
--vers* |
-V )
3614 echo "$ac_cs_version"; exit 0 ;;
3616 # Conflict between --help and --header
3617 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3618 Try \`$0 --help' for more information." >&5
3619 echo "$as_me: error: ambiguous option: $1
3620 Try \`$0 --help' for more information." >&2;}
3621 { (exit 1); exit 1; }; };;
3622 --help |
--hel |
-h )
3623 echo "$ac_cs_usage"; exit 0 ;;
3624 --debug |
--d* |
-d )
3626 --file |
--fil |
--fi |
--f )
3628 CONFIG_FILES
="$CONFIG_FILES $1"
3629 ac_need_defaults
=false
;;
3630 --header |
--heade |
--head |
--hea )
3632 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
3633 ac_need_defaults
=false
;;
3636 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3637 Try \`$0 --help' for more information." >&5
3638 echo "$as_me: error: unrecognized option: $1
3639 Try \`$0 --help' for more information." >&2;}
3640 { (exit 1); exit 1; }; } ;;
3642 *) ac_config_targets
="$ac_config_targets $1" ;;
3650 cat >>$CONFIG_STATUS <<_ACEOF
3652 # INIT-COMMANDS section.
3655 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3661 cat >>$CONFIG_STATUS <<\_ACEOF
3662 for ac_config_target
in $ac_config_targets
3664 case "$ac_config_target" in
3665 # Handling of arguments.
3666 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3667 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
3668 "calc.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS calc.h" ;;
3669 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3670 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3671 { (exit 1); exit 1; }; };;
3675 # If the user did not use the arguments to specify the items to instantiate,
3676 # then the envvar interface is used. Set only those that are not.
3677 # We use the long form for the default assignment because of an extremely
3678 # bizarre bug on SunOS 4.1.3.
3679 if $ac_need_defaults; then
3680 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3681 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3682 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3685 # Create a temporary directory, and hook for its removal unless debugging.
3688 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3689 trap '{ (exit 1); exit 1; }' 1 2 13 15
3692 # Create a (secure) tmp directory for tmp files.
3695 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3696 test -n "$tmp" && test -d "$tmp"
3699 tmp
=$TMPDIR/cs$$
-$RANDOM
3700 (umask 077 && mkdir
$tmp)
3703 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3704 { (exit 1); exit 1; }
3709 cat >>$CONFIG_STATUS <<_ACEOF
3712 # CONFIG_FILES section.
3715 # No need to generate the scripts if there are no CONFIG_FILES.
3716 # This happens for instance when ./config.status config.h
3717 if test -n "\$CONFIG_FILES"; then
3718 # Protect against being on the right side of a sed subst in config.status.
3719 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3720 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3721 s,@SHELL@,$SHELL,;t t
3722 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3723 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3724 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3725 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3726 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3727 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3728 s,@exec_prefix@,$exec_prefix,;t t
3729 s,@prefix@,$prefix,;t t
3730 s,@program_transform_name@,$program_transform_name,;t t
3731 s,@bindir@,$bindir,;t t
3732 s,@sbindir@,$sbindir,;t t
3733 s,@libexecdir@,$libexecdir,;t t
3734 s,@datadir@,$datadir,;t t
3735 s,@sysconfdir@,$sysconfdir,;t t
3736 s,@sharedstatedir@,$sharedstatedir,;t t
3737 s,@localstatedir@,$localstatedir,;t t
3738 s,@libdir@,$libdir,;t t
3739 s,@includedir@,$includedir,;t t
3740 s,@oldincludedir@,$oldincludedir,;t t
3741 s,@infodir@,$infodir,;t t
3742 s,@mandir@,$mandir,;t t
3743 s,@build_alias@,$build_alias,;t t
3744 s,@host_alias@,$host_alias,;t t
3745 s,@target_alias@,$target_alias,;t t
3747 s,@ECHO_C@,$ECHO_C,;t t
3748 s,@ECHO_N@,$ECHO_N,;t t
3749 s,@ECHO_T@,$ECHO_T,;t t
3751 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3752 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3753 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3754 s,@PACKAGE@,$PACKAGE,;t t
3755 s,@VERSION@,$VERSION,;t t
3756 s,@ACLOCAL@,$ACLOCAL,;t t
3757 s,@AUTOCONF@,$AUTOCONF,;t t
3758 s,@AUTOMAKE@,$AUTOMAKE,;t t
3759 s,@AUTOHEADER@,$AUTOHEADER,;t t
3760 s,@MAKEINFO@,$MAKEINFO,;t t
3761 s,@AMTAR@,$AMTAR,;t t
3762 s,@install_sh@,$install_sh,;t t
3763 s,@STRIP@,$STRIP,;t t
3764 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3765 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3767 s,@SET_MAKE@,$SET_MAKE,;t t
3769 s,@CFLAGS@,$CFLAGS,;t t
3770 s,@LDFLAGS@,$LDFLAGS,;t t
3771 s,@CPPFLAGS@,$CPPFLAGS,;t t
3772 s,@ac_ct_CC@,$ac_ct_CC,;t t
3773 s,@EXEEXT@,$EXEEXT,;t t
3774 s,@OBJEXT@,$OBJEXT,;t t
3775 s,@DEPDIR@,$DEPDIR,;t t
3776 s,@am__include@,$am__include,;t t
3777 s,@am__quote@,$am__quote,;t t
3778 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3779 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3780 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3781 s,@CCDEPMODE@,$CCDEPMODE,;t t
3783 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3784 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3785 s,@MAINT@,$MAINT,;t t
3790 cat >>$CONFIG_STATUS <<\_ACEOF
3791 # Split the substitutions into bite-sized pieces for seds with
3792 # small command number limits, like on Digital OSF/1 and HP-UX.
3794 ac_sed_frag
=1 # Number of current file.
3795 ac_beg
=1 # First line for current file.
3796 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3799 while $ac_more_lines; do
3800 if test $ac_beg -gt 1; then
3801 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3803 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3805 if test ! -s $tmp/subs.frag
; then
3808 # The purpose of the label and of the branching condition is to
3809 # speed up the sed processing (if there are no `@' at all, there
3810 # is no need to browse any of the substitutions).
3811 # These are the two extra sed commands mentioned above.
3813 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3814 if test -z "$ac_sed_cmds"; then
3815 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3817 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3819 ac_sed_frag
=`expr $ac_sed_frag + 1`
3821 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3824 if test -z "$ac_sed_cmds"; then
3827 fi # test -n "$CONFIG_FILES"
3830 cat >>$CONFIG_STATUS <<\_ACEOF
3831 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3832 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3834 - |
*:- |
*:-:* ) # input from stdin
3836 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3837 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3838 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3839 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3840 * ) ac_file_in
=$ac_file.
in ;;
3843 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3844 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3845 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3846 X"$ac_file" : 'X\(//\)[^/]' \| \
3847 X"$ac_file" : 'X\(//\)$' \| \
3848 X"$ac_file" : 'X\(/\)' \| \
3849 . : '\(.\)' 2>/dev/null ||
3851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3853 /^X\(\/\/\)$/{ s//\1/; q; }
3854 /^X\(\/\).*/{ s//\1/; q; }
3857 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3861 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3862 case $as_mkdir_dir in
3863 # Skip DOS drivespec
3864 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3866 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3867 test -d "$as_incr_dir" ||
3868 mkdir
"$as_incr_dir" ||
3869 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3870 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3871 { (exit 1); exit 1; }; }
3878 if test "$ac_dir" != .
; then
3879 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3880 # A "../" for each directory in $ac_dir_suffix.
3881 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3883 ac_dir_suffix
= ac_top_builddir
=
3887 .
) # No --srcdir option. We are building in place.
3889 if test -z "$ac_top_builddir"; then
3892 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
3894 [\\/]* | ?
:[\\/]* ) # Absolute path.
3895 ac_srcdir
=$srcdir$ac_dir_suffix;
3896 ac_top_srcdir
=$srcdir ;;
3898 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
3899 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
3901 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3903 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
3904 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3905 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3906 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3910 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3911 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
3914 if test x
"$ac_file" != x-
; then
3915 { echo "$as_me:$LINENO: creating $ac_file" >&5
3916 echo "$as_me: creating $ac_file" >&6;}
3919 # Let's still pretend it is `configure' which instantiates (i.e., don't
3920 # use $as_me), people would be surprised to read:
3921 # /* config.h. Generated by config.status. */
3922 if test x
"$ac_file" = x-
; then
3925 configure_input
="$ac_file. "
3927 configure_input
=$configure_input"Generated from `echo $ac_file_in |
3928 sed 's,.*/,,'` by configure."
3930 # First look for the input files in the build tree, otherwise in the
3932 ac_file_inputs
=`IFS=:
3933 for f in $ac_file_in; do
3935 -) echo $tmp/stdin ;;
3937 # Absolute (can't be DOS-style, as IFS=:)
3938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3939 echo "$as_me: error: cannot find input file: $f" >&2;}
3940 { (exit 1); exit 1; }; }
3943 if test -f "$f"; then
3946 elif test -f "$srcdir/$f"; then
3951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3952 echo "$as_me: error: cannot find input file: $f" >&2;}
3953 { (exit 1); exit 1; }; }
3956 done` ||
{ (exit 1); exit 1; }
3958 cat >>$CONFIG_STATUS <<_ACEOF
3962 cat >>$CONFIG_STATUS <<\_ACEOF
3964 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3965 s
,@configure_input@
,$configure_input,;t t
3966 s
,@srcdir@
,$ac_srcdir,;t t
3967 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
3968 s
,@top_srcdir@
,$ac_top_srcdir,;t t
3969 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
3970 s
,@builddir@
,$ac_builddir,;t t
3971 s
,@abs_builddir@
,$ac_abs_builddir,;t t
3972 s
,@top_builddir@
,$ac_top_builddir,;t t
3973 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
3974 s
,@INSTALL@
,$ac_INSTALL,;t t
3975 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3977 if test x"$ac_file" != x-; then
3978 mv $tmp/out $ac_file
3986 cat >>$CONFIG_STATUS <<\_ACEOF
3989 # CONFIG_HEADER section.
3992 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
3993 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3995 # ac_d sets the value in "#define NAME VALUE" lines.
3996 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3997 ac_dB
='[ ].*$,\1#\2'
4000 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4001 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4002 ac_uB
='$,\1#\2define\3'
4006 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4007 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4009 - |
*:- |
*:-:* ) # input from stdin
4011 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4013 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4014 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4015 * ) ac_file_in
=$ac_file.
in ;;
4018 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4019 echo "$as_me: creating $ac_file" >&6;}
4021 # First look for the input files in the build tree, otherwise in the
4023 ac_file_inputs
=`IFS=:
4024 for f in $ac_file_in; do
4026 -) echo $tmp/stdin ;;
4028 # Absolute (can't be DOS-style, as IFS=:)
4029 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4030 echo "$as_me: error: cannot find input file: $f" >&2;}
4031 { (exit 1); exit 1; }; }
4034 if test -f "$f"; then
4037 elif test -f "$srcdir/$f"; then
4042 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4043 echo "$as_me: error: cannot find input file: $f" >&2;}
4044 { (exit 1); exit 1; }; }
4047 done` ||
{ (exit 1); exit 1; }
4048 # Remove the trailing spaces.
4049 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4053 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4054 # `conftest.undefs', that substitutes the proper values into
4055 # config.h.in to produce config.h. The first handles `#define'
4056 # templates, and the second `#undef' templates.
4057 # And first: Protect against being on the right side of a sed subst in
4058 # config.status. Protect against being in an unquoted here document
4060 rm -f conftest.defines conftest.undefs
4061 # Using a here document instead of a string reduces the quoting nightmare.
4062 # Putting comments in sed scripts is not portable.
4064 # `end' is used to avoid that the second main sed command (meant for
4065 # 0-ary CPP macros) applies to n-ary macro definitions.
4066 # See the Autoconf documentation for `clear'.
4067 cat >confdef2sed.
sed <<\_ACEOF
4072 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4074 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4077 # If some macros were called several times there might be several times
4078 # the same #defines, which is useless. Nevertheless, we may not want to
4079 # sort them, since we want the *last* AC-DEFINE to be honored.
4080 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4081 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4082 rm -f confdef2sed.sed
4084 # This sed command replaces #undef with comments. This is necessary, for
4085 # example, in the case of _POSIX_SOURCE, which is predefined and required
4086 # on some systems where configure will not decide to define it.
4087 cat >>conftest.undefs <<\_ACEOF
4088 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4091 # Break up conftest.defines because some shells have a limit on the size
4092 # of here documents, and old seds have small limits too (100 cmds).
4093 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4094 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4095 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4096 echo ' :' >>$CONFIG_STATUS
4098 while grep . conftest.defines >/dev/null
4100 # Write a limited-size here document to $tmp/defines.sed.
4101 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4102 # Speed up: don't consider the non `#define' lines.
4103 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4104 # Work around the forget-to-reset-the-flag bug.
4105 echo 't clr' >>$CONFIG_STATUS
4106 echo ': clr' >>$CONFIG_STATUS
4107 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4109 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4113 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4114 rm -f conftest.defines
4115 mv conftest.
tail conftest.defines
4117 rm -f conftest.defines
4118 echo ' fi # egrep' >>$CONFIG_STATUS
4119 echo >>$CONFIG_STATUS
4121 # Break up conftest.undefs because some shells have a limit on the size
4122 # of here documents, and old seds have small limits too (100 cmds).
4123 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4125 while grep . conftest.undefs
>/dev
/null
4127 # Write a limited-size here document to $tmp/undefs.sed.
4128 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4129 # Speed up: don't consider the non
`#undef'
4130 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4131 # Work around the forget-to-reset-the-flag bug.
4132 echo 't clr' >>$CONFIG_STATUS
4133 echo ': clr' >>$CONFIG_STATUS
4134 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4136 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4140 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4141 rm -f conftest.undefs
4142 mv conftest.tail conftest.undefs
4144 rm -f conftest.undefs
4146 cat >>$CONFIG_STATUS <<\_ACEOF
4147 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4148 # use $as_me), people would be surprised to read:
4149 # /* config.h. Generated by config.status. */
4150 if test x
"$ac_file" = x-
; then
4151 echo "/* Generated by configure. */" >$tmp/config.h
4153 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4155 cat $tmp/in >>$tmp/config.h
4157 if test x
"$ac_file" != x-
; then
4158 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
4159 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4160 echo "$as_me: $ac_file is unchanged" >&6;}
4162 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4163 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4164 X"$ac_file" : 'X\(//\)[^/]' \| \
4165 X"$ac_file" : 'X\(//\)$' \| \
4166 X"$ac_file" : 'X\(/\)' \| \
4167 . : '\(.\)' 2>/dev/null ||
4169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4171 /^X\(\/\/\)$/{ s//\1/; q; }
4172 /^X\(\/\).*/{ s//\1/; q; }
4175 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
4179 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4180 case $as_mkdir_dir in
4181 # Skip DOS drivespec
4182 ?
:) as_incr_dir
=$as_mkdir_dir ;;
4184 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
4185 test -d "$as_incr_dir" ||
4186 mkdir
"$as_incr_dir" ||
4187 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4188 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4189 { (exit 1); exit 1; }; }
4195 mv $tmp/config.h
$ac_file
4201 # Run the commands associated with the file.
4203 calc.h
) # update the timestamp
4204 echo 'timestamp for calc.h' >"./stamp-h1"
4209 cat >>$CONFIG_STATUS <<\_ACEOF
4212 # CONFIG_COMMANDS section.
4214 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
4215 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
4216 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4217 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
4218 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4219 X"$ac_dest" : 'X\(//\)[^/]' \| \
4220 X"$ac_dest" : 'X\(//\)$' \| \
4221 X"$ac_dest" : 'X\(/\)' \| \
4222 . : '\(.\)' 2>/dev/null ||
4224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4226 /^X\(\/\/\)$/{ s//\1/; q; }
4227 /^X\(\/\).*/{ s//\1/; q; }
4231 if test "$ac_dir" != .
; then
4232 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4233 # A "../" for each directory in $ac_dir_suffix.
4234 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4236 ac_dir_suffix
= ac_top_builddir
=
4240 .
) # No --srcdir option. We are building in place.
4242 if test -z "$ac_top_builddir"; then
4245 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4247 [\\/]* | ?
:[\\/]* ) # Absolute path.
4248 ac_srcdir
=$srcdir$ac_dir_suffix;
4249 ac_top_srcdir
=$srcdir ;;
4251 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4252 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4254 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4256 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
4257 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4258 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4259 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4262 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4263 echo "$as_me: executing $ac_dest commands" >&6;}
4265 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
4266 # Strip MF so we end up with the name of the file.
4267 mf
=`echo "$mf" | sed -e 's/:.*$//'`
4268 if (sed 1q
$mf | fgrep
'generated by automake') > /dev
/null
2>&1; then
4269 dirpart
=`(dirname "$mf") 2>/dev/null ||
4270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4271 X"$mf" : 'X\(//\)[^/]' \| \
4272 X"$mf" : 'X\(//\)$' \| \
4273 X"$mf" : 'X\(/\)' \| \
4274 . : '\(.\)' 2>/dev/null ||
4276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4278 /^X\(\/\/\)$/{ s//\1/; q; }
4279 /^X\(\/\).*/{ s//\1/; q; }
4284 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
4285 # Extract the definition of DEP_FILES from the Makefile without
4287 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4288 test -z "$DEPDIR" && continue
4289 # When using ansi2knr, U may be empty or an underscore; expand it
4290 U
=`sed -n -e '/^U = / s///p' < "$mf"`
4291 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
4292 # We invoke sed twice because it is the simplest approach to
4293 # changing $(DEPDIR) to its actual value in the expansion.
4294 for file in `sed -n -e '
4295 /^DEP_FILES = .*\\\\$/ {
4304 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4305 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4306 # Make sure the directory exists.
4307 test -f "$dirpart/$file" && continue
4308 fdir
=`(dirname "$file") 2>/dev/null ||
4309 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4310 X"$file" : 'X\(//\)[^/]' \| \
4311 X"$file" : 'X\(//\)$' \| \
4312 X"$file" : 'X\(/\)' \| \
4313 . : '\(.\)' 2>/dev/null ||
4315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4317 /^X\(\/\/\)$/{ s//\1/; q; }
4318 /^X\(\/\).*/{ s//\1/; q; }
4320 { case $dirpart/$fdir in
4321 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
4324 as_dummy
=$dirpart/$fdir
4325 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4326 case $as_mkdir_dir in
4327 # Skip DOS drivespec
4328 ?
:) as_incr_dir
=$as_mkdir_dir ;;
4330 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
4331 test -d "$as_incr_dir" ||
4332 mkdir
"$as_incr_dir" ||
4333 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
4334 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
4335 { (exit 1); exit 1; }; }
4340 # echo "creating $dirpart/$file"
4341 echo '# dummy' > "$dirpart/$file"
4349 cat >>$CONFIG_STATUS <<\_ACEOF
4351 { (exit 0); exit 0; }
4353 chmod +x
$CONFIG_STATUS
4354 ac_clean_files
=$ac_clean_files_save
4357 # configure is writing to config.log, and then calls config.status.
4358 # config.status does its own redirection, appending to config.log.
4359 # Unfortunately, on DOS this fails, as config.log is still kept open
4360 # by configure, so config.status won't be able to write to it; its
4361 # output is simply discarded. So we exec the FD to /dev/null,
4362 # effectively closing config.log, so it can be properly (re)opened and
4363 # appended to by config.status. When coming back to configure, we
4364 # need to make the FD available again.
4365 if test "$no_create" != yes; then
4368 $SHELL $CONFIG_STATUS || ac_cs_success
=false
4370 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4371 # would make configure fail if this is the last instruction.
4372 $ac_cs_success ||
{ (exit 1); exit 1; }