2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 ac_subdirs_all
="$ac_subdirs_all cygwin"
276 ac_subdirs_all
="$ac_subdirs_all mingw"
277 ac_subdirs_all
="$ac_subdirs_all w32api"
278 ac_subdirs_all
="$ac_subdirs_all lsaauth"
279 ac_subdirs_all
="$ac_subdirs_all cygserver"
280 ac_subdirs_all
="$ac_subdirs_all utils doc"
281 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT CXX ac_ct_CXX CXXFLAGS subdirs INSTALL_LICENSE SET_MAKE LIBOBJS LTLIBOBJS'
284 # Initialize some variables set by options.
286 ac_init_version
=false
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
296 program_transform_name
=s
,x
,x
,
304 # Installation directory options.
305 # These are left unexpanded so users can "make install exec_prefix=/foo"
306 # and all the variables that are supposed to be based on exec_prefix
307 # by default will actually change.
308 # Use braces instead of parens because sh, perl, etc. also accept them.
309 bindir
='${exec_prefix}/bin'
310 sbindir
='${exec_prefix}/sbin'
311 libexecdir
='${exec_prefix}/libexec'
312 datadir
='${prefix}/share'
313 sysconfdir
='${prefix}/etc'
314 sharedstatedir
='${prefix}/com'
315 localstatedir
='${prefix}/var'
316 libdir
='${exec_prefix}/lib'
317 includedir
='${prefix}/include'
318 oldincludedir
='/usr/include'
319 infodir
='${prefix}/info'
320 mandir
='${prefix}/man'
325 # If the previous option needs an argument, assign it.
326 if test -n "$ac_prev"; then
327 eval "$ac_prev=\$ac_option"
332 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
334 # Accept the important Cygnus configure options, so we can diagnose typos.
338 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
340 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
343 -build |
--build |
--buil |
--bui |
--bu)
344 ac_prev
=build_alias
;;
345 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
346 build_alias
=$ac_optarg ;;
348 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
349 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
350 ac_prev
=cache_file
;;
351 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
352 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
353 cache_file
=$ac_optarg ;;
356 cache_file
=config.cache
;;
358 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
360 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
362 datadir
=$ac_optarg ;;
364 -disable-* |
--disable-*)
365 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
366 # Reject names that are not valid shell variable names.
367 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
368 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
369 { (exit 1); exit 1; }; }
370 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
371 eval "enable_$ac_feature=no" ;;
373 -enable-* |
--enable-*)
374 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
375 # Reject names that are not valid shell variable names.
376 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
377 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
378 { (exit 1); exit 1; }; }
379 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
381 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
384 eval "enable_$ac_feature='$ac_optarg'" ;;
386 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
387 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
388 |
--exec |
--exe |
--ex)
389 ac_prev
=exec_prefix
;;
390 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
391 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
392 |
--exec=* |
--exe=* |
--ex=*)
393 exec_prefix
=$ac_optarg ;;
395 -gas |
--gas |
--ga |
--g)
396 # Obsolete; use --with-gas.
399 -help |
--help |
--hel |
--he |
-h)
401 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
402 ac_init_help
=recursive
;;
403 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
404 ac_init_help
=short
;;
406 -host |
--host |
--hos |
--ho)
407 ac_prev
=host_alias
;;
408 -host=* |
--host=* |
--hos=* |
--ho=*)
409 host_alias
=$ac_optarg ;;
411 -includedir |
--includedir |
--includedi |
--included |
--include \
412 |
--includ |
--inclu |
--incl |
--inc)
413 ac_prev
=includedir
;;
414 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
415 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
416 includedir
=$ac_optarg ;;
418 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
420 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
421 infodir
=$ac_optarg ;;
423 -libdir |
--libdir |
--libdi |
--libd)
425 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
428 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
429 |
--libexe |
--libex |
--libe)
430 ac_prev
=libexecdir
;;
431 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
432 |
--libexe=* |
--libex=* |
--libe=*)
433 libexecdir
=$ac_optarg ;;
435 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
436 |
--localstate |
--localstat |
--localsta |
--localst \
437 |
--locals |
--local |
--loca |
--loc |
--lo)
438 ac_prev
=localstatedir
;;
439 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
440 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
441 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
442 localstatedir
=$ac_optarg ;;
444 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
446 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
450 # Obsolete; use --without-fp.
453 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
454 |
--no-cr |
--no-c |
-n)
457 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
458 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
461 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
462 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
463 |
--oldin |
--oldi |
--old |
--ol |
--o)
464 ac_prev
=oldincludedir
;;
465 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
466 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
467 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
468 oldincludedir
=$ac_optarg ;;
470 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
472 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
475 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
476 |
--program-pre |
--program-pr |
--program-p)
477 ac_prev
=program_prefix
;;
478 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
479 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
480 program_prefix
=$ac_optarg ;;
482 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
483 |
--program-suf |
--program-su |
--program-s)
484 ac_prev
=program_suffix
;;
485 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
486 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
487 program_suffix
=$ac_optarg ;;
489 -program-transform-name |
--program-transform-name \
490 |
--program-transform-nam |
--program-transform-na \
491 |
--program-transform-n |
--program-transform- \
492 |
--program-transform |
--program-transfor \
493 |
--program-transfo |
--program-transf \
494 |
--program-trans |
--program-tran \
495 |
--progr-tra |
--program-tr |
--program-t)
496 ac_prev
=program_transform_name
;;
497 -program-transform-name=* |
--program-transform-name=* \
498 |
--program-transform-nam=* |
--program-transform-na=* \
499 |
--program-transform-n=* |
--program-transform-=* \
500 |
--program-transform=* |
--program-transfor=* \
501 |
--program-transfo=* |
--program-transf=* \
502 |
--program-trans=* |
--program-tran=* \
503 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
504 program_transform_name
=$ac_optarg ;;
506 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
507 |
-silent |
--silent |
--silen |
--sile |
--sil)
510 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
512 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
514 sbindir
=$ac_optarg ;;
516 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
517 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
518 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
520 ac_prev
=sharedstatedir
;;
521 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
522 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
523 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
525 sharedstatedir
=$ac_optarg ;;
527 -site |
--site |
--sit)
529 -site=* |
--site=* |
--sit=*)
532 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
534 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
537 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
538 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
539 ac_prev
=sysconfdir
;;
540 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
541 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
542 sysconfdir
=$ac_optarg ;;
544 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
545 ac_prev
=target_alias
;;
546 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
547 target_alias
=$ac_optarg ;;
549 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
552 -version |
--version |
--versio |
--versi |
--vers |
-V)
556 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
559 { echo "$as_me: error: invalid package name: $ac_package" >&2
560 { (exit 1); exit 1; }; }
561 ac_package
=`echo $ac_package| sed 's/-/_/g'`
563 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 eval "with_$ac_package='$ac_optarg'" ;;
568 -without-* |
--without-*)
569 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
570 # Reject names that are not valid shell variable names.
571 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
572 { echo "$as_me: error: invalid package name: $ac_package" >&2
573 { (exit 1); exit 1; }; }
574 ac_package
=`echo $ac_package | sed 's/-/_/g'`
575 eval "with_$ac_package=no" ;;
578 # Obsolete; use --with-x.
581 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
582 |
--x-incl |
--x-inc |
--x-in |
--x-i)
583 ac_prev
=x_includes
;;
584 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
585 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
586 x_includes
=$ac_optarg ;;
588 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
589 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
590 ac_prev
=x_libraries
;;
591 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
592 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
593 x_libraries
=$ac_optarg ;;
595 -*) { echo "$as_me: error: unrecognized option: $ac_option
596 Try \`$0 --help' for more information." >&2
597 { (exit 1); exit 1; }; }
601 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
605 { (exit 1); exit 1; }; }
606 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
607 eval "$ac_envvar='$ac_optarg'"
611 # FIXME: should be removed in autoconf 3.0.
612 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
613 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
614 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
615 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
621 if test -n "$ac_prev"; then
622 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
623 { echo "$as_me: error: missing argument to $ac_option" >&2
624 { (exit 1); exit 1; }; }
627 # Be sure to have absolute paths.
628 for ac_var
in exec_prefix prefix
630 eval ac_val
=$
`echo $ac_var`
632 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
633 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
634 { (exit 1); exit 1; }; };;
638 # Be sure to have absolute paths.
639 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
640 localstatedir libdir includedir oldincludedir infodir mandir
642 eval ac_val
=$
`echo $ac_var`
644 [\\/$
]* | ?
:[\\/]* ) ;;
645 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
646 { (exit 1); exit 1; }; };;
650 # There might be people who depend on the old broken behavior: `$host'
651 # used to hold the argument of --host etc.
652 # FIXME: To remove some day.
657 # FIXME: To remove some day.
658 if test "x$host_alias" != x
; then
659 if test "x$build_alias" = x
; then
660 cross_compiling
=maybe
661 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
662 If a cross compiler is detected then cross compile mode will be used." >&2
663 elif test "x$build_alias" != "x$host_alias"; then
669 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
671 test "$silent" = yes && exec 6>/dev
/null
674 # Find the source files, if location was not specified.
675 if test -z "$srcdir"; then
676 ac_srcdir_defaulted
=yes
677 # Try the directory containing this script, then its parent.
678 ac_confdir
=`(dirname "$0") 2>/dev/null ||
679 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
680 X"$0" : 'X\(//\)[^/]' \| \
681 X"$0" : 'X\(//\)$' \| \
682 X"$0" : 'X\(/\)' \| \
683 . : '\(.\)' 2>/dev/null ||
685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
687 /^X\(\/\/\)$/{ s//\1/; q; }
688 /^X\(\/\).*/{ s//\1/; q; }
691 if test ! -r $srcdir/$ac_unique_file; then
695 ac_srcdir_defaulted
=no
697 if test ! -r $srcdir/$ac_unique_file; then
698 if test "$ac_srcdir_defaulted" = yes; then
699 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
700 { (exit 1); exit 1; }; }
702 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
703 { (exit 1); exit 1; }; }
706 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
707 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
708 { (exit 1); exit 1; }; }
709 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
710 ac_env_build_alias_set
=${build_alias+set}
711 ac_env_build_alias_value
=$build_alias
712 ac_cv_env_build_alias_set
=${build_alias+set}
713 ac_cv_env_build_alias_value
=$build_alias
714 ac_env_host_alias_set
=${host_alias+set}
715 ac_env_host_alias_value
=$host_alias
716 ac_cv_env_host_alias_set
=${host_alias+set}
717 ac_cv_env_host_alias_value
=$host_alias
718 ac_env_target_alias_set
=${target_alias+set}
719 ac_env_target_alias_value
=$target_alias
720 ac_cv_env_target_alias_set
=${target_alias+set}
721 ac_cv_env_target_alias_value
=$target_alias
722 ac_env_CC_set
=${CC+set}
724 ac_cv_env_CC_set
=${CC+set}
725 ac_cv_env_CC_value
=$CC
726 ac_env_CFLAGS_set
=${CFLAGS+set}
727 ac_env_CFLAGS_value
=$CFLAGS
728 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
729 ac_cv_env_CFLAGS_value
=$CFLAGS
730 ac_env_LDFLAGS_set
=${LDFLAGS+set}
731 ac_env_LDFLAGS_value
=$LDFLAGS
732 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
733 ac_cv_env_LDFLAGS_value
=$LDFLAGS
734 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
735 ac_env_CPPFLAGS_value
=$CPPFLAGS
736 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
737 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
738 ac_env_CXX_set
=${CXX+set}
739 ac_env_CXX_value
=$CXX
740 ac_cv_env_CXX_set
=${CXX+set}
741 ac_cv_env_CXX_value
=$CXX
742 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
743 ac_env_CXXFLAGS_value
=$CXXFLAGS
744 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
745 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
748 # Report the --help message.
750 if test "$ac_init_help" = "long"; then
751 # Omit some internal or obsolete options to make the list less imposing.
752 # This message is too long to be a string in the A/UX 3.1 sh.
754 \`configure' configures this package to adapt to many kinds of systems.
756 Usage: $0 [OPTION]... [VAR=VALUE]...
758 To assign environment variables (e.g., CC, CFLAGS...), specify them as
759 VAR=VALUE. See below for descriptions of some of the useful variables.
761 Defaults for the options are specified in brackets.
764 -h, --help display this help and exit
765 --help=short display options specific to this package
766 --help=recursive display the short help of all the included packages
767 -V, --version display version information and exit
768 -q, --quiet, --silent do not print \`checking...' messages
769 --cache-file=FILE cache test results in FILE [disabled]
770 -C, --config-cache alias for \`--cache-file=config.cache'
771 -n, --no-create do not create output files
772 --srcdir=DIR find the sources in DIR [configure dir or \`..']
777 Installation directories:
778 --prefix=PREFIX install architecture-independent files in PREFIX
780 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
783 By default, \`make install' will install all the files in
784 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
785 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
786 for instance \`--prefix=\$HOME'.
788 For better control, use the options below.
790 Fine tuning of the installation directories:
791 --bindir=DIR user executables [EPREFIX/bin]
792 --sbindir=DIR system admin executables [EPREFIX/sbin]
793 --libexecdir=DIR program executables [EPREFIX/libexec]
794 --datadir=DIR read-only architecture-independent data [PREFIX/share]
795 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
796 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
797 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
798 --libdir=DIR object code libraries [EPREFIX/lib]
799 --includedir=DIR C header files [PREFIX/include]
800 --oldincludedir=DIR C header files for non-gcc [/usr/include]
801 --infodir=DIR info documentation [PREFIX/info]
802 --mandir=DIR man documentation [PREFIX/man]
808 --build=BUILD configure
for building on BUILD
[guessed
]
809 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
810 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
814 if test -n "$ac_init_help"; then
819 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
820 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
821 --enable-server Build a cygwin DLL
which can communicate with cygserver
823 Some influential environment variables
:
824 CC C compiler
command
825 CFLAGS C compiler flags
826 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
827 nonstandard directory
<lib dir
>
828 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
829 headers
in a nonstandard directory
<include dir
>
830 CXX C
++ compiler
command
831 CXXFLAGS C
++ compiler flags
833 Use these variables to override the choices made by
`configure' or to help
834 it to find libraries and programs with nonstandard names/locations.
839 if test "$ac_init_help" = "recursive"; then
840 # If there are subdirs, report their specific --help.
842 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
843 test -d $ac_dir || continue
846 if test "$ac_dir" != .; then
847 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
848 # A "../" for each directory in $ac_dir_suffix.
849 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
851 ac_dir_suffix= ac_top_builddir=
855 .) # No --srcdir option. We are building in place.
857 if test -z "$ac_top_builddir"; then
860 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
862 [\\/]* | ?:[\\/]* ) # Absolute path.
863 ac_srcdir=$srcdir$ac_dir_suffix;
864 ac_top_srcdir=$srcdir ;;
866 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
867 ac_top_srcdir=$ac_top_builddir$srcdir ;;
870 # Do not use `cd foo
&& pwd` to compute absolute paths, because
871 # the directories may not exist.
873 .) ac_abs_builddir="$ac_dir";;
876 .) ac_abs_builddir=`pwd`;;
877 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
878 *) ac_abs_builddir=`pwd`/"$ac_dir";;
881 case $ac_abs_builddir in
882 .) ac_abs_top_builddir=${ac_top_builddir}.;;
884 case ${ac_top_builddir}. in
885 .) ac_abs_top_builddir=$ac_abs_builddir;;
886 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
887 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
890 case $ac_abs_builddir in
891 .) ac_abs_srcdir=$ac_srcdir;;
894 .) ac_abs_srcdir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
896 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
899 case $ac_abs_builddir in
900 .) ac_abs_top_srcdir=$ac_top_srcdir;;
902 case $ac_top_srcdir in
903 .) ac_abs_top_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
905 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
910 # Check for guested configure; otherwise get Cygnus style configure.
911 if test -f $ac_srcdir/configure.gnu; then
913 $SHELL $ac_srcdir/configure.gnu --help=recursive
914 elif test -f $ac_srcdir/configure; then
916 $SHELL $ac_srcdir/configure --help=recursive
917 elif test -f $ac_srcdir/configure.ac ||
918 test -f $ac_srcdir/configure.in; then
922 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928 test -n "$ac_init_help" && exit 0
929 if $ac_init_version; then
932 Copyright (C) 2003 Free Software Foundation, Inc.
933 This configure script is free software; the Free Software Foundation
934 gives unlimited permission to copy, distribute and modify it.
940 This file contains any messages produced by compilers while
941 running configure, to aid debugging if configure makes a mistake.
943 It was created by $as_me, which was
944 generated by GNU Autoconf 2.59. Invocation command line was
955 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
956 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
957 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
958 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
959 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
961 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
962 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
964 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
965 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
966 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
967 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
968 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
969 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
970 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
978 test -z "$as_dir" && as_dir=.
994 # Keep a trace of the command line.
995 # Strip out --no-create and --no-recursion so they do not pile up.
996 # Strip out --silent because we don't want to record it for future runs.
997 # Also quote any args containing shell meta-characters.
998 # Make two passes to allow for proper duplicate-argument suppression.
1003 ac_must_keep_next=false
1009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1011 | -silent | --silent | --silen | --sile | --sil)
1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1014 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1017 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1019 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1020 if test $ac_must_keep_next = true; then
1021 ac_must_keep_next=false # Got value, back to normal.
1024 *=* | --config-cache | -C | -disable-* | --disable-* \
1025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1027 | -with-* | --with-* | -without-* | --without-* | --x)
1028 case "$ac_configure_args0 " in
1029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1032 -* ) ac_must_keep_next=true ;;
1035 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1036 # Get rid of the leading space.
1042 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1043 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1045 # When interrupted or exit'd, cleanup temporary files, and complete
1046 # config.log. We remove comments because anyway the quotes in there
1047 # would cause problems or look ugly.
1048 # WARNING: Be sure not to use single quotes in there, as some shells,
1049 # such as our DU 5.0 friend, will then `close
' the trap.
1050 trap 'exit_status
=$?
1051 # Save into config.log some information that might help in debugging.
1056 ## ---------------- ##
1057 ## Cache variables. ##
1058 ## ---------------- ##
1061 # The following way of writing the cache mishandles newlines in values,
1064 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1067 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1079 ## ----------------- ##
1080 ## Output variables. ##
1081 ## ----------------- ##
1084 for ac_var
in $ac_subst_vars
1086 eval ac_val
=$
`echo $ac_var`
1087 echo "$ac_var='"'"'$ac_val'"'"'"
1091 if test -n "$ac_subst_files"; then
1098 for ac_var
in $ac_subst_files
1100 eval ac_val
=$
`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1106 if test -s confdefs.h
; then
1113 sed "/^$/d" confdefs.h |
sort
1116 test "$ac_signal" != 0 &&
1117 echo "$as_me: caught signal $ac_signal"
1118 echo "$as_me: exit $exit_status"
1120 rm -f core
*.core
&&
1121 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1124 for ac_signal in 1 2 13 15; do
1125 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1130 rm -rf conftest* confdefs.h
1131 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1134 # Predefined preprocessor variables.
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_NAME "$PACKAGE_NAME"
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_STRING "$PACKAGE_STRING"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1161 # Let the site file select an alternate cache file if it wants to.
1162 # Prefer explicitly selected file to automatically selected ones.
1163 if test -z "$CONFIG_SITE"; then
1164 if test "x$prefix" != xNONE; then
1165 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1167 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1170 for ac_site_file in $CONFIG_SITE; do
1171 if test -r "$ac_site_file"; then
1172 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1173 echo "$as_me: loading site script $ac_site_file" >&6;}
1174 sed 's
/^
/|
/' "$ac_site_file" >&5
1179 if test -r "$cache_file"; then
1180 # Some versions of bash will fail to source /dev/null (special
1181 # files actually), so we avoid doing that.
1182 if test -f "$cache_file"; then
1183 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1184 echo "$as_me: loading cache $cache_file" >&6;}
1186 [\\/]* | ?:[\\/]* ) . $cache_file;;
1187 *) . ./$cache_file;;
1191 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1192 echo "$as_me: creating cache $cache_file" >&6;}
1196 # Check that the precious variables saved in the cache have kept the same
1198 ac_cache_corrupted=false
1199 for ac_var in `(set) 2>&1 |
1200 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1201 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1202 eval ac_new_set=\$ac_env_${ac_var}_set
1203 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1204 eval ac_new_val="\$ac_env_${ac_var}_value"
1205 case $ac_old_set,$ac_new_set in
1207 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1208 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1209 ac_cache_corrupted=: ;;
1211 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1213 ac_cache_corrupted=: ;;
1216 if test "x$ac_old_val" != "x$ac_new_val"; then
1217 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1218 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1219 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1220 echo "$as_me: former value: $ac_old_val" >&2;}
1221 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1222 echo "$as_me: current value: $ac_new_val" >&2;}
1223 ac_cache_corrupted=:
1226 # Pass precious variables to config.status.
1227 if test "$ac_new_set" = set; then
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1231 *) ac_arg=$ac_var=$ac_new_val ;;
1233 case " $ac_configure_args " in
1234 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1235 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1239 if $ac_cache_corrupted; then
1240 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1241 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1242 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1243 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1244 { (exit 1); exit 1; }; }
1248 ac_cpp='$CPP $CPPFLAGS'
1249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1250 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1272 INSTALL=`cd $srcdir/..; echo $(pwd)/install-sh -c`
1275 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1276 if test -f $ac_dir/install-sh; then
1278 ac_install_sh="$ac_aux_dir/install-sh -c"
1280 elif test -f $ac_dir/install.sh; then
1282 ac_install_sh="$ac_aux_dir/install.sh -c"
1284 elif test -f $ac_dir/shtool; then
1286 ac_install_sh="$ac_aux_dir/shtool install -c"
1290 if test -z "$ac_aux_dir"; then
1291 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1292 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1293 { (exit 1); exit 1; }; }
1295 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1296 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1297 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1299 # Find a good install program. We prefer a C program (faster),
1300 # so one script is as good as another. But avoid the broken or
1301 # incompatible versions:
1302 # SysV /etc/install, /usr/sbin/install
1303 # SunOS /usr/etc/install
1304 # IRIX /sbin/install
1306 # AmigaOS /C/install, which installs bootblocks on floppy discs
1307 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1310 # OS/2's system install, which has a completely different semantic
1311 # ./install, which can be erroneously created by make from ./install.sh.
1312 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1313 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1314 if test -z "$INSTALL"; then
1315 if test "${ac_cv_path_install+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1322 test -z "$as_dir" && as_dir
=.
1323 # Account for people who put trailing slashes in PATH elements.
1325 .
/ | .
// |
/cC
/* | \
1326 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1327 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1330 # OSF1 and SCO ODT 3.0 have their own names for install.
1331 # Don't use installbsd from OSF since it installs stuff as root
1333 for ac_prog
in ginstall scoinst
install; do
1334 for ac_exec_ext
in '' $ac_executable_extensions; do
1335 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1336 if test $ac_prog = install &&
1337 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1338 # AIX install. It has an incompatible calling convention.
1340 elif test $ac_prog = install &&
1341 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1342 # program-specific install script used by HP pwplus--don't use.
1345 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1357 if test "${ac_cv_path_install+set}" = set; then
1358 INSTALL
=$ac_cv_path_install
1360 # As a last resort, use the slow shell script. We don't cache a
1361 # path for INSTALL within a source directory, because that will
1362 # break other packages using the cache if that directory is
1363 # removed, or if the path is relative.
1364 INSTALL
=$ac_install_sh
1367 echo "$as_me:$LINENO: result: $INSTALL" >&5
1368 echo "${ECHO_T}$INSTALL" >&6
1370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1371 # It thinks the first close brace ends the variable substitution.
1372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1376 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1378 # Make sure we can run config.sub.
1379 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1380 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1381 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1382 { (exit 1); exit 1; }; }
1384 echo "$as_me:$LINENO: checking build system type" >&5
1385 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1386 if test "${ac_cv_build+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_build_alias
=$build_alias
1390 test -z "$ac_cv_build_alias" &&
1391 ac_cv_build_alias
=`$ac_config_guess`
1392 test -z "$ac_cv_build_alias" &&
1393 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1394 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1395 { (exit 1); exit 1; }; }
1396 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1397 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1398 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1399 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1403 echo "${ECHO_T}$ac_cv_build" >&6
1405 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1410 echo "$as_me:$LINENO: checking host system type" >&5
1411 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1412 if test "${ac_cv_host+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 ac_cv_host_alias
=$host_alias
1416 test -z "$ac_cv_host_alias" &&
1417 ac_cv_host_alias
=$ac_cv_build_alias
1418 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1419 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1420 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1421 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1425 echo "${ECHO_T}$ac_cv_host" >&6
1427 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1432 echo "$as_me:$LINENO: checking target system type" >&5
1433 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1434 if test "${ac_cv_target+set}" = set; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1437 ac_cv_target_alias
=$target_alias
1438 test "x$ac_cv_target_alias" = "x" &&
1439 ac_cv_target_alias
=$ac_cv_host_alias
1440 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1441 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1442 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1443 { (exit 1); exit 1; }; }
1446 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1447 echo "${ECHO_T}$ac_cv_target" >&6
1448 target
=$ac_cv_target
1449 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1454 # The aliases save the names the user supplied, while $host etc.
1455 # will get canonicalized.
1456 test -n "$target_alias" &&
1457 test "$program_prefix$program_suffix$program_transform_name" = \
1459 program_prefix
=${target_alias}-
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC
="$CC" # Let the user override the test.
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 for ac_exec_ext
in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$ac_cv_prog_CC"; then
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc
; ac_word
=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC
="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1526 test -z "$ac_cv_prog_ac_ct_CC" && ac_cv_prog_ac_ct_CC
="gcc"
1529 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1530 if test -n "$ac_ct_CC"; then
1531 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1532 echo "${ECHO_T}$ac_ct_CC" >&6
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1545 ac_cpp
='$CPP $CPPFLAGS'
1546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1551 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC
="$CC" # Let the user override the test.
1560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir
=.
1565 for ac_exec_ext
in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$CC"; then
1578 echo "$as_me:$LINENO: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1586 if test -z "$ac_cv_prog_CC"; then
1588 # Extract the first word of "gcc", so it can be a program name with args.
1589 set dummy gcc
; ac_word
=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir
=.
1603 for ac_exec_ext
in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC
="gcc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1628 if test -z "$CC"; then
1629 if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1631 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC
="$CC" # Let the user override the test.
1640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir
=.
1645 for ac_exec_ext
in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1666 if test -z "$ac_cv_prog_CC"; then
1668 # Extract the first word of "cc", so it can be a program name with args.
1669 set dummy cc
; ac_word
=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$ac_ct_CC"; then
1676 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir
=.
1683 for ac_exec_ext
in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_ac_ct_CC
="cc"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1695 if test -n "$ac_ct_CC"; then
1696 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1697 echo "${ECHO_T}$ac_ct_CC" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1709 if test -z "$CC"; then
1710 # Extract the first word of "cc", so it can be a program name with args.
1711 set dummy cc
; ac_word
=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$CC"; then
1718 ac_cv_prog_CC
="$CC" # Let the user override the test.
1721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1725 test -z "$as_dir" && as_dir
=.
1726 for ac_exec_ext
in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1729 ac_prog_rejected
=yes
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739 if test $ac_prog_rejected = yes; then
1740 # We found a bogon in the path, so make sure we never use it.
1741 set dummy
$ac_cv_prog_CC
1743 if test $# != 0; then
1744 # We chose a different compiler from the bogus one.
1745 # However, it has the same basename, so the bogon will be chosen
1746 # first if we set CC to just the basename; use the full file name.
1748 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1754 if test -n "$CC"; then
1755 echo "$as_me:$LINENO: result: $CC" >&5
1756 echo "${ECHO_T}$CC" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1763 if test -z "$CC"; then
1764 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1768 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC
="$CC" # Let the user override the test.
1777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir
=.
1782 for ac_exec_ext
in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 if test -n "$CC"; then
1795 echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1802 test -n "$CC" && break
1805 if test -z "$CC"; then
1809 # Extract the first word of "$ac_prog", so it can be a program name with args.
1810 set dummy
$ac_prog; ac_word
=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 if test -n "$ac_ct_CC"; then
1817 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir
=.
1824 for ac_exec_ext
in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_ac_ct_CC
="$ac_prog"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1836 if test -n "$ac_ct_CC"; then
1837 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1838 echo "${ECHO_T}$ac_ct_CC" >&6
1840 echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6
1844 test -n "$ac_ct_CC" && break
1853 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1854 See \`config.log' for more details." >&5
1855 echo "$as_me: error: no acceptable C compiler found in \$PATH
1856 See \`config.log' for more details." >&2;}
1857 { (exit 1); exit 1; }; }
1859 # Provide some information about the compiler.
1860 echo "$as_me:$LINENO:" \
1861 "checking for C compiler version" >&5
1862 ac_compiler
=`set X $ac_compile; echo $2`
1863 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1864 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }
1868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1869 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }
1873 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1874 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }
1879 cat >conftest.
$ac_ext <<_ACEOF
1882 cat confdefs.h
>>conftest.
$ac_ext
1883 cat >>conftest.
$ac_ext <<_ACEOF
1884 /* end confdefs.h. */
1895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1896 (eval $ac_link) 2>&5
1898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); }; then
1905 if test x
$gcc_no_link = xyes
; then
1906 # Setting cross_compile will disable run tests; it will
1907 # also disable AC_CHECK_FILE but that's generally
1908 # correct if we can't link.
1912 cat >conftest.
$ac_ext <<_ACEOF
1915 cat confdefs.h
>>conftest.
$ac_ext
1916 cat >>conftest.
$ac_ext <<_ACEOF
1917 /* end confdefs.h. */
1927 ac_clean_files_save
=$ac_clean_files
1928 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1929 # Try to create an executable without -o first, disregard a.out.
1930 # It will help us diagnose broken compilers, and finding out an intuition
1932 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1933 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1934 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1935 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1936 (eval $ac_link_default) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; then
1940 # Find the output, starting from the most likely. This scheme is
1941 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1944 # Be careful to initialize this variable, since it used to be cached.
1945 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1947 # b.out is created by i960 compilers.
1948 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1950 test -f "$ac_file" ||
continue
1952 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1955 # This is the source file.
1958 # We found the default executable, but exeext='' is most
1962 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1963 # FIXME: I believe we export ac_cv_exeext for Libtool,
1964 # but it would be cool to find out if it's true. Does anybody
1965 # maintain Libtool? --akim.
1973 echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.
$ac_ext >&5
1976 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1977 See \`config.log' for more details." >&5
1978 echo "$as_me: error: C compiler cannot create executables
1979 See \`config.log' for more details." >&2;}
1980 { (exit 77); exit 77; }; }
1983 ac_exeext
=$ac_cv_exeext
1984 echo "$as_me:$LINENO: result: $ac_file" >&5
1985 echo "${ECHO_T}$ac_file" >&6
1987 # Check the compiler produces executables we can run. If not, either
1988 # the compiler is broken, or we cross compile.
1989 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1990 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1991 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1992 # If not cross compiling, check that we can run a simple program.
1993 if test "$cross_compiling" != yes; then
1994 if { ac_try
='./$ac_file'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; }; then
2002 if test "$cross_compiling" = maybe
; then
2005 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2006 If you meant to cross compile, use \`--host'.
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot run C compiled programs.
2009 If you meant to cross compile, use \`--host'.
2010 See \`config.log' for more details." >&2;}
2011 { (exit 1); exit 1; }; }
2015 echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6
2018 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2019 ac_clean_files
=$ac_clean_files_save
2020 # Check the compiler produces executables we can run. If not, either
2021 # the compiler is broken, or we cross compile.
2022 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2023 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2024 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2025 echo "${ECHO_T}$cross_compiling" >&6
2027 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2028 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2030 (eval $ac_link) 2>&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); }; then
2034 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2035 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2036 # work properly (i.e., refer to `conftest.exe'), while it won't with
2038 for ac_file
in conftest.exe conftest conftest.
*; do
2039 test -f "$ac_file" ||
continue
2041 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2042 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2049 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2050 See \`config.log' for more details." >&5
2051 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2052 See \`config.log' for more details." >&2;}
2053 { (exit 1); exit 1; }; }
2056 rm -f conftest
$ac_cv_exeext
2057 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2058 echo "${ECHO_T}$ac_cv_exeext" >&6
2060 rm -f conftest.
$ac_ext
2061 EXEEXT
=$ac_cv_exeext
2064 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2065 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2066 if test "${ac_cv_objext+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 cat >conftest.
$ac_ext <<_ACEOF
2072 cat confdefs.h
>>conftest.
$ac_ext
2073 cat >>conftest.
$ac_ext <<_ACEOF
2074 /* end confdefs.h. */
2084 rm -f conftest.o conftest.obj
2085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086 (eval $ac_compile) 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; then
2090 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2092 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2093 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2098 echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.
$ac_ext >&5
2101 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2102 See \`config.log' for more details." >&5
2103 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2104 See \`config.log' for more details." >&2;}
2105 { (exit 1); exit 1; }; }
2108 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2110 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2111 echo "${ECHO_T}$ac_cv_objext" >&6
2112 OBJEXT
=$ac_cv_objext
2114 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2115 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2116 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 cat >conftest.
$ac_ext <<_ACEOF
2122 cat confdefs.h
>>conftest.
$ac_ext
2123 cat >>conftest.
$ac_ext <<_ACEOF
2124 /* end confdefs.h. */
2137 rm -f conftest.
$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2141 grep -v '^ *+' conftest.er1
>conftest.err
2143 cat conftest.err
>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try
='test -z "$ac_c_werror_flag"
2147 || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try
='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2161 echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.
$ac_ext >&5
2166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2167 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2170 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2171 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2172 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2173 ac_test_CFLAGS
=${CFLAGS+set}
2174 ac_save_CFLAGS
=$CFLAGS
2176 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2177 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2178 if test "${ac_cv_prog_cc_g+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2196 rm -f conftest.
$ac_objext
2197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2198 (eval $ac_compile) 2>conftest.er1
2200 grep -v '^ *+' conftest.er1
>conftest.err
2202 cat conftest.err
>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); } &&
2205 { ac_try
='test -z "$ac_c_werror_flag"
2206 || test ! -s conftest.err'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; } &&
2212 { ac_try
='test -s conftest.$ac_objext'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.
$ac_ext >&5
2225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2227 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2228 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2229 if test "$ac_test_CFLAGS" = set; then
2230 CFLAGS
=$ac_save_CFLAGS
2231 elif test $ac_cv_prog_cc_g = yes; then
2232 if test "$GCC" = yes; then
2238 if test "$GCC" = yes; then
2244 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2245 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2246 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 ac_cv_prog_cc_stdc
=no
2251 cat >conftest.
$ac_ext <<_ACEOF
2254 cat confdefs.h
>>conftest.
$ac_ext
2255 cat >>conftest.
$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2259 #include <sys/types.h>
2260 #include <sys/stat.h>
2261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2262 struct buf { int x; };
2263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2264 static char *e (p, i)
2270 static char *f (char * (*g) (char **, int), char **p, ...)
2275 s = g (p, va_arg (v,int));
2280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2281 function prototypes and stuff, but not '\xHH' hex character constants.
2282 These don't provoke an error unfortunately, instead are silently treated
2283 as 'x'. The following induces an error, until -std1 is added to get
2284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2285 array size at least. It's necessary to write '\x00'==0 to get something
2286 that's true only with -std1. */
2287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2289 int test (int i, double x);
2290 struct s1 {int (*f) (int a);};
2291 struct s2 {int (*f) (double a);};
2292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2303 # Don't try gcc -ansi; that turns off useful extensions and
2304 # breaks some systems' header files.
2305 # AIX -qlanglvl=ansi
2306 # Ultrix and OSF/1 -std1
2307 # HP-UX 10.20 and later -Ae
2308 # HP-UX older versions -Aa -D_HPUX_SOURCE
2309 # SVR4 -Xc -D__EXTENSIONS__
2310 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2312 CC
="$ac_save_CC $ac_arg"
2313 rm -f conftest.
$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try
='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try
='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2335 ac_cv_prog_cc_stdc
=$ac_arg
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2342 rm -f conftest.err conftest.
$ac_objext
2344 rm -f conftest.
$ac_ext conftest.
$ac_objext
2349 case "x$ac_cv_prog_cc_stdc" in
2351 echo "$as_me:$LINENO: result: none needed" >&5
2352 echo "${ECHO_T}none needed" >&6 ;;
2354 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2355 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2356 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2359 # Some people use a C++ compiler to compile C. Since we use `exit',
2360 # in C++ we need to declare it. In case someone uses the same compiler
2361 # for both compiling C and C++ we need to have the C++ compiler decide
2362 # the declaration of exit, since it's the most demanding environment.
2363 cat >conftest.
$ac_ext <<_ACEOF
2368 rm -f conftest.
$ac_objext
2369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370 (eval $ac_compile) 2>conftest.er1
2372 grep -v '^ *+' conftest.er1
>conftest.err
2374 cat conftest.err
>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } &&
2377 { ac_try
='test -z "$ac_c_werror_flag"
2378 || test ! -s conftest.err'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; } &&
2384 { ac_try
='test -s conftest.$ac_objext'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2390 for ac_declaration
in \
2392 'extern "C" void std::exit (int) throw (); using std::exit;' \
2393 'extern "C" void std::exit (int); using std::exit;' \
2394 'extern "C" void exit (int) throw ();' \
2395 'extern "C" void exit (int);' \
2398 cat >conftest.
$ac_ext <<_ACEOF
2401 cat confdefs.h
>>conftest.
$ac_ext
2402 cat >>conftest.
$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2414 rm -f conftest.
$ac_objext
2415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2416 (eval $ac_compile) 2>conftest.er1
2418 grep -v '^ *+' conftest.er1
>conftest.err
2420 cat conftest.err
>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try
='test -z "$ac_c_werror_flag"
2424 || test ! -s conftest.err'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; } &&
2430 { ac_try
='test -s conftest.$ac_objext'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; }; then
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.
$ac_ext >&5
2443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2444 cat >conftest.
$ac_ext <<_ACEOF
2447 cat confdefs.h
>>conftest.
$ac_ext
2448 cat >>conftest.
$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2459 rm -f conftest.
$ac_objext
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } &&
2468 { ac_try
='test -z "$ac_c_werror_flag"
2469 || test ! -s conftest.err'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; } &&
2475 { ac_try
='test -s conftest.$ac_objext'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2483 echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.
$ac_ext >&5
2487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2490 if test -n "$ac_declaration"; then
2491 echo '#ifdef __cplusplus' >>confdefs.h
2492 echo $ac_declaration >>confdefs.h
2493 echo '#endif' >>confdefs.h
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2503 ac_cpp
='$CPP $CPPFLAGS'
2504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2508 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2509 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2510 { (exit 1); exit 1; }; }
2512 if test -n "$ac_tool_prefix"; then
2513 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2514 set dummy
${ac_tool_prefix}g
++; ac_word
=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_CXX+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$CXX"; then
2521 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_CXX
="${ac_tool_prefix}g++"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 if test -n "$CXX"; then
2541 echo "$as_me:$LINENO: result: $CXX" >&5
2542 echo "${ECHO_T}$CXX" >&6
2544 echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2549 if test -z "$ac_cv_prog_CXX"; then
2551 # Extract the first word of "g++", so it can be a program name with args.
2552 set dummy g
++; ac_word
=$2
2553 echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2555 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 if test -n "$ac_ct_CXX"; then
2559 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2568 ac_cv_prog_ac_ct_CXX
="g++"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 test -z "$ac_cv_prog_ac_ct_CXX" && ac_cv_prog_ac_ct_CXX
="g++"
2578 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2579 if test -n "$ac_ct_CXX"; then
2580 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2581 echo "${ECHO_T}$ac_ct_CXX" >&6
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2589 CXX
="$ac_cv_prog_CXX"
2592 if test -z "$CXX"; then
2593 if test -n "$ac_tool_prefix"; then
2594 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2595 set dummy
${ac_tool_prefix}g
++; ac_word
=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_CXX+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$CXX"; then
2602 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_CXX
="${ac_tool_prefix}g++"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 if test -n "$CXX"; then
2622 echo "$as_me:$LINENO: result: $CXX" >&5
2623 echo "${ECHO_T}$CXX" >&6
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2630 if test -z "$ac_cv_prog_CXX"; then
2632 # Extract the first word of "g++", so it can be a program name with args.
2633 set dummy g
++; ac_word
=$2
2634 echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2636 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$ac_ct_CXX"; then
2640 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_ac_ct_CXX
="g++"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 test -z "$ac_cv_prog_ac_ct_CXX" && ac_cv_prog_ac_ct_CXX
="c++"
2659 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2660 if test -n "$ac_ct_CXX"; then
2661 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2662 echo "${ECHO_T}$ac_ct_CXX" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2670 CXX
="$ac_cv_prog_CXX"
2675 ac_cpp
='$CXXCPP $CPPFLAGS'
2676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2683 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CXX+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 if test -n "$CXX"; then
2690 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir
=.
2697 for ac_exec_ext
in '' $ac_executable_extensions; do
2698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$CXX"; then
2710 echo "$as_me:$LINENO: result: $CXX" >&5
2711 echo "${ECHO_T}$CXX" >&6
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2717 test -n "$CXX" && break
2720 if test -z "$CXX"; then
2722 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2724 # Extract the first word of "$ac_prog", so it can be a program name with args.
2725 set dummy
$ac_prog; ac_word
=$2
2726 echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2728 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 if test -n "$ac_ct_CXX"; then
2732 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2751 if test -n "$ac_ct_CXX"; then
2752 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2753 echo "${ECHO_T}$ac_ct_CXX" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2759 test -n "$ac_ct_CXX" && break
2761 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2767 # Provide some information about the compiler.
2768 echo "$as_me:$LINENO:" \
2769 "checking for C++ compiler version" >&5
2770 ac_compiler
=`set X $ac_compile; echo $2`
2771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2772 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2777 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }
2781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2782 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2787 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2788 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2789 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2810 rm -f conftest.
$ac_objext
2811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2812 (eval $ac_compile) 2>conftest.er1
2814 grep -v '^ *+' conftest.er1
>conftest.err
2816 cat conftest.err
>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try
='test -z "$ac_cxx_werror_flag"
2820 || test ! -s conftest.err'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; } &&
2826 { ac_try
='test -s conftest.$ac_objext'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.
$ac_ext >&5
2839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2840 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2843 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2844 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2845 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2846 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2847 ac_save_CXXFLAGS
=$CXXFLAGS
2849 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2850 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2851 if test "${ac_cv_prog_cxx_g+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_cxx_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_prog_cxx_g
=yes
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2900 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2901 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2902 if test "$ac_test_CXXFLAGS" = set; then
2903 CXXFLAGS
=$ac_save_CXXFLAGS
2904 elif test $ac_cv_prog_cxx_g = yes; then
2905 if test "$GXX" = yes; then
2911 if test "$GXX" = yes; then
2917 for ac_declaration
in \
2919 'extern "C" void std::exit (int) throw (); using std::exit;' \
2920 'extern "C" void std::exit (int); using std::exit;' \
2921 'extern "C" void exit (int) throw ();' \
2922 'extern "C" void exit (int);' \
2925 cat >conftest.
$ac_ext <<_ACEOF
2928 cat confdefs.h
>>conftest.
$ac_ext
2929 cat >>conftest.
$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2941 rm -f conftest.
$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>conftest.er1
2945 grep -v '^ *+' conftest.er1
>conftest.err
2947 cat conftest.err
>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try
='test -z "$ac_cxx_werror_flag"
2951 || test ! -s conftest.err'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; } &&
2957 { ac_try
='test -s conftest.$ac_objext'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; }; then
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.
$ac_ext >&5
2970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2971 cat >conftest.
$ac_ext <<_ACEOF
2974 cat confdefs.h
>>conftest.
$ac_ext
2975 cat >>conftest.
$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2986 rm -f conftest.
$ac_objext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2988 (eval $ac_compile) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try
='test -z "$ac_cxx_werror_flag"
2996 || test ! -s conftest.err'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try
='test -s conftest.$ac_objext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.
$ac_ext >&5
3014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3017 if test -n "$ac_declaration"; then
3018 echo '#ifdef __cplusplus' >>confdefs.h
3019 echo $ac_declaration >>confdefs.h
3020 echo '#endif' >>confdefs.h
3024 ac_cpp
='$CPP $CPPFLAGS'
3025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3029 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3030 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3031 { (exit 1); exit 1; }; }
3034 CXXFLAGS
='$(CFLAGS)'
3038 ac_cpp
='$CPP $CPPFLAGS'
3039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3045 # Check whether --enable-server or --disable-server was given.
3046 if test "${enable_server+set}" = set; then
3047 enableval
="$enable_server"
3048 case "${enableval}" in
3050 no
) use_cygserver
=;;
3059 if ! test -d $srcdir/cygwin
; then
3060 { { echo "$as_me:$LINENO: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&5
3061 echo "$as_me: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&2;}
3062 { (exit 1); exit 1; }; }
3066 subdirs
="$subdirs cygwin"
3068 INSTALL_LICENSE
="install-license"
3071 if ! test -d $srcdir/mingw
; then
3072 { { echo "$as_me:$LINENO: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&5
3073 echo "$as_me: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&2;}
3074 { (exit 1); exit 1; }; }
3079 if test -d $srcdir/mingw
; then
3082 subdirs
="$subdirs mingw"
3087 subdirs
="$subdirs w32api"
3090 case "$with_cross_host" in
3092 # if test -d $srcdir/bz2lib; then
3093 # AC_CONFIG_SUBDIRS(bz2lib)
3095 # if test -d $srcdir/zlib; then
3096 # AC_CONFIG_SUBDIRS(zlib)
3098 if test -d $srcdir/lsaauth
; then
3101 subdirs
="$subdirs lsaauth"
3104 if test -n "$use_cygserver" -a -d $srcdir/cygserver
; then
3107 subdirs
="$subdirs cygserver"
3112 subdirs
="$subdirs utils doc"
3119 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3121 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3122 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 cat >conftest.
make <<\_ACEOF
3127 @
echo 'ac_maketemp="$(MAKE)"'
3129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3130 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3131 if test -n "$ac_maketemp"; then
3132 eval ac_cv_prog_make_
${ac_make}_set
=yes
3134 eval ac_cv_prog_make_
${ac_make}_set
=no
3138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3139 echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6
3143 echo "$as_me:$LINENO: result: no" >&5
3144 echo "${ECHO_T}no" >&6
3145 SET_MAKE
="MAKE=${MAKE-make}"
3149 ac_config_files
="$ac_config_files Makefile"
3150 cat >confcache
<<\_ACEOF
3151 # This file is a shell script that caches the results of configure
3152 # tests run on this system so they can be shared between configure
3153 # scripts and configure runs, see configure's option --config-cache.
3154 # It is not useful on other systems. If it contains results you don't
3155 # want to keep, you may remove or edit it.
3157 # config.status only pays attention to the cache file if you give it
3158 # the --recheck option to rerun configure.
3160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3166 # The following way of writing the cache mishandles newlines in values,
3167 # but we know of no workaround that is simple, portable, and efficient.
3168 # So, don't put newlines in cache variables' values.
3169 # Ultrix sh set writes to stderr and can't be redirected directly,
3170 # and sets the high bit in the cache file unless we assign to the vars.
3173 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3175 # `set' does not quote correctly, so add quotes (double-quote
3176 # substitution turns \\\\ into \\, and sed turns \\ into \).
3179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3182 # `set' quotes correctly as required by POSIX, so do not add quotes.
3184 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3193 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3195 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3196 if test -w $cache_file; then
3197 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3198 cat confcache
>$cache_file
3200 echo "not updating unwritable cache $cache_file"
3205 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3206 # Let make expand exec_prefix.
3207 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3211 # trailing colons and then remove the whole line if VPATH becomes empty
3212 # (actually we leave an empty line to preserve line numbers).
3213 if test "x$srcdir" = x.
; then
3214 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3215 s/:*\$(srcdir):*/:/;
3216 s/:*\${srcdir}:*/:/;
3218 s/^\([^=]*=[ ]*\):*/\1/;
3224 # Transform confdefs.h into DEFS.
3225 # Protect against shell expansion while executing Makefile rules.
3226 # Protect against Makefile macro expansion.
3228 # If the first sed substitution is executed (which looks for macros that
3229 # take arguments), then we branch to the quote section. Otherwise,
3230 # look for a macro that doesn't take arguments.
3231 cat >confdef2opt.
sed <<\_ACEOF
3234 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3236 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3240 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3246 # We use echo to avoid assuming a particular line-breaking character.
3247 # The extra dot is to prevent the shell from consuming trailing
3248 # line-breaks from the sub-command output. A line-break within
3249 # single-quotes doesn't work because, if this script is created in a
3250 # platform that uses two characters for line-breaks (e.g., DOS), tr
3252 ac_LF_and_DOT=`echo; echo .
`
3253 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3254 rm -f confdef2opt.sed
3259 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3260 # 1. Remove the extension, and $U if already installed.
3261 ac_i=`echo "$ac_i" |
3262 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3264 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3265 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3269 LTLIBOBJS=$ac_ltlibobjs
3273 : ${CONFIG_STATUS=./config.status}
3274 ac_clean_files_save=$ac_clean_files
3275 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3276 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3277 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3278 cat >$CONFIG_STATUS <<_ACEOF
3280 # Generated by $as_me.
3281 # Run this file to recreate the current configuration.
3282 # Compiler output produced by configure, useful for debugging
3283 # configure, is in config.log if it exists.
3288 SHELL=\${CONFIG_SHELL-$SHELL}
3291 cat >>$CONFIG_STATUS <<\_ACEOF
3292 ## --------------------- ##
3293 ## M4sh Initialization. ##
3294 ## --------------------- ##
3296 # Be Bourne compatible
3297 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3301 # is contrary to our usage. Disable this feature.
3302 alias -g '${1+"$@"}'='"$@"'
3303 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3306 DUALCASE=1; export DUALCASE # for MKS sh
3308 # Support unset when possible.
3309 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3316 # Work around bugs in pre-3.0 UWIN ksh.
3317 $as_unset ENV MAIL MAILPATH
3324 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3325 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3326 LC_TELEPHONE LC_TIME
3328 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3329 eval $as_var=C; export $as_var
3335 # Required to use basename.
3336 if expr a : '\(a\)' >/dev/null 2>&1; then
3342 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3343 as_basename=basename
3349 # Name of the executable.
3350 as_me=`$as_basename "$0" ||
3351 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3352 X
"$0" : 'X\(//\)$' \| \
3353 X
"$0" : 'X\(/\)$' \| \
3354 .
: '\(.\)' 2>/dev
/null ||
3356 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3357 /^X\/\(\/\/\)$/{ s//\1/; q; }
3358 /^X\/\(\/\).*/{ s//\1/; q; }
3362 # PATH needs CR, and LINENO needs CR and PATH.
3363 # Avoid depending upon Character Ranges.
3364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3367 as_cr_digits='0123456789'
3368 as_cr_alnum=$as_cr_Letters$as_cr_digits
3370 # The user is always right.
3371 if test "${PATH_SEPARATOR+set}" != set; then
3372 echo "#! /bin/sh" >conf$$.sh
3373 echo "exit 0" >>conf$$.sh
3375 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3386 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3387 test "x$as_lineno_1" != "x$as_lineno_2" &&
3388 test "x$as_lineno_3" = "x$as_lineno_2" || {
3389 # Find who we are. Look in the path if we contain no path at all
3392 *[\\/]* ) as_myself=$0 ;;
3393 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir=.
3398 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3403 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3404 # in which case we are not to be found in the path.
3405 if test "x$as_myself" = x; then
3408 if test ! -f "$as_myself"; then
3409 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3410 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3411 { (exit 1); exit 1; }; }
3413 case $CONFIG_SHELL in
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3419 test -z "$as_dir" && as_dir=.
3420 for as_base in sh bash ksh sh5; do
3423 if ("$as_dir/$as_base" -c '
3426 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3427 test "x$as_lineno_1" != "x$as_lineno_2" &&
3428 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3429 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3430 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3431 CONFIG_SHELL=$as_dir/$as_base
3433 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3442 # uniformly replaced by the line number. The first 'sed' inserts a
3443 # line-number line before each line; the second 'sed' does the real
3444 # work. The second script uses 'N
' to pair each line-number line
3445 # with the numbered line, and appends trailing '-' during
3446 # substitution so that $LINENO is not a special case at line end.
3447 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3448 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3449 sed '=' <$as_myself |
3454 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3457 s,^['$as_cr_digits']*\n,,
3459 chmod +x
$as_me.lineno ||
3460 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3461 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3462 { (exit 1); exit 1; }; }
3464 # Don't try to exec as it changes $[0], causing all sort of problems
3465 # (the dirname of $[0] is not the place where we might find the
3466 # original and so on. Autoconf is especially sensible to this).
3468 # Exit status is that of the last command.
3473 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3474 *c
*,-n*) ECHO_N
= ECHO_C
='
3476 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3477 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3480 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3486 rm -f conf$$ conf$$.exe conf$$.
file
3488 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3489 # We could just check for DJGPP; but this test a) works b) is more generic
3490 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3491 if test -f conf$$.exe
; then
3492 # Don't use ln at all; we don't have any links
3497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3502 rm -f conf$$ conf$$.exe conf$$.
file
3504 if mkdir
-p .
2>/dev
/null
; then
3507 test -d .
/-p && rmdir .
/-p
3511 as_executable_p
="test -f"
3513 # Sed expression to map a string onto a valid CPP name.
3514 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3516 # Sed expression to map a string onto a valid variable name.
3517 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3521 # We need space, tab and new line, in precisely that order.
3531 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3532 # report actual input values of CONFIG_FILES etc. instead of their
3533 # values after options handling. Logging --version etc. is OK.
3537 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3538 ## Running $as_me. ##
3543 This file was extended by $as_me, which was
3544 generated by GNU Autoconf 2.59. Invocation command line was
3546 CONFIG_FILES = $CONFIG_FILES
3547 CONFIG_HEADERS = $CONFIG_HEADERS
3548 CONFIG_LINKS = $CONFIG_LINKS
3549 CONFIG_COMMANDS = $CONFIG_COMMANDS
3553 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3557 # Files that config.status was made for.
3558 if test -n "$ac_config_files"; then
3559 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3562 if test -n "$ac_config_headers"; then
3563 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3566 if test -n "$ac_config_links"; then
3567 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3570 if test -n "$ac_config_commands"; then
3571 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3574 cat >>$CONFIG_STATUS <<\_ACEOF
3577 \`$as_me' instantiates files from templates according to the
3578 current configuration.
3580 Usage: $0 [OPTIONS] [FILE]...
3582 -h, --help print this help, then exit
3583 -V, --version print version number, then exit
3584 -q, --quiet do not print progress messages
3585 -d, --debug don't remove temporary files
3586 --recheck update $as_me by reconfiguring in the same conditions
3587 --file=FILE[:TEMPLATE]
3588 instantiate the configuration file FILE
3590 Configuration files:
3593 Report bugs to <bug-autoconf@gnu.org>."
3596 cat >>$CONFIG_STATUS <<_ACEOF
3599 configured by $0, generated by GNU Autoconf 2.59,
3600 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3602 Copyright (C) 2003 Free Software Foundation, Inc.
3603 This config.status script is free software; the Free Software Foundation
3604 gives unlimited permission to copy, distribute and modify it."
3609 cat >>$CONFIG_STATUS <<\_ACEOF
3610 # If no file are specified by the user, then we need to provide default
3611 # value. By we need to know if files were specified by the user.
3617 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3618 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3626 *) # This is not an option, so the user has probably given explicit
3629 ac_need_defaults
=false
;;
3633 # Handling of the options.
3635 cat >>$CONFIG_STATUS <<\_ACEOF
3636 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3638 --version |
--vers* |
-V )
3639 echo "$ac_cs_version"; exit 0 ;;
3641 # Conflict between --help and --header
3642 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3643 Try \`$0 --help' for more information." >&5
3644 echo "$as_me: error: ambiguous option: $1
3645 Try \`$0 --help' for more information." >&2;}
3646 { (exit 1); exit 1; }; };;
3647 --help |
--hel |
-h )
3648 echo "$ac_cs_usage"; exit 0 ;;
3649 --debug |
--d* |
-d )
3651 --file |
--fil |
--fi |
--f )
3653 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3654 ac_need_defaults
=false
;;
3655 --header |
--heade |
--head |
--hea )
3657 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3658 ac_need_defaults
=false
;;
3659 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3660 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3664 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3665 Try \`$0 --help' for more information." >&5
3666 echo "$as_me: error: unrecognized option: $1
3667 Try \`$0 --help' for more information." >&2;}
3668 { (exit 1); exit 1; }; } ;;
3670 *) ac_config_targets
="$ac_config_targets $1" ;;
3676 ac_configure_extra_args
=
3678 if $ac_cs_silent; then
3680 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3684 cat >>$CONFIG_STATUS <<_ACEOF
3685 if \$ac_cs_recheck; then
3686 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3687 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3696 cat >>$CONFIG_STATUS <<\_ACEOF
3697 for ac_config_target
in $ac_config_targets
3699 case "$ac_config_target" in
3700 # Handling of arguments.
3701 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3704 { (exit 1); exit 1; }; };;
3708 # If the user did not use the arguments to specify the items to instantiate,
3709 # then the envvar interface is used. Set only those that are not.
3710 # We use the long form for the default assignment because of an extremely
3711 # bizarre bug on SunOS 4.1.3.
3712 if $ac_need_defaults; then
3713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3716 # Have a temporary directory for convenience. Make it in the build tree
3717 # simply because there is no reason to put it here, and in addition,
3718 # creating and moving files from /tmp can sometimes cause problems.
3719 # Create a temporary directory, and hook for its removal unless debugging.
3722 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3723 trap '{ (exit 1); exit 1; }' 1 2 13 15
3726 # Create a (secure) tmp directory for tmp files.
3729 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3730 test -n "$tmp" && test -d "$tmp"
3733 tmp
=.
/confstat$$
-$RANDOM
3734 (umask 077 && mkdir
$tmp)
3737 echo "$me: cannot create a temporary directory in ." >&2
3738 { (exit 1); exit 1; }
3743 cat >>$CONFIG_STATUS <<_ACEOF
3746 # CONFIG_FILES section.
3749 # No need to generate the scripts if there are no CONFIG_FILES.
3750 # This happens for instance when ./config.status config.h
3751 if test -n "\$CONFIG_FILES"; then
3752 # Protect against being on the right side of a sed subst in config.status.
3753 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3754 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3755 s,@SHELL@,$SHELL,;t t
3756 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3757 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3758 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3759 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3760 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3761 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3762 s,@exec_prefix@,$exec_prefix,;t t
3763 s,@prefix@,$prefix,;t t
3764 s,@program_transform_name@,$program_transform_name,;t t
3765 s,@bindir@,$bindir,;t t
3766 s,@sbindir@,$sbindir,;t t
3767 s,@libexecdir@,$libexecdir,;t t
3768 s,@datadir@,$datadir,;t t
3769 s,@sysconfdir@,$sysconfdir,;t t
3770 s,@sharedstatedir@,$sharedstatedir,;t t
3771 s,@localstatedir@,$localstatedir,;t t
3772 s,@libdir@,$libdir,;t t
3773 s,@includedir@,$includedir,;t t
3774 s,@oldincludedir@,$oldincludedir,;t t
3775 s,@infodir@,$infodir,;t t
3776 s,@mandir@,$mandir,;t t
3777 s,@build_alias@,$build_alias,;t t
3778 s,@host_alias@,$host_alias,;t t
3779 s,@target_alias@,$target_alias,;t t
3781 s,@ECHO_C@,$ECHO_C,;t t
3782 s,@ECHO_N@,$ECHO_N,;t t
3783 s,@ECHO_T@,$ECHO_T,;t t
3785 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3786 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3787 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3788 s,@build@,$build,;t t
3789 s,@build_cpu@,$build_cpu,;t t
3790 s,@build_vendor@,$build_vendor,;t t
3791 s,@build_os@,$build_os,;t t
3793 s,@host_cpu@,$host_cpu,;t t
3794 s,@host_vendor@,$host_vendor,;t t
3795 s,@host_os@,$host_os,;t t
3796 s,@target@,$target,;t t
3797 s,@target_cpu@,$target_cpu,;t t
3798 s,@target_vendor@,$target_vendor,;t t
3799 s,@target_os@,$target_os,;t t
3801 s,@ac_ct_CC@,$ac_ct_CC,;t t
3802 s,@CFLAGS@,$CFLAGS,;t t
3803 s,@LDFLAGS@,$LDFLAGS,;t t
3804 s,@CPPFLAGS@,$CPPFLAGS,;t t
3805 s,@EXEEXT@,$EXEEXT,;t t
3806 s,@OBJEXT@,$OBJEXT,;t t
3808 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3809 s,@CXXFLAGS@,$CXXFLAGS,;t t
3810 s,@subdirs@,$subdirs,;t t
3811 s,@INSTALL_LICENSE@,$INSTALL_LICENSE,;t t
3812 s,@SET_MAKE@,$SET_MAKE,;t t
3813 s,@LIBOBJS@,$LIBOBJS,;t t
3814 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3819 cat >>$CONFIG_STATUS <<\_ACEOF
3820 # Split the substitutions into bite-sized pieces for seds with
3821 # small command number limits, like on Digital OSF/1 and HP-UX.
3823 ac_sed_frag
=1 # Number of current file.
3824 ac_beg
=1 # First line for current file.
3825 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3828 while $ac_more_lines; do
3829 if test $ac_beg -gt 1; then
3830 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3832 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3834 if test ! -s $tmp/subs.frag
; then
3837 # The purpose of the label and of the branching condition is to
3838 # speed up the sed processing (if there are no `@' at all, there
3839 # is no need to browse any of the substitutions).
3840 # These are the two extra sed commands mentioned above.
3842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3843 if test -z "$ac_sed_cmds"; then
3844 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3846 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3848 ac_sed_frag
=`expr $ac_sed_frag + 1`
3850 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3853 if test -z "$ac_sed_cmds"; then
3856 fi # test -n "$CONFIG_FILES"
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3860 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3861 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3863 - |
*:- |
*:-:* ) # input from stdin
3865 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3866 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3867 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3868 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3869 * ) ac_file_in
=$ac_file.
in ;;
3872 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3873 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3875 X"$ac_file" : 'X\(//\)[^/]' \| \
3876 X"$ac_file" : 'X\(//\)$' \| \
3877 X"$ac_file" : 'X\(/\)' \| \
3878 . : '\(.\)' 2>/dev/null ||
3880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3882 /^X\(\/\/\)$/{ s//\1/; q; }
3883 /^X\(\/\).*/{ s//\1/; q; }
3885 { if $as_mkdir_p; then
3890 while test ! -d "$as_dir"; do
3891 as_dirs
="$as_dir $as_dirs"
3892 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
3893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3894 X"$as_dir" : 'X\(//\)[^/]' \| \
3895 X"$as_dir" : 'X\(//\)$' \| \
3896 X"$as_dir" : 'X\(/\)' \| \
3897 . : '\(.\)' 2>/dev/null ||
3899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3901 /^X\(\/\/\)$/{ s//\1/; q; }
3902 /^X\(\/\).*/{ s//\1/; q; }
3905 test ! -n "$as_dirs" || mkdir
$as_dirs
3906 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3907 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3908 { (exit 1); exit 1; }; }; }
3912 if test "$ac_dir" != .
; then
3913 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3914 # A "../" for each directory in $ac_dir_suffix.
3915 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3917 ac_dir_suffix
= ac_top_builddir
=
3921 .
) # No --srcdir option. We are building in place.
3923 if test -z "$ac_top_builddir"; then
3926 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
3928 [\\/]* | ?
:[\\/]* ) # Absolute path.
3929 ac_srcdir
=$srcdir$ac_dir_suffix;
3930 ac_top_srcdir
=$srcdir ;;
3932 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
3933 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
3936 # Do not use `cd foo && pwd` to compute absolute paths, because
3937 # the directories may not exist.
3939 .
) ac_abs_builddir
="$ac_dir";;
3942 .
) ac_abs_builddir
=`pwd`;;
3943 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
3944 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
3947 case $ac_abs_builddir in
3948 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
3950 case ${ac_top_builddir}.
in
3951 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
3952 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
3953 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
3956 case $ac_abs_builddir in
3957 .
) ac_abs_srcdir
=$ac_srcdir;;
3960 .
) ac_abs_srcdir
=$ac_abs_builddir;;
3961 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
3962 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
3965 case $ac_abs_builddir in
3966 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
3968 case $ac_top_srcdir in
3969 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
3970 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
3971 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
3977 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3978 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
3981 if test x
"$ac_file" != x-
; then
3982 { echo "$as_me:$LINENO: creating $ac_file" >&5
3983 echo "$as_me: creating $ac_file" >&6;}
3986 # Let's still pretend it is `configure' which instantiates (i.e., don't
3987 # use $as_me), people would be surprised to read:
3988 # /* config.h. Generated by config.status. */
3989 if test x
"$ac_file" = x-
; then
3992 configure_input
="$ac_file. "
3994 configure_input
=$configure_input"Generated from `echo $ac_file_in |
3995 sed 's,.*/,,'` by configure."
3997 # First look for the input files in the build tree, otherwise in the
3999 ac_file_inputs
=`IFS=:
4000 for f in $ac_file_in; do
4002 -) echo $tmp/stdin ;;
4004 # Absolute (can't be DOS-style, as IFS=:)
4005 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4006 echo "$as_me: error: cannot find input file: $f" >&2;}
4007 { (exit 1); exit 1; }; }
4010 if test -f "$f"; then
4013 elif test -f "$srcdir/$f"; then
4018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4019 echo "$as_me: error: cannot find input file: $f" >&2;}
4020 { (exit 1); exit 1; }; }
4023 done` ||
{ (exit 1); exit 1; }
4025 cat >>$CONFIG_STATUS <<_ACEOF
4029 cat >>$CONFIG_STATUS <<\_ACEOF
4031 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4032 s
,@configure_input@
,$configure_input,;t t
4033 s
,@srcdir@
,$ac_srcdir,;t t
4034 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4035 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4036 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4037 s
,@builddir@
,$ac_builddir,;t t
4038 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4039 s
,@top_builddir@
,$ac_top_builddir,;t t
4040 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4041 s
,@INSTALL@
,$ac_INSTALL,;t t
4042 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4044 if test x"$ac_file" != x-; then
4045 mv $tmp/out $ac_file
4054 cat >>$CONFIG_STATUS <<\_ACEOF
4056 { (exit 0); exit 0; }
4058 chmod +x $CONFIG_STATUS
4059 ac_clean_files=$ac_clean_files_save
4062 # configure is writing to config.log, and then calls config.status.
4063 # config.status does its own redirection, appending to config.log.
4064 # Unfortunately, on DOS this fails, as config.log is still kept open
4065 # by configure, so config.status won't be able to write to it; its
4066 # output is simply discarded. So we exec the FD to /dev/null,
4067 # effectively closing config.log, so it can be properly (re)opened and
4068 # appended to by config.status. When coming back to configure, we
4069 # need to make the FD available again.
4070 if test "$no_create" != yes; then
4072 ac_config_status_args=
4073 test "$silent" = yes &&
4074 ac_config_status_args="$ac_config_status_args --quiet"
4076 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4078 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4079 # would make configure fail if this is the last instruction.
4080 $ac_cs_success || { (exit 1); exit 1; }
4084 # CONFIG_SUBDIRS section.
4086 if test "$no_recursion" != yes; then
4088 # Remove --cache-file and --srcdir arguments so they do not pile up.
4089 ac_sub_configure_args=
4091 for ac_arg in $ac_configure_args; do
4092 if test -n "$ac_prev"; then
4097 -cache-file | --cache-file | --cache-fil | --cache-fi \
4098 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4099 ac_prev=cache_file ;;
4100 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4101 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4104 --config-cache | -C)
4106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4110 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4112 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4114 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4118 # Always prepend --prefix to ensure using the same prefix
4119 # in subdir configurations.
4120 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4123 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4125 # Do not complain, so a configure script can configure whichever
4126 # parts of a large source tree are present.
4127 test -d $srcdir/$ac_dir || continue
4129 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4130 echo "$as_me: configuring
in $ac_dir" >&6;}
4131 { if $as_mkdir_p; then
4136 while test ! -d "$as_dir"; do
4137 as_dirs="$as_dir $as_dirs"
4138 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4140 X"$as_dir" : 'X\(//\)[^/]' \| \
4141 X"$as_dir" : 'X\(//\)$' \| \
4142 X"$as_dir" : 'X\(/\)' \| \
4143 . : '\(.\)' 2>/dev/null ||
4145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4147 /^X\(\/\/\)$/{ s//\1/; q; }
4148 /^X\(\/\).*/{ s//\1/; q; }
4151 test ! -n "$as_dirs" || mkdir $as_dirs
4152 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4153 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4154 { (exit 1); exit 1; }; }; }
4158 if test "$ac_dir" != .; then
4159 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4160 # A "..
/" for each directory in $ac_dir_suffix.
4161 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4163 ac_dir_suffix= ac_top_builddir=
4167 .) # No --srcdir option. We are building in place.
4169 if test -z "$ac_top_builddir"; then
4172 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4174 [\\/]* | ?:[\\/]* ) # Absolute path.
4175 ac_srcdir=$srcdir$ac_dir_suffix;
4176 ac_top_srcdir=$srcdir ;;
4178 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4179 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4182 # Do not use `cd foo && pwd` to compute absolute paths, because
4183 # the directories may not exist.
4185 .) ac_abs_builddir="$ac_dir";;
4188 .) ac_abs_builddir=`pwd`;;
4189 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4190 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4193 case $ac_abs_builddir in
4194 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4196 case ${ac_top_builddir}. in
4197 .) ac_abs_top_builddir=$ac_abs_builddir;;
4198 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4199 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4202 case $ac_abs_builddir in
4203 .) ac_abs_srcdir=$ac_srcdir;;
4206 .) ac_abs_srcdir=$ac_abs_builddir;;
4207 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4208 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4211 case $ac_abs_builddir in
4212 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4214 case $ac_top_srcdir in
4215 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4216 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4217 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4224 # Check for guested configure; otherwise get Cygnus style configure.
4225 if test -f $ac_srcdir/configure.gnu; then
4226 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4227 elif test -f $ac_srcdir/configure; then
4228 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4229 elif test -f $ac_srcdir/configure.in; then
4230 ac_sub_configure=$ac_configure
4232 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4233 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4237 # The recursion is here.
4238 if test -n "$ac_sub_configure"; then
4239 # Make the cache file name correct relative to the subdirectory.
4241 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4243 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4246 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4247 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4248 # The eval makes quoting arguments work.
4249 eval $ac_sub_configure $ac_sub_configure_args \
4250 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4251 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4252 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4253 { (exit 1); exit 1; }; }