2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="runtest.exp"
274 ac_subdirs_all
="$ac_subdirs_all example/calc example/hello"
275 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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE YACC DOCBOOK tclsh TCLSH BOARDS CONFIG subdirs LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
742 # Report the --help message.
744 if test "$ac_init_help" = "long"; then
745 # Omit some internal or obsolete options to make the list less imposing.
746 # This message is too long to be a string in the A/UX 3.1 sh.
748 \`configure' configures this package to adapt to many kinds of systems.
750 Usage: $0 [OPTION]... [VAR=VALUE]...
752 To assign environment variables (e.g., CC, CFLAGS...), specify them as
753 VAR=VALUE. See below for descriptions of some of the useful variables.
755 Defaults for the options are specified in brackets.
758 -h, --help display this help and exit
759 --help=short display options specific to this package
760 --help=recursive display the short help of all the included packages
761 -V, --version display version information and exit
762 -q, --quiet, --silent do not print \`checking...' messages
763 --cache-file=FILE cache test results in FILE [disabled]
764 -C, --config-cache alias for \`--cache-file=config.cache'
765 -n, --no-create do not create output files
766 --srcdir=DIR find the sources in DIR [configure dir or \`..']
771 Installation directories:
772 --prefix=PREFIX install architecture-independent files in PREFIX
774 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
777 By default, \`make install' will install all the files in
778 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
779 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
780 for instance \`--prefix=\$HOME'.
782 For better control, use the options below.
784 Fine tuning of the installation directories:
785 --bindir=DIR user executables [EPREFIX/bin]
786 --sbindir=DIR system admin executables [EPREFIX/sbin]
787 --libexecdir=DIR program executables [EPREFIX/libexec]
788 --datadir=DIR read-only architecture-independent data [PREFIX/share]
789 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
790 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
791 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
792 --libdir=DIR object code libraries [EPREFIX/lib]
793 --includedir=DIR C header files [PREFIX/include]
794 --oldincludedir=DIR C header files for non-gcc [/usr/include]
795 --infodir=DIR info documentation [PREFIX/info]
796 --mandir=DIR man documentation [PREFIX/man]
802 --program-prefix=PREFIX prepend PREFIX to installed program names
803 --program-suffix=SUFFIX append SUFFIX to installed program names
804 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
808 if test -n "$ac_init_help"; then
813 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
814 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
815 --enable-maintainer-mode enable make rules and dependencies not useful
816 (and sometimes confusing
) to the casual installer
817 --disable-dependency-tracking Speeds up one-time builds
818 --enable-dependency-tracking Do not reject slow dependency extractors
821 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
822 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
823 --with-docbook directory where the db2 sgml tools are
824 --with-tclinclude directory where tcl header
827 Some influential environment variables
:
828 CC C compiler
command
829 CFLAGS C compiler flags
830 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
831 nonstandard directory
<lib dir
>
832 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
833 headers
in a nonstandard directory
<include dir
>
834 CXX C
++ compiler
command
835 CXXFLAGS C
++ compiler flags
837 Use these variables to override the choices made by
`configure' or to help
838 it to find libraries and programs with nonstandard names/locations.
843 if test "$ac_init_help" = "recursive"; then
844 # If there are subdirs, report their specific --help.
846 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847 test -d $ac_dir || continue
850 if test "$ac_dir" != .; then
851 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
852 # A "../" for each directory in $ac_dir_suffix.
853 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
855 ac_dir_suffix= ac_top_builddir=
859 .) # No --srcdir option. We are building in place.
861 if test -z "$ac_top_builddir"; then
864 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
866 [\\/]* | ?:[\\/]* ) # Absolute path.
867 ac_srcdir=$srcdir$ac_dir_suffix;
868 ac_top_srcdir=$srcdir ;;
870 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871 ac_top_srcdir=$ac_top_builddir$srcdir ;;
873 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
875 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
876 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
877 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
878 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
881 # Check for guested configure; otherwise get Cygnus style configure.
882 if test -f $ac_srcdir/configure.gnu; then
884 $SHELL $ac_srcdir/configure.gnu --help=recursive
885 elif test -f $ac_srcdir/configure; then
887 $SHELL $ac_srcdir/configure --help=recursive
888 elif test -f $ac_srcdir/configure.ac ||
889 test -f $ac_srcdir/configure.in; then
893 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
899 test -n "$ac_init_help" && exit 0
900 if $ac_init_version; then
903 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
904 Free Software Foundation, Inc.
905 This configure script is free software; the Free Software Foundation
906 gives unlimited permission to copy, distribute and modify it.
912 This file contains any messages produced by compilers while
913 running configure, to aid debugging if configure makes a mistake.
915 It was created by $as_me, which was
916 generated by GNU Autoconf 2.57. Invocation command line was
927 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
928 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
929 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
930 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
931 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
933 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
934 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
936 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
937 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
938 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
939 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
940 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
941 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
942 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
950 test -z "$as_dir" && as_dir=.
966 # Keep a trace of the command line.
967 # Strip out --no-create and --no-recursion so they do not pile up.
968 # Strip out --silent because we don't want to record it for future runs.
969 # Also quote any args containing shell meta-characters.
970 # Make two passes to allow for proper duplicate-argument suppression.
975 ac_must_keep_next=false
981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983 | -silent | --silent | --silen | --sile | --sil)
985 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
986 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
989 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
991 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
992 if test $ac_must_keep_next = true; then
993 ac_must_keep_next=false # Got value, back to normal.
996 *=* | --config-cache | -C | -disable-* | --disable-* \
997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
999 | -with-* | --with-* | -without-* | --without-* | --x)
1000 case "$ac_configure_args0 " in
1001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1004 -* ) ac_must_keep_next=true ;;
1007 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1008 # Get rid of the leading space.
1014 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1015 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1017 # When interrupted or exit'd, cleanup temporary files, and complete
1018 # config.log. We remove comments because anyway the quotes in there
1019 # would cause problems or look ugly.
1020 # WARNING: Be sure not to use single quotes in there, as some shells,
1021 # such as our DU 5.0 friend, will then `close
' the trap.
1022 trap 'exit_status
=$?
1023 # Save into config.log some information that might help in debugging.
1028 ## ---------------- ##
1029 ## Cache variables. ##
1030 ## ---------------- ##
1033 # The following way of writing the cache mishandles newlines in values,
1036 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1039 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1044 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1051 ## ----------------- ##
1052 ## Output variables. ##
1053 ## ----------------- ##
1056 for ac_var
in $ac_subst_vars
1058 eval ac_val
=$
`echo $ac_var`
1059 echo "$ac_var='"'"'$ac_val'"'"'"
1063 if test -n "$ac_subst_files"; then
1070 for ac_var
in $ac_subst_files
1072 eval ac_val
=$
`echo $ac_var`
1073 echo "$ac_var='"'"'$ac_val'"'"'"
1078 if test -s confdefs.h
; then
1085 sed "/^$/d" confdefs.h |
sort
1088 test "$ac_signal" != 0 &&
1089 echo "$as_me: caught signal $ac_signal"
1090 echo "$as_me: exit $exit_status"
1092 rm -f core core.
* *.core
&&
1093 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1096 for ac_signal in 1 2 13 15; do
1097 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1101 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1102 rm -rf conftest* confdefs.h
1103 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1106 # Predefined preprocessor variables.
1108 cat >>confdefs.h <<_ACEOF
1109 #define PACKAGE_NAME "$PACKAGE_NAME"
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_STRING "$PACKAGE_STRING"
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1133 # Let the site file select an alternate cache file if it wants to.
1134 # Prefer explicitly selected file to automatically selected ones.
1135 if test -z "$CONFIG_SITE"; then
1136 if test "x$prefix" != xNONE; then
1137 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1139 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1142 for ac_site_file in $CONFIG_SITE; do
1143 if test -r "$ac_site_file"; then
1144 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1145 echo "$as_me: loading site script $ac_site_file" >&6;}
1146 sed 's
/^
/|
/' "$ac_site_file" >&5
1151 if test -r "$cache_file"; then
1152 # Some versions of bash will fail to source /dev/null (special
1153 # files actually), so we avoid doing that.
1154 if test -f "$cache_file"; then
1155 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1156 echo "$as_me: loading cache $cache_file" >&6;}
1158 [\\/]* | ?:[\\/]* ) . $cache_file;;
1159 *) . ./$cache_file;;
1163 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1164 echo "$as_me: creating cache $cache_file" >&6;}
1168 # Check that the precious variables saved in the cache have kept the same
1170 ac_cache_corrupted=false
1171 for ac_var in `(set) 2>&1 |
1172 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1173 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1174 eval ac_new_set=\$ac_env_${ac_var}_set
1175 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1176 eval ac_new_val="\$ac_env_${ac_var}_value"
1177 case $ac_old_set,$ac_new_set in
1179 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1180 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1181 ac_cache_corrupted=: ;;
1183 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1184 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1185 ac_cache_corrupted=: ;;
1188 if test "x$ac_old_val" != "x$ac_new_val"; then
1189 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1190 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1191 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1192 echo "$as_me: former value: $ac_old_val" >&2;}
1193 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1194 echo "$as_me: current value: $ac_new_val" >&2;}
1195 ac_cache_corrupted=:
1198 # Pass precious variables to config.status.
1199 if test "$ac_new_set" = set; then
1201 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1202 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1203 *) ac_arg=$ac_var=$ac_new_val ;;
1205 case " $ac_configure_args " in
1206 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1207 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1211 if $ac_cache_corrupted; then
1212 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1213 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1214 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1215 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1216 { (exit 1); exit 1; }; }
1220 ac_cpp='$CPP $CPPFLAGS'
1221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1222 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1244 am__api_version="1.6"
1246 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1247 if test -f $ac_dir/install-sh; then
1249 ac_install_sh="$ac_aux_dir/install-sh -c"
1251 elif test -f $ac_dir/install.sh; then
1253 ac_install_sh="$ac_aux_dir/install.sh -c"
1255 elif test -f $ac_dir/shtool; then
1257 ac_install_sh="$ac_aux_dir/shtool install -c"
1261 if test -z "$ac_aux_dir"; then
1262 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1263 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1264 { (exit 1); exit 1; }; }
1266 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1267 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1268 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1270 # Find a good install program. We prefer a C program (faster),
1271 # so one script is as good as another. But avoid the broken or
1272 # incompatible versions:
1273 # SysV /etc/install, /usr/sbin/install
1274 # SunOS /usr/etc/install
1275 # IRIX /sbin/install
1277 # AmigaOS /C/install, which installs bootblocks on floppy discs
1278 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1281 # ./install, which can be erroneously created by make from ./install.sh.
1282 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1283 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1284 if test -z "$INSTALL"; then
1285 if test "${ac_cv_path_install+set}" = set; then
1286 echo $ECHO_N "(cached) $ECHO_C" >&6
1288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1292 test -z "$as_dir" && as_dir
=.
1293 # Account for people who put trailing slashes in PATH elements.
1295 .
/ | .
// |
/cC
/* | \
1296 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1299 # OSF1 and SCO ODT 3.0 have their own names for install.
1300 # Don't use installbsd from OSF since it installs stuff as root
1302 for ac_prog
in ginstall scoinst
install; do
1303 for ac_exec_ext
in '' $ac_executable_extensions; do
1304 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1305 if test $ac_prog = install &&
1306 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1307 # AIX install. It has an incompatible calling convention.
1309 elif test $ac_prog = install &&
1310 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1311 # program-specific install script used by HP pwplus--don't use.
1314 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1326 if test "${ac_cv_path_install+set}" = set; then
1327 INSTALL
=$ac_cv_path_install
1329 # As a last resort, use the slow shell script. We don't cache a
1330 # path for INSTALL within a source directory, because that will
1331 # break other packages using the cache if that directory is
1332 # removed, or if the path is relative.
1333 INSTALL
=$ac_install_sh
1336 echo "$as_me:$LINENO: result: $INSTALL" >&5
1337 echo "${ECHO_T}$INSTALL" >&6
1339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1340 # It thinks the first close brace ends the variable substitution.
1341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1345 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1347 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1348 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1351 echo timestamp
> conftest.
file
1352 # Do `set' in a subshell so we don't clobber the current shell's
1353 # arguments. Must try -L first in case configure is actually a
1354 # symlink; some systems play weird games with the mod time of symlinks
1355 # (eg FreeBSD returns the mod time of the symlink's containing
1358 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1359 if test "$*" = "X"; then
1361 set X
`ls -t $srcdir/configure conftest.file`
1364 if test "$*" != "X $srcdir/configure conftest.file" \
1365 && test "$*" != "X conftest.file $srcdir/configure"; then
1367 # If neither matched, then we have a broken ls. This can happen
1368 # if, for instance, CONFIG_SHELL is bash and it inherits a
1369 # broken ls alias from the environment. This has actually
1370 # happened. Such a system could not be considered "sane".
1371 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1372 alias in your environment" >&5
1373 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1374 alias in your environment" >&2;}
1375 { (exit 1); exit 1; }; }
1378 test "$2" = conftest.
file
1384 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1385 Check your system clock" >&5
1386 echo "$as_me: error: newly created file is older than distributed files!
1387 Check your system clock" >&2;}
1388 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: result: yes" >&5
1391 echo "${ECHO_T}yes" >&6
1392 test "$program_prefix" != NONE
&&
1393 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1394 # Use a double $ so make ignores it.
1395 test "$program_suffix" != NONE
&&
1396 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1397 # Double any \ or $. echo might interpret backslashes.
1398 # By default was `s,x,x', remove it if useless.
1399 cat <<\_ACEOF
>conftest.
sed
1400 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1402 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1406 # expand $ac_aux_dir to an absolute path
1407 am_aux_dir
=`cd $ac_aux_dir && pwd`
1409 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1410 # Use eval to expand $SHELL
1411 if eval "$MISSING --run true"; then
1412 am_missing_run
="$MISSING --run "
1415 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1416 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1419 for ac_prog
in gawk mawk nawk
awk
1421 # Extract the first word of "$ac_prog", so it can be a program name with args.
1422 set dummy
$ac_prog; ac_word
=$2
1423 echo "$as_me:$LINENO: checking for $ac_word" >&5
1424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1425 if test "${ac_cv_prog_AWK+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 if test -n "$AWK"; then
1429 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1435 test -z "$as_dir" && as_dir
=.
1436 for ac_exec_ext
in '' $ac_executable_extensions; do
1437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1438 ac_cv_prog_AWK
="$ac_prog"
1439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1448 if test -n "$AWK"; then
1449 echo "$as_me:$LINENO: result: $AWK" >&5
1450 echo "${ECHO_T}$AWK" >&6
1452 echo "$as_me:$LINENO: result: no" >&5
1453 echo "${ECHO_T}no" >&6
1456 test -n "$AWK" && break
1459 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1460 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1461 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1462 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 cat >conftest.
make <<\_ACEOF
1467 @
echo 'ac_maketemp="$(MAKE)"'
1469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1470 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1471 if test -n "$ac_maketemp"; then
1472 eval ac_cv_prog_make_
${ac_make}_set
=yes
1474 eval ac_cv_prog_make_
${ac_make}_set
=no
1478 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1479 echo "$as_me:$LINENO: result: yes" >&5
1480 echo "${ECHO_T}yes" >&6
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1485 SET_MAKE
="MAKE=${MAKE-make}"
1488 # test to see if srcdir already configured
1489 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1490 test -f $srcdir/config.status
; then
1491 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1492 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1493 { (exit 1); exit 1; }; }
1496 # Define the identity of the package.
1501 cat >>confdefs.h
<<_ACEOF
1502 #define PACKAGE "$PACKAGE"
1506 cat >>confdefs.h
<<_ACEOF
1507 #define VERSION "$VERSION"
1510 # Some tools Automake needs.
1512 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1515 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1518 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1521 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1524 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1527 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1529 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1531 # Installed binaries are usually stripped using `strip' when the user
1532 # run `make install-strip'. However `strip' might not be the right
1533 # tool to use in cross-compilation environments, therefore Automake
1534 # will honor the `STRIP' environment variable to overrule this program.
1535 if test "$cross_compiling" != no
; then
1536 if test -n "$ac_tool_prefix"; then
1537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1538 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1539 echo "$as_me:$LINENO: checking for $ac_word" >&5
1540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541 if test "${ac_cv_prog_STRIP+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 if test -n "$STRIP"; then
1545 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 for ac_exec_ext
in '' $ac_executable_extensions; do
1553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1554 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1563 STRIP
=$ac_cv_prog_STRIP
1564 if test -n "$STRIP"; then
1565 echo "$as_me:$LINENO: result: $STRIP" >&5
1566 echo "${ECHO_T}$STRIP" >&6
1568 echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1573 if test -z "$ac_cv_prog_STRIP"; then
1575 # Extract the first word of "strip", so it can be a program name with args.
1576 set dummy strip
; ac_word
=$2
1577 echo "$as_me:$LINENO: checking for $ac_word" >&5
1578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1579 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 if test -n "$ac_ct_STRIP"; then
1583 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir
=.
1590 for ac_exec_ext
in '' $ac_executable_extensions; do
1591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1592 ac_cv_prog_ac_ct_STRIP
="strip"
1593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1599 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1602 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1603 if test -n "$ac_ct_STRIP"; then
1604 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1605 echo "${ECHO_T}$ac_ct_STRIP" >&6
1607 echo "$as_me:$LINENO: result: no" >&5
1608 echo "${ECHO_T}no" >&6
1613 STRIP
="$ac_cv_prog_STRIP"
1617 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1619 # We need awk for the "check" target. The system "awk" is bad on
1624 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1625 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1626 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1627 if test "${enable_maintainer_mode+set}" = set; then
1628 enableval
="$enable_maintainer_mode"
1629 USE_MAINTAINER_MODE
=$enableval
1631 USE_MAINTAINER_MODE
=no
1633 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1634 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1637 if test $USE_MAINTAINER_MODE = yes; then
1638 MAINTAINER_MODE_TRUE
=
1639 MAINTAINER_MODE_FALSE
='#'
1641 MAINTAINER_MODE_TRUE
='#'
1642 MAINTAINER_MODE_FALSE
=
1645 MAINT
=$MAINTAINER_MODE_TRUE
1648 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1649 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1650 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1651 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 cat >conftest.
make <<\_ACEOF
1656 @
echo 'ac_maketemp="$(MAKE)"'
1658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1659 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1660 if test -n "$ac_maketemp"; then
1661 eval ac_cv_prog_make_
${ac_make}_set
=yes
1663 eval ac_cv_prog_make_
${ac_make}_set
=no
1667 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1668 echo "$as_me:$LINENO: result: yes" >&5
1669 echo "${ECHO_T}yes" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1674 SET_MAKE
="MAKE=${MAKE-make}"
1679 ac_cpp
='$CPP $CPPFLAGS'
1680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1683 if test -n "$ac_tool_prefix"; then
1684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC
="$CC" # Let the user override the test.
1694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir
=.
1699 for ac_exec_ext
in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 if test -n "$CC"; then
1712 echo "$as_me:$LINENO: result: $CC" >&5
1713 echo "${ECHO_T}$CC" >&6
1715 echo "$as_me:$LINENO: result: no" >&5
1716 echo "${ECHO_T}no" >&6
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "gcc", so it can be a program name with args.
1723 set dummy gcc
; ac_word
=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 for ac_exec_ext
in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC
="gcc"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1762 if test -z "$CC"; then
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1765 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC
="$CC" # Let the user override the test.
1774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir
=.
1779 for ac_exec_ext
in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$ac_cv_prog_CC"; then
1802 # Extract the first word of "cc", so it can be a program name with args.
1803 set dummy cc
; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$ac_ct_CC"; then
1810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_ac_ct_CC
="cc"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1829 if test -n "$ac_ct_CC"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1831 echo "${ECHO_T}$ac_ct_CC" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1843 if test -z "$CC"; then
1844 # Extract the first word of "cc", so it can be a program name with args.
1845 set dummy cc
; ac_word
=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$CC"; then
1852 ac_cv_prog_CC
="$CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1863 ac_prog_rejected
=yes
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test $ac_prog_rejected = yes; then
1874 # We found a bogon in the path, so make sure we never use it.
1875 set dummy
$ac_cv_prog_CC
1877 if test $# != 0; then
1878 # We chose a different compiler from the bogus one.
1879 # However, it has the same basename, so the bogon will be chosen
1880 # first if we set CC to just the basename; use the full file name.
1882 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
1901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 test -n "$CC" && break
1939 if test -z "$CC"; then
1943 # Extract the first word of "$ac_prog", so it can be a program name with args.
1944 set dummy
$ac_prog; ac_word
=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 for ac_exec_ext
in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_CC
="$ac_prog"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1978 test -n "$ac_ct_CC" && break
1987 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1988 See \`config.log' for more details." >&5
1989 echo "$as_me: error: no acceptable C compiler found in \$PATH
1990 See \`config.log' for more details." >&2;}
1991 { (exit 1); exit 1; }; }
1993 # Provide some information about the compiler.
1994 echo "$as_me:$LINENO:" \
1995 "checking for C compiler version" >&5
1996 ac_compiler
=`set X $ac_compile; echo $2`
1997 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1998 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }
2002 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2003 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2008 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }
2013 cat >conftest.
$ac_ext <<_ACEOF
2014 #line $LINENO "configure"
2017 cat confdefs.h
>>conftest.
$ac_ext
2018 cat >>conftest.
$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 ac_clean_files_save
=$ac_clean_files
2030 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2031 # Try to create an executable without -o first, disregard a.out.
2032 # It will help us diagnose broken compilers, and finding out an intuition
2034 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2035 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2036 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2037 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2038 (eval $ac_link_default) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 # Find the output, starting from the most likely. This scheme is
2043 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2046 # Be careful to initialize this variable, since it used to be cached.
2047 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2049 # b.out is created by i960 compilers.
2050 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2052 test -f "$ac_file" ||
continue
2054 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2057 # This is the source file.
2060 # We found the default executable, but exeext='' is most
2064 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2065 # FIXME: I believe we export ac_cv_exeext for Libtool,
2066 # but it would be cool to find out if it's true. Does anybody
2067 # maintain Libtool? --akim.
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2078 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: C compiler cannot create executables
2081 See \`config.log' for more details." >&2;}
2082 { (exit 77); exit 77; }; }
2085 ac_exeext
=$ac_cv_exeext
2086 echo "$as_me:$LINENO: result: $ac_file" >&5
2087 echo "${ECHO_T}$ac_file" >&6
2089 # Check the compiler produces executables we can run. If not, either
2090 # the compiler is broken, or we cross compile.
2091 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2092 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2093 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2094 # If not cross compiling, check that we can run a simple program.
2095 if test "$cross_compiling" != yes; then
2096 if { ac_try
='./$ac_file'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; }; then
2104 if test "$cross_compiling" = maybe
; then
2107 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2108 If you meant to cross compile, use \`--host'.
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: cannot run C compiled programs.
2111 If you meant to cross compile, use \`--host'.
2112 See \`config.log' for more details." >&2;}
2113 { (exit 1); exit 1; }; }
2117 echo "$as_me:$LINENO: result: yes" >&5
2118 echo "${ECHO_T}yes" >&6
2120 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2121 ac_clean_files
=$ac_clean_files_save
2122 # Check the compiler produces executables we can run. If not, either
2123 # the compiler is broken, or we cross compile.
2124 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2125 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2126 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2127 echo "${ECHO_T}$cross_compiling" >&6
2129 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2130 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2132 (eval $ac_link) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; then
2136 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2137 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2138 # work properly (i.e., refer to `conftest.exe'), while it won't with
2140 for ac_file
in conftest.exe conftest conftest.
*; do
2141 test -f "$ac_file" ||
continue
2143 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2144 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2151 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2154 See \`config.log' for more details." >&2;}
2155 { (exit 1); exit 1; }; }
2158 rm -f conftest
$ac_cv_exeext
2159 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2160 echo "${ECHO_T}$ac_cv_exeext" >&6
2162 rm -f conftest.
$ac_ext
2163 EXEEXT
=$ac_cv_exeext
2165 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2166 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2167 if test "${ac_cv_objext+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 cat >conftest.
$ac_ext <<_ACEOF
2171 #line $LINENO "configure"
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 rm -f conftest.o conftest.obj
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2195 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.
$ac_ext >&5
2203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2204 See \`config.log' for more details." >&5
2205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2206 See \`config.log' for more details." >&2;}
2207 { (exit 1); exit 1; }; }
2210 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2212 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2213 echo "${ECHO_T}$ac_cv_objext" >&6
2214 OBJEXT
=$ac_cv_objext
2216 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2217 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
$ac_ext <<_ACEOF
2222 #line $LINENO "configure"
2225 cat confdefs.h
>>conftest.
$ac_ext
2226 cat >>conftest.
$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2240 rm -f conftest.
$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } &&
2246 { ac_try
='test -s conftest.$ac_objext'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; }; then
2254 echo "$as_me: failed program was:" >&5
2255 sed 's/^/| /' conftest.
$ac_ext >&5
2259 rm -f conftest.
$ac_objext conftest.
$ac_ext
2260 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2263 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2264 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2265 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2266 ac_test_CFLAGS
=${CFLAGS+set}
2267 ac_save_CFLAGS
=$CFLAGS
2269 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2270 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2271 if test "${ac_cv_prog_cc_g+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 cat >conftest.
$ac_ext <<_ACEOF
2275 #line $LINENO "configure"
2278 cat confdefs.h
>>conftest.
$ac_ext
2279 cat >>conftest.
$ac_ext <<_ACEOF
2280 /* end confdefs.h. */
2290 rm -f conftest.
$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); } &&
2296 { ac_try
='test -s conftest.$ac_objext'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; }; then
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.
$ac_ext >&5
2309 rm -f conftest.
$ac_objext conftest.
$ac_ext
2311 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2312 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2313 if test "$ac_test_CFLAGS" = set; then
2314 CFLAGS
=$ac_save_CFLAGS
2315 elif test $ac_cv_prog_cc_g = yes; then
2316 if test "$GCC" = yes; then
2322 if test "$GCC" = yes; then
2328 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2329 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2330 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2331 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 ac_cv_prog_cc_stdc
=no
2335 cat >conftest.
$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2344 #include <sys/types.h>
2345 #include <sys/stat.h>
2346 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2347 struct buf { int x; };
2348 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2349 static char *e (p, i)
2355 static char *f (char * (*g) (char **, int), char **p, ...)
2360 s = g (p, va_arg (v,int));
2364 int test (int i, double x);
2365 struct s1 {int (*f) (int a);};
2366 struct s2 {int (*f) (double a);};
2367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2378 # Don't try gcc -ansi; that turns off useful extensions and
2379 # breaks some systems' header files.
2380 # AIX -qlanglvl=ansi
2381 # Ultrix and OSF/1 -std1
2382 # HP-UX 10.20 and later -Ae
2383 # HP-UX older versions -Aa -D_HPUX_SOURCE
2384 # SVR4 -Xc -D__EXTENSIONS__
2385 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2387 CC
="$ac_save_CC $ac_arg"
2388 rm -f conftest.
$ac_objext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390 (eval $ac_compile) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2400 ac_cv_prog_cc_stdc
=$ac_arg
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.
$ac_ext >&5
2407 rm -f conftest.
$ac_objext
2409 rm -f conftest.
$ac_ext conftest.
$ac_objext
2414 case "x$ac_cv_prog_cc_stdc" in
2416 echo "$as_me:$LINENO: result: none needed" >&5
2417 echo "${ECHO_T}none needed" >&6 ;;
2419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2420 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2421 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2424 # Some people use a C++ compiler to compile C. Since we use `exit',
2425 # in C++ we need to declare it. In case someone uses the same compiler
2426 # for both compiling C and C++ we need to have the C++ compiler decide
2427 # the declaration of exit, since it's the most demanding environment.
2428 cat >conftest.
$ac_ext <<_ACEOF
2433 rm -f conftest.
$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try
='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2445 for ac_declaration
in \
2447 '#include <stdlib.h>' \
2448 'extern "C" void std::exit (int) throw (); using std::exit;' \
2449 'extern "C" void std::exit (int); using std::exit;' \
2450 'extern "C" void exit (int) throw ();' \
2451 'extern "C" void exit (int);' \
2454 cat >conftest.
$ac_ext <<_ACEOF
2455 #line $LINENO "configure"
2458 cat confdefs.h
>>conftest.
$ac_ext
2459 cat >>conftest.
$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try
='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2490 rm -f conftest.
$ac_objext conftest.
$ac_ext
2491 cat >conftest.
$ac_ext <<_ACEOF
2492 #line $LINENO "configure"
2495 cat confdefs.h
>>conftest.
$ac_ext
2496 cat >>conftest.
$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2507 rm -f conftest.
$ac_objext
2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509 (eval $ac_compile) 2>&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 { ac_try
='test -s conftest.$ac_objext'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; }; then
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f conftest.
$ac_objext conftest.
$ac_ext
2528 if test -n "$ac_declaration"; then
2529 echo '#ifdef __cplusplus' >>confdefs.h
2530 echo $ac_declaration >>confdefs.h
2531 echo '#endif' >>confdefs.h
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2539 rm -f conftest.
$ac_objext conftest.
$ac_ext
2541 ac_cpp
='$CPP $CPPFLAGS'
2542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2545 rm -f .deps
2>/dev
/null
2546 mkdir .deps
2>/dev
/null
2547 if test -d .deps
; then
2550 # MS-DOS does not allow filenames that begin with a dot.
2553 rmdir .deps
2>/dev
/null
2556 ac_config_commands
="$ac_config_commands depfiles"
2559 am_make
=${MAKE-make}
2560 cat > confinc
<< 'END'
2564 # If we don't find an include directive, just comment out the code.
2565 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2566 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2570 # First try GNU make style include.
2571 echo "include confinc" > confmf
2572 # We grep out `Entering directory' and `Leaving directory'
2573 # messages which can occur if `w' ends up in MAKEFLAGS.
2574 # In particular we don't look at `^make:' because GNU make might
2575 # be invoked under some other name (usually "gmake"), in which
2576 # case it prints its new name instead of `make'.
2577 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2582 # Now try BSD make style include.
2583 if test "$am__include" = "#"; then
2584 echo '.include "confinc"' > confmf
2585 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2586 am__include
=.include
2593 echo "$as_me:$LINENO: result: $_am_result" >&5
2594 echo "${ECHO_T}$_am_result" >&6
2595 rm -f confinc confmf
2597 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2598 if test "${enable_dependency_tracking+set}" = set; then
2599 enableval
="$enable_dependency_tracking"
2602 if test "x$enable_dependency_tracking" != xno
; then
2603 am_depcomp
="$ac_aux_dir/depcomp"
2608 if test "x$enable_dependency_tracking" != xno; then
2619 depcc
="$CC" am_compiler_list
=
2621 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2622 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2623 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2627 # We make a subdir and do the tests there. Otherwise we can end up
2628 # making bogus files that we don't know about and never remove. For
2629 # instance it was reported that on HP-UX the gcc test will end up
2630 # making a dummy file named `D' -- because `-MD' means `put the output
2633 # Copy depcomp to subdir because otherwise we won't find it if we're
2634 # using a relative directory.
2635 cp "$am_depcomp" conftest.dir
2638 am_cv_CC_dependencies_compiler_type
=none
2639 if test "$am_compiler_list" = ""; then
2640 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2642 for depmode
in $am_compiler_list; do
2643 # We need to recreate these files for each test, as the compiler may
2644 # overwrite some of them when testing with obscure command lines.
2645 # This happens at least with the AIX C compiler.
2646 echo '#include "conftest.h"' > conftest.c
2647 echo 'int i;' > conftest.h
2648 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2652 # after this tag, mechanisms are not by side-effect, so they'll
2653 # only be used when explicitly requested
2654 if test "x$enable_dependency_tracking" = xyes
; then
2662 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2663 # mode. It turns out that the SunPro C++ compiler does not properly
2664 # handle `-M -o', and we need to detect this.
2665 if depmode
=$depmode \
2666 source=conftest.c object
=conftest.o \
2667 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2668 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2669 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2670 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2671 am_cv_CC_dependencies_compiler_type
=$depmode
2679 am_cv_CC_dependencies_compiler_type
=none
2683 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2684 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2685 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2690 ac_cpp
='$CXXCPP $CPPFLAGS'
2691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2694 if test -n "$ac_tool_prefix"; then
2695 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2698 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2699 echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2701 if test "${ac_cv_prog_CXX+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -n "$CXX"; then
2705 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test -n "$CXX"; then
2725 echo "$as_me:$LINENO: result: $CXX" >&5
2726 echo "${ECHO_T}$CXX" >&6
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2732 test -n "$CXX" && break
2735 if test -z "$CXX"; then
2737 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2739 # Extract the first word of "$ac_prog", so it can be a program name with args.
2740 set dummy
$ac_prog; ac_word
=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$ac_ct_CXX"; then
2747 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2766 if test -n "$ac_ct_CXX"; then
2767 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2768 echo "${ECHO_T}$ac_ct_CXX" >&6
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$ac_ct_CXX" && break
2776 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2782 # Provide some information about the compiler.
2783 echo "$as_me:$LINENO:" \
2784 "checking for C++ compiler version" >&5
2785 ac_compiler
=`set X $ac_compile; echo $2`
2786 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2787 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }
2791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2792 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }
2796 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2797 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }
2802 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2803 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2804 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 cat >conftest.
$ac_ext <<_ACEOF
2808 #line $LINENO "configure"
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2826 rm -f conftest.
$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.
$ac_ext >&5
2845 rm -f conftest.
$ac_objext conftest.
$ac_ext
2846 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2849 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2850 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2851 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2852 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2853 ac_save_CXXFLAGS
=$CXXFLAGS
2855 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2856 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2857 if test "${ac_cv_prog_cxx_g+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 cat >conftest.
$ac_ext <<_ACEOF
2861 #line $LINENO "configure"
2864 cat confdefs.h
>>conftest.
$ac_ext
2865 cat >>conftest.
$ac_ext <<_ACEOF
2866 /* end confdefs.h. */
2876 rm -f conftest.
$ac_objext
2877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2878 (eval $ac_compile) 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try
='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2888 ac_cv_prog_cxx_g
=yes
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.
$ac_ext >&5
2895 rm -f conftest.
$ac_objext conftest.
$ac_ext
2897 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2898 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2899 if test "$ac_test_CXXFLAGS" = set; then
2900 CXXFLAGS
=$ac_save_CXXFLAGS
2901 elif test $ac_cv_prog_cxx_g = yes; then
2902 if test "$GXX" = yes; then
2908 if test "$GXX" = yes; then
2914 for ac_declaration
in \
2916 '#include <stdlib.h>' \
2917 'extern "C" void std::exit (int) throw (); using std::exit;' \
2918 'extern "C" void std::exit (int); using std::exit;' \
2919 'extern "C" void exit (int) throw ();' \
2920 'extern "C" void exit (int);' \
2923 cat >conftest.
$ac_ext <<_ACEOF
2924 #line $LINENO "configure"
2927 cat confdefs.h
>>conftest.
$ac_ext
2928 cat >>conftest.
$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2940 rm -f conftest.
$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try
='test -s conftest.$ac_objext'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.
$ac_ext >&5
2959 rm -f conftest.
$ac_objext conftest.
$ac_ext
2960 cat >conftest.
$ac_ext <<_ACEOF
2961 #line $LINENO "configure"
2964 cat confdefs.h
>>conftest.
$ac_ext
2965 cat >>conftest.
$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2976 rm -f conftest.
$ac_objext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978 (eval $ac_compile) 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try
='test -s conftest.$ac_objext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.
$ac_ext >&5
2994 rm -f conftest.
$ac_objext conftest.
$ac_ext
2997 if test -n "$ac_declaration"; then
2998 echo '#ifdef __cplusplus' >>confdefs.h
2999 echo $ac_declaration >>confdefs.h
3000 echo '#endif' >>confdefs.h
3004 ac_cpp
='$CPP $CPPFLAGS'
3005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3009 depcc
="$CXX" am_compiler_list
=
3011 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3012 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3013 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3017 # We make a subdir and do the tests there. Otherwise we can end up
3018 # making bogus files that we don't know about and never remove. For
3019 # instance it was reported that on HP-UX the gcc test will end up
3020 # making a dummy file named `D' -- because `-MD' means `put the output
3023 # Copy depcomp to subdir because otherwise we won't find it if we're
3024 # using a relative directory.
3025 cp "$am_depcomp" conftest.dir
3028 am_cv_CXX_dependencies_compiler_type
=none
3029 if test "$am_compiler_list" = ""; then
3030 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3032 for depmode
in $am_compiler_list; do
3033 # We need to recreate these files for each test, as the compiler may
3034 # overwrite some of them when testing with obscure command lines.
3035 # This happens at least with the AIX C compiler.
3036 echo '#include "conftest.h"' > conftest.c
3037 echo 'int i;' > conftest.h
3038 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3042 # after this tag, mechanisms are not by side-effect, so they'll
3043 # only be used when explicitly requested
3044 if test "x$enable_dependency_tracking" = xyes
; then
3052 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3053 # mode. It turns out that the SunPro C++ compiler does not properly
3054 # handle `-M -o', and we need to detect this.
3055 if depmode
=$depmode \
3056 source=conftest.c object
=conftest.o \
3057 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
3058 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
3059 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
3060 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3061 am_cv_CXX_dependencies_compiler_type
=$depmode
3069 am_cv_CXX_dependencies_compiler_type
=none
3073 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3074 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3075 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3078 # Find a good install program. We prefer a C program (faster),
3079 # so one script is as good as another. But avoid the broken or
3080 # incompatible versions:
3081 # SysV /etc/install, /usr/sbin/install
3082 # SunOS /usr/etc/install
3083 # IRIX /sbin/install
3085 # AmigaOS /C/install, which installs bootblocks on floppy discs
3086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3089 # ./install, which can be erroneously created by make from ./install.sh.
3090 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3091 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 # Account for people who put trailing slashes in PATH elements.
3103 .
/ | .
// |
/cC
/* | \
3104 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3107 # OSF1 and SCO ODT 3.0 have their own names for install.
3108 # Don't use installbsd from OSF since it installs stuff as root
3110 for ac_prog
in ginstall scoinst
install; do
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3113 if test $ac_prog = install &&
3114 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3115 # AIX install. It has an incompatible calling convention.
3117 elif test $ac_prog = install &&
3118 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3119 # program-specific install script used by HP pwplus--don't use.
3122 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3134 if test "${ac_cv_path_install+set}" = set; then
3135 INSTALL
=$ac_cv_path_install
3137 # As a last resort, use the slow shell script. We don't cache a
3138 # path for INSTALL within a source directory, because that will
3139 # break other packages using the cache if that directory is
3140 # removed, or if the path is relative.
3141 INSTALL
=$ac_install_sh
3144 echo "$as_me:$LINENO: result: $INSTALL" >&5
3145 echo "${ECHO_T}$INSTALL" >&6
3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3148 # It thinks the first close brace ends the variable substitution.
3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3153 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3157 for ac_prog
in 'bison -y' byacc
3159 # Extract the first word of "$ac_prog", so it can be a program name with args.
3160 set dummy
$ac_prog; ac_word
=$2
3161 echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3163 if test "${ac_cv_prog_YACC+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -n "$YACC"; then
3167 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_YACC
="$ac_prog"
3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 YACC
=$ac_cv_prog_YACC
3186 if test -n "$YACC"; then
3187 echo "$as_me:$LINENO: result: $YACC" >&5
3188 echo "${ECHO_T}$YACC" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3194 test -n "$YACC" && break
3196 test -n "$YACC" || YACC
="yacc"
3200 dirlist
=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
3201 echo "$as_me:$LINENO: checking for docbook tools" >&5
3202 echo $ECHO_N "checking for docbook tools... $ECHO_C" >&6
3204 # Check whether --with-oskith or --without-oskith was given.
3205 if test "${with_oskith+set}" = set; then
3206 withval
="$with_oskith"
3207 with_docbook
=${withval}
3209 if test "${ac_cv_c_docbook+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 if test x
"${with_docbook}" != x
; then
3214 if test -f ${with_docbook}/db2html
; then
3215 ac_cv_c_docbook
=`(cd ${with_docbook}; pwd)`
3217 { { echo "$as_me:$LINENO: error: ${with_docbook} directory doesn't contain SGML tools" >&5
3218 echo "$as_me: error: ${with_docbook} directory doesn't contain SGML tools" >&2;}
3219 { (exit 1); exit 1; }; }
3225 if test x
"${ac_cv_c_docbook}" = x
; then
3226 for i
in $ac_default_prefix/bin
/usr
/local
/bin
$OSKITHDIR/..
/bin
/usr
/bin
/bin
/opt
/home
; do
3227 if test -f $i/db2html
; then
3234 if test x
"${ac_cv_c_docbook}" = x
; then
3235 echo "$as_me:$LINENO: result: none" >&5
3236 echo "${ECHO_T}none" >&6
3238 DOCBOOK
="${ac_cv_c_docbook}"
3239 echo "$as_me:$LINENO: result: ${ac_cv_c_docbook}" >&5
3240 echo "${ECHO_T}${ac_cv_c_docbook}" >&6
3247 dirlist
=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
3248 ../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..
3251 echo "$as_me:$LINENO: checking for the tclsh program" >&5
3252 echo $ECHO_N "checking for the tclsh program... $ECHO_C" >&6
3254 # Check whether --with-tclinclude or --without-tclinclude was given.
3255 if test "${with_tclinclude+set}" = set; then
3256 withval
="$with_tclinclude"
3257 with_tclinclude
=${withval}
3259 if test "${ac_cv_path_tclsh+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 if test x
"${with_tclinclude}" != x
; then
3264 if test -f ${with_tclinclude}/tclsh
; then
3265 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
3266 elif test -f ${with_tclinclude}/src
/tclsh
; then
3267 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
3269 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
3270 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
3271 { (exit 1); exit 1; }; }
3278 if test x
"${ac_cv_path_tclsh}" = x
; then
3279 for i
in $dirlist; do
3280 if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then
3286 for i
in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do
3287 if test -f $i/src
/tclsh
; then
3288 ac_cv_path_tclsh
=`(cd $i/src; pwd)`/tclsh
3294 if test x
"${ac_cv_path_tclsh}" = x
; then
3295 echo "$as_me:$LINENO: result: none" >&5
3296 echo "${ECHO_T}none" >&6
3297 # Extract the first word of "tclsh", so it can be a program name with args.
3298 set dummy tclsh
; ac_word
=$2
3299 echo "$as_me:$LINENO: checking for $ac_word" >&5
3300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3301 if test "${ac_cv_path_tclsh+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 ac_cv_path_tclsh
="$tclsh" # Let the user override the test with a path.
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 for ac_exec_ext
in '' $ac_executable_extensions; do
3315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_path_tclsh
="$as_dir/$ac_word$ac_exec_ext"
3317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 tclsh
=$ac_cv_path_tclsh
3328 if test -n "$tclsh"; then
3329 echo "$as_me:$LINENO: result: $tclsh" >&5
3330 echo "${ECHO_T}$tclsh" >&6
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3337 echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
3338 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
3340 TCLSH
="${ac_cv_path_tclsh}"
3351 subdirs
="$subdirs example/calc example/hello"
3354 ac_config_files
="$ac_config_files Makefile doc/Makefile testsuite/Makefile example/Makefile testsuite/libdejagnu/Makefile"
3355 cat >confcache
<<\_ACEOF
3356 # This file is a shell script that caches the results of configure
3357 # tests run on this system so they can be shared between configure
3358 # scripts and configure runs, see configure's option --config-cache.
3359 # It is not useful on other systems. If it contains results you don't
3360 # want to keep, you may remove or edit it.
3362 # config.status only pays attention to the cache file if you give it
3363 # the --recheck option to rerun configure.
3365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3371 # The following way of writing the cache mishandles newlines in values,
3372 # but we know of no workaround that is simple, portable, and efficient.
3373 # So, don't put newlines in cache variables' values.
3374 # Ultrix sh set writes to stderr and can't be redirected directly,
3375 # and sets the high bit in the cache file unless we assign to the vars.
3378 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3380 # `set' does not quote correctly, so add quotes (double-quote
3381 # substitution turns \\\\ into \\, and sed turns \\ into \).
3384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3387 # `set' quotes correctly as required by POSIX, so do not add quotes.
3389 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3398 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3400 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3401 if test -w $cache_file; then
3402 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3403 cat confcache
>$cache_file
3405 echo "not updating unwritable cache $cache_file"
3410 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3411 # Let make expand exec_prefix.
3412 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3414 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3415 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3416 # trailing colons and then remove the whole line if VPATH becomes empty
3417 # (actually we leave an empty line to preserve line numbers).
3418 if test "x$srcdir" = x.
; then
3419 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3420 s/:*\$(srcdir):*/:/;
3421 s/:*\${srcdir}:*/:/;
3423 s/^\([^=]*=[ ]*\):*/\1/;
3429 # Transform confdefs.h into DEFS.
3430 # Protect against shell expansion while executing Makefile rules.
3431 # Protect against Makefile macro expansion.
3433 # If the first sed substitution is executed (which looks for macros that
3434 # take arguments), then we branch to the quote section. Otherwise,
3435 # look for a macro that doesn't take arguments.
3436 cat >confdef2opt.
sed <<\_ACEOF
3439 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3441 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3445 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3451 # We use echo to avoid assuming a particular line-breaking character.
3452 # The extra dot is to prevent the shell from consuming trailing
3453 # line-breaks from the sub-command output. A line-break within
3454 # single-quotes doesn't work because, if this script is created in a
3455 # platform that uses two characters for line-breaks (e.g., DOS), tr
3457 ac_LF_and_DOT=`echo; echo .
`
3458 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3459 rm -f confdef2opt.sed
3464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3465 # 1. Remove the extension, and $U if already installed.
3466 ac_i=`echo "$ac_i" |
3467 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3469 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3470 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3474 LTLIBOBJS=$ac_ltlibobjs
3477 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3478 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3479 Usually this means the macro was only invoked conditionally." >&5
3480 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3481 Usually this means the macro was only invoked conditionally." >&2;}
3482 { (exit 1); exit 1; }; }
3484 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3485 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3486 Usually this means the macro was only invoked conditionally." >&5
3487 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3488 Usually this means the macro was only invoked conditionally." >&2;}
3489 { (exit 1); exit 1; }; }
3492 : ${CONFIG_STATUS=./config.status}
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3495 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3497 cat >$CONFIG_STATUS <<_ACEOF
3499 # Generated by $as_me.
3500 # Run this file to recreate the current configuration.
3501 # Compiler output produced by configure, useful for debugging
3502 # configure, is in config.log if it exists.
3507 SHELL=\${CONFIG_SHELL-$SHELL}
3510 cat >>$CONFIG_STATUS <<\_ACEOF
3511 ## --------------------- ##
3512 ## M4sh Initialization. ##
3513 ## --------------------- ##
3515 # Be Bourne compatible
3516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3520 # is contrary to our usage. Disable this feature.
3521 alias -g '${1+"$@"}'='"$@"'
3522 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3526 # Support unset when possible.
3527 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3534 # Work around bugs in pre-3.0 UWIN ksh.
3535 $as_unset ENV MAIL MAILPATH
3542 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3543 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3544 LC_TELEPHONE LC_TIME
3546 if (set +x; test -n "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3547 eval $as_var=C; export $as_var
3553 # Required to use basename.
3554 if expr a : '\(a\)' >/dev/null 2>&1; then
3560 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3561 as_basename=basename
3567 # Name of the executable.
3568 as_me=`$as_basename "$0" ||
3569 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3570 X
"$0" : 'X\(//\)$' \| \
3571 X
"$0" : 'X\(/\)$' \| \
3572 .
: '\(.\)' 2>/dev
/null ||
3574 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3575 /^X\/\(\/\/\)$/{ s//\1/; q; }
3576 /^X\/\(\/\).*/{ s//\1/; q; }
3580 # PATH needs CR, and LINENO needs CR and PATH.
3581 # Avoid depending upon Character Ranges.
3582 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3583 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3584 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3585 as_cr_digits='0123456789'
3586 as_cr_alnum=$as_cr_Letters$as_cr_digits
3588 # The user is always right.
3589 if test "${PATH_SEPARATOR+set}" != set; then
3590 echo "#! /bin/sh" >conf$$.sh
3591 echo "exit 0" >>conf$$.sh
3593 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3604 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3605 test "x$as_lineno_1" != "x$as_lineno_2" &&
3606 test "x$as_lineno_3" = "x$as_lineno_2" || {
3607 # Find who we are. Look in the path if we contain no path at all
3610 *[\\/]* ) as_myself=$0 ;;
3611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir=.
3616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3621 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3622 # in which case we are not to be found in the path.
3623 if test "x$as_myself" = x; then
3626 if test ! -f "$as_myself"; then
3627 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3628 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3629 { (exit 1); exit 1; }; }
3631 case $CONFIG_SHELL in
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3637 test -z "$as_dir" && as_dir=.
3638 for as_base in sh bash ksh sh5; do
3641 if ("$as_dir/$as_base" -c '
3644 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3645 test "x$as_lineno_1" != "x$as_lineno_2" &&
3646 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3647 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3648 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3649 CONFIG_SHELL=$as_dir/$as_base
3651 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3659 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3660 # uniformly replaced by the line number. The first 'sed' inserts a
3661 # line-number line before each line; the second 'sed' does the real
3662 # work. The second script uses 'N
' to pair each line-number line
3663 # with the numbered line, and appends trailing '-' during
3664 # substitution so that $LINENO is not a special case at line end.
3665 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3666 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3667 sed '=' <$as_myself |
3672 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3675 s,^['$as_cr_digits']*\n,,
3677 chmod +x
$as_me.lineno ||
3678 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3679 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3680 { (exit 1); exit 1; }; }
3682 # Don't try to exec as it changes $[0], causing all sort of problems
3683 # (the dirname of $[0] is not the place where we might find the
3684 # original and so on. Autoconf is especially sensible to this).
3686 # Exit status is that of the last command.
3691 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3692 *c
*,-n*) ECHO_N
= ECHO_C
='
3694 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3695 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3698 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3704 rm -f conf$$ conf$$.exe conf$$.
file
3706 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3707 # We could just check for DJGPP; but this test a) works b) is more generic
3708 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3709 if test -f conf$$.exe
; then
3710 # Don't use ln at all; we don't have any links
3715 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3720 rm -f conf$$ conf$$.exe conf$$.
file
3722 if mkdir
-p .
2>/dev
/null
; then
3728 as_executable_p
="test -f"
3730 # Sed expression to map a string onto a valid CPP name.
3731 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3733 # Sed expression to map a string onto a valid variable name.
3734 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3738 # We need space, tab and new line, in precisely that order.
3748 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3749 # report actual input values of CONFIG_FILES etc. instead of their
3750 # values after options handling. Logging --version etc. is OK.
3754 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3755 ## Running $as_me. ##
3760 This file was extended by $as_me, which was
3761 generated by GNU Autoconf 2.57. Invocation command line was
3763 CONFIG_FILES = $CONFIG_FILES
3764 CONFIG_HEADERS = $CONFIG_HEADERS
3765 CONFIG_LINKS = $CONFIG_LINKS
3766 CONFIG_COMMANDS = $CONFIG_COMMANDS
3770 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3774 # Files that config.status was made for.
3775 if test -n "$ac_config_files"; then
3776 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3779 if test -n "$ac_config_headers"; then
3780 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3783 if test -n "$ac_config_links"; then
3784 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3787 if test -n "$ac_config_commands"; then
3788 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3791 cat >>$CONFIG_STATUS <<\_ACEOF
3794 \`$as_me' instantiates files from templates according to the
3795 current configuration.
3797 Usage: $0 [OPTIONS] [FILE]...
3799 -h, --help print this help, then exit
3800 -V, --version print version number, then exit
3801 -q, --quiet do not print progress messages
3802 -d, --debug don't remove temporary files
3803 --recheck update $as_me by reconfiguring in the same conditions
3804 --file=FILE[:TEMPLATE]
3805 instantiate the configuration file FILE
3807 Configuration files:
3810 Configuration commands:
3813 Report bugs to <bug-autoconf@gnu.org>."
3816 cat >>$CONFIG_STATUS <<_ACEOF
3819 configured by $0, generated by GNU Autoconf 2.57,
3820 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3822 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3823 Free Software Foundation, Inc.
3824 This config.status script is free software; the Free Software Foundation
3825 gives unlimited permission to copy, distribute and modify it."
3830 cat >>$CONFIG_STATUS <<\_ACEOF
3831 # If no file are specified by the user, then we need to provide default
3832 # value. By we need to know if files were specified by the user.
3838 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3839 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3847 *) # This is not an option, so the user has probably given explicit
3850 ac_need_defaults
=false
;;
3854 # Handling of the options.
3856 cat >>$CONFIG_STATUS <<\_ACEOF
3857 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3859 --version |
--vers* |
-V )
3860 echo "$ac_cs_version"; exit 0 ;;
3862 # Conflict between --help and --header
3863 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3864 Try \`$0 --help' for more information." >&5
3865 echo "$as_me: error: ambiguous option: $1
3866 Try \`$0 --help' for more information." >&2;}
3867 { (exit 1); exit 1; }; };;
3868 --help |
--hel |
-h )
3869 echo "$ac_cs_usage"; exit 0 ;;
3870 --debug |
--d* |
-d )
3872 --file |
--fil |
--fi |
--f )
3874 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3875 ac_need_defaults
=false
;;
3876 --header |
--heade |
--head |
--hea )
3878 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3879 ac_need_defaults
=false
;;
3880 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3881 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3885 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3886 Try \`$0 --help' for more information." >&5
3887 echo "$as_me: error: unrecognized option: $1
3888 Try \`$0 --help' for more information." >&2;}
3889 { (exit 1); exit 1; }; } ;;
3891 *) ac_config_targets
="$ac_config_targets $1" ;;
3897 ac_configure_extra_args
=
3899 if $ac_cs_silent; then
3901 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3905 cat >>$CONFIG_STATUS <<_ACEOF
3906 if \$ac_cs_recheck; then
3907 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3908 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3913 cat >>$CONFIG_STATUS <<_ACEOF
3915 # INIT-COMMANDS section.
3918 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3924 cat >>$CONFIG_STATUS <<\_ACEOF
3925 for ac_config_target
in $ac_config_targets
3927 case "$ac_config_target" in
3928 # Handling of arguments.
3929 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3930 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3931 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
3932 "example/Makefile" ) CONFIG_FILES
="$CONFIG_FILES example/Makefile" ;;
3933 "testsuite/libdejagnu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/libdejagnu/Makefile" ;;
3934 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
3935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3937 { (exit 1); exit 1; }; };;
3941 # If the user did not use the arguments to specify the items to instantiate,
3942 # then the envvar interface is used. Set only those that are not.
3943 # We use the long form for the default assignment because of an extremely
3944 # bizarre bug on SunOS 4.1.3.
3945 if $ac_need_defaults; then
3946 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3950 # Have a temporary directory for convenience. Make it in the build tree
3951 # simply because there is no reason to put it here, and in addition,
3952 # creating and moving files from /tmp can sometimes cause problems.
3953 # Create a temporary directory, and hook for its removal unless debugging.
3956 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3957 trap '{ (exit 1); exit 1; }' 1 2 13 15
3960 # Create a (secure) tmp directory for tmp files.
3963 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3964 test -n "$tmp" && test -d "$tmp"
3967 tmp
=.
/confstat$$
-$RANDOM
3968 (umask 077 && mkdir
$tmp)
3971 echo "$me: cannot create a temporary directory in ." >&2
3972 { (exit 1); exit 1; }
3977 cat >>$CONFIG_STATUS <<_ACEOF
3980 # CONFIG_FILES section.
3983 # No need to generate the scripts if there are no CONFIG_FILES.
3984 # This happens for instance when ./config.status config.h
3985 if test -n "\$CONFIG_FILES"; then
3986 # Protect against being on the right side of a sed subst in config.status.
3987 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3988 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3989 s,@SHELL@,$SHELL,;t t
3990 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3991 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3992 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3993 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3994 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3995 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3996 s,@exec_prefix@,$exec_prefix,;t t
3997 s,@prefix@,$prefix,;t t
3998 s,@program_transform_name@,$program_transform_name,;t t
3999 s,@bindir@,$bindir,;t t
4000 s,@sbindir@,$sbindir,;t t
4001 s,@libexecdir@,$libexecdir,;t t
4002 s,@datadir@,$datadir,;t t
4003 s,@sysconfdir@,$sysconfdir,;t t
4004 s,@sharedstatedir@,$sharedstatedir,;t t
4005 s,@localstatedir@,$localstatedir,;t t
4006 s,@libdir@,$libdir,;t t
4007 s,@includedir@,$includedir,;t t
4008 s,@oldincludedir@,$oldincludedir,;t t
4009 s,@infodir@,$infodir,;t t
4010 s,@mandir@,$mandir,;t t
4011 s,@build_alias@,$build_alias,;t t
4012 s,@host_alias@,$host_alias,;t t
4013 s,@target_alias@,$target_alias,;t t
4015 s,@ECHO_C@,$ECHO_C,;t t
4016 s,@ECHO_N@,$ECHO_N,;t t
4017 s,@ECHO_T@,$ECHO_T,;t t
4019 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4020 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4021 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4022 s,@PACKAGE@,$PACKAGE,;t t
4023 s,@VERSION@,$VERSION,;t t
4024 s,@ACLOCAL@,$ACLOCAL,;t t
4025 s,@AUTOCONF@,$AUTOCONF,;t t
4026 s,@AUTOMAKE@,$AUTOMAKE,;t t
4027 s,@AUTOHEADER@,$AUTOHEADER,;t t
4028 s,@MAKEINFO@,$MAKEINFO,;t t
4029 s,@AMTAR@,$AMTAR,;t t
4030 s,@install_sh@,$install_sh,;t t
4031 s,@STRIP@,$STRIP,;t t
4032 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4033 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4035 s,@SET_MAKE@,$SET_MAKE,;t t
4036 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4037 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4038 s,@MAINT@,$MAINT,;t t
4040 s,@CFLAGS@,$CFLAGS,;t t
4041 s,@LDFLAGS@,$LDFLAGS,;t t
4042 s,@CPPFLAGS@,$CPPFLAGS,;t t
4043 s,@ac_ct_CC@,$ac_ct_CC,;t t
4044 s,@EXEEXT@,$EXEEXT,;t t
4045 s,@OBJEXT@,$OBJEXT,;t t
4046 s,@DEPDIR@,$DEPDIR,;t t
4047 s,@am__include@,$am__include,;t t
4048 s,@am__quote@,$am__quote,;t t
4049 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4050 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4051 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4052 s,@CCDEPMODE@,$CCDEPMODE,;t t
4054 s,@CXXFLAGS@,$CXXFLAGS,;t t
4055 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4056 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4058 s,@DOCBOOK@,$DOCBOOK,;t t
4059 s,@tclsh@,$tclsh,;t t
4060 s,@TCLSH@,$TCLSH,;t t
4061 s,@BOARDS@,$BOARDS,;t t
4062 s,@CONFIG@,$CONFIG,;t t
4063 s,@subdirs@,$subdirs,;t t
4064 s,@LIBOBJS@,$LIBOBJS,;t t
4065 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4070 cat >>$CONFIG_STATUS <<\_ACEOF
4071 # Split the substitutions into bite-sized pieces for seds with
4072 # small command number limits, like on Digital OSF/1 and HP-UX.
4074 ac_sed_frag
=1 # Number of current file.
4075 ac_beg
=1 # First line for current file.
4076 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4079 while $ac_more_lines; do
4080 if test $ac_beg -gt 1; then
4081 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4083 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4085 if test ! -s $tmp/subs.frag
; then
4088 # The purpose of the label and of the branching condition is to
4089 # speed up the sed processing (if there are no `@' at all, there
4090 # is no need to browse any of the substitutions).
4091 # These are the two extra sed commands mentioned above.
4093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4094 if test -z "$ac_sed_cmds"; then
4095 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4097 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4099 ac_sed_frag
=`expr $ac_sed_frag + 1`
4101 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4104 if test -z "$ac_sed_cmds"; then
4107 fi # test -n "$CONFIG_FILES"
4110 cat >>$CONFIG_STATUS <<\_ACEOF
4111 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4112 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4114 - |
*:- |
*:-:* ) # input from stdin
4116 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4117 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4118 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4119 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4120 * ) ac_file_in
=$ac_file.
in ;;
4123 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4124 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4126 X"$ac_file" : 'X\(//\)[^/]' \| \
4127 X"$ac_file" : 'X\(//\)$' \| \
4128 X"$ac_file" : 'X\(/\)' \| \
4129 . : '\(.\)' 2>/dev/null ||
4131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4133 /^X\(\/\/\)$/{ s//\1/; q; }
4134 /^X\(\/\).*/{ s//\1/; q; }
4136 { if $as_mkdir_p; then
4141 while test ! -d "$as_dir"; do
4142 as_dirs
="$as_dir $as_dirs"
4143 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4145 X"$as_dir" : 'X\(//\)[^/]' \| \
4146 X"$as_dir" : 'X\(//\)$' \| \
4147 X"$as_dir" : 'X\(/\)' \| \
4148 . : '\(.\)' 2>/dev/null ||
4150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4152 /^X\(\/\/\)$/{ s//\1/; q; }
4153 /^X\(\/\).*/{ s//\1/; q; }
4156 test ! -n "$as_dirs" || mkdir
$as_dirs
4157 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4158 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4159 { (exit 1); exit 1; }; }; }
4163 if test "$ac_dir" != .
; then
4164 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4165 # A "../" for each directory in $ac_dir_suffix.
4166 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4168 ac_dir_suffix
= ac_top_builddir
=
4172 .
) # No --srcdir option. We are building in place.
4174 if test -z "$ac_top_builddir"; then
4177 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4179 [\\/]* | ?
:[\\/]* ) # Absolute path.
4180 ac_srcdir
=$srcdir$ac_dir_suffix;
4181 ac_top_srcdir
=$srcdir ;;
4183 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4184 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4186 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4188 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
4189 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4190 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4191 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4195 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4196 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4199 if test x
"$ac_file" != x-
; then
4200 { echo "$as_me:$LINENO: creating $ac_file" >&5
4201 echo "$as_me: creating $ac_file" >&6;}
4204 # Let's still pretend it is `configure' which instantiates (i.e., don't
4205 # use $as_me), people would be surprised to read:
4206 # /* config.h. Generated by config.status. */
4207 if test x
"$ac_file" = x-
; then
4210 configure_input
="$ac_file. "
4212 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4213 sed 's,.*/,,'` by configure."
4215 # First look for the input files in the build tree, otherwise in the
4217 ac_file_inputs
=`IFS=:
4218 for f in $ac_file_in; do
4220 -) echo $tmp/stdin ;;
4222 # Absolute (can't be DOS-style, as IFS=:)
4223 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4224 echo "$as_me: error: cannot find input file: $f" >&2;}
4225 { (exit 1); exit 1; }; }
4228 if test -f "$f"; then
4231 elif test -f "$srcdir/$f"; then
4236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4237 echo "$as_me: error: cannot find input file: $f" >&2;}
4238 { (exit 1); exit 1; }; }
4241 done` ||
{ (exit 1); exit 1; }
4243 cat >>$CONFIG_STATUS <<_ACEOF
4247 cat >>$CONFIG_STATUS <<\_ACEOF
4249 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4250 s
,@configure_input@
,$configure_input,;t t
4251 s
,@srcdir@
,$ac_srcdir,;t t
4252 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4253 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4254 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4255 s
,@builddir@
,$ac_builddir,;t t
4256 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4257 s
,@top_builddir@
,$ac_top_builddir,;t t
4258 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4259 s
,@INSTALL@
,$ac_INSTALL,;t t
4260 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4262 if test x"$ac_file" != x-; then
4263 mv $tmp/out $ac_file
4271 cat >>$CONFIG_STATUS <<\_ACEOF
4274 # CONFIG_COMMANDS section.
4276 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
4277 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4278 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4279 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4280 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4281 X"$ac_dest" : 'X\(//\)[^/]' \| \
4282 X"$ac_dest" : 'X\(//\)$' \| \
4283 X"$ac_dest" : 'X\(/\)' \| \
4284 . : '\(.\)' 2>/dev/null ||
4286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4288 /^X\(\/\/\)$/{ s//\1/; q; }
4289 /^X\(\/\).*/{ s//\1/; q; }
4293 if test "$ac_dir" != .; then
4294 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4295 # A "..
/" for each directory in $ac_dir_suffix.
4296 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4298 ac_dir_suffix= ac_top_builddir=
4302 .) # No --srcdir option. We are building in place.
4304 if test -z "$ac_top_builddir"; then
4307 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4309 [\\/]* | ?:[\\/]* ) # Absolute path.
4310 ac_srcdir=$srcdir$ac_dir_suffix;
4311 ac_top_srcdir=$srcdir ;;
4313 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4314 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4316 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4318 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4319 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4320 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4321 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4324 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
4325 echo "$as_me: executing
$ac_dest commands
" >&6;}
4327 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4328 # Strip MF so we end up with the name of the file.
4329 mf=`echo "$mf" | sed -e 's/:.*$//'`
4330 # Check whether this is an Automake generated Makefile or not.
4331 # We used to match only the files named `Makefile.in', but
4332 # some people rename them; so instead we look at the file content.
4333 # Grep'ing the first line is not enough: some people post-process
4334 # each Makefile.in and add a new line on top of each file to say so.
4335 # So let's grep whole file.
4336 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4337 dirpart=`(dirname "$mf") 2>/dev/null ||
4338 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4339 X"$mf" : 'X\(//\)[^/]' \| \
4340 X"$mf" : 'X\(//\)$' \| \
4341 X"$mf" : 'X\(/\)' \| \
4342 . : '\(.\)' 2>/dev/null ||
4344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4346 /^X\(\/\/\)$/{ s//\1/; q; }
4347 /^X\(\/\).*/{ s//\1/; q; }
4352 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4353 # Extract the definition of DEP_FILES from the Makefile without
4355 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4356 test -z "$DEPDIR" && continue
4357 # When using ansi2knr, U may be empty or an underscore; expand it
4358 U=`sed -n -e '/^U = / s///p' < "$mf"`
4359 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4360 # We invoke sed twice because it is the simplest approach to
4361 # changing $(DEPDIR) to its actual value in the expansion.
4362 for file in `sed -n -e '
4363 /^DEP_FILES = .*\\\\$/ {
4372 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4373 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4374 # Make sure the directory exists.
4375 test -f "$dirpart/$file" && continue
4376 fdir=`(dirname "$file") 2>/dev/null ||
4377 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4378 X"$file" : 'X\(//\)[^/]' \| \
4379 X"$file" : 'X\(//\)$' \| \
4380 X"$file" : 'X\(/\)' \| \
4381 . : '\(.\)' 2>/dev/null ||
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4385 /^X\(\/\/\)$/{ s//\1/; q; }
4386 /^X\(\/\).*/{ s//\1/; q; }
4388 { if $as_mkdir_p; then
4389 mkdir -p $dirpart/$fdir
4391 as_dir=$dirpart/$fdir
4393 while test ! -d "$as_dir"; do
4394 as_dirs="$as_dir $as_dirs"
4395 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4397 X"$as_dir" : 'X\(//\)[^/]' \| \
4398 X"$as_dir" : 'X\(//\)$' \| \
4399 X"$as_dir" : 'X\(/\)' \| \
4400 . : '\(.\)' 2>/dev/null ||
4402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4404 /^X\(\/\/\)$/{ s//\1/; q; }
4405 /^X\(\/\).*/{ s//\1/; q; }
4408 test ! -n "$as_dirs" || mkdir $as_dirs
4409 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
4410 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
4411 { (exit 1); exit 1; }; }; }
4413 # echo "creating
$dirpart/$file"
4414 echo '# dummy' > "$dirpart/$file"
4422 cat >>$CONFIG_STATUS <<\_ACEOF
4424 { (exit 0); exit 0; }
4426 chmod +x $CONFIG_STATUS
4427 ac_clean_files=$ac_clean_files_save
4430 # configure is writing to config.log, and then calls config.status.
4431 # config.status does its own redirection, appending to config.log.
4432 # Unfortunately, on DOS this fails, as config.log is still kept open
4433 # by configure, so config.status won't be able to write to it; its
4434 # output is simply discarded. So we exec the FD to /dev/null,
4435 # effectively closing config.log, so it can be properly (re)opened and
4436 # appended to by config.status. When coming back to configure, we
4437 # need to make the FD available again.
4438 if test "$no_create" != yes; then
4440 ac_config_status_args=
4441 test "$silent" = yes &&
4442 ac_config_status_args="$ac_config_status_args --quiet"
4444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4447 # would make configure fail if this is the last instruction.
4448 $ac_cs_success || { (exit 1); exit 1; }
4452 # CONFIG_SUBDIRS section.
4454 if test "$no_recursion" != yes; then
4456 # Remove --cache-file and --srcdir arguments so they do not pile up.
4457 ac_sub_configure_args=
4459 for ac_arg in $ac_configure_args; do
4460 if test -n "$ac_prev"; then
4465 -cache-file | --cache-file | --cache-fil | --cache-fi \
4466 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4467 ac_prev=cache_file ;;
4468 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4469 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4472 --config-cache | -C)
4474 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4476 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4478 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4480 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4482 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4486 # Always prepend --prefix to ensure using the same prefix
4487 # in subdir configurations.
4488 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4491 for ac_dir in : $subdirs; do test "x
$ac_dir" = x: && continue
4493 # Do not complain, so a configure script can configure whichever
4494 # parts of a large source tree are present.
4495 test -d $srcdir/$ac_dir || continue
4497 { echo "$as_me:$LINENO: configuring
in $ac_dir" >&5
4498 echo "$as_me: configuring
in $ac_dir" >&6;}
4499 { if $as_mkdir_p; then
4504 while test ! -d "$as_dir"; do
4505 as_dirs="$as_dir $as_dirs"
4506 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4507 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4508 X"$as_dir" : 'X\(//\)[^/]' \| \
4509 X"$as_dir" : 'X\(//\)$' \| \
4510 X"$as_dir" : 'X\(/\)' \| \
4511 . : '\(.\)' 2>/dev/null ||
4513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4515 /^X\(\/\/\)$/{ s//\1/; q; }
4516 /^X\(\/\).*/{ s//\1/; q; }
4519 test ! -n "$as_dirs" || mkdir $as_dirs
4520 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
4521 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
4522 { (exit 1); exit 1; }; }; }
4526 if test "$ac_dir" != .; then
4527 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4528 # A "..
/" for each directory in $ac_dir_suffix.
4529 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4531 ac_dir_suffix= ac_top_builddir=
4535 .) # No --srcdir option. We are building in place.
4537 if test -z "$ac_top_builddir"; then
4540 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4542 [\\/]* | ?:[\\/]* ) # Absolute path.
4543 ac_srcdir=$srcdir$ac_dir_suffix;
4544 ac_top_srcdir=$srcdir ;;
4546 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4547 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4549 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4551 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4552 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4553 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4554 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4559 # Check for guested configure; otherwise get Cygnus style configure.
4560 if test -f $ac_srcdir/configure.gnu; then
4561 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4562 elif test -f $ac_srcdir/configure; then
4563 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4564 elif test -f $ac_srcdir/configure.in; then
4565 ac_sub_configure=$ac_configure
4567 { echo "$as_me:$LINENO: WARNING
: no configuration information is
in $ac_dir" >&5
4568 echo "$as_me: WARNING
: no configuration information is
in $ac_dir" >&2;}
4572 # The recursion is here.
4573 if test -n "$ac_sub_configure"; then
4574 # Make the cache file name correct relative to the subdirectory.
4576 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4578 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4581 { echo "$as_me:$LINENO: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4582 echo "$as_me: running
$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4583 # The eval makes quoting arguments work.
4584 eval $ac_sub_configure $ac_sub_configure_args \
4585 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4586 { { echo "$as_me:$LINENO: error
: $ac_sub_configure failed
for $ac_dir" >&5
4587 echo "$as_me: error
: $ac_sub_configure failed
for $ac_dir" >&2;}
4588 { (exit 1); exit 1; }; }