~ubuntu-branches/ubuntu/warty/dejagnu/warty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2004-02-09 15:07:58 UTC
  • Revision ID: james.westby@ubuntu.com-20040209150758-oaj7r5zrop60v8sb
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.57.
 
4
#
 
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
## --------------------- ##
 
12
 
 
13
# Be Bourne compatible
 
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
  emulate sh
 
16
  NULLCMD=:
 
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
 
21
  set -o posix
 
22
fi
 
23
 
 
24
# Support unset when possible.
 
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in \
 
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 \
 
42
  LC_TELEPHONE LC_TIME
 
43
do
 
44
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
45
    eval $as_var=C; export $as_var
 
46
  else
 
47
    $as_unset $as_var
 
48
  fi
 
49
done
 
50
 
 
51
# Required to use basename.
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
 
53
  as_expr=expr
 
54
else
 
55
  as_expr=false
 
56
fi
 
57
 
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
59
  as_basename=basename
 
60
else
 
61
  as_basename=false
 
62
fi
 
63
 
 
64
 
 
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 ||
 
71
echo X/"$0" |
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
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
 
85
 
 
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
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
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
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
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
 
122
    as_myself=$0
 
123
  fi
 
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; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
 
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
132
do
 
133
  IFS=$as_save_IFS
 
134
  test -z "$as_dir" && as_dir=.
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
 
137
         /*)
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
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
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
 
152
done
 
153
;;
 
154
  esac
 
155
 
 
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 |
 
165
    sed '
 
166
      N
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
170
      t loop
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
 
173
    ' >$as_me.lineno &&
 
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; }; }
 
177
 
 
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).
 
181
  . ./$as_me.lineno
 
182
  # Exit status is that of the last command.
 
183
  exit
 
184
}
 
185
 
 
186
 
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
192
esac
 
193
 
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
 
195
  as_expr=expr
 
196
else
 
197
  as_expr=false
 
198
fi
 
199
 
 
200
rm -f conf$$ conf$$.exe conf$$.file
 
201
echo >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
 
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
 
211
elif ln conf$$.file conf$$ 2>/dev/null; then
 
212
  as_ln_s=ln
 
213
else
 
214
  as_ln_s='cp -p'
 
215
fi
 
216
rm -f conf$$ conf$$.exe conf$$.file
 
217
 
 
218
if mkdir -p . 2>/dev/null; then
 
219
  as_mkdir_p=:
 
220
else
 
221
  as_mkdir_p=false
 
222
fi
 
223
 
 
224
as_executable_p="test -f"
 
225
 
 
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"
 
228
 
 
229
# Sed expression to map a string onto a valid variable name.
 
230
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
 
 
232
 
 
233
# IFS
 
234
# We need space, tab and new line, in precisely that order.
 
235
as_nl='
 
236
'
 
237
IFS="   $as_nl"
 
238
 
 
239
# CDPATH.
 
240
$as_unset CDPATH
 
241
 
 
242
 
 
243
# Name of the host.
 
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`
 
247
 
 
248
exec 6>&1
 
249
 
 
250
#
 
251
# Initializations.
 
252
#
 
253
ac_default_prefix=/usr/local
 
254
ac_config_libobj_dir=.
 
255
cross_compiling=no
 
256
subdirs=
 
257
MFLAGS=
 
258
MAKEFLAGS=
 
259
SHELL=${CONFIG_SHELL-/bin/sh}
 
260
 
 
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}
 
265
 
 
266
# Identity of this package.
 
267
PACKAGE_NAME=
 
268
PACKAGE_TARNAME=
 
269
PACKAGE_VERSION=
 
270
PACKAGE_STRING=
 
271
PACKAGE_BUGREPORT=
 
272
 
 
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'
 
276
ac_subst_files=''
 
277
 
 
278
# Initialize some variables set by options.
 
279
ac_init_help=
 
280
ac_init_version=false
 
281
# The variables have the same names as the options, with
 
282
# dashes changed to underlines.
 
283
cache_file=/dev/null
 
284
exec_prefix=NONE
 
285
no_create=
 
286
no_recursion=
 
287
prefix=NONE
 
288
program_prefix=NONE
 
289
program_suffix=NONE
 
290
program_transform_name=s,x,x,
 
291
silent=
 
292
site=
 
293
srcdir=
 
294
verbose=
 
295
x_includes=NONE
 
296
x_libraries=NONE
 
297
 
 
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'
 
315
 
 
316
ac_prev=
 
317
for ac_option
 
318
do
 
319
  # If the previous option needs an argument, assign it.
 
320
  if test -n "$ac_prev"; then
 
321
    eval "$ac_prev=\$ac_option"
 
322
    ac_prev=
 
323
    continue
 
324
  fi
 
325
 
 
326
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
327
 
 
328
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
329
 
 
330
  case $ac_option in
 
331
 
 
332
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
333
    ac_prev=bindir ;;
 
334
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
335
    bindir=$ac_optarg ;;
 
336
 
 
337
  -build | --build | --buil | --bui | --bu)
 
338
    ac_prev=build_alias ;;
 
339
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
340
    build_alias=$ac_optarg ;;
 
341
 
 
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 ;;
 
348
 
 
349
  --config-cache | -C)
 
350
    cache_file=config.cache ;;
 
351
 
 
352
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
353
    ac_prev=datadir ;;
 
354
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
355
  | --da=*)
 
356
    datadir=$ac_optarg ;;
 
357
 
 
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" ;;
 
366
 
 
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'`
 
374
    case $ac_option in
 
375
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
376
      *) ac_optarg=yes ;;
 
377
    esac
 
378
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
379
 
 
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 ;;
 
388
 
 
389
  -gas | --gas | --ga | --g)
 
390
    # Obsolete; use --with-gas.
 
391
    with_gas=yes ;;
 
392
 
 
393
  -help | --help | --hel | --he | -h)
 
394
    ac_init_help=long ;;
 
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 ;;
 
399
 
 
400
  -host | --host | --hos | --ho)
 
401
    ac_prev=host_alias ;;
 
402
  -host=* | --host=* | --hos=* | --ho=*)
 
403
    host_alias=$ac_optarg ;;
 
404
 
 
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 ;;
 
411
 
 
412
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
413
    ac_prev=infodir ;;
 
414
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
415
    infodir=$ac_optarg ;;
 
416
 
 
417
  -libdir | --libdir | --libdi | --libd)
 
418
    ac_prev=libdir ;;
 
419
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
420
    libdir=$ac_optarg ;;
 
421
 
 
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 ;;
 
428
 
 
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 ;;
 
437
 
 
438
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
439
    ac_prev=mandir ;;
 
440
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
441
    mandir=$ac_optarg ;;
 
442
 
 
443
  -nfp | --nfp | --nf)
 
444
    # Obsolete; use --without-fp.
 
445
    with_fp=no ;;
 
446
 
 
447
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
448
  | --no-cr | --no-c | -n)
 
449
    no_create=yes ;;
 
450
 
 
451
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
452
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
453
    no_recursion=yes ;;
 
454
 
 
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 ;;
 
463
 
 
464
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
465
    ac_prev=prefix ;;
 
466
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
467
    prefix=$ac_optarg ;;
 
468
 
 
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 ;;
 
475
 
 
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 ;;
 
482
 
 
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 ;;
 
499
 
 
500
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
501
  | -silent | --silent | --silen | --sile | --sil)
 
502
    silent=yes ;;
 
503
 
 
504
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
505
    ac_prev=sbindir ;;
 
506
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
507
  | --sbi=* | --sb=*)
 
508
    sbindir=$ac_optarg ;;
 
509
 
 
510
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
511
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
512
  | --sharedst | --shareds | --shared | --share | --shar \
 
513
  | --sha | --sh)
 
514
    ac_prev=sharedstatedir ;;
 
515
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
516
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
517
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
518
  | --sha=* | --sh=*)
 
519
    sharedstatedir=$ac_optarg ;;
 
520
 
 
521
  -site | --site | --sit)
 
522
    ac_prev=site ;;
 
523
  -site=* | --site=* | --sit=*)
 
524
    site=$ac_optarg ;;
 
525
 
 
526
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
527
    ac_prev=srcdir ;;
 
528
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
529
    srcdir=$ac_optarg ;;
 
530
 
 
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 ;;
 
537
 
 
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 ;;
 
542
 
 
543
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
544
    verbose=yes ;;
 
545
 
 
546
  -version | --version | --versio | --versi | --vers | -V)
 
547
    ac_init_version=: ;;
 
548
 
 
549
  -with-* | --with-*)
 
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'`
 
556
    case $ac_option in
 
557
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
558
      *) ac_optarg=yes ;;
 
559
    esac
 
560
    eval "with_$ac_package='$ac_optarg'" ;;
 
561
 
 
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" ;;
 
570
 
 
571
  --x)
 
572
    # Obsolete; use --with-x.
 
573
    with_x=yes ;;
 
574
 
 
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 ;;
 
581
 
 
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 ;;
 
588
 
 
589
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
590
Try \`$0 --help' for more information." >&2
 
591
   { (exit 1); exit 1; }; }
 
592
    ;;
 
593
 
 
594
  *=*)
 
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'"
 
602
    export $ac_envvar ;;
 
603
 
 
604
  *)
 
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}
 
610
    ;;
 
611
 
 
612
  esac
 
613
done
 
614
 
 
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; }; }
 
619
fi
 
620
 
 
621
# Be sure to have absolute paths.
 
622
for ac_var in exec_prefix prefix
 
623
do
 
624
  eval ac_val=$`echo $ac_var`
 
625
  case $ac_val in
 
626
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
627
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
628
   { (exit 1); exit 1; }; };;
 
629
  esac
 
630
done
 
631
 
 
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
 
635
do
 
636
  eval ac_val=$`echo $ac_var`
 
637
  case $ac_val in
 
638
    [\\/$]* | ?:[\\/]* ) ;;
 
639
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
640
   { (exit 1); exit 1; }; };;
 
641
  esac
 
642
done
 
643
 
 
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.
 
647
build=$build_alias
 
648
host=$host_alias
 
649
target=$target_alias
 
650
 
 
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
 
658
    cross_compiling=yes
 
659
  fi
 
660
fi
 
661
 
 
662
ac_tool_prefix=
 
663
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
664
 
 
665
test "$silent" = yes && exec 6>/dev/null
 
666
 
 
667
 
 
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 ||
 
678
echo X"$0" |
 
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
681
          /^X\(\/\/\)$/{ s//\1/; q; }
 
682
          /^X\(\/\).*/{ s//\1/; q; }
 
683
          s/.*/./; q'`
 
684
  srcdir=$ac_confdir
 
685
  if test ! -r $srcdir/$ac_unique_file; then
 
686
    srcdir=..
 
687
  fi
 
688
else
 
689
  ac_srcdir_defaulted=no
 
690
fi
 
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; }; }
 
695
  else
 
696
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
697
   { (exit 1); exit 1; }; }
 
698
  fi
 
699
fi
 
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}
 
717
ac_env_CC_value=$CC
 
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
 
740
 
 
741
#
 
742
# Report the --help message.
 
743
#
 
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.
 
747
  cat <<_ACEOF
 
748
\`configure' configures this package to adapt to many kinds of systems.
 
749
 
 
750
Usage: $0 [OPTION]... [VAR=VALUE]...
 
751
 
 
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.
 
754
 
 
755
Defaults for the options are specified in brackets.
 
756
 
 
757
Configuration:
 
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 \`..']
 
767
 
 
768
_ACEOF
 
769
 
 
770
  cat <<_ACEOF
 
771
Installation directories:
 
772
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
773
                          [$ac_default_prefix]
 
774
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
775
                          [PREFIX]
 
776
 
 
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'.
 
781
 
 
782
For better control, use the options below.
 
783
 
 
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]
 
797
_ACEOF
 
798
 
 
799
  cat <<\_ACEOF
 
800
 
 
801
Program names:
 
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
 
805
_ACEOF
 
806
fi
 
807
 
 
808
if test -n "$ac_init_help"; then
 
809
 
 
810
  cat <<\_ACEOF
 
811
 
 
812
Optional Features:
 
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
 
819
 
 
820
Optional Packages:
 
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
 
825
 
 
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
 
835
 
 
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.
 
838
 
 
839
_ACEOF
 
840
fi
 
841
 
 
842
if test "$ac_init_help" = "recursive"; then
 
843
  # If there are subdirs, report their specific --help.
 
844
  ac_popdir=`pwd`
 
845
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
846
    test -d $ac_dir || continue
 
847
    ac_builddir=.
 
848
 
 
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'`
 
853
else
 
854
  ac_dir_suffix= ac_top_builddir=
 
855
fi
 
856
 
 
857
case $srcdir in
 
858
  .)  # No --srcdir option.  We are building in place.
 
859
    ac_srcdir=.
 
860
    if test -z "$ac_top_builddir"; then
 
861
       ac_top_srcdir=.
 
862
    else
 
863
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
864
    fi ;;
 
865
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
866
    ac_srcdir=$srcdir$ac_dir_suffix;
 
867
    ac_top_srcdir=$srcdir ;;
 
868
  *) # Relative path.
 
869
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
870
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
871
esac
 
872
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
873
# absolute.
 
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`
 
878
 
 
879
    cd $ac_dir
 
880
    # Check for guested configure; otherwise get Cygnus style configure.
 
881
    if test -f $ac_srcdir/configure.gnu; then
 
882
      echo
 
883
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
884
    elif test -f $ac_srcdir/configure; then
 
885
      echo
 
886
      $SHELL $ac_srcdir/configure  --help=recursive
 
887
    elif test -f $ac_srcdir/configure.ac ||
 
888
           test -f $ac_srcdir/configure.in; then
 
889
      echo
 
890
      $ac_configure --help
 
891
    else
 
892
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
893
    fi
 
894
    cd $ac_popdir
 
895
  done
 
896
fi
 
897
 
 
898
test -n "$ac_init_help" && exit 0
 
899
if $ac_init_version; then
 
900
  cat <<\_ACEOF
 
901
 
 
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.
 
906
_ACEOF
 
907
  exit 0
 
908
fi
 
909
exec 5>config.log
 
910
cat >&5 <<_ACEOF
 
911
This file contains any messages produced by compilers while
 
912
running configure, to aid debugging if configure makes a mistake.
 
913
 
 
914
It was created by $as_me, which was
 
915
generated by GNU Autoconf 2.57.  Invocation command line was
 
916
 
 
917
  $ $0 $@
 
918
 
 
919
_ACEOF
 
920
{
 
921
cat <<_ASUNAME
 
922
## --------- ##
 
923
## Platform. ##
 
924
## --------- ##
 
925
 
 
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`
 
931
 
 
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`
 
934
 
 
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`
 
942
 
 
943
_ASUNAME
 
944
 
 
945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
946
for as_dir in $PATH
 
947
do
 
948
  IFS=$as_save_IFS
 
949
  test -z "$as_dir" && as_dir=.
 
950
  echo "PATH: $as_dir"
 
951
done
 
952
 
 
953
} >&5
 
954
 
 
955
cat >&5 <<_ACEOF
 
956
 
 
957
 
 
958
## ----------- ##
 
959
## Core tests. ##
 
960
## ----------- ##
 
961
 
 
962
_ACEOF
 
963
 
 
964
 
 
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.
 
970
ac_configure_args=
 
971
ac_configure_args0=
 
972
ac_configure_args1=
 
973
ac_sep=
 
974
ac_must_keep_next=false
 
975
for ac_pass in 1 2
 
976
do
 
977
  for ac_arg
 
978
  do
 
979
    case $ac_arg in
 
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)
 
983
      continue ;;
 
984
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
985
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
986
    esac
 
987
    case $ac_pass in
 
988
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
989
    2)
 
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.
 
993
      else
 
994
        case $ac_arg in
 
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 ;;
 
1001
            esac
 
1002
            ;;
 
1003
          -* ) ac_must_keep_next=true ;;
 
1004
        esac
 
1005
      fi
 
1006
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1007
      # Get rid of the leading space.
 
1008
      ac_sep=" "
 
1009
      ;;
 
1010
    esac
 
1011
  done
 
1012
done
 
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; }
 
1015
 
 
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.
 
1023
  {
 
1024
    echo
 
1025
 
 
1026
    cat <<\_ASBOX
 
1027
## ---------------- ##
 
1028
## Cache variables. ##
 
1029
## ---------------- ##
 
1030
_ASBOX
 
1031
    echo
 
1032
    # The following way of writing the cache mishandles newlines in values,
 
1033
{
 
1034
  (set) 2>&1 |
 
1035
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1036
    *ac_space=\ *)
 
1037
      sed -n \
 
1038
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1039
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1040
      ;;
 
1041
    *)
 
1042
      sed -n \
 
1043
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1044
      ;;
 
1045
    esac;
 
1046
}
 
1047
    echo
 
1048
 
 
1049
    cat <<\_ASBOX
 
1050
## ----------------- ##
 
1051
## Output variables. ##
 
1052
## ----------------- ##
 
1053
_ASBOX
 
1054
    echo
 
1055
    for ac_var in $ac_subst_vars
 
1056
    do
 
1057
      eval ac_val=$`echo $ac_var`
 
1058
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1059
    done | sort
 
1060
    echo
 
1061
 
 
1062
    if test -n "$ac_subst_files"; then
 
1063
      cat <<\_ASBOX
 
1064
## ------------- ##
 
1065
## Output files. ##
 
1066
## ------------- ##
 
1067
_ASBOX
 
1068
      echo
 
1069
      for ac_var in $ac_subst_files
 
1070
      do
 
1071
        eval ac_val=$`echo $ac_var`
 
1072
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1073
      done | sort
 
1074
      echo
 
1075
    fi
 
1076
 
 
1077
    if test -s confdefs.h; then
 
1078
      cat <<\_ASBOX
 
1079
## ----------- ##
 
1080
## confdefs.h. ##
 
1081
## ----------- ##
 
1082
_ASBOX
 
1083
      echo
 
1084
      sed "/^$/d" confdefs.h | sort
 
1085
      echo
 
1086
    fi
 
1087
    test "$ac_signal" != 0 &&
 
1088
      echo "$as_me: caught signal $ac_signal"
 
1089
    echo "$as_me: exit $exit_status"
 
1090
  } >&5
 
1091
  rm -f core core.* *.core &&
 
1092
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1093
    exit $exit_status
 
1094
     ' 0
 
1095
for ac_signal in 1 2 13 15; do
 
1096
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1097
done
 
1098
ac_signal=0
 
1099
 
 
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.
 
1103
echo >confdefs.h
 
1104
 
 
1105
# Predefined preprocessor variables.
 
1106
 
 
1107
cat >>confdefs.h <<_ACEOF
 
1108
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1109
_ACEOF
 
1110
 
 
1111
 
 
1112
cat >>confdefs.h <<_ACEOF
 
1113
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1114
_ACEOF
 
1115
 
 
1116
 
 
1117
cat >>confdefs.h <<_ACEOF
 
1118
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1119
_ACEOF
 
1120
 
 
1121
 
 
1122
cat >>confdefs.h <<_ACEOF
 
1123
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1124
_ACEOF
 
1125
 
 
1126
 
 
1127
cat >>confdefs.h <<_ACEOF
 
1128
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1129
_ACEOF
 
1130
 
 
1131
 
 
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"
 
1137
  else
 
1138
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1139
  fi
 
1140
fi
 
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
 
1146
    . "$ac_site_file"
 
1147
  fi
 
1148
done
 
1149
 
 
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;}
 
1156
    case $cache_file in
 
1157
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1158
      *)                      . ./$cache_file;;
 
1159
    esac
 
1160
  fi
 
1161
else
 
1162
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1163
echo "$as_me: creating cache $cache_file" >&6;}
 
1164
  >$cache_file
 
1165
fi
 
1166
 
 
1167
# Check that the precious variables saved in the cache have kept the same
 
1168
# value.
 
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
 
1177
    set,)
 
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=: ;;
 
1181
    ,set)
 
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=: ;;
 
1185
    ,);;
 
1186
    *)
 
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=:
 
1195
      fi;;
 
1196
  esac
 
1197
  # Pass precious variables to config.status.
 
1198
  if test "$ac_new_set" = set; then
 
1199
    case $ac_new_val in
 
1200
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1201
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1202
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1203
    esac
 
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'" ;;
 
1207
    esac
 
1208
  fi
 
1209
done
 
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; }; }
 
1216
fi
 
1217
 
 
1218
ac_ext=c
 
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
 
1223
 
 
1224
 
 
1225
 
 
1226
 
 
1227
 
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
 
 
1233
 
 
1234
 
 
1235
 
 
1236
 
 
1237
 
 
1238
 
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
am__api_version="1.7"
 
1244
ac_aux_dir=
 
1245
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1246
  if test -f $ac_dir/install-sh; then
 
1247
    ac_aux_dir=$ac_dir
 
1248
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1249
    break
 
1250
  elif test -f $ac_dir/install.sh; then
 
1251
    ac_aux_dir=$ac_dir
 
1252
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1253
    break
 
1254
  elif test -f $ac_dir/shtool; then
 
1255
    ac_aux_dir=$ac_dir
 
1256
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1257
    break
 
1258
  fi
 
1259
done
 
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; }; }
 
1264
fi
 
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.
 
1268
 
 
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
 
1275
# AIX /bin/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
 
1286
else
 
1287
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1288
for as_dir in $PATH
 
1289
do
 
1290
  IFS=$as_save_IFS
 
1291
  test -z "$as_dir" && as_dir=.
 
1292
  # Account for people who put trailing slashes in PATH elements.
 
1293
case $as_dir/ in
 
1294
  ./ | .// | /cC/* | \
 
1295
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1296
  /usr/ucb/* ) ;;
 
1297
  *)
 
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
 
1300
    # by default.
 
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.
 
1307
            :
 
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.
 
1311
            :
 
1312
          else
 
1313
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1314
            break 3
 
1315
          fi
 
1316
        fi
 
1317
      done
 
1318
    done
 
1319
    ;;
 
1320
esac
 
1321
done
 
1322
 
 
1323
 
 
1324
fi
 
1325
  if test "${ac_cv_path_install+set}" = set; then
 
1326
    INSTALL=$ac_cv_path_install
 
1327
  else
 
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
 
1333
  fi
 
1334
fi
 
1335
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1336
echo "${ECHO_T}$INSTALL" >&6
 
1337
 
 
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}'
 
1341
 
 
1342
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1343
 
 
1344
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1345
 
 
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
 
1348
# Just in case
 
1349
sleep 1
 
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
 
1355
# directory).
 
1356
if (
 
1357
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1358
   if test "$*" = "X"; then
 
1359
      # -L didn't work.
 
1360
      set X `ls -t $srcdir/configure conftest.file`
 
1361
   fi
 
1362
   rm -f conftest.file
 
1363
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1364
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1365
 
 
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; }; }
 
1375
   fi
 
1376
 
 
1377
   test "$2" = conftest.file
 
1378
   )
 
1379
then
 
1380
   # Ok.
 
1381
   :
 
1382
else
 
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; }; }
 
1388
fi
 
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,$//
 
1400
_ACEOF
 
1401
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1402
rm conftest.sed
 
1403
 
 
1404
 
 
1405
# expand $ac_aux_dir to an absolute path
 
1406
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1407
 
 
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 "
 
1412
else
 
1413
  am_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;}
 
1416
fi
 
1417
 
 
1418
for ac_prog in gawk mawk nawk awk
 
1419
do
 
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
 
1426
else
 
1427
  if test -n "$AWK"; then
 
1428
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1429
else
 
1430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1431
for as_dir in $PATH
 
1432
do
 
1433
  IFS=$as_save_IFS
 
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
 
1439
    break 2
 
1440
  fi
 
1441
done
 
1442
done
 
1443
 
 
1444
fi
 
1445
fi
 
1446
AWK=$ac_cv_prog_AWK
 
1447
if test -n "$AWK"; then
 
1448
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1449
echo "${ECHO_T}$AWK" >&6
 
1450
else
 
1451
  echo "$as_me:$LINENO: result: no" >&5
 
1452
echo "${ECHO_T}no" >&6
 
1453
fi
 
1454
 
 
1455
  test -n "$AWK" && break
 
1456
done
 
1457
 
 
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
 
1463
else
 
1464
  cat >conftest.make <<\_ACEOF
 
1465
all:
 
1466
        @echo 'ac_maketemp="$(MAKE)"'
 
1467
_ACEOF
 
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
 
1472
else
 
1473
  eval ac_cv_prog_make_${ac_make}_set=no
 
1474
fi
 
1475
rm -f conftest.make
 
1476
fi
 
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
 
1480
  SET_MAKE=
 
1481
else
 
1482
  echo "$as_me:$LINENO: result: no" >&5
 
1483
echo "${ECHO_T}no" >&6
 
1484
  SET_MAKE="MAKE=${MAKE-make}"
 
1485
fi
 
1486
 
 
1487
rm -rf .tst 2>/dev/null
 
1488
mkdir .tst 2>/dev/null
 
1489
if test -d .tst; then
 
1490
  am__leading_dot=.
 
1491
else
 
1492
  am__leading_dot=_
 
1493
fi
 
1494
rmdir .tst 2>/dev/null
 
1495
 
 
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; }; }
 
1502
fi
 
1503
 
 
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'
 
1508
  else
 
1509
    CYGPATH_W=echo
 
1510
  fi
 
1511
fi
 
1512
 
 
1513
 
 
1514
# Define the identity of the package.
 
1515
 PACKAGE=dejagnu
 
1516
 VERSION=1.4.4
 
1517
 
 
1518
 
 
1519
cat >>confdefs.h <<_ACEOF
 
1520
#define PACKAGE "$PACKAGE"
 
1521
_ACEOF
 
1522
 
 
1523
 
 
1524
cat >>confdefs.h <<_ACEOF
 
1525
#define VERSION "$VERSION"
 
1526
_ACEOF
 
1527
 
 
1528
# Some tools Automake needs.
 
1529
 
 
1530
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1531
 
 
1532
 
 
1533
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1534
 
 
1535
 
 
1536
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1537
 
 
1538
 
 
1539
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1540
 
 
1541
 
 
1542
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1543
 
 
1544
 
 
1545
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1546
 
 
1547
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1548
 
 
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
 
1561
else
 
1562
  if test -n "$STRIP"; then
 
1563
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1564
else
 
1565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1566
for as_dir in $PATH
 
1567
do
 
1568
  IFS=$as_save_IFS
 
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
 
1574
    break 2
 
1575
  fi
 
1576
done
 
1577
done
 
1578
 
 
1579
fi
 
1580
fi
 
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
 
1585
else
 
1586
  echo "$as_me:$LINENO: result: no" >&5
 
1587
echo "${ECHO_T}no" >&6
 
1588
fi
 
1589
 
 
1590
fi
 
1591
if test -z "$ac_cv_prog_STRIP"; then
 
1592
  ac_ct_STRIP=$STRIP
 
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
 
1599
else
 
1600
  if test -n "$ac_ct_STRIP"; then
 
1601
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1602
else
 
1603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1604
for as_dir in $PATH
 
1605
do
 
1606
  IFS=$as_save_IFS
 
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
 
1612
    break 2
 
1613
  fi
 
1614
done
 
1615
done
 
1616
 
 
1617
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1618
fi
 
1619
fi
 
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
 
1624
else
 
1625
  echo "$as_me:$LINENO: result: no" >&5
 
1626
echo "${ECHO_T}no" >&6
 
1627
fi
 
1628
 
 
1629
  STRIP=$ac_ct_STRIP
 
1630
else
 
1631
  STRIP="$ac_cv_prog_STRIP"
 
1632
fi
 
1633
 
 
1634
fi
 
1635
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1636
 
 
1637
# We need awk for the "check" target.  The system "awk" is bad on
 
1638
# some platforms.
 
1639
 
 
1640
 
 
1641
 
 
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
 
1648
else
 
1649
  USE_MAINTAINER_MODE=no
 
1650
fi;
 
1651
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
1652
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
1653
 
 
1654
 
 
1655
if test $USE_MAINTAINER_MODE = yes; then
 
1656
  MAINTAINER_MODE_TRUE=
 
1657
  MAINTAINER_MODE_FALSE='#'
 
1658
else
 
1659
  MAINTAINER_MODE_TRUE='#'
 
1660
  MAINTAINER_MODE_FALSE=
 
1661
fi
 
1662
 
 
1663
  MAINT=$MAINTAINER_MODE_TRUE
 
1664
 
 
1665
 
 
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
 
1671
else
 
1672
  cat >conftest.make <<\_ACEOF
 
1673
all:
 
1674
        @echo 'ac_maketemp="$(MAKE)"'
 
1675
_ACEOF
 
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
 
1680
else
 
1681
  eval ac_cv_prog_make_${ac_make}_set=no
 
1682
fi
 
1683
rm -f conftest.make
 
1684
fi
 
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
 
1688
  SET_MAKE=
 
1689
else
 
1690
  echo "$as_me:$LINENO: result: no" >&5
 
1691
echo "${ECHO_T}no" >&6
 
1692
  SET_MAKE="MAKE=${MAKE-make}"
 
1693
fi
 
1694
 
 
1695
 
 
1696
ac_ext=c
 
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
 
1708
else
 
1709
  if test -n "$CC"; then
 
1710
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1711
else
 
1712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1713
for as_dir in $PATH
 
1714
do
 
1715
  IFS=$as_save_IFS
 
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
 
1721
    break 2
 
1722
  fi
 
1723
done
 
1724
done
 
1725
 
 
1726
fi
 
1727
fi
 
1728
CC=$ac_cv_prog_CC
 
1729
if test -n "$CC"; then
 
1730
  echo "$as_me:$LINENO: result: $CC" >&5
 
1731
echo "${ECHO_T}$CC" >&6
 
1732
else
 
1733
  echo "$as_me:$LINENO: result: no" >&5
 
1734
echo "${ECHO_T}no" >&6
 
1735
fi
 
1736
 
 
1737
fi
 
1738
if test -z "$ac_cv_prog_CC"; then
 
1739
  ac_ct_CC=$CC
 
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
 
1746
else
 
1747
  if test -n "$ac_ct_CC"; then
 
1748
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1749
else
 
1750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1751
for as_dir in $PATH
 
1752
do
 
1753
  IFS=$as_save_IFS
 
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
 
1759
    break 2
 
1760
  fi
 
1761
done
 
1762
done
 
1763
 
 
1764
fi
 
1765
fi
 
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
 
1770
else
 
1771
  echo "$as_me:$LINENO: result: no" >&5
 
1772
echo "${ECHO_T}no" >&6
 
1773
fi
 
1774
 
 
1775
  CC=$ac_ct_CC
 
1776
else
 
1777
  CC="$ac_cv_prog_CC"
 
1778
fi
 
1779
 
 
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
 
1788
else
 
1789
  if test -n "$CC"; then
 
1790
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1791
else
 
1792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1793
for as_dir in $PATH
 
1794
do
 
1795
  IFS=$as_save_IFS
 
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
 
1801
    break 2
 
1802
  fi
 
1803
done
 
1804
done
 
1805
 
 
1806
fi
 
1807
fi
 
1808
CC=$ac_cv_prog_CC
 
1809
if test -n "$CC"; then
 
1810
  echo "$as_me:$LINENO: result: $CC" >&5
 
1811
echo "${ECHO_T}$CC" >&6
 
1812
else
 
1813
  echo "$as_me:$LINENO: result: no" >&5
 
1814
echo "${ECHO_T}no" >&6
 
1815
fi
 
1816
 
 
1817
fi
 
1818
if test -z "$ac_cv_prog_CC"; then
 
1819
  ac_ct_CC=$CC
 
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
 
1826
else
 
1827
  if test -n "$ac_ct_CC"; then
 
1828
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1829
else
 
1830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1831
for as_dir in $PATH
 
1832
do
 
1833
  IFS=$as_save_IFS
 
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
 
1839
    break 2
 
1840
  fi
 
1841
done
 
1842
done
 
1843
 
 
1844
fi
 
1845
fi
 
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
 
1850
else
 
1851
  echo "$as_me:$LINENO: result: no" >&5
 
1852
echo "${ECHO_T}no" >&6
 
1853
fi
 
1854
 
 
1855
  CC=$ac_ct_CC
 
1856
else
 
1857
  CC="$ac_cv_prog_CC"
 
1858
fi
 
1859
 
 
1860
fi
 
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
 
1868
else
 
1869
  if test -n "$CC"; then
 
1870
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1871
else
 
1872
  ac_prog_rejected=no
 
1873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1874
for as_dir in $PATH
 
1875
do
 
1876
  IFS=$as_save_IFS
 
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
 
1882
       continue
 
1883
     fi
 
1884
    ac_cv_prog_CC="cc"
 
1885
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1886
    break 2
 
1887
  fi
 
1888
done
 
1889
done
 
1890
 
 
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
 
1894
  shift
 
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.
 
1899
    shift
 
1900
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
1901
  fi
 
1902
fi
 
1903
fi
 
1904
fi
 
1905
CC=$ac_cv_prog_CC
 
1906
if test -n "$CC"; then
 
1907
  echo "$as_me:$LINENO: result: $CC" >&5
 
1908
echo "${ECHO_T}$CC" >&6
 
1909
else
 
1910
  echo "$as_me:$LINENO: result: no" >&5
 
1911
echo "${ECHO_T}no" >&6
 
1912
fi
 
1913
 
 
1914
fi
 
1915
if test -z "$CC"; then
 
1916
  if test -n "$ac_tool_prefix"; then
 
1917
  for ac_prog in cl
 
1918
  do
 
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
 
1925
else
 
1926
  if test -n "$CC"; then
 
1927
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1928
else
 
1929
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1930
for as_dir in $PATH
 
1931
do
 
1932
  IFS=$as_save_IFS
 
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
 
1938
    break 2
 
1939
  fi
 
1940
done
 
1941
done
 
1942
 
 
1943
fi
 
1944
fi
 
1945
CC=$ac_cv_prog_CC
 
1946
if test -n "$CC"; then
 
1947
  echo "$as_me:$LINENO: result: $CC" >&5
 
1948
echo "${ECHO_T}$CC" >&6
 
1949
else
 
1950
  echo "$as_me:$LINENO: result: no" >&5
 
1951
echo "${ECHO_T}no" >&6
 
1952
fi
 
1953
 
 
1954
    test -n "$CC" && break
 
1955
  done
 
1956
fi
 
1957
if test -z "$CC"; then
 
1958
  ac_ct_CC=$CC
 
1959
  for ac_prog in cl
 
1960
do
 
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
 
1967
else
 
1968
  if test -n "$ac_ct_CC"; then
 
1969
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1970
else
 
1971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1972
for as_dir in $PATH
 
1973
do
 
1974
  IFS=$as_save_IFS
 
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
 
1980
    break 2
 
1981
  fi
 
1982
done
 
1983
done
 
1984
 
 
1985
fi
 
1986
fi
 
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
 
1991
else
 
1992
  echo "$as_me:$LINENO: result: no" >&5
 
1993
echo "${ECHO_T}no" >&6
 
1994
fi
 
1995
 
 
1996
  test -n "$ac_ct_CC" && break
 
1997
done
 
1998
 
 
1999
  CC=$ac_ct_CC
 
2000
fi
 
2001
 
 
2002
fi
 
2003
 
 
2004
 
 
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; }; }
 
2010
 
 
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
 
2017
  ac_status=$?
 
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
 
2022
  ac_status=$?
 
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
 
2027
  ac_status=$?
 
2028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2029
  (exit $ac_status); }
 
2030
 
 
2031
cat >conftest.$ac_ext <<_ACEOF
 
2032
#line $LINENO "configure"
 
2033
/* confdefs.h.  */
 
2034
_ACEOF
 
2035
cat confdefs.h >>conftest.$ac_ext
 
2036
cat >>conftest.$ac_ext <<_ACEOF
 
2037
/* end confdefs.h.  */
 
2038
 
 
2039
int
 
2040
main ()
 
2041
{
 
2042
 
 
2043
  ;
 
2044
  return 0;
 
2045
}
 
2046
_ACEOF
 
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
 
2051
# of exeext.
 
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
 
2057
  ac_status=$?
 
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
 
2062
# resort.
 
2063
 
 
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.
 
2066
ac_cv_exeext=
 
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
 
2069
do
 
2070
  test -f "$ac_file" || continue
 
2071
  case $ac_file in
 
2072
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2073
        ;;
 
2074
    conftest.$ac_ext )
 
2075
        # This is the source file.
 
2076
        ;;
 
2077
    [ab].out )
 
2078
        # We found the default executable, but exeext='' is most
 
2079
        # certainly right.
 
2080
        break;;
 
2081
    *.* )
 
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.
 
2086
        export ac_cv_exeext
 
2087
        break;;
 
2088
    * )
 
2089
        break;;
 
2090
  esac
 
2091
done
 
2092
else
 
2093
  echo "$as_me: failed program was:" >&5
 
2094
sed 's/^/| /' conftest.$ac_ext >&5
 
2095
 
 
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; }; }
 
2101
fi
 
2102
 
 
2103
ac_exeext=$ac_cv_exeext
 
2104
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2105
echo "${ECHO_T}$ac_file" >&6
 
2106
 
 
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
 
2116
  (eval $ac_try) 2>&5
 
2117
  ac_status=$?
 
2118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2119
  (exit $ac_status); }; }; then
 
2120
    cross_compiling=no
 
2121
  else
 
2122
    if test "$cross_compiling" = maybe; then
 
2123
        cross_compiling=yes
 
2124
    else
 
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; }; }
 
2132
    fi
 
2133
  fi
 
2134
fi
 
2135
echo "$as_me:$LINENO: result: yes" >&5
 
2136
echo "${ECHO_T}yes" >&6
 
2137
 
 
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
 
2146
 
 
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
 
2151
  ac_status=$?
 
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
 
2157
# `rm'.
 
2158
for ac_file in conftest.exe conftest conftest.*; do
 
2159
  test -f "$ac_file" || continue
 
2160
  case $ac_file in
 
2161
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2162
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2163
          export ac_cv_exeext
 
2164
          break;;
 
2165
    * ) break;;
 
2166
  esac
 
2167
done
 
2168
else
 
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; }; }
 
2174
fi
 
2175
 
 
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
 
2179
 
 
2180
rm -f conftest.$ac_ext
 
2181
EXEEXT=$ac_cv_exeext
 
2182
ac_exeext=$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
 
2187
else
 
2188
  cat >conftest.$ac_ext <<_ACEOF
 
2189
#line $LINENO "configure"
 
2190
/* confdefs.h.  */
 
2191
_ACEOF
 
2192
cat confdefs.h >>conftest.$ac_ext
 
2193
cat >>conftest.$ac_ext <<_ACEOF
 
2194
/* end confdefs.h.  */
 
2195
 
 
2196
int
 
2197
main ()
 
2198
{
 
2199
 
 
2200
  ;
 
2201
  return 0;
 
2202
}
 
2203
_ACEOF
 
2204
rm -f conftest.o conftest.obj
 
2205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2206
  (eval $ac_compile) 2>&5
 
2207
  ac_status=$?
 
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
 
2211
  case $ac_file in
 
2212
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2213
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2214
       break;;
 
2215
  esac
 
2216
done
 
2217
else
 
2218
  echo "$as_me: failed program was:" >&5
 
2219
sed 's/^/| /' conftest.$ac_ext >&5
 
2220
 
 
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; }; }
 
2226
fi
 
2227
 
 
2228
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2229
fi
 
2230
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2231
echo "${ECHO_T}$ac_cv_objext" >&6
 
2232
OBJEXT=$ac_cv_objext
 
2233
ac_objext=$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
 
2238
else
 
2239
  cat >conftest.$ac_ext <<_ACEOF
 
2240
#line $LINENO "configure"
 
2241
/* confdefs.h.  */
 
2242
_ACEOF
 
2243
cat confdefs.h >>conftest.$ac_ext
 
2244
cat >>conftest.$ac_ext <<_ACEOF
 
2245
/* end confdefs.h.  */
 
2246
 
 
2247
int
 
2248
main ()
 
2249
{
 
2250
#ifndef __GNUC__
 
2251
       choke me
 
2252
#endif
 
2253
 
 
2254
  ;
 
2255
  return 0;
 
2256
}
 
2257
_ACEOF
 
2258
rm -f conftest.$ac_objext
 
2259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2260
  (eval $ac_compile) 2>&5
 
2261
  ac_status=$?
 
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
 
2266
  (eval $ac_try) 2>&5
 
2267
  ac_status=$?
 
2268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2269
  (exit $ac_status); }; }; then
 
2270
  ac_compiler_gnu=yes
 
2271
else
 
2272
  echo "$as_me: failed program was:" >&5
 
2273
sed 's/^/| /' conftest.$ac_ext >&5
 
2274
 
 
2275
ac_compiler_gnu=no
 
2276
fi
 
2277
rm -f conftest.$ac_objext conftest.$ac_ext
 
2278
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2279
 
 
2280
fi
 
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
 
2286
CFLAGS="-g"
 
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
 
2291
else
 
2292
  cat >conftest.$ac_ext <<_ACEOF
 
2293
#line $LINENO "configure"
 
2294
/* confdefs.h.  */
 
2295
_ACEOF
 
2296
cat confdefs.h >>conftest.$ac_ext
 
2297
cat >>conftest.$ac_ext <<_ACEOF
 
2298
/* end confdefs.h.  */
 
2299
 
 
2300
int
 
2301
main ()
 
2302
{
 
2303
 
 
2304
  ;
 
2305
  return 0;
 
2306
}
 
2307
_ACEOF
 
2308
rm -f conftest.$ac_objext
 
2309
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2310
  (eval $ac_compile) 2>&5
 
2311
  ac_status=$?
 
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
 
2316
  (eval $ac_try) 2>&5
 
2317
  ac_status=$?
 
2318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2319
  (exit $ac_status); }; }; then
 
2320
  ac_cv_prog_cc_g=yes
 
2321
else
 
2322
  echo "$as_me: failed program was:" >&5
 
2323
sed 's/^/| /' conftest.$ac_ext >&5
 
2324
 
 
2325
ac_cv_prog_cc_g=no
 
2326
fi
 
2327
rm -f conftest.$ac_objext conftest.$ac_ext
 
2328
fi
 
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
 
2335
    CFLAGS="-g -O2"
 
2336
  else
 
2337
    CFLAGS="-g"
 
2338
  fi
 
2339
else
 
2340
  if test "$GCC" = yes; then
 
2341
    CFLAGS="-O2"
 
2342
  else
 
2343
    CFLAGS=
 
2344
  fi
 
2345
fi
 
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
 
2350
else
 
2351
  ac_cv_prog_cc_stdc=no
 
2352
ac_save_CC=$CC
 
2353
cat >conftest.$ac_ext <<_ACEOF
 
2354
#line $LINENO "configure"
 
2355
/* confdefs.h.  */
 
2356
_ACEOF
 
2357
cat confdefs.h >>conftest.$ac_ext
 
2358
cat >>conftest.$ac_ext <<_ACEOF
 
2359
/* end confdefs.h.  */
 
2360
#include <stdarg.h>
 
2361
#include <stdio.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)
 
2368
     char **p;
 
2369
     int i;
 
2370
{
 
2371
  return p[i];
 
2372
}
 
2373
static char *f (char * (*g) (char **, int), char **p, ...)
 
2374
{
 
2375
  char *s;
 
2376
  va_list v;
 
2377
  va_start (v,p);
 
2378
  s = g (p, va_arg (v,int));
 
2379
  va_end (v);
 
2380
  return s;
 
2381
}
 
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);
 
2386
int argc;
 
2387
char **argv;
 
2388
int
 
2389
main ()
 
2390
{
 
2391
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2392
  ;
 
2393
  return 0;
 
2394
}
 
2395
_ACEOF
 
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__"
 
2404
do
 
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
 
2409
  ac_status=$?
 
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
 
2414
  (eval $ac_try) 2>&5
 
2415
  ac_status=$?
 
2416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2417
  (exit $ac_status); }; }; then
 
2418
  ac_cv_prog_cc_stdc=$ac_arg
 
2419
break
 
2420
else
 
2421
  echo "$as_me: failed program was:" >&5
 
2422
sed 's/^/| /' conftest.$ac_ext >&5
 
2423
 
 
2424
fi
 
2425
rm -f conftest.$ac_objext
 
2426
done
 
2427
rm -f conftest.$ac_ext conftest.$ac_objext
 
2428
CC=$ac_save_CC
 
2429
 
 
2430
fi
 
2431
 
 
2432
case "x$ac_cv_prog_cc_stdc" in
 
2433
  x|xno)
 
2434
    echo "$as_me:$LINENO: result: none needed" >&5
 
2435
echo "${ECHO_T}none needed" >&6 ;;
 
2436
  *)
 
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" ;;
 
2440
esac
 
2441
 
 
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
 
2447
#ifndef __cplusplus
 
2448
  choke me
 
2449
#endif
 
2450
_ACEOF
 
2451
rm -f conftest.$ac_objext
 
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2453
  (eval $ac_compile) 2>&5
 
2454
  ac_status=$?
 
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
 
2459
  (eval $ac_try) 2>&5
 
2460
  ac_status=$?
 
2461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2462
  (exit $ac_status); }; }; then
 
2463
  for ac_declaration in \
 
2464
   ''\
 
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);' \
 
2470
   'void exit (int);'
 
2471
do
 
2472
  cat >conftest.$ac_ext <<_ACEOF
 
2473
#line $LINENO "configure"
 
2474
/* confdefs.h.  */
 
2475
_ACEOF
 
2476
cat confdefs.h >>conftest.$ac_ext
 
2477
cat >>conftest.$ac_ext <<_ACEOF
 
2478
/* end confdefs.h.  */
 
2479
#include <stdlib.h>
 
2480
$ac_declaration
 
2481
int
 
2482
main ()
 
2483
{
 
2484
exit (42);
 
2485
  ;
 
2486
  return 0;
 
2487
}
 
2488
_ACEOF
 
2489
rm -f conftest.$ac_objext
 
2490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2491
  (eval $ac_compile) 2>&5
 
2492
  ac_status=$?
 
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
 
2497
  (eval $ac_try) 2>&5
 
2498
  ac_status=$?
 
2499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2500
  (exit $ac_status); }; }; then
 
2501
  :
 
2502
else
 
2503
  echo "$as_me: failed program was:" >&5
 
2504
sed 's/^/| /' conftest.$ac_ext >&5
 
2505
 
 
2506
continue
 
2507
fi
 
2508
rm -f conftest.$ac_objext conftest.$ac_ext
 
2509
  cat >conftest.$ac_ext <<_ACEOF
 
2510
#line $LINENO "configure"
 
2511
/* confdefs.h.  */
 
2512
_ACEOF
 
2513
cat confdefs.h >>conftest.$ac_ext
 
2514
cat >>conftest.$ac_ext <<_ACEOF
 
2515
/* end confdefs.h.  */
 
2516
$ac_declaration
 
2517
int
 
2518
main ()
 
2519
{
 
2520
exit (42);
 
2521
  ;
 
2522
  return 0;
 
2523
}
 
2524
_ACEOF
 
2525
rm -f conftest.$ac_objext
 
2526
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2527
  (eval $ac_compile) 2>&5
 
2528
  ac_status=$?
 
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
 
2533
  (eval $ac_try) 2>&5
 
2534
  ac_status=$?
 
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2536
  (exit $ac_status); }; }; then
 
2537
  break
 
2538
else
 
2539
  echo "$as_me: failed program was:" >&5
 
2540
sed 's/^/| /' conftest.$ac_ext >&5
 
2541
 
 
2542
fi
 
2543
rm -f conftest.$ac_objext conftest.$ac_ext
 
2544
done
 
2545
rm -f conftest*
 
2546
if test -n "$ac_declaration"; then
 
2547
  echo '#ifdef __cplusplus' >>confdefs.h
 
2548
  echo $ac_declaration      >>confdefs.h
 
2549
  echo '#endif'             >>confdefs.h
 
2550
fi
 
2551
 
 
2552
else
 
2553
  echo "$as_me: failed program was:" >&5
 
2554
sed 's/^/| /' conftest.$ac_ext >&5
 
2555
 
 
2556
fi
 
2557
rm -f conftest.$ac_objext conftest.$ac_ext
 
2558
ac_ext=c
 
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"
 
2564
 
 
2565
          ac_config_commands="$ac_config_commands depfiles"
 
2566
 
 
2567
 
 
2568
am_make=${MAKE-make}
 
2569
cat > confinc << 'END'
 
2570
am__doit:
 
2571
        @echo done
 
2572
.PHONY: am__doit
 
2573
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
 
2577
am__include="#"
 
2578
am__quote=
 
2579
_am_result=none
 
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
 
2588
   am__include=include
 
2589
   am__quote=
 
2590
   _am_result=GNU
 
2591
fi
 
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
 
2597
      am__quote="\""
 
2598
      _am_result=BSD
 
2599
   fi
 
2600
fi
 
2601
 
 
2602
 
 
2603
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2604
echo "${ECHO_T}$_am_result" >&6
 
2605
rm -f confinc confmf
 
2606
 
 
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"
 
2610
 
 
2611
fi;
 
2612
if test "x$enable_dependency_tracking" != xno; then
 
2613
  am_depcomp="$ac_aux_dir/depcomp"
 
2614
  AMDEPBACKSLASH='\'
 
2615
fi
 
2616
 
 
2617
 
 
2618
if test "x$enable_dependency_tracking" != xno; then
 
2619
  AMDEP_TRUE=
 
2620
  AMDEP_FALSE='#'
 
2621
else
 
2622
  AMDEP_TRUE='#'
 
2623
  AMDEP_FALSE=
 
2624
fi
 
2625
 
 
2626
 
 
2627
 
 
2628
 
 
2629
depcc="$CC"   am_compiler_list=
 
2630
 
 
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
 
2635
else
 
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
 
2641
  # in D'.
 
2642
  mkdir conftest.dir
 
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
 
2646
  cd 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
 
2652
  # directory.
 
2653
  mkdir sub
 
2654
 
 
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`
 
2658
  fi
 
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.
 
2663
    #
 
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.
 
2667
    : > sub/conftest.c
 
2668
    for i in 1 2 3 4 5 6; do
 
2669
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
2670
      : > sub/conftst$i.h
 
2671
    done
 
2672
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
2673
 
 
2674
    case $depmode in
 
2675
    nosideeffect)
 
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
 
2679
        continue
 
2680
      else
 
2681
        break
 
2682
      fi
 
2683
      ;;
 
2684
    none) break ;;
 
2685
    esac
 
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
 
2702
        break
 
2703
      fi
 
2704
    fi
 
2705
  done
 
2706
 
 
2707
  cd ..
 
2708
  rm -rf conftest.dir
 
2709
else
 
2710
  am_cv_CC_dependencies_compiler_type=none
 
2711
fi
 
2712
 
 
2713
fi
 
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
 
2717
 
 
2718
 
 
2719
 
 
2720
if
 
2721
  test "x$enable_dependency_tracking" != xno \
 
2722
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2723
  am__fastdepCC_TRUE=
 
2724
  am__fastdepCC_FALSE='#'
 
2725
else
 
2726
  am__fastdepCC_TRUE='#'
 
2727
  am__fastdepCC_FALSE=
 
2728
fi
 
2729
 
 
2730
 
 
2731
 
 
2732
ac_ext=cc
 
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
 
2739
  do
 
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
 
2746
else
 
2747
  if test -n "$CXX"; then
 
2748
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
2749
else
 
2750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2751
for as_dir in $PATH
 
2752
do
 
2753
  IFS=$as_save_IFS
 
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
 
2759
    break 2
 
2760
  fi
 
2761
done
 
2762
done
 
2763
 
 
2764
fi
 
2765
fi
 
2766
CXX=$ac_cv_prog_CXX
 
2767
if test -n "$CXX"; then
 
2768
  echo "$as_me:$LINENO: result: $CXX" >&5
 
2769
echo "${ECHO_T}$CXX" >&6
 
2770
else
 
2771
  echo "$as_me:$LINENO: result: no" >&5
 
2772
echo "${ECHO_T}no" >&6
 
2773
fi
 
2774
 
 
2775
    test -n "$CXX" && break
 
2776
  done
 
2777
fi
 
2778
if test -z "$CXX"; then
 
2779
  ac_ct_CXX=$CXX
 
2780
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
2781
do
 
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
 
2788
else
 
2789
  if test -n "$ac_ct_CXX"; then
 
2790
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
2791
else
 
2792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2793
for as_dir in $PATH
 
2794
do
 
2795
  IFS=$as_save_IFS
 
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
 
2801
    break 2
 
2802
  fi
 
2803
done
 
2804
done
 
2805
 
 
2806
fi
 
2807
fi
 
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
 
2812
else
 
2813
  echo "$as_me:$LINENO: result: no" >&5
 
2814
echo "${ECHO_T}no" >&6
 
2815
fi
 
2816
 
 
2817
  test -n "$ac_ct_CXX" && break
 
2818
done
 
2819
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 
2820
 
 
2821
  CXX=$ac_ct_CXX
 
2822
fi
 
2823
 
 
2824
 
 
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
 
2831
  ac_status=$?
 
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
 
2836
  ac_status=$?
 
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
 
2841
  ac_status=$?
 
2842
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2843
  (exit $ac_status); }
 
2844
 
 
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
 
2849
else
 
2850
  cat >conftest.$ac_ext <<_ACEOF
 
2851
#line $LINENO "configure"
 
2852
/* confdefs.h.  */
 
2853
_ACEOF
 
2854
cat confdefs.h >>conftest.$ac_ext
 
2855
cat >>conftest.$ac_ext <<_ACEOF
 
2856
/* end confdefs.h.  */
 
2857
 
 
2858
int
 
2859
main ()
 
2860
{
 
2861
#ifndef __GNUC__
 
2862
       choke me
 
2863
#endif
 
2864
 
 
2865
  ;
 
2866
  return 0;
 
2867
}
 
2868
_ACEOF
 
2869
rm -f conftest.$ac_objext
 
2870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2871
  (eval $ac_compile) 2>&5
 
2872
  ac_status=$?
 
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
 
2877
  (eval $ac_try) 2>&5
 
2878
  ac_status=$?
 
2879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2880
  (exit $ac_status); }; }; then
 
2881
  ac_compiler_gnu=yes
 
2882
else
 
2883
  echo "$as_me: failed program was:" >&5
 
2884
sed 's/^/| /' conftest.$ac_ext >&5
 
2885
 
 
2886
ac_compiler_gnu=no
 
2887
fi
 
2888
rm -f conftest.$ac_objext conftest.$ac_ext
 
2889
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
2890
 
 
2891
fi
 
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
 
2897
CXXFLAGS="-g"
 
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
 
2902
else
 
2903
  cat >conftest.$ac_ext <<_ACEOF
 
2904
#line $LINENO "configure"
 
2905
/* confdefs.h.  */
 
2906
_ACEOF
 
2907
cat confdefs.h >>conftest.$ac_ext
 
2908
cat >>conftest.$ac_ext <<_ACEOF
 
2909
/* end confdefs.h.  */
 
2910
 
 
2911
int
 
2912
main ()
 
2913
{
 
2914
 
 
2915
  ;
 
2916
  return 0;
 
2917
}
 
2918
_ACEOF
 
2919
rm -f conftest.$ac_objext
 
2920
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2921
  (eval $ac_compile) 2>&5
 
2922
  ac_status=$?
 
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
 
2927
  (eval $ac_try) 2>&5
 
2928
  ac_status=$?
 
2929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2930
  (exit $ac_status); }; }; then
 
2931
  ac_cv_prog_cxx_g=yes
 
2932
else
 
2933
  echo "$as_me: failed program was:" >&5
 
2934
sed 's/^/| /' conftest.$ac_ext >&5
 
2935
 
 
2936
ac_cv_prog_cxx_g=no
 
2937
fi
 
2938
rm -f conftest.$ac_objext conftest.$ac_ext
 
2939
fi
 
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
 
2946
    CXXFLAGS="-g -O2"
 
2947
  else
 
2948
    CXXFLAGS="-g"
 
2949
  fi
 
2950
else
 
2951
  if test "$GXX" = yes; then
 
2952
    CXXFLAGS="-O2"
 
2953
  else
 
2954
    CXXFLAGS=
 
2955
  fi
 
2956
fi
 
2957
for ac_declaration in \
 
2958
   ''\
 
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);' \
 
2964
   'void exit (int);'
 
2965
do
 
2966
  cat >conftest.$ac_ext <<_ACEOF
 
2967
#line $LINENO "configure"
 
2968
/* confdefs.h.  */
 
2969
_ACEOF
 
2970
cat confdefs.h >>conftest.$ac_ext
 
2971
cat >>conftest.$ac_ext <<_ACEOF
 
2972
/* end confdefs.h.  */
 
2973
#include <stdlib.h>
 
2974
$ac_declaration
 
2975
int
 
2976
main ()
 
2977
{
 
2978
exit (42);
 
2979
  ;
 
2980
  return 0;
 
2981
}
 
2982
_ACEOF
 
2983
rm -f conftest.$ac_objext
 
2984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2985
  (eval $ac_compile) 2>&5
 
2986
  ac_status=$?
 
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
 
2991
  (eval $ac_try) 2>&5
 
2992
  ac_status=$?
 
2993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2994
  (exit $ac_status); }; }; then
 
2995
  :
 
2996
else
 
2997
  echo "$as_me: failed program was:" >&5
 
2998
sed 's/^/| /' conftest.$ac_ext >&5
 
2999
 
 
3000
continue
 
3001
fi
 
3002
rm -f conftest.$ac_objext conftest.$ac_ext
 
3003
  cat >conftest.$ac_ext <<_ACEOF
 
3004
#line $LINENO "configure"
 
3005
/* confdefs.h.  */
 
3006
_ACEOF
 
3007
cat confdefs.h >>conftest.$ac_ext
 
3008
cat >>conftest.$ac_ext <<_ACEOF
 
3009
/* end confdefs.h.  */
 
3010
$ac_declaration
 
3011
int
 
3012
main ()
 
3013
{
 
3014
exit (42);
 
3015
  ;
 
3016
  return 0;
 
3017
}
 
3018
_ACEOF
 
3019
rm -f conftest.$ac_objext
 
3020
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3021
  (eval $ac_compile) 2>&5
 
3022
  ac_status=$?
 
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
 
3027
  (eval $ac_try) 2>&5
 
3028
  ac_status=$?
 
3029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3030
  (exit $ac_status); }; }; then
 
3031
  break
 
3032
else
 
3033
  echo "$as_me: failed program was:" >&5
 
3034
sed 's/^/| /' conftest.$ac_ext >&5
 
3035
 
 
3036
fi
 
3037
rm -f conftest.$ac_objext conftest.$ac_ext
 
3038
done
 
3039
rm -f conftest*
 
3040
if test -n "$ac_declaration"; then
 
3041
  echo '#ifdef __cplusplus' >>confdefs.h
 
3042
  echo $ac_declaration      >>confdefs.h
 
3043
  echo '#endif'             >>confdefs.h
 
3044
fi
 
3045
 
 
3046
ac_ext=c
 
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
 
3051
 
 
3052
depcc="$CXX"  am_compiler_list=
 
3053
 
 
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
 
3058
else
 
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
 
3064
  # in D'.
 
3065
  mkdir conftest.dir
 
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
 
3069
  cd 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
 
3075
  # directory.
 
3076
  mkdir sub
 
3077
 
 
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`
 
3081
  fi
 
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.
 
3086
    #
 
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.
 
3090
    : > sub/conftest.c
 
3091
    for i in 1 2 3 4 5 6; do
 
3092
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3093
      : > sub/conftst$i.h
 
3094
    done
 
3095
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3096
 
 
3097
    case $depmode in
 
3098
    nosideeffect)
 
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
 
3102
        continue
 
3103
      else
 
3104
        break
 
3105
      fi
 
3106
      ;;
 
3107
    none) break ;;
 
3108
    esac
 
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
 
3125
        break
 
3126
      fi
 
3127
    fi
 
3128
  done
 
3129
 
 
3130
  cd ..
 
3131
  rm -rf conftest.dir
 
3132
else
 
3133
  am_cv_CXX_dependencies_compiler_type=none
 
3134
fi
 
3135
 
 
3136
fi
 
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
 
3140
 
 
3141
 
 
3142
 
 
3143
if
 
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='#'
 
3148
else
 
3149
  am__fastdepCXX_TRUE='#'
 
3150
  am__fastdepCXX_FALSE=
 
3151
fi
 
3152
 
 
3153
 
 
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
 
3160
# AIX /bin/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
 
3171
else
 
3172
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3173
for as_dir in $PATH
 
3174
do
 
3175
  IFS=$as_save_IFS
 
3176
  test -z "$as_dir" && as_dir=.
 
3177
  # Account for people who put trailing slashes in PATH elements.
 
3178
case $as_dir/ in
 
3179
  ./ | .// | /cC/* | \
 
3180
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3181
  /usr/ucb/* ) ;;
 
3182
  *)
 
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
 
3185
    # by default.
 
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.
 
3192
            :
 
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.
 
3196
            :
 
3197
          else
 
3198
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3199
            break 3
 
3200
          fi
 
3201
        fi
 
3202
      done
 
3203
    done
 
3204
    ;;
 
3205
esac
 
3206
done
 
3207
 
 
3208
 
 
3209
fi
 
3210
  if test "${ac_cv_path_install+set}" = set; then
 
3211
    INSTALL=$ac_cv_path_install
 
3212
  else
 
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
 
3218
  fi
 
3219
fi
 
3220
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3221
echo "${ECHO_T}$INSTALL" >&6
 
3222
 
 
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}'
 
3226
 
 
3227
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
3228
 
 
3229
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3230
 
 
3231
 
 
3232
 
 
3233
for ac_prog in 'bison -y' byacc
 
3234
do
 
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
 
3241
else
 
3242
  if test -n "$YACC"; then
 
3243
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
 
3244
else
 
3245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3246
for as_dir in $PATH
 
3247
do
 
3248
  IFS=$as_save_IFS
 
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
 
3254
    break 2
 
3255
  fi
 
3256
done
 
3257
done
 
3258
 
 
3259
fi
 
3260
fi
 
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
 
3265
else
 
3266
  echo "$as_me:$LINENO: result: no" >&5
 
3267
echo "${ECHO_T}no" >&6
 
3268
fi
 
3269
 
 
3270
  test -n "$YACC" && break
 
3271
done
 
3272
test -n "$YACC" || YACC="yacc"
 
3273
 
 
3274
 
 
3275
 
 
3276
dirlist=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
 
3277
echo "$as_me:$LINENO: checking for docbook tools" >&5
 
3278
echo $ECHO_N "checking for docbook tools... $ECHO_C" >&6
 
3279
 
 
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}
 
3284
fi;
 
3285
if test "${ac_cv_c_docbook+set}" = set; then
 
3286
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3287
else
 
3288
 
 
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)`
 
3292
  else
 
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; }; }
 
3296
  fi
 
3297
fi
 
3298
 
 
3299
fi
 
3300
 
 
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
 
3304
            ac_cv_c_docbook=$i
 
3305
            break
 
3306
        fi
 
3307
    done
 
3308
fi
 
3309
 
 
3310
if test x"${ac_cv_c_docbook}" = x ; then
 
3311
    echo "$as_me:$LINENO: result: none" >&5
 
3312
echo "${ECHO_T}none" >&6
 
3313
else
 
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
 
3317
fi
 
3318
 
 
3319
 
 
3320
 
 
3321
 
 
3322
 
 
3323
dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
 
3324
../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..
 
3325
/../../../../../.."
 
3326
no_itcl=true
 
3327
echo "$as_me:$LINENO: checking for the tclsh program" >&5
 
3328
echo $ECHO_N "checking for the tclsh program... $ECHO_C" >&6
 
3329
 
 
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}
 
3334
fi;
 
3335
if test "${ac_cv_path_tclsh+set}" = set; then
 
3336
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3337
else
 
3338
 
 
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)`
 
3344
  else
 
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; }; }
 
3348
  fi
 
3349
fi
 
3350
 
 
3351
fi
 
3352
 
 
3353
 
 
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
 
3357
            tclpath=$srcdir/$i
 
3358
            break
 
3359
        fi
 
3360
    done
 
3361
 
 
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
 
3365
          break
 
3366
        fi
 
3367
    done
 
3368
fi
 
3369
 
 
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
 
3379
else
 
3380
  case $tclsh in
 
3381
  [\\/]* | ?:[\\/]*)
 
3382
  ac_cv_path_tclsh="$tclsh" # Let the user override the test with a path.
 
3383
  ;;
 
3384
  *)
 
3385
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3386
for as_dir in $PATH
 
3387
do
 
3388
  IFS=$as_save_IFS
 
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
 
3394
    break 2
 
3395
  fi
 
3396
done
 
3397
done
 
3398
 
 
3399
  ;;
 
3400
esac
 
3401
fi
 
3402
tclsh=$ac_cv_path_tclsh
 
3403
 
 
3404
if test -n "$tclsh"; then
 
3405
  echo "$as_me:$LINENO: result: $tclsh" >&5
 
3406
echo "${ECHO_T}$tclsh" >&6
 
3407
else
 
3408
  echo "$as_me:$LINENO: result: no" >&5
 
3409
echo "${ECHO_T}no" >&6
 
3410
fi
 
3411
 
 
3412
else
 
3413
   echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
 
3414
echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
 
3415
fi
 
3416
TCLSH="${ac_cv_path_tclsh}"
 
3417
 
 
3418
 
 
3419
 
 
3420
BOARDS='$(boards)'
 
3421
 
 
3422
CONFIG='$(config)'
 
3423
 
 
3424
 
 
3425
 
 
3426
 
 
3427
subdirs="$subdirs example/calc example/hello"
 
3428
 
 
3429
 
 
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.
 
3437
#
 
3438
# config.status only pays attention to the cache file if you give it
 
3439
# the --recheck option to rerun configure.
 
3440
#
 
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
 
3443
# following values.
 
3444
 
 
3445
_ACEOF
 
3446
 
 
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.
 
3452
{
 
3453
  (set) 2>&1 |
 
3454
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
3455
    *ac_space=\ *)
 
3456
      # `set' does not quote correctly, so add quotes (double-quote
 
3457
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
3458
      sed -n \
 
3459
        "s/'/'\\\\''/g;
 
3460
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3461
      ;;
 
3462
    *)
 
3463
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
3464
      sed -n \
 
3465
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3466
      ;;
 
3467
    esac;
 
3468
} |
 
3469
  sed '
 
3470
     t clear
 
3471
     : clear
 
3472
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
3473
     t end
 
3474
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3475
     : end' >>confcache
 
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
 
3480
  else
 
3481
    echo "not updating unwritable cache $cache_file"
 
3482
  fi
 
3483
fi
 
3484
rm -f confcache
 
3485
 
 
3486
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
3487
# Let make expand exec_prefix.
 
3488
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
3489
 
 
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}:*/:/;
 
3498
s/:*@srcdir@:*/:/;
 
3499
s/^\([^=]*=[    ]*\):*/\1/;
 
3500
s/:*$//;
 
3501
s/^[^=]*=[      ]*$//;
 
3502
}'
 
3503
fi
 
3504
 
 
3505
# Transform confdefs.h into DEFS.
 
3506
# Protect against shell expansion while executing Makefile rules.
 
3507
# Protect against Makefile macro expansion.
 
3508
#
 
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
 
3513
t clear
 
3514
: clear
 
3515
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
3516
t quote
 
3517
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
3518
t quote
 
3519
d
 
3520
: quote
 
3521
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
3522
s,\[,\\&,g
 
3523
s,\],\\&,g
 
3524
s,\$,$$,g
 
3525
p
 
3526
_ACEOF
 
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
 
3532
# would break.
 
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
 
3536
 
 
3537
 
 
3538
ac_libobjs=
 
3539
ac_ltlibobjs=
 
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$//'`
 
3544
  # 2. Add them.
 
3545
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
3546
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3547
done
 
3548
LIBOBJS=$ac_libobjs
 
3549
 
 
3550
LTLIBOBJS=$ac_ltlibobjs
 
3551
 
 
3552
 
 
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; }; }
 
3559
fi
 
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; }; }
 
3566
fi
 
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; }; }
 
3573
fi
 
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; }; }
 
3580
fi
 
3581
 
 
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
 
3588
#! $SHELL
 
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.
 
3593
 
 
3594
debug=false
 
3595
ac_cs_recheck=false
 
3596
ac_cs_silent=false
 
3597
SHELL=\${CONFIG_SHELL-$SHELL}
 
3598
_ACEOF
 
3599
 
 
3600
cat >>$CONFIG_STATUS <<\_ACEOF
 
3601
## --------------------- ##
 
3602
## M4sh Initialization.  ##
 
3603
## --------------------- ##
 
3604
 
 
3605
# Be Bourne compatible
 
3606
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
3607
  emulate sh
 
3608
  NULLCMD=:
 
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
 
3613
  set -o posix
 
3614
fi
 
3615
 
 
3616
# Support unset when possible.
 
3617
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3618
  as_unset=unset
 
3619
else
 
3620
  as_unset=false
 
3621
fi
 
3622
 
 
3623
 
 
3624
# Work around bugs in pre-3.0 UWIN ksh.
 
3625
$as_unset ENV MAIL MAILPATH
 
3626
PS1='$ '
 
3627
PS2='> '
 
3628
PS4='+ '
 
3629
 
 
3630
# NLS nuisances.
 
3631
for as_var in \
 
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
 
3635
do
 
3636
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3637
    eval $as_var=C; export $as_var
 
3638
  else
 
3639
    $as_unset $as_var
 
3640
  fi
 
3641
done
 
3642
 
 
3643
# Required to use basename.
 
3644
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3645
  as_expr=expr
 
3646
else
 
3647
  as_expr=false
 
3648
fi
 
3649
 
 
3650
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
3651
  as_basename=basename
 
3652
else
 
3653
  as_basename=false
 
3654
fi
 
3655
 
 
3656
 
 
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 ||
 
3663
echo X/"$0" |
 
3664
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
3665
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
3666
          /^X\/\(\/\).*/{ s//\1/; q; }
 
3667
          s/.*/./; q'`
 
3668
 
 
3669
 
 
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
 
3677
 
 
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
 
3682
  chmod +x conf$$.sh
 
3683
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3684
    PATH_SEPARATOR=';'
 
3685
  else
 
3686
    PATH_SEPARATOR=:
 
3687
  fi
 
3688
  rm -f conf$$.sh
 
3689
fi
 
3690
 
 
3691
 
 
3692
  as_lineno_1=$LINENO
 
3693
  as_lineno_2=$LINENO
 
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
 
3698
  # relative or not.
 
3699
  case $0 in
 
3700
    *[\\/]* ) as_myself=$0 ;;
 
3701
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3702
for as_dir in $PATH
 
3703
do
 
3704
  IFS=$as_save_IFS
 
3705
  test -z "$as_dir" && as_dir=.
 
3706
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3707
done
 
3708
 
 
3709
       ;;
 
3710
  esac
 
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
 
3714
    as_myself=$0
 
3715
  fi
 
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; }; }
 
3720
  fi
 
3721
  case $CONFIG_SHELL in
 
3722
  '')
 
3723
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3724
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
3725
do
 
3726
  IFS=$as_save_IFS
 
3727
  test -z "$as_dir" && as_dir=.
 
3728
  for as_base in sh bash ksh sh5; do
 
3729
         case $as_dir in
 
3730
         /*)
 
3731
           if ("$as_dir/$as_base" -c '
 
3732
  as_lineno_1=$LINENO
 
3733
  as_lineno_2=$LINENO
 
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
 
3740
             export CONFIG_SHELL
 
3741
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
3742
           fi;;
 
3743
         esac
 
3744
       done
 
3745
done
 
3746
;;
 
3747
  esac
 
3748
 
 
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 |
 
3758
    sed '
 
3759
      N
 
3760
      s,$,-,
 
3761
      : loop
 
3762
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
3763
      t loop
 
3764
      s,-$,,
 
3765
      s,^['$as_cr_digits']*\n,,
 
3766
    ' >$as_me.lineno &&
 
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; }; }
 
3771
 
 
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).
 
3775
  . ./$as_me.lineno
 
3776
  # Exit status is that of the last command.
 
3777
  exit
 
3778
}
 
3779
 
 
3780
 
 
3781
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
3782
  *c*,-n*) ECHO_N= ECHO_C='
 
3783
' ECHO_T='      ' ;;
 
3784
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
3785
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
3786
esac
 
3787
 
 
3788
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3789
  as_expr=expr
 
3790
else
 
3791
  as_expr=false
 
3792
fi
 
3793
 
 
3794
rm -f conf$$ conf$$.exe conf$$.file
 
3795
echo >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
 
3801
    as_ln_s='cp -p'
 
3802
  else
 
3803
    as_ln_s='ln -s'
 
3804
  fi
 
3805
elif ln conf$$.file conf$$ 2>/dev/null; then
 
3806
  as_ln_s=ln
 
3807
else
 
3808
  as_ln_s='cp -p'
 
3809
fi
 
3810
rm -f conf$$ conf$$.exe conf$$.file
 
3811
 
 
3812
if mkdir -p . 2>/dev/null; then
 
3813
  as_mkdir_p=:
 
3814
else
 
3815
  as_mkdir_p=false
 
3816
fi
 
3817
 
 
3818
as_executable_p="test -f"
 
3819
 
 
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"
 
3822
 
 
3823
# Sed expression to map a string onto a valid variable name.
 
3824
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
3825
 
 
3826
 
 
3827
# IFS
 
3828
# We need space, tab and new line, in precisely that order.
 
3829
as_nl='
 
3830
'
 
3831
IFS="   $as_nl"
 
3832
 
 
3833
# CDPATH.
 
3834
$as_unset CDPATH
 
3835
 
 
3836
exec 6>&1
 
3837
 
 
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.
 
3841
exec 5>>config.log
 
3842
{
 
3843
  echo
 
3844
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3845
## Running $as_me. ##
 
3846
_ASBOX
 
3847
} >&5
 
3848
cat >&5 <<_CSEOF
 
3849
 
 
3850
This file was extended by $as_me, which was
 
3851
generated by GNU Autoconf 2.57.  Invocation command line was
 
3852
 
 
3853
  CONFIG_FILES    = $CONFIG_FILES
 
3854
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
3855
  CONFIG_LINKS    = $CONFIG_LINKS
 
3856
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
3857
  $ $0 $@
 
3858
 
 
3859
_CSEOF
 
3860
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
3861
echo >&5
 
3862
_ACEOF
 
3863
 
 
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
 
3867
fi
 
3868
 
 
3869
if test -n "$ac_config_headers"; then
 
3870
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
3871
fi
 
3872
 
 
3873
if test -n "$ac_config_links"; then
 
3874
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
3875
fi
 
3876
 
 
3877
if test -n "$ac_config_commands"; then
 
3878
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
3879
fi
 
3880
 
 
3881
cat >>$CONFIG_STATUS <<\_ACEOF
 
3882
 
 
3883
ac_cs_usage="\
 
3884
\`$as_me' instantiates files from templates according to the
 
3885
current configuration.
 
3886
 
 
3887
Usage: $0 [OPTIONS] [FILE]...
 
3888
 
 
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
 
3896
 
 
3897
Configuration files:
 
3898
$config_files
 
3899
 
 
3900
Configuration commands:
 
3901
$config_commands
 
3902
 
 
3903
Report bugs to <bug-autoconf@gnu.org>."
 
3904
_ACEOF
 
3905
 
 
3906
cat >>$CONFIG_STATUS <<_ACEOF
 
3907
ac_cs_version="\\
 
3908
config.status
 
3909
configured by $0, generated by GNU Autoconf 2.57,
 
3910
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
3911
 
 
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."
 
3916
srcdir=$srcdir
 
3917
INSTALL="$INSTALL"
 
3918
_ACEOF
 
3919
 
 
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.
 
3923
ac_need_defaults=:
 
3924
while test $# != 0
 
3925
do
 
3926
  case $1 in
 
3927
  --*=*)
 
3928
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
3929
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
3930
    ac_shift=:
 
3931
    ;;
 
3932
  -*)
 
3933
    ac_option=$1
 
3934
    ac_optarg=$2
 
3935
    ac_shift=shift
 
3936
    ;;
 
3937
  *) # This is not an option, so the user has probably given explicit
 
3938
     # arguments.
 
3939
     ac_option=$1
 
3940
     ac_need_defaults=false;;
 
3941
  esac
 
3942
 
 
3943
  case $ac_option in
 
3944
  # Handling of the options.
 
3945
_ACEOF
 
3946
cat >>$CONFIG_STATUS <<\_ACEOF
 
3947
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
3948
    ac_cs_recheck=: ;;
 
3949
  --version | --vers* | -V )
 
3950
    echo "$ac_cs_version"; exit 0 ;;
 
3951
  --he | --h)
 
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 )
 
3961
    debug=: ;;
 
3962
  --file | --fil | --fi | --f )
 
3963
    $ac_shift
 
3964
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3965
    ac_need_defaults=false;;
 
3966
  --header | --heade | --head | --hea )
 
3967
    $ac_shift
 
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)
 
3972
    ac_cs_silent=: ;;
 
3973
 
 
3974
  # This is an error.
 
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; }; } ;;
 
3980
 
 
3981
  *) ac_config_targets="$ac_config_targets $1" ;;
 
3982
 
 
3983
  esac
 
3984
  shift
 
3985
done
 
3986
 
 
3987
ac_configure_extra_args=
 
3988
 
 
3989
if $ac_cs_silent; then
 
3990
  exec 6>/dev/null
 
3991
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3992
fi
 
3993
 
 
3994
_ACEOF
 
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
 
3999
fi
 
4000
 
 
4001
_ACEOF
 
4002
 
 
4003
cat >>$CONFIG_STATUS <<_ACEOF
 
4004
#
 
4005
# INIT-COMMANDS section.
 
4006
#
 
4007
 
 
4008
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
4009
 
 
4010
_ACEOF
 
4011
 
 
4012
 
 
4013
 
 
4014
cat >>$CONFIG_STATUS <<\_ACEOF
 
4015
for ac_config_target in $ac_config_targets
 
4016
do
 
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; }; };;
 
4028
  esac
 
4029
done
 
4030
 
 
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
 
4038
fi
 
4039
 
 
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.
 
4044
$debug ||
 
4045
{
 
4046
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4047
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4048
}
 
4049
 
 
4050
# Create a (secure) tmp directory for tmp files.
 
4051
 
 
4052
{
 
4053
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
4054
  test -n "$tmp" && test -d "$tmp"
 
4055
}  ||
 
4056
{
 
4057
  tmp=./confstat$$-$RANDOM
 
4058
  (umask 077 && mkdir $tmp)
 
4059
} ||
 
4060
{
 
4061
   echo "$me: cannot create a temporary directory in ." >&2
 
4062
   { (exit 1); exit 1; }
 
4063
}
 
4064
 
 
4065
_ACEOF
 
4066
 
 
4067
cat >>$CONFIG_STATUS <<_ACEOF
 
4068
 
 
4069
#
 
4070
# CONFIG_FILES section.
 
4071
#
 
4072
 
 
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
 
4104
s,@DEFS@,$DEFS,;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
 
4108
s,@LIBS@,$LIBS,;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
 
4125
s,@AWK@,$AWK,;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
 
4131
s,@CC@,$CC,;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
 
4147
s,@CXX@,$CXX,;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
 
4153
s,@YACC@,$YACC,;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
 
4162
CEOF
 
4163
 
 
4164
_ACEOF
 
4165
 
 
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.
 
4169
  ac_max_sed_lines=48
 
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.
 
4173
  ac_more_lines=:
 
4174
  ac_sed_cmds=
 
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
 
4178
    else
 
4179
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
4180
    fi
 
4181
    if test ! -s $tmp/subs.frag; then
 
4182
      ac_more_lines=false
 
4183
    else
 
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.
 
4188
      (echo ':t
 
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"
 
4192
      else
 
4193
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4194
      fi
 
4195
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
4196
      ac_beg=$ac_end
 
4197
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
4198
    fi
 
4199
  done
 
4200
  if test -z "$ac_sed_cmds"; then
 
4201
    ac_sed_cmds=cat
 
4202
  fi
 
4203
fi # test -n "$CONFIG_FILES"
 
4204
 
 
4205
_ACEOF
 
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".
 
4209
  case $ac_file in
 
4210
  - | *:- | *:-:* ) # input from stdin
 
4211
        cat >$tmp/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 ;;
 
4217
  esac
 
4218
 
 
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 ||
 
4226
echo X"$ac_file" |
 
4227
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4228
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4229
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4230
          /^X\(\/\).*/{ s//\1/; q; }
 
4231
          s/.*/./; q'`
 
4232
  { if $as_mkdir_p; then
 
4233
    mkdir -p "$ac_dir"
 
4234
  else
 
4235
    as_dir="$ac_dir"
 
4236
    as_dirs=
 
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 ||
 
4245
echo X"$as_dir" |
 
4246
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4247
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4248
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4249
          /^X\(\/\).*/{ s//\1/; q; }
 
4250
          s/.*/./; q'`
 
4251
    done
 
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; }; }; }
 
4256
 
 
4257
  ac_builddir=.
 
4258
 
 
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'`
 
4263
else
 
4264
  ac_dir_suffix= ac_top_builddir=
 
4265
fi
 
4266
 
 
4267
case $srcdir in
 
4268
  .)  # No --srcdir option.  We are building in place.
 
4269
    ac_srcdir=.
 
4270
    if test -z "$ac_top_builddir"; then
 
4271
       ac_top_srcdir=.
 
4272
    else
 
4273
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4274
    fi ;;
 
4275
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4276
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4277
    ac_top_srcdir=$srcdir ;;
 
4278
  *) # Relative path.
 
4279
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4280
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4281
esac
 
4282
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
4283
# absolute.
 
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`
 
4288
 
 
4289
 
 
4290
  case $INSTALL in
 
4291
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
4292
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
4293
  esac
 
4294
 
 
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;}
 
4298
    rm -f "$ac_file"
 
4299
  fi
 
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
 
4304
    configure_input=
 
4305
  else
 
4306
    configure_input="$ac_file.  "
 
4307
  fi
 
4308
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
4309
                                     sed 's,.*/,,'` by configure."
 
4310
 
 
4311
  # First look for the input files in the build tree, otherwise in the
 
4312
  # src tree.
 
4313
  ac_file_inputs=`IFS=:
 
4314
    for f in $ac_file_in; do
 
4315
      case $f in
 
4316
      -) echo $tmp/stdin ;;
 
4317
      [\\/$]*)
 
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; }; }
 
4322
         echo $f;;
 
4323
      *) # Relative
 
4324
         if test -f "$f"; then
 
4325
           # Build tree
 
4326
           echo $f
 
4327
         elif test -f "$srcdir/$f"; then
 
4328
           # Source tree
 
4329
           echo $srcdir/$f
 
4330
         else
 
4331
           # /dev/null tree
 
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; }; }
 
4335
         fi;;
 
4336
      esac
 
4337
    done` || { (exit 1); exit 1; }
 
4338
_ACEOF
 
4339
cat >>$CONFIG_STATUS <<_ACEOF
 
4340
  sed "$ac_vpsub
 
4341
$extrasub
 
4342
_ACEOF
 
4343
cat >>$CONFIG_STATUS <<\_ACEOF
 
4344
:t
 
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
 
4357
  rm -f $tmp/stdin
 
4358
  if test x"$ac_file" != x-; then
 
4359
    mv $tmp/out $ac_file
 
4360
  else
 
4361
    cat $tmp/out
 
4362
    rm -f $tmp/out
 
4363
  fi
 
4364
 
 
4365
done
 
4366
_ACEOF
 
4367
cat >>$CONFIG_STATUS <<\_ACEOF
 
4368
 
 
4369
#
 
4370
# CONFIG_COMMANDS section.
 
4371
#
 
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 ||
 
4381
echo X"$ac_dest" |
 
4382
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4383
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4384
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4385
          /^X\(\/\).*/{ s//\1/; q; }
 
4386
          s/.*/./; q'`
 
4387
  ac_builddir=.
 
4388
 
 
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'`
 
4393
else
 
4394
  ac_dir_suffix= ac_top_builddir=
 
4395
fi
 
4396
 
 
4397
case $srcdir in
 
4398
  .)  # No --srcdir option.  We are building in place.
 
4399
    ac_srcdir=.
 
4400
    if test -z "$ac_top_builddir"; then
 
4401
       ac_top_srcdir=.
 
4402
    else
 
4403
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4404
    fi ;;
 
4405
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4406
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4407
    ac_top_srcdir=$srcdir ;;
 
4408
  *) # Relative path.
 
4409
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4410
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4411
esac
 
4412
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
4413
# absolute.
 
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`
 
4418
 
 
4419
 
 
4420
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
4421
echo "$as_me: executing $ac_dest commands" >&6;}
 
4422
  case $ac_dest in
 
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 ||
 
4439
echo X"$mf" |
 
4440
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4441
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4442
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4443
          /^X\(\/\).*/{ s//\1/; q; }
 
4444
          s/.*/./; q'`
 
4445
  else
 
4446
    continue
 
4447
  fi
 
4448
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 
4449
  # Extract the definition of DEP_FILES from the Makefile without
 
4450
  # running `make'.
 
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 = .*\\\\$/ {
 
4460
      s/^DEP_FILES = //
 
4461
      :loop
 
4462
        s/\\\\$//
 
4463
        p
 
4464
        n
 
4465
        /\\\\$/ b loop
 
4466
      p
 
4467
    }
 
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 ||
 
4478
echo X"$file" |
 
4479
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4480
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4481
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4482
          /^X\(\/\).*/{ s//\1/; q; }
 
4483
          s/.*/./; q'`
 
4484
    { if $as_mkdir_p; then
 
4485
    mkdir -p $dirpart/$fdir
 
4486
  else
 
4487
    as_dir=$dirpart/$fdir
 
4488
    as_dirs=
 
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 ||
 
4497
echo X"$as_dir" |
 
4498
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4499
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4500
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4501
          /^X\(\/\).*/{ s//\1/; q; }
 
4502
          s/.*/./; q'`
 
4503
    done
 
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; }; }; }
 
4508
 
 
4509
    # echo "creating $dirpart/$file"
 
4510
    echo '# dummy' > "$dirpart/$file"
 
4511
  done
 
4512
done
 
4513
 ;;
 
4514
  esac
 
4515
done
 
4516
_ACEOF
 
4517
 
 
4518
cat >>$CONFIG_STATUS <<\_ACEOF
 
4519
 
 
4520
{ (exit 0); exit 0; }
 
4521
_ACEOF
 
4522
chmod +x $CONFIG_STATUS
 
4523
ac_clean_files=$ac_clean_files_save
 
4524
 
 
4525
 
 
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
 
4535
  ac_cs_success=:
 
4536
  ac_config_status_args=
 
4537
  test "$silent" = yes &&
 
4538
    ac_config_status_args="$ac_config_status_args --quiet"
 
4539
  exec 5>/dev/null
 
4540
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
4541
  exec 5>>config.log
 
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; }
 
4545
fi
 
4546
 
 
4547
#
 
4548
# CONFIG_SUBDIRS section.
 
4549
#
 
4550
if test "$no_recursion" != yes; then
 
4551
 
 
4552
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
4553
  ac_sub_configure_args=
 
4554
  ac_prev=
 
4555
  for ac_arg in $ac_configure_args; do
 
4556
    if test -n "$ac_prev"; then
 
4557
      ac_prev=
 
4558
      continue
 
4559
    fi
 
4560
    case $ac_arg in
 
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=* \
 
4566
    | --c=*)
 
4567
      ;;
 
4568
    --config-cache | -C)
 
4569
      ;;
 
4570
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
4571
      ac_prev=srcdir ;;
 
4572
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
4573
      ;;
 
4574
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
4575
      ac_prev=prefix ;;
 
4576
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
4577
      ;;
 
4578
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
4579
    esac
 
4580
  done
 
4581
 
 
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"
 
4585
 
 
4586
  ac_popdir=`pwd`
 
4587
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
 
4588
 
 
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
 
4592
 
 
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
 
4596
    mkdir -p "$ac_dir"
 
4597
  else
 
4598
    as_dir="$ac_dir"
 
4599
    as_dirs=
 
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 ||
 
4608
echo X"$as_dir" |
 
4609
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4610
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4611
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4612
          /^X\(\/\).*/{ s//\1/; q; }
 
4613
          s/.*/./; q'`
 
4614
    done
 
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; }; }; }
 
4619
 
 
4620
    ac_builddir=.
 
4621
 
 
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'`
 
4626
else
 
4627
  ac_dir_suffix= ac_top_builddir=
 
4628
fi
 
4629
 
 
4630
case $srcdir in
 
4631
  .)  # No --srcdir option.  We are building in place.
 
4632
    ac_srcdir=.
 
4633
    if test -z "$ac_top_builddir"; then
 
4634
       ac_top_srcdir=.
 
4635
    else
 
4636
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4637
    fi ;;
 
4638
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4639
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4640
    ac_top_srcdir=$srcdir ;;
 
4641
  *) # Relative path.
 
4642
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4643
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4644
esac
 
4645
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
4646
# absolute.
 
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`
 
4651
 
 
4652
 
 
4653
    cd $ac_dir
 
4654
 
 
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
 
4662
    else
 
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;}
 
4665
      ac_sub_configure=
 
4666
    fi
 
4667
 
 
4668
    # The recursion is here.
 
4669
    if test -n "$ac_sub_configure"; then
 
4670
      # Make the cache file name correct relative to the subdirectory.
 
4671
      case $cache_file in
 
4672
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
 
4673
      *) # Relative path.
 
4674
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
4675
      esac
 
4676
 
 
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; }; }
 
4685
    fi
 
4686
 
 
4687
    cd $ac_popdir
 
4688
  done
 
4689
fi
 
4690
 
 
4691