~ubuntu-branches/ubuntu/precise/yagiuda/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Joop Stakenborg
  • Date: 2005-08-22 20:20:13 UTC
  • Revision ID: james.westby@ubuntu.com-20050822202013-mhhxp4xirdxrdfx1
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.57 for yagiuda 1.19.
 
4
#
 
5
# Report bugs to <david.kirkby@onetel.net>.
 
6
#
 
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
8
# Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be Bourne compatible
 
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
  emulate sh
 
18
  NULLCMD=:
 
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # is contrary to our usage.  Disable this feature.
 
21
  alias -g '${1+"$@"}'='"$@"'
 
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
23
  set -o posix
 
24
fi
 
25
 
 
26
# Support unset when possible.
 
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
28
  as_unset=unset
 
29
else
 
30
  as_unset=false
 
31
fi
 
32
 
 
33
 
 
34
# Work around bugs in pre-3.0 UWIN ksh.
 
35
$as_unset ENV MAIL MAILPATH
 
36
PS1='$ '
 
37
PS2='> '
 
38
PS4='+ '
 
39
 
 
40
# NLS nuisances.
 
41
for as_var in \
 
42
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
43
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
44
  LC_TELEPHONE LC_TIME
 
45
do
 
46
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
47
    eval $as_var=C; export $as_var
 
48
  else
 
49
    $as_unset $as_var
 
50
  fi
 
51
done
 
52
 
 
53
# Required to use basename.
 
54
if expr a : '\(a\)' >/dev/null 2>&1; then
 
55
  as_expr=expr
 
56
else
 
57
  as_expr=false
 
58
fi
 
59
 
 
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
61
  as_basename=basename
 
62
else
 
63
  as_basename=false
 
64
fi
 
65
 
 
66
 
 
67
# Name of the executable.
 
68
as_me=`$as_basename "$0" ||
 
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
70
         X"$0" : 'X\(//\)$' \| \
 
71
         X"$0" : 'X\(/\)$' \| \
 
72
         .     : '\(.\)' 2>/dev/null ||
 
73
echo X/"$0" |
 
74
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
75
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
76
          /^X\/\(\/\).*/{ s//\1/; q; }
 
77
          s/.*/./; q'`
 
78
 
 
79
 
 
80
# PATH needs CR, and LINENO needs CR and PATH.
 
81
# Avoid depending upon Character Ranges.
 
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
85
as_cr_digits='0123456789'
 
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
87
 
 
88
# The user is always right.
 
89
if test "${PATH_SEPARATOR+set}" != set; then
 
90
  echo "#! /bin/sh" >conf$$.sh
 
91
  echo  "exit 0"   >>conf$$.sh
 
92
  chmod +x conf$$.sh
 
93
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
94
    PATH_SEPARATOR=';'
 
95
  else
 
96
    PATH_SEPARATOR=:
 
97
  fi
 
98
  rm -f conf$$.sh
 
99
fi
 
100
 
 
101
 
 
102
  as_lineno_1=$LINENO
 
103
  as_lineno_2=$LINENO
 
104
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
105
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
106
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
107
  # Find who we are.  Look in the path if we contain no path at all
 
108
  # relative or not.
 
109
  case $0 in
 
110
    *[\\/]* ) as_myself=$0 ;;
 
111
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
112
for as_dir in $PATH
 
113
do
 
114
  IFS=$as_save_IFS
 
115
  test -z "$as_dir" && as_dir=.
 
116
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
117
done
 
118
 
 
119
       ;;
 
120
  esac
 
121
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
122
  # in which case we are not to be found in the path.
 
123
  if test "x$as_myself" = x; then
 
124
    as_myself=$0
 
125
  fi
 
126
  if test ! -f "$as_myself"; then
 
127
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
128
   { (exit 1); exit 1; }; }
 
129
  fi
 
130
  case $CONFIG_SHELL in
 
131
  '')
 
132
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
134
do
 
135
  IFS=$as_save_IFS
 
136
  test -z "$as_dir" && as_dir=.
 
137
  for as_base in sh bash ksh sh5; do
 
138
         case $as_dir in
 
139
         /*)
 
140
           if ("$as_dir/$as_base" -c '
 
141
  as_lineno_1=$LINENO
 
142
  as_lineno_2=$LINENO
 
143
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
144
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
145
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
146
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
147
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
148
             CONFIG_SHELL=$as_dir/$as_base
 
149
             export CONFIG_SHELL
 
150
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
151
           fi;;
 
152
         esac
 
153
       done
 
154
done
 
155
;;
 
156
  esac
 
157
 
 
158
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
159
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
160
  # line-number line before each line; the second 'sed' does the real
 
161
  # work.  The second script uses 'N' to pair each line-number line
 
162
  # with the numbered line, and appends trailing '-' during
 
163
  # substitution so that $LINENO is not a special case at line end.
 
164
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
165
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
166
  sed '=' <$as_myself |
 
167
    sed '
 
168
      N
 
169
      s,$,-,
 
170
      : loop
 
171
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
172
      t loop
 
173
      s,-$,,
 
174
      s,^['$as_cr_digits']*\n,,
 
175
    ' >$as_me.lineno &&
 
176
  chmod +x $as_me.lineno ||
 
177
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
178
   { (exit 1); exit 1; }; }
 
179
 
 
180
  # Don't try to exec as it changes $[0], causing all sort of problems
 
181
  # (the dirname of $[0] is not the place where we might find the
 
182
  # original and so on.  Autoconf is especially sensible to this).
 
183
  . ./$as_me.lineno
 
184
  # Exit status is that of the last command.
 
185
  exit
 
186
}
 
187
 
 
188
 
 
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
190
  *c*,-n*) ECHO_N= ECHO_C='
 
191
' ECHO_T='      ' ;;
 
192
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
193
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
194
esac
 
195
 
 
196
if expr a : '\(a\)' >/dev/null 2>&1; then
 
197
  as_expr=expr
 
198
else
 
199
  as_expr=false
 
200
fi
 
201
 
 
202
rm -f conf$$ conf$$.exe conf$$.file
 
203
echo >conf$$.file
 
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
205
  # We could just check for DJGPP; but this test a) works b) is more generic
 
206
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
207
  if test -f conf$$.exe; then
 
208
    # Don't use ln at all; we don't have any links
 
209
    as_ln_s='cp -p'
 
210
  else
 
211
    as_ln_s='ln -s'
 
212
  fi
 
213
elif ln conf$$.file conf$$ 2>/dev/null; then
 
214
  as_ln_s=ln
 
215
else
 
216
  as_ln_s='cp -p'
 
217
fi
 
218
rm -f conf$$ conf$$.exe conf$$.file
 
219
 
 
220
if mkdir -p . 2>/dev/null; then
 
221
  as_mkdir_p=:
 
222
else
 
223
  as_mkdir_p=false
 
224
fi
 
225
 
 
226
as_executable_p="test -f"
 
227
 
 
228
# Sed expression to map a string onto a valid CPP name.
 
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
230
 
 
231
# Sed expression to map a string onto a valid variable name.
 
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
233
 
 
234
 
 
235
# IFS
 
236
# We need space, tab and new line, in precisely that order.
 
237
as_nl='
 
238
'
 
239
IFS="   $as_nl"
 
240
 
 
241
# CDPATH.
 
242
$as_unset CDPATH
 
243
 
 
244
 
 
245
# Name of the host.
 
246
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
247
# so uname gets run too.
 
248
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
249
 
 
250
exec 6>&1
 
251
 
 
252
#
 
253
# Initializations.
 
254
#
 
255
ac_default_prefix=/usr/local
 
256
ac_config_libobj_dir=.
 
257
cross_compiling=no
 
258
subdirs=
 
259
MFLAGS=
 
260
MAKEFLAGS=
 
261
SHELL=${CONFIG_SHELL-/bin/sh}
 
262
 
 
263
# Maximum number of lines to put in a shell here document.
 
264
# This variable seems obsolete.  It should probably be removed, and
 
265
# only ac_max_sed_lines should be used.
 
266
: ${ac_max_here_lines=38}
 
267
 
 
268
# Identity of this package.
 
269
PACKAGE_NAME='yagiuda'
 
270
PACKAGE_TARNAME='yagiuda'
 
271
PACKAGE_VERSION='1.19'
 
272
PACKAGE_STRING='yagiuda 1.19'
 
273
PACKAGE_BUGREPORT='david.kirkby@onetel.net'
 
274
 
 
275
# Factoring default headers for most tests.
 
276
ac_includes_default="\
 
277
#include <stdio.h>
 
278
#if HAVE_SYS_TYPES_H
 
279
# include <sys/types.h>
 
280
#endif
 
281
#if HAVE_SYS_STAT_H
 
282
# include <sys/stat.h>
 
283
#endif
 
284
#if STDC_HEADERS
 
285
# include <stdlib.h>
 
286
# include <stddef.h>
 
287
#else
 
288
# if HAVE_STDLIB_H
 
289
#  include <stdlib.h>
 
290
# endif
 
291
#endif
 
292
#if HAVE_STRING_H
 
293
# if !STDC_HEADERS && HAVE_MEMORY_H
 
294
#  include <memory.h>
 
295
# endif
 
296
# include <string.h>
 
297
#endif
 
298
#if HAVE_STRINGS_H
 
299
# include <strings.h>
 
300
#endif
 
301
#if HAVE_INTTYPES_H
 
302
# include <inttypes.h>
 
303
#else
 
304
# if HAVE_STDINT_H
 
305
#  include <stdint.h>
 
306
# endif
 
307
#endif
 
308
#if HAVE_UNISTD_H
 
309
# include <unistd.h>
 
310
#endif"
 
311
 
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE 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 CPP EGREP ALLOCA LIBOBJS LTLIBOBJS'
 
313
ac_subst_files=''
 
314
 
 
315
# Initialize some variables set by options.
 
316
ac_init_help=
 
317
ac_init_version=false
 
318
# The variables have the same names as the options, with
 
319
# dashes changed to underlines.
 
320
cache_file=/dev/null
 
321
exec_prefix=NONE
 
322
no_create=
 
323
no_recursion=
 
324
prefix=NONE
 
325
program_prefix=NONE
 
326
program_suffix=NONE
 
327
program_transform_name=s,x,x,
 
328
silent=
 
329
site=
 
330
srcdir=
 
331
verbose=
 
332
x_includes=NONE
 
333
x_libraries=NONE
 
334
 
 
335
# Installation directory options.
 
336
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
337
# and all the variables that are supposed to be based on exec_prefix
 
338
# by default will actually change.
 
339
# Use braces instead of parens because sh, perl, etc. also accept them.
 
340
bindir='${exec_prefix}/bin'
 
341
sbindir='${exec_prefix}/sbin'
 
342
libexecdir='${exec_prefix}/libexec'
 
343
datadir='${prefix}/share'
 
344
sysconfdir='${prefix}/etc'
 
345
sharedstatedir='${prefix}/com'
 
346
localstatedir='${prefix}/var'
 
347
libdir='${exec_prefix}/lib'
 
348
includedir='${prefix}/include'
 
349
oldincludedir='/usr/include'
 
350
infodir='${prefix}/info'
 
351
mandir='${prefix}/man'
 
352
 
 
353
ac_prev=
 
354
for ac_option
 
355
do
 
356
  # If the previous option needs an argument, assign it.
 
357
  if test -n "$ac_prev"; then
 
358
    eval "$ac_prev=\$ac_option"
 
359
    ac_prev=
 
360
    continue
 
361
  fi
 
362
 
 
363
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
364
 
 
365
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
366
 
 
367
  case $ac_option in
 
368
 
 
369
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
370
    ac_prev=bindir ;;
 
371
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
372
    bindir=$ac_optarg ;;
 
373
 
 
374
  -build | --build | --buil | --bui | --bu)
 
375
    ac_prev=build_alias ;;
 
376
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
377
    build_alias=$ac_optarg ;;
 
378
 
 
379
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
380
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
381
    ac_prev=cache_file ;;
 
382
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
383
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
384
    cache_file=$ac_optarg ;;
 
385
 
 
386
  --config-cache | -C)
 
387
    cache_file=config.cache ;;
 
388
 
 
389
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
390
    ac_prev=datadir ;;
 
391
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
392
  | --da=*)
 
393
    datadir=$ac_optarg ;;
 
394
 
 
395
  -disable-* | --disable-*)
 
396
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
397
    # Reject names that are not valid shell variable names.
 
398
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
399
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
400
   { (exit 1); exit 1; }; }
 
401
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
402
    eval "enable_$ac_feature=no" ;;
 
403
 
 
404
  -enable-* | --enable-*)
 
405
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
406
    # Reject names that are not valid shell variable names.
 
407
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
408
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
409
   { (exit 1); exit 1; }; }
 
410
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
411
    case $ac_option in
 
412
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
413
      *) ac_optarg=yes ;;
 
414
    esac
 
415
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
416
 
 
417
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
418
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
419
  | --exec | --exe | --ex)
 
420
    ac_prev=exec_prefix ;;
 
421
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
422
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
423
  | --exec=* | --exe=* | --ex=*)
 
424
    exec_prefix=$ac_optarg ;;
 
425
 
 
426
  -gas | --gas | --ga | --g)
 
427
    # Obsolete; use --with-gas.
 
428
    with_gas=yes ;;
 
429
 
 
430
  -help | --help | --hel | --he | -h)
 
431
    ac_init_help=long ;;
 
432
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
433
    ac_init_help=recursive ;;
 
434
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
435
    ac_init_help=short ;;
 
436
 
 
437
  -host | --host | --hos | --ho)
 
438
    ac_prev=host_alias ;;
 
439
  -host=* | --host=* | --hos=* | --ho=*)
 
440
    host_alias=$ac_optarg ;;
 
441
 
 
442
  -includedir | --includedir | --includedi | --included | --include \
 
443
  | --includ | --inclu | --incl | --inc)
 
444
    ac_prev=includedir ;;
 
445
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
446
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
447
    includedir=$ac_optarg ;;
 
448
 
 
449
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
450
    ac_prev=infodir ;;
 
451
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
452
    infodir=$ac_optarg ;;
 
453
 
 
454
  -libdir | --libdir | --libdi | --libd)
 
455
    ac_prev=libdir ;;
 
456
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
457
    libdir=$ac_optarg ;;
 
458
 
 
459
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
460
  | --libexe | --libex | --libe)
 
461
    ac_prev=libexecdir ;;
 
462
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
463
  | --libexe=* | --libex=* | --libe=*)
 
464
    libexecdir=$ac_optarg ;;
 
465
 
 
466
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
467
  | --localstate | --localstat | --localsta | --localst \
 
468
  | --locals | --local | --loca | --loc | --lo)
 
469
    ac_prev=localstatedir ;;
 
470
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
471
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
472
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
473
    localstatedir=$ac_optarg ;;
 
474
 
 
475
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
476
    ac_prev=mandir ;;
 
477
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
478
    mandir=$ac_optarg ;;
 
479
 
 
480
  -nfp | --nfp | --nf)
 
481
    # Obsolete; use --without-fp.
 
482
    with_fp=no ;;
 
483
 
 
484
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
485
  | --no-cr | --no-c | -n)
 
486
    no_create=yes ;;
 
487
 
 
488
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
489
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
490
    no_recursion=yes ;;
 
491
 
 
492
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
493
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
494
  | --oldin | --oldi | --old | --ol | --o)
 
495
    ac_prev=oldincludedir ;;
 
496
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
497
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
498
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
499
    oldincludedir=$ac_optarg ;;
 
500
 
 
501
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
502
    ac_prev=prefix ;;
 
503
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
504
    prefix=$ac_optarg ;;
 
505
 
 
506
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
507
  | --program-pre | --program-pr | --program-p)
 
508
    ac_prev=program_prefix ;;
 
509
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
510
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
511
    program_prefix=$ac_optarg ;;
 
512
 
 
513
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
514
  | --program-suf | --program-su | --program-s)
 
515
    ac_prev=program_suffix ;;
 
516
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
517
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
518
    program_suffix=$ac_optarg ;;
 
519
 
 
520
  -program-transform-name | --program-transform-name \
 
521
  | --program-transform-nam | --program-transform-na \
 
522
  | --program-transform-n | --program-transform- \
 
523
  | --program-transform | --program-transfor \
 
524
  | --program-transfo | --program-transf \
 
525
  | --program-trans | --program-tran \
 
526
  | --progr-tra | --program-tr | --program-t)
 
527
    ac_prev=program_transform_name ;;
 
528
  -program-transform-name=* | --program-transform-name=* \
 
529
  | --program-transform-nam=* | --program-transform-na=* \
 
530
  | --program-transform-n=* | --program-transform-=* \
 
531
  | --program-transform=* | --program-transfor=* \
 
532
  | --program-transfo=* | --program-transf=* \
 
533
  | --program-trans=* | --program-tran=* \
 
534
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
535
    program_transform_name=$ac_optarg ;;
 
536
 
 
537
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
538
  | -silent | --silent | --silen | --sile | --sil)
 
539
    silent=yes ;;
 
540
 
 
541
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
542
    ac_prev=sbindir ;;
 
543
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
544
  | --sbi=* | --sb=*)
 
545
    sbindir=$ac_optarg ;;
 
546
 
 
547
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
548
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
549
  | --sharedst | --shareds | --shared | --share | --shar \
 
550
  | --sha | --sh)
 
551
    ac_prev=sharedstatedir ;;
 
552
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
553
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
554
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
555
  | --sha=* | --sh=*)
 
556
    sharedstatedir=$ac_optarg ;;
 
557
 
 
558
  -site | --site | --sit)
 
559
    ac_prev=site ;;
 
560
  -site=* | --site=* | --sit=*)
 
561
    site=$ac_optarg ;;
 
562
 
 
563
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
564
    ac_prev=srcdir ;;
 
565
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
566
    srcdir=$ac_optarg ;;
 
567
 
 
568
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
569
  | --syscon | --sysco | --sysc | --sys | --sy)
 
570
    ac_prev=sysconfdir ;;
 
571
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
572
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
573
    sysconfdir=$ac_optarg ;;
 
574
 
 
575
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
576
    ac_prev=target_alias ;;
 
577
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
578
    target_alias=$ac_optarg ;;
 
579
 
 
580
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
581
    verbose=yes ;;
 
582
 
 
583
  -version | --version | --versio | --versi | --vers | -V)
 
584
    ac_init_version=: ;;
 
585
 
 
586
  -with-* | --with-*)
 
587
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
588
    # Reject names that are not valid shell variable names.
 
589
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
590
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
591
   { (exit 1); exit 1; }; }
 
592
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
593
    case $ac_option in
 
594
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
595
      *) ac_optarg=yes ;;
 
596
    esac
 
597
    eval "with_$ac_package='$ac_optarg'" ;;
 
598
 
 
599
  -without-* | --without-*)
 
600
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
601
    # Reject names that are not valid shell variable names.
 
602
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
603
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
604
   { (exit 1); exit 1; }; }
 
605
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
606
    eval "with_$ac_package=no" ;;
 
607
 
 
608
  --x)
 
609
    # Obsolete; use --with-x.
 
610
    with_x=yes ;;
 
611
 
 
612
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
613
  | --x-incl | --x-inc | --x-in | --x-i)
 
614
    ac_prev=x_includes ;;
 
615
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
616
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
617
    x_includes=$ac_optarg ;;
 
618
 
 
619
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
620
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
621
    ac_prev=x_libraries ;;
 
622
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
623
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
624
    x_libraries=$ac_optarg ;;
 
625
 
 
626
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
627
Try \`$0 --help' for more information." >&2
 
628
   { (exit 1); exit 1; }; }
 
629
    ;;
 
630
 
 
631
  *=*)
 
632
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
633
    # Reject names that are not valid shell variable names.
 
634
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
635
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
636
   { (exit 1); exit 1; }; }
 
637
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
638
    eval "$ac_envvar='$ac_optarg'"
 
639
    export $ac_envvar ;;
 
640
 
 
641
  *)
 
642
    # FIXME: should be removed in autoconf 3.0.
 
643
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
644
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
645
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
646
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
647
    ;;
 
648
 
 
649
  esac
 
650
done
 
651
 
 
652
if test -n "$ac_prev"; then
 
653
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
654
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
655
   { (exit 1); exit 1; }; }
 
656
fi
 
657
 
 
658
# Be sure to have absolute paths.
 
659
for ac_var in exec_prefix prefix
 
660
do
 
661
  eval ac_val=$`echo $ac_var`
 
662
  case $ac_val in
 
663
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
664
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
665
   { (exit 1); exit 1; }; };;
 
666
  esac
 
667
done
 
668
 
 
669
# Be sure to have absolute paths.
 
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
 
672
do
 
673
  eval ac_val=$`echo $ac_var`
 
674
  case $ac_val in
 
675
    [\\/$]* | ?:[\\/]* ) ;;
 
676
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
677
   { (exit 1); exit 1; }; };;
 
678
  esac
 
679
done
 
680
 
 
681
# There might be people who depend on the old broken behavior: `$host'
 
682
# used to hold the argument of --host etc.
 
683
# FIXME: To remove some day.
 
684
build=$build_alias
 
685
host=$host_alias
 
686
target=$target_alias
 
687
 
 
688
# FIXME: To remove some day.
 
689
if test "x$host_alias" != x; then
 
690
  if test "x$build_alias" = x; then
 
691
    cross_compiling=maybe
 
692
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
693
    If a cross compiler is detected then cross compile mode will be used." >&2
 
694
  elif test "x$build_alias" != "x$host_alias"; then
 
695
    cross_compiling=yes
 
696
  fi
 
697
fi
 
698
 
 
699
ac_tool_prefix=
 
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
701
 
 
702
test "$silent" = yes && exec 6>/dev/null
 
703
 
 
704
 
 
705
# Find the source files, if location was not specified.
 
706
if test -z "$srcdir"; then
 
707
  ac_srcdir_defaulted=yes
 
708
  # Try the directory containing this script, then its parent.
 
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
 
715
echo X"$0" |
 
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
718
          /^X\(\/\/\)$/{ s//\1/; q; }
 
719
          /^X\(\/\).*/{ s//\1/; q; }
 
720
          s/.*/./; q'`
 
721
  srcdir=$ac_confdir
 
722
  if test ! -r $srcdir/$ac_unique_file; then
 
723
    srcdir=..
 
724
  fi
 
725
else
 
726
  ac_srcdir_defaulted=no
 
727
fi
 
728
if test ! -r $srcdir/$ac_unique_file; then
 
729
  if test "$ac_srcdir_defaulted" = yes; then
 
730
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
731
   { (exit 1); exit 1; }; }
 
732
  else
 
733
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
734
   { (exit 1); exit 1; }; }
 
735
  fi
 
736
fi
 
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
738
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
739
   { (exit 1); exit 1; }; }
 
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
741
ac_env_build_alias_set=${build_alias+set}
 
742
ac_env_build_alias_value=$build_alias
 
743
ac_cv_env_build_alias_set=${build_alias+set}
 
744
ac_cv_env_build_alias_value=$build_alias
 
745
ac_env_host_alias_set=${host_alias+set}
 
746
ac_env_host_alias_value=$host_alias
 
747
ac_cv_env_host_alias_set=${host_alias+set}
 
748
ac_cv_env_host_alias_value=$host_alias
 
749
ac_env_target_alias_set=${target_alias+set}
 
750
ac_env_target_alias_value=$target_alias
 
751
ac_cv_env_target_alias_set=${target_alias+set}
 
752
ac_cv_env_target_alias_value=$target_alias
 
753
ac_env_CC_set=${CC+set}
 
754
ac_env_CC_value=$CC
 
755
ac_cv_env_CC_set=${CC+set}
 
756
ac_cv_env_CC_value=$CC
 
757
ac_env_CFLAGS_set=${CFLAGS+set}
 
758
ac_env_CFLAGS_value=$CFLAGS
 
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
760
ac_cv_env_CFLAGS_value=$CFLAGS
 
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
762
ac_env_LDFLAGS_value=$LDFLAGS
 
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
766
ac_env_CPPFLAGS_value=$CPPFLAGS
 
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
769
ac_env_CPP_set=${CPP+set}
 
770
ac_env_CPP_value=$CPP
 
771
ac_cv_env_CPP_set=${CPP+set}
 
772
ac_cv_env_CPP_value=$CPP
 
773
 
 
774
#
 
775
# Report the --help message.
 
776
#
 
777
if test "$ac_init_help" = "long"; then
 
778
  # Omit some internal or obsolete options to make the list less imposing.
 
779
  # This message is too long to be a string in the A/UX 3.1 sh.
 
780
  cat <<_ACEOF
 
781
\`configure' configures yagiuda 1.19 to adapt to many kinds of systems.
 
782
 
 
783
Usage: $0 [OPTION]... [VAR=VALUE]...
 
784
 
 
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
786
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
787
 
 
788
Defaults for the options are specified in brackets.
 
789
 
 
790
Configuration:
 
791
  -h, --help              display this help and exit
 
792
      --help=short        display options specific to this package
 
793
      --help=recursive    display the short help of all the included packages
 
794
  -V, --version           display version information and exit
 
795
  -q, --quiet, --silent   do not print \`checking...' messages
 
796
      --cache-file=FILE   cache test results in FILE [disabled]
 
797
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
798
  -n, --no-create         do not create output files
 
799
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
800
 
 
801
_ACEOF
 
802
 
 
803
  cat <<_ACEOF
 
804
Installation directories:
 
805
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
806
                          [$ac_default_prefix]
 
807
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
808
                          [PREFIX]
 
809
 
 
810
By default, \`make install' will install all the files in
 
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
813
for instance \`--prefix=\$HOME'.
 
814
 
 
815
For better control, use the options below.
 
816
 
 
817
Fine tuning of the installation directories:
 
818
  --bindir=DIR           user executables [EPREFIX/bin]
 
819
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
820
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
821
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
822
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
823
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
824
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
825
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
826
  --includedir=DIR       C header files [PREFIX/include]
 
827
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
828
  --infodir=DIR          info documentation [PREFIX/info]
 
829
  --mandir=DIR           man documentation [PREFIX/man]
 
830
_ACEOF
 
831
 
 
832
  cat <<\_ACEOF
 
833
 
 
834
Program names:
 
835
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
836
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
837
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
838
_ACEOF
 
839
fi
 
840
 
 
841
if test -n "$ac_init_help"; then
 
842
  case $ac_init_help in
 
843
     short | recursive ) echo "Configuration of yagiuda 1.19:";;
 
844
   esac
 
845
  cat <<\_ACEOF
 
846
 
 
847
Optional Features:
 
848
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
849
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
850
  --disable-dependency-tracking Speeds up one-time builds
 
851
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
852
 
 
853
Some influential environment variables:
 
854
  CC          C compiler command
 
855
  CFLAGS      C compiler flags
 
856
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
857
              nonstandard directory <lib dir>
 
858
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
859
              headers in a nonstandard directory <include dir>
 
860
  CPP         C preprocessor
 
861
 
 
862
Use these variables to override the choices made by `configure' or to help
 
863
it to find libraries and programs with nonstandard names/locations.
 
864
 
 
865
Report bugs to <david.kirkby@onetel.net>.
 
866
_ACEOF
 
867
fi
 
868
 
 
869
if test "$ac_init_help" = "recursive"; then
 
870
  # If there are subdirs, report their specific --help.
 
871
  ac_popdir=`pwd`
 
872
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
873
    test -d $ac_dir || continue
 
874
    ac_builddir=.
 
875
 
 
876
if test "$ac_dir" != .; then
 
877
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
878
  # A "../" for each directory in $ac_dir_suffix.
 
879
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
880
else
 
881
  ac_dir_suffix= ac_top_builddir=
 
882
fi
 
883
 
 
884
case $srcdir in
 
885
  .)  # No --srcdir option.  We are building in place.
 
886
    ac_srcdir=.
 
887
    if test -z "$ac_top_builddir"; then
 
888
       ac_top_srcdir=.
 
889
    else
 
890
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
891
    fi ;;
 
892
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
893
    ac_srcdir=$srcdir$ac_dir_suffix;
 
894
    ac_top_srcdir=$srcdir ;;
 
895
  *) # Relative path.
 
896
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
897
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
898
esac
 
899
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
900
# absolute.
 
901
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
902
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
903
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
904
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
905
 
 
906
    cd $ac_dir
 
907
    # Check for guested configure; otherwise get Cygnus style configure.
 
908
    if test -f $ac_srcdir/configure.gnu; then
 
909
      echo
 
910
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
911
    elif test -f $ac_srcdir/configure; then
 
912
      echo
 
913
      $SHELL $ac_srcdir/configure  --help=recursive
 
914
    elif test -f $ac_srcdir/configure.ac ||
 
915
           test -f $ac_srcdir/configure.in; then
 
916
      echo
 
917
      $ac_configure --help
 
918
    else
 
919
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
920
    fi
 
921
    cd $ac_popdir
 
922
  done
 
923
fi
 
924
 
 
925
test -n "$ac_init_help" && exit 0
 
926
if $ac_init_version; then
 
927
  cat <<\_ACEOF
 
928
yagiuda configure 1.19
 
929
generated by GNU Autoconf 2.57
 
930
 
 
931
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
932
Free Software Foundation, Inc.
 
933
This configure script is free software; the Free Software Foundation
 
934
gives unlimited permission to copy, distribute and modify it.
 
935
_ACEOF
 
936
  exit 0
 
937
fi
 
938
exec 5>config.log
 
939
cat >&5 <<_ACEOF
 
940
This file contains any messages produced by compilers while
 
941
running configure, to aid debugging if configure makes a mistake.
 
942
 
 
943
It was created by yagiuda $as_me 1.19, which was
 
944
generated by GNU Autoconf 2.57.  Invocation command line was
 
945
 
 
946
  $ $0 $@
 
947
 
 
948
_ACEOF
 
949
{
 
950
cat <<_ASUNAME
 
951
## --------- ##
 
952
## Platform. ##
 
953
## --------- ##
 
954
 
 
955
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
956
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
957
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
958
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
959
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
960
 
 
961
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
962
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
963
 
 
964
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
965
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
966
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
967
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
968
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
969
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
970
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
971
 
 
972
_ASUNAME
 
973
 
 
974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
975
for as_dir in $PATH
 
976
do
 
977
  IFS=$as_save_IFS
 
978
  test -z "$as_dir" && as_dir=.
 
979
  echo "PATH: $as_dir"
 
980
done
 
981
 
 
982
} >&5
 
983
 
 
984
cat >&5 <<_ACEOF
 
985
 
 
986
 
 
987
## ----------- ##
 
988
## Core tests. ##
 
989
## ----------- ##
 
990
 
 
991
_ACEOF
 
992
 
 
993
 
 
994
# Keep a trace of the command line.
 
995
# Strip out --no-create and --no-recursion so they do not pile up.
 
996
# Strip out --silent because we don't want to record it for future runs.
 
997
# Also quote any args containing shell meta-characters.
 
998
# Make two passes to allow for proper duplicate-argument suppression.
 
999
ac_configure_args=
 
1000
ac_configure_args0=
 
1001
ac_configure_args1=
 
1002
ac_sep=
 
1003
ac_must_keep_next=false
 
1004
for ac_pass in 1 2
 
1005
do
 
1006
  for ac_arg
 
1007
  do
 
1008
    case $ac_arg in
 
1009
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1010
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1011
    | -silent | --silent | --silen | --sile | --sil)
 
1012
      continue ;;
 
1013
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1014
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1015
    esac
 
1016
    case $ac_pass in
 
1017
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1018
    2)
 
1019
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1020
      if test $ac_must_keep_next = true; then
 
1021
        ac_must_keep_next=false # Got value, back to normal.
 
1022
      else
 
1023
        case $ac_arg in
 
1024
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1025
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1026
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1027
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1028
            case "$ac_configure_args0 " in
 
1029
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1030
            esac
 
1031
            ;;
 
1032
          -* ) ac_must_keep_next=true ;;
 
1033
        esac
 
1034
      fi
 
1035
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1036
      # Get rid of the leading space.
 
1037
      ac_sep=" "
 
1038
      ;;
 
1039
    esac
 
1040
  done
 
1041
done
 
1042
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1043
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1044
 
 
1045
# When interrupted or exit'd, cleanup temporary files, and complete
 
1046
# config.log.  We remove comments because anyway the quotes in there
 
1047
# would cause problems or look ugly.
 
1048
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1049
# such as our DU 5.0 friend, will then `close' the trap.
 
1050
trap 'exit_status=$?
 
1051
  # Save into config.log some information that might help in debugging.
 
1052
  {
 
1053
    echo
 
1054
 
 
1055
    cat <<\_ASBOX
 
1056
## ---------------- ##
 
1057
## Cache variables. ##
 
1058
## ---------------- ##
 
1059
_ASBOX
 
1060
    echo
 
1061
    # The following way of writing the cache mishandles newlines in values,
 
1062
{
 
1063
  (set) 2>&1 |
 
1064
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1065
    *ac_space=\ *)
 
1066
      sed -n \
 
1067
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1068
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1069
      ;;
 
1070
    *)
 
1071
      sed -n \
 
1072
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1073
      ;;
 
1074
    esac;
 
1075
}
 
1076
    echo
 
1077
 
 
1078
    cat <<\_ASBOX
 
1079
## ----------------- ##
 
1080
## Output variables. ##
 
1081
## ----------------- ##
 
1082
_ASBOX
 
1083
    echo
 
1084
    for ac_var in $ac_subst_vars
 
1085
    do
 
1086
      eval ac_val=$`echo $ac_var`
 
1087
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1088
    done | sort
 
1089
    echo
 
1090
 
 
1091
    if test -n "$ac_subst_files"; then
 
1092
      cat <<\_ASBOX
 
1093
## ------------- ##
 
1094
## Output files. ##
 
1095
## ------------- ##
 
1096
_ASBOX
 
1097
      echo
 
1098
      for ac_var in $ac_subst_files
 
1099
      do
 
1100
        eval ac_val=$`echo $ac_var`
 
1101
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1102
      done | sort
 
1103
      echo
 
1104
    fi
 
1105
 
 
1106
    if test -s confdefs.h; then
 
1107
      cat <<\_ASBOX
 
1108
## ----------- ##
 
1109
## confdefs.h. ##
 
1110
## ----------- ##
 
1111
_ASBOX
 
1112
      echo
 
1113
      sed "/^$/d" confdefs.h | sort
 
1114
      echo
 
1115
    fi
 
1116
    test "$ac_signal" != 0 &&
 
1117
      echo "$as_me: caught signal $ac_signal"
 
1118
    echo "$as_me: exit $exit_status"
 
1119
  } >&5
 
1120
  rm -f core core.* *.core &&
 
1121
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1122
    exit $exit_status
 
1123
     ' 0
 
1124
for ac_signal in 1 2 13 15; do
 
1125
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1126
done
 
1127
ac_signal=0
 
1128
 
 
1129
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1130
rm -rf conftest* confdefs.h
 
1131
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1132
echo >confdefs.h
 
1133
 
 
1134
# Predefined preprocessor variables.
 
1135
 
 
1136
cat >>confdefs.h <<_ACEOF
 
1137
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1138
_ACEOF
 
1139
 
 
1140
 
 
1141
cat >>confdefs.h <<_ACEOF
 
1142
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1143
_ACEOF
 
1144
 
 
1145
 
 
1146
cat >>confdefs.h <<_ACEOF
 
1147
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1148
_ACEOF
 
1149
 
 
1150
 
 
1151
cat >>confdefs.h <<_ACEOF
 
1152
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1153
_ACEOF
 
1154
 
 
1155
 
 
1156
cat >>confdefs.h <<_ACEOF
 
1157
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1158
_ACEOF
 
1159
 
 
1160
 
 
1161
# Let the site file select an alternate cache file if it wants to.
 
1162
# Prefer explicitly selected file to automatically selected ones.
 
1163
if test -z "$CONFIG_SITE"; then
 
1164
  if test "x$prefix" != xNONE; then
 
1165
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1166
  else
 
1167
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1168
  fi
 
1169
fi
 
1170
for ac_site_file in $CONFIG_SITE; do
 
1171
  if test -r "$ac_site_file"; then
 
1172
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1173
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1174
    sed 's/^/| /' "$ac_site_file" >&5
 
1175
    . "$ac_site_file"
 
1176
  fi
 
1177
done
 
1178
 
 
1179
if test -r "$cache_file"; then
 
1180
  # Some versions of bash will fail to source /dev/null (special
 
1181
  # files actually), so we avoid doing that.
 
1182
  if test -f "$cache_file"; then
 
1183
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1184
echo "$as_me: loading cache $cache_file" >&6;}
 
1185
    case $cache_file in
 
1186
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1187
      *)                      . ./$cache_file;;
 
1188
    esac
 
1189
  fi
 
1190
else
 
1191
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1192
echo "$as_me: creating cache $cache_file" >&6;}
 
1193
  >$cache_file
 
1194
fi
 
1195
 
 
1196
# Check that the precious variables saved in the cache have kept the same
 
1197
# value.
 
1198
ac_cache_corrupted=false
 
1199
for ac_var in `(set) 2>&1 |
 
1200
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1201
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1202
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1203
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1204
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1205
  case $ac_old_set,$ac_new_set in
 
1206
    set,)
 
1207
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1208
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1209
      ac_cache_corrupted=: ;;
 
1210
    ,set)
 
1211
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1212
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1213
      ac_cache_corrupted=: ;;
 
1214
    ,);;
 
1215
    *)
 
1216
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1217
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1218
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1219
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1220
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1221
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1222
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1223
        ac_cache_corrupted=:
 
1224
      fi;;
 
1225
  esac
 
1226
  # Pass precious variables to config.status.
 
1227
  if test "$ac_new_set" = set; then
 
1228
    case $ac_new_val in
 
1229
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1230
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1231
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1232
    esac
 
1233
    case " $ac_configure_args " in
 
1234
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1235
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1236
    esac
 
1237
  fi
 
1238
done
 
1239
if $ac_cache_corrupted; then
 
1240
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1241
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1242
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1243
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1244
   { (exit 1); exit 1; }; }
 
1245
fi
 
1246
 
 
1247
ac_ext=c
 
1248
ac_cpp='$CPP $CPPFLAGS'
 
1249
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1250
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1251
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
 
1257
 
 
1258
 
 
1259
 
 
1260
 
 
1261
 
 
1262
 
 
1263
 
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
 
 
1276
 
 
1277
 
 
1278
 
 
1279
am__api_version="1.7"
 
1280
ac_aux_dir=
 
1281
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1282
  if test -f $ac_dir/install-sh; then
 
1283
    ac_aux_dir=$ac_dir
 
1284
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1285
    break
 
1286
  elif test -f $ac_dir/install.sh; then
 
1287
    ac_aux_dir=$ac_dir
 
1288
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1289
    break
 
1290
  elif test -f $ac_dir/shtool; then
 
1291
    ac_aux_dir=$ac_dir
 
1292
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1293
    break
 
1294
  fi
 
1295
done
 
1296
if test -z "$ac_aux_dir"; then
 
1297
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1298
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1299
   { (exit 1); exit 1; }; }
 
1300
fi
 
1301
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1302
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1303
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1304
 
 
1305
# Find a good install program.  We prefer a C program (faster),
 
1306
# so one script is as good as another.  But avoid the broken or
 
1307
# incompatible versions:
 
1308
# SysV /etc/install, /usr/sbin/install
 
1309
# SunOS /usr/etc/install
 
1310
# IRIX /sbin/install
 
1311
# AIX /bin/install
 
1312
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1313
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1314
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1315
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1316
# ./install, which can be erroneously created by make from ./install.sh.
 
1317
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1318
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1319
if test -z "$INSTALL"; then
 
1320
if test "${ac_cv_path_install+set}" = set; then
 
1321
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1322
else
 
1323
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1324
for as_dir in $PATH
 
1325
do
 
1326
  IFS=$as_save_IFS
 
1327
  test -z "$as_dir" && as_dir=.
 
1328
  # Account for people who put trailing slashes in PATH elements.
 
1329
case $as_dir/ in
 
1330
  ./ | .// | /cC/* | \
 
1331
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1332
  /usr/ucb/* ) ;;
 
1333
  *)
 
1334
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1335
    # Don't use installbsd from OSF since it installs stuff as root
 
1336
    # by default.
 
1337
    for ac_prog in ginstall scoinst install; do
 
1338
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1339
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1340
          if test $ac_prog = install &&
 
1341
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1342
            # AIX install.  It has an incompatible calling convention.
 
1343
            :
 
1344
          elif test $ac_prog = install &&
 
1345
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1346
            # program-specific install script used by HP pwplus--don't use.
 
1347
            :
 
1348
          else
 
1349
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1350
            break 3
 
1351
          fi
 
1352
        fi
 
1353
      done
 
1354
    done
 
1355
    ;;
 
1356
esac
 
1357
done
 
1358
 
 
1359
 
 
1360
fi
 
1361
  if test "${ac_cv_path_install+set}" = set; then
 
1362
    INSTALL=$ac_cv_path_install
 
1363
  else
 
1364
    # As a last resort, use the slow shell script.  We don't cache a
 
1365
    # path for INSTALL within a source directory, because that will
 
1366
    # break other packages using the cache if that directory is
 
1367
    # removed, or if the path is relative.
 
1368
    INSTALL=$ac_install_sh
 
1369
  fi
 
1370
fi
 
1371
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1372
echo "${ECHO_T}$INSTALL" >&6
 
1373
 
 
1374
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1375
# It thinks the first close brace ends the variable substitution.
 
1376
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1377
 
 
1378
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1379
 
 
1380
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1381
 
 
1382
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1383
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1384
# Just in case
 
1385
sleep 1
 
1386
echo timestamp > conftest.file
 
1387
# Do `set' in a subshell so we don't clobber the current shell's
 
1388
# arguments.  Must try -L first in case configure is actually a
 
1389
# symlink; some systems play weird games with the mod time of symlinks
 
1390
# (eg FreeBSD returns the mod time of the symlink's containing
 
1391
# directory).
 
1392
if (
 
1393
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1394
   if test "$*" = "X"; then
 
1395
      # -L didn't work.
 
1396
      set X `ls -t $srcdir/configure conftest.file`
 
1397
   fi
 
1398
   rm -f conftest.file
 
1399
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1400
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1401
 
 
1402
      # If neither matched, then we have a broken ls.  This can happen
 
1403
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1404
      # broken ls alias from the environment.  This has actually
 
1405
      # happened.  Such a system could not be considered "sane".
 
1406
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1407
alias in your environment" >&5
 
1408
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1409
alias in your environment" >&2;}
 
1410
   { (exit 1); exit 1; }; }
 
1411
   fi
 
1412
 
 
1413
   test "$2" = conftest.file
 
1414
   )
 
1415
then
 
1416
   # Ok.
 
1417
   :
 
1418
else
 
1419
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1420
Check your system clock" >&5
 
1421
echo "$as_me: error: newly created file is older than distributed files!
 
1422
Check your system clock" >&2;}
 
1423
   { (exit 1); exit 1; }; }
 
1424
fi
 
1425
echo "$as_me:$LINENO: result: yes" >&5
 
1426
echo "${ECHO_T}yes" >&6
 
1427
test "$program_prefix" != NONE &&
 
1428
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1429
# Use a double $ so make ignores it.
 
1430
test "$program_suffix" != NONE &&
 
1431
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1432
# Double any \ or $.  echo might interpret backslashes.
 
1433
# By default was `s,x,x', remove it if useless.
 
1434
cat <<\_ACEOF >conftest.sed
 
1435
s/[\\$]/&&/g;s/;s,x,x,$//
 
1436
_ACEOF
 
1437
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1438
rm conftest.sed
 
1439
 
 
1440
 
 
1441
# expand $ac_aux_dir to an absolute path
 
1442
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1443
 
 
1444
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1445
# Use eval to expand $SHELL
 
1446
if eval "$MISSING --run true"; then
 
1447
  am_missing_run="$MISSING --run "
 
1448
else
 
1449
  am_missing_run=
 
1450
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1451
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1452
fi
 
1453
 
 
1454
for ac_prog in gawk mawk nawk awk
 
1455
do
 
1456
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1457
set dummy $ac_prog; ac_word=$2
 
1458
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1459
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1460
if test "${ac_cv_prog_AWK+set}" = set; then
 
1461
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1462
else
 
1463
  if test -n "$AWK"; then
 
1464
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1465
else
 
1466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1467
for as_dir in $PATH
 
1468
do
 
1469
  IFS=$as_save_IFS
 
1470
  test -z "$as_dir" && as_dir=.
 
1471
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1472
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1473
    ac_cv_prog_AWK="$ac_prog"
 
1474
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1475
    break 2
 
1476
  fi
 
1477
done
 
1478
done
 
1479
 
 
1480
fi
 
1481
fi
 
1482
AWK=$ac_cv_prog_AWK
 
1483
if test -n "$AWK"; then
 
1484
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1485
echo "${ECHO_T}$AWK" >&6
 
1486
else
 
1487
  echo "$as_me:$LINENO: result: no" >&5
 
1488
echo "${ECHO_T}no" >&6
 
1489
fi
 
1490
 
 
1491
  test -n "$AWK" && break
 
1492
done
 
1493
 
 
1494
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1495
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1496
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1497
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1498
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1499
else
 
1500
  cat >conftest.make <<\_ACEOF
 
1501
all:
 
1502
        @echo 'ac_maketemp="$(MAKE)"'
 
1503
_ACEOF
 
1504
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1505
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1506
if test -n "$ac_maketemp"; then
 
1507
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1508
else
 
1509
  eval ac_cv_prog_make_${ac_make}_set=no
 
1510
fi
 
1511
rm -f conftest.make
 
1512
fi
 
1513
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1514
  echo "$as_me:$LINENO: result: yes" >&5
 
1515
echo "${ECHO_T}yes" >&6
 
1516
  SET_MAKE=
 
1517
else
 
1518
  echo "$as_me:$LINENO: result: no" >&5
 
1519
echo "${ECHO_T}no" >&6
 
1520
  SET_MAKE="MAKE=${MAKE-make}"
 
1521
fi
 
1522
 
 
1523
 # test to see if srcdir already configured
 
1524
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1525
   test -f $srcdir/config.status; then
 
1526
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1527
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
1528
   { (exit 1); exit 1; }; }
 
1529
fi
 
1530
 
 
1531
# test whether we have cygpath
 
1532
if test -z "$CYGPATH_W"; then
 
1533
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1534
    CYGPATH_W='cygpath -w'
 
1535
  else
 
1536
    CYGPATH_W=echo
 
1537
  fi
 
1538
fi
 
1539
 
 
1540
 
 
1541
# Define the identity of the package.
 
1542
 PACKAGE=yagiuda
 
1543
 VERSION=1.19
 
1544
 
 
1545
 
 
1546
cat >>confdefs.h <<_ACEOF
 
1547
#define PACKAGE "$PACKAGE"
 
1548
_ACEOF
 
1549
 
 
1550
 
 
1551
cat >>confdefs.h <<_ACEOF
 
1552
#define VERSION "$VERSION"
 
1553
_ACEOF
 
1554
 
 
1555
# Some tools Automake needs.
 
1556
 
 
1557
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1558
 
 
1559
 
 
1560
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1561
 
 
1562
 
 
1563
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1564
 
 
1565
 
 
1566
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1567
 
 
1568
 
 
1569
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1570
 
 
1571
 
 
1572
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1573
 
 
1574
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1575
 
 
1576
# Installed binaries are usually stripped using `strip' when the user
 
1577
# run `make install-strip'.  However `strip' might not be the right
 
1578
# tool to use in cross-compilation environments, therefore Automake
 
1579
# will honor the `STRIP' environment variable to overrule this program.
 
1580
if test "$cross_compiling" != no; then
 
1581
  if test -n "$ac_tool_prefix"; then
 
1582
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1583
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1584
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1585
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1586
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1587
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1588
else
 
1589
  if test -n "$STRIP"; then
 
1590
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1591
else
 
1592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1593
for as_dir in $PATH
 
1594
do
 
1595
  IFS=$as_save_IFS
 
1596
  test -z "$as_dir" && as_dir=.
 
1597
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1598
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1599
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1600
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1601
    break 2
 
1602
  fi
 
1603
done
 
1604
done
 
1605
 
 
1606
fi
 
1607
fi
 
1608
STRIP=$ac_cv_prog_STRIP
 
1609
if test -n "$STRIP"; then
 
1610
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1611
echo "${ECHO_T}$STRIP" >&6
 
1612
else
 
1613
  echo "$as_me:$LINENO: result: no" >&5
 
1614
echo "${ECHO_T}no" >&6
 
1615
fi
 
1616
 
 
1617
fi
 
1618
if test -z "$ac_cv_prog_STRIP"; then
 
1619
  ac_ct_STRIP=$STRIP
 
1620
  # Extract the first word of "strip", so it can be a program name with args.
 
1621
set dummy strip; ac_word=$2
 
1622
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1623
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1624
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1625
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1626
else
 
1627
  if test -n "$ac_ct_STRIP"; then
 
1628
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1629
else
 
1630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1631
for as_dir in $PATH
 
1632
do
 
1633
  IFS=$as_save_IFS
 
1634
  test -z "$as_dir" && as_dir=.
 
1635
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1636
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1637
    ac_cv_prog_ac_ct_STRIP="strip"
 
1638
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1639
    break 2
 
1640
  fi
 
1641
done
 
1642
done
 
1643
 
 
1644
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1645
fi
 
1646
fi
 
1647
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1648
if test -n "$ac_ct_STRIP"; then
 
1649
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1650
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1651
else
 
1652
  echo "$as_me:$LINENO: result: no" >&5
 
1653
echo "${ECHO_T}no" >&6
 
1654
fi
 
1655
 
 
1656
  STRIP=$ac_ct_STRIP
 
1657
else
 
1658
  STRIP="$ac_cv_prog_STRIP"
 
1659
fi
 
1660
 
 
1661
fi
 
1662
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1663
 
 
1664
# We need awk for the "check" target.  The system "awk" is bad on
 
1665
# some platforms.
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
ALL_LINGUAS="de fr es ko nl no pl pt sl sv"
 
1673
 
 
1674
ac_ext=c
 
1675
ac_cpp='$CPP $CPPFLAGS'
 
1676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1679
if test -n "$ac_tool_prefix"; then
 
1680
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1681
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1682
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1683
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1684
if test "${ac_cv_prog_CC+set}" = set; then
 
1685
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1686
else
 
1687
  if test -n "$CC"; then
 
1688
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1689
else
 
1690
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1691
for as_dir in $PATH
 
1692
do
 
1693
  IFS=$as_save_IFS
 
1694
  test -z "$as_dir" && as_dir=.
 
1695
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1696
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1697
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1698
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1699
    break 2
 
1700
  fi
 
1701
done
 
1702
done
 
1703
 
 
1704
fi
 
1705
fi
 
1706
CC=$ac_cv_prog_CC
 
1707
if test -n "$CC"; then
 
1708
  echo "$as_me:$LINENO: result: $CC" >&5
 
1709
echo "${ECHO_T}$CC" >&6
 
1710
else
 
1711
  echo "$as_me:$LINENO: result: no" >&5
 
1712
echo "${ECHO_T}no" >&6
 
1713
fi
 
1714
 
 
1715
fi
 
1716
if test -z "$ac_cv_prog_CC"; then
 
1717
  ac_ct_CC=$CC
 
1718
  # Extract the first word of "gcc", so it can be a program name with args.
 
1719
set dummy gcc; ac_word=$2
 
1720
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1721
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1722
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1723
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1724
else
 
1725
  if test -n "$ac_ct_CC"; then
 
1726
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1727
else
 
1728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1729
for as_dir in $PATH
 
1730
do
 
1731
  IFS=$as_save_IFS
 
1732
  test -z "$as_dir" && as_dir=.
 
1733
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1734
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1735
    ac_cv_prog_ac_ct_CC="gcc"
 
1736
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1737
    break 2
 
1738
  fi
 
1739
done
 
1740
done
 
1741
 
 
1742
fi
 
1743
fi
 
1744
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1745
if test -n "$ac_ct_CC"; then
 
1746
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1747
echo "${ECHO_T}$ac_ct_CC" >&6
 
1748
else
 
1749
  echo "$as_me:$LINENO: result: no" >&5
 
1750
echo "${ECHO_T}no" >&6
 
1751
fi
 
1752
 
 
1753
  CC=$ac_ct_CC
 
1754
else
 
1755
  CC="$ac_cv_prog_CC"
 
1756
fi
 
1757
 
 
1758
if test -z "$CC"; then
 
1759
  if test -n "$ac_tool_prefix"; then
 
1760
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1761
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1762
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1763
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1764
if test "${ac_cv_prog_CC+set}" = set; then
 
1765
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1766
else
 
1767
  if test -n "$CC"; then
 
1768
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1769
else
 
1770
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1771
for as_dir in $PATH
 
1772
do
 
1773
  IFS=$as_save_IFS
 
1774
  test -z "$as_dir" && as_dir=.
 
1775
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1776
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1777
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1778
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1779
    break 2
 
1780
  fi
 
1781
done
 
1782
done
 
1783
 
 
1784
fi
 
1785
fi
 
1786
CC=$ac_cv_prog_CC
 
1787
if test -n "$CC"; then
 
1788
  echo "$as_me:$LINENO: result: $CC" >&5
 
1789
echo "${ECHO_T}$CC" >&6
 
1790
else
 
1791
  echo "$as_me:$LINENO: result: no" >&5
 
1792
echo "${ECHO_T}no" >&6
 
1793
fi
 
1794
 
 
1795
fi
 
1796
if test -z "$ac_cv_prog_CC"; then
 
1797
  ac_ct_CC=$CC
 
1798
  # Extract the first word of "cc", so it can be a program name with args.
 
1799
set dummy cc; ac_word=$2
 
1800
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1801
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1802
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1803
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1804
else
 
1805
  if test -n "$ac_ct_CC"; then
 
1806
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1807
else
 
1808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1809
for as_dir in $PATH
 
1810
do
 
1811
  IFS=$as_save_IFS
 
1812
  test -z "$as_dir" && as_dir=.
 
1813
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1814
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1815
    ac_cv_prog_ac_ct_CC="cc"
 
1816
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1817
    break 2
 
1818
  fi
 
1819
done
 
1820
done
 
1821
 
 
1822
fi
 
1823
fi
 
1824
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1825
if test -n "$ac_ct_CC"; then
 
1826
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1827
echo "${ECHO_T}$ac_ct_CC" >&6
 
1828
else
 
1829
  echo "$as_me:$LINENO: result: no" >&5
 
1830
echo "${ECHO_T}no" >&6
 
1831
fi
 
1832
 
 
1833
  CC=$ac_ct_CC
 
1834
else
 
1835
  CC="$ac_cv_prog_CC"
 
1836
fi
 
1837
 
 
1838
fi
 
1839
if test -z "$CC"; then
 
1840
  # Extract the first word of "cc", so it can be a program name with args.
 
1841
set dummy cc; ac_word=$2
 
1842
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1843
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1844
if test "${ac_cv_prog_CC+set}" = set; then
 
1845
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1846
else
 
1847
  if test -n "$CC"; then
 
1848
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1849
else
 
1850
  ac_prog_rejected=no
 
1851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1852
for as_dir in $PATH
 
1853
do
 
1854
  IFS=$as_save_IFS
 
1855
  test -z "$as_dir" && as_dir=.
 
1856
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1857
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1858
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
1859
       ac_prog_rejected=yes
 
1860
       continue
 
1861
     fi
 
1862
    ac_cv_prog_CC="cc"
 
1863
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1864
    break 2
 
1865
  fi
 
1866
done
 
1867
done
 
1868
 
 
1869
if test $ac_prog_rejected = yes; then
 
1870
  # We found a bogon in the path, so make sure we never use it.
 
1871
  set dummy $ac_cv_prog_CC
 
1872
  shift
 
1873
  if test $# != 0; then
 
1874
    # We chose a different compiler from the bogus one.
 
1875
    # However, it has the same basename, so the bogon will be chosen
 
1876
    # first if we set CC to just the basename; use the full file name.
 
1877
    shift
 
1878
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
1879
  fi
 
1880
fi
 
1881
fi
 
1882
fi
 
1883
CC=$ac_cv_prog_CC
 
1884
if test -n "$CC"; then
 
1885
  echo "$as_me:$LINENO: result: $CC" >&5
 
1886
echo "${ECHO_T}$CC" >&6
 
1887
else
 
1888
  echo "$as_me:$LINENO: result: no" >&5
 
1889
echo "${ECHO_T}no" >&6
 
1890
fi
 
1891
 
 
1892
fi
 
1893
if test -z "$CC"; then
 
1894
  if test -n "$ac_tool_prefix"; then
 
1895
  for ac_prog in cl
 
1896
  do
 
1897
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
1898
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
1899
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1901
if test "${ac_cv_prog_CC+set}" = set; then
 
1902
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1903
else
 
1904
  if test -n "$CC"; then
 
1905
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1906
else
 
1907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1908
for as_dir in $PATH
 
1909
do
 
1910
  IFS=$as_save_IFS
 
1911
  test -z "$as_dir" && as_dir=.
 
1912
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1913
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1914
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
1915
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1916
    break 2
 
1917
  fi
 
1918
done
 
1919
done
 
1920
 
 
1921
fi
 
1922
fi
 
1923
CC=$ac_cv_prog_CC
 
1924
if test -n "$CC"; then
 
1925
  echo "$as_me:$LINENO: result: $CC" >&5
 
1926
echo "${ECHO_T}$CC" >&6
 
1927
else
 
1928
  echo "$as_me:$LINENO: result: no" >&5
 
1929
echo "${ECHO_T}no" >&6
 
1930
fi
 
1931
 
 
1932
    test -n "$CC" && break
 
1933
  done
 
1934
fi
 
1935
if test -z "$CC"; then
 
1936
  ac_ct_CC=$CC
 
1937
  for ac_prog in cl
 
1938
do
 
1939
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1940
set dummy $ac_prog; ac_word=$2
 
1941
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1942
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1943
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1944
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1945
else
 
1946
  if test -n "$ac_ct_CC"; then
 
1947
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1948
else
 
1949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1950
for as_dir in $PATH
 
1951
do
 
1952
  IFS=$as_save_IFS
 
1953
  test -z "$as_dir" && as_dir=.
 
1954
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1955
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1956
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
1957
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1958
    break 2
 
1959
  fi
 
1960
done
 
1961
done
 
1962
 
 
1963
fi
 
1964
fi
 
1965
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1966
if test -n "$ac_ct_CC"; then
 
1967
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1968
echo "${ECHO_T}$ac_ct_CC" >&6
 
1969
else
 
1970
  echo "$as_me:$LINENO: result: no" >&5
 
1971
echo "${ECHO_T}no" >&6
 
1972
fi
 
1973
 
 
1974
  test -n "$ac_ct_CC" && break
 
1975
done
 
1976
 
 
1977
  CC=$ac_ct_CC
 
1978
fi
 
1979
 
 
1980
fi
 
1981
 
 
1982
 
 
1983
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
1984
See \`config.log' for more details." >&5
 
1985
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
1986
See \`config.log' for more details." >&2;}
 
1987
   { (exit 1); exit 1; }; }
 
1988
 
 
1989
# Provide some information about the compiler.
 
1990
echo "$as_me:$LINENO:" \
 
1991
     "checking for C compiler version" >&5
 
1992
ac_compiler=`set X $ac_compile; echo $2`
 
1993
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
1994
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
1995
  ac_status=$?
 
1996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1997
  (exit $ac_status); }
 
1998
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
1999
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2000
  ac_status=$?
 
2001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2002
  (exit $ac_status); }
 
2003
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2004
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2005
  ac_status=$?
 
2006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2007
  (exit $ac_status); }
 
2008
 
 
2009
cat >conftest.$ac_ext <<_ACEOF
 
2010
#line $LINENO "configure"
 
2011
/* confdefs.h.  */
 
2012
_ACEOF
 
2013
cat confdefs.h >>conftest.$ac_ext
 
2014
cat >>conftest.$ac_ext <<_ACEOF
 
2015
/* end confdefs.h.  */
 
2016
 
 
2017
int
 
2018
main ()
 
2019
{
 
2020
 
 
2021
  ;
 
2022
  return 0;
 
2023
}
 
2024
_ACEOF
 
2025
ac_clean_files_save=$ac_clean_files
 
2026
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2027
# Try to create an executable without -o first, disregard a.out.
 
2028
# It will help us diagnose broken compilers, and finding out an intuition
 
2029
# of exeext.
 
2030
echo "$as_me:$LINENO: checking for C compiler default output" >&5
 
2031
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2032
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2033
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2034
  (eval $ac_link_default) 2>&5
 
2035
  ac_status=$?
 
2036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2037
  (exit $ac_status); }; then
 
2038
  # Find the output, starting from the most likely.  This scheme is
 
2039
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2040
# resort.
 
2041
 
 
2042
# Be careful to initialize this variable, since it used to be cached.
 
2043
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2044
ac_cv_exeext=
 
2045
# b.out is created by i960 compilers.
 
2046
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2047
do
 
2048
  test -f "$ac_file" || continue
 
2049
  case $ac_file in
 
2050
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2051
        ;;
 
2052
    conftest.$ac_ext )
 
2053
        # This is the source file.
 
2054
        ;;
 
2055
    [ab].out )
 
2056
        # We found the default executable, but exeext='' is most
 
2057
        # certainly right.
 
2058
        break;;
 
2059
    *.* )
 
2060
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2061
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2062
        # but it would be cool to find out if it's true.  Does anybody
 
2063
        # maintain Libtool? --akim.
 
2064
        export ac_cv_exeext
 
2065
        break;;
 
2066
    * )
 
2067
        break;;
 
2068
  esac
 
2069
done
 
2070
else
 
2071
  echo "$as_me: failed program was:" >&5
 
2072
sed 's/^/| /' conftest.$ac_ext >&5
 
2073
 
 
2074
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2075
See \`config.log' for more details." >&5
 
2076
echo "$as_me: error: C compiler cannot create executables
 
2077
See \`config.log' for more details." >&2;}
 
2078
   { (exit 77); exit 77; }; }
 
2079
fi
 
2080
 
 
2081
ac_exeext=$ac_cv_exeext
 
2082
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2083
echo "${ECHO_T}$ac_file" >&6
 
2084
 
 
2085
# Check the compiler produces executables we can run.  If not, either
 
2086
# the compiler is broken, or we cross compile.
 
2087
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2088
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2089
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2090
# If not cross compiling, check that we can run a simple program.
 
2091
if test "$cross_compiling" != yes; then
 
2092
  if { ac_try='./$ac_file'
 
2093
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2094
  (eval $ac_try) 2>&5
 
2095
  ac_status=$?
 
2096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2097
  (exit $ac_status); }; }; then
 
2098
    cross_compiling=no
 
2099
  else
 
2100
    if test "$cross_compiling" = maybe; then
 
2101
        cross_compiling=yes
 
2102
    else
 
2103
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2104
If you meant to cross compile, use \`--host'.
 
2105
See \`config.log' for more details." >&5
 
2106
echo "$as_me: error: cannot run C compiled programs.
 
2107
If you meant to cross compile, use \`--host'.
 
2108
See \`config.log' for more details." >&2;}
 
2109
   { (exit 1); exit 1; }; }
 
2110
    fi
 
2111
  fi
 
2112
fi
 
2113
echo "$as_me:$LINENO: result: yes" >&5
 
2114
echo "${ECHO_T}yes" >&6
 
2115
 
 
2116
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2117
ac_clean_files=$ac_clean_files_save
 
2118
# Check the compiler produces executables we can run.  If not, either
 
2119
# the compiler is broken, or we cross compile.
 
2120
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2121
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2122
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2123
echo "${ECHO_T}$cross_compiling" >&6
 
2124
 
 
2125
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2126
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2127
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2128
  (eval $ac_link) 2>&5
 
2129
  ac_status=$?
 
2130
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2131
  (exit $ac_status); }; then
 
2132
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2133
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2134
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2135
# `rm'.
 
2136
for ac_file in conftest.exe conftest conftest.*; do
 
2137
  test -f "$ac_file" || continue
 
2138
  case $ac_file in
 
2139
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2140
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2141
          export ac_cv_exeext
 
2142
          break;;
 
2143
    * ) break;;
 
2144
  esac
 
2145
done
 
2146
else
 
2147
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2148
See \`config.log' for more details." >&5
 
2149
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2150
See \`config.log' for more details." >&2;}
 
2151
   { (exit 1); exit 1; }; }
 
2152
fi
 
2153
 
 
2154
rm -f conftest$ac_cv_exeext
 
2155
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2156
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2157
 
 
2158
rm -f conftest.$ac_ext
 
2159
EXEEXT=$ac_cv_exeext
 
2160
ac_exeext=$EXEEXT
 
2161
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2162
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2163
if test "${ac_cv_objext+set}" = set; then
 
2164
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2165
else
 
2166
  cat >conftest.$ac_ext <<_ACEOF
 
2167
#line $LINENO "configure"
 
2168
/* confdefs.h.  */
 
2169
_ACEOF
 
2170
cat confdefs.h >>conftest.$ac_ext
 
2171
cat >>conftest.$ac_ext <<_ACEOF
 
2172
/* end confdefs.h.  */
 
2173
 
 
2174
int
 
2175
main ()
 
2176
{
 
2177
 
 
2178
  ;
 
2179
  return 0;
 
2180
}
 
2181
_ACEOF
 
2182
rm -f conftest.o conftest.obj
 
2183
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2184
  (eval $ac_compile) 2>&5
 
2185
  ac_status=$?
 
2186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2187
  (exit $ac_status); }; then
 
2188
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2189
  case $ac_file in
 
2190
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2191
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2192
       break;;
 
2193
  esac
 
2194
done
 
2195
else
 
2196
  echo "$as_me: failed program was:" >&5
 
2197
sed 's/^/| /' conftest.$ac_ext >&5
 
2198
 
 
2199
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2200
See \`config.log' for more details." >&5
 
2201
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2202
See \`config.log' for more details." >&2;}
 
2203
   { (exit 1); exit 1; }; }
 
2204
fi
 
2205
 
 
2206
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2207
fi
 
2208
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2209
echo "${ECHO_T}$ac_cv_objext" >&6
 
2210
OBJEXT=$ac_cv_objext
 
2211
ac_objext=$OBJEXT
 
2212
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2213
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2214
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2215
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2216
else
 
2217
  cat >conftest.$ac_ext <<_ACEOF
 
2218
#line $LINENO "configure"
 
2219
/* confdefs.h.  */
 
2220
_ACEOF
 
2221
cat confdefs.h >>conftest.$ac_ext
 
2222
cat >>conftest.$ac_ext <<_ACEOF
 
2223
/* end confdefs.h.  */
 
2224
 
 
2225
int
 
2226
main ()
 
2227
{
 
2228
#ifndef __GNUC__
 
2229
       choke me
 
2230
#endif
 
2231
 
 
2232
  ;
 
2233
  return 0;
 
2234
}
 
2235
_ACEOF
 
2236
rm -f conftest.$ac_objext
 
2237
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2238
  (eval $ac_compile) 2>&5
 
2239
  ac_status=$?
 
2240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2241
  (exit $ac_status); } &&
 
2242
         { ac_try='test -s conftest.$ac_objext'
 
2243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2244
  (eval $ac_try) 2>&5
 
2245
  ac_status=$?
 
2246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2247
  (exit $ac_status); }; }; then
 
2248
  ac_compiler_gnu=yes
 
2249
else
 
2250
  echo "$as_me: failed program was:" >&5
 
2251
sed 's/^/| /' conftest.$ac_ext >&5
 
2252
 
 
2253
ac_compiler_gnu=no
 
2254
fi
 
2255
rm -f conftest.$ac_objext conftest.$ac_ext
 
2256
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2257
 
 
2258
fi
 
2259
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2260
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2261
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2262
ac_test_CFLAGS=${CFLAGS+set}
 
2263
ac_save_CFLAGS=$CFLAGS
 
2264
CFLAGS="-g"
 
2265
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2266
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2267
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2268
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2269
else
 
2270
  cat >conftest.$ac_ext <<_ACEOF
 
2271
#line $LINENO "configure"
 
2272
/* confdefs.h.  */
 
2273
_ACEOF
 
2274
cat confdefs.h >>conftest.$ac_ext
 
2275
cat >>conftest.$ac_ext <<_ACEOF
 
2276
/* end confdefs.h.  */
 
2277
 
 
2278
int
 
2279
main ()
 
2280
{
 
2281
 
 
2282
  ;
 
2283
  return 0;
 
2284
}
 
2285
_ACEOF
 
2286
rm -f conftest.$ac_objext
 
2287
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2288
  (eval $ac_compile) 2>&5
 
2289
  ac_status=$?
 
2290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2291
  (exit $ac_status); } &&
 
2292
         { ac_try='test -s conftest.$ac_objext'
 
2293
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2294
  (eval $ac_try) 2>&5
 
2295
  ac_status=$?
 
2296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2297
  (exit $ac_status); }; }; then
 
2298
  ac_cv_prog_cc_g=yes
 
2299
else
 
2300
  echo "$as_me: failed program was:" >&5
 
2301
sed 's/^/| /' conftest.$ac_ext >&5
 
2302
 
 
2303
ac_cv_prog_cc_g=no
 
2304
fi
 
2305
rm -f conftest.$ac_objext conftest.$ac_ext
 
2306
fi
 
2307
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2308
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2309
if test "$ac_test_CFLAGS" = set; then
 
2310
  CFLAGS=$ac_save_CFLAGS
 
2311
elif test $ac_cv_prog_cc_g = yes; then
 
2312
  if test "$GCC" = yes; then
 
2313
    CFLAGS="-g -O2"
 
2314
  else
 
2315
    CFLAGS="-g"
 
2316
  fi
 
2317
else
 
2318
  if test "$GCC" = yes; then
 
2319
    CFLAGS="-O2"
 
2320
  else
 
2321
    CFLAGS=
 
2322
  fi
 
2323
fi
 
2324
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2325
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2326
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2327
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2328
else
 
2329
  ac_cv_prog_cc_stdc=no
 
2330
ac_save_CC=$CC
 
2331
cat >conftest.$ac_ext <<_ACEOF
 
2332
#line $LINENO "configure"
 
2333
/* confdefs.h.  */
 
2334
_ACEOF
 
2335
cat confdefs.h >>conftest.$ac_ext
 
2336
cat >>conftest.$ac_ext <<_ACEOF
 
2337
/* end confdefs.h.  */
 
2338
#include <stdarg.h>
 
2339
#include <stdio.h>
 
2340
#include <sys/types.h>
 
2341
#include <sys/stat.h>
 
2342
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2343
struct buf { int x; };
 
2344
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2345
static char *e (p, i)
 
2346
     char **p;
 
2347
     int i;
 
2348
{
 
2349
  return p[i];
 
2350
}
 
2351
static char *f (char * (*g) (char **, int), char **p, ...)
 
2352
{
 
2353
  char *s;
 
2354
  va_list v;
 
2355
  va_start (v,p);
 
2356
  s = g (p, va_arg (v,int));
 
2357
  va_end (v);
 
2358
  return s;
 
2359
}
 
2360
int test (int i, double x);
 
2361
struct s1 {int (*f) (int a);};
 
2362
struct s2 {int (*f) (double a);};
 
2363
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2364
int argc;
 
2365
char **argv;
 
2366
int
 
2367
main ()
 
2368
{
 
2369
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2370
  ;
 
2371
  return 0;
 
2372
}
 
2373
_ACEOF
 
2374
# Don't try gcc -ansi; that turns off useful extensions and
 
2375
# breaks some systems' header files.
 
2376
# AIX                   -qlanglvl=ansi
 
2377
# Ultrix and OSF/1      -std1
 
2378
# HP-UX 10.20 and later -Ae
 
2379
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2380
# SVR4                  -Xc -D__EXTENSIONS__
 
2381
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2382
do
 
2383
  CC="$ac_save_CC $ac_arg"
 
2384
  rm -f conftest.$ac_objext
 
2385
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2386
  (eval $ac_compile) 2>&5
 
2387
  ac_status=$?
 
2388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2389
  (exit $ac_status); } &&
 
2390
         { ac_try='test -s conftest.$ac_objext'
 
2391
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2392
  (eval $ac_try) 2>&5
 
2393
  ac_status=$?
 
2394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2395
  (exit $ac_status); }; }; then
 
2396
  ac_cv_prog_cc_stdc=$ac_arg
 
2397
break
 
2398
else
 
2399
  echo "$as_me: failed program was:" >&5
 
2400
sed 's/^/| /' conftest.$ac_ext >&5
 
2401
 
 
2402
fi
 
2403
rm -f conftest.$ac_objext
 
2404
done
 
2405
rm -f conftest.$ac_ext conftest.$ac_objext
 
2406
CC=$ac_save_CC
 
2407
 
 
2408
fi
 
2409
 
 
2410
case "x$ac_cv_prog_cc_stdc" in
 
2411
  x|xno)
 
2412
    echo "$as_me:$LINENO: result: none needed" >&5
 
2413
echo "${ECHO_T}none needed" >&6 ;;
 
2414
  *)
 
2415
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2416
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2417
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2418
esac
 
2419
 
 
2420
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2421
# in C++ we need to declare it.  In case someone uses the same compiler
 
2422
# for both compiling C and C++ we need to have the C++ compiler decide
 
2423
# the declaration of exit, since it's the most demanding environment.
 
2424
cat >conftest.$ac_ext <<_ACEOF
 
2425
#ifndef __cplusplus
 
2426
  choke me
 
2427
#endif
 
2428
_ACEOF
 
2429
rm -f conftest.$ac_objext
 
2430
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2431
  (eval $ac_compile) 2>&5
 
2432
  ac_status=$?
 
2433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2434
  (exit $ac_status); } &&
 
2435
         { ac_try='test -s conftest.$ac_objext'
 
2436
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2437
  (eval $ac_try) 2>&5
 
2438
  ac_status=$?
 
2439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2440
  (exit $ac_status); }; }; then
 
2441
  for ac_declaration in \
 
2442
   ''\
 
2443
   '#include <stdlib.h>' \
 
2444
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2445
   'extern "C" void std::exit (int); using std::exit;' \
 
2446
   'extern "C" void exit (int) throw ();' \
 
2447
   'extern "C" void exit (int);' \
 
2448
   'void exit (int);'
 
2449
do
 
2450
  cat >conftest.$ac_ext <<_ACEOF
 
2451
#line $LINENO "configure"
 
2452
/* confdefs.h.  */
 
2453
_ACEOF
 
2454
cat confdefs.h >>conftest.$ac_ext
 
2455
cat >>conftest.$ac_ext <<_ACEOF
 
2456
/* end confdefs.h.  */
 
2457
#include <stdlib.h>
 
2458
$ac_declaration
 
2459
int
 
2460
main ()
 
2461
{
 
2462
exit (42);
 
2463
  ;
 
2464
  return 0;
 
2465
}
 
2466
_ACEOF
 
2467
rm -f conftest.$ac_objext
 
2468
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2469
  (eval $ac_compile) 2>&5
 
2470
  ac_status=$?
 
2471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2472
  (exit $ac_status); } &&
 
2473
         { ac_try='test -s conftest.$ac_objext'
 
2474
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2475
  (eval $ac_try) 2>&5
 
2476
  ac_status=$?
 
2477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2478
  (exit $ac_status); }; }; then
 
2479
  :
 
2480
else
 
2481
  echo "$as_me: failed program was:" >&5
 
2482
sed 's/^/| /' conftest.$ac_ext >&5
 
2483
 
 
2484
continue
 
2485
fi
 
2486
rm -f conftest.$ac_objext conftest.$ac_ext
 
2487
  cat >conftest.$ac_ext <<_ACEOF
 
2488
#line $LINENO "configure"
 
2489
/* confdefs.h.  */
 
2490
_ACEOF
 
2491
cat confdefs.h >>conftest.$ac_ext
 
2492
cat >>conftest.$ac_ext <<_ACEOF
 
2493
/* end confdefs.h.  */
 
2494
$ac_declaration
 
2495
int
 
2496
main ()
 
2497
{
 
2498
exit (42);
 
2499
  ;
 
2500
  return 0;
 
2501
}
 
2502
_ACEOF
 
2503
rm -f conftest.$ac_objext
 
2504
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2505
  (eval $ac_compile) 2>&5
 
2506
  ac_status=$?
 
2507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2508
  (exit $ac_status); } &&
 
2509
         { ac_try='test -s conftest.$ac_objext'
 
2510
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2511
  (eval $ac_try) 2>&5
 
2512
  ac_status=$?
 
2513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2514
  (exit $ac_status); }; }; then
 
2515
  break
 
2516
else
 
2517
  echo "$as_me: failed program was:" >&5
 
2518
sed 's/^/| /' conftest.$ac_ext >&5
 
2519
 
 
2520
fi
 
2521
rm -f conftest.$ac_objext conftest.$ac_ext
 
2522
done
 
2523
rm -f conftest*
 
2524
if test -n "$ac_declaration"; then
 
2525
  echo '#ifdef __cplusplus' >>confdefs.h
 
2526
  echo $ac_declaration      >>confdefs.h
 
2527
  echo '#endif'             >>confdefs.h
 
2528
fi
 
2529
 
 
2530
else
 
2531
  echo "$as_me: failed program was:" >&5
 
2532
sed 's/^/| /' conftest.$ac_ext >&5
 
2533
 
 
2534
fi
 
2535
rm -f conftest.$ac_objext conftest.$ac_ext
 
2536
ac_ext=c
 
2537
ac_cpp='$CPP $CPPFLAGS'
 
2538
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2539
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2540
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2541
rm -f .deps 2>/dev/null
 
2542
mkdir .deps 2>/dev/null
 
2543
if test -d .deps; then
 
2544
  DEPDIR=.deps
 
2545
else
 
2546
  # MS-DOS does not allow filenames that begin with a dot.
 
2547
  DEPDIR=_deps
 
2548
fi
 
2549
rmdir .deps 2>/dev/null
 
2550
 
 
2551
 
 
2552
          ac_config_commands="$ac_config_commands depfiles"
 
2553
 
 
2554
 
 
2555
am_make=${MAKE-make}
 
2556
cat > confinc << 'END'
 
2557
doit:
 
2558
        @echo done
 
2559
END
 
2560
# If we don't find an include directive, just comment out the code.
 
2561
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2562
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2563
am__include="#"
 
2564
am__quote=
 
2565
_am_result=none
 
2566
# First try GNU make style include.
 
2567
echo "include confinc" > confmf
 
2568
# We grep out `Entering directory' and `Leaving directory'
 
2569
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2570
# In particular we don't look at `^make:' because GNU make might
 
2571
# be invoked under some other name (usually "gmake"), in which
 
2572
# case it prints its new name instead of `make'.
 
2573
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2574
   am__include=include
 
2575
   am__quote=
 
2576
   _am_result=GNU
 
2577
fi
 
2578
# Now try BSD make style include.
 
2579
if test "$am__include" = "#"; then
 
2580
   echo '.include "confinc"' > confmf
 
2581
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2582
      am__include=.include
 
2583
      am__quote="\""
 
2584
      _am_result=BSD
 
2585
   fi
 
2586
fi
 
2587
 
 
2588
 
 
2589
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2590
echo "${ECHO_T}$_am_result" >&6
 
2591
rm -f confinc confmf
 
2592
 
 
2593
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2594
if test "${enable_dependency_tracking+set}" = set; then
 
2595
  enableval="$enable_dependency_tracking"
 
2596
 
 
2597
fi;
 
2598
if test "x$enable_dependency_tracking" != xno; then
 
2599
  am_depcomp="$ac_aux_dir/depcomp"
 
2600
  AMDEPBACKSLASH='\'
 
2601
fi
 
2602
 
 
2603
 
 
2604
if test "x$enable_dependency_tracking" != xno; then
 
2605
  AMDEP_TRUE=
 
2606
  AMDEP_FALSE='#'
 
2607
else
 
2608
  AMDEP_TRUE='#'
 
2609
  AMDEP_FALSE=
 
2610
fi
 
2611
 
 
2612
 
 
2613
 
 
2614
 
 
2615
depcc="$CC"   am_compiler_list=
 
2616
 
 
2617
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
2618
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
2619
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
2620
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2621
else
 
2622
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
2623
  # We make a subdir and do the tests there.  Otherwise we can end up
 
2624
  # making bogus files that we don't know about and never remove.  For
 
2625
  # instance it was reported that on HP-UX the gcc test will end up
 
2626
  # making a dummy file named `D' -- because `-MD' means `put the output
 
2627
  # in D'.
 
2628
  mkdir conftest.dir
 
2629
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
2630
  # using a relative directory.
 
2631
  cp "$am_depcomp" conftest.dir
 
2632
  cd conftest.dir
 
2633
 
 
2634
  am_cv_CC_dependencies_compiler_type=none
 
2635
  if test "$am_compiler_list" = ""; then
 
2636
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
2637
  fi
 
2638
  for depmode in $am_compiler_list; do
 
2639
    # We need to recreate these files for each test, as the compiler may
 
2640
    # overwrite some of them when testing with obscure command lines.
 
2641
    # This happens at least with the AIX C compiler.
 
2642
    echo '#include "conftest.h"' > conftest.c
 
2643
    echo 'int i;' > conftest.h
 
2644
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2645
 
 
2646
    case $depmode in
 
2647
    nosideeffect)
 
2648
      # after this tag, mechanisms are not by side-effect, so they'll
 
2649
      # only be used when explicitly requested
 
2650
      if test "x$enable_dependency_tracking" = xyes; then
 
2651
        continue
 
2652
      else
 
2653
        break
 
2654
      fi
 
2655
      ;;
 
2656
    none) break ;;
 
2657
    esac
 
2658
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
2659
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
2660
    # handle `-M -o', and we need to detect this.
 
2661
    if depmode=$depmode \
 
2662
       source=conftest.c object=conftest.o \
 
2663
       depfile=conftest.Po tmpdepfile=conftest.TPo \
 
2664
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 
2665
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2666
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
2667
      am_cv_CC_dependencies_compiler_type=$depmode
 
2668
      break
 
2669
    fi
 
2670
  done
 
2671
 
 
2672
  cd ..
 
2673
  rm -rf conftest.dir
 
2674
else
 
2675
  am_cv_CC_dependencies_compiler_type=none
 
2676
fi
 
2677
 
 
2678
fi
 
2679
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
2680
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
2681
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
2682
 
 
2683
 
 
2684
 
 
2685
if
 
2686
  test "x$enable_dependency_tracking" != xno \
 
2687
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2688
  am__fastdepCC_TRUE=
 
2689
  am__fastdepCC_FALSE='#'
 
2690
else
 
2691
  am__fastdepCC_TRUE='#'
 
2692
  am__fastdepCC_FALSE=
 
2693
fi
 
2694
 
 
2695
 
 
2696
 
 
2697
echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
2698
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
2699
if test "${ac_cv_search_strerror+set}" = set; then
 
2700
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2701
else
 
2702
  ac_func_search_save_LIBS=$LIBS
 
2703
ac_cv_search_strerror=no
 
2704
cat >conftest.$ac_ext <<_ACEOF
 
2705
#line $LINENO "configure"
 
2706
/* confdefs.h.  */
 
2707
_ACEOF
 
2708
cat confdefs.h >>conftest.$ac_ext
 
2709
cat >>conftest.$ac_ext <<_ACEOF
 
2710
/* end confdefs.h.  */
 
2711
 
 
2712
/* Override any gcc2 internal prototype to avoid an error.  */
 
2713
#ifdef __cplusplus
 
2714
extern "C"
 
2715
#endif
 
2716
/* We use char because int might match the return type of a gcc2
 
2717
   builtin and then its argument prototype would still apply.  */
 
2718
char strerror ();
 
2719
int
 
2720
main ()
 
2721
{
 
2722
strerror ();
 
2723
  ;
 
2724
  return 0;
 
2725
}
 
2726
_ACEOF
 
2727
rm -f conftest.$ac_objext conftest$ac_exeext
 
2728
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2729
  (eval $ac_link) 2>&5
 
2730
  ac_status=$?
 
2731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2732
  (exit $ac_status); } &&
 
2733
         { ac_try='test -s conftest$ac_exeext'
 
2734
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2735
  (eval $ac_try) 2>&5
 
2736
  ac_status=$?
 
2737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2738
  (exit $ac_status); }; }; then
 
2739
  ac_cv_search_strerror="none required"
 
2740
else
 
2741
  echo "$as_me: failed program was:" >&5
 
2742
sed 's/^/| /' conftest.$ac_ext >&5
 
2743
 
 
2744
fi
 
2745
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2746
if test "$ac_cv_search_strerror" = no; then
 
2747
  for ac_lib in cposix; do
 
2748
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
2749
    cat >conftest.$ac_ext <<_ACEOF
 
2750
#line $LINENO "configure"
 
2751
/* confdefs.h.  */
 
2752
_ACEOF
 
2753
cat confdefs.h >>conftest.$ac_ext
 
2754
cat >>conftest.$ac_ext <<_ACEOF
 
2755
/* end confdefs.h.  */
 
2756
 
 
2757
/* Override any gcc2 internal prototype to avoid an error.  */
 
2758
#ifdef __cplusplus
 
2759
extern "C"
 
2760
#endif
 
2761
/* We use char because int might match the return type of a gcc2
 
2762
   builtin and then its argument prototype would still apply.  */
 
2763
char strerror ();
 
2764
int
 
2765
main ()
 
2766
{
 
2767
strerror ();
 
2768
  ;
 
2769
  return 0;
 
2770
}
 
2771
_ACEOF
 
2772
rm -f conftest.$ac_objext conftest$ac_exeext
 
2773
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2774
  (eval $ac_link) 2>&5
 
2775
  ac_status=$?
 
2776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2777
  (exit $ac_status); } &&
 
2778
         { ac_try='test -s conftest$ac_exeext'
 
2779
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2780
  (eval $ac_try) 2>&5
 
2781
  ac_status=$?
 
2782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2783
  (exit $ac_status); }; }; then
 
2784
  ac_cv_search_strerror="-l$ac_lib"
 
2785
break
 
2786
else
 
2787
  echo "$as_me: failed program was:" >&5
 
2788
sed 's/^/| /' conftest.$ac_ext >&5
 
2789
 
 
2790
fi
 
2791
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2792
  done
 
2793
fi
 
2794
LIBS=$ac_func_search_save_LIBS
 
2795
fi
 
2796
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
2797
echo "${ECHO_T}$ac_cv_search_strerror" >&6
 
2798
if test "$ac_cv_search_strerror" != no; then
 
2799
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
2800
 
 
2801
fi
 
2802
 
 
2803
 
 
2804
 
 
2805
echo "$as_me:$LINENO: checking for cos in -lm" >&5
 
2806
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
 
2807
if test "${ac_cv_lib_m_cos+set}" = set; then
 
2808
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2809
else
 
2810
  ac_check_lib_save_LIBS=$LIBS
 
2811
LIBS="-lm  $LIBS"
 
2812
cat >conftest.$ac_ext <<_ACEOF
 
2813
#line $LINENO "configure"
 
2814
/* confdefs.h.  */
 
2815
_ACEOF
 
2816
cat confdefs.h >>conftest.$ac_ext
 
2817
cat >>conftest.$ac_ext <<_ACEOF
 
2818
/* end confdefs.h.  */
 
2819
 
 
2820
/* Override any gcc2 internal prototype to avoid an error.  */
 
2821
#ifdef __cplusplus
 
2822
extern "C"
 
2823
#endif
 
2824
/* We use char because int might match the return type of a gcc2
 
2825
   builtin and then its argument prototype would still apply.  */
 
2826
char cos ();
 
2827
int
 
2828
main ()
 
2829
{
 
2830
cos ();
 
2831
  ;
 
2832
  return 0;
 
2833
}
 
2834
_ACEOF
 
2835
rm -f conftest.$ac_objext conftest$ac_exeext
 
2836
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2837
  (eval $ac_link) 2>&5
 
2838
  ac_status=$?
 
2839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2840
  (exit $ac_status); } &&
 
2841
         { ac_try='test -s conftest$ac_exeext'
 
2842
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2843
  (eval $ac_try) 2>&5
 
2844
  ac_status=$?
 
2845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2846
  (exit $ac_status); }; }; then
 
2847
  ac_cv_lib_m_cos=yes
 
2848
else
 
2849
  echo "$as_me: failed program was:" >&5
 
2850
sed 's/^/| /' conftest.$ac_ext >&5
 
2851
 
 
2852
ac_cv_lib_m_cos=no
 
2853
fi
 
2854
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
2855
LIBS=$ac_check_lib_save_LIBS
 
2856
fi
 
2857
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
 
2858
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
 
2859
if test $ac_cv_lib_m_cos = yes; then
 
2860
  cat >>confdefs.h <<_ACEOF
 
2861
#define HAVE_LIBM 1
 
2862
_ACEOF
 
2863
 
 
2864
  LIBS="-lm $LIBS"
 
2865
 
 
2866
fi
 
2867
 
 
2868
 
 
2869
ac_ext=c
 
2870
ac_cpp='$CPP $CPPFLAGS'
 
2871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2874
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2875
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2876
# On Suns, sometimes $CPP names a directory.
 
2877
if test -n "$CPP" && test -d "$CPP"; then
 
2878
  CPP=
 
2879
fi
 
2880
if test -z "$CPP"; then
 
2881
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2882
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2883
else
 
2884
      # Double quotes because CPP needs to be expanded
 
2885
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2886
    do
 
2887
      ac_preproc_ok=false
 
2888
for ac_c_preproc_warn_flag in '' yes
 
2889
do
 
2890
  # Use a header file that comes with gcc, so configuring glibc
 
2891
  # with a fresh cross-compiler works.
 
2892
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2893
  # <limits.h> exists even on freestanding compilers.
 
2894
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2895
  # not just through cpp. "Syntax error" is here to catch this case.
 
2896
  cat >conftest.$ac_ext <<_ACEOF
 
2897
#line $LINENO "configure"
 
2898
/* confdefs.h.  */
 
2899
_ACEOF
 
2900
cat confdefs.h >>conftest.$ac_ext
 
2901
cat >>conftest.$ac_ext <<_ACEOF
 
2902
/* end confdefs.h.  */
 
2903
#ifdef __STDC__
 
2904
# include <limits.h>
 
2905
#else
 
2906
# include <assert.h>
 
2907
#endif
 
2908
                     Syntax error
 
2909
_ACEOF
 
2910
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2911
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2912
  ac_status=$?
 
2913
  grep -v '^ *+' conftest.er1 >conftest.err
 
2914
  rm -f conftest.er1
 
2915
  cat conftest.err >&5
 
2916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2917
  (exit $ac_status); } >/dev/null; then
 
2918
  if test -s conftest.err; then
 
2919
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2920
  else
 
2921
    ac_cpp_err=
 
2922
  fi
 
2923
else
 
2924
  ac_cpp_err=yes
 
2925
fi
 
2926
if test -z "$ac_cpp_err"; then
 
2927
  :
 
2928
else
 
2929
  echo "$as_me: failed program was:" >&5
 
2930
sed 's/^/| /' conftest.$ac_ext >&5
 
2931
 
 
2932
  # Broken: fails on valid input.
 
2933
continue
 
2934
fi
 
2935
rm -f conftest.err conftest.$ac_ext
 
2936
 
 
2937
  # OK, works on sane cases.  Now check whether non-existent headers
 
2938
  # can be detected and how.
 
2939
  cat >conftest.$ac_ext <<_ACEOF
 
2940
#line $LINENO "configure"
 
2941
/* confdefs.h.  */
 
2942
_ACEOF
 
2943
cat confdefs.h >>conftest.$ac_ext
 
2944
cat >>conftest.$ac_ext <<_ACEOF
 
2945
/* end confdefs.h.  */
 
2946
#include <ac_nonexistent.h>
 
2947
_ACEOF
 
2948
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2949
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2950
  ac_status=$?
 
2951
  grep -v '^ *+' conftest.er1 >conftest.err
 
2952
  rm -f conftest.er1
 
2953
  cat conftest.err >&5
 
2954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2955
  (exit $ac_status); } >/dev/null; then
 
2956
  if test -s conftest.err; then
 
2957
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2958
  else
 
2959
    ac_cpp_err=
 
2960
  fi
 
2961
else
 
2962
  ac_cpp_err=yes
 
2963
fi
 
2964
if test -z "$ac_cpp_err"; then
 
2965
  # Broken: success on invalid input.
 
2966
continue
 
2967
else
 
2968
  echo "$as_me: failed program was:" >&5
 
2969
sed 's/^/| /' conftest.$ac_ext >&5
 
2970
 
 
2971
  # Passes both tests.
 
2972
ac_preproc_ok=:
 
2973
break
 
2974
fi
 
2975
rm -f conftest.err conftest.$ac_ext
 
2976
 
 
2977
done
 
2978
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2979
rm -f conftest.err conftest.$ac_ext
 
2980
if $ac_preproc_ok; then
 
2981
  break
 
2982
fi
 
2983
 
 
2984
    done
 
2985
    ac_cv_prog_CPP=$CPP
 
2986
 
 
2987
fi
 
2988
  CPP=$ac_cv_prog_CPP
 
2989
else
 
2990
  ac_cv_prog_CPP=$CPP
 
2991
fi
 
2992
echo "$as_me:$LINENO: result: $CPP" >&5
 
2993
echo "${ECHO_T}$CPP" >&6
 
2994
ac_preproc_ok=false
 
2995
for ac_c_preproc_warn_flag in '' yes
 
2996
do
 
2997
  # Use a header file that comes with gcc, so configuring glibc
 
2998
  # with a fresh cross-compiler works.
 
2999
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3000
  # <limits.h> exists even on freestanding compilers.
 
3001
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3002
  # not just through cpp. "Syntax error" is here to catch this case.
 
3003
  cat >conftest.$ac_ext <<_ACEOF
 
3004
#line $LINENO "configure"
 
3005
/* confdefs.h.  */
 
3006
_ACEOF
 
3007
cat confdefs.h >>conftest.$ac_ext
 
3008
cat >>conftest.$ac_ext <<_ACEOF
 
3009
/* end confdefs.h.  */
 
3010
#ifdef __STDC__
 
3011
# include <limits.h>
 
3012
#else
 
3013
# include <assert.h>
 
3014
#endif
 
3015
                     Syntax error
 
3016
_ACEOF
 
3017
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3018
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3019
  ac_status=$?
 
3020
  grep -v '^ *+' conftest.er1 >conftest.err
 
3021
  rm -f conftest.er1
 
3022
  cat conftest.err >&5
 
3023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3024
  (exit $ac_status); } >/dev/null; then
 
3025
  if test -s conftest.err; then
 
3026
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3027
  else
 
3028
    ac_cpp_err=
 
3029
  fi
 
3030
else
 
3031
  ac_cpp_err=yes
 
3032
fi
 
3033
if test -z "$ac_cpp_err"; then
 
3034
  :
 
3035
else
 
3036
  echo "$as_me: failed program was:" >&5
 
3037
sed 's/^/| /' conftest.$ac_ext >&5
 
3038
 
 
3039
  # Broken: fails on valid input.
 
3040
continue
 
3041
fi
 
3042
rm -f conftest.err conftest.$ac_ext
 
3043
 
 
3044
  # OK, works on sane cases.  Now check whether non-existent headers
 
3045
  # can be detected and how.
 
3046
  cat >conftest.$ac_ext <<_ACEOF
 
3047
#line $LINENO "configure"
 
3048
/* confdefs.h.  */
 
3049
_ACEOF
 
3050
cat confdefs.h >>conftest.$ac_ext
 
3051
cat >>conftest.$ac_ext <<_ACEOF
 
3052
/* end confdefs.h.  */
 
3053
#include <ac_nonexistent.h>
 
3054
_ACEOF
 
3055
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3056
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3057
  ac_status=$?
 
3058
  grep -v '^ *+' conftest.er1 >conftest.err
 
3059
  rm -f conftest.er1
 
3060
  cat conftest.err >&5
 
3061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3062
  (exit $ac_status); } >/dev/null; then
 
3063
  if test -s conftest.err; then
 
3064
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3065
  else
 
3066
    ac_cpp_err=
 
3067
  fi
 
3068
else
 
3069
  ac_cpp_err=yes
 
3070
fi
 
3071
if test -z "$ac_cpp_err"; then
 
3072
  # Broken: success on invalid input.
 
3073
continue
 
3074
else
 
3075
  echo "$as_me: failed program was:" >&5
 
3076
sed 's/^/| /' conftest.$ac_ext >&5
 
3077
 
 
3078
  # Passes both tests.
 
3079
ac_preproc_ok=:
 
3080
break
 
3081
fi
 
3082
rm -f conftest.err conftest.$ac_ext
 
3083
 
 
3084
done
 
3085
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3086
rm -f conftest.err conftest.$ac_ext
 
3087
if $ac_preproc_ok; then
 
3088
  :
 
3089
else
 
3090
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3091
See \`config.log' for more details." >&5
 
3092
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3093
See \`config.log' for more details." >&2;}
 
3094
   { (exit 1); exit 1; }; }
 
3095
fi
 
3096
 
 
3097
ac_ext=c
 
3098
ac_cpp='$CPP $CPPFLAGS'
 
3099
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3100
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3101
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3102
 
 
3103
 
 
3104
echo "$as_me:$LINENO: checking for egrep" >&5
 
3105
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
3106
if test "${ac_cv_prog_egrep+set}" = set; then
 
3107
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3108
else
 
3109
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
3110
    then ac_cv_prog_egrep='grep -E'
 
3111
    else ac_cv_prog_egrep='egrep'
 
3112
    fi
 
3113
fi
 
3114
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
3115
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
3116
 EGREP=$ac_cv_prog_egrep
 
3117
 
 
3118
 
 
3119
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3120
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3121
if test "${ac_cv_header_stdc+set}" = set; then
 
3122
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3123
else
 
3124
  cat >conftest.$ac_ext <<_ACEOF
 
3125
#line $LINENO "configure"
 
3126
/* confdefs.h.  */
 
3127
_ACEOF
 
3128
cat confdefs.h >>conftest.$ac_ext
 
3129
cat >>conftest.$ac_ext <<_ACEOF
 
3130
/* end confdefs.h.  */
 
3131
#include <stdlib.h>
 
3132
#include <stdarg.h>
 
3133
#include <string.h>
 
3134
#include <float.h>
 
3135
 
 
3136
int
 
3137
main ()
 
3138
{
 
3139
 
 
3140
  ;
 
3141
  return 0;
 
3142
}
 
3143
_ACEOF
 
3144
rm -f conftest.$ac_objext
 
3145
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3146
  (eval $ac_compile) 2>&5
 
3147
  ac_status=$?
 
3148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3149
  (exit $ac_status); } &&
 
3150
         { ac_try='test -s conftest.$ac_objext'
 
3151
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3152
  (eval $ac_try) 2>&5
 
3153
  ac_status=$?
 
3154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3155
  (exit $ac_status); }; }; then
 
3156
  ac_cv_header_stdc=yes
 
3157
else
 
3158
  echo "$as_me: failed program was:" >&5
 
3159
sed 's/^/| /' conftest.$ac_ext >&5
 
3160
 
 
3161
ac_cv_header_stdc=no
 
3162
fi
 
3163
rm -f conftest.$ac_objext conftest.$ac_ext
 
3164
 
 
3165
if test $ac_cv_header_stdc = yes; then
 
3166
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3167
  cat >conftest.$ac_ext <<_ACEOF
 
3168
#line $LINENO "configure"
 
3169
/* confdefs.h.  */
 
3170
_ACEOF
 
3171
cat confdefs.h >>conftest.$ac_ext
 
3172
cat >>conftest.$ac_ext <<_ACEOF
 
3173
/* end confdefs.h.  */
 
3174
#include <string.h>
 
3175
 
 
3176
_ACEOF
 
3177
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3178
  $EGREP "memchr" >/dev/null 2>&1; then
 
3179
  :
 
3180
else
 
3181
  ac_cv_header_stdc=no
 
3182
fi
 
3183
rm -f conftest*
 
3184
 
 
3185
fi
 
3186
 
 
3187
if test $ac_cv_header_stdc = yes; then
 
3188
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3189
  cat >conftest.$ac_ext <<_ACEOF
 
3190
#line $LINENO "configure"
 
3191
/* confdefs.h.  */
 
3192
_ACEOF
 
3193
cat confdefs.h >>conftest.$ac_ext
 
3194
cat >>conftest.$ac_ext <<_ACEOF
 
3195
/* end confdefs.h.  */
 
3196
#include <stdlib.h>
 
3197
 
 
3198
_ACEOF
 
3199
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3200
  $EGREP "free" >/dev/null 2>&1; then
 
3201
  :
 
3202
else
 
3203
  ac_cv_header_stdc=no
 
3204
fi
 
3205
rm -f conftest*
 
3206
 
 
3207
fi
 
3208
 
 
3209
if test $ac_cv_header_stdc = yes; then
 
3210
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3211
  if test "$cross_compiling" = yes; then
 
3212
  :
 
3213
else
 
3214
  cat >conftest.$ac_ext <<_ACEOF
 
3215
#line $LINENO "configure"
 
3216
/* confdefs.h.  */
 
3217
_ACEOF
 
3218
cat confdefs.h >>conftest.$ac_ext
 
3219
cat >>conftest.$ac_ext <<_ACEOF
 
3220
/* end confdefs.h.  */
 
3221
#include <ctype.h>
 
3222
#if ((' ' & 0x0FF) == 0x020)
 
3223
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3224
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3225
#else
 
3226
# define ISLOWER(c) \
 
3227
                   (('a' <= (c) && (c) <= 'i') \
 
3228
                     || ('j' <= (c) && (c) <= 'r') \
 
3229
                     || ('s' <= (c) && (c) <= 'z'))
 
3230
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3231
#endif
 
3232
 
 
3233
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3234
int
 
3235
main ()
 
3236
{
 
3237
  int i;
 
3238
  for (i = 0; i < 256; i++)
 
3239
    if (XOR (islower (i), ISLOWER (i))
 
3240
        || toupper (i) != TOUPPER (i))
 
3241
      exit(2);
 
3242
  exit (0);
 
3243
}
 
3244
_ACEOF
 
3245
rm -f conftest$ac_exeext
 
3246
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3247
  (eval $ac_link) 2>&5
 
3248
  ac_status=$?
 
3249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3250
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3251
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3252
  (eval $ac_try) 2>&5
 
3253
  ac_status=$?
 
3254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3255
  (exit $ac_status); }; }; then
 
3256
  :
 
3257
else
 
3258
  echo "$as_me: program exited with status $ac_status" >&5
 
3259
echo "$as_me: failed program was:" >&5
 
3260
sed 's/^/| /' conftest.$ac_ext >&5
 
3261
 
 
3262
( exit $ac_status )
 
3263
ac_cv_header_stdc=no
 
3264
fi
 
3265
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3266
fi
 
3267
fi
 
3268
fi
 
3269
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3270
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3271
if test $ac_cv_header_stdc = yes; then
 
3272
 
 
3273
cat >>confdefs.h <<\_ACEOF
 
3274
#define STDC_HEADERS 1
 
3275
_ACEOF
 
3276
 
 
3277
fi
 
3278
 
 
3279
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
3280
 
 
3281
 
 
3282
 
 
3283
 
 
3284
 
 
3285
 
 
3286
 
 
3287
 
 
3288
 
 
3289
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
3290
                  inttypes.h stdint.h unistd.h
 
3291
do
 
3292
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3293
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3294
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3295
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3296
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3297
else
 
3298
  cat >conftest.$ac_ext <<_ACEOF
 
3299
#line $LINENO "configure"
 
3300
/* confdefs.h.  */
 
3301
_ACEOF
 
3302
cat confdefs.h >>conftest.$ac_ext
 
3303
cat >>conftest.$ac_ext <<_ACEOF
 
3304
/* end confdefs.h.  */
 
3305
$ac_includes_default
 
3306
 
 
3307
#include <$ac_header>
 
3308
_ACEOF
 
3309
rm -f conftest.$ac_objext
 
3310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3311
  (eval $ac_compile) 2>&5
 
3312
  ac_status=$?
 
3313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3314
  (exit $ac_status); } &&
 
3315
         { ac_try='test -s conftest.$ac_objext'
 
3316
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3317
  (eval $ac_try) 2>&5
 
3318
  ac_status=$?
 
3319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3320
  (exit $ac_status); }; }; then
 
3321
  eval "$as_ac_Header=yes"
 
3322
else
 
3323
  echo "$as_me: failed program was:" >&5
 
3324
sed 's/^/| /' conftest.$ac_ext >&5
 
3325
 
 
3326
eval "$as_ac_Header=no"
 
3327
fi
 
3328
rm -f conftest.$ac_objext conftest.$ac_ext
 
3329
fi
 
3330
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3331
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3332
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3333
  cat >>confdefs.h <<_ACEOF
 
3334
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3335
_ACEOF
 
3336
 
 
3337
fi
 
3338
 
 
3339
done
 
3340
 
 
3341
 
 
3342
 
 
3343
 
 
3344
 
 
3345
 
 
3346
 
 
3347
for ac_header in stdio.h math.h errno.h stdlib.h nan.h
 
3348
do
 
3349
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3350
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3351
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3352
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3353
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3354
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3355
fi
 
3356
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3357
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3358
else
 
3359
  # Is the header compilable?
 
3360
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3361
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
3362
cat >conftest.$ac_ext <<_ACEOF
 
3363
#line $LINENO "configure"
 
3364
/* confdefs.h.  */
 
3365
_ACEOF
 
3366
cat confdefs.h >>conftest.$ac_ext
 
3367
cat >>conftest.$ac_ext <<_ACEOF
 
3368
/* end confdefs.h.  */
 
3369
$ac_includes_default
 
3370
#include <$ac_header>
 
3371
_ACEOF
 
3372
rm -f conftest.$ac_objext
 
3373
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3374
  (eval $ac_compile) 2>&5
 
3375
  ac_status=$?
 
3376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3377
  (exit $ac_status); } &&
 
3378
         { ac_try='test -s conftest.$ac_objext'
 
3379
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3380
  (eval $ac_try) 2>&5
 
3381
  ac_status=$?
 
3382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3383
  (exit $ac_status); }; }; then
 
3384
  ac_header_compiler=yes
 
3385
else
 
3386
  echo "$as_me: failed program was:" >&5
 
3387
sed 's/^/| /' conftest.$ac_ext >&5
 
3388
 
 
3389
ac_header_compiler=no
 
3390
fi
 
3391
rm -f conftest.$ac_objext conftest.$ac_ext
 
3392
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3393
echo "${ECHO_T}$ac_header_compiler" >&6
 
3394
 
 
3395
# Is the header present?
 
3396
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3397
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
3398
cat >conftest.$ac_ext <<_ACEOF
 
3399
#line $LINENO "configure"
 
3400
/* confdefs.h.  */
 
3401
_ACEOF
 
3402
cat confdefs.h >>conftest.$ac_ext
 
3403
cat >>conftest.$ac_ext <<_ACEOF
 
3404
/* end confdefs.h.  */
 
3405
#include <$ac_header>
 
3406
_ACEOF
 
3407
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3408
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3409
  ac_status=$?
 
3410
  grep -v '^ *+' conftest.er1 >conftest.err
 
3411
  rm -f conftest.er1
 
3412
  cat conftest.err >&5
 
3413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3414
  (exit $ac_status); } >/dev/null; then
 
3415
  if test -s conftest.err; then
 
3416
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3417
  else
 
3418
    ac_cpp_err=
 
3419
  fi
 
3420
else
 
3421
  ac_cpp_err=yes
 
3422
fi
 
3423
if test -z "$ac_cpp_err"; then
 
3424
  ac_header_preproc=yes
 
3425
else
 
3426
  echo "$as_me: failed program was:" >&5
 
3427
sed 's/^/| /' conftest.$ac_ext >&5
 
3428
 
 
3429
  ac_header_preproc=no
 
3430
fi
 
3431
rm -f conftest.err conftest.$ac_ext
 
3432
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3433
echo "${ECHO_T}$ac_header_preproc" >&6
 
3434
 
 
3435
# So?  What about this header?
 
3436
case $ac_header_compiler:$ac_header_preproc in
 
3437
  yes:no )
 
3438
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3439
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3440
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3441
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3442
    (
 
3443
      cat <<\_ASBOX
 
3444
## ------------------------------------ ##
 
3445
## Report this to bug-autoconf@gnu.org. ##
 
3446
## ------------------------------------ ##
 
3447
_ASBOX
 
3448
    ) |
 
3449
      sed "s/^/$as_me: WARNING:     /" >&2
 
3450
    ;;
 
3451
  no:yes )
 
3452
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3453
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3454
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
3455
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3456
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3457
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3458
    (
 
3459
      cat <<\_ASBOX
 
3460
## ------------------------------------ ##
 
3461
## Report this to bug-autoconf@gnu.org. ##
 
3462
## ------------------------------------ ##
 
3463
_ASBOX
 
3464
    ) |
 
3465
      sed "s/^/$as_me: WARNING:     /" >&2
 
3466
    ;;
 
3467
esac
 
3468
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3469
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3470
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3471
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3472
else
 
3473
  eval "$as_ac_Header=$ac_header_preproc"
 
3474
fi
 
3475
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3476
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3477
 
 
3478
fi
 
3479
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3480
  cat >>confdefs.h <<_ACEOF
 
3481
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3482
_ACEOF
 
3483
 
 
3484
fi
 
3485
 
 
3486
done
 
3487
 
 
3488
 
 
3489
 
 
3490
 
 
3491
 
 
3492
for ac_header in ieeefp.h time.h sys/time.h random.h
 
3493
do
 
3494
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3495
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3496
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3499
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3500
fi
 
3501
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3502
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3503
else
 
3504
  # Is the header compilable?
 
3505
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3506
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
3507
cat >conftest.$ac_ext <<_ACEOF
 
3508
#line $LINENO "configure"
 
3509
/* confdefs.h.  */
 
3510
_ACEOF
 
3511
cat confdefs.h >>conftest.$ac_ext
 
3512
cat >>conftest.$ac_ext <<_ACEOF
 
3513
/* end confdefs.h.  */
 
3514
$ac_includes_default
 
3515
#include <$ac_header>
 
3516
_ACEOF
 
3517
rm -f conftest.$ac_objext
 
3518
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3519
  (eval $ac_compile) 2>&5
 
3520
  ac_status=$?
 
3521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3522
  (exit $ac_status); } &&
 
3523
         { ac_try='test -s conftest.$ac_objext'
 
3524
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3525
  (eval $ac_try) 2>&5
 
3526
  ac_status=$?
 
3527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3528
  (exit $ac_status); }; }; then
 
3529
  ac_header_compiler=yes
 
3530
else
 
3531
  echo "$as_me: failed program was:" >&5
 
3532
sed 's/^/| /' conftest.$ac_ext >&5
 
3533
 
 
3534
ac_header_compiler=no
 
3535
fi
 
3536
rm -f conftest.$ac_objext conftest.$ac_ext
 
3537
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3538
echo "${ECHO_T}$ac_header_compiler" >&6
 
3539
 
 
3540
# Is the header present?
 
3541
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3542
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
3543
cat >conftest.$ac_ext <<_ACEOF
 
3544
#line $LINENO "configure"
 
3545
/* confdefs.h.  */
 
3546
_ACEOF
 
3547
cat confdefs.h >>conftest.$ac_ext
 
3548
cat >>conftest.$ac_ext <<_ACEOF
 
3549
/* end confdefs.h.  */
 
3550
#include <$ac_header>
 
3551
_ACEOF
 
3552
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3553
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3554
  ac_status=$?
 
3555
  grep -v '^ *+' conftest.er1 >conftest.err
 
3556
  rm -f conftest.er1
 
3557
  cat conftest.err >&5
 
3558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3559
  (exit $ac_status); } >/dev/null; then
 
3560
  if test -s conftest.err; then
 
3561
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3562
  else
 
3563
    ac_cpp_err=
 
3564
  fi
 
3565
else
 
3566
  ac_cpp_err=yes
 
3567
fi
 
3568
if test -z "$ac_cpp_err"; then
 
3569
  ac_header_preproc=yes
 
3570
else
 
3571
  echo "$as_me: failed program was:" >&5
 
3572
sed 's/^/| /' conftest.$ac_ext >&5
 
3573
 
 
3574
  ac_header_preproc=no
 
3575
fi
 
3576
rm -f conftest.err conftest.$ac_ext
 
3577
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3578
echo "${ECHO_T}$ac_header_preproc" >&6
 
3579
 
 
3580
# So?  What about this header?
 
3581
case $ac_header_compiler:$ac_header_preproc in
 
3582
  yes:no )
 
3583
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3584
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3585
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3586
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3587
    (
 
3588
      cat <<\_ASBOX
 
3589
## ------------------------------------ ##
 
3590
## Report this to bug-autoconf@gnu.org. ##
 
3591
## ------------------------------------ ##
 
3592
_ASBOX
 
3593
    ) |
 
3594
      sed "s/^/$as_me: WARNING:     /" >&2
 
3595
    ;;
 
3596
  no:yes )
 
3597
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3598
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3599
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
3600
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3601
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3602
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3603
    (
 
3604
      cat <<\_ASBOX
 
3605
## ------------------------------------ ##
 
3606
## Report this to bug-autoconf@gnu.org. ##
 
3607
## ------------------------------------ ##
 
3608
_ASBOX
 
3609
    ) |
 
3610
      sed "s/^/$as_me: WARNING:     /" >&2
 
3611
    ;;
 
3612
esac
 
3613
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3614
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3615
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3616
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3617
else
 
3618
  eval "$as_ac_Header=$ac_header_preproc"
 
3619
fi
 
3620
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3621
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3622
 
 
3623
fi
 
3624
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3625
  cat >>confdefs.h <<_ACEOF
 
3626
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3627
_ACEOF
 
3628
 
 
3629
fi
 
3630
 
 
3631
done
 
3632
 
 
3633
 
 
3634
 
 
3635
 
 
3636
 
 
3637
 
 
3638
for ac_header in string.h ctype.h sys/types.h unistd.h values.h
 
3639
do
 
3640
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3641
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3642
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3643
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3644
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3645
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3646
fi
 
3647
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3648
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3649
else
 
3650
  # Is the header compilable?
 
3651
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3652
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
3653
cat >conftest.$ac_ext <<_ACEOF
 
3654
#line $LINENO "configure"
 
3655
/* confdefs.h.  */
 
3656
_ACEOF
 
3657
cat confdefs.h >>conftest.$ac_ext
 
3658
cat >>conftest.$ac_ext <<_ACEOF
 
3659
/* end confdefs.h.  */
 
3660
$ac_includes_default
 
3661
#include <$ac_header>
 
3662
_ACEOF
 
3663
rm -f conftest.$ac_objext
 
3664
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3665
  (eval $ac_compile) 2>&5
 
3666
  ac_status=$?
 
3667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3668
  (exit $ac_status); } &&
 
3669
         { ac_try='test -s conftest.$ac_objext'
 
3670
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3671
  (eval $ac_try) 2>&5
 
3672
  ac_status=$?
 
3673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3674
  (exit $ac_status); }; }; then
 
3675
  ac_header_compiler=yes
 
3676
else
 
3677
  echo "$as_me: failed program was:" >&5
 
3678
sed 's/^/| /' conftest.$ac_ext >&5
 
3679
 
 
3680
ac_header_compiler=no
 
3681
fi
 
3682
rm -f conftest.$ac_objext conftest.$ac_ext
 
3683
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3684
echo "${ECHO_T}$ac_header_compiler" >&6
 
3685
 
 
3686
# Is the header present?
 
3687
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3688
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
3689
cat >conftest.$ac_ext <<_ACEOF
 
3690
#line $LINENO "configure"
 
3691
/* confdefs.h.  */
 
3692
_ACEOF
 
3693
cat confdefs.h >>conftest.$ac_ext
 
3694
cat >>conftest.$ac_ext <<_ACEOF
 
3695
/* end confdefs.h.  */
 
3696
#include <$ac_header>
 
3697
_ACEOF
 
3698
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3699
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3700
  ac_status=$?
 
3701
  grep -v '^ *+' conftest.er1 >conftest.err
 
3702
  rm -f conftest.er1
 
3703
  cat conftest.err >&5
 
3704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3705
  (exit $ac_status); } >/dev/null; then
 
3706
  if test -s conftest.err; then
 
3707
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3708
  else
 
3709
    ac_cpp_err=
 
3710
  fi
 
3711
else
 
3712
  ac_cpp_err=yes
 
3713
fi
 
3714
if test -z "$ac_cpp_err"; then
 
3715
  ac_header_preproc=yes
 
3716
else
 
3717
  echo "$as_me: failed program was:" >&5
 
3718
sed 's/^/| /' conftest.$ac_ext >&5
 
3719
 
 
3720
  ac_header_preproc=no
 
3721
fi
 
3722
rm -f conftest.err conftest.$ac_ext
 
3723
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3724
echo "${ECHO_T}$ac_header_preproc" >&6
 
3725
 
 
3726
# So?  What about this header?
 
3727
case $ac_header_compiler:$ac_header_preproc in
 
3728
  yes:no )
 
3729
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3730
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3731
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3732
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3733
    (
 
3734
      cat <<\_ASBOX
 
3735
## ------------------------------------ ##
 
3736
## Report this to bug-autoconf@gnu.org. ##
 
3737
## ------------------------------------ ##
 
3738
_ASBOX
 
3739
    ) |
 
3740
      sed "s/^/$as_me: WARNING:     /" >&2
 
3741
    ;;
 
3742
  no:yes )
 
3743
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3744
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3745
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
3746
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3747
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3748
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3749
    (
 
3750
      cat <<\_ASBOX
 
3751
## ------------------------------------ ##
 
3752
## Report this to bug-autoconf@gnu.org. ##
 
3753
## ------------------------------------ ##
 
3754
_ASBOX
 
3755
    ) |
 
3756
      sed "s/^/$as_me: WARNING:     /" >&2
 
3757
    ;;
 
3758
esac
 
3759
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3760
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3761
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3762
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3763
else
 
3764
  eval "$as_ac_Header=$ac_header_preproc"
 
3765
fi
 
3766
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3767
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3768
 
 
3769
fi
 
3770
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3771
  cat >>confdefs.h <<_ACEOF
 
3772
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3773
_ACEOF
 
3774
 
 
3775
fi
 
3776
 
 
3777
done
 
3778
 
 
3779
 
 
3780
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 
3781
# for constant arguments.  Useless!
 
3782
echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
3783
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
3784
if test "${ac_cv_working_alloca_h+set}" = set; then
 
3785
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3786
else
 
3787
  cat >conftest.$ac_ext <<_ACEOF
 
3788
#line $LINENO "configure"
 
3789
/* confdefs.h.  */
 
3790
_ACEOF
 
3791
cat confdefs.h >>conftest.$ac_ext
 
3792
cat >>conftest.$ac_ext <<_ACEOF
 
3793
/* end confdefs.h.  */
 
3794
#include <alloca.h>
 
3795
int
 
3796
main ()
 
3797
{
 
3798
char *p = (char *) alloca (2 * sizeof (int));
 
3799
  ;
 
3800
  return 0;
 
3801
}
 
3802
_ACEOF
 
3803
rm -f conftest.$ac_objext conftest$ac_exeext
 
3804
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3805
  (eval $ac_link) 2>&5
 
3806
  ac_status=$?
 
3807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3808
  (exit $ac_status); } &&
 
3809
         { ac_try='test -s conftest$ac_exeext'
 
3810
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3811
  (eval $ac_try) 2>&5
 
3812
  ac_status=$?
 
3813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3814
  (exit $ac_status); }; }; then
 
3815
  ac_cv_working_alloca_h=yes
 
3816
else
 
3817
  echo "$as_me: failed program was:" >&5
 
3818
sed 's/^/| /' conftest.$ac_ext >&5
 
3819
 
 
3820
ac_cv_working_alloca_h=no
 
3821
fi
 
3822
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3823
fi
 
3824
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
3825
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
3826
if test $ac_cv_working_alloca_h = yes; then
 
3827
 
 
3828
cat >>confdefs.h <<\_ACEOF
 
3829
#define HAVE_ALLOCA_H 1
 
3830
_ACEOF
 
3831
 
 
3832
fi
 
3833
 
 
3834
echo "$as_me:$LINENO: checking for alloca" >&5
 
3835
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
3836
if test "${ac_cv_func_alloca_works+set}" = set; then
 
3837
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3838
else
 
3839
  cat >conftest.$ac_ext <<_ACEOF
 
3840
#line $LINENO "configure"
 
3841
/* confdefs.h.  */
 
3842
_ACEOF
 
3843
cat confdefs.h >>conftest.$ac_ext
 
3844
cat >>conftest.$ac_ext <<_ACEOF
 
3845
/* end confdefs.h.  */
 
3846
#ifdef __GNUC__
 
3847
# define alloca __builtin_alloca
 
3848
#else
 
3849
# ifdef _MSC_VER
 
3850
#  include <malloc.h>
 
3851
#  define alloca _alloca
 
3852
# else
 
3853
#  if HAVE_ALLOCA_H
 
3854
#   include <alloca.h>
 
3855
#  else
 
3856
#   ifdef _AIX
 
3857
 #pragma alloca
 
3858
#   else
 
3859
#    ifndef alloca /* predefined by HP cc +Olibcalls */
 
3860
char *alloca ();
 
3861
#    endif
 
3862
#   endif
 
3863
#  endif
 
3864
# endif
 
3865
#endif
 
3866
 
 
3867
int
 
3868
main ()
 
3869
{
 
3870
char *p = (char *) alloca (1);
 
3871
  ;
 
3872
  return 0;
 
3873
}
 
3874
_ACEOF
 
3875
rm -f conftest.$ac_objext conftest$ac_exeext
 
3876
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3877
  (eval $ac_link) 2>&5
 
3878
  ac_status=$?
 
3879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3880
  (exit $ac_status); } &&
 
3881
         { ac_try='test -s conftest$ac_exeext'
 
3882
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3883
  (eval $ac_try) 2>&5
 
3884
  ac_status=$?
 
3885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3886
  (exit $ac_status); }; }; then
 
3887
  ac_cv_func_alloca_works=yes
 
3888
else
 
3889
  echo "$as_me: failed program was:" >&5
 
3890
sed 's/^/| /' conftest.$ac_ext >&5
 
3891
 
 
3892
ac_cv_func_alloca_works=no
 
3893
fi
 
3894
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3895
fi
 
3896
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
3897
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
3898
 
 
3899
if test $ac_cv_func_alloca_works = yes; then
 
3900
 
 
3901
cat >>confdefs.h <<\_ACEOF
 
3902
#define HAVE_ALLOCA 1
 
3903
_ACEOF
 
3904
 
 
3905
else
 
3906
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 
3907
# that cause trouble.  Some versions do not even contain alloca or
 
3908
# contain a buggy version.  If you still want to use their alloca,
 
3909
# use ar to extract alloca.o from them instead of compiling alloca.c.
 
3910
 
 
3911
ALLOCA=alloca.$ac_objext
 
3912
 
 
3913
cat >>confdefs.h <<\_ACEOF
 
3914
#define C_ALLOCA 1
 
3915
_ACEOF
 
3916
 
 
3917
 
 
3918
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
3919
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
3920
if test "${ac_cv_os_cray+set}" = set; then
 
3921
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3922
else
 
3923
  cat >conftest.$ac_ext <<_ACEOF
 
3924
#line $LINENO "configure"
 
3925
/* confdefs.h.  */
 
3926
_ACEOF
 
3927
cat confdefs.h >>conftest.$ac_ext
 
3928
cat >>conftest.$ac_ext <<_ACEOF
 
3929
/* end confdefs.h.  */
 
3930
#if defined(CRAY) && ! defined(CRAY2)
 
3931
webecray
 
3932
#else
 
3933
wenotbecray
 
3934
#endif
 
3935
 
 
3936
_ACEOF
 
3937
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3938
  $EGREP "webecray" >/dev/null 2>&1; then
 
3939
  ac_cv_os_cray=yes
 
3940
else
 
3941
  ac_cv_os_cray=no
 
3942
fi
 
3943
rm -f conftest*
 
3944
 
 
3945
fi
 
3946
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
3947
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
3948
if test $ac_cv_os_cray = yes; then
 
3949
  for ac_func in _getb67 GETB67 getb67; do
 
3950
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
3951
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
3952
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
3953
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
3954
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3955
else
 
3956
  cat >conftest.$ac_ext <<_ACEOF
 
3957
#line $LINENO "configure"
 
3958
/* confdefs.h.  */
 
3959
_ACEOF
 
3960
cat confdefs.h >>conftest.$ac_ext
 
3961
cat >>conftest.$ac_ext <<_ACEOF
 
3962
/* end confdefs.h.  */
 
3963
/* System header to define __stub macros and hopefully few prototypes,
 
3964
    which can conflict with char $ac_func (); below.
 
3965
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3966
    <limits.h> exists even on freestanding compilers.  */
 
3967
#ifdef __STDC__
 
3968
# include <limits.h>
 
3969
#else
 
3970
# include <assert.h>
 
3971
#endif
 
3972
/* Override any gcc2 internal prototype to avoid an error.  */
 
3973
#ifdef __cplusplus
 
3974
extern "C"
 
3975
{
 
3976
#endif
 
3977
/* We use char because int might match the return type of a gcc2
 
3978
   builtin and then its argument prototype would still apply.  */
 
3979
char $ac_func ();
 
3980
/* The GNU C library defines this for functions which it implements
 
3981
    to always fail with ENOSYS.  Some functions are actually named
 
3982
    something starting with __ and the normal name is an alias.  */
 
3983
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
3984
choke me
 
3985
#else
 
3986
char (*f) () = $ac_func;
 
3987
#endif
 
3988
#ifdef __cplusplus
 
3989
}
 
3990
#endif
 
3991
 
 
3992
int
 
3993
main ()
 
3994
{
 
3995
return f != $ac_func;
 
3996
  ;
 
3997
  return 0;
 
3998
}
 
3999
_ACEOF
 
4000
rm -f conftest.$ac_objext conftest$ac_exeext
 
4001
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4002
  (eval $ac_link) 2>&5
 
4003
  ac_status=$?
 
4004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4005
  (exit $ac_status); } &&
 
4006
         { ac_try='test -s conftest$ac_exeext'
 
4007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4008
  (eval $ac_try) 2>&5
 
4009
  ac_status=$?
 
4010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4011
  (exit $ac_status); }; }; then
 
4012
  eval "$as_ac_var=yes"
 
4013
else
 
4014
  echo "$as_me: failed program was:" >&5
 
4015
sed 's/^/| /' conftest.$ac_ext >&5
 
4016
 
 
4017
eval "$as_ac_var=no"
 
4018
fi
 
4019
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4020
fi
 
4021
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
4022
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
4023
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4024
 
 
4025
cat >>confdefs.h <<_ACEOF
 
4026
#define CRAY_STACKSEG_END $ac_func
 
4027
_ACEOF
 
4028
 
 
4029
    break
 
4030
fi
 
4031
 
 
4032
  done
 
4033
fi
 
4034
 
 
4035
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
4036
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
4037
if test "${ac_cv_c_stack_direction+set}" = set; then
 
4038
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4039
else
 
4040
  if test "$cross_compiling" = yes; then
 
4041
  ac_cv_c_stack_direction=0
 
4042
else
 
4043
  cat >conftest.$ac_ext <<_ACEOF
 
4044
#line $LINENO "configure"
 
4045
/* confdefs.h.  */
 
4046
_ACEOF
 
4047
cat confdefs.h >>conftest.$ac_ext
 
4048
cat >>conftest.$ac_ext <<_ACEOF
 
4049
/* end confdefs.h.  */
 
4050
int
 
4051
find_stack_direction ()
 
4052
{
 
4053
  static char *addr = 0;
 
4054
  auto char dummy;
 
4055
  if (addr == 0)
 
4056
    {
 
4057
      addr = &dummy;
 
4058
      return find_stack_direction ();
 
4059
    }
 
4060
  else
 
4061
    return (&dummy > addr) ? 1 : -1;
 
4062
}
 
4063
 
 
4064
int
 
4065
main ()
 
4066
{
 
4067
  exit (find_stack_direction () < 0);
 
4068
}
 
4069
_ACEOF
 
4070
rm -f conftest$ac_exeext
 
4071
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4072
  (eval $ac_link) 2>&5
 
4073
  ac_status=$?
 
4074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4075
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4076
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4077
  (eval $ac_try) 2>&5
 
4078
  ac_status=$?
 
4079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4080
  (exit $ac_status); }; }; then
 
4081
  ac_cv_c_stack_direction=1
 
4082
else
 
4083
  echo "$as_me: program exited with status $ac_status" >&5
 
4084
echo "$as_me: failed program was:" >&5
 
4085
sed 's/^/| /' conftest.$ac_ext >&5
 
4086
 
 
4087
( exit $ac_status )
 
4088
ac_cv_c_stack_direction=-1
 
4089
fi
 
4090
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4091
fi
 
4092
fi
 
4093
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
4094
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
4095
 
 
4096
cat >>confdefs.h <<_ACEOF
 
4097
#define STACK_DIRECTION $ac_cv_c_stack_direction
 
4098
_ACEOF
 
4099
 
 
4100
 
 
4101
fi
 
4102
 
 
4103
 
 
4104
 
 
4105
echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
 
4106
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
 
4107
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
 
4108
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4109
else
 
4110
  cat >conftest.$ac_ext <<_ACEOF
 
4111
#line $LINENO "configure"
 
4112
/* confdefs.h.  */
 
4113
_ACEOF
 
4114
cat confdefs.h >>conftest.$ac_ext
 
4115
cat >>conftest.$ac_ext <<_ACEOF
 
4116
/* end confdefs.h.  */
 
4117
$ac_includes_default
 
4118
int
 
4119
main ()
 
4120
{
 
4121
static struct stat ac_aggr;
 
4122
if (ac_aggr.st_blksize)
 
4123
return 0;
 
4124
  ;
 
4125
  return 0;
 
4126
}
 
4127
_ACEOF
 
4128
rm -f conftest.$ac_objext
 
4129
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4130
  (eval $ac_compile) 2>&5
 
4131
  ac_status=$?
 
4132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4133
  (exit $ac_status); } &&
 
4134
         { ac_try='test -s conftest.$ac_objext'
 
4135
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4136
  (eval $ac_try) 2>&5
 
4137
  ac_status=$?
 
4138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4139
  (exit $ac_status); }; }; then
 
4140
  ac_cv_member_struct_stat_st_blksize=yes
 
4141
else
 
4142
  echo "$as_me: failed program was:" >&5
 
4143
sed 's/^/| /' conftest.$ac_ext >&5
 
4144
 
 
4145
cat >conftest.$ac_ext <<_ACEOF
 
4146
#line $LINENO "configure"
 
4147
/* confdefs.h.  */
 
4148
_ACEOF
 
4149
cat confdefs.h >>conftest.$ac_ext
 
4150
cat >>conftest.$ac_ext <<_ACEOF
 
4151
/* end confdefs.h.  */
 
4152
$ac_includes_default
 
4153
int
 
4154
main ()
 
4155
{
 
4156
static struct stat ac_aggr;
 
4157
if (sizeof ac_aggr.st_blksize)
 
4158
return 0;
 
4159
  ;
 
4160
  return 0;
 
4161
}
 
4162
_ACEOF
 
4163
rm -f conftest.$ac_objext
 
4164
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4165
  (eval $ac_compile) 2>&5
 
4166
  ac_status=$?
 
4167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4168
  (exit $ac_status); } &&
 
4169
         { ac_try='test -s conftest.$ac_objext'
 
4170
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4171
  (eval $ac_try) 2>&5
 
4172
  ac_status=$?
 
4173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4174
  (exit $ac_status); }; }; then
 
4175
  ac_cv_member_struct_stat_st_blksize=yes
 
4176
else
 
4177
  echo "$as_me: failed program was:" >&5
 
4178
sed 's/^/| /' conftest.$ac_ext >&5
 
4179
 
 
4180
ac_cv_member_struct_stat_st_blksize=no
 
4181
fi
 
4182
rm -f conftest.$ac_objext conftest.$ac_ext
 
4183
fi
 
4184
rm -f conftest.$ac_objext conftest.$ac_ext
 
4185
fi
 
4186
echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
 
4187
echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
 
4188
if test $ac_cv_member_struct_stat_st_blksize = yes; then
 
4189
 
 
4190
cat >>confdefs.h <<_ACEOF
 
4191
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
 
4192
_ACEOF
 
4193
 
 
4194
 
 
4195
cat >>confdefs.h <<\_ACEOF
 
4196
#define HAVE_ST_BLKSIZE 1
 
4197
_ACEOF
 
4198
 
 
4199
fi
 
4200
 
 
4201
 
 
4202
 
 
4203
#AM_GNU_GETTEXT
 
4204
                                                            ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile man/Makefile man/man1/Makefile man/man5/Makefile"
 
4205
cat >confcache <<\_ACEOF
 
4206
# This file is a shell script that caches the results of configure
 
4207
# tests run on this system so they can be shared between configure
 
4208
# scripts and configure runs, see configure's option --config-cache.
 
4209
# It is not useful on other systems.  If it contains results you don't
 
4210
# want to keep, you may remove or edit it.
 
4211
#
 
4212
# config.status only pays attention to the cache file if you give it
 
4213
# the --recheck option to rerun configure.
 
4214
#
 
4215
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
4216
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
4217
# following values.
 
4218
 
 
4219
_ACEOF
 
4220
 
 
4221
# The following way of writing the cache mishandles newlines in values,
 
4222
# but we know of no workaround that is simple, portable, and efficient.
 
4223
# So, don't put newlines in cache variables' values.
 
4224
# Ultrix sh set writes to stderr and can't be redirected directly,
 
4225
# and sets the high bit in the cache file unless we assign to the vars.
 
4226
{
 
4227
  (set) 2>&1 |
 
4228
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
4229
    *ac_space=\ *)
 
4230
      # `set' does not quote correctly, so add quotes (double-quote
 
4231
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4232
      sed -n \
 
4233
        "s/'/'\\\\''/g;
 
4234
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4235
      ;;
 
4236
    *)
 
4237
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
4238
      sed -n \
 
4239
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4240
      ;;
 
4241
    esac;
 
4242
} |
 
4243
  sed '
 
4244
     t clear
 
4245
     : clear
 
4246
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
4247
     t end
 
4248
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4249
     : end' >>confcache
 
4250
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
4251
  if test -w $cache_file; then
 
4252
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
4253
    cat confcache >$cache_file
 
4254
  else
 
4255
    echo "not updating unwritable cache $cache_file"
 
4256
  fi
 
4257
fi
 
4258
rm -f confcache
 
4259
 
 
4260
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
4261
# Let make expand exec_prefix.
 
4262
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
4263
 
 
4264
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4265
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4266
# trailing colons and then remove the whole line if VPATH becomes empty
 
4267
# (actually we leave an empty line to preserve line numbers).
 
4268
if test "x$srcdir" = x.; then
 
4269
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4270
s/:*\$(srcdir):*/:/;
 
4271
s/:*\${srcdir}:*/:/;
 
4272
s/:*@srcdir@:*/:/;
 
4273
s/^\([^=]*=[    ]*\):*/\1/;
 
4274
s/:*$//;
 
4275
s/^[^=]*=[      ]*$//;
 
4276
}'
 
4277
fi
 
4278
 
 
4279
# Transform confdefs.h into DEFS.
 
4280
# Protect against shell expansion while executing Makefile rules.
 
4281
# Protect against Makefile macro expansion.
 
4282
#
 
4283
# If the first sed substitution is executed (which looks for macros that
 
4284
# take arguments), then we branch to the quote section.  Otherwise,
 
4285
# look for a macro that doesn't take arguments.
 
4286
cat >confdef2opt.sed <<\_ACEOF
 
4287
t clear
 
4288
: clear
 
4289
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
4290
t quote
 
4291
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
4292
t quote
 
4293
d
 
4294
: quote
 
4295
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
4296
s,\[,\\&,g
 
4297
s,\],\\&,g
 
4298
s,\$,$$,g
 
4299
p
 
4300
_ACEOF
 
4301
# We use echo to avoid assuming a particular line-breaking character.
 
4302
# The extra dot is to prevent the shell from consuming trailing
 
4303
# line-breaks from the sub-command output.  A line-break within
 
4304
# single-quotes doesn't work because, if this script is created in a
 
4305
# platform that uses two characters for line-breaks (e.g., DOS), tr
 
4306
# would break.
 
4307
ac_LF_and_DOT=`echo; echo .`
 
4308
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 
4309
rm -f confdef2opt.sed
 
4310
 
 
4311
 
 
4312
ac_libobjs=
 
4313
ac_ltlibobjs=
 
4314
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
4315
  # 1. Remove the extension, and $U if already installed.
 
4316
  ac_i=`echo "$ac_i" |
 
4317
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4318
  # 2. Add them.
 
4319
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
4320
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
4321
done
 
4322
LIBOBJS=$ac_libobjs
 
4323
 
 
4324
LTLIBOBJS=$ac_ltlibobjs
 
4325
 
 
4326
 
 
4327
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
4328
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
4329
Usually this means the macro was only invoked conditionally." >&5
 
4330
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
4331
Usually this means the macro was only invoked conditionally." >&2;}
 
4332
   { (exit 1); exit 1; }; }
 
4333
fi
 
4334
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
4335
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
4336
Usually this means the macro was only invoked conditionally." >&5
 
4337
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
4338
Usually this means the macro was only invoked conditionally." >&2;}
 
4339
   { (exit 1); exit 1; }; }
 
4340
fi
 
4341
 
 
4342
: ${CONFIG_STATUS=./config.status}
 
4343
ac_clean_files_save=$ac_clean_files
 
4344
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
4345
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4346
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
4347
cat >$CONFIG_STATUS <<_ACEOF
 
4348
#! $SHELL
 
4349
# Generated by $as_me.
 
4350
# Run this file to recreate the current configuration.
 
4351
# Compiler output produced by configure, useful for debugging
 
4352
# configure, is in config.log if it exists.
 
4353
 
 
4354
debug=false
 
4355
ac_cs_recheck=false
 
4356
ac_cs_silent=false
 
4357
SHELL=\${CONFIG_SHELL-$SHELL}
 
4358
_ACEOF
 
4359
 
 
4360
cat >>$CONFIG_STATUS <<\_ACEOF
 
4361
## --------------------- ##
 
4362
## M4sh Initialization.  ##
 
4363
## --------------------- ##
 
4364
 
 
4365
# Be Bourne compatible
 
4366
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4367
  emulate sh
 
4368
  NULLCMD=:
 
4369
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
4370
  # is contrary to our usage.  Disable this feature.
 
4371
  alias -g '${1+"$@"}'='"$@"'
 
4372
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
4373
  set -o posix
 
4374
fi
 
4375
 
 
4376
# Support unset when possible.
 
4377
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
4378
  as_unset=unset
 
4379
else
 
4380
  as_unset=false
 
4381
fi
 
4382
 
 
4383
 
 
4384
# Work around bugs in pre-3.0 UWIN ksh.
 
4385
$as_unset ENV MAIL MAILPATH
 
4386
PS1='$ '
 
4387
PS2='> '
 
4388
PS4='+ '
 
4389
 
 
4390
# NLS nuisances.
 
4391
for as_var in \
 
4392
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
4393
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
4394
  LC_TELEPHONE LC_TIME
 
4395
do
 
4396
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4397
    eval $as_var=C; export $as_var
 
4398
  else
 
4399
    $as_unset $as_var
 
4400
  fi
 
4401
done
 
4402
 
 
4403
# Required to use basename.
 
4404
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4405
  as_expr=expr
 
4406
else
 
4407
  as_expr=false
 
4408
fi
 
4409
 
 
4410
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
4411
  as_basename=basename
 
4412
else
 
4413
  as_basename=false
 
4414
fi
 
4415
 
 
4416
 
 
4417
# Name of the executable.
 
4418
as_me=`$as_basename "$0" ||
 
4419
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
4420
         X"$0" : 'X\(//\)$' \| \
 
4421
         X"$0" : 'X\(/\)$' \| \
 
4422
         .     : '\(.\)' 2>/dev/null ||
 
4423
echo X/"$0" |
 
4424
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
4425
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
4426
          /^X\/\(\/\).*/{ s//\1/; q; }
 
4427
          s/.*/./; q'`
 
4428
 
 
4429
 
 
4430
# PATH needs CR, and LINENO needs CR and PATH.
 
4431
# Avoid depending upon Character Ranges.
 
4432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4435
as_cr_digits='0123456789'
 
4436
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4437
 
 
4438
# The user is always right.
 
4439
if test "${PATH_SEPARATOR+set}" != set; then
 
4440
  echo "#! /bin/sh" >conf$$.sh
 
4441
  echo  "exit 0"   >>conf$$.sh
 
4442
  chmod +x conf$$.sh
 
4443
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4444
    PATH_SEPARATOR=';'
 
4445
  else
 
4446
    PATH_SEPARATOR=:
 
4447
  fi
 
4448
  rm -f conf$$.sh
 
4449
fi
 
4450
 
 
4451
 
 
4452
  as_lineno_1=$LINENO
 
4453
  as_lineno_2=$LINENO
 
4454
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
4455
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4456
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
4457
  # Find who we are.  Look in the path if we contain no path at all
 
4458
  # relative or not.
 
4459
  case $0 in
 
4460
    *[\\/]* ) as_myself=$0 ;;
 
4461
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4462
for as_dir in $PATH
 
4463
do
 
4464
  IFS=$as_save_IFS
 
4465
  test -z "$as_dir" && as_dir=.
 
4466
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4467
done
 
4468
 
 
4469
       ;;
 
4470
  esac
 
4471
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
4472
  # in which case we are not to be found in the path.
 
4473
  if test "x$as_myself" = x; then
 
4474
    as_myself=$0
 
4475
  fi
 
4476
  if test ! -f "$as_myself"; then
 
4477
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
4478
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
4479
   { (exit 1); exit 1; }; }
 
4480
  fi
 
4481
  case $CONFIG_SHELL in
 
4482
  '')
 
4483
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4484
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
4485
do
 
4486
  IFS=$as_save_IFS
 
4487
  test -z "$as_dir" && as_dir=.
 
4488
  for as_base in sh bash ksh sh5; do
 
4489
         case $as_dir in
 
4490
         /*)
 
4491
           if ("$as_dir/$as_base" -c '
 
4492
  as_lineno_1=$LINENO
 
4493
  as_lineno_2=$LINENO
 
4494
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
4495
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4496
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
4497
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
4498
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
4499
             CONFIG_SHELL=$as_dir/$as_base
 
4500
             export CONFIG_SHELL
 
4501
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
4502
           fi;;
 
4503
         esac
 
4504
       done
 
4505
done
 
4506
;;
 
4507
  esac
 
4508
 
 
4509
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
4510
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
4511
  # line-number line before each line; the second 'sed' does the real
 
4512
  # work.  The second script uses 'N' to pair each line-number line
 
4513
  # with the numbered line, and appends trailing '-' during
 
4514
  # substitution so that $LINENO is not a special case at line end.
 
4515
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
4516
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
4517
  sed '=' <$as_myself |
 
4518
    sed '
 
4519
      N
 
4520
      s,$,-,
 
4521
      : loop
 
4522
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
4523
      t loop
 
4524
      s,-$,,
 
4525
      s,^['$as_cr_digits']*\n,,
 
4526
    ' >$as_me.lineno &&
 
4527
  chmod +x $as_me.lineno ||
 
4528
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
4529
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
4530
   { (exit 1); exit 1; }; }
 
4531
 
 
4532
  # Don't try to exec as it changes $[0], causing all sort of problems
 
4533
  # (the dirname of $[0] is not the place where we might find the
 
4534
  # original and so on.  Autoconf is especially sensible to this).
 
4535
  . ./$as_me.lineno
 
4536
  # Exit status is that of the last command.
 
4537
  exit
 
4538
}
 
4539
 
 
4540
 
 
4541
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
4542
  *c*,-n*) ECHO_N= ECHO_C='
 
4543
' ECHO_T='      ' ;;
 
4544
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
4545
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
4546
esac
 
4547
 
 
4548
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4549
  as_expr=expr
 
4550
else
 
4551
  as_expr=false
 
4552
fi
 
4553
 
 
4554
rm -f conf$$ conf$$.exe conf$$.file
 
4555
echo >conf$$.file
 
4556
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
4557
  # We could just check for DJGPP; but this test a) works b) is more generic
 
4558
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
4559
  if test -f conf$$.exe; then
 
4560
    # Don't use ln at all; we don't have any links
 
4561
    as_ln_s='cp -p'
 
4562
  else
 
4563
    as_ln_s='ln -s'
 
4564
  fi
 
4565
elif ln conf$$.file conf$$ 2>/dev/null; then
 
4566
  as_ln_s=ln
 
4567
else
 
4568
  as_ln_s='cp -p'
 
4569
fi
 
4570
rm -f conf$$ conf$$.exe conf$$.file
 
4571
 
 
4572
if mkdir -p . 2>/dev/null; then
 
4573
  as_mkdir_p=:
 
4574
else
 
4575
  as_mkdir_p=false
 
4576
fi
 
4577
 
 
4578
as_executable_p="test -f"
 
4579
 
 
4580
# Sed expression to map a string onto a valid CPP name.
 
4581
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4582
 
 
4583
# Sed expression to map a string onto a valid variable name.
 
4584
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4585
 
 
4586
 
 
4587
# IFS
 
4588
# We need space, tab and new line, in precisely that order.
 
4589
as_nl='
 
4590
'
 
4591
IFS="   $as_nl"
 
4592
 
 
4593
# CDPATH.
 
4594
$as_unset CDPATH
 
4595
 
 
4596
exec 6>&1
 
4597
 
 
4598
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
4599
# report actual input values of CONFIG_FILES etc. instead of their
 
4600
# values after options handling.  Logging --version etc. is OK.
 
4601
exec 5>>config.log
 
4602
{
 
4603
  echo
 
4604
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4605
## Running $as_me. ##
 
4606
_ASBOX
 
4607
} >&5
 
4608
cat >&5 <<_CSEOF
 
4609
 
 
4610
This file was extended by yagiuda $as_me 1.19, which was
 
4611
generated by GNU Autoconf 2.57.  Invocation command line was
 
4612
 
 
4613
  CONFIG_FILES    = $CONFIG_FILES
 
4614
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
4615
  CONFIG_LINKS    = $CONFIG_LINKS
 
4616
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
4617
  $ $0 $@
 
4618
 
 
4619
_CSEOF
 
4620
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
4621
echo >&5
 
4622
_ACEOF
 
4623
 
 
4624
# Files that config.status was made for.
 
4625
if test -n "$ac_config_files"; then
 
4626
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
4627
fi
 
4628
 
 
4629
if test -n "$ac_config_headers"; then
 
4630
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
4631
fi
 
4632
 
 
4633
if test -n "$ac_config_links"; then
 
4634
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
4635
fi
 
4636
 
 
4637
if test -n "$ac_config_commands"; then
 
4638
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
4639
fi
 
4640
 
 
4641
cat >>$CONFIG_STATUS <<\_ACEOF
 
4642
 
 
4643
ac_cs_usage="\
 
4644
\`$as_me' instantiates files from templates according to the
 
4645
current configuration.
 
4646
 
 
4647
Usage: $0 [OPTIONS] [FILE]...
 
4648
 
 
4649
  -h, --help       print this help, then exit
 
4650
  -V, --version    print version number, then exit
 
4651
  -q, --quiet      do not print progress messages
 
4652
  -d, --debug      don't remove temporary files
 
4653
      --recheck    update $as_me by reconfiguring in the same conditions
 
4654
  --file=FILE[:TEMPLATE]
 
4655
                   instantiate the configuration file FILE
 
4656
 
 
4657
Configuration files:
 
4658
$config_files
 
4659
 
 
4660
Configuration commands:
 
4661
$config_commands
 
4662
 
 
4663
Report bugs to <bug-autoconf@gnu.org>."
 
4664
_ACEOF
 
4665
 
 
4666
cat >>$CONFIG_STATUS <<_ACEOF
 
4667
ac_cs_version="\\
 
4668
yagiuda config.status 1.19
 
4669
configured by $0, generated by GNU Autoconf 2.57,
 
4670
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
4671
 
 
4672
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 
4673
Free Software Foundation, Inc.
 
4674
This config.status script is free software; the Free Software Foundation
 
4675
gives unlimited permission to copy, distribute and modify it."
 
4676
srcdir=$srcdir
 
4677
INSTALL="$INSTALL"
 
4678
_ACEOF
 
4679
 
 
4680
cat >>$CONFIG_STATUS <<\_ACEOF
 
4681
# If no file are specified by the user, then we need to provide default
 
4682
# value.  By we need to know if files were specified by the user.
 
4683
ac_need_defaults=:
 
4684
while test $# != 0
 
4685
do
 
4686
  case $1 in
 
4687
  --*=*)
 
4688
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
4689
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
4690
    ac_shift=:
 
4691
    ;;
 
4692
  -*)
 
4693
    ac_option=$1
 
4694
    ac_optarg=$2
 
4695
    ac_shift=shift
 
4696
    ;;
 
4697
  *) # This is not an option, so the user has probably given explicit
 
4698
     # arguments.
 
4699
     ac_option=$1
 
4700
     ac_need_defaults=false;;
 
4701
  esac
 
4702
 
 
4703
  case $ac_option in
 
4704
  # Handling of the options.
 
4705
_ACEOF
 
4706
cat >>$CONFIG_STATUS <<\_ACEOF
 
4707
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
4708
    ac_cs_recheck=: ;;
 
4709
  --version | --vers* | -V )
 
4710
    echo "$ac_cs_version"; exit 0 ;;
 
4711
  --he | --h)
 
4712
    # Conflict between --help and --header
 
4713
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
4714
Try \`$0 --help' for more information." >&5
 
4715
echo "$as_me: error: ambiguous option: $1
 
4716
Try \`$0 --help' for more information." >&2;}
 
4717
   { (exit 1); exit 1; }; };;
 
4718
  --help | --hel | -h )
 
4719
    echo "$ac_cs_usage"; exit 0 ;;
 
4720
  --debug | --d* | -d )
 
4721
    debug=: ;;
 
4722
  --file | --fil | --fi | --f )
 
4723
    $ac_shift
 
4724
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
4725
    ac_need_defaults=false;;
 
4726
  --header | --heade | --head | --hea )
 
4727
    $ac_shift
 
4728
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
4729
    ac_need_defaults=false;;
 
4730
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
4731
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
4732
    ac_cs_silent=: ;;
 
4733
 
 
4734
  # This is an error.
 
4735
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
4736
Try \`$0 --help' for more information." >&5
 
4737
echo "$as_me: error: unrecognized option: $1
 
4738
Try \`$0 --help' for more information." >&2;}
 
4739
   { (exit 1); exit 1; }; } ;;
 
4740
 
 
4741
  *) ac_config_targets="$ac_config_targets $1" ;;
 
4742
 
 
4743
  esac
 
4744
  shift
 
4745
done
 
4746
 
 
4747
ac_configure_extra_args=
 
4748
 
 
4749
if $ac_cs_silent; then
 
4750
  exec 6>/dev/null
 
4751
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
4752
fi
 
4753
 
 
4754
_ACEOF
 
4755
cat >>$CONFIG_STATUS <<_ACEOF
 
4756
if \$ac_cs_recheck; then
 
4757
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4758
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4759
fi
 
4760
 
 
4761
_ACEOF
 
4762
 
 
4763
cat >>$CONFIG_STATUS <<_ACEOF
 
4764
#
 
4765
# INIT-COMMANDS section.
 
4766
#
 
4767
 
 
4768
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
4769
 
 
4770
_ACEOF
 
4771
 
 
4772
 
 
4773
 
 
4774
cat >>$CONFIG_STATUS <<\_ACEOF
 
4775
for ac_config_target in $ac_config_targets
 
4776
do
 
4777
  case "$ac_config_target" in
 
4778
  # Handling of arguments.
 
4779
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4780
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
4781
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
4782
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
4783
  "man/man1/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
 
4784
  "man/man5/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;;
 
4785
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
4786
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
4787
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
4788
   { (exit 1); exit 1; }; };;
 
4789
  esac
 
4790
done
 
4791
 
 
4792
# If the user did not use the arguments to specify the items to instantiate,
 
4793
# then the envvar interface is used.  Set only those that are not.
 
4794
# We use the long form for the default assignment because of an extremely
 
4795
# bizarre bug on SunOS 4.1.3.
 
4796
if $ac_need_defaults; then
 
4797
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
4798
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
4799
fi
 
4800
 
 
4801
# Have a temporary directory for convenience.  Make it in the build tree
 
4802
# simply because there is no reason to put it here, and in addition,
 
4803
# creating and moving files from /tmp can sometimes cause problems.
 
4804
# Create a temporary directory, and hook for its removal unless debugging.
 
4805
$debug ||
 
4806
{
 
4807
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4808
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4809
}
 
4810
 
 
4811
# Create a (secure) tmp directory for tmp files.
 
4812
 
 
4813
{
 
4814
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
4815
  test -n "$tmp" && test -d "$tmp"
 
4816
}  ||
 
4817
{
 
4818
  tmp=./confstat$$-$RANDOM
 
4819
  (umask 077 && mkdir $tmp)
 
4820
} ||
 
4821
{
 
4822
   echo "$me: cannot create a temporary directory in ." >&2
 
4823
   { (exit 1); exit 1; }
 
4824
}
 
4825
 
 
4826
_ACEOF
 
4827
 
 
4828
cat >>$CONFIG_STATUS <<_ACEOF
 
4829
 
 
4830
#
 
4831
# CONFIG_FILES section.
 
4832
#
 
4833
 
 
4834
# No need to generate the scripts if there are no CONFIG_FILES.
 
4835
# This happens for instance when ./config.status config.h
 
4836
if test -n "\$CONFIG_FILES"; then
 
4837
  # Protect against being on the right side of a sed subst in config.status.
 
4838
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
4839
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
4840
s,@SHELL@,$SHELL,;t t
 
4841
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
4842
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
4843
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
4844
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
4845
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
4846
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
4847
s,@exec_prefix@,$exec_prefix,;t t
 
4848
s,@prefix@,$prefix,;t t
 
4849
s,@program_transform_name@,$program_transform_name,;t t
 
4850
s,@bindir@,$bindir,;t t
 
4851
s,@sbindir@,$sbindir,;t t
 
4852
s,@libexecdir@,$libexecdir,;t t
 
4853
s,@datadir@,$datadir,;t t
 
4854
s,@sysconfdir@,$sysconfdir,;t t
 
4855
s,@sharedstatedir@,$sharedstatedir,;t t
 
4856
s,@localstatedir@,$localstatedir,;t t
 
4857
s,@libdir@,$libdir,;t t
 
4858
s,@includedir@,$includedir,;t t
 
4859
s,@oldincludedir@,$oldincludedir,;t t
 
4860
s,@infodir@,$infodir,;t t
 
4861
s,@mandir@,$mandir,;t t
 
4862
s,@build_alias@,$build_alias,;t t
 
4863
s,@host_alias@,$host_alias,;t t
 
4864
s,@target_alias@,$target_alias,;t t
 
4865
s,@DEFS@,$DEFS,;t t
 
4866
s,@ECHO_C@,$ECHO_C,;t t
 
4867
s,@ECHO_N@,$ECHO_N,;t t
 
4868
s,@ECHO_T@,$ECHO_T,;t t
 
4869
s,@LIBS@,$LIBS,;t t
 
4870
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
4871
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
4872
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
4873
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
4874
s,@PACKAGE@,$PACKAGE,;t t
 
4875
s,@VERSION@,$VERSION,;t t
 
4876
s,@ACLOCAL@,$ACLOCAL,;t t
 
4877
s,@AUTOCONF@,$AUTOCONF,;t t
 
4878
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
4879
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
4880
s,@MAKEINFO@,$MAKEINFO,;t t
 
4881
s,@AMTAR@,$AMTAR,;t t
 
4882
s,@install_sh@,$install_sh,;t t
 
4883
s,@STRIP@,$STRIP,;t t
 
4884
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
4885
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4886
s,@AWK@,$AWK,;t t
 
4887
s,@SET_MAKE@,$SET_MAKE,;t t
 
4888
s,@CC@,$CC,;t t
 
4889
s,@CFLAGS@,$CFLAGS,;t t
 
4890
s,@LDFLAGS@,$LDFLAGS,;t t
 
4891
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
4892
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
4893
s,@EXEEXT@,$EXEEXT,;t t
 
4894
s,@OBJEXT@,$OBJEXT,;t t
 
4895
s,@DEPDIR@,$DEPDIR,;t t
 
4896
s,@am__include@,$am__include,;t t
 
4897
s,@am__quote@,$am__quote,;t t
 
4898
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
4899
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
4900
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
4901
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
4902
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
4903
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
4904
s,@CPP@,$CPP,;t t
 
4905
s,@EGREP@,$EGREP,;t t
 
4906
s,@ALLOCA@,$ALLOCA,;t t
 
4907
s,@LIBOBJS@,$LIBOBJS,;t t
 
4908
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
4909
CEOF
 
4910
 
 
4911
_ACEOF
 
4912
 
 
4913
  cat >>$CONFIG_STATUS <<\_ACEOF
 
4914
  # Split the substitutions into bite-sized pieces for seds with
 
4915
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
4916
  ac_max_sed_lines=48
 
4917
  ac_sed_frag=1 # Number of current file.
 
4918
  ac_beg=1 # First line for current file.
 
4919
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
4920
  ac_more_lines=:
 
4921
  ac_sed_cmds=
 
4922
  while $ac_more_lines; do
 
4923
    if test $ac_beg -gt 1; then
 
4924
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
4925
    else
 
4926
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
4927
    fi
 
4928
    if test ! -s $tmp/subs.frag; then
 
4929
      ac_more_lines=false
 
4930
    else
 
4931
      # The purpose of the label and of the branching condition is to
 
4932
      # speed up the sed processing (if there are no `@' at all, there
 
4933
      # is no need to browse any of the substitutions).
 
4934
      # These are the two extra sed commands mentioned above.
 
4935
      (echo ':t
 
4936
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
4937
      if test -z "$ac_sed_cmds"; then
 
4938
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4939
      else
 
4940
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4941
      fi
 
4942
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
4943
      ac_beg=$ac_end
 
4944
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
4945
    fi
 
4946
  done
 
4947
  if test -z "$ac_sed_cmds"; then
 
4948
    ac_sed_cmds=cat
 
4949
  fi
 
4950
fi # test -n "$CONFIG_FILES"
 
4951
 
 
4952
_ACEOF
 
4953
cat >>$CONFIG_STATUS <<\_ACEOF
 
4954
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
4955
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
4956
  case $ac_file in
 
4957
  - | *:- | *:-:* ) # input from stdin
 
4958
        cat >$tmp/stdin
 
4959
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4960
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4961
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4962
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4963
  * )   ac_file_in=$ac_file.in ;;
 
4964
  esac
 
4965
 
 
4966
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
4967
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4968
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4969
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4970
         X"$ac_file" : 'X\(//\)$' \| \
 
4971
         X"$ac_file" : 'X\(/\)' \| \
 
4972
         .     : '\(.\)' 2>/dev/null ||
 
4973
echo X"$ac_file" |
 
4974
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4975
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4976
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4977
          /^X\(\/\).*/{ s//\1/; q; }
 
4978
          s/.*/./; q'`
 
4979
  { if $as_mkdir_p; then
 
4980
    mkdir -p "$ac_dir"
 
4981
  else
 
4982
    as_dir="$ac_dir"
 
4983
    as_dirs=
 
4984
    while test ! -d "$as_dir"; do
 
4985
      as_dirs="$as_dir $as_dirs"
 
4986
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4987
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4988
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4989
         X"$as_dir" : 'X\(//\)$' \| \
 
4990
         X"$as_dir" : 'X\(/\)' \| \
 
4991
         .     : '\(.\)' 2>/dev/null ||
 
4992
echo X"$as_dir" |
 
4993
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4994
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4995
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4996
          /^X\(\/\).*/{ s//\1/; q; }
 
4997
          s/.*/./; q'`
 
4998
    done
 
4999
    test ! -n "$as_dirs" || mkdir $as_dirs
 
5000
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
5001
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5002
   { (exit 1); exit 1; }; }; }
 
5003
 
 
5004
  ac_builddir=.
 
5005
 
 
5006
if test "$ac_dir" != .; then
 
5007
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
5008
  # A "../" for each directory in $ac_dir_suffix.
 
5009
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
5010
else
 
5011
  ac_dir_suffix= ac_top_builddir=
 
5012
fi
 
5013
 
 
5014
case $srcdir in
 
5015
  .)  # No --srcdir option.  We are building in place.
 
5016
    ac_srcdir=.
 
5017
    if test -z "$ac_top_builddir"; then
 
5018
       ac_top_srcdir=.
 
5019
    else
 
5020
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
5021
    fi ;;
 
5022
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5023
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5024
    ac_top_srcdir=$srcdir ;;
 
5025
  *) # Relative path.
 
5026
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
5027
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
5028
esac
 
5029
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
5030
# absolute.
 
5031
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
5032
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
5033
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
5034
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5035
 
 
5036
 
 
5037
  case $INSTALL in
 
5038
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
5039
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
5040
  esac
 
5041
 
 
5042
  if test x"$ac_file" != x-; then
 
5043
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
5044
echo "$as_me: creating $ac_file" >&6;}
 
5045
    rm -f "$ac_file"
 
5046
  fi
 
5047
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
5048
  # use $as_me), people would be surprised to read:
 
5049
  #    /* config.h.  Generated by config.status.  */
 
5050
  if test x"$ac_file" = x-; then
 
5051
    configure_input=
 
5052
  else
 
5053
    configure_input="$ac_file.  "
 
5054
  fi
 
5055
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
5056
                                     sed 's,.*/,,'` by configure."
 
5057
 
 
5058
  # First look for the input files in the build tree, otherwise in the
 
5059
  # src tree.
 
5060
  ac_file_inputs=`IFS=:
 
5061
    for f in $ac_file_in; do
 
5062
      case $f in
 
5063
      -) echo $tmp/stdin ;;
 
5064
      [\\/$]*)
 
5065
         # Absolute (can't be DOS-style, as IFS=:)
 
5066
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5067
echo "$as_me: error: cannot find input file: $f" >&2;}
 
5068
   { (exit 1); exit 1; }; }
 
5069
         echo $f;;
 
5070
      *) # Relative
 
5071
         if test -f "$f"; then
 
5072
           # Build tree
 
5073
           echo $f
 
5074
         elif test -f "$srcdir/$f"; then
 
5075
           # Source tree
 
5076
           echo $srcdir/$f
 
5077
         else
 
5078
           # /dev/null tree
 
5079
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5080
echo "$as_me: error: cannot find input file: $f" >&2;}
 
5081
   { (exit 1); exit 1; }; }
 
5082
         fi;;
 
5083
      esac
 
5084
    done` || { (exit 1); exit 1; }
 
5085
_ACEOF
 
5086
cat >>$CONFIG_STATUS <<_ACEOF
 
5087
  sed "$ac_vpsub
 
5088
$extrasub
 
5089
_ACEOF
 
5090
cat >>$CONFIG_STATUS <<\_ACEOF
 
5091
:t
 
5092
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
5093
s,@configure_input@,$configure_input,;t t
 
5094
s,@srcdir@,$ac_srcdir,;t t
 
5095
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
5096
s,@top_srcdir@,$ac_top_srcdir,;t t
 
5097
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
5098
s,@builddir@,$ac_builddir,;t t
 
5099
s,@abs_builddir@,$ac_abs_builddir,;t t
 
5100
s,@top_builddir@,$ac_top_builddir,;t t
 
5101
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
5102
s,@INSTALL@,$ac_INSTALL,;t t
 
5103
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
5104
  rm -f $tmp/stdin
 
5105
  if test x"$ac_file" != x-; then
 
5106
    mv $tmp/out $ac_file
 
5107
  else
 
5108
    cat $tmp/out
 
5109
    rm -f $tmp/out
 
5110
  fi
 
5111
 
 
5112
done
 
5113
_ACEOF
 
5114
cat >>$CONFIG_STATUS <<\_ACEOF
 
5115
 
 
5116
#
 
5117
# CONFIG_COMMANDS section.
 
5118
#
 
5119
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
5120
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
5121
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5122
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
5123
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5124
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
5125
         X"$ac_dest" : 'X\(//\)$' \| \
 
5126
         X"$ac_dest" : 'X\(/\)' \| \
 
5127
         .     : '\(.\)' 2>/dev/null ||
 
5128
echo X"$ac_dest" |
 
5129
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5130
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5131
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5132
          /^X\(\/\).*/{ s//\1/; q; }
 
5133
          s/.*/./; q'`
 
5134
  ac_builddir=.
 
5135
 
 
5136
if test "$ac_dir" != .; then
 
5137
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
5138
  # A "../" for each directory in $ac_dir_suffix.
 
5139
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
5140
else
 
5141
  ac_dir_suffix= ac_top_builddir=
 
5142
fi
 
5143
 
 
5144
case $srcdir in
 
5145
  .)  # No --srcdir option.  We are building in place.
 
5146
    ac_srcdir=.
 
5147
    if test -z "$ac_top_builddir"; then
 
5148
       ac_top_srcdir=.
 
5149
    else
 
5150
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
5151
    fi ;;
 
5152
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5153
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5154
    ac_top_srcdir=$srcdir ;;
 
5155
  *) # Relative path.
 
5156
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
5157
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
5158
esac
 
5159
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
5160
# absolute.
 
5161
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
5162
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
5163
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
5164
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5165
 
 
5166
 
 
5167
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
5168
echo "$as_me: executing $ac_dest commands" >&6;}
 
5169
  case $ac_dest in
 
5170
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
5171
  # Strip MF so we end up with the name of the file.
 
5172
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
5173
  # Check whether this is an Automake generated Makefile or not.
 
5174
  # We used to match only the files named `Makefile.in', but
 
5175
  # some people rename them; so instead we look at the file content.
 
5176
  # Grep'ing the first line is not enough: some people post-process
 
5177
  # each Makefile.in and add a new line on top of each file to say so.
 
5178
  # So let's grep whole file.
 
5179
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
5180
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
5181
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5182
         X"$mf" : 'X\(//\)[^/]' \| \
 
5183
         X"$mf" : 'X\(//\)$' \| \
 
5184
         X"$mf" : 'X\(/\)' \| \
 
5185
         .     : '\(.\)' 2>/dev/null ||
 
5186
echo X"$mf" |
 
5187
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5188
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5189
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5190
          /^X\(\/\).*/{ s//\1/; q; }
 
5191
          s/.*/./; q'`
 
5192
  else
 
5193
    continue
 
5194
  fi
 
5195
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 
5196
  # Extract the definition of DEP_FILES from the Makefile without
 
5197
  # running `make'.
 
5198
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5199
  test -z "$DEPDIR" && continue
 
5200
  # When using ansi2knr, U may be empty or an underscore; expand it
 
5201
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
5202
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 
5203
  # We invoke sed twice because it is the simplest approach to
 
5204
  # changing $(DEPDIR) to its actual value in the expansion.
 
5205
  for file in `sed -n -e '
 
5206
    /^DEP_FILES = .*\\\\$/ {
 
5207
      s/^DEP_FILES = //
 
5208
      :loop
 
5209
        s/\\\\$//
 
5210
        p
 
5211
        n
 
5212
        /\\\\$/ b loop
 
5213
      p
 
5214
    }
 
5215
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
5216
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
5217
    # Make sure the directory exists.
 
5218
    test -f "$dirpart/$file" && continue
 
5219
    fdir=`(dirname "$file") 2>/dev/null ||
 
5220
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5221
         X"$file" : 'X\(//\)[^/]' \| \
 
5222
         X"$file" : 'X\(//\)$' \| \
 
5223
         X"$file" : 'X\(/\)' \| \
 
5224
         .     : '\(.\)' 2>/dev/null ||
 
5225
echo X"$file" |
 
5226
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5227
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5228
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5229
          /^X\(\/\).*/{ s//\1/; q; }
 
5230
          s/.*/./; q'`
 
5231
    { if $as_mkdir_p; then
 
5232
    mkdir -p $dirpart/$fdir
 
5233
  else
 
5234
    as_dir=$dirpart/$fdir
 
5235
    as_dirs=
 
5236
    while test ! -d "$as_dir"; do
 
5237
      as_dirs="$as_dir $as_dirs"
 
5238
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5239
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5240
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5241
         X"$as_dir" : 'X\(//\)$' \| \
 
5242
         X"$as_dir" : 'X\(/\)' \| \
 
5243
         .     : '\(.\)' 2>/dev/null ||
 
5244
echo X"$as_dir" |
 
5245
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5246
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5247
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5248
          /^X\(\/\).*/{ s//\1/; q; }
 
5249
          s/.*/./; q'`
 
5250
    done
 
5251
    test ! -n "$as_dirs" || mkdir $as_dirs
 
5252
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
5253
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
5254
   { (exit 1); exit 1; }; }; }
 
5255
 
 
5256
    # echo "creating $dirpart/$file"
 
5257
    echo '# dummy' > "$dirpart/$file"
 
5258
  done
 
5259
done
 
5260
 ;;
 
5261
  esac
 
5262
done
 
5263
_ACEOF
 
5264
 
 
5265
cat >>$CONFIG_STATUS <<\_ACEOF
 
5266
 
 
5267
{ (exit 0); exit 0; }
 
5268
_ACEOF
 
5269
chmod +x $CONFIG_STATUS
 
5270
ac_clean_files=$ac_clean_files_save
 
5271
 
 
5272
 
 
5273
# configure is writing to config.log, and then calls config.status.
 
5274
# config.status does its own redirection, appending to config.log.
 
5275
# Unfortunately, on DOS this fails, as config.log is still kept open
 
5276
# by configure, so config.status won't be able to write to it; its
 
5277
# output is simply discarded.  So we exec the FD to /dev/null,
 
5278
# effectively closing config.log, so it can be properly (re)opened and
 
5279
# appended to by config.status.  When coming back to configure, we
 
5280
# need to make the FD available again.
 
5281
if test "$no_create" != yes; then
 
5282
  ac_cs_success=:
 
5283
  ac_config_status_args=
 
5284
  test "$silent" = yes &&
 
5285
    ac_config_status_args="$ac_config_status_args --quiet"
 
5286
  exec 5>/dev/null
 
5287
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
5288
  exec 5>>config.log
 
5289
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
5290
  # would make configure fail if this is the last instruction.
 
5291
  $ac_cs_success || { (exit 1); exit 1; }
 
5292
fi
 
5293
 
 
5294