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