~ubuntu-branches/ubuntu/utopic/fcrackzip/utopic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Donadon
  • Date: 2004-04-10 16:06:44 UTC
  • Revision ID: james.westby@ubuntu.com-20040410160644-62fhunfljlja82v3
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

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