2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Splint 3.1.2.
5 # Report bugs to <splint-bug@splint.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='Splint'
271 PACKAGE_TARNAME='splint'
272 PACKAGE_VERSION='3.1.2'
273 PACKAGE_STRING='Splint 3.1.2'
274 PACKAGE_BUGREPORT='splint-bug@splint.org'
276 ac_unique_file="src/lclinit.c"
277 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP LEX LEXLIB LEX_OUTPUT_ROOT LN_S BISON GREP DIFF CAT RM MV CP SED LCLOBJ LIBOBJS LTLIBOBJS'
280 # Initialize some variables set by options.
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
292 program_transform_name=s,x,x,
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he | -h)
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
446 # Obsolete; use --without-fp.
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
525 -site=* | --site=* | --sit=*)
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
548 -version | --version | --versio | --versi | --vers | -V)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
574 # Obsolete; use --with-x.
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
687 if test ! -r $srcdir/$ac_unique_file; then
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CC_set=${CC+set}
720 ac_cv_env_CC_set=${CC+set}
721 ac_cv_env_CC_value=$CC
722 ac_env_CFLAGS_set=${CFLAGS+set}
723 ac_env_CFLAGS_value=$CFLAGS
724 ac_cv_env_CFLAGS_set=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value=$CFLAGS
726 ac_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_env_LDFLAGS_value=$LDFLAGS
728 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value=$LDFLAGS
730 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 ac_env_CPP_set=${CPP+set}
735 ac_env_CPP_value=$CPP
736 ac_cv_env_CPP_set=${CPP+set}
737 ac_cv_env_CPP_value=$CPP
740 # Report the --help message.
742 if test "$ac_init_help" = "long"; then
743 # Omit some internal or obsolete options to make the list less imposing.
744 # This message is too long to be a string in the A/UX 3.1 sh.
746 \`configure' configures Splint 3.1.2 to adapt to many kinds of systems.
748 Usage: $0 [OPTION]... [VAR=VALUE]...
750 To assign environment variables (e.g., CC, CFLAGS...), specify them as
751 VAR=VALUE. See below for descriptions of some of the useful variables.
753 Defaults for the options are specified in brackets.
756 -h, --help display this help and exit
757 --help=short display options specific to this package
758 --help=recursive display the short help of all the included packages
759 -V, --version display version information and exit
760 -q, --quiet, --silent do not print \`checking...' messages
761 --cache-file=FILE cache test results in FILE [disabled]
762 -C, --config-cache alias for \`--cache-file=config.cache'
763 -n, --no-create do not create output files
764 --srcdir=DIR find the sources in DIR [configure dir or \`..']
769 Installation directories:
770 --prefix=PREFIX install architecture-independent files in PREFIX
772 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
775 By default, \`make install' will install all the files in
776 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
777 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
778 for instance \`--prefix=\$HOME'.
780 For better control, use the options below.
782 Fine tuning of the installation directories:
783 --bindir=DIR user executables [EPREFIX/bin]
784 --sbindir=DIR system admin executables [EPREFIX/sbin]
785 --libexecdir=DIR program executables [EPREFIX/libexec]
786 --datadir=DIR read-only architecture-independent data [PREFIX/share]
787 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
788 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
789 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
790 --libdir=DIR object code libraries [EPREFIX/lib]
791 --includedir=DIR C header files [PREFIX/include]
792 --oldincludedir=DIR C header files for non-gcc [/usr/include]
793 --infodir=DIR info documentation [PREFIX/info]
794 --mandir=DIR man documentation [PREFIX/man]
800 --program-prefix=PREFIX prepend PREFIX to installed program names
801 --program-suffix=SUFFIX append SUFFIX to installed program names
802 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
805 --build=BUILD configure for building on BUILD [guessed]
806 --host=HOST cross-compile to build programs to run on HOST [BUILD]
807 --target=TARGET configure for building compilers for TARGET [HOST]
811 if test -n "$ac_init_help"; then
812 case $ac_init_help in
813 short | recursive ) echo "Configuration of Splint 3.1.2:";;
818 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
819 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
820 --disable-dependency-tracking Speeds up one-time builds
821 --enable-dependency-tracking Do not reject slow dependency extractors
824 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
825 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
826 --without-lcl don't include support for LCL files
828 Some influential environment variables:
829 CC C compiler command
830 CFLAGS C compiler flags
831 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
832 nonstandard directory <lib dir>
833 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
834 headers in a nonstandard directory <include dir>
837 Use these variables to override the choices made by `configure' or to help
838 it to find libraries and programs with nonstandard names/locations.
840 Report bugs to <splint-bug@splint.org>.
844 if test "$ac_init_help" = "recursive"; then
845 # If there are subdirs, report their specific --help.
847 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848 test -d $ac_dir || continue
851 if test "$ac_dir" != .; then
852 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
853 # A "../" for each directory in $ac_dir_suffix.
854 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
856 ac_dir_suffix= ac_top_builddir=
860 .) # No --srcdir option. We are building in place.
862 if test -z "$ac_top_builddir"; then
865 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
867 [\\/]* | ?:[\\/]* ) # Absolute path.
868 ac_srcdir=$srcdir$ac_dir_suffix;
869 ac_top_srcdir=$srcdir ;;
871 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872 ac_top_srcdir=$ac_top_builddir$srcdir ;;
875 # Do not use `cd foo && pwd` to compute absolute paths, because
876 # the directories may not exist.
878 .) ac_abs_builddir="$ac_dir";;
881 .) ac_abs_builddir=`pwd`;;
882 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883 *) ac_abs_builddir=`pwd`/"$ac_dir";;
886 case $ac_abs_builddir in
887 .) ac_abs_top_builddir=${ac_top_builddir}.;;
889 case ${ac_top_builddir}. in
890 .) ac_abs_top_builddir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
895 case $ac_abs_builddir in
896 .) ac_abs_srcdir=$ac_srcdir;;
899 .) ac_abs_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
904 case $ac_abs_builddir in
905 .) ac_abs_top_srcdir=$ac_top_srcdir;;
907 case $ac_top_srcdir in
908 .) ac_abs_top_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
936 Splint configure 3.1.2
937 generated by GNU Autoconf 2.59
939 Copyright (C) 2003 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by Splint $as_me 3.1.2, which was
951 generated by GNU Autoconf 2.59. Invocation command line was
962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
974 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
985 test -z "$as_dir" && as_dir=.
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Strip out --silent because we don't want to record it for future runs.
1004 # Also quote any args containing shell meta-characters.
1005 # Make two passes to allow for proper duplicate-argument suppression.
1010 ac_must_keep_next=false
1016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018 | -silent | --silent | --silen | --sile | --sil)
1020 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1021 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1024 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1026 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1027 if test $ac_must_keep_next = true; then
1028 ac_must_keep_next=false # Got value, back to normal.
1031 *=* | --config-cache | -C | -disable-* | --disable-* \
1032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1034 | -with-* | --with-* | -without-* | --without-* | --x)
1035 case "$ac_configure_args0 " in
1036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1039 -* ) ac_must_keep_next=true ;;
1042 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1043 # Get rid of the leading space.
1049 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1050 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1052 # When interrupted or exit'd, cleanup temporary files, and complete
1053 # config.log. We remove comments because anyway the quotes in there
1054 # would cause problems or look ugly.
1055 # WARNING: Be sure not to use single quotes in there, as some shells,
1056 # such as our DU 5.0 friend, will then `close' the trap.
1057 trap 'exit_status=$?
1058 # Save into config.log some information that might help in debugging.
1063 ## ---------------- ##
1064 ## Cache variables. ##
1065 ## ---------------- ##
1068 # The following way of writing the cache mishandles newlines in values,
1071 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1074 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1079 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1086 ## ----------------- ##
1087 ## Output variables. ##
1088 ## ----------------- ##
1091 for ac_var in $ac_subst_vars
1093 eval ac_val=$`echo $ac_var`
1094 echo "$ac_var='"'"'$ac_val'"'"'"
1098 if test -n "$ac_subst_files"; then
1105 for ac_var in $ac_subst_files
1107 eval ac_val=$`echo $ac_var`
1108 echo "$ac_var='"'"'$ac_val'"'"'"
1113 if test -s confdefs.h; then
1120 sed "/^$/d" confdefs.h | sort
1123 test "$ac_signal" != 0 &&
1124 echo "$as_me: caught signal $ac_signal"
1125 echo "$as_me: exit $exit_status"
1127 rm -f core *.core &&
1128 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1131 for ac_signal in 1 2 13 15; do
1132 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1137 rm -rf conftest* confdefs.h
1138 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1141 # Predefined preprocessor variables.
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_NAME "$PACKAGE_NAME"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_STRING "$PACKAGE_STRING"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1168 # Let the site file select an alternate cache file if it wants to.
1169 # Prefer explicitly selected file to automatically selected ones.
1170 if test -z "$CONFIG_SITE"; then
1171 if test "x$prefix" != xNONE; then
1172 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1174 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1177 for ac_site_file in $CONFIG_SITE; do
1178 if test -r "$ac_site_file"; then
1179 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1180 echo "$as_me: loading site script $ac_site_file" >&6;}
1181 sed 's/^/| /' "$ac_site_file" >&5
1186 if test -r "$cache_file"; then
1187 # Some versions of bash will fail to source /dev/null (special
1188 # files actually), so we avoid doing that.
1189 if test -f "$cache_file"; then
1190 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1191 echo "$as_me: loading cache $cache_file" >&6;}
1193 [\\/]* | ?:[\\/]* ) . $cache_file;;
1194 *) . ./$cache_file;;
1198 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1199 echo "$as_me: creating cache $cache_file" >&6;}
1203 # Check that the precious variables saved in the cache have kept the same
1205 ac_cache_corrupted=false
1206 for ac_var in `(set) 2>&1 |
1207 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1208 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1209 eval ac_new_set=\$ac_env_${ac_var}_set
1210 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1211 eval ac_new_val="\$ac_env_${ac_var}_value"
1212 case $ac_old_set,$ac_new_set in
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1215 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1216 ac_cache_corrupted=: ;;
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1223 if test "x$ac_old_val" != "x$ac_new_val"; then
1224 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1225 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1226 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1227 echo "$as_me: former value: $ac_old_val" >&2;}
1228 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1229 echo "$as_me: current value: $ac_new_val" >&2;}
1230 ac_cache_corrupted=:
1233 # Pass precious variables to config.status.
1234 if test "$ac_new_set" = set; then
1236 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1237 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1238 *) ac_arg=$ac_var=$ac_new_val ;;
1240 case " $ac_configure_args " in
1241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1242 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1246 if $ac_cache_corrupted; then
1247 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1248 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1249 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1250 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1251 { (exit 1); exit 1; }; }
1255 ac_cpp='$CPP $CPPFLAGS'
1256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1288 for ac_dir in config $srcdir/config; do
1289 if test -f $ac_dir/install-sh; then
1291 ac_install_sh="$ac_aux_dir/install-sh -c"
1293 elif test -f $ac_dir/install.sh; then
1295 ac_install_sh="$ac_aux_dir/install.sh -c"
1297 elif test -f $ac_dir/shtool; then
1299 ac_install_sh="$ac_aux_dir/shtool install -c"
1303 if test -z "$ac_aux_dir"; then
1304 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1305 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1306 { (exit 1); exit 1; }; }
1308 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1309 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1310 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1315 # Make sure we can run config.sub.
1316 $ac_config_sub sun4 >/dev/null 2>&1 ||
1317 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1318 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1319 { (exit 1); exit 1; }; }
1321 echo "$as_me:$LINENO: checking build system type" >&5
1322 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1323 if test "${ac_cv_build+set}" = set; then
1324 echo $ECHO_N "(cached) $ECHO_C" >&6
1326 ac_cv_build_alias=$build_alias
1327 test -z "$ac_cv_build_alias" &&
1328 ac_cv_build_alias=`$ac_config_guess`
1329 test -z "$ac_cv_build_alias" &&
1330 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1331 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1332 { (exit 1); exit 1; }; }
1333 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1334 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1335 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1336 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1340 echo "${ECHO_T}$ac_cv_build" >&6
1342 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1343 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1344 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1347 echo "$as_me:$LINENO: checking host system type" >&5
1348 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1349 if test "${ac_cv_host+set}" = set; then
1350 echo $ECHO_N "(cached) $ECHO_C" >&6
1352 ac_cv_host_alias=$host_alias
1353 test -z "$ac_cv_host_alias" &&
1354 ac_cv_host_alias=$ac_cv_build_alias
1355 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1356 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1357 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1358 { (exit 1); exit 1; }; }
1361 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1362 echo "${ECHO_T}$ac_cv_host" >&6
1364 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1365 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1366 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1369 echo "$as_me:$LINENO: checking target system type" >&5
1370 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1371 if test "${ac_cv_target+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_target_alias=$target_alias
1375 test "x$ac_cv_target_alias" = "x" &&
1376 ac_cv_target_alias=$ac_cv_host_alias
1377 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1379 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1383 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1384 echo "${ECHO_T}$ac_cv_target" >&6
1385 target=$ac_cv_target
1386 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1391 # The aliases save the names the user supplied, while $host etc.
1392 # will get canonicalized.
1393 test -n "$target_alias" &&
1394 test "$program_prefix$program_suffix$program_transform_name" = \
1396 program_prefix=${target_alias}-
1398 am__api_version="1.6"
1399 # Find a good install program. We prefer a C program (faster),
1400 # so one script is as good as another. But avoid the broken or
1401 # incompatible versions:
1402 # SysV /etc/install, /usr/sbin/install
1403 # SunOS /usr/etc/install
1404 # IRIX /sbin/install
1406 # AmigaOS /C/install, which installs bootblocks on floppy discs
1407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1410 # OS/2's system install, which has a completely different semantic
1411 # ./install, which can be erroneously created by make from ./install.sh.
1412 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1413 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1414 if test -z "$INSTALL"; then
1415 if test "${ac_cv_path_install+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 # Account for people who put trailing slashes in PATH elements.
1425 ./ | .// | /cC/* | \
1426 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1427 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1430 # OSF1 and SCO ODT 3.0 have their own names for install.
1431 # Don't use installbsd from OSF since it installs stuff as root
1433 for ac_prog in ginstall scoinst install; do
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1436 if test $ac_prog = install &&
1437 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1438 # AIX install. It has an incompatible calling convention.
1440 elif test $ac_prog = install &&
1441 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1442 # program-specific install script used by HP pwplus--don't use.
1445 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1457 if test "${ac_cv_path_install+set}" = set; then
1458 INSTALL=$ac_cv_path_install
1460 # As a last resort, use the slow shell script. We don't cache a
1461 # path for INSTALL within a source directory, because that will
1462 # break other packages using the cache if that directory is
1463 # removed, or if the path is relative.
1464 INSTALL=$ac_install_sh
1467 echo "$as_me:$LINENO: result: $INSTALL" >&5
1468 echo "${ECHO_T}$INSTALL" >&6
1470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1471 # It thinks the first close brace ends the variable substitution.
1472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1478 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1479 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1482 echo timestamp > conftest.file
1483 # Do `set' in a subshell so we don't clobber the current shell's
1484 # arguments. Must try -L first in case configure is actually a
1485 # symlink; some systems play weird games with the mod time of symlinks
1486 # (eg FreeBSD returns the mod time of the symlink's containing
1489 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1490 if test "$*" = "X"; then
1492 set X `ls -t $srcdir/configure conftest.file`
1495 if test "$*" != "X $srcdir/configure conftest.file" \
1496 && test "$*" != "X conftest.file $srcdir/configure"; then
1498 # If neither matched, then we have a broken ls. This can happen
1499 # if, for instance, CONFIG_SHELL is bash and it inherits a
1500 # broken ls alias from the environment. This has actually
1501 # happened. Such a system could not be considered "sane".
1502 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1503 alias in your environment" >&5
1504 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1505 alias in your environment" >&2;}
1506 { (exit 1); exit 1; }; }
1509 test "$2" = conftest.file
1515 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1516 Check your system clock" >&5
1517 echo "$as_me: error: newly created file is older than distributed files!
1518 Check your system clock" >&2;}
1519 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: yes" >&5
1522 echo "${ECHO_T}yes" >&6
1523 test "$program_prefix" != NONE &&
1524 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1525 # Use a double $ so make ignores it.
1526 test "$program_suffix" != NONE &&
1527 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1528 # Double any \ or $. echo might interpret backslashes.
1529 # By default was `s,x,x', remove it if useless.
1530 cat <<\_ACEOF >conftest.sed
1531 s/[\\$]/&&/g;s/;s,x,x,$//
1533 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1537 # expand $ac_aux_dir to an absolute path
1538 am_aux_dir=`cd $ac_aux_dir && pwd`
1540 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1541 # Use eval to expand $SHELL
1542 if eval "$MISSING --run true"; then
1543 am_missing_run="$MISSING --run "
1546 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1547 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1550 for ac_prog in gawk mawk nawk awk
1552 # Extract the first word of "$ac_prog", so it can be a program name with args.
1553 set dummy $ac_prog; ac_word=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_AWK+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$AWK"; then
1560 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 for ac_exec_ext in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_AWK="$ac_prog"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 if test -n "$AWK"; then
1580 echo "$as_me:$LINENO: result: $AWK" >&5
1581 echo "${ECHO_T}$AWK" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1587 test -n "$AWK" && break
1590 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1591 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1592 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1593 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 cat >conftest.make <<\_ACEOF
1598 @echo 'ac_maketemp="$(MAKE)"'
1600 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1601 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1602 if test -n "$ac_maketemp"; then
1603 eval ac_cv_prog_make_${ac_make}_set=yes
1605 eval ac_cv_prog_make_${ac_make}_set=no
1609 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1610 echo "$as_me:$LINENO: result: yes" >&5
1611 echo "${ECHO_T}yes" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1616 SET_MAKE="MAKE=${MAKE-make}"
1619 # test to see if srcdir already configured
1620 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1621 test -f $srcdir/config.status; then
1622 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1623 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1624 { (exit 1); exit 1; }; }
1627 # Define the identity of the package.
1632 # Some tools Automake needs.
1634 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1637 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1640 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1643 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1646 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1649 AMTAR=${AMTAR-"${am_missing_run}tar"}
1651 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1653 # Installed binaries are usually stripped using `strip' when the user
1654 # run `make install-strip'. However `strip' might not be the right
1655 # tool to use in cross-compilation environments, therefore Automake
1656 # will honor the `STRIP' environment variable to overrule this program.
1657 if test "$cross_compiling" != no; then
1658 if test -n "$ac_tool_prefix"; then
1659 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1660 set dummy ${ac_tool_prefix}strip; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_STRIP+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$STRIP"; then
1667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 STRIP=$ac_cv_prog_STRIP
1686 if test -n "$STRIP"; then
1687 echo "$as_me:$LINENO: result: $STRIP" >&5
1688 echo "${ECHO_T}$STRIP" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1695 if test -z "$ac_cv_prog_STRIP"; then
1697 # Extract the first word of "strip", so it can be a program name with args.
1698 set dummy strip; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_STRIP"; then
1705 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_STRIP="strip"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1725 if test -n "$ac_ct_STRIP"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1727 echo "${ECHO_T}$ac_ct_STRIP" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1735 STRIP="$ac_cv_prog_STRIP"
1739 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1741 # We need awk for the "check" target. The system "awk" is bad on
1746 # Add the stamp file to the list of files AC keeps track of,
1747 # along with our hook.
1748 ac_config_headers="$ac_config_headers config.h:config.hin"
1758 #drl 12-19-2001 commented out so Splint won't depend on C++
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765 if test -n "$ac_tool_prefix"; then
1766 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1767 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_CC+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 if test -n "$CC"; then
1794 echo "$as_me:$LINENO: result: $CC" >&5
1795 echo "${ECHO_T}$CC" >&6
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1802 if test -z "$ac_cv_prog_CC"; then
1804 # Extract the first word of "gcc", so it can be a program name with args.
1805 set dummy gcc; ac_word=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_ac_ct_CC="gcc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1831 if test -n "$ac_ct_CC"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1833 echo "${ECHO_T}$ac_ct_CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1844 if test -z "$CC"; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}cc; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$CC"; then
1854 ac_cv_prog_CC="$CC" # Let the user override the test.
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_CC="${ac_tool_prefix}cc"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test -n "$CC"; then
1874 echo "$as_me:$LINENO: result: $CC" >&5
1875 echo "${ECHO_T}$CC" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_CC"; then
1884 # Extract the first word of "cc", so it can be a program name with args.
1885 set dummy cc; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_CC"; then
1892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_CC="cc"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1911 if test -n "$ac_ct_CC"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1913 echo "${ECHO_T}$ac_ct_CC" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1925 if test -z "$CC"; then
1926 # Extract the first word of "cc", so it can be a program name with args.
1927 set dummy cc; ac_word=$2
1928 echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930 if test "${ac_cv_prog_CC+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test -n "$CC"; then
1934 ac_cv_prog_CC="$CC" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1945 ac_prog_rejected=yes
1949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 if test $ac_prog_rejected = yes; then
1956 # We found a bogon in the path, so make sure we never use it.
1957 set dummy $ac_cv_prog_CC
1959 if test $# != 0; then
1960 # We chose a different compiler from the bogus one.
1961 # However, it has the same basename, so the bogon will be chosen
1962 # first if we set CC to just the basename; use the full file name.
1964 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1970 if test -n "$CC"; then
1971 echo "$as_me:$LINENO: result: $CC" >&5
1972 echo "${ECHO_T}$CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1979 if test -z "$CC"; then
1980 if test -n "$ac_tool_prefix"; then
1983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1985 echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987 if test "${ac_cv_prog_CC+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 if test -n "$CC"; then
1991 ac_cv_prog_CC="$CC" # Let the user override the test.
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2000 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 if test -n "$CC"; then
2011 echo "$as_me:$LINENO: result: $CC" >&5
2012 echo "${ECHO_T}$CC" >&6
2014 echo "$as_me:$LINENO: result: no" >&5
2015 echo "${ECHO_T}no" >&6
2018 test -n "$CC" && break
2021 if test -z "$CC"; then
2025 # Extract the first word of "$ac_prog", so it can be a program name with args.
2026 set dummy $ac_prog; ac_word=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$ac_ct_CC"; then
2033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_ac_ct_CC="$ac_prog"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2052 if test -n "$ac_ct_CC"; then
2053 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2054 echo "${ECHO_T}$ac_ct_CC" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2060 test -n "$ac_ct_CC" && break
2069 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2070 See \`config.log' for more details." >&5
2071 echo "$as_me: error: no acceptable C compiler found in \$PATH
2072 See \`config.log' for more details." >&2;}
2073 { (exit 1); exit 1; }; }
2075 # Provide some information about the compiler.
2076 echo "$as_me:$LINENO:" \
2077 "checking for C compiler version" >&5
2078 ac_compiler=`set X $ac_compile; echo $2`
2079 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2080 (eval $ac_compiler --version </dev/null >&5) 2>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }
2084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2085 (eval $ac_compiler -v </dev/null >&5) 2>&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }
2089 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2090 (eval $ac_compiler -V </dev/null >&5) 2>&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }
2095 cat >conftest.$ac_ext <<_ACEOF
2098 cat confdefs.h >>conftest.$ac_ext
2099 cat >>conftest.$ac_ext <<_ACEOF
2100 /* end confdefs.h. */
2110 ac_clean_files_save=$ac_clean_files
2111 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2112 # Try to create an executable without -o first, disregard a.out.
2113 # It will help us diagnose broken compilers, and finding out an intuition
2115 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2116 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2117 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2118 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2119 (eval $ac_link_default) 2>&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; then
2123 # Find the output, starting from the most likely. This scheme is
2124 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2127 # Be careful to initialize this variable, since it used to be cached.
2128 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2130 # b.out is created by i960 compilers.
2131 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2133 test -f "$ac_file" || continue
2135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2138 # This is the source file.
2141 # We found the default executable, but exeext='' is most
2145 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2146 # FIXME: I believe we export ac_cv_exeext for Libtool,
2147 # but it would be cool to find out if it's true. Does anybody
2148 # maintain Libtool? --akim.
2156 echo "$as_me: failed program was:" >&5
2157 sed 's/^/| /' conftest.$ac_ext >&5
2159 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2160 See \`config.log' for more details." >&5
2161 echo "$as_me: error: C compiler cannot create executables
2162 See \`config.log' for more details." >&2;}
2163 { (exit 77); exit 77; }; }
2166 ac_exeext=$ac_cv_exeext
2167 echo "$as_me:$LINENO: result: $ac_file" >&5
2168 echo "${ECHO_T}$ac_file" >&6
2170 # Check the compiler produces executables we can run. If not, either
2171 # the compiler is broken, or we cross compile.
2172 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2173 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2174 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2175 # If not cross compiling, check that we can run a simple program.
2176 if test "$cross_compiling" != yes; then
2177 if { ac_try='./$ac_file'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2185 if test "$cross_compiling" = maybe; then
2188 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2189 If you meant to cross compile, use \`--host'.
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: cannot run C compiled programs.
2192 If you meant to cross compile, use \`--host'.
2193 See \`config.log' for more details." >&2;}
2194 { (exit 1); exit 1; }; }
2198 echo "$as_me:$LINENO: result: yes" >&5
2199 echo "${ECHO_T}yes" >&6
2201 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2202 ac_clean_files=$ac_clean_files_save
2203 # Check the compiler produces executables we can run. If not, either
2204 # the compiler is broken, or we cross compile.
2205 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2206 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2207 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2208 echo "${ECHO_T}$cross_compiling" >&6
2210 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2211 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2213 (eval $ac_link) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; then
2217 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2218 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2219 # work properly (i.e., refer to `conftest.exe'), while it won't with
2221 for ac_file in conftest.exe conftest conftest.*; do
2222 test -f "$ac_file" || continue
2224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2239 rm -f conftest$ac_cv_exeext
2240 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2241 echo "${ECHO_T}$ac_cv_exeext" >&6
2243 rm -f conftest.$ac_ext
2244 EXEEXT=$ac_cv_exeext
2246 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2247 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2248 if test "${ac_cv_objext+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 cat >conftest.$ac_ext <<_ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2266 rm -f conftest.o conftest.obj
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; then
2272 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2275 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2283 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2284 See \`config.log' for more details." >&5
2285 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2286 See \`config.log' for more details." >&2;}
2287 { (exit 1); exit 1; }; }
2290 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2292 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2293 echo "${ECHO_T}$ac_cv_objext" >&6
2294 OBJEXT=$ac_cv_objext
2296 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2297 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2298 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 cat >conftest.$ac_ext <<_ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2319 rm -f conftest.$ac_objext
2320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2321 (eval $ac_compile) 2>conftest.er1
2323 grep -v '^ *+' conftest.er1 >conftest.err
2325 cat conftest.err >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } &&
2328 { ac_try='test -z "$ac_c_werror_flag"
2329 || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.$ac_ext >&5
2348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2352 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2353 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2354 GCC=`test $ac_compiler_gnu = yes && echo yes`
2355 ac_test_CFLAGS=${CFLAGS+set}
2356 ac_save_CFLAGS=$CFLAGS
2358 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2359 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2360 if test "${ac_cv_prog_cc_g+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 cat >conftest.$ac_ext <<_ACEOF
2366 cat confdefs.h >>conftest.$ac_ext
2367 cat >>conftest.$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2378 rm -f conftest.$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>conftest.er1
2382 grep -v '^ *+' conftest.er1 >conftest.err
2384 cat conftest.err >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } &&
2387 { ac_try='test -z "$ac_c_werror_flag"
2388 || test ! -s conftest.err'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; } &&
2394 { ac_try='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2409 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2410 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2411 if test "$ac_test_CFLAGS" = set; then
2412 CFLAGS=$ac_save_CFLAGS
2413 elif test $ac_cv_prog_cc_g = yes; then
2414 if test "$GCC" = yes; then
2420 if test "$GCC" = yes; then
2426 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2427 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2428 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_cv_prog_cc_stdc=no
2433 cat >conftest.$ac_ext <<_ACEOF
2436 cat confdefs.h >>conftest.$ac_ext
2437 cat >>conftest.$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2441 #include <sys/types.h>
2442 #include <sys/stat.h>
2443 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2444 struct buf { int x; };
2445 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2446 static char *e (p, i)
2452 static char *f (char * (*g) (char **, int), char **p, ...)
2457 s = g (p, va_arg (v,int));
2462 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2463 function prototypes and stuff, but not '\xHH' hex character constants.
2464 These don't provoke an error unfortunately, instead are silently treated
2465 as 'x'. The following induces an error, until -std1 is added to get
2466 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2467 array size at least. It's necessary to write '\x00'==0 to get something
2468 that's true only with -std1. */
2469 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2471 int test (int i, double x);
2472 struct s1 {int (*f) (int a);};
2473 struct s2 {int (*f) (double a);};
2474 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2480 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2485 # Don't try gcc -ansi; that turns off useful extensions and
2486 # breaks some systems' header files.
2487 # AIX -qlanglvl=ansi
2488 # Ultrix and OSF/1 -std1
2489 # HP-UX 10.20 and later -Ae
2490 # HP-UX older versions -Aa -D_HPUX_SOURCE
2491 # SVR4 -Xc -D__EXTENSIONS__
2492 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2494 CC="$ac_save_CC $ac_arg"
2495 rm -f conftest.$ac_objext
2496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497 (eval $ac_compile) 2>conftest.er1
2499 grep -v '^ *+' conftest.er1 >conftest.err
2501 cat conftest.err >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); } &&
2504 { ac_try='test -z "$ac_c_werror_flag"
2505 || test ! -s conftest.err'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; } &&
2511 { ac_try='test -s conftest.$ac_objext'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; }; then
2517 ac_cv_prog_cc_stdc=$ac_arg
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2524 rm -f conftest.err conftest.$ac_objext
2526 rm -f conftest.$ac_ext conftest.$ac_objext
2531 case "x$ac_cv_prog_cc_stdc" in
2533 echo "$as_me:$LINENO: result: none needed" >&5
2534 echo "${ECHO_T}none needed" >&6 ;;
2536 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2537 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2538 CC="$CC $ac_cv_prog_cc_stdc" ;;
2541 # Some people use a C++ compiler to compile C. Since we use `exit',
2542 # in C++ we need to declare it. In case someone uses the same compiler
2543 # for both compiling C and C++ we need to have the C++ compiler decide
2544 # the declaration of exit, since it's the most demanding environment.
2545 cat >conftest.$ac_ext <<_ACEOF
2550 rm -f conftest.$ac_objext
2551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>conftest.er1
2554 grep -v '^ *+' conftest.er1 >conftest.err
2556 cat conftest.err >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); } &&
2559 { ac_try='test -z "$ac_c_werror_flag"
2560 || test ! -s conftest.err'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; } &&
2566 { ac_try='test -s conftest.$ac_objext'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; }; then
2572 for ac_declaration in \
2574 'extern "C" void std::exit (int) throw (); using std::exit;' \
2575 'extern "C" void std::exit (int); using std::exit;' \
2576 'extern "C" void exit (int) throw ();' \
2577 'extern "C" void exit (int);' \
2580 cat >conftest.$ac_ext <<_ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2596 rm -f conftest.$ac_objext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1 >conftest.err
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try='test -z "$ac_c_werror_flag"
2606 || test ! -s conftest.err'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; } &&
2612 { ac_try='test -s conftest.$ac_objext'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag"
2651 || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672 if test -n "$ac_declaration"; then
2673 echo '#ifdef __cplusplus' >>confdefs.h
2674 echo $ac_declaration >>confdefs.h
2675 echo '#endif' >>confdefs.h
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2685 ac_cpp='$CPP $CPPFLAGS'
2686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2689 rm -f .deps 2>/dev/null
2690 mkdir .deps 2>/dev/null
2691 if test -d .deps; then
2694 # MS-DOS does not allow filenames that begin with a dot.
2697 rmdir .deps 2>/dev/null
2700 ac_config_commands="$ac_config_commands depfiles"
2703 am_make=${MAKE-make}
2704 cat > confinc << 'END'
2708 # If we don't find an include directive, just comment out the code.
2709 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2710 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2714 # First try GNU make style include.
2715 echo "include confinc" > confmf
2716 # We grep out `Entering directory' and `Leaving directory'
2717 # messages which can occur if `w' ends up in MAKEFLAGS.
2718 # In particular we don't look at `^make:' because GNU make might
2719 # be invoked under some other name (usually "gmake"), in which
2720 # case it prints its new name instead of `make'.
2721 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2726 # Now try BSD make style include.
2727 if test "$am__include" = "#"; then
2728 echo '.include "confinc"' > confmf
2729 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2730 am__include=.include
2737 echo "$as_me:$LINENO: result: $_am_result" >&5
2738 echo "${ECHO_T}$_am_result" >&6
2739 rm -f confinc confmf
2741 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2742 if test "${enable_dependency_tracking+set}" = set; then
2743 enableval="$enable_dependency_tracking"
2746 if test "x$enable_dependency_tracking" != xno; then
2747 am_depcomp="$ac_aux_dir/depcomp"
2752 if test "x$enable_dependency_tracking" != xno; then
2763 depcc="$CC" am_compiler_list=
2765 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2766 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2767 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2771 # We make a subdir and do the tests there. Otherwise we can end up
2772 # making bogus files that we don't know about and never remove. For
2773 # instance it was reported that on HP-UX the gcc test will end up
2774 # making a dummy file named `D' -- because `-MD' means `put the output
2777 # Copy depcomp to subdir because otherwise we won't find it if we're
2778 # using a relative directory.
2779 cp "$am_depcomp" conftest.dir
2782 am_cv_CC_dependencies_compiler_type=none
2783 if test "$am_compiler_list" = ""; then
2784 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2786 for depmode in $am_compiler_list; do
2787 # We need to recreate these files for each test, as the compiler may
2788 # overwrite some of them when testing with obscure command lines.
2789 # This happens at least with the AIX C compiler.
2790 echo '#include "conftest.h"' > conftest.c
2791 echo 'int i;' > conftest.h
2792 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2796 # after this tag, mechanisms are not by side-effect, so they'll
2797 # only be used when explicitly requested
2798 if test "x$enable_dependency_tracking" = xyes; then
2806 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2807 # mode. It turns out that the SunPro C++ compiler does not properly
2808 # handle `-M -o', and we need to detect this.
2809 if depmode=$depmode \
2810 source=conftest.c object=conftest.o \
2811 depfile=conftest.Po tmpdepfile=conftest.TPo \
2812 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2813 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2814 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2815 am_cv_CC_dependencies_compiler_type=$depmode
2823 am_cv_CC_dependencies_compiler_type=none
2827 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2828 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2829 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2838 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2839 # On Suns, sometimes $CPP names a directory.
2840 if test -n "$CPP" && test -d "$CPP"; then
2843 if test -z "$CPP"; then
2844 if test "${ac_cv_prog_CPP+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 # Double quotes because CPP needs to be expanded
2848 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2851 for ac_c_preproc_warn_flag in '' yes
2853 # Use a header file that comes with gcc, so configuring glibc
2854 # with a fresh cross-compiler works.
2855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2856 # <limits.h> exists even on freestanding compilers.
2857 # On the NeXT, cc -E runs the code through the compiler's parser,
2858 # not just through cpp. "Syntax error" is here to catch this case.
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2866 # include <limits.h>
2868 # include <assert.h>
2872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2875 grep -v '^ *+' conftest.er1 >conftest.err
2877 cat conftest.err >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } >/dev/null; then
2880 if test -s conftest.err; then
2881 ac_cpp_err=$ac_c_preproc_warn_flag
2882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2889 if test -z "$ac_cpp_err"; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 # Broken: fails on valid input.
2898 rm -f conftest.err conftest.$ac_ext
2900 # OK, works on sane cases. Now check whether non-existent headers
2901 # can be detected and how.
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2908 #include <ac_nonexistent.h>
2910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2913 grep -v '^ *+' conftest.er1 >conftest.err
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } >/dev/null; then
2918 if test -s conftest.err; then
2919 ac_cpp_err=$ac_c_preproc_warn_flag
2920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2927 if test -z "$ac_cpp_err"; then
2928 # Broken: success on invalid input.
2931 echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 # Passes both tests.
2938 rm -f conftest.err conftest.$ac_ext
2941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2942 rm -f conftest.err conftest.$ac_ext
2943 if $ac_preproc_ok; then
2955 echo "$as_me:$LINENO: result: $CPP" >&5
2956 echo "${ECHO_T}$CPP" >&6
2958 for ac_c_preproc_warn_flag in '' yes
2960 # Use a header file that comes with gcc, so configuring glibc
2961 # with a fresh cross-compiler works.
2962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2963 # <limits.h> exists even on freestanding compilers.
2964 # On the NeXT, cc -E runs the code through the compiler's parser,
2965 # not just through cpp. "Syntax error" is here to catch this case.
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2973 # include <limits.h>
2975 # include <assert.h>
2979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } >/dev/null; then
2987 if test -s conftest.err; then
2988 ac_cpp_err=$ac_c_preproc_warn_flag
2989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2996 if test -z "$ac_cpp_err"; then
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 # Broken: fails on valid input.
3005 rm -f conftest.err conftest.$ac_ext
3007 # OK, works on sane cases. Now check whether non-existent headers
3008 # can be detected and how.
3009 cat >conftest.$ac_ext <<_ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3015 #include <ac_nonexistent.h>
3017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3020 grep -v '^ *+' conftest.er1 >conftest.err
3022 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } >/dev/null; then
3025 if test -s conftest.err; then
3026 ac_cpp_err=$ac_c_preproc_warn_flag
3027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3034 if test -z "$ac_cpp_err"; then
3035 # Broken: success on invalid input.
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 # Passes both tests.
3045 rm -f conftest.err conftest.$ac_ext
3048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3049 rm -f conftest.err conftest.$ac_ext
3050 if $ac_preproc_ok; then
3053 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3054 See \`config.log' for more details." >&5
3055 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3056 See \`config.log' for more details." >&2;}
3057 { (exit 1); exit 1; }; }
3061 ac_cpp='$CPP $CPPFLAGS'
3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067 for ac_prog in flex lex
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_LEX+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 if test -n "$LEX"; then
3077 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_LEX="$ac_prog"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test -n "$LEX"; then
3097 echo "$as_me:$LINENO: result: $LEX" >&5
3098 echo "${ECHO_T}$LEX" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3104 test -n "$LEX" && break
3106 test -n "$LEX" || LEX=":"
3108 if test -z "$LEXLIB"
3110 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3111 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3112 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 ac_check_lib_save_LIBS=$LIBS
3117 cat >conftest.$ac_ext <<_ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3124 /* Override any gcc2 internal prototype to avoid an error. */
3128 /* We use char because int might match the return type of a gcc2
3129 builtin and then its argument prototype would still apply. */
3139 rm -f conftest.$ac_objext conftest$ac_exeext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3141 (eval $ac_link) 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
3148 { ac_try='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; } &&
3155 { ac_try='test -s conftest$ac_exeext'
3156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }; }; then
3161 ac_cv_lib_fl_yywrap=yes
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 ac_cv_lib_fl_yywrap=no
3168 rm -f conftest.err conftest.$ac_objext \
3169 conftest$ac_exeext conftest.$ac_ext
3170 LIBS=$ac_check_lib_save_LIBS
3172 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3173 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3174 if test $ac_cv_lib_fl_yywrap = yes; then
3177 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3178 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3179 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 ac_check_lib_save_LIBS=$LIBS
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3191 /* Override any gcc2 internal prototype to avoid an error. */
3195 /* We use char because int might match the return type of a gcc2
3196 builtin and then its argument prototype would still apply. */
3206 rm -f conftest.$ac_objext conftest$ac_exeext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3208 (eval $ac_link) 2>conftest.er1
3210 grep -v '^ *+' conftest.er1 >conftest.err
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_c_werror_flag"
3216 || test ! -s conftest.err'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try='test -s conftest$ac_exeext'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3228 ac_cv_lib_l_yywrap=yes
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_cv_lib_l_yywrap=no
3235 rm -f conftest.err conftest.$ac_objext \
3236 conftest$ac_exeext conftest.$ac_ext
3237 LIBS=$ac_check_lib_save_LIBS
3239 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3240 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3241 if test $ac_cv_lib_l_yywrap = yes; then
3249 if test "x$LEX" != "x:"; then
3250 echo "$as_me:$LINENO: checking lex output file root" >&5
3251 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3252 if test "${ac_cv_prog_lex_root+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 # The minimal lex program is just a single line: %%. But some broken lexes
3256 # (Solaris, I think it was) want two %% lines, so accommodate them.
3257 cat >conftest.l <<_ACEOF
3261 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3262 (eval $LEX conftest.l) 2>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }
3266 if test -f lex.yy.c; then
3267 ac_cv_prog_lex_root=lex.yy
3268 elif test -f lexyy.c; then
3269 ac_cv_prog_lex_root=lexyy
3271 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3272 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3273 { (exit 1); exit 1; }; }
3276 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3277 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3279 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3281 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3282 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3283 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 # POSIX says lex can declare yytext either as a pointer or an array; the
3287 # default is implementation-dependent. Figure out which it is, since
3288 # not all implementations provide the %pointer and %array declarations.
3289 ac_cv_prog_lex_yytext_pointer=no
3290 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3292 LIBS="$LIBS $LEXLIB"
3293 cat >conftest.$ac_ext <<_ACEOF
3294 `cat $LEX_OUTPUT_ROOT.c`
3296 rm -f conftest.$ac_objext conftest$ac_exeext
3297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3298 (eval $ac_link) 2>conftest.er1
3300 grep -v '^ *+' conftest.er1 >conftest.err
3302 cat conftest.err >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } &&
3305 { ac_try='test -z "$ac_c_werror_flag"
3306 || test ! -s conftest.err'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; } &&
3312 { ac_try='test -s conftest$ac_exeext'
3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }; }; then
3318 ac_cv_prog_lex_yytext_pointer=yes
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3324 rm -f conftest.err conftest.$ac_objext \
3325 conftest$ac_exeext conftest.$ac_ext
3327 rm -f "${LEX_OUTPUT_ROOT}.c"
3330 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3331 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3332 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3334 cat >>confdefs.h <<\_ACEOF
3335 #define YYTEXT_POINTER 1
3341 if test "$LEX" = :; then
3342 LEX=${am_missing_run}flex
3344 # Find a good install program. We prefer a C program (faster),
3345 # so one script is as good as another. But avoid the broken or
3346 # incompatible versions:
3347 # SysV /etc/install, /usr/sbin/install
3348 # SunOS /usr/etc/install
3349 # IRIX /sbin/install
3351 # AmigaOS /C/install, which installs bootblocks on floppy discs
3352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3355 # OS/2's system install, which has a completely different semantic
3356 # ./install, which can be erroneously created by make from ./install.sh.
3357 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3358 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3359 if test -z "$INSTALL"; then
3360 if test "${ac_cv_path_install+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 # Account for people who put trailing slashes in PATH elements.
3370 ./ | .// | /cC/* | \
3371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3372 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3375 # OSF1 and SCO ODT 3.0 have their own names for install.
3376 # Don't use installbsd from OSF since it installs stuff as root
3378 for ac_prog in ginstall scoinst install; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3381 if test $ac_prog = install &&
3382 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3383 # AIX install. It has an incompatible calling convention.
3385 elif test $ac_prog = install &&
3386 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3387 # program-specific install script used by HP pwplus--don't use.
3390 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3402 if test "${ac_cv_path_install+set}" = set; then
3403 INSTALL=$ac_cv_path_install
3405 # As a last resort, use the slow shell script. We don't cache a
3406 # path for INSTALL within a source directory, because that will
3407 # break other packages using the cache if that directory is
3408 # removed, or if the path is relative.
3409 INSTALL=$ac_install_sh
3412 echo "$as_me:$LINENO: result: $INSTALL" >&5
3413 echo "${ECHO_T}$INSTALL" >&6
3415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3416 # It thinks the first close brace ends the variable substitution.
3417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3423 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3424 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3425 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3426 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3427 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 cat >conftest.make <<\_ACEOF
3431 @echo 'ac_maketemp="$(MAKE)"'
3433 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3434 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3435 if test -n "$ac_maketemp"; then
3436 eval ac_cv_prog_make_${ac_make}_set=yes
3438 eval ac_cv_prog_make_${ac_make}_set=no
3442 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6
3447 echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6
3449 SET_MAKE="MAKE=${MAKE-make}"
3452 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3453 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3455 if test "$LN_S" = "ln -s"; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3459 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3460 echo "${ECHO_T}no, using $LN_S" >&6
3463 # Extract the first word of "bison", so it can be a program name with args.
3464 set dummy bison; ac_word=$2
3465 echo "$as_me:$LINENO: checking for $ac_word" >&5
3466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467 if test "${ac_cv_prog_BISON+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 if test -n "$BISON"; then
3471 ac_cv_prog_BISON="$BISON" # Let the user override the test.
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir=.
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_BISON="bison"
3481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="no"
3490 BISON=$ac_cv_prog_BISON
3491 if test -n "$BISON"; then
3492 echo "$as_me:$LINENO: result: $BISON" >&5
3493 echo "${ECHO_T}$BISON" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3499 # Extract the first word of "grep", so it can be a program name with args.
3500 set dummy grep; ac_word=$2
3501 echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3503 if test "${ac_cv_prog_GREP+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 if test -n "$GREP"; then
3507 ac_cv_prog_GREP="$GREP" # Let the user override the test.
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516 ac_cv_prog_GREP="grep"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="grep-is-missing"
3526 GREP=$ac_cv_prog_GREP
3527 if test -n "$GREP"; then
3528 echo "$as_me:$LINENO: result: $GREP" >&5
3529 echo "${ECHO_T}$GREP" >&6
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3535 # Extract the first word of "diff", so it can be a program name with args.
3536 set dummy diff; ac_word=$2
3537 echo "$as_me:$LINENO: checking for $ac_word" >&5
3538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3539 if test "${ac_cv_prog_DIFF+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 if test -n "$DIFF"; then
3543 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir=.
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_DIFF="diff"
3553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 test -z "$ac_cv_prog_DIFF" && ac_cv_prog_DIFF="diff-is-missing"
3562 DIFF=$ac_cv_prog_DIFF
3563 if test -n "$DIFF"; then
3564 echo "$as_me:$LINENO: result: $DIFF" >&5
3565 echo "${ECHO_T}$DIFF" >&6
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3571 # Extract the first word of "cat", so it can be a program name with args.
3572 set dummy cat; ac_word=$2
3573 echo "$as_me:$LINENO: checking for $ac_word" >&5
3574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3575 if test "${ac_cv_prog_CAT+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 if test -n "$CAT"; then
3579 ac_cv_prog_CAT="$CAT" # Let the user override the test.
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_CAT="cat"
3589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 test -z "$ac_cv_prog_CAT" && ac_cv_prog_CAT="cat-is-missing"
3599 if test -n "$CAT"; then
3600 echo "$as_me:$LINENO: result: $CAT" >&5
3601 echo "${ECHO_T}$CAT" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3607 # Extract the first word of "rm", so it can be a program name with args.
3608 set dummy rm; ac_word=$2
3609 echo "$as_me:$LINENO: checking for $ac_word" >&5
3610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3611 if test "${ac_cv_prog_RM+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 if test -n "$RM"; then
3615 ac_cv_prog_RM="$RM" # Let the user override the test.
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM="rm-is-missing"
3635 if test -n "$RM"; then
3636 echo "$as_me:$LINENO: result: $RM" >&5
3637 echo "${ECHO_T}$RM" >&6
3639 echo "$as_me:$LINENO: result: no" >&5
3640 echo "${ECHO_T}no" >&6
3643 # Extract the first word of "mv", so it can be a program name with args.
3644 set dummy mv; ac_word=$2
3645 echo "$as_me:$LINENO: checking for $ac_word" >&5
3646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3647 if test "${ac_cv_prog_MV+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 if test -n "$MV"; then
3651 ac_cv_prog_MV="$MV" # Let the user override the test.
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV="mv-is-missing"
3671 if test -n "$MV"; then
3672 echo "$as_me:$LINENO: result: $MV" >&5
3673 echo "${ECHO_T}$MV" >&6
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3679 # Extract the first word of "cp", so it can be a program name with args.
3680 set dummy cp; ac_word=$2
3681 echo "$as_me:$LINENO: checking for $ac_word" >&5
3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683 if test "${ac_cv_prog_CP+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 if test -n "$CP"; then
3687 ac_cv_prog_CP="$CP" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP="cp-is-missing"
3707 if test -n "$CP"; then
3708 echo "$as_me:$LINENO: result: $CP" >&5
3709 echo "${ECHO_T}$CP" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3715 # Extract the first word of "sed", so it can be a program name with args.
3716 set dummy sed; ac_word=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_SED+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$SED"; then
3723 ac_cv_prog_SED="$SED" # Let the user override the test.
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_SED="sed"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="sed-is-missing"
3743 if test -n "$SED"; then
3744 echo "$as_me:$LINENO: result: $SED" >&5
3745 echo "${ECHO_T}$SED" >&6
3747 echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3756 echo "$as_me:$LINENO: checking whether we need _ALL_SOURCE to expose mode_t" >&5
3757 echo $ECHO_N "checking whether we need _ALL_SOURCE to expose mode_t... $ECHO_C" >&6
3759 cat >conftest.$ac_ext <<_ACEOF
3762 cat confdefs.h >>conftest.$ac_ext
3763 cat >>conftest.$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3777 rm -f conftest.$ac_objext
3778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3779 (eval $ac_compile) 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } &&
3786 { ac_try='test -z "$ac_c_werror_flag"
3787 || test ! -s conftest.err'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; } &&
3793 { ac_try='test -s conftest.$ac_objext'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; }; then
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3807 if test $all = maybe ; then
3808 cat >conftest.$ac_ext <<_ACEOF
3811 cat confdefs.h >>conftest.$ac_ext
3812 cat >>conftest.$ac_ext <<_ACEOF
3813 /* end confdefs.h. */
3827 rm -f conftest.$ac_objext
3828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3829 (eval $ac_compile) 2>conftest.er1
3831 grep -v '^ *+' conftest.er1 >conftest.err
3833 cat conftest.err >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } &&
3836 { ac_try='test -z "$ac_c_werror_flag"
3837 || test ! -s conftest.err'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; } &&
3843 { ac_try='test -s conftest.$ac_objext'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3849 cat >>confdefs.h <<\_ACEOF
3850 #define _ALL_SOURCE 1
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5
3858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3860 if test $all = maybe ; then all=no ; fi
3861 echo "$as_me:$LINENO: result: $all" >&5
3862 echo "${ECHO_T}$all" >&6
3866 LCLOBJ='$(lcl_OBJECTS)'
3868 # Check whether --with-lcl or --without-lcl was given.
3869 if test "${with_lcl+set}" = set; then
3871 ac_cv_use_lcl=$withval
3873 echo "$as_me:$LINENO: checking whether to include support for LCL files" >&5
3874 echo $ECHO_N "checking whether to include support for LCL files... $ECHO_C" >&6
3875 if test "${ac_cv_use_lcl+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 echo "$as_me:$LINENO: result: $ac_cv_use_lcl" >&5
3881 echo "${ECHO_T}$ac_cv_use_lcl" >&6
3883 if test x$ac_cv_use_lcl != xyes; then
3886 cat >>confdefs.h <<\_ACEOF
3893 # Make sure we have an actual value for $prefix
3895 test x$myprefix = xNONE && myprefix=$ac_default_prefix
3898 ### Yuck! This is really kludgey, but I don't understand autoconf well
3899 ### enough to do something simple that always works. Hopefully this does.
3901 # cpplib.h defines 2 include dirs; one is $includedir, the other is gcc's
3902 # include dir. Not the most portable setup, but let's do our best.
3904 if test x$GCC = xyes; then
3906 # This breaks on gcc-3.0 on redhat fixing drl 11-15-2001
3907 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/'`
3908 GCC_INCLUDE_DIR=/usr/include
3909 # was /usr/lib/gcc-lib/i386-linux/2.7.2.1/include
3910 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -n -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/p'`
3912 cat >>confdefs.h <<_ACEOF
3913 #define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3917 GCC_INCLUDE_DIR=/usr/include
3919 cat >>confdefs.h <<_ACEOF
3920 #define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3926 cat >>confdefs.h <<_ACEOF
3927 #define GCC_INCLUDE_DIR2 "$myprefix/include"
3931 # These used to be in local_constants.h
3933 cat >>confdefs.h <<_ACEOF
3934 #define SYSTEM_LIBDIR "$myprefix/include"
3938 cat >>confdefs.h <<_ACEOF
3939 #define DEFAULT_LARCHPATH ".$PATH_SEPARATOR$myprefix/share/splint/lib$PATH_SEPARATOR`pwd`/lib$PATH_SEPARATOR"
3943 cat >>confdefs.h <<_ACEOF
3944 #define DEFAULT_LCLIMPORTDIR ".$PATH_SEPARATOR$myprefix/share/splint/imports$PATH_SEPARATOR`pwd`/imports"
3948 # These used to be in herald.h
3949 LCL_PARSE_VERSION="Splint 3.1.2"
3951 cat >>confdefs.h <<_ACEOF
3952 #define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`"
3956 cat >>confdefs.h <<_ACEOF
3957 #define LCL_PARSE_VERSION "$LCL_PARSE_VERSION"
3961 cat >>confdefs.h <<_ACEOF
3962 #define LCL_COMPILE "Compiled using $CC $CFLAGS on `uname -a` by `whoami`"
3968 cat >>confdefs.h <<\_ACEOF
3973 #just define some Header constants for now...
3977 cat >>confdefs.h <<_ACEOF
3978 #define UNAME "${UNAME}"
3983 cat >>confdefs.h <<_ACEOF
3984 #define BUILD "${build}"
3988 cat >>confdefs.h <<_ACEOF
3989 #define HOST "${host}"
3993 cat >>confdefs.h <<_ACEOF
3994 #define TARGET "${target}"
3999 cat >>confdefs.h <<_ACEOF
4000 #define BUILD_ALIAS "${build_alias}"
4004 cat >>confdefs.h <<_ACEOF
4005 #define HOST_ALIAS "${host_alias}"
4009 cat >>confdefs.h <<_ACEOF
4010 #define TARGET_ALIAS "${TARGET_ALIAS}"
4015 cat >>confdefs.h <<_ACEOF
4016 #define BUILD_CPU "${build_cpu}"
4020 cat >>confdefs.h <<_ACEOF
4021 #define HOST_CPU "$host_cpu"
4025 cat >>confdefs.h <<_ACEOF
4026 #define TARGET_CPU "${target_cpu}"
4031 cat >>confdefs.h <<_ACEOF
4032 #define BUILD_VENDOR "${build_vendor}"
4036 cat >>confdefs.h <<_ACEOF
4037 #define HOST_VENDOR "${host_vendor}"
4041 cat >>confdefs.h <<_ACEOF
4042 #define TARGET_VENDOR "${target_vendor}"
4047 cat >>confdefs.h <<_ACEOF
4048 #define BUILD_OS "${build_os}"
4052 cat >>confdefs.h <<_ACEOF
4053 #define HOST_OS "${host_os}"
4057 cat >>confdefs.h <<_ACEOF
4058 #define TARGET_OS "${target_os}"
4065 ac_config_files="$ac_config_files Makefile imports/Makefile lib/Makefile src/Makefile test/Makefile doc/Makefile bin/Makefile"
4067 cat >confcache <<\_ACEOF
4068 # This file is a shell script that caches the results of configure
4069 # tests run on this system so they can be shared between configure
4070 # scripts and configure runs, see configure's option --config-cache.
4071 # It is not useful on other systems. If it contains results you don't
4072 # want to keep, you may remove or edit it.
4074 # config.status only pays attention to the cache file if you give it
4075 # the --recheck option to rerun configure.
4077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4083 # The following way of writing the cache mishandles newlines in values,
4084 # but we know of no workaround that is simple, portable, and efficient.
4085 # So, don't put newlines in cache variables' values.
4086 # Ultrix sh set writes to stderr and can't be redirected directly,
4087 # and sets the high bit in the cache file unless we assign to the vars.
4090 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4092 # `set' does not quote correctly, so add quotes (double-quote
4093 # substitution turns \\\\ into \\, and sed turns \\ into \).
4096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4099 # `set' quotes correctly as required by POSIX, so do not add quotes.
4101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4112 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4113 if test -w $cache_file; then
4114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4115 cat confcache >$cache_file
4117 echo "not updating unwritable cache $cache_file"
4122 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4123 # Let make expand exec_prefix.
4124 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4126 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4127 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4128 # trailing colons and then remove the whole line if VPATH becomes empty
4129 # (actually we leave an empty line to preserve line numbers).
4130 if test "x$srcdir" = x.; then
4131 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4132 s/:*\$(srcdir):*/:/;
4133 s/:*\${srcdir}:*/:/;
4135 s/^\([^=]*=[ ]*\):*/\1/;
4141 DEFS=-DHAVE_CONFIG_H
4145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4146 # 1. Remove the extension, and $U if already installed.
4147 ac_i=`echo "$ac_i" |
4148 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4150 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4151 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4155 LTLIBOBJS=$ac_ltlibobjs
4158 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4159 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4160 Usually this means the macro was only invoked conditionally." >&5
4161 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4162 Usually this means the macro was only invoked conditionally." >&2;}
4163 { (exit 1); exit 1; }; }
4166 : ${CONFIG_STATUS=./config.status}
4167 ac_clean_files_save=$ac_clean_files
4168 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4169 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4170 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4171 cat >$CONFIG_STATUS <<_ACEOF
4173 # Generated by $as_me.
4174 # Run this file to recreate the current configuration.
4175 # Compiler output produced by configure, useful for debugging
4176 # configure, is in config.log if it exists.
4181 SHELL=\${CONFIG_SHELL-$SHELL}
4184 cat >>$CONFIG_STATUS <<\_ACEOF
4185 ## --------------------- ##
4186 ## M4sh Initialization. ##
4187 ## --------------------- ##
4189 # Be Bourne compatible
4190 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4193 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4194 # is contrary to our usage. Disable this feature.
4195 alias -g '${1+"$@"}'='"$@"'
4196 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4199 DUALCASE=1; export DUALCASE # for MKS sh
4201 # Support unset when possible.
4202 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4209 # Work around bugs in pre-3.0 UWIN ksh.
4210 $as_unset ENV MAIL MAILPATH
4217 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4218 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4219 LC_TELEPHONE LC_TIME
4221 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4222 eval $as_var=C; export $as_var
4228 # Required to use basename.
4229 if expr a : '\(a\)' >/dev/null 2>&1; then
4235 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4236 as_basename=basename
4242 # Name of the executable.
4243 as_me=`$as_basename "$0" ||
4244 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4245 X"$0" : 'X\(//\)$' \| \
4246 X"$0" : 'X\(/\)$' \| \
4247 . : '\(.\)' 2>/dev/null ||
4249 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4250 /^X\/\(\/\/\)$/{ s//\1/; q; }
4251 /^X\/\(\/\).*/{ s//\1/; q; }
4255 # PATH needs CR, and LINENO needs CR and PATH.
4256 # Avoid depending upon Character Ranges.
4257 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4258 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4259 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4260 as_cr_digits='0123456789'
4261 as_cr_alnum=$as_cr_Letters$as_cr_digits
4263 # The user is always right.
4264 if test "${PATH_SEPARATOR+set}" != set; then
4265 echo "#! /bin/sh" >conf$$.sh
4266 echo "exit 0" >>conf$$.sh
4268 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4279 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4280 test "x$as_lineno_1" != "x$as_lineno_2" &&
4281 test "x$as_lineno_3" = "x$as_lineno_2" || {
4282 # Find who we are. Look in the path if we contain no path at all
4285 *[\\/]* ) as_myself=$0 ;;
4286 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir=.
4291 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4296 # We did not find ourselves, most probably we were run as `sh COMMAND'
4297 # in which case we are not to be found in the path.
4298 if test "x$as_myself" = x; then
4301 if test ! -f "$as_myself"; then
4302 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4303 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4304 { (exit 1); exit 1; }; }
4306 case $CONFIG_SHELL in
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4312 test -z "$as_dir" && as_dir=.
4313 for as_base in sh bash ksh sh5; do
4316 if ("$as_dir/$as_base" -c '
4319 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4320 test "x$as_lineno_1" != "x$as_lineno_2" &&
4321 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4322 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4323 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4324 CONFIG_SHELL=$as_dir/$as_base
4326 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4334 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4335 # uniformly replaced by the line number. The first 'sed' inserts a
4336 # line-number line before each line; the second 'sed' does the real
4337 # work. The second script uses 'N' to pair each line-number line
4338 # with the numbered line, and appends trailing '-' during
4339 # substitution so that $LINENO is not a special case at line end.
4340 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4341 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4342 sed '=' <$as_myself |
4347 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4350 s,^['$as_cr_digits']*\n,,
4352 chmod +x $as_me.lineno ||
4353 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4354 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4355 { (exit 1); exit 1; }; }
4357 # Don't try to exec as it changes $[0], causing all sort of problems
4358 # (the dirname of $[0] is not the place where we might find the
4359 # original and so on. Autoconf is especially sensible to this).
4361 # Exit status is that of the last command.
4366 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4367 *c*,-n*) ECHO_N= ECHO_C='
4369 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4370 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4373 if expr a : '\(a\)' >/dev/null 2>&1; then
4379 rm -f conf$$ conf$$.exe conf$$.file
4381 if ln -s conf$$.file conf$$ 2>/dev/null; then
4382 # We could just check for DJGPP; but this test a) works b) is more generic
4383 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4384 if test -f conf$$.exe; then
4385 # Don't use ln at all; we don't have any links
4390 elif ln conf$$.file conf$$ 2>/dev/null; then
4395 rm -f conf$$ conf$$.exe conf$$.file
4397 if mkdir -p . 2>/dev/null; then
4400 test -d ./-p && rmdir ./-p
4404 as_executable_p="test -f"
4406 # Sed expression to map a string onto a valid CPP name.
4407 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4409 # Sed expression to map a string onto a valid variable name.
4410 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4414 # We need space, tab and new line, in precisely that order.
4424 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4425 # report actual input values of CONFIG_FILES etc. instead of their
4426 # values after options handling. Logging --version etc. is OK.
4430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4431 ## Running $as_me. ##
4436 This file was extended by Splint $as_me 3.1.2, which was
4437 generated by GNU Autoconf 2.59. Invocation command line was
4439 CONFIG_FILES = $CONFIG_FILES
4440 CONFIG_HEADERS = $CONFIG_HEADERS
4441 CONFIG_LINKS = $CONFIG_LINKS
4442 CONFIG_COMMANDS = $CONFIG_COMMANDS
4446 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4450 # Files that config.status was made for.
4451 if test -n "$ac_config_files"; then
4452 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4455 if test -n "$ac_config_headers"; then
4456 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4459 if test -n "$ac_config_links"; then
4460 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4463 if test -n "$ac_config_commands"; then
4464 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4467 cat >>$CONFIG_STATUS <<\_ACEOF
4470 \`$as_me' instantiates files from templates according to the
4471 current configuration.
4473 Usage: $0 [OPTIONS] [FILE]...
4475 -h, --help print this help, then exit
4476 -V, --version print version number, then exit
4477 -q, --quiet do not print progress messages
4478 -d, --debug don't remove temporary files
4479 --recheck update $as_me by reconfiguring in the same conditions
4480 --file=FILE[:TEMPLATE]
4481 instantiate the configuration file FILE
4482 --header=FILE[:TEMPLATE]
4483 instantiate the configuration header FILE
4485 Configuration files:
4488 Configuration headers:
4491 Configuration commands:
4494 Report bugs to <bug-autoconf@gnu.org>."
4497 cat >>$CONFIG_STATUS <<_ACEOF
4499 Splint config.status 3.1.2
4500 configured by $0, generated by GNU Autoconf 2.59,
4501 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4503 Copyright (C) 2003 Free Software Foundation, Inc.
4504 This config.status script is free software; the Free Software Foundation
4505 gives unlimited permission to copy, distribute and modify it."
4510 cat >>$CONFIG_STATUS <<\_ACEOF
4511 # If no file are specified by the user, then we need to provide default
4512 # value. By we need to know if files were specified by the user.
4518 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4519 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4527 *) # This is not an option, so the user has probably given explicit
4530 ac_need_defaults=false;;
4534 # Handling of the options.
4536 cat >>$CONFIG_STATUS <<\_ACEOF
4537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4539 --version | --vers* | -V )
4540 echo "$ac_cs_version"; exit 0 ;;
4542 # Conflict between --help and --header
4543 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4544 Try \`$0 --help' for more information." >&5
4545 echo "$as_me: error: ambiguous option: $1
4546 Try \`$0 --help' for more information." >&2;}
4547 { (exit 1); exit 1; }; };;
4548 --help | --hel | -h )
4549 echo "$ac_cs_usage"; exit 0 ;;
4550 --debug | --d* | -d )
4552 --file | --fil | --fi | --f )
4554 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4555 ac_need_defaults=false;;
4556 --header | --heade | --head | --hea )
4558 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4559 ac_need_defaults=false;;
4560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4561 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4565 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4566 Try \`$0 --help' for more information." >&5
4567 echo "$as_me: error: unrecognized option: $1
4568 Try \`$0 --help' for more information." >&2;}
4569 { (exit 1); exit 1; }; } ;;
4571 *) ac_config_targets="$ac_config_targets $1" ;;
4577 ac_configure_extra_args=
4579 if $ac_cs_silent; then
4581 ac_configure_extra_args="$ac_configure_extra_args --silent"
4585 cat >>$CONFIG_STATUS <<_ACEOF
4586 if \$ac_cs_recheck; then
4587 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4588 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4593 cat >>$CONFIG_STATUS <<_ACEOF
4595 # INIT-COMMANDS section.
4598 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4604 cat >>$CONFIG_STATUS <<\_ACEOF
4605 for ac_config_target in $ac_config_targets
4607 case "$ac_config_target" in
4608 # Handling of arguments.
4609 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4610 "imports/Makefile" ) CONFIG_FILES="$CONFIG_FILES imports/Makefile" ;;
4611 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
4612 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4613 "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
4614 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4615 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
4616 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4617 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
4618 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4619 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4620 { (exit 1); exit 1; }; };;
4624 # If the user did not use the arguments to specify the items to instantiate,
4625 # then the envvar interface is used. Set only those that are not.
4626 # We use the long form for the default assignment because of an extremely
4627 # bizarre bug on SunOS 4.1.3.
4628 if $ac_need_defaults; then
4629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4630 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4631 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4634 # Have a temporary directory for convenience. Make it in the build tree
4635 # simply because there is no reason to put it here, and in addition,
4636 # creating and moving files from /tmp can sometimes cause problems.
4637 # Create a temporary directory, and hook for its removal unless debugging.
4640 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4641 trap '{ (exit 1); exit 1; }' 1 2 13 15
4644 # Create a (secure) tmp directory for tmp files.
4647 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4648 test -n "$tmp" && test -d "$tmp"
4651 tmp=./confstat$$-$RANDOM
4652 (umask 077 && mkdir $tmp)
4655 echo "$me: cannot create a temporary directory in ." >&2
4656 { (exit 1); exit 1; }
4661 cat >>$CONFIG_STATUS <<_ACEOF
4664 # CONFIG_FILES section.
4667 # No need to generate the scripts if there are no CONFIG_FILES.
4668 # This happens for instance when ./config.status config.h
4669 if test -n "\$CONFIG_FILES"; then
4670 # Protect against being on the right side of a sed subst in config.status.
4671 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4672 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4673 s,@SHELL@,$SHELL,;t t
4674 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4675 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4676 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4677 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4678 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4679 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4680 s,@exec_prefix@,$exec_prefix,;t t
4681 s,@prefix@,$prefix,;t t
4682 s,@program_transform_name@,$program_transform_name,;t t
4683 s,@bindir@,$bindir,;t t
4684 s,@sbindir@,$sbindir,;t t
4685 s,@libexecdir@,$libexecdir,;t t
4686 s,@datadir@,$datadir,;t t
4687 s,@sysconfdir@,$sysconfdir,;t t
4688 s,@sharedstatedir@,$sharedstatedir,;t t
4689 s,@localstatedir@,$localstatedir,;t t
4690 s,@libdir@,$libdir,;t t
4691 s,@includedir@,$includedir,;t t
4692 s,@oldincludedir@,$oldincludedir,;t t
4693 s,@infodir@,$infodir,;t t
4694 s,@mandir@,$mandir,;t t
4695 s,@build_alias@,$build_alias,;t t
4696 s,@host_alias@,$host_alias,;t t
4697 s,@target_alias@,$target_alias,;t t
4699 s,@ECHO_C@,$ECHO_C,;t t
4700 s,@ECHO_N@,$ECHO_N,;t t
4701 s,@ECHO_T@,$ECHO_T,;t t
4703 s,@build@,$build,;t t
4704 s,@build_cpu@,$build_cpu,;t t
4705 s,@build_vendor@,$build_vendor,;t t
4706 s,@build_os@,$build_os,;t t
4708 s,@host_cpu@,$host_cpu,;t t
4709 s,@host_vendor@,$host_vendor,;t t
4710 s,@host_os@,$host_os,;t t
4711 s,@target@,$target,;t t
4712 s,@target_cpu@,$target_cpu,;t t
4713 s,@target_vendor@,$target_vendor,;t t
4714 s,@target_os@,$target_os,;t t
4715 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4716 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4717 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4718 s,@PACKAGE@,$PACKAGE,;t t
4719 s,@VERSION@,$VERSION,;t t
4720 s,@ACLOCAL@,$ACLOCAL,;t t
4721 s,@AUTOCONF@,$AUTOCONF,;t t
4722 s,@AUTOMAKE@,$AUTOMAKE,;t t
4723 s,@AUTOHEADER@,$AUTOHEADER,;t t
4724 s,@MAKEINFO@,$MAKEINFO,;t t
4725 s,@AMTAR@,$AMTAR,;t t
4726 s,@install_sh@,$install_sh,;t t
4727 s,@STRIP@,$STRIP,;t t
4728 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4729 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4731 s,@SET_MAKE@,$SET_MAKE,;t t
4733 s,@CFLAGS@,$CFLAGS,;t t
4734 s,@LDFLAGS@,$LDFLAGS,;t t
4735 s,@CPPFLAGS@,$CPPFLAGS,;t t
4736 s,@ac_ct_CC@,$ac_ct_CC,;t t
4737 s,@EXEEXT@,$EXEEXT,;t t
4738 s,@OBJEXT@,$OBJEXT,;t t
4739 s,@DEPDIR@,$DEPDIR,;t t
4740 s,@am__include@,$am__include,;t t
4741 s,@am__quote@,$am__quote,;t t
4742 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4743 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4744 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4745 s,@CCDEPMODE@,$CCDEPMODE,;t t
4748 s,@LEXLIB@,$LEXLIB,;t t
4749 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4751 s,@BISON@,$BISON,;t t
4759 s,@LCLOBJ@,$LCLOBJ,;t t
4760 s,@LIBOBJS@,$LIBOBJS,;t t
4761 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4766 cat >>$CONFIG_STATUS <<\_ACEOF
4767 # Split the substitutions into bite-sized pieces for seds with
4768 # small command number limits, like on Digital OSF/1 and HP-UX.
4770 ac_sed_frag=1 # Number of current file.
4771 ac_beg=1 # First line for current file.
4772 ac_end=$ac_max_sed_lines # Line after last line for current file.
4775 while $ac_more_lines; do
4776 if test $ac_beg -gt 1; then
4777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4779 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4781 if test ! -s $tmp/subs.frag; then
4784 # The purpose of the label and of the branching condition is to
4785 # speed up the sed processing (if there are no `@' at all, there
4786 # is no need to browse any of the substitutions).
4787 # These are the two extra sed commands mentioned above.
4789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4790 if test -z "$ac_sed_cmds"; then
4791 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4793 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4795 ac_sed_frag=`expr $ac_sed_frag + 1`
4797 ac_end=`expr $ac_end + $ac_max_sed_lines`
4800 if test -z "$ac_sed_cmds"; then
4803 fi # test -n "$CONFIG_FILES"
4806 cat >>$CONFIG_STATUS <<\_ACEOF
4807 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4810 - | *:- | *:-:* ) # input from stdin
4812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4816 * ) ac_file_in=$ac_file.in ;;
4819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4820 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4822 X"$ac_file" : 'X\(//\)[^/]' \| \
4823 X"$ac_file" : 'X\(//\)$' \| \
4824 X"$ac_file" : 'X\(/\)' \| \
4825 . : '\(.\)' 2>/dev/null ||
4827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4829 /^X\(\/\/\)$/{ s//\1/; q; }
4830 /^X\(\/\).*/{ s//\1/; q; }
4832 { if $as_mkdir_p; then
4837 while test ! -d "$as_dir"; do
4838 as_dirs="$as_dir $as_dirs"
4839 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4841 X"$as_dir" : 'X\(//\)[^/]' \| \
4842 X"$as_dir" : 'X\(//\)$' \| \
4843 X"$as_dir" : 'X\(/\)' \| \
4844 . : '\(.\)' 2>/dev/null ||
4846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4848 /^X\(\/\/\)$/{ s//\1/; q; }
4849 /^X\(\/\).*/{ s//\1/; q; }
4852 test ! -n "$as_dirs" || mkdir $as_dirs
4853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4855 { (exit 1); exit 1; }; }; }
4859 if test "$ac_dir" != .; then
4860 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4861 # A "../" for each directory in $ac_dir_suffix.
4862 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4864 ac_dir_suffix= ac_top_builddir=
4868 .) # No --srcdir option. We are building in place.
4870 if test -z "$ac_top_builddir"; then
4873 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4875 [\\/]* | ?:[\\/]* ) # Absolute path.
4876 ac_srcdir=$srcdir$ac_dir_suffix;
4877 ac_top_srcdir=$srcdir ;;
4879 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4880 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4883 # Do not use `cd foo && pwd` to compute absolute paths, because
4884 # the directories may not exist.
4886 .) ac_abs_builddir="$ac_dir";;
4889 .) ac_abs_builddir=`pwd`;;
4890 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4891 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4894 case $ac_abs_builddir in
4895 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4897 case ${ac_top_builddir}. in
4898 .) ac_abs_top_builddir=$ac_abs_builddir;;
4899 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4900 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4903 case $ac_abs_builddir in
4904 .) ac_abs_srcdir=$ac_srcdir;;
4907 .) ac_abs_srcdir=$ac_abs_builddir;;
4908 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4909 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4912 case $ac_abs_builddir in
4913 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4915 case $ac_top_srcdir in
4916 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4917 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4918 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4924 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4925 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4928 if test x"$ac_file" != x-; then
4929 { echo "$as_me:$LINENO: creating $ac_file" >&5
4930 echo "$as_me: creating $ac_file" >&6;}
4933 # Let's still pretend it is `configure' which instantiates (i.e., don't
4934 # use $as_me), people would be surprised to read:
4935 # /* config.h. Generated by config.status. */
4936 if test x"$ac_file" = x-; then
4939 configure_input="$ac_file. "
4941 configure_input=$configure_input"Generated from `echo $ac_file_in |
4942 sed 's,.*/,,'` by configure."
4944 # First look for the input files in the build tree, otherwise in the
4946 ac_file_inputs=`IFS=:
4947 for f in $ac_file_in; do
4949 -) echo $tmp/stdin ;;
4951 # Absolute (can't be DOS-style, as IFS=:)
4952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4953 echo "$as_me: error: cannot find input file: $f" >&2;}
4954 { (exit 1); exit 1; }; }
4957 if test -f "$f"; then
4960 elif test -f "$srcdir/$f"; then
4965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4966 echo "$as_me: error: cannot find input file: $f" >&2;}
4967 { (exit 1); exit 1; }; }
4970 done` || { (exit 1); exit 1; }
4972 cat >>$CONFIG_STATUS <<_ACEOF
4976 cat >>$CONFIG_STATUS <<\_ACEOF
4978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4979 s,@configure_input@,$configure_input,;t t
4980 s,@srcdir@,$ac_srcdir,;t t
4981 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4982 s,@top_srcdir@,$ac_top_srcdir,;t t
4983 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4984 s,@builddir@,$ac_builddir,;t t
4985 s,@abs_builddir@,$ac_abs_builddir,;t t
4986 s,@top_builddir@,$ac_top_builddir,;t t
4987 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4988 s,@INSTALL@,$ac_INSTALL,;t t
4989 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4991 if test x"$ac_file" != x-; then
4992 mv $tmp/out $ac_file
5000 cat >>$CONFIG_STATUS <<\_ACEOF
5003 # CONFIG_HEADER section.
5006 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5007 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5009 # ac_d sets the value in "#define NAME VALUE" lines.
5010 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5011 ac_dB='[ ].*$,\1#\2'
5014 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5015 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5016 ac_uB='$,\1#\2define\3'
5020 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5023 - | *:- | *:-:* ) # input from stdin
5025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5029 * ) ac_file_in=$ac_file.in ;;
5032 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5033 echo "$as_me: creating $ac_file" >&6;}
5035 # First look for the input files in the build tree, otherwise in the
5037 ac_file_inputs=`IFS=:
5038 for f in $ac_file_in; do
5040 -) echo $tmp/stdin ;;
5042 # Absolute (can't be DOS-style, as IFS=:)
5043 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5044 echo "$as_me: error: cannot find input file: $f" >&2;}
5045 { (exit 1); exit 1; }; }
5046 # Do quote $f, to prevent DOS paths from being IFS'd.
5049 if test -f "$f"; then
5052 elif test -f "$srcdir/$f"; then
5057 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5058 echo "$as_me: error: cannot find input file: $f" >&2;}
5059 { (exit 1); exit 1; }; }
5062 done` || { (exit 1); exit 1; }
5063 # Remove the trailing spaces.
5064 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5068 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5069 # `conftest.undefs', that substitutes the proper values into
5070 # config.h.in to produce config.h. The first handles `#define'
5071 # templates, and the second `#undef' templates.
5072 # And first: Protect against being on the right side of a sed subst in
5073 # config.status. Protect against being in an unquoted here document
5075 rm -f conftest.defines conftest.undefs
5076 # Using a here document instead of a string reduces the quoting nightmare.
5077 # Putting comments in sed scripts is not portable.
5079 # `end' is used to avoid that the second main sed command (meant for
5080 # 0-ary CPP macros) applies to n-ary macro definitions.
5081 # See the Autoconf documentation for `clear'.
5082 cat >confdef2sed.sed <<\_ACEOF
5087 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5089 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5092 # If some macros were called several times there might be several times
5093 # the same #defines, which is useless. Nevertheless, we may not want to
5094 # sort them, since we want the *last* AC-DEFINE to be honored.
5095 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5096 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5097 rm -f confdef2sed.sed
5099 # This sed command replaces #undef with comments. This is necessary, for
5100 # example, in the case of _POSIX_SOURCE, which is predefined and required
5101 # on some systems where configure will not decide to define it.
5102 cat >>conftest.undefs <<\_ACEOF
5103 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5106 # Break up conftest.defines because some shells have a limit on the size
5107 # of here documents, and old seds have small limits too (100 cmds).
5108 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5109 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5110 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5111 echo ' :' >>$CONFIG_STATUS
5113 while grep . conftest.defines >/dev/null
5115 # Write a limited-size here document to $tmp/defines.sed.
5116 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5117 # Speed up: don't consider the non `#define' lines.
5118 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5119 # Work around the forget-to-reset-the-flag bug.
5120 echo 't clr' >>$CONFIG_STATUS
5121 echo ': clr' >>$CONFIG_STATUS
5122 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5124 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5128 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5129 rm -f conftest.defines
5130 mv conftest.tail conftest.defines
5132 rm -f conftest.defines
5133 echo ' fi # grep' >>$CONFIG_STATUS
5134 echo >>$CONFIG_STATUS
5136 # Break up conftest.undefs because some shells have a limit on the size
5137 # of here documents, and old seds have small limits too (100 cmds).
5138 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5140 while grep . conftest.undefs >/dev/null
5142 # Write a limited-size here document to $tmp/undefs.sed.
5143 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5144 # Speed up: don't consider the non `#undef'
5145 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5146 # Work around the forget-to-reset-the-flag bug.
5147 echo 't clr' >>$CONFIG_STATUS
5148 echo ': clr' >>$CONFIG_STATUS
5149 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5151 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5155 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5156 rm -f conftest.undefs
5157 mv conftest.tail conftest.undefs
5159 rm -f conftest.undefs
5161 cat >>$CONFIG_STATUS <<\_ACEOF
5162 # Let's still pretend it is `configure' which instantiates (i.e., don't
5163 # use $as_me), people would be surprised to read:
5164 # /* config.h. Generated by config.status. */
5165 if test x"$ac_file" = x-; then
5166 echo "/* Generated by configure. */" >$tmp/config.h
5168 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5170 cat $tmp/in >>$tmp/config.h
5172 if test x"$ac_file" != x-; then
5173 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5174 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5175 echo "$as_me: $ac_file is unchanged" >&6;}
5177 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5179 X"$ac_file" : 'X\(//\)[^/]' \| \
5180 X"$ac_file" : 'X\(//\)$' \| \
5181 X"$ac_file" : 'X\(/\)' \| \
5182 . : '\(.\)' 2>/dev/null ||
5184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5186 /^X\(\/\/\)$/{ s//\1/; q; }
5187 /^X\(\/\).*/{ s//\1/; q; }
5189 { if $as_mkdir_p; then
5194 while test ! -d "$as_dir"; do
5195 as_dirs="$as_dir $as_dirs"
5196 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5198 X"$as_dir" : 'X\(//\)[^/]' \| \
5199 X"$as_dir" : 'X\(//\)$' \| \
5200 X"$as_dir" : 'X\(/\)' \| \
5201 . : '\(.\)' 2>/dev/null ||
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5205 /^X\(\/\/\)$/{ s//\1/; q; }
5206 /^X\(\/\).*/{ s//\1/; q; }
5209 test ! -n "$as_dirs" || mkdir $as_dirs
5210 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5211 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5212 { (exit 1); exit 1; }; }; }
5215 mv $tmp/config.h $ac_file
5221 # Run the commands associated with the file.
5223 config.h ) # update the timestamp
5224 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
5229 cat >>$CONFIG_STATUS <<\_ACEOF
5232 # CONFIG_COMMANDS section.
5234 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5235 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5236 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5237 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5239 X"$ac_dest" : 'X\(//\)[^/]' \| \
5240 X"$ac_dest" : 'X\(//\)$' \| \
5241 X"$ac_dest" : 'X\(/\)' \| \
5242 . : '\(.\)' 2>/dev/null ||
5244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5246 /^X\(\/\/\)$/{ s//\1/; q; }
5247 /^X\(\/\).*/{ s//\1/; q; }
5249 { if $as_mkdir_p; then
5254 while test ! -d "$as_dir"; do
5255 as_dirs="$as_dir $as_dirs"
5256 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5258 X"$as_dir" : 'X\(//\)[^/]' \| \
5259 X"$as_dir" : 'X\(//\)$' \| \
5260 X"$as_dir" : 'X\(/\)' \| \
5261 . : '\(.\)' 2>/dev/null ||
5263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5265 /^X\(\/\/\)$/{ s//\1/; q; }
5266 /^X\(\/\).*/{ s//\1/; q; }
5269 test ! -n "$as_dirs" || mkdir $as_dirs
5270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5272 { (exit 1); exit 1; }; }; }
5276 if test "$ac_dir" != .; then
5277 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5278 # A "../" for each directory in $ac_dir_suffix.
5279 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5281 ac_dir_suffix= ac_top_builddir=
5285 .) # No --srcdir option. We are building in place.
5287 if test -z "$ac_top_builddir"; then
5290 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5292 [\\/]* | ?:[\\/]* ) # Absolute path.
5293 ac_srcdir=$srcdir$ac_dir_suffix;
5294 ac_top_srcdir=$srcdir ;;
5296 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5297 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5300 # Do not use `cd foo && pwd` to compute absolute paths, because
5301 # the directories may not exist.
5303 .) ac_abs_builddir="$ac_dir";;
5306 .) ac_abs_builddir=`pwd`;;
5307 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5308 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5311 case $ac_abs_builddir in
5312 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5314 case ${ac_top_builddir}. in
5315 .) ac_abs_top_builddir=$ac_abs_builddir;;
5316 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5317 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5320 case $ac_abs_builddir in
5321 .) ac_abs_srcdir=$ac_srcdir;;
5324 .) ac_abs_srcdir=$ac_abs_builddir;;
5325 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5326 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5329 case $ac_abs_builddir in
5330 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5332 case $ac_top_srcdir in
5333 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5334 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5335 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5340 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5341 echo "$as_me: executing $ac_dest commands" >&6;}
5343 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5344 # Strip MF so we end up with the name of the file.
5345 mf=`echo "$mf" | sed -e 's/:.*$//'`
5346 # Check whether this is an Automake generated Makefile or not.
5347 # We used to match only the files named `Makefile.in', but
5348 # some people rename them; so instead we look at the file content.
5349 # Grep'ing the first line is not enough: some people post-process
5350 # each Makefile.in and add a new line on top of each file to say so.
5351 # So let's grep whole file.
5352 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5353 dirpart=`(dirname "$mf") 2>/dev/null ||
5354 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5355 X"$mf" : 'X\(//\)[^/]' \| \
5356 X"$mf" : 'X\(//\)$' \| \
5357 X"$mf" : 'X\(/\)' \| \
5358 . : '\(.\)' 2>/dev/null ||
5360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5362 /^X\(\/\/\)$/{ s//\1/; q; }
5363 /^X\(\/\).*/{ s//\1/; q; }
5368 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5369 # Extract the definition of DEP_FILES from the Makefile without
5371 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5372 test -z "$DEPDIR" && continue
5373 # When using ansi2knr, U may be empty or an underscore; expand it
5374 U=`sed -n -e '/^U = / s///p' < "$mf"`
5375 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5376 # We invoke sed twice because it is the simplest approach to
5377 # changing $(DEPDIR) to its actual value in the expansion.
5378 for file in `sed -n -e '
5379 /^DEP_FILES = .*\\\\$/ {
5388 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5389 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5390 # Make sure the directory exists.
5391 test -f "$dirpart/$file" && continue
5392 fdir=`(dirname "$file") 2>/dev/null ||
5393 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5394 X"$file" : 'X\(//\)[^/]' \| \
5395 X"$file" : 'X\(//\)$' \| \
5396 X"$file" : 'X\(/\)' \| \
5397 . : '\(.\)' 2>/dev/null ||
5399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5401 /^X\(\/\/\)$/{ s//\1/; q; }
5402 /^X\(\/\).*/{ s//\1/; q; }
5404 { if $as_mkdir_p; then
5405 mkdir -p $dirpart/$fdir
5407 as_dir=$dirpart/$fdir
5409 while test ! -d "$as_dir"; do
5410 as_dirs="$as_dir $as_dirs"
5411 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5413 X"$as_dir" : 'X\(//\)[^/]' \| \
5414 X"$as_dir" : 'X\(//\)$' \| \
5415 X"$as_dir" : 'X\(/\)' \| \
5416 . : '\(.\)' 2>/dev/null ||
5418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5420 /^X\(\/\/\)$/{ s//\1/; q; }
5421 /^X\(\/\).*/{ s//\1/; q; }
5424 test ! -n "$as_dirs" || mkdir $as_dirs
5425 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5426 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5427 { (exit 1); exit 1; }; }; }
5429 # echo "creating $dirpart/$file"
5430 echo '# dummy' > "$dirpart/$file"
5438 cat >>$CONFIG_STATUS <<\_ACEOF
5440 { (exit 0); exit 0; }
5442 chmod +x $CONFIG_STATUS
5443 ac_clean_files=$ac_clean_files_save
5446 # configure is writing to config.log, and then calls config.status.
5447 # config.status does its own redirection, appending to config.log.
5448 # Unfortunately, on DOS this fails, as config.log is still kept open
5449 # by configure, so config.status won't be able to write to it; its
5450 # output is simply discarded. So we exec the FD to /dev/null,
5451 # effectively closing config.log, so it can be properly (re)opened and
5452 # appended to by config.status. When coming back to configure, we
5453 # need to make the FD available again.
5454 if test "$no_create" != yes; then
5456 ac_config_status_args=
5457 test "$silent" = yes &&
5458 ac_config_status_args="$ac_config_status_args --quiet"
5460 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5462 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5463 # would make configure fail if this is the last instruction.
5464 $ac_cs_success || { (exit 1); exit 1; }