2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for Splint 3.0.1.4.
5 # Report bugs to <splint-bug@splint.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits='0123456789'
17 as_cr_alnum=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33 # Name of the executable.
34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a : '\(a\)' >/dev/null 2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.file conf$$ 2>/dev/null; then
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
62 # Support unset when possible.
63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix=/usr/local
102 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 ac_unique_file="src/lclinit.c"
111 # Initialize some variables set by options.
113 ac_init_version=false
114 # The variables have the same names as the options, with
115 # dashes changed to underlines.
123 program_transform_name=s,x,x,
131 # Installation directory options.
132 # These are left unexpanded so users can "make install exec_prefix=/foo"
133 # and all the variables that are supposed to be based on exec_prefix
134 # by default will actually change.
135 # Use braces instead of parens because sh, perl, etc. also accept them.
136 bindir='${exec_prefix}/bin'
137 sbindir='${exec_prefix}/sbin'
138 libexecdir='${exec_prefix}/libexec'
139 datadir='${prefix}/share'
140 sysconfdir='${prefix}/etc'
141 sharedstatedir='${prefix}/com'
142 localstatedir='${prefix}/var'
143 libdir='${exec_prefix}/lib'
144 includedir='${prefix}/include'
145 oldincludedir='/usr/include'
146 infodir='${prefix}/info'
147 mandir='${prefix}/man'
149 # Identity of this package.
150 PACKAGE_NAME='Splint'
151 PACKAGE_TARNAME='splint'
152 PACKAGE_VERSION='3.0.1.4'
153 PACKAGE_STRING='Splint 3.0.1.4'
154 PACKAGE_BUGREPORT='splint-bug@splint.org'
159 # If the previous option needs an argument, assign it.
160 if test -n "$ac_prev"; then
161 eval "$ac_prev=\$ac_option"
166 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
168 # Accept the important Cygnus configure options, so we can diagnose typos.
172 -bindir | --bindir | --bindi | --bind | --bin | --bi)
174 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
177 -build | --build | --buil | --bui | --bu)
178 ac_prev=build_alias ;;
179 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180 build_alias=$ac_optarg ;;
182 -cache-file | --cache-file | --cache-fil | --cache-fi \
183 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184 ac_prev=cache_file ;;
185 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187 cache_file=$ac_optarg ;;
190 cache_file=config.cache ;;
192 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
194 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
196 datadir=$ac_optarg ;;
198 -disable-* | --disable-*)
199 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
200 # Reject names that are not valid shell variable names.
201 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
203 { (exit 1); exit 1; }; }
204 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
205 eval "enable_$ac_feature=no" ;;
207 -enable-* | --enable-*)
208 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
209 # Reject names that are not valid shell variable names.
210 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
211 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
212 { (exit 1); exit 1; }; }
213 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
215 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
218 eval "enable_$ac_feature='$ac_optarg'" ;;
220 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
221 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
222 | --exec | --exe | --ex)
223 ac_prev=exec_prefix ;;
224 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
225 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
226 | --exec=* | --exe=* | --ex=*)
227 exec_prefix=$ac_optarg ;;
229 -gas | --gas | --ga | --g)
230 # Obsolete; use --with-gas.
233 -help | --help | --hel | --he | -h)
235 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
236 ac_init_help=recursive ;;
237 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
238 ac_init_help=short ;;
240 -host | --host | --hos | --ho)
241 ac_prev=host_alias ;;
242 -host=* | --host=* | --hos=* | --ho=*)
243 host_alias=$ac_optarg ;;
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir=$ac_optarg ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir=$ac_optarg ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir=$ac_optarg ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir=$ac_optarg ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir=$ac_optarg ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix=$ac_optarg ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix=$ac_optarg ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name=$ac_optarg ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir=$ac_optarg ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir=$ac_optarg ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372 | --syscon | --sysco | --sysc | --sys | --sy)
373 ac_prev=sysconfdir ;;
374 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376 sysconfdir=$ac_optarg ;;
378 -target | --target | --targe | --targ | --tar | --ta | --t)
379 ac_prev=target_alias ;;
380 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381 target_alias=$ac_optarg ;;
383 -v | -verbose | --verbose | --verbos | --verbo | --verb)
386 -version | --version | --versio | --versi | --vers | -V)
390 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid package name: $ac_package" >&2
394 { (exit 1); exit 1; }; }
395 ac_package=`echo $ac_package| sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "with_$ac_package='$ac_optarg'" ;;
402 -without-* | --without-*)
403 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
404 # Reject names that are not valid shell variable names.
405 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406 { echo "$as_me: error: invalid package name: $ac_package" >&2
407 { (exit 1); exit 1; }; }
408 ac_package=`echo $ac_package | sed 's/-/_/g'`
409 eval "with_$ac_package=no" ;;
412 # Obsolete; use --with-x.
415 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416 | --x-incl | --x-inc | --x-in | --x-i)
417 ac_prev=x_includes ;;
418 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420 x_includes=$ac_optarg ;;
422 -x-libraries | --x-libraries | --x-librarie | --x-librari \
423 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424 ac_prev=x_libraries ;;
425 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427 x_libraries=$ac_optarg ;;
429 -*) { echo "$as_me: error: unrecognized option: $ac_option
430 Try \`$0 --help' for more information." >&2
431 { (exit 1); exit 1; }; }
435 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
436 # Reject names that are not valid shell variable names.
437 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
438 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
439 { (exit 1); exit 1; }; }
440 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
441 eval "$ac_envvar='$ac_optarg'"
445 # FIXME: should be removed in autoconf 3.0.
446 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
447 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
448 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
449 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
455 if test -n "$ac_prev"; then
456 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
457 { echo "$as_me: error: missing argument to $ac_option" >&2
458 { (exit 1); exit 1; }; }
461 # Be sure to have absolute paths.
462 for ac_var in exec_prefix prefix
464 eval ac_val=$`echo $ac_var`
466 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
467 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
468 { (exit 1); exit 1; }; };;
472 # Be sure to have absolute paths.
473 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
474 localstatedir libdir includedir oldincludedir infodir mandir
476 eval ac_val=$`echo $ac_var`
478 [\\/$]* | ?:[\\/]* ) ;;
479 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
480 { (exit 1); exit 1; }; };;
484 # There might be people who depend on the old broken behavior: `$host'
485 # used to hold the argument of --host etc.
490 # FIXME: should be removed in autoconf 3.0.
491 if test "x$host_alias" != x; then
492 if test "x$build_alias" = x; then
493 cross_compiling=maybe
494 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
495 If a cross compiler is detected then cross compile mode will be used." >&2
496 elif test "x$build_alias" != "x$host_alias"; then
502 test -n "$host_alias" && ac_tool_prefix=$host_alias-
504 test "$silent" = yes && exec 6>/dev/null
506 # Find the source files, if location was not specified.
507 if test -z "$srcdir"; then
508 ac_srcdir_defaulted=yes
509 # Try the directory containing this script, then its parent.
511 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
514 if test ! -r $srcdir/$ac_unique_file; then
518 ac_srcdir_defaulted=no
520 if test ! -r $srcdir/$ac_unique_file; then
521 if test "$ac_srcdir_defaulted" = yes; then
522 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
523 { (exit 1); exit 1; }; }
525 { echo "$as_me: error: cannot find sources in $srcdir" >&2
526 { (exit 1); exit 1; }; }
529 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
530 ac_env_build_alias_set=${build_alias+set}
531 ac_env_build_alias_value=$build_alias
532 ac_cv_env_build_alias_set=${build_alias+set}
533 ac_cv_env_build_alias_value=$build_alias
534 ac_env_host_alias_set=${host_alias+set}
535 ac_env_host_alias_value=$host_alias
536 ac_cv_env_host_alias_set=${host_alias+set}
537 ac_cv_env_host_alias_value=$host_alias
538 ac_env_target_alias_set=${target_alias+set}
539 ac_env_target_alias_value=$target_alias
540 ac_cv_env_target_alias_set=${target_alias+set}
541 ac_cv_env_target_alias_value=$target_alias
542 ac_env_CC_set=${CC+set}
544 ac_cv_env_CC_set=${CC+set}
545 ac_cv_env_CC_value=$CC
546 ac_env_CFLAGS_set=${CFLAGS+set}
547 ac_env_CFLAGS_value=$CFLAGS
548 ac_cv_env_CFLAGS_set=${CFLAGS+set}
549 ac_cv_env_CFLAGS_value=$CFLAGS
550 ac_env_LDFLAGS_set=${LDFLAGS+set}
551 ac_env_LDFLAGS_value=$LDFLAGS
552 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
553 ac_cv_env_LDFLAGS_value=$LDFLAGS
554 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
555 ac_env_CPPFLAGS_value=$CPPFLAGS
556 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
557 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
558 ac_env_CPP_set=${CPP+set}
559 ac_env_CPP_value=$CPP
560 ac_cv_env_CPP_set=${CPP+set}
561 ac_cv_env_CPP_value=$CPP
564 # Report the --help message.
566 if test "$ac_init_help" = "long"; then
567 # Omit some internal or obsolete options to make the list less imposing.
568 # This message is too long to be a string in the A/UX 3.1 sh.
570 \`configure' configures Splint 3.0.1.4 to adapt to many kinds of systems.
572 Usage: $0 [OPTION]... [VAR=VALUE]...
574 To assign environment variables (e.g., CC, CFLAGS...), specify them as
575 VAR=VALUE. See below for descriptions of some of the useful variables.
577 Defaults for the options are specified in brackets.
580 -h, --help display this help and exit
581 --help=short display options specific to this package
582 --help=recursive display the short help of all the included packages
583 -V, --version display version information and exit
584 -q, --quiet, --silent do not print \`checking...' messages
585 --cache-file=FILE cache test results in FILE [disabled]
586 -C, --config-cache alias for \`--cache-file=config.cache'
587 -n, --no-create do not create output files
588 --srcdir=DIR find the sources in DIR [configure dir or \`..']
593 Installation directories:
594 --prefix=PREFIX install architecture-independent files in PREFIX
596 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
599 By default, \`make install' will install all the files in
600 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
601 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
602 for instance \`--prefix=\$HOME'.
604 For better control, use the options below.
606 Fine tuning of the installation directories:
607 --bindir=DIR user executables [EPREFIX/bin]
608 --sbindir=DIR system admin executables [EPREFIX/sbin]
609 --libexecdir=DIR program executables [EPREFIX/libexec]
610 --datadir=DIR read-only architecture-independent data [PREFIX/share]
611 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
612 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
613 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
614 --libdir=DIR object code libraries [EPREFIX/lib]
615 --includedir=DIR C header files [PREFIX/include]
616 --oldincludedir=DIR C header files for non-gcc [/usr/include]
617 --infodir=DIR info documentation [PREFIX/info]
618 --mandir=DIR man documentation [PREFIX/man]
624 --program-prefix=PREFIX prepend PREFIX to installed program names
625 --program-suffix=SUFFIX append SUFFIX to installed program names
626 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
629 --build=BUILD configure for building on BUILD [guessed]
630 --host=HOST build programs to run on HOST [BUILD]
631 --target=TARGET configure for building compilers for TARGET [HOST]
635 if test -n "$ac_init_help"; then
636 case $ac_init_help in
637 short | recursive ) echo "Configuration of Splint 3.0.1.4:";;
642 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
643 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
644 --without-lcl don't include support for LCL files
646 Some influential environment variables:
647 CC C compiler command
648 CFLAGS C compiler flags
649 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
650 nonstandard directory <lib dir>
651 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
652 headers in a nonstandard directory <include dir>
655 Use these variables to override the choices made by `configure' or to help
656 it to find libraries and programs with nonstandard names/locations.
658 Report bugs to <splint-bug@splint.org>.
662 if test "$ac_init_help" = "recursive"; then
663 # If there are subdirs, report their specific --help.
665 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
667 # A "../" for each directory in /$ac_subdir.
668 ac_dots=`echo $ac_subdir |
669 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
672 .) # No --srcdir option. We are building in place.
673 ac_sub_srcdir=$srcdir ;;
674 [\\/]* | ?:[\\/]* ) # Absolute path.
675 ac_sub_srcdir=$srcdir/$ac_subdir ;;
677 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
680 # Check for guested configure; otherwise get Cygnus style configure.
681 if test -f $ac_sub_srcdir/configure.gnu; then
683 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
684 elif test -f $ac_sub_srcdir/configure; then
686 $SHELL $ac_sub_srcdir/configure --help=recursive
687 elif test -f $ac_sub_srcdir/configure.ac ||
688 test -f $ac_sub_srcdir/configure.in; then
692 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
698 test -n "$ac_init_help" && exit 0
699 if $ac_init_version; then
701 Splint configure 3.0.1.4
702 generated by GNU Autoconf 2.52
704 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
705 Free Software Foundation, Inc.
706 This configure script is free software; the Free Software Foundation
707 gives unlimited permission to copy, distribute and modify it.
713 This file contains any messages produced by compilers while
714 running configure, to aid debugging if configure makes a mistake.
716 It was created by Splint $as_me 3.0.1.4, which was
717 generated by GNU Autoconf 2.52. Invocation command line was
728 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
729 uname -m = `(uname -m) 2>/dev/null || echo unknown`
730 uname -r = `(uname -r) 2>/dev/null || echo unknown`
731 uname -s = `(uname -s) 2>/dev/null || echo unknown`
732 uname -v = `(uname -v) 2>/dev/null || echo unknown`
734 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
735 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
737 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
738 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
739 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
740 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
741 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
742 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
743 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
757 # Keep a trace of the command line.
758 # Strip out --no-create and --no-recursion so they do not pile up.
759 # Also quote any args containing shell meta-characters.
765 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
766 | --no-cr | --no-c) ;;
767 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
768 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
769 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
770 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
771 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
773 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
776 # Get rid of the leading space.
779 # When interrupted or exit'd, cleanup temporary files, and complete
780 # config.log. We remove comments because anyway the quotes in there
781 # would cause problems or look ugly.
783 # Save into config.log some information that might help in debugging.
785 echo "## ----------------- ##" >&5
786 echo "## Cache variables. ##" >&5
787 echo "## ----------------- ##" >&5
789 # The following way of writing the cache mishandles newlines in values,
792 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
795 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
800 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
804 sed "/^$/d" confdefs.h >conftest.log
805 if test -s conftest.log; then
807 echo "## ------------ ##" >&5
808 echo "## confdefs.h. ##" >&5
809 echo "## ------------ ##" >&5
814 test "$ac_signal" != 0 &&
815 echo "$as_me: caught signal $ac_signal" >&5
816 echo "$as_me: exit $exit_status" >&5
817 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
820 for ac_signal in 1 2 13 15; do
821 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
825 # confdefs.h avoids OS command line length limits that DEFS can exceed.
826 rm -rf conftest* confdefs.h
827 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
830 # Let the site file select an alternate cache file if it wants to.
831 # Prefer explicitly selected file to automatically selected ones.
832 if test -z "$CONFIG_SITE"; then
833 if test "x$prefix" != xNONE; then
834 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
836 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
839 for ac_site_file in $CONFIG_SITE; do
840 if test -r "$ac_site_file"; then
841 { echo "$as_me:841: loading site script $ac_site_file" >&5
842 echo "$as_me: loading site script $ac_site_file" >&6;}
843 cat "$ac_site_file" >&5
848 if test -r "$cache_file"; then
849 # Some versions of bash will fail to source /dev/null (special
850 # files actually), so we avoid doing that.
851 if test -f "$cache_file"; then
852 { echo "$as_me:852: loading cache $cache_file" >&5
853 echo "$as_me: loading cache $cache_file" >&6;}
855 [\\/]* | ?:[\\/]* ) . $cache_file;;
860 { echo "$as_me:860: creating cache $cache_file" >&5
861 echo "$as_me: creating cache $cache_file" >&6;}
865 # Check that the precious variables saved in the cache have kept the same
867 ac_cache_corrupted=false
868 for ac_var in `(set) 2>&1 |
869 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
870 eval ac_old_set=\$ac_cv_env_${ac_var}_set
871 eval ac_new_set=\$ac_env_${ac_var}_set
872 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
873 eval ac_new_val="\$ac_env_${ac_var}_value"
874 case $ac_old_set,$ac_new_set in
876 { echo "$as_me:876: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
877 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
878 ac_cache_corrupted=: ;;
880 { echo "$as_me:880: error: \`$ac_var' was not set in the previous run" >&5
881 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
882 ac_cache_corrupted=: ;;
885 if test "x$ac_old_val" != "x$ac_new_val"; then
886 { echo "$as_me:886: error: \`$ac_var' has changed since the previous run:" >&5
887 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
888 { echo "$as_me:888: former value: $ac_old_val" >&5
889 echo "$as_me: former value: $ac_old_val" >&2;}
890 { echo "$as_me:890: current value: $ac_new_val" >&5
891 echo "$as_me: current value: $ac_new_val" >&2;}
895 # Pass precious variables to config.status. It doesn't matter if
896 # we pass some twice (in addition to the command line arguments).
897 if test "$ac_new_set" = set; then
899 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
900 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
901 ac_configure_args="$ac_configure_args '$ac_arg'"
903 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
908 if $ac_cache_corrupted; then
909 { echo "$as_me:909: error: changes in the environment can compromise the build" >&5
910 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
911 { { echo "$as_me:911: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
912 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
913 { (exit 1); exit 1; }; }
917 ac_cpp='$CPP $CPPFLAGS'
918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
922 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
923 *c*,-n*) ECHO_N= ECHO_C='
925 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
926 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
928 echo "#! $SHELL" >conftest.sh
929 echo "exit 0" >>conftest.sh
931 if { (echo "$as_me:931: PATH=\".;.\"; conftest.sh") >&5
932 (PATH=".;."; conftest.sh) 2>&5
934 echo "$as_me:934: \$? = $ac_status" >&5
935 (exit $ac_status); }; then
936 ac_path_separator=';'
940 PATH_SEPARATOR="$ac_path_separator"
944 for ac_dir in config $srcdir/config; do
945 if test -f $ac_dir/install-sh; then
947 ac_install_sh="$ac_aux_dir/install-sh -c"
949 elif test -f $ac_dir/install.sh; then
951 ac_install_sh="$ac_aux_dir/install.sh -c"
953 elif test -f $ac_dir/shtool; then
955 ac_install_sh="$ac_aux_dir/shtool install -c"
959 if test -z "$ac_aux_dir"; then
960 { { echo "$as_me:960: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
961 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
962 { (exit 1); exit 1; }; }
964 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
965 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
966 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
968 # Make sure we can run config.sub.
969 $ac_config_sub sun4 >/dev/null 2>&1 ||
970 { { echo "$as_me:970: error: cannot run $ac_config_sub" >&5
971 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
972 { (exit 1); exit 1; }; }
974 echo "$as_me:974: checking build system type" >&5
975 echo $ECHO_N "checking build system type... $ECHO_C" >&6
976 if test "${ac_cv_build+set}" = set; then
977 echo $ECHO_N "(cached) $ECHO_C" >&6
979 ac_cv_build_alias=$build_alias
980 test -z "$ac_cv_build_alias" &&
981 ac_cv_build_alias=`$ac_config_guess`
982 test -z "$ac_cv_build_alias" &&
983 { { echo "$as_me:983: error: cannot guess build type; you must specify one" >&5
984 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
985 { (exit 1); exit 1; }; }
986 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
987 { { echo "$as_me:987: error: $ac_config_sub $ac_cv_build_alias failed." >&5
988 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
989 { (exit 1); exit 1; }; }
992 echo "$as_me:992: result: $ac_cv_build" >&5
993 echo "${ECHO_T}$ac_cv_build" >&6
995 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
996 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
997 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
999 echo "$as_me:999: checking host system type" >&5
1000 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1001 if test "${ac_cv_host+set}" = set; then
1002 echo $ECHO_N "(cached) $ECHO_C" >&6
1004 ac_cv_host_alias=$host_alias
1005 test -z "$ac_cv_host_alias" &&
1006 ac_cv_host_alias=$ac_cv_build_alias
1007 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1008 { { echo "$as_me:1008: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1009 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1010 { (exit 1); exit 1; }; }
1013 echo "$as_me:1013: result: $ac_cv_host" >&5
1014 echo "${ECHO_T}$ac_cv_host" >&6
1016 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1017 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1018 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1020 echo "$as_me:1020: checking target system type" >&5
1021 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1022 if test "${ac_cv_target+set}" = set; then
1023 echo $ECHO_N "(cached) $ECHO_C" >&6
1025 ac_cv_target_alias=$target_alias
1026 test "x$ac_cv_target_alias" = "x" &&
1027 ac_cv_target_alias=$ac_cv_host_alias
1028 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1029 { { echo "$as_me:1029: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1030 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1031 { (exit 1); exit 1; }; }
1034 echo "$as_me:1034: result: $ac_cv_target" >&5
1035 echo "${ECHO_T}$ac_cv_target" >&6
1036 target=$ac_cv_target
1037 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1038 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1039 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1041 # The aliases save the names the user supplied, while $host etc.
1042 # will get canonicalized.
1043 test -n "$target_alias" &&
1044 test "$program_prefix$program_suffix$program_transform_name" = \
1046 program_prefix=${target_alias}-
1048 # Find a good install program. We prefer a C program (faster),
1049 # so one script is as good as another. But avoid the broken or
1050 # incompatible versions:
1051 # SysV /etc/install, /usr/sbin/install
1052 # SunOS /usr/etc/install
1053 # IRIX /sbin/install
1055 # AmigaOS /C/install, which installs bootblocks on floppy discs
1056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1059 # ./install, which can be erroneously created by make from ./install.sh.
1060 echo "$as_me:1060: checking for a BSD compatible install" >&5
1061 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1062 if test -z "$INSTALL"; then
1063 if test "${ac_cv_path_install+set}" = set; then
1064 echo $ECHO_N "(cached) $ECHO_C" >&6
1066 ac_save_IFS=$IFS; IFS=$ac_path_separator
1067 for ac_dir in $PATH; do
1069 # Account for people who put trailing slashes in PATH elements.
1071 / | ./ | .// | /cC/* \
1072 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1075 # OSF1 and SCO ODT 3.0 have their own names for install.
1076 # Don't use installbsd from OSF since it installs stuff as root
1078 for ac_prog in ginstall scoinst install; do
1079 if $as_executable_p "$ac_dir/$ac_prog"; then
1080 if test $ac_prog = install &&
1081 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1082 # AIX install. It has an incompatible calling convention.
1084 elif test $ac_prog = install &&
1085 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1086 # program-specific install script used by HP pwplus--don't use.
1089 ac_cv_path_install="$ac_dir/$ac_prog -c"
1099 if test "${ac_cv_path_install+set}" = set; then
1100 INSTALL=$ac_cv_path_install
1102 # As a last resort, use the slow shell script. We don't cache a
1103 # path for INSTALL within a source directory, because that will
1104 # break other packages using the cache if that directory is
1105 # removed, or if the path is relative.
1106 INSTALL=$ac_install_sh
1109 echo "$as_me:1109: result: $INSTALL" >&5
1110 echo "${ECHO_T}$INSTALL" >&6
1112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1113 # It thinks the first close brace ends the variable substitution.
1114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1120 echo "$as_me:1120: checking whether build environment is sane" >&5
1121 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1124 echo timestamp > conftestfile
1125 # Do `set' in a subshell so we don't clobber the current shell's
1126 # arguments. Must try -L first in case configure is actually a
1127 # symlink; some systems play weird games with the mod time of symlinks
1128 # (eg FreeBSD returns the mod time of the symlink's containing
1131 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1132 if test "$*" = "X"; then
1134 set X `ls -t $srcdir/configure conftestfile`
1136 if test "$*" != "X $srcdir/configure conftestfile" \
1137 && test "$*" != "X conftestfile $srcdir/configure"; then
1139 # If neither matched, then we have a broken ls. This can happen
1140 # if, for instance, CONFIG_SHELL is bash and it inherits a
1141 # broken ls alias from the environment. This has actually
1142 # happened. Such a system could not be considered "sane".
1143 { { echo "$as_me:1143: error: ls -t appears to fail. Make sure there is not a broken
1144 alias in your environment" >&5
1145 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1146 alias in your environment" >&2;}
1147 { (exit 1); exit 1; }; }
1150 test "$2" = conftestfile
1156 { { echo "$as_me:1156: error: newly created file is older than distributed files!
1157 Check your system clock" >&5
1158 echo "$as_me: error: newly created file is older than distributed files!
1159 Check your system clock" >&2;}
1160 { (exit 1); exit 1; }; }
1163 echo "$as_me:1163: result: yes" >&5
1164 echo "${ECHO_T}yes" >&6
1165 test "$program_prefix" != NONE &&
1166 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1167 # Use a double $ so make ignores it.
1168 test "$program_suffix" != NONE &&
1169 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1170 # Double any \ or $. echo might interpret backslashes.
1171 # By default was `s,x,x', remove it if useless.
1172 cat <<\_ACEOF >conftest.sed
1173 s/[\\$]/&&/g;s/;s,x,x,$//
1175 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1178 echo "$as_me:1178: checking whether ${MAKE-make} sets \${MAKE}" >&5
1179 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1180 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1181 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1182 echo $ECHO_N "(cached) $ECHO_C" >&6
1184 cat >conftest.make <<\EOF
1186 @echo 'ac_maketemp="${MAKE}"'
1188 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1189 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1190 if test -n "$ac_maketemp"; then
1191 eval ac_cv_prog_make_${ac_make}_set=yes
1193 eval ac_cv_prog_make_${ac_make}_set=no
1197 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1198 echo "$as_me:1198: result: yes" >&5
1199 echo "${ECHO_T}yes" >&6
1202 echo "$as_me:1202: result: no" >&5
1203 echo "${ECHO_T}no" >&6
1204 SET_MAKE="MAKE=${MAKE-make}"
1211 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1212 { { echo "$as_me:1212: error: source directory already configured; run \"make distclean\" there first" >&5
1213 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1214 { (exit 1); exit 1; }; }
1217 missing_dir=`cd $ac_aux_dir && pwd`
1218 echo "$as_me:1218: checking for working aclocal" >&5
1219 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1220 # Run test in a subshell; some versions of sh will print an error if
1221 # an executable is not found, even if stderr is redirected.
1222 # Redirect stdin to placate older versions of autoconf. Sigh.
1223 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1225 echo "$as_me:1225: result: found" >&5
1226 echo "${ECHO_T}found" >&6
1228 ACLOCAL="$missing_dir/missing aclocal"
1229 echo "$as_me:1229: result: missing" >&5
1230 echo "${ECHO_T}missing" >&6
1233 echo "$as_me:1233: checking for working autoconf" >&5
1234 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1235 # Run test in a subshell; some versions of sh will print an error if
1236 # an executable is not found, even if stderr is redirected.
1237 # Redirect stdin to placate older versions of autoconf. Sigh.
1238 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1240 echo "$as_me:1240: result: found" >&5
1241 echo "${ECHO_T}found" >&6
1243 AUTOCONF="$missing_dir/missing autoconf"
1244 echo "$as_me:1244: result: missing" >&5
1245 echo "${ECHO_T}missing" >&6
1248 echo "$as_me:1248: checking for working automake" >&5
1249 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1250 # Run test in a subshell; some versions of sh will print an error if
1251 # an executable is not found, even if stderr is redirected.
1252 # Redirect stdin to placate older versions of autoconf. Sigh.
1253 if (automake --version) < /dev/null > /dev/null 2>&1; then
1255 echo "$as_me:1255: result: found" >&5
1256 echo "${ECHO_T}found" >&6
1258 AUTOMAKE="$missing_dir/missing automake"
1259 echo "$as_me:1259: result: missing" >&5
1260 echo "${ECHO_T}missing" >&6
1263 echo "$as_me:1263: checking for working autoheader" >&5
1264 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1265 # Run test in a subshell; some versions of sh will print an error if
1266 # an executable is not found, even if stderr is redirected.
1267 # Redirect stdin to placate older versions of autoconf. Sigh.
1268 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1269 AUTOHEADER=autoheader
1270 echo "$as_me:1270: result: found" >&5
1271 echo "${ECHO_T}found" >&6
1273 AUTOHEADER="$missing_dir/missing autoheader"
1274 echo "$as_me:1274: result: missing" >&5
1275 echo "${ECHO_T}missing" >&6
1278 echo "$as_me:1278: checking for working makeinfo" >&5
1279 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1280 # Run test in a subshell; some versions of sh will print an error if
1281 # an executable is not found, even if stderr is redirected.
1282 # Redirect stdin to placate older versions of autoconf. Sigh.
1283 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1285 echo "$as_me:1285: result: found" >&5
1286 echo "${ECHO_T}found" >&6
1288 MAKEINFO="$missing_dir/missing makeinfo"
1289 echo "$as_me:1289: result: missing" >&5
1290 echo "${ECHO_T}missing" >&6
1293 ac_config_headers="$ac_config_headers config.h:config.hin"
1295 ac_config_commands="$ac_config_commands default-1"
1297 #drl 12-19-2001 commented out so Splint won't depend on C++
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 if test -n "$ac_tool_prefix"; then
1305 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1306 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1307 echo "$as_me:1307: checking for $ac_word" >&5
1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1309 if test "${ac_cv_prog_CC+set}" = set; then
1310 echo $ECHO_N "(cached) $ECHO_C" >&6
1312 if test -n "$CC"; then
1313 ac_cv_prog_CC="$CC" # Let the user override the test.
1315 ac_save_IFS=$IFS; IFS=$ac_path_separator
1317 for ac_dir in $ac_dummy; do
1319 test -z "$ac_dir" && ac_dir=.
1320 $as_executable_p "$ac_dir/$ac_word" || continue
1321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1322 echo "$as_me:1322: found $ac_dir/$ac_word" >&5
1329 if test -n "$CC"; then
1330 echo "$as_me:1330: result: $CC" >&5
1331 echo "${ECHO_T}$CC" >&6
1333 echo "$as_me:1333: result: no" >&5
1334 echo "${ECHO_T}no" >&6
1338 if test -z "$ac_cv_prog_CC"; then
1340 # Extract the first word of "gcc", so it can be a program name with args.
1341 set dummy gcc; ac_word=$2
1342 echo "$as_me:1342: checking for $ac_word" >&5
1343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1344 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1345 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 if test -n "$ac_ct_CC"; then
1348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1350 ac_save_IFS=$IFS; IFS=$ac_path_separator
1352 for ac_dir in $ac_dummy; do
1354 test -z "$ac_dir" && ac_dir=.
1355 $as_executable_p "$ac_dir/$ac_word" || continue
1356 ac_cv_prog_ac_ct_CC="gcc"
1357 echo "$as_me:1357: found $ac_dir/$ac_word" >&5
1363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1364 if test -n "$ac_ct_CC"; then
1365 echo "$as_me:1365: result: $ac_ct_CC" >&5
1366 echo "${ECHO_T}$ac_ct_CC" >&6
1368 echo "$as_me:1368: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1377 if test -z "$CC"; then
1378 if test -n "$ac_tool_prefix"; then
1379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1380 set dummy ${ac_tool_prefix}cc; ac_word=$2
1381 echo "$as_me:1381: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_CC+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$CC"; then
1387 ac_cv_prog_CC="$CC" # Let the user override the test.
1389 ac_save_IFS=$IFS; IFS=$ac_path_separator
1391 for ac_dir in $ac_dummy; do
1393 test -z "$ac_dir" && ac_dir=.
1394 $as_executable_p "$ac_dir/$ac_word" || continue
1395 ac_cv_prog_CC="${ac_tool_prefix}cc"
1396 echo "$as_me:1396: found $ac_dir/$ac_word" >&5
1403 if test -n "$CC"; then
1404 echo "$as_me:1404: result: $CC" >&5
1405 echo "${ECHO_T}$CC" >&6
1407 echo "$as_me:1407: result: no" >&5
1408 echo "${ECHO_T}no" >&6
1412 if test -z "$ac_cv_prog_CC"; then
1414 # Extract the first word of "cc", so it can be a program name with args.
1415 set dummy cc; ac_word=$2
1416 echo "$as_me:1416: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$ac_ct_CC"; then
1422 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1424 ac_save_IFS=$IFS; IFS=$ac_path_separator
1426 for ac_dir in $ac_dummy; do
1428 test -z "$ac_dir" && ac_dir=.
1429 $as_executable_p "$ac_dir/$ac_word" || continue
1430 ac_cv_prog_ac_ct_CC="cc"
1431 echo "$as_me:1431: found $ac_dir/$ac_word" >&5
1437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1438 if test -n "$ac_ct_CC"; then
1439 echo "$as_me:1439: result: $ac_ct_CC" >&5
1440 echo "${ECHO_T}$ac_ct_CC" >&6
1442 echo "$as_me:1442: result: no" >&5
1443 echo "${ECHO_T}no" >&6
1452 if test -z "$CC"; then
1453 # Extract the first word of "cc", so it can be a program name with args.
1454 set dummy cc; ac_word=$2
1455 echo "$as_me:1455: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_CC+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$CC"; then
1461 ac_cv_prog_CC="$CC" # Let the user override the test.
1464 ac_save_IFS=$IFS; IFS=$ac_path_separator
1466 for ac_dir in $ac_dummy; do
1468 test -z "$ac_dir" && ac_dir=.
1469 $as_executable_p "$ac_dir/$ac_word" || continue
1470 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1471 ac_prog_rejected=yes
1475 echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1479 if test $ac_prog_rejected = yes; then
1480 # We found a bogon in the path, so make sure we never use it.
1481 set dummy $ac_cv_prog_CC
1483 if test $# != 0; then
1484 # We chose a different compiler from the bogus one.
1485 # However, it has the same basename, so the bogon will be chosen
1486 # first if we set CC to just the basename; use the full file name.
1488 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1496 if test -n "$CC"; then
1497 echo "$as_me:1497: result: $CC" >&5
1498 echo "${ECHO_T}$CC" >&6
1500 echo "$as_me:1500: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1505 if test -z "$CC"; then
1506 if test -n "$ac_tool_prefix"; then
1509 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1510 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1511 echo "$as_me:1511: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_CC+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$CC"; then
1517 ac_cv_prog_CC="$CC" # Let the user override the test.
1519 ac_save_IFS=$IFS; IFS=$ac_path_separator
1521 for ac_dir in $ac_dummy; do
1523 test -z "$ac_dir" && ac_dir=.
1524 $as_executable_p "$ac_dir/$ac_word" || continue
1525 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1526 echo "$as_me:1526: found $ac_dir/$ac_word" >&5
1533 if test -n "$CC"; then
1534 echo "$as_me:1534: result: $CC" >&5
1535 echo "${ECHO_T}$CC" >&6
1537 echo "$as_me:1537: result: no" >&5
1538 echo "${ECHO_T}no" >&6
1541 test -n "$CC" && break
1544 if test -z "$CC"; then
1548 # Extract the first word of "$ac_prog", so it can be a program name with args.
1549 set dummy $ac_prog; ac_word=$2
1550 echo "$as_me:1550: checking for $ac_word" >&5
1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 if test -n "$ac_ct_CC"; then
1556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1558 ac_save_IFS=$IFS; IFS=$ac_path_separator
1560 for ac_dir in $ac_dummy; do
1562 test -z "$ac_dir" && ac_dir=.
1563 $as_executable_p "$ac_dir/$ac_word" || continue
1564 ac_cv_prog_ac_ct_CC="$ac_prog"
1565 echo "$as_me:1565: found $ac_dir/$ac_word" >&5
1571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1572 if test -n "$ac_ct_CC"; then
1573 echo "$as_me:1573: result: $ac_ct_CC" >&5
1574 echo "${ECHO_T}$ac_ct_CC" >&6
1576 echo "$as_me:1576: result: no" >&5
1577 echo "${ECHO_T}no" >&6
1580 test -n "$ac_ct_CC" && break
1588 test -z "$CC" && { { echo "$as_me:1588: error: no acceptable cc found in \$PATH" >&5
1589 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1590 { (exit 1); exit 1; }; }
1592 # Provide some information about the compiler.
1593 echo "$as_me:1593:" \
1594 "checking for C compiler version" >&5
1595 ac_compiler=`set X $ac_compile; echo $2`
1596 { (eval echo "$as_me:1596: \"$ac_compiler --version </dev/null >&5\"") >&5
1597 (eval $ac_compiler --version </dev/null >&5) 2>&5
1599 echo "$as_me:1599: \$? = $ac_status" >&5
1600 (exit $ac_status); }
1601 { (eval echo "$as_me:1601: \"$ac_compiler -v </dev/null >&5\"") >&5
1602 (eval $ac_compiler -v </dev/null >&5) 2>&5
1604 echo "$as_me:1604: \$? = $ac_status" >&5
1605 (exit $ac_status); }
1606 { (eval echo "$as_me:1606: \"$ac_compiler -V </dev/null >&5\"") >&5
1607 (eval $ac_compiler -V </dev/null >&5) 2>&5
1609 echo "$as_me:1609: \$? = $ac_status" >&5
1610 (exit $ac_status); }
1612 cat >conftest.$ac_ext <<_ACEOF
1613 #line 1613 "configure"
1614 #include "confdefs.h"
1624 ac_clean_files_save=$ac_clean_files
1625 ac_clean_files="$ac_clean_files a.out a.exe"
1626 # Try to create an executable without -o first, disregard a.out.
1627 # It will help us diagnose broken compilers, and finding out an intuition
1629 echo "$as_me:1629: checking for C compiler default output" >&5
1630 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1631 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1632 if { (eval echo "$as_me:1632: \"$ac_link_default\"") >&5
1633 (eval $ac_link_default) 2>&5
1635 echo "$as_me:1635: \$? = $ac_status" >&5
1636 (exit $ac_status); }; then
1637 # Find the output, starting from the most likely. This scheme is
1638 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1640 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1641 ls a.out conftest 2>/dev/null;
1642 ls a.* conftest.* 2>/dev/null`; do
1644 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1645 a.out ) # We found the default executable, but exeext='' is most
1648 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1649 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1656 echo "$as_me: failed program was:" >&5
1657 cat conftest.$ac_ext >&5
1658 { { echo "$as_me:1658: error: C compiler cannot create executables" >&5
1659 echo "$as_me: error: C compiler cannot create executables" >&2;}
1660 { (exit 77); exit 77; }; }
1663 ac_exeext=$ac_cv_exeext
1664 echo "$as_me:1664: result: $ac_file" >&5
1665 echo "${ECHO_T}$ac_file" >&6
1667 # Check the compiler produces executables we can run. If not, either
1668 # the compiler is broken, or we cross compile.
1669 echo "$as_me:1669: checking whether the C compiler works" >&5
1670 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1671 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1672 # If not cross compiling, check that we can run a simple program.
1673 if test "$cross_compiling" != yes; then
1674 if { ac_try='./$ac_file'
1675 { (eval echo "$as_me:1675: \"$ac_try\"") >&5
1678 echo "$as_me:1678: \$? = $ac_status" >&5
1679 (exit $ac_status); }; }; then
1682 if test "$cross_compiling" = maybe; then
1685 { { echo "$as_me:1685: error: cannot run C compiled programs.
1686 If you meant to cross compile, use \`--host'." >&5
1687 echo "$as_me: error: cannot run C compiled programs.
1688 If you meant to cross compile, use \`--host'." >&2;}
1689 { (exit 1); exit 1; }; }
1693 echo "$as_me:1693: result: yes" >&5
1694 echo "${ECHO_T}yes" >&6
1696 rm -f a.out a.exe conftest$ac_cv_exeext
1697 ac_clean_files=$ac_clean_files_save
1698 # Check the compiler produces executables we can run. If not, either
1699 # the compiler is broken, or we cross compile.
1700 echo "$as_me:1700: checking whether we are cross compiling" >&5
1701 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1702 echo "$as_me:1702: result: $cross_compiling" >&5
1703 echo "${ECHO_T}$cross_compiling" >&6
1705 echo "$as_me:1705: checking for executable suffix" >&5
1706 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1707 if { (eval echo "$as_me:1707: \"$ac_link\"") >&5
1708 (eval $ac_link) 2>&5
1710 echo "$as_me:1710: \$? = $ac_status" >&5
1711 (exit $ac_status); }; then
1712 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1713 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1714 # work properly (i.e., refer to `conftest.exe'), while it won't with
1716 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1718 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1719 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1726 { { echo "$as_me:1726: error: cannot compute EXEEXT: cannot compile and link" >&5
1727 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1728 { (exit 1); exit 1; }; }
1731 rm -f conftest$ac_cv_exeext
1732 echo "$as_me:1732: result: $ac_cv_exeext" >&5
1733 echo "${ECHO_T}$ac_cv_exeext" >&6
1735 rm -f conftest.$ac_ext
1736 EXEEXT=$ac_cv_exeext
1738 echo "$as_me:1738: checking for object suffix" >&5
1739 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1740 if test "${ac_cv_objext+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 cat >conftest.$ac_ext <<_ACEOF
1744 #line 1744 "configure"
1745 #include "confdefs.h"
1755 rm -f conftest.o conftest.obj
1756 if { (eval echo "$as_me:1756: \"$ac_compile\"") >&5
1757 (eval $ac_compile) 2>&5
1759 echo "$as_me:1759: \$? = $ac_status" >&5
1760 (exit $ac_status); }; then
1761 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1764 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1769 echo "$as_me: failed program was:" >&5
1770 cat conftest.$ac_ext >&5
1771 { { echo "$as_me:1771: error: cannot compute OBJEXT: cannot compile" >&5
1772 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1773 { (exit 1); exit 1; }; }
1776 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1778 echo "$as_me:1778: result: $ac_cv_objext" >&5
1779 echo "${ECHO_T}$ac_cv_objext" >&6
1780 OBJEXT=$ac_cv_objext
1782 echo "$as_me:1782: checking whether we are using the GNU C compiler" >&5
1783 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1784 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 cat >conftest.$ac_ext <<_ACEOF
1788 #line 1788 "configure"
1789 #include "confdefs.h"
1802 rm -f conftest.$ac_objext
1803 if { (eval echo "$as_me:1803: \"$ac_compile\"") >&5
1804 (eval $ac_compile) 2>&5
1806 echo "$as_me:1806: \$? = $ac_status" >&5
1807 (exit $ac_status); } &&
1808 { ac_try='test -s conftest.$ac_objext'
1809 { (eval echo "$as_me:1809: \"$ac_try\"") >&5
1812 echo "$as_me:1812: \$? = $ac_status" >&5
1813 (exit $ac_status); }; }; then
1816 echo "$as_me: failed program was:" >&5
1817 cat conftest.$ac_ext >&5
1820 rm -f conftest.$ac_objext conftest.$ac_ext
1821 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1824 echo "$as_me:1824: result: $ac_cv_c_compiler_gnu" >&5
1825 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1826 GCC=`test $ac_compiler_gnu = yes && echo yes`
1827 ac_test_CFLAGS=${CFLAGS+set}
1828 ac_save_CFLAGS=$CFLAGS
1830 echo "$as_me:1830: checking whether $CC accepts -g" >&5
1831 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1832 if test "${ac_cv_prog_cc_g+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 cat >conftest.$ac_ext <<_ACEOF
1836 #line 1836 "configure"
1837 #include "confdefs.h"
1847 rm -f conftest.$ac_objext
1848 if { (eval echo "$as_me:1848: \"$ac_compile\"") >&5
1849 (eval $ac_compile) 2>&5
1851 echo "$as_me:1851: \$? = $ac_status" >&5
1852 (exit $ac_status); } &&
1853 { ac_try='test -s conftest.$ac_objext'
1854 { (eval echo "$as_me:1854: \"$ac_try\"") >&5
1857 echo "$as_me:1857: \$? = $ac_status" >&5
1858 (exit $ac_status); }; }; then
1861 echo "$as_me: failed program was:" >&5
1862 cat conftest.$ac_ext >&5
1865 rm -f conftest.$ac_objext conftest.$ac_ext
1867 echo "$as_me:1867: result: $ac_cv_prog_cc_g" >&5
1868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1869 if test "$ac_test_CFLAGS" = set; then
1870 CFLAGS=$ac_save_CFLAGS
1871 elif test $ac_cv_prog_cc_g = yes; then
1872 if test "$GCC" = yes; then
1878 if test "$GCC" = yes; then
1884 # Some people use a C++ compiler to compile C. Since we use `exit',
1885 # in C++ we need to declare it. In case someone uses the same compiler
1886 # for both compiling C and C++ we need to have the C++ compiler decide
1887 # the declaration of exit, since it's the most demanding environment.
1888 cat >conftest.$ac_ext <<_ACEOF
1893 rm -f conftest.$ac_objext
1894 if { (eval echo "$as_me:1894: \"$ac_compile\"") >&5
1895 (eval $ac_compile) 2>&5
1897 echo "$as_me:1897: \$? = $ac_status" >&5
1898 (exit $ac_status); } &&
1899 { ac_try='test -s conftest.$ac_objext'
1900 { (eval echo "$as_me:1900: \"$ac_try\"") >&5
1903 echo "$as_me:1903: \$? = $ac_status" >&5
1904 (exit $ac_status); }; }; then
1905 for ac_declaration in \
1907 '#include <stdlib.h>' \
1908 'extern "C" void std::exit (int) throw (); using std::exit;' \
1909 'extern "C" void std::exit (int); using std::exit;' \
1910 'extern "C" void exit (int) throw ();' \
1911 'extern "C" void exit (int);' \
1914 cat >conftest.$ac_ext <<_ACEOF
1915 #line 1915 "configure"
1916 #include "confdefs.h"
1927 rm -f conftest.$ac_objext
1928 if { (eval echo "$as_me:1928: \"$ac_compile\"") >&5
1929 (eval $ac_compile) 2>&5
1931 echo "$as_me:1931: \$? = $ac_status" >&5
1932 (exit $ac_status); } &&
1933 { ac_try='test -s conftest.$ac_objext'
1934 { (eval echo "$as_me:1934: \"$ac_try\"") >&5
1937 echo "$as_me:1937: \$? = $ac_status" >&5
1938 (exit $ac_status); }; }; then
1941 echo "$as_me: failed program was:" >&5
1942 cat conftest.$ac_ext >&5
1945 rm -f conftest.$ac_objext conftest.$ac_ext
1946 cat >conftest.$ac_ext <<_ACEOF
1947 #line 1947 "configure"
1948 #include "confdefs.h"
1958 rm -f conftest.$ac_objext
1959 if { (eval echo "$as_me:1959: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:1962: \$? = $ac_status" >&5
1963 (exit $ac_status); } &&
1964 { ac_try='test -s conftest.$ac_objext'
1965 { (eval echo "$as_me:1965: \"$ac_try\"") >&5
1968 echo "$as_me:1968: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1972 echo "$as_me: failed program was:" >&5
1973 cat conftest.$ac_ext >&5
1975 rm -f conftest.$ac_objext conftest.$ac_ext
1978 if test -n "$ac_declaration"; then
1979 echo '#ifdef __cplusplus' >>confdefs.h
1980 echo $ac_declaration >>confdefs.h
1981 echo '#endif' >>confdefs.h
1985 echo "$as_me: failed program was:" >&5
1986 cat conftest.$ac_ext >&5
1988 rm -f conftest.$ac_objext conftest.$ac_ext
1990 ac_cpp='$CPP $CPPFLAGS'
1991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1996 ac_cpp='$CPP $CPPFLAGS'
1997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2000 echo "$as_me:2000: checking how to run the C preprocessor" >&5
2001 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2002 # On Suns, sometimes $CPP names a directory.
2003 if test -n "$CPP" && test -d "$CPP"; then
2006 if test -z "$CPP"; then
2007 if test "${ac_cv_prog_CPP+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 # Double quotes because CPP needs to be expanded
2011 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2014 for ac_c_preproc_warn_flag in '' yes
2016 # Use a header file that comes with gcc, so configuring glibc
2017 # with a fresh cross-compiler works.
2018 # On the NeXT, cc -E runs the code through the compiler's parser,
2019 # not just through cpp. "Syntax error" is here to catch this case.
2020 cat >conftest.$ac_ext <<_ACEOF
2021 #line 2021 "configure"
2022 #include "confdefs.h"
2026 if { (eval echo "$as_me:2026: \"$ac_cpp conftest.$ac_ext\"") >&5
2027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2029 egrep -v '^ *\+' conftest.er1 >conftest.err
2031 cat conftest.err >&5
2032 echo "$as_me:2032: \$? = $ac_status" >&5
2033 (exit $ac_status); } >/dev/null; then
2034 if test -s conftest.err; then
2035 ac_cpp_err=$ac_c_preproc_warn_flag
2042 if test -z "$ac_cpp_err"; then
2045 echo "$as_me: failed program was:" >&5
2046 cat conftest.$ac_ext >&5
2047 # Broken: fails on valid input.
2050 rm -f conftest.err conftest.$ac_ext
2052 # OK, works on sane cases. Now check whether non-existent headers
2053 # can be detected and how.
2054 cat >conftest.$ac_ext <<_ACEOF
2055 #line 2055 "configure"
2056 #include "confdefs.h"
2057 #include <ac_nonexistent.h>
2059 if { (eval echo "$as_me:2059: \"$ac_cpp conftest.$ac_ext\"") >&5
2060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2062 egrep -v '^ *\+' conftest.er1 >conftest.err
2064 cat conftest.err >&5
2065 echo "$as_me:2065: \$? = $ac_status" >&5
2066 (exit $ac_status); } >/dev/null; then
2067 if test -s conftest.err; then
2068 ac_cpp_err=$ac_c_preproc_warn_flag
2075 if test -z "$ac_cpp_err"; then
2076 # Broken: success on invalid input.
2079 echo "$as_me: failed program was:" >&5
2080 cat conftest.$ac_ext >&5
2081 # Passes both tests.
2085 rm -f conftest.err conftest.$ac_ext
2088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2089 rm -f conftest.err conftest.$ac_ext
2090 if $ac_preproc_ok; then
2102 echo "$as_me:2102: result: $CPP" >&5
2103 echo "${ECHO_T}$CPP" >&6
2105 for ac_c_preproc_warn_flag in '' yes
2107 # Use a header file that comes with gcc, so configuring glibc
2108 # with a fresh cross-compiler works.
2109 # On the NeXT, cc -E runs the code through the compiler's parser,
2110 # not just through cpp. "Syntax error" is here to catch this case.
2111 cat >conftest.$ac_ext <<_ACEOF
2112 #line 2112 "configure"
2113 #include "confdefs.h"
2117 if { (eval echo "$as_me:2117: \"$ac_cpp conftest.$ac_ext\"") >&5
2118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2120 egrep -v '^ *\+' conftest.er1 >conftest.err
2122 cat conftest.err >&5
2123 echo "$as_me:2123: \$? = $ac_status" >&5
2124 (exit $ac_status); } >/dev/null; then
2125 if test -s conftest.err; then
2126 ac_cpp_err=$ac_c_preproc_warn_flag
2133 if test -z "$ac_cpp_err"; then
2136 echo "$as_me: failed program was:" >&5
2137 cat conftest.$ac_ext >&5
2138 # Broken: fails on valid input.
2141 rm -f conftest.err conftest.$ac_ext
2143 # OK, works on sane cases. Now check whether non-existent headers
2144 # can be detected and how.
2145 cat >conftest.$ac_ext <<_ACEOF
2146 #line 2146 "configure"
2147 #include "confdefs.h"
2148 #include <ac_nonexistent.h>
2150 if { (eval echo "$as_me:2150: \"$ac_cpp conftest.$ac_ext\"") >&5
2151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2153 egrep -v '^ *\+' conftest.er1 >conftest.err
2155 cat conftest.err >&5
2156 echo "$as_me:2156: \$? = $ac_status" >&5
2157 (exit $ac_status); } >/dev/null; then
2158 if test -s conftest.err; then
2159 ac_cpp_err=$ac_c_preproc_warn_flag
2166 if test -z "$ac_cpp_err"; then
2167 # Broken: success on invalid input.
2170 echo "$as_me: failed program was:" >&5
2171 cat conftest.$ac_ext >&5
2172 # Passes both tests.
2176 rm -f conftest.err conftest.$ac_ext
2179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2180 rm -f conftest.err conftest.$ac_ext
2181 if $ac_preproc_ok; then
2184 { { echo "$as_me:2184: error: C preprocessor \"$CPP\" fails sanity check" >&5
2185 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2186 { (exit 1); exit 1; }; }
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195 missing_dir=`cd $ac_aux_dir && pwd`
2196 for ac_prog in flex lex
2198 # Extract the first word of "$ac_prog", so it can be a program name with args.
2199 set dummy $ac_prog; ac_word=$2
2200 echo "$as_me:2200: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_LEX+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$LEX"; then
2206 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2208 ac_save_IFS=$IFS; IFS=$ac_path_separator
2210 for ac_dir in $ac_dummy; do
2212 test -z "$ac_dir" && ac_dir=.
2213 $as_executable_p "$ac_dir/$ac_word" || continue
2214 ac_cv_prog_LEX="$ac_prog"
2215 echo "$as_me:2215: found $ac_dir/$ac_word" >&5
2222 if test -n "$LEX"; then
2223 echo "$as_me:2223: result: $LEX" >&5
2224 echo "${ECHO_T}$LEX" >&6
2226 echo "$as_me:2226: result: no" >&5
2227 echo "${ECHO_T}no" >&6
2230 test -n "$LEX" && break
2232 test -n "$LEX" || LEX=""$missing_dir/missing flex""
2234 for ac_prog in flex lex
2236 # Extract the first word of "$ac_prog", so it can be a program name with args.
2237 set dummy $ac_prog; ac_word=$2
2238 echo "$as_me:2238: checking for $ac_word" >&5
2239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2240 if test "${ac_cv_prog_LEX+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 if test -n "$LEX"; then
2244 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2246 ac_save_IFS=$IFS; IFS=$ac_path_separator
2248 for ac_dir in $ac_dummy; do
2250 test -z "$ac_dir" && ac_dir=.
2251 $as_executable_p "$ac_dir/$ac_word" || continue
2252 ac_cv_prog_LEX="$ac_prog"
2253 echo "$as_me:2253: found $ac_dir/$ac_word" >&5
2260 if test -n "$LEX"; then
2261 echo "$as_me:2261: result: $LEX" >&5
2262 echo "${ECHO_T}$LEX" >&6
2264 echo "$as_me:2264: result: no" >&5
2265 echo "${ECHO_T}no" >&6
2268 test -n "$LEX" && break
2270 test -n "$LEX" || LEX=":"
2272 if test -z "$LEXLIB"
2274 echo "$as_me:2274: checking for yywrap in -lfl" >&5
2275 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2276 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 ac_check_lib_save_LIBS=$LIBS
2281 cat >conftest.$ac_ext <<_ACEOF
2282 #line 2282 "configure"
2283 #include "confdefs.h"
2285 /* Override any gcc2 internal prototype to avoid an error. */
2289 /* We use char because int might match the return type of a gcc2
2290 builtin and then its argument prototype would still apply. */
2300 rm -f conftest.$ac_objext conftest$ac_exeext
2301 if { (eval echo "$as_me:2301: \"$ac_link\"") >&5
2302 (eval $ac_link) 2>&5
2304 echo "$as_me:2304: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try='test -s conftest$ac_exeext'
2307 { (eval echo "$as_me:2307: \"$ac_try\"") >&5
2310 echo "$as_me:2310: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2312 ac_cv_lib_fl_yywrap=yes
2314 echo "$as_me: failed program was:" >&5
2315 cat conftest.$ac_ext >&5
2316 ac_cv_lib_fl_yywrap=no
2318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2319 LIBS=$ac_check_lib_save_LIBS
2321 echo "$as_me:2321: result: $ac_cv_lib_fl_yywrap" >&5
2322 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2323 if test $ac_cv_lib_fl_yywrap = yes; then
2326 echo "$as_me:2326: checking for yywrap in -ll" >&5
2327 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2328 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 ac_check_lib_save_LIBS=$LIBS
2333 cat >conftest.$ac_ext <<_ACEOF
2334 #line 2334 "configure"
2335 #include "confdefs.h"
2337 /* Override any gcc2 internal prototype to avoid an error. */
2341 /* We use char because int might match the return type of a gcc2
2342 builtin and then its argument prototype would still apply. */
2352 rm -f conftest.$ac_objext conftest$ac_exeext
2353 if { (eval echo "$as_me:2353: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2356 echo "$as_me:2356: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try='test -s conftest$ac_exeext'
2359 { (eval echo "$as_me:2359: \"$ac_try\"") >&5
2362 echo "$as_me:2362: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2364 ac_cv_lib_l_yywrap=yes
2366 echo "$as_me: failed program was:" >&5
2367 cat conftest.$ac_ext >&5
2368 ac_cv_lib_l_yywrap=no
2370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2371 LIBS=$ac_check_lib_save_LIBS
2373 echo "$as_me:2373: result: $ac_cv_lib_l_yywrap" >&5
2374 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2375 if test $ac_cv_lib_l_yywrap = yes; then
2383 if test "x$LEX" != "x:"; then
2384 echo "$as_me:2384: checking lex output file root" >&5
2385 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2386 if test "${ac_cv_prog_lex_root+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 # The minimal lex program is just a single line: %%. But some broken lexes
2390 # (Solaris, I think it was) want two %% lines, so accommodate them.
2393 if test -f lex.yy.c; then
2394 ac_cv_prog_lex_root=lex.yy
2395 elif test -f lexyy.c; then
2396 ac_cv_prog_lex_root=lexyy
2398 { { echo "$as_me:2398: error: cannot find output from $LEX; giving up" >&5
2399 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2400 { (exit 1); exit 1; }; }
2403 echo "$as_me:2403: result: $ac_cv_prog_lex_root" >&5
2404 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2405 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2407 echo "$as_me:2407: checking whether yytext is a pointer" >&5
2408 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2409 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 # POSIX says lex can declare yytext either as a pointer or an array; the
2413 # default is implementation-dependent. Figure out which it is, since
2414 # not all implementations provide the %pointer and %array declarations.
2415 ac_cv_prog_lex_yytext_pointer=no
2416 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2418 LIBS="$LIBS $LEXLIB"
2419 cat >conftest.$ac_ext <<_ACEOF
2420 `cat $LEX_OUTPUT_ROOT.c`
2422 rm -f conftest.$ac_objext conftest$ac_exeext
2423 if { (eval echo "$as_me:2423: \"$ac_link\"") >&5
2424 (eval $ac_link) 2>&5
2426 echo "$as_me:2426: \$? = $ac_status" >&5
2427 (exit $ac_status); } &&
2428 { ac_try='test -s conftest$ac_exeext'
2429 { (eval echo "$as_me:2429: \"$ac_try\"") >&5
2432 echo "$as_me:2432: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2434 ac_cv_prog_lex_yytext_pointer=yes
2436 echo "$as_me: failed program was:" >&5
2437 cat conftest.$ac_ext >&5
2439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2441 rm -f "${LEX_OUTPUT_ROOT}.c"
2444 echo "$as_me:2444: result: $ac_cv_prog_lex_yytext_pointer" >&5
2445 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2446 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2448 cat >>confdefs.h <<\EOF
2449 #define YYTEXT_POINTER 1
2456 # Find a good install program. We prefer a C program (faster),
2457 # so one script is as good as another. But avoid the broken or
2458 # incompatible versions:
2459 # SysV /etc/install, /usr/sbin/install
2460 # SunOS /usr/etc/install
2461 # IRIX /sbin/install
2463 # AmigaOS /C/install, which installs bootblocks on floppy discs
2464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2467 # ./install, which can be erroneously created by make from ./install.sh.
2468 echo "$as_me:2468: checking for a BSD compatible install" >&5
2469 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2470 if test -z "$INSTALL"; then
2471 if test "${ac_cv_path_install+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 ac_save_IFS=$IFS; IFS=$ac_path_separator
2475 for ac_dir in $PATH; do
2477 # Account for people who put trailing slashes in PATH elements.
2479 / | ./ | .// | /cC/* \
2480 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2483 # OSF1 and SCO ODT 3.0 have their own names for install.
2484 # Don't use installbsd from OSF since it installs stuff as root
2486 for ac_prog in ginstall scoinst install; do
2487 if $as_executable_p "$ac_dir/$ac_prog"; then
2488 if test $ac_prog = install &&
2489 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2490 # AIX install. It has an incompatible calling convention.
2492 elif test $ac_prog = install &&
2493 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2494 # program-specific install script used by HP pwplus--don't use.
2497 ac_cv_path_install="$ac_dir/$ac_prog -c"
2507 if test "${ac_cv_path_install+set}" = set; then
2508 INSTALL=$ac_cv_path_install
2510 # As a last resort, use the slow shell script. We don't cache a
2511 # path for INSTALL within a source directory, because that will
2512 # break other packages using the cache if that directory is
2513 # removed, or if the path is relative.
2514 INSTALL=$ac_install_sh
2517 echo "$as_me:2517: result: $INSTALL" >&5
2518 echo "${ECHO_T}$INSTALL" >&6
2520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2521 # It thinks the first close brace ends the variable substitution.
2522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2526 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2528 echo "$as_me:2528: checking whether ${MAKE-make} sets \${MAKE}" >&5
2529 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2530 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2531 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 cat >conftest.make <<\EOF
2536 @echo 'ac_maketemp="${MAKE}"'
2538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2539 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2540 if test -n "$ac_maketemp"; then
2541 eval ac_cv_prog_make_${ac_make}_set=yes
2543 eval ac_cv_prog_make_${ac_make}_set=no
2547 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2548 echo "$as_me:2548: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2552 echo "$as_me:2552: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2554 SET_MAKE="MAKE=${MAKE-make}"
2557 echo "$as_me:2557: checking whether ln -s works" >&5
2558 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2560 if test "$LN_S" = "ln -s"; then
2561 echo "$as_me:2561: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:2564: result: no, using $LN_S" >&5
2565 echo "${ECHO_T}no, using $LN_S" >&6
2568 # Extract the first word of "bison", so it can be a program name with args.
2569 set dummy bison; ac_word=$2
2570 echo "$as_me:2570: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_BISON+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 if test -n "$BISON"; then
2576 ac_cv_prog_BISON="$BISON" # Let the user override the test.
2578 ac_save_IFS=$IFS; IFS=$ac_path_separator
2580 for ac_dir in $ac_dummy; do
2582 test -z "$ac_dir" && ac_dir=.
2583 $as_executable_p "$ac_dir/$ac_word" || continue
2584 ac_cv_prog_BISON="bison"
2585 echo "$as_me:2585: found $ac_dir/$ac_word" >&5
2589 test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="no"
2592 BISON=$ac_cv_prog_BISON
2593 if test -n "$BISON"; then
2594 echo "$as_me:2594: result: $BISON" >&5
2595 echo "${ECHO_T}$BISON" >&6
2597 echo "$as_me:2597: result: no" >&5
2598 echo "${ECHO_T}no" >&6
2601 # Extract the first word of "grep", so it can be a program name with args.
2602 set dummy grep; ac_word=$2
2603 echo "$as_me:2603: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 if test "${ac_cv_prog_GREP+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$GREP"; then
2609 ac_cv_prog_GREP="$GREP" # Let the user override the test.
2611 ac_save_IFS=$IFS; IFS=$ac_path_separator
2613 for ac_dir in $ac_dummy; do
2615 test -z "$ac_dir" && ac_dir=.
2616 $as_executable_p "$ac_dir/$ac_word" || continue
2617 ac_cv_prog_GREP="grep"
2618 echo "$as_me:2618: found $ac_dir/$ac_word" >&5
2622 test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="grep-is-missing"
2625 GREP=$ac_cv_prog_GREP
2626 if test -n "$GREP"; then
2627 echo "$as_me:2627: result: $GREP" >&5
2628 echo "${ECHO_T}$GREP" >&6
2630 echo "$as_me:2630: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2634 # Extract the first word of "diff", so it can be a program name with args.
2635 set dummy diff; ac_word=$2
2636 echo "$as_me:2636: checking for $ac_word" >&5
2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2638 if test "${ac_cv_prog_DIFF+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -n "$DIFF"; then
2642 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
2644 ac_save_IFS=$IFS; IFS=$ac_path_separator
2646 for ac_dir in $ac_dummy; do
2648 test -z "$ac_dir" && ac_dir=.
2649 $as_executable_p "$ac_dir/$ac_word" || continue
2650 ac_cv_prog_DIFF="diff"
2651 echo "$as_me:2651: found $ac_dir/$ac_word" >&5
2655 test -z "$ac_cv_prog_DIFF" && ac_cv_prog_DIFF="diff-is-missing"
2658 DIFF=$ac_cv_prog_DIFF
2659 if test -n "$DIFF"; then
2660 echo "$as_me:2660: result: $DIFF" >&5
2661 echo "${ECHO_T}$DIFF" >&6
2663 echo "$as_me:2663: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2667 # Extract the first word of "cat", so it can be a program name with args.
2668 set dummy cat; ac_word=$2
2669 echo "$as_me:2669: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2671 if test "${ac_cv_prog_CAT+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$CAT"; then
2675 ac_cv_prog_CAT="$CAT" # Let the user override the test.
2677 ac_save_IFS=$IFS; IFS=$ac_path_separator
2679 for ac_dir in $ac_dummy; do
2681 test -z "$ac_dir" && ac_dir=.
2682 $as_executable_p "$ac_dir/$ac_word" || continue
2683 ac_cv_prog_CAT="cat"
2684 echo "$as_me:2684: found $ac_dir/$ac_word" >&5
2688 test -z "$ac_cv_prog_CAT" && ac_cv_prog_CAT="cat-is-missing"
2692 if test -n "$CAT"; then
2693 echo "$as_me:2693: result: $CAT" >&5
2694 echo "${ECHO_T}$CAT" >&6
2696 echo "$as_me:2696: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2700 # Extract the first word of "rm", so it can be a program name with args.
2701 set dummy rm; ac_word=$2
2702 echo "$as_me:2702: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2704 if test "${ac_cv_prog_RM+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$RM"; then
2708 ac_cv_prog_RM="$RM" # Let the user override the test.
2710 ac_save_IFS=$IFS; IFS=$ac_path_separator
2712 for ac_dir in $ac_dummy; do
2714 test -z "$ac_dir" && ac_dir=.
2715 $as_executable_p "$ac_dir/$ac_word" || continue
2717 echo "$as_me:2717: found $ac_dir/$ac_word" >&5
2721 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM="rm-is-missing"
2725 if test -n "$RM"; then
2726 echo "$as_me:2726: result: $RM" >&5
2727 echo "${ECHO_T}$RM" >&6
2729 echo "$as_me:2729: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2733 # Extract the first word of "mv", so it can be a program name with args.
2734 set dummy mv; ac_word=$2
2735 echo "$as_me:2735: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2737 if test "${ac_cv_prog_MV+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -n "$MV"; then
2741 ac_cv_prog_MV="$MV" # Let the user override the test.
2743 ac_save_IFS=$IFS; IFS=$ac_path_separator
2745 for ac_dir in $ac_dummy; do
2747 test -z "$ac_dir" && ac_dir=.
2748 $as_executable_p "$ac_dir/$ac_word" || continue
2750 echo "$as_me:2750: found $ac_dir/$ac_word" >&5
2754 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV="mv-is-missing"
2758 if test -n "$MV"; then
2759 echo "$as_me:2759: result: $MV" >&5
2760 echo "${ECHO_T}$MV" >&6
2762 echo "$as_me:2762: result: no" >&5
2763 echo "${ECHO_T}no" >&6
2766 # Extract the first word of "cp", so it can be a program name with args.
2767 set dummy cp; ac_word=$2
2768 echo "$as_me:2768: checking for $ac_word" >&5
2769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2770 if test "${ac_cv_prog_CP+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 if test -n "$CP"; then
2774 ac_cv_prog_CP="$CP" # Let the user override the test.
2776 ac_save_IFS=$IFS; IFS=$ac_path_separator
2778 for ac_dir in $ac_dummy; do
2780 test -z "$ac_dir" && ac_dir=.
2781 $as_executable_p "$ac_dir/$ac_word" || continue
2783 echo "$as_me:2783: found $ac_dir/$ac_word" >&5
2787 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP="cp-is-missing"
2791 if test -n "$CP"; then
2792 echo "$as_me:2792: result: $CP" >&5
2793 echo "${ECHO_T}$CP" >&6
2795 echo "$as_me:2795: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2799 echo "$as_me:2799: checking whether we need _ALL_SOURCE to expose mode_t" >&5
2800 echo $ECHO_N "checking whether we need _ALL_SOURCE to expose mode_t... $ECHO_C" >&6
2802 cat >conftest.$ac_ext <<_ACEOF
2803 #line 2803 "configure"
2804 #include "confdefs.h"
2817 rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5
2819 (eval $ac_compile) 2>&5
2821 echo "$as_me:2821: \$? = $ac_status" >&5
2822 (exit $ac_status); } &&
2823 { ac_try='test -s conftest.$ac_objext'
2824 { (eval echo "$as_me:2824: \"$ac_try\"") >&5
2827 echo "$as_me:2827: \$? = $ac_status" >&5
2828 (exit $ac_status); }; }; then
2831 echo "$as_me: failed program was:" >&5
2832 cat conftest.$ac_ext >&5
2835 rm -f conftest.$ac_objext conftest.$ac_ext
2836 if test $all = maybe ; then
2837 cat >conftest.$ac_ext <<_ACEOF
2838 #line 2838 "configure"
2839 #include "confdefs.h"
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:2854: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>&5
2857 echo "$as_me:2857: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -s conftest.$ac_objext'
2860 { (eval echo "$as_me:2860: \"$ac_try\"") >&5
2863 echo "$as_me:2863: \$? = $ac_status" >&5
2864 (exit $ac_status); }; }; then
2865 cat >>confdefs.h <<\EOF
2866 #define _ALL_SOURCE 1
2870 echo "$as_me: failed program was:" >&5
2871 cat conftest.$ac_ext >&5
2873 rm -f conftest.$ac_objext conftest.$ac_ext
2875 if test $all = maybe ; then all=no ; fi
2876 echo "$as_me:2876: result: $all" >&5
2877 echo "${ECHO_T}$all" >&6
2879 LCLOBJ='$(lcl_OBJECTS)'
2881 # Check whether --with-lcl or --without-lcl was given.
2882 if test "${with_lcl+set}" = set; then
2884 ac_cv_use_lcl=$withval
2886 echo "$as_me:2886: checking whether to include support for LCL files" >&5
2887 echo $ECHO_N "checking whether to include support for LCL files... $ECHO_C" >&6
2888 if test "${ac_cv_use_lcl+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 echo "$as_me:2893: result: $ac_cv_use_lcl" >&5
2894 echo "${ECHO_T}$ac_cv_use_lcl" >&6
2896 if test x$ac_cv_use_lcl != xyes; then
2899 cat >>confdefs.h <<\EOF
2905 # Make sure we have an actual value for $prefix
2907 test x$myprefix = xNONE && myprefix=$ac_default_prefix
2909 # cpplib.h defines 2 include dirs; one is $includedir, the other is gcc's
2910 # include dir. Not the most portable setup, but let's do our best.
2911 if test x$ac_cv_c_compiler_gnu = xyes; then
2913 # This breaks on gcc-3.0 on redhat fixing drl 11-15-2001
2914 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/'`
2915 GCC_INCLUDE_DIR=/usr/include
2916 # was /usr/lib/gcc-lib/i386-linux/2.7.2.1/include
2917 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -n -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/p'`
2919 cat >>confdefs.h <<EOF
2920 #define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
2925 cat >>confdefs.h <<EOF
2926 #define GCC_INCLUDE_DIR2 "$myprefix/include"
2929 # These used to be in local_constants.h
2931 cat >>confdefs.h <<EOF
2932 #define SYSTEM_LIBDIR "$myprefix/include"
2935 cat >>confdefs.h <<EOF
2936 #define DEFAULT_LARCHPATH ".$PATH_SEPARATOR$myprefix/share/splint/lib$PATH_SEPARATOR`pwd`/lib$PATH_SEPARATOR"
2939 cat >>confdefs.h <<EOF
2940 #define DEFAULT_LCLIMPORTDIR ".$PATH_SEPARATOR$myprefix/share/splint/imports$PATH_SEPARATOR`pwd`/imports"
2943 # These used to be in herald.h
2944 LCL_PARSE_VERSION="Splint 3.0.1.4"
2946 cat >>confdefs.h <<EOF
2947 #define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`"
2950 cat >>confdefs.h <<EOF
2951 #define LCL_PARSE_VERSION "$LCL_PARSE_VERSION"
2954 cat >>confdefs.h <<EOF
2955 #define LCL_COMPILE "Compiled using $CC $CFLAGS on `uname -a` by `whoami`"
2958 cat >>confdefs.h <<\EOF
2962 #just define some Header constants for now...
2965 cat >>confdefs.h <<EOF
2966 #define UNAME "${UNAME}"
2969 cat >>confdefs.h <<EOF
2970 #define BUILD "${build}"
2973 cat >>confdefs.h <<EOF
2974 #define HOST "${host}"
2977 cat >>confdefs.h <<EOF
2978 #define TARGET "${target}"
2981 cat >>confdefs.h <<EOF
2982 #define BUILD_ALIAS "${build_alias}"
2985 cat >>confdefs.h <<EOF
2986 #define HOST_ALIAS "${host_alias}"
2989 cat >>confdefs.h <<EOF
2990 #define TARGET_ALIAS "${TARGET_ALIAS}"
2993 cat >>confdefs.h <<EOF
2994 #define BUILD_CPU "${build_cpu}"
2997 cat >>confdefs.h <<EOF
2998 #define HOST_CPU "$host_cpu"
3001 cat >>confdefs.h <<EOF
3002 #define TARGET_CPU "${target_cpu}"
3005 cat >>confdefs.h <<EOF
3006 #define BUILD_VENDOR "${build_vendor}"
3009 cat >>confdefs.h <<EOF
3010 #define HOST_VENDOR "${host_vendor}"
3013 cat >>confdefs.h <<EOF
3014 #define TARGET_VENDOR "${target_vendor}"
3017 cat >>confdefs.h <<EOF
3018 #define BUILD_OS "${build_os}"
3021 cat >>confdefs.h <<EOF
3022 #define HOST_OS "${host_os}"
3025 cat >>confdefs.h <<EOF
3026 #define TARGET_OS "${target_os}"
3029 ac_config_files="$ac_config_files Makefile imports/Makefile lib/Makefile src/Makefile test/Makefile doc/Makefile bin/Makefile"
3031 cat >confcache <<\_ACEOF
3032 # This file is a shell script that caches the results of configure
3033 # tests run on this system so they can be shared between configure
3034 # scripts and configure runs, see configure's option --config-cache.
3035 # It is not useful on other systems. If it contains results you don't
3036 # want to keep, you may remove or edit it.
3038 # config.status only pays attention to the cache file if you give it
3039 # the --recheck option to rerun configure.
3041 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3042 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3047 # The following way of writing the cache mishandles newlines in values,
3048 # but we know of no workaround that is simple, portable, and efficient.
3049 # So, don't put newlines in cache variables' values.
3050 # Ultrix sh set writes to stderr and can't be redirected directly,
3051 # and sets the high bit in the cache file unless we assign to the vars.
3054 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3056 # `set' does not quote correctly, so add quotes (double-quote
3057 # substitution turns \\\\ into \\, and sed turns \\ into \).
3060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3063 # `set' quotes correctly as required by POSIX, so do not add quotes.
3065 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3072 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3074 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3076 if cmp -s $cache_file confcache; then :; else
3077 if test -w $cache_file; then
3078 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3079 cat confcache >$cache_file
3081 echo "not updating unwritable cache $cache_file"
3086 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3087 # Let make expand exec_prefix.
3088 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3090 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3091 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3092 # trailing colons and then remove the whole line if VPATH becomes empty
3093 # (actually we leave an empty line to preserve line numbers).
3094 if test "x$srcdir" = x.; then
3095 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3096 s/:*\$(srcdir):*/:/;
3097 s/:*\${srcdir}:*/:/;
3099 s/^\([^=]*=[ ]*\):*/\1/;
3105 DEFS=-DHAVE_CONFIG_H
3107 : ${CONFIG_STATUS=./config.status}
3108 ac_clean_files_save=$ac_clean_files
3109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3110 { echo "$as_me:3110: creating $CONFIG_STATUS" >&5
3111 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3112 cat >$CONFIG_STATUS <<_ACEOF
3114 # Generated automatically by configure.
3115 # Run this file to recreate the current configuration.
3116 # Compiler output produced by configure, useful for debugging
3117 # configure, is in config.log if it exists.
3120 SHELL=\${CONFIG_SHELL-$SHELL}
3121 ac_cs_invocation="\$0 \$@"
3125 cat >>$CONFIG_STATUS <<\_ACEOF
3126 # Be Bourne compatible
3127 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3130 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3134 # Name of the executable.
3135 as_me=`echo "$0" |sed 's,.*[\\/],,'`
3137 if expr a : '\(a\)' >/dev/null 2>&1; then
3143 rm -f conf$$ conf$$.exe conf$$.file
3145 if ln -s conf$$.file conf$$ 2>/dev/null; then
3146 # We could just check for DJGPP; but this test a) works b) is more generic
3147 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3148 if test -f conf$$.exe; then
3149 # Don't use ln at all; we don't have any links
3154 elif ln conf$$.file conf$$ 2>/dev/null; then
3159 rm -f conf$$ conf$$.exe conf$$.file
3161 as_executable_p="test -f"
3163 # Support unset when possible.
3164 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3171 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3172 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3173 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3174 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3175 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3176 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3177 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3178 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3181 # We need space, tab and new line, in precisely that order.
3187 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3193 # Files that config.status was made for.
3194 if test -n "$ac_config_files"; then
3195 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3198 if test -n "$ac_config_headers"; then
3199 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3202 if test -n "$ac_config_links"; then
3203 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3206 if test -n "$ac_config_commands"; then
3207 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3210 cat >>$CONFIG_STATUS <<\EOF
3213 \`$as_me' instantiates files from templates according to the
3214 current configuration.
3216 Usage: $0 [OPTIONS] [FILE]...
3218 -h, --help print this help, then exit
3219 -V, --version print version number, then exit
3220 -d, --debug don't remove temporary files
3221 --recheck update $as_me by reconfiguring in the same conditions
3222 --file=FILE[:TEMPLATE]
3223 instantiate the configuration file FILE
3224 --header=FILE[:TEMPLATE]
3225 instantiate the configuration header FILE
3227 Configuration files:
3230 Configuration headers:
3233 Configuration commands:
3236 Report bugs to <bug-autoconf@gnu.org>."
3239 cat >>$CONFIG_STATUS <<EOF
3241 Splint config.status 3.0.1.4
3242 configured by $0, generated by GNU Autoconf 2.52,
3243 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3245 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3246 Free Software Foundation, Inc.
3247 This config.status script is free software; the Free Software Foundation
3248 gives unlimited permission to copy, distribute and modify it."
3253 cat >>$CONFIG_STATUS <<\EOF
3254 # If no file are specified by the user, then we need to provide default
3255 # value. By we need to know if files were specified by the user.
3261 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3262 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3264 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3268 *) # This is not an option, so the user has probably given explicit
3270 ac_need_defaults=false;;
3274 # Handling of the options.
3276 cat >>$CONFIG_STATUS <<EOF
3277 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3278 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3279 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3281 cat >>$CONFIG_STATUS <<\EOF
3282 --version | --vers* | -V )
3283 echo "$ac_cs_version"; exit 0 ;;
3285 # Conflict between --help and --header
3286 { { echo "$as_me:3286: error: ambiguous option: $1
3287 Try \`$0 --help' for more information." >&5
3288 echo "$as_me: error: ambiguous option: $1
3289 Try \`$0 --help' for more information." >&2;}
3290 { (exit 1); exit 1; }; };;
3291 --help | --hel | -h )
3292 echo "$ac_cs_usage"; exit 0 ;;
3293 --debug | --d* | -d )
3295 --file | --fil | --fi | --f )
3297 CONFIG_FILES="$CONFIG_FILES $1"
3298 ac_need_defaults=false;;
3299 --header | --heade | --head | --hea )
3301 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3302 ac_need_defaults=false;;
3305 -*) { { echo "$as_me:3305: error: unrecognized option: $1
3306 Try \`$0 --help' for more information." >&5
3307 echo "$as_me: error: unrecognized option: $1
3308 Try \`$0 --help' for more information." >&2;}
3309 { (exit 1); exit 1; }; } ;;
3311 *) ac_config_targets="$ac_config_targets $1" ;;
3320 ## ----------------------- ##
3321 ## Running config.status. ##
3322 ## ----------------------- ##
3324 This file was extended by $as_me (Splint 3.0.1.4) 2.52, executed with
3325 CONFIG_FILES = $CONFIG_FILES
3326 CONFIG_HEADERS = $CONFIG_HEADERS
3327 CONFIG_LINKS = $CONFIG_LINKS
3328 CONFIG_COMMANDS = $CONFIG_COMMANDS
3330 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3335 cat >>$CONFIG_STATUS <<EOF
3337 # INIT-COMMANDS section.
3342 cat >>$CONFIG_STATUS <<\EOF
3343 for ac_config_target in $ac_config_targets
3345 case "$ac_config_target" in
3346 # Handling of arguments.
3347 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3348 "imports/Makefile" ) CONFIG_FILES="$CONFIG_FILES imports/Makefile" ;;
3349 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3350 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3351 "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3352 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3353 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3354 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3355 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
3356 *) { { echo "$as_me:3356: error: invalid argument: $ac_config_target" >&5
3357 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3358 { (exit 1); exit 1; }; };;
3362 # If the user did not use the arguments to specify the items to instantiate,
3363 # then the envvar interface is used. Set only those that are not.
3364 # We use the long form for the default assignment because of an extremely
3365 # bizarre bug on SunOS 4.1.3.
3366 if $ac_need_defaults; then
3367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3372 # Create a temporary directory, and hook for its removal unless debugging.
3375 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3376 trap '{ (exit 1); exit 1; }' 1 2 13 15
3379 # Create a (secure) tmp directory for tmp files.
3382 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3383 test -n "$tmp" && test -d "$tmp"
3386 tmp=$TMPDIR/cs$$-$RANDOM
3387 (umask 077 && mkdir $tmp)
3390 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3391 { (exit 1); exit 1; }
3396 cat >>$CONFIG_STATUS <<EOF
3399 # CONFIG_FILES section.
3402 # No need to generate the scripts if there are no CONFIG_FILES.
3403 # This happens for instance when ./config.status config.h
3404 if test -n "\$CONFIG_FILES"; then
3405 # Protect against being on the right side of a sed subst in config.status.
3406 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3407 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3408 s,@SHELL@,$SHELL,;t t
3409 s,@exec_prefix@,$exec_prefix,;t t
3410 s,@prefix@,$prefix,;t t
3411 s,@program_transform_name@,$program_transform_name,;t t
3412 s,@bindir@,$bindir,;t t
3413 s,@sbindir@,$sbindir,;t t
3414 s,@libexecdir@,$libexecdir,;t t
3415 s,@datadir@,$datadir,;t t
3416 s,@sysconfdir@,$sysconfdir,;t t
3417 s,@sharedstatedir@,$sharedstatedir,;t t
3418 s,@localstatedir@,$localstatedir,;t t
3419 s,@libdir@,$libdir,;t t
3420 s,@includedir@,$includedir,;t t
3421 s,@oldincludedir@,$oldincludedir,;t t
3422 s,@infodir@,$infodir,;t t
3423 s,@mandir@,$mandir,;t t
3424 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3425 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3426 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3427 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3428 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3429 s,@build_alias@,$build_alias,;t t
3430 s,@host_alias@,$host_alias,;t t
3431 s,@target_alias@,$target_alias,;t t
3432 s,@ECHO_C@,$ECHO_C,;t t
3433 s,@ECHO_N@,$ECHO_N,;t t
3434 s,@ECHO_T@,$ECHO_T,;t t
3435 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3438 s,@build@,$build,;t t
3439 s,@build_cpu@,$build_cpu,;t t
3440 s,@build_vendor@,$build_vendor,;t t
3441 s,@build_os@,$build_os,;t t
3443 s,@host_cpu@,$host_cpu,;t t
3444 s,@host_vendor@,$host_vendor,;t t
3445 s,@host_os@,$host_os,;t t
3446 s,@target@,$target,;t t
3447 s,@target_cpu@,$target_cpu,;t t
3448 s,@target_vendor@,$target_vendor,;t t
3449 s,@target_os@,$target_os,;t t
3450 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3451 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3452 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3453 s,@PACKAGE@,$PACKAGE,;t t
3454 s,@VERSION@,$VERSION,;t t
3455 s,@ACLOCAL@,$ACLOCAL,;t t
3456 s,@AUTOCONF@,$AUTOCONF,;t t
3457 s,@AUTOMAKE@,$AUTOMAKE,;t t
3458 s,@AUTOHEADER@,$AUTOHEADER,;t t
3459 s,@MAKEINFO@,$MAKEINFO,;t t
3460 s,@SET_MAKE@,$SET_MAKE,;t t
3462 s,@CFLAGS@,$CFLAGS,;t t
3463 s,@LDFLAGS@,$LDFLAGS,;t t
3464 s,@CPPFLAGS@,$CPPFLAGS,;t t
3465 s,@ac_ct_CC@,$ac_ct_CC,;t t
3466 s,@EXEEXT@,$EXEEXT,;t t
3467 s,@OBJEXT@,$OBJEXT,;t t
3470 s,@LEXLIB@,$LEXLIB,;t t
3471 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
3473 s,@BISON@,$BISON,;t t
3480 s,@LCLOBJ@,$LCLOBJ,;t t
3485 cat >>$CONFIG_STATUS <<\EOF
3486 # Split the substitutions into bite-sized pieces for seds with
3487 # small command number limits, like on Digital OSF/1 and HP-UX.
3489 ac_sed_frag=1 # Number of current file.
3490 ac_beg=1 # First line for current file.
3491 ac_end=$ac_max_sed_lines # Line after last line for current file.
3494 while $ac_more_lines; do
3495 if test $ac_beg -gt 1; then
3496 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3498 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3500 if test ! -s $tmp/subs.frag; then
3503 # The purpose of the label and of the branching condition is to
3504 # speed up the sed processing (if there are no `@' at all, there
3505 # is no need to browse any of the substitutions).
3506 # These are the two extra sed commands mentioned above.
3508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3509 if test -z "$ac_sed_cmds"; then
3510 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3512 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3514 ac_sed_frag=`expr $ac_sed_frag + 1`
3516 ac_end=`expr $ac_end + $ac_max_sed_lines`
3519 if test -z "$ac_sed_cmds"; then
3522 fi # test -n "$CONFIG_FILES"
3525 cat >>$CONFIG_STATUS <<\EOF
3526 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3527 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3529 - | *:- | *:-:* ) # input from stdin
3531 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3532 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3533 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3534 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3535 * ) ac_file_in=$ac_file.in ;;
3538 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3539 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3540 X"$ac_file" : 'X\(//\)[^/]' \| \
3541 X"$ac_file" : 'X\(//\)$' \| \
3542 X"$ac_file" : 'X\(/\)' \| \
3543 . : '\(.\)' 2>/dev/null ||
3545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3547 /^X\(\/\/\)$/{ s//\1/; q; }
3548 /^X\(\/\).*/{ s//\1/; q; }
3550 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3552 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3556 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3557 case $as_mkdir_dir in
3558 # Skip DOS drivespec
3559 ?:) as_incr_dir=$as_mkdir_dir ;;
3561 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3562 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3567 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3568 # A "../" for each directory in $ac_dir_suffix.
3569 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3571 ac_dir_suffix= ac_dots=
3576 if test -z "$ac_dots"; then
3579 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3582 ac_srcdir=$srcdir$ac_dir_suffix;
3583 ac_top_srcdir=$srcdir ;;
3585 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3586 ac_top_srcdir=$ac_dots$srcdir ;;
3590 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3591 *) ac_INSTALL=$ac_dots$INSTALL ;;
3594 if test x"$ac_file" != x-; then
3595 { echo "$as_me:3595: creating $ac_file" >&5
3596 echo "$as_me: creating $ac_file" >&6;}
3599 # Let's still pretend it is `configure' which instantiates (i.e., don't
3600 # use $as_me), people would be surprised to read:
3601 # /* config.h. Generated automatically by config.status. */
3602 configure_input="Generated automatically from `echo $ac_file_in |
3603 sed 's,.*/,,'` by configure."
3605 # First look for the input files in the build tree, otherwise in the
3607 ac_file_inputs=`IFS=:
3608 for f in $ac_file_in; do
3610 -) echo $tmp/stdin ;;
3612 # Absolute (can't be DOS-style, as IFS=:)
3613 test -f "$f" || { { echo "$as_me:3613: error: cannot find input file: $f" >&5
3614 echo "$as_me: error: cannot find input file: $f" >&2;}
3615 { (exit 1); exit 1; }; }
3618 if test -f "$f"; then
3621 elif test -f "$srcdir/$f"; then
3626 { { echo "$as_me:3626: error: cannot find input file: $f" >&5
3627 echo "$as_me: error: cannot find input file: $f" >&2;}
3628 { (exit 1); exit 1; }; }
3631 done` || { (exit 1); exit 1; }
3633 cat >>$CONFIG_STATUS <<EOF
3637 cat >>$CONFIG_STATUS <<\EOF
3639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3640 s,@configure_input@,$configure_input,;t t
3641 s,@srcdir@,$ac_srcdir,;t t
3642 s,@top_srcdir@,$ac_top_srcdir,;t t
3643 s,@INSTALL@,$ac_INSTALL,;t t
3644 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3646 if test x"$ac_file" != x-; then
3647 mv $tmp/out $ac_file
3655 cat >>$CONFIG_STATUS <<\EOF
3658 # CONFIG_HEADER section.
3661 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3662 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3664 # ac_d sets the value in "#define NAME VALUE" lines.
3665 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3666 ac_dB='[ ].*$,\1#\2'
3669 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3670 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3671 ac_uB='$,\1#\2define\3'
3675 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3676 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3678 - | *:- | *:-:* ) # input from stdin
3680 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3681 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3682 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3683 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3684 * ) ac_file_in=$ac_file.in ;;
3687 test x"$ac_file" != x- && { echo "$as_me:3687: creating $ac_file" >&5
3688 echo "$as_me: creating $ac_file" >&6;}
3690 # First look for the input files in the build tree, otherwise in the
3692 ac_file_inputs=`IFS=:
3693 for f in $ac_file_in; do
3695 -) echo $tmp/stdin ;;
3697 # Absolute (can't be DOS-style, as IFS=:)
3698 test -f "$f" || { { echo "$as_me:3698: error: cannot find input file: $f" >&5
3699 echo "$as_me: error: cannot find input file: $f" >&2;}
3700 { (exit 1); exit 1; }; }
3703 if test -f "$f"; then
3706 elif test -f "$srcdir/$f"; then
3711 { { echo "$as_me:3711: error: cannot find input file: $f" >&5
3712 echo "$as_me: error: cannot find input file: $f" >&2;}
3713 { (exit 1); exit 1; }; }
3716 done` || { (exit 1); exit 1; }
3717 # Remove the trailing spaces.
3718 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3722 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3723 # `conftest.undefs', that substitutes the proper values into
3724 # config.h.in to produce config.h. The first handles `#define'
3725 # templates, and the second `#undef' templates.
3726 # And first: Protect against being on the right side of a sed subst in
3727 # config.status. Protect against being in an unquoted here document
3729 rm -f conftest.defines conftest.undefs
3730 # Using a here document instead of a string reduces the quoting nightmare.
3731 # Putting comments in sed scripts is not portable.
3733 # `end' is used to avoid that the second main sed command (meant for
3734 # 0-ary CPP macros) applies to n-ary macro definitions.
3735 # See the Autoconf documentation for `clear'.
3736 cat >confdef2sed.sed <<\EOF
3741 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
3743 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3746 # If some macros were called several times there might be several times
3747 # the same #defines, which is useless. Nevertheless, we may not want to
3748 # sort them, since we want the *last* AC-DEFINE to be honored.
3749 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3750 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3751 rm -f confdef2sed.sed
3753 # This sed command replaces #undef with comments. This is necessary, for
3754 # example, in the case of _POSIX_SOURCE, which is predefined and required
3755 # on some systems where configure will not decide to define it.
3756 cat >>conftest.undefs <<\EOF
3757 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3760 # Break up conftest.defines because some shells have a limit on the size
3761 # of here documents, and old seds have small limits too (100 cmds).
3762 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3763 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3764 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3765 echo ' :' >>$CONFIG_STATUS
3767 while grep . conftest.defines >/dev/null
3769 # Write a limited-size here document to $tmp/defines.sed.
3770 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3771 # Speed up: don't consider the non `#define' lines.
3772 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3773 # Work around the forget-to-reset-the-flag bug.
3774 echo 't clr' >>$CONFIG_STATUS
3775 echo ': clr' >>$CONFIG_STATUS
3776 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3778 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3782 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3783 rm -f conftest.defines
3784 mv conftest.tail conftest.defines
3786 rm -f conftest.defines
3787 echo ' fi # egrep' >>$CONFIG_STATUS
3788 echo >>$CONFIG_STATUS
3790 # Break up conftest.undefs because some shells have a limit on the size
3791 # of here documents, and old seds have small limits too (100 cmds).
3792 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3794 while grep . conftest.undefs >/dev/null
3796 # Write a limited-size here document to $tmp/undefs.sed.
3797 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3798 # Speed up: don't consider the non `#undef'
3799 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3800 # Work around the forget-to-reset-the-flag bug.
3801 echo 't clr' >>$CONFIG_STATUS
3802 echo ': clr' >>$CONFIG_STATUS
3803 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3805 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3809 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3810 rm -f conftest.undefs
3811 mv conftest.tail conftest.undefs
3813 rm -f conftest.undefs
3815 cat >>$CONFIG_STATUS <<\EOF
3816 # Let's still pretend it is `configure' which instantiates (i.e., don't
3817 # use $as_me), people would be surprised to read:
3818 # /* config.h. Generated automatically by config.status. */
3819 if test x"$ac_file" = x-; then
3820 echo "/* Generated automatically by configure. */" >$tmp/config.h
3822 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
3824 cat $tmp/in >>$tmp/config.h
3826 if test x"$ac_file" != x-; then
3827 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3828 { echo "$as_me:3828: $ac_file is unchanged" >&5
3829 echo "$as_me: $ac_file is unchanged" >&6;}
3831 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3832 X"$ac_file" : 'X\(//\)[^/]' \| \
3833 X"$ac_file" : 'X\(//\)$' \| \
3834 X"$ac_file" : 'X\(/\)' \| \
3835 . : '\(.\)' 2>/dev/null ||
3837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3839 /^X\(\/\/\)$/{ s//\1/; q; }
3840 /^X\(\/\).*/{ s//\1/; q; }
3842 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3844 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3848 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3849 case $as_mkdir_dir in
3850 # Skip DOS drivespec
3851 ?:) as_incr_dir=$as_mkdir_dir ;;
3853 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3854 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3861 mv $tmp/config.h $ac_file
3869 cat >>$CONFIG_STATUS <<\EOF
3872 # CONFIG_COMMANDS section.
3874 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3875 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3876 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3879 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
3884 cat >>$CONFIG_STATUS <<\EOF
3886 { (exit 0); exit 0; }
3888 chmod +x $CONFIG_STATUS
3889 ac_clean_files=$ac_clean_files_save
3891 # configure is writing to config.log, and then calls config.status.
3892 # config.status does its own redirection, appending to config.log.
3893 # Unfortunately, on DOS this fails, as config.log is still kept open
3894 # by configure, so config.status won't be able to write to it; its
3895 # output is simply discarded. So we exec the FD to /dev/null,
3896 # effectively closing config.log, so it can be properly (re)opened and
3897 # appended to by config.status. When coming back to configure, we
3898 # need to make the FD available again.
3899 if test "$no_create" != yes; then
3902 $SHELL $CONFIG_STATUS || ac_cs_success=false
3904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3905 # would make configure fail if this is the last instruction.
3906 $ac_cs_success || { (exit 1); exit 1; }