1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52 for vdmfec 1.0.
4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Avoid depending upon Character Ranges.
11as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14as_cr_digits='0123456789'
15as_cr_alnum=$as_cr_Letters$as_cr_digits
16
17# Sed expression to map a string onto a valid variable name.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19
20# Sed expression to map a string onto a valid CPP name.
21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22
23# Be Bourne compatible
24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25  emulate sh
26  NULLCMD=:
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28  set -o posix
29fi
30
31# Name of the executable.
32as_me=`echo "$0" |sed 's,.*[\\/],,'`
33
34if expr a : '\(a\)' >/dev/null 2>&1; then
35  as_expr=expr
36else
37  as_expr=false
38fi
39
40rm -f conf$$ conf$$.exe conf$$.file
41echo >conf$$.file
42if ln -s conf$$.file conf$$ 2>/dev/null; then
43  # We could just check for DJGPP; but this test a) works b) is more generic
44  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45  if test -f conf$$.exe; then
46    # Don't use ln at all; we don't have any links
47    as_ln_s='cp -p'
48  else
49    as_ln_s='ln -s'
50  fi
51elif ln conf$$.file conf$$ 2>/dev/null; then
52  as_ln_s=ln
53else
54  as_ln_s='cp -p'
55fi
56rm -f conf$$ conf$$.exe conf$$.file
57
58as_executable_p="test -f"
59
60# Support unset when possible.
61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62  as_unset=unset
63else
64  as_unset=false
65fi
66
67# NLS nuisances.
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76
77# IFS
78# We need space, tab and new line, in precisely that order.
79as_nl='
80'
81IFS=" 	$as_nl"
82
83# CDPATH.
84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
85
86# Name of the host.
87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88# so uname gets run too.
89ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
90
91exec 6>&1
92
93#
94# Initializations.
95#
96ac_default_prefix=/usr/local
97cross_compiling=no
98subdirs=
99MFLAGS= MAKEFLAGS=
100SHELL=${CONFIG_SHELL-/bin/sh}
101
102# Maximum number of lines to put in a shell here document.
103# This variable seems obsolete.  It should probably be removed, and
104# only ac_max_sed_lines should be used.
105: ${ac_max_here_lines=38}
106
107ac_unique_file="vdmfec.c"
108# Factoring default headers for most tests.
109ac_includes_default="\
110#include <stdio.h>
111#if HAVE_SYS_TYPES_H
112# include <sys/types.h>
113#endif
114#if HAVE_SYS_STAT_H
115# include <sys/stat.h>
116#endif
117#if STDC_HEADERS
118# include <stdlib.h>
119# include <stddef.h>
120#else
121# if HAVE_STDLIB_H
122#  include <stdlib.h>
123# endif
124#endif
125#if HAVE_STRING_H
126# if !STDC_HEADERS && HAVE_MEMORY_H
127#  include <memory.h>
128# endif
129# include <string.h>
130#endif
131#if HAVE_STRINGS_H
132# include <strings.h>
133#endif
134#if HAVE_INTTYPES_H
135# include <inttypes.h>
136#else
137# if HAVE_STDINT_H
138#  include <stdint.h>
139# endif
140#endif
141#if HAVE_UNISTD_H
142# include <unistd.h>
143#endif"
144
145# Initialize some variables set by options.
146ac_init_help=
147ac_init_version=false
148# The variables have the same names as the options, with
149# dashes changed to underlines.
150cache_file=/dev/null
151exec_prefix=NONE
152no_create=
153no_recursion=
154prefix=NONE
155program_prefix=NONE
156program_suffix=NONE
157program_transform_name=s,x,x,
158silent=
159site=
160srcdir=
161verbose=
162x_includes=NONE
163x_libraries=NONE
164
165# Installation directory options.
166# These are left unexpanded so users can "make install exec_prefix=/foo"
167# and all the variables that are supposed to be based on exec_prefix
168# by default will actually change.
169# Use braces instead of parens because sh, perl, etc. also accept them.
170bindir='${exec_prefix}/bin'
171sbindir='${exec_prefix}/sbin'
172libexecdir='${exec_prefix}/libexec'
173datadir='${prefix}/share'
174sysconfdir='${prefix}/etc'
175sharedstatedir='${prefix}/com'
176localstatedir='${prefix}/var'
177libdir='${exec_prefix}/lib'
178includedir='${prefix}/include'
179oldincludedir='/usr/include'
180infodir='${prefix}/info'
181mandir='${prefix}/man'
182
183# Identity of this package.
184PACKAGE_NAME='vdmfec'
185PACKAGE_TARNAME='vdmfec'
186PACKAGE_VERSION='1.0'
187PACKAGE_STRING='vdmfec 1.0'
188PACKAGE_BUGREPORT=''
189
190ac_prev=
191for ac_option
192do
193  # If the previous option needs an argument, assign it.
194  if test -n "$ac_prev"; then
195    eval "$ac_prev=\$ac_option"
196    ac_prev=
197    continue
198  fi
199
200  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
201
202  # Accept the important Cygnus configure options, so we can diagnose typos.
203
204  case $ac_option in
205
206  -bindir | --bindir | --bindi | --bind | --bin | --bi)
207    ac_prev=bindir ;;
208  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
209    bindir=$ac_optarg ;;
210
211  -build | --build | --buil | --bui | --bu)
212    ac_prev=build_alias ;;
213  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
214    build_alias=$ac_optarg ;;
215
216  -cache-file | --cache-file | --cache-fil | --cache-fi \
217  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
218    ac_prev=cache_file ;;
219  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
220  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
221    cache_file=$ac_optarg ;;
222
223  --config-cache | -C)
224    cache_file=config.cache ;;
225
226  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
227    ac_prev=datadir ;;
228  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
229  | --da=*)
230    datadir=$ac_optarg ;;
231
232  -disable-* | --disable-*)
233    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
234    # Reject names that are not valid shell variable names.
235    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
236      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
237   { (exit 1); exit 1; }; }
238    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
239    eval "enable_$ac_feature=no" ;;
240
241  -enable-* | --enable-*)
242    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
243    # Reject names that are not valid shell variable names.
244    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
245      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
246   { (exit 1); exit 1; }; }
247    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
248    case $ac_option in
249      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
250      *) ac_optarg=yes ;;
251    esac
252    eval "enable_$ac_feature='$ac_optarg'" ;;
253
254  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
255  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
256  | --exec | --exe | --ex)
257    ac_prev=exec_prefix ;;
258  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
259  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
260  | --exec=* | --exe=* | --ex=*)
261    exec_prefix=$ac_optarg ;;
262
263  -gas | --gas | --ga | --g)
264    # Obsolete; use --with-gas.
265    with_gas=yes ;;
266
267  -help | --help | --hel | --he | -h)
268    ac_init_help=long ;;
269  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
270    ac_init_help=recursive ;;
271  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
272    ac_init_help=short ;;
273
274  -host | --host | --hos | --ho)
275    ac_prev=host_alias ;;
276  -host=* | --host=* | --hos=* | --ho=*)
277    host_alias=$ac_optarg ;;
278
279  -includedir | --includedir | --includedi | --included | --include \
280  | --includ | --inclu | --incl | --inc)
281    ac_prev=includedir ;;
282  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283  | --includ=* | --inclu=* | --incl=* | --inc=*)
284    includedir=$ac_optarg ;;
285
286  -infodir | --infodir | --infodi | --infod | --info | --inf)
287    ac_prev=infodir ;;
288  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
289    infodir=$ac_optarg ;;
290
291  -libdir | --libdir | --libdi | --libd)
292    ac_prev=libdir ;;
293  -libdir=* | --libdir=* | --libdi=* | --libd=*)
294    libdir=$ac_optarg ;;
295
296  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297  | --libexe | --libex | --libe)
298    ac_prev=libexecdir ;;
299  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300  | --libexe=* | --libex=* | --libe=*)
301    libexecdir=$ac_optarg ;;
302
303  -localstatedir | --localstatedir | --localstatedi | --localstated \
304  | --localstate | --localstat | --localsta | --localst \
305  | --locals | --local | --loca | --loc | --lo)
306    ac_prev=localstatedir ;;
307  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
310    localstatedir=$ac_optarg ;;
311
312  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
313    ac_prev=mandir ;;
314  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
315    mandir=$ac_optarg ;;
316
317  -nfp | --nfp | --nf)
318    # Obsolete; use --without-fp.
319    with_fp=no ;;
320
321  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322  | --no-cr | --no-c)
323    no_create=yes ;;
324
325  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
327    no_recursion=yes ;;
328
329  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
330  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331  | --oldin | --oldi | --old | --ol | --o)
332    ac_prev=oldincludedir ;;
333  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
336    oldincludedir=$ac_optarg ;;
337
338  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
339    ac_prev=prefix ;;
340  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
341    prefix=$ac_optarg ;;
342
343  -program-prefix | --program-prefix | --program-prefi | --program-pref \
344  | --program-pre | --program-pr | --program-p)
345    ac_prev=program_prefix ;;
346  -program-prefix=* | --program-prefix=* | --program-prefi=* \
347  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
348    program_prefix=$ac_optarg ;;
349
350  -program-suffix | --program-suffix | --program-suffi | --program-suff \
351  | --program-suf | --program-su | --program-s)
352    ac_prev=program_suffix ;;
353  -program-suffix=* | --program-suffix=* | --program-suffi=* \
354  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
355    program_suffix=$ac_optarg ;;
356
357  -program-transform-name | --program-transform-name \
358  | --program-transform-nam | --program-transform-na \
359  | --program-transform-n | --program-transform- \
360  | --program-transform | --program-transfor \
361  | --program-transfo | --program-transf \
362  | --program-trans | --program-tran \
363  | --progr-tra | --program-tr | --program-t)
364    ac_prev=program_transform_name ;;
365  -program-transform-name=* | --program-transform-name=* \
366  | --program-transform-nam=* | --program-transform-na=* \
367  | --program-transform-n=* | --program-transform-=* \
368  | --program-transform=* | --program-transfor=* \
369  | --program-transfo=* | --program-transf=* \
370  | --program-trans=* | --program-tran=* \
371  | --progr-tra=* | --program-tr=* | --program-t=*)
372    program_transform_name=$ac_optarg ;;
373
374  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375  | -silent | --silent | --silen | --sile | --sil)
376    silent=yes ;;
377
378  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
379    ac_prev=sbindir ;;
380  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
381  | --sbi=* | --sb=*)
382    sbindir=$ac_optarg ;;
383
384  -sharedstatedir | --sharedstatedir | --sharedstatedi \
385  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386  | --sharedst | --shareds | --shared | --share | --shar \
387  | --sha | --sh)
388    ac_prev=sharedstatedir ;;
389  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
392  | --sha=* | --sh=*)
393    sharedstatedir=$ac_optarg ;;
394
395  -site | --site | --sit)
396    ac_prev=site ;;
397  -site=* | --site=* | --sit=*)
398    site=$ac_optarg ;;
399
400  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
401    ac_prev=srcdir ;;
402  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
403    srcdir=$ac_optarg ;;
404
405  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406  | --syscon | --sysco | --sysc | --sys | --sy)
407    ac_prev=sysconfdir ;;
408  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
410    sysconfdir=$ac_optarg ;;
411
412  -target | --target | --targe | --targ | --tar | --ta | --t)
413    ac_prev=target_alias ;;
414  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
415    target_alias=$ac_optarg ;;
416
417  -v | -verbose | --verbose | --verbos | --verbo | --verb)
418    verbose=yes ;;
419
420  -version | --version | --versio | --versi | --vers | -V)
421    ac_init_version=: ;;
422
423  -with-* | --with-*)
424    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
425    # Reject names that are not valid shell variable names.
426    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
427      { echo "$as_me: error: invalid package name: $ac_package" >&2
428   { (exit 1); exit 1; }; }
429    ac_package=`echo $ac_package| sed 's/-/_/g'`
430    case $ac_option in
431      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
432      *) ac_optarg=yes ;;
433    esac
434    eval "with_$ac_package='$ac_optarg'" ;;
435
436  -without-* | --without-*)
437    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
438    # Reject names that are not valid shell variable names.
439    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
440      { echo "$as_me: error: invalid package name: $ac_package" >&2
441   { (exit 1); exit 1; }; }
442    ac_package=`echo $ac_package | sed 's/-/_/g'`
443    eval "with_$ac_package=no" ;;
444
445  --x)
446    # Obsolete; use --with-x.
447    with_x=yes ;;
448
449  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
450  | --x-incl | --x-inc | --x-in | --x-i)
451    ac_prev=x_includes ;;
452  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
453  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
454    x_includes=$ac_optarg ;;
455
456  -x-libraries | --x-libraries | --x-librarie | --x-librari \
457  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
458    ac_prev=x_libraries ;;
459  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
460  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
461    x_libraries=$ac_optarg ;;
462
463  -*) { echo "$as_me: error: unrecognized option: $ac_option
464Try \`$0 --help' for more information." >&2
465   { (exit 1); exit 1; }; }
466    ;;
467
468  *=*)
469    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
470    # Reject names that are not valid shell variable names.
471    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
472      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473   { (exit 1); exit 1; }; }
474    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475    eval "$ac_envvar='$ac_optarg'"
476    export $ac_envvar ;;
477
478  *)
479    # FIXME: should be removed in autoconf 3.0.
480    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
481    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
482      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
483    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
484    ;;
485
486  esac
487done
488
489if test -n "$ac_prev"; then
490  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
491  { echo "$as_me: error: missing argument to $ac_option" >&2
492   { (exit 1); exit 1; }; }
493fi
494
495# Be sure to have absolute paths.
496for ac_var in exec_prefix prefix
497do
498  eval ac_val=$`echo $ac_var`
499  case $ac_val in
500    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
502   { (exit 1); exit 1; }; };;
503  esac
504done
505
506# Be sure to have absolute paths.
507for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508              localstatedir libdir includedir oldincludedir infodir mandir
509do
510  eval ac_val=$`echo $ac_var`
511  case $ac_val in
512    [\\/$]* | ?:[\\/]* ) ;;
513    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
514   { (exit 1); exit 1; }; };;
515  esac
516done
517
518# There might be people who depend on the old broken behavior: `$host'
519# used to hold the argument of --host etc.
520build=$build_alias
521host=$host_alias
522target=$target_alias
523
524# FIXME: should be removed in autoconf 3.0.
525if test "x$host_alias" != x; then
526  if test "x$build_alias" = x; then
527    cross_compiling=maybe
528    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529    If a cross compiler is detected then cross compile mode will be used." >&2
530  elif test "x$build_alias" != "x$host_alias"; then
531    cross_compiling=yes
532  fi
533fi
534
535ac_tool_prefix=
536test -n "$host_alias" && ac_tool_prefix=$host_alias-
537
538test "$silent" = yes && exec 6>/dev/null
539
540# Find the source files, if location was not specified.
541if test -z "$srcdir"; then
542  ac_srcdir_defaulted=yes
543  # Try the directory containing this script, then its parent.
544  ac_prog=$0
545  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
546  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
547  srcdir=$ac_confdir
548  if test ! -r $srcdir/$ac_unique_file; then
549    srcdir=..
550  fi
551else
552  ac_srcdir_defaulted=no
553fi
554if test ! -r $srcdir/$ac_unique_file; then
555  if test "$ac_srcdir_defaulted" = yes; then
556    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557   { (exit 1); exit 1; }; }
558  else
559    { echo "$as_me: error: cannot find sources in $srcdir" >&2
560   { (exit 1); exit 1; }; }
561  fi
562fi
563srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564ac_env_build_alias_set=${build_alias+set}
565ac_env_build_alias_value=$build_alias
566ac_cv_env_build_alias_set=${build_alias+set}
567ac_cv_env_build_alias_value=$build_alias
568ac_env_host_alias_set=${host_alias+set}
569ac_env_host_alias_value=$host_alias
570ac_cv_env_host_alias_set=${host_alias+set}
571ac_cv_env_host_alias_value=$host_alias
572ac_env_target_alias_set=${target_alias+set}
573ac_env_target_alias_value=$target_alias
574ac_cv_env_target_alias_set=${target_alias+set}
575ac_cv_env_target_alias_value=$target_alias
576ac_env_CC_set=${CC+set}
577ac_env_CC_value=$CC
578ac_cv_env_CC_set=${CC+set}
579ac_cv_env_CC_value=$CC
580ac_env_CFLAGS_set=${CFLAGS+set}
581ac_env_CFLAGS_value=$CFLAGS
582ac_cv_env_CFLAGS_set=${CFLAGS+set}
583ac_cv_env_CFLAGS_value=$CFLAGS
584ac_env_LDFLAGS_set=${LDFLAGS+set}
585ac_env_LDFLAGS_value=$LDFLAGS
586ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
587ac_cv_env_LDFLAGS_value=$LDFLAGS
588ac_env_CPPFLAGS_set=${CPPFLAGS+set}
589ac_env_CPPFLAGS_value=$CPPFLAGS
590ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
591ac_cv_env_CPPFLAGS_value=$CPPFLAGS
592ac_env_CPP_set=${CPP+set}
593ac_env_CPP_value=$CPP
594ac_cv_env_CPP_set=${CPP+set}
595ac_cv_env_CPP_value=$CPP
596
597#
598# Report the --help message.
599#
600if test "$ac_init_help" = "long"; then
601  # Omit some internal or obsolete options to make the list less imposing.
602  # This message is too long to be a string in the A/UX 3.1 sh.
603  cat <<EOF
604\`configure' configures vdmfec 1.0 to adapt to many kinds of systems.
605
606Usage: $0 [OPTION]... [VAR=VALUE]...
607
608To assign environment variables (e.g., CC, CFLAGS...), specify them as
609VAR=VALUE.  See below for descriptions of some of the useful variables.
610
611Defaults for the options are specified in brackets.
612
613Configuration:
614  -h, --help              display this help and exit
615      --help=short        display options specific to this package
616      --help=recursive    display the short help of all the included packages
617  -V, --version           display version information and exit
618  -q, --quiet, --silent   do not print \`checking...' messages
619      --cache-file=FILE   cache test results in FILE [disabled]
620  -C, --config-cache      alias for \`--cache-file=config.cache'
621  -n, --no-create         do not create output files
622      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
623
624EOF
625
626  cat <<EOF
627Installation directories:
628  --prefix=PREFIX         install architecture-independent files in PREFIX
629                          [$ac_default_prefix]
630  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
631                          [PREFIX]
632
633By default, \`make install' will install all the files in
634\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
635an installation prefix other than \`$ac_default_prefix' using \`--prefix',
636for instance \`--prefix=\$HOME'.
637
638For better control, use the options below.
639
640Fine tuning of the installation directories:
641  --bindir=DIR           user executables [EPREFIX/bin]
642  --sbindir=DIR          system admin executables [EPREFIX/sbin]
643  --libexecdir=DIR       program executables [EPREFIX/libexec]
644  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
645  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
646  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
647  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
648  --libdir=DIR           object code libraries [EPREFIX/lib]
649  --includedir=DIR       C header files [PREFIX/include]
650  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
651  --infodir=DIR          info documentation [PREFIX/info]
652  --mandir=DIR           man documentation [PREFIX/man]
653EOF
654
655  cat <<\EOF
656EOF
657fi
658
659if test -n "$ac_init_help"; then
660  case $ac_init_help in
661     short | recursive ) echo "Configuration of vdmfec 1.0:";;
662   esac
663  cat <<\EOF
664
665Some influential environment variables:
666  CC          C compiler command
667  CFLAGS      C compiler flags
668  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
669              nonstandard directory <lib dir>
670  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
671              headers in a nonstandard directory <include dir>
672  CPP         C preprocessor
673
674Use these variables to override the choices made by `configure' or to help
675it to find libraries and programs with nonstandard names/locations.
676
677EOF
678fi
679
680if test "$ac_init_help" = "recursive"; then
681  # If there are subdirs, report their specific --help.
682  ac_popdir=`pwd`
683  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
684    cd $ac_subdir
685    # A "../" for each directory in /$ac_subdir.
686    ac_dots=`echo $ac_subdir |
687             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
688
689    case $srcdir in
690    .) # No --srcdir option.  We are building in place.
691      ac_sub_srcdir=$srcdir ;;
692    [\\/]* | ?:[\\/]* ) # Absolute path.
693      ac_sub_srcdir=$srcdir/$ac_subdir ;;
694    *) # Relative path.
695      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
696    esac
697
698    # Check for guested configure; otherwise get Cygnus style configure.
699    if test -f $ac_sub_srcdir/configure.gnu; then
700      echo
701      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
702    elif test -f $ac_sub_srcdir/configure; then
703      echo
704      $SHELL $ac_sub_srcdir/configure  --help=recursive
705    elif test -f $ac_sub_srcdir/configure.ac ||
706           test -f $ac_sub_srcdir/configure.in; then
707      echo
708      $ac_configure --help
709    else
710      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
711    fi
712    cd $ac_popdir
713  done
714fi
715
716test -n "$ac_init_help" && exit 0
717if $ac_init_version; then
718  cat <<\EOF
719vdmfec configure 1.0
720generated by GNU Autoconf 2.52
721
722Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
723Free Software Foundation, Inc.
724This configure script is free software; the Free Software Foundation
725gives unlimited permission to copy, distribute and modify it.
726EOF
727  exit 0
728fi
729exec 5>config.log
730cat >&5 <<EOF
731This file contains any messages produced by compilers while
732running configure, to aid debugging if configure makes a mistake.
733
734It was created by vdmfec $as_me 1.0, which was
735generated by GNU Autoconf 2.52.  Invocation command line was
736
737  $ $0 $@
738
739EOF
740{
741cat <<_ASUNAME
742## ---------- ##
743## Platform.  ##
744## ---------- ##
745
746hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
747uname -m = `(uname -m) 2>/dev/null || echo unknown`
748uname -r = `(uname -r) 2>/dev/null || echo unknown`
749uname -s = `(uname -s) 2>/dev/null || echo unknown`
750uname -v = `(uname -v) 2>/dev/null || echo unknown`
751
752/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
753/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
754
755/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
756/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
757/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
758hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
759/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
760/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
761/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
762
763PATH = $PATH
764
765_ASUNAME
766} >&5
767
768cat >&5 <<EOF
769## ------------ ##
770## Core tests.  ##
771## ------------ ##
772
773EOF
774
775# Keep a trace of the command line.
776# Strip out --no-create and --no-recursion so they do not pile up.
777# Also quote any args containing shell meta-characters.
778ac_configure_args=
779ac_sep=
780for ac_arg
781do
782  case $ac_arg in
783  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
784  | --no-cr | --no-c) ;;
785  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
786  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
787  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
788    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
789    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
790    ac_sep=" " ;;
791  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
792     ac_sep=" " ;;
793  esac
794  # Get rid of the leading space.
795done
796
797# When interrupted or exit'd, cleanup temporary files, and complete
798# config.log.  We remove comments because anyway the quotes in there
799# would cause problems or look ugly.
800trap 'exit_status=$?
801  # Save into config.log some information that might help in debugging.
802  echo >&5
803  echo "## ----------------- ##" >&5
804  echo "## Cache variables.  ##" >&5
805  echo "## ----------------- ##" >&5
806  echo >&5
807  # The following way of writing the cache mishandles newlines in values,
808{
809  (set) 2>&1 |
810    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
811    *ac_space=\ *)
812      sed -n \
813        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
814    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
815      ;;
816    *)
817      sed -n \
818        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
819      ;;
820    esac;
821} >&5
822  sed "/^$/d" confdefs.h >conftest.log
823  if test -s conftest.log; then
824    echo >&5
825    echo "## ------------ ##" >&5
826    echo "## confdefs.h.  ##" >&5
827    echo "## ------------ ##" >&5
828    echo >&5
829    cat conftest.log >&5
830  fi
831  (echo; echo) >&5
832  test "$ac_signal" != 0 &&
833    echo "$as_me: caught signal $ac_signal" >&5
834  echo "$as_me: exit $exit_status" >&5
835  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
836    exit $exit_status
837     ' 0
838for ac_signal in 1 2 13 15; do
839  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
840done
841ac_signal=0
842
843# confdefs.h avoids OS command line length limits that DEFS can exceed.
844rm -rf conftest* confdefs.h
845# AIX cpp loses on an empty file, so make sure it contains at least a newline.
846echo >confdefs.h
847
848# Let the site file select an alternate cache file if it wants to.
849# Prefer explicitly selected file to automatically selected ones.
850if test -z "$CONFIG_SITE"; then
851  if test "x$prefix" != xNONE; then
852    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
853  else
854    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
855  fi
856fi
857for ac_site_file in $CONFIG_SITE; do
858  if test -r "$ac_site_file"; then
859    { echo "$as_me:859: loading site script $ac_site_file" >&5
860echo "$as_me: loading site script $ac_site_file" >&6;}
861    cat "$ac_site_file" >&5
862    . "$ac_site_file"
863  fi
864done
865
866if test -r "$cache_file"; then
867  # Some versions of bash will fail to source /dev/null (special
868  # files actually), so we avoid doing that.
869  if test -f "$cache_file"; then
870    { echo "$as_me:870: loading cache $cache_file" >&5
871echo "$as_me: loading cache $cache_file" >&6;}
872    case $cache_file in
873      [\\/]* | ?:[\\/]* ) . $cache_file;;
874      *)                      . ./$cache_file;;
875    esac
876  fi
877else
878  { echo "$as_me:878: creating cache $cache_file" >&5
879echo "$as_me: creating cache $cache_file" >&6;}
880  >$cache_file
881fi
882
883# Check that the precious variables saved in the cache have kept the same
884# value.
885ac_cache_corrupted=false
886for ac_var in `(set) 2>&1 |
887               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
888  eval ac_old_set=\$ac_cv_env_${ac_var}_set
889  eval ac_new_set=\$ac_env_${ac_var}_set
890  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
891  eval ac_new_val="\$ac_env_${ac_var}_value"
892  case $ac_old_set,$ac_new_set in
893    set,)
894      { echo "$as_me:894: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
895echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
896      ac_cache_corrupted=: ;;
897    ,set)
898      { echo "$as_me:898: error: \`$ac_var' was not set in the previous run" >&5
899echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
900      ac_cache_corrupted=: ;;
901    ,);;
902    *)
903      if test "x$ac_old_val" != "x$ac_new_val"; then
904        { echo "$as_me:904: error: \`$ac_var' has changed since the previous run:" >&5
905echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
906        { echo "$as_me:906:   former value:  $ac_old_val" >&5
907echo "$as_me:   former value:  $ac_old_val" >&2;}
908        { echo "$as_me:908:   current value: $ac_new_val" >&5
909echo "$as_me:   current value: $ac_new_val" >&2;}
910        ac_cache_corrupted=:
911      fi;;
912  esac
913  # Pass precious variables to config.status.  It doesn't matter if
914  # we pass some twice (in addition to the command line arguments).
915  if test "$ac_new_set" = set; then
916    case $ac_new_val in
917    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
918      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
919      ac_configure_args="$ac_configure_args '$ac_arg'"
920      ;;
921    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
922       ;;
923    esac
924  fi
925done
926if $ac_cache_corrupted; then
927  { echo "$as_me:927: error: changes in the environment can compromise the build" >&5
928echo "$as_me: error: changes in the environment can compromise the build" >&2;}
929  { { echo "$as_me:929: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
930echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
931   { (exit 1); exit 1; }; }
932fi
933
934ac_ext=c
935ac_cpp='$CPP $CPPFLAGS'
936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
938ac_compiler_gnu=$ac_cv_c_compiler_gnu
939
940case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
941  *c*,-n*) ECHO_N= ECHO_C='
942' ECHO_T='	' ;;
943  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
944  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
945esac
946echo "#! $SHELL" >conftest.sh
947echo  "exit 0"   >>conftest.sh
948chmod +x conftest.sh
949if { (echo "$as_me:949: PATH=\".;.\"; conftest.sh") >&5
950  (PATH=".;."; conftest.sh) 2>&5
951  ac_status=$?
952  echo "$as_me:952: \$? = $ac_status" >&5
953  (exit $ac_status); }; then
954  ac_path_separator=';'
955else
956  ac_path_separator=:
957fi
958PATH_SEPARATOR="$ac_path_separator"
959rm -f conftest.sh
960
961ac_config_headers="$ac_config_headers config.h"
962
963# Checks for programs.
964ac_ext=c
965ac_cpp='$CPP $CPPFLAGS'
966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
968ac_compiler_gnu=$ac_cv_c_compiler_gnu
969if test -n "$ac_tool_prefix"; then
970  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
971set dummy ${ac_tool_prefix}gcc; ac_word=$2
972echo "$as_me:972: checking for $ac_word" >&5
973echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
974if test "${ac_cv_prog_CC+set}" = set; then
975  echo $ECHO_N "(cached) $ECHO_C" >&6
976else
977  if test -n "$CC"; then
978  ac_cv_prog_CC="$CC" # Let the user override the test.
979else
980  ac_save_IFS=$IFS; IFS=$ac_path_separator
981ac_dummy="$PATH"
982for ac_dir in $ac_dummy; do
983  IFS=$ac_save_IFS
984  test -z "$ac_dir" && ac_dir=.
985  $as_executable_p "$ac_dir/$ac_word" || continue
986ac_cv_prog_CC="${ac_tool_prefix}gcc"
987echo "$as_me:987: found $ac_dir/$ac_word" >&5
988break
989done
990
991fi
992fi
993CC=$ac_cv_prog_CC
994if test -n "$CC"; then
995  echo "$as_me:995: result: $CC" >&5
996echo "${ECHO_T}$CC" >&6
997else
998  echo "$as_me:998: result: no" >&5
999echo "${ECHO_T}no" >&6
1000fi
1001
1002fi
1003if test -z "$ac_cv_prog_CC"; then
1004  ac_ct_CC=$CC
1005  # Extract the first word of "gcc", so it can be a program name with args.
1006set dummy gcc; ac_word=$2
1007echo "$as_me:1007: checking for $ac_word" >&5
1008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1009if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1010  echo $ECHO_N "(cached) $ECHO_C" >&6
1011else
1012  if test -n "$ac_ct_CC"; then
1013  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1014else
1015  ac_save_IFS=$IFS; IFS=$ac_path_separator
1016ac_dummy="$PATH"
1017for ac_dir in $ac_dummy; do
1018  IFS=$ac_save_IFS
1019  test -z "$ac_dir" && ac_dir=.
1020  $as_executable_p "$ac_dir/$ac_word" || continue
1021ac_cv_prog_ac_ct_CC="gcc"
1022echo "$as_me:1022: found $ac_dir/$ac_word" >&5
1023break
1024done
1025
1026fi
1027fi
1028ac_ct_CC=$ac_cv_prog_ac_ct_CC
1029if test -n "$ac_ct_CC"; then
1030  echo "$as_me:1030: result: $ac_ct_CC" >&5
1031echo "${ECHO_T}$ac_ct_CC" >&6
1032else
1033  echo "$as_me:1033: result: no" >&5
1034echo "${ECHO_T}no" >&6
1035fi
1036
1037  CC=$ac_ct_CC
1038else
1039  CC="$ac_cv_prog_CC"
1040fi
1041
1042if test -z "$CC"; then
1043  if test -n "$ac_tool_prefix"; then
1044  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1045set dummy ${ac_tool_prefix}cc; ac_word=$2
1046echo "$as_me:1046: checking for $ac_word" >&5
1047echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1048if test "${ac_cv_prog_CC+set}" = set; then
1049  echo $ECHO_N "(cached) $ECHO_C" >&6
1050else
1051  if test -n "$CC"; then
1052  ac_cv_prog_CC="$CC" # Let the user override the test.
1053else
1054  ac_save_IFS=$IFS; IFS=$ac_path_separator
1055ac_dummy="$PATH"
1056for ac_dir in $ac_dummy; do
1057  IFS=$ac_save_IFS
1058  test -z "$ac_dir" && ac_dir=.
1059  $as_executable_p "$ac_dir/$ac_word" || continue
1060ac_cv_prog_CC="${ac_tool_prefix}cc"
1061echo "$as_me:1061: found $ac_dir/$ac_word" >&5
1062break
1063done
1064
1065fi
1066fi
1067CC=$ac_cv_prog_CC
1068if test -n "$CC"; then
1069  echo "$as_me:1069: result: $CC" >&5
1070echo "${ECHO_T}$CC" >&6
1071else
1072  echo "$as_me:1072: result: no" >&5
1073echo "${ECHO_T}no" >&6
1074fi
1075
1076fi
1077if test -z "$ac_cv_prog_CC"; then
1078  ac_ct_CC=$CC
1079  # Extract the first word of "cc", so it can be a program name with args.
1080set dummy cc; ac_word=$2
1081echo "$as_me:1081: checking for $ac_word" >&5
1082echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1083if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1084  echo $ECHO_N "(cached) $ECHO_C" >&6
1085else
1086  if test -n "$ac_ct_CC"; then
1087  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1088else
1089  ac_save_IFS=$IFS; IFS=$ac_path_separator
1090ac_dummy="$PATH"
1091for ac_dir in $ac_dummy; do
1092  IFS=$ac_save_IFS
1093  test -z "$ac_dir" && ac_dir=.
1094  $as_executable_p "$ac_dir/$ac_word" || continue
1095ac_cv_prog_ac_ct_CC="cc"
1096echo "$as_me:1096: found $ac_dir/$ac_word" >&5
1097break
1098done
1099
1100fi
1101fi
1102ac_ct_CC=$ac_cv_prog_ac_ct_CC
1103if test -n "$ac_ct_CC"; then
1104  echo "$as_me:1104: result: $ac_ct_CC" >&5
1105echo "${ECHO_T}$ac_ct_CC" >&6
1106else
1107  echo "$as_me:1107: result: no" >&5
1108echo "${ECHO_T}no" >&6
1109fi
1110
1111  CC=$ac_ct_CC
1112else
1113  CC="$ac_cv_prog_CC"
1114fi
1115
1116fi
1117if test -z "$CC"; then
1118  # Extract the first word of "cc", so it can be a program name with args.
1119set dummy cc; ac_word=$2
1120echo "$as_me:1120: checking for $ac_word" >&5
1121echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1122if test "${ac_cv_prog_CC+set}" = set; then
1123  echo $ECHO_N "(cached) $ECHO_C" >&6
1124else
1125  if test -n "$CC"; then
1126  ac_cv_prog_CC="$CC" # Let the user override the test.
1127else
1128  ac_prog_rejected=no
1129  ac_save_IFS=$IFS; IFS=$ac_path_separator
1130ac_dummy="$PATH"
1131for ac_dir in $ac_dummy; do
1132  IFS=$ac_save_IFS
1133  test -z "$ac_dir" && ac_dir=.
1134  $as_executable_p "$ac_dir/$ac_word" || continue
1135if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1136  ac_prog_rejected=yes
1137  continue
1138fi
1139ac_cv_prog_CC="cc"
1140echo "$as_me:1140: found $ac_dir/$ac_word" >&5
1141break
1142done
1143
1144if test $ac_prog_rejected = yes; then
1145  # We found a bogon in the path, so make sure we never use it.
1146  set dummy $ac_cv_prog_CC
1147  shift
1148  if test $# != 0; then
1149    # We chose a different compiler from the bogus one.
1150    # However, it has the same basename, so the bogon will be chosen
1151    # first if we set CC to just the basename; use the full file name.
1152    shift
1153    set dummy "$ac_dir/$ac_word" ${1+"$@"}
1154    shift
1155    ac_cv_prog_CC="$@"
1156  fi
1157fi
1158fi
1159fi
1160CC=$ac_cv_prog_CC
1161if test -n "$CC"; then
1162  echo "$as_me:1162: result: $CC" >&5
1163echo "${ECHO_T}$CC" >&6
1164else
1165  echo "$as_me:1165: result: no" >&5
1166echo "${ECHO_T}no" >&6
1167fi
1168
1169fi
1170if test -z "$CC"; then
1171  if test -n "$ac_tool_prefix"; then
1172  for ac_prog in cl
1173  do
1174    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1175set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1176echo "$as_me:1176: checking for $ac_word" >&5
1177echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1178if test "${ac_cv_prog_CC+set}" = set; then
1179  echo $ECHO_N "(cached) $ECHO_C" >&6
1180else
1181  if test -n "$CC"; then
1182  ac_cv_prog_CC="$CC" # Let the user override the test.
1183else
1184  ac_save_IFS=$IFS; IFS=$ac_path_separator
1185ac_dummy="$PATH"
1186for ac_dir in $ac_dummy; do
1187  IFS=$ac_save_IFS
1188  test -z "$ac_dir" && ac_dir=.
1189  $as_executable_p "$ac_dir/$ac_word" || continue
1190ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1191echo "$as_me:1191: found $ac_dir/$ac_word" >&5
1192break
1193done
1194
1195fi
1196fi
1197CC=$ac_cv_prog_CC
1198if test -n "$CC"; then
1199  echo "$as_me:1199: result: $CC" >&5
1200echo "${ECHO_T}$CC" >&6
1201else
1202  echo "$as_me:1202: result: no" >&5
1203echo "${ECHO_T}no" >&6
1204fi
1205
1206    test -n "$CC" && break
1207  done
1208fi
1209if test -z "$CC"; then
1210  ac_ct_CC=$CC
1211  for ac_prog in cl
1212do
1213  # Extract the first word of "$ac_prog", so it can be a program name with args.
1214set dummy $ac_prog; ac_word=$2
1215echo "$as_me:1215: checking for $ac_word" >&5
1216echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1217if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1218  echo $ECHO_N "(cached) $ECHO_C" >&6
1219else
1220  if test -n "$ac_ct_CC"; then
1221  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1222else
1223  ac_save_IFS=$IFS; IFS=$ac_path_separator
1224ac_dummy="$PATH"
1225for ac_dir in $ac_dummy; do
1226  IFS=$ac_save_IFS
1227  test -z "$ac_dir" && ac_dir=.
1228  $as_executable_p "$ac_dir/$ac_word" || continue
1229ac_cv_prog_ac_ct_CC="$ac_prog"
1230echo "$as_me:1230: found $ac_dir/$ac_word" >&5
1231break
1232done
1233
1234fi
1235fi
1236ac_ct_CC=$ac_cv_prog_ac_ct_CC
1237if test -n "$ac_ct_CC"; then
1238  echo "$as_me:1238: result: $ac_ct_CC" >&5
1239echo "${ECHO_T}$ac_ct_CC" >&6
1240else
1241  echo "$as_me:1241: result: no" >&5
1242echo "${ECHO_T}no" >&6
1243fi
1244
1245  test -n "$ac_ct_CC" && break
1246done
1247
1248  CC=$ac_ct_CC
1249fi
1250
1251fi
1252
1253test -z "$CC" && { { echo "$as_me:1253: error: no acceptable cc found in \$PATH" >&5
1254echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1255   { (exit 1); exit 1; }; }
1256
1257# Provide some information about the compiler.
1258echo "$as_me:1258:" \
1259     "checking for C compiler version" >&5
1260ac_compiler=`set X $ac_compile; echo $2`
1261{ (eval echo "$as_me:1261: \"$ac_compiler --version </dev/null >&5\"") >&5
1262  (eval $ac_compiler --version </dev/null >&5) 2>&5
1263  ac_status=$?
1264  echo "$as_me:1264: \$? = $ac_status" >&5
1265  (exit $ac_status); }
1266{ (eval echo "$as_me:1266: \"$ac_compiler -v </dev/null >&5\"") >&5
1267  (eval $ac_compiler -v </dev/null >&5) 2>&5
1268  ac_status=$?
1269  echo "$as_me:1269: \$? = $ac_status" >&5
1270  (exit $ac_status); }
1271{ (eval echo "$as_me:1271: \"$ac_compiler -V </dev/null >&5\"") >&5
1272  (eval $ac_compiler -V </dev/null >&5) 2>&5
1273  ac_status=$?
1274  echo "$as_me:1274: \$? = $ac_status" >&5
1275  (exit $ac_status); }
1276
1277cat >conftest.$ac_ext <<_ACEOF
1278#line 1278 "configure"
1279#include "confdefs.h"
1280
1281int
1282main ()
1283{
1284
1285  ;
1286  return 0;
1287}
1288_ACEOF
1289ac_clean_files_save=$ac_clean_files
1290ac_clean_files="$ac_clean_files a.out a.exe"
1291# Try to create an executable without -o first, disregard a.out.
1292# It will help us diagnose broken compilers, and finding out an intuition
1293# of exeext.
1294echo "$as_me:1294: checking for C compiler default output" >&5
1295echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1296ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1297if { (eval echo "$as_me:1297: \"$ac_link_default\"") >&5
1298  (eval $ac_link_default) 2>&5
1299  ac_status=$?
1300  echo "$as_me:1300: \$? = $ac_status" >&5
1301  (exit $ac_status); }; then
1302  # Find the output, starting from the most likely.  This scheme is
1303# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1304# resort.
1305for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1306                ls a.out conftest 2>/dev/null;
1307                ls a.* conftest.* 2>/dev/null`; do
1308  case $ac_file in
1309    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1310    a.out ) # We found the default executable, but exeext='' is most
1311            # certainly right.
1312            break;;
1313    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1314          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1315          export ac_cv_exeext
1316          break;;
1317    * ) break;;
1318  esac
1319done
1320else
1321  echo "$as_me: failed program was:" >&5
1322cat conftest.$ac_ext >&5
1323{ { echo "$as_me:1323: error: C compiler cannot create executables" >&5
1324echo "$as_me: error: C compiler cannot create executables" >&2;}
1325   { (exit 77); exit 77; }; }
1326fi
1327
1328ac_exeext=$ac_cv_exeext
1329echo "$as_me:1329: result: $ac_file" >&5
1330echo "${ECHO_T}$ac_file" >&6
1331
1332# Check the compiler produces executables we can run.  If not, either
1333# the compiler is broken, or we cross compile.
1334echo "$as_me:1334: checking whether the C compiler works" >&5
1335echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1336# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1337# If not cross compiling, check that we can run a simple program.
1338if test "$cross_compiling" != yes; then
1339  if { ac_try='./$ac_file'
1340  { (eval echo "$as_me:1340: \"$ac_try\"") >&5
1341  (eval $ac_try) 2>&5
1342  ac_status=$?
1343  echo "$as_me:1343: \$? = $ac_status" >&5
1344  (exit $ac_status); }; }; then
1345    cross_compiling=no
1346  else
1347    if test "$cross_compiling" = maybe; then
1348	cross_compiling=yes
1349    else
1350	{ { echo "$as_me:1350: error: cannot run C compiled programs.
1351If you meant to cross compile, use \`--host'." >&5
1352echo "$as_me: error: cannot run C compiled programs.
1353If you meant to cross compile, use \`--host'." >&2;}
1354   { (exit 1); exit 1; }; }
1355    fi
1356  fi
1357fi
1358echo "$as_me:1358: result: yes" >&5
1359echo "${ECHO_T}yes" >&6
1360
1361rm -f a.out a.exe conftest$ac_cv_exeext
1362ac_clean_files=$ac_clean_files_save
1363# Check the compiler produces executables we can run.  If not, either
1364# the compiler is broken, or we cross compile.
1365echo "$as_me:1365: checking whether we are cross compiling" >&5
1366echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1367echo "$as_me:1367: result: $cross_compiling" >&5
1368echo "${ECHO_T}$cross_compiling" >&6
1369
1370echo "$as_me:1370: checking for executable suffix" >&5
1371echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1372if { (eval echo "$as_me:1372: \"$ac_link\"") >&5
1373  (eval $ac_link) 2>&5
1374  ac_status=$?
1375  echo "$as_me:1375: \$? = $ac_status" >&5
1376  (exit $ac_status); }; then
1377  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1378# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1379# work properly (i.e., refer to `conftest.exe'), while it won't with
1380# `rm'.
1381for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1382  case $ac_file in
1383    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1384    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1385          export ac_cv_exeext
1386          break;;
1387    * ) break;;
1388  esac
1389done
1390else
1391  { { echo "$as_me:1391: error: cannot compute EXEEXT: cannot compile and link" >&5
1392echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1393   { (exit 1); exit 1; }; }
1394fi
1395
1396rm -f conftest$ac_cv_exeext
1397echo "$as_me:1397: result: $ac_cv_exeext" >&5
1398echo "${ECHO_T}$ac_cv_exeext" >&6
1399
1400rm -f conftest.$ac_ext
1401EXEEXT=$ac_cv_exeext
1402ac_exeext=$EXEEXT
1403echo "$as_me:1403: checking for object suffix" >&5
1404echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1405if test "${ac_cv_objext+set}" = set; then
1406  echo $ECHO_N "(cached) $ECHO_C" >&6
1407else
1408  cat >conftest.$ac_ext <<_ACEOF
1409#line 1409 "configure"
1410#include "confdefs.h"
1411
1412int
1413main ()
1414{
1415
1416  ;
1417  return 0;
1418}
1419_ACEOF
1420rm -f conftest.o conftest.obj
1421if { (eval echo "$as_me:1421: \"$ac_compile\"") >&5
1422  (eval $ac_compile) 2>&5
1423  ac_status=$?
1424  echo "$as_me:1424: \$? = $ac_status" >&5
1425  (exit $ac_status); }; then
1426  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1427  case $ac_file in
1428    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1429    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1430       break;;
1431  esac
1432done
1433else
1434  echo "$as_me: failed program was:" >&5
1435cat conftest.$ac_ext >&5
1436{ { echo "$as_me:1436: error: cannot compute OBJEXT: cannot compile" >&5
1437echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1438   { (exit 1); exit 1; }; }
1439fi
1440
1441rm -f conftest.$ac_cv_objext conftest.$ac_ext
1442fi
1443echo "$as_me:1443: result: $ac_cv_objext" >&5
1444echo "${ECHO_T}$ac_cv_objext" >&6
1445OBJEXT=$ac_cv_objext
1446ac_objext=$OBJEXT
1447echo "$as_me:1447: checking whether we are using the GNU C compiler" >&5
1448echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1449if test "${ac_cv_c_compiler_gnu+set}" = set; then
1450  echo $ECHO_N "(cached) $ECHO_C" >&6
1451else
1452  cat >conftest.$ac_ext <<_ACEOF
1453#line 1453 "configure"
1454#include "confdefs.h"
1455
1456int
1457main ()
1458{
1459#ifndef __GNUC__
1460       choke me
1461#endif
1462
1463  ;
1464  return 0;
1465}
1466_ACEOF
1467rm -f conftest.$ac_objext
1468if { (eval echo "$as_me:1468: \"$ac_compile\"") >&5
1469  (eval $ac_compile) 2>&5
1470  ac_status=$?
1471  echo "$as_me:1471: \$? = $ac_status" >&5
1472  (exit $ac_status); } &&
1473         { ac_try='test -s conftest.$ac_objext'
1474  { (eval echo "$as_me:1474: \"$ac_try\"") >&5
1475  (eval $ac_try) 2>&5
1476  ac_status=$?
1477  echo "$as_me:1477: \$? = $ac_status" >&5
1478  (exit $ac_status); }; }; then
1479  ac_compiler_gnu=yes
1480else
1481  echo "$as_me: failed program was:" >&5
1482cat conftest.$ac_ext >&5
1483ac_compiler_gnu=no
1484fi
1485rm -f conftest.$ac_objext conftest.$ac_ext
1486ac_cv_c_compiler_gnu=$ac_compiler_gnu
1487
1488fi
1489echo "$as_me:1489: result: $ac_cv_c_compiler_gnu" >&5
1490echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1491GCC=`test $ac_compiler_gnu = yes && echo yes`
1492ac_test_CFLAGS=${CFLAGS+set}
1493ac_save_CFLAGS=$CFLAGS
1494CFLAGS="-g"
1495echo "$as_me:1495: checking whether $CC accepts -g" >&5
1496echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1497if test "${ac_cv_prog_cc_g+set}" = set; then
1498  echo $ECHO_N "(cached) $ECHO_C" >&6
1499else
1500  cat >conftest.$ac_ext <<_ACEOF
1501#line 1501 "configure"
1502#include "confdefs.h"
1503
1504int
1505main ()
1506{
1507
1508  ;
1509  return 0;
1510}
1511_ACEOF
1512rm -f conftest.$ac_objext
1513if { (eval echo "$as_me:1513: \"$ac_compile\"") >&5
1514  (eval $ac_compile) 2>&5
1515  ac_status=$?
1516  echo "$as_me:1516: \$? = $ac_status" >&5
1517  (exit $ac_status); } &&
1518         { ac_try='test -s conftest.$ac_objext'
1519  { (eval echo "$as_me:1519: \"$ac_try\"") >&5
1520  (eval $ac_try) 2>&5
1521  ac_status=$?
1522  echo "$as_me:1522: \$? = $ac_status" >&5
1523  (exit $ac_status); }; }; then
1524  ac_cv_prog_cc_g=yes
1525else
1526  echo "$as_me: failed program was:" >&5
1527cat conftest.$ac_ext >&5
1528ac_cv_prog_cc_g=no
1529fi
1530rm -f conftest.$ac_objext conftest.$ac_ext
1531fi
1532echo "$as_me:1532: result: $ac_cv_prog_cc_g" >&5
1533echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1534if test "$ac_test_CFLAGS" = set; then
1535  CFLAGS=$ac_save_CFLAGS
1536elif test $ac_cv_prog_cc_g = yes; then
1537  if test "$GCC" = yes; then
1538    CFLAGS="-g -O2"
1539  else
1540    CFLAGS="-g"
1541  fi
1542else
1543  if test "$GCC" = yes; then
1544    CFLAGS="-O2"
1545  else
1546    CFLAGS=
1547  fi
1548fi
1549# Some people use a C++ compiler to compile C.  Since we use `exit',
1550# in C++ we need to declare it.  In case someone uses the same compiler
1551# for both compiling C and C++ we need to have the C++ compiler decide
1552# the declaration of exit, since it's the most demanding environment.
1553cat >conftest.$ac_ext <<_ACEOF
1554#ifndef __cplusplus
1555  choke me
1556#endif
1557_ACEOF
1558rm -f conftest.$ac_objext
1559if { (eval echo "$as_me:1559: \"$ac_compile\"") >&5
1560  (eval $ac_compile) 2>&5
1561  ac_status=$?
1562  echo "$as_me:1562: \$? = $ac_status" >&5
1563  (exit $ac_status); } &&
1564         { ac_try='test -s conftest.$ac_objext'
1565  { (eval echo "$as_me:1565: \"$ac_try\"") >&5
1566  (eval $ac_try) 2>&5
1567  ac_status=$?
1568  echo "$as_me:1568: \$? = $ac_status" >&5
1569  (exit $ac_status); }; }; then
1570  for ac_declaration in \
1571   ''\
1572   '#include <stdlib.h>' \
1573   'extern "C" void std::exit (int) throw (); using std::exit;' \
1574   'extern "C" void std::exit (int); using std::exit;' \
1575   'extern "C" void exit (int) throw ();' \
1576   'extern "C" void exit (int);' \
1577   'void exit (int);'
1578do
1579  cat >conftest.$ac_ext <<_ACEOF
1580#line 1580 "configure"
1581#include "confdefs.h"
1582#include <stdlib.h>
1583$ac_declaration
1584int
1585main ()
1586{
1587exit (42);
1588  ;
1589  return 0;
1590}
1591_ACEOF
1592rm -f conftest.$ac_objext
1593if { (eval echo "$as_me:1593: \"$ac_compile\"") >&5
1594  (eval $ac_compile) 2>&5
1595  ac_status=$?
1596  echo "$as_me:1596: \$? = $ac_status" >&5
1597  (exit $ac_status); } &&
1598         { ac_try='test -s conftest.$ac_objext'
1599  { (eval echo "$as_me:1599: \"$ac_try\"") >&5
1600  (eval $ac_try) 2>&5
1601  ac_status=$?
1602  echo "$as_me:1602: \$? = $ac_status" >&5
1603  (exit $ac_status); }; }; then
1604  :
1605else
1606  echo "$as_me: failed program was:" >&5
1607cat conftest.$ac_ext >&5
1608continue
1609fi
1610rm -f conftest.$ac_objext conftest.$ac_ext
1611  cat >conftest.$ac_ext <<_ACEOF
1612#line 1612 "configure"
1613#include "confdefs.h"
1614$ac_declaration
1615int
1616main ()
1617{
1618exit (42);
1619  ;
1620  return 0;
1621}
1622_ACEOF
1623rm -f conftest.$ac_objext
1624if { (eval echo "$as_me:1624: \"$ac_compile\"") >&5
1625  (eval $ac_compile) 2>&5
1626  ac_status=$?
1627  echo "$as_me:1627: \$? = $ac_status" >&5
1628  (exit $ac_status); } &&
1629         { ac_try='test -s conftest.$ac_objext'
1630  { (eval echo "$as_me:1630: \"$ac_try\"") >&5
1631  (eval $ac_try) 2>&5
1632  ac_status=$?
1633  echo "$as_me:1633: \$? = $ac_status" >&5
1634  (exit $ac_status); }; }; then
1635  break
1636else
1637  echo "$as_me: failed program was:" >&5
1638cat conftest.$ac_ext >&5
1639fi
1640rm -f conftest.$ac_objext conftest.$ac_ext
1641done
1642rm -f conftest*
1643if test -n "$ac_declaration"; then
1644  echo '#ifdef __cplusplus' >>confdefs.h
1645  echo $ac_declaration      >>confdefs.h
1646  echo '#endif'             >>confdefs.h
1647fi
1648
1649else
1650  echo "$as_me: failed program was:" >&5
1651cat conftest.$ac_ext >&5
1652fi
1653rm -f conftest.$ac_objext conftest.$ac_ext
1654ac_ext=c
1655ac_cpp='$CPP $CPPFLAGS'
1656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659
1660# Default flags for gcc.
1661if test "$GCC" = yes; then
1662  if test "$ac_env_CFLAGS_set" != set; then
1663    CFLAGS="-O3 -Wall"
1664  fi
1665  if test "$ac_env_LDFLAGS_set" != set; then
1666    LDFLAGS=-s
1667  fi
1668fi
1669
1670# Checks for libraries.
1671
1672# Checks for header files.
1673
1674ac_ext=c
1675ac_cpp='$CPP $CPPFLAGS'
1676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679echo "$as_me:1679: checking how to run the C preprocessor" >&5
1680echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1681# On Suns, sometimes $CPP names a directory.
1682if test -n "$CPP" && test -d "$CPP"; then
1683  CPP=
1684fi
1685if test -z "$CPP"; then
1686  if test "${ac_cv_prog_CPP+set}" = set; then
1687  echo $ECHO_N "(cached) $ECHO_C" >&6
1688else
1689      # Double quotes because CPP needs to be expanded
1690    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1691    do
1692      ac_preproc_ok=false
1693for ac_c_preproc_warn_flag in '' yes
1694do
1695  # Use a header file that comes with gcc, so configuring glibc
1696  # with a fresh cross-compiler works.
1697  # On the NeXT, cc -E runs the code through the compiler's parser,
1698  # not just through cpp. "Syntax error" is here to catch this case.
1699  cat >conftest.$ac_ext <<_ACEOF
1700#line 1700 "configure"
1701#include "confdefs.h"
1702#include <assert.h>
1703                     Syntax error
1704_ACEOF
1705if { (eval echo "$as_me:1705: \"$ac_cpp conftest.$ac_ext\"") >&5
1706  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1707  ac_status=$?
1708  egrep -v '^ *\+' conftest.er1 >conftest.err
1709  rm -f conftest.er1
1710  cat conftest.err >&5
1711  echo "$as_me:1711: \$? = $ac_status" >&5
1712  (exit $ac_status); } >/dev/null; then
1713  if test -s conftest.err; then
1714    ac_cpp_err=$ac_c_preproc_warn_flag
1715  else
1716    ac_cpp_err=
1717  fi
1718else
1719  ac_cpp_err=yes
1720fi
1721if test -z "$ac_cpp_err"; then
1722  :
1723else
1724  echo "$as_me: failed program was:" >&5
1725  cat conftest.$ac_ext >&5
1726  # Broken: fails on valid input.
1727continue
1728fi
1729rm -f conftest.err conftest.$ac_ext
1730
1731  # OK, works on sane cases.  Now check whether non-existent headers
1732  # can be detected and how.
1733  cat >conftest.$ac_ext <<_ACEOF
1734#line 1734 "configure"
1735#include "confdefs.h"
1736#include <ac_nonexistent.h>
1737_ACEOF
1738if { (eval echo "$as_me:1738: \"$ac_cpp conftest.$ac_ext\"") >&5
1739  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1740  ac_status=$?
1741  egrep -v '^ *\+' conftest.er1 >conftest.err
1742  rm -f conftest.er1
1743  cat conftest.err >&5
1744  echo "$as_me:1744: \$? = $ac_status" >&5
1745  (exit $ac_status); } >/dev/null; then
1746  if test -s conftest.err; then
1747    ac_cpp_err=$ac_c_preproc_warn_flag
1748  else
1749    ac_cpp_err=
1750  fi
1751else
1752  ac_cpp_err=yes
1753fi
1754if test -z "$ac_cpp_err"; then
1755  # Broken: success on invalid input.
1756continue
1757else
1758  echo "$as_me: failed program was:" >&5
1759  cat conftest.$ac_ext >&5
1760  # Passes both tests.
1761ac_preproc_ok=:
1762break
1763fi
1764rm -f conftest.err conftest.$ac_ext
1765
1766done
1767# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1768rm -f conftest.err conftest.$ac_ext
1769if $ac_preproc_ok; then
1770  break
1771fi
1772
1773    done
1774    ac_cv_prog_CPP=$CPP
1775
1776fi
1777  CPP=$ac_cv_prog_CPP
1778else
1779  ac_cv_prog_CPP=$CPP
1780fi
1781echo "$as_me:1781: result: $CPP" >&5
1782echo "${ECHO_T}$CPP" >&6
1783ac_preproc_ok=false
1784for ac_c_preproc_warn_flag in '' yes
1785do
1786  # Use a header file that comes with gcc, so configuring glibc
1787  # with a fresh cross-compiler works.
1788  # On the NeXT, cc -E runs the code through the compiler's parser,
1789  # not just through cpp. "Syntax error" is here to catch this case.
1790  cat >conftest.$ac_ext <<_ACEOF
1791#line 1791 "configure"
1792#include "confdefs.h"
1793#include <assert.h>
1794                     Syntax error
1795_ACEOF
1796if { (eval echo "$as_me:1796: \"$ac_cpp conftest.$ac_ext\"") >&5
1797  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1798  ac_status=$?
1799  egrep -v '^ *\+' conftest.er1 >conftest.err
1800  rm -f conftest.er1
1801  cat conftest.err >&5
1802  echo "$as_me:1802: \$? = $ac_status" >&5
1803  (exit $ac_status); } >/dev/null; then
1804  if test -s conftest.err; then
1805    ac_cpp_err=$ac_c_preproc_warn_flag
1806  else
1807    ac_cpp_err=
1808  fi
1809else
1810  ac_cpp_err=yes
1811fi
1812if test -z "$ac_cpp_err"; then
1813  :
1814else
1815  echo "$as_me: failed program was:" >&5
1816  cat conftest.$ac_ext >&5
1817  # Broken: fails on valid input.
1818continue
1819fi
1820rm -f conftest.err conftest.$ac_ext
1821
1822  # OK, works on sane cases.  Now check whether non-existent headers
1823  # can be detected and how.
1824  cat >conftest.$ac_ext <<_ACEOF
1825#line 1825 "configure"
1826#include "confdefs.h"
1827#include <ac_nonexistent.h>
1828_ACEOF
1829if { (eval echo "$as_me:1829: \"$ac_cpp conftest.$ac_ext\"") >&5
1830  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1831  ac_status=$?
1832  egrep -v '^ *\+' conftest.er1 >conftest.err
1833  rm -f conftest.er1
1834  cat conftest.err >&5
1835  echo "$as_me:1835: \$? = $ac_status" >&5
1836  (exit $ac_status); } >/dev/null; then
1837  if test -s conftest.err; then
1838    ac_cpp_err=$ac_c_preproc_warn_flag
1839  else
1840    ac_cpp_err=
1841  fi
1842else
1843  ac_cpp_err=yes
1844fi
1845if test -z "$ac_cpp_err"; then
1846  # Broken: success on invalid input.
1847continue
1848else
1849  echo "$as_me: failed program was:" >&5
1850  cat conftest.$ac_ext >&5
1851  # Passes both tests.
1852ac_preproc_ok=:
1853break
1854fi
1855rm -f conftest.err conftest.$ac_ext
1856
1857done
1858# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1859rm -f conftest.err conftest.$ac_ext
1860if $ac_preproc_ok; then
1861  :
1862else
1863  { { echo "$as_me:1863: error: C preprocessor \"$CPP\" fails sanity check" >&5
1864echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1865   { (exit 1); exit 1; }; }
1866fi
1867
1868ac_ext=c
1869ac_cpp='$CPP $CPPFLAGS'
1870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872ac_compiler_gnu=$ac_cv_c_compiler_gnu
1873
1874echo "$as_me:1874: checking for ANSI C header files" >&5
1875echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1876if test "${ac_cv_header_stdc+set}" = set; then
1877  echo $ECHO_N "(cached) $ECHO_C" >&6
1878else
1879  cat >conftest.$ac_ext <<_ACEOF
1880#line 1880 "configure"
1881#include "confdefs.h"
1882#include <stdlib.h>
1883#include <stdarg.h>
1884#include <string.h>
1885#include <float.h>
1886
1887_ACEOF
1888if { (eval echo "$as_me:1888: \"$ac_cpp conftest.$ac_ext\"") >&5
1889  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1890  ac_status=$?
1891  egrep -v '^ *\+' conftest.er1 >conftest.err
1892  rm -f conftest.er1
1893  cat conftest.err >&5
1894  echo "$as_me:1894: \$? = $ac_status" >&5
1895  (exit $ac_status); } >/dev/null; then
1896  if test -s conftest.err; then
1897    ac_cpp_err=$ac_c_preproc_warn_flag
1898  else
1899    ac_cpp_err=
1900  fi
1901else
1902  ac_cpp_err=yes
1903fi
1904if test -z "$ac_cpp_err"; then
1905  ac_cv_header_stdc=yes
1906else
1907  echo "$as_me: failed program was:" >&5
1908  cat conftest.$ac_ext >&5
1909  ac_cv_header_stdc=no
1910fi
1911rm -f conftest.err conftest.$ac_ext
1912
1913if test $ac_cv_header_stdc = yes; then
1914  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1915  cat >conftest.$ac_ext <<_ACEOF
1916#line 1916 "configure"
1917#include "confdefs.h"
1918#include <string.h>
1919
1920_ACEOF
1921if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1922  egrep "memchr" >/dev/null 2>&1; then
1923  :
1924else
1925  ac_cv_header_stdc=no
1926fi
1927rm -f conftest*
1928
1929fi
1930
1931if test $ac_cv_header_stdc = yes; then
1932  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1933  cat >conftest.$ac_ext <<_ACEOF
1934#line 1934 "configure"
1935#include "confdefs.h"
1936#include <stdlib.h>
1937
1938_ACEOF
1939if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1940  egrep "free" >/dev/null 2>&1; then
1941  :
1942else
1943  ac_cv_header_stdc=no
1944fi
1945rm -f conftest*
1946
1947fi
1948
1949if test $ac_cv_header_stdc = yes; then
1950  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1951  if test "$cross_compiling" = yes; then
1952  :
1953else
1954  cat >conftest.$ac_ext <<_ACEOF
1955#line 1955 "configure"
1956#include "confdefs.h"
1957#include <ctype.h>
1958#if ((' ' & 0x0FF) == 0x020)
1959# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1960# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1961#else
1962# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
1963                     || ('j' <= (c) && (c) <= 'r') \
1964                     || ('s' <= (c) && (c) <= 'z'))
1965# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1966#endif
1967
1968#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1969int
1970main ()
1971{
1972  int i;
1973  for (i = 0; i < 256; i++)
1974    if (XOR (islower (i), ISLOWER (i))
1975        || toupper (i) != TOUPPER (i))
1976      exit(2);
1977  exit (0);
1978}
1979_ACEOF
1980rm -f conftest$ac_exeext
1981if { (eval echo "$as_me:1981: \"$ac_link\"") >&5
1982  (eval $ac_link) 2>&5
1983  ac_status=$?
1984  echo "$as_me:1984: \$? = $ac_status" >&5
1985  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1986  { (eval echo "$as_me:1986: \"$ac_try\"") >&5
1987  (eval $ac_try) 2>&5
1988  ac_status=$?
1989  echo "$as_me:1989: \$? = $ac_status" >&5
1990  (exit $ac_status); }; }; then
1991  :
1992else
1993  echo "$as_me: program exited with status $ac_status" >&5
1994echo "$as_me: failed program was:" >&5
1995cat conftest.$ac_ext >&5
1996ac_cv_header_stdc=no
1997fi
1998rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1999fi
2000fi
2001fi
2002echo "$as_me:2002: result: $ac_cv_header_stdc" >&5
2003echo "${ECHO_T}$ac_cv_header_stdc" >&6
2004if test $ac_cv_header_stdc = yes; then
2005
2006cat >>confdefs.h <<\EOF
2007#define STDC_HEADERS 1
2008EOF
2009
2010fi
2011
2012echo "$as_me:2012: checking whether time.h and sys/time.h may both be included" >&5
2013echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2014if test "${ac_cv_header_time+set}" = set; then
2015  echo $ECHO_N "(cached) $ECHO_C" >&6
2016else
2017  cat >conftest.$ac_ext <<_ACEOF
2018#line 2018 "configure"
2019#include "confdefs.h"
2020#include <sys/types.h>
2021#include <sys/time.h>
2022#include <time.h>
2023
2024int
2025main ()
2026{
2027if ((struct tm *) 0)
2028return 0;
2029  ;
2030  return 0;
2031}
2032_ACEOF
2033rm -f conftest.$ac_objext
2034if { (eval echo "$as_me:2034: \"$ac_compile\"") >&5
2035  (eval $ac_compile) 2>&5
2036  ac_status=$?
2037  echo "$as_me:2037: \$? = $ac_status" >&5
2038  (exit $ac_status); } &&
2039         { ac_try='test -s conftest.$ac_objext'
2040  { (eval echo "$as_me:2040: \"$ac_try\"") >&5
2041  (eval $ac_try) 2>&5
2042  ac_status=$?
2043  echo "$as_me:2043: \$? = $ac_status" >&5
2044  (exit $ac_status); }; }; then
2045  ac_cv_header_time=yes
2046else
2047  echo "$as_me: failed program was:" >&5
2048cat conftest.$ac_ext >&5
2049ac_cv_header_time=no
2050fi
2051rm -f conftest.$ac_objext conftest.$ac_ext
2052fi
2053echo "$as_me:2053: result: $ac_cv_header_time" >&5
2054echo "${ECHO_T}$ac_cv_header_time" >&6
2055if test $ac_cv_header_time = yes; then
2056
2057cat >>confdefs.h <<\EOF
2058#define TIME_WITH_SYS_TIME 1
2059EOF
2060
2061fi
2062
2063for ac_header in netinet/in.h errno.h
2064do
2065as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2066echo "$as_me:2066: checking for $ac_header" >&5
2067echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2068if eval "test \"\${$as_ac_Header+set}\" = set"; then
2069  echo $ECHO_N "(cached) $ECHO_C" >&6
2070else
2071  cat >conftest.$ac_ext <<_ACEOF
2072#line 2072 "configure"
2073#include "confdefs.h"
2074#include <$ac_header>
2075_ACEOF
2076if { (eval echo "$as_me:2076: \"$ac_cpp conftest.$ac_ext\"") >&5
2077  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2078  ac_status=$?
2079  egrep -v '^ *\+' conftest.er1 >conftest.err
2080  rm -f conftest.er1
2081  cat conftest.err >&5
2082  echo "$as_me:2082: \$? = $ac_status" >&5
2083  (exit $ac_status); } >/dev/null; then
2084  if test -s conftest.err; then
2085    ac_cpp_err=$ac_c_preproc_warn_flag
2086  else
2087    ac_cpp_err=
2088  fi
2089else
2090  ac_cpp_err=yes
2091fi
2092if test -z "$ac_cpp_err"; then
2093  eval "$as_ac_Header=yes"
2094else
2095  echo "$as_me: failed program was:" >&5
2096  cat conftest.$ac_ext >&5
2097  eval "$as_ac_Header=no"
2098fi
2099rm -f conftest.err conftest.$ac_ext
2100fi
2101echo "$as_me:2101: result: `eval echo '${'$as_ac_Header'}'`" >&5
2102echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2103if test `eval echo '${'$as_ac_Header'}'` = yes; then
2104  cat >>confdefs.h <<EOF
2105#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2106EOF
2107
2108fi
2109done
2110
2111# Checks for typedefs, structures, and compiler characteristics.
2112echo "$as_me:2112: checking for $CC option to accept ANSI C" >&5
2113echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2114if test "${ac_cv_prog_cc_stdc+set}" = set; then
2115  echo $ECHO_N "(cached) $ECHO_C" >&6
2116else
2117  ac_cv_prog_cc_stdc=no
2118ac_save_CC=$CC
2119cat >conftest.$ac_ext <<_ACEOF
2120#line 2120 "configure"
2121#include "confdefs.h"
2122#include <stdarg.h>
2123#include <stdio.h>
2124#include <sys/types.h>
2125#include <sys/stat.h>
2126/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2127struct buf { int x; };
2128FILE * (*rcsopen) (struct buf *, struct stat *, int);
2129static char *e (p, i)
2130     char **p;
2131     int i;
2132{
2133  return p[i];
2134}
2135static char *f (char * (*g) (char **, int), char **p, ...)
2136{
2137  char *s;
2138  va_list v;
2139  va_start (v,p);
2140  s = g (p, va_arg (v,int));
2141  va_end (v);
2142  return s;
2143}
2144int test (int i, double x);
2145struct s1 {int (*f) (int a);};
2146struct s2 {int (*f) (double a);};
2147int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2148int argc;
2149char **argv;
2150int
2151main ()
2152{
2153return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2154  ;
2155  return 0;
2156}
2157_ACEOF
2158# Don't try gcc -ansi; that turns off useful extensions and
2159# breaks some systems' header files.
2160# AIX			-qlanglvl=ansi
2161# Ultrix and OSF/1	-std1
2162# HP-UX 10.20 and later	-Ae
2163# HP-UX older versions	-Aa -D_HPUX_SOURCE
2164# SVR4			-Xc -D__EXTENSIONS__
2165for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2166do
2167  CC="$ac_save_CC $ac_arg"
2168  rm -f conftest.$ac_objext
2169if { (eval echo "$as_me:2169: \"$ac_compile\"") >&5
2170  (eval $ac_compile) 2>&5
2171  ac_status=$?
2172  echo "$as_me:2172: \$? = $ac_status" >&5
2173  (exit $ac_status); } &&
2174         { ac_try='test -s conftest.$ac_objext'
2175  { (eval echo "$as_me:2175: \"$ac_try\"") >&5
2176  (eval $ac_try) 2>&5
2177  ac_status=$?
2178  echo "$as_me:2178: \$? = $ac_status" >&5
2179  (exit $ac_status); }; }; then
2180  ac_cv_prog_cc_stdc=$ac_arg
2181break
2182else
2183  echo "$as_me: failed program was:" >&5
2184cat conftest.$ac_ext >&5
2185fi
2186rm -f conftest.$ac_objext
2187done
2188rm -f conftest.$ac_ext conftest.$ac_objext
2189CC=$ac_save_CC
2190
2191fi
2192
2193case "x$ac_cv_prog_cc_stdc" in
2194  x|xno)
2195    echo "$as_me:2195: result: none needed" >&5
2196echo "${ECHO_T}none needed" >&6 ;;
2197  *)
2198    echo "$as_me:2198: result: $ac_cv_prog_cc_stdc" >&5
2199echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2200    CC="$CC $ac_cv_prog_cc_stdc" ;;
2201esac
2202
2203echo "$as_me:2203: checking for an ANSI C-conforming const" >&5
2204echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2205if test "${ac_cv_c_const+set}" = set; then
2206  echo $ECHO_N "(cached) $ECHO_C" >&6
2207else
2208  cat >conftest.$ac_ext <<_ACEOF
2209#line 2209 "configure"
2210#include "confdefs.h"
2211
2212int
2213main ()
2214{
2215/* FIXME: Include the comments suggested by Paul. */
2216#ifndef __cplusplus
2217  /* Ultrix mips cc rejects this.  */
2218  typedef int charset[2];
2219  const charset x;
2220  /* SunOS 4.1.1 cc rejects this.  */
2221  char const *const *ccp;
2222  char **p;
2223  /* NEC SVR4.0.2 mips cc rejects this.  */
2224  struct point {int x, y;};
2225  static struct point const zero = {0,0};
2226  /* AIX XL C 1.02.0.0 rejects this.
2227     It does not let you subtract one const X* pointer from another in
2228     an arm of an if-expression whose if-part is not a constant
2229     expression */
2230  const char *g = "string";
2231  ccp = &g + (g ? g-g : 0);
2232  /* HPUX 7.0 cc rejects these. */
2233  ++ccp;
2234  p = (char**) ccp;
2235  ccp = (char const *const *) p;
2236  { /* SCO 3.2v4 cc rejects this.  */
2237    char *t;
2238    char const *s = 0 ? (char *) 0 : (char const *) 0;
2239
2240    *t++ = 0;
2241  }
2242  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
2243    int x[] = {25, 17};
2244    const int *foo = &x[0];
2245    ++foo;
2246  }
2247  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2248    typedef const int *iptr;
2249    iptr p = 0;
2250    ++p;
2251  }
2252  { /* AIX XL C 1.02.0.0 rejects this saying
2253       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2254    struct s { int j; const int *ap[3]; };
2255    struct s *b; b->j = 5;
2256  }
2257  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2258    const int foo = 10;
2259  }
2260#endif
2261
2262  ;
2263  return 0;
2264}
2265_ACEOF
2266rm -f conftest.$ac_objext
2267if { (eval echo "$as_me:2267: \"$ac_compile\"") >&5
2268  (eval $ac_compile) 2>&5
2269  ac_status=$?
2270  echo "$as_me:2270: \$? = $ac_status" >&5
2271  (exit $ac_status); } &&
2272         { ac_try='test -s conftest.$ac_objext'
2273  { (eval echo "$as_me:2273: \"$ac_try\"") >&5
2274  (eval $ac_try) 2>&5
2275  ac_status=$?
2276  echo "$as_me:2276: \$? = $ac_status" >&5
2277  (exit $ac_status); }; }; then
2278  ac_cv_c_const=yes
2279else
2280  echo "$as_me: failed program was:" >&5
2281cat conftest.$ac_ext >&5
2282ac_cv_c_const=no
2283fi
2284rm -f conftest.$ac_objext conftest.$ac_ext
2285fi
2286echo "$as_me:2286: result: $ac_cv_c_const" >&5
2287echo "${ECHO_T}$ac_cv_c_const" >&6
2288if test $ac_cv_c_const = no; then
2289
2290cat >>confdefs.h <<\EOF
2291#define const
2292EOF
2293
2294fi
2295
2296echo "$as_me:2296: checking for inline" >&5
2297echo $ECHO_N "checking for inline... $ECHO_C" >&6
2298if test "${ac_cv_c_inline+set}" = set; then
2299  echo $ECHO_N "(cached) $ECHO_C" >&6
2300else
2301  ac_cv_c_inline=no
2302for ac_kw in inline __inline__ __inline; do
2303  cat >conftest.$ac_ext <<_ACEOF
2304#line 2304 "configure"
2305#include "confdefs.h"
2306#ifndef __cplusplus
2307static $ac_kw int static_foo () {return 0; }
2308$ac_kw int foo () {return 0; }
2309#endif
2310
2311_ACEOF
2312rm -f conftest.$ac_objext
2313if { (eval echo "$as_me:2313: \"$ac_compile\"") >&5
2314  (eval $ac_compile) 2>&5
2315  ac_status=$?
2316  echo "$as_me:2316: \$? = $ac_status" >&5
2317  (exit $ac_status); } &&
2318         { ac_try='test -s conftest.$ac_objext'
2319  { (eval echo "$as_me:2319: \"$ac_try\"") >&5
2320  (eval $ac_try) 2>&5
2321  ac_status=$?
2322  echo "$as_me:2322: \$? = $ac_status" >&5
2323  (exit $ac_status); }; }; then
2324  ac_cv_c_inline=$ac_kw; break
2325else
2326  echo "$as_me: failed program was:" >&5
2327cat conftest.$ac_ext >&5
2328fi
2329rm -f conftest.$ac_objext conftest.$ac_ext
2330done
2331
2332fi
2333echo "$as_me:2333: result: $ac_cv_c_inline" >&5
2334echo "${ECHO_T}$ac_cv_c_inline" >&6
2335case $ac_cv_c_inline in
2336  inline | yes) ;;
2337  no)
2338cat >>confdefs.h <<\EOF
2339#define inline
2340EOF
2341 ;;
2342  *)  cat >>confdefs.h <<EOF
2343#define inline $ac_cv_c_inline
2344EOF
2345 ;;
2346esac
2347
2348# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2349
2350for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2351                  inttypes.h stdint.h unistd.h
2352do
2353as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2354echo "$as_me:2354: checking for $ac_header" >&5
2355echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2356if eval "test \"\${$as_ac_Header+set}\" = set"; then
2357  echo $ECHO_N "(cached) $ECHO_C" >&6
2358else
2359  cat >conftest.$ac_ext <<_ACEOF
2360#line 2360 "configure"
2361#include "confdefs.h"
2362$ac_includes_default
2363#include <$ac_header>
2364_ACEOF
2365rm -f conftest.$ac_objext
2366if { (eval echo "$as_me:2366: \"$ac_compile\"") >&5
2367  (eval $ac_compile) 2>&5
2368  ac_status=$?
2369  echo "$as_me:2369: \$? = $ac_status" >&5
2370  (exit $ac_status); } &&
2371         { ac_try='test -s conftest.$ac_objext'
2372  { (eval echo "$as_me:2372: \"$ac_try\"") >&5
2373  (eval $ac_try) 2>&5
2374  ac_status=$?
2375  echo "$as_me:2375: \$? = $ac_status" >&5
2376  (exit $ac_status); }; }; then
2377  eval "$as_ac_Header=yes"
2378else
2379  echo "$as_me: failed program was:" >&5
2380cat conftest.$ac_ext >&5
2381eval "$as_ac_Header=no"
2382fi
2383rm -f conftest.$ac_objext conftest.$ac_ext
2384fi
2385echo "$as_me:2385: result: `eval echo '${'$as_ac_Header'}'`" >&5
2386echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2387if test `eval echo '${'$as_ac_Header'}'` = yes; then
2388  cat >>confdefs.h <<EOF
2389#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2390EOF
2391
2392fi
2393done
2394
2395echo "$as_me:2395: checking for size_t" >&5
2396echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2397if test "${ac_cv_type_size_t+set}" = set; then
2398  echo $ECHO_N "(cached) $ECHO_C" >&6
2399else
2400  cat >conftest.$ac_ext <<_ACEOF
2401#line 2401 "configure"
2402#include "confdefs.h"
2403$ac_includes_default
2404int
2405main ()
2406{
2407if ((size_t *) 0)
2408  return 0;
2409if (sizeof (size_t))
2410  return 0;
2411  ;
2412  return 0;
2413}
2414_ACEOF
2415rm -f conftest.$ac_objext
2416if { (eval echo "$as_me:2416: \"$ac_compile\"") >&5
2417  (eval $ac_compile) 2>&5
2418  ac_status=$?
2419  echo "$as_me:2419: \$? = $ac_status" >&5
2420  (exit $ac_status); } &&
2421         { ac_try='test -s conftest.$ac_objext'
2422  { (eval echo "$as_me:2422: \"$ac_try\"") >&5
2423  (eval $ac_try) 2>&5
2424  ac_status=$?
2425  echo "$as_me:2425: \$? = $ac_status" >&5
2426  (exit $ac_status); }; }; then
2427  ac_cv_type_size_t=yes
2428else
2429  echo "$as_me: failed program was:" >&5
2430cat conftest.$ac_ext >&5
2431ac_cv_type_size_t=no
2432fi
2433rm -f conftest.$ac_objext conftest.$ac_ext
2434fi
2435echo "$as_me:2435: result: $ac_cv_type_size_t" >&5
2436echo "${ECHO_T}$ac_cv_type_size_t" >&6
2437if test $ac_cv_type_size_t = yes; then
2438  :
2439else
2440
2441cat >>confdefs.h <<EOF
2442#define size_t unsigned
2443EOF
2444
2445fi
2446
2447echo "$as_me:2447: checking for off_t" >&5
2448echo $ECHO_N "checking for off_t... $ECHO_C" >&6
2449if test "${ac_cv_type_off_t+set}" = set; then
2450  echo $ECHO_N "(cached) $ECHO_C" >&6
2451else
2452  cat >conftest.$ac_ext <<_ACEOF
2453#line 2453 "configure"
2454#include "confdefs.h"
2455$ac_includes_default
2456int
2457main ()
2458{
2459if ((off_t *) 0)
2460  return 0;
2461if (sizeof (off_t))
2462  return 0;
2463  ;
2464  return 0;
2465}
2466_ACEOF
2467rm -f conftest.$ac_objext
2468if { (eval echo "$as_me:2468: \"$ac_compile\"") >&5
2469  (eval $ac_compile) 2>&5
2470  ac_status=$?
2471  echo "$as_me:2471: \$? = $ac_status" >&5
2472  (exit $ac_status); } &&
2473         { ac_try='test -s conftest.$ac_objext'
2474  { (eval echo "$as_me:2474: \"$ac_try\"") >&5
2475  (eval $ac_try) 2>&5
2476  ac_status=$?
2477  echo "$as_me:2477: \$? = $ac_status" >&5
2478  (exit $ac_status); }; }; then
2479  ac_cv_type_off_t=yes
2480else
2481  echo "$as_me: failed program was:" >&5
2482cat conftest.$ac_ext >&5
2483ac_cv_type_off_t=no
2484fi
2485rm -f conftest.$ac_objext conftest.$ac_ext
2486fi
2487echo "$as_me:2487: result: $ac_cv_type_off_t" >&5
2488echo "${ECHO_T}$ac_cv_type_off_t" >&6
2489if test $ac_cv_type_off_t = yes; then
2490  :
2491else
2492
2493cat >>confdefs.h <<EOF
2494#define off_t long
2495EOF
2496
2497fi
2498
2499echo "$as_me:2499: checking for int" >&5
2500echo $ECHO_N "checking for int... $ECHO_C" >&6
2501if test "${ac_cv_type_int+set}" = set; then
2502  echo $ECHO_N "(cached) $ECHO_C" >&6
2503else
2504  cat >conftest.$ac_ext <<_ACEOF
2505#line 2505 "configure"
2506#include "confdefs.h"
2507$ac_includes_default
2508int
2509main ()
2510{
2511if ((int *) 0)
2512  return 0;
2513if (sizeof (int))
2514  return 0;
2515  ;
2516  return 0;
2517}
2518_ACEOF
2519rm -f conftest.$ac_objext
2520if { (eval echo "$as_me:2520: \"$ac_compile\"") >&5
2521  (eval $ac_compile) 2>&5
2522  ac_status=$?
2523  echo "$as_me:2523: \$? = $ac_status" >&5
2524  (exit $ac_status); } &&
2525         { ac_try='test -s conftest.$ac_objext'
2526  { (eval echo "$as_me:2526: \"$ac_try\"") >&5
2527  (eval $ac_try) 2>&5
2528  ac_status=$?
2529  echo "$as_me:2529: \$? = $ac_status" >&5
2530  (exit $ac_status); }; }; then
2531  ac_cv_type_int=yes
2532else
2533  echo "$as_me: failed program was:" >&5
2534cat conftest.$ac_ext >&5
2535ac_cv_type_int=no
2536fi
2537rm -f conftest.$ac_objext conftest.$ac_ext
2538fi
2539echo "$as_me:2539: result: $ac_cv_type_int" >&5
2540echo "${ECHO_T}$ac_cv_type_int" >&6
2541
2542echo "$as_me:2542: checking size of int" >&5
2543echo $ECHO_N "checking size of int... $ECHO_C" >&6
2544if test "${ac_cv_sizeof_int+set}" = set; then
2545  echo $ECHO_N "(cached) $ECHO_C" >&6
2546else
2547  if test "$ac_cv_type_int" = yes; then
2548  if test "$cross_compiling" = yes; then
2549  # Depending upon the size, compute the lo and hi bounds.
2550cat >conftest.$ac_ext <<_ACEOF
2551#line 2551 "configure"
2552#include "confdefs.h"
2553$ac_includes_default
2554int
2555main ()
2556{
2557int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
2558  ;
2559  return 0;
2560}
2561_ACEOF
2562rm -f conftest.$ac_objext
2563if { (eval echo "$as_me:2563: \"$ac_compile\"") >&5
2564  (eval $ac_compile) 2>&5
2565  ac_status=$?
2566  echo "$as_me:2566: \$? = $ac_status" >&5
2567  (exit $ac_status); } &&
2568         { ac_try='test -s conftest.$ac_objext'
2569  { (eval echo "$as_me:2569: \"$ac_try\"") >&5
2570  (eval $ac_try) 2>&5
2571  ac_status=$?
2572  echo "$as_me:2572: \$? = $ac_status" >&5
2573  (exit $ac_status); }; }; then
2574  ac_lo=0 ac_mid=0
2575  while :; do
2576    cat >conftest.$ac_ext <<_ACEOF
2577#line 2577 "configure"
2578#include "confdefs.h"
2579$ac_includes_default
2580int
2581main ()
2582{
2583int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
2584  ;
2585  return 0;
2586}
2587_ACEOF
2588rm -f conftest.$ac_objext
2589if { (eval echo "$as_me:2589: \"$ac_compile\"") >&5
2590  (eval $ac_compile) 2>&5
2591  ac_status=$?
2592  echo "$as_me:2592: \$? = $ac_status" >&5
2593  (exit $ac_status); } &&
2594         { ac_try='test -s conftest.$ac_objext'
2595  { (eval echo "$as_me:2595: \"$ac_try\"") >&5
2596  (eval $ac_try) 2>&5
2597  ac_status=$?
2598  echo "$as_me:2598: \$? = $ac_status" >&5
2599  (exit $ac_status); }; }; then
2600  ac_hi=$ac_mid; break
2601else
2602  echo "$as_me: failed program was:" >&5
2603cat conftest.$ac_ext >&5
2604ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
2605fi
2606rm -f conftest.$ac_objext conftest.$ac_ext
2607  done
2608else
2609  echo "$as_me: failed program was:" >&5
2610cat conftest.$ac_ext >&5
2611ac_hi=-1 ac_mid=-1
2612  while :; do
2613    cat >conftest.$ac_ext <<_ACEOF
2614#line 2614 "configure"
2615#include "confdefs.h"
2616$ac_includes_default
2617int
2618main ()
2619{
2620int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
2621  ;
2622  return 0;
2623}
2624_ACEOF
2625rm -f conftest.$ac_objext
2626if { (eval echo "$as_me:2626: \"$ac_compile\"") >&5
2627  (eval $ac_compile) 2>&5
2628  ac_status=$?
2629  echo "$as_me:2629: \$? = $ac_status" >&5
2630  (exit $ac_status); } &&
2631         { ac_try='test -s conftest.$ac_objext'
2632  { (eval echo "$as_me:2632: \"$ac_try\"") >&5
2633  (eval $ac_try) 2>&5
2634  ac_status=$?
2635  echo "$as_me:2635: \$? = $ac_status" >&5
2636  (exit $ac_status); }; }; then
2637  ac_lo=$ac_mid; break
2638else
2639  echo "$as_me: failed program was:" >&5
2640cat conftest.$ac_ext >&5
2641ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
2642fi
2643rm -f conftest.$ac_objext conftest.$ac_ext
2644  done
2645fi
2646rm -f conftest.$ac_objext conftest.$ac_ext
2647# Binary search between lo and hi bounds.
2648while test "x$ac_lo" != "x$ac_hi"; do
2649  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2650  cat >conftest.$ac_ext <<_ACEOF
2651#line 2651 "configure"
2652#include "confdefs.h"
2653$ac_includes_default
2654int
2655main ()
2656{
2657int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
2658  ;
2659  return 0;
2660}
2661_ACEOF
2662rm -f conftest.$ac_objext
2663if { (eval echo "$as_me:2663: \"$ac_compile\"") >&5
2664  (eval $ac_compile) 2>&5
2665  ac_status=$?
2666  echo "$as_me:2666: \$? = $ac_status" >&5
2667  (exit $ac_status); } &&
2668         { ac_try='test -s conftest.$ac_objext'
2669  { (eval echo "$as_me:2669: \"$ac_try\"") >&5
2670  (eval $ac_try) 2>&5
2671  ac_status=$?
2672  echo "$as_me:2672: \$? = $ac_status" >&5
2673  (exit $ac_status); }; }; then
2674  ac_hi=$ac_mid
2675else
2676  echo "$as_me: failed program was:" >&5
2677cat conftest.$ac_ext >&5
2678ac_lo=`expr $ac_mid + 1`
2679fi
2680rm -f conftest.$ac_objext conftest.$ac_ext
2681done
2682ac_cv_sizeof_int=$ac_lo
2683else
2684  if test "$cross_compiling" = yes; then
2685  { { echo "$as_me:2685: error: cannot run test program while cross compiling" >&5
2686echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2687   { (exit 1); exit 1; }; }
2688else
2689  cat >conftest.$ac_ext <<_ACEOF
2690#line 2690 "configure"
2691#include "confdefs.h"
2692$ac_includes_default
2693int
2694main ()
2695{
2696FILE *f = fopen ("conftest.val", "w");
2697if (!f)
2698  exit (1);
2699fprintf (f, "%d", (sizeof (int)));
2700fclose (f);
2701  ;
2702  return 0;
2703}
2704_ACEOF
2705rm -f conftest$ac_exeext
2706if { (eval echo "$as_me:2706: \"$ac_link\"") >&5
2707  (eval $ac_link) 2>&5
2708  ac_status=$?
2709  echo "$as_me:2709: \$? = $ac_status" >&5
2710  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2711  { (eval echo "$as_me:2711: \"$ac_try\"") >&5
2712  (eval $ac_try) 2>&5
2713  ac_status=$?
2714  echo "$as_me:2714: \$? = $ac_status" >&5
2715  (exit $ac_status); }; }; then
2716  ac_cv_sizeof_int=`cat conftest.val`
2717else
2718  echo "$as_me: program exited with status $ac_status" >&5
2719echo "$as_me: failed program was:" >&5
2720cat conftest.$ac_ext >&5
2721fi
2722rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2723fi
2724fi
2725rm -f conftest.val
2726else
2727  ac_cv_sizeof_int=0
2728fi
2729fi
2730echo "$as_me:2730: result: $ac_cv_sizeof_int" >&5
2731echo "${ECHO_T}$ac_cv_sizeof_int" >&6
2732cat >>confdefs.h <<EOF
2733#define SIZEOF_INT $ac_cv_sizeof_int
2734EOF
2735
2736echo "$as_me:2736: checking for long" >&5
2737echo $ECHO_N "checking for long... $ECHO_C" >&6
2738if test "${ac_cv_type_long+set}" = set; then
2739  echo $ECHO_N "(cached) $ECHO_C" >&6
2740else
2741  cat >conftest.$ac_ext <<_ACEOF
2742#line 2742 "configure"
2743#include "confdefs.h"
2744$ac_includes_default
2745int
2746main ()
2747{
2748if ((long *) 0)
2749  return 0;
2750if (sizeof (long))
2751  return 0;
2752  ;
2753  return 0;
2754}
2755_ACEOF
2756rm -f conftest.$ac_objext
2757if { (eval echo "$as_me:2757: \"$ac_compile\"") >&5
2758  (eval $ac_compile) 2>&5
2759  ac_status=$?
2760  echo "$as_me:2760: \$? = $ac_status" >&5
2761  (exit $ac_status); } &&
2762         { ac_try='test -s conftest.$ac_objext'
2763  { (eval echo "$as_me:2763: \"$ac_try\"") >&5
2764  (eval $ac_try) 2>&5
2765  ac_status=$?
2766  echo "$as_me:2766: \$? = $ac_status" >&5
2767  (exit $ac_status); }; }; then
2768  ac_cv_type_long=yes
2769else
2770  echo "$as_me: failed program was:" >&5
2771cat conftest.$ac_ext >&5
2772ac_cv_type_long=no
2773fi
2774rm -f conftest.$ac_objext conftest.$ac_ext
2775fi
2776echo "$as_me:2776: result: $ac_cv_type_long" >&5
2777echo "${ECHO_T}$ac_cv_type_long" >&6
2778
2779echo "$as_me:2779: checking size of long" >&5
2780echo $ECHO_N "checking size of long... $ECHO_C" >&6
2781if test "${ac_cv_sizeof_long+set}" = set; then
2782  echo $ECHO_N "(cached) $ECHO_C" >&6
2783else
2784  if test "$ac_cv_type_long" = yes; then
2785  if test "$cross_compiling" = yes; then
2786  # Depending upon the size, compute the lo and hi bounds.
2787cat >conftest.$ac_ext <<_ACEOF
2788#line 2788 "configure"
2789#include "confdefs.h"
2790$ac_includes_default
2791int
2792main ()
2793{
2794int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
2795  ;
2796  return 0;
2797}
2798_ACEOF
2799rm -f conftest.$ac_objext
2800if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5
2801  (eval $ac_compile) 2>&5
2802  ac_status=$?
2803  echo "$as_me:2803: \$? = $ac_status" >&5
2804  (exit $ac_status); } &&
2805         { ac_try='test -s conftest.$ac_objext'
2806  { (eval echo "$as_me:2806: \"$ac_try\"") >&5
2807  (eval $ac_try) 2>&5
2808  ac_status=$?
2809  echo "$as_me:2809: \$? = $ac_status" >&5
2810  (exit $ac_status); }; }; then
2811  ac_lo=0 ac_mid=0
2812  while :; do
2813    cat >conftest.$ac_ext <<_ACEOF
2814#line 2814 "configure"
2815#include "confdefs.h"
2816$ac_includes_default
2817int
2818main ()
2819{
2820int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
2821  ;
2822  return 0;
2823}
2824_ACEOF
2825rm -f conftest.$ac_objext
2826if { (eval echo "$as_me:2826: \"$ac_compile\"") >&5
2827  (eval $ac_compile) 2>&5
2828  ac_status=$?
2829  echo "$as_me:2829: \$? = $ac_status" >&5
2830  (exit $ac_status); } &&
2831         { ac_try='test -s conftest.$ac_objext'
2832  { (eval echo "$as_me:2832: \"$ac_try\"") >&5
2833  (eval $ac_try) 2>&5
2834  ac_status=$?
2835  echo "$as_me:2835: \$? = $ac_status" >&5
2836  (exit $ac_status); }; }; then
2837  ac_hi=$ac_mid; break
2838else
2839  echo "$as_me: failed program was:" >&5
2840cat conftest.$ac_ext >&5
2841ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
2842fi
2843rm -f conftest.$ac_objext conftest.$ac_ext
2844  done
2845else
2846  echo "$as_me: failed program was:" >&5
2847cat conftest.$ac_ext >&5
2848ac_hi=-1 ac_mid=-1
2849  while :; do
2850    cat >conftest.$ac_ext <<_ACEOF
2851#line 2851 "configure"
2852#include "confdefs.h"
2853$ac_includes_default
2854int
2855main ()
2856{
2857int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
2858  ;
2859  return 0;
2860}
2861_ACEOF
2862rm -f conftest.$ac_objext
2863if { (eval echo "$as_me:2863: \"$ac_compile\"") >&5
2864  (eval $ac_compile) 2>&5
2865  ac_status=$?
2866  echo "$as_me:2866: \$? = $ac_status" >&5
2867  (exit $ac_status); } &&
2868         { ac_try='test -s conftest.$ac_objext'
2869  { (eval echo "$as_me:2869: \"$ac_try\"") >&5
2870  (eval $ac_try) 2>&5
2871  ac_status=$?
2872  echo "$as_me:2872: \$? = $ac_status" >&5
2873  (exit $ac_status); }; }; then
2874  ac_lo=$ac_mid; break
2875else
2876  echo "$as_me: failed program was:" >&5
2877cat conftest.$ac_ext >&5
2878ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
2879fi
2880rm -f conftest.$ac_objext conftest.$ac_ext
2881  done
2882fi
2883rm -f conftest.$ac_objext conftest.$ac_ext
2884# Binary search between lo and hi bounds.
2885while test "x$ac_lo" != "x$ac_hi"; do
2886  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2887  cat >conftest.$ac_ext <<_ACEOF
2888#line 2888 "configure"
2889#include "confdefs.h"
2890$ac_includes_default
2891int
2892main ()
2893{
2894int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
2895  ;
2896  return 0;
2897}
2898_ACEOF
2899rm -f conftest.$ac_objext
2900if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5
2901  (eval $ac_compile) 2>&5
2902  ac_status=$?
2903  echo "$as_me:2903: \$? = $ac_status" >&5
2904  (exit $ac_status); } &&
2905         { ac_try='test -s conftest.$ac_objext'
2906  { (eval echo "$as_me:2906: \"$ac_try\"") >&5
2907  (eval $ac_try) 2>&5
2908  ac_status=$?
2909  echo "$as_me:2909: \$? = $ac_status" >&5
2910  (exit $ac_status); }; }; then
2911  ac_hi=$ac_mid
2912else
2913  echo "$as_me: failed program was:" >&5
2914cat conftest.$ac_ext >&5
2915ac_lo=`expr $ac_mid + 1`
2916fi
2917rm -f conftest.$ac_objext conftest.$ac_ext
2918done
2919ac_cv_sizeof_long=$ac_lo
2920else
2921  if test "$cross_compiling" = yes; then
2922  { { echo "$as_me:2922: error: cannot run test program while cross compiling" >&5
2923echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2924   { (exit 1); exit 1; }; }
2925else
2926  cat >conftest.$ac_ext <<_ACEOF
2927#line 2927 "configure"
2928#include "confdefs.h"
2929$ac_includes_default
2930int
2931main ()
2932{
2933FILE *f = fopen ("conftest.val", "w");
2934if (!f)
2935  exit (1);
2936fprintf (f, "%d", (sizeof (long)));
2937fclose (f);
2938  ;
2939  return 0;
2940}
2941_ACEOF
2942rm -f conftest$ac_exeext
2943if { (eval echo "$as_me:2943: \"$ac_link\"") >&5
2944  (eval $ac_link) 2>&5
2945  ac_status=$?
2946  echo "$as_me:2946: \$? = $ac_status" >&5
2947  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2948  { (eval echo "$as_me:2948: \"$ac_try\"") >&5
2949  (eval $ac_try) 2>&5
2950  ac_status=$?
2951  echo "$as_me:2951: \$? = $ac_status" >&5
2952  (exit $ac_status); }; }; then
2953  ac_cv_sizeof_long=`cat conftest.val`
2954else
2955  echo "$as_me: program exited with status $ac_status" >&5
2956echo "$as_me: failed program was:" >&5
2957cat conftest.$ac_ext >&5
2958fi
2959rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2960fi
2961fi
2962rm -f conftest.val
2963else
2964  ac_cv_sizeof_long=0
2965fi
2966fi
2967echo "$as_me:2967: result: $ac_cv_sizeof_long" >&5
2968echo "${ECHO_T}$ac_cv_sizeof_long" >&6
2969cat >>confdefs.h <<EOF
2970#define SIZEOF_LONG $ac_cv_sizeof_long
2971EOF
2972
2973echo "$as_me:2973: checking for u_char" >&5
2974echo $ECHO_N "checking for u_char... $ECHO_C" >&6
2975if test "${ac_cv_type_u_char+set}" = set; then
2976  echo $ECHO_N "(cached) $ECHO_C" >&6
2977else
2978  cat >conftest.$ac_ext <<_ACEOF
2979#line 2979 "configure"
2980#include "confdefs.h"
2981$ac_includes_default
2982int
2983main ()
2984{
2985if ((u_char *) 0)
2986  return 0;
2987if (sizeof (u_char))
2988  return 0;
2989  ;
2990  return 0;
2991}
2992_ACEOF
2993rm -f conftest.$ac_objext
2994if { (eval echo "$as_me:2994: \"$ac_compile\"") >&5
2995  (eval $ac_compile) 2>&5
2996  ac_status=$?
2997  echo "$as_me:2997: \$? = $ac_status" >&5
2998  (exit $ac_status); } &&
2999         { ac_try='test -s conftest.$ac_objext'
3000  { (eval echo "$as_me:3000: \"$ac_try\"") >&5
3001  (eval $ac_try) 2>&5
3002  ac_status=$?
3003  echo "$as_me:3003: \$? = $ac_status" >&5
3004  (exit $ac_status); }; }; then
3005  ac_cv_type_u_char=yes
3006else
3007  echo "$as_me: failed program was:" >&5
3008cat conftest.$ac_ext >&5
3009ac_cv_type_u_char=no
3010fi
3011rm -f conftest.$ac_objext conftest.$ac_ext
3012fi
3013echo "$as_me:3013: result: $ac_cv_type_u_char" >&5
3014echo "${ECHO_T}$ac_cv_type_u_char" >&6
3015if test $ac_cv_type_u_char = yes; then
3016
3017cat >>confdefs.h <<EOF
3018#define HAVE_U_CHAR 1
3019EOF
3020
3021fi
3022
3023echo "$as_me:3023: checking for u_int32_t" >&5
3024echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3025if test "${ac_cv_type_u_int32_t+set}" = set; then
3026  echo $ECHO_N "(cached) $ECHO_C" >&6
3027else
3028  cat >conftest.$ac_ext <<_ACEOF
3029#line 3029 "configure"
3030#include "confdefs.h"
3031$ac_includes_default
3032int
3033main ()
3034{
3035if ((u_int32_t *) 0)
3036  return 0;
3037if (sizeof (u_int32_t))
3038  return 0;
3039  ;
3040  return 0;
3041}
3042_ACEOF
3043rm -f conftest.$ac_objext
3044if { (eval echo "$as_me:3044: \"$ac_compile\"") >&5
3045  (eval $ac_compile) 2>&5
3046  ac_status=$?
3047  echo "$as_me:3047: \$? = $ac_status" >&5
3048  (exit $ac_status); } &&
3049         { ac_try='test -s conftest.$ac_objext'
3050  { (eval echo "$as_me:3050: \"$ac_try\"") >&5
3051  (eval $ac_try) 2>&5
3052  ac_status=$?
3053  echo "$as_me:3053: \$? = $ac_status" >&5
3054  (exit $ac_status); }; }; then
3055  ac_cv_type_u_int32_t=yes
3056else
3057  echo "$as_me: failed program was:" >&5
3058cat conftest.$ac_ext >&5
3059ac_cv_type_u_int32_t=no
3060fi
3061rm -f conftest.$ac_objext conftest.$ac_ext
3062fi
3063echo "$as_me:3063: result: $ac_cv_type_u_int32_t" >&5
3064echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3065if test $ac_cv_type_u_int32_t = yes; then
3066
3067cat >>confdefs.h <<EOF
3068#define HAVE_U_INT32_T 1
3069EOF
3070
3071fi
3072
3073# Checks for library functions. @@@ these should have workarounds
3074echo "$as_me:3074: checking for working memcmp" >&5
3075echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
3076if test "${ac_cv_func_memcmp_working+set}" = set; then
3077  echo $ECHO_N "(cached) $ECHO_C" >&6
3078else
3079  if test "$cross_compiling" = yes; then
3080  ac_cv_func_memcmp_working=no
3081else
3082  cat >conftest.$ac_ext <<_ACEOF
3083#line 3083 "configure"
3084#include "confdefs.h"
3085
3086int
3087main ()
3088{
3089
3090  /* Some versions of memcmp are not 8-bit clean.  */
3091  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
3092  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
3093    exit (1);
3094
3095  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
3096     or more and with at least one buffer not starting on a 4-byte boundary.
3097     William Lewis provided this test program.   */
3098  {
3099    char foo[21];
3100    char bar[21];
3101    int i;
3102    for (i = 0; i < 4; i++)
3103      {
3104        char *a = foo + i;
3105        char *b = bar + i;
3106        strcpy (a, "--------01111111");
3107        strcpy (b, "--------10000000");
3108        if (memcmp (a, b, 16) >= 0)
3109          exit (1);
3110      }
3111    exit (0);
3112  }
3113
3114  ;
3115  return 0;
3116}
3117_ACEOF
3118rm -f conftest$ac_exeext
3119if { (eval echo "$as_me:3119: \"$ac_link\"") >&5
3120  (eval $ac_link) 2>&5
3121  ac_status=$?
3122  echo "$as_me:3122: \$? = $ac_status" >&5
3123  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3124  { (eval echo "$as_me:3124: \"$ac_try\"") >&5
3125  (eval $ac_try) 2>&5
3126  ac_status=$?
3127  echo "$as_me:3127: \$? = $ac_status" >&5
3128  (exit $ac_status); }; }; then
3129  ac_cv_func_memcmp_working=yes
3130else
3131  echo "$as_me: program exited with status $ac_status" >&5
3132echo "$as_me: failed program was:" >&5
3133cat conftest.$ac_ext >&5
3134ac_cv_func_memcmp_working=no
3135fi
3136rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3137fi
3138fi
3139echo "$as_me:3139: result: $ac_cv_func_memcmp_working" >&5
3140echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
3141test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
3142
3143if test $ac_cv_func_memcmp_working = no; then
3144	{ { echo "$as_me:3144: error: can't find working memcmp" >&5
3145echo "$as_me: error: can't find working memcmp" >&2;}
3146   { (exit 1); exit 1; }; }
3147fi
3148
3149for ac_func in vprintf
3150do
3151as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3152echo "$as_me:3152: checking for $ac_func" >&5
3153echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3154if eval "test \"\${$as_ac_var+set}\" = set"; then
3155  echo $ECHO_N "(cached) $ECHO_C" >&6
3156else
3157  cat >conftest.$ac_ext <<_ACEOF
3158#line 3158 "configure"
3159#include "confdefs.h"
3160/* System header to define __stub macros and hopefully few prototypes,
3161    which can conflict with char $ac_func (); below.  */
3162#include <assert.h>
3163/* Override any gcc2 internal prototype to avoid an error.  */
3164#ifdef __cplusplus
3165extern "C"
3166#endif
3167/* We use char because int might match the return type of a gcc2
3168   builtin and then its argument prototype would still apply.  */
3169char $ac_func ();
3170char (*f) ();
3171
3172int
3173main ()
3174{
3175/* The GNU C library defines this for functions which it implements
3176    to always fail with ENOSYS.  Some functions are actually named
3177    something starting with __ and the normal name is an alias.  */
3178#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3179choke me
3180#else
3181f = $ac_func;
3182#endif
3183
3184  ;
3185  return 0;
3186}
3187_ACEOF
3188rm -f conftest.$ac_objext conftest$ac_exeext
3189if { (eval echo "$as_me:3189: \"$ac_link\"") >&5
3190  (eval $ac_link) 2>&5
3191  ac_status=$?
3192  echo "$as_me:3192: \$? = $ac_status" >&5
3193  (exit $ac_status); } &&
3194         { ac_try='test -s conftest$ac_exeext'
3195  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
3196  (eval $ac_try) 2>&5
3197  ac_status=$?
3198  echo "$as_me:3198: \$? = $ac_status" >&5
3199  (exit $ac_status); }; }; then
3200  eval "$as_ac_var=yes"
3201else
3202  echo "$as_me: failed program was:" >&5
3203cat conftest.$ac_ext >&5
3204eval "$as_ac_var=no"
3205fi
3206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3207fi
3208echo "$as_me:3208: result: `eval echo '${'$as_ac_var'}'`" >&5
3209echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3210if test `eval echo '${'$as_ac_var'}'` = yes; then
3211  cat >>confdefs.h <<EOF
3212#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3213EOF
3214
3215echo "$as_me:3215: checking for _doprnt" >&5
3216echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
3217if test "${ac_cv_func__doprnt+set}" = set; then
3218  echo $ECHO_N "(cached) $ECHO_C" >&6
3219else
3220  cat >conftest.$ac_ext <<_ACEOF
3221#line 3221 "configure"
3222#include "confdefs.h"
3223/* System header to define __stub macros and hopefully few prototypes,
3224    which can conflict with char _doprnt (); below.  */
3225#include <assert.h>
3226/* Override any gcc2 internal prototype to avoid an error.  */
3227#ifdef __cplusplus
3228extern "C"
3229#endif
3230/* We use char because int might match the return type of a gcc2
3231   builtin and then its argument prototype would still apply.  */
3232char _doprnt ();
3233char (*f) ();
3234
3235int
3236main ()
3237{
3238/* The GNU C library defines this for functions which it implements
3239    to always fail with ENOSYS.  Some functions are actually named
3240    something starting with __ and the normal name is an alias.  */
3241#if defined (__stub__doprnt) || defined (__stub____doprnt)
3242choke me
3243#else
3244f = _doprnt;
3245#endif
3246
3247  ;
3248  return 0;
3249}
3250_ACEOF
3251rm -f conftest.$ac_objext conftest$ac_exeext
3252if { (eval echo "$as_me:3252: \"$ac_link\"") >&5
3253  (eval $ac_link) 2>&5
3254  ac_status=$?
3255  echo "$as_me:3255: \$? = $ac_status" >&5
3256  (exit $ac_status); } &&
3257         { ac_try='test -s conftest$ac_exeext'
3258  { (eval echo "$as_me:3258: \"$ac_try\"") >&5
3259  (eval $ac_try) 2>&5
3260  ac_status=$?
3261  echo "$as_me:3261: \$? = $ac_status" >&5
3262  (exit $ac_status); }; }; then
3263  ac_cv_func__doprnt=yes
3264else
3265  echo "$as_me: failed program was:" >&5
3266cat conftest.$ac_ext >&5
3267ac_cv_func__doprnt=no
3268fi
3269rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3270fi
3271echo "$as_me:3271: result: $ac_cv_func__doprnt" >&5
3272echo "${ECHO_T}$ac_cv_func__doprnt" >&6
3273if test $ac_cv_func__doprnt = yes; then
3274
3275cat >>confdefs.h <<\EOF
3276#define HAVE_DOPRNT 1
3277EOF
3278
3279fi
3280
3281fi
3282done
3283
3284for ac_func in bzero gettimeofday memset
3285do
3286as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3287echo "$as_me:3287: checking for $ac_func" >&5
3288echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3289if eval "test \"\${$as_ac_var+set}\" = set"; then
3290  echo $ECHO_N "(cached) $ECHO_C" >&6
3291else
3292  cat >conftest.$ac_ext <<_ACEOF
3293#line 3293 "configure"
3294#include "confdefs.h"
3295/* System header to define __stub macros and hopefully few prototypes,
3296    which can conflict with char $ac_func (); below.  */
3297#include <assert.h>
3298/* Override any gcc2 internal prototype to avoid an error.  */
3299#ifdef __cplusplus
3300extern "C"
3301#endif
3302/* We use char because int might match the return type of a gcc2
3303   builtin and then its argument prototype would still apply.  */
3304char $ac_func ();
3305char (*f) ();
3306
3307int
3308main ()
3309{
3310/* The GNU C library defines this for functions which it implements
3311    to always fail with ENOSYS.  Some functions are actually named
3312    something starting with __ and the normal name is an alias.  */
3313#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3314choke me
3315#else
3316f = $ac_func;
3317#endif
3318
3319  ;
3320  return 0;
3321}
3322_ACEOF
3323rm -f conftest.$ac_objext conftest$ac_exeext
3324if { (eval echo "$as_me:3324: \"$ac_link\"") >&5
3325  (eval $ac_link) 2>&5
3326  ac_status=$?
3327  echo "$as_me:3327: \$? = $ac_status" >&5
3328  (exit $ac_status); } &&
3329         { ac_try='test -s conftest$ac_exeext'
3330  { (eval echo "$as_me:3330: \"$ac_try\"") >&5
3331  (eval $ac_try) 2>&5
3332  ac_status=$?
3333  echo "$as_me:3333: \$? = $ac_status" >&5
3334  (exit $ac_status); }; }; then
3335  eval "$as_ac_var=yes"
3336else
3337  echo "$as_me: failed program was:" >&5
3338cat conftest.$ac_ext >&5
3339eval "$as_ac_var=no"
3340fi
3341rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3342fi
3343echo "$as_me:3343: result: `eval echo '${'$as_ac_var'}'`" >&5
3344echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3345if test `eval echo '${'$as_ac_var'}'` = yes; then
3346  cat >>confdefs.h <<EOF
3347#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3348EOF
3349
3350fi
3351done
3352
3353ac_config_files="$ac_config_files Makefile version.h"
3354
3355cat >confcache <<\_ACEOF
3356# This file is a shell script that caches the results of configure
3357# tests run on this system so they can be shared between configure
3358# scripts and configure runs, see configure's option --config-cache.
3359# It is not useful on other systems.  If it contains results you don't
3360# want to keep, you may remove or edit it.
3361#
3362# config.status only pays attention to the cache file if you give it
3363# the --recheck option to rerun configure.
3364#
3365# `ac_cv_env_foo' variables (set or unset) will be overriden when
3366# loading this file, other *unset* `ac_cv_foo' will be assigned the
3367# following values.
3368
3369_ACEOF
3370
3371# The following way of writing the cache mishandles newlines in values,
3372# but we know of no workaround that is simple, portable, and efficient.
3373# So, don't put newlines in cache variables' values.
3374# Ultrix sh set writes to stderr and can't be redirected directly,
3375# and sets the high bit in the cache file unless we assign to the vars.
3376{
3377  (set) 2>&1 |
3378    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3379    *ac_space=\ *)
3380      # `set' does not quote correctly, so add quotes (double-quote
3381      # substitution turns \\\\ into \\, and sed turns \\ into \).
3382      sed -n \
3383        "s/'/'\\\\''/g;
3384    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3385      ;;
3386    *)
3387      # `set' quotes correctly as required by POSIX, so do not add quotes.
3388      sed -n \
3389        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3390      ;;
3391    esac;
3392} |
3393  sed '
3394     t clear
3395     : clear
3396     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3397     t end
3398     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3399     : end' >>confcache
3400if cmp -s $cache_file confcache; then :; else
3401  if test -w $cache_file; then
3402    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3403    cat confcache >$cache_file
3404  else
3405    echo "not updating unwritable cache $cache_file"
3406  fi
3407fi
3408rm -f confcache
3409
3410test "x$prefix" = xNONE && prefix=$ac_default_prefix
3411# Let make expand exec_prefix.
3412test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3413
3414# VPATH may cause trouble with some makes, so we remove $(srcdir),
3415# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3416# trailing colons and then remove the whole line if VPATH becomes empty
3417# (actually we leave an empty line to preserve line numbers).
3418if test "x$srcdir" = x.; then
3419  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
3420s/:*\$(srcdir):*/:/;
3421s/:*\${srcdir}:*/:/;
3422s/:*@srcdir@:*/:/;
3423s/^\([^=]*=[ 	]*\):*/\1/;
3424s/:*$//;
3425s/^[^=]*=[ 	]*$//;
3426}'
3427fi
3428
3429DEFS=-DHAVE_CONFIG_H
3430
3431: ${CONFIG_STATUS=./config.status}
3432ac_clean_files_save=$ac_clean_files
3433ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3434{ echo "$as_me:3434: creating $CONFIG_STATUS" >&5
3435echo "$as_me: creating $CONFIG_STATUS" >&6;}
3436cat >$CONFIG_STATUS <<_ACEOF
3437#! $SHELL
3438# Generated automatically by configure.
3439# Run this file to recreate the current configuration.
3440# Compiler output produced by configure, useful for debugging
3441# configure, is in config.log if it exists.
3442
3443debug=false
3444SHELL=\${CONFIG_SHELL-$SHELL}
3445ac_cs_invocation="\$0 \$@"
3446
3447_ACEOF
3448
3449cat >>$CONFIG_STATUS <<\_ACEOF
3450# Be Bourne compatible
3451if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3452  emulate sh
3453  NULLCMD=:
3454elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3455  set -o posix
3456fi
3457
3458# Name of the executable.
3459as_me=`echo "$0" |sed 's,.*[\\/],,'`
3460
3461if expr a : '\(a\)' >/dev/null 2>&1; then
3462  as_expr=expr
3463else
3464  as_expr=false
3465fi
3466
3467rm -f conf$$ conf$$.exe conf$$.file
3468echo >conf$$.file
3469if ln -s conf$$.file conf$$ 2>/dev/null; then
3470  # We could just check for DJGPP; but this test a) works b) is more generic
3471  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3472  if test -f conf$$.exe; then
3473    # Don't use ln at all; we don't have any links
3474    as_ln_s='cp -p'
3475  else
3476    as_ln_s='ln -s'
3477  fi
3478elif ln conf$$.file conf$$ 2>/dev/null; then
3479  as_ln_s=ln
3480else
3481  as_ln_s='cp -p'
3482fi
3483rm -f conf$$ conf$$.exe conf$$.file
3484
3485as_executable_p="test -f"
3486
3487# Support unset when possible.
3488if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3489  as_unset=unset
3490else
3491  as_unset=false
3492fi
3493
3494# NLS nuisances.
3495$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3496$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3497$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3498$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3499$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3500$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3501$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3502$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3503
3504# IFS
3505# We need space, tab and new line, in precisely that order.
3506as_nl='
3507'
3508IFS=" 	$as_nl"
3509
3510# CDPATH.
3511$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3512
3513exec 6>&1
3514
3515_ACEOF
3516
3517# Files that config.status was made for.
3518if test -n "$ac_config_files"; then
3519  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3520fi
3521
3522if test -n "$ac_config_headers"; then
3523  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3524fi
3525
3526if test -n "$ac_config_links"; then
3527  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3528fi
3529
3530if test -n "$ac_config_commands"; then
3531  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3532fi
3533
3534cat >>$CONFIG_STATUS <<\EOF
3535
3536ac_cs_usage="\
3537\`$as_me' instantiates files from templates according to the
3538current configuration.
3539
3540Usage: $0 [OPTIONS] [FILE]...
3541
3542  -h, --help       print this help, then exit
3543  -V, --version    print version number, then exit
3544  -d, --debug      don't remove temporary files
3545      --recheck    update $as_me by reconfiguring in the same conditions
3546  --file=FILE[:TEMPLATE]
3547                   instantiate the configuration file FILE
3548  --header=FILE[:TEMPLATE]
3549                   instantiate the configuration header FILE
3550
3551Configuration files:
3552$config_files
3553
3554Configuration headers:
3555$config_headers
3556
3557Report bugs to <bug-autoconf@gnu.org>."
3558EOF
3559
3560cat >>$CONFIG_STATUS <<EOF
3561ac_cs_version="\\
3562vdmfec config.status 1.0
3563configured by $0, generated by GNU Autoconf 2.52,
3564  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3565
3566Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3567Free Software Foundation, Inc.
3568This config.status script is free software; the Free Software Foundation
3569gives unlimited permission to copy, distribute and modify it."
3570srcdir=$srcdir
3571EOF
3572
3573cat >>$CONFIG_STATUS <<\EOF
3574# If no file are specified by the user, then we need to provide default
3575# value.  By we need to know if files were specified by the user.
3576ac_need_defaults=:
3577while test $# != 0
3578do
3579  case $1 in
3580  --*=*)
3581    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3582    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3583    shift
3584    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3585    shift
3586    ;;
3587  -*);;
3588  *) # This is not an option, so the user has probably given explicit
3589     # arguments.
3590     ac_need_defaults=false;;
3591  esac
3592
3593  case $1 in
3594  # Handling of the options.
3595EOF
3596cat >>$CONFIG_STATUS <<EOF
3597  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3598    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3599    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3600EOF
3601cat >>$CONFIG_STATUS <<\EOF
3602  --version | --vers* | -V )
3603    echo "$ac_cs_version"; exit 0 ;;
3604  --he | --h)
3605    # Conflict between --help and --header
3606    { { echo "$as_me:3606: error: ambiguous option: $1
3607Try \`$0 --help' for more information." >&5
3608echo "$as_me: error: ambiguous option: $1
3609Try \`$0 --help' for more information." >&2;}
3610   { (exit 1); exit 1; }; };;
3611  --help | --hel | -h )
3612    echo "$ac_cs_usage"; exit 0 ;;
3613  --debug | --d* | -d )
3614    debug=: ;;
3615  --file | --fil | --fi | --f )
3616    shift
3617    CONFIG_FILES="$CONFIG_FILES $1"
3618    ac_need_defaults=false;;
3619  --header | --heade | --head | --hea )
3620    shift
3621    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3622    ac_need_defaults=false;;
3623
3624  # This is an error.
3625  -*) { { echo "$as_me:3625: error: unrecognized option: $1
3626Try \`$0 --help' for more information." >&5
3627echo "$as_me: error: unrecognized option: $1
3628Try \`$0 --help' for more information." >&2;}
3629   { (exit 1); exit 1; }; } ;;
3630
3631  *) ac_config_targets="$ac_config_targets $1" ;;
3632
3633  esac
3634  shift
3635done
3636
3637exec 5>>config.log
3638cat >&5 << _ACEOF
3639
3640## ----------------------- ##
3641## Running config.status.  ##
3642## ----------------------- ##
3643
3644This file was extended by $as_me (vdmfec 1.0) 2.52, executed with
3645  CONFIG_FILES    = $CONFIG_FILES
3646  CONFIG_HEADERS  = $CONFIG_HEADERS
3647  CONFIG_LINKS    = $CONFIG_LINKS
3648  CONFIG_COMMANDS = $CONFIG_COMMANDS
3649  > $ac_cs_invocation
3650on `(hostname || uname -n) 2>/dev/null | sed 1q`
3651
3652_ACEOF
3653EOF
3654
3655cat >>$CONFIG_STATUS <<\EOF
3656for ac_config_target in $ac_config_targets
3657do
3658  case "$ac_config_target" in
3659  # Handling of arguments.
3660  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3661  "version.h" ) CONFIG_FILES="$CONFIG_FILES version.h" ;;
3662  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3663  *) { { echo "$as_me:3663: error: invalid argument: $ac_config_target" >&5
3664echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3665   { (exit 1); exit 1; }; };;
3666  esac
3667done
3668
3669# If the user did not use the arguments to specify the items to instantiate,
3670# then the envvar interface is used.  Set only those that are not.
3671# We use the long form for the default assignment because of an extremely
3672# bizarre bug on SunOS 4.1.3.
3673if $ac_need_defaults; then
3674  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3675  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3676fi
3677
3678# Create a temporary directory, and hook for its removal unless debugging.
3679$debug ||
3680{
3681  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3682  trap '{ (exit 1); exit 1; }' 1 2 13 15
3683}
3684
3685# Create a (secure) tmp directory for tmp files.
3686: ${TMPDIR=/tmp}
3687{
3688  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3689  test -n "$tmp" && test -d "$tmp"
3690}  ||
3691{
3692  tmp=$TMPDIR/cs$$-$RANDOM
3693  (umask 077 && mkdir $tmp)
3694} ||
3695{
3696   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3697   { (exit 1); exit 1; }
3698}
3699
3700EOF
3701
3702cat >>$CONFIG_STATUS <<EOF
3703
3704#
3705# CONFIG_FILES section.
3706#
3707
3708# No need to generate the scripts if there are no CONFIG_FILES.
3709# This happens for instance when ./config.status config.h
3710if test -n "\$CONFIG_FILES"; then
3711  # Protect against being on the right side of a sed subst in config.status.
3712  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3713   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3714s,@SHELL@,$SHELL,;t t
3715s,@exec_prefix@,$exec_prefix,;t t
3716s,@prefix@,$prefix,;t t
3717s,@program_transform_name@,$program_transform_name,;t t
3718s,@bindir@,$bindir,;t t
3719s,@sbindir@,$sbindir,;t t
3720s,@libexecdir@,$libexecdir,;t t
3721s,@datadir@,$datadir,;t t
3722s,@sysconfdir@,$sysconfdir,;t t
3723s,@sharedstatedir@,$sharedstatedir,;t t
3724s,@localstatedir@,$localstatedir,;t t
3725s,@libdir@,$libdir,;t t
3726s,@includedir@,$includedir,;t t
3727s,@oldincludedir@,$oldincludedir,;t t
3728s,@infodir@,$infodir,;t t
3729s,@mandir@,$mandir,;t t
3730s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3731s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3732s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3733s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3734s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3735s,@build_alias@,$build_alias,;t t
3736s,@host_alias@,$host_alias,;t t
3737s,@target_alias@,$target_alias,;t t
3738s,@ECHO_C@,$ECHO_C,;t t
3739s,@ECHO_N@,$ECHO_N,;t t
3740s,@ECHO_T@,$ECHO_T,;t t
3741s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3742s,@DEFS@,$DEFS,;t t
3743s,@LIBS@,$LIBS,;t t
3744s,@CC@,$CC,;t t
3745s,@CFLAGS@,$CFLAGS,;t t
3746s,@LDFLAGS@,$LDFLAGS,;t t
3747s,@CPPFLAGS@,$CPPFLAGS,;t t
3748s,@ac_ct_CC@,$ac_ct_CC,;t t
3749s,@EXEEXT@,$EXEEXT,;t t
3750s,@OBJEXT@,$OBJEXT,;t t
3751s,@CPP@,$CPP,;t t
3752s,@LIBOBJS@,$LIBOBJS,;t t
3753CEOF
3754
3755EOF
3756
3757  cat >>$CONFIG_STATUS <<\EOF
3758  # Split the substitutions into bite-sized pieces for seds with
3759  # small command number limits, like on Digital OSF/1 and HP-UX.
3760  ac_max_sed_lines=48
3761  ac_sed_frag=1 # Number of current file.
3762  ac_beg=1 # First line for current file.
3763  ac_end=$ac_max_sed_lines # Line after last line for current file.
3764  ac_more_lines=:
3765  ac_sed_cmds=
3766  while $ac_more_lines; do
3767    if test $ac_beg -gt 1; then
3768      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3769    else
3770      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3771    fi
3772    if test ! -s $tmp/subs.frag; then
3773      ac_more_lines=false
3774    else
3775      # The purpose of the label and of the branching condition is to
3776      # speed up the sed processing (if there are no `@' at all, there
3777      # is no need to browse any of the substitutions).
3778      # These are the two extra sed commands mentioned above.
3779      (echo ':t
3780  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3781      if test -z "$ac_sed_cmds"; then
3782  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3783      else
3784  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3785      fi
3786      ac_sed_frag=`expr $ac_sed_frag + 1`
3787      ac_beg=$ac_end
3788      ac_end=`expr $ac_end + $ac_max_sed_lines`
3789    fi
3790  done
3791  if test -z "$ac_sed_cmds"; then
3792    ac_sed_cmds=cat
3793  fi
3794fi # test -n "$CONFIG_FILES"
3795
3796EOF
3797cat >>$CONFIG_STATUS <<\EOF
3798for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3799  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3800  case $ac_file in
3801  - | *:- | *:-:* ) # input from stdin
3802        cat >$tmp/stdin
3803        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3804        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3805  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3806        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3807  * )   ac_file_in=$ac_file.in ;;
3808  esac
3809
3810  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3811  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3812         X"$ac_file" : 'X\(//\)[^/]' \| \
3813         X"$ac_file" : 'X\(//\)$' \| \
3814         X"$ac_file" : 'X\(/\)' \| \
3815         .     : '\(.\)' 2>/dev/null ||
3816echo X"$ac_file" |
3817    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3818  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3819  	  /^X\(\/\/\)$/{ s//\1/; q; }
3820  	  /^X\(\/\).*/{ s//\1/; q; }
3821  	  s/.*/./; q'`
3822  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3823    { case "$ac_dir" in
3824  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3825  *)                      as_incr_dir=.;;
3826esac
3827as_dummy="$ac_dir"
3828for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3829  case $as_mkdir_dir in
3830    # Skip DOS drivespec
3831    ?:) as_incr_dir=$as_mkdir_dir ;;
3832    *)
3833      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3834      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3835    ;;
3836  esac
3837done; }
3838
3839    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3840    # A "../" for each directory in $ac_dir_suffix.
3841    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3842  else
3843    ac_dir_suffix= ac_dots=
3844  fi
3845
3846  case $srcdir in
3847  .)  ac_srcdir=.
3848      if test -z "$ac_dots"; then
3849         ac_top_srcdir=.
3850      else
3851         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3852      fi ;;
3853  [\\/]* | ?:[\\/]* )
3854      ac_srcdir=$srcdir$ac_dir_suffix;
3855      ac_top_srcdir=$srcdir ;;
3856  *) # Relative path.
3857    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3858    ac_top_srcdir=$ac_dots$srcdir ;;
3859  esac
3860
3861  if test x"$ac_file" != x-; then
3862    { echo "$as_me:3862: creating $ac_file" >&5
3863echo "$as_me: creating $ac_file" >&6;}
3864    rm -f "$ac_file"
3865  fi
3866  # Let's still pretend it is `configure' which instantiates (i.e., don't
3867  # use $as_me), people would be surprised to read:
3868  #    /* config.h.  Generated automatically by config.status.  */
3869  configure_input="Generated automatically from `echo $ac_file_in |
3870                                                 sed 's,.*/,,'` by configure."
3871
3872  # First look for the input files in the build tree, otherwise in the
3873  # src tree.
3874  ac_file_inputs=`IFS=:
3875    for f in $ac_file_in; do
3876      case $f in
3877      -) echo $tmp/stdin ;;
3878      [\\/$]*)
3879         # Absolute (can't be DOS-style, as IFS=:)
3880         test -f "$f" || { { echo "$as_me:3880: error: cannot find input file: $f" >&5
3881echo "$as_me: error: cannot find input file: $f" >&2;}
3882   { (exit 1); exit 1; }; }
3883         echo $f;;
3884      *) # Relative
3885         if test -f "$f"; then
3886           # Build tree
3887           echo $f
3888         elif test -f "$srcdir/$f"; then
3889           # Source tree
3890           echo $srcdir/$f
3891         else
3892           # /dev/null tree
3893           { { echo "$as_me:3893: error: cannot find input file: $f" >&5
3894echo "$as_me: error: cannot find input file: $f" >&2;}
3895   { (exit 1); exit 1; }; }
3896         fi;;
3897      esac
3898    done` || { (exit 1); exit 1; }
3899EOF
3900cat >>$CONFIG_STATUS <<EOF
3901  sed "$ac_vpsub
3902$extrasub
3903EOF
3904cat >>$CONFIG_STATUS <<\EOF
3905:t
3906/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3907s,@configure_input@,$configure_input,;t t
3908s,@srcdir@,$ac_srcdir,;t t
3909s,@top_srcdir@,$ac_top_srcdir,;t t
3910" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3911  rm -f $tmp/stdin
3912  if test x"$ac_file" != x-; then
3913    mv $tmp/out $ac_file
3914  else
3915    cat $tmp/out
3916    rm -f $tmp/out
3917  fi
3918
3919done
3920EOF
3921cat >>$CONFIG_STATUS <<\EOF
3922
3923#
3924# CONFIG_HEADER section.
3925#
3926
3927# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3928# NAME is the cpp macro being defined and VALUE is the value it is being given.
3929#
3930# ac_d sets the value in "#define NAME VALUE" lines.
3931ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
3932ac_dB='[ 	].*$,\1#\2'
3933ac_dC=' '
3934ac_dD=',;t'
3935# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3936ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
3937ac_uB='$,\1#\2define\3'
3938ac_uC=' '
3939ac_uD=',;t'
3940
3941for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3942  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3943  case $ac_file in
3944  - | *:- | *:-:* ) # input from stdin
3945        cat >$tmp/stdin
3946        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3947        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3948  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3949        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3950  * )   ac_file_in=$ac_file.in ;;
3951  esac
3952
3953  test x"$ac_file" != x- && { echo "$as_me:3953: creating $ac_file" >&5
3954echo "$as_me: creating $ac_file" >&6;}
3955
3956  # First look for the input files in the build tree, otherwise in the
3957  # src tree.
3958  ac_file_inputs=`IFS=:
3959    for f in $ac_file_in; do
3960      case $f in
3961      -) echo $tmp/stdin ;;
3962      [\\/$]*)
3963         # Absolute (can't be DOS-style, as IFS=:)
3964         test -f "$f" || { { echo "$as_me:3964: error: cannot find input file: $f" >&5
3965echo "$as_me: error: cannot find input file: $f" >&2;}
3966   { (exit 1); exit 1; }; }
3967         echo $f;;
3968      *) # Relative
3969         if test -f "$f"; then
3970           # Build tree
3971           echo $f
3972         elif test -f "$srcdir/$f"; then
3973           # Source tree
3974           echo $srcdir/$f
3975         else
3976           # /dev/null tree
3977           { { echo "$as_me:3977: error: cannot find input file: $f" >&5
3978echo "$as_me: error: cannot find input file: $f" >&2;}
3979   { (exit 1); exit 1; }; }
3980         fi;;
3981      esac
3982    done` || { (exit 1); exit 1; }
3983  # Remove the trailing spaces.
3984  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
3985
3986EOF
3987
3988# Transform confdefs.h into two sed scripts, `conftest.defines' and
3989# `conftest.undefs', that substitutes the proper values into
3990# config.h.in to produce config.h.  The first handles `#define'
3991# templates, and the second `#undef' templates.
3992# And first: Protect against being on the right side of a sed subst in
3993# config.status.  Protect against being in an unquoted here document
3994# in config.status.
3995rm -f conftest.defines conftest.undefs
3996# Using a here document instead of a string reduces the quoting nightmare.
3997# Putting comments in sed scripts is not portable.
3998#
3999# `end' is used to avoid that the second main sed command (meant for
4000# 0-ary CPP macros) applies to n-ary macro definitions.
4001# See the Autoconf documentation for `clear'.
4002cat >confdef2sed.sed <<\EOF
4003s/[\\&,]/\\&/g
4004s,[\\$`],\\&,g
4005t clear
4006: clear
4007s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
4008t end
4009s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4010: end
4011EOF
4012# If some macros were called several times there might be several times
4013# the same #defines, which is useless.  Nevertheless, we may not want to
4014# sort them, since we want the *last* AC-DEFINE to be honored.
4015uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4016sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4017rm -f confdef2sed.sed
4018
4019# This sed command replaces #undef with comments.  This is necessary, for
4020# example, in the case of _POSIX_SOURCE, which is predefined and required
4021# on some systems where configure will not decide to define it.
4022cat >>conftest.undefs <<\EOF
4023s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4024EOF
4025
4026# Break up conftest.defines because some shells have a limit on the size
4027# of here documents, and old seds have small limits too (100 cmds).
4028echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4029echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4030echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4031echo '  :' >>$CONFIG_STATUS
4032rm -f conftest.tail
4033while grep . conftest.defines >/dev/null
4034do
4035  # Write a limited-size here document to $tmp/defines.sed.
4036  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4037  # Speed up: don't consider the non `#define' lines.
4038  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
4039  # Work around the forget-to-reset-the-flag bug.
4040  echo 't clr' >>$CONFIG_STATUS
4041  echo ': clr' >>$CONFIG_STATUS
4042  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4043  echo 'CEOF
4044  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4045  rm -f $tmp/in
4046  mv $tmp/out $tmp/in
4047' >>$CONFIG_STATUS
4048  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4049  rm -f conftest.defines
4050  mv conftest.tail conftest.defines
4051done
4052rm -f conftest.defines
4053echo '  fi # egrep' >>$CONFIG_STATUS
4054echo >>$CONFIG_STATUS
4055
4056# Break up conftest.undefs because some shells have a limit on the size
4057# of here documents, and old seds have small limits too (100 cmds).
4058echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4059rm -f conftest.tail
4060while grep . conftest.undefs >/dev/null
4061do
4062  # Write a limited-size here document to $tmp/undefs.sed.
4063  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4064  # Speed up: don't consider the non `#undef'
4065  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
4066  # Work around the forget-to-reset-the-flag bug.
4067  echo 't clr' >>$CONFIG_STATUS
4068  echo ': clr' >>$CONFIG_STATUS
4069  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4070  echo 'CEOF
4071  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4072  rm -f $tmp/in
4073  mv $tmp/out $tmp/in
4074' >>$CONFIG_STATUS
4075  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4076  rm -f conftest.undefs
4077  mv conftest.tail conftest.undefs
4078done
4079rm -f conftest.undefs
4080
4081cat >>$CONFIG_STATUS <<\EOF
4082  # Let's still pretend it is `configure' which instantiates (i.e., don't
4083  # use $as_me), people would be surprised to read:
4084  #    /* config.h.  Generated automatically by config.status.  */
4085  if test x"$ac_file" = x-; then
4086    echo "/* Generated automatically by configure.  */" >$tmp/config.h
4087  else
4088    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
4089  fi
4090  cat $tmp/in >>$tmp/config.h
4091  rm -f $tmp/in
4092  if test x"$ac_file" != x-; then
4093    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4094      { echo "$as_me:4094: $ac_file is unchanged" >&5
4095echo "$as_me: $ac_file is unchanged" >&6;}
4096    else
4097      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4098         X"$ac_file" : 'X\(//\)[^/]' \| \
4099         X"$ac_file" : 'X\(//\)$' \| \
4100         X"$ac_file" : 'X\(/\)' \| \
4101         .     : '\(.\)' 2>/dev/null ||
4102echo X"$ac_file" |
4103    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4104  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4105  	  /^X\(\/\/\)$/{ s//\1/; q; }
4106  	  /^X\(\/\).*/{ s//\1/; q; }
4107  	  s/.*/./; q'`
4108      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4109        { case "$ac_dir" in
4110  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4111  *)                      as_incr_dir=.;;
4112esac
4113as_dummy="$ac_dir"
4114for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4115  case $as_mkdir_dir in
4116    # Skip DOS drivespec
4117    ?:) as_incr_dir=$as_mkdir_dir ;;
4118    *)
4119      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4120      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4121    ;;
4122  esac
4123done; }
4124
4125      fi
4126      rm -f $ac_file
4127      mv $tmp/config.h $ac_file
4128    fi
4129  else
4130    cat $tmp/config.h
4131    rm -f $tmp/config.h
4132  fi
4133done
4134EOF
4135
4136cat >>$CONFIG_STATUS <<\EOF
4137
4138{ (exit 0); exit 0; }
4139EOF
4140chmod +x $CONFIG_STATUS
4141ac_clean_files=$ac_clean_files_save
4142
4143# configure is writing to config.log, and then calls config.status.
4144# config.status does its own redirection, appending to config.log.
4145# Unfortunately, on DOS this fails, as config.log is still kept open
4146# by configure, so config.status won't be able to write to it; its
4147# output is simply discarded.  So we exec the FD to /dev/null,
4148# effectively closing config.log, so it can be properly (re)opened and
4149# appended to by config.status.  When coming back to configure, we
4150# need to make the FD available again.
4151if test "$no_create" != yes; then
4152  ac_cs_success=:
4153  exec 5>/dev/null
4154  $SHELL $CONFIG_STATUS || ac_cs_success=false
4155  exec 5>>config.log
4156  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4157  # would make configure fail if this is the last instruction.
4158  $ac_cs_success || { (exit 1); exit 1; }
4159fi
4160
4161