3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 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.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 # Initialize some variables set by options.
16 # The variables have the same names as the options, with
17 # dashes changed to underlines.
19 cache_file
=.
/config.cache
28 program_transform_name
=s
,x
,x
,
37 bindir
='${exec_prefix}/bin'
38 sbindir
='${exec_prefix}/sbin'
39 libexecdir
='${exec_prefix}/libexec'
40 datadir
='${prefix}/share'
41 sysconfdir
='${prefix}/etc'
42 sharedstatedir
='${prefix}/com'
43 localstatedir
='${prefix}/var'
44 libdir
='${exec_prefix}/lib'
45 includedir
='${prefix}/include'
46 oldincludedir
='/usr/include'
47 infodir
='${prefix}/info'
48 mandir
='${prefix}/man'
50 # Initialize some other variables.
53 SHELL
=${CONFIG_SHELL-/bin/sh}
54 # Maximum number of lines to put in a shell here document.
61 # If the previous option needs an argument, assign it.
62 if test -n "$ac_prev"; then
63 eval "$ac_prev=\$ac_option"
69 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
73 # Accept the important Cygnus configure options, so we can diagnose typos.
77 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
79 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
80 bindir
="$ac_optarg" ;;
82 -build |
--build |
--buil |
--bui |
--bu)
84 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
87 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
88 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
90 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
91 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
92 cache_file
="$ac_optarg" ;;
94 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
96 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
98 datadir
="$ac_optarg" ;;
100 -disable-* |
--disable-*)
101 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
102 # Reject names that are not valid shell variable names.
103 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
104 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
106 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
107 eval "enable_${ac_feature}=no" ;;
109 -enable-* |
--enable-*)
110 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
111 # Reject names that are not valid shell variable names.
112 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
113 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
120 eval "enable_${ac_feature}='$ac_optarg'" ;;
122 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
123 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
124 |
--exec |
--exe |
--ex)
125 ac_prev
=exec_prefix
;;
126 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
127 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
128 |
--exec=* |
--exe=* |
--ex=*)
129 exec_prefix
="$ac_optarg" ;;
131 -gas |
--gas |
--ga |
--g)
132 # Obsolete; use --with-gas.
135 -help |
--help |
--hel |
--he)
136 # Omit some internal or obsolete options to make the list less imposing.
137 # This message is too long to be a string in the A/UX 3.1 sh.
139 Usage: configure [options] [host]
140 Options: [defaults in brackets after descriptions]
142 --cache-file=FILE cache test results in FILE
143 --help print this message
144 --no-create do not create output files
145 --quiet, --silent do not print \`checking...' messages
146 --site-file=FILE use FILE as the site file
147 --version print the version of autoconf that created configure
148 Directory and file names:
149 --prefix=PREFIX install architecture-independent files in PREFIX
151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
153 --bindir=DIR user executables in DIR [EPREFIX/bin]
154 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
155 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
156 --datadir=DIR read-only architecture-independent data in DIR
158 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
159 --sharedstatedir=DIR modifiable architecture-independent data in DIR
161 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
162 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
163 --includedir=DIR C header files in DIR [PREFIX/include]
164 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
165 --infodir=DIR info documentation in DIR [PREFIX/info]
166 --mandir=DIR man documentation in DIR [PREFIX/man]
167 --srcdir=DIR find the sources in DIR [configure dir or ..]
168 --program-prefix=PREFIX prepend PREFIX to installed program names
169 --program-suffix=SUFFIX append SUFFIX to installed program names
170 --program-transform-name=PROGRAM
171 run sed PROGRAM on installed program names
175 --build=BUILD configure for building on BUILD [BUILD=HOST]
176 --host=HOST configure for HOST [guessed]
177 --target=TARGET configure for TARGET [TARGET=HOST]
178 Features and packages:
179 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
180 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
181 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
182 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
183 --x-includes=DIR X include files are in DIR
184 --x-libraries=DIR X library files are in DIR
186 if test -n "$ac_help"; then
187 echo "--enable and --with options recognized:$ac_help"
191 -host |
--host |
--hos |
--ho)
193 -host=* |
--host=* |
--hos=* |
--ho=*)
196 -includedir |
--includedir |
--includedi |
--included |
--include \
197 |
--includ |
--inclu |
--incl |
--inc)
198 ac_prev
=includedir
;;
199 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
200 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
201 includedir
="$ac_optarg" ;;
203 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
205 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
206 infodir
="$ac_optarg" ;;
208 -libdir |
--libdir |
--libdi |
--libd)
210 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
211 libdir
="$ac_optarg" ;;
213 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
214 |
--libexe |
--libex |
--libe)
215 ac_prev
=libexecdir
;;
216 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
217 |
--libexe=* |
--libex=* |
--libe=*)
218 libexecdir
="$ac_optarg" ;;
220 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
221 |
--localstate |
--localstat |
--localsta |
--localst \
222 |
--locals |
--local |
--loca |
--loc |
--lo)
223 ac_prev
=localstatedir
;;
224 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
225 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
226 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
227 localstatedir
="$ac_optarg" ;;
229 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
231 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
232 mandir
="$ac_optarg" ;;
235 # Obsolete; use --without-fp.
238 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
242 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
243 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
246 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
247 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
248 |
--oldin |
--oldi |
--old |
--ol |
--o)
249 ac_prev
=oldincludedir
;;
250 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
251 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
252 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
253 oldincludedir
="$ac_optarg" ;;
255 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
257 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
258 prefix
="$ac_optarg" ;;
260 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
261 |
--program-pre |
--program-pr |
--program-p)
262 ac_prev
=program_prefix
;;
263 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
264 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
265 program_prefix
="$ac_optarg" ;;
267 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
268 |
--program-suf |
--program-su |
--program-s)
269 ac_prev
=program_suffix
;;
270 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
271 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
272 program_suffix
="$ac_optarg" ;;
274 -program-transform-name |
--program-transform-name \
275 |
--program-transform-nam |
--program-transform-na \
276 |
--program-transform-n |
--program-transform- \
277 |
--program-transform |
--program-transfor \
278 |
--program-transfo |
--program-transf \
279 |
--program-trans |
--program-tran \
280 |
--progr-tra |
--program-tr |
--program-t)
281 ac_prev
=program_transform_name
;;
282 -program-transform-name=* |
--program-transform-name=* \
283 |
--program-transform-nam=* |
--program-transform-na=* \
284 |
--program-transform-n=* |
--program-transform-=* \
285 |
--program-transform=* |
--program-transfor=* \
286 |
--program-transfo=* |
--program-transf=* \
287 |
--program-trans=* |
--program-tran=* \
288 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
289 program_transform_name
="$ac_optarg" ;;
291 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
292 |
-silent |
--silent |
--silen |
--sile |
--sil)
295 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
297 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
299 sbindir
="$ac_optarg" ;;
301 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
302 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
303 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
305 ac_prev
=sharedstatedir
;;
306 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
307 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
308 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
310 sharedstatedir
="$ac_optarg" ;;
312 -site |
--site |
--sit)
314 -site=* |
--site=* |
--sit=*)
317 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
319 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
320 sitefile
="$ac_optarg" ;;
322 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
324 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
325 srcdir
="$ac_optarg" ;;
327 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
328 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
329 ac_prev
=sysconfdir
;;
330 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
331 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
332 sysconfdir
="$ac_optarg" ;;
334 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
336 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
337 target
="$ac_optarg" ;;
339 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
342 -version |
--version |
--versio |
--versi |
--vers)
343 echo "configure generated by autoconf version 2.13"
347 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
348 # Reject names that are not valid shell variable names.
349 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
350 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
352 ac_package
=`echo $ac_package| sed 's/-/_/g'`
357 eval "with_${ac_package}='$ac_optarg'" ;;
359 -without-* |
--without-*)
360 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
361 # Reject names that are not valid shell variable names.
362 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
363 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
365 ac_package
=`echo $ac_package| sed 's/-/_/g'`
366 eval "with_${ac_package}=no" ;;
369 # Obsolete; use --with-x.
372 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
373 |
--x-incl |
--x-inc |
--x-in |
--x-i)
374 ac_prev
=x_includes
;;
375 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
376 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
377 x_includes
="$ac_optarg" ;;
379 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
380 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
381 ac_prev
=x_libraries
;;
382 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
383 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
384 x_libraries
="$ac_optarg" ;;
386 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
390 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
391 echo "configure: warning: $ac_option: invalid host type" 1>&2
393 if test "x$nonopt" != xNONE
; then
394 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
402 if test -n "$ac_prev"; then
403 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
408 # File descriptor usage:
411 # 2 errors and warnings
412 # 3 some systems may open it to /dev/tty
413 # 4 used on the Kubota Titan
414 # 6 checking for... messages and results
415 # 5 compiler messages saved in config.log
416 if test "$silent" = yes; then
424 This file contains any messages produced by compilers while
425 running configure, to aid debugging if configure makes a mistake.
428 # Strip out --no-create and --no-recursion so they do not pile up.
429 # Also quote any args containing shell metacharacters.
434 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
435 |
--no-cr |
--no-c) ;;
436 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
437 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
438 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
439 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
440 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
445 # Only set these to C if already set. These must not be set unconditionally
446 # because not all systems understand e.g. LANG=C (notably SCO).
447 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
448 # Non-C LC_CTYPE values break the ctype check.
449 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
450 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
451 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
452 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
455 rm -rf conftest
* confdefs.h
456 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
459 # A filename unique to this package, relative to the directory that
460 # configure is in, which we can look for to find out if srcdir is correct.
461 ac_unique_file
=jartool.h
463 # Find the source files, if location was not specified.
464 if test -z "$srcdir"; then
465 ac_srcdir_defaulted
=yes
466 # Try the directory containing this script, then its parent.
468 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
469 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
471 if test ! -r $srcdir/$ac_unique_file; then
475 ac_srcdir_defaulted
=no
477 if test ! -r $srcdir/$ac_unique_file; then
478 if test "$ac_srcdir_defaulted" = yes; then
479 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
481 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
484 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
486 # Prefer explicitly selected file to automatically selected ones.
487 if test -z "$sitefile"; then
488 if test -z "$CONFIG_SITE"; then
489 if test "x$prefix" != xNONE
; then
490 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
492 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
496 CONFIG_SITE
="$sitefile"
498 for ac_site_file
in $CONFIG_SITE; do
499 if test -r "$ac_site_file"; then
500 echo "loading site script $ac_site_file"
505 if test -r "$cache_file"; then
506 echo "loading cache $cache_file"
509 echo "creating cache $cache_file"
514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
515 ac_cpp
='$CPP $CPPFLAGS'
516 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
517 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
518 cross_compiling
=$ac_cv_prog_cc_cross
522 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
523 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
524 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
531 ac_n
= ac_c
='\c' ac_t
=
536 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
537 if test -f $ac_dir/install-sh
; then
539 ac_install_sh
="$ac_aux_dir/install-sh -c"
541 elif test -f $ac_dir/install.sh
; then
543 ac_install_sh
="$ac_aux_dir/install.sh -c"
547 if test -z "$ac_aux_dir"; then
548 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
550 ac_config_guess
=$ac_aux_dir/config.guess
551 ac_config_sub
=$ac_aux_dir/config.sub
552 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
554 # Find a good install program. We prefer a C program (faster),
555 # so one script is as good as another. But avoid the broken or
556 # incompatible versions:
557 # SysV /etc/install, /usr/sbin/install
558 # SunOS /usr/etc/install
561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
564 # ./install, which can be erroneously created by make from ./install.sh.
565 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
566 echo "configure:567: checking for a BSD compatible install" >&5
567 if test -z "$INSTALL"; then
568 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
569 echo $ac_n "(cached) $ac_c" 1>&6
571 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
572 for ac_dir
in $PATH; do
573 # Account for people who put trailing slashes in PATH elements.
575 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
577 # OSF1 and SCO ODT 3.0 have their own names for install.
578 # Don't use installbsd from OSF since it installs stuff as root
580 for ac_prog
in ginstall scoinst
install; do
581 if test -f $ac_dir/$ac_prog; then
582 if test $ac_prog = install &&
583 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
584 # AIX install. It has an incompatible calling convention.
587 ac_cv_path_install
="$ac_dir/$ac_prog -c"
598 if test "${ac_cv_path_install+set}" = set; then
599 INSTALL
="$ac_cv_path_install"
601 # As a last resort, use the slow shell script. We don't cache a
602 # path for INSTALL within a source directory, because that will
603 # break other packages using the cache if that directory is
604 # removed, or if the path is relative.
605 INSTALL
="$ac_install_sh"
608 echo "$ac_t""$INSTALL" 1>&6
610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
611 # It thinks the first close brace ends the variable substitution.
612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
616 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
618 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
619 echo "configure:620: checking whether build environment is sane" >&5
622 echo timestamp
> conftestfile
623 # Do `set' in a subshell so we don't clobber the current shell's
624 # arguments. Must try -L first in case configure is actually a
625 # symlink; some systems play weird games with the mod time of symlinks
626 # (eg FreeBSD returns the mod time of the symlink's containing
629 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
630 if test "$*" = "X"; then
632 set X
`ls -t $srcdir/configure conftestfile`
634 if test "$*" != "X $srcdir/configure conftestfile" \
635 && test "$*" != "X conftestfile $srcdir/configure"; then
637 # If neither matched, then we have a broken ls. This can happen
638 # if, for instance, CONFIG_SHELL is bash and it inherits a
639 # broken ls alias from the environment. This has actually
640 # happened. Such a system could not be considered "sane".
641 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
642 alias in your environment" 1>&2; exit 1; }
645 test "$2" = conftestfile
651 { echo "configure: error: newly created file is older than distributed files!
652 Check your system clock" 1>&2; exit 1; }
655 echo "$ac_t""yes" 1>&6
656 if test "$program_transform_name" = s
,x
,x
,; then
657 program_transform_name
=
659 # Double any \ or $. echo might interpret backslashes.
660 cat <<\EOF_SED
> conftestsed
661 s
,\\,\\\\,g
; s
,\$
,$$
,g
663 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
666 test "$program_prefix" != NONE
&&
667 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
668 # Use a double $ so make ignores it.
669 test "$program_suffix" != NONE
&&
670 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
672 # sed with no file args requires a program.
673 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
675 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
676 echo "configure:677: checking whether ${MAKE-make} sets \${MAKE}" >&5
677 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
678 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
679 echo $ac_n "(cached) $ac_c" 1>&6
681 cat > conftestmake
<<\EOF
683 @
echo 'ac_maketemp="${MAKE}"'
685 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
686 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
687 if test -n "$ac_maketemp"; then
688 eval ac_cv_prog_make_
${ac_make}_set
=yes
690 eval ac_cv_prog_make_
${ac_make}_set
=no
694 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
695 echo "$ac_t""yes" 1>&6
698 echo "$ac_t""no" 1>&6
699 SET_MAKE
="MAKE=${MAKE-make}"
707 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
708 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
710 cat >> confdefs.h
<<EOF
711 #define PACKAGE "$PACKAGE"
714 cat >> confdefs.h
<<EOF
715 #define VERSION "$VERSION"
720 missing_dir
=`cd $ac_aux_dir && pwd`
721 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
722 echo "configure:723: checking for working aclocal" >&5
723 # Run test in a subshell; some versions of sh will print an error if
724 # an executable is not found, even if stderr is redirected.
725 # Redirect stdin to placate older versions of autoconf. Sigh.
726 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
728 echo "$ac_t""found" 1>&6
730 ACLOCAL
="$missing_dir/missing aclocal"
731 echo "$ac_t""missing" 1>&6
734 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
735 echo "configure:736: checking for working autoconf" >&5
736 # Run test in a subshell; some versions of sh will print an error if
737 # an executable is not found, even if stderr is redirected.
738 # Redirect stdin to placate older versions of autoconf. Sigh.
739 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
741 echo "$ac_t""found" 1>&6
743 AUTOCONF
="$missing_dir/missing autoconf"
744 echo "$ac_t""missing" 1>&6
747 echo $ac_n "checking for working automake""... $ac_c" 1>&6
748 echo "configure:749: checking for working automake" >&5
749 # Run test in a subshell; some versions of sh will print an error if
750 # an executable is not found, even if stderr is redirected.
751 # Redirect stdin to placate older versions of autoconf. Sigh.
752 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
754 echo "$ac_t""found" 1>&6
756 AUTOMAKE
="$missing_dir/missing automake"
757 echo "$ac_t""missing" 1>&6
760 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
761 echo "configure:762: checking for working autoheader" >&5
762 # Run test in a subshell; some versions of sh will print an error if
763 # an executable is not found, even if stderr is redirected.
764 # Redirect stdin to placate older versions of autoconf. Sigh.
765 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
766 AUTOHEADER
=autoheader
767 echo "$ac_t""found" 1>&6
769 AUTOHEADER
="$missing_dir/missing autoheader"
770 echo "$ac_t""missing" 1>&6
773 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
774 echo "configure:775: checking for working makeinfo" >&5
775 # Run test in a subshell; some versions of sh will print an error if
776 # an executable is not found, even if stderr is redirected.
777 # Redirect stdin to placate older versions of autoconf. Sigh.
778 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
780 echo "$ac_t""found" 1>&6
782 MAKEINFO
="$missing_dir/missing makeinfo"
783 echo "$ac_t""missing" 1>&6
791 # Extract the first word of "gcc", so it can be a program name with args.
792 set dummy gcc
; ac_word
=$2
793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
794 echo "configure:795: checking for $ac_word" >&5
795 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
796 echo $ac_n "(cached) $ac_c" 1>&6
798 if test -n "$CC"; then
799 ac_cv_prog_CC
="$CC" # Let the user override the test.
801 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
803 for ac_dir
in $ac_dummy; do
804 test -z "$ac_dir" && ac_dir
=.
805 if test -f $ac_dir/$ac_word; then
814 if test -n "$CC"; then
815 echo "$ac_t""$CC" 1>&6
817 echo "$ac_t""no" 1>&6
820 if test -z "$CC"; then
821 # Extract the first word of "cc", so it can be a program name with args.
822 set dummy cc
; ac_word
=$2
823 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
824 echo "configure:825: checking for $ac_word" >&5
825 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 if test -n "$CC"; then
829 ac_cv_prog_CC
="$CC" # Let the user override the test.
831 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
834 for ac_dir
in $ac_dummy; do
835 test -z "$ac_dir" && ac_dir
=.
836 if test -f $ac_dir/$ac_word; then
837 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
846 if test $ac_prog_rejected = yes; then
847 # We found a bogon in the path, so make sure we never use it.
848 set dummy
$ac_cv_prog_CC
850 if test $# -gt 0; then
851 # We chose a different compiler from the bogus one.
852 # However, it has the same basename, so the bogon will be chosen
853 # first if we set CC to just the basename; use the full file name.
855 set dummy
"$ac_dir/$ac_word" "$@"
863 if test -n "$CC"; then
864 echo "$ac_t""$CC" 1>&6
866 echo "$ac_t""no" 1>&6
869 if test -z "$CC"; then
872 # Extract the first word of "cl", so it can be a program name with args.
873 set dummy cl
; ac_word
=$2
874 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
875 echo "configure:876: checking for $ac_word" >&5
876 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
879 if test -n "$CC"; then
880 ac_cv_prog_CC
="$CC" # Let the user override the test.
882 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
884 for ac_dir
in $ac_dummy; do
885 test -z "$ac_dir" && ac_dir
=.
886 if test -f $ac_dir/$ac_word; then
895 if test -n "$CC"; then
896 echo "$ac_t""$CC" 1>&6
898 echo "$ac_t""no" 1>&6
903 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
906 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
907 echo "configure:908: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
911 ac_cpp
='$CPP $CPPFLAGS'
912 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
913 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
914 cross_compiling
=$ac_cv_prog_cc_cross
916 cat > conftest.
$ac_ext << EOF
918 #line 919 "configure"
919 #include "confdefs.h"
923 if { (eval echo configure
:924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
924 ac_cv_prog_cc_works
=yes
925 # If we can't run a trivial program, we are probably using a cross compiler.
926 if (.
/conftest
; exit) 2>/dev
/null
; then
927 ac_cv_prog_cc_cross
=no
929 ac_cv_prog_cc_cross
=yes
932 echo "configure: failed program was:" >&5
933 cat conftest.
$ac_ext >&5
934 ac_cv_prog_cc_works
=no
938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
939 ac_cpp
='$CPP $CPPFLAGS'
940 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
941 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
942 cross_compiling
=$ac_cv_prog_cc_cross
944 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
945 if test $ac_cv_prog_cc_works = no
; then
946 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
948 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
949 echo "configure:950: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
950 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
951 cross_compiling
=$ac_cv_prog_cc_cross
953 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
954 echo "configure:955: checking whether we are using GNU C" >&5
955 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
956 echo $ac_n "(cached) $ac_c" 1>&6
958 cat > conftest.c
<<EOF
963 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
970 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
972 if test $ac_cv_prog_gcc = yes; then
978 ac_test_CFLAGS
="${CFLAGS+set}"
979 ac_save_CFLAGS
="$CFLAGS"
981 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
982 echo "configure:983: checking whether ${CC-cc} accepts -g" >&5
983 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
984 echo $ac_n "(cached) $ac_c" 1>&6
986 echo 'void f(){}' > conftest.c
987 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
996 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
997 if test "$ac_test_CFLAGS" = set; then
998 CFLAGS
="$ac_save_CFLAGS"
999 elif test $ac_cv_prog_cc_g = yes; then
1000 if test "$GCC" = yes; then
1006 if test "$GCC" = yes; then
1013 # Find a good install program. We prefer a C program (faster),
1014 # so one script is as good as another. But avoid the broken or
1015 # incompatible versions:
1016 # SysV /etc/install, /usr/sbin/install
1017 # SunOS /usr/etc/install
1018 # IRIX /sbin/install
1020 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1021 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1022 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1023 # ./install, which can be erroneously created by make from ./install.sh.
1024 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1025 echo "configure:1026: checking for a BSD compatible install" >&5
1026 if test -z "$INSTALL"; then
1027 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1028 echo $ac_n "(cached) $ac_c" 1>&6
1030 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1031 for ac_dir
in $PATH; do
1032 # Account for people who put trailing slashes in PATH elements.
1034 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1036 # OSF1 and SCO ODT 3.0 have their own names for install.
1037 # Don't use installbsd from OSF since it installs stuff as root
1039 for ac_prog
in ginstall scoinst
install; do
1040 if test -f $ac_dir/$ac_prog; then
1041 if test $ac_prog = install &&
1042 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1043 # AIX install. It has an incompatible calling convention.
1046 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1057 if test "${ac_cv_path_install+set}" = set; then
1058 INSTALL
="$ac_cv_path_install"
1060 # As a last resort, use the slow shell script. We don't cache a
1061 # path for INSTALL within a source directory, because that will
1062 # break other packages using the cache if that directory is
1063 # removed, or if the path is relative.
1064 INSTALL
="$ac_install_sh"
1067 echo "$ac_t""$INSTALL" 1>&6
1069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1070 # It thinks the first close brace ends the variable substitution.
1071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1075 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1077 # Extract the first word of "rm", so it can be a program name with args.
1078 set dummy
rm; ac_word
=$2
1079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1080 echo "configure:1081: checking for $ac_word" >&5
1081 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
1082 echo $ac_n "(cached) $ac_c" 1>&6
1086 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
1089 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
1092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1093 ac_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
1094 for ac_dir
in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir
=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_path_RM
="$ac_dir/$ac_word"
1102 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
1107 if test -n "$RM"; then
1108 echo "$ac_t""$RM" 1>&6
1110 echo "$ac_t""no" 1>&6
1113 # Extract the first word of "cp", so it can be a program name with args.
1114 set dummy
cp; ac_word
=$2
1115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1116 echo "configure:1117: checking for $ac_word" >&5
1117 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
1118 echo $ac_n "(cached) $ac_c" 1>&6
1122 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
1125 ac_cv_path_CP
="$CP" # Let the user override the test with a dos path.
1128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1129 ac_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
1130 for ac_dir
in $ac_dummy; do
1131 test -z "$ac_dir" && ac_dir
=.
1132 if test -f $ac_dir/$ac_word; then
1133 ac_cv_path_CP
="$ac_dir/$ac_word"
1138 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="/bin/cp"
1143 if test -n "$CP"; then
1144 echo "$ac_t""$CP" 1>&6
1146 echo "$ac_t""no" 1>&6
1149 # Extract the first word of "strip", so it can be a program name with args.
1150 set dummy strip
; ac_word
=$2
1151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1152 echo "configure:1153: checking for $ac_word" >&5
1153 if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
1154 echo $ac_n "(cached) $ac_c" 1>&6
1158 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
1161 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a dos path.
1164 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1165 ac_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
1166 for ac_dir
in $ac_dummy; do
1167 test -z "$ac_dir" && ac_dir
=.
1168 if test -f $ac_dir/$ac_word; then
1169 ac_cv_path_STRIP
="$ac_dir/$ac_word"
1174 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
="/usr/bin/strip"
1178 STRIP
="$ac_cv_path_STRIP"
1179 if test -n "$STRIP"; then
1180 echo "$ac_t""$STRIP" 1>&6
1182 echo "$ac_t""no" 1>&6
1185 # Extract the first word of "chmod", so it can be a program name with args.
1186 set dummy
chmod; ac_word
=$2
1187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1188 echo "configure:1189: checking for $ac_word" >&5
1189 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
1190 echo $ac_n "(cached) $ac_c" 1>&6
1194 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
1197 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a dos path.
1200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1201 ac_dummy
="$PATH:/bin:/usr/bin:/usr/local/bin"
1202 for ac_dir
in $ac_dummy; do
1203 test -z "$ac_dir" && ac_dir
=.
1204 if test -f $ac_dir/$ac_word; then
1205 ac_cv_path_CHMOD
="$ac_dir/$ac_word"
1210 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
="/bin/chmod"
1214 CHMOD
="$ac_cv_path_CHMOD"
1215 if test -n "$CHMOD"; then
1216 echo "$ac_t""$CHMOD" 1>&6
1218 echo "$ac_t""no" 1>&6
1222 if test "$GCC" = yes; then
1223 fastjar_warn_cflags
='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
1228 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
1230 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1231 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
1232 echo "configure:1233: checking for $ac_hdr that defines DIR" >&5
1233 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
1234 echo $ac_n "(cached) $ac_c" 1>&6
1236 cat > conftest.
$ac_ext <<EOF
1237 #line 1238 "configure"
1238 #include "confdefs.h"
1239 #include <sys/types.h>
1245 if { (eval echo configure
:1246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1247 eval "ac_cv_header_dirent_$ac_safe=yes"
1249 echo "configure: failed program was:" >&5
1250 cat conftest.
$ac_ext >&5
1252 eval "ac_cv_header_dirent_$ac_safe=no"
1256 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
1257 echo "$ac_t""yes" 1>&6
1258 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1259 cat >> confdefs.h
<<EOF
1260 #define $ac_tr_hdr 1
1262 ac_header_dirent
=$ac_hdr; break
1264 echo "$ac_t""no" 1>&6
1267 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
1268 if test $ac_header_dirent = dirent.h
; then
1269 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
1270 echo "configure:1271: checking for opendir in -ldir" >&5
1271 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
1272 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1273 echo $ac_n "(cached) $ac_c" 1>&6
1275 ac_save_LIBS
="$LIBS"
1277 cat > conftest.
$ac_ext <<EOF
1278 #line 1279 "configure"
1279 #include "confdefs.h"
1280 /* Override any gcc2 internal prototype to avoid an error. */
1281 /* We use char because int might match the return type of a gcc2
1282 builtin and then its argument prototype would still apply. */
1289 if { (eval echo configure
:1290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1291 eval "ac_cv_lib_$ac_lib_var=yes"
1293 echo "configure: failed program was:" >&5
1294 cat conftest.
$ac_ext >&5
1296 eval "ac_cv_lib_$ac_lib_var=no"
1299 LIBS
="$ac_save_LIBS"
1302 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1303 echo "$ac_t""yes" 1>&6
1306 echo "$ac_t""no" 1>&6
1310 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
1311 echo "configure:1312: checking for opendir in -lx" >&5
1312 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
1313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1314 echo $ac_n "(cached) $ac_c" 1>&6
1316 ac_save_LIBS
="$LIBS"
1318 cat > conftest.
$ac_ext <<EOF
1319 #line 1320 "configure"
1320 #include "confdefs.h"
1321 /* Override any gcc2 internal prototype to avoid an error. */
1322 /* We use char because int might match the return type of a gcc2
1323 builtin and then its argument prototype would still apply. */
1330 if { (eval echo configure
:1331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1332 eval "ac_cv_lib_$ac_lib_var=yes"
1334 echo "configure: failed program was:" >&5
1335 cat conftest.
$ac_ext >&5
1337 eval "ac_cv_lib_$ac_lib_var=no"
1340 LIBS
="$ac_save_LIBS"
1343 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1344 echo "$ac_t""yes" 1>&6
1347 echo "$ac_t""no" 1>&6
1352 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1353 echo "configure:1354: checking how to run the C preprocessor" >&5
1354 # On Suns, sometimes $CPP names a directory.
1355 if test -n "$CPP" && test -d "$CPP"; then
1358 if test -z "$CPP"; then
1359 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1360 echo $ac_n "(cached) $ac_c" 1>&6
1362 # This must be in double quotes, not single quotes, because CPP may get
1363 # substituted into the Makefile and "${CC-cc}" will confuse make.
1365 # On the NeXT, cc -E runs the code through the compiler's parser,
1366 # not just through cpp.
1367 cat > conftest.
$ac_ext <<EOF
1368 #line 1369 "configure"
1369 #include "confdefs.h"
1373 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1374 { (eval echo configure
:1375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1375 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1376 if test -z "$ac_err"; then
1380 echo "configure: failed program was:" >&5
1381 cat conftest.
$ac_ext >&5
1383 CPP
="${CC-cc} -E -traditional-cpp"
1384 cat > conftest.
$ac_ext <<EOF
1385 #line 1386 "configure"
1386 #include "confdefs.h"
1390 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1391 { (eval echo configure
:1392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1392 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1393 if test -z "$ac_err"; then
1397 echo "configure: failed program was:" >&5
1398 cat conftest.
$ac_ext >&5
1400 CPP
="${CC-cc} -nologo -E"
1401 cat > conftest.
$ac_ext <<EOF
1402 #line 1403 "configure"
1403 #include "confdefs.h"
1407 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1408 { (eval echo configure
:1409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1409 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1410 if test -z "$ac_err"; then
1414 echo "configure: failed program was:" >&5
1415 cat conftest.
$ac_ext >&5
1424 ac_cv_prog_CPP
="$CPP"
1426 CPP
="$ac_cv_prog_CPP"
1428 ac_cv_prog_CPP
="$CPP"
1430 echo "$ac_t""$CPP" 1>&6
1432 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1433 echo "configure:1434: checking for ANSI C header files" >&5
1434 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1435 echo $ac_n "(cached) $ac_c" 1>&6
1437 cat > conftest.
$ac_ext <<EOF
1438 #line 1439 "configure"
1439 #include "confdefs.h"
1445 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1446 { (eval echo configure
:1447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1447 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1448 if test -z "$ac_err"; then
1450 ac_cv_header_stdc
=yes
1453 echo "configure: failed program was:" >&5
1454 cat conftest.
$ac_ext >&5
1456 ac_cv_header_stdc
=no
1460 if test $ac_cv_header_stdc = yes; then
1461 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1462 cat > conftest.
$ac_ext <<EOF
1463 #line 1464 "configure"
1464 #include "confdefs.h"
1467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1468 egrep "memchr" >/dev
/null
2>&1; then
1472 ac_cv_header_stdc
=no
1478 if test $ac_cv_header_stdc = yes; then
1479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1480 cat > conftest.
$ac_ext <<EOF
1481 #line 1482 "configure"
1482 #include "confdefs.h"
1485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1486 egrep "free" >/dev
/null
2>&1; then
1490 ac_cv_header_stdc
=no
1496 if test $ac_cv_header_stdc = yes; then
1497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1498 if test "$cross_compiling" = yes; then
1501 cat > conftest.
$ac_ext <<EOF
1502 #line 1503 "configure"
1503 #include "confdefs.h"
1505 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1506 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1508 int main () { int i; for (i = 0; i < 256; i++)
1509 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1513 if { (eval echo configure
:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1517 echo "configure: failed program was:" >&5
1518 cat conftest.
$ac_ext >&5
1520 ac_cv_header_stdc
=no
1528 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1529 if test $ac_cv_header_stdc = yes; then
1530 cat >> confdefs.h
<<\EOF
1531 #define STDC_HEADERS 1
1536 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
1537 echo "configure:1538: checking whether struct tm is in sys/time.h or time.h" >&5
1538 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
1539 echo $ac_n "(cached) $ac_c" 1>&6
1541 cat > conftest.
$ac_ext <<EOF
1542 #line 1543 "configure"
1543 #include "confdefs.h"
1544 #include <sys/types.h>
1547 struct tm *tp; tp->tm_sec;
1550 if { (eval echo configure
:1551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1552 ac_cv_struct_tm
=time.h
1554 echo "configure: failed program was:" >&5
1555 cat conftest.
$ac_ext >&5
1557 ac_cv_struct_tm
=sys
/time.h
1562 echo "$ac_t""$ac_cv_struct_tm" 1>&6
1563 if test $ac_cv_struct_tm = sys
/time.h
; then
1564 cat >> confdefs.h
<<\EOF
1565 #define TM_IN_SYS_TIME 1
1570 for ac_hdr
in fcntl.h unistd.h sys
/param.h getopt.h
1572 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1573 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1574 echo "configure:1575: checking for $ac_hdr" >&5
1575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1576 echo $ac_n "(cached) $ac_c" 1>&6
1578 cat > conftest.
$ac_ext <<EOF
1579 #line 1580 "configure"
1580 #include "confdefs.h"
1583 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1584 { (eval echo configure
:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1585 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1586 if test -z "$ac_err"; then
1588 eval "ac_cv_header_$ac_safe=yes"
1591 echo "configure: failed program was:" >&5
1592 cat conftest.
$ac_ext >&5
1594 eval "ac_cv_header_$ac_safe=no"
1598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1599 echo "$ac_t""yes" 1>&6
1600 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1601 cat >> confdefs.h
<<EOF
1602 #define $ac_tr_hdr 1
1606 echo "$ac_t""no" 1>&6
1611 echo $ac_n "checking for off_t""... $ac_c" 1>&6
1612 echo "configure:1613: checking for off_t" >&5
1613 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1614 echo $ac_n "(cached) $ac_c" 1>&6
1616 cat > conftest.
$ac_ext <<EOF
1617 #line 1618 "configure"
1618 #include "confdefs.h"
1619 #include <sys/types.h>
1625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1626 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1628 ac_cv_type_off_t
=yes
1636 echo "$ac_t""$ac_cv_type_off_t" 1>&6
1637 if test $ac_cv_type_off_t = no
; then
1638 cat >> confdefs.h
<<\EOF
1644 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
1645 echo "configure:1646: checking whether struct tm is in sys/time.h or time.h" >&5
1646 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
1647 echo $ac_n "(cached) $ac_c" 1>&6
1649 cat > conftest.
$ac_ext <<EOF
1650 #line 1651 "configure"
1651 #include "confdefs.h"
1652 #include <sys/types.h>
1655 struct tm *tp; tp->tm_sec;
1658 if { (eval echo configure
:1659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1660 ac_cv_struct_tm
=time.h
1662 echo "configure: failed program was:" >&5
1663 cat conftest.
$ac_ext >&5
1665 ac_cv_struct_tm
=sys
/time.h
1670 echo "$ac_t""$ac_cv_struct_tm" 1>&6
1671 if test $ac_cv_struct_tm = sys
/time.h
; then
1672 cat >> confdefs.h
<<\EOF
1673 #define TM_IN_SYS_TIME 1
1679 echo $ac_n "checking size of char""... $ac_c" 1>&6
1680 echo "configure:1681: checking size of char" >&5
1681 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
1682 echo $ac_n "(cached) $ac_c" 1>&6
1684 if test "$cross_compiling" = yes; then
1685 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1687 cat > conftest.
$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1693 FILE *f=fopen("conftestval", "w");
1695 fprintf(f, "%d\n", sizeof(char));
1699 if { (eval echo configure
:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1701 ac_cv_sizeof_char
=`cat conftestval`
1703 echo "configure: failed program was:" >&5
1704 cat conftest.
$ac_ext >&5
1712 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
1713 cat >> confdefs.h
<<EOF
1714 #define SIZEOF_CHAR $ac_cv_sizeof_char
1718 echo $ac_n "checking size of short""... $ac_c" 1>&6
1719 echo "configure:1720: checking size of short" >&5
1720 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
1721 echo $ac_n "(cached) $ac_c" 1>&6
1723 if test "$cross_compiling" = yes; then
1724 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1726 cat > conftest.
$ac_ext <<EOF
1727 #line 1728 "configure"
1728 #include "confdefs.h"
1732 FILE *f=fopen("conftestval", "w");
1734 fprintf(f, "%d\n", sizeof(short));
1738 if { (eval echo configure
:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1740 ac_cv_sizeof_short
=`cat conftestval`
1742 echo "configure: failed program was:" >&5
1743 cat conftest.
$ac_ext >&5
1745 ac_cv_sizeof_short
=0
1751 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
1752 cat >> confdefs.h
<<EOF
1753 #define SIZEOF_SHORT $ac_cv_sizeof_short
1757 echo $ac_n "checking size of int""... $ac_c" 1>&6
1758 echo "configure:1759: checking size of int" >&5
1759 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
1760 echo $ac_n "(cached) $ac_c" 1>&6
1762 if test "$cross_compiling" = yes; then
1763 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1765 cat > conftest.
$ac_ext <<EOF
1766 #line 1767 "configure"
1767 #include "confdefs.h"
1771 FILE *f=fopen("conftestval", "w");
1773 fprintf(f, "%d\n", sizeof(int));
1777 if { (eval echo configure
:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1779 ac_cv_sizeof_int
=`cat conftestval`
1781 echo "configure: failed program was:" >&5
1782 cat conftest.
$ac_ext >&5
1790 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
1791 cat >> confdefs.h
<<EOF
1792 #define SIZEOF_INT $ac_cv_sizeof_int
1796 echo $ac_n "checking size of long""... $ac_c" 1>&6
1797 echo "configure:1798: checking size of long" >&5
1798 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
1799 echo $ac_n "(cached) $ac_c" 1>&6
1801 if test "$cross_compiling" = yes; then
1802 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1804 cat > conftest.
$ac_ext <<EOF
1805 #line 1806 "configure"
1806 #include "confdefs.h"
1810 FILE *f=fopen("conftestval", "w");
1812 fprintf(f, "%d\n", sizeof(long));
1816 if { (eval echo configure
:1817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1818 ac_cv_sizeof_long
=`cat conftestval`
1820 echo "configure: failed program was:" >&5
1821 cat conftest.
$ac_ext >&5
1829 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
1830 cat >> confdefs.h
<<EOF
1831 #define SIZEOF_LONG $ac_cv_sizeof_long
1835 echo $ac_n "checking size of long long""... $ac_c" 1>&6
1836 echo "configure:1837: checking size of long long" >&5
1837 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
1838 echo $ac_n "(cached) $ac_c" 1>&6
1840 if test "$cross_compiling" = yes; then
1841 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1843 cat > conftest.
$ac_ext <<EOF
1844 #line 1845 "configure"
1845 #include "confdefs.h"
1849 FILE *f=fopen("conftestval", "w");
1851 fprintf(f, "%d\n", sizeof(long long));
1855 if { (eval echo configure
:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1857 ac_cv_sizeof_long_long
=`cat conftestval`
1859 echo "configure: failed program was:" >&5
1860 cat conftest.
$ac_ext >&5
1862 ac_cv_sizeof_long_long
=0
1868 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
1869 cat >> confdefs.h
<<EOF
1870 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
1875 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
1876 echo "configure:1877: checking whether byte ordering is bigendian" >&5
1877 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
1878 echo $ac_n "(cached) $ac_c" 1>&6
1880 ac_cv_c_bigendian
=unknown
1881 # See if sys/param.h defines the BYTE_ORDER macro.
1882 cat > conftest.
$ac_ext <<EOF
1883 #line 1884 "configure"
1884 #include "confdefs.h"
1885 #include <sys/types.h>
1886 #include <sys/param.h>
1889 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1894 if { (eval echo configure
:1895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1896 # It does; now see whether it defined to BIG_ENDIAN or not.
1897 cat > conftest.
$ac_ext <<EOF
1898 #line 1899 "configure"
1899 #include "confdefs.h"
1900 #include <sys/types.h>
1901 #include <sys/param.h>
1904 #if BYTE_ORDER != BIG_ENDIAN
1909 if { (eval echo configure
:1910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1911 ac_cv_c_bigendian
=yes
1913 echo "configure: failed program was:" >&5
1914 cat conftest.
$ac_ext >&5
1916 ac_cv_c_bigendian
=no
1920 echo "configure: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1924 if test $ac_cv_c_bigendian = unknown
; then
1925 if test "$cross_compiling" = yes; then
1926 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1928 cat > conftest.
$ac_ext <<EOF
1929 #line 1930 "configure"
1930 #include "confdefs.h"
1932 /* Are we little or big endian? From Harbison&Steele. */
1936 char c[sizeof (long)];
1939 exit (u.c[sizeof (long) - 1] == 1);
1942 if { (eval echo configure
:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1944 ac_cv_c_bigendian
=no
1946 echo "configure: failed program was:" >&5
1947 cat conftest.
$ac_ext >&5
1949 ac_cv_c_bigendian
=yes
1957 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
1958 if test $ac_cv_c_bigendian = yes; then
1959 cat >> confdefs.h
<<\EOF
1960 #define WORDS_BIGENDIAN 1
1966 ZDEPS
='$(top_builddir)/../zlib/libz.a'
1967 ZLIBS
="$ZDEPS -L\$(here)/../zlib/$libsubdir"
1968 ZINCS
='-I$(top_srcdir)/../zlib'
1974 cat > confcache
<<\EOF
1975 # This file is a shell script that caches the results of configure
1976 # tests run on this system so they can be shared between configure
1977 # scripts and configure runs. It is not useful on other systems.
1978 # If it contains results you don't want to keep, you may remove or edit it.
1980 # By default, configure uses ./config.cache as the cache file,
1981 # creating it if it does not exist already. You can give configure
1982 # the --cache-file=FILE option to use a different cache file; that is
1983 # what configure does when it calls configure scripts in
1984 # subdirectories, so they share the cache.
1985 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1986 # config.status only pays attention to the cache file if you give it the
1987 # --recheck option to rerun configure.
1990 # The following way of writing the cache mishandles newlines in values,
1991 # but we know of no workaround that is simple, portable, and efficient.
1992 # So, don't put newlines in cache variables' values.
1993 # Ultrix sh set writes to stderr and can't be redirected directly,
1994 # and sets the high bit in the cache file unless we assign to the vars.
1996 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1998 # `set' does not quote correctly, so add quotes (double-quote substitution
1999 # turns \\\\ into \\, and sed turns \\ into \).
2001 -e "s/'/'\\\\''/g" \
2002 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2005 # `set' quotes correctly as required by POSIX, so do not add quotes.
2006 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2009 if cmp -s $cache_file confcache
; then
2012 if test -w $cache_file; then
2013 echo "updating cache $cache_file"
2014 cat confcache
> $cache_file
2016 echo "not updating unwritable cache $cache_file"
2021 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2023 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2024 # Let make expand exec_prefix.
2025 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2027 # Any assignment to VPATH causes Sun make to only execute
2028 # the first set of double-colon rules, so remove it if not needed.
2029 # If there is a colon in the path, we need to keep it.
2030 if test "x$srcdir" = x.
; then
2031 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2034 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2036 DEFS
=-DHAVE_CONFIG_H
2038 # Without the "./", some shells look in PATH for config.status.
2039 : ${CONFIG_STATUS=./config.status}
2041 echo creating
$CONFIG_STATUS
2042 rm -f $CONFIG_STATUS
2043 cat > $CONFIG_STATUS <<EOF
2045 # Generated automatically by configure.
2046 # Run this file to recreate the current configuration.
2047 # This directory was configured as follows,
2048 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2050 # $0 $ac_configure_args
2052 # Compiler output produced by configure, useful for debugging
2053 # configure, is in ./config.log if it exists.
2055 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2058 case "\$ac_option" in
2059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2060 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2061 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2062 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2063 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2065 -help | --help | --hel | --he | --h)
2066 echo "\$ac_cs_usage"; exit 0 ;;
2067 *) echo "\$ac_cs_usage"; exit 1 ;;
2071 ac_given_srcdir=$srcdir
2072 ac_given_INSTALL="$INSTALL"
2074 trap 'rm -fr `echo "Makefile install-defs.sh config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2076 cat >> $CONFIG_STATUS <<EOF
2078 # Protect against being on the right side of a sed subst in config.status.
2079 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2080 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2084 s%@CFLAGS@%$CFLAGS%g
2085 s%@CPPFLAGS@%$CPPFLAGS%g
2086 s%@CXXFLAGS@%$CXXFLAGS%g
2087 s%@FFLAGS@%$FFLAGS%g
2089 s%@LDFLAGS@%$LDFLAGS%g
2091 s%@exec_prefix@%$exec_prefix%g
2092 s%@prefix@%$prefix%g
2093 s%@program_transform_name@%$program_transform_name%g
2094 s%@bindir@%$bindir%g
2095 s%@sbindir@%$sbindir%g
2096 s%@libexecdir@%$libexecdir%g
2097 s%@datadir@%$datadir%g
2098 s%@sysconfdir@%$sysconfdir%g
2099 s%@sharedstatedir@%$sharedstatedir%g
2100 s%@localstatedir@%$localstatedir%g
2101 s%@libdir@%$libdir%g
2102 s%@includedir@%$includedir%g
2103 s%@oldincludedir@%$oldincludedir%g
2104 s%@infodir@%$infodir%g
2105 s%@mandir@%$mandir%g
2106 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2107 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2108 s%@INSTALL_DATA@%$INSTALL_DATA%g
2109 s%@PACKAGE@%$PACKAGE%g
2110 s%@VERSION@%$VERSION%g
2111 s%@ACLOCAL@%$ACLOCAL%g
2112 s%@AUTOCONF@%$AUTOCONF%g
2113 s%@AUTOMAKE@%$AUTOMAKE%g
2114 s%@AUTOHEADER@%$AUTOHEADER%g
2115 s%@MAKEINFO@%$MAKEINFO%g
2116 s%@SET_MAKE@%$SET_MAKE%g
2122 s%@fastjar_warn_cflags@%$fastjar_warn_cflags%g
2131 cat >> $CONFIG_STATUS <<\EOF
2133 # Split the substitutions into bite-sized pieces for seds with
2134 # small command number limits, like on Digital OSF/1 and HP-UX.
2135 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2136 ac_file
=1 # Number of current file.
2137 ac_beg
=1 # First line for current file.
2138 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2141 while $ac_more_lines; do
2142 if test $ac_beg -gt 1; then
2143 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2145 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2147 if test ! -s conftest.s
$ac_file; then
2149 rm -f conftest.s
$ac_file
2151 if test -z "$ac_sed_cmds"; then
2152 ac_sed_cmds
="sed -f conftest.s$ac_file"
2154 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2156 ac_file
=`expr $ac_file + 1`
2158 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2161 if test -z "$ac_sed_cmds"; then
2166 cat >> $CONFIG_STATUS <<EOF
2168 CONFIG_FILES=\${CONFIG_FILES-"Makefile install-defs.sh"}
2170 cat >> $CONFIG_STATUS <<\EOF
2171 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2174 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2175 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2176 *) ac_file_in
="${ac_file}.in" ;;
2179 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2181 # Remove last slash and all that follows it. Not all systems have dirname.
2182 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2183 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2184 # The file is in a subdirectory.
2185 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2186 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2187 # A "../" for each directory in $ac_dir_suffix.
2188 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2190 ac_dir_suffix
= ac_dots
=
2193 case "$ac_given_srcdir" in
2195 if test -z "$ac_dots"; then top_srcdir
=.
2196 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2197 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2199 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2200 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2203 case "$ac_given_INSTALL" in
2204 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2205 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2208 echo creating
"$ac_file"
2210 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2212 *Makefile
*) ac_comsub
="1i\\
2213 # $configure_input" ;;
2217 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2219 s%@configure_input@%$configure_input%g
2220 s%@srcdir@%$srcdir%g
2221 s%@top_srcdir@%$top_srcdir%g
2222 s%@INSTALL@%$INSTALL%g
2223 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2227 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2228 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2230 # ac_d sets the value in "#define NAME VALUE" lines.
2231 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2232 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2235 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2236 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2237 ac_uB
='\([ ]\)%\1#\2define\3'
2240 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2241 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2242 ac_eB
='$%\1#\2define\3'
2246 if test "${CONFIG_HEADERS+set}" != set; then
2248 cat >> $CONFIG_STATUS <<EOF
2249 CONFIG_HEADERS="config.h"
2251 cat >> $CONFIG_STATUS <<\EOF
2253 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2254 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2256 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2257 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2258 *) ac_file_in
="${ac_file}.in" ;;
2261 echo creating
$ac_file
2263 rm -f conftest.frag conftest.
in conftest.out
2264 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2265 cat $ac_file_inputs > conftest.
in
2269 # Transform confdefs.h into a sed script conftest.vals that substitutes
2270 # the proper values into config.h.in to produce config.h. And first:
2271 # Protect against being on the right side of a sed subst in config.status.
2272 # Protect against being in an unquoted here document in config.status.
2274 cat > conftest.hdr
<<\EOF
2277 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2281 sed -n -f conftest.hdr confdefs.h > conftest.vals
2284 # This sed command replaces #undef with comments. This is necessary, for
2285 # example, in the case of _POSIX_SOURCE, which is predefined and required
2286 # on some systems where configure will not decide to define it.
2287 cat >> conftest.vals <<\EOF
2288 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2291 # Break up conftest.vals because some shells have a limit on
2292 # the size of here documents, and old seds have small limits too.
2297 ac_lines=`grep -c . conftest.vals
`
2298 # grep -c gives empty output for an empty file on some AIX systems.
2299 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2300 # Write a limited-size here document to conftest.frag.
2301 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2302 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2304 sed -f conftest.frag conftest.in > conftest.out
2306 mv conftest.out conftest.in
2308 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2310 mv conftest.tail conftest.vals
2314 cat >> $CONFIG_STATUS <<\EOF
2315 rm -f conftest.frag conftest.h
2316 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2317 cat conftest.in >> conftest.h
2319 if cmp -s $ac_file conftest.h 2>/dev/null; then
2320 echo "$ac_file is unchanged"
2323 # Remove last slash and all that follows it. Not all systems have dirname.
2324 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2325 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2326 # The file is in a subdirectory.
2327 test ! -d "$ac_dir" && mkdir "$ac_dir"
2330 mv conftest.h $ac_file
2335 cat >> $CONFIG_STATUS <<EOF
2339 cat >> $CONFIG_STATUS <<\EOF
2340 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2344 chmod +x $CONFIG_STATUS
2345 rm -fr confdefs* $ac_clean_files
2346 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1