~ubuntu-branches/ubuntu/trusty/electricsheep/trusty-proposed

« back to all changes in this revision

Viewing changes to flame/configure

  • Committer: Bazaar Package Importer
  • Author(s): Alexis Sukrieh
  • Date: 2005-06-17 18:28:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050617182817-3ju56pnktawusjt8
Tags: 2.6.2-1
* New upstream release: 2.6.2.
  (closes: #309852)
* Added myself as maintainer (Sander Smeenk offered it to me).
* Added dpatch for handling changes applied on upstream sources.
* Added all missing manpages.

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