~ubuntu-branches/ubuntu/vivid/inform/vivid

« back to all changes in this revision

Viewing changes to inform-6.31.1/configure

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-05-26 22:09:44 UTC
  • mfrom: (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526220944-ba7phz0d1k4vo7wx
Tags: 6.31.1+dfsg-1
* Remove a considerable number of files from the package
  due to unacceptable licensing terms.
* Repair library symlinks.

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.59 for inform 6.31.1.
 
4
#
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
 
6
# This configure script is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy, distribute and modify it.
 
8
## --------------------- ##
 
9
## M4sh Initialization.  ##
 
10
## --------------------- ##
 
11
 
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
 
 
24
# Support unset when possible.
 
25
if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
  test -d ./-p && rmdir ./-p
 
222
  as_mkdir_p=false
 
223
fi
 
224
 
 
225
as_executable_p="test -f"
 
226
 
 
227
# Sed expression to map a string onto a valid CPP name.
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
229
 
 
230
# Sed expression to map a string onto a valid variable name.
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
232
 
 
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
 
243
 
 
244
# Name of the host.
 
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
246
# so uname gets run too.
 
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
248
 
 
249
exec 6>&1
 
250
 
 
251
#
 
252
# Initializations.
 
253
#
 
254
ac_default_prefix=/usr/local
 
255
ac_config_libobj_dir=.
 
256
cross_compiling=no
 
257
subdirs=
 
258
MFLAGS=
 
259
MAKEFLAGS=
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
 
 
262
# Maximum number of lines to put in a shell here document.
 
263
# This variable seems obsolete.  It should probably be removed, and
 
264
# only ac_max_sed_lines should be used.
 
265
: ${ac_max_here_lines=38}
 
266
 
 
267
# Identity of this package.
 
268
PACKAGE_NAME='inform'
 
269
PACKAGE_TARNAME='inform'
 
270
PACKAGE_VERSION='6.31.1'
 
271
PACKAGE_STRING='inform 6.31.1'
 
272
PACKAGE_BUGREPORT=''
 
273
 
 
274
ac_unique_file="src/inform.c"
 
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 INFORM_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CYGWIN_TRUE CYGWIN_FALSE HOST 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 LN_S LIBOBJS LTLIBOBJS'
 
276
ac_subst_files='make_include'
 
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
 
 
733
#
 
734
# Report the --help message.
 
735
#
 
736
if test "$ac_init_help" = "long"; then
 
737
  # Omit some internal or obsolete options to make the list less imposing.
 
738
  # This message is too long to be a string in the A/UX 3.1 sh.
 
739
  cat <<_ACEOF
 
740
\`configure' configures inform 6.31.1 to adapt to many kinds of systems.
 
741
 
 
742
Usage: $0 [OPTION]... [VAR=VALUE]...
 
743
 
 
744
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
745
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
746
 
 
747
Defaults for the options are specified in brackets.
 
748
 
 
749
Configuration:
 
750
  -h, --help              display this help and exit
 
751
      --help=short        display options specific to this package
 
752
      --help=recursive    display the short help of all the included packages
 
753
  -V, --version           display version information and exit
 
754
  -q, --quiet, --silent   do not print \`checking...' messages
 
755
      --cache-file=FILE   cache test results in FILE [disabled]
 
756
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
757
  -n, --no-create         do not create output files
 
758
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
759
 
 
760
_ACEOF
 
761
 
 
762
  cat <<_ACEOF
 
763
Installation directories:
 
764
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
765
                          [$ac_default_prefix]
 
766
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
767
                          [PREFIX]
 
768
 
 
769
By default, \`make install' will install all the files in
 
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
771
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
772
for instance \`--prefix=\$HOME'.
 
773
 
 
774
For better control, use the options below.
 
775
 
 
776
Fine tuning of the installation directories:
 
777
  --bindir=DIR           user executables [EPREFIX/bin]
 
778
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
779
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
780
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
781
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
782
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
783
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
784
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
785
  --includedir=DIR       C header files [PREFIX/include]
 
786
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
787
  --infodir=DIR          info documentation [PREFIX/info]
 
788
  --mandir=DIR           man documentation [PREFIX/man]
 
789
_ACEOF
 
790
 
 
791
  cat <<\_ACEOF
 
792
 
 
793
Program names:
 
794
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
795
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
796
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
797
 
 
798
System types:
 
799
  --build=BUILD     configure for building on BUILD [guessed]
 
800
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
801
_ACEOF
 
802
fi
 
803
 
 
804
if test -n "$ac_init_help"; then
 
805
  case $ac_init_help in
 
806
     short | recursive ) echo "Configuration of inform 6.31.1:";;
 
807
   esac
 
808
  cat <<\_ACEOF
 
809
 
 
810
Optional Features:
 
811
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
812
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
813
  --disable-dependency-tracking  speeds up one-time build
 
814
  --enable-dependency-tracking   do not reject slow dependency extractors
 
815
 
 
816
Some influential environment variables:
 
817
  CC          C compiler command
 
818
  CFLAGS      C compiler flags
 
819
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
820
              nonstandard directory <lib dir>
 
821
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
822
              headers in a nonstandard directory <include dir>
 
823
 
 
824
Use these variables to override the choices made by `configure' or to help
 
825
it to find libraries and programs with nonstandard names/locations.
 
826
 
 
827
_ACEOF
 
828
fi
 
829
 
 
830
if test "$ac_init_help" = "recursive"; then
 
831
  # If there are subdirs, report their specific --help.
 
832
  ac_popdir=`pwd`
 
833
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
834
    test -d $ac_dir || continue
 
835
    ac_builddir=.
 
836
 
 
837
if test "$ac_dir" != .; then
 
838
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
839
  # A "../" for each directory in $ac_dir_suffix.
 
840
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
841
else
 
842
  ac_dir_suffix= ac_top_builddir=
 
843
fi
 
844
 
 
845
case $srcdir in
 
846
  .)  # No --srcdir option.  We are building in place.
 
847
    ac_srcdir=.
 
848
    if test -z "$ac_top_builddir"; then
 
849
       ac_top_srcdir=.
 
850
    else
 
851
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
852
    fi ;;
 
853
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
854
    ac_srcdir=$srcdir$ac_dir_suffix;
 
855
    ac_top_srcdir=$srcdir ;;
 
856
  *) # Relative path.
 
857
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
858
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
859
esac
 
860
 
 
861
# Do not use `cd foo && pwd` to compute absolute paths, because
 
862
# the directories may not exist.
 
863
case `pwd` in
 
864
.) ac_abs_builddir="$ac_dir";;
 
865
*)
 
866
  case "$ac_dir" in
 
867
  .) ac_abs_builddir=`pwd`;;
 
868
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
869
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
870
  esac;;
 
871
esac
 
872
case $ac_abs_builddir in
 
873
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
874
*)
 
875
  case ${ac_top_builddir}. in
 
876
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
877
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
878
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
879
  esac;;
 
880
esac
 
881
case $ac_abs_builddir in
 
882
.) ac_abs_srcdir=$ac_srcdir;;
 
883
*)
 
884
  case $ac_srcdir in
 
885
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
886
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
887
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
888
  esac;;
 
889
esac
 
890
case $ac_abs_builddir in
 
891
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
892
*)
 
893
  case $ac_top_srcdir in
 
894
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
895
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
896
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
897
  esac;;
 
898
esac
 
899
 
 
900
    cd $ac_dir
 
901
    # Check for guested configure; otherwise get Cygnus style configure.
 
902
    if test -f $ac_srcdir/configure.gnu; then
 
903
      echo
 
904
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
905
    elif test -f $ac_srcdir/configure; then
 
906
      echo
 
907
      $SHELL $ac_srcdir/configure  --help=recursive
 
908
    elif test -f $ac_srcdir/configure.ac ||
 
909
           test -f $ac_srcdir/configure.in; then
 
910
      echo
 
911
      $ac_configure --help
 
912
    else
 
913
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
914
    fi
 
915
    cd $ac_popdir
 
916
  done
 
917
fi
 
918
 
 
919
test -n "$ac_init_help" && exit 0
 
920
if $ac_init_version; then
 
921
  cat <<\_ACEOF
 
922
inform configure 6.31.1
 
923
generated by GNU Autoconf 2.59
 
924
 
 
925
Copyright (C) 2003 Free Software Foundation, Inc.
 
926
This configure script is free software; the Free Software Foundation
 
927
gives unlimited permission to copy, distribute and modify it.
 
928
_ACEOF
 
929
  exit 0
 
930
fi
 
931
exec 5>config.log
 
932
cat >&5 <<_ACEOF
 
933
This file contains any messages produced by compilers while
 
934
running configure, to aid debugging if configure makes a mistake.
 
935
 
 
936
It was created by inform $as_me 6.31.1, which was
 
937
generated by GNU Autoconf 2.59.  Invocation command line was
 
938
 
 
939
  $ $0 $@
 
940
 
 
941
_ACEOF
 
942
{
 
943
cat <<_ASUNAME
 
944
## --------- ##
 
945
## Platform. ##
 
946
## --------- ##
 
947
 
 
948
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
949
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
950
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
951
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
952
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
953
 
 
954
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
955
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
956
 
 
957
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
958
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
959
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
960
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
961
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
962
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
963
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
964
 
 
965
_ASUNAME
 
966
 
 
967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
968
for as_dir in $PATH
 
969
do
 
970
  IFS=$as_save_IFS
 
971
  test -z "$as_dir" && as_dir=.
 
972
  echo "PATH: $as_dir"
 
973
done
 
974
 
 
975
} >&5
 
976
 
 
977
cat >&5 <<_ACEOF
 
978
 
 
979
 
 
980
## ----------- ##
 
981
## Core tests. ##
 
982
## ----------- ##
 
983
 
 
984
_ACEOF
 
985
 
 
986
 
 
987
# Keep a trace of the command line.
 
988
# Strip out --no-create and --no-recursion so they do not pile up.
 
989
# Strip out --silent because we don't want to record it for future runs.
 
990
# Also quote any args containing shell meta-characters.
 
991
# Make two passes to allow for proper duplicate-argument suppression.
 
992
ac_configure_args=
 
993
ac_configure_args0=
 
994
ac_configure_args1=
 
995
ac_sep=
 
996
ac_must_keep_next=false
 
997
for ac_pass in 1 2
 
998
do
 
999
  for ac_arg
 
1000
  do
 
1001
    case $ac_arg in
 
1002
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1003
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1004
    | -silent | --silent | --silen | --sile | --sil)
 
1005
      continue ;;
 
1006
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1007
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1008
    esac
 
1009
    case $ac_pass in
 
1010
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1011
    2)
 
1012
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1013
      if test $ac_must_keep_next = true; then
 
1014
        ac_must_keep_next=false # Got value, back to normal.
 
1015
      else
 
1016
        case $ac_arg in
 
1017
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1018
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1019
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1020
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1021
            case "$ac_configure_args0 " in
 
1022
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1023
            esac
 
1024
            ;;
 
1025
          -* ) ac_must_keep_next=true ;;
 
1026
        esac
 
1027
      fi
 
1028
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1029
      # Get rid of the leading space.
 
1030
      ac_sep=" "
 
1031
      ;;
 
1032
    esac
 
1033
  done
 
1034
done
 
1035
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1036
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1037
 
 
1038
# When interrupted or exit'd, cleanup temporary files, and complete
 
1039
# config.log.  We remove comments because anyway the quotes in there
 
1040
# would cause problems or look ugly.
 
1041
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1042
# such as our DU 5.0 friend, will then `close' the trap.
 
1043
trap 'exit_status=$?
 
1044
  # Save into config.log some information that might help in debugging.
 
1045
  {
 
1046
    echo
 
1047
 
 
1048
    cat <<\_ASBOX
 
1049
## ---------------- ##
 
1050
## Cache variables. ##
 
1051
## ---------------- ##
 
1052
_ASBOX
 
1053
    echo
 
1054
    # The following way of writing the cache mishandles newlines in values,
 
1055
{
 
1056
  (set) 2>&1 |
 
1057
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1058
    *ac_space=\ *)
 
1059
      sed -n \
 
1060
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1061
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1062
      ;;
 
1063
    *)
 
1064
      sed -n \
 
1065
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1066
      ;;
 
1067
    esac;
 
1068
}
 
1069
    echo
 
1070
 
 
1071
    cat <<\_ASBOX
 
1072
## ----------------- ##
 
1073
## Output variables. ##
 
1074
## ----------------- ##
 
1075
_ASBOX
 
1076
    echo
 
1077
    for ac_var in $ac_subst_vars
 
1078
    do
 
1079
      eval ac_val=$`echo $ac_var`
 
1080
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1081
    done | sort
 
1082
    echo
 
1083
 
 
1084
    if test -n "$ac_subst_files"; then
 
1085
      cat <<\_ASBOX
 
1086
## ------------- ##
 
1087
## Output files. ##
 
1088
## ------------- ##
 
1089
_ASBOX
 
1090
      echo
 
1091
      for ac_var in $ac_subst_files
 
1092
      do
 
1093
        eval ac_val=$`echo $ac_var`
 
1094
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1095
      done | sort
 
1096
      echo
 
1097
    fi
 
1098
 
 
1099
    if test -s confdefs.h; then
 
1100
      cat <<\_ASBOX
 
1101
## ----------- ##
 
1102
## confdefs.h. ##
 
1103
## ----------- ##
 
1104
_ASBOX
 
1105
      echo
 
1106
      sed "/^$/d" confdefs.h | sort
 
1107
      echo
 
1108
    fi
 
1109
    test "$ac_signal" != 0 &&
 
1110
      echo "$as_me: caught signal $ac_signal"
 
1111
    echo "$as_me: exit $exit_status"
 
1112
  } >&5
 
1113
  rm -f core *.core &&
 
1114
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1115
    exit $exit_status
 
1116
     ' 0
 
1117
for ac_signal in 1 2 13 15; do
 
1118
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1119
done
 
1120
ac_signal=0
 
1121
 
 
1122
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1123
rm -rf conftest* confdefs.h
 
1124
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1125
echo >confdefs.h
 
1126
 
 
1127
# Predefined preprocessor variables.
 
1128
 
 
1129
cat >>confdefs.h <<_ACEOF
 
1130
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1131
_ACEOF
 
1132
 
 
1133
 
 
1134
cat >>confdefs.h <<_ACEOF
 
1135
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1136
_ACEOF
 
1137
 
 
1138
 
 
1139
cat >>confdefs.h <<_ACEOF
 
1140
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1141
_ACEOF
 
1142
 
 
1143
 
 
1144
cat >>confdefs.h <<_ACEOF
 
1145
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1146
_ACEOF
 
1147
 
 
1148
 
 
1149
cat >>confdefs.h <<_ACEOF
 
1150
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1151
_ACEOF
 
1152
 
 
1153
 
 
1154
# Let the site file select an alternate cache file if it wants to.
 
1155
# Prefer explicitly selected file to automatically selected ones.
 
1156
if test -z "$CONFIG_SITE"; then
 
1157
  if test "x$prefix" != xNONE; then
 
1158
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1159
  else
 
1160
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1161
  fi
 
1162
fi
 
1163
for ac_site_file in $CONFIG_SITE; do
 
1164
  if test -r "$ac_site_file"; then
 
1165
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1166
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1167
    sed 's/^/| /' "$ac_site_file" >&5
 
1168
    . "$ac_site_file"
 
1169
  fi
 
1170
done
 
1171
 
 
1172
if test -r "$cache_file"; then
 
1173
  # Some versions of bash will fail to source /dev/null (special
 
1174
  # files actually), so we avoid doing that.
 
1175
  if test -f "$cache_file"; then
 
1176
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1177
echo "$as_me: loading cache $cache_file" >&6;}
 
1178
    case $cache_file in
 
1179
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1180
      *)                      . ./$cache_file;;
 
1181
    esac
 
1182
  fi
 
1183
else
 
1184
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1185
echo "$as_me: creating cache $cache_file" >&6;}
 
1186
  >$cache_file
 
1187
fi
 
1188
 
 
1189
# Check that the precious variables saved in the cache have kept the same
 
1190
# value.
 
1191
ac_cache_corrupted=false
 
1192
for ac_var in `(set) 2>&1 |
 
1193
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1194
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1195
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1196
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1197
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1198
  case $ac_old_set,$ac_new_set in
 
1199
    set,)
 
1200
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1201
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1202
      ac_cache_corrupted=: ;;
 
1203
    ,set)
 
1204
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1205
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1206
      ac_cache_corrupted=: ;;
 
1207
    ,);;
 
1208
    *)
 
1209
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1210
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1211
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1212
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1213
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1214
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1215
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1216
        ac_cache_corrupted=:
 
1217
      fi;;
 
1218
  esac
 
1219
  # Pass precious variables to config.status.
 
1220
  if test "$ac_new_set" = set; then
 
1221
    case $ac_new_val in
 
1222
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1223
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1224
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1225
    esac
 
1226
    case " $ac_configure_args " in
 
1227
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1228
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1229
    esac
 
1230
  fi
 
1231
done
 
1232
if $ac_cache_corrupted; then
 
1233
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1234
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1235
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1236
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1237
   { (exit 1); exit 1; }; }
 
1238
fi
 
1239
 
 
1240
ac_ext=c
 
1241
ac_cpp='$CPP $CPPFLAGS'
 
1242
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1243
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1244
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1245
 
 
1246
 
 
1247
 
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
 
1257
 
 
1258
 
 
1259
 
 
1260
 
 
1261
 
 
1262
 
 
1263
 
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
ac_aux_dir=
 
1275
for ac_dir in config $srcdir/config; do
 
1276
  if test -f $ac_dir/install-sh; then
 
1277
    ac_aux_dir=$ac_dir
 
1278
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1279
    break
 
1280
  elif test -f $ac_dir/install.sh; then
 
1281
    ac_aux_dir=$ac_dir
 
1282
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1283
    break
 
1284
  elif test -f $ac_dir/shtool; then
 
1285
    ac_aux_dir=$ac_dir
 
1286
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1287
    break
 
1288
  fi
 
1289
done
 
1290
if test -z "$ac_aux_dir"; then
 
1291
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
 
1292
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
 
1293
   { (exit 1); exit 1; }; }
 
1294
fi
 
1295
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1296
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1297
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1298
 
 
1299
 
 
1300
INFORM_VERSION=6.31
 
1301
 
 
1302
 
 
1303
PACKAGE_VERSION=1
 
1304
 
 
1305
 
 
1306
am__api_version="1.9"
 
1307
# Find a good install program.  We prefer a C program (faster),
 
1308
# so one script is as good as another.  But avoid the broken or
 
1309
# incompatible versions:
 
1310
# SysV /etc/install, /usr/sbin/install
 
1311
# SunOS /usr/etc/install
 
1312
# IRIX /sbin/install
 
1313
# AIX /bin/install
 
1314
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1315
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1316
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1317
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1318
# OS/2's system install, which has a completely different semantic
 
1319
# ./install, which can be erroneously created by make from ./install.sh.
 
1320
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1321
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1322
if test -z "$INSTALL"; then
 
1323
if test "${ac_cv_path_install+set}" = set; then
 
1324
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1325
else
 
1326
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1327
for as_dir in $PATH
 
1328
do
 
1329
  IFS=$as_save_IFS
 
1330
  test -z "$as_dir" && as_dir=.
 
1331
  # Account for people who put trailing slashes in PATH elements.
 
1332
case $as_dir/ in
 
1333
  ./ | .// | /cC/* | \
 
1334
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1335
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1336
  /usr/ucb/* ) ;;
 
1337
  *)
 
1338
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1339
    # Don't use installbsd from OSF since it installs stuff as root
 
1340
    # by default.
 
1341
    for ac_prog in ginstall scoinst install; do
 
1342
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1343
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1344
          if test $ac_prog = install &&
 
1345
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1346
            # AIX install.  It has an incompatible calling convention.
 
1347
            :
 
1348
          elif test $ac_prog = install &&
 
1349
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1350
            # program-specific install script used by HP pwplus--don't use.
 
1351
            :
 
1352
          else
 
1353
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1354
            break 3
 
1355
          fi
 
1356
        fi
 
1357
      done
 
1358
    done
 
1359
    ;;
 
1360
esac
 
1361
done
 
1362
 
 
1363
 
 
1364
fi
 
1365
  if test "${ac_cv_path_install+set}" = set; then
 
1366
    INSTALL=$ac_cv_path_install
 
1367
  else
 
1368
    # As a last resort, use the slow shell script.  We don't cache a
 
1369
    # path for INSTALL within a source directory, because that will
 
1370
    # break other packages using the cache if that directory is
 
1371
    # removed, or if the path is relative.
 
1372
    INSTALL=$ac_install_sh
 
1373
  fi
 
1374
fi
 
1375
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1376
echo "${ECHO_T}$INSTALL" >&6
 
1377
 
 
1378
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1379
# It thinks the first close brace ends the variable substitution.
 
1380
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1381
 
 
1382
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1383
 
 
1384
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1385
 
 
1386
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1387
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1388
# Just in case
 
1389
sleep 1
 
1390
echo timestamp > conftest.file
 
1391
# Do `set' in a subshell so we don't clobber the current shell's
 
1392
# arguments.  Must try -L first in case configure is actually a
 
1393
# symlink; some systems play weird games with the mod time of symlinks
 
1394
# (eg FreeBSD returns the mod time of the symlink's containing
 
1395
# directory).
 
1396
if (
 
1397
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1398
   if test "$*" = "X"; then
 
1399
      # -L didn't work.
 
1400
      set X `ls -t $srcdir/configure conftest.file`
 
1401
   fi
 
1402
   rm -f conftest.file
 
1403
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1404
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1405
 
 
1406
      # If neither matched, then we have a broken ls.  This can happen
 
1407
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1408
      # broken ls alias from the environment.  This has actually
 
1409
      # happened.  Such a system could not be considered "sane".
 
1410
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1411
alias in your environment" >&5
 
1412
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1413
alias in your environment" >&2;}
 
1414
   { (exit 1); exit 1; }; }
 
1415
   fi
 
1416
 
 
1417
   test "$2" = conftest.file
 
1418
   )
 
1419
then
 
1420
   # Ok.
 
1421
   :
 
1422
else
 
1423
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1424
Check your system clock" >&5
 
1425
echo "$as_me: error: newly created file is older than distributed files!
 
1426
Check your system clock" >&2;}
 
1427
   { (exit 1); exit 1; }; }
 
1428
fi
 
1429
echo "$as_me:$LINENO: result: yes" >&5
 
1430
echo "${ECHO_T}yes" >&6
 
1431
test "$program_prefix" != NONE &&
 
1432
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1433
# Use a double $ so make ignores it.
 
1434
test "$program_suffix" != NONE &&
 
1435
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1436
# Double any \ or $.  echo might interpret backslashes.
 
1437
# By default was `s,x,x', remove it if useless.
 
1438
cat <<\_ACEOF >conftest.sed
 
1439
s/[\\$]/&&/g;s/;s,x,x,$//
 
1440
_ACEOF
 
1441
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1442
rm conftest.sed
 
1443
 
 
1444
# expand $ac_aux_dir to an absolute path
 
1445
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1446
 
 
1447
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1448
# Use eval to expand $SHELL
 
1449
if eval "$MISSING --run true"; then
 
1450
  am_missing_run="$MISSING --run "
 
1451
else
 
1452
  am_missing_run=
 
1453
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1454
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1455
fi
 
1456
 
 
1457
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1458
  # We used to keeping the `.' as first argument, in order to
 
1459
  # allow $(mkdir_p) to be used without argument.  As in
 
1460
  #   $(mkdir_p) $(somedir)
 
1461
  # where $(somedir) is conditionally defined.  However this is wrong
 
1462
  # for two reasons:
 
1463
  #  1. if the package is installed by a user who cannot write `.'
 
1464
  #     make install will fail,
 
1465
  #  2. the above comment should most certainly read
 
1466
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1467
  #     so it does not work when $(somedir) is undefined and
 
1468
  #     $(DESTDIR) is not.
 
1469
  #  To support the latter case, we have to write
 
1470
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1471
  #  so the `.' trick is pointless.
 
1472
  mkdir_p='mkdir -p --'
 
1473
else
 
1474
  # On NextStep and OpenStep, the `mkdir' command does not
 
1475
  # recognize any option.  It will interpret all options as
 
1476
  # directories to create, and then abort because `.' already
 
1477
  # exists.
 
1478
  for d in ./-p ./--version;
 
1479
  do
 
1480
    test -d $d && rmdir $d
 
1481
  done
 
1482
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1483
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1484
    mkdir_p='$(mkinstalldirs)'
 
1485
  else
 
1486
    mkdir_p='$(install_sh) -d'
 
1487
  fi
 
1488
fi
 
1489
 
 
1490
for ac_prog in gawk mawk nawk awk
 
1491
do
 
1492
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1493
set dummy $ac_prog; ac_word=$2
 
1494
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1495
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1496
if test "${ac_cv_prog_AWK+set}" = set; then
 
1497
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1498
else
 
1499
  if test -n "$AWK"; then
 
1500
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1501
else
 
1502
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1503
for as_dir in $PATH
 
1504
do
 
1505
  IFS=$as_save_IFS
 
1506
  test -z "$as_dir" && as_dir=.
 
1507
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1508
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1509
    ac_cv_prog_AWK="$ac_prog"
 
1510
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1511
    break 2
 
1512
  fi
 
1513
done
 
1514
done
 
1515
 
 
1516
fi
 
1517
fi
 
1518
AWK=$ac_cv_prog_AWK
 
1519
if test -n "$AWK"; then
 
1520
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1521
echo "${ECHO_T}$AWK" >&6
 
1522
else
 
1523
  echo "$as_me:$LINENO: result: no" >&5
 
1524
echo "${ECHO_T}no" >&6
 
1525
fi
 
1526
 
 
1527
  test -n "$AWK" && break
 
1528
done
 
1529
 
 
1530
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1531
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1532
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1533
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1534
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1535
else
 
1536
  cat >conftest.make <<\_ACEOF
 
1537
all:
 
1538
        @echo 'ac_maketemp="$(MAKE)"'
 
1539
_ACEOF
 
1540
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1541
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1542
if test -n "$ac_maketemp"; then
 
1543
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1544
else
 
1545
  eval ac_cv_prog_make_${ac_make}_set=no
 
1546
fi
 
1547
rm -f conftest.make
 
1548
fi
 
1549
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1550
  echo "$as_me:$LINENO: result: yes" >&5
 
1551
echo "${ECHO_T}yes" >&6
 
1552
  SET_MAKE=
 
1553
else
 
1554
  echo "$as_me:$LINENO: result: no" >&5
 
1555
echo "${ECHO_T}no" >&6
 
1556
  SET_MAKE="MAKE=${MAKE-make}"
 
1557
fi
 
1558
 
 
1559
rm -rf .tst 2>/dev/null
 
1560
mkdir .tst 2>/dev/null
 
1561
if test -d .tst; then
 
1562
  am__leading_dot=.
 
1563
else
 
1564
  am__leading_dot=_
 
1565
fi
 
1566
rmdir .tst 2>/dev/null
 
1567
 
 
1568
# test to see if srcdir already configured
 
1569
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1570
   test -f $srcdir/config.status; then
 
1571
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1572
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1573
   { (exit 1); exit 1; }; }
 
1574
fi
 
1575
 
 
1576
# test whether we have cygpath
 
1577
if test -z "$CYGPATH_W"; then
 
1578
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1579
    CYGPATH_W='cygpath -w'
 
1580
  else
 
1581
    CYGPATH_W=echo
 
1582
  fi
 
1583
fi
 
1584
 
 
1585
 
 
1586
# Define the identity of the package.
 
1587
 PACKAGE='inform'
 
1588
 VERSION='6.31.1'
 
1589
 
 
1590
 
 
1591
cat >>confdefs.h <<_ACEOF
 
1592
#define PACKAGE "$PACKAGE"
 
1593
_ACEOF
 
1594
 
 
1595
 
 
1596
cat >>confdefs.h <<_ACEOF
 
1597
#define VERSION "$VERSION"
 
1598
_ACEOF
 
1599
 
 
1600
# Some tools Automake needs.
 
1601
 
 
1602
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1603
 
 
1604
 
 
1605
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1606
 
 
1607
 
 
1608
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1609
 
 
1610
 
 
1611
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1612
 
 
1613
 
 
1614
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1615
 
 
1616
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1617
 
 
1618
# Installed binaries are usually stripped using `strip' when the user
 
1619
# run `make install-strip'.  However `strip' might not be the right
 
1620
# tool to use in cross-compilation environments, therefore Automake
 
1621
# will honor the `STRIP' environment variable to overrule this program.
 
1622
if test "$cross_compiling" != no; then
 
1623
  if test -n "$ac_tool_prefix"; then
 
1624
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1625
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1626
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1627
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1628
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1629
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1630
else
 
1631
  if test -n "$STRIP"; then
 
1632
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1633
else
 
1634
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1635
for as_dir in $PATH
 
1636
do
 
1637
  IFS=$as_save_IFS
 
1638
  test -z "$as_dir" && as_dir=.
 
1639
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1640
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1641
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1642
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1643
    break 2
 
1644
  fi
 
1645
done
 
1646
done
 
1647
 
 
1648
fi
 
1649
fi
 
1650
STRIP=$ac_cv_prog_STRIP
 
1651
if test -n "$STRIP"; then
 
1652
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1653
echo "${ECHO_T}$STRIP" >&6
 
1654
else
 
1655
  echo "$as_me:$LINENO: result: no" >&5
 
1656
echo "${ECHO_T}no" >&6
 
1657
fi
 
1658
 
 
1659
fi
 
1660
if test -z "$ac_cv_prog_STRIP"; then
 
1661
  ac_ct_STRIP=$STRIP
 
1662
  # Extract the first word of "strip", so it can be a program name with args.
 
1663
set dummy strip; ac_word=$2
 
1664
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1666
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1667
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1668
else
 
1669
  if test -n "$ac_ct_STRIP"; then
 
1670
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1671
else
 
1672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1673
for as_dir in $PATH
 
1674
do
 
1675
  IFS=$as_save_IFS
 
1676
  test -z "$as_dir" && as_dir=.
 
1677
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1678
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1679
    ac_cv_prog_ac_ct_STRIP="strip"
 
1680
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1681
    break 2
 
1682
  fi
 
1683
done
 
1684
done
 
1685
 
 
1686
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1687
fi
 
1688
fi
 
1689
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1690
if test -n "$ac_ct_STRIP"; then
 
1691
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1692
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1693
else
 
1694
  echo "$as_me:$LINENO: result: no" >&5
 
1695
echo "${ECHO_T}no" >&6
 
1696
fi
 
1697
 
 
1698
  STRIP=$ac_ct_STRIP
 
1699
else
 
1700
  STRIP="$ac_cv_prog_STRIP"
 
1701
fi
 
1702
 
 
1703
fi
 
1704
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1705
 
 
1706
# We need awk for the "check" target.  The system "awk" is bad on
 
1707
# some platforms.
 
1708
# Always define AMTAR for backward compatibility.
 
1709
 
 
1710
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1711
 
 
1712
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
1713
 
 
1714
 
 
1715
 
 
1716
 
 
1717
 
 
1718
 
 
1719
# Make sure we can run config.sub.
 
1720
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
1721
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
1722
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
1723
   { (exit 1); exit 1; }; }
 
1724
 
 
1725
echo "$as_me:$LINENO: checking build system type" >&5
 
1726
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
1727
if test "${ac_cv_build+set}" = set; then
 
1728
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1729
else
 
1730
  ac_cv_build_alias=$build_alias
 
1731
test -z "$ac_cv_build_alias" &&
 
1732
  ac_cv_build_alias=`$ac_config_guess`
 
1733
test -z "$ac_cv_build_alias" &&
 
1734
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1735
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1736
   { (exit 1); exit 1; }; }
 
1737
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
1738
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
1739
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
1740
   { (exit 1); exit 1; }; }
 
1741
 
 
1742
fi
 
1743
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1744
echo "${ECHO_T}$ac_cv_build" >&6
 
1745
build=$ac_cv_build
 
1746
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1747
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1748
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1749
 
 
1750
 
 
1751
echo "$as_me:$LINENO: checking host system type" >&5
 
1752
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
1753
if test "${ac_cv_host+set}" = set; then
 
1754
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1755
else
 
1756
  ac_cv_host_alias=$host_alias
 
1757
test -z "$ac_cv_host_alias" &&
 
1758
  ac_cv_host_alias=$ac_cv_build_alias
 
1759
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
1760
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
1761
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
1762
   { (exit 1); exit 1; }; }
 
1763
 
 
1764
fi
 
1765
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1766
echo "${ECHO_T}$ac_cv_host" >&6
 
1767
host=$ac_cv_host
 
1768
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1769
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1770
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1771
 
 
1772
 
 
1773
case $host_os in
 
1774
  *cygwin* ) CYGWIN=yes;;
 
1775
         * ) CYGWIN=no;;
 
1776
esac
 
1777
 
 
1778
 
 
1779
 
 
1780
 
 
1781
 
 
1782
if test "$CYGWIN" = yes; then
 
1783
  CYGWIN_TRUE=
 
1784
  CYGWIN_FALSE='#'
 
1785
else
 
1786
  CYGWIN_TRUE='#'
 
1787
  CYGWIN_FALSE=
 
1788
fi
 
1789
 
 
1790
 
 
1791
case $host in
 
1792
*linux*)        HOST=LINUX;;
 
1793
*)              HOST=UNIX;;
 
1794
esac
 
1795
 
 
1796
 
 
1797
 
 
1798
ac_ext=c
 
1799
ac_cpp='$CPP $CPPFLAGS'
 
1800
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1801
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1802
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1803
if test -n "$ac_tool_prefix"; then
 
1804
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1805
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1806
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1807
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1808
if test "${ac_cv_prog_CC+set}" = set; then
 
1809
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1810
else
 
1811
  if test -n "$CC"; then
 
1812
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1813
else
 
1814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1815
for as_dir in $PATH
 
1816
do
 
1817
  IFS=$as_save_IFS
 
1818
  test -z "$as_dir" && as_dir=.
 
1819
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1820
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1821
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1822
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1823
    break 2
 
1824
  fi
 
1825
done
 
1826
done
 
1827
 
 
1828
fi
 
1829
fi
 
1830
CC=$ac_cv_prog_CC
 
1831
if test -n "$CC"; then
 
1832
  echo "$as_me:$LINENO: result: $CC" >&5
 
1833
echo "${ECHO_T}$CC" >&6
 
1834
else
 
1835
  echo "$as_me:$LINENO: result: no" >&5
 
1836
echo "${ECHO_T}no" >&6
 
1837
fi
 
1838
 
 
1839
fi
 
1840
if test -z "$ac_cv_prog_CC"; then
 
1841
  ac_ct_CC=$CC
 
1842
  # Extract the first word of "gcc", so it can be a program name with args.
 
1843
set dummy gcc; ac_word=$2
 
1844
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1846
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1847
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1848
else
 
1849
  if test -n "$ac_ct_CC"; then
 
1850
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1851
else
 
1852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1853
for as_dir in $PATH
 
1854
do
 
1855
  IFS=$as_save_IFS
 
1856
  test -z "$as_dir" && as_dir=.
 
1857
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1858
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1859
    ac_cv_prog_ac_ct_CC="gcc"
 
1860
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1861
    break 2
 
1862
  fi
 
1863
done
 
1864
done
 
1865
 
 
1866
fi
 
1867
fi
 
1868
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1869
if test -n "$ac_ct_CC"; then
 
1870
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1871
echo "${ECHO_T}$ac_ct_CC" >&6
 
1872
else
 
1873
  echo "$as_me:$LINENO: result: no" >&5
 
1874
echo "${ECHO_T}no" >&6
 
1875
fi
 
1876
 
 
1877
  CC=$ac_ct_CC
 
1878
else
 
1879
  CC="$ac_cv_prog_CC"
 
1880
fi
 
1881
 
 
1882
if test -z "$CC"; then
 
1883
  if test -n "$ac_tool_prefix"; then
 
1884
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1885
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1886
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1887
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1888
if test "${ac_cv_prog_CC+set}" = set; then
 
1889
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1890
else
 
1891
  if test -n "$CC"; then
 
1892
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1893
else
 
1894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1895
for as_dir in $PATH
 
1896
do
 
1897
  IFS=$as_save_IFS
 
1898
  test -z "$as_dir" && as_dir=.
 
1899
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1900
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1901
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1902
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1903
    break 2
 
1904
  fi
 
1905
done
 
1906
done
 
1907
 
 
1908
fi
 
1909
fi
 
1910
CC=$ac_cv_prog_CC
 
1911
if test -n "$CC"; then
 
1912
  echo "$as_me:$LINENO: result: $CC" >&5
 
1913
echo "${ECHO_T}$CC" >&6
 
1914
else
 
1915
  echo "$as_me:$LINENO: result: no" >&5
 
1916
echo "${ECHO_T}no" >&6
 
1917
fi
 
1918
 
 
1919
fi
 
1920
if test -z "$ac_cv_prog_CC"; then
 
1921
  ac_ct_CC=$CC
 
1922
  # Extract the first word of "cc", so it can be a program name with args.
 
1923
set dummy cc; ac_word=$2
 
1924
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1926
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1928
else
 
1929
  if test -n "$ac_ct_CC"; then
 
1930
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1931
else
 
1932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1933
for as_dir in $PATH
 
1934
do
 
1935
  IFS=$as_save_IFS
 
1936
  test -z "$as_dir" && as_dir=.
 
1937
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1938
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1939
    ac_cv_prog_ac_ct_CC="cc"
 
1940
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1941
    break 2
 
1942
  fi
 
1943
done
 
1944
done
 
1945
 
 
1946
fi
 
1947
fi
 
1948
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1949
if test -n "$ac_ct_CC"; then
 
1950
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1951
echo "${ECHO_T}$ac_ct_CC" >&6
 
1952
else
 
1953
  echo "$as_me:$LINENO: result: no" >&5
 
1954
echo "${ECHO_T}no" >&6
 
1955
fi
 
1956
 
 
1957
  CC=$ac_ct_CC
 
1958
else
 
1959
  CC="$ac_cv_prog_CC"
 
1960
fi
 
1961
 
 
1962
fi
 
1963
if test -z "$CC"; then
 
1964
  # Extract the first word of "cc", so it can be a program name with args.
 
1965
set dummy cc; ac_word=$2
 
1966
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1967
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1968
if test "${ac_cv_prog_CC+set}" = set; then
 
1969
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1970
else
 
1971
  if test -n "$CC"; then
 
1972
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1973
else
 
1974
  ac_prog_rejected=no
 
1975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1976
for as_dir in $PATH
 
1977
do
 
1978
  IFS=$as_save_IFS
 
1979
  test -z "$as_dir" && as_dir=.
 
1980
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1981
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1982
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
1983
       ac_prog_rejected=yes
 
1984
       continue
 
1985
     fi
 
1986
    ac_cv_prog_CC="cc"
 
1987
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1988
    break 2
 
1989
  fi
 
1990
done
 
1991
done
 
1992
 
 
1993
if test $ac_prog_rejected = yes; then
 
1994
  # We found a bogon in the path, so make sure we never use it.
 
1995
  set dummy $ac_cv_prog_CC
 
1996
  shift
 
1997
  if test $# != 0; then
 
1998
    # We chose a different compiler from the bogus one.
 
1999
    # However, it has the same basename, so the bogon will be chosen
 
2000
    # first if we set CC to just the basename; use the full file name.
 
2001
    shift
 
2002
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2003
  fi
 
2004
fi
 
2005
fi
 
2006
fi
 
2007
CC=$ac_cv_prog_CC
 
2008
if test -n "$CC"; then
 
2009
  echo "$as_me:$LINENO: result: $CC" >&5
 
2010
echo "${ECHO_T}$CC" >&6
 
2011
else
 
2012
  echo "$as_me:$LINENO: result: no" >&5
 
2013
echo "${ECHO_T}no" >&6
 
2014
fi
 
2015
 
 
2016
fi
 
2017
if test -z "$CC"; then
 
2018
  if test -n "$ac_tool_prefix"; then
 
2019
  for ac_prog in cl
 
2020
  do
 
2021
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2022
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2025
if test "${ac_cv_prog_CC+set}" = set; then
 
2026
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2027
else
 
2028
  if test -n "$CC"; then
 
2029
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2030
else
 
2031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2032
for as_dir in $PATH
 
2033
do
 
2034
  IFS=$as_save_IFS
 
2035
  test -z "$as_dir" && as_dir=.
 
2036
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2037
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2038
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2039
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2040
    break 2
 
2041
  fi
 
2042
done
 
2043
done
 
2044
 
 
2045
fi
 
2046
fi
 
2047
CC=$ac_cv_prog_CC
 
2048
if test -n "$CC"; then
 
2049
  echo "$as_me:$LINENO: result: $CC" >&5
 
2050
echo "${ECHO_T}$CC" >&6
 
2051
else
 
2052
  echo "$as_me:$LINENO: result: no" >&5
 
2053
echo "${ECHO_T}no" >&6
 
2054
fi
 
2055
 
 
2056
    test -n "$CC" && break
 
2057
  done
 
2058
fi
 
2059
if test -z "$CC"; then
 
2060
  ac_ct_CC=$CC
 
2061
  for ac_prog in cl
 
2062
do
 
2063
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2064
set dummy $ac_prog; ac_word=$2
 
2065
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2066
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2067
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2068
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2069
else
 
2070
  if test -n "$ac_ct_CC"; then
 
2071
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2072
else
 
2073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2074
for as_dir in $PATH
 
2075
do
 
2076
  IFS=$as_save_IFS
 
2077
  test -z "$as_dir" && as_dir=.
 
2078
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2079
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2080
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2081
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2082
    break 2
 
2083
  fi
 
2084
done
 
2085
done
 
2086
 
 
2087
fi
 
2088
fi
 
2089
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2090
if test -n "$ac_ct_CC"; then
 
2091
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2092
echo "${ECHO_T}$ac_ct_CC" >&6
 
2093
else
 
2094
  echo "$as_me:$LINENO: result: no" >&5
 
2095
echo "${ECHO_T}no" >&6
 
2096
fi
 
2097
 
 
2098
  test -n "$ac_ct_CC" && break
 
2099
done
 
2100
 
 
2101
  CC=$ac_ct_CC
 
2102
fi
 
2103
 
 
2104
fi
 
2105
 
 
2106
 
 
2107
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2108
See \`config.log' for more details." >&5
 
2109
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2110
See \`config.log' for more details." >&2;}
 
2111
   { (exit 1); exit 1; }; }
 
2112
 
 
2113
# Provide some information about the compiler.
 
2114
echo "$as_me:$LINENO:" \
 
2115
     "checking for C compiler version" >&5
 
2116
ac_compiler=`set X $ac_compile; echo $2`
 
2117
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
2118
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
2119
  ac_status=$?
 
2120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2121
  (exit $ac_status); }
 
2122
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
2123
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2124
  ac_status=$?
 
2125
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2126
  (exit $ac_status); }
 
2127
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2128
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2129
  ac_status=$?
 
2130
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2131
  (exit $ac_status); }
 
2132
 
 
2133
cat >conftest.$ac_ext <<_ACEOF
 
2134
/* confdefs.h.  */
 
2135
_ACEOF
 
2136
cat confdefs.h >>conftest.$ac_ext
 
2137
cat >>conftest.$ac_ext <<_ACEOF
 
2138
/* end confdefs.h.  */
 
2139
 
 
2140
int
 
2141
main ()
 
2142
{
 
2143
 
 
2144
  ;
 
2145
  return 0;
 
2146
}
 
2147
_ACEOF
 
2148
ac_clean_files_save=$ac_clean_files
 
2149
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2150
# Try to create an executable without -o first, disregard a.out.
 
2151
# It will help us diagnose broken compilers, and finding out an intuition
 
2152
# of exeext.
 
2153
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2154
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2155
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2156
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2157
  (eval $ac_link_default) 2>&5
 
2158
  ac_status=$?
 
2159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2160
  (exit $ac_status); }; then
 
2161
  # Find the output, starting from the most likely.  This scheme is
 
2162
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2163
# resort.
 
2164
 
 
2165
# Be careful to initialize this variable, since it used to be cached.
 
2166
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2167
ac_cv_exeext=
 
2168
# b.out is created by i960 compilers.
 
2169
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2170
do
 
2171
  test -f "$ac_file" || continue
 
2172
  case $ac_file in
 
2173
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2174
        ;;
 
2175
    conftest.$ac_ext )
 
2176
        # This is the source file.
 
2177
        ;;
 
2178
    [ab].out )
 
2179
        # We found the default executable, but exeext='' is most
 
2180
        # certainly right.
 
2181
        break;;
 
2182
    *.* )
 
2183
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2184
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2185
        # but it would be cool to find out if it's true.  Does anybody
 
2186
        # maintain Libtool? --akim.
 
2187
        export ac_cv_exeext
 
2188
        break;;
 
2189
    * )
 
2190
        break;;
 
2191
  esac
 
2192
done
 
2193
else
 
2194
  echo "$as_me: failed program was:" >&5
 
2195
sed 's/^/| /' conftest.$ac_ext >&5
 
2196
 
 
2197
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2198
See \`config.log' for more details." >&5
 
2199
echo "$as_me: error: C compiler cannot create executables
 
2200
See \`config.log' for more details." >&2;}
 
2201
   { (exit 77); exit 77; }; }
 
2202
fi
 
2203
 
 
2204
ac_exeext=$ac_cv_exeext
 
2205
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2206
echo "${ECHO_T}$ac_file" >&6
 
2207
 
 
2208
# Check the compiler produces executables we can run.  If not, either
 
2209
# the compiler is broken, or we cross compile.
 
2210
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2211
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2212
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2213
# If not cross compiling, check that we can run a simple program.
 
2214
if test "$cross_compiling" != yes; then
 
2215
  if { ac_try='./$ac_file'
 
2216
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2217
  (eval $ac_try) 2>&5
 
2218
  ac_status=$?
 
2219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2220
  (exit $ac_status); }; }; then
 
2221
    cross_compiling=no
 
2222
  else
 
2223
    if test "$cross_compiling" = maybe; then
 
2224
        cross_compiling=yes
 
2225
    else
 
2226
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2227
If you meant to cross compile, use \`--host'.
 
2228
See \`config.log' for more details." >&5
 
2229
echo "$as_me: error: cannot run C compiled programs.
 
2230
If you meant to cross compile, use \`--host'.
 
2231
See \`config.log' for more details." >&2;}
 
2232
   { (exit 1); exit 1; }; }
 
2233
    fi
 
2234
  fi
 
2235
fi
 
2236
echo "$as_me:$LINENO: result: yes" >&5
 
2237
echo "${ECHO_T}yes" >&6
 
2238
 
 
2239
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2240
ac_clean_files=$ac_clean_files_save
 
2241
# Check the compiler produces executables we can run.  If not, either
 
2242
# the compiler is broken, or we cross compile.
 
2243
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2244
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2245
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2246
echo "${ECHO_T}$cross_compiling" >&6
 
2247
 
 
2248
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2249
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2251
  (eval $ac_link) 2>&5
 
2252
  ac_status=$?
 
2253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2254
  (exit $ac_status); }; then
 
2255
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2256
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2257
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2258
# `rm'.
 
2259
for ac_file in conftest.exe conftest conftest.*; do
 
2260
  test -f "$ac_file" || continue
 
2261
  case $ac_file in
 
2262
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2263
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2264
          export ac_cv_exeext
 
2265
          break;;
 
2266
    * ) break;;
 
2267
  esac
 
2268
done
 
2269
else
 
2270
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2271
See \`config.log' for more details." >&5
 
2272
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2273
See \`config.log' for more details." >&2;}
 
2274
   { (exit 1); exit 1; }; }
 
2275
fi
 
2276
 
 
2277
rm -f conftest$ac_cv_exeext
 
2278
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2279
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2280
 
 
2281
rm -f conftest.$ac_ext
 
2282
EXEEXT=$ac_cv_exeext
 
2283
ac_exeext=$EXEEXT
 
2284
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2285
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2286
if test "${ac_cv_objext+set}" = set; then
 
2287
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2288
else
 
2289
  cat >conftest.$ac_ext <<_ACEOF
 
2290
/* confdefs.h.  */
 
2291
_ACEOF
 
2292
cat confdefs.h >>conftest.$ac_ext
 
2293
cat >>conftest.$ac_ext <<_ACEOF
 
2294
/* end confdefs.h.  */
 
2295
 
 
2296
int
 
2297
main ()
 
2298
{
 
2299
 
 
2300
  ;
 
2301
  return 0;
 
2302
}
 
2303
_ACEOF
 
2304
rm -f conftest.o conftest.obj
 
2305
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2306
  (eval $ac_compile) 2>&5
 
2307
  ac_status=$?
 
2308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2309
  (exit $ac_status); }; then
 
2310
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2311
  case $ac_file in
 
2312
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2313
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2314
       break;;
 
2315
  esac
 
2316
done
 
2317
else
 
2318
  echo "$as_me: failed program was:" >&5
 
2319
sed 's/^/| /' conftest.$ac_ext >&5
 
2320
 
 
2321
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2322
See \`config.log' for more details." >&5
 
2323
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2324
See \`config.log' for more details." >&2;}
 
2325
   { (exit 1); exit 1; }; }
 
2326
fi
 
2327
 
 
2328
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2329
fi
 
2330
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2331
echo "${ECHO_T}$ac_cv_objext" >&6
 
2332
OBJEXT=$ac_cv_objext
 
2333
ac_objext=$OBJEXT
 
2334
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2335
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2336
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2337
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2338
else
 
2339
  cat >conftest.$ac_ext <<_ACEOF
 
2340
/* confdefs.h.  */
 
2341
_ACEOF
 
2342
cat confdefs.h >>conftest.$ac_ext
 
2343
cat >>conftest.$ac_ext <<_ACEOF
 
2344
/* end confdefs.h.  */
 
2345
 
 
2346
int
 
2347
main ()
 
2348
{
 
2349
#ifndef __GNUC__
 
2350
       choke me
 
2351
#endif
 
2352
 
 
2353
  ;
 
2354
  return 0;
 
2355
}
 
2356
_ACEOF
 
2357
rm -f conftest.$ac_objext
 
2358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2359
  (eval $ac_compile) 2>conftest.er1
 
2360
  ac_status=$?
 
2361
  grep -v '^ *+' conftest.er1 >conftest.err
 
2362
  rm -f conftest.er1
 
2363
  cat conftest.err >&5
 
2364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2365
  (exit $ac_status); } &&
 
2366
         { ac_try='test -z "$ac_c_werror_flag"
 
2367
                         || test ! -s conftest.err'
 
2368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2369
  (eval $ac_try) 2>&5
 
2370
  ac_status=$?
 
2371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2372
  (exit $ac_status); }; } &&
 
2373
         { ac_try='test -s conftest.$ac_objext'
 
2374
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2375
  (eval $ac_try) 2>&5
 
2376
  ac_status=$?
 
2377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2378
  (exit $ac_status); }; }; then
 
2379
  ac_compiler_gnu=yes
 
2380
else
 
2381
  echo "$as_me: failed program was:" >&5
 
2382
sed 's/^/| /' conftest.$ac_ext >&5
 
2383
 
 
2384
ac_compiler_gnu=no
 
2385
fi
 
2386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2387
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2388
 
 
2389
fi
 
2390
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2391
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2392
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2393
ac_test_CFLAGS=${CFLAGS+set}
 
2394
ac_save_CFLAGS=$CFLAGS
 
2395
CFLAGS="-g"
 
2396
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2397
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2398
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2399
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2400
else
 
2401
  cat >conftest.$ac_ext <<_ACEOF
 
2402
/* confdefs.h.  */
 
2403
_ACEOF
 
2404
cat confdefs.h >>conftest.$ac_ext
 
2405
cat >>conftest.$ac_ext <<_ACEOF
 
2406
/* end confdefs.h.  */
 
2407
 
 
2408
int
 
2409
main ()
 
2410
{
 
2411
 
 
2412
  ;
 
2413
  return 0;
 
2414
}
 
2415
_ACEOF
 
2416
rm -f conftest.$ac_objext
 
2417
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2418
  (eval $ac_compile) 2>conftest.er1
 
2419
  ac_status=$?
 
2420
  grep -v '^ *+' conftest.er1 >conftest.err
 
2421
  rm -f conftest.er1
 
2422
  cat conftest.err >&5
 
2423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2424
  (exit $ac_status); } &&
 
2425
         { ac_try='test -z "$ac_c_werror_flag"
 
2426
                         || test ! -s conftest.err'
 
2427
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2428
  (eval $ac_try) 2>&5
 
2429
  ac_status=$?
 
2430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2431
  (exit $ac_status); }; } &&
 
2432
         { ac_try='test -s conftest.$ac_objext'
 
2433
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2434
  (eval $ac_try) 2>&5
 
2435
  ac_status=$?
 
2436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2437
  (exit $ac_status); }; }; then
 
2438
  ac_cv_prog_cc_g=yes
 
2439
else
 
2440
  echo "$as_me: failed program was:" >&5
 
2441
sed 's/^/| /' conftest.$ac_ext >&5
 
2442
 
 
2443
ac_cv_prog_cc_g=no
 
2444
fi
 
2445
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2446
fi
 
2447
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2448
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2449
if test "$ac_test_CFLAGS" = set; then
 
2450
  CFLAGS=$ac_save_CFLAGS
 
2451
elif test $ac_cv_prog_cc_g = yes; then
 
2452
  if test "$GCC" = yes; then
 
2453
    CFLAGS="-g -O2"
 
2454
  else
 
2455
    CFLAGS="-g"
 
2456
  fi
 
2457
else
 
2458
  if test "$GCC" = yes; then
 
2459
    CFLAGS="-O2"
 
2460
  else
 
2461
    CFLAGS=
 
2462
  fi
 
2463
fi
 
2464
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2465
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2466
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2467
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2468
else
 
2469
  ac_cv_prog_cc_stdc=no
 
2470
ac_save_CC=$CC
 
2471
cat >conftest.$ac_ext <<_ACEOF
 
2472
/* confdefs.h.  */
 
2473
_ACEOF
 
2474
cat confdefs.h >>conftest.$ac_ext
 
2475
cat >>conftest.$ac_ext <<_ACEOF
 
2476
/* end confdefs.h.  */
 
2477
#include <stdarg.h>
 
2478
#include <stdio.h>
 
2479
#include <sys/types.h>
 
2480
#include <sys/stat.h>
 
2481
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2482
struct buf { int x; };
 
2483
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2484
static char *e (p, i)
 
2485
     char **p;
 
2486
     int i;
 
2487
{
 
2488
  return p[i];
 
2489
}
 
2490
static char *f (char * (*g) (char **, int), char **p, ...)
 
2491
{
 
2492
  char *s;
 
2493
  va_list v;
 
2494
  va_start (v,p);
 
2495
  s = g (p, va_arg (v,int));
 
2496
  va_end (v);
 
2497
  return s;
 
2498
}
 
2499
 
 
2500
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2501
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2502
   These don't provoke an error unfortunately, instead are silently treated
 
2503
   as 'x'.  The following induces an error, until -std1 is added to get
 
2504
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2505
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2506
   that's true only with -std1.  */
 
2507
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2508
 
 
2509
int test (int i, double x);
 
2510
struct s1 {int (*f) (int a);};
 
2511
struct s2 {int (*f) (double a);};
 
2512
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2513
int argc;
 
2514
char **argv;
 
2515
int
 
2516
main ()
 
2517
{
 
2518
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2519
  ;
 
2520
  return 0;
 
2521
}
 
2522
_ACEOF
 
2523
# Don't try gcc -ansi; that turns off useful extensions and
 
2524
# breaks some systems' header files.
 
2525
# AIX                   -qlanglvl=ansi
 
2526
# Ultrix and OSF/1      -std1
 
2527
# HP-UX 10.20 and later -Ae
 
2528
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2529
# SVR4                  -Xc -D__EXTENSIONS__
 
2530
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2531
do
 
2532
  CC="$ac_save_CC $ac_arg"
 
2533
  rm -f conftest.$ac_objext
 
2534
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2535
  (eval $ac_compile) 2>conftest.er1
 
2536
  ac_status=$?
 
2537
  grep -v '^ *+' conftest.er1 >conftest.err
 
2538
  rm -f conftest.er1
 
2539
  cat conftest.err >&5
 
2540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2541
  (exit $ac_status); } &&
 
2542
         { ac_try='test -z "$ac_c_werror_flag"
 
2543
                         || test ! -s conftest.err'
 
2544
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2545
  (eval $ac_try) 2>&5
 
2546
  ac_status=$?
 
2547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2548
  (exit $ac_status); }; } &&
 
2549
         { ac_try='test -s conftest.$ac_objext'
 
2550
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2551
  (eval $ac_try) 2>&5
 
2552
  ac_status=$?
 
2553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2554
  (exit $ac_status); }; }; then
 
2555
  ac_cv_prog_cc_stdc=$ac_arg
 
2556
break
 
2557
else
 
2558
  echo "$as_me: failed program was:" >&5
 
2559
sed 's/^/| /' conftest.$ac_ext >&5
 
2560
 
 
2561
fi
 
2562
rm -f conftest.err conftest.$ac_objext
 
2563
done
 
2564
rm -f conftest.$ac_ext conftest.$ac_objext
 
2565
CC=$ac_save_CC
 
2566
 
 
2567
fi
 
2568
 
 
2569
case "x$ac_cv_prog_cc_stdc" in
 
2570
  x|xno)
 
2571
    echo "$as_me:$LINENO: result: none needed" >&5
 
2572
echo "${ECHO_T}none needed" >&6 ;;
 
2573
  *)
 
2574
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2575
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2576
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2577
esac
 
2578
 
 
2579
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2580
# in C++ we need to declare it.  In case someone uses the same compiler
 
2581
# for both compiling C and C++ we need to have the C++ compiler decide
 
2582
# the declaration of exit, since it's the most demanding environment.
 
2583
cat >conftest.$ac_ext <<_ACEOF
 
2584
#ifndef __cplusplus
 
2585
  choke me
 
2586
#endif
 
2587
_ACEOF
 
2588
rm -f conftest.$ac_objext
 
2589
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2590
  (eval $ac_compile) 2>conftest.er1
 
2591
  ac_status=$?
 
2592
  grep -v '^ *+' conftest.er1 >conftest.err
 
2593
  rm -f conftest.er1
 
2594
  cat conftest.err >&5
 
2595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2596
  (exit $ac_status); } &&
 
2597
         { ac_try='test -z "$ac_c_werror_flag"
 
2598
                         || test ! -s conftest.err'
 
2599
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2600
  (eval $ac_try) 2>&5
 
2601
  ac_status=$?
 
2602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2603
  (exit $ac_status); }; } &&
 
2604
         { ac_try='test -s conftest.$ac_objext'
 
2605
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2606
  (eval $ac_try) 2>&5
 
2607
  ac_status=$?
 
2608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2609
  (exit $ac_status); }; }; then
 
2610
  for ac_declaration in \
 
2611
   '' \
 
2612
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2613
   'extern "C" void std::exit (int); using std::exit;' \
 
2614
   'extern "C" void exit (int) throw ();' \
 
2615
   'extern "C" void exit (int);' \
 
2616
   'void exit (int);'
 
2617
do
 
2618
  cat >conftest.$ac_ext <<_ACEOF
 
2619
/* confdefs.h.  */
 
2620
_ACEOF
 
2621
cat confdefs.h >>conftest.$ac_ext
 
2622
cat >>conftest.$ac_ext <<_ACEOF
 
2623
/* end confdefs.h.  */
 
2624
$ac_declaration
 
2625
#include <stdlib.h>
 
2626
int
 
2627
main ()
 
2628
{
 
2629
exit (42);
 
2630
  ;
 
2631
  return 0;
 
2632
}
 
2633
_ACEOF
 
2634
rm -f conftest.$ac_objext
 
2635
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2636
  (eval $ac_compile) 2>conftest.er1
 
2637
  ac_status=$?
 
2638
  grep -v '^ *+' conftest.er1 >conftest.err
 
2639
  rm -f conftest.er1
 
2640
  cat conftest.err >&5
 
2641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2642
  (exit $ac_status); } &&
 
2643
         { ac_try='test -z "$ac_c_werror_flag"
 
2644
                         || test ! -s conftest.err'
 
2645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2646
  (eval $ac_try) 2>&5
 
2647
  ac_status=$?
 
2648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2649
  (exit $ac_status); }; } &&
 
2650
         { ac_try='test -s conftest.$ac_objext'
 
2651
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2652
  (eval $ac_try) 2>&5
 
2653
  ac_status=$?
 
2654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2655
  (exit $ac_status); }; }; then
 
2656
  :
 
2657
else
 
2658
  echo "$as_me: failed program was:" >&5
 
2659
sed 's/^/| /' conftest.$ac_ext >&5
 
2660
 
 
2661
continue
 
2662
fi
 
2663
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2664
  cat >conftest.$ac_ext <<_ACEOF
 
2665
/* confdefs.h.  */
 
2666
_ACEOF
 
2667
cat confdefs.h >>conftest.$ac_ext
 
2668
cat >>conftest.$ac_ext <<_ACEOF
 
2669
/* end confdefs.h.  */
 
2670
$ac_declaration
 
2671
int
 
2672
main ()
 
2673
{
 
2674
exit (42);
 
2675
  ;
 
2676
  return 0;
 
2677
}
 
2678
_ACEOF
 
2679
rm -f conftest.$ac_objext
 
2680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2681
  (eval $ac_compile) 2>conftest.er1
 
2682
  ac_status=$?
 
2683
  grep -v '^ *+' conftest.er1 >conftest.err
 
2684
  rm -f conftest.er1
 
2685
  cat conftest.err >&5
 
2686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2687
  (exit $ac_status); } &&
 
2688
         { ac_try='test -z "$ac_c_werror_flag"
 
2689
                         || test ! -s conftest.err'
 
2690
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2691
  (eval $ac_try) 2>&5
 
2692
  ac_status=$?
 
2693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2694
  (exit $ac_status); }; } &&
 
2695
         { ac_try='test -s conftest.$ac_objext'
 
2696
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2697
  (eval $ac_try) 2>&5
 
2698
  ac_status=$?
 
2699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2700
  (exit $ac_status); }; }; then
 
2701
  break
 
2702
else
 
2703
  echo "$as_me: failed program was:" >&5
 
2704
sed 's/^/| /' conftest.$ac_ext >&5
 
2705
 
 
2706
fi
 
2707
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2708
done
 
2709
rm -f conftest*
 
2710
if test -n "$ac_declaration"; then
 
2711
  echo '#ifdef __cplusplus' >>confdefs.h
 
2712
  echo $ac_declaration      >>confdefs.h
 
2713
  echo '#endif'             >>confdefs.h
 
2714
fi
 
2715
 
 
2716
else
 
2717
  echo "$as_me: failed program was:" >&5
 
2718
sed 's/^/| /' conftest.$ac_ext >&5
 
2719
 
 
2720
fi
 
2721
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2722
ac_ext=c
 
2723
ac_cpp='$CPP $CPPFLAGS'
 
2724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2727
DEPDIR="${am__leading_dot}deps"
 
2728
 
 
2729
          ac_config_commands="$ac_config_commands depfiles"
 
2730
 
 
2731
 
 
2732
am_make=${MAKE-make}
 
2733
cat > confinc << 'END'
 
2734
am__doit:
 
2735
        @echo done
 
2736
.PHONY: am__doit
 
2737
END
 
2738
# If we don't find an include directive, just comment out the code.
 
2739
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2740
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2741
am__include="#"
 
2742
am__quote=
 
2743
_am_result=none
 
2744
# First try GNU make style include.
 
2745
echo "include confinc" > confmf
 
2746
# We grep out `Entering directory' and `Leaving directory'
 
2747
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2748
# In particular we don't look at `^make:' because GNU make might
 
2749
# be invoked under some other name (usually "gmake"), in which
 
2750
# case it prints its new name instead of `make'.
 
2751
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2752
   am__include=include
 
2753
   am__quote=
 
2754
   _am_result=GNU
 
2755
fi
 
2756
# Now try BSD make style include.
 
2757
if test "$am__include" = "#"; then
 
2758
   echo '.include "confinc"' > confmf
 
2759
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2760
      am__include=.include
 
2761
      am__quote="\""
 
2762
      _am_result=BSD
 
2763
   fi
 
2764
fi
 
2765
 
 
2766
 
 
2767
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2768
echo "${ECHO_T}$_am_result" >&6
 
2769
rm -f confinc confmf
 
2770
 
 
2771
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2772
if test "${enable_dependency_tracking+set}" = set; then
 
2773
  enableval="$enable_dependency_tracking"
 
2774
 
 
2775
fi;
 
2776
if test "x$enable_dependency_tracking" != xno; then
 
2777
  am_depcomp="$ac_aux_dir/depcomp"
 
2778
  AMDEPBACKSLASH='\'
 
2779
fi
 
2780
 
 
2781
 
 
2782
if test "x$enable_dependency_tracking" != xno; then
 
2783
  AMDEP_TRUE=
 
2784
  AMDEP_FALSE='#'
 
2785
else
 
2786
  AMDEP_TRUE='#'
 
2787
  AMDEP_FALSE=
 
2788
fi
 
2789
 
 
2790
 
 
2791
 
 
2792
 
 
2793
depcc="$CC"   am_compiler_list=
 
2794
 
 
2795
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
2796
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
2797
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
2798
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2799
else
 
2800
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
2801
  # We make a subdir and do the tests there.  Otherwise we can end up
 
2802
  # making bogus files that we don't know about and never remove.  For
 
2803
  # instance it was reported that on HP-UX the gcc test will end up
 
2804
  # making a dummy file named `D' -- because `-MD' means `put the output
 
2805
  # in D'.
 
2806
  mkdir conftest.dir
 
2807
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
2808
  # using a relative directory.
 
2809
  cp "$am_depcomp" conftest.dir
 
2810
  cd conftest.dir
 
2811
  # We will build objects and dependencies in a subdirectory because
 
2812
  # it helps to detect inapplicable dependency modes.  For instance
 
2813
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
2814
  # side effect of compilation, but ICC will put the dependencies in
 
2815
  # the current directory while Tru64 will put them in the object
 
2816
  # directory.
 
2817
  mkdir sub
 
2818
 
 
2819
  am_cv_CC_dependencies_compiler_type=none
 
2820
  if test "$am_compiler_list" = ""; then
 
2821
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
2822
  fi
 
2823
  for depmode in $am_compiler_list; do
 
2824
    # Setup a source with many dependencies, because some compilers
 
2825
    # like to wrap large dependency lists on column 80 (with \), and
 
2826
    # we should not choose a depcomp mode which is confused by this.
 
2827
    #
 
2828
    # We need to recreate these files for each test, as the compiler may
 
2829
    # overwrite some of them when testing with obscure command lines.
 
2830
    # This happens at least with the AIX C compiler.
 
2831
    : > sub/conftest.c
 
2832
    for i in 1 2 3 4 5 6; do
 
2833
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
2834
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2835
      # Solaris 8's {/usr,}/bin/sh.
 
2836
      touch sub/conftst$i.h
 
2837
    done
 
2838
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
2839
 
 
2840
    case $depmode in
 
2841
    nosideeffect)
 
2842
      # after this tag, mechanisms are not by side-effect, so they'll
 
2843
      # only be used when explicitly requested
 
2844
      if test "x$enable_dependency_tracking" = xyes; then
 
2845
        continue
 
2846
      else
 
2847
        break
 
2848
      fi
 
2849
      ;;
 
2850
    none) break ;;
 
2851
    esac
 
2852
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
2853
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
2854
    # handle `-M -o', and we need to detect this.
 
2855
    if depmode=$depmode \
 
2856
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
2857
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
2858
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
2859
         >/dev/null 2>conftest.err &&
 
2860
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
2861
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
2862
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
2863
      # icc doesn't choke on unknown options, it will just issue warnings
 
2864
      # or remarks (even with -Werror).  So we grep stderr for any message
 
2865
      # that says an option was ignored or not supported.
 
2866
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
2867
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
2868
      # The diagnosis changed in icc 8.0:
 
2869
      #   icc: Command line remark: option '-MP' not supported
 
2870
      if (grep 'ignoring option' conftest.err ||
 
2871
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
2872
        am_cv_CC_dependencies_compiler_type=$depmode
 
2873
        break
 
2874
      fi
 
2875
    fi
 
2876
  done
 
2877
 
 
2878
  cd ..
 
2879
  rm -rf conftest.dir
 
2880
else
 
2881
  am_cv_CC_dependencies_compiler_type=none
 
2882
fi
 
2883
 
 
2884
fi
 
2885
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
2886
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
2887
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
2888
 
 
2889
 
 
2890
 
 
2891
if
 
2892
  test "x$enable_dependency_tracking" != xno \
 
2893
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2894
  am__fastdepCC_TRUE=
 
2895
  am__fastdepCC_FALSE='#'
 
2896
else
 
2897
  am__fastdepCC_TRUE='#'
 
2898
  am__fastdepCC_FALSE=
 
2899
fi
 
2900
 
 
2901
 
 
2902
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
2903
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
2904
LN_S=$as_ln_s
 
2905
if test "$LN_S" = "ln -s"; then
 
2906
  echo "$as_me:$LINENO: result: yes" >&5
 
2907
echo "${ECHO_T}yes" >&6
 
2908
else
 
2909
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
2910
echo "${ECHO_T}no, using $LN_S" >&6
 
2911
fi
 
2912
 
 
2913
# Find a good install program.  We prefer a C program (faster),
 
2914
# so one script is as good as another.  But avoid the broken or
 
2915
# incompatible versions:
 
2916
# SysV /etc/install, /usr/sbin/install
 
2917
# SunOS /usr/etc/install
 
2918
# IRIX /sbin/install
 
2919
# AIX /bin/install
 
2920
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2921
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2922
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2923
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2924
# OS/2's system install, which has a completely different semantic
 
2925
# ./install, which can be erroneously created by make from ./install.sh.
 
2926
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2927
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2928
if test -z "$INSTALL"; then
 
2929
if test "${ac_cv_path_install+set}" = set; then
 
2930
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2931
else
 
2932
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2933
for as_dir in $PATH
 
2934
do
 
2935
  IFS=$as_save_IFS
 
2936
  test -z "$as_dir" && as_dir=.
 
2937
  # Account for people who put trailing slashes in PATH elements.
 
2938
case $as_dir/ in
 
2939
  ./ | .// | /cC/* | \
 
2940
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2941
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2942
  /usr/ucb/* ) ;;
 
2943
  *)
 
2944
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2945
    # Don't use installbsd from OSF since it installs stuff as root
 
2946
    # by default.
 
2947
    for ac_prog in ginstall scoinst install; do
 
2948
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2949
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2950
          if test $ac_prog = install &&
 
2951
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2952
            # AIX install.  It has an incompatible calling convention.
 
2953
            :
 
2954
          elif test $ac_prog = install &&
 
2955
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2956
            # program-specific install script used by HP pwplus--don't use.
 
2957
            :
 
2958
          else
 
2959
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2960
            break 3
 
2961
          fi
 
2962
        fi
 
2963
      done
 
2964
    done
 
2965
    ;;
 
2966
esac
 
2967
done
 
2968
 
 
2969
 
 
2970
fi
 
2971
  if test "${ac_cv_path_install+set}" = set; then
 
2972
    INSTALL=$ac_cv_path_install
 
2973
  else
 
2974
    # As a last resort, use the slow shell script.  We don't cache a
 
2975
    # path for INSTALL within a source directory, because that will
 
2976
    # break other packages using the cache if that directory is
 
2977
    # removed, or if the path is relative.
 
2978
    INSTALL=$ac_install_sh
 
2979
  fi
 
2980
fi
 
2981
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2982
echo "${ECHO_T}$INSTALL" >&6
 
2983
 
 
2984
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2985
# It thinks the first close brace ends the variable substitution.
 
2986
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2987
 
 
2988
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2989
 
 
2990
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2991
 
 
2992
 
 
2993
 
 
2994
make_include=$srcdir/config/commondefs
 
2995
 
 
2996
                                                            ac_config_files="$ac_config_files Makefile demos/Makefile include/Makefile lib/Makefile manual/Makefile src/Makefile"
 
2997
cat >confcache <<\_ACEOF
 
2998
# This file is a shell script that caches the results of configure
 
2999
# tests run on this system so they can be shared between configure
 
3000
# scripts and configure runs, see configure's option --config-cache.
 
3001
# It is not useful on other systems.  If it contains results you don't
 
3002
# want to keep, you may remove or edit it.
 
3003
#
 
3004
# config.status only pays attention to the cache file if you give it
 
3005
# the --recheck option to rerun configure.
 
3006
#
 
3007
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
3008
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
3009
# following values.
 
3010
 
 
3011
_ACEOF
 
3012
 
 
3013
# The following way of writing the cache mishandles newlines in values,
 
3014
# but we know of no workaround that is simple, portable, and efficient.
 
3015
# So, don't put newlines in cache variables' values.
 
3016
# Ultrix sh set writes to stderr and can't be redirected directly,
 
3017
# and sets the high bit in the cache file unless we assign to the vars.
 
3018
{
 
3019
  (set) 2>&1 |
 
3020
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
3021
    *ac_space=\ *)
 
3022
      # `set' does not quote correctly, so add quotes (double-quote
 
3023
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
3024
      sed -n \
 
3025
        "s/'/'\\\\''/g;
 
3026
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3027
      ;;
 
3028
    *)
 
3029
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
3030
      sed -n \
 
3031
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3032
      ;;
 
3033
    esac;
 
3034
} |
 
3035
  sed '
 
3036
     t clear
 
3037
     : clear
 
3038
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
3039
     t end
 
3040
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3041
     : end' >>confcache
 
3042
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
3043
  if test -w $cache_file; then
 
3044
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
3045
    cat confcache >$cache_file
 
3046
  else
 
3047
    echo "not updating unwritable cache $cache_file"
 
3048
  fi
 
3049
fi
 
3050
rm -f confcache
 
3051
 
 
3052
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
3053
# Let make expand exec_prefix.
 
3054
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
3055
 
 
3056
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3057
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3058
# trailing colons and then remove the whole line if VPATH becomes empty
 
3059
# (actually we leave an empty line to preserve line numbers).
 
3060
if test "x$srcdir" = x.; then
 
3061
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
3062
s/:*\$(srcdir):*/:/;
 
3063
s/:*\${srcdir}:*/:/;
 
3064
s/:*@srcdir@:*/:/;
 
3065
s/^\([^=]*=[     ]*\):*/\1/;
 
3066
s/:*$//;
 
3067
s/^[^=]*=[       ]*$//;
 
3068
}'
 
3069
fi
 
3070
 
 
3071
# Transform confdefs.h into DEFS.
 
3072
# Protect against shell expansion while executing Makefile rules.
 
3073
# Protect against Makefile macro expansion.
 
3074
#
 
3075
# If the first sed substitution is executed (which looks for macros that
 
3076
# take arguments), then we branch to the quote section.  Otherwise,
 
3077
# look for a macro that doesn't take arguments.
 
3078
cat >confdef2opt.sed <<\_ACEOF
 
3079
t clear
 
3080
: clear
 
3081
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
3082
t quote
 
3083
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
3084
t quote
 
3085
d
 
3086
: quote
 
3087
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
3088
s,\[,\\&,g
 
3089
s,\],\\&,g
 
3090
s,\$,$$,g
 
3091
p
 
3092
_ACEOF
 
3093
# We use echo to avoid assuming a particular line-breaking character.
 
3094
# The extra dot is to prevent the shell from consuming trailing
 
3095
# line-breaks from the sub-command output.  A line-break within
 
3096
# single-quotes doesn't work because, if this script is created in a
 
3097
# platform that uses two characters for line-breaks (e.g., DOS), tr
 
3098
# would break.
 
3099
ac_LF_and_DOT=`echo; echo .`
 
3100
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 
3101
rm -f confdef2opt.sed
 
3102
 
 
3103
 
 
3104
ac_libobjs=
 
3105
ac_ltlibobjs=
 
3106
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
3107
  # 1. Remove the extension, and $U if already installed.
 
3108
  ac_i=`echo "$ac_i" |
 
3109
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3110
  # 2. Add them.
 
3111
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
3112
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3113
done
 
3114
LIBOBJS=$ac_libobjs
 
3115
 
 
3116
LTLIBOBJS=$ac_ltlibobjs
 
3117
 
 
3118
 
 
3119
if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
 
3120
  { { echo "$as_me:$LINENO: error: conditional \"CYGWIN\" was never defined.
 
3121
Usually this means the macro was only invoked conditionally." >&5
 
3122
echo "$as_me: error: conditional \"CYGWIN\" was never defined.
 
3123
Usually this means the macro was only invoked conditionally." >&2;}
 
3124
   { (exit 1); exit 1; }; }
 
3125
fi
 
3126
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
3127
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
3128
Usually this means the macro was only invoked conditionally." >&5
 
3129
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
3130
Usually this means the macro was only invoked conditionally." >&2;}
 
3131
   { (exit 1); exit 1; }; }
 
3132
fi
 
3133
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
3134
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
3135
Usually this means the macro was only invoked conditionally." >&5
 
3136
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
3137
Usually this means the macro was only invoked conditionally." >&2;}
 
3138
   { (exit 1); exit 1; }; }
 
3139
fi
 
3140
 
 
3141
: ${CONFIG_STATUS=./config.status}
 
3142
ac_clean_files_save=$ac_clean_files
 
3143
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
3144
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
3145
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
3146
cat >$CONFIG_STATUS <<_ACEOF
 
3147
#! $SHELL
 
3148
# Generated by $as_me.
 
3149
# Run this file to recreate the current configuration.
 
3150
# Compiler output produced by configure, useful for debugging
 
3151
# configure, is in config.log if it exists.
 
3152
 
 
3153
debug=false
 
3154
ac_cs_recheck=false
 
3155
ac_cs_silent=false
 
3156
SHELL=\${CONFIG_SHELL-$SHELL}
 
3157
_ACEOF
 
3158
 
 
3159
cat >>$CONFIG_STATUS <<\_ACEOF
 
3160
## --------------------- ##
 
3161
## M4sh Initialization.  ##
 
3162
## --------------------- ##
 
3163
 
 
3164
# Be Bourne compatible
 
3165
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
3166
  emulate sh
 
3167
  NULLCMD=:
 
3168
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
3169
  # is contrary to our usage.  Disable this feature.
 
3170
  alias -g '${1+"$@"}'='"$@"'
 
3171
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
3172
  set -o posix
 
3173
fi
 
3174
DUALCASE=1; export DUALCASE # for MKS sh
 
3175
 
 
3176
# Support unset when possible.
 
3177
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
3178
  as_unset=unset
 
3179
else
 
3180
  as_unset=false
 
3181
fi
 
3182
 
 
3183
 
 
3184
# Work around bugs in pre-3.0 UWIN ksh.
 
3185
$as_unset ENV MAIL MAILPATH
 
3186
PS1='$ '
 
3187
PS2='> '
 
3188
PS4='+ '
 
3189
 
 
3190
# NLS nuisances.
 
3191
for as_var in \
 
3192
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
3193
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
3194
  LC_TELEPHONE LC_TIME
 
3195
do
 
3196
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3197
    eval $as_var=C; export $as_var
 
3198
  else
 
3199
    $as_unset $as_var
 
3200
  fi
 
3201
done
 
3202
 
 
3203
# Required to use basename.
 
3204
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3205
  as_expr=expr
 
3206
else
 
3207
  as_expr=false
 
3208
fi
 
3209
 
 
3210
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
3211
  as_basename=basename
 
3212
else
 
3213
  as_basename=false
 
3214
fi
 
3215
 
 
3216
 
 
3217
# Name of the executable.
 
3218
as_me=`$as_basename "$0" ||
 
3219
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
3220
         X"$0" : 'X\(//\)$' \| \
 
3221
         X"$0" : 'X\(/\)$' \| \
 
3222
         .     : '\(.\)' 2>/dev/null ||
 
3223
echo X/"$0" |
 
3224
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
3225
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
3226
          /^X\/\(\/\).*/{ s//\1/; q; }
 
3227
          s/.*/./; q'`
 
3228
 
 
3229
 
 
3230
# PATH needs CR, and LINENO needs CR and PATH.
 
3231
# Avoid depending upon Character Ranges.
 
3232
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3233
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3234
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3235
as_cr_digits='0123456789'
 
3236
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3237
 
 
3238
# The user is always right.
 
3239
if test "${PATH_SEPARATOR+set}" != set; then
 
3240
  echo "#! /bin/sh" >conf$$.sh
 
3241
  echo  "exit 0"   >>conf$$.sh
 
3242
  chmod +x conf$$.sh
 
3243
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3244
    PATH_SEPARATOR=';'
 
3245
  else
 
3246
    PATH_SEPARATOR=:
 
3247
  fi
 
3248
  rm -f conf$$.sh
 
3249
fi
 
3250
 
 
3251
 
 
3252
  as_lineno_1=$LINENO
 
3253
  as_lineno_2=$LINENO
 
3254
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3255
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3256
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
3257
  # Find who we are.  Look in the path if we contain no path at all
 
3258
  # relative or not.
 
3259
  case $0 in
 
3260
    *[\\/]* ) as_myself=$0 ;;
 
3261
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3262
for as_dir in $PATH
 
3263
do
 
3264
  IFS=$as_save_IFS
 
3265
  test -z "$as_dir" && as_dir=.
 
3266
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3267
done
 
3268
 
 
3269
       ;;
 
3270
  esac
 
3271
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
3272
  # in which case we are not to be found in the path.
 
3273
  if test "x$as_myself" = x; then
 
3274
    as_myself=$0
 
3275
  fi
 
3276
  if test ! -f "$as_myself"; then
 
3277
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
3278
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
3279
   { (exit 1); exit 1; }; }
 
3280
  fi
 
3281
  case $CONFIG_SHELL in
 
3282
  '')
 
3283
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3284
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
3285
do
 
3286
  IFS=$as_save_IFS
 
3287
  test -z "$as_dir" && as_dir=.
 
3288
  for as_base in sh bash ksh sh5; do
 
3289
         case $as_dir in
 
3290
         /*)
 
3291
           if ("$as_dir/$as_base" -c '
 
3292
  as_lineno_1=$LINENO
 
3293
  as_lineno_2=$LINENO
 
3294
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
3295
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
3296
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
3297
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
3298
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
3299
             CONFIG_SHELL=$as_dir/$as_base
 
3300
             export CONFIG_SHELL
 
3301
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
3302
           fi;;
 
3303
         esac
 
3304
       done
 
3305
done
 
3306
;;
 
3307
  esac
 
3308
 
 
3309
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
3310
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
3311
  # line-number line before each line; the second 'sed' does the real
 
3312
  # work.  The second script uses 'N' to pair each line-number line
 
3313
  # with the numbered line, and appends trailing '-' during
 
3314
  # substitution so that $LINENO is not a special case at line end.
 
3315
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
3316
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
3317
  sed '=' <$as_myself |
 
3318
    sed '
 
3319
      N
 
3320
      s,$,-,
 
3321
      : loop
 
3322
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
3323
      t loop
 
3324
      s,-$,,
 
3325
      s,^['$as_cr_digits']*\n,,
 
3326
    ' >$as_me.lineno &&
 
3327
  chmod +x $as_me.lineno ||
 
3328
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
3329
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
3330
   { (exit 1); exit 1; }; }
 
3331
 
 
3332
  # Don't try to exec as it changes $[0], causing all sort of problems
 
3333
  # (the dirname of $[0] is not the place where we might find the
 
3334
  # original and so on.  Autoconf is especially sensible to this).
 
3335
  . ./$as_me.lineno
 
3336
  # Exit status is that of the last command.
 
3337
  exit
 
3338
}
 
3339
 
 
3340
 
 
3341
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
3342
  *c*,-n*) ECHO_N= ECHO_C='
 
3343
' ECHO_T='      ' ;;
 
3344
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
3345
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
3346
esac
 
3347
 
 
3348
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3349
  as_expr=expr
 
3350
else
 
3351
  as_expr=false
 
3352
fi
 
3353
 
 
3354
rm -f conf$$ conf$$.exe conf$$.file
 
3355
echo >conf$$.file
 
3356
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
3357
  # We could just check for DJGPP; but this test a) works b) is more generic
 
3358
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
3359
  if test -f conf$$.exe; then
 
3360
    # Don't use ln at all; we don't have any links
 
3361
    as_ln_s='cp -p'
 
3362
  else
 
3363
    as_ln_s='ln -s'
 
3364
  fi
 
3365
elif ln conf$$.file conf$$ 2>/dev/null; then
 
3366
  as_ln_s=ln
 
3367
else
 
3368
  as_ln_s='cp -p'
 
3369
fi
 
3370
rm -f conf$$ conf$$.exe conf$$.file
 
3371
 
 
3372
if mkdir -p . 2>/dev/null; then
 
3373
  as_mkdir_p=:
 
3374
else
 
3375
  test -d ./-p && rmdir ./-p
 
3376
  as_mkdir_p=false
 
3377
fi
 
3378
 
 
3379
as_executable_p="test -f"
 
3380
 
 
3381
# Sed expression to map a string onto a valid CPP name.
 
3382
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
3383
 
 
3384
# Sed expression to map a string onto a valid variable name.
 
3385
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
3386
 
 
3387
 
 
3388
# IFS
 
3389
# We need space, tab and new line, in precisely that order.
 
3390
as_nl='
 
3391
'
 
3392
IFS="   $as_nl"
 
3393
 
 
3394
# CDPATH.
 
3395
$as_unset CDPATH
 
3396
 
 
3397
exec 6>&1
 
3398
 
 
3399
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
3400
# report actual input values of CONFIG_FILES etc. instead of their
 
3401
# values after options handling.  Logging --version etc. is OK.
 
3402
exec 5>>config.log
 
3403
{
 
3404
  echo
 
3405
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3406
## Running $as_me. ##
 
3407
_ASBOX
 
3408
} >&5
 
3409
cat >&5 <<_CSEOF
 
3410
 
 
3411
This file was extended by inform $as_me 6.31.1, which was
 
3412
generated by GNU Autoconf 2.59.  Invocation command line was
 
3413
 
 
3414
  CONFIG_FILES    = $CONFIG_FILES
 
3415
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
3416
  CONFIG_LINKS    = $CONFIG_LINKS
 
3417
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
3418
  $ $0 $@
 
3419
 
 
3420
_CSEOF
 
3421
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
3422
echo >&5
 
3423
_ACEOF
 
3424
 
 
3425
# Files that config.status was made for.
 
3426
if test -n "$ac_config_files"; then
 
3427
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
3428
fi
 
3429
 
 
3430
if test -n "$ac_config_headers"; then
 
3431
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
3432
fi
 
3433
 
 
3434
if test -n "$ac_config_links"; then
 
3435
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
3436
fi
 
3437
 
 
3438
if test -n "$ac_config_commands"; then
 
3439
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
3440
fi
 
3441
 
 
3442
cat >>$CONFIG_STATUS <<\_ACEOF
 
3443
 
 
3444
ac_cs_usage="\
 
3445
\`$as_me' instantiates files from templates according to the
 
3446
current configuration.
 
3447
 
 
3448
Usage: $0 [OPTIONS] [FILE]...
 
3449
 
 
3450
  -h, --help       print this help, then exit
 
3451
  -V, --version    print version number, then exit
 
3452
  -q, --quiet      do not print progress messages
 
3453
  -d, --debug      don't remove temporary files
 
3454
      --recheck    update $as_me by reconfiguring in the same conditions
 
3455
  --file=FILE[:TEMPLATE]
 
3456
                   instantiate the configuration file FILE
 
3457
 
 
3458
Configuration files:
 
3459
$config_files
 
3460
 
 
3461
Configuration commands:
 
3462
$config_commands
 
3463
 
 
3464
Report bugs to <bug-autoconf@gnu.org>."
 
3465
_ACEOF
 
3466
 
 
3467
cat >>$CONFIG_STATUS <<_ACEOF
 
3468
ac_cs_version="\\
 
3469
inform config.status 6.31.1
 
3470
configured by $0, generated by GNU Autoconf 2.59,
 
3471
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
3472
 
 
3473
Copyright (C) 2003 Free Software Foundation, Inc.
 
3474
This config.status script is free software; the Free Software Foundation
 
3475
gives unlimited permission to copy, distribute and modify it."
 
3476
srcdir=$srcdir
 
3477
INSTALL="$INSTALL"
 
3478
_ACEOF
 
3479
 
 
3480
cat >>$CONFIG_STATUS <<\_ACEOF
 
3481
# If no file are specified by the user, then we need to provide default
 
3482
# value.  By we need to know if files were specified by the user.
 
3483
ac_need_defaults=:
 
3484
while test $# != 0
 
3485
do
 
3486
  case $1 in
 
3487
  --*=*)
 
3488
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
3489
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
3490
    ac_shift=:
 
3491
    ;;
 
3492
  -*)
 
3493
    ac_option=$1
 
3494
    ac_optarg=$2
 
3495
    ac_shift=shift
 
3496
    ;;
 
3497
  *) # This is not an option, so the user has probably given explicit
 
3498
     # arguments.
 
3499
     ac_option=$1
 
3500
     ac_need_defaults=false;;
 
3501
  esac
 
3502
 
 
3503
  case $ac_option in
 
3504
  # Handling of the options.
 
3505
_ACEOF
 
3506
cat >>$CONFIG_STATUS <<\_ACEOF
 
3507
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
3508
    ac_cs_recheck=: ;;
 
3509
  --version | --vers* | -V )
 
3510
    echo "$ac_cs_version"; exit 0 ;;
 
3511
  --he | --h)
 
3512
    # Conflict between --help and --header
 
3513
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
3514
Try \`$0 --help' for more information." >&5
 
3515
echo "$as_me: error: ambiguous option: $1
 
3516
Try \`$0 --help' for more information." >&2;}
 
3517
   { (exit 1); exit 1; }; };;
 
3518
  --help | --hel | -h )
 
3519
    echo "$ac_cs_usage"; exit 0 ;;
 
3520
  --debug | --d* | -d )
 
3521
    debug=: ;;
 
3522
  --file | --fil | --fi | --f )
 
3523
    $ac_shift
 
3524
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3525
    ac_need_defaults=false;;
 
3526
  --header | --heade | --head | --hea )
 
3527
    $ac_shift
 
3528
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
3529
    ac_need_defaults=false;;
 
3530
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
3531
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
3532
    ac_cs_silent=: ;;
 
3533
 
 
3534
  # This is an error.
 
3535
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
3536
Try \`$0 --help' for more information." >&5
 
3537
echo "$as_me: error: unrecognized option: $1
 
3538
Try \`$0 --help' for more information." >&2;}
 
3539
   { (exit 1); exit 1; }; } ;;
 
3540
 
 
3541
  *) ac_config_targets="$ac_config_targets $1" ;;
 
3542
 
 
3543
  esac
 
3544
  shift
 
3545
done
 
3546
 
 
3547
ac_configure_extra_args=
 
3548
 
 
3549
if $ac_cs_silent; then
 
3550
  exec 6>/dev/null
 
3551
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3552
fi
 
3553
 
 
3554
_ACEOF
 
3555
cat >>$CONFIG_STATUS <<_ACEOF
 
3556
if \$ac_cs_recheck; then
 
3557
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
3558
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3559
fi
 
3560
 
 
3561
_ACEOF
 
3562
 
 
3563
cat >>$CONFIG_STATUS <<_ACEOF
 
3564
#
 
3565
# INIT-COMMANDS section.
 
3566
#
 
3567
 
 
3568
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
3569
 
 
3570
_ACEOF
 
3571
 
 
3572
 
 
3573
 
 
3574
cat >>$CONFIG_STATUS <<\_ACEOF
 
3575
for ac_config_target in $ac_config_targets
 
3576
do
 
3577
  case "$ac_config_target" in
 
3578
  # Handling of arguments.
 
3579
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3580
  "demos/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
 
3581
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
3582
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
3583
  "manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES manual/Makefile" ;;
 
3584
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
3585
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
3586
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
3587
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
3588
   { (exit 1); exit 1; }; };;
 
3589
  esac
 
3590
done
 
3591
 
 
3592
# If the user did not use the arguments to specify the items to instantiate,
 
3593
# then the envvar interface is used.  Set only those that are not.
 
3594
# We use the long form for the default assignment because of an extremely
 
3595
# bizarre bug on SunOS 4.1.3.
 
3596
if $ac_need_defaults; then
 
3597
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
3598
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
3599
fi
 
3600
 
 
3601
# Have a temporary directory for convenience.  Make it in the build tree
 
3602
# simply because there is no reason to put it here, and in addition,
 
3603
# creating and moving files from /tmp can sometimes cause problems.
 
3604
# Create a temporary directory, and hook for its removal unless debugging.
 
3605
$debug ||
 
3606
{
 
3607
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
3608
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
3609
}
 
3610
 
 
3611
# Create a (secure) tmp directory for tmp files.
 
3612
 
 
3613
{
 
3614
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
3615
  test -n "$tmp" && test -d "$tmp"
 
3616
}  ||
 
3617
{
 
3618
  tmp=./confstat$$-$RANDOM
 
3619
  (umask 077 && mkdir $tmp)
 
3620
} ||
 
3621
{
 
3622
   echo "$me: cannot create a temporary directory in ." >&2
 
3623
   { (exit 1); exit 1; }
 
3624
}
 
3625
 
 
3626
_ACEOF
 
3627
 
 
3628
cat >>$CONFIG_STATUS <<_ACEOF
 
3629
 
 
3630
#
 
3631
# CONFIG_FILES section.
 
3632
#
 
3633
 
 
3634
# No need to generate the scripts if there are no CONFIG_FILES.
 
3635
# This happens for instance when ./config.status config.h
 
3636
if test -n "\$CONFIG_FILES"; then
 
3637
  # Protect against being on the right side of a sed subst in config.status.
 
3638
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
3639
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
3640
s,@SHELL@,$SHELL,;t t
 
3641
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
3642
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
3643
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
3644
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
3645
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
3646
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
3647
s,@exec_prefix@,$exec_prefix,;t t
 
3648
s,@prefix@,$prefix,;t t
 
3649
s,@program_transform_name@,$program_transform_name,;t t
 
3650
s,@bindir@,$bindir,;t t
 
3651
s,@sbindir@,$sbindir,;t t
 
3652
s,@libexecdir@,$libexecdir,;t t
 
3653
s,@datadir@,$datadir,;t t
 
3654
s,@sysconfdir@,$sysconfdir,;t t
 
3655
s,@sharedstatedir@,$sharedstatedir,;t t
 
3656
s,@localstatedir@,$localstatedir,;t t
 
3657
s,@libdir@,$libdir,;t t
 
3658
s,@includedir@,$includedir,;t t
 
3659
s,@oldincludedir@,$oldincludedir,;t t
 
3660
s,@infodir@,$infodir,;t t
 
3661
s,@mandir@,$mandir,;t t
 
3662
s,@build_alias@,$build_alias,;t t
 
3663
s,@host_alias@,$host_alias,;t t
 
3664
s,@target_alias@,$target_alias,;t t
 
3665
s,@DEFS@,$DEFS,;t t
 
3666
s,@ECHO_C@,$ECHO_C,;t t
 
3667
s,@ECHO_N@,$ECHO_N,;t t
 
3668
s,@ECHO_T@,$ECHO_T,;t t
 
3669
s,@LIBS@,$LIBS,;t t
 
3670
s,@INFORM_VERSION@,$INFORM_VERSION,;t t
 
3671
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
3672
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
3673
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
3674
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
3675
s,@PACKAGE@,$PACKAGE,;t t
 
3676
s,@VERSION@,$VERSION,;t t
 
3677
s,@ACLOCAL@,$ACLOCAL,;t t
 
3678
s,@AUTOCONF@,$AUTOCONF,;t t
 
3679
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
3680
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
3681
s,@MAKEINFO@,$MAKEINFO,;t t
 
3682
s,@install_sh@,$install_sh,;t t
 
3683
s,@STRIP@,$STRIP,;t t
 
3684
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
3685
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
3686
s,@mkdir_p@,$mkdir_p,;t t
 
3687
s,@AWK@,$AWK,;t t
 
3688
s,@SET_MAKE@,$SET_MAKE,;t t
 
3689
s,@am__leading_dot@,$am__leading_dot,;t t
 
3690
s,@AMTAR@,$AMTAR,;t t
 
3691
s,@am__tar@,$am__tar,;t t
 
3692
s,@am__untar@,$am__untar,;t t
 
3693
s,@build@,$build,;t t
 
3694
s,@build_cpu@,$build_cpu,;t t
 
3695
s,@build_vendor@,$build_vendor,;t t
 
3696
s,@build_os@,$build_os,;t t
 
3697
s,@host@,$host,;t t
 
3698
s,@host_cpu@,$host_cpu,;t t
 
3699
s,@host_vendor@,$host_vendor,;t t
 
3700
s,@host_os@,$host_os,;t t
 
3701
s,@CYGWIN_TRUE@,$CYGWIN_TRUE,;t t
 
3702
s,@CYGWIN_FALSE@,$CYGWIN_FALSE,;t t
 
3703
s,@HOST@,$HOST,;t t
 
3704
s,@CC@,$CC,;t t
 
3705
s,@CFLAGS@,$CFLAGS,;t t
 
3706
s,@LDFLAGS@,$LDFLAGS,;t t
 
3707
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
3708
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
3709
s,@EXEEXT@,$EXEEXT,;t t
 
3710
s,@OBJEXT@,$OBJEXT,;t t
 
3711
s,@DEPDIR@,$DEPDIR,;t t
 
3712
s,@am__include@,$am__include,;t t
 
3713
s,@am__quote@,$am__quote,;t t
 
3714
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
3715
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
3716
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
3717
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
3718
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
3719
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
3720
s,@LN_S@,$LN_S,;t t
 
3721
s,@LIBOBJS@,$LIBOBJS,;t t
 
3722
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
3723
/@make_include@/r $make_include
 
3724
s,@make_include@,,;t t
 
3725
CEOF
 
3726
 
 
3727
_ACEOF
 
3728
 
 
3729
  cat >>$CONFIG_STATUS <<\_ACEOF
 
3730
  # Split the substitutions into bite-sized pieces for seds with
 
3731
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
3732
  ac_max_sed_lines=48
 
3733
  ac_sed_frag=1 # Number of current file.
 
3734
  ac_beg=1 # First line for current file.
 
3735
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
3736
  ac_more_lines=:
 
3737
  ac_sed_cmds=
 
3738
  while $ac_more_lines; do
 
3739
    if test $ac_beg -gt 1; then
 
3740
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3741
    else
 
3742
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3743
    fi
 
3744
    if test ! -s $tmp/subs.frag; then
 
3745
      ac_more_lines=false
 
3746
    else
 
3747
      # The purpose of the label and of the branching condition is to
 
3748
      # speed up the sed processing (if there are no `@' at all, there
 
3749
      # is no need to browse any of the substitutions).
 
3750
      # These are the two extra sed commands mentioned above.
 
3751
      (echo ':t
 
3752
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
3753
      if test -z "$ac_sed_cmds"; then
 
3754
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
3755
      else
 
3756
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3757
      fi
 
3758
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
3759
      ac_beg=$ac_end
 
3760
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
3761
    fi
 
3762
  done
 
3763
  if test -z "$ac_sed_cmds"; then
 
3764
    ac_sed_cmds=cat
 
3765
  fi
 
3766
fi # test -n "$CONFIG_FILES"
 
3767
 
 
3768
_ACEOF
 
3769
cat >>$CONFIG_STATUS <<\_ACEOF
 
3770
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
3771
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
3772
  case $ac_file in
 
3773
  - | *:- | *:-:* ) # input from stdin
 
3774
        cat >$tmp/stdin
 
3775
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3776
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3777
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3778
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3779
  * )   ac_file_in=$ac_file.in ;;
 
3780
  esac
 
3781
 
 
3782
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
3783
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
3784
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3785
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
3786
         X"$ac_file" : 'X\(//\)$' \| \
 
3787
         X"$ac_file" : 'X\(/\)' \| \
 
3788
         .     : '\(.\)' 2>/dev/null ||
 
3789
echo X"$ac_file" |
 
3790
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3791
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3792
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3793
          /^X\(\/\).*/{ s//\1/; q; }
 
3794
          s/.*/./; q'`
 
3795
  { if $as_mkdir_p; then
 
3796
    mkdir -p "$ac_dir"
 
3797
  else
 
3798
    as_dir="$ac_dir"
 
3799
    as_dirs=
 
3800
    while test ! -d "$as_dir"; do
 
3801
      as_dirs="$as_dir $as_dirs"
 
3802
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3803
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3804
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3805
         X"$as_dir" : 'X\(//\)$' \| \
 
3806
         X"$as_dir" : 'X\(/\)' \| \
 
3807
         .     : '\(.\)' 2>/dev/null ||
 
3808
echo X"$as_dir" |
 
3809
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3810
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3811
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3812
          /^X\(\/\).*/{ s//\1/; q; }
 
3813
          s/.*/./; q'`
 
3814
    done
 
3815
    test ! -n "$as_dirs" || mkdir $as_dirs
 
3816
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
3817
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
3818
   { (exit 1); exit 1; }; }; }
 
3819
 
 
3820
  ac_builddir=.
 
3821
 
 
3822
if test "$ac_dir" != .; then
 
3823
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
3824
  # A "../" for each directory in $ac_dir_suffix.
 
3825
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
3826
else
 
3827
  ac_dir_suffix= ac_top_builddir=
 
3828
fi
 
3829
 
 
3830
case $srcdir in
 
3831
  .)  # No --srcdir option.  We are building in place.
 
3832
    ac_srcdir=.
 
3833
    if test -z "$ac_top_builddir"; then
 
3834
       ac_top_srcdir=.
 
3835
    else
 
3836
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
3837
    fi ;;
 
3838
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
3839
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3840
    ac_top_srcdir=$srcdir ;;
 
3841
  *) # Relative path.
 
3842
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
3843
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
3844
esac
 
3845
 
 
3846
# Do not use `cd foo && pwd` to compute absolute paths, because
 
3847
# the directories may not exist.
 
3848
case `pwd` in
 
3849
.) ac_abs_builddir="$ac_dir";;
 
3850
*)
 
3851
  case "$ac_dir" in
 
3852
  .) ac_abs_builddir=`pwd`;;
 
3853
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
3854
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
3855
  esac;;
 
3856
esac
 
3857
case $ac_abs_builddir in
 
3858
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3859
*)
 
3860
  case ${ac_top_builddir}. in
 
3861
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
3862
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3863
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
3864
  esac;;
 
3865
esac
 
3866
case $ac_abs_builddir in
 
3867
.) ac_abs_srcdir=$ac_srcdir;;
 
3868
*)
 
3869
  case $ac_srcdir in
 
3870
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
3871
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
3872
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
3873
  esac;;
 
3874
esac
 
3875
case $ac_abs_builddir in
 
3876
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3877
*)
 
3878
  case $ac_top_srcdir in
 
3879
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
3880
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3881
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
3882
  esac;;
 
3883
esac
 
3884
 
 
3885
 
 
3886
  case $INSTALL in
 
3887
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
3888
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
3889
  esac
 
3890
 
 
3891
  if test x"$ac_file" != x-; then
 
3892
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
3893
echo "$as_me: creating $ac_file" >&6;}
 
3894
    rm -f "$ac_file"
 
3895
  fi
 
3896
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
3897
  # use $as_me), people would be surprised to read:
 
3898
  #    /* config.h.  Generated by config.status.  */
 
3899
  if test x"$ac_file" = x-; then
 
3900
    configure_input=
 
3901
  else
 
3902
    configure_input="$ac_file.  "
 
3903
  fi
 
3904
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
3905
                                     sed 's,.*/,,'` by configure."
 
3906
 
 
3907
  # First look for the input files in the build tree, otherwise in the
 
3908
  # src tree.
 
3909
  ac_file_inputs=`IFS=:
 
3910
    for f in $ac_file_in; do
 
3911
      case $f in
 
3912
      -) echo $tmp/stdin ;;
 
3913
      [\\/$]*)
 
3914
         # Absolute (can't be DOS-style, as IFS=:)
 
3915
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3916
echo "$as_me: error: cannot find input file: $f" >&2;}
 
3917
   { (exit 1); exit 1; }; }
 
3918
         echo "$f";;
 
3919
      *) # Relative
 
3920
         if test -f "$f"; then
 
3921
           # Build tree
 
3922
           echo "$f"
 
3923
         elif test -f "$srcdir/$f"; then
 
3924
           # Source tree
 
3925
           echo "$srcdir/$f"
 
3926
         else
 
3927
           # /dev/null tree
 
3928
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3929
echo "$as_me: error: cannot find input file: $f" >&2;}
 
3930
   { (exit 1); exit 1; }; }
 
3931
         fi;;
 
3932
      esac
 
3933
    done` || { (exit 1); exit 1; }
 
3934
_ACEOF
 
3935
cat >>$CONFIG_STATUS <<_ACEOF
 
3936
  sed "$ac_vpsub
 
3937
$extrasub
 
3938
_ACEOF
 
3939
cat >>$CONFIG_STATUS <<\_ACEOF
 
3940
:t
 
3941
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
3942
s,@configure_input@,$configure_input,;t t
 
3943
s,@srcdir@,$ac_srcdir,;t t
 
3944
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
3945
s,@top_srcdir@,$ac_top_srcdir,;t t
 
3946
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
3947
s,@builddir@,$ac_builddir,;t t
 
3948
s,@abs_builddir@,$ac_abs_builddir,;t t
 
3949
s,@top_builddir@,$ac_top_builddir,;t t
 
3950
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
3951
s,@INSTALL@,$ac_INSTALL,;t t
 
3952
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
3953
  rm -f $tmp/stdin
 
3954
  if test x"$ac_file" != x-; then
 
3955
    mv $tmp/out $ac_file
 
3956
  else
 
3957
    cat $tmp/out
 
3958
    rm -f $tmp/out
 
3959
  fi
 
3960
 
 
3961
done
 
3962
_ACEOF
 
3963
cat >>$CONFIG_STATUS <<\_ACEOF
 
3964
 
 
3965
#
 
3966
# CONFIG_COMMANDS section.
 
3967
#
 
3968
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
3969
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
3970
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3971
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
3972
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3973
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
3974
         X"$ac_dest" : 'X\(//\)$' \| \
 
3975
         X"$ac_dest" : 'X\(/\)' \| \
 
3976
         .     : '\(.\)' 2>/dev/null ||
 
3977
echo X"$ac_dest" |
 
3978
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3979
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3980
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3981
          /^X\(\/\).*/{ s//\1/; q; }
 
3982
          s/.*/./; q'`
 
3983
  { if $as_mkdir_p; then
 
3984
    mkdir -p "$ac_dir"
 
3985
  else
 
3986
    as_dir="$ac_dir"
 
3987
    as_dirs=
 
3988
    while test ! -d "$as_dir"; do
 
3989
      as_dirs="$as_dir $as_dirs"
 
3990
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3991
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3992
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3993
         X"$as_dir" : 'X\(//\)$' \| \
 
3994
         X"$as_dir" : 'X\(/\)' \| \
 
3995
         .     : '\(.\)' 2>/dev/null ||
 
3996
echo X"$as_dir" |
 
3997
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3998
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3999
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4000
          /^X\(\/\).*/{ s//\1/; q; }
 
4001
          s/.*/./; q'`
 
4002
    done
 
4003
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4004
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4005
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4006
   { (exit 1); exit 1; }; }; }
 
4007
 
 
4008
  ac_builddir=.
 
4009
 
 
4010
if test "$ac_dir" != .; then
 
4011
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
4012
  # A "../" for each directory in $ac_dir_suffix.
 
4013
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
4014
else
 
4015
  ac_dir_suffix= ac_top_builddir=
 
4016
fi
 
4017
 
 
4018
case $srcdir in
 
4019
  .)  # No --srcdir option.  We are building in place.
 
4020
    ac_srcdir=.
 
4021
    if test -z "$ac_top_builddir"; then
 
4022
       ac_top_srcdir=.
 
4023
    else
 
4024
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
4025
    fi ;;
 
4026
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4027
    ac_srcdir=$srcdir$ac_dir_suffix;
 
4028
    ac_top_srcdir=$srcdir ;;
 
4029
  *) # Relative path.
 
4030
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
4031
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
4032
esac
 
4033
 
 
4034
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4035
# the directories may not exist.
 
4036
case `pwd` in
 
4037
.) ac_abs_builddir="$ac_dir";;
 
4038
*)
 
4039
  case "$ac_dir" in
 
4040
  .) ac_abs_builddir=`pwd`;;
 
4041
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4042
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4043
  esac;;
 
4044
esac
 
4045
case $ac_abs_builddir in
 
4046
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4047
*)
 
4048
  case ${ac_top_builddir}. in
 
4049
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4050
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4051
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4052
  esac;;
 
4053
esac
 
4054
case $ac_abs_builddir in
 
4055
.) ac_abs_srcdir=$ac_srcdir;;
 
4056
*)
 
4057
  case $ac_srcdir in
 
4058
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4059
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4060
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4061
  esac;;
 
4062
esac
 
4063
case $ac_abs_builddir in
 
4064
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4065
*)
 
4066
  case $ac_top_srcdir in
 
4067
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4068
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4069
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4070
  esac;;
 
4071
esac
 
4072
 
 
4073
 
 
4074
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
4075
echo "$as_me: executing $ac_dest commands" >&6;}
 
4076
  case $ac_dest in
 
4077
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
4078
  # Strip MF so we end up with the name of the file.
 
4079
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
4080
  # Check whether this is an Automake generated Makefile or not.
 
4081
  # We used to match only the files named `Makefile.in', but
 
4082
  # some people rename them; so instead we look at the file content.
 
4083
  # Grep'ing the first line is not enough: some people post-process
 
4084
  # each Makefile.in and add a new line on top of each file to say so.
 
4085
  # So let's grep whole file.
 
4086
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
4087
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
4088
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4089
         X"$mf" : 'X\(//\)[^/]' \| \
 
4090
         X"$mf" : 'X\(//\)$' \| \
 
4091
         X"$mf" : 'X\(/\)' \| \
 
4092
         .     : '\(.\)' 2>/dev/null ||
 
4093
echo X"$mf" |
 
4094
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4095
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4096
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4097
          /^X\(\/\).*/{ s//\1/; q; }
 
4098
          s/.*/./; q'`
 
4099
  else
 
4100
    continue
 
4101
  fi
 
4102
  # Extract the definition of DEPDIR, am__include, and am__quote
 
4103
  # from the Makefile without running `make'.
 
4104
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
4105
  test -z "$DEPDIR" && continue
 
4106
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
4107
  test -z "am__include" && continue
 
4108
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
4109
  # When using ansi2knr, U may be empty or an underscore; expand it
 
4110
  U=`sed -n 's/^U = //p' < "$mf"`
 
4111
  # Find all dependency output files, they are included files with
 
4112
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
4113
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
4114
  # expansion.
 
4115
  for file in `sed -n "
 
4116
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
4117
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
4118
    # Make sure the directory exists.
 
4119
    test -f "$dirpart/$file" && continue
 
4120
    fdir=`(dirname "$file") 2>/dev/null ||
 
4121
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4122
         X"$file" : 'X\(//\)[^/]' \| \
 
4123
         X"$file" : 'X\(//\)$' \| \
 
4124
         X"$file" : 'X\(/\)' \| \
 
4125
         .     : '\(.\)' 2>/dev/null ||
 
4126
echo X"$file" |
 
4127
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4128
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4129
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4130
          /^X\(\/\).*/{ s//\1/; q; }
 
4131
          s/.*/./; q'`
 
4132
    { if $as_mkdir_p; then
 
4133
    mkdir -p $dirpart/$fdir
 
4134
  else
 
4135
    as_dir=$dirpart/$fdir
 
4136
    as_dirs=
 
4137
    while test ! -d "$as_dir"; do
 
4138
      as_dirs="$as_dir $as_dirs"
 
4139
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4140
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4141
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4142
         X"$as_dir" : 'X\(//\)$' \| \
 
4143
         X"$as_dir" : 'X\(/\)' \| \
 
4144
         .     : '\(.\)' 2>/dev/null ||
 
4145
echo X"$as_dir" |
 
4146
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4147
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4148
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4149
          /^X\(\/\).*/{ s//\1/; q; }
 
4150
          s/.*/./; q'`
 
4151
    done
 
4152
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4153
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
4154
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
4155
   { (exit 1); exit 1; }; }; }
 
4156
 
 
4157
    # echo "creating $dirpart/$file"
 
4158
    echo '# dummy' > "$dirpart/$file"
 
4159
  done
 
4160
done
 
4161
 ;;
 
4162
  esac
 
4163
done
 
4164
_ACEOF
 
4165
 
 
4166
cat >>$CONFIG_STATUS <<\_ACEOF
 
4167
 
 
4168
{ (exit 0); exit 0; }
 
4169
_ACEOF
 
4170
chmod +x $CONFIG_STATUS
 
4171
ac_clean_files=$ac_clean_files_save
 
4172
 
 
4173
 
 
4174
# configure is writing to config.log, and then calls config.status.
 
4175
# config.status does its own redirection, appending to config.log.
 
4176
# Unfortunately, on DOS this fails, as config.log is still kept open
 
4177
# by configure, so config.status won't be able to write to it; its
 
4178
# output is simply discarded.  So we exec the FD to /dev/null,
 
4179
# effectively closing config.log, so it can be properly (re)opened and
 
4180
# appended to by config.status.  When coming back to configure, we
 
4181
# need to make the FD available again.
 
4182
if test "$no_create" != yes; then
 
4183
  ac_cs_success=:
 
4184
  ac_config_status_args=
 
4185
  test "$silent" = yes &&
 
4186
    ac_config_status_args="$ac_config_status_args --quiet"
 
4187
  exec 5>/dev/null
 
4188
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
4189
  exec 5>>config.log
 
4190
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
4191
  # would make configure fail if this is the last instruction.
 
4192
  $ac_cs_success || { (exit 1); exit 1; }
 
4193
fi
 
4194