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