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