~ubuntu-branches/ubuntu/lucid/codelite/lucid

« back to all changes in this revision

Viewing changes to sdk/ctags/configure

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-01-12 15:46:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090112154655-sdynrljcb6u167yw
Tags: upstream-1.0.2674+dfsg
ImportĀ upstreamĀ versionĀ 1.0.2674+dfsg

Show diffs side-by-side

added added

removed removed

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