1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52.
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="htmlpty.l"
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=
185PACKAGE_TARNAME=
186PACKAGE_VERSION=
187PACKAGE_STRING=
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 this package 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
656
657Program names:
658  --program-prefix=PREFIX            prepend PREFIX to installed program names
659  --program-suffix=SUFFIX            append SUFFIX to installed program names
660  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
661EOF
662fi
663
664if test -n "$ac_init_help"; then
665
666  cat <<\EOF
667
668Some influential environment variables:
669  CC          C compiler command
670  CFLAGS      C compiler flags
671  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
672              nonstandard directory <lib dir>
673  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
674              headers in a nonstandard directory <include dir>
675  CPP         C preprocessor
676
677Use these variables to override the choices made by `configure' or to help
678it to find libraries and programs with nonstandard names/locations.
679
680EOF
681fi
682
683if test "$ac_init_help" = "recursive"; then
684  # If there are subdirs, report their specific --help.
685  ac_popdir=`pwd`
686  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
687    cd $ac_subdir
688    # A "../" for each directory in /$ac_subdir.
689    ac_dots=`echo $ac_subdir |
690             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
691
692    case $srcdir in
693    .) # No --srcdir option.  We are building in place.
694      ac_sub_srcdir=$srcdir ;;
695    [\\/]* | ?:[\\/]* ) # Absolute path.
696      ac_sub_srcdir=$srcdir/$ac_subdir ;;
697    *) # Relative path.
698      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
699    esac
700
701    # Check for guested configure; otherwise get Cygnus style configure.
702    if test -f $ac_sub_srcdir/configure.gnu; then
703      echo
704      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
705    elif test -f $ac_sub_srcdir/configure; then
706      echo
707      $SHELL $ac_sub_srcdir/configure  --help=recursive
708    elif test -f $ac_sub_srcdir/configure.ac ||
709           test -f $ac_sub_srcdir/configure.in; then
710      echo
711      $ac_configure --help
712    else
713      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
714    fi
715    cd $ac_popdir
716  done
717fi
718
719test -n "$ac_init_help" && exit 0
720if $ac_init_version; then
721  cat <<\EOF
722
723Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
724Free Software Foundation, Inc.
725This configure script is free software; the Free Software Foundation
726gives unlimited permission to copy, distribute and modify it.
727EOF
728  exit 0
729fi
730exec 5>config.log
731cat >&5 <<EOF
732This file contains any messages produced by compilers while
733running configure, to aid debugging if configure makes a mistake.
734
735It was created by $as_me, which was
736generated by GNU Autoconf 2.52.  Invocation command line was
737
738  $ $0 $@
739
740EOF
741{
742cat <<_ASUNAME
743## ---------- ##
744## Platform.  ##
745## ---------- ##
746
747hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
748uname -m = `(uname -m) 2>/dev/null || echo unknown`
749uname -r = `(uname -r) 2>/dev/null || echo unknown`
750uname -s = `(uname -s) 2>/dev/null || echo unknown`
751uname -v = `(uname -v) 2>/dev/null || echo unknown`
752
753/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
754/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
755
756/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
757/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
758/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
759hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
760/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
761/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
762/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
763
764PATH = $PATH
765
766_ASUNAME
767} >&5
768
769cat >&5 <<EOF
770## ------------ ##
771## Core tests.  ##
772## ------------ ##
773
774EOF
775
776# Keep a trace of the command line.
777# Strip out --no-create and --no-recursion so they do not pile up.
778# Also quote any args containing shell meta-characters.
779ac_configure_args=
780ac_sep=
781for ac_arg
782do
783  case $ac_arg in
784  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
785  | --no-cr | --no-c) ;;
786  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
787  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
788  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
789    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
790    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
791    ac_sep=" " ;;
792  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
793     ac_sep=" " ;;
794  esac
795  # Get rid of the leading space.
796done
797
798# When interrupted or exit'd, cleanup temporary files, and complete
799# config.log.  We remove comments because anyway the quotes in there
800# would cause problems or look ugly.
801trap 'exit_status=$?
802  # Save into config.log some information that might help in debugging.
803  echo >&5
804  echo "## ----------------- ##" >&5
805  echo "## Cache variables.  ##" >&5
806  echo "## ----------------- ##" >&5
807  echo >&5
808  # The following way of writing the cache mishandles newlines in values,
809{
810  (set) 2>&1 |
811    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
812    *ac_space=\ *)
813      sed -n \
814        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
815    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
816      ;;
817    *)
818      sed -n \
819        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
820      ;;
821    esac;
822} >&5
823  sed "/^$/d" confdefs.h >conftest.log
824  if test -s conftest.log; then
825    echo >&5
826    echo "## ------------ ##" >&5
827    echo "## confdefs.h.  ##" >&5
828    echo "## ------------ ##" >&5
829    echo >&5
830    cat conftest.log >&5
831  fi
832  (echo; echo) >&5
833  test "$ac_signal" != 0 &&
834    echo "$as_me: caught signal $ac_signal" >&5
835  echo "$as_me: exit $exit_status" >&5
836  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
837    exit $exit_status
838     ' 0
839for ac_signal in 1 2 13 15; do
840  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
841done
842ac_signal=0
843
844# confdefs.h avoids OS command line length limits that DEFS can exceed.
845rm -rf conftest* confdefs.h
846# AIX cpp loses on an empty file, so make sure it contains at least a newline.
847echo >confdefs.h
848
849# Let the site file select an alternate cache file if it wants to.
850# Prefer explicitly selected file to automatically selected ones.
851if test -z "$CONFIG_SITE"; then
852  if test "x$prefix" != xNONE; then
853    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
854  else
855    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
856  fi
857fi
858for ac_site_file in $CONFIG_SITE; do
859  if test -r "$ac_site_file"; then
860    { echo "$as_me:860: loading site script $ac_site_file" >&5
861echo "$as_me: loading site script $ac_site_file" >&6;}
862    cat "$ac_site_file" >&5
863    . "$ac_site_file"
864  fi
865done
866
867if test -r "$cache_file"; then
868  # Some versions of bash will fail to source /dev/null (special
869  # files actually), so we avoid doing that.
870  if test -f "$cache_file"; then
871    { echo "$as_me:871: loading cache $cache_file" >&5
872echo "$as_me: loading cache $cache_file" >&6;}
873    case $cache_file in
874      [\\/]* | ?:[\\/]* ) . $cache_file;;
875      *)                      . ./$cache_file;;
876    esac
877  fi
878else
879  { echo "$as_me:879: creating cache $cache_file" >&5
880echo "$as_me: creating cache $cache_file" >&6;}
881  >$cache_file
882fi
883
884# Check that the precious variables saved in the cache have kept the same
885# value.
886ac_cache_corrupted=false
887for ac_var in `(set) 2>&1 |
888               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
889  eval ac_old_set=\$ac_cv_env_${ac_var}_set
890  eval ac_new_set=\$ac_env_${ac_var}_set
891  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
892  eval ac_new_val="\$ac_env_${ac_var}_value"
893  case $ac_old_set,$ac_new_set in
894    set,)
895      { echo "$as_me:895: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
896echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
897      ac_cache_corrupted=: ;;
898    ,set)
899      { echo "$as_me:899: error: \`$ac_var' was not set in the previous run" >&5
900echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
901      ac_cache_corrupted=: ;;
902    ,);;
903    *)
904      if test "x$ac_old_val" != "x$ac_new_val"; then
905        { echo "$as_me:905: error: \`$ac_var' has changed since the previous run:" >&5
906echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
907        { echo "$as_me:907:   former value:  $ac_old_val" >&5
908echo "$as_me:   former value:  $ac_old_val" >&2;}
909        { echo "$as_me:909:   current value: $ac_new_val" >&5
910echo "$as_me:   current value: $ac_new_val" >&2;}
911        ac_cache_corrupted=:
912      fi;;
913  esac
914  # Pass precious variables to config.status.  It doesn't matter if
915  # we pass some twice (in addition to the command line arguments).
916  if test "$ac_new_set" = set; then
917    case $ac_new_val in
918    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
919      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
920      ac_configure_args="$ac_configure_args '$ac_arg'"
921      ;;
922    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
923       ;;
924    esac
925  fi
926done
927if $ac_cache_corrupted; then
928  { echo "$as_me:928: error: changes in the environment can compromise the build" >&5
929echo "$as_me: error: changes in the environment can compromise the build" >&2;}
930  { { echo "$as_me:930: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
931echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
932   { (exit 1); exit 1; }; }
933fi
934
935ac_ext=c
936ac_cpp='$CPP $CPPFLAGS'
937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
939ac_compiler_gnu=$ac_cv_c_compiler_gnu
940
941case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
942  *c*,-n*) ECHO_N= ECHO_C='
943' ECHO_T='	' ;;
944  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
945  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
946esac
947echo "#! $SHELL" >conftest.sh
948echo  "exit 0"   >>conftest.sh
949chmod +x conftest.sh
950if { (echo "$as_me:950: PATH=\".;.\"; conftest.sh") >&5
951  (PATH=".;."; conftest.sh) 2>&5
952  ac_status=$?
953  echo "$as_me:953: \$? = $ac_status" >&5
954  (exit $ac_status); }; then
955  ac_path_separator=';'
956else
957  ac_path_separator=:
958fi
959PATH_SEPARATOR="$ac_path_separator"
960rm -f conftest.sh
961
962ac_config_headers="$ac_config_headers config.h:config.hin"
963
964PACKAGE=htmlpty
965
966cat >>confdefs.h <<EOF
967#define PACKAGE "$PACKAGE"
968EOF
969
970VERSION=1.01
971
972cat >>confdefs.h <<EOF
973#define VERSION "$VERSION"
974EOF
975
976echo "$as_me:976: checking whether ${MAKE-make} sets \${MAKE}" >&5
977echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
978set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
979if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
980  echo $ECHO_N "(cached) $ECHO_C" >&6
981else
982  cat >conftest.make <<\EOF
983all:
984	@echo 'ac_maketemp="${MAKE}"'
985EOF
986# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
987eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
988if test -n "$ac_maketemp"; then
989  eval ac_cv_prog_make_${ac_make}_set=yes
990else
991  eval ac_cv_prog_make_${ac_make}_set=no
992fi
993rm -f conftest.make
994fi
995if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
996  echo "$as_me:996: result: yes" >&5
997echo "${ECHO_T}yes" >&6
998  SET_MAKE=
999else
1000  echo "$as_me:1000: result: no" >&5
1001echo "${ECHO_T}no" >&6
1002  SET_MAKE="MAKE=${MAKE-make}"
1003fi
1004
1005test "$program_prefix" != NONE &&
1006  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1007# Use a double $ so make ignores it.
1008test "$program_suffix" != NONE &&
1009  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1010# Double any \ or $.  echo might interpret backslashes.
1011# By default was `s,x,x', remove it if useless.
1012cat <<\_ACEOF >conftest.sed
1013s/[\\$]/&&/g;s/;s,x,x,$//
1014_ACEOF
1015program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1016rm conftest.sed
1017
1018ac_ext=c
1019ac_cpp='$CPP $CPPFLAGS'
1020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1022ac_compiler_gnu=$ac_cv_c_compiler_gnu
1023if test -n "$ac_tool_prefix"; then
1024  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1025set dummy ${ac_tool_prefix}gcc; ac_word=$2
1026echo "$as_me:1026: checking for $ac_word" >&5
1027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1028if test "${ac_cv_prog_CC+set}" = set; then
1029  echo $ECHO_N "(cached) $ECHO_C" >&6
1030else
1031  if test -n "$CC"; then
1032  ac_cv_prog_CC="$CC" # Let the user override the test.
1033else
1034  ac_save_IFS=$IFS; IFS=$ac_path_separator
1035ac_dummy="$PATH"
1036for ac_dir in $ac_dummy; do
1037  IFS=$ac_save_IFS
1038  test -z "$ac_dir" && ac_dir=.
1039  $as_executable_p "$ac_dir/$ac_word" || continue
1040ac_cv_prog_CC="${ac_tool_prefix}gcc"
1041echo "$as_me:1041: found $ac_dir/$ac_word" >&5
1042break
1043done
1044
1045fi
1046fi
1047CC=$ac_cv_prog_CC
1048if test -n "$CC"; then
1049  echo "$as_me:1049: result: $CC" >&5
1050echo "${ECHO_T}$CC" >&6
1051else
1052  echo "$as_me:1052: result: no" >&5
1053echo "${ECHO_T}no" >&6
1054fi
1055
1056fi
1057if test -z "$ac_cv_prog_CC"; then
1058  ac_ct_CC=$CC
1059  # Extract the first word of "gcc", so it can be a program name with args.
1060set dummy gcc; ac_word=$2
1061echo "$as_me:1061: checking for $ac_word" >&5
1062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1063if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1064  echo $ECHO_N "(cached) $ECHO_C" >&6
1065else
1066  if test -n "$ac_ct_CC"; then
1067  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1068else
1069  ac_save_IFS=$IFS; IFS=$ac_path_separator
1070ac_dummy="$PATH"
1071for ac_dir in $ac_dummy; do
1072  IFS=$ac_save_IFS
1073  test -z "$ac_dir" && ac_dir=.
1074  $as_executable_p "$ac_dir/$ac_word" || continue
1075ac_cv_prog_ac_ct_CC="gcc"
1076echo "$as_me:1076: found $ac_dir/$ac_word" >&5
1077break
1078done
1079
1080fi
1081fi
1082ac_ct_CC=$ac_cv_prog_ac_ct_CC
1083if test -n "$ac_ct_CC"; then
1084  echo "$as_me:1084: result: $ac_ct_CC" >&5
1085echo "${ECHO_T}$ac_ct_CC" >&6
1086else
1087  echo "$as_me:1087: result: no" >&5
1088echo "${ECHO_T}no" >&6
1089fi
1090
1091  CC=$ac_ct_CC
1092else
1093  CC="$ac_cv_prog_CC"
1094fi
1095
1096if test -z "$CC"; then
1097  if test -n "$ac_tool_prefix"; then
1098  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1099set dummy ${ac_tool_prefix}cc; ac_word=$2
1100echo "$as_me:1100: checking for $ac_word" >&5
1101echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1102if test "${ac_cv_prog_CC+set}" = set; then
1103  echo $ECHO_N "(cached) $ECHO_C" >&6
1104else
1105  if test -n "$CC"; then
1106  ac_cv_prog_CC="$CC" # Let the user override the test.
1107else
1108  ac_save_IFS=$IFS; IFS=$ac_path_separator
1109ac_dummy="$PATH"
1110for ac_dir in $ac_dummy; do
1111  IFS=$ac_save_IFS
1112  test -z "$ac_dir" && ac_dir=.
1113  $as_executable_p "$ac_dir/$ac_word" || continue
1114ac_cv_prog_CC="${ac_tool_prefix}cc"
1115echo "$as_me:1115: found $ac_dir/$ac_word" >&5
1116break
1117done
1118
1119fi
1120fi
1121CC=$ac_cv_prog_CC
1122if test -n "$CC"; then
1123  echo "$as_me:1123: result: $CC" >&5
1124echo "${ECHO_T}$CC" >&6
1125else
1126  echo "$as_me:1126: result: no" >&5
1127echo "${ECHO_T}no" >&6
1128fi
1129
1130fi
1131if test -z "$ac_cv_prog_CC"; then
1132  ac_ct_CC=$CC
1133  # Extract the first word of "cc", so it can be a program name with args.
1134set dummy cc; ac_word=$2
1135echo "$as_me:1135: checking for $ac_word" >&5
1136echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1137if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1138  echo $ECHO_N "(cached) $ECHO_C" >&6
1139else
1140  if test -n "$ac_ct_CC"; then
1141  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1142else
1143  ac_save_IFS=$IFS; IFS=$ac_path_separator
1144ac_dummy="$PATH"
1145for ac_dir in $ac_dummy; do
1146  IFS=$ac_save_IFS
1147  test -z "$ac_dir" && ac_dir=.
1148  $as_executable_p "$ac_dir/$ac_word" || continue
1149ac_cv_prog_ac_ct_CC="cc"
1150echo "$as_me:1150: found $ac_dir/$ac_word" >&5
1151break
1152done
1153
1154fi
1155fi
1156ac_ct_CC=$ac_cv_prog_ac_ct_CC
1157if test -n "$ac_ct_CC"; then
1158  echo "$as_me:1158: result: $ac_ct_CC" >&5
1159echo "${ECHO_T}$ac_ct_CC" >&6
1160else
1161  echo "$as_me:1161: result: no" >&5
1162echo "${ECHO_T}no" >&6
1163fi
1164
1165  CC=$ac_ct_CC
1166else
1167  CC="$ac_cv_prog_CC"
1168fi
1169
1170fi
1171if test -z "$CC"; then
1172  # Extract the first word of "cc", so it can be a program name with args.
1173set dummy cc; ac_word=$2
1174echo "$as_me:1174: checking for $ac_word" >&5
1175echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1176if test "${ac_cv_prog_CC+set}" = set; then
1177  echo $ECHO_N "(cached) $ECHO_C" >&6
1178else
1179  if test -n "$CC"; then
1180  ac_cv_prog_CC="$CC" # Let the user override the test.
1181else
1182  ac_prog_rejected=no
1183  ac_save_IFS=$IFS; IFS=$ac_path_separator
1184ac_dummy="$PATH"
1185for ac_dir in $ac_dummy; do
1186  IFS=$ac_save_IFS
1187  test -z "$ac_dir" && ac_dir=.
1188  $as_executable_p "$ac_dir/$ac_word" || continue
1189if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1190  ac_prog_rejected=yes
1191  continue
1192fi
1193ac_cv_prog_CC="cc"
1194echo "$as_me:1194: found $ac_dir/$ac_word" >&5
1195break
1196done
1197
1198if test $ac_prog_rejected = yes; then
1199  # We found a bogon in the path, so make sure we never use it.
1200  set dummy $ac_cv_prog_CC
1201  shift
1202  if test $# != 0; then
1203    # We chose a different compiler from the bogus one.
1204    # However, it has the same basename, so the bogon will be chosen
1205    # first if we set CC to just the basename; use the full file name.
1206    shift
1207    set dummy "$ac_dir/$ac_word" ${1+"$@"}
1208    shift
1209    ac_cv_prog_CC="$@"
1210  fi
1211fi
1212fi
1213fi
1214CC=$ac_cv_prog_CC
1215if test -n "$CC"; then
1216  echo "$as_me:1216: result: $CC" >&5
1217echo "${ECHO_T}$CC" >&6
1218else
1219  echo "$as_me:1219: result: no" >&5
1220echo "${ECHO_T}no" >&6
1221fi
1222
1223fi
1224if test -z "$CC"; then
1225  if test -n "$ac_tool_prefix"; then
1226  for ac_prog in cl
1227  do
1228    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1229set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1230echo "$as_me:1230: checking for $ac_word" >&5
1231echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1232if test "${ac_cv_prog_CC+set}" = set; then
1233  echo $ECHO_N "(cached) $ECHO_C" >&6
1234else
1235  if test -n "$CC"; then
1236  ac_cv_prog_CC="$CC" # Let the user override the test.
1237else
1238  ac_save_IFS=$IFS; IFS=$ac_path_separator
1239ac_dummy="$PATH"
1240for ac_dir in $ac_dummy; do
1241  IFS=$ac_save_IFS
1242  test -z "$ac_dir" && ac_dir=.
1243  $as_executable_p "$ac_dir/$ac_word" || continue
1244ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1245echo "$as_me:1245: found $ac_dir/$ac_word" >&5
1246break
1247done
1248
1249fi
1250fi
1251CC=$ac_cv_prog_CC
1252if test -n "$CC"; then
1253  echo "$as_me:1253: result: $CC" >&5
1254echo "${ECHO_T}$CC" >&6
1255else
1256  echo "$as_me:1256: result: no" >&5
1257echo "${ECHO_T}no" >&6
1258fi
1259
1260    test -n "$CC" && break
1261  done
1262fi
1263if test -z "$CC"; then
1264  ac_ct_CC=$CC
1265  for ac_prog in cl
1266do
1267  # Extract the first word of "$ac_prog", so it can be a program name with args.
1268set dummy $ac_prog; ac_word=$2
1269echo "$as_me:1269: checking for $ac_word" >&5
1270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1271if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1272  echo $ECHO_N "(cached) $ECHO_C" >&6
1273else
1274  if test -n "$ac_ct_CC"; then
1275  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1276else
1277  ac_save_IFS=$IFS; IFS=$ac_path_separator
1278ac_dummy="$PATH"
1279for ac_dir in $ac_dummy; do
1280  IFS=$ac_save_IFS
1281  test -z "$ac_dir" && ac_dir=.
1282  $as_executable_p "$ac_dir/$ac_word" || continue
1283ac_cv_prog_ac_ct_CC="$ac_prog"
1284echo "$as_me:1284: found $ac_dir/$ac_word" >&5
1285break
1286done
1287
1288fi
1289fi
1290ac_ct_CC=$ac_cv_prog_ac_ct_CC
1291if test -n "$ac_ct_CC"; then
1292  echo "$as_me:1292: result: $ac_ct_CC" >&5
1293echo "${ECHO_T}$ac_ct_CC" >&6
1294else
1295  echo "$as_me:1295: result: no" >&5
1296echo "${ECHO_T}no" >&6
1297fi
1298
1299  test -n "$ac_ct_CC" && break
1300done
1301
1302  CC=$ac_ct_CC
1303fi
1304
1305fi
1306
1307test -z "$CC" && { { echo "$as_me:1307: error: no acceptable cc found in \$PATH" >&5
1308echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1309   { (exit 1); exit 1; }; }
1310
1311# Provide some information about the compiler.
1312echo "$as_me:1312:" \
1313     "checking for C compiler version" >&5
1314ac_compiler=`set X $ac_compile; echo $2`
1315{ (eval echo "$as_me:1315: \"$ac_compiler --version </dev/null >&5\"") >&5
1316  (eval $ac_compiler --version </dev/null >&5) 2>&5
1317  ac_status=$?
1318  echo "$as_me:1318: \$? = $ac_status" >&5
1319  (exit $ac_status); }
1320{ (eval echo "$as_me:1320: \"$ac_compiler -v </dev/null >&5\"") >&5
1321  (eval $ac_compiler -v </dev/null >&5) 2>&5
1322  ac_status=$?
1323  echo "$as_me:1323: \$? = $ac_status" >&5
1324  (exit $ac_status); }
1325{ (eval echo "$as_me:1325: \"$ac_compiler -V </dev/null >&5\"") >&5
1326  (eval $ac_compiler -V </dev/null >&5) 2>&5
1327  ac_status=$?
1328  echo "$as_me:1328: \$? = $ac_status" >&5
1329  (exit $ac_status); }
1330
1331cat >conftest.$ac_ext <<_ACEOF
1332#line 1332 "configure"
1333#include "confdefs.h"
1334
1335int
1336main ()
1337{
1338
1339  ;
1340  return 0;
1341}
1342_ACEOF
1343ac_clean_files_save=$ac_clean_files
1344ac_clean_files="$ac_clean_files a.out a.exe"
1345# Try to create an executable without -o first, disregard a.out.
1346# It will help us diagnose broken compilers, and finding out an intuition
1347# of exeext.
1348echo "$as_me:1348: checking for C compiler default output" >&5
1349echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1350ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1351if { (eval echo "$as_me:1351: \"$ac_link_default\"") >&5
1352  (eval $ac_link_default) 2>&5
1353  ac_status=$?
1354  echo "$as_me:1354: \$? = $ac_status" >&5
1355  (exit $ac_status); }; then
1356  # Find the output, starting from the most likely.  This scheme is
1357# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1358# resort.
1359for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1360                ls a.out conftest 2>/dev/null;
1361                ls a.* conftest.* 2>/dev/null`; do
1362  case $ac_file in
1363    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1364    a.out ) # We found the default executable, but exeext='' is most
1365            # certainly right.
1366            break;;
1367    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1368          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1369          export ac_cv_exeext
1370          break;;
1371    * ) break;;
1372  esac
1373done
1374else
1375  echo "$as_me: failed program was:" >&5
1376cat conftest.$ac_ext >&5
1377{ { echo "$as_me:1377: error: C compiler cannot create executables" >&5
1378echo "$as_me: error: C compiler cannot create executables" >&2;}
1379   { (exit 77); exit 77; }; }
1380fi
1381
1382ac_exeext=$ac_cv_exeext
1383echo "$as_me:1383: result: $ac_file" >&5
1384echo "${ECHO_T}$ac_file" >&6
1385
1386# Check the compiler produces executables we can run.  If not, either
1387# the compiler is broken, or we cross compile.
1388echo "$as_me:1388: checking whether the C compiler works" >&5
1389echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1390# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1391# If not cross compiling, check that we can run a simple program.
1392if test "$cross_compiling" != yes; then
1393  if { ac_try='./$ac_file'
1394  { (eval echo "$as_me:1394: \"$ac_try\"") >&5
1395  (eval $ac_try) 2>&5
1396  ac_status=$?
1397  echo "$as_me:1397: \$? = $ac_status" >&5
1398  (exit $ac_status); }; }; then
1399    cross_compiling=no
1400  else
1401    if test "$cross_compiling" = maybe; then
1402	cross_compiling=yes
1403    else
1404	{ { echo "$as_me:1404: error: cannot run C compiled programs.
1405If you meant to cross compile, use \`--host'." >&5
1406echo "$as_me: error: cannot run C compiled programs.
1407If you meant to cross compile, use \`--host'." >&2;}
1408   { (exit 1); exit 1; }; }
1409    fi
1410  fi
1411fi
1412echo "$as_me:1412: result: yes" >&5
1413echo "${ECHO_T}yes" >&6
1414
1415rm -f a.out a.exe conftest$ac_cv_exeext
1416ac_clean_files=$ac_clean_files_save
1417# Check the compiler produces executables we can run.  If not, either
1418# the compiler is broken, or we cross compile.
1419echo "$as_me:1419: checking whether we are cross compiling" >&5
1420echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1421echo "$as_me:1421: result: $cross_compiling" >&5
1422echo "${ECHO_T}$cross_compiling" >&6
1423
1424echo "$as_me:1424: checking for executable suffix" >&5
1425echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1426if { (eval echo "$as_me:1426: \"$ac_link\"") >&5
1427  (eval $ac_link) 2>&5
1428  ac_status=$?
1429  echo "$as_me:1429: \$? = $ac_status" >&5
1430  (exit $ac_status); }; then
1431  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1432# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1433# work properly (i.e., refer to `conftest.exe'), while it won't with
1434# `rm'.
1435for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1436  case $ac_file in
1437    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1438    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1439          export ac_cv_exeext
1440          break;;
1441    * ) break;;
1442  esac
1443done
1444else
1445  { { echo "$as_me:1445: error: cannot compute EXEEXT: cannot compile and link" >&5
1446echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1447   { (exit 1); exit 1; }; }
1448fi
1449
1450rm -f conftest$ac_cv_exeext
1451echo "$as_me:1451: result: $ac_cv_exeext" >&5
1452echo "${ECHO_T}$ac_cv_exeext" >&6
1453
1454rm -f conftest.$ac_ext
1455EXEEXT=$ac_cv_exeext
1456ac_exeext=$EXEEXT
1457echo "$as_me:1457: checking for object suffix" >&5
1458echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1459if test "${ac_cv_objext+set}" = set; then
1460  echo $ECHO_N "(cached) $ECHO_C" >&6
1461else
1462  cat >conftest.$ac_ext <<_ACEOF
1463#line 1463 "configure"
1464#include "confdefs.h"
1465
1466int
1467main ()
1468{
1469
1470  ;
1471  return 0;
1472}
1473_ACEOF
1474rm -f conftest.o conftest.obj
1475if { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
1476  (eval $ac_compile) 2>&5
1477  ac_status=$?
1478  echo "$as_me:1478: \$? = $ac_status" >&5
1479  (exit $ac_status); }; then
1480  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1481  case $ac_file in
1482    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1483    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1484       break;;
1485  esac
1486done
1487else
1488  echo "$as_me: failed program was:" >&5
1489cat conftest.$ac_ext >&5
1490{ { echo "$as_me:1490: error: cannot compute OBJEXT: cannot compile" >&5
1491echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1492   { (exit 1); exit 1; }; }
1493fi
1494
1495rm -f conftest.$ac_cv_objext conftest.$ac_ext
1496fi
1497echo "$as_me:1497: result: $ac_cv_objext" >&5
1498echo "${ECHO_T}$ac_cv_objext" >&6
1499OBJEXT=$ac_cv_objext
1500ac_objext=$OBJEXT
1501echo "$as_me:1501: checking whether we are using the GNU C compiler" >&5
1502echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1503if test "${ac_cv_c_compiler_gnu+set}" = set; then
1504  echo $ECHO_N "(cached) $ECHO_C" >&6
1505else
1506  cat >conftest.$ac_ext <<_ACEOF
1507#line 1507 "configure"
1508#include "confdefs.h"
1509
1510int
1511main ()
1512{
1513#ifndef __GNUC__
1514       choke me
1515#endif
1516
1517  ;
1518  return 0;
1519}
1520_ACEOF
1521rm -f conftest.$ac_objext
1522if { (eval echo "$as_me:1522: \"$ac_compile\"") >&5
1523  (eval $ac_compile) 2>&5
1524  ac_status=$?
1525  echo "$as_me:1525: \$? = $ac_status" >&5
1526  (exit $ac_status); } &&
1527         { ac_try='test -s conftest.$ac_objext'
1528  { (eval echo "$as_me:1528: \"$ac_try\"") >&5
1529  (eval $ac_try) 2>&5
1530  ac_status=$?
1531  echo "$as_me:1531: \$? = $ac_status" >&5
1532  (exit $ac_status); }; }; then
1533  ac_compiler_gnu=yes
1534else
1535  echo "$as_me: failed program was:" >&5
1536cat conftest.$ac_ext >&5
1537ac_compiler_gnu=no
1538fi
1539rm -f conftest.$ac_objext conftest.$ac_ext
1540ac_cv_c_compiler_gnu=$ac_compiler_gnu
1541
1542fi
1543echo "$as_me:1543: result: $ac_cv_c_compiler_gnu" >&5
1544echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1545GCC=`test $ac_compiler_gnu = yes && echo yes`
1546ac_test_CFLAGS=${CFLAGS+set}
1547ac_save_CFLAGS=$CFLAGS
1548CFLAGS=""
1549echo "$as_me:1549: checking whether $CC accepts -g" >&5
1550echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1551if test "${ac_cv_prog_cc_g+set}" = set; then
1552  echo $ECHO_N "(cached) $ECHO_C" >&6
1553else
1554  cat >conftest.$ac_ext <<_ACEOF
1555#line 1555 "configure"
1556#include "confdefs.h"
1557
1558int
1559main ()
1560{
1561
1562  ;
1563  return 0;
1564}
1565_ACEOF
1566rm -f conftest.$ac_objext
1567if { (eval echo "$as_me:1567: \"$ac_compile\"") >&5
1568  (eval $ac_compile) 2>&5
1569  ac_status=$?
1570  echo "$as_me:1570: \$? = $ac_status" >&5
1571  (exit $ac_status); } &&
1572         { ac_try='test -s conftest.$ac_objext'
1573  { (eval echo "$as_me:1573: \"$ac_try\"") >&5
1574  (eval $ac_try) 2>&5
1575  ac_status=$?
1576  echo "$as_me:1576: \$? = $ac_status" >&5
1577  (exit $ac_status); }; }; then
1578  ac_cv_prog_cc_g=yes
1579else
1580  echo "$as_me: failed program was:" >&5
1581cat conftest.$ac_ext >&5
1582ac_cv_prog_cc_g=no
1583fi
1584rm -f conftest.$ac_objext conftest.$ac_ext
1585fi
1586echo "$as_me:1586: result: $ac_cv_prog_cc_g" >&5
1587echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1588if test "$ac_test_CFLAGS" = set; then
1589  CFLAGS=$ac_save_CFLAGS
1590elif test $ac_cv_prog_cc_g = yes; then
1591  if test "$GCC" = yes; then
1592    CFLAGS=""
1593  else
1594    CFLAGS=""
1595  fi
1596else
1597  if test "$GCC" = yes; then
1598    CFLAGS=""
1599  else
1600    CFLAGS=
1601  fi
1602fi
1603# Some people use a C++ compiler to compile C.  Since we use `exit',
1604# in C++ we need to declare it.  In case someone uses the same compiler
1605# for both compiling C and C++ we need to have the C++ compiler decide
1606# the declaration of exit, since it's the most demanding environment.
1607cat >conftest.$ac_ext <<_ACEOF
1608#ifndef __cplusplus
1609  choke me
1610#endif
1611_ACEOF
1612rm -f conftest.$ac_objext
1613if { (eval echo "$as_me:1613: \"$ac_compile\"") >&5
1614  (eval $ac_compile) 2>&5
1615  ac_status=$?
1616  echo "$as_me:1616: \$? = $ac_status" >&5
1617  (exit $ac_status); } &&
1618         { ac_try='test -s conftest.$ac_objext'
1619  { (eval echo "$as_me:1619: \"$ac_try\"") >&5
1620  (eval $ac_try) 2>&5
1621  ac_status=$?
1622  echo "$as_me:1622: \$? = $ac_status" >&5
1623  (exit $ac_status); }; }; then
1624  for ac_declaration in \
1625   ''\
1626   '#include <stdlib.h>' \
1627   'extern "C" void std::return (int) throw (); using std::exit;' \
1628   'extern "C" void std::return (int); using std::exit;' \
1629   'extern "C" void return (int) throw ();' \
1630   'extern "C" void return (int);' \
1631   'void return (int);'
1632do
1633  cat >conftest.$ac_ext <<_ACEOF
1634#line 1634 "configure"
1635#include "confdefs.h"
1636#include <stdlib.h>
1637$ac_declaration
1638int
1639main ()
1640{
1641return (42);
1642  ;
1643  return 0;
1644}
1645_ACEOF
1646rm -f conftest.$ac_objext
1647if { (eval echo "$as_me:1647: \"$ac_compile\"") >&5
1648  (eval $ac_compile) 2>&5
1649  ac_status=$?
1650  echo "$as_me:1650: \$? = $ac_status" >&5
1651  (exit $ac_status); } &&
1652         { ac_try='test -s conftest.$ac_objext'
1653  { (eval echo "$as_me:1653: \"$ac_try\"") >&5
1654  (eval $ac_try) 2>&5
1655  ac_status=$?
1656  echo "$as_me:1656: \$? = $ac_status" >&5
1657  (exit $ac_status); }; }; then
1658  :
1659else
1660  echo "$as_me: failed program was:" >&5
1661cat conftest.$ac_ext >&5
1662continue
1663fi
1664rm -f conftest.$ac_objext conftest.$ac_ext
1665  cat >conftest.$ac_ext <<_ACEOF
1666#line 1666 "configure"
1667#include "confdefs.h"
1668$ac_declaration
1669int
1670main ()
1671{
1672return (42);
1673  ;
1674  return 0;
1675}
1676_ACEOF
1677rm -f conftest.$ac_objext
1678if { (eval echo "$as_me:1678: \"$ac_compile\"") >&5
1679  (eval $ac_compile) 2>&5
1680  ac_status=$?
1681  echo "$as_me:1681: \$? = $ac_status" >&5
1682  (exit $ac_status); } &&
1683         { ac_try='test -s conftest.$ac_objext'
1684  { (eval echo "$as_me:1684: \"$ac_try\"") >&5
1685  (eval $ac_try) 2>&5
1686  ac_status=$?
1687  echo "$as_me:1687: \$? = $ac_status" >&5
1688  (exit $ac_status); }; }; then
1689  break
1690else
1691  echo "$as_me: failed program was:" >&5
1692cat conftest.$ac_ext >&5
1693fi
1694rm -f conftest.$ac_objext conftest.$ac_ext
1695done
1696rm -f conftest*
1697if test -n "$ac_declaration"; then
1698  echo '#ifdef __cplusplus' >>confdefs.h
1699  echo $ac_declaration      >>confdefs.h
1700  echo '#endif'             >>confdefs.h
1701fi
1702
1703else
1704  echo "$as_me: failed program was:" >&5
1705cat conftest.$ac_ext >&5
1706fi
1707rm -f conftest.$ac_objext conftest.$ac_ext
1708ac_ext=c
1709ac_cpp='$CPP $CPPFLAGS'
1710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1712ac_compiler_gnu=$ac_cv_c_compiler_gnu
1713
1714ac_aux_dir=
1715for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1716  if test -f $ac_dir/install-sh; then
1717    ac_aux_dir=$ac_dir
1718    ac_install_sh="$ac_aux_dir/install-sh -c"
1719    break
1720  elif test -f $ac_dir/install.sh; then
1721    ac_aux_dir=$ac_dir
1722    ac_install_sh="$ac_aux_dir/install.sh -c"
1723    break
1724  elif test -f $ac_dir/shtool; then
1725    ac_aux_dir=$ac_dir
1726    ac_install_sh="$ac_aux_dir/shtool install -c"
1727    break
1728  fi
1729done
1730if test -z "$ac_aux_dir"; then
1731  { { echo "$as_me:1731: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1732echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1733   { (exit 1); exit 1; }; }
1734fi
1735ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1736ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1737ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1738
1739# Find a good install program.  We prefer a C program (faster),
1740# so one script is as good as another.  But avoid the broken or
1741# incompatible versions:
1742# SysV /etc/install, /usr/sbin/install
1743# SunOS /usr/etc/install
1744# IRIX /sbin/install
1745# AIX /bin/install
1746# AmigaOS /C/install, which installs bootblocks on floppy discs
1747# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1748# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1749# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1750# ./install, which can be erroneously created by make from ./install.sh.
1751echo "$as_me:1751: checking for a BSD compatible install" >&5
1752echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1753if test -z "$INSTALL"; then
1754if test "${ac_cv_path_install+set}" = set; then
1755  echo $ECHO_N "(cached) $ECHO_C" >&6
1756else
1757    ac_save_IFS=$IFS; IFS=$ac_path_separator
1758  for ac_dir in $PATH; do
1759    IFS=$ac_save_IFS
1760    # Account for people who put trailing slashes in PATH elements.
1761    case $ac_dir/ in
1762    / | ./ | .// | /cC/* \
1763    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1764    | /usr/ucb/* ) ;;
1765    *)
1766      # OSF1 and SCO ODT 3.0 have their own names for install.
1767      # Don't use installbsd from OSF since it installs stuff as root
1768      # by default.
1769      for ac_prog in ginstall scoinst install; do
1770        if $as_executable_p "$ac_dir/$ac_prog"; then
1771	  if test $ac_prog = install &&
1772            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1773	    # AIX install.  It has an incompatible calling convention.
1774	    :
1775	  elif test $ac_prog = install &&
1776	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1777	    # program-specific install script used by HP pwplus--don't use.
1778	    :
1779	  else
1780	    ac_cv_path_install="$ac_dir/$ac_prog -c"
1781	    break 2
1782	  fi
1783	fi
1784      done
1785      ;;
1786    esac
1787  done
1788
1789fi
1790  if test "${ac_cv_path_install+set}" = set; then
1791    INSTALL=$ac_cv_path_install
1792  else
1793    # As a last resort, use the slow shell script.  We don't cache a
1794    # path for INSTALL within a source directory, because that will
1795    # break other packages using the cache if that directory is
1796    # removed, or if the path is relative.
1797    INSTALL=$ac_install_sh
1798  fi
1799fi
1800echo "$as_me:1800: result: $INSTALL" >&5
1801echo "${ECHO_T}$INSTALL" >&6
1802
1803# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1804# It thinks the first close brace ends the variable substitution.
1805test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1806
1807test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1808
1809test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1810
1811echo "$as_me:1811: checking whether ln -s works" >&5
1812echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1813LN_S=$as_ln_s
1814if test "$LN_S" = "ln -s"; then
1815  echo "$as_me:1815: result: yes" >&5
1816echo "${ECHO_T}yes" >&6
1817else
1818  echo "$as_me:1818: result: no, using $LN_S" >&5
1819echo "${ECHO_T}no, using $LN_S" >&6
1820fi
1821
1822for ac_prog in gawk nawk mawk awk
1823do
1824  # Extract the first word of "$ac_prog", so it can be a program name with args.
1825set dummy $ac_prog; ac_word=$2
1826echo "$as_me:1826: checking for $ac_word" >&5
1827echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828if test "${ac_cv_prog_AWK+set}" = set; then
1829  echo $ECHO_N "(cached) $ECHO_C" >&6
1830else
1831  if test -n "$AWK"; then
1832  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1833else
1834  ac_save_IFS=$IFS; IFS=$ac_path_separator
1835ac_dummy="$PATH"
1836for ac_dir in $ac_dummy; do
1837  IFS=$ac_save_IFS
1838  test -z "$ac_dir" && ac_dir=.
1839  $as_executable_p "$ac_dir/$ac_word" || continue
1840ac_cv_prog_AWK="$ac_prog"
1841echo "$as_me:1841: found $ac_dir/$ac_word" >&5
1842break
1843done
1844
1845fi
1846fi
1847AWK=$ac_cv_prog_AWK
1848if test -n "$AWK"; then
1849  echo "$as_me:1849: result: $AWK" >&5
1850echo "${ECHO_T}$AWK" >&6
1851else
1852  echo "$as_me:1852: result: no" >&5
1853echo "${ECHO_T}no" >&6
1854fi
1855
1856  test -n "$AWK" && break
1857done
1858
1859for ac_prog in cat
1860do
1861  # Extract the first word of "$ac_prog", so it can be a program name with args.
1862set dummy $ac_prog; ac_word=$2
1863echo "$as_me:1863: checking for $ac_word" >&5
1864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865if test "${ac_cv_prog_CAT+set}" = set; then
1866  echo $ECHO_N "(cached) $ECHO_C" >&6
1867else
1868  if test -n "$CAT"; then
1869  ac_cv_prog_CAT="$CAT" # Let the user override the test.
1870else
1871  ac_save_IFS=$IFS; IFS=$ac_path_separator
1872ac_dummy="$PATH"
1873for ac_dir in $ac_dummy; do
1874  IFS=$ac_save_IFS
1875  test -z "$ac_dir" && ac_dir=.
1876  $as_executable_p "$ac_dir/$ac_word" || continue
1877ac_cv_prog_CAT="$ac_prog"
1878echo "$as_me:1878: found $ac_dir/$ac_word" >&5
1879break
1880done
1881
1882fi
1883fi
1884CAT=$ac_cv_prog_CAT
1885if test -n "$CAT"; then
1886  echo "$as_me:1886: result: $CAT" >&5
1887echo "${ECHO_T}$CAT" >&6
1888else
1889  echo "$as_me:1889: result: no" >&5
1890echo "${ECHO_T}no" >&6
1891fi
1892
1893  test -n "$CAT" && break
1894done
1895
1896for ac_prog in checksum cat
1897do
1898  # Extract the first word of "$ac_prog", so it can be a program name with args.
1899set dummy $ac_prog; ac_word=$2
1900echo "$as_me:1900: checking for $ac_word" >&5
1901echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1902if test "${ac_cv_prog_CHECKSUM+set}" = set; then
1903  echo $ECHO_N "(cached) $ECHO_C" >&6
1904else
1905  if test -n "$CHECKSUM"; then
1906  ac_cv_prog_CHECKSUM="$CHECKSUM" # Let the user override the test.
1907else
1908  ac_save_IFS=$IFS; IFS=$ac_path_separator
1909ac_dummy="$PATH"
1910for ac_dir in $ac_dummy; do
1911  IFS=$ac_save_IFS
1912  test -z "$ac_dir" && ac_dir=.
1913  $as_executable_p "$ac_dir/$ac_word" || continue
1914ac_cv_prog_CHECKSUM="$ac_prog"
1915echo "$as_me:1915: found $ac_dir/$ac_word" >&5
1916break
1917done
1918
1919fi
1920fi
1921CHECKSUM=$ac_cv_prog_CHECKSUM
1922if test -n "$CHECKSUM"; then
1923  echo "$as_me:1923: result: $CHECKSUM" >&5
1924echo "${ECHO_T}$CHECKSUM" >&6
1925else
1926  echo "$as_me:1926: result: no" >&5
1927echo "${ECHO_T}no" >&6
1928fi
1929
1930  test -n "$CHECKSUM" && break
1931done
1932
1933for ac_prog in chmod
1934do
1935  # Extract the first word of "$ac_prog", so it can be a program name with args.
1936set dummy $ac_prog; ac_word=$2
1937echo "$as_me:1937: checking for $ac_word" >&5
1938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939if test "${ac_cv_prog_CHMOD+set}" = set; then
1940  echo $ECHO_N "(cached) $ECHO_C" >&6
1941else
1942  if test -n "$CHMOD"; then
1943  ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
1944else
1945  ac_save_IFS=$IFS; IFS=$ac_path_separator
1946ac_dummy="$PATH"
1947for ac_dir in $ac_dummy; do
1948  IFS=$ac_save_IFS
1949  test -z "$ac_dir" && ac_dir=.
1950  $as_executable_p "$ac_dir/$ac_word" || continue
1951ac_cv_prog_CHMOD="$ac_prog"
1952echo "$as_me:1952: found $ac_dir/$ac_word" >&5
1953break
1954done
1955
1956fi
1957fi
1958CHMOD=$ac_cv_prog_CHMOD
1959if test -n "$CHMOD"; then
1960  echo "$as_me:1960: result: $CHMOD" >&5
1961echo "${ECHO_T}$CHMOD" >&6
1962else
1963  echo "$as_me:1963: result: no" >&5
1964echo "${ECHO_T}no" >&6
1965fi
1966
1967  test -n "$CHMOD" && break
1968done
1969
1970# Extract the first word of "col", so it can be a program name with args.
1971set dummy col; ac_word=$2
1972echo "$as_me:1972: checking for $ac_word" >&5
1973echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974if test "${ac_cv_prog_COL+set}" = set; then
1975  echo $ECHO_N "(cached) $ECHO_C" >&6
1976else
1977  if test -n "$COL"; then
1978  ac_cv_prog_COL="$COL" # Let the user override the test.
1979else
1980  ac_save_IFS=$IFS; IFS=$ac_path_separator
1981ac_dummy="$PATH"
1982for ac_dir in $ac_dummy; do
1983  IFS=$ac_save_IFS
1984  test -z "$ac_dir" && ac_dir=.
1985  $as_executable_p "$ac_dir/$ac_word" || continue
1986ac_cv_prog_COL="col -x -b"
1987echo "$as_me:1987: found $ac_dir/$ac_word" >&5
1988break
1989done
1990
1991fi
1992fi
1993COL=$ac_cv_prog_COL
1994if test -n "$COL"; then
1995  echo "$as_me:1995: result: $COL" >&5
1996echo "${ECHO_T}$COL" >&6
1997else
1998  echo "$as_me:1998: result: no" >&5
1999echo "${ECHO_T}no" >&6
2000fi
2001
2002# Extract the first word of "cat", so it can be a program name with args.
2003set dummy cat; ac_word=$2
2004echo "$as_me:2004: checking for $ac_word" >&5
2005echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006if test "${ac_cv_prog_COL+set}" = set; then
2007  echo $ECHO_N "(cached) $ECHO_C" >&6
2008else
2009  if test -n "$COL"; then
2010  ac_cv_prog_COL="$COL" # Let the user override the test.
2011else
2012  ac_save_IFS=$IFS; IFS=$ac_path_separator
2013ac_dummy="$PATH"
2014for ac_dir in $ac_dummy; do
2015  IFS=$ac_save_IFS
2016  test -z "$ac_dir" && ac_dir=.
2017  $as_executable_p "$ac_dir/$ac_word" || continue
2018ac_cv_prog_COL=""
2019echo "$as_me:2019: found $ac_dir/$ac_word" >&5
2020break
2021done
2022
2023fi
2024fi
2025COL=$ac_cv_prog_COL
2026if test -n "$COL"; then
2027  echo "$as_me:2027: result: $COL" >&5
2028echo "${ECHO_T}$COL" >&6
2029else
2030  echo "$as_me:2030: result: no" >&5
2031echo "${ECHO_T}no" >&6
2032fi
2033
2034# Extract the first word of "scp", so it can be a program name with args.
2035set dummy scp; ac_word=$2
2036echo "$as_me:2036: checking for $ac_word" >&5
2037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038if test "${ac_cv_prog_CP+set}" = set; then
2039  echo $ECHO_N "(cached) $ECHO_C" >&6
2040else
2041  if test -n "$CP"; then
2042  ac_cv_prog_CP="$CP" # Let the user override the test.
2043else
2044  ac_save_IFS=$IFS; IFS=$ac_path_separator
2045ac_dummy="$PATH"
2046for ac_dir in $ac_dummy; do
2047  IFS=$ac_save_IFS
2048  test -z "$ac_dir" && ac_dir=.
2049  $as_executable_p "$ac_dir/$ac_word" || continue
2050ac_cv_prog_CP="scp -p"
2051echo "$as_me:2051: found $ac_dir/$ac_word" >&5
2052break
2053done
2054
2055fi
2056fi
2057CP=$ac_cv_prog_CP
2058if test -n "$CP"; then
2059  echo "$as_me:2059: result: $CP" >&5
2060echo "${ECHO_T}$CP" >&6
2061else
2062  echo "$as_me:2062: result: no" >&5
2063echo "${ECHO_T}no" >&6
2064fi
2065
2066# Extract the first word of "rcp", so it can be a program name with args.
2067set dummy rcp; ac_word=$2
2068echo "$as_me:2068: checking for $ac_word" >&5
2069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070if test "${ac_cv_prog_CP+set}" = set; then
2071  echo $ECHO_N "(cached) $ECHO_C" >&6
2072else
2073  if test -n "$CP"; then
2074  ac_cv_prog_CP="$CP" # Let the user override the test.
2075else
2076  ac_save_IFS=$IFS; IFS=$ac_path_separator
2077ac_dummy="$PATH"
2078for ac_dir in $ac_dummy; do
2079  IFS=$ac_save_IFS
2080  test -z "$ac_dir" && ac_dir=.
2081  $as_executable_p "$ac_dir/$ac_word" || continue
2082ac_cv_prog_CP="rcp -p"
2083echo "$as_me:2083: found $ac_dir/$ac_word" >&5
2084break
2085done
2086
2087fi
2088fi
2089CP=$ac_cv_prog_CP
2090if test -n "$CP"; then
2091  echo "$as_me:2091: result: $CP" >&5
2092echo "${ECHO_T}$CP" >&6
2093else
2094  echo "$as_me:2094: result: no" >&5
2095echo "${ECHO_T}no" >&6
2096fi
2097
2098# Extract the first word of "cp", so it can be a program name with args.
2099set dummy cp; ac_word=$2
2100echo "$as_me:2100: checking for $ac_word" >&5
2101echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2102if test "${ac_cv_prog_CP+set}" = set; then
2103  echo $ECHO_N "(cached) $ECHO_C" >&6
2104else
2105  if test -n "$CP"; then
2106  ac_cv_prog_CP="$CP" # Let the user override the test.
2107else
2108  ac_save_IFS=$IFS; IFS=$ac_path_separator
2109ac_dummy="$PATH"
2110for ac_dir in $ac_dummy; do
2111  IFS=$ac_save_IFS
2112  test -z "$ac_dir" && ac_dir=.
2113  $as_executable_p "$ac_dir/$ac_word" || continue
2114ac_cv_prog_CP="cp"
2115echo "$as_me:2115: found $ac_dir/$ac_word" >&5
2116break
2117done
2118
2119fi
2120fi
2121CP=$ac_cv_prog_CP
2122if test -n "$CP"; then
2123  echo "$as_me:2123: result: $CP" >&5
2124echo "${ECHO_T}$CP" >&6
2125else
2126  echo "$as_me:2126: result: no" >&5
2127echo "${ECHO_T}no" >&6
2128fi
2129
2130for ac_prog in deroff cat
2131do
2132  # Extract the first word of "$ac_prog", so it can be a program name with args.
2133set dummy $ac_prog; ac_word=$2
2134echo "$as_me:2134: checking for $ac_word" >&5
2135echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136if test "${ac_cv_prog_DEROFF+set}" = set; then
2137  echo $ECHO_N "(cached) $ECHO_C" >&6
2138else
2139  if test -n "$DEROFF"; then
2140  ac_cv_prog_DEROFF="$DEROFF" # Let the user override the test.
2141else
2142  ac_save_IFS=$IFS; IFS=$ac_path_separator
2143ac_dummy="$PATH"
2144for ac_dir in $ac_dummy; do
2145  IFS=$ac_save_IFS
2146  test -z "$ac_dir" && ac_dir=.
2147  $as_executable_p "$ac_dir/$ac_word" || continue
2148ac_cv_prog_DEROFF="$ac_prog"
2149echo "$as_me:2149: found $ac_dir/$ac_word" >&5
2150break
2151done
2152
2153fi
2154fi
2155DEROFF=$ac_cv_prog_DEROFF
2156if test -n "$DEROFF"; then
2157  echo "$as_me:2157: result: $DEROFF" >&5
2158echo "${ECHO_T}$DEROFF" >&6
2159else
2160  echo "$as_me:2160: result: no" >&5
2161echo "${ECHO_T}no" >&6
2162fi
2163
2164  test -n "$DEROFF" && break
2165done
2166
2167for ac_prog in diff
2168do
2169  # Extract the first word of "$ac_prog", so it can be a program name with args.
2170set dummy $ac_prog; ac_word=$2
2171echo "$as_me:2171: checking for $ac_word" >&5
2172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173if test "${ac_cv_prog_DIFF+set}" = set; then
2174  echo $ECHO_N "(cached) $ECHO_C" >&6
2175else
2176  if test -n "$DIFF"; then
2177  ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
2178else
2179  ac_save_IFS=$IFS; IFS=$ac_path_separator
2180ac_dummy="$PATH"
2181for ac_dir in $ac_dummy; do
2182  IFS=$ac_save_IFS
2183  test -z "$ac_dir" && ac_dir=.
2184  $as_executable_p "$ac_dir/$ac_word" || continue
2185ac_cv_prog_DIFF="$ac_prog"
2186echo "$as_me:2186: found $ac_dir/$ac_word" >&5
2187break
2188done
2189
2190fi
2191fi
2192DIFF=$ac_cv_prog_DIFF
2193if test -n "$DIFF"; then
2194  echo "$as_me:2194: result: $DIFF" >&5
2195echo "${ECHO_T}$DIFF" >&6
2196else
2197  echo "$as_me:2197: result: no" >&5
2198echo "${ECHO_T}no" >&6
2199fi
2200
2201  test -n "$DIFF" && break
2202done
2203
2204for ac_prog in distill true
2205do
2206  # Extract the first word of "$ac_prog", so it can be a program name with args.
2207set dummy $ac_prog; ac_word=$2
2208echo "$as_me:2208: checking for $ac_word" >&5
2209echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2210if test "${ac_cv_prog_DISTILL+set}" = set; then
2211  echo $ECHO_N "(cached) $ECHO_C" >&6
2212else
2213  if test -n "$DISTILL"; then
2214  ac_cv_prog_DISTILL="$DISTILL" # Let the user override the test.
2215else
2216  ac_save_IFS=$IFS; IFS=$ac_path_separator
2217ac_dummy="$PATH"
2218for ac_dir in $ac_dummy; do
2219  IFS=$ac_save_IFS
2220  test -z "$ac_dir" && ac_dir=.
2221  $as_executable_p "$ac_dir/$ac_word" || continue
2222ac_cv_prog_DISTILL="$ac_prog"
2223echo "$as_me:2223: found $ac_dir/$ac_word" >&5
2224break
2225done
2226
2227fi
2228fi
2229DISTILL=$ac_cv_prog_DISTILL
2230if test -n "$DISTILL"; then
2231  echo "$as_me:2231: result: $DISTILL" >&5
2232echo "${ECHO_T}$DISTILL" >&6
2233else
2234  echo "$as_me:2234: result: no" >&5
2235echo "${ECHO_T}no" >&6
2236fi
2237
2238  test -n "$DISTILL" && break
2239done
2240
2241for ac_prog in dw true
2242do
2243  # Extract the first word of "$ac_prog", so it can be a program name with args.
2244set dummy $ac_prog; ac_word=$2
2245echo "$as_me:2245: checking for $ac_word" >&5
2246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2247if test "${ac_cv_prog_DW+set}" = set; then
2248  echo $ECHO_N "(cached) $ECHO_C" >&6
2249else
2250  if test -n "$DW"; then
2251  ac_cv_prog_DW="$DW" # Let the user override the test.
2252else
2253  ac_save_IFS=$IFS; IFS=$ac_path_separator
2254ac_dummy="$PATH"
2255for ac_dir in $ac_dummy; do
2256  IFS=$ac_save_IFS
2257  test -z "$ac_dir" && ac_dir=.
2258  $as_executable_p "$ac_dir/$ac_word" || continue
2259ac_cv_prog_DW="$ac_prog"
2260echo "$as_me:2260: found $ac_dir/$ac_word" >&5
2261break
2262done
2263
2264fi
2265fi
2266DW=$ac_cv_prog_DW
2267if test -n "$DW"; then
2268  echo "$as_me:2268: result: $DW" >&5
2269echo "${ECHO_T}$DW" >&6
2270else
2271  echo "$as_me:2271: result: no" >&5
2272echo "${ECHO_T}no" >&6
2273fi
2274
2275  test -n "$DW" && break
2276done
2277
2278for ac_prog in expand cat
2279do
2280  # Extract the first word of "$ac_prog", so it can be a program name with args.
2281set dummy $ac_prog; ac_word=$2
2282echo "$as_me:2282: checking for $ac_word" >&5
2283echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284if test "${ac_cv_prog_EXPAND+set}" = set; then
2285  echo $ECHO_N "(cached) $ECHO_C" >&6
2286else
2287  if test -n "$EXPAND"; then
2288  ac_cv_prog_EXPAND="$EXPAND" # Let the user override the test.
2289else
2290  ac_save_IFS=$IFS; IFS=$ac_path_separator
2291ac_dummy="$PATH"
2292for ac_dir in $ac_dummy; do
2293  IFS=$ac_save_IFS
2294  test -z "$ac_dir" && ac_dir=.
2295  $as_executable_p "$ac_dir/$ac_word" || continue
2296ac_cv_prog_EXPAND="$ac_prog"
2297echo "$as_me:2297: found $ac_dir/$ac_word" >&5
2298break
2299done
2300
2301fi
2302fi
2303EXPAND=$ac_cv_prog_EXPAND
2304if test -n "$EXPAND"; then
2305  echo "$as_me:2305: result: $EXPAND" >&5
2306echo "${ECHO_T}$EXPAND" >&6
2307else
2308  echo "$as_me:2308: result: no" >&5
2309echo "${ECHO_T}no" >&6
2310fi
2311
2312  test -n "$EXPAND" && break
2313done
2314
2315for ac_prog in find
2316do
2317  # Extract the first word of "$ac_prog", so it can be a program name with args.
2318set dummy $ac_prog; ac_word=$2
2319echo "$as_me:2319: checking for $ac_word" >&5
2320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2321if test "${ac_cv_prog_FIND+set}" = set; then
2322  echo $ECHO_N "(cached) $ECHO_C" >&6
2323else
2324  if test -n "$FIND"; then
2325  ac_cv_prog_FIND="$FIND" # Let the user override the test.
2326else
2327  ac_save_IFS=$IFS; IFS=$ac_path_separator
2328ac_dummy="$PATH"
2329for ac_dir in $ac_dummy; do
2330  IFS=$ac_save_IFS
2331  test -z "$ac_dir" && ac_dir=.
2332  $as_executable_p "$ac_dir/$ac_word" || continue
2333ac_cv_prog_FIND="$ac_prog"
2334echo "$as_me:2334: found $ac_dir/$ac_word" >&5
2335break
2336done
2337
2338fi
2339fi
2340FIND=$ac_cv_prog_FIND
2341if test -n "$FIND"; then
2342  echo "$as_me:2342: result: $FIND" >&5
2343echo "${ECHO_T}$FIND" >&6
2344else
2345  echo "$as_me:2345: result: no" >&5
2346echo "${ECHO_T}no" >&6
2347fi
2348
2349  test -n "$FIND" && break
2350done
2351
2352for ac_prog in grep
2353do
2354  # Extract the first word of "$ac_prog", so it can be a program name with args.
2355set dummy $ac_prog; ac_word=$2
2356echo "$as_me:2356: checking for $ac_word" >&5
2357echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358if test "${ac_cv_prog_GREP+set}" = set; then
2359  echo $ECHO_N "(cached) $ECHO_C" >&6
2360else
2361  if test -n "$GREP"; then
2362  ac_cv_prog_GREP="$GREP" # Let the user override the test.
2363else
2364  ac_save_IFS=$IFS; IFS=$ac_path_separator
2365ac_dummy="$PATH"
2366for ac_dir in $ac_dummy; do
2367  IFS=$ac_save_IFS
2368  test -z "$ac_dir" && ac_dir=.
2369  $as_executable_p "$ac_dir/$ac_word" || continue
2370ac_cv_prog_GREP="$ac_prog"
2371echo "$as_me:2371: found $ac_dir/$ac_word" >&5
2372break
2373done
2374
2375fi
2376fi
2377GREP=$ac_cv_prog_GREP
2378if test -n "$GREP"; then
2379  echo "$as_me:2379: result: $GREP" >&5
2380echo "${ECHO_T}$GREP" >&6
2381else
2382  echo "$as_me:2382: result: no" >&5
2383echo "${ECHO_T}no" >&6
2384fi
2385
2386  test -n "$GREP" && break
2387done
2388
2389for ac_prog in groff true
2390do
2391  # Extract the first word of "$ac_prog", so it can be a program name with args.
2392set dummy $ac_prog; ac_word=$2
2393echo "$as_me:2393: checking for $ac_word" >&5
2394echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2395if test "${ac_cv_prog_GROFF+set}" = set; then
2396  echo $ECHO_N "(cached) $ECHO_C" >&6
2397else
2398  if test -n "$GROFF"; then
2399  ac_cv_prog_GROFF="$GROFF" # Let the user override the test.
2400else
2401  ac_save_IFS=$IFS; IFS=$ac_path_separator
2402ac_dummy="$PATH"
2403for ac_dir in $ac_dummy; do
2404  IFS=$ac_save_IFS
2405  test -z "$ac_dir" && ac_dir=.
2406  $as_executable_p "$ac_dir/$ac_word" || continue
2407ac_cv_prog_GROFF="$ac_prog"
2408echo "$as_me:2408: found $ac_dir/$ac_word" >&5
2409break
2410done
2411
2412fi
2413fi
2414GROFF=$ac_cv_prog_GROFF
2415if test -n "$GROFF"; then
2416  echo "$as_me:2416: result: $GROFF" >&5
2417echo "${ECHO_T}$GROFF" >&6
2418else
2419  echo "$as_me:2419: result: no" >&5
2420echo "${ECHO_T}no" >&6
2421fi
2422
2423  test -n "$GROFF" && break
2424done
2425
2426for ac_prog in gzip
2427do
2428  # Extract the first word of "$ac_prog", so it can be a program name with args.
2429set dummy $ac_prog; ac_word=$2
2430echo "$as_me:2430: checking for $ac_word" >&5
2431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432if test "${ac_cv_prog_GZIP+set}" = set; then
2433  echo $ECHO_N "(cached) $ECHO_C" >&6
2434else
2435  if test -n "$GZIP"; then
2436  ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
2437else
2438  ac_save_IFS=$IFS; IFS=$ac_path_separator
2439ac_dummy="$PATH"
2440for ac_dir in $ac_dummy; do
2441  IFS=$ac_save_IFS
2442  test -z "$ac_dir" && ac_dir=.
2443  $as_executable_p "$ac_dir/$ac_word" || continue
2444ac_cv_prog_GZIP="$ac_prog"
2445echo "$as_me:2445: found $ac_dir/$ac_word" >&5
2446break
2447done
2448
2449fi
2450fi
2451GZIP=$ac_cv_prog_GZIP
2452if test -n "$GZIP"; then
2453  echo "$as_me:2453: result: $GZIP" >&5
2454echo "${ECHO_T}$GZIP" >&6
2455else
2456  echo "$as_me:2456: result: no" >&5
2457echo "${ECHO_T}no" >&6
2458fi
2459
2460  test -n "$GZIP" && break
2461done
2462
2463for ac_prog in html-ncheck html-check true
2464do
2465  # Extract the first word of "$ac_prog", so it can be a program name with args.
2466set dummy $ac_prog; ac_word=$2
2467echo "$as_me:2467: checking for $ac_word" >&5
2468echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469if test "${ac_cv_prog_HTMLCHECK+set}" = set; then
2470  echo $ECHO_N "(cached) $ECHO_C" >&6
2471else
2472  if test -n "$HTMLCHECK"; then
2473  ac_cv_prog_HTMLCHECK="$HTMLCHECK" # Let the user override the test.
2474else
2475  ac_save_IFS=$IFS; IFS=$ac_path_separator
2476ac_dummy="$PATH"
2477for ac_dir in $ac_dummy; do
2478  IFS=$ac_save_IFS
2479  test -z "$ac_dir" && ac_dir=.
2480  $as_executable_p "$ac_dir/$ac_word" || continue
2481ac_cv_prog_HTMLCHECK="$ac_prog"
2482echo "$as_me:2482: found $ac_dir/$ac_word" >&5
2483break
2484done
2485
2486fi
2487fi
2488HTMLCHECK=$ac_cv_prog_HTMLCHECK
2489if test -n "$HTMLCHECK"; then
2490  echo "$as_me:2490: result: $HTMLCHECK" >&5
2491echo "${ECHO_T}$HTMLCHECK" >&6
2492else
2493  echo "$as_me:2493: result: no" >&5
2494echo "${ECHO_T}no" >&6
2495fi
2496
2497  test -n "$HTMLCHECK" && break
2498done
2499
2500for ac_prog in ispell true
2501do
2502  # Extract the first word of "$ac_prog", so it can be a program name with args.
2503set dummy $ac_prog; ac_word=$2
2504echo "$as_me:2504: checking for $ac_word" >&5
2505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2506if test "${ac_cv_prog_ISPELL+set}" = set; then
2507  echo $ECHO_N "(cached) $ECHO_C" >&6
2508else
2509  if test -n "$ISPELL"; then
2510  ac_cv_prog_ISPELL="$ISPELL" # Let the user override the test.
2511else
2512  ac_save_IFS=$IFS; IFS=$ac_path_separator
2513ac_dummy="$PATH"
2514for ac_dir in $ac_dummy; do
2515  IFS=$ac_save_IFS
2516  test -z "$ac_dir" && ac_dir=.
2517  $as_executable_p "$ac_dir/$ac_word" || continue
2518ac_cv_prog_ISPELL="$ac_prog"
2519echo "$as_me:2519: found $ac_dir/$ac_word" >&5
2520break
2521done
2522
2523fi
2524fi
2525ISPELL=$ac_cv_prog_ISPELL
2526if test -n "$ISPELL"; then
2527  echo "$as_me:2527: result: $ISPELL" >&5
2528echo "${ECHO_T}$ISPELL" >&6
2529else
2530  echo "$as_me:2530: result: no" >&5
2531echo "${ECHO_T}no" >&6
2532fi
2533
2534  test -n "$ISPELL" && break
2535done
2536
2537for ac_prog in flex lex
2538do
2539  # Extract the first word of "$ac_prog", so it can be a program name with args.
2540set dummy $ac_prog; ac_word=$2
2541echo "$as_me:2541: checking for $ac_word" >&5
2542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543if test "${ac_cv_prog_LEX+set}" = set; then
2544  echo $ECHO_N "(cached) $ECHO_C" >&6
2545else
2546  if test -n "$LEX"; then
2547  ac_cv_prog_LEX="$LEX" # Let the user override the test.
2548else
2549  ac_save_IFS=$IFS; IFS=$ac_path_separator
2550ac_dummy="$PATH"
2551for ac_dir in $ac_dummy; do
2552  IFS=$ac_save_IFS
2553  test -z "$ac_dir" && ac_dir=.
2554  $as_executable_p "$ac_dir/$ac_word" || continue
2555ac_cv_prog_LEX="$ac_prog"
2556echo "$as_me:2556: found $ac_dir/$ac_word" >&5
2557break
2558done
2559
2560fi
2561fi
2562LEX=$ac_cv_prog_LEX
2563if test -n "$LEX"; then
2564  echo "$as_me:2564: result: $LEX" >&5
2565echo "${ECHO_T}$LEX" >&6
2566else
2567  echo "$as_me:2567: result: no" >&5
2568echo "${ECHO_T}no" >&6
2569fi
2570
2571  test -n "$LEX" && break
2572done
2573
2574for ac_prog in ln
2575do
2576  # Extract the first word of "$ac_prog", so it can be a program name with args.
2577set dummy $ac_prog; ac_word=$2
2578echo "$as_me:2578: checking for $ac_word" >&5
2579echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2580if test "${ac_cv_prog_LN+set}" = set; then
2581  echo $ECHO_N "(cached) $ECHO_C" >&6
2582else
2583  if test -n "$LN"; then
2584  ac_cv_prog_LN="$LN" # Let the user override the test.
2585else
2586  ac_save_IFS=$IFS; IFS=$ac_path_separator
2587ac_dummy="$PATH"
2588for ac_dir in $ac_dummy; do
2589  IFS=$ac_save_IFS
2590  test -z "$ac_dir" && ac_dir=.
2591  $as_executable_p "$ac_dir/$ac_word" || continue
2592ac_cv_prog_LN="$ac_prog"
2593echo "$as_me:2593: found $ac_dir/$ac_word" >&5
2594break
2595done
2596
2597fi
2598fi
2599LN=$ac_cv_prog_LN
2600if test -n "$LN"; then
2601  echo "$as_me:2601: result: $LN" >&5
2602echo "${ECHO_T}$LN" >&6
2603else
2604  echo "$as_me:2604: result: no" >&5
2605echo "${ECHO_T}no" >&6
2606fi
2607
2608  test -n "$LN" && break
2609done
2610
2611for ac_prog in ls
2612do
2613  # Extract the first word of "$ac_prog", so it can be a program name with args.
2614set dummy $ac_prog; ac_word=$2
2615echo "$as_me:2615: checking for $ac_word" >&5
2616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617if test "${ac_cv_prog_LS+set}" = set; then
2618  echo $ECHO_N "(cached) $ECHO_C" >&6
2619else
2620  if test -n "$LS"; then
2621  ac_cv_prog_LS="$LS" # Let the user override the test.
2622else
2623  ac_save_IFS=$IFS; IFS=$ac_path_separator
2624ac_dummy="$PATH"
2625for ac_dir in $ac_dummy; do
2626  IFS=$ac_save_IFS
2627  test -z "$ac_dir" && ac_dir=.
2628  $as_executable_p "$ac_dir/$ac_word" || continue
2629ac_cv_prog_LS="$ac_prog"
2630echo "$as_me:2630: found $ac_dir/$ac_word" >&5
2631break
2632done
2633
2634fi
2635fi
2636LS=$ac_cv_prog_LS
2637if test -n "$LS"; then
2638  echo "$as_me:2638: result: $LS" >&5
2639echo "${ECHO_T}$LS" >&6
2640else
2641  echo "$as_me:2641: result: no" >&5
2642echo "${ECHO_T}no" >&6
2643fi
2644
2645  test -n "$LS" && break
2646done
2647
2648# Extract the first word of "mkdir", so it can be a program name with args.
2649set dummy mkdir; ac_word=$2
2650echo "$as_me:2650: checking for $ac_word" >&5
2651echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652if test "${ac_cv_prog_MKDIR+set}" = set; then
2653  echo $ECHO_N "(cached) $ECHO_C" >&6
2654else
2655  if test -n "$MKDIR"; then
2656  ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2657else
2658  ac_save_IFS=$IFS; IFS=$ac_path_separator
2659ac_dummy="$PATH"
2660for ac_dir in $ac_dummy; do
2661  IFS=$ac_save_IFS
2662  test -z "$ac_dir" && ac_dir=.
2663  $as_executable_p "$ac_dir/$ac_word" || continue
2664ac_cv_prog_MKDIR="mkdir -p"
2665echo "$as_me:2665: found $ac_dir/$ac_word" >&5
2666break
2667done
2668
2669fi
2670fi
2671MKDIR=$ac_cv_prog_MKDIR
2672if test -n "$MKDIR"; then
2673  echo "$as_me:2673: result: $MKDIR" >&5
2674echo "${ECHO_T}$MKDIR" >&6
2675else
2676  echo "$as_me:2676: result: no" >&5
2677echo "${ECHO_T}no" >&6
2678fi
2679
2680for ac_prog in mpack
2681do
2682  # Extract the first word of "$ac_prog", so it can be a program name with args.
2683set dummy $ac_prog; ac_word=$2
2684echo "$as_me:2684: checking for $ac_word" >&5
2685echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686if test "${ac_cv_prog_MPACK+set}" = set; then
2687  echo $ECHO_N "(cached) $ECHO_C" >&6
2688else
2689  if test -n "$MPACK"; then
2690  ac_cv_prog_MPACK="$MPACK" # Let the user override the test.
2691else
2692  ac_save_IFS=$IFS; IFS=$ac_path_separator
2693ac_dummy="$PATH"
2694for ac_dir in $ac_dummy; do
2695  IFS=$ac_save_IFS
2696  test -z "$ac_dir" && ac_dir=.
2697  $as_executable_p "$ac_dir/$ac_word" || continue
2698ac_cv_prog_MPACK="$ac_prog"
2699echo "$as_me:2699: found $ac_dir/$ac_word" >&5
2700break
2701done
2702
2703fi
2704fi
2705MPACK=$ac_cv_prog_MPACK
2706if test -n "$MPACK"; then
2707  echo "$as_me:2707: result: $MPACK" >&5
2708echo "${ECHO_T}$MPACK" >&6
2709else
2710  echo "$as_me:2710: result: no" >&5
2711echo "${ECHO_T}no" >&6
2712fi
2713
2714  test -n "$MPACK" && break
2715done
2716
2717for ac_prog in mv
2718do
2719  # Extract the first word of "$ac_prog", so it can be a program name with args.
2720set dummy $ac_prog; ac_word=$2
2721echo "$as_me:2721: checking for $ac_word" >&5
2722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723if test "${ac_cv_prog_MV+set}" = set; then
2724  echo $ECHO_N "(cached) $ECHO_C" >&6
2725else
2726  if test -n "$MV"; then
2727  ac_cv_prog_MV="$MV" # Let the user override the test.
2728else
2729  ac_save_IFS=$IFS; IFS=$ac_path_separator
2730ac_dummy="$PATH"
2731for ac_dir in $ac_dummy; do
2732  IFS=$ac_save_IFS
2733  test -z "$ac_dir" && ac_dir=.
2734  $as_executable_p "$ac_dir/$ac_word" || continue
2735ac_cv_prog_MV="$ac_prog"
2736echo "$as_me:2736: found $ac_dir/$ac_word" >&5
2737break
2738done
2739
2740fi
2741fi
2742MV=$ac_cv_prog_MV
2743if test -n "$MV"; then
2744  echo "$as_me:2744: result: $MV" >&5
2745echo "${ECHO_T}$MV" >&6
2746else
2747  echo "$as_me:2747: result: no" >&5
2748echo "${ECHO_T}no" >&6
2749fi
2750
2751  test -n "$MV" && break
2752done
2753
2754# Extract the first word of "groff", so it can be a program name with args.
2755set dummy groff; ac_word=$2
2756echo "$as_me:2756: checking for $ac_word" >&5
2757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2758if test "${ac_cv_prog_NROFF+set}" = set; then
2759  echo $ECHO_N "(cached) $ECHO_C" >&6
2760else
2761  if test -n "$NROFF"; then
2762  ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
2763else
2764  ac_save_IFS=$IFS; IFS=$ac_path_separator
2765ac_dummy="$PATH"
2766for ac_dir in $ac_dummy; do
2767  IFS=$ac_save_IFS
2768  test -z "$ac_dir" && ac_dir=.
2769  $as_executable_p "$ac_dir/$ac_word" || continue
2770ac_cv_prog_NROFF="groff -Tascii"
2771echo "$as_me:2771: found $ac_dir/$ac_word" >&5
2772break
2773done
2774
2775fi
2776fi
2777NROFF=$ac_cv_prog_NROFF
2778if test -n "$NROFF"; then
2779  echo "$as_me:2779: result: $NROFF" >&5
2780echo "${ECHO_T}$NROFF" >&6
2781else
2782  echo "$as_me:2782: result: no" >&5
2783echo "${ECHO_T}no" >&6
2784fi
2785
2786# Extract the first word of "nroff", so it can be a program name with args.
2787set dummy nroff; ac_word=$2
2788echo "$as_me:2788: checking for $ac_word" >&5
2789echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790if test "${ac_cv_prog_NROFF+set}" = set; then
2791  echo $ECHO_N "(cached) $ECHO_C" >&6
2792else
2793  if test -n "$NROFF"; then
2794  ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
2795else
2796  ac_save_IFS=$IFS; IFS=$ac_path_separator
2797ac_dummy="$PATH"
2798for ac_dir in $ac_dummy; do
2799  IFS=$ac_save_IFS
2800  test -z "$ac_dir" && ac_dir=.
2801  $as_executable_p "$ac_dir/$ac_word" || continue
2802ac_cv_prog_NROFF="nroff"
2803echo "$as_me:2803: found $ac_dir/$ac_word" >&5
2804break
2805done
2806
2807fi
2808fi
2809NROFF=$ac_cv_prog_NROFF
2810if test -n "$NROFF"; then
2811  echo "$as_me:2811: result: $NROFF" >&5
2812echo "${ECHO_T}$NROFF" >&6
2813else
2814  echo "$as_me:2814: result: no" >&5
2815echo "${ECHO_T}no" >&6
2816fi
2817
2818for ac_prog in sed
2819do
2820  # Extract the first word of "$ac_prog", so it can be a program name with args.
2821set dummy $ac_prog; ac_word=$2
2822echo "$as_me:2822: checking for $ac_word" >&5
2823echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2824if test "${ac_cv_prog_SED+set}" = set; then
2825  echo $ECHO_N "(cached) $ECHO_C" >&6
2826else
2827  if test -n "$SED"; then
2828  ac_cv_prog_SED="$SED" # Let the user override the test.
2829else
2830  ac_save_IFS=$IFS; IFS=$ac_path_separator
2831ac_dummy="$PATH"
2832for ac_dir in $ac_dummy; do
2833  IFS=$ac_save_IFS
2834  test -z "$ac_dir" && ac_dir=.
2835  $as_executable_p "$ac_dir/$ac_word" || continue
2836ac_cv_prog_SED="$ac_prog"
2837echo "$as_me:2837: found $ac_dir/$ac_word" >&5
2838break
2839done
2840
2841fi
2842fi
2843SED=$ac_cv_prog_SED
2844if test -n "$SED"; then
2845  echo "$as_me:2845: result: $SED" >&5
2846echo "${ECHO_T}$SED" >&6
2847else
2848  echo "$as_me:2848: result: no" >&5
2849echo "${ECHO_T}no" >&6
2850fi
2851
2852  test -n "$SED" && break
2853done
2854
2855for ac_prog in shar
2856do
2857  # Extract the first word of "$ac_prog", so it can be a program name with args.
2858set dummy $ac_prog; ac_word=$2
2859echo "$as_me:2859: checking for $ac_word" >&5
2860echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2861if test "${ac_cv_prog_SHAR+set}" = set; then
2862  echo $ECHO_N "(cached) $ECHO_C" >&6
2863else
2864  if test -n "$SHAR"; then
2865  ac_cv_prog_SHAR="$SHAR" # Let the user override the test.
2866else
2867  ac_save_IFS=$IFS; IFS=$ac_path_separator
2868ac_dummy="$PATH"
2869for ac_dir in $ac_dummy; do
2870  IFS=$ac_save_IFS
2871  test -z "$ac_dir" && ac_dir=.
2872  $as_executable_p "$ac_dir/$ac_word" || continue
2873ac_cv_prog_SHAR="$ac_prog"
2874echo "$as_me:2874: found $ac_dir/$ac_word" >&5
2875break
2876done
2877
2878fi
2879fi
2880SHAR=$ac_cv_prog_SHAR
2881if test -n "$SHAR"; then
2882  echo "$as_me:2882: result: $SHAR" >&5
2883echo "${ECHO_T}$SHAR" >&6
2884else
2885  echo "$as_me:2885: result: no" >&5
2886echo "${ECHO_T}no" >&6
2887fi
2888
2889  test -n "$SHAR" && break
2890done
2891
2892for ac_prog in sort
2893do
2894  # Extract the first word of "$ac_prog", so it can be a program name with args.
2895set dummy $ac_prog; ac_word=$2
2896echo "$as_me:2896: checking for $ac_word" >&5
2897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2898if test "${ac_cv_prog_SORT+set}" = set; then
2899  echo $ECHO_N "(cached) $ECHO_C" >&6
2900else
2901  if test -n "$SORT"; then
2902  ac_cv_prog_SORT="$SORT" # Let the user override the test.
2903else
2904  ac_save_IFS=$IFS; IFS=$ac_path_separator
2905ac_dummy="$PATH"
2906for ac_dir in $ac_dummy; do
2907  IFS=$ac_save_IFS
2908  test -z "$ac_dir" && ac_dir=.
2909  $as_executable_p "$ac_dir/$ac_word" || continue
2910ac_cv_prog_SORT="$ac_prog"
2911echo "$as_me:2911: found $ac_dir/$ac_word" >&5
2912break
2913done
2914
2915fi
2916fi
2917SORT=$ac_cv_prog_SORT
2918if test -n "$SORT"; then
2919  echo "$as_me:2919: result: $SORT" >&5
2920echo "${ECHO_T}$SORT" >&6
2921else
2922  echo "$as_me:2922: result: no" >&5
2923echo "${ECHO_T}no" >&6
2924fi
2925
2926  test -n "$SORT" && break
2927done
2928
2929for ac_prog in spell
2930do
2931  # Extract the first word of "$ac_prog", so it can be a program name with args.
2932set dummy $ac_prog; ac_word=$2
2933echo "$as_me:2933: checking for $ac_word" >&5
2934echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2935if test "${ac_cv_prog_SPELL+set}" = set; then
2936  echo $ECHO_N "(cached) $ECHO_C" >&6
2937else
2938  if test -n "$SPELL"; then
2939  ac_cv_prog_SPELL="$SPELL" # Let the user override the test.
2940else
2941  ac_save_IFS=$IFS; IFS=$ac_path_separator
2942ac_dummy="$PATH"
2943for ac_dir in $ac_dummy; do
2944  IFS=$ac_save_IFS
2945  test -z "$ac_dir" && ac_dir=.
2946  $as_executable_p "$ac_dir/$ac_word" || continue
2947ac_cv_prog_SPELL="$ac_prog"
2948echo "$as_me:2948: found $ac_dir/$ac_word" >&5
2949break
2950done
2951
2952fi
2953fi
2954SPELL=$ac_cv_prog_SPELL
2955if test -n "$SPELL"; then
2956  echo "$as_me:2956: result: $SPELL" >&5
2957echo "${ECHO_T}$SPELL" >&6
2958else
2959  echo "$as_me:2959: result: no" >&5
2960echo "${ECHO_T}no" >&6
2961fi
2962
2963  test -n "$SPELL" && break
2964done
2965
2966for ac_prog in gnutar gtar tar
2967do
2968  # Extract the first word of "$ac_prog", so it can be a program name with args.
2969set dummy $ac_prog; ac_word=$2
2970echo "$as_me:2970: checking for $ac_word" >&5
2971echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2972if test "${ac_cv_prog_TAR+set}" = set; then
2973  echo $ECHO_N "(cached) $ECHO_C" >&6
2974else
2975  if test -n "$TAR"; then
2976  ac_cv_prog_TAR="$TAR" # Let the user override the test.
2977else
2978  ac_save_IFS=$IFS; IFS=$ac_path_separator
2979ac_dummy="$PATH"
2980for ac_dir in $ac_dummy; do
2981  IFS=$ac_save_IFS
2982  test -z "$ac_dir" && ac_dir=.
2983  $as_executable_p "$ac_dir/$ac_word" || continue
2984ac_cv_prog_TAR="$ac_prog"
2985echo "$as_me:2985: found $ac_dir/$ac_word" >&5
2986break
2987done
2988
2989fi
2990fi
2991TAR=$ac_cv_prog_TAR
2992if test -n "$TAR"; then
2993  echo "$as_me:2993: result: $TAR" >&5
2994echo "${ECHO_T}$TAR" >&6
2995else
2996  echo "$as_me:2996: result: no" >&5
2997echo "${ECHO_T}no" >&6
2998fi
2999
3000  test -n "$TAR" && break
3001done
3002
3003for ac_prog in tee
3004do
3005  # Extract the first word of "$ac_prog", so it can be a program name with args.
3006set dummy $ac_prog; ac_word=$2
3007echo "$as_me:3007: checking for $ac_word" >&5
3008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009if test "${ac_cv_prog_TEE+set}" = set; then
3010  echo $ECHO_N "(cached) $ECHO_C" >&6
3011else
3012  if test -n "$TEE"; then
3013  ac_cv_prog_TEE="$TEE" # Let the user override the test.
3014else
3015  ac_save_IFS=$IFS; IFS=$ac_path_separator
3016ac_dummy="$PATH"
3017for ac_dir in $ac_dummy; do
3018  IFS=$ac_save_IFS
3019  test -z "$ac_dir" && ac_dir=.
3020  $as_executable_p "$ac_dir/$ac_word" || continue
3021ac_cv_prog_TEE="$ac_prog"
3022echo "$as_me:3022: found $ac_dir/$ac_word" >&5
3023break
3024done
3025
3026fi
3027fi
3028TEE=$ac_cv_prog_TEE
3029if test -n "$TEE"; then
3030  echo "$as_me:3030: result: $TEE" >&5
3031echo "${ECHO_T}$TEE" >&6
3032else
3033  echo "$as_me:3033: result: no" >&5
3034echo "${ECHO_T}no" >&6
3035fi
3036
3037  test -n "$TEE" && break
3038done
3039
3040for ac_prog in touch
3041do
3042  # Extract the first word of "$ac_prog", so it can be a program name with args.
3043set dummy $ac_prog; ac_word=$2
3044echo "$as_me:3044: checking for $ac_word" >&5
3045echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046if test "${ac_cv_prog_TOUCH+set}" = set; then
3047  echo $ECHO_N "(cached) $ECHO_C" >&6
3048else
3049  if test -n "$TOUCH"; then
3050  ac_cv_prog_TOUCH="$TOUCH" # Let the user override the test.
3051else
3052  ac_save_IFS=$IFS; IFS=$ac_path_separator
3053ac_dummy="$PATH"
3054for ac_dir in $ac_dummy; do
3055  IFS=$ac_save_IFS
3056  test -z "$ac_dir" && ac_dir=.
3057  $as_executable_p "$ac_dir/$ac_word" || continue
3058ac_cv_prog_TOUCH="$ac_prog"
3059echo "$as_me:3059: found $ac_dir/$ac_word" >&5
3060break
3061done
3062
3063fi
3064fi
3065TOUCH=$ac_cv_prog_TOUCH
3066if test -n "$TOUCH"; then
3067  echo "$as_me:3067: result: $TOUCH" >&5
3068echo "${ECHO_T}$TOUCH" >&6
3069else
3070  echo "$as_me:3070: result: no" >&5
3071echo "${ECHO_T}no" >&6
3072fi
3073
3074  test -n "$TOUCH" && break
3075done
3076
3077for ac_prog in tr
3078do
3079  # Extract the first word of "$ac_prog", so it can be a program name with args.
3080set dummy $ac_prog; ac_word=$2
3081echo "$as_me:3081: checking for $ac_word" >&5
3082echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3083if test "${ac_cv_prog_TR+set}" = set; then
3084  echo $ECHO_N "(cached) $ECHO_C" >&6
3085else
3086  if test -n "$TR"; then
3087  ac_cv_prog_TR="$TR" # Let the user override the test.
3088else
3089  ac_save_IFS=$IFS; IFS=$ac_path_separator
3090ac_dummy="$PATH"
3091for ac_dir in $ac_dummy; do
3092  IFS=$ac_save_IFS
3093  test -z "$ac_dir" && ac_dir=.
3094  $as_executable_p "$ac_dir/$ac_word" || continue
3095ac_cv_prog_TR="$ac_prog"
3096echo "$as_me:3096: found $ac_dir/$ac_word" >&5
3097break
3098done
3099
3100fi
3101fi
3102TR=$ac_cv_prog_TR
3103if test -n "$TR"; then
3104  echo "$as_me:3104: result: $TR" >&5
3105echo "${ECHO_T}$TR" >&6
3106else
3107  echo "$as_me:3107: result: no" >&5
3108echo "${ECHO_T}no" >&6
3109fi
3110
3111  test -n "$TR" && break
3112done
3113
3114for ac_prog in true
3115do
3116  # Extract the first word of "$ac_prog", so it can be a program name with args.
3117set dummy $ac_prog; ac_word=$2
3118echo "$as_me:3118: checking for $ac_word" >&5
3119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120if test "${ac_cv_prog_TRUE+set}" = set; then
3121  echo $ECHO_N "(cached) $ECHO_C" >&6
3122else
3123  if test -n "$TRUE"; then
3124  ac_cv_prog_TRUE="$TRUE" # Let the user override the test.
3125else
3126  ac_save_IFS=$IFS; IFS=$ac_path_separator
3127ac_dummy="$PATH"
3128for ac_dir in $ac_dummy; do
3129  IFS=$ac_save_IFS
3130  test -z "$ac_dir" && ac_dir=.
3131  $as_executable_p "$ac_dir/$ac_word" || continue
3132ac_cv_prog_TRUE="$ac_prog"
3133echo "$as_me:3133: found $ac_dir/$ac_word" >&5
3134break
3135done
3136
3137fi
3138fi
3139TRUE=$ac_cv_prog_TRUE
3140if test -n "$TRUE"; then
3141  echo "$as_me:3141: result: $TRUE" >&5
3142echo "${ECHO_T}$TRUE" >&6
3143else
3144  echo "$as_me:3144: result: no" >&5
3145echo "${ECHO_T}no" >&6
3146fi
3147
3148  test -n "$TRUE" && break
3149done
3150
3151for ac_prog in unzip
3152do
3153  # Extract the first word of "$ac_prog", so it can be a program name with args.
3154set dummy $ac_prog; ac_word=$2
3155echo "$as_me:3155: checking for $ac_word" >&5
3156echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157if test "${ac_cv_prog_UNZIP+set}" = set; then
3158  echo $ECHO_N "(cached) $ECHO_C" >&6
3159else
3160  if test -n "$UNZIP"; then
3161  ac_cv_prog_UNZIP="$UNZIP" # Let the user override the test.
3162else
3163  ac_save_IFS=$IFS; IFS=$ac_path_separator
3164ac_dummy="$PATH"
3165for ac_dir in $ac_dummy; do
3166  IFS=$ac_save_IFS
3167  test -z "$ac_dir" && ac_dir=.
3168  $as_executable_p "$ac_dir/$ac_word" || continue
3169ac_cv_prog_UNZIP="$ac_prog"
3170echo "$as_me:3170: found $ac_dir/$ac_word" >&5
3171break
3172done
3173
3174fi
3175fi
3176UNZIP=$ac_cv_prog_UNZIP
3177if test -n "$UNZIP"; then
3178  echo "$as_me:3178: result: $UNZIP" >&5
3179echo "${ECHO_T}$UNZIP" >&6
3180else
3181  echo "$as_me:3181: result: no" >&5
3182echo "${ECHO_T}no" >&6
3183fi
3184
3185  test -n "$UNZIP" && break
3186done
3187
3188for ac_prog in uue uuencode
3189do
3190  # Extract the first word of "$ac_prog", so it can be a program name with args.
3191set dummy $ac_prog; ac_word=$2
3192echo "$as_me:3192: checking for $ac_word" >&5
3193echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3194if test "${ac_cv_prog_UUENCODE+set}" = set; then
3195  echo $ECHO_N "(cached) $ECHO_C" >&6
3196else
3197  if test -n "$UUENCODE"; then
3198  ac_cv_prog_UUENCODE="$UUENCODE" # Let the user override the test.
3199else
3200  ac_save_IFS=$IFS; IFS=$ac_path_separator
3201ac_dummy="$PATH"
3202for ac_dir in $ac_dummy; do
3203  IFS=$ac_save_IFS
3204  test -z "$ac_dir" && ac_dir=.
3205  $as_executable_p "$ac_dir/$ac_word" || continue
3206ac_cv_prog_UUENCODE="$ac_prog"
3207echo "$as_me:3207: found $ac_dir/$ac_word" >&5
3208break
3209done
3210
3211fi
3212fi
3213UUENCODE=$ac_cv_prog_UUENCODE
3214if test -n "$UUENCODE"; then
3215  echo "$as_me:3215: result: $UUENCODE" >&5
3216echo "${ECHO_T}$UUENCODE" >&6
3217else
3218  echo "$as_me:3218: result: no" >&5
3219echo "${ECHO_T}no" >&6
3220fi
3221
3222  test -n "$UUENCODE" && break
3223done
3224
3225for ac_prog in zip
3226do
3227  # Extract the first word of "$ac_prog", so it can be a program name with args.
3228set dummy $ac_prog; ac_word=$2
3229echo "$as_me:3229: checking for $ac_word" >&5
3230echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3231if test "${ac_cv_prog_ZIP+set}" = set; then
3232  echo $ECHO_N "(cached) $ECHO_C" >&6
3233else
3234  if test -n "$ZIP"; then
3235  ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3236else
3237  ac_save_IFS=$IFS; IFS=$ac_path_separator
3238ac_dummy="$PATH"
3239for ac_dir in $ac_dummy; do
3240  IFS=$ac_save_IFS
3241  test -z "$ac_dir" && ac_dir=.
3242  $as_executable_p "$ac_dir/$ac_word" || continue
3243ac_cv_prog_ZIP="$ac_prog"
3244echo "$as_me:3244: found $ac_dir/$ac_word" >&5
3245break
3246done
3247
3248fi
3249fi
3250ZIP=$ac_cv_prog_ZIP
3251if test -n "$ZIP"; then
3252  echo "$as_me:3252: result: $ZIP" >&5
3253echo "${ECHO_T}$ZIP" >&6
3254else
3255  echo "$as_me:3255: result: no" >&5
3256echo "${ECHO_T}no" >&6
3257fi
3258
3259  test -n "$ZIP" && break
3260done
3261
3262for ac_prog in zoo
3263do
3264  # Extract the first word of "$ac_prog", so it can be a program name with args.
3265set dummy $ac_prog; ac_word=$2
3266echo "$as_me:3266: checking for $ac_word" >&5
3267echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3268if test "${ac_cv_prog_ZOO+set}" = set; then
3269  echo $ECHO_N "(cached) $ECHO_C" >&6
3270else
3271  if test -n "$ZOO"; then
3272  ac_cv_prog_ZOO="$ZOO" # Let the user override the test.
3273else
3274  ac_save_IFS=$IFS; IFS=$ac_path_separator
3275ac_dummy="$PATH"
3276for ac_dir in $ac_dummy; do
3277  IFS=$ac_save_IFS
3278  test -z "$ac_dir" && ac_dir=.
3279  $as_executable_p "$ac_dir/$ac_word" || continue
3280ac_cv_prog_ZOO="$ac_prog"
3281echo "$as_me:3281: found $ac_dir/$ac_word" >&5
3282break
3283done
3284
3285fi
3286fi
3287ZOO=$ac_cv_prog_ZOO
3288if test -n "$ZOO"; then
3289  echo "$as_me:3289: result: $ZOO" >&5
3290echo "${ECHO_T}$ZOO" >&6
3291else
3292  echo "$as_me:3292: result: no" >&5
3293echo "${ECHO_T}no" >&6
3294fi
3295
3296  test -n "$ZOO" && break
3297done
3298
3299LEX="$ac_cv_prog_LEX"
3300if test "xx$LEX" = "xxlex"
3301then
3302    if test "xx$cc_lang" = "xxC++"
3303    then
3304	echo "$as_me:3304: checking for lex/flex library" >&5
3305echo $ECHO_N "checking for lex/flex library... $ECHO_C" >&6
3306	SAVELIBS="$LIBS"
3307	LIBS="$SAVELIBS -ll"
3308
3309cat >conftest.$ac_ext <<_ACEOF
3310#line 3310 "configure"
3311#include "confdefs.h"
3312
3313int
3314main ()
3315{
3316
3317  ;
3318  return 0;
3319}
3320_ACEOF
3321rm -f conftest.$ac_objext conftest$ac_exeext
3322if { (eval echo "$as_me:3322: \"$ac_link\"") >&5
3323  (eval $ac_link) 2>&5
3324  ac_status=$?
3325  echo "$as_me:3325: \$? = $ac_status" >&5
3326  (exit $ac_status); } &&
3327         { ac_try='test -s conftest$ac_exeext'
3328  { (eval echo "$as_me:3328: \"$ac_try\"") >&5
3329  (eval $ac_try) 2>&5
3330  ac_status=$?
3331  echo "$as_me:3331: \$? = $ac_status" >&5
3332  (exit $ac_status); }; }; then
3333  LL=-ll
3334else
3335  echo "$as_me: failed program was:" >&5
3336cat conftest.$ac_ext >&5
3337LIBS="$SAVELIBS -lfl"
3338		cat >conftest.$ac_ext <<_ACEOF
3339#line 3339 "configure"
3340#include "confdefs.h"
3341
3342int
3343main ()
3344{
3345
3346  ;
3347  return 0;
3348}
3349_ACEOF
3350rm -f conftest.$ac_objext conftest$ac_exeext
3351if { (eval echo "$as_me:3351: \"$ac_link\"") >&5
3352  (eval $ac_link) 2>&5
3353  ac_status=$?
3354  echo "$as_me:3354: \$? = $ac_status" >&5
3355  (exit $ac_status); } &&
3356         { ac_try='test -s conftest$ac_exeext'
3357  { (eval echo "$as_me:3357: \"$ac_try\"") >&5
3358  (eval $ac_try) 2>&5
3359  ac_status=$?
3360  echo "$as_me:3360: \$? = $ac_status" >&5
3361  (exit $ac_status); }; }; then
3362  LL=-lfl
3363else
3364  echo "$as_me: failed program was:" >&5
3365cat conftest.$ac_ext >&5
3366LL=
3367fi
3368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3369fi
3370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3371	LIBS="$SAVELIBS $LL"
3372	echo "$as_me:3372: result: $LL" >&5
3373echo "${ECHO_T}$LL" >&6
3374    else
3375
3376echo "$as_me:3376: checking for yywrap in -ll" >&5
3377echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3378if test "${ac_cv_lib_l_yywrap+set}" = set; then
3379  echo $ECHO_N "(cached) $ECHO_C" >&6
3380else
3381  ac_check_lib_save_LIBS=$LIBS
3382LIBS="-ll  $LIBS"
3383cat >conftest.$ac_ext <<_ACEOF
3384#line 3384 "configure"
3385#include "confdefs.h"
3386
3387/* Override any gcc2 internal prototype to avoid an error.  */
3388#ifdef __cplusplus
3389extern "C"
3390#endif
3391/* We use char because int might match the return type of a gcc2
3392   builtin and then its argument prototype would still apply.  */
3393char yywrap ();
3394int
3395main ()
3396{
3397yywrap ();
3398  ;
3399  return 0;
3400}
3401_ACEOF
3402rm -f conftest.$ac_objext conftest$ac_exeext
3403if { (eval echo "$as_me:3403: \"$ac_link\"") >&5
3404  (eval $ac_link) 2>&5
3405  ac_status=$?
3406  echo "$as_me:3406: \$? = $ac_status" >&5
3407  (exit $ac_status); } &&
3408         { ac_try='test -s conftest$ac_exeext'
3409  { (eval echo "$as_me:3409: \"$ac_try\"") >&5
3410  (eval $ac_try) 2>&5
3411  ac_status=$?
3412  echo "$as_me:3412: \$? = $ac_status" >&5
3413  (exit $ac_status); }; }; then
3414  ac_cv_lib_l_yywrap=yes
3415else
3416  echo "$as_me: failed program was:" >&5
3417cat conftest.$ac_ext >&5
3418ac_cv_lib_l_yywrap=no
3419fi
3420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3421LIBS=$ac_check_lib_save_LIBS
3422fi
3423echo "$as_me:3423: result: $ac_cv_lib_l_yywrap" >&5
3424echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3425if test $ac_cv_lib_l_yywrap = yes; then
3426  cat >>confdefs.h <<EOF
3427#define HAVE_LIBL 1
3428EOF
3429
3430  LIBS="-ll $LIBS"
3431
3432else
3433
3434echo "$as_me:3434: checking for yywrap in -lfl" >&5
3435echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3436if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3437  echo $ECHO_N "(cached) $ECHO_C" >&6
3438else
3439  ac_check_lib_save_LIBS=$LIBS
3440LIBS="-lfl  $LIBS"
3441cat >conftest.$ac_ext <<_ACEOF
3442#line 3442 "configure"
3443#include "confdefs.h"
3444
3445/* Override any gcc2 internal prototype to avoid an error.  */
3446#ifdef __cplusplus
3447extern "C"
3448#endif
3449/* We use char because int might match the return type of a gcc2
3450   builtin and then its argument prototype would still apply.  */
3451char yywrap ();
3452int
3453main ()
3454{
3455yywrap ();
3456  ;
3457  return 0;
3458}
3459_ACEOF
3460rm -f conftest.$ac_objext conftest$ac_exeext
3461if { (eval echo "$as_me:3461: \"$ac_link\"") >&5
3462  (eval $ac_link) 2>&5
3463  ac_status=$?
3464  echo "$as_me:3464: \$? = $ac_status" >&5
3465  (exit $ac_status); } &&
3466         { ac_try='test -s conftest$ac_exeext'
3467  { (eval echo "$as_me:3467: \"$ac_try\"") >&5
3468  (eval $ac_try) 2>&5
3469  ac_status=$?
3470  echo "$as_me:3470: \$? = $ac_status" >&5
3471  (exit $ac_status); }; }; then
3472  ac_cv_lib_fl_yywrap=yes
3473else
3474  echo "$as_me: failed program was:" >&5
3475cat conftest.$ac_ext >&5
3476ac_cv_lib_fl_yywrap=no
3477fi
3478rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3479LIBS=$ac_check_lib_save_LIBS
3480fi
3481echo "$as_me:3481: result: $ac_cv_lib_fl_yywrap" >&5
3482echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3483if test $ac_cv_lib_fl_yywrap = yes; then
3484  cat >>confdefs.h <<EOF
3485#define HAVE_LIBFL 1
3486EOF
3487
3488  LIBS="-lfl $LIBS"
3489
3490fi
3491
3492fi
3493
3494    fi
3495else
3496    LDFLAGS="-L/usr/local/lib $LDFLAGS"
3497    if test "xx$cc_lang" = "xxC++"
3498    then
3499	echo "$as_me:3499: checking for flex library" >&5
3500echo $ECHO_N "checking for flex library... $ECHO_C" >&6
3501	SAVELIBS="$LIBS"
3502	LIBS="$SAVELIBS -lfl"
3503	cat >conftest.$ac_ext <<_ACEOF
3504#line 3504 "configure"
3505#include "confdefs.h"
3506
3507int
3508main ()
3509{
3510
3511  ;
3512  return 0;
3513}
3514_ACEOF
3515rm -f conftest.$ac_objext conftest$ac_exeext
3516if { (eval echo "$as_me:3516: \"$ac_link\"") >&5
3517  (eval $ac_link) 2>&5
3518  ac_status=$?
3519  echo "$as_me:3519: \$? = $ac_status" >&5
3520  (exit $ac_status); } &&
3521         { ac_try='test -s conftest$ac_exeext'
3522  { (eval echo "$as_me:3522: \"$ac_try\"") >&5
3523  (eval $ac_try) 2>&5
3524  ac_status=$?
3525  echo "$as_me:3525: \$? = $ac_status" >&5
3526  (exit $ac_status); }; }; then
3527  LL=-lfl
3528else
3529  echo "$as_me: failed program was:" >&5
3530cat conftest.$ac_ext >&5
3531LL=
3532fi
3533rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3534	LIBS="$SAVELIBS $LL"
3535	echo "$as_me:3535: result: $LL" >&5
3536echo "${ECHO_T}$LL" >&6
3537    else
3538
3539echo "$as_me:3539: checking for yywrap in -lfl" >&5
3540echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3541if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3542  echo $ECHO_N "(cached) $ECHO_C" >&6
3543else
3544  ac_check_lib_save_LIBS=$LIBS
3545LIBS="-lfl  $LIBS"
3546cat >conftest.$ac_ext <<_ACEOF
3547#line 3547 "configure"
3548#include "confdefs.h"
3549
3550/* Override any gcc2 internal prototype to avoid an error.  */
3551#ifdef __cplusplus
3552extern "C"
3553#endif
3554/* We use char because int might match the return type of a gcc2
3555   builtin and then its argument prototype would still apply.  */
3556char yywrap ();
3557int
3558main ()
3559{
3560yywrap ();
3561  ;
3562  return 0;
3563}
3564_ACEOF
3565rm -f conftest.$ac_objext conftest$ac_exeext
3566if { (eval echo "$as_me:3566: \"$ac_link\"") >&5
3567  (eval $ac_link) 2>&5
3568  ac_status=$?
3569  echo "$as_me:3569: \$? = $ac_status" >&5
3570  (exit $ac_status); } &&
3571         { ac_try='test -s conftest$ac_exeext'
3572  { (eval echo "$as_me:3572: \"$ac_try\"") >&5
3573  (eval $ac_try) 2>&5
3574  ac_status=$?
3575  echo "$as_me:3575: \$? = $ac_status" >&5
3576  (exit $ac_status); }; }; then
3577  ac_cv_lib_fl_yywrap=yes
3578else
3579  echo "$as_me: failed program was:" >&5
3580cat conftest.$ac_ext >&5
3581ac_cv_lib_fl_yywrap=no
3582fi
3583rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3584LIBS=$ac_check_lib_save_LIBS
3585fi
3586echo "$as_me:3586: result: $ac_cv_lib_fl_yywrap" >&5
3587echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3588if test $ac_cv_lib_fl_yywrap = yes; then
3589  cat >>confdefs.h <<EOF
3590#define HAVE_LIBFL 1
3591EOF
3592
3593  LIBS="-lfl $LIBS"
3594
3595fi
3596
3597    fi
3598fi
3599
3600if test "xx$LEX" = "xxflex"
3601then
3602    LEX="flex -l"
3603elif test "xx$LEX" = "xxlex"
3604then
3605    if test "xx`uname -s`" = "xxAIX"
3606    then
3607	true
3608    elif echo %% | lex -l 2>/dev/null 1>&2
3609    then
3610	LEX="lex -l"
3611    fi
3612    rm -f lex.yy.c 2>/dev/null
3613fi
3614
3615echo "$as_me:3615: checking for Standard C/C++ function declarations" >&5
3616echo $ECHO_N "checking for Standard C/C++ function declarations... $ECHO_C" >&6
3617cat >conftest.$ac_ext <<_ACEOF
3618#line 3618 "configure"
3619#include "confdefs.h"
3620void foo(void){}
3621int bar(int x, float y, char z){return 1;}
3622int
3623main ()
3624{
3625
3626  ;
3627  return 0;
3628}
3629_ACEOF
3630rm -f conftest.$ac_objext
3631if { (eval echo "$as_me:3631: \"$ac_compile\"") >&5
3632  (eval $ac_compile) 2>&5
3633  ac_status=$?
3634  echo "$as_me:3634: \$? = $ac_status" >&5
3635  (exit $ac_status); } &&
3636         { ac_try='test -s conftest.$ac_objext'
3637  { (eval echo "$as_me:3637: \"$ac_try\"") >&5
3638  (eval $ac_try) 2>&5
3639  ac_status=$?
3640  echo "$as_me:3640: \$? = $ac_status" >&5
3641  (exit $ac_status); }; }; then
3642  echo "$as_me:3642: result: yes" >&5
3643echo "${ECHO_T}yes" >&6
3644    cat >>confdefs.h <<\EOF
3645#define STDC 1
3646EOF
3647
3648else
3649  echo "$as_me: failed program was:" >&5
3650cat conftest.$ac_ext >&5
3651echo "$as_me:3651: result: no" >&5
3652echo "${ECHO_T}no" >&6
3653fi
3654rm -f conftest.$ac_objext conftest.$ac_ext
3655
3656echo "$as_me:3656: checking for void* pointer support" >&5
3657echo $ECHO_N "checking for void* pointer support... $ECHO_C" >&6
3658cat >conftest.$ac_ext <<_ACEOF
3659#line 3659 "configure"
3660#include "confdefs.h"
3661
3662int
3663main ()
3664{
3665char *p = (char*)(void*)"x";
3666  ;
3667  return 0;
3668}
3669_ACEOF
3670rm -f conftest.$ac_objext
3671if { (eval echo "$as_me:3671: \"$ac_compile\"") >&5
3672  (eval $ac_compile) 2>&5
3673  ac_status=$?
3674  echo "$as_me:3674: \$? = $ac_status" >&5
3675  (exit $ac_status); } &&
3676         { ac_try='test -s conftest.$ac_objext'
3677  { (eval echo "$as_me:3677: \"$ac_try\"") >&5
3678  (eval $ac_try) 2>&5
3679  ac_status=$?
3680  echo "$as_me:3680: \$? = $ac_status" >&5
3681  (exit $ac_status); }; }; then
3682  echo "$as_me:3682: result: yes" >&5
3683echo "${ECHO_T}yes" >&6
3684    cat >>confdefs.h <<\EOF
3685#define HAVE_VOIDP 1
3686EOF
3687
3688else
3689  echo "$as_me: failed program was:" >&5
3690cat conftest.$ac_ext >&5
3691echo "$as_me:3691: result: no" >&5
3692echo "${ECHO_T}no" >&6
3693fi
3694rm -f conftest.$ac_objext conftest.$ac_ext
3695
3696ac_ext=c
3697ac_cpp='$CPP $CPPFLAGS'
3698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701echo "$as_me:3701: checking how to run the C preprocessor" >&5
3702echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3703# On Suns, sometimes $CPP names a directory.
3704if test -n "$CPP" && test -d "$CPP"; then
3705  CPP=
3706fi
3707if test -z "$CPP"; then
3708  if test "${ac_cv_prog_CPP+set}" = set; then
3709  echo $ECHO_N "(cached) $ECHO_C" >&6
3710else
3711      # Double quotes because CPP needs to be expanded
3712    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3713    do
3714      ac_preproc_ok=false
3715for ac_c_preproc_warn_flag in '' yes
3716do
3717  # Use a header file that comes with gcc, so configuring glibc
3718  # with a fresh cross-compiler works.
3719  # On the NeXT, cc -E runs the code through the compiler's parser,
3720  # not just through cpp. "Syntax error" is here to catch this case.
3721  cat >conftest.$ac_ext <<_ACEOF
3722#line 3722 "configure"
3723#include "confdefs.h"
3724#include <assert.h>
3725                     Syntax error
3726_ACEOF
3727if { (eval echo "$as_me:3727: \"$ac_cpp conftest.$ac_ext\"") >&5
3728  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3729  ac_status=$?
3730  egrep -v '^ *\+' conftest.er1 >conftest.err
3731  rm -f conftest.er1
3732  cat conftest.err >&5
3733  echo "$as_me:3733: \$? = $ac_status" >&5
3734  (exit $ac_status); } >/dev/null; then
3735  if test -s conftest.err; then
3736    ac_cpp_err=$ac_c_preproc_warn_flag
3737  else
3738    ac_cpp_err=
3739  fi
3740else
3741  ac_cpp_err=yes
3742fi
3743if test -z "$ac_cpp_err"; then
3744  :
3745else
3746  echo "$as_me: failed program was:" >&5
3747  cat conftest.$ac_ext >&5
3748  # Broken: fails on valid input.
3749continue
3750fi
3751rm -f conftest.err conftest.$ac_ext
3752
3753  # OK, works on sane cases.  Now check whether non-existent headers
3754  # can be detected and how.
3755  cat >conftest.$ac_ext <<_ACEOF
3756#line 3756 "configure"
3757#include "confdefs.h"
3758#include <ac_nonexistent.h>
3759_ACEOF
3760if { (eval echo "$as_me:3760: \"$ac_cpp conftest.$ac_ext\"") >&5
3761  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3762  ac_status=$?
3763  egrep -v '^ *\+' conftest.er1 >conftest.err
3764  rm -f conftest.er1
3765  cat conftest.err >&5
3766  echo "$as_me:3766: \$? = $ac_status" >&5
3767  (exit $ac_status); } >/dev/null; then
3768  if test -s conftest.err; then
3769    ac_cpp_err=$ac_c_preproc_warn_flag
3770  else
3771    ac_cpp_err=
3772  fi
3773else
3774  ac_cpp_err=yes
3775fi
3776if test -z "$ac_cpp_err"; then
3777  # Broken: success on invalid input.
3778continue
3779else
3780  echo "$as_me: failed program was:" >&5
3781  cat conftest.$ac_ext >&5
3782  # Passes both tests.
3783ac_preproc_ok=:
3784break
3785fi
3786rm -f conftest.err conftest.$ac_ext
3787
3788done
3789# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3790rm -f conftest.err conftest.$ac_ext
3791if $ac_preproc_ok; then
3792  break
3793fi
3794
3795    done
3796    ac_cv_prog_CPP=$CPP
3797
3798fi
3799  CPP=$ac_cv_prog_CPP
3800else
3801  ac_cv_prog_CPP=$CPP
3802fi
3803echo "$as_me:3803: result: $CPP" >&5
3804echo "${ECHO_T}$CPP" >&6
3805ac_preproc_ok=false
3806for ac_c_preproc_warn_flag in '' yes
3807do
3808  # Use a header file that comes with gcc, so configuring glibc
3809  # with a fresh cross-compiler works.
3810  # On the NeXT, cc -E runs the code through the compiler's parser,
3811  # not just through cpp. "Syntax error" is here to catch this case.
3812  cat >conftest.$ac_ext <<_ACEOF
3813#line 3813 "configure"
3814#include "confdefs.h"
3815#include <assert.h>
3816                     Syntax error
3817_ACEOF
3818if { (eval echo "$as_me:3818: \"$ac_cpp conftest.$ac_ext\"") >&5
3819  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3820  ac_status=$?
3821  egrep -v '^ *\+' conftest.er1 >conftest.err
3822  rm -f conftest.er1
3823  cat conftest.err >&5
3824  echo "$as_me:3824: \$? = $ac_status" >&5
3825  (exit $ac_status); } >/dev/null; then
3826  if test -s conftest.err; then
3827    ac_cpp_err=$ac_c_preproc_warn_flag
3828  else
3829    ac_cpp_err=
3830  fi
3831else
3832  ac_cpp_err=yes
3833fi
3834if test -z "$ac_cpp_err"; then
3835  :
3836else
3837  echo "$as_me: failed program was:" >&5
3838  cat conftest.$ac_ext >&5
3839  # Broken: fails on valid input.
3840continue
3841fi
3842rm -f conftest.err conftest.$ac_ext
3843
3844  # OK, works on sane cases.  Now check whether non-existent headers
3845  # can be detected and how.
3846  cat >conftest.$ac_ext <<_ACEOF
3847#line 3847 "configure"
3848#include "confdefs.h"
3849#include <ac_nonexistent.h>
3850_ACEOF
3851if { (eval echo "$as_me:3851: \"$ac_cpp conftest.$ac_ext\"") >&5
3852  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3853  ac_status=$?
3854  egrep -v '^ *\+' conftest.er1 >conftest.err
3855  rm -f conftest.er1
3856  cat conftest.err >&5
3857  echo "$as_me:3857: \$? = $ac_status" >&5
3858  (exit $ac_status); } >/dev/null; then
3859  if test -s conftest.err; then
3860    ac_cpp_err=$ac_c_preproc_warn_flag
3861  else
3862    ac_cpp_err=
3863  fi
3864else
3865  ac_cpp_err=yes
3866fi
3867if test -z "$ac_cpp_err"; then
3868  # Broken: success on invalid input.
3869continue
3870else
3871  echo "$as_me: failed program was:" >&5
3872  cat conftest.$ac_ext >&5
3873  # Passes both tests.
3874ac_preproc_ok=:
3875break
3876fi
3877rm -f conftest.err conftest.$ac_ext
3878
3879done
3880# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3881rm -f conftest.err conftest.$ac_ext
3882if $ac_preproc_ok; then
3883  :
3884else
3885  { { echo "$as_me:3885: error: C preprocessor \"$CPP\" fails sanity check" >&5
3886echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3887   { (exit 1); exit 1; }; }
3888fi
3889
3890ac_ext=c
3891ac_cpp='$CPP $CPPFLAGS'
3892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895
3896echo "$as_me:3896: checking for ANSI C header files" >&5
3897echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3898if test "${ac_cv_header_stdc+set}" = set; then
3899  echo $ECHO_N "(cached) $ECHO_C" >&6
3900else
3901  cat >conftest.$ac_ext <<_ACEOF
3902#line 3902 "configure"
3903#include "confdefs.h"
3904#include <stdlib.h>
3905#include <stdarg.h>
3906#include <string.h>
3907#include <float.h>
3908
3909_ACEOF
3910if { (eval echo "$as_me:3910: \"$ac_cpp conftest.$ac_ext\"") >&5
3911  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3912  ac_status=$?
3913  egrep -v '^ *\+' conftest.er1 >conftest.err
3914  rm -f conftest.er1
3915  cat conftest.err >&5
3916  echo "$as_me:3916: \$? = $ac_status" >&5
3917  (exit $ac_status); } >/dev/null; then
3918  if test -s conftest.err; then
3919    ac_cpp_err=$ac_c_preproc_warn_flag
3920  else
3921    ac_cpp_err=
3922  fi
3923else
3924  ac_cpp_err=yes
3925fi
3926if test -z "$ac_cpp_err"; then
3927  ac_cv_header_stdc=yes
3928else
3929  echo "$as_me: failed program was:" >&5
3930  cat conftest.$ac_ext >&5
3931  ac_cv_header_stdc=no
3932fi
3933rm -f conftest.err conftest.$ac_ext
3934
3935if test $ac_cv_header_stdc = yes; then
3936  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3937  cat >conftest.$ac_ext <<_ACEOF
3938#line 3938 "configure"
3939#include "confdefs.h"
3940#include <string.h>
3941
3942_ACEOF
3943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3944  egrep "memchr" >/dev/null 2>&1; then
3945  :
3946else
3947  ac_cv_header_stdc=no
3948fi
3949rm -f conftest*
3950
3951fi
3952
3953if test $ac_cv_header_stdc = yes; then
3954  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3955  cat >conftest.$ac_ext <<_ACEOF
3956#line 3956 "configure"
3957#include "confdefs.h"
3958#include <stdlib.h>
3959
3960_ACEOF
3961if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3962  egrep "free" >/dev/null 2>&1; then
3963  :
3964else
3965  ac_cv_header_stdc=no
3966fi
3967rm -f conftest*
3968
3969fi
3970
3971if test $ac_cv_header_stdc = yes; then
3972  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3973  if test "$cross_compiling" = yes; then
3974  :
3975else
3976  cat >conftest.$ac_ext <<_ACEOF
3977#line 3977 "configure"
3978#include "confdefs.h"
3979#include <ctype.h>
3980#if ((' ' & 0x0FF) == 0x020)
3981# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3982# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3983#else
3984# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3985                     || ('j' <= (c) && (c) <= 'r') \
3986                     || ('s' <= (c) && (c) <= 'z'))
3987# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3988#endif
3989
3990#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3991int
3992main ()
3993{
3994  int i;
3995  for (i = 0; i < 256; i++)
3996    if (XOR (islower (i), ISLOWER (i))
3997        || toupper (i) != TOUPPER (i))
3998      return (2);
3999  return (0);
4000}
4001_ACEOF
4002rm -f conftest$ac_exeext
4003if { (eval echo "$as_me:4003: \"$ac_link\"") >&5
4004  (eval $ac_link) 2>&5
4005  ac_status=$?
4006  echo "$as_me:4006: \$? = $ac_status" >&5
4007  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4008  { (eval echo "$as_me:4008: \"$ac_try\"") >&5
4009  (eval $ac_try) 2>&5
4010  ac_status=$?
4011  echo "$as_me:4011: \$? = $ac_status" >&5
4012  (exit $ac_status); }; }; then
4013  :
4014else
4015  echo "$as_me: program exited with status $ac_status" >&5
4016echo "$as_me: failed program was:" >&5
4017cat conftest.$ac_ext >&5
4018ac_cv_header_stdc=no
4019fi
4020rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4021fi
4022fi
4023fi
4024echo "$as_me:4024: result: $ac_cv_header_stdc" >&5
4025echo "${ECHO_T}$ac_cv_header_stdc" >&6
4026if test $ac_cv_header_stdc = yes; then
4027
4028cat >>confdefs.h <<\EOF
4029#define STDC_HEADERS 1
4030EOF
4031
4032fi
4033
4034echo "$as_me:4034: checking for Standard C/C++ prototype support" >&5
4035echo $ECHO_N "checking for Standard C/C++ prototype support... $ECHO_C" >&6
4036cat >conftest.$ac_ext <<_ACEOF
4037#line 4037 "configure"
4038#include "confdefs.h"
4039
4040int
4041main ()
4042{
4043 extern int foo(int a, float b, char *c, double d);
4044  ;
4045  return 0;
4046}
4047_ACEOF
4048rm -f conftest.$ac_objext
4049if { (eval echo "$as_me:4049: \"$ac_compile\"") >&5
4050  (eval $ac_compile) 2>&5
4051  ac_status=$?
4052  echo "$as_me:4052: \$? = $ac_status" >&5
4053  (exit $ac_status); } &&
4054         { ac_try='test -s conftest.$ac_objext'
4055  { (eval echo "$as_me:4055: \"$ac_try\"") >&5
4056  (eval $ac_try) 2>&5
4057  ac_status=$?
4058  echo "$as_me:4058: \$? = $ac_status" >&5
4059  (exit $ac_status); }; }; then
4060  echo "$as_me:4060: result: yes" >&5
4061echo "${ECHO_T}yes" >&6
4062	    cat >>confdefs.h <<\EOF
4063#define HAVE_STDC_PROTOTYPES 1
4064EOF
4065
4066else
4067  echo "$as_me: failed program was:" >&5
4068cat conftest.$ac_ext >&5
4069echo "$as_me:4069: result: no" >&5
4070echo "${ECHO_T}no" >&6
4071fi
4072rm -f conftest.$ac_objext conftest.$ac_ext
4073
4074echo "$as_me:4074: checking for $CC option to accept ANSI C" >&5
4075echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4076if test "${ac_cv_prog_cc_stdc+set}" = set; then
4077  echo $ECHO_N "(cached) $ECHO_C" >&6
4078else
4079  ac_cv_prog_cc_stdc=no
4080ac_save_CC=$CC
4081cat >conftest.$ac_ext <<_ACEOF
4082#line 4082 "configure"
4083#include "confdefs.h"
4084#include <stdarg.h>
4085#include <stdio.h>
4086#include <sys/types.h>
4087#include <sys/stat.h>
4088/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4089struct buf { int x; };
4090FILE * (*rcsopen) (struct buf *, struct stat *, int);
4091static char *e (p, i)
4092     char **p;
4093     int i;
4094{
4095  return p[i];
4096}
4097static char *f (char * (*g) (char **, int), char **p, ...)
4098{
4099  char *s;
4100  va_list v;
4101  va_start (v,p);
4102  s = g (p, va_arg (v,int));
4103  va_end (v);
4104  return s;
4105}
4106int test (int i, double x);
4107struct s1 {int (*f) (int a);};
4108struct s2 {int (*f) (double a);};
4109int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4110int argc;
4111char **argv;
4112int
4113main ()
4114{
4115return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4116  ;
4117  return 0;
4118}
4119_ACEOF
4120# Don't try gcc -ansi; that turns off useful extensions and
4121# breaks some systems' header files.
4122# AIX			-qlanglvl=ansi
4123# Ultrix and OSF/1	-std1
4124# HP-UX 10.20 and later	-Ae
4125# HP-UX older versions	-Aa -D_HPUX_SOURCE
4126# SVR4			-Xc -D__EXTENSIONS__
4127for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4128do
4129  CC="$ac_save_CC $ac_arg"
4130  rm -f conftest.$ac_objext
4131if { (eval echo "$as_me:4131: \"$ac_compile\"") >&5
4132  (eval $ac_compile) 2>&5
4133  ac_status=$?
4134  echo "$as_me:4134: \$? = $ac_status" >&5
4135  (exit $ac_status); } &&
4136         { ac_try='test -s conftest.$ac_objext'
4137  { (eval echo "$as_me:4137: \"$ac_try\"") >&5
4138  (eval $ac_try) 2>&5
4139  ac_status=$?
4140  echo "$as_me:4140: \$? = $ac_status" >&5
4141  (exit $ac_status); }; }; then
4142  ac_cv_prog_cc_stdc=$ac_arg
4143break
4144else
4145  echo "$as_me: failed program was:" >&5
4146cat conftest.$ac_ext >&5
4147fi
4148rm -f conftest.$ac_objext
4149done
4150rm -f conftest.$ac_ext conftest.$ac_objext
4151CC=$ac_save_CC
4152
4153fi
4154
4155case "x$ac_cv_prog_cc_stdc" in
4156  x|xno)
4157    echo "$as_me:4157: result: none needed" >&5
4158echo "${ECHO_T}none needed" >&6 ;;
4159  *)
4160    echo "$as_me:4160: result: $ac_cv_prog_cc_stdc" >&5
4161echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4162    CC="$CC $ac_cv_prog_cc_stdc" ;;
4163esac
4164
4165echo "$as_me:4165: checking for an ANSI C-conforming const" >&5
4166echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4167if test "${ac_cv_c_const+set}" = set; then
4168  echo $ECHO_N "(cached) $ECHO_C" >&6
4169else
4170  cat >conftest.$ac_ext <<_ACEOF
4171#line 4171 "configure"
4172#include "confdefs.h"
4173
4174int
4175main ()
4176{
4177/* FIXME: Include the comments suggested by Paul. */
4178#ifndef __cplusplus
4179  /* Ultrix mips cc rejects this.  */
4180  typedef int charset[2];
4181  const charset x;
4182  /* SunOS 4.1.1 cc rejects this.  */
4183  char const *const *ccp;
4184  char **p;
4185  /* NEC SVR4.0.2 mips cc rejects this.  */
4186  struct point {int x, y;};
4187  static struct point const zero = {0,0};
4188  /* AIX XL C 1.02.0.0 rejects this.
4189     It does not let you subtract one const X* pointer from another in
4190     an arm of an if-expression whose if-part is not a constant
4191     expression */
4192  const char *g = "string";
4193  ccp = &g + (g ? g-g : 0);
4194  /* HPUX 7.0 cc rejects these. */
4195  ++ccp;
4196  p = (char**) ccp;
4197  ccp = (char const *const *) p;
4198  { /* SCO 3.2v4 cc rejects this.  */
4199    char *t;
4200    char const *s = 0 ? (char *) 0 : (char const *) 0;
4201
4202    *t++ = 0;
4203  }
4204  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4205    int x[] = {25, 17};
4206    const int *foo = &x[0];
4207    ++foo;
4208  }
4209  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4210    typedef const int *iptr;
4211    iptr p = 0;
4212    ++p;
4213  }
4214  { /* AIX XL C 1.02.0.0 rejects this saying
4215       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4216    struct s { int j; const int *ap[3]; };
4217    struct s *b; b->j = 5;
4218  }
4219  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4220    const int foo = 10;
4221  }
4222#endif
4223
4224  ;
4225  return 0;
4226}
4227_ACEOF
4228rm -f conftest.$ac_objext
4229if { (eval echo "$as_me:4229: \"$ac_compile\"") >&5
4230  (eval $ac_compile) 2>&5
4231  ac_status=$?
4232  echo "$as_me:4232: \$? = $ac_status" >&5
4233  (exit $ac_status); } &&
4234         { ac_try='test -s conftest.$ac_objext'
4235  { (eval echo "$as_me:4235: \"$ac_try\"") >&5
4236  (eval $ac_try) 2>&5
4237  ac_status=$?
4238  echo "$as_me:4238: \$? = $ac_status" >&5
4239  (exit $ac_status); }; }; then
4240  ac_cv_c_const=yes
4241else
4242  echo "$as_me: failed program was:" >&5
4243cat conftest.$ac_ext >&5
4244ac_cv_c_const=no
4245fi
4246rm -f conftest.$ac_objext conftest.$ac_ext
4247fi
4248echo "$as_me:4248: result: $ac_cv_c_const" >&5
4249echo "${ECHO_T}$ac_cv_c_const" >&6
4250if test $ac_cv_c_const = no; then
4251
4252cat >>confdefs.h <<\EOF
4253#define const
4254EOF
4255
4256fi
4257
4258# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4259
4260for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4261                  inttypes.h stdint.h unistd.h
4262do
4263as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4264echo "$as_me:4264: checking for $ac_header" >&5
4265echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4266if eval "test \"\${$as_ac_Header+set}\" = set"; then
4267  echo $ECHO_N "(cached) $ECHO_C" >&6
4268else
4269  cat >conftest.$ac_ext <<_ACEOF
4270#line 4270 "configure"
4271#include "confdefs.h"
4272$ac_includes_default
4273#include <$ac_header>
4274_ACEOF
4275rm -f conftest.$ac_objext
4276if { (eval echo "$as_me:4276: \"$ac_compile\"") >&5
4277  (eval $ac_compile) 2>&5
4278  ac_status=$?
4279  echo "$as_me:4279: \$? = $ac_status" >&5
4280  (exit $ac_status); } &&
4281         { ac_try='test -s conftest.$ac_objext'
4282  { (eval echo "$as_me:4282: \"$ac_try\"") >&5
4283  (eval $ac_try) 2>&5
4284  ac_status=$?
4285  echo "$as_me:4285: \$? = $ac_status" >&5
4286  (exit $ac_status); }; }; then
4287  eval "$as_ac_Header=yes"
4288else
4289  echo "$as_me: failed program was:" >&5
4290cat conftest.$ac_ext >&5
4291eval "$as_ac_Header=no"
4292fi
4293rm -f conftest.$ac_objext conftest.$ac_ext
4294fi
4295echo "$as_me:4295: result: `eval echo '${'$as_ac_Header'}'`" >&5
4296echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4297if test `eval echo '${'$as_ac_Header'}'` = yes; then
4298  cat >>confdefs.h <<EOF
4299#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4300EOF
4301
4302fi
4303done
4304
4305echo "$as_me:4305: checking for size_t" >&5
4306echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4307if test "${ac_cv_type_size_t+set}" = set; then
4308  echo $ECHO_N "(cached) $ECHO_C" >&6
4309else
4310  cat >conftest.$ac_ext <<_ACEOF
4311#line 4311 "configure"
4312#include "confdefs.h"
4313$ac_includes_default
4314int
4315main ()
4316{
4317if ((size_t *) 0)
4318  return 0;
4319if (sizeof (size_t))
4320  return 0;
4321  ;
4322  return 0;
4323}
4324_ACEOF
4325rm -f conftest.$ac_objext
4326if { (eval echo "$as_me:4326: \"$ac_compile\"") >&5
4327  (eval $ac_compile) 2>&5
4328  ac_status=$?
4329  echo "$as_me:4329: \$? = $ac_status" >&5
4330  (exit $ac_status); } &&
4331         { ac_try='test -s conftest.$ac_objext'
4332  { (eval echo "$as_me:4332: \"$ac_try\"") >&5
4333  (eval $ac_try) 2>&5
4334  ac_status=$?
4335  echo "$as_me:4335: \$? = $ac_status" >&5
4336  (exit $ac_status); }; }; then
4337  ac_cv_type_size_t=yes
4338else
4339  echo "$as_me: failed program was:" >&5
4340cat conftest.$ac_ext >&5
4341ac_cv_type_size_t=no
4342fi
4343rm -f conftest.$ac_objext conftest.$ac_ext
4344fi
4345echo "$as_me:4345: result: $ac_cv_type_size_t" >&5
4346echo "${ECHO_T}$ac_cv_type_size_t" >&6
4347if test $ac_cv_type_size_t = yes; then
4348  :
4349else
4350
4351cat >>confdefs.h <<EOF
4352#define size_t unsigned
4353EOF
4354
4355fi
4356
4357for ac_header in ctype.h fcntl.h io.h jsys.h libc.h  \
4358		limits.h pwd.h stdio.h stdlib.h string.h \
4359		sys/types.h sys/utsname.h time.h unistd.h
4360do
4361as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4362echo "$as_me:4362: checking for $ac_header" >&5
4363echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4364if eval "test \"\${$as_ac_Header+set}\" = set"; then
4365  echo $ECHO_N "(cached) $ECHO_C" >&6
4366else
4367  cat >conftest.$ac_ext <<_ACEOF
4368#line 4368 "configure"
4369#include "confdefs.h"
4370#include <$ac_header>
4371_ACEOF
4372if { (eval echo "$as_me:4372: \"$ac_cpp conftest.$ac_ext\"") >&5
4373  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4374  ac_status=$?
4375  egrep -v '^ *\+' conftest.er1 >conftest.err
4376  rm -f conftest.er1
4377  cat conftest.err >&5
4378  echo "$as_me:4378: \$? = $ac_status" >&5
4379  (exit $ac_status); } >/dev/null; then
4380  if test -s conftest.err; then
4381    ac_cpp_err=$ac_c_preproc_warn_flag
4382  else
4383    ac_cpp_err=
4384  fi
4385else
4386  ac_cpp_err=yes
4387fi
4388if test -z "$ac_cpp_err"; then
4389  eval "$as_ac_Header=yes"
4390else
4391  echo "$as_me: failed program was:" >&5
4392  cat conftest.$ac_ext >&5
4393  eval "$as_ac_Header=no"
4394fi
4395rm -f conftest.err conftest.$ac_ext
4396fi
4397echo "$as_me:4397: result: `eval echo '${'$as_ac_Header'}'`" >&5
4398echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4399if test `eval echo '${'$as_ac_Header'}'` = yes; then
4400  cat >>confdefs.h <<EOF
4401#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4402EOF
4403
4404fi
4405done
4406
4407for ac_func in strtok
4408do
4409as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4410echo "$as_me:4410: checking for $ac_func" >&5
4411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4412if eval "test \"\${$as_ac_var+set}\" = set"; then
4413  echo $ECHO_N "(cached) $ECHO_C" >&6
4414else
4415  cat >conftest.$ac_ext <<_ACEOF
4416#line 4416 "configure"
4417#include "confdefs.h"
4418/* System header to define __stub macros and hopefully few prototypes,
4419    which can conflict with char $ac_func (); below.  */
4420#include <assert.h>
4421/* Override any gcc2 internal prototype to avoid an error.  */
4422#ifdef __cplusplus
4423extern "C"
4424#endif
4425/* We use char because int might match the return type of a gcc2
4426   builtin and then its argument prototype would still apply.  */
4427char $ac_func ();
4428char (*f) ();
4429
4430int
4431main ()
4432{
4433/* The GNU C library defines this for functions which it implements
4434    to always fail with ENOSYS.  Some functions are actually named
4435    something starting with __ and the normal name is an alias.  */
4436#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4437choke me
4438#else
4439f = $ac_func;
4440#endif
4441
4442  ;
4443  return 0;
4444}
4445_ACEOF
4446rm -f conftest.$ac_objext conftest$ac_exeext
4447if { (eval echo "$as_me:4447: \"$ac_link\"") >&5
4448  (eval $ac_link) 2>&5
4449  ac_status=$?
4450  echo "$as_me:4450: \$? = $ac_status" >&5
4451  (exit $ac_status); } &&
4452         { ac_try='test -s conftest$ac_exeext'
4453  { (eval echo "$as_me:4453: \"$ac_try\"") >&5
4454  (eval $ac_try) 2>&5
4455  ac_status=$?
4456  echo "$as_me:4456: \$? = $ac_status" >&5
4457  (exit $ac_status); }; }; then
4458  eval "$as_ac_var=yes"
4459else
4460  echo "$as_me: failed program was:" >&5
4461cat conftest.$ac_ext >&5
4462eval "$as_ac_var=no"
4463fi
4464rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4465fi
4466echo "$as_me:4466: result: `eval echo '${'$as_ac_var'}'`" >&5
4467echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4468if test `eval echo '${'$as_ac_var'}'` = yes; then
4469  cat >>confdefs.h <<EOF
4470#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4471EOF
4472
4473fi
4474done
4475
4476if test $ac_cv_c_compiler_gnu = yes; then
4477    echo "$as_me:4477: checking whether $CC needs -traditional" >&5
4478echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4479if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4480  echo $ECHO_N "(cached) $ECHO_C" >&6
4481else
4482    ac_pattern="Autoconf.*'x'"
4483  cat >conftest.$ac_ext <<_ACEOF
4484#line 4484 "configure"
4485#include "confdefs.h"
4486#include <sgtty.h>
4487Autoconf TIOCGETP
4488_ACEOF
4489if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4490  egrep "$ac_pattern" >/dev/null 2>&1; then
4491  ac_cv_prog_gcc_traditional=yes
4492else
4493  ac_cv_prog_gcc_traditional=no
4494fi
4495rm -f conftest*
4496
4497  if test $ac_cv_prog_gcc_traditional = no; then
4498    cat >conftest.$ac_ext <<_ACEOF
4499#line 4499 "configure"
4500#include "confdefs.h"
4501#include <termio.h>
4502Autoconf TCGETA
4503_ACEOF
4504if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4505  egrep "$ac_pattern" >/dev/null 2>&1; then
4506  ac_cv_prog_gcc_traditional=yes
4507fi
4508rm -f conftest*
4509
4510  fi
4511fi
4512echo "$as_me:4512: result: $ac_cv_prog_gcc_traditional" >&5
4513echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4514  if test $ac_cv_prog_gcc_traditional = yes; then
4515    CC="$CC -traditional"
4516  fi
4517fi
4518
4519if test "$CC" = "lcc"
4520then
4521    CFLAGS="`echo $CFLAGS | sed -e 's/-g //g' -e 's/ -g$//g' -e 's/^-g$//'`"
4522fi
4523
4524echo "$as_me:4524: checking for argument type of ctime()" >&5
4525echo $ECHO_N "checking for argument type of ctime()... $ECHO_C" >&6
4526cat >conftest.$ac_ext <<_ACEOF
4527#line 4527 "configure"
4528#include "confdefs.h"
4529#include <time.h>
4530int
4531main ()
4532{
4533 char *p; p = ctime((const time_t *)0);
4534  ;
4535  return 0;
4536}
4537_ACEOF
4538rm -f conftest.$ac_objext
4539if { (eval echo "$as_me:4539: \"$ac_compile\"") >&5
4540  (eval $ac_compile) 2>&5
4541  ac_status=$?
4542  echo "$as_me:4542: \$? = $ac_status" >&5
4543  (exit $ac_status); } &&
4544         { ac_try='test -s conftest.$ac_objext'
4545  { (eval echo "$as_me:4545: \"$ac_try\"") >&5
4546  (eval $ac_try) 2>&5
4547  ac_status=$?
4548  echo "$as_me:4548: \$? = $ac_status" >&5
4549  (exit $ac_status); }; }; then
4550  echo "$as_me:4550: result: const time_t *" >&5
4551echo "${ECHO_T}const time_t *" >&6
4552	    cat >>confdefs.h <<\EOF
4553#define CTIME_ARG_IS_TIME_T_POINTER 1
4554EOF
4555
4556else
4557  echo "$as_me: failed program was:" >&5
4558cat conftest.$ac_ext >&5
4559echo "$as_me:4559: result: long *" >&5
4560echo "${ECHO_T}long *" >&6
4561fi
4562rm -f conftest.$ac_objext conftest.$ac_ext
4563
4564echo "$as_me:4564: checking for gethostname() declaration" >&5
4565echo $ECHO_N "checking for gethostname() declaration... $ECHO_C" >&6
4566cat >conftest.$ac_ext <<_ACEOF
4567#line 4567 "configure"
4568#include "confdefs.h"
4569#include <unistd.h>
4570_ACEOF
4571if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4572  egrep "gethostname" >/dev/null 2>&1; then
4573  echo "$as_me:4573: result: yes" >&5
4574echo "${ECHO_T}yes" >&6
4575    cat >>confdefs.h <<\EOF
4576#define HAVE_GETHOSTNAME 1
4577EOF
4578
4579    cat >>confdefs.h <<\EOF
4580#define HAVE_GETHOSTNAME_DECL 1
4581EOF
4582
4583else
4584  echo "$as_me:4584: result: no" >&5
4585echo "${ECHO_T}no" >&6
4586fi
4587rm -f conftest*
4588
4589echo "$as_me:4589: checking for gethostname() language: C or C++" >&5
4590echo $ECHO_N "checking for gethostname() language: C or C++... $ECHO_C" >&6
4591cat >conftest.$ac_ext <<_ACEOF
4592#line 4592 "configure"
4593#include "confdefs.h"
4594int gethostname(char *,int);
4595int
4596main ()
4597{
4598(void)gethostname((char*)0,0);
4599  ;
4600  return 0;
4601}
4602_ACEOF
4603rm -f conftest.$ac_objext conftest$ac_exeext
4604if { (eval echo "$as_me:4604: \"$ac_link\"") >&5
4605  (eval $ac_link) 2>&5
4606  ac_status=$?
4607  echo "$as_me:4607: \$? = $ac_status" >&5
4608  (exit $ac_status); } &&
4609         { ac_try='test -s conftest$ac_exeext'
4610  { (eval echo "$as_me:4610: \"$ac_try\"") >&5
4611  (eval $ac_try) 2>&5
4612  ac_status=$?
4613  echo "$as_me:4613: \$? = $ac_status" >&5
4614  (exit $ac_status); }; }; then
4615  echo "$as_me:4615: result: C++" >&5
4616echo "${ECHO_T}C++" >&6
4617    cat >>confdefs.h <<\EOF
4618#define HAVE_GETHOSTNAME 1
4619EOF
4620
4621    cat >>confdefs.h <<\EOF
4622#define HAVE_GETHOSTNAME_IN_CPLUSPLUS 1
4623EOF
4624
4625else
4626  echo "$as_me: failed program was:" >&5
4627cat conftest.$ac_ext >&5
4628echo "$as_me:4628: result: C" >&5
4629echo "${ECHO_T}C" >&6
4630fi
4631rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4632
4633echo "$as_me:4633: checking for gethostname() language: C or C++" >&5
4634echo $ECHO_N "checking for gethostname() language: C or C++... $ECHO_C" >&6
4635cat >conftest.$ac_ext <<_ACEOF
4636#line 4636 "configure"
4637#include "confdefs.h"
4638#include <unistd.h>
4639int
4640main ()
4641{
4642(void)gethostname((char*)0,0);
4643  ;
4644  return 0;
4645}
4646_ACEOF
4647rm -f conftest.$ac_objext conftest$ac_exeext
4648if { (eval echo "$as_me:4648: \"$ac_link\"") >&5
4649  (eval $ac_link) 2>&5
4650  ac_status=$?
4651  echo "$as_me:4651: \$? = $ac_status" >&5
4652  (exit $ac_status); } &&
4653         { ac_try='test -s conftest$ac_exeext'
4654  { (eval echo "$as_me:4654: \"$ac_try\"") >&5
4655  (eval $ac_try) 2>&5
4656  ac_status=$?
4657  echo "$as_me:4657: \$? = $ac_status" >&5
4658  (exit $ac_status); }; }; then
4659  echo "$as_me:4659: result: C++" >&5
4660echo "${ECHO_T}C++" >&6
4661    cat >>confdefs.h <<\EOF
4662#define HAVE_GETHOSTNAME 1
4663EOF
4664
4665    cat >>confdefs.h <<\EOF
4666#define HAVE_GETHOSTNAME_IN_CPLUSPLUS 1
4667EOF
4668
4669else
4670  echo "$as_me: failed program was:" >&5
4671cat conftest.$ac_ext >&5
4672echo "$as_me:4672: result: C" >&5
4673echo "${ECHO_T}C" >&6
4674fi
4675rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4676
4677echo "$as_me:4677: checking for getlogin() declaration" >&5
4678echo $ECHO_N "checking for getlogin() declaration... $ECHO_C" >&6
4679cat >conftest.$ac_ext <<_ACEOF
4680#line 4680 "configure"
4681#include "confdefs.h"
4682#include <unistd.h>
4683_ACEOF
4684if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4685  egrep "getlogin" >/dev/null 2>&1; then
4686  echo "$as_me:4686: result: yes" >&5
4687echo "${ECHO_T}yes" >&6
4688    cat >>confdefs.h <<\EOF
4689#define HAVE_GETLOGIN 1
4690EOF
4691
4692    cat >>confdefs.h <<\EOF
4693#define HAVE_GETLOGIN_DECL 1
4694EOF
4695
4696else
4697  echo "$as_me:4697: result: no" >&5
4698echo "${ECHO_T}no" >&6
4699fi
4700rm -f conftest*
4701
4702echo "$as_me:4702: checking for getlogin() language: C or C++" >&5
4703echo $ECHO_N "checking for getlogin() language: C or C++... $ECHO_C" >&6
4704cat >conftest.$ac_ext <<_ACEOF
4705#line 4705 "configure"
4706#include "confdefs.h"
4707char *getlogin(void);
4708int
4709main ()
4710{
4711(void)getlogin();
4712  ;
4713  return 0;
4714}
4715_ACEOF
4716rm -f conftest.$ac_objext conftest$ac_exeext
4717if { (eval echo "$as_me:4717: \"$ac_link\"") >&5
4718  (eval $ac_link) 2>&5
4719  ac_status=$?
4720  echo "$as_me:4720: \$? = $ac_status" >&5
4721  (exit $ac_status); } &&
4722         { ac_try='test -s conftest$ac_exeext'
4723  { (eval echo "$as_me:4723: \"$ac_try\"") >&5
4724  (eval $ac_try) 2>&5
4725  ac_status=$?
4726  echo "$as_me:4726: \$? = $ac_status" >&5
4727  (exit $ac_status); }; }; then
4728  echo "$as_me:4728: result: C++" >&5
4729echo "${ECHO_T}C++" >&6
4730    cat >>confdefs.h <<\EOF
4731#define HAVE_GETLOGIN 1
4732EOF
4733
4734    cat >>confdefs.h <<\EOF
4735#define HAVE_GETLOGIN_IN_CPLUSPLUS 1
4736EOF
4737
4738else
4739  echo "$as_me: failed program was:" >&5
4740cat conftest.$ac_ext >&5
4741echo "$as_me:4741: result: C" >&5
4742echo "${ECHO_T}C" >&6
4743fi
4744rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4745
4746echo "$as_me:4746: checking for getpwnam() declaration" >&5
4747echo $ECHO_N "checking for getpwnam() declaration... $ECHO_C" >&6
4748cat >conftest.$ac_ext <<_ACEOF
4749#line 4749 "configure"
4750#include "confdefs.h"
4751#include <pwd.h>
4752_ACEOF
4753if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4754  egrep "getpwnam" >/dev/null 2>&1; then
4755  echo "$as_me:4755: result: yes" >&5
4756echo "${ECHO_T}yes" >&6
4757    cat >>confdefs.h <<\EOF
4758#define HAVE_GETPWNAM 1
4759EOF
4760
4761    cat >>confdefs.h <<\EOF
4762#define HAVE_GETPWNAM_DECL 1
4763EOF
4764
4765else
4766  echo "$as_me:4766: result: no" >&5
4767echo "${ECHO_T}no" >&6
4768fi
4769rm -f conftest*
4770
4771echo "$as_me:4771: checking for getpwnam() language: C or C++" >&5
4772echo $ECHO_N "checking for getpwnam() language: C or C++... $ECHO_C" >&6
4773cat >conftest.$ac_ext <<_ACEOF
4774#line 4774 "configure"
4775#include "confdefs.h"
4776#include <pwd.h>
4777struct passwd *getpwnam(const char*);
4778int
4779main ()
4780{
4781(void)getpwnam((void*)0);
4782  ;
4783  return 0;
4784}
4785_ACEOF
4786rm -f conftest.$ac_objext conftest$ac_exeext
4787if { (eval echo "$as_me:4787: \"$ac_link\"") >&5
4788  (eval $ac_link) 2>&5
4789  ac_status=$?
4790  echo "$as_me:4790: \$? = $ac_status" >&5
4791  (exit $ac_status); } &&
4792         { ac_try='test -s conftest$ac_exeext'
4793  { (eval echo "$as_me:4793: \"$ac_try\"") >&5
4794  (eval $ac_try) 2>&5
4795  ac_status=$?
4796  echo "$as_me:4796: \$? = $ac_status" >&5
4797  (exit $ac_status); }; }; then
4798  echo "$as_me:4798: result: C++" >&5
4799echo "${ECHO_T}C++" >&6
4800    cat >>confdefs.h <<\EOF
4801#define HAVE_GETPWNAM 1
4802EOF
4803
4804    cat >>confdefs.h <<\EOF
4805#define HAVE_GETPWNAM_IN_CPLUSPLUS 1
4806EOF
4807
4808else
4809  echo "$as_me: failed program was:" >&5
4810cat conftest.$ac_ext >&5
4811echo "$as_me:4811: result: C" >&5
4812echo "${ECHO_T}C" >&6
4813fi
4814rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4815
4816echo "$as_me:4816: checking for getpwnam() language: C or C++" >&5
4817echo $ECHO_N "checking for getpwnam() language: C or C++... $ECHO_C" >&6
4818cat >conftest.$ac_ext <<_ACEOF
4819#line 4819 "configure"
4820#include "confdefs.h"
4821#include <pwd.h>
4822int
4823main ()
4824{
4825(void)getpwnam((void*)0);
4826  ;
4827  return 0;
4828}
4829_ACEOF
4830rm -f conftest.$ac_objext conftest$ac_exeext
4831if { (eval echo "$as_me:4831: \"$ac_link\"") >&5
4832  (eval $ac_link) 2>&5
4833  ac_status=$?
4834  echo "$as_me:4834: \$? = $ac_status" >&5
4835  (exit $ac_status); } &&
4836         { ac_try='test -s conftest$ac_exeext'
4837  { (eval echo "$as_me:4837: \"$ac_try\"") >&5
4838  (eval $ac_try) 2>&5
4839  ac_status=$?
4840  echo "$as_me:4840: \$? = $ac_status" >&5
4841  (exit $ac_status); }; }; then
4842  echo "$as_me:4842: result: C++" >&5
4843echo "${ECHO_T}C++" >&6
4844    cat >>confdefs.h <<\EOF
4845#define HAVE_GETPWNAM 1
4846EOF
4847
4848else
4849  echo "$as_me: failed program was:" >&5
4850cat conftest.$ac_ext >&5
4851echo "$as_me:4851: result: C" >&5
4852echo "${ECHO_T}C" >&6
4853fi
4854rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4855
4856echo "$as_me:4856: checking for getpwuid() declaration" >&5
4857echo $ECHO_N "checking for getpwuid() declaration... $ECHO_C" >&6
4858cat >conftest.$ac_ext <<_ACEOF
4859#line 4859 "configure"
4860#include "confdefs.h"
4861#include <pwd.h>
4862_ACEOF
4863if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4864  egrep "getpwuid" >/dev/null 2>&1; then
4865  echo "$as_me:4865: result: yes" >&5
4866echo "${ECHO_T}yes" >&6
4867    cat >>confdefs.h <<\EOF
4868#define HAVE_GETPWUID 1
4869EOF
4870
4871    cat >>confdefs.h <<\EOF
4872#define HAVE_GETPWUID_DECL 1
4873EOF
4874
4875else
4876  echo "$as_me:4876: result: no" >&5
4877echo "${ECHO_T}no" >&6
4878fi
4879rm -f conftest*
4880
4881echo "$as_me:4881: checking for getpwuid() language: C or C++" >&5
4882echo $ECHO_N "checking for getpwuid() language: C or C++... $ECHO_C" >&6
4883cat >conftest.$ac_ext <<_ACEOF
4884#line 4884 "configure"
4885#include "confdefs.h"
4886#include <pwd.h>
4887struct passwd *getpwuid(uid_t);
4888int
4889main ()
4890{
4891(void)getpwuid(0);
4892  ;
4893  return 0;
4894}
4895_ACEOF
4896rm -f conftest.$ac_objext conftest$ac_exeext
4897if { (eval echo "$as_me:4897: \"$ac_link\"") >&5
4898  (eval $ac_link) 2>&5
4899  ac_status=$?
4900  echo "$as_me:4900: \$? = $ac_status" >&5
4901  (exit $ac_status); } &&
4902         { ac_try='test -s conftest$ac_exeext'
4903  { (eval echo "$as_me:4903: \"$ac_try\"") >&5
4904  (eval $ac_try) 2>&5
4905  ac_status=$?
4906  echo "$as_me:4906: \$? = $ac_status" >&5
4907  (exit $ac_status); }; }; then
4908  echo "$as_me:4908: result: C++" >&5
4909echo "${ECHO_T}C++" >&6
4910    cat >>confdefs.h <<\EOF
4911#define HAVE_GETPWUID 1
4912EOF
4913
4914    cat >>confdefs.h <<\EOF
4915#define HAVE_GETPWUID_IN_CPLUSPLUS 1
4916EOF
4917
4918else
4919  echo "$as_me: failed program was:" >&5
4920cat conftest.$ac_ext >&5
4921echo "$as_me:4921: result: C" >&5
4922echo "${ECHO_T}C" >&6
4923fi
4924rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4925
4926echo "$as_me:4926: checking for getpwuid() language: C or C++" >&5
4927echo $ECHO_N "checking for getpwuid() language: C or C++... $ECHO_C" >&6
4928cat >conftest.$ac_ext <<_ACEOF
4929#line 4929 "configure"
4930#include "confdefs.h"
4931#include <pwd.h>
4932int
4933main ()
4934{
4935(void)getpwuid(0);
4936  ;
4937  return 0;
4938}
4939_ACEOF
4940rm -f conftest.$ac_objext conftest$ac_exeext
4941if { (eval echo "$as_me:4941: \"$ac_link\"") >&5
4942  (eval $ac_link) 2>&5
4943  ac_status=$?
4944  echo "$as_me:4944: \$? = $ac_status" >&5
4945  (exit $ac_status); } &&
4946         { ac_try='test -s conftest$ac_exeext'
4947  { (eval echo "$as_me:4947: \"$ac_try\"") >&5
4948  (eval $ac_try) 2>&5
4949  ac_status=$?
4950  echo "$as_me:4950: \$? = $ac_status" >&5
4951  (exit $ac_status); }; }; then
4952  echo "$as_me:4952: result: C++" >&5
4953echo "${ECHO_T}C++" >&6
4954    cat >>confdefs.h <<\EOF
4955#define HAVE_GETPWUID 1
4956EOF
4957
4958else
4959  echo "$as_me: failed program was:" >&5
4960cat conftest.$ac_ext >&5
4961echo "$as_me:4961: result: C" >&5
4962echo "${ECHO_T}C" >&6
4963fi
4964rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4965
4966echo "$as_me:4966: checking for getuid() declaration" >&5
4967echo $ECHO_N "checking for getuid() declaration... $ECHO_C" >&6
4968cat >conftest.$ac_ext <<_ACEOF
4969#line 4969 "configure"
4970#include "confdefs.h"
4971#include <unistd.h>
4972_ACEOF
4973if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4974  egrep "getuid" >/dev/null 2>&1; then
4975  echo "$as_me:4975: result: yes" >&5
4976echo "${ECHO_T}yes" >&6
4977    cat >>confdefs.h <<\EOF
4978#define HAVE_GETUID 1
4979EOF
4980
4981    cat >>confdefs.h <<\EOF
4982#define HAVE_GETUID_DECL 1
4983EOF
4984
4985else
4986  echo "$as_me:4986: result: no" >&5
4987echo "${ECHO_T}no" >&6
4988fi
4989rm -f conftest*
4990
4991echo "$as_me:4991: checking for getuid() language: C or C++" >&5
4992echo $ECHO_N "checking for getuid() language: C or C++... $ECHO_C" >&6
4993cat >conftest.$ac_ext <<_ACEOF
4994#line 4994 "configure"
4995#include "confdefs.h"
4996char *getuid(void);
4997int
4998main ()
4999{
5000(void)getuid();
5001  ;
5002  return 0;
5003}
5004_ACEOF
5005rm -f conftest.$ac_objext conftest$ac_exeext
5006if { (eval echo "$as_me:5006: \"$ac_link\"") >&5
5007  (eval $ac_link) 2>&5
5008  ac_status=$?
5009  echo "$as_me:5009: \$? = $ac_status" >&5
5010  (exit $ac_status); } &&
5011         { ac_try='test -s conftest$ac_exeext'
5012  { (eval echo "$as_me:5012: \"$ac_try\"") >&5
5013  (eval $ac_try) 2>&5
5014  ac_status=$?
5015  echo "$as_me:5015: \$? = $ac_status" >&5
5016  (exit $ac_status); }; }; then
5017  echo "$as_me:5017: result: C++" >&5
5018echo "${ECHO_T}C++" >&6
5019    cat >>confdefs.h <<\EOF
5020#define HAVE_GETUID 1
5021EOF
5022
5023    cat >>confdefs.h <<\EOF
5024#define HAVE_GETUID_IN_CPLUSPLUS 1
5025EOF
5026
5027else
5028  echo "$as_me: failed program was:" >&5
5029cat conftest.$ac_ext >&5
5030echo "$as_me:5030: result: C" >&5
5031echo "${ECHO_T}C" >&6
5032fi
5033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5034
5035echo "$as_me:5035: checking for getuid() language: C or C++" >&5
5036echo $ECHO_N "checking for getuid() language: C or C++... $ECHO_C" >&6
5037cat >conftest.$ac_ext <<_ACEOF
5038#line 5038 "configure"
5039#include "confdefs.h"
5040#include <unistd.h>
5041int
5042main ()
5043{
5044(void)getuid();
5045  ;
5046  return 0;
5047}
5048_ACEOF
5049rm -f conftest.$ac_objext conftest$ac_exeext
5050if { (eval echo "$as_me:5050: \"$ac_link\"") >&5
5051  (eval $ac_link) 2>&5
5052  ac_status=$?
5053  echo "$as_me:5053: \$? = $ac_status" >&5
5054  (exit $ac_status); } &&
5055         { ac_try='test -s conftest$ac_exeext'
5056  { (eval echo "$as_me:5056: \"$ac_try\"") >&5
5057  (eval $ac_try) 2>&5
5058  ac_status=$?
5059  echo "$as_me:5059: \$? = $ac_status" >&5
5060  (exit $ac_status); }; }; then
5061  echo "$as_me:5061: result: C++" >&5
5062echo "${ECHO_T}C++" >&6
5063    cat >>confdefs.h <<\EOF
5064#define HAVE_GETUID 1
5065EOF
5066
5067    cat >>confdefs.h <<\EOF
5068#define HAVE_GETUID_IN_CPLUSPLUS 1
5069EOF
5070
5071else
5072  echo "$as_me: failed program was:" >&5
5073cat conftest.$ac_ext >&5
5074echo "$as_me:5074: result: C" >&5
5075echo "${ECHO_T}C" >&6
5076fi
5077rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5078
5079echo "$as_me:5079: checking for struct utsname" >&5
5080echo $ECHO_N "checking for struct utsname... $ECHO_C" >&6
5081cat >conftest.$ac_ext <<_ACEOF
5082#line 5082 "configure"
5083#include "confdefs.h"
5084#include <sys/utsname.h>
5085int
5086main ()
5087{
5088struct utsname uts;
5089  ;
5090  return 0;
5091}
5092_ACEOF
5093rm -f conftest.$ac_objext
5094if { (eval echo "$as_me:5094: \"$ac_compile\"") >&5
5095  (eval $ac_compile) 2>&5
5096  ac_status=$?
5097  echo "$as_me:5097: \$? = $ac_status" >&5
5098  (exit $ac_status); } &&
5099         { ac_try='test -s conftest.$ac_objext'
5100  { (eval echo "$as_me:5100: \"$ac_try\"") >&5
5101  (eval $ac_try) 2>&5
5102  ac_status=$?
5103  echo "$as_me:5103: \$? = $ac_status" >&5
5104  (exit $ac_status); }; }; then
5105  uts="yes"
5106else
5107  echo "$as_me: failed program was:" >&5
5108cat conftest.$ac_ext >&5
5109uts="no"
5110fi
5111rm -f conftest.$ac_objext conftest.$ac_ext
5112
5113echo "$as_me:5113: result: $uts" >&5
5114echo "${ECHO_T}$uts" >&6
5115
5116if test $uts = "no"
5117then
5118	echo "$as_me:5118: checking if _POSIX_SOURCE needed for struct utsname" >&5
5119echo $ECHO_N "checking if _POSIX_SOURCE needed for struct utsname... $ECHO_C" >&6
5120	cat >conftest.$ac_ext <<_ACEOF
5121#line 5121 "configure"
5122#include "confdefs.h"
5123#define _POSIX_SOURCE 1
5124	#include <sys/utsname.h>
5125int
5126main ()
5127{
5128struct utsname uts;
5129  ;
5130  return 0;
5131}
5132_ACEOF
5133rm -f conftest.$ac_objext
5134if { (eval echo "$as_me:5134: \"$ac_compile\"") >&5
5135  (eval $ac_compile) 2>&5
5136  ac_status=$?
5137  echo "$as_me:5137: \$? = $ac_status" >&5
5138  (exit $ac_status); } &&
5139         { ac_try='test -s conftest.$ac_objext'
5140  { (eval echo "$as_me:5140: \"$ac_try\"") >&5
5141  (eval $ac_try) 2>&5
5142  ac_status=$?
5143  echo "$as_me:5143: \$? = $ac_status" >&5
5144  (exit $ac_status); }; }; then
5145  uts="yes"
5146else
5147  echo "$as_me: failed program was:" >&5
5148cat conftest.$ac_ext >&5
5149uts="no"
5150fi
5151rm -f conftest.$ac_objext conftest.$ac_ext
5152		echo "$as_me:5152: result: $uts" >&5
5153echo "${ECHO_T}$uts" >&6
5154		if test $uts = "yes"
5155		then
5156			cat >>confdefs.h <<\EOF
5157#define _POSIX_SOURCE 1
5158EOF
5159
5160		fi
5161fi
5162
5163if test $uts = "yes" -a -d /NextLibrary
5164then
5165	echo "$as_me:5165: checking if -posix needed on NeXT for uname()" >&5
5166echo $ECHO_N "checking if -posix needed on NeXT for uname()... $ECHO_C" >&6
5167	CFLAGS=-posix
5168	cat >conftest.$ac_ext <<_ACEOF
5169#line 5169 "configure"
5170#include "confdefs.h"
5171#define _POSIX_SOURCE 1
5172	#include <stdio.h>
5173	#include <sys/utsname.h>
5174int
5175main ()
5176{
5177struct utsname uts; (void)uname((struct utsname *)NULL);
5178  ;
5179  return 0;
5180}
5181_ACEOF
5182rm -f conftest.$ac_objext conftest$ac_exeext
5183if { (eval echo "$as_me:5183: \"$ac_link\"") >&5
5184  (eval $ac_link) 2>&5
5185  ac_status=$?
5186  echo "$as_me:5186: \$? = $ac_status" >&5
5187  (exit $ac_status); } &&
5188         { ac_try='test -s conftest$ac_exeext'
5189  { (eval echo "$as_me:5189: \"$ac_try\"") >&5
5190  (eval $ac_try) 2>&5
5191  ac_status=$?
5192  echo "$as_me:5192: \$? = $ac_status" >&5
5193  (exit $ac_status); }; }; then
5194  uts="yes"; CFLAGS=-posix
5195else
5196  echo "$as_me: failed program was:" >&5
5197cat conftest.$ac_ext >&5
5198uts="no"; unset CFLAGS
5199fi
5200rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5201		echo "$as_me:5201: result: $uts" >&5
5202echo "${ECHO_T}$uts" >&6
5203fi
5204
5205ac_config_files="$ac_config_files Makefile"
5206cat >confcache <<\_ACEOF
5207# This file is a shell script that caches the results of configure
5208# tests run on this system so they can be shared between configure
5209# scripts and configure runs, see configure's option --config-cache.
5210# It is not useful on other systems.  If it contains results you don't
5211# want to keep, you may remove or edit it.
5212#
5213# config.status only pays attention to the cache file if you give it
5214# the --recheck option to rerun configure.
5215#
5216# `ac_cv_env_foo' variables (set or unset) will be overriden when
5217# loading this file, other *unset* `ac_cv_foo' will be assigned the
5218# following values.
5219
5220_ACEOF
5221
5222# The following way of writing the cache mishandles newlines in values,
5223# but we know of no workaround that is simple, portable, and efficient.
5224# So, don't put newlines in cache variables' values.
5225# Ultrix sh set writes to stderr and can't be redirected directly,
5226# and sets the high bit in the cache file unless we assign to the vars.
5227{
5228  (set) 2>&1 |
5229    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5230    *ac_space=\ *)
5231      # `set' does not quote correctly, so add quotes (double-quote
5232      # substitution turns \\\\ into \\, and sed turns \\ into \).
5233      sed -n \
5234        "s/'/'\\\\''/g;
5235    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5236      ;;
5237    *)
5238      # `set' quotes correctly as required by POSIX, so do not add quotes.
5239      sed -n \
5240        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5241      ;;
5242    esac;
5243} |
5244  sed '
5245     t clear
5246     : clear
5247     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5248     t end
5249     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5250     : end' >>confcache
5251if cmp -s $cache_file confcache; then :; else
5252  if test -w $cache_file; then
5253    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5254    cat confcache >$cache_file
5255  else
5256    echo "not updating unwritable cache $cache_file"
5257  fi
5258fi
5259rm -f confcache
5260
5261test "x$prefix" = xNONE && prefix=$ac_default_prefix
5262# Let make expand exec_prefix.
5263test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5264
5265# VPATH may cause trouble with some makes, so we remove $(srcdir),
5266# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5267# trailing colons and then remove the whole line if VPATH becomes empty
5268# (actually we leave an empty line to preserve line numbers).
5269if test "x$srcdir" = x.; then
5270  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
5271s/:*\$(srcdir):*/:/;
5272s/:*\${srcdir}:*/:/;
5273s/:*@srcdir@:*/:/;
5274s/^\([^=]*=[ 	]*\):*/\1/;
5275s/:*$//;
5276s/^[^=]*=[ 	]*$//;
5277}'
5278fi
5279
5280DEFS=-DHAVE_CONFIG_H
5281
5282: ${CONFIG_STATUS=./config.status}
5283ac_clean_files_save=$ac_clean_files
5284ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5285{ echo "$as_me:5285: creating $CONFIG_STATUS" >&5
5286echo "$as_me: creating $CONFIG_STATUS" >&6;}
5287cat >$CONFIG_STATUS <<_ACEOF
5288#! $SHELL
5289# Generated automatically by configure.
5290# Run this file to recreate the current configuration.
5291# Compiler output produced by configure, useful for debugging
5292# configure, is in config.log if it exists.
5293
5294debug=false
5295SHELL=\${CONFIG_SHELL-$SHELL}
5296ac_cs_invocation="\$0 \$@"
5297
5298_ACEOF
5299
5300cat >>$CONFIG_STATUS <<\_ACEOF
5301# Be Bourne compatible
5302if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5303  emulate sh
5304  NULLCMD=:
5305elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5306  set -o posix
5307fi
5308
5309# Name of the executable.
5310as_me=`echo "$0" |sed 's,.*[\\/],,'`
5311
5312if expr a : '\(a\)' >/dev/null 2>&1; then
5313  as_expr=expr
5314else
5315  as_expr=false
5316fi
5317
5318rm -f conf$$ conf$$.exe conf$$.file
5319echo >conf$$.file
5320if ln -s conf$$.file conf$$ 2>/dev/null; then
5321  # We could just check for DJGPP; but this test a) works b) is more generic
5322  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5323  if test -f conf$$.exe; then
5324    # Don't use ln at all; we don't have any links
5325    as_ln_s='cp -p'
5326  else
5327    as_ln_s='ln -s'
5328  fi
5329elif ln conf$$.file conf$$ 2>/dev/null; then
5330  as_ln_s=ln
5331else
5332  as_ln_s='cp -p'
5333fi
5334rm -f conf$$ conf$$.exe conf$$.file
5335
5336as_executable_p="test -f"
5337
5338# Support unset when possible.
5339if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5340  as_unset=unset
5341else
5342  as_unset=false
5343fi
5344
5345# NLS nuisances.
5346$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5347$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5348$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5349$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5350$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5351$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5352$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5353$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5354
5355# IFS
5356# We need space, tab and new line, in precisely that order.
5357as_nl='
5358'
5359IFS=" 	$as_nl"
5360
5361# CDPATH.
5362$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5363
5364exec 6>&1
5365
5366_ACEOF
5367
5368# Files that config.status was made for.
5369if test -n "$ac_config_files"; then
5370  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5371fi
5372
5373if test -n "$ac_config_headers"; then
5374  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5375fi
5376
5377if test -n "$ac_config_links"; then
5378  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5379fi
5380
5381if test -n "$ac_config_commands"; then
5382  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5383fi
5384
5385cat >>$CONFIG_STATUS <<\EOF
5386
5387ac_cs_usage="\
5388\`$as_me' instantiates files from templates according to the
5389current configuration.
5390
5391Usage: $0 [OPTIONS] [FILE]...
5392
5393  -h, --help       print this help, then exit
5394  -V, --version    print version number, then exit
5395  -d, --debug      don't remove temporary files
5396      --recheck    update $as_me by reconfiguring in the same conditions
5397  --file=FILE[:TEMPLATE]
5398                   instantiate the configuration file FILE
5399  --header=FILE[:TEMPLATE]
5400                   instantiate the configuration header FILE
5401
5402Configuration files:
5403$config_files
5404
5405Configuration headers:
5406$config_headers
5407
5408Report bugs to <bug-autoconf@gnu.org>."
5409EOF
5410
5411cat >>$CONFIG_STATUS <<EOF
5412ac_cs_version="\\
5413config.status
5414configured by $0, generated by GNU Autoconf 2.52,
5415  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5416
5417Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5418Free Software Foundation, Inc.
5419This config.status script is free software; the Free Software Foundation
5420gives unlimited permission to copy, distribute and modify it."
5421srcdir=$srcdir
5422INSTALL="$INSTALL"
5423EOF
5424
5425cat >>$CONFIG_STATUS <<\EOF
5426# If no file are specified by the user, then we need to provide default
5427# value.  By we need to know if files were specified by the user.
5428ac_need_defaults=:
5429while test $# != 0
5430do
5431  case $1 in
5432  --*=*)
5433    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5434    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5435    shift
5436    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5437    shift
5438    ;;
5439  -*);;
5440  *) # This is not an option, so the user has probably given explicit
5441     # arguments.
5442     ac_need_defaults=false;;
5443  esac
5444
5445  case $1 in
5446  # Handling of the options.
5447EOF
5448cat >>$CONFIG_STATUS <<EOF
5449  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5450    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5451    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5452EOF
5453cat >>$CONFIG_STATUS <<\EOF
5454  --version | --vers* | -V )
5455    echo "$ac_cs_version"; exit 0 ;;
5456  --he | --h)
5457    # Conflict between --help and --header
5458    { { echo "$as_me:5458: error: ambiguous option: $1
5459Try \`$0 --help' for more information." >&5
5460echo "$as_me: error: ambiguous option: $1
5461Try \`$0 --help' for more information." >&2;}
5462   { (exit 1); exit 1; }; };;
5463  --help | --hel | -h )
5464    echo "$ac_cs_usage"; exit 0 ;;
5465  --debug | --d* | -d )
5466    debug=: ;;
5467  --file | --fil | --fi | --f )
5468    shift
5469    CONFIG_FILES="$CONFIG_FILES $1"
5470    ac_need_defaults=false;;
5471  --header | --heade | --head | --hea )
5472    shift
5473    CONFIG_HEADERS="$CONFIG_HEADERS $1"
5474    ac_need_defaults=false;;
5475
5476  # This is an error.
5477  -*) { { echo "$as_me:5477: error: unrecognized option: $1
5478Try \`$0 --help' for more information." >&5
5479echo "$as_me: error: unrecognized option: $1
5480Try \`$0 --help' for more information." >&2;}
5481   { (exit 1); exit 1; }; } ;;
5482
5483  *) ac_config_targets="$ac_config_targets $1" ;;
5484
5485  esac
5486  shift
5487done
5488
5489exec 5>>config.log
5490cat >&5 << _ACEOF
5491
5492## ----------------------- ##
5493## Running config.status.  ##
5494## ----------------------- ##
5495
5496This file was extended by $as_me 2.52, executed with
5497  CONFIG_FILES    = $CONFIG_FILES
5498  CONFIG_HEADERS  = $CONFIG_HEADERS
5499  CONFIG_LINKS    = $CONFIG_LINKS
5500  CONFIG_COMMANDS = $CONFIG_COMMANDS
5501  > $ac_cs_invocation
5502on `(hostname || uname -n) 2>/dev/null | sed 1q`
5503
5504_ACEOF
5505EOF
5506
5507cat >>$CONFIG_STATUS <<\EOF
5508for ac_config_target in $ac_config_targets
5509do
5510  case "$ac_config_target" in
5511  # Handling of arguments.
5512  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5513  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
5514  *) { { echo "$as_me:5514: error: invalid argument: $ac_config_target" >&5
5515echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5516   { (exit 1); exit 1; }; };;
5517  esac
5518done
5519
5520# If the user did not use the arguments to specify the items to instantiate,
5521# then the envvar interface is used.  Set only those that are not.
5522# We use the long form for the default assignment because of an extremely
5523# bizarre bug on SunOS 4.1.3.
5524if $ac_need_defaults; then
5525  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5526  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5527fi
5528
5529# Create a temporary directory, and hook for its removal unless debugging.
5530$debug ||
5531{
5532  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5533  trap '{ (exit 1); exit 1; }' 1 2 13 15
5534}
5535
5536# Create a (secure) tmp directory for tmp files.
5537: ${TMPDIR=/tmp}
5538{
5539  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5540  test -n "$tmp" && test -d "$tmp"
5541}  ||
5542{
5543  tmp=$TMPDIR/cs$$-$RANDOM
5544  (umask 077 && mkdir $tmp)
5545} ||
5546{
5547   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5548   { (exit 1); exit 1; }
5549}
5550
5551EOF
5552
5553cat >>$CONFIG_STATUS <<EOF
5554
5555#
5556# CONFIG_FILES section.
5557#
5558
5559# No need to generate the scripts if there are no CONFIG_FILES.
5560# This happens for instance when ./config.status config.h
5561if test -n "\$CONFIG_FILES"; then
5562  # Protect against being on the right side of a sed subst in config.status.
5563  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5564   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5565s,@SHELL@,$SHELL,;t t
5566s,@exec_prefix@,$exec_prefix,;t t
5567s,@prefix@,$prefix,;t t
5568s,@program_transform_name@,$program_transform_name,;t t
5569s,@bindir@,$bindir,;t t
5570s,@sbindir@,$sbindir,;t t
5571s,@libexecdir@,$libexecdir,;t t
5572s,@datadir@,$datadir,;t t
5573s,@sysconfdir@,$sysconfdir,;t t
5574s,@sharedstatedir@,$sharedstatedir,;t t
5575s,@localstatedir@,$localstatedir,;t t
5576s,@libdir@,$libdir,;t t
5577s,@includedir@,$includedir,;t t
5578s,@oldincludedir@,$oldincludedir,;t t
5579s,@infodir@,$infodir,;t t
5580s,@mandir@,$mandir,;t t
5581s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5582s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5583s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5584s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5585s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5586s,@build_alias@,$build_alias,;t t
5587s,@host_alias@,$host_alias,;t t
5588s,@target_alias@,$target_alias,;t t
5589s,@ECHO_C@,$ECHO_C,;t t
5590s,@ECHO_N@,$ECHO_N,;t t
5591s,@ECHO_T@,$ECHO_T,;t t
5592s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5593s,@DEFS@,$DEFS,;t t
5594s,@LIBS@,$LIBS,;t t
5595s,@PACKAGE@,$PACKAGE,;t t
5596s,@VERSION@,$VERSION,;t t
5597s,@SET_MAKE@,$SET_MAKE,;t t
5598s,@CC@,$CC,;t t
5599s,@CFLAGS@,$CFLAGS,;t t
5600s,@LDFLAGS@,$LDFLAGS,;t t
5601s,@CPPFLAGS@,$CPPFLAGS,;t t
5602s,@ac_ct_CC@,$ac_ct_CC,;t t
5603s,@EXEEXT@,$EXEEXT,;t t
5604s,@OBJEXT@,$OBJEXT,;t t
5605s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5606s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5607s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5608s,@LN_S@,$LN_S,;t t
5609s,@AWK@,$AWK,;t t
5610s,@CAT@,$CAT,;t t
5611s,@CHECKSUM@,$CHECKSUM,;t t
5612s,@CHMOD@,$CHMOD,;t t
5613s,@COL@,$COL,;t t
5614s,@CP@,$CP,;t t
5615s,@DEROFF@,$DEROFF,;t t
5616s,@DIFF@,$DIFF,;t t
5617s,@DISTILL@,$DISTILL,;t t
5618s,@DW@,$DW,;t t
5619s,@EXPAND@,$EXPAND,;t t
5620s,@FIND@,$FIND,;t t
5621s,@GREP@,$GREP,;t t
5622s,@GROFF@,$GROFF,;t t
5623s,@GZIP@,$GZIP,;t t
5624s,@HTMLCHECK@,$HTMLCHECK,;t t
5625s,@ISPELL@,$ISPELL,;t t
5626s,@LEX@,$LEX,;t t
5627s,@LN@,$LN,;t t
5628s,@LS@,$LS,;t t
5629s,@MKDIR@,$MKDIR,;t t
5630s,@MPACK@,$MPACK,;t t
5631s,@MV@,$MV,;t t
5632s,@NROFF@,$NROFF,;t t
5633s,@SED@,$SED,;t t
5634s,@SHAR@,$SHAR,;t t
5635s,@SORT@,$SORT,;t t
5636s,@SPELL@,$SPELL,;t t
5637s,@TAR@,$TAR,;t t
5638s,@TEE@,$TEE,;t t
5639s,@TOUCH@,$TOUCH,;t t
5640s,@TR@,$TR,;t t
5641s,@TRUE@,$TRUE,;t t
5642s,@UNZIP@,$UNZIP,;t t
5643s,@UUENCODE@,$UUENCODE,;t t
5644s,@ZIP@,$ZIP,;t t
5645s,@ZOO@,$ZOO,;t t
5646s,@CPP@,$CPP,;t t
5647CEOF
5648
5649EOF
5650
5651  cat >>$CONFIG_STATUS <<\EOF
5652  # Split the substitutions into bite-sized pieces for seds with
5653  # small command number limits, like on Digital OSF/1 and HP-UX.
5654  ac_max_sed_lines=48
5655  ac_sed_frag=1 # Number of current file.
5656  ac_beg=1 # First line for current file.
5657  ac_end=$ac_max_sed_lines # Line after last line for current file.
5658  ac_more_lines=:
5659  ac_sed_cmds=
5660  while $ac_more_lines; do
5661    if test $ac_beg -gt 1; then
5662      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5663    else
5664      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5665    fi
5666    if test ! -s $tmp/subs.frag; then
5667      ac_more_lines=false
5668    else
5669      # The purpose of the label and of the branching condition is to
5670      # speed up the sed processing (if there are no `@' at all, there
5671      # is no need to browse any of the substitutions).
5672      # These are the two extra sed commands mentioned above.
5673      (echo ':t
5674  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5675      if test -z "$ac_sed_cmds"; then
5676  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5677      else
5678  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5679      fi
5680      ac_sed_frag=`expr $ac_sed_frag + 1`
5681      ac_beg=$ac_end
5682      ac_end=`expr $ac_end + $ac_max_sed_lines`
5683    fi
5684  done
5685  if test -z "$ac_sed_cmds"; then
5686    ac_sed_cmds=cat
5687  fi
5688fi # test -n "$CONFIG_FILES"
5689
5690EOF
5691cat >>$CONFIG_STATUS <<\EOF
5692for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5693  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5694  case $ac_file in
5695  - | *:- | *:-:* ) # input from stdin
5696        cat >$tmp/stdin
5697        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5698        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5699  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5700        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5701  * )   ac_file_in=$ac_file.in ;;
5702  esac
5703
5704  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5705  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5706         X"$ac_file" : 'X\(//\)[^/]' \| \
5707         X"$ac_file" : 'X\(//\)$' \| \
5708         X"$ac_file" : 'X\(/\)' \| \
5709         .     : '\(.\)' 2>/dev/null ||
5710echo X"$ac_file" |
5711    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5712  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5713  	  /^X\(\/\/\)$/{ s//\1/; q; }
5714  	  /^X\(\/\).*/{ s//\1/; q; }
5715  	  s/.*/./; q'`
5716  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5717    { case "$ac_dir" in
5718  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5719  *)                      as_incr_dir=.;;
5720esac
5721as_dummy="$ac_dir"
5722for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5723  case $as_mkdir_dir in
5724    # Skip DOS drivespec
5725    ?:) as_incr_dir=$as_mkdir_dir ;;
5726    *)
5727      as_incr_dir=$as_incr_dir/$as_mkdir_dir
5728      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5729    ;;
5730  esac
5731done; }
5732
5733    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5734    # A "../" for each directory in $ac_dir_suffix.
5735    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5736  else
5737    ac_dir_suffix= ac_dots=
5738  fi
5739
5740  case $srcdir in
5741  .)  ac_srcdir=.
5742      if test -z "$ac_dots"; then
5743         ac_top_srcdir=.
5744      else
5745         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
5746      fi ;;
5747  [\\/]* | ?:[\\/]* )
5748      ac_srcdir=$srcdir$ac_dir_suffix;
5749      ac_top_srcdir=$srcdir ;;
5750  *) # Relative path.
5751    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
5752    ac_top_srcdir=$ac_dots$srcdir ;;
5753  esac
5754
5755  case $INSTALL in
5756  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5757  *) ac_INSTALL=$ac_dots$INSTALL ;;
5758  esac
5759
5760  if test x"$ac_file" != x-; then
5761    { echo "$as_me:5761: creating $ac_file" >&5
5762echo "$as_me: creating $ac_file" >&6;}
5763    rm -f "$ac_file"
5764  fi
5765  # Let's still pretend it is `configure' which instantiates (i.e., don't
5766  # use $as_me), people would be surprised to read:
5767  #    /* config.h.  Generated automatically by config.status.  */
5768  configure_input="Generated automatically from `echo $ac_file_in |
5769                                                 sed 's,.*/,,'` by configure."
5770
5771  # First look for the input files in the build tree, otherwise in the
5772  # src tree.
5773  ac_file_inputs=`IFS=:
5774    for f in $ac_file_in; do
5775      case $f in
5776      -) echo $tmp/stdin ;;
5777      [\\/$]*)
5778         # Absolute (can't be DOS-style, as IFS=:)
5779         test -f "$f" || { { echo "$as_me:5779: error: cannot find input file: $f" >&5
5780echo "$as_me: error: cannot find input file: $f" >&2;}
5781   { (exit 1); exit 1; }; }
5782         echo $f;;
5783      *) # Relative
5784         if test -f "$f"; then
5785           # Build tree
5786           echo $f
5787         elif test -f "$srcdir/$f"; then
5788           # Source tree
5789           echo $srcdir/$f
5790         else
5791           # /dev/null tree
5792           { { echo "$as_me:5792: error: cannot find input file: $f" >&5
5793echo "$as_me: error: cannot find input file: $f" >&2;}
5794   { (exit 1); exit 1; }; }
5795         fi;;
5796      esac
5797    done` || { (exit 1); exit 1; }
5798EOF
5799cat >>$CONFIG_STATUS <<EOF
5800  sed "$ac_vpsub
5801$extrasub
5802EOF
5803cat >>$CONFIG_STATUS <<\EOF
5804:t
5805/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5806s,@configure_input@,$configure_input,;t t
5807s,@srcdir@,$ac_srcdir,;t t
5808s,@top_srcdir@,$ac_top_srcdir,;t t
5809s,@INSTALL@,$ac_INSTALL,;t t
5810" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5811  rm -f $tmp/stdin
5812  if test x"$ac_file" != x-; then
5813    mv $tmp/out $ac_file
5814  else
5815    cat $tmp/out
5816    rm -f $tmp/out
5817  fi
5818
5819done
5820EOF
5821cat >>$CONFIG_STATUS <<\EOF
5822
5823#
5824# CONFIG_HEADER section.
5825#
5826
5827# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5828# NAME is the cpp macro being defined and VALUE is the value it is being given.
5829#
5830# ac_d sets the value in "#define NAME VALUE" lines.
5831ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
5832ac_dB='[ 	].*$,\1#\2'
5833ac_dC=' '
5834ac_dD=',;t'
5835# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5836ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
5837ac_uB='$,\1#\2define\3'
5838ac_uC=' '
5839ac_uD=',;t'
5840
5841for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5842  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5843  case $ac_file in
5844  - | *:- | *:-:* ) # input from stdin
5845        cat >$tmp/stdin
5846        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5847        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5848  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5849        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5850  * )   ac_file_in=$ac_file.in ;;
5851  esac
5852
5853  test x"$ac_file" != x- && { echo "$as_me:5853: creating $ac_file" >&5
5854echo "$as_me: creating $ac_file" >&6;}
5855
5856  # First look for the input files in the build tree, otherwise in the
5857  # src tree.
5858  ac_file_inputs=`IFS=:
5859    for f in $ac_file_in; do
5860      case $f in
5861      -) echo $tmp/stdin ;;
5862      [\\/$]*)
5863         # Absolute (can't be DOS-style, as IFS=:)
5864         test -f "$f" || { { echo "$as_me:5864: error: cannot find input file: $f" >&5
5865echo "$as_me: error: cannot find input file: $f" >&2;}
5866   { (exit 1); exit 1; }; }
5867         echo $f;;
5868      *) # Relative
5869         if test -f "$f"; then
5870           # Build tree
5871           echo $f
5872         elif test -f "$srcdir/$f"; then
5873           # Source tree
5874           echo $srcdir/$f
5875         else
5876           # /dev/null tree
5877           { { echo "$as_me:5877: error: cannot find input file: $f" >&5
5878echo "$as_me: error: cannot find input file: $f" >&2;}
5879   { (exit 1); exit 1; }; }
5880         fi;;
5881      esac
5882    done` || { (exit 1); exit 1; }
5883  # Remove the trailing spaces.
5884  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
5885
5886EOF
5887
5888# Transform confdefs.h into two sed scripts, `conftest.defines' and
5889# `conftest.undefs', that substitutes the proper values into
5890# config.h.in to produce config.h.  The first handles `#define'
5891# templates, and the second `#undef' templates.
5892# And first: Protect against being on the right side of a sed subst in
5893# config.status.  Protect against being in an unquoted here document
5894# in config.status.
5895rm -f conftest.defines conftest.undefs
5896# Using a here document instead of a string reduces the quoting nightmare.
5897# Putting comments in sed scripts is not portable.
5898#
5899# `end' is used to avoid that the second main sed command (meant for
5900# 0-ary CPP macros) applies to n-ary macro definitions.
5901# See the Autoconf documentation for `clear'.
5902cat >confdef2sed.sed <<\EOF
5903s/[\\&,]/\\&/g
5904s,[\\$`],\\&,g
5905t clear
5906: clear
5907s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
5908t end
5909s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5910: end
5911EOF
5912# If some macros were called several times there might be several times
5913# the same #defines, which is useless.  Nevertheless, we may not want to
5914# sort them, since we want the *last* AC-DEFINE to be honored.
5915uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5916sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5917rm -f confdef2sed.sed
5918
5919# This sed command replaces #undef with comments.  This is necessary, for
5920# example, in the case of _POSIX_SOURCE, which is predefined and required
5921# on some systems where configure will not decide to define it.
5922cat >>conftest.undefs <<\EOF
5923s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5924EOF
5925
5926# Break up conftest.defines because some shells have a limit on the size
5927# of here documents, and old seds have small limits too (100 cmds).
5928echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5929echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5930echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5931echo '  :' >>$CONFIG_STATUS
5932rm -f conftest.tail
5933while grep . conftest.defines >/dev/null
5934do
5935  # Write a limited-size here document to $tmp/defines.sed.
5936  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5937  # Speed up: don't consider the non `#define' lines.
5938  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
5939  # Work around the forget-to-reset-the-flag bug.
5940  echo 't clr' >>$CONFIG_STATUS
5941  echo ': clr' >>$CONFIG_STATUS
5942  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5943  echo 'CEOF
5944  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5945  rm -f $tmp/in
5946  mv $tmp/out $tmp/in
5947' >>$CONFIG_STATUS
5948  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5949  rm -f conftest.defines
5950  mv conftest.tail conftest.defines
5951done
5952rm -f conftest.defines
5953echo '  fi # egrep' >>$CONFIG_STATUS
5954echo >>$CONFIG_STATUS
5955
5956# Break up conftest.undefs because some shells have a limit on the size
5957# of here documents, and old seds have small limits too (100 cmds).
5958echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5959rm -f conftest.tail
5960while grep . conftest.undefs >/dev/null
5961do
5962  # Write a limited-size here document to $tmp/undefs.sed.
5963  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5964  # Speed up: don't consider the non `#undef'
5965  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
5966  # Work around the forget-to-reset-the-flag bug.
5967  echo 't clr' >>$CONFIG_STATUS
5968  echo ': clr' >>$CONFIG_STATUS
5969  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5970  echo 'CEOF
5971  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5972  rm -f $tmp/in
5973  mv $tmp/out $tmp/in
5974' >>$CONFIG_STATUS
5975  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5976  rm -f conftest.undefs
5977  mv conftest.tail conftest.undefs
5978done
5979rm -f conftest.undefs
5980
5981cat >>$CONFIG_STATUS <<\EOF
5982  # Let's still pretend it is `configure' which instantiates (i.e., don't
5983  # use $as_me), people would be surprised to read:
5984  #    /* config.h.  Generated automatically by config.status.  */
5985  if test x"$ac_file" = x-; then
5986    echo "/* Generated automatically by configure.  */" >$tmp/config.h
5987  else
5988    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
5989  fi
5990  cat $tmp/in >>$tmp/config.h
5991  rm -f $tmp/in
5992  if test x"$ac_file" != x-; then
5993    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5994      { echo "$as_me:5994: $ac_file is unchanged" >&5
5995echo "$as_me: $ac_file is unchanged" >&6;}
5996    else
5997      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5998         X"$ac_file" : 'X\(//\)[^/]' \| \
5999         X"$ac_file" : 'X\(//\)$' \| \
6000         X"$ac_file" : 'X\(/\)' \| \
6001         .     : '\(.\)' 2>/dev/null ||
6002echo X"$ac_file" |
6003    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6004  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6005  	  /^X\(\/\/\)$/{ s//\1/; q; }
6006  	  /^X\(\/\).*/{ s//\1/; q; }
6007  	  s/.*/./; q'`
6008      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6009        { case "$ac_dir" in
6010  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6011  *)                      as_incr_dir=.;;
6012esac
6013as_dummy="$ac_dir"
6014for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6015  case $as_mkdir_dir in
6016    # Skip DOS drivespec
6017    ?:) as_incr_dir=$as_mkdir_dir ;;
6018    *)
6019      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6020      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6021    ;;
6022  esac
6023done; }
6024
6025      fi
6026      rm -f $ac_file
6027      mv $tmp/config.h $ac_file
6028    fi
6029  else
6030    cat $tmp/config.h
6031    rm -f $tmp/config.h
6032  fi
6033done
6034EOF
6035
6036cat >>$CONFIG_STATUS <<\EOF
6037
6038{ (exit 0); exit 0; }
6039EOF
6040chmod +x $CONFIG_STATUS
6041ac_clean_files=$ac_clean_files_save
6042
6043# configure is writing to config.log, and then calls config.status.
6044# config.status does its own redirection, appending to config.log.
6045# Unfortunately, on DOS this fails, as config.log is still kept open
6046# by configure, so config.status won't be able to write to it; its
6047# output is simply discarded.  So we exec the FD to /dev/null,
6048# effectively closing config.log, so it can be properly (re)opened and
6049# appended to by config.status.  When coming back to configure, we
6050# need to make the FD available again.
6051if test "$no_create" != yes; then
6052  ac_cs_success=:
6053  exec 5>/dev/null
6054  $SHELL $CONFIG_STATUS || ac_cs_success=false
6055  exec 5>>config.log
6056  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6057  # would make configure fail if this is the last instruction.
6058  $ac_cs_success || { (exit 1); exit 1; }
6059fi
6060
6061