1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for gnats 4.1.0.
4#
5# Report bugs to <bug-gnats@gnu.org>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization.  ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22  set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
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  test -d ./-p && rmdir ./-p
224  as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" 	$as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete.  It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='gnats'
271PACKAGE_TARNAME='gnats'
272PACKAGE_VERSION='4.1.0'
273PACKAGE_STRING='gnats 4.1.0'
274PACKAGE_BUGREPORT='bug-gnats@gnu.org'
275
276ac_subdirs_all="$ac_subdirs_all gnats send-pr doc"
277ac_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 subdirs CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LIBOBJS LTLIBOBJS'
278ac_subst_files=''
279
280# Initialize some variables set by options.
281ac_init_help=
282ac_init_version=false
283# The variables have the same names as the options, with
284# dashes changed to underlines.
285cache_file=/dev/null
286exec_prefix=NONE
287no_create=
288no_recursion=
289prefix=NONE
290program_prefix=NONE
291program_suffix=NONE
292program_transform_name=s,x,x,
293silent=
294site=
295srcdir=
296verbose=
297x_includes=NONE
298x_libraries=NONE
299
300# Installation directory options.
301# These are left unexpanded so users can "make install exec_prefix=/foo"
302# and all the variables that are supposed to be based on exec_prefix
303# by default will actually change.
304# Use braces instead of parens because sh, perl, etc. also accept them.
305bindir='${exec_prefix}/bin'
306sbindir='${exec_prefix}/sbin'
307libexecdir='${exec_prefix}/libexec'
308datadir='${prefix}/share'
309sysconfdir='${prefix}/etc'
310sharedstatedir='${prefix}/com'
311localstatedir='${prefix}/var'
312libdir='${exec_prefix}/lib'
313includedir='${prefix}/include'
314oldincludedir='/usr/include'
315infodir='${prefix}/info'
316mandir='${prefix}/man'
317
318ac_prev=
319for ac_option
320do
321  # If the previous option needs an argument, assign it.
322  if test -n "$ac_prev"; then
323    eval "$ac_prev=\$ac_option"
324    ac_prev=
325    continue
326  fi
327
328  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330  # Accept the important Cygnus configure options, so we can diagnose typos.
331
332  case $ac_option in
333
334  -bindir | --bindir | --bindi | --bind | --bin | --bi)
335    ac_prev=bindir ;;
336  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337    bindir=$ac_optarg ;;
338
339  -build | --build | --buil | --bui | --bu)
340    ac_prev=build_alias ;;
341  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342    build_alias=$ac_optarg ;;
343
344  -cache-file | --cache-file | --cache-fil | --cache-fi \
345  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346    ac_prev=cache_file ;;
347  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349    cache_file=$ac_optarg ;;
350
351  --config-cache | -C)
352    cache_file=config.cache ;;
353
354  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355    ac_prev=datadir ;;
356  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357  | --da=*)
358    datadir=$ac_optarg ;;
359
360  -disable-* | --disable-*)
361    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362    # Reject names that are not valid shell variable names.
363    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365   { (exit 1); exit 1; }; }
366    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367    eval "enable_$ac_feature=no" ;;
368
369  -enable-* | --enable-*)
370    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371    # Reject names that are not valid shell variable names.
372    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374   { (exit 1); exit 1; }; }
375    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376    case $ac_option in
377      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378      *) ac_optarg=yes ;;
379    esac
380    eval "enable_$ac_feature='$ac_optarg'" ;;
381
382  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384  | --exec | --exe | --ex)
385    ac_prev=exec_prefix ;;
386  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388  | --exec=* | --exe=* | --ex=*)
389    exec_prefix=$ac_optarg ;;
390
391  -gas | --gas | --ga | --g)
392    # Obsolete; use --with-gas.
393    with_gas=yes ;;
394
395  -help | --help | --hel | --he | -h)
396    ac_init_help=long ;;
397  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398    ac_init_help=recursive ;;
399  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400    ac_init_help=short ;;
401
402  -host | --host | --hos | --ho)
403    ac_prev=host_alias ;;
404  -host=* | --host=* | --hos=* | --ho=*)
405    host_alias=$ac_optarg ;;
406
407  -includedir | --includedir | --includedi | --included | --include \
408  | --includ | --inclu | --incl | --inc)
409    ac_prev=includedir ;;
410  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411  | --includ=* | --inclu=* | --incl=* | --inc=*)
412    includedir=$ac_optarg ;;
413
414  -infodir | --infodir | --infodi | --infod | --info | --inf)
415    ac_prev=infodir ;;
416  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417    infodir=$ac_optarg ;;
418
419  -libdir | --libdir | --libdi | --libd)
420    ac_prev=libdir ;;
421  -libdir=* | --libdir=* | --libdi=* | --libd=*)
422    libdir=$ac_optarg ;;
423
424  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425  | --libexe | --libex | --libe)
426    ac_prev=libexecdir ;;
427  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428  | --libexe=* | --libex=* | --libe=*)
429    libexecdir=$ac_optarg ;;
430
431  -localstatedir | --localstatedir | --localstatedi | --localstated \
432  | --localstate | --localstat | --localsta | --localst \
433  | --locals | --local | --loca | --loc | --lo)
434    ac_prev=localstatedir ;;
435  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438    localstatedir=$ac_optarg ;;
439
440  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441    ac_prev=mandir ;;
442  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443    mandir=$ac_optarg ;;
444
445  -nfp | --nfp | --nf)
446    # Obsolete; use --without-fp.
447    with_fp=no ;;
448
449  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450  | --no-cr | --no-c | -n)
451    no_create=yes ;;
452
453  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455    no_recursion=yes ;;
456
457  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459  | --oldin | --oldi | --old | --ol | --o)
460    ac_prev=oldincludedir ;;
461  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464    oldincludedir=$ac_optarg ;;
465
466  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467    ac_prev=prefix ;;
468  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469    prefix=$ac_optarg ;;
470
471  -program-prefix | --program-prefix | --program-prefi | --program-pref \
472  | --program-pre | --program-pr | --program-p)
473    ac_prev=program_prefix ;;
474  -program-prefix=* | --program-prefix=* | --program-prefi=* \
475  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476    program_prefix=$ac_optarg ;;
477
478  -program-suffix | --program-suffix | --program-suffi | --program-suff \
479  | --program-suf | --program-su | --program-s)
480    ac_prev=program_suffix ;;
481  -program-suffix=* | --program-suffix=* | --program-suffi=* \
482  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483    program_suffix=$ac_optarg ;;
484
485  -program-transform-name | --program-transform-name \
486  | --program-transform-nam | --program-transform-na \
487  | --program-transform-n | --program-transform- \
488  | --program-transform | --program-transfor \
489  | --program-transfo | --program-transf \
490  | --program-trans | --program-tran \
491  | --progr-tra | --program-tr | --program-t)
492    ac_prev=program_transform_name ;;
493  -program-transform-name=* | --program-transform-name=* \
494  | --program-transform-nam=* | --program-transform-na=* \
495  | --program-transform-n=* | --program-transform-=* \
496  | --program-transform=* | --program-transfor=* \
497  | --program-transfo=* | --program-transf=* \
498  | --program-trans=* | --program-tran=* \
499  | --progr-tra=* | --program-tr=* | --program-t=*)
500    program_transform_name=$ac_optarg ;;
501
502  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503  | -silent | --silent | --silen | --sile | --sil)
504    silent=yes ;;
505
506  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507    ac_prev=sbindir ;;
508  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509  | --sbi=* | --sb=*)
510    sbindir=$ac_optarg ;;
511
512  -sharedstatedir | --sharedstatedir | --sharedstatedi \
513  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514  | --sharedst | --shareds | --shared | --share | --shar \
515  | --sha | --sh)
516    ac_prev=sharedstatedir ;;
517  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520  | --sha=* | --sh=*)
521    sharedstatedir=$ac_optarg ;;
522
523  -site | --site | --sit)
524    ac_prev=site ;;
525  -site=* | --site=* | --sit=*)
526    site=$ac_optarg ;;
527
528  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529    ac_prev=srcdir ;;
530  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531    srcdir=$ac_optarg ;;
532
533  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534  | --syscon | --sysco | --sysc | --sys | --sy)
535    ac_prev=sysconfdir ;;
536  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538    sysconfdir=$ac_optarg ;;
539
540  -target | --target | --targe | --targ | --tar | --ta | --t)
541    ac_prev=target_alias ;;
542  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543    target_alias=$ac_optarg ;;
544
545  -v | -verbose | --verbose | --verbos | --verbo | --verb)
546    verbose=yes ;;
547
548  -version | --version | --versio | --versi | --vers | -V)
549    ac_init_version=: ;;
550
551  -with-* | --with-*)
552    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553    # Reject names that are not valid shell variable names.
554    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555      { echo "$as_me: error: invalid package name: $ac_package" >&2
556   { (exit 1); exit 1; }; }
557    ac_package=`echo $ac_package| sed 's/-/_/g'`
558    case $ac_option in
559      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560      *) ac_optarg=yes ;;
561    esac
562    eval "with_$ac_package='$ac_optarg'" ;;
563
564  -without-* | --without-*)
565    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566    # Reject names that are not valid shell variable names.
567    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568      { echo "$as_me: error: invalid package name: $ac_package" >&2
569   { (exit 1); exit 1; }; }
570    ac_package=`echo $ac_package | sed 's/-/_/g'`
571    eval "with_$ac_package=no" ;;
572
573  --x)
574    # Obsolete; use --with-x.
575    with_x=yes ;;
576
577  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578  | --x-incl | --x-inc | --x-in | --x-i)
579    ac_prev=x_includes ;;
580  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582    x_includes=$ac_optarg ;;
583
584  -x-libraries | --x-libraries | --x-librarie | --x-librari \
585  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586    ac_prev=x_libraries ;;
587  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589    x_libraries=$ac_optarg ;;
590
591  -*) { echo "$as_me: error: unrecognized option: $ac_option
592Try \`$0 --help' for more information." >&2
593   { (exit 1); exit 1; }; }
594    ;;
595
596  *=*)
597    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598    # Reject names that are not valid shell variable names.
599    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601   { (exit 1); exit 1; }; }
602    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603    eval "$ac_envvar='$ac_optarg'"
604    export $ac_envvar ;;
605
606  *)
607    # FIXME: should be removed in autoconf 3.0.
608    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612    ;;
613
614  esac
615done
616
617if test -n "$ac_prev"; then
618  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619  { echo "$as_me: error: missing argument to $ac_option" >&2
620   { (exit 1); exit 1; }; }
621fi
622
623# Be sure to have absolute paths.
624for ac_var in exec_prefix prefix
625do
626  eval ac_val=$`echo $ac_var`
627  case $ac_val in
628    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630   { (exit 1); exit 1; }; };;
631  esac
632done
633
634# Be sure to have absolute paths.
635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636	      localstatedir libdir includedir oldincludedir infodir mandir
637do
638  eval ac_val=$`echo $ac_var`
639  case $ac_val in
640    [\\/$]* | ?:[\\/]* ) ;;
641    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642   { (exit 1); exit 1; }; };;
643  esac
644done
645
646# There might be people who depend on the old broken behavior: `$host'
647# used to hold the argument of --host etc.
648# FIXME: To remove some day.
649build=$build_alias
650host=$host_alias
651target=$target_alias
652
653# FIXME: To remove some day.
654if test "x$host_alias" != x; then
655  if test "x$build_alias" = x; then
656    cross_compiling=maybe
657    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658    If a cross compiler is detected then cross compile mode will be used." >&2
659  elif test "x$build_alias" != "x$host_alias"; then
660    cross_compiling=yes
661  fi
662fi
663
664ac_tool_prefix=
665test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667test "$silent" = yes && exec 6>/dev/null
668
669
670# Find the source files, if location was not specified.
671if test -z "$srcdir"; then
672  ac_srcdir_defaulted=yes
673  # Try the directory containing this script, then its parent.
674  ac_confdir=`(dirname "$0") 2>/dev/null ||
675$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676	 X"$0" : 'X\(//\)[^/]' \| \
677	 X"$0" : 'X\(//\)$' \| \
678	 X"$0" : 'X\(/\)' \| \
679	 .     : '\(.\)' 2>/dev/null ||
680echo X"$0" |
681    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683  	  /^X\(\/\/\)$/{ s//\1/; q; }
684  	  /^X\(\/\).*/{ s//\1/; q; }
685  	  s/.*/./; q'`
686  srcdir=$ac_confdir
687  if test ! -r $srcdir/$ac_unique_file; then
688    srcdir=..
689  fi
690else
691  ac_srcdir_defaulted=no
692fi
693if test ! -r $srcdir/$ac_unique_file; then
694  if test "$ac_srcdir_defaulted" = yes; then
695    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696   { (exit 1); exit 1; }; }
697  else
698    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699   { (exit 1); exit 1; }; }
700  fi
701fi
702(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704   { (exit 1); exit 1; }; }
705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706ac_env_build_alias_set=${build_alias+set}
707ac_env_build_alias_value=$build_alias
708ac_cv_env_build_alias_set=${build_alias+set}
709ac_cv_env_build_alias_value=$build_alias
710ac_env_host_alias_set=${host_alias+set}
711ac_env_host_alias_value=$host_alias
712ac_cv_env_host_alias_set=${host_alias+set}
713ac_cv_env_host_alias_value=$host_alias
714ac_env_target_alias_set=${target_alias+set}
715ac_env_target_alias_value=$target_alias
716ac_cv_env_target_alias_set=${target_alias+set}
717ac_cv_env_target_alias_value=$target_alias
718ac_env_CC_set=${CC+set}
719ac_env_CC_value=$CC
720ac_cv_env_CC_set=${CC+set}
721ac_cv_env_CC_value=$CC
722ac_env_CFLAGS_set=${CFLAGS+set}
723ac_env_CFLAGS_value=$CFLAGS
724ac_cv_env_CFLAGS_set=${CFLAGS+set}
725ac_cv_env_CFLAGS_value=$CFLAGS
726ac_env_LDFLAGS_set=${LDFLAGS+set}
727ac_env_LDFLAGS_value=$LDFLAGS
728ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729ac_cv_env_LDFLAGS_value=$LDFLAGS
730ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_env_CPPFLAGS_value=$CPPFLAGS
732ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734
735#
736# Report the --help message.
737#
738if test "$ac_init_help" = "long"; then
739  # Omit some internal or obsolete options to make the list less imposing.
740  # This message is too long to be a string in the A/UX 3.1 sh.
741  cat <<_ACEOF
742\`configure' configures gnats 4.1.0 to adapt to many kinds of systems.
743
744Usage: $0 [OPTION]... [VAR=VALUE]...
745
746To assign environment variables (e.g., CC, CFLAGS...), specify them as
747VAR=VALUE.  See below for descriptions of some of the useful variables.
748
749Defaults for the options are specified in brackets.
750
751Configuration:
752  -h, --help              display this help and exit
753      --help=short        display options specific to this package
754      --help=recursive    display the short help of all the included packages
755  -V, --version           display version information and exit
756  -q, --quiet, --silent   do not print \`checking...' messages
757      --cache-file=FILE   cache test results in FILE [disabled]
758  -C, --config-cache      alias for \`--cache-file=config.cache'
759  -n, --no-create         do not create output files
760      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
761
762_ACEOF
763
764  cat <<_ACEOF
765Installation directories:
766  --prefix=PREFIX         install architecture-independent files in PREFIX
767			  [$ac_default_prefix]
768  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
769			  [PREFIX]
770
771By default, \`make install' will install all the files in
772\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
773an installation prefix other than \`$ac_default_prefix' using \`--prefix',
774for instance \`--prefix=\$HOME'.
775
776For better control, use the options below.
777
778Fine tuning of the installation directories:
779  --bindir=DIR           user executables [EPREFIX/bin]
780  --sbindir=DIR          system admin executables [EPREFIX/sbin]
781  --libexecdir=DIR       program executables [EPREFIX/libexec]
782  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
783  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
784  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
785  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
786  --libdir=DIR           object code libraries [EPREFIX/lib]
787  --includedir=DIR       C header files [PREFIX/include]
788  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
789  --infodir=DIR          info documentation [PREFIX/info]
790  --mandir=DIR           man documentation [PREFIX/man]
791_ACEOF
792
793  cat <<\_ACEOF
794_ACEOF
795fi
796
797if test -n "$ac_init_help"; then
798  case $ac_init_help in
799     short | recursive ) echo "Configuration of gnats 4.1.0:";;
800   esac
801  cat <<\_ACEOF
802
803Some influential environment variables:
804  CC          C compiler command
805  CFLAGS      C compiler flags
806  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
807              nonstandard directory <lib dir>
808  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
809              headers in a nonstandard directory <include dir>
810
811Use these variables to override the choices made by `configure' or to help
812it to find libraries and programs with nonstandard names/locations.
813
814Report bugs to <bug-gnats@gnu.org>.
815_ACEOF
816fi
817
818if test "$ac_init_help" = "recursive"; then
819  # If there are subdirs, report their specific --help.
820  ac_popdir=`pwd`
821  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
822    test -d $ac_dir || continue
823    ac_builddir=.
824
825if test "$ac_dir" != .; then
826  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
827  # A "../" for each directory in $ac_dir_suffix.
828  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
829else
830  ac_dir_suffix= ac_top_builddir=
831fi
832
833case $srcdir in
834  .)  # No --srcdir option.  We are building in place.
835    ac_srcdir=.
836    if test -z "$ac_top_builddir"; then
837       ac_top_srcdir=.
838    else
839       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840    fi ;;
841  [\\/]* | ?:[\\/]* )  # Absolute path.
842    ac_srcdir=$srcdir$ac_dir_suffix;
843    ac_top_srcdir=$srcdir ;;
844  *) # Relative path.
845    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
846    ac_top_srcdir=$ac_top_builddir$srcdir ;;
847esac
848
849# Do not use `cd foo && pwd` to compute absolute paths, because
850# the directories may not exist.
851case `pwd` in
852.) ac_abs_builddir="$ac_dir";;
853*)
854  case "$ac_dir" in
855  .) ac_abs_builddir=`pwd`;;
856  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
857  *) ac_abs_builddir=`pwd`/"$ac_dir";;
858  esac;;
859esac
860case $ac_abs_builddir in
861.) ac_abs_top_builddir=${ac_top_builddir}.;;
862*)
863  case ${ac_top_builddir}. in
864  .) ac_abs_top_builddir=$ac_abs_builddir;;
865  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
866  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
867  esac;;
868esac
869case $ac_abs_builddir in
870.) ac_abs_srcdir=$ac_srcdir;;
871*)
872  case $ac_srcdir in
873  .) ac_abs_srcdir=$ac_abs_builddir;;
874  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
875  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
876  esac;;
877esac
878case $ac_abs_builddir in
879.) ac_abs_top_srcdir=$ac_top_srcdir;;
880*)
881  case $ac_top_srcdir in
882  .) ac_abs_top_srcdir=$ac_abs_builddir;;
883  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
884  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
885  esac;;
886esac
887
888    cd $ac_dir
889    # Check for guested configure; otherwise get Cygnus style configure.
890    if test -f $ac_srcdir/configure.gnu; then
891      echo
892      $SHELL $ac_srcdir/configure.gnu  --help=recursive
893    elif test -f $ac_srcdir/configure; then
894      echo
895      $SHELL $ac_srcdir/configure  --help=recursive
896    elif test -f $ac_srcdir/configure.ac ||
897	   test -f $ac_srcdir/configure.in; then
898      echo
899      $ac_configure --help
900    else
901      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
902    fi
903    cd "$ac_popdir"
904  done
905fi
906
907test -n "$ac_init_help" && exit 0
908if $ac_init_version; then
909  cat <<\_ACEOF
910gnats configure 4.1.0
911generated by GNU Autoconf 2.59
912
913Copyright (C) 2003 Free Software Foundation, Inc.
914This configure script is free software; the Free Software Foundation
915gives unlimited permission to copy, distribute and modify it.
916_ACEOF
917  exit 0
918fi
919exec 5>config.log
920cat >&5 <<_ACEOF
921This file contains any messages produced by compilers while
922running configure, to aid debugging if configure makes a mistake.
923
924It was created by gnats $as_me 4.1.0, which was
925generated by GNU Autoconf 2.59.  Invocation command line was
926
927  $ $0 $@
928
929_ACEOF
930{
931cat <<_ASUNAME
932## --------- ##
933## Platform. ##
934## --------- ##
935
936hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
937uname -m = `(uname -m) 2>/dev/null || echo unknown`
938uname -r = `(uname -r) 2>/dev/null || echo unknown`
939uname -s = `(uname -s) 2>/dev/null || echo unknown`
940uname -v = `(uname -v) 2>/dev/null || echo unknown`
941
942/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
943/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
944
945/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
946/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
947/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
948hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
949/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
950/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
951/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
952
953_ASUNAME
954
955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
956for as_dir in $PATH
957do
958  IFS=$as_save_IFS
959  test -z "$as_dir" && as_dir=.
960  echo "PATH: $as_dir"
961done
962
963} >&5
964
965cat >&5 <<_ACEOF
966
967
968## ----------- ##
969## Core tests. ##
970## ----------- ##
971
972_ACEOF
973
974
975# Keep a trace of the command line.
976# Strip out --no-create and --no-recursion so they do not pile up.
977# Strip out --silent because we don't want to record it for future runs.
978# Also quote any args containing shell meta-characters.
979# Make two passes to allow for proper duplicate-argument suppression.
980ac_configure_args=
981ac_configure_args0=
982ac_configure_args1=
983ac_sep=
984ac_must_keep_next=false
985for ac_pass in 1 2
986do
987  for ac_arg
988  do
989    case $ac_arg in
990    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
991    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992    | -silent | --silent | --silen | --sile | --sil)
993      continue ;;
994    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
995      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
996    esac
997    case $ac_pass in
998    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
999    2)
1000      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1001      if test $ac_must_keep_next = true; then
1002	ac_must_keep_next=false # Got value, back to normal.
1003      else
1004	case $ac_arg in
1005	  *=* | --config-cache | -C | -disable-* | --disable-* \
1006	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1007	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1008	  | -with-* | --with-* | -without-* | --without-* | --x)
1009	    case "$ac_configure_args0 " in
1010	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1011	    esac
1012	    ;;
1013	  -* ) ac_must_keep_next=true ;;
1014	esac
1015      fi
1016      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1017      # Get rid of the leading space.
1018      ac_sep=" "
1019      ;;
1020    esac
1021  done
1022done
1023$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1024$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1025
1026# When interrupted or exit'd, cleanup temporary files, and complete
1027# config.log.  We remove comments because anyway the quotes in there
1028# would cause problems or look ugly.
1029# WARNING: Be sure not to use single quotes in there, as some shells,
1030# such as our DU 5.0 friend, will then `close' the trap.
1031trap 'exit_status=$?
1032  # Save into config.log some information that might help in debugging.
1033  {
1034    echo
1035
1036    cat <<\_ASBOX
1037## ---------------- ##
1038## Cache variables. ##
1039## ---------------- ##
1040_ASBOX
1041    echo
1042    # The following way of writing the cache mishandles newlines in values,
1043{
1044  (set) 2>&1 |
1045    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1046    *ac_space=\ *)
1047      sed -n \
1048	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1049	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1050      ;;
1051    *)
1052      sed -n \
1053	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1054      ;;
1055    esac;
1056}
1057    echo
1058
1059    cat <<\_ASBOX
1060## ----------------- ##
1061## Output variables. ##
1062## ----------------- ##
1063_ASBOX
1064    echo
1065    for ac_var in $ac_subst_vars
1066    do
1067      eval ac_val=$`echo $ac_var`
1068      echo "$ac_var='"'"'$ac_val'"'"'"
1069    done | sort
1070    echo
1071
1072    if test -n "$ac_subst_files"; then
1073      cat <<\_ASBOX
1074## ------------- ##
1075## Output files. ##
1076## ------------- ##
1077_ASBOX
1078      echo
1079      for ac_var in $ac_subst_files
1080      do
1081	eval ac_val=$`echo $ac_var`
1082	echo "$ac_var='"'"'$ac_val'"'"'"
1083      done | sort
1084      echo
1085    fi
1086
1087    if test -s confdefs.h; then
1088      cat <<\_ASBOX
1089## ----------- ##
1090## confdefs.h. ##
1091## ----------- ##
1092_ASBOX
1093      echo
1094      sed "/^$/d" confdefs.h | sort
1095      echo
1096    fi
1097    test "$ac_signal" != 0 &&
1098      echo "$as_me: caught signal $ac_signal"
1099    echo "$as_me: exit $exit_status"
1100  } >&5
1101  rm -f core *.core &&
1102  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1103    exit $exit_status
1104     ' 0
1105for ac_signal in 1 2 13 15; do
1106  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1107done
1108ac_signal=0
1109
1110# confdefs.h avoids OS command line length limits that DEFS can exceed.
1111rm -rf conftest* confdefs.h
1112# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1113echo >confdefs.h
1114
1115# Predefined preprocessor variables.
1116
1117cat >>confdefs.h <<_ACEOF
1118#define PACKAGE_NAME "$PACKAGE_NAME"
1119_ACEOF
1120
1121
1122cat >>confdefs.h <<_ACEOF
1123#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1124_ACEOF
1125
1126
1127cat >>confdefs.h <<_ACEOF
1128#define PACKAGE_VERSION "$PACKAGE_VERSION"
1129_ACEOF
1130
1131
1132cat >>confdefs.h <<_ACEOF
1133#define PACKAGE_STRING "$PACKAGE_STRING"
1134_ACEOF
1135
1136
1137cat >>confdefs.h <<_ACEOF
1138#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1139_ACEOF
1140
1141
1142# Let the site file select an alternate cache file if it wants to.
1143# Prefer explicitly selected file to automatically selected ones.
1144if test -z "$CONFIG_SITE"; then
1145  if test "x$prefix" != xNONE; then
1146    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1147  else
1148    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1149  fi
1150fi
1151for ac_site_file in $CONFIG_SITE; do
1152  if test -r "$ac_site_file"; then
1153    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1154echo "$as_me: loading site script $ac_site_file" >&6;}
1155    sed 's/^/| /' "$ac_site_file" >&5
1156    . "$ac_site_file"
1157  fi
1158done
1159
1160if test -r "$cache_file"; then
1161  # Some versions of bash will fail to source /dev/null (special
1162  # files actually), so we avoid doing that.
1163  if test -f "$cache_file"; then
1164    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1165echo "$as_me: loading cache $cache_file" >&6;}
1166    case $cache_file in
1167      [\\/]* | ?:[\\/]* ) . $cache_file;;
1168      *)                      . ./$cache_file;;
1169    esac
1170  fi
1171else
1172  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1173echo "$as_me: creating cache $cache_file" >&6;}
1174  >$cache_file
1175fi
1176
1177# Check that the precious variables saved in the cache have kept the same
1178# value.
1179ac_cache_corrupted=false
1180for ac_var in `(set) 2>&1 |
1181	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1182  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1183  eval ac_new_set=\$ac_env_${ac_var}_set
1184  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1185  eval ac_new_val="\$ac_env_${ac_var}_value"
1186  case $ac_old_set,$ac_new_set in
1187    set,)
1188      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1189echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1190      ac_cache_corrupted=: ;;
1191    ,set)
1192      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1193echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1194      ac_cache_corrupted=: ;;
1195    ,);;
1196    *)
1197      if test "x$ac_old_val" != "x$ac_new_val"; then
1198	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1199echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1200	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1201echo "$as_me:   former value:  $ac_old_val" >&2;}
1202	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1203echo "$as_me:   current value: $ac_new_val" >&2;}
1204	ac_cache_corrupted=:
1205      fi;;
1206  esac
1207  # Pass precious variables to config.status.
1208  if test "$ac_new_set" = set; then
1209    case $ac_new_val in
1210    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1211      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1212    *) ac_arg=$ac_var=$ac_new_val ;;
1213    esac
1214    case " $ac_configure_args " in
1215      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1216      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1217    esac
1218  fi
1219done
1220if $ac_cache_corrupted; then
1221  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1222echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1223  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1224echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1225   { (exit 1); exit 1; }; }
1226fi
1227
1228ac_ext=c
1229ac_cpp='$CPP $CPPFLAGS'
1230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1232ac_compiler_gnu=$ac_cv_c_compiler_gnu
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260ac_aux_dir=
1261for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1262  if test -f $ac_dir/install-sh; then
1263    ac_aux_dir=$ac_dir
1264    ac_install_sh="$ac_aux_dir/install-sh -c"
1265    break
1266  elif test -f $ac_dir/install.sh; then
1267    ac_aux_dir=$ac_dir
1268    ac_install_sh="$ac_aux_dir/install.sh -c"
1269    break
1270  elif test -f $ac_dir/shtool; then
1271    ac_aux_dir=$ac_dir
1272    ac_install_sh="$ac_aux_dir/shtool install -c"
1273    break
1274  fi
1275done
1276if test -z "$ac_aux_dir"; then
1277  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1278echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1279   { (exit 1); exit 1; }; }
1280fi
1281ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1282ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1283ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1284
1285
1286
1287subdirs="$subdirs gnats send-pr doc"
1288
1289
1290ac_ext=c
1291ac_cpp='$CPP $CPPFLAGS'
1292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1294ac_compiler_gnu=$ac_cv_c_compiler_gnu
1295if test -n "$ac_tool_prefix"; then
1296  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1297set dummy ${ac_tool_prefix}gcc; ac_word=$2
1298echo "$as_me:$LINENO: checking for $ac_word" >&5
1299echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1300if test "${ac_cv_prog_CC+set}" = set; then
1301  echo $ECHO_N "(cached) $ECHO_C" >&6
1302else
1303  if test -n "$CC"; then
1304  ac_cv_prog_CC="$CC" # Let the user override the test.
1305else
1306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1307for as_dir in $PATH
1308do
1309  IFS=$as_save_IFS
1310  test -z "$as_dir" && as_dir=.
1311  for ac_exec_ext in '' $ac_executable_extensions; do
1312  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1313    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1314    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1315    break 2
1316  fi
1317done
1318done
1319
1320fi
1321fi
1322CC=$ac_cv_prog_CC
1323if test -n "$CC"; then
1324  echo "$as_me:$LINENO: result: $CC" >&5
1325echo "${ECHO_T}$CC" >&6
1326else
1327  echo "$as_me:$LINENO: result: no" >&5
1328echo "${ECHO_T}no" >&6
1329fi
1330
1331fi
1332if test -z "$ac_cv_prog_CC"; then
1333  ac_ct_CC=$CC
1334  # Extract the first word of "gcc", so it can be a program name with args.
1335set dummy gcc; ac_word=$2
1336echo "$as_me:$LINENO: checking for $ac_word" >&5
1337echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1338if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1339  echo $ECHO_N "(cached) $ECHO_C" >&6
1340else
1341  if test -n "$ac_ct_CC"; then
1342  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1343else
1344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1345for as_dir in $PATH
1346do
1347  IFS=$as_save_IFS
1348  test -z "$as_dir" && as_dir=.
1349  for ac_exec_ext in '' $ac_executable_extensions; do
1350  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1351    ac_cv_prog_ac_ct_CC="gcc"
1352    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1353    break 2
1354  fi
1355done
1356done
1357
1358fi
1359fi
1360ac_ct_CC=$ac_cv_prog_ac_ct_CC
1361if test -n "$ac_ct_CC"; then
1362  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1363echo "${ECHO_T}$ac_ct_CC" >&6
1364else
1365  echo "$as_me:$LINENO: result: no" >&5
1366echo "${ECHO_T}no" >&6
1367fi
1368
1369  CC=$ac_ct_CC
1370else
1371  CC="$ac_cv_prog_CC"
1372fi
1373
1374if test -z "$CC"; then
1375  if test -n "$ac_tool_prefix"; then
1376  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1377set dummy ${ac_tool_prefix}cc; ac_word=$2
1378echo "$as_me:$LINENO: checking for $ac_word" >&5
1379echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1380if test "${ac_cv_prog_CC+set}" = set; then
1381  echo $ECHO_N "(cached) $ECHO_C" >&6
1382else
1383  if test -n "$CC"; then
1384  ac_cv_prog_CC="$CC" # Let the user override the test.
1385else
1386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1387for as_dir in $PATH
1388do
1389  IFS=$as_save_IFS
1390  test -z "$as_dir" && as_dir=.
1391  for ac_exec_ext in '' $ac_executable_extensions; do
1392  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1393    ac_cv_prog_CC="${ac_tool_prefix}cc"
1394    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1395    break 2
1396  fi
1397done
1398done
1399
1400fi
1401fi
1402CC=$ac_cv_prog_CC
1403if test -n "$CC"; then
1404  echo "$as_me:$LINENO: result: $CC" >&5
1405echo "${ECHO_T}$CC" >&6
1406else
1407  echo "$as_me:$LINENO: result: no" >&5
1408echo "${ECHO_T}no" >&6
1409fi
1410
1411fi
1412if test -z "$ac_cv_prog_CC"; then
1413  ac_ct_CC=$CC
1414  # Extract the first word of "cc", so it can be a program name with args.
1415set dummy cc; ac_word=$2
1416echo "$as_me:$LINENO: checking for $ac_word" >&5
1417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1419  echo $ECHO_N "(cached) $ECHO_C" >&6
1420else
1421  if test -n "$ac_ct_CC"; then
1422  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1423else
1424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425for as_dir in $PATH
1426do
1427  IFS=$as_save_IFS
1428  test -z "$as_dir" && as_dir=.
1429  for ac_exec_ext in '' $ac_executable_extensions; do
1430  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431    ac_cv_prog_ac_ct_CC="cc"
1432    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1433    break 2
1434  fi
1435done
1436done
1437
1438fi
1439fi
1440ac_ct_CC=$ac_cv_prog_ac_ct_CC
1441if test -n "$ac_ct_CC"; then
1442  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1443echo "${ECHO_T}$ac_ct_CC" >&6
1444else
1445  echo "$as_me:$LINENO: result: no" >&5
1446echo "${ECHO_T}no" >&6
1447fi
1448
1449  CC=$ac_ct_CC
1450else
1451  CC="$ac_cv_prog_CC"
1452fi
1453
1454fi
1455if test -z "$CC"; then
1456  # Extract the first word of "cc", so it can be a program name with args.
1457set dummy cc; ac_word=$2
1458echo "$as_me:$LINENO: checking for $ac_word" >&5
1459echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460if test "${ac_cv_prog_CC+set}" = set; then
1461  echo $ECHO_N "(cached) $ECHO_C" >&6
1462else
1463  if test -n "$CC"; then
1464  ac_cv_prog_CC="$CC" # Let the user override the test.
1465else
1466  ac_prog_rejected=no
1467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468for as_dir in $PATH
1469do
1470  IFS=$as_save_IFS
1471  test -z "$as_dir" && as_dir=.
1472  for ac_exec_ext in '' $ac_executable_extensions; do
1473  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1474    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1475       ac_prog_rejected=yes
1476       continue
1477     fi
1478    ac_cv_prog_CC="cc"
1479    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480    break 2
1481  fi
1482done
1483done
1484
1485if test $ac_prog_rejected = yes; then
1486  # We found a bogon in the path, so make sure we never use it.
1487  set dummy $ac_cv_prog_CC
1488  shift
1489  if test $# != 0; then
1490    # We chose a different compiler from the bogus one.
1491    # However, it has the same basename, so the bogon will be chosen
1492    # first if we set CC to just the basename; use the full file name.
1493    shift
1494    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1495  fi
1496fi
1497fi
1498fi
1499CC=$ac_cv_prog_CC
1500if test -n "$CC"; then
1501  echo "$as_me:$LINENO: result: $CC" >&5
1502echo "${ECHO_T}$CC" >&6
1503else
1504  echo "$as_me:$LINENO: result: no" >&5
1505echo "${ECHO_T}no" >&6
1506fi
1507
1508fi
1509if test -z "$CC"; then
1510  if test -n "$ac_tool_prefix"; then
1511  for ac_prog in cl
1512  do
1513    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1514set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1515echo "$as_me:$LINENO: checking for $ac_word" >&5
1516echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517if test "${ac_cv_prog_CC+set}" = set; then
1518  echo $ECHO_N "(cached) $ECHO_C" >&6
1519else
1520  if test -n "$CC"; then
1521  ac_cv_prog_CC="$CC" # Let the user override the test.
1522else
1523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1524for as_dir in $PATH
1525do
1526  IFS=$as_save_IFS
1527  test -z "$as_dir" && as_dir=.
1528  for ac_exec_ext in '' $ac_executable_extensions; do
1529  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1531    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1532    break 2
1533  fi
1534done
1535done
1536
1537fi
1538fi
1539CC=$ac_cv_prog_CC
1540if test -n "$CC"; then
1541  echo "$as_me:$LINENO: result: $CC" >&5
1542echo "${ECHO_T}$CC" >&6
1543else
1544  echo "$as_me:$LINENO: result: no" >&5
1545echo "${ECHO_T}no" >&6
1546fi
1547
1548    test -n "$CC" && break
1549  done
1550fi
1551if test -z "$CC"; then
1552  ac_ct_CC=$CC
1553  for ac_prog in cl
1554do
1555  # Extract the first word of "$ac_prog", so it can be a program name with args.
1556set dummy $ac_prog; ac_word=$2
1557echo "$as_me:$LINENO: checking for $ac_word" >&5
1558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1560  echo $ECHO_N "(cached) $ECHO_C" >&6
1561else
1562  if test -n "$ac_ct_CC"; then
1563  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564else
1565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566for as_dir in $PATH
1567do
1568  IFS=$as_save_IFS
1569  test -z "$as_dir" && as_dir=.
1570  for ac_exec_ext in '' $ac_executable_extensions; do
1571  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572    ac_cv_prog_ac_ct_CC="$ac_prog"
1573    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574    break 2
1575  fi
1576done
1577done
1578
1579fi
1580fi
1581ac_ct_CC=$ac_cv_prog_ac_ct_CC
1582if test -n "$ac_ct_CC"; then
1583  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1584echo "${ECHO_T}$ac_ct_CC" >&6
1585else
1586  echo "$as_me:$LINENO: result: no" >&5
1587echo "${ECHO_T}no" >&6
1588fi
1589
1590  test -n "$ac_ct_CC" && break
1591done
1592
1593  CC=$ac_ct_CC
1594fi
1595
1596fi
1597
1598
1599test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1600See \`config.log' for more details." >&5
1601echo "$as_me: error: no acceptable C compiler found in \$PATH
1602See \`config.log' for more details." >&2;}
1603   { (exit 1); exit 1; }; }
1604
1605# Provide some information about the compiler.
1606echo "$as_me:$LINENO:" \
1607     "checking for C compiler version" >&5
1608ac_compiler=`set X $ac_compile; echo $2`
1609{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1610  (eval $ac_compiler --version </dev/null >&5) 2>&5
1611  ac_status=$?
1612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613  (exit $ac_status); }
1614{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1615  (eval $ac_compiler -v </dev/null >&5) 2>&5
1616  ac_status=$?
1617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618  (exit $ac_status); }
1619{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1620  (eval $ac_compiler -V </dev/null >&5) 2>&5
1621  ac_status=$?
1622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623  (exit $ac_status); }
1624
1625cat >conftest.$ac_ext <<_ACEOF
1626/* confdefs.h.  */
1627_ACEOF
1628cat confdefs.h >>conftest.$ac_ext
1629cat >>conftest.$ac_ext <<_ACEOF
1630/* end confdefs.h.  */
1631
1632int
1633main ()
1634{
1635
1636  ;
1637  return 0;
1638}
1639_ACEOF
1640ac_clean_files_save=$ac_clean_files
1641ac_clean_files="$ac_clean_files a.out a.exe b.out"
1642# Try to create an executable without -o first, disregard a.out.
1643# It will help us diagnose broken compilers, and finding out an intuition
1644# of exeext.
1645echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1646echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1647ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1648if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1649  (eval $ac_link_default) 2>&5
1650  ac_status=$?
1651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1652  (exit $ac_status); }; then
1653  # Find the output, starting from the most likely.  This scheme is
1654# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1655# resort.
1656
1657# Be careful to initialize this variable, since it used to be cached.
1658# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1659ac_cv_exeext=
1660# b.out is created by i960 compilers.
1661for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1662do
1663  test -f "$ac_file" || continue
1664  case $ac_file in
1665    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1666	;;
1667    conftest.$ac_ext )
1668	# This is the source file.
1669	;;
1670    [ab].out )
1671	# We found the default executable, but exeext='' is most
1672	# certainly right.
1673	break;;
1674    *.* )
1675	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1676	# FIXME: I believe we export ac_cv_exeext for Libtool,
1677	# but it would be cool to find out if it's true.  Does anybody
1678	# maintain Libtool? --akim.
1679	export ac_cv_exeext
1680	break;;
1681    * )
1682	break;;
1683  esac
1684done
1685else
1686  echo "$as_me: failed program was:" >&5
1687sed 's/^/| /' conftest.$ac_ext >&5
1688
1689{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1690See \`config.log' for more details." >&5
1691echo "$as_me: error: C compiler cannot create executables
1692See \`config.log' for more details." >&2;}
1693   { (exit 77); exit 77; }; }
1694fi
1695
1696ac_exeext=$ac_cv_exeext
1697echo "$as_me:$LINENO: result: $ac_file" >&5
1698echo "${ECHO_T}$ac_file" >&6
1699
1700# Check the compiler produces executables we can run.  If not, either
1701# the compiler is broken, or we cross compile.
1702echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1703echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1704# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1705# If not cross compiling, check that we can run a simple program.
1706if test "$cross_compiling" != yes; then
1707  if { ac_try='./$ac_file'
1708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1709  (eval $ac_try) 2>&5
1710  ac_status=$?
1711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712  (exit $ac_status); }; }; then
1713    cross_compiling=no
1714  else
1715    if test "$cross_compiling" = maybe; then
1716	cross_compiling=yes
1717    else
1718	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1719If you meant to cross compile, use \`--host'.
1720See \`config.log' for more details." >&5
1721echo "$as_me: error: cannot run C compiled programs.
1722If you meant to cross compile, use \`--host'.
1723See \`config.log' for more details." >&2;}
1724   { (exit 1); exit 1; }; }
1725    fi
1726  fi
1727fi
1728echo "$as_me:$LINENO: result: yes" >&5
1729echo "${ECHO_T}yes" >&6
1730
1731rm -f a.out a.exe conftest$ac_cv_exeext b.out
1732ac_clean_files=$ac_clean_files_save
1733# Check the compiler produces executables we can run.  If not, either
1734# the compiler is broken, or we cross compile.
1735echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1736echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1737echo "$as_me:$LINENO: result: $cross_compiling" >&5
1738echo "${ECHO_T}$cross_compiling" >&6
1739
1740echo "$as_me:$LINENO: checking for suffix of executables" >&5
1741echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1743  (eval $ac_link) 2>&5
1744  ac_status=$?
1745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746  (exit $ac_status); }; then
1747  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1748# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1749# work properly (i.e., refer to `conftest.exe'), while it won't with
1750# `rm'.
1751for ac_file in conftest.exe conftest conftest.*; do
1752  test -f "$ac_file" || continue
1753  case $ac_file in
1754    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1755    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1756	  export ac_cv_exeext
1757	  break;;
1758    * ) break;;
1759  esac
1760done
1761else
1762  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1763See \`config.log' for more details." >&5
1764echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1765See \`config.log' for more details." >&2;}
1766   { (exit 1); exit 1; }; }
1767fi
1768
1769rm -f conftest$ac_cv_exeext
1770echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1771echo "${ECHO_T}$ac_cv_exeext" >&6
1772
1773rm -f conftest.$ac_ext
1774EXEEXT=$ac_cv_exeext
1775ac_exeext=$EXEEXT
1776echo "$as_me:$LINENO: checking for suffix of object files" >&5
1777echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1778if test "${ac_cv_objext+set}" = set; then
1779  echo $ECHO_N "(cached) $ECHO_C" >&6
1780else
1781  cat >conftest.$ac_ext <<_ACEOF
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
1796rm -f conftest.o conftest.obj
1797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1798  (eval $ac_compile) 2>&5
1799  ac_status=$?
1800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801  (exit $ac_status); }; then
1802  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1803  case $ac_file in
1804    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1805    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1806       break;;
1807  esac
1808done
1809else
1810  echo "$as_me: failed program was:" >&5
1811sed 's/^/| /' conftest.$ac_ext >&5
1812
1813{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1814See \`config.log' for more details." >&5
1815echo "$as_me: error: cannot compute suffix of object files: cannot compile
1816See \`config.log' for more details." >&2;}
1817   { (exit 1); exit 1; }; }
1818fi
1819
1820rm -f conftest.$ac_cv_objext conftest.$ac_ext
1821fi
1822echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1823echo "${ECHO_T}$ac_cv_objext" >&6
1824OBJEXT=$ac_cv_objext
1825ac_objext=$OBJEXT
1826echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1827echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1828if test "${ac_cv_c_compiler_gnu+set}" = set; then
1829  echo $ECHO_N "(cached) $ECHO_C" >&6
1830else
1831  cat >conftest.$ac_ext <<_ACEOF
1832/* confdefs.h.  */
1833_ACEOF
1834cat confdefs.h >>conftest.$ac_ext
1835cat >>conftest.$ac_ext <<_ACEOF
1836/* end confdefs.h.  */
1837
1838int
1839main ()
1840{
1841#ifndef __GNUC__
1842       choke me
1843#endif
1844
1845  ;
1846  return 0;
1847}
1848_ACEOF
1849rm -f conftest.$ac_objext
1850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1851  (eval $ac_compile) 2>conftest.er1
1852  ac_status=$?
1853  grep -v '^ *+' conftest.er1 >conftest.err
1854  rm -f conftest.er1
1855  cat conftest.err >&5
1856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857  (exit $ac_status); } &&
1858	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
1859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860  (eval $ac_try) 2>&5
1861  ac_status=$?
1862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1863  (exit $ac_status); }; } &&
1864	 { ac_try='test -s conftest.$ac_objext'
1865  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1866  (eval $ac_try) 2>&5
1867  ac_status=$?
1868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869  (exit $ac_status); }; }; then
1870  ac_compiler_gnu=yes
1871else
1872  echo "$as_me: failed program was:" >&5
1873sed 's/^/| /' conftest.$ac_ext >&5
1874
1875ac_compiler_gnu=no
1876fi
1877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1878ac_cv_c_compiler_gnu=$ac_compiler_gnu
1879
1880fi
1881echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1882echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1883GCC=`test $ac_compiler_gnu = yes && echo yes`
1884ac_test_CFLAGS=${CFLAGS+set}
1885ac_save_CFLAGS=$CFLAGS
1886CFLAGS="-g"
1887echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1888echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1889if test "${ac_cv_prog_cc_g+set}" = set; then
1890  echo $ECHO_N "(cached) $ECHO_C" >&6
1891else
1892  cat >conftest.$ac_ext <<_ACEOF
1893/* confdefs.h.  */
1894_ACEOF
1895cat confdefs.h >>conftest.$ac_ext
1896cat >>conftest.$ac_ext <<_ACEOF
1897/* end confdefs.h.  */
1898
1899int
1900main ()
1901{
1902
1903  ;
1904  return 0;
1905}
1906_ACEOF
1907rm -f conftest.$ac_objext
1908if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1909  (eval $ac_compile) 2>conftest.er1
1910  ac_status=$?
1911  grep -v '^ *+' conftest.er1 >conftest.err
1912  rm -f conftest.er1
1913  cat conftest.err >&5
1914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1915  (exit $ac_status); } &&
1916	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
1917  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1918  (eval $ac_try) 2>&5
1919  ac_status=$?
1920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921  (exit $ac_status); }; } &&
1922	 { ac_try='test -s conftest.$ac_objext'
1923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1924  (eval $ac_try) 2>&5
1925  ac_status=$?
1926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927  (exit $ac_status); }; }; then
1928  ac_cv_prog_cc_g=yes
1929else
1930  echo "$as_me: failed program was:" >&5
1931sed 's/^/| /' conftest.$ac_ext >&5
1932
1933ac_cv_prog_cc_g=no
1934fi
1935rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1936fi
1937echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1938echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1939if test "$ac_test_CFLAGS" = set; then
1940  CFLAGS=$ac_save_CFLAGS
1941elif test $ac_cv_prog_cc_g = yes; then
1942  if test "$GCC" = yes; then
1943    CFLAGS="-g -O2"
1944  else
1945    CFLAGS="-g"
1946  fi
1947else
1948  if test "$GCC" = yes; then
1949    CFLAGS="-O2"
1950  else
1951    CFLAGS=
1952  fi
1953fi
1954echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1955echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1956if test "${ac_cv_prog_cc_stdc+set}" = set; then
1957  echo $ECHO_N "(cached) $ECHO_C" >&6
1958else
1959  ac_cv_prog_cc_stdc=no
1960ac_save_CC=$CC
1961cat >conftest.$ac_ext <<_ACEOF
1962/* confdefs.h.  */
1963_ACEOF
1964cat confdefs.h >>conftest.$ac_ext
1965cat >>conftest.$ac_ext <<_ACEOF
1966/* end confdefs.h.  */
1967#include <stdarg.h>
1968#include <stdio.h>
1969#include <sys/types.h>
1970#include <sys/stat.h>
1971/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1972struct buf { int x; };
1973FILE * (*rcsopen) (struct buf *, struct stat *, int);
1974static char *e (p, i)
1975     char **p;
1976     int i;
1977{
1978  return p[i];
1979}
1980static char *f (char * (*g) (char **, int), char **p, ...)
1981{
1982  char *s;
1983  va_list v;
1984  va_start (v,p);
1985  s = g (p, va_arg (v,int));
1986  va_end (v);
1987  return s;
1988}
1989
1990/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1991   function prototypes and stuff, but not '\xHH' hex character constants.
1992   These don't provoke an error unfortunately, instead are silently treated
1993   as 'x'.  The following induces an error, until -std1 is added to get
1994   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1995   array size at least.  It's necessary to write '\x00'==0 to get something
1996   that's true only with -std1.  */
1997int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1998
1999int test (int i, double x);
2000struct s1 {int (*f) (int a);};
2001struct s2 {int (*f) (double a);};
2002int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2003int argc;
2004char **argv;
2005int
2006main ()
2007{
2008return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2009  ;
2010  return 0;
2011}
2012_ACEOF
2013# Don't try gcc -ansi; that turns off useful extensions and
2014# breaks some systems' header files.
2015# AIX			-qlanglvl=ansi
2016# Ultrix and OSF/1	-std1
2017# HP-UX 10.20 and later	-Ae
2018# HP-UX older versions	-Aa -D_HPUX_SOURCE
2019# SVR4			-Xc -D__EXTENSIONS__
2020for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2021do
2022  CC="$ac_save_CC $ac_arg"
2023  rm -f conftest.$ac_objext
2024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2025  (eval $ac_compile) 2>conftest.er1
2026  ac_status=$?
2027  grep -v '^ *+' conftest.er1 >conftest.err
2028  rm -f conftest.er1
2029  cat conftest.err >&5
2030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031  (exit $ac_status); } &&
2032	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034  (eval $ac_try) 2>&5
2035  ac_status=$?
2036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037  (exit $ac_status); }; } &&
2038	 { ac_try='test -s conftest.$ac_objext'
2039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040  (eval $ac_try) 2>&5
2041  ac_status=$?
2042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043  (exit $ac_status); }; }; then
2044  ac_cv_prog_cc_stdc=$ac_arg
2045break
2046else
2047  echo "$as_me: failed program was:" >&5
2048sed 's/^/| /' conftest.$ac_ext >&5
2049
2050fi
2051rm -f conftest.err conftest.$ac_objext
2052done
2053rm -f conftest.$ac_ext conftest.$ac_objext
2054CC=$ac_save_CC
2055
2056fi
2057
2058case "x$ac_cv_prog_cc_stdc" in
2059  x|xno)
2060    echo "$as_me:$LINENO: result: none needed" >&5
2061echo "${ECHO_T}none needed" >&6 ;;
2062  *)
2063    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2064echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2065    CC="$CC $ac_cv_prog_cc_stdc" ;;
2066esac
2067
2068# Some people use a C++ compiler to compile C.  Since we use `exit',
2069# in C++ we need to declare it.  In case someone uses the same compiler
2070# for both compiling C and C++ we need to have the C++ compiler decide
2071# the declaration of exit, since it's the most demanding environment.
2072cat >conftest.$ac_ext <<_ACEOF
2073#ifndef __cplusplus
2074  choke me
2075#endif
2076_ACEOF
2077rm -f conftest.$ac_objext
2078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2079  (eval $ac_compile) 2>conftest.er1
2080  ac_status=$?
2081  grep -v '^ *+' conftest.er1 >conftest.err
2082  rm -f conftest.er1
2083  cat conftest.err >&5
2084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085  (exit $ac_status); } &&
2086	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2087  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088  (eval $ac_try) 2>&5
2089  ac_status=$?
2090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091  (exit $ac_status); }; } &&
2092	 { ac_try='test -s conftest.$ac_objext'
2093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094  (eval $ac_try) 2>&5
2095  ac_status=$?
2096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097  (exit $ac_status); }; }; then
2098  for ac_declaration in \
2099   '' \
2100   'extern "C" void std::exit (int) throw (); using std::exit;' \
2101   'extern "C" void std::exit (int); using std::exit;' \
2102   'extern "C" void exit (int) throw ();' \
2103   'extern "C" void exit (int);' \
2104   'void exit (int);'
2105do
2106  cat >conftest.$ac_ext <<_ACEOF
2107/* confdefs.h.  */
2108_ACEOF
2109cat confdefs.h >>conftest.$ac_ext
2110cat >>conftest.$ac_ext <<_ACEOF
2111/* end confdefs.h.  */
2112$ac_declaration
2113#include <stdlib.h>
2114int
2115main ()
2116{
2117exit (42);
2118  ;
2119  return 0;
2120}
2121_ACEOF
2122rm -f conftest.$ac_objext
2123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124  (eval $ac_compile) 2>conftest.er1
2125  ac_status=$?
2126  grep -v '^ *+' conftest.er1 >conftest.err
2127  rm -f conftest.er1
2128  cat conftest.err >&5
2129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130  (exit $ac_status); } &&
2131	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133  (eval $ac_try) 2>&5
2134  ac_status=$?
2135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136  (exit $ac_status); }; } &&
2137	 { ac_try='test -s conftest.$ac_objext'
2138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139  (eval $ac_try) 2>&5
2140  ac_status=$?
2141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142  (exit $ac_status); }; }; then
2143  :
2144else
2145  echo "$as_me: failed program was:" >&5
2146sed 's/^/| /' conftest.$ac_ext >&5
2147
2148continue
2149fi
2150rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2151  cat >conftest.$ac_ext <<_ACEOF
2152/* confdefs.h.  */
2153_ACEOF
2154cat confdefs.h >>conftest.$ac_ext
2155cat >>conftest.$ac_ext <<_ACEOF
2156/* end confdefs.h.  */
2157$ac_declaration
2158int
2159main ()
2160{
2161exit (42);
2162  ;
2163  return 0;
2164}
2165_ACEOF
2166rm -f conftest.$ac_objext
2167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168  (eval $ac_compile) 2>conftest.er1
2169  ac_status=$?
2170  grep -v '^ *+' conftest.er1 >conftest.err
2171  rm -f conftest.er1
2172  cat conftest.err >&5
2173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174  (exit $ac_status); } &&
2175	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177  (eval $ac_try) 2>&5
2178  ac_status=$?
2179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180  (exit $ac_status); }; } &&
2181	 { ac_try='test -s conftest.$ac_objext'
2182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183  (eval $ac_try) 2>&5
2184  ac_status=$?
2185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186  (exit $ac_status); }; }; then
2187  break
2188else
2189  echo "$as_me: failed program was:" >&5
2190sed 's/^/| /' conftest.$ac_ext >&5
2191
2192fi
2193rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2194done
2195rm -f conftest*
2196if test -n "$ac_declaration"; then
2197  echo '#ifdef __cplusplus' >>confdefs.h
2198  echo $ac_declaration      >>confdefs.h
2199  echo '#endif'             >>confdefs.h
2200fi
2201
2202else
2203  echo "$as_me: failed program was:" >&5
2204sed 's/^/| /' conftest.$ac_ext >&5
2205
2206fi
2207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2208ac_ext=c
2209ac_cpp='$CPP $CPPFLAGS'
2210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212ac_compiler_gnu=$ac_cv_c_compiler_gnu
2213
2214
2215for ac_prog in flex lex
2216do
2217  # Extract the first word of "$ac_prog", so it can be a program name with args.
2218set dummy $ac_prog; ac_word=$2
2219echo "$as_me:$LINENO: checking for $ac_word" >&5
2220echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2221if test "${ac_cv_prog_LEX+set}" = set; then
2222  echo $ECHO_N "(cached) $ECHO_C" >&6
2223else
2224  if test -n "$LEX"; then
2225  ac_cv_prog_LEX="$LEX" # Let the user override the test.
2226else
2227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228for as_dir in $PATH
2229do
2230  IFS=$as_save_IFS
2231  test -z "$as_dir" && as_dir=.
2232  for ac_exec_ext in '' $ac_executable_extensions; do
2233  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2234    ac_cv_prog_LEX="$ac_prog"
2235    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236    break 2
2237  fi
2238done
2239done
2240
2241fi
2242fi
2243LEX=$ac_cv_prog_LEX
2244if test -n "$LEX"; then
2245  echo "$as_me:$LINENO: result: $LEX" >&5
2246echo "${ECHO_T}$LEX" >&6
2247else
2248  echo "$as_me:$LINENO: result: no" >&5
2249echo "${ECHO_T}no" >&6
2250fi
2251
2252  test -n "$LEX" && break
2253done
2254test -n "$LEX" || LEX=":"
2255
2256if test -z "$LEXLIB"
2257then
2258  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2259echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2260if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2261  echo $ECHO_N "(cached) $ECHO_C" >&6
2262else
2263  ac_check_lib_save_LIBS=$LIBS
2264LIBS="-lfl  $LIBS"
2265cat >conftest.$ac_ext <<_ACEOF
2266/* confdefs.h.  */
2267_ACEOF
2268cat confdefs.h >>conftest.$ac_ext
2269cat >>conftest.$ac_ext <<_ACEOF
2270/* end confdefs.h.  */
2271
2272/* Override any gcc2 internal prototype to avoid an error.  */
2273#ifdef __cplusplus
2274extern "C"
2275#endif
2276/* We use char because int might match the return type of a gcc2
2277   builtin and then its argument prototype would still apply.  */
2278char yywrap ();
2279int
2280main ()
2281{
2282yywrap ();
2283  ;
2284  return 0;
2285}
2286_ACEOF
2287rm -f conftest.$ac_objext conftest$ac_exeext
2288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2289  (eval $ac_link) 2>conftest.er1
2290  ac_status=$?
2291  grep -v '^ *+' conftest.er1 >conftest.err
2292  rm -f conftest.er1
2293  cat conftest.err >&5
2294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295  (exit $ac_status); } &&
2296	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2297  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298  (eval $ac_try) 2>&5
2299  ac_status=$?
2300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301  (exit $ac_status); }; } &&
2302	 { ac_try='test -s conftest$ac_exeext'
2303  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304  (eval $ac_try) 2>&5
2305  ac_status=$?
2306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307  (exit $ac_status); }; }; then
2308  ac_cv_lib_fl_yywrap=yes
2309else
2310  echo "$as_me: failed program was:" >&5
2311sed 's/^/| /' conftest.$ac_ext >&5
2312
2313ac_cv_lib_fl_yywrap=no
2314fi
2315rm -f conftest.err conftest.$ac_objext \
2316      conftest$ac_exeext conftest.$ac_ext
2317LIBS=$ac_check_lib_save_LIBS
2318fi
2319echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2320echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2321if test $ac_cv_lib_fl_yywrap = yes; then
2322  LEXLIB="-lfl"
2323else
2324  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2325echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2326if test "${ac_cv_lib_l_yywrap+set}" = set; then
2327  echo $ECHO_N "(cached) $ECHO_C" >&6
2328else
2329  ac_check_lib_save_LIBS=$LIBS
2330LIBS="-ll  $LIBS"
2331cat >conftest.$ac_ext <<_ACEOF
2332/* confdefs.h.  */
2333_ACEOF
2334cat confdefs.h >>conftest.$ac_ext
2335cat >>conftest.$ac_ext <<_ACEOF
2336/* end confdefs.h.  */
2337
2338/* Override any gcc2 internal prototype to avoid an error.  */
2339#ifdef __cplusplus
2340extern "C"
2341#endif
2342/* We use char because int might match the return type of a gcc2
2343   builtin and then its argument prototype would still apply.  */
2344char yywrap ();
2345int
2346main ()
2347{
2348yywrap ();
2349  ;
2350  return 0;
2351}
2352_ACEOF
2353rm -f conftest.$ac_objext conftest$ac_exeext
2354if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2355  (eval $ac_link) 2>conftest.er1
2356  ac_status=$?
2357  grep -v '^ *+' conftest.er1 >conftest.err
2358  rm -f conftest.er1
2359  cat conftest.err >&5
2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361  (exit $ac_status); } &&
2362	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364  (eval $ac_try) 2>&5
2365  ac_status=$?
2366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367  (exit $ac_status); }; } &&
2368	 { ac_try='test -s conftest$ac_exeext'
2369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370  (eval $ac_try) 2>&5
2371  ac_status=$?
2372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373  (exit $ac_status); }; }; then
2374  ac_cv_lib_l_yywrap=yes
2375else
2376  echo "$as_me: failed program was:" >&5
2377sed 's/^/| /' conftest.$ac_ext >&5
2378
2379ac_cv_lib_l_yywrap=no
2380fi
2381rm -f conftest.err conftest.$ac_objext \
2382      conftest$ac_exeext conftest.$ac_ext
2383LIBS=$ac_check_lib_save_LIBS
2384fi
2385echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2386echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2387if test $ac_cv_lib_l_yywrap = yes; then
2388  LEXLIB="-ll"
2389fi
2390
2391fi
2392
2393fi
2394
2395if test "x$LEX" != "x:"; then
2396  echo "$as_me:$LINENO: checking lex output file root" >&5
2397echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2398if test "${ac_cv_prog_lex_root+set}" = set; then
2399  echo $ECHO_N "(cached) $ECHO_C" >&6
2400else
2401  # The minimal lex program is just a single line: %%.  But some broken lexes
2402# (Solaris, I think it was) want two %% lines, so accommodate them.
2403cat >conftest.l <<_ACEOF
2404%%
2405%%
2406_ACEOF
2407{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2408  (eval $LEX conftest.l) 2>&5
2409  ac_status=$?
2410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411  (exit $ac_status); }
2412if test -f lex.yy.c; then
2413  ac_cv_prog_lex_root=lex.yy
2414elif test -f lexyy.c; then
2415  ac_cv_prog_lex_root=lexyy
2416else
2417  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2418echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2419   { (exit 1); exit 1; }; }
2420fi
2421fi
2422echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2423echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2424rm -f conftest.l
2425LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2426
2427echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2428echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2429if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2430  echo $ECHO_N "(cached) $ECHO_C" >&6
2431else
2432  # POSIX says lex can declare yytext either as a pointer or an array; the
2433# default is implementation-dependent. Figure out which it is, since
2434# not all implementations provide the %pointer and %array declarations.
2435ac_cv_prog_lex_yytext_pointer=no
2436echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2437ac_save_LIBS=$LIBS
2438LIBS="$LIBS $LEXLIB"
2439cat >conftest.$ac_ext <<_ACEOF
2440`cat $LEX_OUTPUT_ROOT.c`
2441_ACEOF
2442rm -f conftest.$ac_objext conftest$ac_exeext
2443if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2444  (eval $ac_link) 2>conftest.er1
2445  ac_status=$?
2446  grep -v '^ *+' conftest.er1 >conftest.err
2447  rm -f conftest.er1
2448  cat conftest.err >&5
2449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450  (exit $ac_status); } &&
2451	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453  (eval $ac_try) 2>&5
2454  ac_status=$?
2455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456  (exit $ac_status); }; } &&
2457	 { ac_try='test -s conftest$ac_exeext'
2458  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459  (eval $ac_try) 2>&5
2460  ac_status=$?
2461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462  (exit $ac_status); }; }; then
2463  ac_cv_prog_lex_yytext_pointer=yes
2464else
2465  echo "$as_me: failed program was:" >&5
2466sed 's/^/| /' conftest.$ac_ext >&5
2467
2468fi
2469rm -f conftest.err conftest.$ac_objext \
2470      conftest$ac_exeext conftest.$ac_ext
2471LIBS=$ac_save_LIBS
2472rm -f "${LEX_OUTPUT_ROOT}.c"
2473
2474fi
2475echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2476echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2477if test $ac_cv_prog_lex_yytext_pointer = yes; then
2478
2479cat >>confdefs.h <<\_ACEOF
2480#define YYTEXT_POINTER 1
2481_ACEOF
2482
2483fi
2484
2485fi
2486for ac_prog in 'bison -y' byacc
2487do
2488  # Extract the first word of "$ac_prog", so it can be a program name with args.
2489set dummy $ac_prog; ac_word=$2
2490echo "$as_me:$LINENO: checking for $ac_word" >&5
2491echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492if test "${ac_cv_prog_YACC+set}" = set; then
2493  echo $ECHO_N "(cached) $ECHO_C" >&6
2494else
2495  if test -n "$YACC"; then
2496  ac_cv_prog_YACC="$YACC" # Let the user override the test.
2497else
2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499for as_dir in $PATH
2500do
2501  IFS=$as_save_IFS
2502  test -z "$as_dir" && as_dir=.
2503  for ac_exec_ext in '' $ac_executable_extensions; do
2504  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505    ac_cv_prog_YACC="$ac_prog"
2506    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507    break 2
2508  fi
2509done
2510done
2511
2512fi
2513fi
2514YACC=$ac_cv_prog_YACC
2515if test -n "$YACC"; then
2516  echo "$as_me:$LINENO: result: $YACC" >&5
2517echo "${ECHO_T}$YACC" >&6
2518else
2519  echo "$as_me:$LINENO: result: no" >&5
2520echo "${ECHO_T}no" >&6
2521fi
2522
2523  test -n "$YACC" && break
2524done
2525test -n "$YACC" || YACC="yacc"
2526
2527
2528          ac_config_files="$ac_config_files Makefile"
2529
2530cat >confcache <<\_ACEOF
2531# This file is a shell script that caches the results of configure
2532# tests run on this system so they can be shared between configure
2533# scripts and configure runs, see configure's option --config-cache.
2534# It is not useful on other systems.  If it contains results you don't
2535# want to keep, you may remove or edit it.
2536#
2537# config.status only pays attention to the cache file if you give it
2538# the --recheck option to rerun configure.
2539#
2540# `ac_cv_env_foo' variables (set or unset) will be overridden when
2541# loading this file, other *unset* `ac_cv_foo' will be assigned the
2542# following values.
2543
2544_ACEOF
2545
2546# The following way of writing the cache mishandles newlines in values,
2547# but we know of no workaround that is simple, portable, and efficient.
2548# So, don't put newlines in cache variables' values.
2549# Ultrix sh set writes to stderr and can't be redirected directly,
2550# and sets the high bit in the cache file unless we assign to the vars.
2551{
2552  (set) 2>&1 |
2553    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2554    *ac_space=\ *)
2555      # `set' does not quote correctly, so add quotes (double-quote
2556      # substitution turns \\\\ into \\, and sed turns \\ into \).
2557      sed -n \
2558	"s/'/'\\\\''/g;
2559	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2560      ;;
2561    *)
2562      # `set' quotes correctly as required by POSIX, so do not add quotes.
2563      sed -n \
2564	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2565      ;;
2566    esac;
2567} |
2568  sed '
2569     t clear
2570     : clear
2571     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2572     t end
2573     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2574     : end' >>confcache
2575if diff $cache_file confcache >/dev/null 2>&1; then :; else
2576  if test -w $cache_file; then
2577    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2578    cat confcache >$cache_file
2579  else
2580    echo "not updating unwritable cache $cache_file"
2581  fi
2582fi
2583rm -f confcache
2584
2585test "x$prefix" = xNONE && prefix=$ac_default_prefix
2586# Let make expand exec_prefix.
2587test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2588
2589# VPATH may cause trouble with some makes, so we remove $(srcdir),
2590# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2591# trailing colons and then remove the whole line if VPATH becomes empty
2592# (actually we leave an empty line to preserve line numbers).
2593if test "x$srcdir" = x.; then
2594  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2595s/:*\$(srcdir):*/:/;
2596s/:*\${srcdir}:*/:/;
2597s/:*@srcdir@:*/:/;
2598s/^\([^=]*=[	 ]*\):*/\1/;
2599s/:*$//;
2600s/^[^=]*=[	 ]*$//;
2601}'
2602fi
2603
2604# Transform confdefs.h into DEFS.
2605# Protect against shell expansion while executing Makefile rules.
2606# Protect against Makefile macro expansion.
2607#
2608# If the first sed substitution is executed (which looks for macros that
2609# take arguments), then we branch to the quote section.  Otherwise,
2610# look for a macro that doesn't take arguments.
2611cat >confdef2opt.sed <<\_ACEOF
2612t clear
2613: clear
2614s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
2615t quote
2616s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
2617t quote
2618d
2619: quote
2620s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
2621s,\[,\\&,g
2622s,\],\\&,g
2623s,\$,$$,g
2624p
2625_ACEOF
2626# We use echo to avoid assuming a particular line-breaking character.
2627# The extra dot is to prevent the shell from consuming trailing
2628# line-breaks from the sub-command output.  A line-break within
2629# single-quotes doesn't work because, if this script is created in a
2630# platform that uses two characters for line-breaks (e.g., DOS), tr
2631# would break.
2632ac_LF_and_DOT=`echo; echo .`
2633DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2634rm -f confdef2opt.sed
2635
2636
2637ac_libobjs=
2638ac_ltlibobjs=
2639for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2640  # 1. Remove the extension, and $U if already installed.
2641  ac_i=`echo "$ac_i" |
2642	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2643  # 2. Add them.
2644  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2645  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2646done
2647LIBOBJS=$ac_libobjs
2648
2649LTLIBOBJS=$ac_ltlibobjs
2650
2651
2652
2653: ${CONFIG_STATUS=./config.status}
2654ac_clean_files_save=$ac_clean_files
2655ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2656{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2657echo "$as_me: creating $CONFIG_STATUS" >&6;}
2658cat >$CONFIG_STATUS <<_ACEOF
2659#! $SHELL
2660# Generated by $as_me.
2661# Run this file to recreate the current configuration.
2662# Compiler output produced by configure, useful for debugging
2663# configure, is in config.log if it exists.
2664
2665debug=false
2666ac_cs_recheck=false
2667ac_cs_silent=false
2668SHELL=\${CONFIG_SHELL-$SHELL}
2669_ACEOF
2670
2671cat >>$CONFIG_STATUS <<\_ACEOF
2672## --------------------- ##
2673## M4sh Initialization.  ##
2674## --------------------- ##
2675
2676# Be Bourne compatible
2677if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2678  emulate sh
2679  NULLCMD=:
2680  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2681  # is contrary to our usage.  Disable this feature.
2682  alias -g '${1+"$@"}'='"$@"'
2683elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2684  set -o posix
2685fi
2686DUALCASE=1; export DUALCASE # for MKS sh
2687
2688# Support unset when possible.
2689if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2690  as_unset=unset
2691else
2692  as_unset=false
2693fi
2694
2695
2696# Work around bugs in pre-3.0 UWIN ksh.
2697$as_unset ENV MAIL MAILPATH
2698PS1='$ '
2699PS2='> '
2700PS4='+ '
2701
2702# NLS nuisances.
2703for as_var in \
2704  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2705  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2706  LC_TELEPHONE LC_TIME
2707do
2708  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2709    eval $as_var=C; export $as_var
2710  else
2711    $as_unset $as_var
2712  fi
2713done
2714
2715# Required to use basename.
2716if expr a : '\(a\)' >/dev/null 2>&1; then
2717  as_expr=expr
2718else
2719  as_expr=false
2720fi
2721
2722if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2723  as_basename=basename
2724else
2725  as_basename=false
2726fi
2727
2728
2729# Name of the executable.
2730as_me=`$as_basename "$0" ||
2731$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2732	 X"$0" : 'X\(//\)$' \| \
2733	 X"$0" : 'X\(/\)$' \| \
2734	 .     : '\(.\)' 2>/dev/null ||
2735echo X/"$0" |
2736    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2737  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
2738  	  /^X\/\(\/\).*/{ s//\1/; q; }
2739  	  s/.*/./; q'`
2740
2741
2742# PATH needs CR, and LINENO needs CR and PATH.
2743# Avoid depending upon Character Ranges.
2744as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2745as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2746as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2747as_cr_digits='0123456789'
2748as_cr_alnum=$as_cr_Letters$as_cr_digits
2749
2750# The user is always right.
2751if test "${PATH_SEPARATOR+set}" != set; then
2752  echo "#! /bin/sh" >conf$$.sh
2753  echo  "exit 0"   >>conf$$.sh
2754  chmod +x conf$$.sh
2755  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2756    PATH_SEPARATOR=';'
2757  else
2758    PATH_SEPARATOR=:
2759  fi
2760  rm -f conf$$.sh
2761fi
2762
2763
2764  as_lineno_1=$LINENO
2765  as_lineno_2=$LINENO
2766  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2767  test "x$as_lineno_1" != "x$as_lineno_2" &&
2768  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2769  # Find who we are.  Look in the path if we contain no path at all
2770  # relative or not.
2771  case $0 in
2772    *[\\/]* ) as_myself=$0 ;;
2773    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774for as_dir in $PATH
2775do
2776  IFS=$as_save_IFS
2777  test -z "$as_dir" && as_dir=.
2778  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2779done
2780
2781       ;;
2782  esac
2783  # We did not find ourselves, most probably we were run as `sh COMMAND'
2784  # in which case we are not to be found in the path.
2785  if test "x$as_myself" = x; then
2786    as_myself=$0
2787  fi
2788  if test ! -f "$as_myself"; then
2789    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2790echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2791   { (exit 1); exit 1; }; }
2792  fi
2793  case $CONFIG_SHELL in
2794  '')
2795    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2797do
2798  IFS=$as_save_IFS
2799  test -z "$as_dir" && as_dir=.
2800  for as_base in sh bash ksh sh5; do
2801	 case $as_dir in
2802	 /*)
2803	   if ("$as_dir/$as_base" -c '
2804  as_lineno_1=$LINENO
2805  as_lineno_2=$LINENO
2806  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2807  test "x$as_lineno_1" != "x$as_lineno_2" &&
2808  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2809	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2810	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2811	     CONFIG_SHELL=$as_dir/$as_base
2812	     export CONFIG_SHELL
2813	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2814	   fi;;
2815	 esac
2816       done
2817done
2818;;
2819  esac
2820
2821  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2822  # uniformly replaced by the line number.  The first 'sed' inserts a
2823  # line-number line before each line; the second 'sed' does the real
2824  # work.  The second script uses 'N' to pair each line-number line
2825  # with the numbered line, and appends trailing '-' during
2826  # substitution so that $LINENO is not a special case at line end.
2827  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2828  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2829  sed '=' <$as_myself |
2830    sed '
2831      N
2832      s,$,-,
2833      : loop
2834      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2835      t loop
2836      s,-$,,
2837      s,^['$as_cr_digits']*\n,,
2838    ' >$as_me.lineno &&
2839  chmod +x $as_me.lineno ||
2840    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2841echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2842   { (exit 1); exit 1; }; }
2843
2844  # Don't try to exec as it changes $[0], causing all sort of problems
2845  # (the dirname of $[0] is not the place where we might find the
2846  # original and so on.  Autoconf is especially sensible to this).
2847  . ./$as_me.lineno
2848  # Exit status is that of the last command.
2849  exit
2850}
2851
2852
2853case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2854  *c*,-n*) ECHO_N= ECHO_C='
2855' ECHO_T='	' ;;
2856  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2857  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2858esac
2859
2860if expr a : '\(a\)' >/dev/null 2>&1; then
2861  as_expr=expr
2862else
2863  as_expr=false
2864fi
2865
2866rm -f conf$$ conf$$.exe conf$$.file
2867echo >conf$$.file
2868if ln -s conf$$.file conf$$ 2>/dev/null; then
2869  # We could just check for DJGPP; but this test a) works b) is more generic
2870  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2871  if test -f conf$$.exe; then
2872    # Don't use ln at all; we don't have any links
2873    as_ln_s='cp -p'
2874  else
2875    as_ln_s='ln -s'
2876  fi
2877elif ln conf$$.file conf$$ 2>/dev/null; then
2878  as_ln_s=ln
2879else
2880  as_ln_s='cp -p'
2881fi
2882rm -f conf$$ conf$$.exe conf$$.file
2883
2884if mkdir -p . 2>/dev/null; then
2885  as_mkdir_p=:
2886else
2887  test -d ./-p && rmdir ./-p
2888  as_mkdir_p=false
2889fi
2890
2891as_executable_p="test -f"
2892
2893# Sed expression to map a string onto a valid CPP name.
2894as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2895
2896# Sed expression to map a string onto a valid variable name.
2897as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2898
2899
2900# IFS
2901# We need space, tab and new line, in precisely that order.
2902as_nl='
2903'
2904IFS=" 	$as_nl"
2905
2906# CDPATH.
2907$as_unset CDPATH
2908
2909exec 6>&1
2910
2911# Open the log real soon, to keep \$[0] and so on meaningful, and to
2912# report actual input values of CONFIG_FILES etc. instead of their
2913# values after options handling.  Logging --version etc. is OK.
2914exec 5>>config.log
2915{
2916  echo
2917  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2918## Running $as_me. ##
2919_ASBOX
2920} >&5
2921cat >&5 <<_CSEOF
2922
2923This file was extended by gnats $as_me 4.1.0, which was
2924generated by GNU Autoconf 2.59.  Invocation command line was
2925
2926  CONFIG_FILES    = $CONFIG_FILES
2927  CONFIG_HEADERS  = $CONFIG_HEADERS
2928  CONFIG_LINKS    = $CONFIG_LINKS
2929  CONFIG_COMMANDS = $CONFIG_COMMANDS
2930  $ $0 $@
2931
2932_CSEOF
2933echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2934echo >&5
2935_ACEOF
2936
2937# Files that config.status was made for.
2938if test -n "$ac_config_files"; then
2939  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2940fi
2941
2942if test -n "$ac_config_headers"; then
2943  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2944fi
2945
2946if test -n "$ac_config_links"; then
2947  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2948fi
2949
2950if test -n "$ac_config_commands"; then
2951  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2952fi
2953
2954cat >>$CONFIG_STATUS <<\_ACEOF
2955
2956ac_cs_usage="\
2957\`$as_me' instantiates files from templates according to the
2958current configuration.
2959
2960Usage: $0 [OPTIONS] [FILE]...
2961
2962  -h, --help       print this help, then exit
2963  -V, --version    print version number, then exit
2964  -q, --quiet      do not print progress messages
2965  -d, --debug      don't remove temporary files
2966      --recheck    update $as_me by reconfiguring in the same conditions
2967  --file=FILE[:TEMPLATE]
2968		   instantiate the configuration file FILE
2969
2970Configuration files:
2971$config_files
2972
2973Report bugs to <bug-autoconf@gnu.org>."
2974_ACEOF
2975
2976cat >>$CONFIG_STATUS <<_ACEOF
2977ac_cs_version="\\
2978gnats config.status 4.1.0
2979configured by $0, generated by GNU Autoconf 2.59,
2980  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2981
2982Copyright (C) 2003 Free Software Foundation, Inc.
2983This config.status script is free software; the Free Software Foundation
2984gives unlimited permission to copy, distribute and modify it."
2985srcdir=$srcdir
2986_ACEOF
2987
2988cat >>$CONFIG_STATUS <<\_ACEOF
2989# If no file are specified by the user, then we need to provide default
2990# value.  By we need to know if files were specified by the user.
2991ac_need_defaults=:
2992while test $# != 0
2993do
2994  case $1 in
2995  --*=*)
2996    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2997    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2998    ac_shift=:
2999    ;;
3000  -*)
3001    ac_option=$1
3002    ac_optarg=$2
3003    ac_shift=shift
3004    ;;
3005  *) # This is not an option, so the user has probably given explicit
3006     # arguments.
3007     ac_option=$1
3008     ac_need_defaults=false;;
3009  esac
3010
3011  case $ac_option in
3012  # Handling of the options.
3013_ACEOF
3014cat >>$CONFIG_STATUS <<\_ACEOF
3015  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3016    ac_cs_recheck=: ;;
3017  --version | --vers* | -V )
3018    echo "$ac_cs_version"; exit 0 ;;
3019  --he | --h)
3020    # Conflict between --help and --header
3021    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3022Try \`$0 --help' for more information." >&5
3023echo "$as_me: error: ambiguous option: $1
3024Try \`$0 --help' for more information." >&2;}
3025   { (exit 1); exit 1; }; };;
3026  --help | --hel | -h )
3027    echo "$ac_cs_usage"; exit 0 ;;
3028  --debug | --d* | -d )
3029    debug=: ;;
3030  --file | --fil | --fi | --f )
3031    $ac_shift
3032    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3033    ac_need_defaults=false;;
3034  --header | --heade | --head | --hea )
3035    $ac_shift
3036    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3037    ac_need_defaults=false;;
3038  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3039  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3040    ac_cs_silent=: ;;
3041
3042  # This is an error.
3043  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3044Try \`$0 --help' for more information." >&5
3045echo "$as_me: error: unrecognized option: $1
3046Try \`$0 --help' for more information." >&2;}
3047   { (exit 1); exit 1; }; } ;;
3048
3049  *) ac_config_targets="$ac_config_targets $1" ;;
3050
3051  esac
3052  shift
3053done
3054
3055ac_configure_extra_args=
3056
3057if $ac_cs_silent; then
3058  exec 6>/dev/null
3059  ac_configure_extra_args="$ac_configure_extra_args --silent"
3060fi
3061
3062_ACEOF
3063cat >>$CONFIG_STATUS <<_ACEOF
3064if \$ac_cs_recheck; then
3065  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3066  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3067fi
3068
3069_ACEOF
3070
3071
3072
3073
3074
3075cat >>$CONFIG_STATUS <<\_ACEOF
3076for ac_config_target in $ac_config_targets
3077do
3078  case "$ac_config_target" in
3079  # Handling of arguments.
3080  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3081  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3082echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3083   { (exit 1); exit 1; }; };;
3084  esac
3085done
3086
3087# If the user did not use the arguments to specify the items to instantiate,
3088# then the envvar interface is used.  Set only those that are not.
3089# We use the long form for the default assignment because of an extremely
3090# bizarre bug on SunOS 4.1.3.
3091if $ac_need_defaults; then
3092  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3093fi
3094
3095# Have a temporary directory for convenience.  Make it in the build tree
3096# simply because there is no reason to put it here, and in addition,
3097# creating and moving files from /tmp can sometimes cause problems.
3098# Create a temporary directory, and hook for its removal unless debugging.
3099$debug ||
3100{
3101  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3102  trap '{ (exit 1); exit 1; }' 1 2 13 15
3103}
3104
3105# Create a (secure) tmp directory for tmp files.
3106
3107{
3108  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3109  test -n "$tmp" && test -d "$tmp"
3110}  ||
3111{
3112  tmp=./confstat$$-$RANDOM
3113  (umask 077 && mkdir $tmp)
3114} ||
3115{
3116   echo "$me: cannot create a temporary directory in ." >&2
3117   { (exit 1); exit 1; }
3118}
3119
3120_ACEOF
3121
3122cat >>$CONFIG_STATUS <<_ACEOF
3123
3124#
3125# CONFIG_FILES section.
3126#
3127
3128# No need to generate the scripts if there are no CONFIG_FILES.
3129# This happens for instance when ./config.status config.h
3130if test -n "\$CONFIG_FILES"; then
3131  # Protect against being on the right side of a sed subst in config.status.
3132  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3133   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3134s,@SHELL@,$SHELL,;t t
3135s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3136s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3137s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3138s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3139s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3140s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3141s,@exec_prefix@,$exec_prefix,;t t
3142s,@prefix@,$prefix,;t t
3143s,@program_transform_name@,$program_transform_name,;t t
3144s,@bindir@,$bindir,;t t
3145s,@sbindir@,$sbindir,;t t
3146s,@libexecdir@,$libexecdir,;t t
3147s,@datadir@,$datadir,;t t
3148s,@sysconfdir@,$sysconfdir,;t t
3149s,@sharedstatedir@,$sharedstatedir,;t t
3150s,@localstatedir@,$localstatedir,;t t
3151s,@libdir@,$libdir,;t t
3152s,@includedir@,$includedir,;t t
3153s,@oldincludedir@,$oldincludedir,;t t
3154s,@infodir@,$infodir,;t t
3155s,@mandir@,$mandir,;t t
3156s,@build_alias@,$build_alias,;t t
3157s,@host_alias@,$host_alias,;t t
3158s,@target_alias@,$target_alias,;t t
3159s,@DEFS@,$DEFS,;t t
3160s,@ECHO_C@,$ECHO_C,;t t
3161s,@ECHO_N@,$ECHO_N,;t t
3162s,@ECHO_T@,$ECHO_T,;t t
3163s,@LIBS@,$LIBS,;t t
3164s,@subdirs@,$subdirs,;t t
3165s,@CC@,$CC,;t t
3166s,@CFLAGS@,$CFLAGS,;t t
3167s,@LDFLAGS@,$LDFLAGS,;t t
3168s,@CPPFLAGS@,$CPPFLAGS,;t t
3169s,@ac_ct_CC@,$ac_ct_CC,;t t
3170s,@EXEEXT@,$EXEEXT,;t t
3171s,@OBJEXT@,$OBJEXT,;t t
3172s,@LEX@,$LEX,;t t
3173s,@LEXLIB@,$LEXLIB,;t t
3174s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
3175s,@YACC@,$YACC,;t t
3176s,@LIBOBJS@,$LIBOBJS,;t t
3177s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3178CEOF
3179
3180_ACEOF
3181
3182  cat >>$CONFIG_STATUS <<\_ACEOF
3183  # Split the substitutions into bite-sized pieces for seds with
3184  # small command number limits, like on Digital OSF/1 and HP-UX.
3185  ac_max_sed_lines=48
3186  ac_sed_frag=1 # Number of current file.
3187  ac_beg=1 # First line for current file.
3188  ac_end=$ac_max_sed_lines # Line after last line for current file.
3189  ac_more_lines=:
3190  ac_sed_cmds=
3191  while $ac_more_lines; do
3192    if test $ac_beg -gt 1; then
3193      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3194    else
3195      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3196    fi
3197    if test ! -s $tmp/subs.frag; then
3198      ac_more_lines=false
3199    else
3200      # The purpose of the label and of the branching condition is to
3201      # speed up the sed processing (if there are no `@' at all, there
3202      # is no need to browse any of the substitutions).
3203      # These are the two extra sed commands mentioned above.
3204      (echo ':t
3205  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3206      if test -z "$ac_sed_cmds"; then
3207	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3208      else
3209	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3210      fi
3211      ac_sed_frag=`expr $ac_sed_frag + 1`
3212      ac_beg=$ac_end
3213      ac_end=`expr $ac_end + $ac_max_sed_lines`
3214    fi
3215  done
3216  if test -z "$ac_sed_cmds"; then
3217    ac_sed_cmds=cat
3218  fi
3219fi # test -n "$CONFIG_FILES"
3220
3221_ACEOF
3222cat >>$CONFIG_STATUS <<\_ACEOF
3223for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3224  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3225  case $ac_file in
3226  - | *:- | *:-:* ) # input from stdin
3227	cat >$tmp/stdin
3228	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3229	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3230  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3231	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3232  * )   ac_file_in=$ac_file.in ;;
3233  esac
3234
3235  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3236  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3237$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3238	 X"$ac_file" : 'X\(//\)[^/]' \| \
3239	 X"$ac_file" : 'X\(//\)$' \| \
3240	 X"$ac_file" : 'X\(/\)' \| \
3241	 .     : '\(.\)' 2>/dev/null ||
3242echo X"$ac_file" |
3243    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3244  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3245  	  /^X\(\/\/\)$/{ s//\1/; q; }
3246  	  /^X\(\/\).*/{ s//\1/; q; }
3247  	  s/.*/./; q'`
3248  { if $as_mkdir_p; then
3249    mkdir -p "$ac_dir"
3250  else
3251    as_dir="$ac_dir"
3252    as_dirs=
3253    while test ! -d "$as_dir"; do
3254      as_dirs="$as_dir $as_dirs"
3255      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3256$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3257	 X"$as_dir" : 'X\(//\)[^/]' \| \
3258	 X"$as_dir" : 'X\(//\)$' \| \
3259	 X"$as_dir" : 'X\(/\)' \| \
3260	 .     : '\(.\)' 2>/dev/null ||
3261echo X"$as_dir" |
3262    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3263  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3264  	  /^X\(\/\/\)$/{ s//\1/; q; }
3265  	  /^X\(\/\).*/{ s//\1/; q; }
3266  	  s/.*/./; q'`
3267    done
3268    test ! -n "$as_dirs" || mkdir $as_dirs
3269  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3270echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3271   { (exit 1); exit 1; }; }; }
3272
3273  ac_builddir=.
3274
3275if test "$ac_dir" != .; then
3276  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3277  # A "../" for each directory in $ac_dir_suffix.
3278  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3279else
3280  ac_dir_suffix= ac_top_builddir=
3281fi
3282
3283case $srcdir in
3284  .)  # No --srcdir option.  We are building in place.
3285    ac_srcdir=.
3286    if test -z "$ac_top_builddir"; then
3287       ac_top_srcdir=.
3288    else
3289       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3290    fi ;;
3291  [\\/]* | ?:[\\/]* )  # Absolute path.
3292    ac_srcdir=$srcdir$ac_dir_suffix;
3293    ac_top_srcdir=$srcdir ;;
3294  *) # Relative path.
3295    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3296    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3297esac
3298
3299# Do not use `cd foo && pwd` to compute absolute paths, because
3300# the directories may not exist.
3301case `pwd` in
3302.) ac_abs_builddir="$ac_dir";;
3303*)
3304  case "$ac_dir" in
3305  .) ac_abs_builddir=`pwd`;;
3306  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3307  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3308  esac;;
3309esac
3310case $ac_abs_builddir in
3311.) ac_abs_top_builddir=${ac_top_builddir}.;;
3312*)
3313  case ${ac_top_builddir}. in
3314  .) ac_abs_top_builddir=$ac_abs_builddir;;
3315  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3316  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3317  esac;;
3318esac
3319case $ac_abs_builddir in
3320.) ac_abs_srcdir=$ac_srcdir;;
3321*)
3322  case $ac_srcdir in
3323  .) ac_abs_srcdir=$ac_abs_builddir;;
3324  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3325  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3326  esac;;
3327esac
3328case $ac_abs_builddir in
3329.) ac_abs_top_srcdir=$ac_top_srcdir;;
3330*)
3331  case $ac_top_srcdir in
3332  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3333  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3334  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3335  esac;;
3336esac
3337
3338
3339
3340  # Let's still pretend it is `configure' which instantiates (i.e., don't
3341  # use $as_me), people would be surprised to read:
3342  #    /* config.h.  Generated by config.status.  */
3343  if test x"$ac_file" = x-; then
3344    configure_input=
3345  else
3346    configure_input="$ac_file.  "
3347  fi
3348  configure_input=$configure_input"Generated from `echo $ac_file_in |
3349				     sed 's,.*/,,'` by configure."
3350
3351  # First look for the input files in the build tree, otherwise in the
3352  # src tree.
3353  ac_file_inputs=`IFS=:
3354    for f in $ac_file_in; do
3355      case $f in
3356      -) echo $tmp/stdin ;;
3357      [\\/$]*)
3358	 # Absolute (can't be DOS-style, as IFS=:)
3359	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3360echo "$as_me: error: cannot find input file: $f" >&2;}
3361   { (exit 1); exit 1; }; }
3362	 echo "$f";;
3363      *) # Relative
3364	 if test -f "$f"; then
3365	   # Build tree
3366	   echo "$f"
3367	 elif test -f "$srcdir/$f"; then
3368	   # Source tree
3369	   echo "$srcdir/$f"
3370	 else
3371	   # /dev/null tree
3372	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3373echo "$as_me: error: cannot find input file: $f" >&2;}
3374   { (exit 1); exit 1; }; }
3375	 fi;;
3376      esac
3377    done` || { (exit 1); exit 1; }
3378
3379  if test x"$ac_file" != x-; then
3380    { echo "$as_me:$LINENO: creating $ac_file" >&5
3381echo "$as_me: creating $ac_file" >&6;}
3382    rm -f "$ac_file"
3383  fi
3384_ACEOF
3385cat >>$CONFIG_STATUS <<_ACEOF
3386  sed "$ac_vpsub
3387$extrasub
3388_ACEOF
3389cat >>$CONFIG_STATUS <<\_ACEOF
3390:t
3391/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3392s,@configure_input@,$configure_input,;t t
3393s,@srcdir@,$ac_srcdir,;t t
3394s,@abs_srcdir@,$ac_abs_srcdir,;t t
3395s,@top_srcdir@,$ac_top_srcdir,;t t
3396s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3397s,@builddir@,$ac_builddir,;t t
3398s,@abs_builddir@,$ac_abs_builddir,;t t
3399s,@top_builddir@,$ac_top_builddir,;t t
3400s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3401" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3402  rm -f $tmp/stdin
3403  if test x"$ac_file" != x-; then
3404    mv $tmp/out $ac_file
3405  else
3406    cat $tmp/out
3407    rm -f $tmp/out
3408  fi
3409
3410done
3411_ACEOF
3412
3413cat >>$CONFIG_STATUS <<\_ACEOF
3414
3415{ (exit 0); exit 0; }
3416_ACEOF
3417chmod +x $CONFIG_STATUS
3418ac_clean_files=$ac_clean_files_save
3419
3420
3421# configure is writing to config.log, and then calls config.status.
3422# config.status does its own redirection, appending to config.log.
3423# Unfortunately, on DOS this fails, as config.log is still kept open
3424# by configure, so config.status won't be able to write to it; its
3425# output is simply discarded.  So we exec the FD to /dev/null,
3426# effectively closing config.log, so it can be properly (re)opened and
3427# appended to by config.status.  When coming back to configure, we
3428# need to make the FD available again.
3429if test "$no_create" != yes; then
3430  ac_cs_success=:
3431  ac_config_status_args=
3432  test "$silent" = yes &&
3433    ac_config_status_args="$ac_config_status_args --quiet"
3434  exec 5>/dev/null
3435  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3436  exec 5>>config.log
3437  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3438  # would make configure fail if this is the last instruction.
3439  $ac_cs_success || { (exit 1); exit 1; }
3440fi
3441
3442#
3443# CONFIG_SUBDIRS section.
3444#
3445if test "$no_recursion" != yes; then
3446
3447  # Remove --cache-file and --srcdir arguments so they do not pile up.
3448  ac_sub_configure_args=
3449  ac_prev=
3450  for ac_arg in $ac_configure_args; do
3451    if test -n "$ac_prev"; then
3452      ac_prev=
3453      continue
3454    fi
3455    case $ac_arg in
3456    -cache-file | --cache-file | --cache-fil | --cache-fi \
3457    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3458      ac_prev=cache_file ;;
3459    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3460    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3461    | --c=*)
3462      ;;
3463    --config-cache | -C)
3464      ;;
3465    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3466      ac_prev=srcdir ;;
3467    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3468      ;;
3469    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3470      ac_prev=prefix ;;
3471    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3472      ;;
3473    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3474    esac
3475  done
3476
3477  # Always prepend --prefix to ensure using the same prefix
3478  # in subdir configurations.
3479  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3480
3481  ac_popdir=`pwd`
3482  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3483
3484    # Do not complain, so a configure script can configure whichever
3485    # parts of a large source tree are present.
3486    test -d $srcdir/$ac_dir || continue
3487
3488    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3489echo "$as_me: configuring in $ac_dir" >&6;}
3490    { if $as_mkdir_p; then
3491    mkdir -p "$ac_dir"
3492  else
3493    as_dir="$ac_dir"
3494    as_dirs=
3495    while test ! -d "$as_dir"; do
3496      as_dirs="$as_dir $as_dirs"
3497      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3498$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3499	 X"$as_dir" : 'X\(//\)[^/]' \| \
3500	 X"$as_dir" : 'X\(//\)$' \| \
3501	 X"$as_dir" : 'X\(/\)' \| \
3502	 .     : '\(.\)' 2>/dev/null ||
3503echo X"$as_dir" |
3504    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3505  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3506  	  /^X\(\/\/\)$/{ s//\1/; q; }
3507  	  /^X\(\/\).*/{ s//\1/; q; }
3508  	  s/.*/./; q'`
3509    done
3510    test ! -n "$as_dirs" || mkdir $as_dirs
3511  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3512echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3513   { (exit 1); exit 1; }; }; }
3514
3515    ac_builddir=.
3516
3517if test "$ac_dir" != .; then
3518  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3519  # A "../" for each directory in $ac_dir_suffix.
3520  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3521else
3522  ac_dir_suffix= ac_top_builddir=
3523fi
3524
3525case $srcdir in
3526  .)  # No --srcdir option.  We are building in place.
3527    ac_srcdir=.
3528    if test -z "$ac_top_builddir"; then
3529       ac_top_srcdir=.
3530    else
3531       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3532    fi ;;
3533  [\\/]* | ?:[\\/]* )  # Absolute path.
3534    ac_srcdir=$srcdir$ac_dir_suffix;
3535    ac_top_srcdir=$srcdir ;;
3536  *) # Relative path.
3537    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3538    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3539esac
3540
3541# Do not use `cd foo && pwd` to compute absolute paths, because
3542# the directories may not exist.
3543case `pwd` in
3544.) ac_abs_builddir="$ac_dir";;
3545*)
3546  case "$ac_dir" in
3547  .) ac_abs_builddir=`pwd`;;
3548  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3549  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3550  esac;;
3551esac
3552case $ac_abs_builddir in
3553.) ac_abs_top_builddir=${ac_top_builddir}.;;
3554*)
3555  case ${ac_top_builddir}. in
3556  .) ac_abs_top_builddir=$ac_abs_builddir;;
3557  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3558  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3559  esac;;
3560esac
3561case $ac_abs_builddir in
3562.) ac_abs_srcdir=$ac_srcdir;;
3563*)
3564  case $ac_srcdir in
3565  .) ac_abs_srcdir=$ac_abs_builddir;;
3566  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3567  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3568  esac;;
3569esac
3570case $ac_abs_builddir in
3571.) ac_abs_top_srcdir=$ac_top_srcdir;;
3572*)
3573  case $ac_top_srcdir in
3574  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3575  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3576  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3577  esac;;
3578esac
3579
3580
3581    cd $ac_dir
3582
3583    # Check for guested configure; otherwise get Cygnus style configure.
3584    if test -f $ac_srcdir/configure.gnu; then
3585      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3586    elif test -f $ac_srcdir/configure; then
3587      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3588    elif test -f $ac_srcdir/configure.in; then
3589      ac_sub_configure=$ac_configure
3590    else
3591      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3592echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3593      ac_sub_configure=
3594    fi
3595
3596    # The recursion is here.
3597    if test -n "$ac_sub_configure"; then
3598      # Make the cache file name correct relative to the subdirectory.
3599      case $cache_file in
3600      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3601      *) # Relative path.
3602	ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3603      esac
3604
3605      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3606echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3607      # The eval makes quoting arguments work.
3608      eval $ac_sub_configure $ac_sub_configure_args \
3609	   --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3610	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3611echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3612   { (exit 1); exit 1; }; }
3613    fi
3614
3615    cd "$ac_popdir"
3616  done
3617fi
3618
3619