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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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 headers are
826
Some influential environment variables:
827
CC C compiler command
828
CFLAGS C compiler flags
829
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830
nonstandard directory <lib dir>
831
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832
headers in a nonstandard directory <include dir>
833
CXX C++ compiler command
834
CXXFLAGS C++ compiler flags
836
Use these variables to override the choices made by `configure' or to help
837
it to find libraries and programs with nonstandard names/locations.
842
if test "$ac_init_help" = "recursive"; then
843
# If there are subdirs, report their specific --help.
845
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
846
test -d $ac_dir || continue
849
if test "$ac_dir" != .; then
850
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
851
# A "../" for each directory in $ac_dir_suffix.
852
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
854
ac_dir_suffix= ac_top_builddir=
858
.) # No --srcdir option. We are building in place.
860
if test -z "$ac_top_builddir"; then
863
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
865
[\\/]* | ?:[\\/]* ) # Absolute path.
866
ac_srcdir=$srcdir$ac_dir_suffix;
867
ac_top_srcdir=$srcdir ;;
869
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
870
ac_top_srcdir=$ac_top_builddir$srcdir ;;
872
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
874
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
875
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
876
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
877
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
880
# Check for guested configure; otherwise get Cygnus style configure.
881
if test -f $ac_srcdir/configure.gnu; then
883
$SHELL $ac_srcdir/configure.gnu --help=recursive
884
elif test -f $ac_srcdir/configure; then
886
$SHELL $ac_srcdir/configure --help=recursive
887
elif test -f $ac_srcdir/configure.ac ||
888
test -f $ac_srcdir/configure.in; then
892
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
898
test -n "$ac_init_help" && exit 0
899
if $ac_init_version; then
902
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
903
Free Software Foundation, Inc.
904
This configure script is free software; the Free Software Foundation
905
gives unlimited permission to copy, distribute and modify it.
911
This file contains any messages produced by compilers while
912
running configure, to aid debugging if configure makes a mistake.
914
It was created by $as_me, which was
915
generated by GNU Autoconf 2.57. Invocation command line was
926
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
927
uname -m = `(uname -m) 2>/dev/null || echo unknown`
928
uname -r = `(uname -r) 2>/dev/null || echo unknown`
929
uname -s = `(uname -s) 2>/dev/null || echo unknown`
930
uname -v = `(uname -v) 2>/dev/null || echo unknown`
932
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
933
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
935
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
936
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
937
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
938
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
939
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
940
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
941
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
949
test -z "$as_dir" && as_dir=.
965
# Keep a trace of the command line.
966
# Strip out --no-create and --no-recursion so they do not pile up.
967
# Strip out --silent because we don't want to record it for future runs.
968
# Also quote any args containing shell meta-characters.
969
# Make two passes to allow for proper duplicate-argument suppression.
974
ac_must_keep_next=false
980
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
981
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
982
| -silent | --silent | --silen | --sile | --sil)
984
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
985
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
988
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
990
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
991
if test $ac_must_keep_next = true; then
992
ac_must_keep_next=false # Got value, back to normal.
995
*=* | --config-cache | -C | -disable-* | --disable-* \
996
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
997
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
998
| -with-* | --with-* | -without-* | --without-* | --x)
999
case "$ac_configure_args0 " in
1000
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1003
-* ) ac_must_keep_next=true ;;
1006
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1007
# Get rid of the leading space.
1013
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1014
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1016
# When interrupted or exit'd, cleanup temporary files, and complete
1017
# config.log. We remove comments because anyway the quotes in there
1018
# would cause problems or look ugly.
1019
# WARNING: Be sure not to use single quotes in there, as some shells,
1020
# such as our DU 5.0 friend, will then `close' the trap.
1021
trap 'exit_status=$?
1022
# Save into config.log some information that might help in debugging.
1027
## ---------------- ##
1028
## Cache variables. ##
1029
## ---------------- ##
1032
# The following way of writing the cache mishandles newlines in values,
1035
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1038
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1039
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1043
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1050
## ----------------- ##
1051
## Output variables. ##
1052
## ----------------- ##
1055
for ac_var in $ac_subst_vars
1057
eval ac_val=$`echo $ac_var`
1058
echo "$ac_var='"'"'$ac_val'"'"'"
1062
if test -n "$ac_subst_files"; then
1069
for ac_var in $ac_subst_files
1071
eval ac_val=$`echo $ac_var`
1072
echo "$ac_var='"'"'$ac_val'"'"'"
1077
if test -s confdefs.h; then
1084
sed "/^$/d" confdefs.h | sort
1087
test "$ac_signal" != 0 &&
1088
echo "$as_me: caught signal $ac_signal"
1089
echo "$as_me: exit $exit_status"
1091
rm -f core core.* *.core &&
1092
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1095
for ac_signal in 1 2 13 15; do
1096
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1100
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1101
rm -rf conftest* confdefs.h
1102
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1105
# Predefined preprocessor variables.
1107
cat >>confdefs.h <<_ACEOF
1108
#define PACKAGE_NAME "$PACKAGE_NAME"
1112
cat >>confdefs.h <<_ACEOF
1113
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1117
cat >>confdefs.h <<_ACEOF
1118
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1122
cat >>confdefs.h <<_ACEOF
1123
#define PACKAGE_STRING "$PACKAGE_STRING"
1127
cat >>confdefs.h <<_ACEOF
1128
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1132
# Let the site file select an alternate cache file if it wants to.
1133
# Prefer explicitly selected file to automatically selected ones.
1134
if test -z "$CONFIG_SITE"; then
1135
if test "x$prefix" != xNONE; then
1136
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1138
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1141
for ac_site_file in $CONFIG_SITE; do
1142
if test -r "$ac_site_file"; then
1143
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1144
echo "$as_me: loading site script $ac_site_file" >&6;}
1145
sed 's/^/| /' "$ac_site_file" >&5
1150
if test -r "$cache_file"; then
1151
# Some versions of bash will fail to source /dev/null (special
1152
# files actually), so we avoid doing that.
1153
if test -f "$cache_file"; then
1154
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1155
echo "$as_me: loading cache $cache_file" >&6;}
1157
[\\/]* | ?:[\\/]* ) . $cache_file;;
1158
*) . ./$cache_file;;
1162
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1163
echo "$as_me: creating cache $cache_file" >&6;}
1167
# Check that the precious variables saved in the cache have kept the same
1169
ac_cache_corrupted=false
1170
for ac_var in `(set) 2>&1 |
1171
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1172
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1173
eval ac_new_set=\$ac_env_${ac_var}_set
1174
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1175
eval ac_new_val="\$ac_env_${ac_var}_value"
1176
case $ac_old_set,$ac_new_set in
1178
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1179
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1180
ac_cache_corrupted=: ;;
1182
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1183
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1184
ac_cache_corrupted=: ;;
1187
if test "x$ac_old_val" != "x$ac_new_val"; then
1188
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1189
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1190
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1191
echo "$as_me: former value: $ac_old_val" >&2;}
1192
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1193
echo "$as_me: current value: $ac_new_val" >&2;}
1194
ac_cache_corrupted=:
1197
# Pass precious variables to config.status.
1198
if test "$ac_new_set" = set; then
1200
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1201
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1202
*) ac_arg=$ac_var=$ac_new_val ;;
1204
case " $ac_configure_args " in
1205
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1206
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1210
if $ac_cache_corrupted; then
1211
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1212
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1213
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1214
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1215
{ (exit 1); exit 1; }; }
1219
ac_cpp='$CPP $CPPFLAGS'
1220
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1221
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1222
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1243
am__api_version="1.7"
1245
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1246
if test -f $ac_dir/install-sh; then
1248
ac_install_sh="$ac_aux_dir/install-sh -c"
1250
elif test -f $ac_dir/install.sh; then
1252
ac_install_sh="$ac_aux_dir/install.sh -c"
1254
elif test -f $ac_dir/shtool; then
1256
ac_install_sh="$ac_aux_dir/shtool install -c"
1260
if test -z "$ac_aux_dir"; then
1261
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1262
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1263
{ (exit 1); exit 1; }; }
1265
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1266
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1267
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1269
# Find a good install program. We prefer a C program (faster),
1270
# so one script is as good as another. But avoid the broken or
1271
# incompatible versions:
1272
# SysV /etc/install, /usr/sbin/install
1273
# SunOS /usr/etc/install
1274
# IRIX /sbin/install
1276
# AmigaOS /C/install, which installs bootblocks on floppy discs
1277
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1278
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1279
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1280
# ./install, which can be erroneously created by make from ./install.sh.
1281
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1282
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1283
if test -z "$INSTALL"; then
1284
if test "${ac_cv_path_install+set}" = set; then
1285
echo $ECHO_N "(cached) $ECHO_C" >&6
1287
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1291
test -z "$as_dir" && as_dir=.
1292
# Account for people who put trailing slashes in PATH elements.
1294
./ | .// | /cC/* | \
1295
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1298
# OSF1 and SCO ODT 3.0 have their own names for install.
1299
# Don't use installbsd from OSF since it installs stuff as root
1301
for ac_prog in ginstall scoinst install; do
1302
for ac_exec_ext in '' $ac_executable_extensions; do
1303
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1304
if test $ac_prog = install &&
1305
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1306
# AIX install. It has an incompatible calling convention.
1308
elif test $ac_prog = install &&
1309
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1310
# program-specific install script used by HP pwplus--don't use.
1313
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1325
if test "${ac_cv_path_install+set}" = set; then
1326
INSTALL=$ac_cv_path_install
1328
# As a last resort, use the slow shell script. We don't cache a
1329
# path for INSTALL within a source directory, because that will
1330
# break other packages using the cache if that directory is
1331
# removed, or if the path is relative.
1332
INSTALL=$ac_install_sh
1335
echo "$as_me:$LINENO: result: $INSTALL" >&5
1336
echo "${ECHO_T}$INSTALL" >&6
1338
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1339
# It thinks the first close brace ends the variable substitution.
1340
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1342
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1344
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1346
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1347
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1350
echo timestamp > conftest.file
1351
# Do `set' in a subshell so we don't clobber the current shell's
1352
# arguments. Must try -L first in case configure is actually a
1353
# symlink; some systems play weird games with the mod time of symlinks
1354
# (eg FreeBSD returns the mod time of the symlink's containing
1357
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1358
if test "$*" = "X"; then
1360
set X `ls -t $srcdir/configure conftest.file`
1363
if test "$*" != "X $srcdir/configure conftest.file" \
1364
&& test "$*" != "X conftest.file $srcdir/configure"; then
1366
# If neither matched, then we have a broken ls. This can happen
1367
# if, for instance, CONFIG_SHELL is bash and it inherits a
1368
# broken ls alias from the environment. This has actually
1369
# happened. Such a system could not be considered "sane".
1370
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1371
alias in your environment" >&5
1372
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1373
alias in your environment" >&2;}
1374
{ (exit 1); exit 1; }; }
1377
test "$2" = conftest.file
1383
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1384
Check your system clock" >&5
1385
echo "$as_me: error: newly created file is older than distributed files!
1386
Check your system clock" >&2;}
1387
{ (exit 1); exit 1; }; }
1389
echo "$as_me:$LINENO: result: yes" >&5
1390
echo "${ECHO_T}yes" >&6
1391
test "$program_prefix" != NONE &&
1392
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1393
# Use a double $ so make ignores it.
1394
test "$program_suffix" != NONE &&
1395
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1396
# Double any \ or $. echo might interpret backslashes.
1397
# By default was `s,x,x', remove it if useless.
1398
cat <<\_ACEOF >conftest.sed
1399
s/[\\$]/&&/g;s/;s,x,x,$//
1401
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1405
# expand $ac_aux_dir to an absolute path
1406
am_aux_dir=`cd $ac_aux_dir && pwd`
1408
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1409
# Use eval to expand $SHELL
1410
if eval "$MISSING --run true"; then
1411
am_missing_run="$MISSING --run "
1414
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1415
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1418
for ac_prog in gawk mawk nawk awk
1420
# Extract the first word of "$ac_prog", so it can be a program name with args.
1421
set dummy $ac_prog; ac_word=$2
1422
echo "$as_me:$LINENO: checking for $ac_word" >&5
1423
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1424
if test "${ac_cv_prog_AWK+set}" = set; then
1425
echo $ECHO_N "(cached) $ECHO_C" >&6
1427
if test -n "$AWK"; then
1428
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434
test -z "$as_dir" && as_dir=.
1435
for ac_exec_ext in '' $ac_executable_extensions; do
1436
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1437
ac_cv_prog_AWK="$ac_prog"
1438
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1447
if test -n "$AWK"; then
1448
echo "$as_me:$LINENO: result: $AWK" >&5
1449
echo "${ECHO_T}$AWK" >&6
1451
echo "$as_me:$LINENO: result: no" >&5
1452
echo "${ECHO_T}no" >&6
1455
test -n "$AWK" && break
1458
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1459
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1460
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1461
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1462
echo $ECHO_N "(cached) $ECHO_C" >&6
1464
cat >conftest.make <<\_ACEOF
1466
@echo 'ac_maketemp="$(MAKE)"'
1468
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1469
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1470
if test -n "$ac_maketemp"; then
1471
eval ac_cv_prog_make_${ac_make}_set=yes
1473
eval ac_cv_prog_make_${ac_make}_set=no
1477
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1478
echo "$as_me:$LINENO: result: yes" >&5
1479
echo "${ECHO_T}yes" >&6
1482
echo "$as_me:$LINENO: result: no" >&5
1483
echo "${ECHO_T}no" >&6
1484
SET_MAKE="MAKE=${MAKE-make}"
1487
rm -rf .tst 2>/dev/null
1488
mkdir .tst 2>/dev/null
1489
if test -d .tst; then
1494
rmdir .tst 2>/dev/null
1496
# test to see if srcdir already configured
1497
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1498
test -f $srcdir/config.status; then
1499
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1500
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1501
{ (exit 1); exit 1; }; }
1504
# test whether we have cygpath
1505
if test -z "$CYGPATH_W"; then
1506
if (cygpath --version) >/dev/null 2>/dev/null; then
1507
CYGPATH_W='cygpath -w'
1514
# Define the identity of the package.
1519
cat >>confdefs.h <<_ACEOF
1520
#define PACKAGE "$PACKAGE"
1524
cat >>confdefs.h <<_ACEOF
1525
#define VERSION "$VERSION"
1528
# Some tools Automake needs.
1530
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1533
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1536
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1539
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1542
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1545
AMTAR=${AMTAR-"${am_missing_run}tar"}
1547
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1549
# Installed binaries are usually stripped using `strip' when the user
1550
# run `make install-strip'. However `strip' might not be the right
1551
# tool to use in cross-compilation environments, therefore Automake
1552
# will honor the `STRIP' environment variable to overrule this program.
1553
if test "$cross_compiling" != no; then
1554
if test -n "$ac_tool_prefix"; then
1555
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1556
set dummy ${ac_tool_prefix}strip; ac_word=$2
1557
echo "$as_me:$LINENO: checking for $ac_word" >&5
1558
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559
if test "${ac_cv_prog_STRIP+set}" = set; then
1560
echo $ECHO_N "(cached) $ECHO_C" >&6
1562
if test -n "$STRIP"; then
1563
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569
test -z "$as_dir" && as_dir=.
1570
for ac_exec_ext in '' $ac_executable_extensions; do
1571
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1573
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581
STRIP=$ac_cv_prog_STRIP
1582
if test -n "$STRIP"; then
1583
echo "$as_me:$LINENO: result: $STRIP" >&5
1584
echo "${ECHO_T}$STRIP" >&6
1586
echo "$as_me:$LINENO: result: no" >&5
1587
echo "${ECHO_T}no" >&6
1591
if test -z "$ac_cv_prog_STRIP"; then
1593
# Extract the first word of "strip", so it can be a program name with args.
1594
set dummy strip; ac_word=$2
1595
echo "$as_me:$LINENO: checking for $ac_word" >&5
1596
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1598
echo $ECHO_N "(cached) $ECHO_C" >&6
1600
if test -n "$ac_ct_STRIP"; then
1601
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607
test -z "$as_dir" && as_dir=.
1608
for ac_exec_ext in '' $ac_executable_extensions; do
1609
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610
ac_cv_prog_ac_ct_STRIP="strip"
1611
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1620
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1621
if test -n "$ac_ct_STRIP"; then
1622
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1623
echo "${ECHO_T}$ac_ct_STRIP" >&6
1625
echo "$as_me:$LINENO: result: no" >&5
1626
echo "${ECHO_T}no" >&6
1631
STRIP="$ac_cv_prog_STRIP"
1635
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1637
# We need awk for the "check" target. The system "awk" is bad on
1642
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1643
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1644
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1645
if test "${enable_maintainer_mode+set}" = set; then
1646
enableval="$enable_maintainer_mode"
1647
USE_MAINTAINER_MODE=$enableval
1649
USE_MAINTAINER_MODE=no
1651
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1652
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1655
if test $USE_MAINTAINER_MODE = yes; then
1656
MAINTAINER_MODE_TRUE=
1657
MAINTAINER_MODE_FALSE='#'
1659
MAINTAINER_MODE_TRUE='#'
1660
MAINTAINER_MODE_FALSE=
1663
MAINT=$MAINTAINER_MODE_TRUE
1666
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1667
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1668
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1669
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1670
echo $ECHO_N "(cached) $ECHO_C" >&6
1672
cat >conftest.make <<\_ACEOF
1674
@echo 'ac_maketemp="$(MAKE)"'
1676
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1677
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1678
if test -n "$ac_maketemp"; then
1679
eval ac_cv_prog_make_${ac_make}_set=yes
1681
eval ac_cv_prog_make_${ac_make}_set=no
1685
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1686
echo "$as_me:$LINENO: result: yes" >&5
1687
echo "${ECHO_T}yes" >&6
1690
echo "$as_me:$LINENO: result: no" >&5
1691
echo "${ECHO_T}no" >&6
1692
SET_MAKE="MAKE=${MAKE-make}"
1697
ac_cpp='$CPP $CPPFLAGS'
1698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1699
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1700
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1701
if test -n "$ac_tool_prefix"; then
1702
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1703
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1704
echo "$as_me:$LINENO: checking for $ac_word" >&5
1705
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706
if test "${ac_cv_prog_CC+set}" = set; then
1707
echo $ECHO_N "(cached) $ECHO_C" >&6
1709
if test -n "$CC"; then
1710
ac_cv_prog_CC="$CC" # Let the user override the test.
1712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716
test -z "$as_dir" && as_dir=.
1717
for ac_exec_ext in '' $ac_executable_extensions; do
1718
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1720
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729
if test -n "$CC"; then
1730
echo "$as_me:$LINENO: result: $CC" >&5
1731
echo "${ECHO_T}$CC" >&6
1733
echo "$as_me:$LINENO: result: no" >&5
1734
echo "${ECHO_T}no" >&6
1738
if test -z "$ac_cv_prog_CC"; then
1740
# Extract the first word of "gcc", so it can be a program name with args.
1741
set dummy gcc; ac_word=$2
1742
echo "$as_me:$LINENO: checking for $ac_word" >&5
1743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1744
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1745
echo $ECHO_N "(cached) $ECHO_C" >&6
1747
if test -n "$ac_ct_CC"; then
1748
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754
test -z "$as_dir" && as_dir=.
1755
for ac_exec_ext in '' $ac_executable_extensions; do
1756
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1757
ac_cv_prog_ac_ct_CC="gcc"
1758
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1767
if test -n "$ac_ct_CC"; then
1768
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1769
echo "${ECHO_T}$ac_ct_CC" >&6
1771
echo "$as_me:$LINENO: result: no" >&5
1772
echo "${ECHO_T}no" >&6
1780
if test -z "$CC"; then
1781
if test -n "$ac_tool_prefix"; then
1782
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1783
set dummy ${ac_tool_prefix}cc; ac_word=$2
1784
echo "$as_me:$LINENO: checking for $ac_word" >&5
1785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786
if test "${ac_cv_prog_CC+set}" = set; then
1787
echo $ECHO_N "(cached) $ECHO_C" >&6
1789
if test -n "$CC"; then
1790
ac_cv_prog_CC="$CC" # Let the user override the test.
1792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796
test -z "$as_dir" && as_dir=.
1797
for ac_exec_ext in '' $ac_executable_extensions; do
1798
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799
ac_cv_prog_CC="${ac_tool_prefix}cc"
1800
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809
if test -n "$CC"; then
1810
echo "$as_me:$LINENO: result: $CC" >&5
1811
echo "${ECHO_T}$CC" >&6
1813
echo "$as_me:$LINENO: result: no" >&5
1814
echo "${ECHO_T}no" >&6
1818
if test -z "$ac_cv_prog_CC"; then
1820
# Extract the first word of "cc", so it can be a program name with args.
1821
set dummy cc; ac_word=$2
1822
echo "$as_me:$LINENO: checking for $ac_word" >&5
1823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1824
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1825
echo $ECHO_N "(cached) $ECHO_C" >&6
1827
if test -n "$ac_ct_CC"; then
1828
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834
test -z "$as_dir" && as_dir=.
1835
for ac_exec_ext in '' $ac_executable_extensions; do
1836
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1837
ac_cv_prog_ac_ct_CC="cc"
1838
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1847
if test -n "$ac_ct_CC"; then
1848
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1849
echo "${ECHO_T}$ac_ct_CC" >&6
1851
echo "$as_me:$LINENO: result: no" >&5
1852
echo "${ECHO_T}no" >&6
1861
if test -z "$CC"; then
1862
# Extract the first word of "cc", so it can be a program name with args.
1863
set dummy cc; ac_word=$2
1864
echo "$as_me:$LINENO: checking for $ac_word" >&5
1865
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866
if test "${ac_cv_prog_CC+set}" = set; then
1867
echo $ECHO_N "(cached) $ECHO_C" >&6
1869
if test -n "$CC"; then
1870
ac_cv_prog_CC="$CC" # Let the user override the test.
1873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877
test -z "$as_dir" && as_dir=.
1878
for ac_exec_ext in '' $ac_executable_extensions; do
1879
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1881
ac_prog_rejected=yes
1885
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891
if test $ac_prog_rejected = yes; then
1892
# We found a bogon in the path, so make sure we never use it.
1893
set dummy $ac_cv_prog_CC
1895
if test $# != 0; then
1896
# We chose a different compiler from the bogus one.
1897
# However, it has the same basename, so the bogon will be chosen
1898
# first if we set CC to just the basename; use the full file name.
1900
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1906
if test -n "$CC"; then
1907
echo "$as_me:$LINENO: result: $CC" >&5
1908
echo "${ECHO_T}$CC" >&6
1910
echo "$as_me:$LINENO: result: no" >&5
1911
echo "${ECHO_T}no" >&6
1915
if test -z "$CC"; then
1916
if test -n "$ac_tool_prefix"; then
1919
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1920
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1921
echo "$as_me:$LINENO: checking for $ac_word" >&5
1922
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923
if test "${ac_cv_prog_CC+set}" = set; then
1924
echo $ECHO_N "(cached) $ECHO_C" >&6
1926
if test -n "$CC"; then
1927
ac_cv_prog_CC="$CC" # Let the user override the test.
1929
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933
test -z "$as_dir" && as_dir=.
1934
for ac_exec_ext in '' $ac_executable_extensions; do
1935
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1937
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946
if test -n "$CC"; then
1947
echo "$as_me:$LINENO: result: $CC" >&5
1948
echo "${ECHO_T}$CC" >&6
1950
echo "$as_me:$LINENO: result: no" >&5
1951
echo "${ECHO_T}no" >&6
1954
test -n "$CC" && break
1957
if test -z "$CC"; then
1961
# Extract the first word of "$ac_prog", so it can be a program name with args.
1962
set dummy $ac_prog; ac_word=$2
1963
echo "$as_me:$LINENO: checking for $ac_word" >&5
1964
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966
echo $ECHO_N "(cached) $ECHO_C" >&6
1968
if test -n "$ac_ct_CC"; then
1969
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975
test -z "$as_dir" && as_dir=.
1976
for ac_exec_ext in '' $ac_executable_extensions; do
1977
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978
ac_cv_prog_ac_ct_CC="$ac_prog"
1979
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1988
if test -n "$ac_ct_CC"; then
1989
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1990
echo "${ECHO_T}$ac_ct_CC" >&6
1992
echo "$as_me:$LINENO: result: no" >&5
1993
echo "${ECHO_T}no" >&6
1996
test -n "$ac_ct_CC" && break
2005
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2006
See \`config.log' for more details." >&5
2007
echo "$as_me: error: no acceptable C compiler found in \$PATH
2008
See \`config.log' for more details." >&2;}
2009
{ (exit 1); exit 1; }; }
2011
# Provide some information about the compiler.
2012
echo "$as_me:$LINENO:" \
2013
"checking for C compiler version" >&5
2014
ac_compiler=`set X $ac_compile; echo $2`
2015
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2016
(eval $ac_compiler --version </dev/null >&5) 2>&5
2018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019
(exit $ac_status); }
2020
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2021
(eval $ac_compiler -v </dev/null >&5) 2>&5
2023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024
(exit $ac_status); }
2025
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2026
(eval $ac_compiler -V </dev/null >&5) 2>&5
2028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029
(exit $ac_status); }
2031
cat >conftest.$ac_ext <<_ACEOF
2032
#line $LINENO "configure"
2035
cat confdefs.h >>conftest.$ac_ext
2036
cat >>conftest.$ac_ext <<_ACEOF
2037
/* end confdefs.h. */
2047
ac_clean_files_save=$ac_clean_files
2048
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2049
# Try to create an executable without -o first, disregard a.out.
2050
# It will help us diagnose broken compilers, and finding out an intuition
2052
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2053
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2054
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2055
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2056
(eval $ac_link_default) 2>&5
2058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059
(exit $ac_status); }; then
2060
# Find the output, starting from the most likely. This scheme is
2061
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2064
# Be careful to initialize this variable, since it used to be cached.
2065
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2067
# b.out is created by i960 compilers.
2068
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2070
test -f "$ac_file" || continue
2072
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2075
# This is the source file.
2078
# We found the default executable, but exeext='' is most
2082
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2083
# FIXME: I believe we export ac_cv_exeext for Libtool,
2084
# but it would be cool to find out if it's true. Does anybody
2085
# maintain Libtool? --akim.
2093
echo "$as_me: failed program was:" >&5
2094
sed 's/^/| /' conftest.$ac_ext >&5
2096
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2097
See \`config.log' for more details." >&5
2098
echo "$as_me: error: C compiler cannot create executables
2099
See \`config.log' for more details." >&2;}
2100
{ (exit 77); exit 77; }; }
2103
ac_exeext=$ac_cv_exeext
2104
echo "$as_me:$LINENO: result: $ac_file" >&5
2105
echo "${ECHO_T}$ac_file" >&6
2107
# Check the compiler produces executables we can run. If not, either
2108
# the compiler is broken, or we cross compile.
2109
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2110
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2111
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2112
# If not cross compiling, check that we can run a simple program.
2113
if test "$cross_compiling" != yes; then
2114
if { ac_try='./$ac_file'
2115
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119
(exit $ac_status); }; }; then
2122
if test "$cross_compiling" = maybe; then
2125
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2126
If you meant to cross compile, use \`--host'.
2127
See \`config.log' for more details." >&5
2128
echo "$as_me: error: cannot run C compiled programs.
2129
If you meant to cross compile, use \`--host'.
2130
See \`config.log' for more details." >&2;}
2131
{ (exit 1); exit 1; }; }
2135
echo "$as_me:$LINENO: result: yes" >&5
2136
echo "${ECHO_T}yes" >&6
2138
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2139
ac_clean_files=$ac_clean_files_save
2140
# Check the compiler produces executables we can run. If not, either
2141
# the compiler is broken, or we cross compile.
2142
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2143
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2144
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2145
echo "${ECHO_T}$cross_compiling" >&6
2147
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2148
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2149
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2150
(eval $ac_link) 2>&5
2152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153
(exit $ac_status); }; then
2154
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2155
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2156
# work properly (i.e., refer to `conftest.exe'), while it won't with
2158
for ac_file in conftest.exe conftest conftest.*; do
2159
test -f "$ac_file" || continue
2161
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2162
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170
See \`config.log' for more details." >&5
2171
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172
See \`config.log' for more details." >&2;}
2173
{ (exit 1); exit 1; }; }
2176
rm -f conftest$ac_cv_exeext
2177
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178
echo "${ECHO_T}$ac_cv_exeext" >&6
2180
rm -f conftest.$ac_ext
2181
EXEEXT=$ac_cv_exeext
2183
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2185
if test "${ac_cv_objext+set}" = set; then
2186
echo $ECHO_N "(cached) $ECHO_C" >&6
2188
cat >conftest.$ac_ext <<_ACEOF
2189
#line $LINENO "configure"
2192
cat confdefs.h >>conftest.$ac_ext
2193
cat >>conftest.$ac_ext <<_ACEOF
2194
/* end confdefs.h. */
2204
rm -f conftest.o conftest.obj
2205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206
(eval $ac_compile) 2>&5
2208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209
(exit $ac_status); }; then
2210
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2212
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2213
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2218
echo "$as_me: failed program was:" >&5
2219
sed 's/^/| /' conftest.$ac_ext >&5
2221
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2222
See \`config.log' for more details." >&5
2223
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2224
See \`config.log' for more details." >&2;}
2225
{ (exit 1); exit 1; }; }
2228
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2230
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2231
echo "${ECHO_T}$ac_cv_objext" >&6
2232
OBJEXT=$ac_cv_objext
2234
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2235
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2236
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2237
echo $ECHO_N "(cached) $ECHO_C" >&6
2239
cat >conftest.$ac_ext <<_ACEOF
2240
#line $LINENO "configure"
2243
cat confdefs.h >>conftest.$ac_ext
2244
cat >>conftest.$ac_ext <<_ACEOF
2245
/* end confdefs.h. */
2258
rm -f conftest.$ac_objext
2259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260
(eval $ac_compile) 2>&5
2262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
(exit $ac_status); } &&
2264
{ ac_try='test -s conftest.$ac_objext'
2265
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269
(exit $ac_status); }; }; then
2272
echo "$as_me: failed program was:" >&5
2273
sed 's/^/| /' conftest.$ac_ext >&5
2277
rm -f conftest.$ac_objext conftest.$ac_ext
2278
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2281
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2282
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2283
GCC=`test $ac_compiler_gnu = yes && echo yes`
2284
ac_test_CFLAGS=${CFLAGS+set}
2285
ac_save_CFLAGS=$CFLAGS
2287
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2288
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2289
if test "${ac_cv_prog_cc_g+set}" = set; then
2290
echo $ECHO_N "(cached) $ECHO_C" >&6
2292
cat >conftest.$ac_ext <<_ACEOF
2293
#line $LINENO "configure"
2296
cat confdefs.h >>conftest.$ac_ext
2297
cat >>conftest.$ac_ext <<_ACEOF
2298
/* end confdefs.h. */
2308
rm -f conftest.$ac_objext
2309
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310
(eval $ac_compile) 2>&5
2312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313
(exit $ac_status); } &&
2314
{ ac_try='test -s conftest.$ac_objext'
2315
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
(exit $ac_status); }; }; then
2322
echo "$as_me: failed program was:" >&5
2323
sed 's/^/| /' conftest.$ac_ext >&5
2327
rm -f conftest.$ac_objext conftest.$ac_ext
2329
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2330
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2331
if test "$ac_test_CFLAGS" = set; then
2332
CFLAGS=$ac_save_CFLAGS
2333
elif test $ac_cv_prog_cc_g = yes; then
2334
if test "$GCC" = yes; then
2340
if test "$GCC" = yes; then
2346
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2347
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2348
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2349
echo $ECHO_N "(cached) $ECHO_C" >&6
2351
ac_cv_prog_cc_stdc=no
2353
cat >conftest.$ac_ext <<_ACEOF
2354
#line $LINENO "configure"
2357
cat confdefs.h >>conftest.$ac_ext
2358
cat >>conftest.$ac_ext <<_ACEOF
2359
/* end confdefs.h. */
2362
#include <sys/types.h>
2363
#include <sys/stat.h>
2364
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2365
struct buf { int x; };
2366
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2367
static char *e (p, i)
2373
static char *f (char * (*g) (char **, int), char **p, ...)
2378
s = g (p, va_arg (v,int));
2382
int test (int i, double x);
2383
struct s1 {int (*f) (int a);};
2384
struct s2 {int (*f) (double a);};
2385
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2391
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2396
# Don't try gcc -ansi; that turns off useful extensions and
2397
# breaks some systems' header files.
2398
# AIX -qlanglvl=ansi
2399
# Ultrix and OSF/1 -std1
2400
# HP-UX 10.20 and later -Ae
2401
# HP-UX older versions -Aa -D_HPUX_SOURCE
2402
# SVR4 -Xc -D__EXTENSIONS__
2403
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2405
CC="$ac_save_CC $ac_arg"
2406
rm -f conftest.$ac_objext
2407
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408
(eval $ac_compile) 2>&5
2410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411
(exit $ac_status); } &&
2412
{ ac_try='test -s conftest.$ac_objext'
2413
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417
(exit $ac_status); }; }; then
2418
ac_cv_prog_cc_stdc=$ac_arg
2421
echo "$as_me: failed program was:" >&5
2422
sed 's/^/| /' conftest.$ac_ext >&5
2425
rm -f conftest.$ac_objext
2427
rm -f conftest.$ac_ext conftest.$ac_objext
2432
case "x$ac_cv_prog_cc_stdc" in
2434
echo "$as_me:$LINENO: result: none needed" >&5
2435
echo "${ECHO_T}none needed" >&6 ;;
2437
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2438
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2439
CC="$CC $ac_cv_prog_cc_stdc" ;;
2442
# Some people use a C++ compiler to compile C. Since we use `exit',
2443
# in C++ we need to declare it. In case someone uses the same compiler
2444
# for both compiling C and C++ we need to have the C++ compiler decide
2445
# the declaration of exit, since it's the most demanding environment.
2446
cat >conftest.$ac_ext <<_ACEOF
2451
rm -f conftest.$ac_objext
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453
(eval $ac_compile) 2>&5
2455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
(exit $ac_status); } &&
2457
{ ac_try='test -s conftest.$ac_objext'
2458
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462
(exit $ac_status); }; }; then
2463
for ac_declaration in \
2465
'#include <stdlib.h>' \
2466
'extern "C" void std::exit (int) throw (); using std::exit;' \
2467
'extern "C" void std::exit (int); using std::exit;' \
2468
'extern "C" void exit (int) throw ();' \
2469
'extern "C" void exit (int);' \
2472
cat >conftest.$ac_ext <<_ACEOF
2473
#line $LINENO "configure"
2476
cat confdefs.h >>conftest.$ac_ext
2477
cat >>conftest.$ac_ext <<_ACEOF
2478
/* end confdefs.h. */
2489
rm -f conftest.$ac_objext
2490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491
(eval $ac_compile) 2>&5
2493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
(exit $ac_status); } &&
2495
{ ac_try='test -s conftest.$ac_objext'
2496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); }; }; then
2503
echo "$as_me: failed program was:" >&5
2504
sed 's/^/| /' conftest.$ac_ext >&5
2508
rm -f conftest.$ac_objext conftest.$ac_ext
2509
cat >conftest.$ac_ext <<_ACEOF
2510
#line $LINENO "configure"
2513
cat confdefs.h >>conftest.$ac_ext
2514
cat >>conftest.$ac_ext <<_ACEOF
2515
/* end confdefs.h. */
2525
rm -f conftest.$ac_objext
2526
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527
(eval $ac_compile) 2>&5
2529
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530
(exit $ac_status); } &&
2531
{ ac_try='test -s conftest.$ac_objext'
2532
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536
(exit $ac_status); }; }; then
2539
echo "$as_me: failed program was:" >&5
2540
sed 's/^/| /' conftest.$ac_ext >&5
2543
rm -f conftest.$ac_objext conftest.$ac_ext
2546
if test -n "$ac_declaration"; then
2547
echo '#ifdef __cplusplus' >>confdefs.h
2548
echo $ac_declaration >>confdefs.h
2549
echo '#endif' >>confdefs.h
2553
echo "$as_me: failed program was:" >&5
2554
sed 's/^/| /' conftest.$ac_ext >&5
2557
rm -f conftest.$ac_objext conftest.$ac_ext
2559
ac_cpp='$CPP $CPPFLAGS'
2560
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2561
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2562
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2563
DEPDIR="${am__leading_dot}deps"
2565
ac_config_commands="$ac_config_commands depfiles"
2568
am_make=${MAKE-make}
2569
cat > confinc << 'END'
2574
# If we don't find an include directive, just comment out the code.
2575
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2576
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2580
# First try GNU make style include.
2581
echo "include confinc" > confmf
2582
# We grep out `Entering directory' and `Leaving directory'
2583
# messages which can occur if `w' ends up in MAKEFLAGS.
2584
# In particular we don't look at `^make:' because GNU make might
2585
# be invoked under some other name (usually "gmake"), in which
2586
# case it prints its new name instead of `make'.
2587
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2592
# Now try BSD make style include.
2593
if test "$am__include" = "#"; then
2594
echo '.include "confinc"' > confmf
2595
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2596
am__include=.include
2603
echo "$as_me:$LINENO: result: $_am_result" >&5
2604
echo "${ECHO_T}$_am_result" >&6
2605
rm -f confinc confmf
2607
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2608
if test "${enable_dependency_tracking+set}" = set; then
2609
enableval="$enable_dependency_tracking"
2612
if test "x$enable_dependency_tracking" != xno; then
2613
am_depcomp="$ac_aux_dir/depcomp"
2618
if test "x$enable_dependency_tracking" != xno; then
2629
depcc="$CC" am_compiler_list=
2631
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2632
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2633
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2634
echo $ECHO_N "(cached) $ECHO_C" >&6
2636
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2637
# We make a subdir and do the tests there. Otherwise we can end up
2638
# making bogus files that we don't know about and never remove. For
2639
# instance it was reported that on HP-UX the gcc test will end up
2640
# making a dummy file named `D' -- because `-MD' means `put the output
2643
# Copy depcomp to subdir because otherwise we won't find it if we're
2644
# using a relative directory.
2645
cp "$am_depcomp" conftest.dir
2647
# We will build objects and dependencies in a subdirectory because
2648
# it helps to detect inapplicable dependency modes. For instance
2649
# both Tru64's cc and ICC support -MD to output dependencies as a
2650
# side effect of compilation, but ICC will put the dependencies in
2651
# the current directory while Tru64 will put them in the object
2655
am_cv_CC_dependencies_compiler_type=none
2656
if test "$am_compiler_list" = ""; then
2657
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2659
for depmode in $am_compiler_list; do
2660
# Setup a source with many dependencies, because some compilers
2661
# like to wrap large dependency lists on column 80 (with \), and
2662
# we should not choose a depcomp mode which is confused by this.
2664
# We need to recreate these files for each test, as the compiler may
2665
# overwrite some of them when testing with obscure command lines.
2666
# This happens at least with the AIX C compiler.
2668
for i in 1 2 3 4 5 6; do
2669
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2672
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2676
# after this tag, mechanisms are not by side-effect, so they'll
2677
# only be used when explicitly requested
2678
if test "x$enable_dependency_tracking" = xyes; then
2686
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2687
# mode. It turns out that the SunPro C++ compiler does not properly
2688
# handle `-M -o', and we need to detect this.
2689
if depmode=$depmode \
2690
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2691
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2692
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2693
>/dev/null 2>conftest.err &&
2694
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2695
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2696
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2697
# icc doesn't choke on unknown options, it will just issue warnings
2698
# (even with -Werror). So we grep stderr for any message
2699
# that says an option was ignored.
2700
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2701
am_cv_CC_dependencies_compiler_type=$depmode
2710
am_cv_CC_dependencies_compiler_type=none
2714
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2715
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2716
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2721
test "x$enable_dependency_tracking" != xno \
2722
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2724
am__fastdepCC_FALSE='#'
2726
am__fastdepCC_TRUE='#'
2727
am__fastdepCC_FALSE=
2733
ac_cpp='$CXXCPP $CPPFLAGS'
2734
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2737
if test -n "$ac_tool_prefix"; then
2738
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2740
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2741
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2742
echo "$as_me:$LINENO: checking for $ac_word" >&5
2743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2744
if test "${ac_cv_prog_CXX+set}" = set; then
2745
echo $ECHO_N "(cached) $ECHO_C" >&6
2747
if test -n "$CXX"; then
2748
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754
test -z "$as_dir" && as_dir=.
2755
for ac_exec_ext in '' $ac_executable_extensions; do
2756
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2758
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2767
if test -n "$CXX"; then
2768
echo "$as_me:$LINENO: result: $CXX" >&5
2769
echo "${ECHO_T}$CXX" >&6
2771
echo "$as_me:$LINENO: result: no" >&5
2772
echo "${ECHO_T}no" >&6
2775
test -n "$CXX" && break
2778
if test -z "$CXX"; then
2780
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2782
# Extract the first word of "$ac_prog", so it can be a program name with args.
2783
set dummy $ac_prog; ac_word=$2
2784
echo "$as_me:$LINENO: checking for $ac_word" >&5
2785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2786
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2787
echo $ECHO_N "(cached) $ECHO_C" >&6
2789
if test -n "$ac_ct_CXX"; then
2790
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796
test -z "$as_dir" && as_dir=.
2797
for ac_exec_ext in '' $ac_executable_extensions; do
2798
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799
ac_cv_prog_ac_ct_CXX="$ac_prog"
2800
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2808
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2809
if test -n "$ac_ct_CXX"; then
2810
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2811
echo "${ECHO_T}$ac_ct_CXX" >&6
2813
echo "$as_me:$LINENO: result: no" >&5
2814
echo "${ECHO_T}no" >&6
2817
test -n "$ac_ct_CXX" && break
2819
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2825
# Provide some information about the compiler.
2826
echo "$as_me:$LINENO:" \
2827
"checking for C++ compiler version" >&5
2828
ac_compiler=`set X $ac_compile; echo $2`
2829
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2830
(eval $ac_compiler --version </dev/null >&5) 2>&5
2832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
(exit $ac_status); }
2834
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2835
(eval $ac_compiler -v </dev/null >&5) 2>&5
2837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
(exit $ac_status); }
2839
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2840
(eval $ac_compiler -V </dev/null >&5) 2>&5
2842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843
(exit $ac_status); }
2845
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2846
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2847
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2848
echo $ECHO_N "(cached) $ECHO_C" >&6
2850
cat >conftest.$ac_ext <<_ACEOF
2851
#line $LINENO "configure"
2854
cat confdefs.h >>conftest.$ac_ext
2855
cat >>conftest.$ac_ext <<_ACEOF
2856
/* end confdefs.h. */
2869
rm -f conftest.$ac_objext
2870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871
(eval $ac_compile) 2>&5
2873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
(exit $ac_status); } &&
2875
{ ac_try='test -s conftest.$ac_objext'
2876
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
(exit $ac_status); }; }; then
2883
echo "$as_me: failed program was:" >&5
2884
sed 's/^/| /' conftest.$ac_ext >&5
2888
rm -f conftest.$ac_objext conftest.$ac_ext
2889
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2892
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2893
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2894
GXX=`test $ac_compiler_gnu = yes && echo yes`
2895
ac_test_CXXFLAGS=${CXXFLAGS+set}
2896
ac_save_CXXFLAGS=$CXXFLAGS
2898
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2899
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2900
if test "${ac_cv_prog_cxx_g+set}" = set; then
2901
echo $ECHO_N "(cached) $ECHO_C" >&6
2903
cat >conftest.$ac_ext <<_ACEOF
2904
#line $LINENO "configure"
2907
cat confdefs.h >>conftest.$ac_ext
2908
cat >>conftest.$ac_ext <<_ACEOF
2909
/* end confdefs.h. */
2919
rm -f conftest.$ac_objext
2920
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921
(eval $ac_compile) 2>&5
2923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924
(exit $ac_status); } &&
2925
{ ac_try='test -s conftest.$ac_objext'
2926
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
(exit $ac_status); }; }; then
2931
ac_cv_prog_cxx_g=yes
2933
echo "$as_me: failed program was:" >&5
2934
sed 's/^/| /' conftest.$ac_ext >&5
2938
rm -f conftest.$ac_objext conftest.$ac_ext
2940
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2941
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2942
if test "$ac_test_CXXFLAGS" = set; then
2943
CXXFLAGS=$ac_save_CXXFLAGS
2944
elif test $ac_cv_prog_cxx_g = yes; then
2945
if test "$GXX" = yes; then
2951
if test "$GXX" = yes; then
2957
for ac_declaration in \
2959
'#include <stdlib.h>' \
2960
'extern "C" void std::exit (int) throw (); using std::exit;' \
2961
'extern "C" void std::exit (int); using std::exit;' \
2962
'extern "C" void exit (int) throw ();' \
2963
'extern "C" void exit (int);' \
2966
cat >conftest.$ac_ext <<_ACEOF
2967
#line $LINENO "configure"
2970
cat confdefs.h >>conftest.$ac_ext
2971
cat >>conftest.$ac_ext <<_ACEOF
2972
/* end confdefs.h. */
2983
rm -f conftest.$ac_objext
2984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985
(eval $ac_compile) 2>&5
2987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988
(exit $ac_status); } &&
2989
{ ac_try='test -s conftest.$ac_objext'
2990
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994
(exit $ac_status); }; }; then
2997
echo "$as_me: failed program was:" >&5
2998
sed 's/^/| /' conftest.$ac_ext >&5
3002
rm -f conftest.$ac_objext conftest.$ac_ext
3003
cat >conftest.$ac_ext <<_ACEOF
3004
#line $LINENO "configure"
3007
cat confdefs.h >>conftest.$ac_ext
3008
cat >>conftest.$ac_ext <<_ACEOF
3009
/* end confdefs.h. */
3019
rm -f conftest.$ac_objext
3020
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3021
(eval $ac_compile) 2>&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); } &&
3025
{ ac_try='test -s conftest.$ac_objext'
3026
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
(exit $ac_status); }; }; then
3033
echo "$as_me: failed program was:" >&5
3034
sed 's/^/| /' conftest.$ac_ext >&5
3037
rm -f conftest.$ac_objext conftest.$ac_ext
3040
if test -n "$ac_declaration"; then
3041
echo '#ifdef __cplusplus' >>confdefs.h
3042
echo $ac_declaration >>confdefs.h
3043
echo '#endif' >>confdefs.h
3047
ac_cpp='$CPP $CPPFLAGS'
3048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052
depcc="$CXX" am_compiler_list=
3054
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3055
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3056
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3057
echo $ECHO_N "(cached) $ECHO_C" >&6
3059
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3060
# We make a subdir and do the tests there. Otherwise we can end up
3061
# making bogus files that we don't know about and never remove. For
3062
# instance it was reported that on HP-UX the gcc test will end up
3063
# making a dummy file named `D' -- because `-MD' means `put the output
3066
# Copy depcomp to subdir because otherwise we won't find it if we're
3067
# using a relative directory.
3068
cp "$am_depcomp" conftest.dir
3070
# We will build objects and dependencies in a subdirectory because
3071
# it helps to detect inapplicable dependency modes. For instance
3072
# both Tru64's cc and ICC support -MD to output dependencies as a
3073
# side effect of compilation, but ICC will put the dependencies in
3074
# the current directory while Tru64 will put them in the object
3078
am_cv_CXX_dependencies_compiler_type=none
3079
if test "$am_compiler_list" = ""; then
3080
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3082
for depmode in $am_compiler_list; do
3083
# Setup a source with many dependencies, because some compilers
3084
# like to wrap large dependency lists on column 80 (with \), and
3085
# we should not choose a depcomp mode which is confused by this.
3087
# We need to recreate these files for each test, as the compiler may
3088
# overwrite some of them when testing with obscure command lines.
3089
# This happens at least with the AIX C compiler.
3091
for i in 1 2 3 4 5 6; do
3092
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3095
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3099
# after this tag, mechanisms are not by side-effect, so they'll
3100
# only be used when explicitly requested
3101
if test "x$enable_dependency_tracking" = xyes; then
3109
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3110
# mode. It turns out that the SunPro C++ compiler does not properly
3111
# handle `-M -o', and we need to detect this.
3112
if depmode=$depmode \
3113
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3114
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3115
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3116
>/dev/null 2>conftest.err &&
3117
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3118
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3119
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3120
# icc doesn't choke on unknown options, it will just issue warnings
3121
# (even with -Werror). So we grep stderr for any message
3122
# that says an option was ignored.
3123
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3124
am_cv_CXX_dependencies_compiler_type=$depmode
3133
am_cv_CXX_dependencies_compiler_type=none
3137
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3138
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3139
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3144
test "x$enable_dependency_tracking" != xno \
3145
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3146
am__fastdepCXX_TRUE=
3147
am__fastdepCXX_FALSE='#'
3149
am__fastdepCXX_TRUE='#'
3150
am__fastdepCXX_FALSE=
3154
# Find a good install program. We prefer a C program (faster),
3155
# so one script is as good as another. But avoid the broken or
3156
# incompatible versions:
3157
# SysV /etc/install, /usr/sbin/install
3158
# SunOS /usr/etc/install
3159
# IRIX /sbin/install
3161
# AmigaOS /C/install, which installs bootblocks on floppy discs
3162
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165
# ./install, which can be erroneously created by make from ./install.sh.
3166
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3167
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3168
if test -z "$INSTALL"; then
3169
if test "${ac_cv_path_install+set}" = set; then
3170
echo $ECHO_N "(cached) $ECHO_C" >&6
3172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176
test -z "$as_dir" && as_dir=.
3177
# Account for people who put trailing slashes in PATH elements.
3179
./ | .// | /cC/* | \
3180
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183
# OSF1 and SCO ODT 3.0 have their own names for install.
3184
# Don't use installbsd from OSF since it installs stuff as root
3186
for ac_prog in ginstall scoinst install; do
3187
for ac_exec_ext in '' $ac_executable_extensions; do
3188
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3189
if test $ac_prog = install &&
3190
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191
# AIX install. It has an incompatible calling convention.
3193
elif test $ac_prog = install &&
3194
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195
# program-specific install script used by HP pwplus--don't use.
3198
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210
if test "${ac_cv_path_install+set}" = set; then
3211
INSTALL=$ac_cv_path_install
3213
# As a last resort, use the slow shell script. We don't cache a
3214
# path for INSTALL within a source directory, because that will
3215
# break other packages using the cache if that directory is
3216
# removed, or if the path is relative.
3217
INSTALL=$ac_install_sh
3220
echo "$as_me:$LINENO: result: $INSTALL" >&5
3221
echo "${ECHO_T}$INSTALL" >&6
3223
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3224
# It thinks the first close brace ends the variable substitution.
3225
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3227
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3229
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3233
for ac_prog in 'bison -y' byacc
3235
# Extract the first word of "$ac_prog", so it can be a program name with args.
3236
set dummy $ac_prog; ac_word=$2
3237
echo "$as_me:$LINENO: checking for $ac_word" >&5
3238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3239
if test "${ac_cv_prog_YACC+set}" = set; then
3240
echo $ECHO_N "(cached) $ECHO_C" >&6
3242
if test -n "$YACC"; then
3243
ac_cv_prog_YACC="$YACC" # Let the user override the test.
3245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249
test -z "$as_dir" && as_dir=.
3250
for ac_exec_ext in '' $ac_executable_extensions; do
3251
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252
ac_cv_prog_YACC="$ac_prog"
3253
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261
YACC=$ac_cv_prog_YACC
3262
if test -n "$YACC"; then
3263
echo "$as_me:$LINENO: result: $YACC" >&5
3264
echo "${ECHO_T}$YACC" >&6
3266
echo "$as_me:$LINENO: result: no" >&5
3267
echo "${ECHO_T}no" >&6
3270
test -n "$YACC" && break
3272
test -n "$YACC" || YACC="yacc"
3276
dirlist=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
3277
echo "$as_me:$LINENO: checking for docbook tools" >&5
3278
echo $ECHO_N "checking for docbook tools... $ECHO_C" >&6
3280
# Check whether --with-oskith or --without-oskith was given.
3281
if test "${with_oskith+set}" = set; then
3282
withval="$with_oskith"
3283
with_docbook=${withval}
3285
if test "${ac_cv_c_docbook+set}" = set; then
3286
echo $ECHO_N "(cached) $ECHO_C" >&6
3289
if test x"${with_docbook}" != x ; then
3290
if test -f ${with_docbook}/db2html ; then
3291
ac_cv_c_docbook=`(cd ${with_docbook}; pwd)`
3293
{ { echo "$as_me:$LINENO: error: ${with_docbook} directory doesn't contain SGML tools" >&5
3294
echo "$as_me: error: ${with_docbook} directory doesn't contain SGML tools" >&2;}
3295
{ (exit 1); exit 1; }; }
3301
if test x"${ac_cv_c_docbook}" = x ; then
3302
for i in $ac_default_prefix/bin /usr/local/bin $OSKITHDIR/../bin /usr/bin /bin /opt /home; do
3303
if test -f $i/db2html ; then
3310
if test x"${ac_cv_c_docbook}" = x ; then
3311
echo "$as_me:$LINENO: result: none" >&5
3312
echo "${ECHO_T}none" >&6
3314
DOCBOOK="${ac_cv_c_docbook}"
3315
echo "$as_me:$LINENO: result: ${ac_cv_c_docbook}" >&5
3316
echo "${ECHO_T}${ac_cv_c_docbook}" >&6
3323
dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
3324
../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..
3327
echo "$as_me:$LINENO: checking for the tclsh program" >&5
3328
echo $ECHO_N "checking for the tclsh program... $ECHO_C" >&6
3330
# Check whether --with-tclinclude or --without-tclinclude was given.
3331
if test "${with_tclinclude+set}" = set; then
3332
withval="$with_tclinclude"
3333
with_tclinclude=${withval}
3335
if test "${ac_cv_path_tclsh+set}" = set; then
3336
echo $ECHO_N "(cached) $ECHO_C" >&6
3339
if test x"${with_tclinclude}" != x ; then
3340
if test -f ${with_tclinclude}/tclsh ; then
3341
ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
3342
elif test -f ${with_tclinclude}/src/tclsh ; then
3343
ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
3345
{ { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
3346
echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
3347
{ (exit 1); exit 1; }; }
3354
if test x"${ac_cv_path_tclsh}" = x ; then
3355
for i in $dirlist; do
3356
if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then
3362
for i in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do
3363
if test -f $i/src/tclsh ; then
3364
ac_cv_path_tclsh=`(cd $i/src; pwd)`/tclsh
3370
if test x"${ac_cv_path_tclsh}" = x ; then
3371
echo "$as_me:$LINENO: result: none" >&5
3372
echo "${ECHO_T}none" >&6
3373
# Extract the first word of "tclsh", so it can be a program name with args.
3374
set dummy tclsh; ac_word=$2
3375
echo "$as_me:$LINENO: checking for $ac_word" >&5
3376
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3377
if test "${ac_cv_path_tclsh+set}" = set; then
3378
echo $ECHO_N "(cached) $ECHO_C" >&6
3382
ac_cv_path_tclsh="$tclsh" # Let the user override the test with a path.
3385
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389
test -z "$as_dir" && as_dir=.
3390
for ac_exec_ext in '' $ac_executable_extensions; do
3391
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392
ac_cv_path_tclsh="$as_dir/$ac_word$ac_exec_ext"
3393
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402
tclsh=$ac_cv_path_tclsh
3404
if test -n "$tclsh"; then
3405
echo "$as_me:$LINENO: result: $tclsh" >&5
3406
echo "${ECHO_T}$tclsh" >&6
3408
echo "$as_me:$LINENO: result: no" >&5
3409
echo "${ECHO_T}no" >&6
3413
echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
3414
echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
3416
TCLSH="${ac_cv_path_tclsh}"
3427
subdirs="$subdirs example/calc example/hello"
3430
ac_config_files="$ac_config_files Makefile doc/Makefile testsuite/Makefile example/Makefile testsuite/libdejagnu/Makefile"
3431
cat >confcache <<\_ACEOF
3432
# This file is a shell script that caches the results of configure
3433
# tests run on this system so they can be shared between configure
3434
# scripts and configure runs, see configure's option --config-cache.
3435
# It is not useful on other systems. If it contains results you don't
3436
# want to keep, you may remove or edit it.
3438
# config.status only pays attention to the cache file if you give it
3439
# the --recheck option to rerun configure.
3441
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3442
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3447
# The following way of writing the cache mishandles newlines in values,
3448
# but we know of no workaround that is simple, portable, and efficient.
3449
# So, don't put newlines in cache variables' values.
3450
# Ultrix sh set writes to stderr and can't be redirected directly,
3451
# and sets the high bit in the cache file unless we assign to the vars.
3454
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3456
# `set' does not quote correctly, so add quotes (double-quote
3457
# substitution turns \\\\ into \\, and sed turns \\ into \).
3460
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3463
# `set' quotes correctly as required by POSIX, so do not add quotes.
3465
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3472
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3474
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3476
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3477
if test -w $cache_file; then
3478
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3479
cat confcache >$cache_file
3481
echo "not updating unwritable cache $cache_file"
3486
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3487
# Let make expand exec_prefix.
3488
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3490
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3491
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3492
# trailing colons and then remove the whole line if VPATH becomes empty
3493
# (actually we leave an empty line to preserve line numbers).
3494
if test "x$srcdir" = x.; then
3495
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3496
s/:*\$(srcdir):*/:/;
3497
s/:*\${srcdir}:*/:/;
3499
s/^\([^=]*=[ ]*\):*/\1/;
3505
# Transform confdefs.h into DEFS.
3506
# Protect against shell expansion while executing Makefile rules.
3507
# Protect against Makefile macro expansion.
3509
# If the first sed substitution is executed (which looks for macros that
3510
# take arguments), then we branch to the quote section. Otherwise,
3511
# look for a macro that doesn't take arguments.
3512
cat >confdef2opt.sed <<\_ACEOF
3515
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3517
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3521
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3527
# We use echo to avoid assuming a particular line-breaking character.
3528
# The extra dot is to prevent the shell from consuming trailing
3529
# line-breaks from the sub-command output. A line-break within
3530
# single-quotes doesn't work because, if this script is created in a
3531
# platform that uses two characters for line-breaks (e.g., DOS), tr
3533
ac_LF_and_DOT=`echo; echo .`
3534
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3535
rm -f confdef2opt.sed
3540
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3541
# 1. Remove the extension, and $U if already installed.
3542
ac_i=`echo "$ac_i" |
3543
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3545
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3546
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3550
LTLIBOBJS=$ac_ltlibobjs
3553
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3554
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3555
Usually this means the macro was only invoked conditionally." >&5
3556
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3557
Usually this means the macro was only invoked conditionally." >&2;}
3558
{ (exit 1); exit 1; }; }
3560
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3561
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3562
Usually this means the macro was only invoked conditionally." >&5
3563
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3564
Usually this means the macro was only invoked conditionally." >&2;}
3565
{ (exit 1); exit 1; }; }
3567
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3568
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3569
Usually this means the macro was only invoked conditionally." >&5
3570
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3571
Usually this means the macro was only invoked conditionally." >&2;}
3572
{ (exit 1); exit 1; }; }
3574
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3575
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3576
Usually this means the macro was only invoked conditionally." >&5
3577
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3578
Usually this means the macro was only invoked conditionally." >&2;}
3579
{ (exit 1); exit 1; }; }
3582
: ${CONFIG_STATUS=./config.status}
3583
ac_clean_files_save=$ac_clean_files
3584
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3585
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3586
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3587
cat >$CONFIG_STATUS <<_ACEOF
3589
# Generated by $as_me.
3590
# Run this file to recreate the current configuration.
3591
# Compiler output produced by configure, useful for debugging
3592
# configure, is in config.log if it exists.
3597
SHELL=\${CONFIG_SHELL-$SHELL}
3600
cat >>$CONFIG_STATUS <<\_ACEOF
3601
## --------------------- ##
3602
## M4sh Initialization. ##
3603
## --------------------- ##
3605
# Be Bourne compatible
3606
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3609
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3610
# is contrary to our usage. Disable this feature.
3611
alias -g '${1+"$@"}'='"$@"'
3612
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3616
# Support unset when possible.
3617
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3624
# Work around bugs in pre-3.0 UWIN ksh.
3625
$as_unset ENV MAIL MAILPATH
3632
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3633
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3634
LC_TELEPHONE LC_TIME
3636
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3637
eval $as_var=C; export $as_var
3643
# Required to use basename.
3644
if expr a : '\(a\)' >/dev/null 2>&1; then
3650
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3651
as_basename=basename
3657
# Name of the executable.
3658
as_me=`$as_basename "$0" ||
3659
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3660
X"$0" : 'X\(//\)$' \| \
3661
X"$0" : 'X\(/\)$' \| \
3662
. : '\(.\)' 2>/dev/null ||
3664
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3665
/^X\/\(\/\/\)$/{ s//\1/; q; }
3666
/^X\/\(\/\).*/{ s//\1/; q; }
3670
# PATH needs CR, and LINENO needs CR and PATH.
3671
# Avoid depending upon Character Ranges.
3672
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3673
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3674
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3675
as_cr_digits='0123456789'
3676
as_cr_alnum=$as_cr_Letters$as_cr_digits
3678
# The user is always right.
3679
if test "${PATH_SEPARATOR+set}" != set; then
3680
echo "#! /bin/sh" >conf$$.sh
3681
echo "exit 0" >>conf$$.sh
3683
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3694
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3695
test "x$as_lineno_1" != "x$as_lineno_2" &&
3696
test "x$as_lineno_3" = "x$as_lineno_2" || {
3697
# Find who we are. Look in the path if we contain no path at all
3700
*[\\/]* ) as_myself=$0 ;;
3701
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705
test -z "$as_dir" && as_dir=.
3706
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3711
# We did not find ourselves, most probably we were run as `sh COMMAND'
3712
# in which case we are not to be found in the path.
3713
if test "x$as_myself" = x; then
3716
if test ! -f "$as_myself"; then
3717
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3718
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3719
{ (exit 1); exit 1; }; }
3721
case $CONFIG_SHELL in
3723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3727
test -z "$as_dir" && as_dir=.
3728
for as_base in sh bash ksh sh5; do
3731
if ("$as_dir/$as_base" -c '
3734
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3735
test "x$as_lineno_1" != "x$as_lineno_2" &&
3736
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3737
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3738
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3739
CONFIG_SHELL=$as_dir/$as_base
3741
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3749
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3750
# uniformly replaced by the line number. The first 'sed' inserts a
3751
# line-number line before each line; the second 'sed' does the real
3752
# work. The second script uses 'N' to pair each line-number line
3753
# with the numbered line, and appends trailing '-' during
3754
# substitution so that $LINENO is not a special case at line end.
3755
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3756
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3757
sed '=' <$as_myself |
3762
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3765
s,^['$as_cr_digits']*\n,,
3767
chmod +x $as_me.lineno ||
3768
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3769
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3770
{ (exit 1); exit 1; }; }
3772
# Don't try to exec as it changes $[0], causing all sort of problems
3773
# (the dirname of $[0] is not the place where we might find the
3774
# original and so on. Autoconf is especially sensible to this).
3776
# Exit status is that of the last command.
3781
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3782
*c*,-n*) ECHO_N= ECHO_C='
3784
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3785
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3788
if expr a : '\(a\)' >/dev/null 2>&1; then
3794
rm -f conf$$ conf$$.exe conf$$.file
3796
if ln -s conf$$.file conf$$ 2>/dev/null; then
3797
# We could just check for DJGPP; but this test a) works b) is more generic
3798
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3799
if test -f conf$$.exe; then
3800
# Don't use ln at all; we don't have any links
3805
elif ln conf$$.file conf$$ 2>/dev/null; then
3810
rm -f conf$$ conf$$.exe conf$$.file
3812
if mkdir -p . 2>/dev/null; then
3818
as_executable_p="test -f"
3820
# Sed expression to map a string onto a valid CPP name.
3821
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3823
# Sed expression to map a string onto a valid variable name.
3824
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3828
# We need space, tab and new line, in precisely that order.
3838
# Open the log real soon, to keep \$[0] and so on meaningful, and to
3839
# report actual input values of CONFIG_FILES etc. instead of their
3840
# values after options handling. Logging --version etc. is OK.
3844
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3845
## Running $as_me. ##
3850
This file was extended by $as_me, which was
3851
generated by GNU Autoconf 2.57. Invocation command line was
3853
CONFIG_FILES = $CONFIG_FILES
3854
CONFIG_HEADERS = $CONFIG_HEADERS
3855
CONFIG_LINKS = $CONFIG_LINKS
3856
CONFIG_COMMANDS = $CONFIG_COMMANDS
3860
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3864
# Files that config.status was made for.
3865
if test -n "$ac_config_files"; then
3866
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3869
if test -n "$ac_config_headers"; then
3870
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3873
if test -n "$ac_config_links"; then
3874
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3877
if test -n "$ac_config_commands"; then
3878
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3881
cat >>$CONFIG_STATUS <<\_ACEOF
3884
\`$as_me' instantiates files from templates according to the
3885
current configuration.
3887
Usage: $0 [OPTIONS] [FILE]...
3889
-h, --help print this help, then exit
3890
-V, --version print version number, then exit
3891
-q, --quiet do not print progress messages
3892
-d, --debug don't remove temporary files
3893
--recheck update $as_me by reconfiguring in the same conditions
3894
--file=FILE[:TEMPLATE]
3895
instantiate the configuration file FILE
3897
Configuration files:
3900
Configuration commands:
3903
Report bugs to <bug-autoconf@gnu.org>."
3906
cat >>$CONFIG_STATUS <<_ACEOF
3909
configured by $0, generated by GNU Autoconf 2.57,
3910
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3912
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3913
Free Software Foundation, Inc.
3914
This config.status script is free software; the Free Software Foundation
3915
gives unlimited permission to copy, distribute and modify it."
3920
cat >>$CONFIG_STATUS <<\_ACEOF
3921
# If no file are specified by the user, then we need to provide default
3922
# value. By we need to know if files were specified by the user.
3928
ac_option=`expr "x$1" : 'x\([^=]*\)='`
3929
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3937
*) # This is not an option, so the user has probably given explicit
3940
ac_need_defaults=false;;
3944
# Handling of the options.
3946
cat >>$CONFIG_STATUS <<\_ACEOF
3947
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3949
--version | --vers* | -V )
3950
echo "$ac_cs_version"; exit 0 ;;
3952
# Conflict between --help and --header
3953
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
3954
Try \`$0 --help' for more information." >&5
3955
echo "$as_me: error: ambiguous option: $1
3956
Try \`$0 --help' for more information." >&2;}
3957
{ (exit 1); exit 1; }; };;
3958
--help | --hel | -h )
3959
echo "$ac_cs_usage"; exit 0 ;;
3960
--debug | --d* | -d )
3962
--file | --fil | --fi | --f )
3964
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3965
ac_need_defaults=false;;
3966
--header | --heade | --head | --hea )
3968
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3969
ac_need_defaults=false;;
3970
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
3971
| -silent | --silent | --silen | --sile | --sil | --si | --s)
3975
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3976
Try \`$0 --help' for more information." >&5
3977
echo "$as_me: error: unrecognized option: $1
3978
Try \`$0 --help' for more information." >&2;}
3979
{ (exit 1); exit 1; }; } ;;
3981
*) ac_config_targets="$ac_config_targets $1" ;;
3987
ac_configure_extra_args=
3989
if $ac_cs_silent; then
3991
ac_configure_extra_args="$ac_configure_extra_args --silent"
3995
cat >>$CONFIG_STATUS <<_ACEOF
3996
if \$ac_cs_recheck; then
3997
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3998
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4003
cat >>$CONFIG_STATUS <<_ACEOF
4005
# INIT-COMMANDS section.
4008
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4014
cat >>$CONFIG_STATUS <<\_ACEOF
4015
for ac_config_target in $ac_config_targets
4017
case "$ac_config_target" in
4018
# Handling of arguments.
4019
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4020
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4021
"testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
4022
"example/Makefile" ) CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
4023
"testsuite/libdejagnu/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/libdejagnu/Makefile" ;;
4024
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4025
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4026
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4027
{ (exit 1); exit 1; }; };;
4031
# If the user did not use the arguments to specify the items to instantiate,
4032
# then the envvar interface is used. Set only those that are not.
4033
# We use the long form for the default assignment because of an extremely
4034
# bizarre bug on SunOS 4.1.3.
4035
if $ac_need_defaults; then
4036
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4037
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4040
# Have a temporary directory for convenience. Make it in the build tree
4041
# simply because there is no reason to put it here, and in addition,
4042
# creating and moving files from /tmp can sometimes cause problems.
4043
# Create a temporary directory, and hook for its removal unless debugging.
4046
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4047
trap '{ (exit 1); exit 1; }' 1 2 13 15
4050
# Create a (secure) tmp directory for tmp files.
4053
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4054
test -n "$tmp" && test -d "$tmp"
4057
tmp=./confstat$$-$RANDOM
4058
(umask 077 && mkdir $tmp)
4061
echo "$me: cannot create a temporary directory in ." >&2
4062
{ (exit 1); exit 1; }
4067
cat >>$CONFIG_STATUS <<_ACEOF
4070
# CONFIG_FILES section.
4073
# No need to generate the scripts if there are no CONFIG_FILES.
4074
# This happens for instance when ./config.status config.h
4075
if test -n "\$CONFIG_FILES"; then
4076
# Protect against being on the right side of a sed subst in config.status.
4077
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4078
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4079
s,@SHELL@,$SHELL,;t t
4080
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4081
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4082
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4083
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4084
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4085
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4086
s,@exec_prefix@,$exec_prefix,;t t
4087
s,@prefix@,$prefix,;t t
4088
s,@program_transform_name@,$program_transform_name,;t t
4089
s,@bindir@,$bindir,;t t
4090
s,@sbindir@,$sbindir,;t t
4091
s,@libexecdir@,$libexecdir,;t t
4092
s,@datadir@,$datadir,;t t
4093
s,@sysconfdir@,$sysconfdir,;t t
4094
s,@sharedstatedir@,$sharedstatedir,;t t
4095
s,@localstatedir@,$localstatedir,;t t
4096
s,@libdir@,$libdir,;t t
4097
s,@includedir@,$includedir,;t t
4098
s,@oldincludedir@,$oldincludedir,;t t
4099
s,@infodir@,$infodir,;t t
4100
s,@mandir@,$mandir,;t t
4101
s,@build_alias@,$build_alias,;t t
4102
s,@host_alias@,$host_alias,;t t
4103
s,@target_alias@,$target_alias,;t t
4105
s,@ECHO_C@,$ECHO_C,;t t
4106
s,@ECHO_N@,$ECHO_N,;t t
4107
s,@ECHO_T@,$ECHO_T,;t t
4109
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4110
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4111
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4112
s,@CYGPATH_W@,$CYGPATH_W,;t t
4113
s,@PACKAGE@,$PACKAGE,;t t
4114
s,@VERSION@,$VERSION,;t t
4115
s,@ACLOCAL@,$ACLOCAL,;t t
4116
s,@AUTOCONF@,$AUTOCONF,;t t
4117
s,@AUTOMAKE@,$AUTOMAKE,;t t
4118
s,@AUTOHEADER@,$AUTOHEADER,;t t
4119
s,@MAKEINFO@,$MAKEINFO,;t t
4120
s,@AMTAR@,$AMTAR,;t t
4121
s,@install_sh@,$install_sh,;t t
4122
s,@STRIP@,$STRIP,;t t
4123
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4124
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4126
s,@SET_MAKE@,$SET_MAKE,;t t
4127
s,@am__leading_dot@,$am__leading_dot,;t t
4128
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4129
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4130
s,@MAINT@,$MAINT,;t t
4132
s,@CFLAGS@,$CFLAGS,;t t
4133
s,@LDFLAGS@,$LDFLAGS,;t t
4134
s,@CPPFLAGS@,$CPPFLAGS,;t t
4135
s,@ac_ct_CC@,$ac_ct_CC,;t t
4136
s,@EXEEXT@,$EXEEXT,;t t
4137
s,@OBJEXT@,$OBJEXT,;t t
4138
s,@DEPDIR@,$DEPDIR,;t t
4139
s,@am__include@,$am__include,;t t
4140
s,@am__quote@,$am__quote,;t t
4141
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4142
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4143
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4144
s,@CCDEPMODE@,$CCDEPMODE,;t t
4145
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4146
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4148
s,@CXXFLAGS@,$CXXFLAGS,;t t
4149
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4150
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4151
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4152
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4154
s,@DOCBOOK@,$DOCBOOK,;t t
4155
s,@tclsh@,$tclsh,;t t
4156
s,@TCLSH@,$TCLSH,;t t
4157
s,@BOARDS@,$BOARDS,;t t
4158
s,@CONFIG@,$CONFIG,;t t
4159
s,@subdirs@,$subdirs,;t t
4160
s,@LIBOBJS@,$LIBOBJS,;t t
4161
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4166
cat >>$CONFIG_STATUS <<\_ACEOF
4167
# Split the substitutions into bite-sized pieces for seds with
4168
# small command number limits, like on Digital OSF/1 and HP-UX.
4170
ac_sed_frag=1 # Number of current file.
4171
ac_beg=1 # First line for current file.
4172
ac_end=$ac_max_sed_lines # Line after last line for current file.
4175
while $ac_more_lines; do
4176
if test $ac_beg -gt 1; then
4177
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4179
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4181
if test ! -s $tmp/subs.frag; then
4184
# The purpose of the label and of the branching condition is to
4185
# speed up the sed processing (if there are no `@' at all, there
4186
# is no need to browse any of the substitutions).
4187
# These are the two extra sed commands mentioned above.
4189
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4190
if test -z "$ac_sed_cmds"; then
4191
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4193
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4195
ac_sed_frag=`expr $ac_sed_frag + 1`
4197
ac_end=`expr $ac_end + $ac_max_sed_lines`
4200
if test -z "$ac_sed_cmds"; then
4203
fi # test -n "$CONFIG_FILES"
4206
cat >>$CONFIG_STATUS <<\_ACEOF
4207
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4208
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4210
- | *:- | *:-:* ) # input from stdin
4212
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4213
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4214
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4215
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4216
* ) ac_file_in=$ac_file.in ;;
4219
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4220
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4221
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4222
X"$ac_file" : 'X\(//\)[^/]' \| \
4223
X"$ac_file" : 'X\(//\)$' \| \
4224
X"$ac_file" : 'X\(/\)' \| \
4225
. : '\(.\)' 2>/dev/null ||
4227
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4228
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4229
/^X\(\/\/\)$/{ s//\1/; q; }
4230
/^X\(\/\).*/{ s//\1/; q; }
4232
{ if $as_mkdir_p; then
4237
while test ! -d "$as_dir"; do
4238
as_dirs="$as_dir $as_dirs"
4239
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4240
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4241
X"$as_dir" : 'X\(//\)[^/]' \| \
4242
X"$as_dir" : 'X\(//\)$' \| \
4243
X"$as_dir" : 'X\(/\)' \| \
4244
. : '\(.\)' 2>/dev/null ||
4246
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4247
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4248
/^X\(\/\/\)$/{ s//\1/; q; }
4249
/^X\(\/\).*/{ s//\1/; q; }
4252
test ! -n "$as_dirs" || mkdir $as_dirs
4253
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4254
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4255
{ (exit 1); exit 1; }; }; }
4259
if test "$ac_dir" != .; then
4260
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4261
# A "../" for each directory in $ac_dir_suffix.
4262
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4264
ac_dir_suffix= ac_top_builddir=
4268
.) # No --srcdir option. We are building in place.
4270
if test -z "$ac_top_builddir"; then
4273
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4275
[\\/]* | ?:[\\/]* ) # Absolute path.
4276
ac_srcdir=$srcdir$ac_dir_suffix;
4277
ac_top_srcdir=$srcdir ;;
4279
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4280
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4282
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4284
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4285
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4286
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4287
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4291
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4292
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4295
if test x"$ac_file" != x-; then
4296
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4297
echo "$as_me: creating $ac_file" >&6;}
4300
# Let's still pretend it is `configure' which instantiates (i.e., don't
4301
# use $as_me), people would be surprised to read:
4302
# /* config.h. Generated by config.status. */
4303
if test x"$ac_file" = x-; then
4306
configure_input="$ac_file. "
4308
configure_input=$configure_input"Generated from `echo $ac_file_in |
4309
sed 's,.*/,,'` by configure."
4311
# First look for the input files in the build tree, otherwise in the
4313
ac_file_inputs=`IFS=:
4314
for f in $ac_file_in; do
4316
-) echo $tmp/stdin ;;
4318
# Absolute (can't be DOS-style, as IFS=:)
4319
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4320
echo "$as_me: error: cannot find input file: $f" >&2;}
4321
{ (exit 1); exit 1; }; }
4324
if test -f "$f"; then
4327
elif test -f "$srcdir/$f"; then
4332
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4333
echo "$as_me: error: cannot find input file: $f" >&2;}
4334
{ (exit 1); exit 1; }; }
4337
done` || { (exit 1); exit 1; }
4339
cat >>$CONFIG_STATUS <<_ACEOF
4343
cat >>$CONFIG_STATUS <<\_ACEOF
4345
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4346
s,@configure_input@,$configure_input,;t t
4347
s,@srcdir@,$ac_srcdir,;t t
4348
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4349
s,@top_srcdir@,$ac_top_srcdir,;t t
4350
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4351
s,@builddir@,$ac_builddir,;t t
4352
s,@abs_builddir@,$ac_abs_builddir,;t t
4353
s,@top_builddir@,$ac_top_builddir,;t t
4354
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4355
s,@INSTALL@,$ac_INSTALL,;t t
4356
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4358
if test x"$ac_file" != x-; then
4359
mv $tmp/out $ac_file
4367
cat >>$CONFIG_STATUS <<\_ACEOF
4370
# CONFIG_COMMANDS section.
4372
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4373
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4374
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4375
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4376
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4377
X"$ac_dest" : 'X\(//\)[^/]' \| \
4378
X"$ac_dest" : 'X\(//\)$' \| \
4379
X"$ac_dest" : 'X\(/\)' \| \
4380
. : '\(.\)' 2>/dev/null ||
4382
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4383
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4384
/^X\(\/\/\)$/{ s//\1/; q; }
4385
/^X\(\/\).*/{ s//\1/; q; }
4389
if test "$ac_dir" != .; then
4390
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4391
# A "../" for each directory in $ac_dir_suffix.
4392
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4394
ac_dir_suffix= ac_top_builddir=
4398
.) # No --srcdir option. We are building in place.
4400
if test -z "$ac_top_builddir"; then
4403
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4405
[\\/]* | ?:[\\/]* ) # Absolute path.
4406
ac_srcdir=$srcdir$ac_dir_suffix;
4407
ac_top_srcdir=$srcdir ;;
4409
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4410
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4412
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4414
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4415
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4416
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4417
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4420
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4421
echo "$as_me: executing $ac_dest commands" >&6;}
4423
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4424
# Strip MF so we end up with the name of the file.
4425
mf=`echo "$mf" | sed -e 's/:.*$//'`
4426
# Check whether this is an Automake generated Makefile or not.
4427
# We used to match only the files named `Makefile.in', but
4428
# some people rename them; so instead we look at the file content.
4429
# Grep'ing the first line is not enough: some people post-process
4430
# each Makefile.in and add a new line on top of each file to say so.
4431
# So let's grep whole file.
4432
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4433
dirpart=`(dirname "$mf") 2>/dev/null ||
4434
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4435
X"$mf" : 'X\(//\)[^/]' \| \
4436
X"$mf" : 'X\(//\)$' \| \
4437
X"$mf" : 'X\(/\)' \| \
4438
. : '\(.\)' 2>/dev/null ||
4440
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4441
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4442
/^X\(\/\/\)$/{ s//\1/; q; }
4443
/^X\(\/\).*/{ s//\1/; q; }
4448
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4449
# Extract the definition of DEP_FILES from the Makefile without
4451
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4452
test -z "$DEPDIR" && continue
4453
# When using ansi2knr, U may be empty or an underscore; expand it
4454
U=`sed -n -e '/^U = / s///p' < "$mf"`
4455
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4456
# We invoke sed twice because it is the simplest approach to
4457
# changing $(DEPDIR) to its actual value in the expansion.
4458
for file in `sed -n -e '
4459
/^DEP_FILES = .*\\\\$/ {
4468
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4469
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4470
# Make sure the directory exists.
4471
test -f "$dirpart/$file" && continue
4472
fdir=`(dirname "$file") 2>/dev/null ||
4473
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4474
X"$file" : 'X\(//\)[^/]' \| \
4475
X"$file" : 'X\(//\)$' \| \
4476
X"$file" : 'X\(/\)' \| \
4477
. : '\(.\)' 2>/dev/null ||
4479
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4480
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4481
/^X\(\/\/\)$/{ s//\1/; q; }
4482
/^X\(\/\).*/{ s//\1/; q; }
4484
{ if $as_mkdir_p; then
4485
mkdir -p $dirpart/$fdir
4487
as_dir=$dirpart/$fdir
4489
while test ! -d "$as_dir"; do
4490
as_dirs="$as_dir $as_dirs"
4491
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4492
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4493
X"$as_dir" : 'X\(//\)[^/]' \| \
4494
X"$as_dir" : 'X\(//\)$' \| \
4495
X"$as_dir" : 'X\(/\)' \| \
4496
. : '\(.\)' 2>/dev/null ||
4498
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4499
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4500
/^X\(\/\/\)$/{ s//\1/; q; }
4501
/^X\(\/\).*/{ s//\1/; q; }
4504
test ! -n "$as_dirs" || mkdir $as_dirs
4505
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4506
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4507
{ (exit 1); exit 1; }; }; }
4509
# echo "creating $dirpart/$file"
4510
echo '# dummy' > "$dirpart/$file"
4518
cat >>$CONFIG_STATUS <<\_ACEOF
4520
{ (exit 0); exit 0; }
4522
chmod +x $CONFIG_STATUS
4523
ac_clean_files=$ac_clean_files_save
4526
# configure is writing to config.log, and then calls config.status.
4527
# config.status does its own redirection, appending to config.log.
4528
# Unfortunately, on DOS this fails, as config.log is still kept open
4529
# by configure, so config.status won't be able to write to it; its
4530
# output is simply discarded. So we exec the FD to /dev/null,
4531
# effectively closing config.log, so it can be properly (re)opened and
4532
# appended to by config.status. When coming back to configure, we
4533
# need to make the FD available again.
4534
if test "$no_create" != yes; then
4536
ac_config_status_args=
4537
test "$silent" = yes &&
4538
ac_config_status_args="$ac_config_status_args --quiet"
4540
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4542
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4543
# would make configure fail if this is the last instruction.
4544
$ac_cs_success || { (exit 1); exit 1; }
4548
# CONFIG_SUBDIRS section.
4550
if test "$no_recursion" != yes; then
4552
# Remove --cache-file and --srcdir arguments so they do not pile up.
4553
ac_sub_configure_args=
4555
for ac_arg in $ac_configure_args; do
4556
if test -n "$ac_prev"; then
4561
-cache-file | --cache-file | --cache-fil | --cache-fi \
4562
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4563
ac_prev=cache_file ;;
4564
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4565
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4568
--config-cache | -C)
4570
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4572
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4574
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4576
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4578
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4582
# Always prepend --prefix to ensure using the same prefix
4583
# in subdir configurations.
4584
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4587
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4589
# Do not complain, so a configure script can configure whichever
4590
# parts of a large source tree are present.
4591
test -d $srcdir/$ac_dir || continue
4593
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4594
echo "$as_me: configuring in $ac_dir" >&6;}
4595
{ if $as_mkdir_p; then
4600
while test ! -d "$as_dir"; do
4601
as_dirs="$as_dir $as_dirs"
4602
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4603
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4604
X"$as_dir" : 'X\(//\)[^/]' \| \
4605
X"$as_dir" : 'X\(//\)$' \| \
4606
X"$as_dir" : 'X\(/\)' \| \
4607
. : '\(.\)' 2>/dev/null ||
4609
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4610
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4611
/^X\(\/\/\)$/{ s//\1/; q; }
4612
/^X\(\/\).*/{ s//\1/; q; }
4615
test ! -n "$as_dirs" || mkdir $as_dirs
4616
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4617
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4618
{ (exit 1); exit 1; }; }; }
4622
if test "$ac_dir" != .; then
4623
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4624
# A "../" for each directory in $ac_dir_suffix.
4625
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4627
ac_dir_suffix= ac_top_builddir=
4631
.) # No --srcdir option. We are building in place.
4633
if test -z "$ac_top_builddir"; then
4636
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4638
[\\/]* | ?:[\\/]* ) # Absolute path.
4639
ac_srcdir=$srcdir$ac_dir_suffix;
4640
ac_top_srcdir=$srcdir ;;
4642
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4643
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4645
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4647
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4648
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4649
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4650
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4655
# Check for guested configure; otherwise get Cygnus style configure.
4656
if test -f $ac_srcdir/configure.gnu; then
4657
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4658
elif test -f $ac_srcdir/configure; then
4659
ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4660
elif test -f $ac_srcdir/configure.in; then
4661
ac_sub_configure=$ac_configure
4663
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4664
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4668
# The recursion is here.
4669
if test -n "$ac_sub_configure"; then
4670
# Make the cache file name correct relative to the subdirectory.
4672
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4674
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4677
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4678
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4679
# The eval makes quoting arguments work.
4680
eval $ac_sub_configure $ac_sub_configure_args \
4681
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4682
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4683
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4684
{ (exit 1); exit 1; }; }