~ubuntu-branches/ubuntu/raring/ifile/raring

« back to all changes in this revision

Viewing changes to argp/configure

  • Committer: Bazaar Package Importer
  • Author(s): Jens Peter Secher
  • Date: 2004-11-19 23:30:24 UTC
  • Revision ID: james.westby@ubuntu.com-20041119233024-3s7sqpy963jx22eu
Tags: upstream-1.3.4
ImportĀ upstreamĀ versionĀ 1.3.4

Show diffs side-by-side

added added

removed removed

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