* c-typeck.c (convert_arguments): Don't check for width changes
[official-gcc.git] / fastjar / configure
blob5e102836eb138fff3df5ed423a4797d070dcf77d
1 #! /bin/sh
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.
10 # Defaults:
11 ac_help=
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.
18 build=NONE
19 cache_file=./config.cache
20 exec_prefix=NONE
21 host=NONE
22 no_create=
23 nonopt=NONE
24 no_recursion=
25 prefix=NONE
26 program_prefix=NONE
27 program_suffix=NONE
28 program_transform_name=s,x,x,
29 silent=
30 site=
31 sitefile=
32 srcdir=
33 target=NONE
34 verbose=
35 x_includes=NONE
36 x_libraries=NONE
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.
51 subdirs=
52 MFLAGS= MAKEFLAGS=
53 SHELL=${CONFIG_SHELL-/bin/sh}
54 # Maximum number of lines to put in a shell here document.
55 ac_max_here_lines=12
57 ac_prev=
58 for ac_option
61 # If the previous option needs an argument, assign it.
62 if test -n "$ac_prev"; then
63 eval "$ac_prev=\$ac_option"
64 ac_prev=
65 continue
68 case "$ac_option" in
69 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
70 *) ac_optarg= ;;
71 esac
73 # Accept the important Cygnus configure options, so we can diagnose typos.
75 case "$ac_option" in
77 -bindir | --bindir | --bindi | --bind | --bin | --bi)
78 ac_prev=bindir ;;
79 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
80 bindir="$ac_optarg" ;;
82 -build | --build | --buil | --bui | --bu)
83 ac_prev=build ;;
84 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
85 build="$ac_optarg" ;;
87 -cache-file | --cache-file | --cache-fil | --cache-fi \
88 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
89 ac_prev=cache_file ;;
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)
95 ac_prev=datadir ;;
96 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
97 | --da=*)
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'`
116 case "$ac_option" in
117 *=*) ;;
118 *) ac_optarg=yes ;;
119 esac
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.
133 with_gas=yes ;;
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.
138 cat << EOF
139 Usage: configure [options] [host]
140 Options: [defaults in brackets after descriptions]
141 Configuration:
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
150 [$ac_default_prefix]
151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
152 [same as prefix]
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
157 [PREFIX/share]
158 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
159 --sharedstatedir=DIR modifiable architecture-independent data in DIR
160 [PREFIX/com]
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
173 cat << EOF
174 Host type:
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"
189 exit 0 ;;
191 -host | --host | --hos | --ho)
192 ac_prev=host ;;
193 -host=* | --host=* | --hos=* | --ho=*)
194 host="$ac_optarg" ;;
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)
204 ac_prev=infodir ;;
205 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
206 infodir="$ac_optarg" ;;
208 -libdir | --libdir | --libdi | --libd)
209 ac_prev=libdir ;;
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)
230 ac_prev=mandir ;;
231 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
232 mandir="$ac_optarg" ;;
234 -nfp | --nfp | --nf)
235 # Obsolete; use --without-fp.
236 with_fp=no ;;
238 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
239 | --no-cr | --no-c)
240 no_create=yes ;;
242 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
243 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
244 no_recursion=yes ;;
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)
256 ac_prev=prefix ;;
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)
293 silent=yes ;;
295 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
296 ac_prev=sbindir ;;
297 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
298 | --sbi=* | --sb=*)
299 sbindir="$ac_optarg" ;;
301 -sharedstatedir | --sharedstatedir | --sharedstatedi \
302 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
303 | --sharedst | --shareds | --shared | --share | --shar \
304 | --sha | --sh)
305 ac_prev=sharedstatedir ;;
306 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
307 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
308 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
309 | --sha=* | --sh=*)
310 sharedstatedir="$ac_optarg" ;;
312 -site | --site | --sit)
313 ac_prev=site ;;
314 -site=* | --site=* | --sit=*)
315 site="$ac_optarg" ;;
317 -site-file | --site-file | --site-fil | --site-fi | --site-f)
318 ac_prev=sitefile ;;
319 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
320 sitefile="$ac_optarg" ;;
322 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
323 ac_prev=srcdir ;;
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)
335 ac_prev=target ;;
336 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
337 target="$ac_optarg" ;;
339 -v | -verbose | --verbose | --verbos | --verbo | --verb)
340 verbose=yes ;;
342 -version | --version | --versio | --versi | --vers)
343 echo "configure generated by autoconf version 2.13"
344 exit 0 ;;
346 -with-* | --with-*)
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'`
353 case "$ac_option" in
354 *=*) ;;
355 *) ac_optarg=yes ;;
356 esac
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" ;;
368 --x)
369 # Obsolete; use --with-x.
370 with_x=yes ;;
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; }
396 nonopt="$ac_option"
399 esac
400 done
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:
409 # 0 standard input
410 # 1 file creation
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
417 exec 6>/dev/null
418 else
419 exec 6>&1
421 exec 5>./config.log
423 echo "\
424 This file contains any messages produced by compilers while
425 running configure, to aid debugging if configure makes a mistake.
426 " 1>&5
428 # Strip out --no-create and --no-recursion so they do not pile up.
429 # Also quote any args containing shell metacharacters.
430 ac_configure_args=
431 for ac_arg
433 case "$ac_arg" in
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" ;;
441 esac
442 done
444 # NLS nuisances.
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.
457 echo > confdefs.h
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.
467 ac_prog=$0
468 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
469 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
470 srcdir=$ac_confdir
471 if test ! -r $srcdir/$ac_unique_file; then
472 srcdir=..
474 else
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; }
480 else
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"
491 else
492 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
495 else
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"
501 . "$ac_site_file"
503 done
505 if test -r "$cache_file"; then
506 echo "loading cache $cache_file"
507 . $cache_file
508 else
509 echo "creating cache $cache_file"
510 > $cache_file
513 ac_ext=c
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
520 ac_exeext=
521 ac_objext=o
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
525 ac_n= ac_c='
526 ' ac_t=' '
527 else
528 ac_n=-n ac_c= ac_t=
530 else
531 ac_n= ac_c='\c' ac_t=
535 ac_aux_dir=
536 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
537 if test -f $ac_dir/install-sh; then
538 ac_aux_dir=$ac_dir
539 ac_install_sh="$ac_aux_dir/install-sh -c"
540 break
541 elif test -f $ac_dir/install.sh; then
542 ac_aux_dir=$ac_dir
543 ac_install_sh="$ac_aux_dir/install.sh -c"
544 break
546 done
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
559 # IRIX /sbin/install
560 # AIX /bin/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
570 else
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.
574 case "$ac_dir/" in
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
579 # by default.
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.
586 else
587 ac_cv_path_install="$ac_dir/$ac_prog -c"
588 break 2
591 done
593 esac
594 done
595 IFS="$ac_save_IFS"
598 if test "${ac_cv_path_install+set}" = set; then
599 INSTALL="$ac_cv_path_install"
600 else
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
620 # Just in case
621 sleep 1
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
627 # directory).
628 if (
629 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
630 if test "$*" = "X"; then
631 # -L didn't work.
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
647 then
648 # Ok.
650 else
651 { echo "configure: error: newly created file is older than distributed files!
652 Check your system clock" 1>&2; exit 1; }
654 rm -f conftest*
655 echo "$ac_t""yes" 1>&6
656 if test "$program_transform_name" = s,x,x,; then
657 program_transform_name=
658 else
659 # Double any \ or $. echo might interpret backslashes.
660 cat <<\EOF_SED > conftestsed
661 s,\\,\\\\,g; s,\$,$$,g
662 EOF_SED
663 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
664 rm -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
680 else
681 cat > conftestmake <<\EOF
682 all:
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
689 else
690 eval ac_cv_prog_make_${ac_make}_set=no
692 rm -f conftestmake
694 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
695 echo "$ac_t""yes" 1>&6
696 SET_MAKE=
697 else
698 echo "$ac_t""no" 1>&6
699 SET_MAKE="MAKE=${MAKE-make}"
703 PACKAGE=fastar
705 VERSION=0.92-gcc
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
727 ACLOCAL=aclocal
728 echo "$ac_t""found" 1>&6
729 else
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
740 AUTOCONF=autoconf
741 echo "$ac_t""found" 1>&6
742 else
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
753 AUTOMAKE=automake
754 echo "$ac_t""found" 1>&6
755 else
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
768 else
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
779 MAKEINFO=makeinfo
780 echo "$ac_t""found" 1>&6
781 else
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
797 else
798 if test -n "$CC"; then
799 ac_cv_prog_CC="$CC" # Let the user override the test.
800 else
801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
802 ac_dummy="$PATH"
803 for ac_dir in $ac_dummy; do
804 test -z "$ac_dir" && ac_dir=.
805 if test -f $ac_dir/$ac_word; then
806 ac_cv_prog_CC="gcc"
807 break
809 done
810 IFS="$ac_save_ifs"
813 CC="$ac_cv_prog_CC"
814 if test -n "$CC"; then
815 echo "$ac_t""$CC" 1>&6
816 else
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
827 else
828 if test -n "$CC"; then
829 ac_cv_prog_CC="$CC" # Let the user override the test.
830 else
831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
832 ac_prog_rejected=no
833 ac_dummy="$PATH"
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
838 ac_prog_rejected=yes
839 continue
841 ac_cv_prog_CC="cc"
842 break
844 done
845 IFS="$ac_save_ifs"
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
849 shift
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.
854 shift
855 set dummy "$ac_dir/$ac_word" "$@"
856 shift
857 ac_cv_prog_CC="$@"
862 CC="$ac_cv_prog_CC"
863 if test -n "$CC"; then
864 echo "$ac_t""$CC" 1>&6
865 else
866 echo "$ac_t""no" 1>&6
869 if test -z "$CC"; then
870 case "`uname -s`" in
871 *win32* | *WIN32*)
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
878 else
879 if test -n "$CC"; then
880 ac_cv_prog_CC="$CC" # Let the user override the test.
881 else
882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
883 ac_dummy="$PATH"
884 for ac_dir in $ac_dummy; do
885 test -z "$ac_dir" && ac_dir=.
886 if test -f $ac_dir/$ac_word; then
887 ac_cv_prog_CC="cl"
888 break
890 done
891 IFS="$ac_save_ifs"
894 CC="$ac_cv_prog_CC"
895 if test -n "$CC"; then
896 echo "$ac_t""$CC" 1>&6
897 else
898 echo "$ac_t""no" 1>&6
901 esac
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
909 ac_ext=c
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"
921 main(){return(0);}
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
928 else
929 ac_cv_prog_cc_cross=yes
931 else
932 echo "configure: failed program was:" >&5
933 cat conftest.$ac_ext >&5
934 ac_cv_prog_cc_works=no
936 rm -fr conftest*
937 ac_ext=c
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
957 else
958 cat > conftest.c <<EOF
959 #ifdef __GNUC__
960 yes;
961 #endif
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
964 ac_cv_prog_gcc=yes
965 else
966 ac_cv_prog_gcc=no
970 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
972 if test $ac_cv_prog_gcc = yes; then
973 GCC=yes
974 else
975 GCC=
978 ac_test_CFLAGS="${CFLAGS+set}"
979 ac_save_CFLAGS="$CFLAGS"
980 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
985 else
986 echo 'void f(){}' > conftest.c
987 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
988 ac_cv_prog_cc_g=yes
989 else
990 ac_cv_prog_cc_g=no
992 rm -f conftest*
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
1001 CFLAGS="-g -O2"
1002 else
1003 CFLAGS="-g"
1005 else
1006 if test "$GCC" = yes; then
1007 CFLAGS="-O2"
1008 else
1009 CFLAGS=
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
1019 # AIX /bin/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
1029 else
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.
1033 case "$ac_dir/" in
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
1038 # by default.
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.
1045 else
1046 ac_cv_path_install="$ac_dir/$ac_prog -c"
1047 break 2
1050 done
1052 esac
1053 done
1054 IFS="$ac_save_IFS"
1057 if test "${ac_cv_path_install+set}" = set; then
1058 INSTALL="$ac_cv_path_install"
1059 else
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
1083 else
1084 case "$RM" in
1086 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1088 ?:/*)
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"
1098 break
1100 done
1101 IFS="$ac_save_ifs"
1102 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
1104 esac
1106 RM="$ac_cv_path_RM"
1107 if test -n "$RM"; then
1108 echo "$ac_t""$RM" 1>&6
1109 else
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
1119 else
1120 case "$CP" in
1122 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1124 ?:/*)
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"
1134 break
1136 done
1137 IFS="$ac_save_ifs"
1138 test -z "$ac_cv_path_CP" && ac_cv_path_CP="/bin/cp"
1140 esac
1142 CP="$ac_cv_path_CP"
1143 if test -n "$CP"; then
1144 echo "$ac_t""$CP" 1>&6
1145 else
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
1155 else
1156 case "$STRIP" in
1158 ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
1160 ?:/*)
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"
1170 break
1172 done
1173 IFS="$ac_save_ifs"
1174 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP="/usr/bin/strip"
1176 esac
1178 STRIP="$ac_cv_path_STRIP"
1179 if test -n "$STRIP"; then
1180 echo "$ac_t""$STRIP" 1>&6
1181 else
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
1191 else
1192 case "$CHMOD" in
1194 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
1196 ?:/*)
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"
1206 break
1208 done
1209 IFS="$ac_save_ifs"
1210 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD="/bin/chmod"
1212 esac
1214 CHMOD="$ac_cv_path_CHMOD"
1215 if test -n "$CHMOD"; then
1216 echo "$ac_t""$CHMOD" 1>&6
1217 else
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'
1227 ac_header_dirent=no
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
1235 else
1236 cat > conftest.$ac_ext <<EOF
1237 #line 1238 "configure"
1238 #include "confdefs.h"
1239 #include <sys/types.h>
1240 #include <$ac_hdr>
1241 int main() {
1242 DIR *dirp = 0;
1243 ; return 0; }
1245 if { (eval echo configure:1246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1246 rm -rf conftest*
1247 eval "ac_cv_header_dirent_$ac_safe=yes"
1248 else
1249 echo "configure: failed program was:" >&5
1250 cat conftest.$ac_ext >&5
1251 rm -rf conftest*
1252 eval "ac_cv_header_dirent_$ac_safe=no"
1254 rm -f conftest*
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
1263 else
1264 echo "$ac_t""no" 1>&6
1266 done
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
1274 else
1275 ac_save_LIBS="$LIBS"
1276 LIBS="-ldir $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. */
1283 char opendir();
1285 int main() {
1286 opendir()
1287 ; return 0; }
1289 if { (eval echo configure:1290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1290 rm -rf conftest*
1291 eval "ac_cv_lib_$ac_lib_var=yes"
1292 else
1293 echo "configure: failed program was:" >&5
1294 cat conftest.$ac_ext >&5
1295 rm -rf conftest*
1296 eval "ac_cv_lib_$ac_lib_var=no"
1298 rm -f conftest*
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
1304 LIBS="$LIBS -ldir"
1305 else
1306 echo "$ac_t""no" 1>&6
1309 else
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
1315 else
1316 ac_save_LIBS="$LIBS"
1317 LIBS="-lx $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. */
1324 char opendir();
1326 int main() {
1327 opendir()
1328 ; return 0; }
1330 if { (eval echo configure:1331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1331 rm -rf conftest*
1332 eval "ac_cv_lib_$ac_lib_var=yes"
1333 else
1334 echo "configure: failed program was:" >&5
1335 cat conftest.$ac_ext >&5
1336 rm -rf conftest*
1337 eval "ac_cv_lib_$ac_lib_var=no"
1339 rm -f conftest*
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
1345 LIBS="$LIBS -lx"
1346 else
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
1356 CPP=
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
1361 else
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.
1364 CPP="${CC-cc} -E"
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"
1370 #include <assert.h>
1371 Syntax Error
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
1378 else
1379 echo "$ac_err" >&5
1380 echo "configure: failed program was:" >&5
1381 cat conftest.$ac_ext >&5
1382 rm -rf conftest*
1383 CPP="${CC-cc} -E -traditional-cpp"
1384 cat > conftest.$ac_ext <<EOF
1385 #line 1386 "configure"
1386 #include "confdefs.h"
1387 #include <assert.h>
1388 Syntax Error
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
1395 else
1396 echo "$ac_err" >&5
1397 echo "configure: failed program was:" >&5
1398 cat conftest.$ac_ext >&5
1399 rm -rf conftest*
1400 CPP="${CC-cc} -nologo -E"
1401 cat > conftest.$ac_ext <<EOF
1402 #line 1403 "configure"
1403 #include "confdefs.h"
1404 #include <assert.h>
1405 Syntax Error
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
1412 else
1413 echo "$ac_err" >&5
1414 echo "configure: failed program was:" >&5
1415 cat conftest.$ac_ext >&5
1416 rm -rf conftest*
1417 CPP=/lib/cpp
1419 rm -f conftest*
1421 rm -f conftest*
1423 rm -f conftest*
1424 ac_cv_prog_CPP="$CPP"
1426 CPP="$ac_cv_prog_CPP"
1427 else
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
1436 else
1437 cat > conftest.$ac_ext <<EOF
1438 #line 1439 "configure"
1439 #include "confdefs.h"
1440 #include <stdlib.h>
1441 #include <stdarg.h>
1442 #include <string.h>
1443 #include <float.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
1449 rm -rf conftest*
1450 ac_cv_header_stdc=yes
1451 else
1452 echo "$ac_err" >&5
1453 echo "configure: failed program was:" >&5
1454 cat conftest.$ac_ext >&5
1455 rm -rf conftest*
1456 ac_cv_header_stdc=no
1458 rm -f conftest*
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"
1465 #include <string.h>
1467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1468 egrep "memchr" >/dev/null 2>&1; then
1470 else
1471 rm -rf conftest*
1472 ac_cv_header_stdc=no
1474 rm -f conftest*
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"
1483 #include <stdlib.h>
1485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1486 egrep "free" >/dev/null 2>&1; then
1488 else
1489 rm -rf conftest*
1490 ac_cv_header_stdc=no
1492 rm -f conftest*
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
1500 else
1501 cat > conftest.$ac_ext <<EOF
1502 #line 1503 "configure"
1503 #include "confdefs.h"
1504 #include <ctype.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);
1510 exit (0); }
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
1514 then
1516 else
1517 echo "configure: failed program was:" >&5
1518 cat conftest.$ac_ext >&5
1519 rm -fr conftest*
1520 ac_cv_header_stdc=no
1522 rm -fr conftest*
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
1540 else
1541 cat > conftest.$ac_ext <<EOF
1542 #line 1543 "configure"
1543 #include "confdefs.h"
1544 #include <sys/types.h>
1545 #include <time.h>
1546 int main() {
1547 struct tm *tp; tp->tm_sec;
1548 ; return 0; }
1550 if { (eval echo configure:1551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1551 rm -rf conftest*
1552 ac_cv_struct_tm=time.h
1553 else
1554 echo "configure: failed program was:" >&5
1555 cat conftest.$ac_ext >&5
1556 rm -rf conftest*
1557 ac_cv_struct_tm=sys/time.h
1559 rm -f conftest*
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
1577 else
1578 cat > conftest.$ac_ext <<EOF
1579 #line 1580 "configure"
1580 #include "confdefs.h"
1581 #include <$ac_hdr>
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
1587 rm -rf conftest*
1588 eval "ac_cv_header_$ac_safe=yes"
1589 else
1590 echo "$ac_err" >&5
1591 echo "configure: failed program was:" >&5
1592 cat conftest.$ac_ext >&5
1593 rm -rf conftest*
1594 eval "ac_cv_header_$ac_safe=no"
1596 rm -f conftest*
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
1605 else
1606 echo "$ac_t""no" 1>&6
1608 done
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
1615 else
1616 cat > conftest.$ac_ext <<EOF
1617 #line 1618 "configure"
1618 #include "confdefs.h"
1619 #include <sys/types.h>
1620 #if STDC_HEADERS
1621 #include <stdlib.h>
1622 #include <stddef.h>
1623 #endif
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
1627 rm -rf conftest*
1628 ac_cv_type_off_t=yes
1629 else
1630 rm -rf conftest*
1631 ac_cv_type_off_t=no
1633 rm -f conftest*
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
1639 #define off_t long
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
1648 else
1649 cat > conftest.$ac_ext <<EOF
1650 #line 1651 "configure"
1651 #include "confdefs.h"
1652 #include <sys/types.h>
1653 #include <time.h>
1654 int main() {
1655 struct tm *tp; tp->tm_sec;
1656 ; return 0; }
1658 if { (eval echo configure:1659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1659 rm -rf conftest*
1660 ac_cv_struct_tm=time.h
1661 else
1662 echo "configure: failed program was:" >&5
1663 cat conftest.$ac_ext >&5
1664 rm -rf conftest*
1665 ac_cv_struct_tm=sys/time.h
1667 rm -f conftest*
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
1683 else
1684 if test "$cross_compiling" = yes; then
1685 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1686 else
1687 cat > conftest.$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1690 #include <stdio.h>
1691 main()
1693 FILE *f=fopen("conftestval", "w");
1694 if (!f) exit(1);
1695 fprintf(f, "%d\n", sizeof(char));
1696 exit(0);
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
1700 then
1701 ac_cv_sizeof_char=`cat conftestval`
1702 else
1703 echo "configure: failed program was:" >&5
1704 cat conftest.$ac_ext >&5
1705 rm -fr conftest*
1706 ac_cv_sizeof_char=0
1708 rm -fr conftest*
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
1722 else
1723 if test "$cross_compiling" = yes; then
1724 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1725 else
1726 cat > conftest.$ac_ext <<EOF
1727 #line 1728 "configure"
1728 #include "confdefs.h"
1729 #include <stdio.h>
1730 main()
1732 FILE *f=fopen("conftestval", "w");
1733 if (!f) exit(1);
1734 fprintf(f, "%d\n", sizeof(short));
1735 exit(0);
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
1739 then
1740 ac_cv_sizeof_short=`cat conftestval`
1741 else
1742 echo "configure: failed program was:" >&5
1743 cat conftest.$ac_ext >&5
1744 rm -fr conftest*
1745 ac_cv_sizeof_short=0
1747 rm -fr conftest*
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
1761 else
1762 if test "$cross_compiling" = yes; then
1763 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1764 else
1765 cat > conftest.$ac_ext <<EOF
1766 #line 1767 "configure"
1767 #include "confdefs.h"
1768 #include <stdio.h>
1769 main()
1771 FILE *f=fopen("conftestval", "w");
1772 if (!f) exit(1);
1773 fprintf(f, "%d\n", sizeof(int));
1774 exit(0);
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
1778 then
1779 ac_cv_sizeof_int=`cat conftestval`
1780 else
1781 echo "configure: failed program was:" >&5
1782 cat conftest.$ac_ext >&5
1783 rm -fr conftest*
1784 ac_cv_sizeof_int=0
1786 rm -fr conftest*
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
1800 else
1801 if test "$cross_compiling" = yes; then
1802 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1803 else
1804 cat > conftest.$ac_ext <<EOF
1805 #line 1806 "configure"
1806 #include "confdefs.h"
1807 #include <stdio.h>
1808 main()
1810 FILE *f=fopen("conftestval", "w");
1811 if (!f) exit(1);
1812 fprintf(f, "%d\n", sizeof(long));
1813 exit(0);
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
1817 then
1818 ac_cv_sizeof_long=`cat conftestval`
1819 else
1820 echo "configure: failed program was:" >&5
1821 cat conftest.$ac_ext >&5
1822 rm -fr conftest*
1823 ac_cv_sizeof_long=0
1825 rm -fr conftest*
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
1839 else
1840 if test "$cross_compiling" = yes; then
1841 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1842 else
1843 cat > conftest.$ac_ext <<EOF
1844 #line 1845 "configure"
1845 #include "confdefs.h"
1846 #include <stdio.h>
1847 main()
1849 FILE *f=fopen("conftestval", "w");
1850 if (!f) exit(1);
1851 fprintf(f, "%d\n", sizeof(long long));
1852 exit(0);
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
1856 then
1857 ac_cv_sizeof_long_long=`cat conftestval`
1858 else
1859 echo "configure: failed program was:" >&5
1860 cat conftest.$ac_ext >&5
1861 rm -fr conftest*
1862 ac_cv_sizeof_long_long=0
1864 rm -fr conftest*
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
1879 else
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>
1887 int main() {
1889 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1890 bogus endian macros
1891 #endif
1892 ; return 0; }
1894 if { (eval echo configure:1895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1895 rm -rf conftest*
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>
1902 int main() {
1904 #if BYTE_ORDER != BIG_ENDIAN
1905 not big endian
1906 #endif
1907 ; return 0; }
1909 if { (eval echo configure:1910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1910 rm -rf conftest*
1911 ac_cv_c_bigendian=yes
1912 else
1913 echo "configure: failed program was:" >&5
1914 cat conftest.$ac_ext >&5
1915 rm -rf conftest*
1916 ac_cv_c_bigendian=no
1918 rm -f conftest*
1919 else
1920 echo "configure: failed program was:" >&5
1921 cat conftest.$ac_ext >&5
1923 rm -f conftest*
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; }
1927 else
1928 cat > conftest.$ac_ext <<EOF
1929 #line 1930 "configure"
1930 #include "confdefs.h"
1931 main () {
1932 /* Are we little or big endian? From Harbison&Steele. */
1933 union
1935 long l;
1936 char c[sizeof (long)];
1937 } u;
1938 u.l = 1;
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
1943 then
1944 ac_cv_c_bigendian=no
1945 else
1946 echo "configure: failed program was:" >&5
1947 cat conftest.$ac_ext >&5
1948 rm -fr conftest*
1949 ac_cv_c_bigendian=yes
1951 rm -fr conftest*
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'
1973 trap '' 1 2 15
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.
1995 (set) 2>&1 |
1996 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1997 *ac_space=\ *)
1998 # `set' does not quote correctly, so add quotes (double-quote substitution
1999 # turns \\\\ into \\, and sed turns \\ into \).
2000 sed -n \
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'
2008 esac >> confcache
2009 if cmp -s $cache_file confcache; then
2011 else
2012 if test -w $cache_file; then
2013 echo "updating cache $cache_file"
2014 cat confcache > $cache_file
2015 else
2016 echo "not updating unwritable cache $cache_file"
2019 rm -f confcache
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
2044 #! /bin/sh
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]"
2056 for ac_option
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"
2064 exit 0 ;;
2065 -help | --help | --hel | --he | --h)
2066 echo "\$ac_cs_usage"; exit 0 ;;
2067 *) echo "\$ac_cs_usage"; exit 1 ;;
2068 esac
2069 done
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
2081 $ac_vpsub
2082 $extrasub
2083 s%@SHELL@%$SHELL%g
2084 s%@CFLAGS@%$CFLAGS%g
2085 s%@CPPFLAGS@%$CPPFLAGS%g
2086 s%@CXXFLAGS@%$CXXFLAGS%g
2087 s%@FFLAGS@%$FFLAGS%g
2088 s%@DEFS@%$DEFS%g
2089 s%@LDFLAGS@%$LDFLAGS%g
2090 s%@LIBS@%$LIBS%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
2117 s%@CC@%$CC%g
2118 s%@RM@%$RM%g
2119 s%@CP@%$CP%g
2120 s%@STRIP@%$STRIP%g
2121 s%@CHMOD@%$CHMOD%g
2122 s%@fastjar_warn_cflags@%$fastjar_warn_cflags%g
2123 s%@CPP@%$CPP%g
2124 s%@ZLIBS@%$ZLIBS%g
2125 s%@ZDEPS@%$ZDEPS%g
2126 s%@ZINCS@%$ZINCS%g
2128 CEOF
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.
2139 ac_more_lines=:
2140 ac_sed_cmds=""
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
2144 else
2145 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2147 if test ! -s conftest.s$ac_file; then
2148 ac_more_lines=false
2149 rm -f conftest.s$ac_file
2150 else
2151 if test -z "$ac_sed_cmds"; then
2152 ac_sed_cmds="sed -f conftest.s$ac_file"
2153 else
2154 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2156 ac_file=`expr $ac_file + 1`
2157 ac_beg=$ac_end
2158 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2160 done
2161 if test -z "$ac_sed_cmds"; then
2162 ac_sed_cmds=cat
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".
2173 case "$ac_file" 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" ;;
2177 esac
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'`
2189 else
2190 ac_dir_suffix= ac_dots=
2193 case "$ac_given_srcdir" in
2194 .) srcdir=.
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" ;;
2198 *) # Relative path.
2199 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2200 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2201 esac
2203 case "$ac_given_INSTALL" in
2204 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2205 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2206 esac
2208 echo creating "$ac_file"
2209 rm -f "$ac_file"
2210 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2211 case "$ac_file" in
2212 *Makefile*) ac_comsub="1i\\
2213 # $configure_input" ;;
2214 *) ac_comsub= ;;
2215 esac
2217 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2218 sed -e "$ac_comsub
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
2224 fi; done
2225 rm -f conftest.s*
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'
2233 ac_dC='\3'
2234 ac_dD='%g'
2235 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2236 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2237 ac_uB='\([ ]\)%\1#\2define\3'
2238 ac_uC=' '
2239 ac_uD='\4%g'
2240 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2241 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2242 ac_eB='$%\1#\2define\3'
2243 ac_eC=' '
2244 ac_eD='%g'
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".
2255 case "$ac_file" 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" ;;
2259 esac
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.
2273 rm -f conftest.vals
2274 cat > conftest.hdr <<\EOF
2275 s/[\\&%]/\\&/g
2276 s%[\\$`]%\\&%g
2277 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2278 s%ac_d%ac_u%gp
2279 s%ac_u%ac_e%gp
2281 sed -n -f conftest.hdr confdefs.h > conftest.vals
2282 rm -f conftest.hdr
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.
2294 rm -f conftest.tail
2295 while :
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
2303 echo 'CEOF
2304 sed -f conftest.frag conftest.in > conftest.out
2305 rm -f conftest.in
2306 mv conftest.out conftest.in
2307 ' >> $CONFIG_STATUS
2308 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2309 rm -f conftest.vals
2310 mv conftest.tail conftest.vals
2311 done
2312 rm -f 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
2318 rm -f conftest.in
2319 if cmp -s $ac_file conftest.h 2>/dev/null; then
2320 echo "$ac_file is unchanged"
2321 rm -f conftest.h
2322 else
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"
2329 rm -f $ac_file
2330 mv conftest.h $ac_file
2332 fi; done
2335 cat >> $CONFIG_STATUS <<EOF
2339 cat >> $CONFIG_STATUS <<\EOF
2340 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2342 exit 0
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