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