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
="bpalogin.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]
818 if test -n "$ac_init_help"; then
822 Some influential environment variables
:
823 CC C compiler
command
824 CFLAGS C compiler flags
825 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
826 nonstandard directory
<lib dir
>
827 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
828 headers
in a nonstandard directory
<include dir
>
831 Use these variables to override the choices made by
`configure' or to help
832 it to find libraries and programs with nonstandard names/locations.
837 if test "$ac_init_help" = "recursive"; then
838 # If there are subdirs, report their specific --help.
840 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
841 test -d $ac_dir || continue
844 if test "$ac_dir" != .; then
845 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
846 # A "../" for each directory in $ac_dir_suffix.
847 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
849 ac_dir_suffix= ac_top_builddir=
853 .) # No --srcdir option. We are building in place.
855 if test -z "$ac_top_builddir"; then
858 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
860 [\\/]* | ?:[\\/]* ) # Absolute path.
861 ac_srcdir=$srcdir$ac_dir_suffix;
862 ac_top_srcdir=$srcdir ;;
864 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
865 ac_top_srcdir=$ac_top_builddir$srcdir ;;
867 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
869 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
870 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
871 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
872 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
875 # Check for guested configure; otherwise get Cygnus style configure.
876 if test -f $ac_srcdir/configure.gnu; then
878 $SHELL $ac_srcdir/configure.gnu --help=recursive
879 elif test -f $ac_srcdir/configure; then
881 $SHELL $ac_srcdir/configure --help=recursive
882 elif test -f $ac_srcdir/configure.ac ||
883 test -f $ac_srcdir/configure.in; then
887 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
893 test -n "$ac_init_help" && exit 0
894 if $ac_init_version; then
897 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
898 Free Software Foundation, Inc.
899 This configure script is free software; the Free Software Foundation
900 gives unlimited permission to copy, distribute and modify it.
906 This file contains any messages produced by compilers while
907 running configure, to aid debugging if configure makes a mistake.
909 It was created by $as_me, which was
910 generated by GNU Autoconf 2.53. Invocation command line was
921 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
922 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
923 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
924 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
925 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
927 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
928 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
930 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
931 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
932 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
933 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
934 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
935 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
936 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
944 test -z "$as_dir" && as_dir=.
960 # Keep a trace of the command line.
961 # Strip out --no-create and --no-recursion so they do not pile up.
962 # Also quote any args containing shell meta-characters.
968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969 | --no-cr | --no-c | -n ) continue ;;
970 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
971 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
974 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
976 case " $ac_configure_args " in
977 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
978 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
981 # Get rid of the leading space.
984 # When interrupted or exit'd, cleanup temporary files, and complete
985 # config.log. We remove comments because anyway the quotes in there
986 # would cause problems or look ugly.
987 # WARNING: Be sure not to use single quotes in there, as some shells,
988 # such as our DU 5.0 friend, will then `close
' the trap.
990 # Save into config.log some information that might help in debugging.
994 ## ---------------- ##
995 ## Cache variables. ##
996 ## ---------------- ##
999 # The following way of writing the cache mishandles newlines in values,
1002 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1005 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1010 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1015 if test -s confdefs.h
; then
1022 sed "/^$/d" confdefs.h
1025 test "$ac_signal" != 0 &&
1026 echo "$as_me: caught signal $ac_signal"
1027 echo "$as_me: exit $exit_status"
1029 rm -f core core.
* *.core
&&
1030 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1033 for ac_signal in 1 2 13 15; do
1034 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1038 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1039 rm -rf conftest* confdefs.h
1040 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1043 # Predefined preprocessor variables.
1045 cat >>confdefs.h <<_ACEOF
1046 #define PACKAGE_NAME "$PACKAGE_NAME"
1050 cat >>confdefs.h <<_ACEOF
1051 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1055 cat >>confdefs.h <<_ACEOF
1056 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1060 cat >>confdefs.h <<_ACEOF
1061 #define PACKAGE_STRING "$PACKAGE_STRING"
1065 cat >>confdefs.h <<_ACEOF
1066 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1070 # Let the site file select an alternate cache file if it wants to.
1071 # Prefer explicitly selected file to automatically selected ones.
1072 if test -z "$CONFIG_SITE"; then
1073 if test "x$prefix" != xNONE; then
1074 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1076 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1079 for ac_site_file in $CONFIG_SITE; do
1080 if test -r "$ac_site_file"; then
1081 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1082 echo "$as_me: loading site script $ac_site_file" >&6;}
1083 sed 's
/^
/|
/' "$ac_site_file" >&5
1088 if test -r "$cache_file"; then
1089 # Some versions of bash will fail to source /dev/null (special
1090 # files actually), so we avoid doing that.
1091 if test -f "$cache_file"; then
1092 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1093 echo "$as_me: loading cache $cache_file" >&6;}
1095 [\\/]* | ?:[\\/]* ) . $cache_file;;
1096 *) . ./$cache_file;;
1100 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1101 echo "$as_me: creating cache $cache_file" >&6;}
1105 # Check that the precious variables saved in the cache have kept the same
1107 ac_cache_corrupted=false
1108 for ac_var in `(set) 2>&1 |
1109 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1110 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1111 eval ac_new_set=\$ac_env_${ac_var}_set
1112 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1113 eval ac_new_val="\$ac_env_${ac_var}_value"
1114 case $ac_old_set,$ac_new_set in
1116 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1117 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1118 ac_cache_corrupted=: ;;
1120 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1121 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1122 ac_cache_corrupted=: ;;
1125 if test "x$ac_old_val" != "x$ac_new_val"; then
1126 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1127 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1128 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1129 echo "$as_me: former value: $ac_old_val" >&2;}
1130 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1131 echo "$as_me: current value: $ac_new_val" >&2;}
1132 ac_cache_corrupted=:
1135 # Pass precious variables to config.status.
1136 if test "$ac_new_set" = set; then
1138 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1139 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1140 *) ac_arg=$ac_var=$ac_new_val ;;
1142 case " $ac_configure_args " in
1143 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1144 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1148 if $ac_cache_corrupted; then
1149 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1150 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1151 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1152 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1153 { (exit 1); exit 1; }; }
1157 ac_cpp='$CPP $CPPFLAGS'
1158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1159 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1181 ac_cpp='$CPP $CPPFLAGS'
1182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1183 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1185 if test -n "$ac_tool_prefix"; then
1186 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1187 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1188 echo "$as_me:$LINENO: checking for $ac_word" >&5
1189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1190 if test "${ac_cv_prog_CC+set}" = set; then
1191 echo $ECHO_N "(cached) $ECHO_C" >&6
1193 if test -n "$CC"; then
1194 ac_cv_prog_CC="$CC" # Let the user override the test.
1196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1200 test -z "$as_dir" && as_dir=.
1201 for ac_exec_ext in '' $ac_executable_extensions; do
1202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1203 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1213 if test -n "$CC"; then
1214 echo "$as_me:$LINENO: result: $CC" >&5
1215 echo "${ECHO_T}$CC" >&6
1217 echo "$as_me:$LINENO: result: no" >&5
1218 echo "${ECHO_T}no" >&6
1222 if test -z "$ac_cv_prog_CC"; then
1224 # Extract the first word of "gcc", so it can be a program name with args.
1225 set dummy gcc; ac_word=$2
1226 echo "$as_me:$LINENO: checking for $ac_word" >&5
1227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1229 echo $ECHO_N "(cached) $ECHO_C" >&6
1231 if test -n "$ac_ct_CC"; then
1232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 test -z "$as_dir" && as_dir=.
1239 for ac_exec_ext in '' $ac_executable_extensions; do
1240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1241 ac_cv_prog_ac_ct_CC="gcc"
1242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1250 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1251 if test -n "$ac_ct_CC"; then
1252 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1253 echo "${ECHO_T}$ac_ct_CC" >&6
1255 echo "$as_me:$LINENO: result: no" >&5
1256 echo "${ECHO_T}no" >&6
1264 if test -z "$CC"; then
1265 if test -n "$ac_tool_prefix"; then
1266 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}cc; ac_word=$2
1268 echo "$as_me:$LINENO: checking for $ac_word" >&5
1269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1270 if test "${ac_cv_prog_CC+set}" = set; then
1271 echo $ECHO_N "(cached) $ECHO_C" >&6
1273 if test -n "$CC"; then
1274 ac_cv_prog_CC="$CC" # Let the user override the test.
1276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1280 test -z "$as_dir" && as_dir=.
1281 for ac_exec_ext in '' $ac_executable_extensions; do
1282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1283 ac_cv_prog_CC="${ac_tool_prefix}cc"
1284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1293 if test -n "$CC"; then
1294 echo "$as_me:$LINENO: result: $CC" >&5
1295 echo "${ECHO_T}$CC" >&6
1297 echo "$as_me:$LINENO: result: no" >&5
1298 echo "${ECHO_T}no" >&6
1302 if test -z "$ac_cv_prog_CC"; then
1304 # Extract the first word of "cc", so it can be a program name with args.
1305 set dummy cc; ac_word=$2
1306 echo "$as_me:$LINENO: checking for $ac_word" >&5
1307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1309 echo $ECHO_N "(cached) $ECHO_C" >&6
1311 if test -n "$ac_ct_CC"; then
1312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 test -z "$as_dir" && as_dir=.
1319 for ac_exec_ext in '' $ac_executable_extensions; do
1320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1321 ac_cv_prog_ac_ct_CC="cc"
1322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1331 if test -n "$ac_ct_CC"; then
1332 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1333 echo "${ECHO_T}$ac_ct_CC" >&6
1335 echo "$as_me:$LINENO: result: no" >&5
1336 echo "${ECHO_T}no" >&6
1345 if test -z "$CC"; then
1346 # Extract the first word of "cc", so it can be a program name with args.
1347 set dummy cc; ac_word=$2
1348 echo "$as_me:$LINENO: checking for $ac_word" >&5
1349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1350 if test "${ac_cv_prog_CC+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 if test -n "$CC"; then
1354 ac_cv_prog_CC="$CC" # Let the user override the test.
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 test -z "$as_dir" && as_dir=.
1362 for ac_exec_ext in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1364 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1365 ac_prog_rejected=yes
1369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1375 if test $ac_prog_rejected = yes; then
1376 # We found a bogon in the path, so make sure we never use it.
1377 set dummy $ac_cv_prog_CC
1379 if test $# != 0; then
1380 # We chose a different compiler from the bogus one.
1381 # However, it has the same basename, so the bogon will be chosen
1382 # first if we set CC to just the basename; use the full file name.
1384 set dummy "$as_dir/$ac_word" ${1+"$@"}
1392 if test -n "$CC"; then
1393 echo "$as_me:$LINENO: result: $CC" >&5
1394 echo "${ECHO_T}$CC" >&6
1396 echo "$as_me:$LINENO: result: no" >&5
1397 echo "${ECHO_T}no" >&6
1401 if test -z "$CC"; then
1402 if test -n "$ac_tool_prefix"; then
1405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1407 echo "$as_me:$LINENO: checking for $ac_word" >&5
1408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1409 if test "${ac_cv_prog_CC+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 if test -n "$CC"; then
1413 ac_cv_prog_CC="$CC" # Let the user override the test.
1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 test -z "$as_dir" && as_dir=.
1420 for ac_exec_ext in '' $ac_executable_extensions; do
1421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1432 if test -n "$CC"; then
1433 echo "$as_me:$LINENO: result: $CC" >&5
1434 echo "${ECHO_T}$CC" >&6
1436 echo "$as_me:$LINENO: result: no" >&5
1437 echo "${ECHO_T}no" >&6
1440 test -n "$CC" && break
1443 if test -z "$CC"; then
1447 # Extract the first word of "$ac_prog", so it can be a program name with args.
1448 set dummy $ac_prog; ac_word=$2
1449 echo "$as_me:$LINENO: checking for $ac_word" >&5
1450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 if test -n "$ac_ct_CC"; then
1455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1464 ac_cv_prog_ac_ct_CC="$ac_prog"
1465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1474 if test -n "$ac_ct_CC"; then
1475 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1476 echo "${ECHO_T}$ac_ct_CC" >&6
1478 echo "$as_me:$LINENO: result: no" >&5
1479 echo "${ECHO_T}no" >&6
1482 test -n "$ac_ct_CC" && break
1491 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1492 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1493 { (exit 1); exit 1; }; }
1495 # Provide some information about the compiler.
1496 echo "$as_me:$LINENO:" \
1497 "checking for C compiler version" >&5
1498 ac_compiler=`set X $ac_compile; echo $2`
1499 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1500 (eval $ac_compiler --version </dev/null >&5) 2>&5
1502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1503 (exit $ac_status); }
1504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1505 (eval $ac_compiler -v </dev/null >&5) 2>&5
1507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1508 (exit $ac_status); }
1509 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1510 (eval $ac_compiler -V </dev/null >&5) 2>&5
1512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1513 (exit $ac_status); }
1515 cat >conftest.$ac_ext <<_ACEOF
1516 #line $LINENO "configure"
1517 #include "confdefs.h"
1519 #ifdef F77_DUMMY_MAIN
1523 int F77_DUMMY_MAIN() { return 1; }
1533 ac_clean_files_save=$ac_clean_files
1534 ac_clean_files="$ac_clean_files a.out a.exe"
1535 # Try to create an executable without -o first, disregard a.out.
1536 # It will help us diagnose broken compilers, and finding out an intuition
1538 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1539 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1540 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1541 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1542 (eval $ac_link_default) 2>&5
1544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1545 (exit $ac_status); }; then
1546 # Find the output, starting from the most likely. This scheme is
1547 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1550 # Be careful to initialize this variable, since it used to be cached.
1551 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1553 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1554 ls a.out conftest 2>/dev/null;
1555 ls a.* conftest.* 2>/dev/null`; do
1557 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1558 a.out
) # We found the default executable, but exeext='' is most
1561 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1562 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1569 echo "$as_me: failed program was:" >&5
1570 cat conftest.
$ac_ext >&5
1571 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1572 echo "$as_me: error: C compiler cannot create executables" >&2;}
1573 { (exit 77); exit 77; }; }
1576 ac_exeext
=$ac_cv_exeext
1577 echo "$as_me:$LINENO: result: $ac_file" >&5
1578 echo "${ECHO_T}$ac_file" >&6
1580 # Check the compiler produces executables we can run. If not, either
1581 # the compiler is broken, or we cross compile.
1582 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1583 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1584 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1585 # If not cross compiling, check that we can run a simple program.
1586 if test "$cross_compiling" != yes; then
1587 if { ac_try
='./$ac_file'
1588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1592 (exit $ac_status); }; }; then
1595 if test "$cross_compiling" = maybe
; then
1598 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1599 If you meant to cross compile, use \`--host'." >&5
1600 echo "$as_me: error: cannot run C compiled programs.
1601 If you meant to cross compile, use \`--host'." >&2;}
1602 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: result: yes" >&5
1607 echo "${ECHO_T}yes" >&6
1609 rm -f a.out a.exe conftest
$ac_cv_exeext
1610 ac_clean_files
=$ac_clean_files_save
1611 # Check the compiler produces executables we can run. If not, either
1612 # the compiler is broken, or we cross compile.
1613 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1614 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1615 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1616 echo "${ECHO_T}$cross_compiling" >&6
1618 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1619 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1621 (eval $ac_link) 2>&5
1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1624 (exit $ac_status); }; then
1625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1627 # work properly (i.e., refer to `conftest.exe'), while it won't with
1629 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1631 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1632 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1639 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1640 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1641 { (exit 1); exit 1; }; }
1644 rm -f conftest
$ac_cv_exeext
1645 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1646 echo "${ECHO_T}$ac_cv_exeext" >&6
1648 rm -f conftest.
$ac_ext
1649 EXEEXT
=$ac_cv_exeext
1651 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1652 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1653 if test "${ac_cv_objext+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 cat >conftest.
$ac_ext <<_ACEOF
1657 #line $LINENO "configure"
1658 #include "confdefs.h"
1660 #ifdef F77_DUMMY_MAIN
1664 int F77_DUMMY_MAIN() { return 1; }
1674 rm -f conftest.o conftest.obj
1675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1676 (eval $ac_compile) 2>&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; then
1680 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1682 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1683 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1688 echo "$as_me: failed program was:" >&5
1689 cat conftest.
$ac_ext >&5
1690 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1691 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1692 { (exit 1); exit 1; }; }
1695 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1697 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1698 echo "${ECHO_T}$ac_cv_objext" >&6
1699 OBJEXT
=$ac_cv_objext
1701 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1702 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1703 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 cat >conftest.
$ac_ext <<_ACEOF
1707 #line $LINENO "configure"
1708 #include "confdefs.h"
1710 #ifdef F77_DUMMY_MAIN
1714 int F77_DUMMY_MAIN() { return 1; }
1727 rm -f conftest.
$ac_objext
1728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1729 (eval $ac_compile) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); } &&
1733 { ac_try
='test -s conftest.$ac_objext'
1734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }; }; then
1741 echo "$as_me: failed program was:" >&5
1742 cat conftest.
$ac_ext >&5
1745 rm -f conftest.
$ac_objext conftest.
$ac_ext
1746 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1749 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1750 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1751 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1752 ac_test_CFLAGS
=${CFLAGS+set}
1753 ac_save_CFLAGS
=$CFLAGS
1755 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1756 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1757 if test "${ac_cv_prog_cc_g+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 cat >conftest.
$ac_ext <<_ACEOF
1761 #line $LINENO "configure"
1762 #include "confdefs.h"
1764 #ifdef F77_DUMMY_MAIN
1768 int F77_DUMMY_MAIN() { return 1; }
1778 rm -f conftest.
$ac_objext
1779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1780 (eval $ac_compile) 2>&5
1782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783 (exit $ac_status); } &&
1784 { ac_try
='test -s conftest.$ac_objext'
1785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; }; then
1792 echo "$as_me: failed program was:" >&5
1793 cat conftest.
$ac_ext >&5
1796 rm -f conftest.
$ac_objext conftest.
$ac_ext
1798 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1799 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1800 if test "$ac_test_CFLAGS" = set; then
1801 CFLAGS
=$ac_save_CFLAGS
1802 elif test $ac_cv_prog_cc_g = yes; then
1803 if test "$GCC" = yes; then
1809 if test "$GCC" = yes; then
1815 # Some people use a C++ compiler to compile C. Since we use `exit',
1816 # in C++ we need to declare it. In case someone uses the same compiler
1817 # for both compiling C and C++ we need to have the C++ compiler decide
1818 # the declaration of exit, since it's the most demanding environment.
1819 cat >conftest.
$ac_ext <<_ACEOF
1824 rm -f conftest.
$ac_objext
1825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1826 (eval $ac_compile) 2>&5
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); } &&
1830 { ac_try
='test -s conftest.$ac_objext'
1831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 (exit $ac_status); }; }; then
1836 for ac_declaration
in \
1838 '#include <stdlib.h>' \
1839 'extern "C" void std::exit (int) throw (); using std::exit;' \
1840 'extern "C" void std::exit (int); using std::exit;' \
1841 'extern "C" void exit (int) throw ();' \
1842 'extern "C" void exit (int);' \
1845 cat >conftest.
$ac_ext <<_ACEOF
1846 #line $LINENO "configure"
1847 #include "confdefs.h"
1850 #ifdef F77_DUMMY_MAIN
1854 int F77_DUMMY_MAIN() { return 1; }
1864 rm -f conftest.
$ac_objext
1865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1866 (eval $ac_compile) 2>&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); } &&
1870 { ac_try
='test -s conftest.$ac_objext'
1871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 (exit $ac_status); }; }; then
1878 echo "$as_me: failed program was:" >&5
1879 cat conftest.
$ac_ext >&5
1882 rm -f conftest.
$ac_objext conftest.
$ac_ext
1883 cat >conftest.
$ac_ext <<_ACEOF
1884 #line $LINENO "configure"
1885 #include "confdefs.h"
1887 #ifdef F77_DUMMY_MAIN
1891 int F77_DUMMY_MAIN() { return 1; }
1901 rm -f conftest.
$ac_objext
1902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1903 (eval $ac_compile) 2>&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); } &&
1907 { ac_try
='test -s conftest.$ac_objext'
1908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 (exit $ac_status); }; }; then
1915 echo "$as_me: failed program was:" >&5
1916 cat conftest.
$ac_ext >&5
1918 rm -f conftest.
$ac_objext conftest.
$ac_ext
1921 if test -n "$ac_declaration"; then
1922 echo '#ifdef __cplusplus' >>confdefs.h
1923 echo $ac_declaration >>confdefs.h
1924 echo '#endif' >>confdefs.h
1928 echo "$as_me: failed program was:" >&5
1929 cat conftest.
$ac_ext >&5
1931 rm -f conftest.
$ac_objext conftest.
$ac_ext
1933 ac_cpp
='$CPP $CPPFLAGS'
1934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1939 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1940 if test -f $ac_dir/install-sh
; then
1942 ac_install_sh
="$ac_aux_dir/install-sh -c"
1944 elif test -f $ac_dir/install.sh
; then
1946 ac_install_sh
="$ac_aux_dir/install.sh -c"
1948 elif test -f $ac_dir/shtool
; then
1950 ac_install_sh
="$ac_aux_dir/shtool install -c"
1954 if test -z "$ac_aux_dir"; then
1955 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1956 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1957 { (exit 1); exit 1; }; }
1959 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1960 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1961 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1963 # Find a good install program. We prefer a C program (faster),
1964 # so one script is as good as another. But avoid the broken or
1965 # incompatible versions:
1966 # SysV /etc/install, /usr/sbin/install
1967 # SunOS /usr/etc/install
1968 # IRIX /sbin/install
1970 # AmigaOS /C/install, which installs bootblocks on floppy discs
1971 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1972 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1973 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1974 # ./install, which can be erroneously created by make from ./install.sh.
1975 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1977 if test -z "$INSTALL"; then
1978 if test "${ac_cv_path_install+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 # Account for people who put trailing slashes in PATH elements.
1988 .
/ | .
// |
/cC
/* | \
1989 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1992 # OSF1 and SCO ODT 3.0 have their own names for install.
1993 # Don't use installbsd from OSF since it installs stuff as root
1995 for ac_prog
in ginstall scoinst
install; do
1996 for ac_exec_ext
in '' $ac_executable_extensions; do
1997 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1998 if test $ac_prog = install &&
1999 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2000 # AIX install. It has an incompatible calling convention.
2002 elif test $ac_prog = install &&
2003 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2004 # program-specific install script used by HP pwplus--don't use.
2007 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2019 if test "${ac_cv_path_install+set}" = set; then
2020 INSTALL
=$ac_cv_path_install
2022 # As a last resort, use the slow shell script. We don't cache a
2023 # path for INSTALL within a source directory, because that will
2024 # break other packages using the cache if that directory is
2025 # removed, or if the path is relative.
2026 INSTALL
=$ac_install_sh
2029 echo "$as_me:$LINENO: result: $INSTALL" >&5
2030 echo "${ECHO_T}$INSTALL" >&6
2032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2033 # It thinks the first close brace ends the variable substitution.
2034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2038 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2044 ac_cpp
='$CPP $CPPFLAGS'
2045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2048 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2050 # On Suns, sometimes $CPP names a directory.
2051 if test -n "$CPP" && test -d "$CPP"; then
2054 if test -z "$CPP"; then
2055 if test "${ac_cv_prog_CPP+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 # Double quotes because CPP needs to be expanded
2059 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2062 for ac_c_preproc_warn_flag
in '' yes
2064 # Use a header file that comes with gcc, so configuring glibc
2065 # with a fresh cross-compiler works.
2066 # On the NeXT, cc -E runs the code through the compiler's parser,
2067 # not just through cpp. "Syntax error" is here to catch this case.
2068 cat >conftest.
$ac_ext <<_ACEOF
2069 #line $LINENO "configure"
2070 #include "confdefs.h"
2074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2077 egrep -v '^ *\+' conftest.er1
>conftest.err
2079 cat conftest.err
>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); } >/dev
/null
; then
2082 if test -s conftest.err
; then
2083 ac_cpp_err
=$ac_c_preproc_warn_flag
2090 if test -z "$ac_cpp_err"; then
2093 echo "$as_me: failed program was:" >&5
2094 cat conftest.
$ac_ext >&5
2095 # Broken: fails on valid input.
2098 rm -f conftest.err conftest.
$ac_ext
2100 # OK, works on sane cases. Now check whether non-existent headers
2101 # can be detected and how.
2102 cat >conftest.
$ac_ext <<_ACEOF
2103 #line $LINENO "configure"
2104 #include "confdefs.h"
2105 #include <ac_nonexistent.h>
2107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2110 egrep -v '^ *\+' conftest.er1
>conftest.err
2112 cat conftest.err
>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); } >/dev
/null
; then
2115 if test -s conftest.err
; then
2116 ac_cpp_err
=$ac_c_preproc_warn_flag
2123 if test -z "$ac_cpp_err"; then
2124 # Broken: success on invalid input.
2127 echo "$as_me: failed program was:" >&5
2128 cat conftest.
$ac_ext >&5
2129 # Passes both tests.
2133 rm -f conftest.err conftest.
$ac_ext
2136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2137 rm -f conftest.err conftest.
$ac_ext
2138 if $ac_preproc_ok; then
2150 echo "$as_me:$LINENO: result: $CPP" >&5
2151 echo "${ECHO_T}$CPP" >&6
2153 for ac_c_preproc_warn_flag
in '' yes
2155 # Use a header file that comes with gcc, so configuring glibc
2156 # with a fresh cross-compiler works.
2157 # On the NeXT, cc -E runs the code through the compiler's parser,
2158 # not just through cpp. "Syntax error" is here to catch this case.
2159 cat >conftest.
$ac_ext <<_ACEOF
2160 #line $LINENO "configure"
2161 #include "confdefs.h"
2165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2168 egrep -v '^ *\+' conftest.er1
>conftest.err
2170 cat conftest.err
>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } >/dev
/null
; then
2173 if test -s conftest.err
; then
2174 ac_cpp_err
=$ac_c_preproc_warn_flag
2181 if test -z "$ac_cpp_err"; then
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.
$ac_ext >&5
2186 # Broken: fails on valid input.
2189 rm -f conftest.err conftest.
$ac_ext
2191 # OK, works on sane cases. Now check whether non-existent headers
2192 # can be detected and how.
2193 cat >conftest.
$ac_ext <<_ACEOF
2194 #line $LINENO "configure"
2195 #include "confdefs.h"
2196 #include <ac_nonexistent.h>
2198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2201 egrep -v '^ *\+' conftest.er1
>conftest.err
2203 cat conftest.err
>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } >/dev
/null
; then
2206 if test -s conftest.err
; then
2207 ac_cpp_err
=$ac_c_preproc_warn_flag
2214 if test -z "$ac_cpp_err"; then
2215 # Broken: success on invalid input.
2218 echo "$as_me: failed program was:" >&5
2219 cat conftest.
$ac_ext >&5
2220 # Passes both tests.
2224 rm -f conftest.err conftest.
$ac_ext
2227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2228 rm -f conftest.err conftest.
$ac_ext
2229 if $ac_preproc_ok; then
2232 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2233 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2234 { (exit 1); exit 1; }; }
2238 ac_cpp
='$CPP $CPPFLAGS'
2239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2244 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2245 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2246 if test "${ac_cv_header_stdc+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 cat >conftest.
$ac_ext <<_ACEOF
2250 #line $LINENO "configure"
2251 #include "confdefs.h"
2258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2261 egrep -v '^ *\+' conftest.er1
>conftest.err
2263 cat conftest.err
>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } >/dev
/null
; then
2266 if test -s conftest.err
; then
2267 ac_cpp_err
=$ac_c_preproc_warn_flag
2274 if test -z "$ac_cpp_err"; then
2275 ac_cv_header_stdc
=yes
2277 echo "$as_me: failed program was:" >&5
2278 cat conftest.
$ac_ext >&5
2279 ac_cv_header_stdc
=no
2281 rm -f conftest.err conftest.
$ac_ext
2283 if test $ac_cv_header_stdc = yes; then
2284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2285 cat >conftest.
$ac_ext <<_ACEOF
2286 #line $LINENO "configure"
2287 #include "confdefs.h"
2291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2292 egrep "memchr" >/dev
/null
2>&1; then
2295 ac_cv_header_stdc
=no
2301 if test $ac_cv_header_stdc = yes; then
2302 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2303 cat >conftest.
$ac_ext <<_ACEOF
2304 #line $LINENO "configure"
2305 #include "confdefs.h"
2309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2310 egrep "free" >/dev
/null
2>&1; then
2313 ac_cv_header_stdc
=no
2319 if test $ac_cv_header_stdc = yes; then
2320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2321 if test "$cross_compiling" = yes; then
2324 cat >conftest.
$ac_ext <<_ACEOF
2325 #line $LINENO "configure"
2326 #include "confdefs.h"
2328 #if ((' ' & 0x0FF) == 0x020)
2329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2332 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2333 || ('j' <= (c) && (c) <= 'r') \
2334 || ('s' <= (c) && (c) <= 'z'))
2335 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2338 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2343 for (i = 0; i < 256; i++)
2344 if (XOR (islower (i), ISLOWER (i))
2345 || toupper (i) != TOUPPER (i))
2350 rm -f conftest
$ac_exeext
2351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2352 (eval $ac_link) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: program exited with status $ac_status" >&5
2364 echo "$as_me: failed program was:" >&5
2365 cat conftest.
$ac_ext >&5
2367 ac_cv_header_stdc
=no
2369 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2373 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2374 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2375 if test $ac_cv_header_stdc = yes; then
2377 cat >>confdefs.h
<<\_ACEOF
2378 #define STDC_HEADERS 1
2383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2393 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2394 inttypes.h stdint.h unistd.h
2396 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2397 echo "$as_me:$LINENO: checking for $ac_header" >&5
2398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 cat >conftest.
$ac_ext <<_ACEOF
2403 #line $LINENO "configure"
2404 #include "confdefs.h"
2405 $ac_includes_default
2407 #include <$ac_header>
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 eval "$as_ac_Header=yes"
2423 echo "$as_me: failed program was:" >&5
2424 cat conftest.
$ac_ext >&5
2425 eval "$as_ac_Header=no"
2427 rm -f conftest.
$ac_objext conftest.
$ac_ext
2429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2432 cat >>confdefs.h
<<_ACEOF
2433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2444 for ac_header
in sys
/time.h syslog.h unistd.h
2446 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2448 echo "$as_me:$LINENO: checking for $ac_header" >&5
2449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2456 # Is the header compilable?
2457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2459 cat >conftest.
$ac_ext <<_ACEOF
2460 #line $LINENO "configure"
2461 #include "confdefs.h"
2462 $ac_includes_default
2463 #include <$ac_header>
2465 rm -f conftest.
$ac_objext
2466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2467 (eval $ac_compile) 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); } &&
2471 { ac_try
='test -s conftest.$ac_objext'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; }; then
2477 ac_header_compiler
=yes
2479 echo "$as_me: failed program was:" >&5
2480 cat conftest.
$ac_ext >&5
2481 ac_header_compiler
=no
2483 rm -f conftest.
$ac_objext conftest.
$ac_ext
2484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2485 echo "${ECHO_T}$ac_header_compiler" >&6
2487 # Is the header present?
2488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2490 cat >conftest.
$ac_ext <<_ACEOF
2491 #line $LINENO "configure"
2492 #include "confdefs.h"
2493 #include <$ac_header>
2495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2498 egrep -v '^ *\+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } >/dev
/null
; then
2503 if test -s conftest.err
; then
2504 ac_cpp_err
=$ac_c_preproc_warn_flag
2511 if test -z "$ac_cpp_err"; then
2512 ac_header_preproc
=yes
2514 echo "$as_me: failed program was:" >&5
2515 cat conftest.
$ac_ext >&5
2516 ac_header_preproc
=no
2518 rm -f conftest.err conftest.
$ac_ext
2519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2520 echo "${ECHO_T}$ac_header_preproc" >&6
2522 # So? What about this header?
2523 case $ac_header_compiler:$ac_header_preproc in
2525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2537 echo "$as_me:$LINENO: checking for $ac_header" >&5
2538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 eval "$as_ac_Header=$ac_header_preproc"
2544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2549 cat >>confdefs.h
<<_ACEOF
2550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2558 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2559 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2560 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 ac_cv_prog_cc_stdc
=no
2565 cat >conftest.
$ac_ext <<_ACEOF
2566 #line $LINENO "configure"
2567 #include "confdefs.h"
2570 #include <sys/types.h>
2571 #include <sys/stat.h>
2572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2573 struct buf { int x; };
2574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2575 static char *e (p, i)
2581 static char *f (char * (*g) (char **, int), char **p, ...)
2586 s = g (p, va_arg (v,int));
2590 int test (int i, double x);
2591 struct s1 {int (*f) (int a);};
2592 struct s2 {int (*f) (double a);};
2593 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2596 #ifdef F77_DUMMY_MAIN
2600 int F77_DUMMY_MAIN() { return 1; }
2605 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2610 # Don't try gcc -ansi; that turns off useful extensions and
2611 # breaks some systems' header files.
2612 # AIX -qlanglvl=ansi
2613 # Ultrix and OSF/1 -std1
2614 # HP-UX 10.20 and later -Ae
2615 # HP-UX older versions -Aa -D_HPUX_SOURCE
2616 # SVR4 -Xc -D__EXTENSIONS__
2617 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2619 CC
="$ac_save_CC $ac_arg"
2620 rm -f conftest.
$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_cv_prog_cc_stdc
=$ac_arg
2635 echo "$as_me: failed program was:" >&5
2636 cat conftest.
$ac_ext >&5
2638 rm -f conftest.
$ac_objext
2640 rm -f conftest.
$ac_ext conftest.
$ac_objext
2645 case "x$ac_cv_prog_cc_stdc" in
2647 echo "$as_me:$LINENO: result: none needed" >&5
2648 echo "${ECHO_T}none needed" >&6 ;;
2650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2651 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2652 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2655 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2656 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2657 if test "${ac_cv_c_const+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 cat >conftest.
$ac_ext <<_ACEOF
2661 #line $LINENO "configure"
2662 #include "confdefs.h"
2664 #ifdef F77_DUMMY_MAIN
2668 int F77_DUMMY_MAIN() { return 1; }
2673 /* FIXME: Include the comments suggested by Paul. */
2675 /* Ultrix mips cc rejects this. */
2676 typedef int charset[2];
2678 /* SunOS 4.1.1 cc rejects this. */
2679 char const *const *ccp;
2681 /* NEC SVR4.0.2 mips cc rejects this. */
2682 struct point {int x, y;};
2683 static struct point const zero = {0,0};
2684 /* AIX XL C 1.02.0.0 rejects this.
2685 It does not let you subtract one const X* pointer from another in
2686 an arm of an if-expression whose if-part is not a constant
2688 const char *g = "string";
2689 ccp = &g + (g ? g-g : 0);
2690 /* HPUX 7.0 cc rejects these. */
2693 ccp = (char const *const *) p;
2694 { /* SCO 3.2v4 cc rejects this. */
2696 char const *s = 0 ? (char *) 0 : (char const *) 0;
2700 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2702 const int *foo = &x[0];
2705 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2706 typedef const int *iptr;
2710 { /* AIX XL C 1.02.0.0 rejects this saying
2711 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2712 struct s { int j; const int *ap[3]; };
2713 struct s *b; b->j = 5;
2715 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2724 rm -f conftest.
$ac_objext
2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 (eval $ac_compile) 2>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } &&
2730 { ac_try
='test -s conftest.$ac_objext'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 echo "$as_me: failed program was:" >&5
2739 cat conftest.
$ac_ext >&5
2742 rm -f conftest.
$ac_objext conftest.
$ac_ext
2744 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2745 echo "${ECHO_T}$ac_cv_c_const" >&6
2746 if test $ac_cv_c_const = no
; then
2748 cat >>confdefs.h
<<\_ACEOF
2754 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2755 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2756 if test "${ac_cv_header_time+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 cat >conftest.
$ac_ext <<_ACEOF
2760 #line $LINENO "configure"
2761 #include "confdefs.h"
2762 #include <sys/types.h>
2763 #include <sys/time.h>
2766 #ifdef F77_DUMMY_MAIN
2770 int F77_DUMMY_MAIN() { return 1; }
2775 if ((struct tm *) 0)
2781 rm -f conftest.
$ac_objext
2782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2783 (eval $ac_compile) 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } &&
2787 { ac_try
='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_cv_header_time
=yes
2795 echo "$as_me: failed program was:" >&5
2796 cat conftest.
$ac_ext >&5
2797 ac_cv_header_time
=no
2799 rm -f conftest.
$ac_objext conftest.
$ac_ext
2801 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
2802 echo "${ECHO_T}$ac_cv_header_time" >&6
2803 if test $ac_cv_header_time = yes; then
2805 cat >>confdefs.h
<<\_ACEOF
2806 #define TIME_WITH_SYS_TIME 1
2812 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
2813 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
2814 if test "${ac_cv_type_signal+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 cat >conftest.
$ac_ext <<_ACEOF
2818 #line $LINENO "configure"
2819 #include "confdefs.h"
2820 #include <sys/types.h>
2826 extern "C" void (*signal (int, void (*)(int)))(int);
2828 void (*signal ()) ();
2831 #ifdef F77_DUMMY_MAIN
2835 int F77_DUMMY_MAIN() { return 1; }
2845 rm -f conftest.
$ac_objext
2846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2847 (eval $ac_compile) 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try
='test -s conftest.$ac_objext'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_type_signal
=void
2859 echo "$as_me: failed program was:" >&5
2860 cat conftest.
$ac_ext >&5
2861 ac_cv_type_signal
=int
2863 rm -f conftest.
$ac_objext conftest.
$ac_ext
2865 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
2866 echo "${ECHO_T}$ac_cv_type_signal" >&6
2868 cat >>confdefs.h
<<_ACEOF
2869 #define RETSIGTYPE $ac_cv_type_signal
2874 for ac_func
in vprintf
2876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2877 echo "$as_me:$LINENO: checking for $ac_func" >&5
2878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2879 if eval "test \"\${$as_ac_var+set}\" = set"; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 cat >conftest.
$ac_ext <<_ACEOF
2883 #line $LINENO "configure"
2884 #include "confdefs.h"
2885 /* System header to define __stub macros and hopefully few prototypes,
2886 which can conflict with char $ac_func (); below. */
2888 /* Override any gcc2 internal prototype to avoid an error. */
2892 /* We use char because int might match the return type of a gcc2
2893 builtin and then its argument prototype would still apply. */
2897 #ifdef F77_DUMMY_MAIN
2901 int F77_DUMMY_MAIN() { return 1; }
2906 /* The GNU C library defines this for functions which it implements
2907 to always fail with ENOSYS. Some functions are actually named
2908 something starting with __ and the normal name is an alias. */
2909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2919 rm -f conftest.
$ac_objext conftest
$ac_exeext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2921 (eval $ac_link) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } &&
2925 { ac_try
='test -s conftest$ac_exeext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 eval "$as_ac_var=yes"
2933 echo "$as_me: failed program was:" >&5
2934 cat conftest.
$ac_ext >&5
2935 eval "$as_ac_var=no"
2937 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2941 if test `eval echo '${'$as_ac_var'}'` = yes; then
2942 cat >>confdefs.h
<<_ACEOF
2943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2946 echo "$as_me:$LINENO: checking for _doprnt" >&5
2947 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
2948 if test "${ac_cv_func__doprnt+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 cat >conftest.
$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2953 #include "confdefs.h"
2954 /* System header to define __stub macros and hopefully few prototypes,
2955 which can conflict with char _doprnt (); below. */
2957 /* Override any gcc2 internal prototype to avoid an error. */
2961 /* We use char because int might match the return type of a gcc2
2962 builtin and then its argument prototype would still apply. */
2966 #ifdef F77_DUMMY_MAIN
2970 int F77_DUMMY_MAIN() { return 1; }
2975 /* The GNU C library defines this for functions which it implements
2976 to always fail with ENOSYS. Some functions are actually named
2977 something starting with __ and the normal name is an alias. */
2978 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2988 rm -f conftest.
$ac_objext conftest
$ac_exeext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2990 (eval $ac_link) 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } &&
2994 { ac_try
='test -s conftest$ac_exeext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3000 ac_cv_func__doprnt
=yes
3002 echo "$as_me: failed program was:" >&5
3003 cat conftest.
$ac_ext >&5
3004 ac_cv_func__doprnt
=no
3006 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3008 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
3009 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
3010 if test $ac_cv_func__doprnt = yes; then
3012 cat >>confdefs.h
<<\_ACEOF
3013 #define HAVE_DOPRNT 1
3026 for ac_func
in select socket strcspn strerror
3028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3029 echo "$as_me:$LINENO: checking for $ac_func" >&5
3030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3031 if eval "test \"\${$as_ac_var+set}\" = set"; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 cat >conftest.
$ac_ext <<_ACEOF
3035 #line $LINENO "configure"
3036 #include "confdefs.h"
3037 /* System header to define __stub macros and hopefully few prototypes,
3038 which can conflict with char $ac_func (); below. */
3040 /* Override any gcc2 internal prototype to avoid an error. */
3044 /* We use char because int might match the return type of a gcc2
3045 builtin and then its argument prototype would still apply. */
3049 #ifdef F77_DUMMY_MAIN
3053 int F77_DUMMY_MAIN() { return 1; }
3058 /* The GNU C library defines this for functions which it implements
3059 to always fail with ENOSYS. Some functions are actually named
3060 something starting with __ and the normal name is an alias. */
3061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3071 rm -f conftest.
$ac_objext conftest
$ac_exeext
3072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3073 (eval $ac_link) 2>&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 { ac_try
='test -s conftest$ac_exeext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3083 eval "$as_ac_var=yes"
3085 echo "$as_me: failed program was:" >&5
3086 cat conftest.
$ac_ext >&5
3087 eval "$as_ac_var=no"
3089 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3093 if test `eval echo '${'$as_ac_var'}'` = yes; then
3094 cat >>confdefs.h
<<_ACEOF
3095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3102 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3103 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3104 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 ac_check_lib_save_LIBS
=$LIBS
3109 cat >conftest.
$ac_ext <<_ACEOF
3110 #line $LINENO "configure"
3111 #include "confdefs.h"
3113 /* Override any gcc2 internal prototype to avoid an error. */
3117 /* We use char because int might match the return type of a gcc2
3118 builtin and then its argument prototype would still apply. */
3119 char gethostbyname ();
3120 #ifdef F77_DUMMY_MAIN
3124 int F77_DUMMY_MAIN() { return 1; }
3134 rm -f conftest.
$ac_objext conftest
$ac_exeext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3136 (eval $ac_link) 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try
='test -s conftest$ac_exeext'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3146 ac_cv_lib_nsl_gethostbyname
=yes
3148 echo "$as_me: failed program was:" >&5
3149 cat conftest.
$ac_ext >&5
3150 ac_cv_lib_nsl_gethostbyname
=no
3152 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3153 LIBS
=$ac_check_lib_save_LIBS
3155 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3156 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3157 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3158 cat >>confdefs.h
<<_ACEOF
3159 #define HAVE_LIBNSL 1
3167 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3168 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3169 if test "${ac_cv_lib_socket_connect+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 ac_check_lib_save_LIBS
=$LIBS
3173 LIBS
="-lsocket $LIBS"
3174 cat >conftest.
$ac_ext <<_ACEOF
3175 #line $LINENO "configure"
3176 #include "confdefs.h"
3178 /* Override any gcc2 internal prototype to avoid an error. */
3182 /* We use char because int might match the return type of a gcc2
3183 builtin and then its argument prototype would still apply. */
3185 #ifdef F77_DUMMY_MAIN
3189 int F77_DUMMY_MAIN() { return 1; }
3199 rm -f conftest.
$ac_objext conftest
$ac_exeext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3201 (eval $ac_link) 2>&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } &&
3205 { ac_try
='test -s conftest$ac_exeext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
3211 ac_cv_lib_socket_connect
=yes
3213 echo "$as_me: failed program was:" >&5
3214 cat conftest.
$ac_ext >&5
3215 ac_cv_lib_socket_connect
=no
3217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3218 LIBS
=$ac_check_lib_save_LIBS
3220 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3221 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3222 if test $ac_cv_lib_socket_connect = yes; then
3223 cat >>confdefs.h
<<_ACEOF
3224 #define HAVE_LIBSOCKET 1
3227 LIBS
="-lsocket $LIBS"
3232 # Extract the first word of "chkconfig", so it can be a program name with args.
3233 set dummy chkconfig
; ac_word
=$2
3234 echo "$as_me:$LINENO: checking for $ac_word" >&5
3235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3236 if test "${ac_cv_path_CHKCONFIG+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 ac_cv_path_CHKCONFIG
="$CHKCONFIG" # Let the user override the test with a path.
3244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 for as_dir
in $PATH:/sbin
:/usr
/sbin
:/usr
/local
/sbin
3248 test -z "$as_dir" && as_dir
=.
3249 for ac_exec_ext
in '' $ac_executable_extensions; do
3250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251 ac_cv_path_CHKCONFIG
="$as_dir/$ac_word$ac_exec_ext"
3252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 CHKCONFIG
=$ac_cv_path_CHKCONFIG
3263 if test -n "$CHKCONFIG"; then
3264 echo "$as_me:$LINENO: result: $CHKCONFIG" >&5
3265 echo "${ECHO_T}$CHKCONFIG" >&6
3267 echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6
3271 # Extract the first word of "sed", so it can be a program name with args.
3272 set dummy
sed; ac_word
=$2
3273 echo "$as_me:$LINENO: checking for $ac_word" >&5
3274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3275 if test "${ac_cv_path_SED+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 for as_dir
in $PATH:/sbin
:/usr
/sbin
:/bin
:/usr
/bin
:/usr
/local
/bin
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$SED"; then
3303 echo "$as_me:$LINENO: result: $SED" >&5
3304 echo "${ECHO_T}$SED" >&6
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3310 ac_config_files
="$ac_config_files Makefile"
3311 cat >confcache
<<\_ACEOF
3312 # This file is a shell script that caches the results of configure
3313 # tests run on this system so they can be shared between configure
3314 # scripts and configure runs, see configure's option --config-cache.
3315 # It is not useful on other systems. If it contains results you don't
3316 # want to keep, you may remove or edit it.
3318 # config.status only pays attention to the cache file if you give it
3319 # the --recheck option to rerun configure.
3321 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3327 # The following way of writing the cache mishandles newlines in values,
3328 # but we know of no workaround that is simple, portable, and efficient.
3329 # So, don't put newlines in cache variables' values.
3330 # Ultrix sh set writes to stderr and can't be redirected directly,
3331 # and sets the high bit in the cache file unless we assign to the vars.
3334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3336 # `set' does not quote correctly, so add quotes (double-quote
3337 # substitution turns \\\\ into \\, and sed turns \\ into \).
3340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3343 # `set' quotes correctly as required by POSIX, so do not add quotes.
3345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3356 if cmp -s $cache_file confcache
; then :; else
3357 if test -w $cache_file; then
3358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3359 cat confcache
>$cache_file
3361 echo "not updating unwritable cache $cache_file"
3366 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3367 # Let make expand exec_prefix.
3368 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3372 # trailing colons and then remove the whole line if VPATH becomes empty
3373 # (actually we leave an empty line to preserve line numbers).
3374 if test "x$srcdir" = x.
; then
3375 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3376 s/:*\$(srcdir):*/:/;
3377 s/:*\${srcdir}:*/:/;
3379 s/^\([^=]*=[ ]*\):*/\1/;
3385 # Transform confdefs.h into DEFS.
3386 # Protect against shell expansion while executing Makefile rules.
3387 # Protect against Makefile macro expansion.
3389 # If the first sed substitution is executed (which looks for macros that
3390 # take arguments), then we branch to the quote section. Otherwise,
3391 # look for a macro that doesn't take arguments.
3392 cat >confdef2opt.
sed <<\_ACEOF
3395 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3397 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3401 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3407 # We use echo to avoid assuming a particular line-breaking character.
3408 # The extra dot is to prevent the shell from consuming trailing
3409 # line-breaks from the sub-command output. A line-break within
3410 # single-quotes doesn't work because, if this script is created in a
3411 # platform that uses two characters for line-breaks (e.g., DOS), tr
3413 ac_LF_and_DOT=`echo; echo .
`
3414 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3415 rm -f confdef2opt.sed
3419 : ${CONFIG_STATUS=./config.status}
3420 ac_clean_files_save=$ac_clean_files
3421 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3422 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3423 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3424 cat >$CONFIG_STATUS <<_ACEOF
3426 # Generated by $as_me.
3427 # Run this file to recreate the current configuration.
3428 # Compiler output produced by configure, useful for debugging
3429 # configure, is in config.log if it exists.
3432 SHELL=\${CONFIG_SHELL-$SHELL}
3435 cat >>$CONFIG_STATUS <<\_ACEOF
3437 ## --------------------- ##
3438 ## M4sh Initialization. ##
3439 ## --------------------- ##
3441 # Be Bourne compatible
3442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3445 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3450 # Support unset when possible.
3451 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3457 (set +x; test -n "`(LANG
=C
; export LANG
) 2>&1`") &&
3458 { $as_unset LANG || test "${LANG+set}" != set; } ||
3459 { LANG=C; export LANG; }
3460 (set +x; test -n "`(LC_ALL
=C
; export LC_ALL
) 2>&1`") &&
3461 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3462 { LC_ALL=C; export LC_ALL; }
3463 (set +x; test -n "`(LC_TIME
=C
; export LC_TIME
) 2>&1`") &&
3464 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3465 { LC_TIME=C; export LC_TIME; }
3466 (set +x; test -n "`(LC_CTYPE
=C
; export LC_CTYPE
) 2>&1`") &&
3467 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3468 { LC_CTYPE=C; export LC_CTYPE; }
3469 (set +x; test -n "`(LANGUAGE
=C
; export LANGUAGE
) 2>&1`") &&
3470 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3471 { LANGUAGE=C; export LANGUAGE; }
3472 (set +x; test -n "`(LC_COLLATE
=C
; export LC_COLLATE
) 2>&1`") &&
3473 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3474 { LC_COLLATE=C; export LC_COLLATE; }
3475 (set +x; test -n "`(LC_NUMERIC
=C
; export LC_NUMERIC
) 2>&1`") &&
3476 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3477 { LC_NUMERIC=C; export LC_NUMERIC; }
3478 (set +x; test -n "`(LC_MESSAGES
=C
; export LC_MESSAGES
) 2>&1`") &&
3479 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3480 { LC_MESSAGES=C; export LC_MESSAGES; }
3483 # Name of the executable.
3484 as_me=`(basename "$0") 2>/dev
/null ||
3485 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3486 X
"$0" : 'X\(//\)$' \| \
3487 X
"$0" : 'X\(/\)$' \| \
3488 .
: '\(.\)' 2>/dev
/null ||
3490 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3491 /^X\/\(\/\/\)$/{ s//\1/; q; }
3492 /^X\/\(\/\).*/{ s//\1/; q; }
3495 # PATH needs CR, and LINENO needs CR and PATH.
3496 # Avoid depending upon Character Ranges.
3497 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3498 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3499 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3500 as_cr_digits='0123456789'
3501 as_cr_alnum=$as_cr_Letters$as_cr_digits
3503 # The user is always right.
3504 if test "${PATH_SEPARATOR+set}" != set; then
3505 echo "#! /bin/sh" >conftest.sh
3506 echo "exit 0" >>conftest.sh
3507 chmod +x conftest.sh
3508 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3519 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3520 test "x$as_lineno_1" != "x$as_lineno_2" &&
3521 test "x$as_lineno_3" = "x$as_lineno_2" || {
3522 # Find who we are. Look in the path if we contain no path at all
3525 *[\\/]* ) as_myself=$0 ;;
3526 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3536 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3537 # in which case we are not to be found in the path.
3538 if test "x$as_myself" = x; then
3541 if test ! -f "$as_myself"; then
3542 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3543 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3544 { (exit 1); exit 1; }; }
3546 case $CONFIG_SHELL in
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3552 test -z "$as_dir" && as_dir=.
3553 for as_base in sh bash ksh sh5; do
3556 if ("$as_dir/$as_base" -c '
3559 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3560 test "x$as_lineno_1" != "x$as_lineno_2" &&
3561 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3562 CONFIG_SHELL=$as_dir/$as_base
3564 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3572 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3573 # uniformly replaced by the line number. The first 'sed' inserts a
3574 # line-number line before each line; the second 'sed' does the real
3575 # work. The second script uses 'N
' to pair each line-number line
3576 # with the numbered line, and appends trailing '-' during
3577 # substitution so that $LINENO is not a special case at line end.
3578 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3579 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3580 sed '=' <$as_myself |
3585 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3588 s,^['$as_cr_digits']*\n,,
3590 chmod +x
$as_me.lineno ||
3591 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3592 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3593 { (exit 1); exit 1; }; }
3595 # Don't try to exec as it changes $[0], causing all sort of problems
3596 # (the dirname of $[0] is not the place where we might find the
3597 # original and so on. Autoconf is especially sensible to this).
3599 # Exit status is that of the last command.
3604 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3605 *c
*,-n*) ECHO_N
= ECHO_C
='
3607 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3608 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3611 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3617 rm -f conf$$ conf$$.exe conf$$.
file
3619 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3620 # We could just check for DJGPP; but this test a) works b) is more generic
3621 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3622 if test -f conf$$.exe
; then
3623 # Don't use ln at all; we don't have any links
3628 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3633 rm -f conf$$ conf$$.exe conf$$.
file
3635 as_executable_p
="test -f"
3637 # Sed expression to map a string onto a valid CPP name.
3638 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3640 # Sed expression to map a string onto a valid variable name.
3641 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3645 # We need space, tab and new line, in precisely that order.
3651 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
3655 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3656 # report actual input values of CONFIG_FILES etc. instead of their
3657 # values after options handling. Logging --version etc. is OK.
3661 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3662 ## Running $as_me. ##
3667 This file was extended by $as_me, which was
3668 generated by GNU Autoconf 2.53. Invocation command line was
3670 CONFIG_FILES = $CONFIG_FILES
3671 CONFIG_HEADERS = $CONFIG_HEADERS
3672 CONFIG_LINKS = $CONFIG_LINKS
3673 CONFIG_COMMANDS = $CONFIG_COMMANDS
3677 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3681 # Files that config.status was made for.
3682 if test -n "$ac_config_files"; then
3683 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3686 if test -n "$ac_config_headers"; then
3687 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3690 if test -n "$ac_config_links"; then
3691 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3694 if test -n "$ac_config_commands"; then
3695 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3698 cat >>$CONFIG_STATUS <<\_ACEOF
3701 \`$as_me' instantiates files from templates according to the
3702 current configuration.
3704 Usage: $0 [OPTIONS] [FILE]...
3706 -h, --help print this help, then exit
3707 -V, --version print version number, then exit
3708 -d, --debug don't remove temporary files
3709 --recheck update $as_me by reconfiguring in the same conditions
3710 --file=FILE[:TEMPLATE]
3711 instantiate the configuration file FILE
3713 Configuration files:
3716 Report bugs to <bug-autoconf@gnu.org>."
3719 cat >>$CONFIG_STATUS <<_ACEOF
3722 configured by $0, generated by GNU Autoconf 2.53,
3723 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3725 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3726 Free Software Foundation, Inc.
3727 This config.status script is free software; the Free Software Foundation
3728 gives unlimited permission to copy, distribute and modify it."
3733 cat >>$CONFIG_STATUS <<\_ACEOF
3734 # If no file are specified by the user, then we need to provide default
3735 # value. By we need to know if files were specified by the user.
3741 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3742 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3744 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
3748 *) # This is not an option, so the user has probably given explicit
3750 ac_need_defaults
=false
;;
3754 # Handling of the options.
3756 cat >>$CONFIG_STATUS <<_ACEOF
3757 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3758 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3759 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3761 cat >>$CONFIG_STATUS <<\_ACEOF
3762 --version |
--vers* |
-V )
3763 echo "$ac_cs_version"; exit 0 ;;
3765 # Conflict between --help and --header
3766 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3767 Try \`$0 --help' for more information." >&5
3768 echo "$as_me: error: ambiguous option: $1
3769 Try \`$0 --help' for more information." >&2;}
3770 { (exit 1); exit 1; }; };;
3771 --help |
--hel |
-h )
3772 echo "$ac_cs_usage"; exit 0 ;;
3773 --debug |
--d* |
-d )
3775 --file |
--fil |
--fi |
--f )
3777 CONFIG_FILES
="$CONFIG_FILES $1"
3778 ac_need_defaults
=false
;;
3779 --header |
--heade |
--head |
--hea )
3781 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
3782 ac_need_defaults
=false
;;
3785 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3786 Try \`$0 --help' for more information." >&5
3787 echo "$as_me: error: unrecognized option: $1
3788 Try \`$0 --help' for more information." >&2;}
3789 { (exit 1); exit 1; }; } ;;
3791 *) ac_config_targets
="$ac_config_targets $1" ;;
3803 cat >>$CONFIG_STATUS <<\_ACEOF
3804 for ac_config_target
in $ac_config_targets
3806 case "$ac_config_target" in
3807 # Handling of arguments.
3808 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3809 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3810 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3811 { (exit 1); exit 1; }; };;
3815 # If the user did not use the arguments to specify the items to instantiate,
3816 # then the envvar interface is used. Set only those that are not.
3817 # We use the long form for the default assignment because of an extremely
3818 # bizarre bug on SunOS 4.1.3.
3819 if $ac_need_defaults; then
3820 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3823 # Create a temporary directory, and hook for its removal unless debugging.
3826 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3827 trap '{ (exit 1); exit 1; }' 1 2 13 15
3830 # Create a (secure) tmp directory for tmp files.
3833 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3834 test -n "$tmp" && test -d "$tmp"
3837 tmp
=$TMPDIR/cs$$
-$RANDOM
3838 (umask 077 && mkdir
$tmp)
3841 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3842 { (exit 1); exit 1; }
3847 cat >>$CONFIG_STATUS <<_ACEOF
3850 # CONFIG_FILES section.
3853 # No need to generate the scripts if there are no CONFIG_FILES.
3854 # This happens for instance when ./config.status config.h
3855 if test -n "\$CONFIG_FILES"; then
3856 # Protect against being on the right side of a sed subst in config.status.
3857 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3858 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3859 s,@SHELL@,$SHELL,;t t
3860 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3861 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3862 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3863 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3864 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3865 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3866 s,@exec_prefix@,$exec_prefix,;t t
3867 s,@prefix@,$prefix,;t t
3868 s,@program_transform_name@,$program_transform_name,;t t
3869 s,@bindir@,$bindir,;t t
3870 s,@sbindir@,$sbindir,;t t
3871 s,@libexecdir@,$libexecdir,;t t
3872 s,@datadir@,$datadir,;t t
3873 s,@sysconfdir@,$sysconfdir,;t t
3874 s,@sharedstatedir@,$sharedstatedir,;t t
3875 s,@localstatedir@,$localstatedir,;t t
3876 s,@libdir@,$libdir,;t t
3877 s,@includedir@,$includedir,;t t
3878 s,@oldincludedir@,$oldincludedir,;t t
3879 s,@infodir@,$infodir,;t t
3880 s,@mandir@,$mandir,;t t
3881 s,@build_alias@,$build_alias,;t t
3882 s,@host_alias@,$host_alias,;t t
3883 s,@target_alias@,$target_alias,;t t
3885 s,@ECHO_C@,$ECHO_C,;t t
3886 s,@ECHO_N@,$ECHO_N,;t t
3887 s,@ECHO_T@,$ECHO_T,;t t
3890 s,@CFLAGS@,$CFLAGS,;t t
3891 s,@LDFLAGS@,$LDFLAGS,;t t
3892 s,@CPPFLAGS@,$CPPFLAGS,;t t
3893 s,@ac_ct_CC@,$ac_ct_CC,;t t
3894 s,@EXEEXT@,$EXEEXT,;t t
3895 s,@OBJEXT@,$OBJEXT,;t t
3896 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3897 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3898 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3900 s,@CHKCONFIG@,$CHKCONFIG,;t t
3906 cat >>$CONFIG_STATUS <<\_ACEOF
3907 # Split the substitutions into bite-sized pieces for seds with
3908 # small command number limits, like on Digital OSF/1 and HP-UX.
3910 ac_sed_frag
=1 # Number of current file.
3911 ac_beg
=1 # First line for current file.
3912 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3915 while $ac_more_lines; do
3916 if test $ac_beg -gt 1; then
3917 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3919 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3921 if test ! -s $tmp/subs.frag
; then
3924 # The purpose of the label and of the branching condition is to
3925 # speed up the sed processing (if there are no `@' at all, there
3926 # is no need to browse any of the substitutions).
3927 # These are the two extra sed commands mentioned above.
3929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3930 if test -z "$ac_sed_cmds"; then
3931 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3933 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3935 ac_sed_frag
=`expr $ac_sed_frag + 1`
3937 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3940 if test -z "$ac_sed_cmds"; then
3943 fi # test -n "$CONFIG_FILES"
3946 cat >>$CONFIG_STATUS <<\_ACEOF
3947 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3948 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3950 - |
*:- |
*:-:* ) # input from stdin
3952 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3953 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3954 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3955 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3956 * ) ac_file_in
=$ac_file.
in ;;
3959 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3960 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3962 X"$ac_file" : 'X\(//\)[^/]' \| \
3963 X"$ac_file" : 'X\(//\)$' \| \
3964 X"$ac_file" : 'X\(/\)' \| \
3965 . : '\(.\)' 2>/dev/null ||
3967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3969 /^X\(\/\/\)$/{ s//\1/; q; }
3970 /^X\(\/\).*/{ s//\1/; q; }
3973 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3977 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3978 case $as_mkdir_dir in
3979 # Skip DOS drivespec
3980 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3982 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3983 test -d "$as_incr_dir" ||
3984 mkdir
"$as_incr_dir" ||
3985 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3986 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3987 { (exit 1); exit 1; }; }
3994 if test "$ac_dir" != .
; then
3995 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3996 # A "../" for each directory in $ac_dir_suffix.
3997 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3999 ac_dir_suffix
= ac_top_builddir
=
4003 .
) # No --srcdir option. We are building in place.
4005 if test -z "$ac_top_builddir"; then
4008 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4010 [\\/]* | ?
:[\\/]* ) # Absolute path.
4011 ac_srcdir
=$srcdir$ac_dir_suffix;
4012 ac_top_srcdir
=$srcdir ;;
4014 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4015 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4017 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4019 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
4020 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4021 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4022 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4026 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4027 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4030 if test x
"$ac_file" != x-
; then
4031 { echo "$as_me:$LINENO: creating $ac_file" >&5
4032 echo "$as_me: creating $ac_file" >&6;}
4035 # Let's still pretend it is `configure' which instantiates (i.e., don't
4036 # use $as_me), people would be surprised to read:
4037 # /* config.h. Generated by config.status. */
4038 if test x
"$ac_file" = x-
; then
4041 configure_input
="$ac_file. "
4043 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4044 sed 's,.*/,,'` by configure."
4046 # First look for the input files in the build tree, otherwise in the
4048 ac_file_inputs
=`IFS=:
4049 for f in $ac_file_in; do
4051 -) echo $tmp/stdin ;;
4053 # Absolute (can't be DOS-style, as IFS=:)
4054 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4055 echo "$as_me: error: cannot find input file: $f" >&2;}
4056 { (exit 1); exit 1; }; }
4059 if test -f "$f"; then
4062 elif test -f "$srcdir/$f"; then
4067 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4068 echo "$as_me: error: cannot find input file: $f" >&2;}
4069 { (exit 1); exit 1; }; }
4072 done` ||
{ (exit 1); exit 1; }
4074 cat >>$CONFIG_STATUS <<_ACEOF
4078 cat >>$CONFIG_STATUS <<\_ACEOF
4080 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4081 s
,@configure_input@
,$configure_input,;t t
4082 s
,@srcdir@
,$ac_srcdir,;t t
4083 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4084 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4085 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4086 s
,@builddir@
,$ac_builddir,;t t
4087 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4088 s
,@top_builddir@
,$ac_top_builddir,;t t
4089 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4090 s
,@INSTALL@
,$ac_INSTALL,;t t
4091 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4093 if test x"$ac_file" != x-; then
4094 mv $tmp/out $ac_file
4103 cat >>$CONFIG_STATUS <<\_ACEOF
4105 { (exit 0); exit 0; }
4107 chmod +x $CONFIG_STATUS
4108 ac_clean_files=$ac_clean_files_save
4111 # configure is writing to config.log, and then calls config.status.
4112 # config.status does its own redirection, appending to config.log.
4113 # Unfortunately, on DOS this fails, as config.log is still kept open
4114 # by configure, so config.status won't be able to write to it; its
4115 # output is simply discarded. So we exec the FD to /dev/null,
4116 # effectively closing config.log, so it can be properly (re)opened and
4117 # appended to by config.status. When coming back to configure, we
4118 # need to make the FD available again.
4119 if test "$no_create" != yes; then
4122 $SHELL $CONFIG_STATUS || ac_cs_success=false
4124 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4125 # would make configure fail if this is the last instruction.
4126 $ac_cs_success || { (exit 1); exit 1; }