~ubuntu-branches/ubuntu/gutsy/fnfx/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2005-04-01 11:39:55 UTC
  • Revision ID: james.westby@ubuntu.com-20050401113955-nnsv7bovk07obxa9
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

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