2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Splint 3.1.1.
5 # Report bugs to <splint-bug@splint.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 if expr a : '\(a\)' >/dev/null 2>&1; then
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32 # Support unset when possible.
33 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
39 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG || test "${LANG+set}" != set; } ||
41 { LANG=C; export LANG; }
42 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44 { LC_ALL=C; export LC_ALL; }
45 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47 { LC_TIME=C; export LC_TIME; }
48 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE=C; export LC_CTYPE; }
51 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE=C; export LANGUAGE; }
54 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE=C; export LC_COLLATE; }
57 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC=C; export LC_NUMERIC; }
60 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES=C; export LC_MESSAGES; }
65 # Name of the executable.
66 as_me=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
90 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
137 if ("$as_dir/$as_base" -c '
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 CONFIG_SHELL=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 if expr a : '\(a\)' >/dev/null 2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.file conf$$ 2>/dev/null; then
213 rm -f conf$$ conf$$.exe conf$$.file
215 as_executable_p="test -f"
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
225 # We need space, tab and new line, in precisely that order.
231 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
244 ac_default_prefix=/usr/local
249 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
256 # Identity of this package.
257 PACKAGE_NAME='Splint'
258 PACKAGE_TARNAME='splint'
259 PACKAGE_VERSION='3.1.1'
260 PACKAGE_STRING='Splint 3.1.1'
261 PACKAGE_BUGREPORT='splint-bug@splint.org'
264 # Initialize some variables set by options.
266 ac_init_version=false
267 # The variables have the same names as the options, with
268 # dashes changed to underlines.
276 program_transform_name=s,x,x,
284 # Installation directory options.
285 # These are left unexpanded so users can "make install exec_prefix=/foo"
286 # and all the variables that are supposed to be based on exec_prefix
287 # by default will actually change.
288 # Use braces instead of parens because sh, perl, etc. also accept them.
289 bindir='${exec_prefix}/bin'
290 sbindir='${exec_prefix}/sbin'
291 libexecdir='${exec_prefix}/libexec'
292 datadir='${prefix}/share'
293 sysconfdir='${prefix}/etc'
294 sharedstatedir='${prefix}/com'
295 localstatedir='${prefix}/var'
296 libdir='${exec_prefix}/lib'
297 includedir='${prefix}/include'
298 oldincludedir='/usr/include'
299 infodir='${prefix}/info'
300 mandir='${prefix}/man'
305 # If the previous option needs an argument, assign it.
306 if test -n "$ac_prev"; then
307 eval "$ac_prev=\$ac_option"
312 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
314 # Accept the important Cygnus configure options, so we can diagnose typos.
318 -bindir | --bindir | --bindi | --bind | --bin | --bi)
320 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
323 -build | --build | --buil | --bui | --bu)
324 ac_prev=build_alias ;;
325 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
326 build_alias=$ac_optarg ;;
328 -cache-file | --cache-file | --cache-fil | --cache-fi \
329 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
330 ac_prev=cache_file ;;
331 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
332 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
333 cache_file=$ac_optarg ;;
336 cache_file=config.cache ;;
338 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
340 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
342 datadir=$ac_optarg ;;
344 -disable-* | --disable-*)
345 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
346 # Reject names that are not valid shell variable names.
347 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
348 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
349 { (exit 1); exit 1; }; }
350 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
351 eval "enable_$ac_feature=no" ;;
353 -enable-* | --enable-*)
354 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
355 # Reject names that are not valid shell variable names.
356 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
357 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
358 { (exit 1); exit 1; }; }
359 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
361 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
364 eval "enable_$ac_feature='$ac_optarg'" ;;
366 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
367 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
368 | --exec | --exe | --ex)
369 ac_prev=exec_prefix ;;
370 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
371 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
372 | --exec=* | --exe=* | --ex=*)
373 exec_prefix=$ac_optarg ;;
375 -gas | --gas | --ga | --g)
376 # Obsolete; use --with-gas.
379 -help | --help | --hel | --he | -h)
381 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
382 ac_init_help=recursive ;;
383 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
384 ac_init_help=short ;;
386 -host | --host | --hos | --ho)
387 ac_prev=host_alias ;;
388 -host=* | --host=* | --hos=* | --ho=*)
389 host_alias=$ac_optarg ;;
391 -includedir | --includedir | --includedi | --included | --include \
392 | --includ | --inclu | --incl | --inc)
393 ac_prev=includedir ;;
394 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
395 | --includ=* | --inclu=* | --incl=* | --inc=*)
396 includedir=$ac_optarg ;;
398 -infodir | --infodir | --infodi | --infod | --info | --inf)
400 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
401 infodir=$ac_optarg ;;
403 -libdir | --libdir | --libdi | --libd)
405 -libdir=* | --libdir=* | --libdi=* | --libd=*)
408 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
409 | --libexe | --libex | --libe)
410 ac_prev=libexecdir ;;
411 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
412 | --libexe=* | --libex=* | --libe=*)
413 libexecdir=$ac_optarg ;;
415 -localstatedir | --localstatedir | --localstatedi | --localstated \
416 | --localstate | --localstat | --localsta | --localst \
417 | --locals | --local | --loca | --loc | --lo)
418 ac_prev=localstatedir ;;
419 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
420 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
421 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
422 localstatedir=$ac_optarg ;;
424 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
426 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
430 # Obsolete; use --without-fp.
433 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
434 | --no-cr | --no-c | -n)
437 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
438 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
441 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
442 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
443 | --oldin | --oldi | --old | --ol | --o)
444 ac_prev=oldincludedir ;;
445 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
446 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
447 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
448 oldincludedir=$ac_optarg ;;
450 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
452 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
455 -program-prefix | --program-prefix | --program-prefi | --program-pref \
456 | --program-pre | --program-pr | --program-p)
457 ac_prev=program_prefix ;;
458 -program-prefix=* | --program-prefix=* | --program-prefi=* \
459 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
460 program_prefix=$ac_optarg ;;
462 -program-suffix | --program-suffix | --program-suffi | --program-suff \
463 | --program-suf | --program-su | --program-s)
464 ac_prev=program_suffix ;;
465 -program-suffix=* | --program-suffix=* | --program-suffi=* \
466 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
467 program_suffix=$ac_optarg ;;
469 -program-transform-name | --program-transform-name \
470 | --program-transform-nam | --program-transform-na \
471 | --program-transform-n | --program-transform- \
472 | --program-transform | --program-transfor \
473 | --program-transfo | --program-transf \
474 | --program-trans | --program-tran \
475 | --progr-tra | --program-tr | --program-t)
476 ac_prev=program_transform_name ;;
477 -program-transform-name=* | --program-transform-name=* \
478 | --program-transform-nam=* | --program-transform-na=* \
479 | --program-transform-n=* | --program-transform-=* \
480 | --program-transform=* | --program-transfor=* \
481 | --program-transfo=* | --program-transf=* \
482 | --program-trans=* | --program-tran=* \
483 | --progr-tra=* | --program-tr=* | --program-t=*)
484 program_transform_name=$ac_optarg ;;
486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
487 | -silent | --silent | --silen | --sile | --sil)
490 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
492 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
494 sbindir=$ac_optarg ;;
496 -sharedstatedir | --sharedstatedir | --sharedstatedi \
497 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
498 | --sharedst | --shareds | --shared | --share | --shar \
500 ac_prev=sharedstatedir ;;
501 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
502 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
503 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
505 sharedstatedir=$ac_optarg ;;
507 -site | --site | --sit)
509 -site=* | --site=* | --sit=*)
512 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
514 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
517 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
518 | --syscon | --sysco | --sysc | --sys | --sy)
519 ac_prev=sysconfdir ;;
520 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
521 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
522 sysconfdir=$ac_optarg ;;
524 -target | --target | --targe | --targ | --tar | --ta | --t)
525 ac_prev=target_alias ;;
526 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
527 target_alias=$ac_optarg ;;
529 -v | -verbose | --verbose | --verbos | --verbo | --verb)
532 -version | --version | --versio | --versi | --vers | -V)
536 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
537 # Reject names that are not valid shell variable names.
538 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
539 { echo "$as_me: error: invalid package name: $ac_package" >&2
540 { (exit 1); exit 1; }; }
541 ac_package=`echo $ac_package| sed 's/-/_/g'`
543 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
546 eval "with_$ac_package='$ac_optarg'" ;;
548 -without-* | --without-*)
549 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package | sed 's/-/_/g'`
555 eval "with_$ac_package=no" ;;
558 # Obsolete; use --with-x.
561 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
562 | --x-incl | --x-inc | --x-in | --x-i)
563 ac_prev=x_includes ;;
564 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
565 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
566 x_includes=$ac_optarg ;;
568 -x-libraries | --x-libraries | --x-librarie | --x-librari \
569 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
570 ac_prev=x_libraries ;;
571 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
572 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
573 x_libraries=$ac_optarg ;;
575 -*) { echo "$as_me: error: unrecognized option: $ac_option
576 Try \`$0 --help' for more information." >&2
577 { (exit 1); exit 1; }; }
581 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
582 # Reject names that are not valid shell variable names.
583 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
584 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
585 { (exit 1); exit 1; }; }
586 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
587 eval "$ac_envvar='$ac_optarg'"
591 # FIXME: should be removed in autoconf 3.0.
592 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
593 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
594 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
595 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
601 if test -n "$ac_prev"; then
602 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
603 { echo "$as_me: error: missing argument to $ac_option" >&2
604 { (exit 1); exit 1; }; }
607 # Be sure to have absolute paths.
608 for ac_var in exec_prefix prefix
610 eval ac_val=$`echo $ac_var`
612 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
613 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
614 { (exit 1); exit 1; }; };;
618 # Be sure to have absolute paths.
619 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
620 localstatedir libdir includedir oldincludedir infodir mandir
622 eval ac_val=$`echo $ac_var`
624 [\\/$]* | ?:[\\/]* ) ;;
625 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
626 { (exit 1); exit 1; }; };;
630 # There might be people who depend on the old broken behavior: `$host'
631 # used to hold the argument of --host etc.
632 # FIXME: To remove some day.
637 # FIXME: To remove some day.
638 if test "x$host_alias" != x; then
639 if test "x$build_alias" = x; then
640 cross_compiling=maybe
641 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
642 If a cross compiler is detected then cross compile mode will be used." >&2
643 elif test "x$build_alias" != "x$host_alias"; then
649 test -n "$host_alias" && ac_tool_prefix=$host_alias-
651 test "$silent" = yes && exec 6>/dev/null
654 # Find the source files, if location was not specified.
655 if test -z "$srcdir"; then
656 ac_srcdir_defaulted=yes
657 # Try the directory containing this script, then its parent.
658 ac_confdir=`(dirname "$0") 2>/dev/null ||
659 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
660 X"$0" : 'X\(//\)[^/]' \| \
661 X"$0" : 'X\(//\)$' \| \
662 X"$0" : 'X\(/\)' \| \
663 . : '\(.\)' 2>/dev/null ||
665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
667 /^X\(\/\/\)$/{ s//\1/; q; }
668 /^X\(\/\).*/{ s//\1/; q; }
671 if test ! -r $srcdir/$ac_unique_file; then
675 ac_srcdir_defaulted=no
677 if test ! -r $srcdir/$ac_unique_file; then
678 if test "$ac_srcdir_defaulted" = yes; then
679 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
680 { (exit 1); exit 1; }; }
682 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
683 { (exit 1); exit 1; }; }
686 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
687 ac_env_build_alias_set=${build_alias+set}
688 ac_env_build_alias_value=$build_alias
689 ac_cv_env_build_alias_set=${build_alias+set}
690 ac_cv_env_build_alias_value=$build_alias
691 ac_env_host_alias_set=${host_alias+set}
692 ac_env_host_alias_value=$host_alias
693 ac_cv_env_host_alias_set=${host_alias+set}
694 ac_cv_env_host_alias_value=$host_alias
695 ac_env_target_alias_set=${target_alias+set}
696 ac_env_target_alias_value=$target_alias
697 ac_cv_env_target_alias_set=${target_alias+set}
698 ac_cv_env_target_alias_value=$target_alias
699 ac_env_CC_set=${CC+set}
701 ac_cv_env_CC_set=${CC+set}
702 ac_cv_env_CC_value=$CC
703 ac_env_CFLAGS_set=${CFLAGS+set}
704 ac_env_CFLAGS_value=$CFLAGS
705 ac_cv_env_CFLAGS_set=${CFLAGS+set}
706 ac_cv_env_CFLAGS_value=$CFLAGS
707 ac_env_LDFLAGS_set=${LDFLAGS+set}
708 ac_env_LDFLAGS_value=$LDFLAGS
709 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
710 ac_cv_env_LDFLAGS_value=$LDFLAGS
711 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
712 ac_env_CPPFLAGS_value=$CPPFLAGS
713 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
714 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
715 ac_env_CPP_set=${CPP+set}
716 ac_env_CPP_value=$CPP
717 ac_cv_env_CPP_set=${CPP+set}
718 ac_cv_env_CPP_value=$CPP
721 # Report the --help message.
723 if test "$ac_init_help" = "long"; then
724 # Omit some internal or obsolete options to make the list less imposing.
725 # This message is too long to be a string in the A/UX 3.1 sh.
727 \`configure' configures Splint 3.1.1 to adapt to many kinds of systems.
729 Usage: $0 [OPTION]... [VAR=VALUE]...
731 To assign environment variables (e.g., CC, CFLAGS...), specify them as
732 VAR=VALUE. See below for descriptions of some of the useful variables.
734 Defaults for the options are specified in brackets.
737 -h, --help display this help and exit
738 --help=short display options specific to this package
739 --help=recursive display the short help of all the included packages
740 -V, --version display version information and exit
741 -q, --quiet, --silent do not print \`checking...' messages
742 --cache-file=FILE cache test results in FILE [disabled]
743 -C, --config-cache alias for \`--cache-file=config.cache'
744 -n, --no-create do not create output files
745 --srcdir=DIR find the sources in DIR [configure dir or \`..']
750 Installation directories:
751 --prefix=PREFIX install architecture-independent files in PREFIX
753 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
756 By default, \`make install' will install all the files in
757 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
758 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
759 for instance \`--prefix=\$HOME'.
761 For better control, use the options below.
763 Fine tuning of the installation directories:
764 --bindir=DIR user executables [EPREFIX/bin]
765 --sbindir=DIR system admin executables [EPREFIX/sbin]
766 --libexecdir=DIR program executables [EPREFIX/libexec]
767 --datadir=DIR read-only architecture-independent data [PREFIX/share]
768 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
769 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
770 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
771 --libdir=DIR object code libraries [EPREFIX/lib]
772 --includedir=DIR C header files [PREFIX/include]
773 --oldincludedir=DIR C header files for non-gcc [/usr/include]
774 --infodir=DIR info documentation [PREFIX/info]
775 --mandir=DIR man documentation [PREFIX/man]
781 --program-prefix=PREFIX prepend PREFIX to installed program names
782 --program-suffix=SUFFIX append SUFFIX to installed program names
783 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
786 --build=BUILD configure for building on BUILD [guessed]
787 --host=HOST cross-compile to build programs to run on HOST [BUILD]
788 --target=TARGET configure for building compilers for TARGET [HOST]
792 if test -n "$ac_init_help"; then
793 case $ac_init_help in
794 short | recursive ) echo "Configuration of Splint 3.1.1:";;
799 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
800 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
801 --disable-dependency-tracking Speeds up one-time builds
802 --enable-dependency-tracking Do not reject slow dependency extractors
805 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
806 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
807 --without-lcl don't include support for LCL files
809 Some influential environment variables:
810 CC C compiler command
811 CFLAGS C compiler flags
812 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
813 nonstandard directory <lib dir>
814 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
815 headers in a nonstandard directory <include dir>
818 Use these variables to override the choices made by `configure' or to help
819 it to find libraries and programs with nonstandard names/locations.
821 Report bugs to <splint-bug@splint.org>.
825 if test "$ac_init_help" = "recursive"; then
826 # If there are subdirs, report their specific --help.
828 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
829 test -d $ac_dir || continue
832 if test "$ac_dir" != .; then
833 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
834 # A "../" for each directory in $ac_dir_suffix.
835 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
837 ac_dir_suffix= ac_top_builddir=
841 .) # No --srcdir option. We are building in place.
843 if test -z "$ac_top_builddir"; then
846 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
848 [\\/]* | ?:[\\/]* ) # Absolute path.
849 ac_srcdir=$srcdir$ac_dir_suffix;
850 ac_top_srcdir=$srcdir ;;
852 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
853 ac_top_srcdir=$ac_top_builddir$srcdir ;;
855 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
857 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
858 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
859 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
860 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
863 # Check for guested configure; otherwise get Cygnus style configure.
864 if test -f $ac_srcdir/configure.gnu; then
866 $SHELL $ac_srcdir/configure.gnu --help=recursive
867 elif test -f $ac_srcdir/configure; then
869 $SHELL $ac_srcdir/configure --help=recursive
870 elif test -f $ac_srcdir/configure.ac ||
871 test -f $ac_srcdir/configure.in; then
875 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
881 test -n "$ac_init_help" && exit 0
882 if $ac_init_version; then
884 Splint configure 3.1.1
885 generated by GNU Autoconf 2.53
887 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
888 Free Software Foundation, Inc.
889 This configure script is free software; the Free Software Foundation
890 gives unlimited permission to copy, distribute and modify it.
896 This file contains any messages produced by compilers while
897 running configure, to aid debugging if configure makes a mistake.
899 It was created by Splint $as_me 3.1.1, which was
900 generated by GNU Autoconf 2.53. Invocation command line was
911 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
912 uname -m = `(uname -m) 2>/dev/null || echo unknown`
913 uname -r = `(uname -r) 2>/dev/null || echo unknown`
914 uname -s = `(uname -s) 2>/dev/null || echo unknown`
915 uname -v = `(uname -v) 2>/dev/null || echo unknown`
917 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
918 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
920 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
921 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
922 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
923 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
924 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
925 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
926 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
934 test -z "$as_dir" && as_dir=.
950 # Keep a trace of the command line.
951 # Strip out --no-create and --no-recursion so they do not pile up.
952 # Also quote any args containing shell meta-characters.
958 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
959 | --no-cr | --no-c | -n ) continue ;;
960 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
961 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
963 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
964 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
966 case " $ac_configure_args " in
967 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
968 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
971 # Get rid of the leading space.
974 # When interrupted or exit'd, cleanup temporary files, and complete
975 # config.log. We remove comments because anyway the quotes in there
976 # would cause problems or look ugly.
977 # WARNING: Be sure not to use single quotes in there, as some shells,
978 # such as our DU 5.0 friend, will then `close' the trap.
980 # Save into config.log some information that might help in debugging.
984 ## ---------------- ##
985 ## Cache variables. ##
986 ## ---------------- ##
989 # The following way of writing the cache mishandles newlines in values,
992 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
995 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1000 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1005 if test -s confdefs.h; then
1012 sed "/^$/d" confdefs.h
1015 test "$ac_signal" != 0 &&
1016 echo "$as_me: caught signal $ac_signal"
1017 echo "$as_me: exit $exit_status"
1019 rm -f core core.* *.core &&
1020 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1023 for ac_signal in 1 2 13 15; do
1024 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1028 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1029 rm -rf conftest* confdefs.h
1030 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1033 # Predefined preprocessor variables.
1035 cat >>confdefs.h <<_ACEOF
1036 #define PACKAGE_NAME "$PACKAGE_NAME"
1040 cat >>confdefs.h <<_ACEOF
1041 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1045 cat >>confdefs.h <<_ACEOF
1046 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1050 cat >>confdefs.h <<_ACEOF
1051 #define PACKAGE_STRING "$PACKAGE_STRING"
1055 cat >>confdefs.h <<_ACEOF
1056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1060 # Let the site file select an alternate cache file if it wants to.
1061 # Prefer explicitly selected file to automatically selected ones.
1062 if test -z "$CONFIG_SITE"; then
1063 if test "x$prefix" != xNONE; then
1064 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1066 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1069 for ac_site_file in $CONFIG_SITE; do
1070 if test -r "$ac_site_file"; then
1071 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1072 echo "$as_me: loading site script $ac_site_file" >&6;}
1073 sed 's/^/| /' "$ac_site_file" >&5
1078 if test -r "$cache_file"; then
1079 # Some versions of bash will fail to source /dev/null (special
1080 # files actually), so we avoid doing that.
1081 if test -f "$cache_file"; then
1082 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1083 echo "$as_me: loading cache $cache_file" >&6;}
1085 [\\/]* | ?:[\\/]* ) . $cache_file;;
1086 *) . ./$cache_file;;
1090 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1091 echo "$as_me: creating cache $cache_file" >&6;}
1095 # Check that the precious variables saved in the cache have kept the same
1097 ac_cache_corrupted=false
1098 for ac_var in `(set) 2>&1 |
1099 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1100 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1101 eval ac_new_set=\$ac_env_${ac_var}_set
1102 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1103 eval ac_new_val="\$ac_env_${ac_var}_value"
1104 case $ac_old_set,$ac_new_set in
1106 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1107 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1108 ac_cache_corrupted=: ;;
1110 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1111 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1112 ac_cache_corrupted=: ;;
1115 if test "x$ac_old_val" != "x$ac_new_val"; then
1116 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1117 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1118 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1119 echo "$as_me: former value: $ac_old_val" >&2;}
1120 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1121 echo "$as_me: current value: $ac_new_val" >&2;}
1122 ac_cache_corrupted=:
1125 # Pass precious variables to config.status.
1126 if test "$ac_new_set" = set; then
1128 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1129 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1130 *) ac_arg=$ac_var=$ac_new_val ;;
1132 case " $ac_configure_args " in
1133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1134 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1138 if $ac_cache_corrupted; then
1139 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1140 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1141 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1142 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1143 { (exit 1); exit 1; }; }
1147 ac_cpp='$CPP $CPPFLAGS'
1148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1179 for ac_dir in config $srcdir/config; do
1180 if test -f $ac_dir/install-sh; then
1182 ac_install_sh="$ac_aux_dir/install-sh -c"
1184 elif test -f $ac_dir/install.sh; then
1186 ac_install_sh="$ac_aux_dir/install.sh -c"
1188 elif test -f $ac_dir/shtool; then
1190 ac_install_sh="$ac_aux_dir/shtool install -c"
1194 if test -z "$ac_aux_dir"; then
1195 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1196 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1197 { (exit 1); exit 1; }; }
1199 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1200 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1201 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1204 #NO source directory in the binary release so this must be commented out
1205 #AC_CONFIG_SRCDIR([src/lclinit.c])
1207 # Make sure we can run config.sub.
1208 $ac_config_sub sun4 >/dev/null 2>&1 ||
1209 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1210 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1211 { (exit 1); exit 1; }; }
1213 echo "$as_me:$LINENO: checking build system type" >&5
1214 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1215 if test "${ac_cv_build+set}" = set; then
1216 echo $ECHO_N "(cached) $ECHO_C" >&6
1218 ac_cv_build_alias=$build_alias
1219 test -z "$ac_cv_build_alias" &&
1220 ac_cv_build_alias=`$ac_config_guess`
1221 test -z "$ac_cv_build_alias" &&
1222 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1223 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1224 { (exit 1); exit 1; }; }
1225 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1226 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1227 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1228 { (exit 1); exit 1; }; }
1231 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1232 echo "${ECHO_T}$ac_cv_build" >&6
1234 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1235 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1236 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1239 echo "$as_me:$LINENO: checking host system type" >&5
1240 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1241 if test "${ac_cv_host+set}" = set; then
1242 echo $ECHO_N "(cached) $ECHO_C" >&6
1244 ac_cv_host_alias=$host_alias
1245 test -z "$ac_cv_host_alias" &&
1246 ac_cv_host_alias=$ac_cv_build_alias
1247 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1248 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1249 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1250 { (exit 1); exit 1; }; }
1253 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1254 echo "${ECHO_T}$ac_cv_host" >&6
1256 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1257 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1258 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1261 echo "$as_me:$LINENO: checking target system type" >&5
1262 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1263 if test "${ac_cv_target+set}" = set; then
1264 echo $ECHO_N "(cached) $ECHO_C" >&6
1266 ac_cv_target_alias=$target_alias
1267 test "x$ac_cv_target_alias" = "x" &&
1268 ac_cv_target_alias=$ac_cv_host_alias
1269 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1270 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1271 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1272 { (exit 1); exit 1; }; }
1275 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1276 echo "${ECHO_T}$ac_cv_target" >&6
1277 target=$ac_cv_target
1278 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1279 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1280 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1283 # The aliases save the names the user supplied, while $host etc.
1284 # will get canonicalized.
1285 test -n "$target_alias" &&
1286 test "$program_prefix$program_suffix$program_transform_name" = \
1288 program_prefix=${target_alias}-
1290 am__api_version="1.6"
1291 # Find a good install program. We prefer a C program (faster),
1292 # so one script is as good as another. But avoid the broken or
1293 # incompatible versions:
1294 # SysV /etc/install, /usr/sbin/install
1295 # SunOS /usr/etc/install
1296 # IRIX /sbin/install
1298 # AmigaOS /C/install, which installs bootblocks on floppy discs
1299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1302 # ./install, which can be erroneously created by make from ./install.sh.
1303 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1304 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1305 if test -z "$INSTALL"; then
1306 if test "${ac_cv_path_install+set}" = set; then
1307 echo $ECHO_N "(cached) $ECHO_C" >&6
1309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313 test -z "$as_dir" && as_dir=.
1314 # Account for people who put trailing slashes in PATH elements.
1316 ./ | .// | /cC/* | \
1317 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1320 # OSF1 and SCO ODT 3.0 have their own names for install.
1321 # Don't use installbsd from OSF since it installs stuff as root
1323 for ac_prog in ginstall scoinst install; do
1324 for ac_exec_ext in '' $ac_executable_extensions; do
1325 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1326 if test $ac_prog = install &&
1327 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1328 # AIX install. It has an incompatible calling convention.
1330 elif test $ac_prog = install &&
1331 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1332 # program-specific install script used by HP pwplus--don't use.
1335 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1347 if test "${ac_cv_path_install+set}" = set; then
1348 INSTALL=$ac_cv_path_install
1350 # As a last resort, use the slow shell script. We don't cache a
1351 # path for INSTALL within a source directory, because that will
1352 # break other packages using the cache if that directory is
1353 # removed, or if the path is relative.
1354 INSTALL=$ac_install_sh
1357 echo "$as_me:$LINENO: result: $INSTALL" >&5
1358 echo "${ECHO_T}$INSTALL" >&6
1360 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1361 # It thinks the first close brace ends the variable substitution.
1362 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1364 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1366 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1368 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1369 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1372 echo timestamp > conftest.file
1373 # Do `set' in a subshell so we don't clobber the current shell's
1374 # arguments. Must try -L first in case configure is actually a
1375 # symlink; some systems play weird games with the mod time of symlinks
1376 # (eg FreeBSD returns the mod time of the symlink's containing
1379 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1380 if test "$*" = "X"; then
1382 set X `ls -t $srcdir/configure conftest.file`
1385 if test "$*" != "X $srcdir/configure conftest.file" \
1386 && test "$*" != "X conftest.file $srcdir/configure"; then
1388 # If neither matched, then we have a broken ls. This can happen
1389 # if, for instance, CONFIG_SHELL is bash and it inherits a
1390 # broken ls alias from the environment. This has actually
1391 # happened. Such a system could not be considered "sane".
1392 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1393 alias in your environment" >&5
1394 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1395 alias in your environment" >&2;}
1396 { (exit 1); exit 1; }; }
1399 test "$2" = conftest.file
1405 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1406 Check your system clock" >&5
1407 echo "$as_me: error: newly created file is older than distributed files!
1408 Check your system clock" >&2;}
1409 { (exit 1); exit 1; }; }
1411 echo "$as_me:$LINENO: result: yes" >&5
1412 echo "${ECHO_T}yes" >&6
1413 test "$program_prefix" != NONE &&
1414 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1415 # Use a double $ so make ignores it.
1416 test "$program_suffix" != NONE &&
1417 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1418 # Double any \ or $. echo might interpret backslashes.
1419 # By default was `s,x,x', remove it if useless.
1420 cat <<\_ACEOF >conftest.sed
1421 s/[\\$]/&&/g;s/;s,x,x,$//
1423 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1427 # expand $ac_aux_dir to an absolute path
1428 am_aux_dir=`cd $ac_aux_dir && pwd`
1430 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1431 # Use eval to expand $SHELL
1432 if eval "$MISSING --run true"; then
1433 am_missing_run="$MISSING --run "
1436 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1437 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1440 for ac_prog in gawk mawk nawk awk
1442 # Extract the first word of "$ac_prog", so it can be a program name with args.
1443 set dummy $ac_prog; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_AWK+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$AWK"; then
1450 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_AWK="$ac_prog"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469 if test -n "$AWK"; then
1470 echo "$as_me:$LINENO: result: $AWK" >&5
1471 echo "${ECHO_T}$AWK" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1477 test -n "$AWK" && break
1480 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1481 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1482 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1483 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 cat >conftest.make <<\_ACEOF
1488 @echo 'ac_maketemp="${MAKE}"'
1490 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1491 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1492 if test -n "$ac_maketemp"; then
1493 eval ac_cv_prog_make_${ac_make}_set=yes
1495 eval ac_cv_prog_make_${ac_make}_set=no
1499 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1500 echo "$as_me:$LINENO: result: yes" >&5
1501 echo "${ECHO_T}yes" >&6
1504 echo "$as_me:$LINENO: result: no" >&5
1505 echo "${ECHO_T}no" >&6
1506 SET_MAKE="MAKE=${MAKE-make}"
1509 # test to see if srcdir already configured
1510 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1511 test -f $srcdir/config.status; then
1512 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1513 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1514 { (exit 1); exit 1; }; }
1517 # Define the identity of the package.
1522 # Some tools Automake needs.
1524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1539 AMTAR=${AMTAR-"${am_missing_run}tar"}
1541 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1543 # Installed binaries are usually stripped using `strip' when the user
1544 # run `make install-strip'. However `strip' might not be the right
1545 # tool to use in cross-compilation environments, therefore Automake
1546 # will honor the `STRIP' environment variable to overrule this program.
1547 if test "$cross_compiling" != no; then
1548 if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1550 set dummy ${ac_tool_prefix}strip; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_STRIP+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$STRIP"; then
1557 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 STRIP=$ac_cv_prog_STRIP
1576 if test -n "$STRIP"; then
1577 echo "$as_me:$LINENO: result: $STRIP" >&5
1578 echo "${ECHO_T}$STRIP" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1585 if test -z "$ac_cv_prog_STRIP"; then
1587 # Extract the first word of "strip", so it can be a program name with args.
1588 set dummy strip; ac_word=$2
1589 echo "$as_me:$LINENO: checking for $ac_word" >&5
1590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1591 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 if test -n "$ac_ct_STRIP"; then
1595 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 for ac_exec_ext in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1604 ac_cv_prog_ac_ct_STRIP="strip"
1605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1611 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1615 if test -n "$ac_ct_STRIP"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1617 echo "${ECHO_T}$ac_ct_STRIP" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1625 STRIP="$ac_cv_prog_STRIP"
1629 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1631 # We need awk for the "check" target. The system "awk" is bad on
1636 # Add the stamp file to the list of files AC keeps track of,
1637 # along with our hook.
1638 ac_config_headers="$ac_config_headers config.h:config.hin"
1648 #drl 12-19-2001 commented out so Splint won't depend on C++
1651 ac_cpp='$CPP $CPPFLAGS'
1652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC="$CC" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 if test -n "$CC"; then
1684 echo "$as_me:$LINENO: result: $CC" >&5
1685 echo "${ECHO_T}$CC" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1692 if test -z "$ac_cv_prog_CC"; then
1694 # Extract the first word of "gcc", so it can be a program name with args.
1695 set dummy gcc; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_CC"; then
1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_CC="gcc"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1721 if test -n "$ac_ct_CC"; then
1722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1723 echo "${ECHO_T}$ac_ct_CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1734 if test -z "$CC"; then
1735 if test -n "$ac_tool_prefix"; then
1736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1737 set dummy ${ac_tool_prefix}cc; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_CC+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 if test -n "$CC"; then
1744 ac_cv_prog_CC="$CC" # Let the user override the test.
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_CC="${ac_tool_prefix}cc"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763 if test -n "$CC"; then
1764 echo "$as_me:$LINENO: result: $CC" >&5
1765 echo "${ECHO_T}$CC" >&6
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1772 if test -z "$ac_cv_prog_CC"; then
1774 # Extract the first word of "cc", so it can be a program name with args.
1775 set dummy cc; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$ac_ct_CC"; then
1782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir=.
1789 for ac_exec_ext in '' $ac_executable_extensions; do
1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791 ac_cv_prog_ac_ct_CC="cc"
1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1801 if test -n "$ac_ct_CC"; then
1802 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1803 echo "${ECHO_T}$ac_ct_CC" >&6
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1815 if test -z "$CC"; then
1816 # Extract the first word of "cc", so it can be a program name with args.
1817 set dummy cc; ac_word=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$CC"; then
1824 ac_cv_prog_CC="$CC" # Let the user override the test.
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir=.
1832 for ac_exec_ext in '' $ac_executable_extensions; do
1833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1835 ac_prog_rejected=yes
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 if test $ac_prog_rejected = yes; then
1846 # We found a bogon in the path, so make sure we never use it.
1847 set dummy $ac_cv_prog_CC
1849 if test $# != 0; then
1850 # We chose a different compiler from the bogus one.
1851 # However, it has the same basename, so the bogon will be chosen
1852 # first if we set CC to just the basename; use the full file name.
1854 set dummy "$as_dir/$ac_word" ${1+"$@"}
1862 if test -n "$CC"; then
1863 echo "$as_me:$LINENO: result: $CC" >&5
1864 echo "${ECHO_T}$CC" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$CC"; then
1872 if test -n "$ac_tool_prefix"; then
1875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1876 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC="$CC" # Let the user override the test.
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 if test -n "$CC"; then
1903 echo "$as_me:$LINENO: result: $CC" >&5
1904 echo "${ECHO_T}$CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1910 test -n "$CC" && break
1913 if test -z "$CC"; then
1917 # Extract the first word of "$ac_prog", so it can be a program name with args.
1918 set dummy $ac_prog; ac_word=$2
1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$ac_ct_CC"; then
1925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 ac_cv_prog_ac_ct_CC="$ac_prog"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1944 if test -n "$ac_ct_CC"; then
1945 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1946 echo "${ECHO_T}$ac_ct_CC" >&6
1948 echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6
1952 test -n "$ac_ct_CC" && break
1961 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1962 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1963 { (exit 1); exit 1; }; }
1965 # Provide some information about the compiler.
1966 echo "$as_me:$LINENO:" \
1967 "checking for C compiler version" >&5
1968 ac_compiler=`set X $ac_compile; echo $2`
1969 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1970 (eval $ac_compiler --version </dev/null >&5) 2>&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }
1974 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1975 (eval $ac_compiler -v </dev/null >&5) 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }
1979 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1980 (eval $ac_compiler -V </dev/null >&5) 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1985 cat >conftest.$ac_ext <<_ACEOF
1986 #line $LINENO "configure"
1987 #include "confdefs.h"
1989 #ifdef F77_DUMMY_MAIN
1993 int F77_DUMMY_MAIN() { return 1; }
2003 ac_clean_files_save=$ac_clean_files
2004 ac_clean_files="$ac_clean_files a.out a.exe"
2005 # Try to create an executable without -o first, disregard a.out.
2006 # It will help us diagnose broken compilers, and finding out an intuition
2008 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2009 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2010 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2011 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2012 (eval $ac_link_default) 2>&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; then
2016 # Find the output, starting from the most likely. This scheme is
2017 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2020 # Be careful to initialize this variable, since it used to be cached.
2021 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2023 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2024 ls a.out conftest 2>/dev/null;
2025 ls a.* conftest.* 2>/dev/null`; do
2027 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2028 a.out ) # We found the default executable, but exeext='' is most
2031 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2032 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2039 echo "$as_me: failed program was:" >&5
2040 cat conftest.$ac_ext >&5
2041 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2042 echo "$as_me: error: C compiler cannot create executables" >&2;}
2043 { (exit 77); exit 77; }; }
2046 ac_exeext=$ac_cv_exeext
2047 echo "$as_me:$LINENO: result: $ac_file" >&5
2048 echo "${ECHO_T}$ac_file" >&6
2050 # Check the compiler produces executables we can run. If not, either
2051 # the compiler is broken, or we cross compile.
2052 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2053 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2054 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2055 # If not cross compiling, check that we can run a simple program.
2056 if test "$cross_compiling" != yes; then
2057 if { ac_try='./$ac_file'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; }; then
2065 if test "$cross_compiling" = maybe; then
2068 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2069 If you meant to cross compile, use \`--host'." >&5
2070 echo "$as_me: error: cannot run C compiled programs.
2071 If you meant to cross compile, use \`--host'." >&2;}
2072 { (exit 1); exit 1; }; }
2076 echo "$as_me:$LINENO: result: yes" >&5
2077 echo "${ECHO_T}yes" >&6
2079 rm -f a.out a.exe conftest$ac_cv_exeext
2080 ac_clean_files=$ac_clean_files_save
2081 # Check the compiler produces executables we can run. If not, either
2082 # the compiler is broken, or we cross compile.
2083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2086 echo "${ECHO_T}$cross_compiling" >&6
2088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2091 (eval $ac_link) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; then
2095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2097 # work properly (i.e., refer to `conftest.exe'), while it won't with
2099 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2101 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2102 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2109 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2110 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2111 { (exit 1); exit 1; }; }
2114 rm -f conftest$ac_cv_exeext
2115 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2116 echo "${ECHO_T}$ac_cv_exeext" >&6
2118 rm -f conftest.$ac_ext
2119 EXEEXT=$ac_cv_exeext
2121 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2122 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2123 if test "${ac_cv_objext+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 cat >conftest.$ac_ext <<_ACEOF
2127 #line $LINENO "configure"
2128 #include "confdefs.h"
2130 #ifdef F77_DUMMY_MAIN
2134 int F77_DUMMY_MAIN() { return 1; }
2144 rm -f conftest.o conftest.obj
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }; then
2150 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2153 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2158 echo "$as_me: failed program was:" >&5
2159 cat conftest.$ac_ext >&5
2160 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2161 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2162 { (exit 1); exit 1; }; }
2165 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2167 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2168 echo "${ECHO_T}$ac_cv_objext" >&6
2169 OBJEXT=$ac_cv_objext
2171 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2172 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2173 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 cat >conftest.$ac_ext <<_ACEOF
2177 #line $LINENO "configure"
2178 #include "confdefs.h"
2180 #ifdef F77_DUMMY_MAIN
2184 int F77_DUMMY_MAIN() { return 1; }
2197 rm -f conftest.$ac_objext
2198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2199 (eval $ac_compile) 2>&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); } &&
2203 { ac_try='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2211 echo "$as_me: failed program was:" >&5
2212 cat conftest.$ac_ext >&5
2215 rm -f conftest.$ac_objext conftest.$ac_ext
2216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2219 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2220 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2221 GCC=`test $ac_compiler_gnu = yes && echo yes`
2222 ac_test_CFLAGS=${CFLAGS+set}
2223 ac_save_CFLAGS=$CFLAGS
2225 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2226 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2227 if test "${ac_cv_prog_cc_g+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.$ac_ext <<_ACEOF
2231 #line $LINENO "configure"
2232 #include "confdefs.h"
2234 #ifdef F77_DUMMY_MAIN
2238 int F77_DUMMY_MAIN() { return 1; }
2248 rm -f conftest.$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); } &&
2254 { ac_try='test -s conftest.$ac_objext'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; }; then
2262 echo "$as_me: failed program was:" >&5
2263 cat conftest.$ac_ext >&5
2266 rm -f conftest.$ac_objext conftest.$ac_ext
2268 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2269 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2270 if test "$ac_test_CFLAGS" = set; then
2271 CFLAGS=$ac_save_CFLAGS
2272 elif test $ac_cv_prog_cc_g = yes; then
2273 if test "$GCC" = yes; then
2279 if test "$GCC" = yes; then
2285 # Some people use a C++ compiler to compile C. Since we use `exit',
2286 # in C++ we need to declare it. In case someone uses the same compiler
2287 # for both compiling C and C++ we need to have the C++ compiler decide
2288 # the declaration of exit, since it's the most demanding environment.
2289 cat >conftest.$ac_ext <<_ACEOF
2294 rm -f conftest.$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); } &&
2300 { ac_try='test -s conftest.$ac_objext'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2306 for ac_declaration in \
2308 '#include <stdlib.h>' \
2309 'extern "C" void std::exit (int) throw (); using std::exit;' \
2310 'extern "C" void std::exit (int); using std::exit;' \
2311 'extern "C" void exit (int) throw ();' \
2312 'extern "C" void exit (int);' \
2315 cat >conftest.$ac_ext <<_ACEOF
2316 #line $LINENO "configure"
2317 #include "confdefs.h"
2320 #ifdef F77_DUMMY_MAIN
2324 int F77_DUMMY_MAIN() { return 1; }
2334 rm -f conftest.$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); } &&
2340 { ac_try='test -s conftest.$ac_objext'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2348 echo "$as_me: failed program was:" >&5
2349 cat conftest.$ac_ext >&5
2352 rm -f conftest.$ac_objext conftest.$ac_ext
2353 cat >conftest.$ac_ext <<_ACEOF
2354 #line $LINENO "configure"
2355 #include "confdefs.h"
2357 #ifdef F77_DUMMY_MAIN
2361 int F77_DUMMY_MAIN() { return 1; }
2371 rm -f conftest.$ac_objext
2372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2373 (eval $ac_compile) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } &&
2377 { ac_try='test -s conftest.$ac_objext'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2385 echo "$as_me: failed program was:" >&5
2386 cat conftest.$ac_ext >&5
2388 rm -f conftest.$ac_objext conftest.$ac_ext
2391 if test -n "$ac_declaration"; then
2392 echo '#ifdef __cplusplus' >>confdefs.h
2393 echo $ac_declaration >>confdefs.h
2394 echo '#endif' >>confdefs.h
2398 echo "$as_me: failed program was:" >&5
2399 cat conftest.$ac_ext >&5
2401 rm -f conftest.$ac_objext conftest.$ac_ext
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407 rm -f .deps 2>/dev/null
2408 mkdir .deps 2>/dev/null
2409 if test -d .deps; then
2412 # MS-DOS does not allow filenames that begin with a dot.
2415 rmdir .deps 2>/dev/null
2418 ac_config_commands="$ac_config_commands depfiles"
2421 am_make=${MAKE-make}
2422 cat > confinc << 'END'
2426 # If we don't find an include directive, just comment out the code.
2427 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2428 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2432 # First try GNU make style include.
2433 echo "include confinc" > confmf
2434 # We grep out `Entering directory' and `Leaving directory'
2435 # messages which can occur if `w' ends up in MAKEFLAGS.
2436 # In particular we don't look at `^make:' because GNU make might
2437 # be invoked under some other name (usually "gmake"), in which
2438 # case it prints its new name instead of `make'.
2439 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2444 # Now try BSD make style include.
2445 if test "$am__include" = "#"; then
2446 echo '.include "confinc"' > confmf
2447 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2448 am__include=.include
2455 echo "$as_me:$LINENO: result: $_am_result" >&5
2456 echo "${ECHO_T}$_am_result" >&6
2457 rm -f confinc confmf
2459 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2460 if test "${enable_dependency_tracking+set}" = set; then
2461 enableval="$enable_dependency_tracking"
2464 if test "x$enable_dependency_tracking" != xno; then
2465 am_depcomp="$ac_aux_dir/depcomp"
2470 if test "x$enable_dependency_tracking" != xno; then
2481 depcc="$CC" am_compiler_list=
2483 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2484 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2485 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2489 # We make a subdir and do the tests there. Otherwise we can end up
2490 # making bogus files that we don't know about and never remove. For
2491 # instance it was reported that on HP-UX the gcc test will end up
2492 # making a dummy file named `D' -- because `-MD' means `put the output
2495 # Copy depcomp to subdir because otherwise we won't find it if we're
2496 # using a relative directory.
2497 cp "$am_depcomp" conftest.dir
2500 am_cv_CC_dependencies_compiler_type=none
2501 if test "$am_compiler_list" = ""; then
2502 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2504 for depmode in $am_compiler_list; do
2505 # We need to recreate these files for each test, as the compiler may
2506 # overwrite some of them when testing with obscure command lines.
2507 # This happens at least with the AIX C compiler.
2508 echo '#include "conftest.h"' > conftest.c
2509 echo 'int i;' > conftest.h
2510 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2514 # after this tag, mechanisms are not by side-effect, so they'll
2515 # only be used when explicitly requested
2516 if test "x$enable_dependency_tracking" = xyes; then
2524 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2525 # mode. It turns out that the SunPro C++ compiler does not properly
2526 # handle `-M -o', and we need to detect this.
2527 if depmode=$depmode \
2528 source=conftest.c object=conftest.o \
2529 depfile=conftest.Po tmpdepfile=conftest.TPo \
2530 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2531 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2532 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2533 am_cv_CC_dependencies_compiler_type=$depmode
2541 am_cv_CC_dependencies_compiler_type=none
2545 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2546 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2547 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2551 ac_cpp='$CPP $CPPFLAGS'
2552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2555 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2556 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2557 # On Suns, sometimes $CPP names a directory.
2558 if test -n "$CPP" && test -d "$CPP"; then
2561 if test -z "$CPP"; then
2562 if test "${ac_cv_prog_CPP+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 # Double quotes because CPP needs to be expanded
2566 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2569 for ac_c_preproc_warn_flag in '' yes
2571 # Use a header file that comes with gcc, so configuring glibc
2572 # with a fresh cross-compiler works.
2573 # On the NeXT, cc -E runs the code through the compiler's parser,
2574 # not just through cpp. "Syntax error" is here to catch this case.
2575 cat >conftest.$ac_ext <<_ACEOF
2576 #line $LINENO "configure"
2577 #include "confdefs.h"
2581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2584 egrep -v '^ *\+' conftest.er1 >conftest.err
2586 cat conftest.err >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } >/dev/null; then
2589 if test -s conftest.err; then
2590 ac_cpp_err=$ac_c_preproc_warn_flag
2597 if test -z "$ac_cpp_err"; then
2600 echo "$as_me: failed program was:" >&5
2601 cat conftest.$ac_ext >&5
2602 # Broken: fails on valid input.
2605 rm -f conftest.err conftest.$ac_ext
2607 # OK, works on sane cases. Now check whether non-existent headers
2608 # can be detected and how.
2609 cat >conftest.$ac_ext <<_ACEOF
2610 #line $LINENO "configure"
2611 #include "confdefs.h"
2612 #include <ac_nonexistent.h>
2614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2617 egrep -v '^ *\+' conftest.er1 >conftest.err
2619 cat conftest.err >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } >/dev/null; then
2622 if test -s conftest.err; then
2623 ac_cpp_err=$ac_c_preproc_warn_flag
2630 if test -z "$ac_cpp_err"; then
2631 # Broken: success on invalid input.
2634 echo "$as_me: failed program was:" >&5
2635 cat conftest.$ac_ext >&5
2636 # Passes both tests.
2640 rm -f conftest.err conftest.$ac_ext
2643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2644 rm -f conftest.err conftest.$ac_ext
2645 if $ac_preproc_ok; then
2657 echo "$as_me:$LINENO: result: $CPP" >&5
2658 echo "${ECHO_T}$CPP" >&6
2660 for ac_c_preproc_warn_flag in '' yes
2662 # Use a header file that comes with gcc, so configuring glibc
2663 # with a fresh cross-compiler works.
2664 # On the NeXT, cc -E runs the code through the compiler's parser,
2665 # not just through cpp. "Syntax error" is here to catch this case.
2666 cat >conftest.$ac_ext <<_ACEOF
2667 #line $LINENO "configure"
2668 #include "confdefs.h"
2672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2675 egrep -v '^ *\+' conftest.er1 >conftest.err
2677 cat conftest.err >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } >/dev/null; then
2680 if test -s conftest.err; then
2681 ac_cpp_err=$ac_c_preproc_warn_flag
2688 if test -z "$ac_cpp_err"; then
2691 echo "$as_me: failed program was:" >&5
2692 cat conftest.$ac_ext >&5
2693 # Broken: fails on valid input.
2696 rm -f conftest.err conftest.$ac_ext
2698 # OK, works on sane cases. Now check whether non-existent headers
2699 # can be detected and how.
2700 cat >conftest.$ac_ext <<_ACEOF
2701 #line $LINENO "configure"
2702 #include "confdefs.h"
2703 #include <ac_nonexistent.h>
2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2708 egrep -v '^ *\+' conftest.er1 >conftest.err
2710 cat conftest.err >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } >/dev/null; then
2713 if test -s conftest.err; then
2714 ac_cpp_err=$ac_c_preproc_warn_flag
2721 if test -z "$ac_cpp_err"; then
2722 # Broken: success on invalid input.
2725 echo "$as_me: failed program was:" >&5
2726 cat conftest.$ac_ext >&5
2727 # Passes both tests.
2731 rm -f conftest.err conftest.$ac_ext
2734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2735 rm -f conftest.err conftest.$ac_ext
2736 if $ac_preproc_ok; then
2739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2740 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2741 { (exit 1); exit 1; }; }
2745 ac_cpp='$CPP $CPPFLAGS'
2746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2751 for ac_prog in flex lex
2753 # Extract the first word of "$ac_prog", so it can be a program name with args.
2754 set dummy $ac_prog; ac_word=$2
2755 echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757 if test "${ac_cv_prog_LEX+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$LEX"; then
2761 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_LEX="$ac_prog"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 if test -n "$LEX"; then
2781 echo "$as_me:$LINENO: result: $LEX" >&5
2782 echo "${ECHO_T}$LEX" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2788 test -n "$LEX" && break
2790 test -n "$LEX" || LEX=":"
2792 if test -z "$LEXLIB"
2794 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2795 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2796 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 ac_check_lib_save_LIBS=$LIBS
2801 cat >conftest.$ac_ext <<_ACEOF
2802 #line $LINENO "configure"
2803 #include "confdefs.h"
2805 /* Override any gcc2 internal prototype to avoid an error. */
2809 /* We use char because int might match the return type of a gcc2
2810 builtin and then its argument prototype would still apply. */
2812 #ifdef F77_DUMMY_MAIN
2816 int F77_DUMMY_MAIN() { return 1; }
2826 rm -f conftest.$ac_objext conftest$ac_exeext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2828 (eval $ac_link) 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try='test -s conftest$ac_exeext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2838 ac_cv_lib_fl_yywrap=yes
2840 echo "$as_me: failed program was:" >&5
2841 cat conftest.$ac_ext >&5
2842 ac_cv_lib_fl_yywrap=no
2844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2845 LIBS=$ac_check_lib_save_LIBS
2847 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2848 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2849 if test $ac_cv_lib_fl_yywrap = yes; then
2852 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2853 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2854 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 ac_check_lib_save_LIBS=$LIBS
2859 cat >conftest.$ac_ext <<_ACEOF
2860 #line $LINENO "configure"
2861 #include "confdefs.h"
2863 /* Override any gcc2 internal prototype to avoid an error. */
2867 /* We use char because int might match the return type of a gcc2
2868 builtin and then its argument prototype would still apply. */
2870 #ifdef F77_DUMMY_MAIN
2874 int F77_DUMMY_MAIN() { return 1; }
2884 rm -f conftest.$ac_objext conftest$ac_exeext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2886 (eval $ac_link) 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try='test -s conftest$ac_exeext'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; }; then
2896 ac_cv_lib_l_yywrap=yes
2898 echo "$as_me: failed program was:" >&5
2899 cat conftest.$ac_ext >&5
2900 ac_cv_lib_l_yywrap=no
2902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2903 LIBS=$ac_check_lib_save_LIBS
2905 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2906 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2907 if test $ac_cv_lib_l_yywrap = yes; then
2915 if test "x$LEX" != "x:"; then
2916 echo "$as_me:$LINENO: checking lex output file root" >&5
2917 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2918 if test "${ac_cv_prog_lex_root+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 # The minimal lex program is just a single line: %%. But some broken lexes
2922 # (Solaris, I think it was) want two %% lines, so accommodate them.
2923 cat >conftest.l <<_ACEOF
2927 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2928 (eval $LEX conftest.l) 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }
2932 if test -f lex.yy.c; then
2933 ac_cv_prog_lex_root=lex.yy
2934 elif test -f lexyy.c; then
2935 ac_cv_prog_lex_root=lexyy
2937 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2938 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2939 { (exit 1); exit 1; }; }
2942 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2943 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2945 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2947 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2948 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2949 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 # POSIX says lex can declare yytext either as a pointer or an array; the
2953 # default is implementation-dependent. Figure out which it is, since
2954 # not all implementations provide the %pointer and %array declarations.
2955 ac_cv_prog_lex_yytext_pointer=no
2956 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2958 LIBS="$LIBS $LEXLIB"
2959 cat >conftest.$ac_ext <<_ACEOF
2960 `cat $LEX_OUTPUT_ROOT.c`
2962 rm -f conftest.$ac_objext conftest$ac_exeext
2963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2964 (eval $ac_link) 2>&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } &&
2968 { ac_try='test -s conftest$ac_exeext'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; }; then
2974 ac_cv_prog_lex_yytext_pointer=yes
2976 echo "$as_me: failed program was:" >&5
2977 cat conftest.$ac_ext >&5
2979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2981 rm -f "${LEX_OUTPUT_ROOT}.c"
2984 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2985 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2986 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2988 cat >>confdefs.h <<\_ACEOF
2989 #define YYTEXT_POINTER 1
2995 if test "$LEX" = :; then
2996 LEX=${am_missing_run}flex
2998 # Find a good install program. We prefer a C program (faster),
2999 # so one script is as good as another. But avoid the broken or
3000 # incompatible versions:
3001 # SysV /etc/install, /usr/sbin/install
3002 # SunOS /usr/etc/install
3003 # IRIX /sbin/install
3005 # AmigaOS /C/install, which installs bootblocks on floppy discs
3006 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3007 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3008 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3009 # ./install, which can be erroneously created by make from ./install.sh.
3010 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3011 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3012 if test -z "$INSTALL"; then
3013 if test "${ac_cv_path_install+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 # Account for people who put trailing slashes in PATH elements.
3023 ./ | .// | /cC/* | \
3024 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3027 # OSF1 and SCO ODT 3.0 have their own names for install.
3028 # Don't use installbsd from OSF since it installs stuff as root
3030 for ac_prog in ginstall scoinst install; do
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3033 if test $ac_prog = install &&
3034 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3035 # AIX install. It has an incompatible calling convention.
3037 elif test $ac_prog = install &&
3038 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3039 # program-specific install script used by HP pwplus--don't use.
3042 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3054 if test "${ac_cv_path_install+set}" = set; then
3055 INSTALL=$ac_cv_path_install
3057 # As a last resort, use the slow shell script. We don't cache a
3058 # path for INSTALL within a source directory, because that will
3059 # break other packages using the cache if that directory is
3060 # removed, or if the path is relative.
3061 INSTALL=$ac_install_sh
3064 echo "$as_me:$LINENO: result: $INSTALL" >&5
3065 echo "${ECHO_T}$INSTALL" >&6
3067 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3068 # It thinks the first close brace ends the variable substitution.
3069 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3071 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3073 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3075 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
3076 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3077 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3078 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 cat >conftest.make <<\_ACEOF
3083 @echo 'ac_maketemp="${MAKE}"'
3085 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3086 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3087 if test -n "$ac_maketemp"; then
3088 eval ac_cv_prog_make_${ac_make}_set=yes
3090 eval ac_cv_prog_make_${ac_make}_set=no
3094 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3101 SET_MAKE="MAKE=${MAKE-make}"
3104 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3107 if test "$LN_S" = "ln -s"; then
3108 echo "$as_me:$LINENO: result: yes" >&5
3109 echo "${ECHO_T}yes" >&6
3111 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3112 echo "${ECHO_T}no, using $LN_S" >&6
3115 # Extract the first word of "bison", so it can be a program name with args.
3116 set dummy bison; ac_word=$2
3117 echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3119 if test "${ac_cv_prog_BISON+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 if test -n "$BISON"; then
3123 ac_cv_prog_BISON="$BISON" # Let the user override the test.
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_BISON="bison"
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="no"
3142 BISON=$ac_cv_prog_BISON
3143 if test -n "$BISON"; then
3144 echo "$as_me:$LINENO: result: $BISON" >&5
3145 echo "${ECHO_T}$BISON" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3151 # Extract the first word of "grep", so it can be a program name with args.
3152 set dummy grep; ac_word=$2
3153 echo "$as_me:$LINENO: checking for $ac_word" >&5
3154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3155 if test "${ac_cv_prog_GREP+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 if test -n "$GREP"; then
3159 ac_cv_prog_GREP="$GREP" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_GREP="grep"
3169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="grep-is-missing"
3178 GREP=$ac_cv_prog_GREP
3179 if test -n "$GREP"; then
3180 echo "$as_me:$LINENO: result: $GREP" >&5
3181 echo "${ECHO_T}$GREP" >&6
3183 echo "$as_me:$LINENO: result: no" >&5
3184 echo "${ECHO_T}no" >&6
3187 # Extract the first word of "diff", so it can be a program name with args.
3188 set dummy diff; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_DIFF+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -n "$DIFF"; then
3195 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_DIFF="diff"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 test -z "$ac_cv_prog_DIFF" && ac_cv_prog_DIFF="diff-is-missing"
3214 DIFF=$ac_cv_prog_DIFF
3215 if test -n "$DIFF"; then
3216 echo "$as_me:$LINENO: result: $DIFF" >&5
3217 echo "${ECHO_T}$DIFF" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3223 # Extract the first word of "cat", so it can be a program name with args.
3224 set dummy cat; ac_word=$2
3225 echo "$as_me:$LINENO: checking for $ac_word" >&5
3226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3227 if test "${ac_cv_prog_CAT+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 if test -n "$CAT"; then
3231 ac_cv_prog_CAT="$CAT" # Let the user override the test.
3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 test -z "$as_dir" && as_dir=.
3238 for ac_exec_ext in '' $ac_executable_extensions; do
3239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3240 ac_cv_prog_CAT="cat"
3241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 test -z "$ac_cv_prog_CAT" && ac_cv_prog_CAT="cat-is-missing"
3251 if test -n "$CAT"; then
3252 echo "$as_me:$LINENO: result: $CAT" >&5
3253 echo "${ECHO_T}$CAT" >&6
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3259 # Extract the first word of "rm", so it can be a program name with args.
3260 set dummy rm; ac_word=$2
3261 echo "$as_me:$LINENO: checking for $ac_word" >&5
3262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3263 if test "${ac_cv_prog_RM+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 if test -n "$RM"; then
3267 ac_cv_prog_RM="$RM" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM="rm-is-missing"
3287 if test -n "$RM"; then
3288 echo "$as_me:$LINENO: result: $RM" >&5
3289 echo "${ECHO_T}$RM" >&6
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3295 # Extract the first word of "mv", so it can be a program name with args.
3296 set dummy mv; ac_word=$2
3297 echo "$as_me:$LINENO: checking for $ac_word" >&5
3298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3299 if test "${ac_cv_prog_MV+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 if test -n "$MV"; then
3303 ac_cv_prog_MV="$MV" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV="mv-is-missing"
3323 if test -n "$MV"; then
3324 echo "$as_me:$LINENO: result: $MV" >&5
3325 echo "${ECHO_T}$MV" >&6
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3331 # Extract the first word of "cp", so it can be a program name with args.
3332 set dummy cp; ac_word=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_prog_CP+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 if test -n "$CP"; then
3339 ac_cv_prog_CP="$CP" # Let the user override the test.
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345 test -z "$as_dir" && as_dir=.
3346 for ac_exec_ext in '' $ac_executable_extensions; do
3347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP="cp-is-missing"
3359 if test -n "$CP"; then
3360 echo "$as_me:$LINENO: result: $CP" >&5
3361 echo "${ECHO_T}$CP" >&6
3363 echo "$as_me:$LINENO: result: no" >&5
3364 echo "${ECHO_T}no" >&6
3367 # Extract the first word of "sed", so it can be a program name with args.
3368 set dummy sed; ac_word=$2
3369 echo "$as_me:$LINENO: checking for $ac_word" >&5
3370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3371 if test "${ac_cv_prog_SED+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 if test -n "$SED"; then
3375 ac_cv_prog_SED="$SED" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_SED="sed"
3385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="sed-is-missing"
3395 if test -n "$SED"; then
3396 echo "$as_me:$LINENO: result: $SED" >&5
3397 echo "${ECHO_T}$SED" >&6
3399 echo "$as_me:$LINENO: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3408 echo "$as_me:$LINENO: checking whether we need _ALL_SOURCE to expose mode_t" >&5
3409 echo $ECHO_N "checking whether we need _ALL_SOURCE to expose mode_t... $ECHO_C" >&6
3411 cat >conftest.$ac_ext <<_ACEOF
3412 #line $LINENO "configure"
3413 #include "confdefs.h"
3418 #ifdef F77_DUMMY_MAIN
3422 int F77_DUMMY_MAIN() { return 1; }
3432 rm -f conftest.$ac_objext
3433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3434 (eval $ac_compile) 2>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } &&
3438 { ac_try='test -s conftest.$ac_objext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 cat conftest.$ac_ext >&5
3450 rm -f conftest.$ac_objext conftest.$ac_ext
3451 if test $all = maybe ; then
3452 cat >conftest.$ac_ext <<_ACEOF
3453 #line $LINENO "configure"
3454 #include "confdefs.h"
3460 #ifdef F77_DUMMY_MAIN
3464 int F77_DUMMY_MAIN() { return 1; }
3474 rm -f conftest.$ac_objext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3476 (eval $ac_compile) 2>&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } &&
3480 { ac_try='test -s conftest.$ac_objext'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; }; then
3486 cat >>confdefs.h <<\_ACEOF
3487 #define _ALL_SOURCE 1
3491 echo "$as_me: failed program was:" >&5
3492 cat conftest.$ac_ext >&5
3494 rm -f conftest.$ac_objext conftest.$ac_ext
3496 if test $all = maybe ; then all=no ; fi
3497 echo "$as_me:$LINENO: result: $all" >&5
3498 echo "${ECHO_T}$all" >&6
3502 LCLOBJ='$(lcl_OBJECTS)'
3504 # Check whether --with-lcl or --without-lcl was given.
3505 if test "${with_lcl+set}" = set; then
3507 ac_cv_use_lcl=$withval
3509 echo "$as_me:$LINENO: checking whether to include support for LCL files" >&5
3510 echo $ECHO_N "checking whether to include support for LCL files... $ECHO_C" >&6
3511 if test "${ac_cv_use_lcl+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 echo "$as_me:$LINENO: result: $ac_cv_use_lcl" >&5
3517 echo "${ECHO_T}$ac_cv_use_lcl" >&6
3519 if test x$ac_cv_use_lcl != xyes; then
3522 cat >>confdefs.h <<\_ACEOF
3529 # Make sure we have an actual value for $prefix
3531 test x$myprefix = xNONE && myprefix=$ac_default_prefix
3534 ### Yuck! This is really kludgey, but I don't understand autoconf well
3535 ### enough to do something simple that always works. Hopefully this does.
3537 # cpplib.h defines 2 include dirs; one is $includedir, the other is gcc's
3538 # include dir. Not the most portable setup, but let's do our best.
3540 if test x$GCC = xyes; then
3542 # This breaks on gcc-3.0 on redhat fixing drl 11-15-2001
3543 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/'`
3544 GCC_INCLUDE_DIR=/usr/include
3545 # was /usr/lib/gcc-lib/i386-linux/2.7.2.1/include
3546 # GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -n -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/p'`
3548 cat >>confdefs.h <<_ACEOF
3549 #define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3553 GCC_INCLUDE_DIR=/usr/include
3555 cat >>confdefs.h <<_ACEOF
3556 #define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3562 cat >>confdefs.h <<_ACEOF
3563 #define GCC_INCLUDE_DIR2 "$myprefix/include"
3567 # These used to be in local_constants.h
3569 cat >>confdefs.h <<_ACEOF
3570 #define SYSTEM_LIBDIR "$myprefix/include"
3574 cat >>confdefs.h <<_ACEOF
3575 #define DEFAULT_LARCHPATH ".$PATH_SEPARATOR$myprefix/share/splint/lib$PATH_SEPARATOR`pwd`/lib$PATH_SEPARATOR"
3579 cat >>confdefs.h <<_ACEOF
3580 #define DEFAULT_LCLIMPORTDIR ".$PATH_SEPARATOR$myprefix/share/splint/imports$PATH_SEPARATOR`pwd`/imports"
3584 # These used to be in herald.h
3585 LCL_PARSE_VERSION="Splint 3.1.1"
3587 cat >>confdefs.h <<_ACEOF
3588 #define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`"
3592 cat >>confdefs.h <<_ACEOF
3593 #define LCL_PARSE_VERSION "$LCL_PARSE_VERSION"
3597 cat >>confdefs.h <<_ACEOF
3598 #define LCL_COMPILE "Compiled using $CC $CFLAGS on `uname -a` by `whoami`"
3604 cat >>confdefs.h <<\_ACEOF
3609 #just define some Header constants for now...
3613 cat >>confdefs.h <<_ACEOF
3614 #define UNAME "${UNAME}"
3619 cat >>confdefs.h <<_ACEOF
3620 #define BUILD "${build}"
3624 cat >>confdefs.h <<_ACEOF
3625 #define HOST "${host}"
3629 cat >>confdefs.h <<_ACEOF
3630 #define TARGET "${target}"
3635 cat >>confdefs.h <<_ACEOF
3636 #define BUILD_ALIAS "${build_alias}"
3640 cat >>confdefs.h <<_ACEOF
3641 #define HOST_ALIAS "${host_alias}"
3645 cat >>confdefs.h <<_ACEOF
3646 #define TARGET_ALIAS "${TARGET_ALIAS}"
3651 cat >>confdefs.h <<_ACEOF
3652 #define BUILD_CPU "${build_cpu}"
3656 cat >>confdefs.h <<_ACEOF
3657 #define HOST_CPU "$host_cpu"
3661 cat >>confdefs.h <<_ACEOF
3662 #define TARGET_CPU "${target_cpu}"
3667 cat >>confdefs.h <<_ACEOF
3668 #define BUILD_VENDOR "${build_vendor}"
3672 cat >>confdefs.h <<_ACEOF
3673 #define HOST_VENDOR "${host_vendor}"
3677 cat >>confdefs.h <<_ACEOF
3678 #define TARGET_VENDOR "${target_vendor}"
3683 cat >>confdefs.h <<_ACEOF
3684 #define BUILD_OS "${build_os}"
3688 cat >>confdefs.h <<_ACEOF
3689 #define HOST_OS "${host_os}"
3693 cat >>confdefs.h <<_ACEOF
3694 #define TARGET_OS "${target_os}"
3701 ac_config_files="$ac_config_files Makefile imports/Makefile lib/Makefile doc/Makefile bin/Makefile"
3703 cat >confcache <<\_ACEOF
3704 # This file is a shell script that caches the results of configure
3705 # tests run on this system so they can be shared between configure
3706 # scripts and configure runs, see configure's option --config-cache.
3707 # It is not useful on other systems. If it contains results you don't
3708 # want to keep, you may remove or edit it.
3710 # config.status only pays attention to the cache file if you give it
3711 # the --recheck option to rerun configure.
3713 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3719 # The following way of writing the cache mishandles newlines in values,
3720 # but we know of no workaround that is simple, portable, and efficient.
3721 # So, don't put newlines in cache variables' values.
3722 # Ultrix sh set writes to stderr and can't be redirected directly,
3723 # and sets the high bit in the cache file unless we assign to the vars.
3726 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3728 # `set' does not quote correctly, so add quotes (double-quote
3729 # substitution turns \\\\ into \\, and sed turns \\ into \).
3732 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3735 # `set' quotes correctly as required by POSIX, so do not add quotes.
3737 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3746 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3748 if cmp -s $cache_file confcache; then :; else
3749 if test -w $cache_file; then
3750 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3751 cat confcache >$cache_file
3753 echo "not updating unwritable cache $cache_file"
3758 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3759 # Let make expand exec_prefix.
3760 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3762 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3763 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3764 # trailing colons and then remove the whole line if VPATH becomes empty
3765 # (actually we leave an empty line to preserve line numbers).
3766 if test "x$srcdir" = x.; then
3767 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3768 s/:*\$(srcdir):*/:/;
3769 s/:*\${srcdir}:*/:/;
3771 s/^\([^=]*=[ ]*\):*/\1/;
3777 DEFS=-DHAVE_CONFIG_H
3779 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3780 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3781 Usually this means the macro was only invoked conditionally." >&5
3782 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3783 Usually this means the macro was only invoked conditionally." >&2;}
3784 { (exit 1); exit 1; }; }
3787 : ${CONFIG_STATUS=./config.status}
3788 ac_clean_files_save=$ac_clean_files
3789 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3790 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3791 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3792 cat >$CONFIG_STATUS <<_ACEOF
3794 # Generated by $as_me.
3795 # Run this file to recreate the current configuration.
3796 # Compiler output produced by configure, useful for debugging
3797 # configure, is in config.log if it exists.
3800 SHELL=\${CONFIG_SHELL-$SHELL}
3803 cat >>$CONFIG_STATUS <<\_ACEOF
3805 ## --------------------- ##
3806 ## M4sh Initialization. ##
3807 ## --------------------- ##
3809 # Be Bourne compatible
3810 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3813 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3818 # Support unset when possible.
3819 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3825 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3826 { $as_unset LANG || test "${LANG+set}" != set; } ||
3827 { LANG=C; export LANG; }
3828 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3829 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3830 { LC_ALL=C; export LC_ALL; }
3831 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3832 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3833 { LC_TIME=C; export LC_TIME; }
3834 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3835 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3836 { LC_CTYPE=C; export LC_CTYPE; }
3837 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3838 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3839 { LANGUAGE=C; export LANGUAGE; }
3840 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3841 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3842 { LC_COLLATE=C; export LC_COLLATE; }
3843 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3844 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3845 { LC_NUMERIC=C; export LC_NUMERIC; }
3846 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3847 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3848 { LC_MESSAGES=C; export LC_MESSAGES; }
3851 # Name of the executable.
3852 as_me=`(basename "$0") 2>/dev/null ||
3853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3854 X"$0" : 'X\(//\)$' \| \
3855 X"$0" : 'X\(/\)$' \| \
3856 . : '\(.\)' 2>/dev/null ||
3858 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3859 /^X\/\(\/\/\)$/{ s//\1/; q; }
3860 /^X\/\(\/\).*/{ s//\1/; q; }
3863 # PATH needs CR, and LINENO needs CR and PATH.
3864 # Avoid depending upon Character Ranges.
3865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3868 as_cr_digits='0123456789'
3869 as_cr_alnum=$as_cr_Letters$as_cr_digits
3871 # The user is always right.
3872 if test "${PATH_SEPARATOR+set}" != set; then
3873 echo "#! /bin/sh" >conftest.sh
3874 echo "exit 0" >>conftest.sh
3875 chmod +x conftest.sh
3876 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3888 test "x$as_lineno_1" != "x$as_lineno_2" &&
3889 test "x$as_lineno_3" = "x$as_lineno_2" || {
3890 # Find who we are. Look in the path if we contain no path at all
3893 *[\\/]* ) as_myself=$0 ;;
3894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir=.
3899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3904 # We did not find ourselves, most probably we were run as `sh COMMAND'
3905 # in which case we are not to be found in the path.
3906 if test "x$as_myself" = x; then
3909 if test ! -f "$as_myself"; then
3910 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3911 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3912 { (exit 1); exit 1; }; }
3914 case $CONFIG_SHELL in
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3920 test -z "$as_dir" && as_dir=.
3921 for as_base in sh bash ksh sh5; do
3924 if ("$as_dir/$as_base" -c '
3927 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3928 test "x$as_lineno_1" != "x$as_lineno_2" &&
3929 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3930 CONFIG_SHELL=$as_dir/$as_base
3932 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3940 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3941 # uniformly replaced by the line number. The first 'sed' inserts a
3942 # line-number line before each line; the second 'sed' does the real
3943 # work. The second script uses 'N' to pair each line-number line
3944 # with the numbered line, and appends trailing '-' during
3945 # substitution so that $LINENO is not a special case at line end.
3946 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3947 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3948 sed '=' <$as_myself |
3953 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3956 s,^['$as_cr_digits']*\n,,
3958 chmod +x $as_me.lineno ||
3959 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3961 { (exit 1); exit 1; }; }
3963 # Don't try to exec as it changes $[0], causing all sort of problems
3964 # (the dirname of $[0] is not the place where we might find the
3965 # original and so on. Autoconf is especially sensible to this).
3967 # Exit status is that of the last command.
3972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3973 *c*,-n*) ECHO_N= ECHO_C='
3975 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3976 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3979 if expr a : '\(a\)' >/dev/null 2>&1; then
3985 rm -f conf$$ conf$$.exe conf$$.file
3987 if ln -s conf$$.file conf$$ 2>/dev/null; then
3988 # We could just check for DJGPP; but this test a) works b) is more generic
3989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3990 if test -f conf$$.exe; then
3991 # Don't use ln at all; we don't have any links
3996 elif ln conf$$.file conf$$ 2>/dev/null; then
4001 rm -f conf$$ conf$$.exe conf$$.file
4003 as_executable_p="test -f"
4005 # Sed expression to map a string onto a valid CPP name.
4006 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4008 # Sed expression to map a string onto a valid variable name.
4009 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4013 # We need space, tab and new line, in precisely that order.
4019 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4023 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4024 # report actual input values of CONFIG_FILES etc. instead of their
4025 # values after options handling. Logging --version etc. is OK.
4029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4030 ## Running $as_me. ##
4035 This file was extended by Splint $as_me 3.1.1, which was
4036 generated by GNU Autoconf 2.53. Invocation command line was
4038 CONFIG_FILES = $CONFIG_FILES
4039 CONFIG_HEADERS = $CONFIG_HEADERS
4040 CONFIG_LINKS = $CONFIG_LINKS
4041 CONFIG_COMMANDS = $CONFIG_COMMANDS
4045 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4049 # Files that config.status was made for.
4050 if test -n "$ac_config_files"; then
4051 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4054 if test -n "$ac_config_headers"; then
4055 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4058 if test -n "$ac_config_links"; then
4059 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4062 if test -n "$ac_config_commands"; then
4063 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4066 cat >>$CONFIG_STATUS <<\_ACEOF
4069 \`$as_me' instantiates files from templates according to the
4070 current configuration.
4072 Usage: $0 [OPTIONS] [FILE]...
4074 -h, --help print this help, then exit
4075 -V, --version print version number, then exit
4076 -d, --debug don't remove temporary files
4077 --recheck update $as_me by reconfiguring in the same conditions
4078 --file=FILE[:TEMPLATE]
4079 instantiate the configuration file FILE
4080 --header=FILE[:TEMPLATE]
4081 instantiate the configuration header FILE
4083 Configuration files:
4086 Configuration headers:
4089 Configuration commands:
4092 Report bugs to <bug-autoconf@gnu.org>."
4095 cat >>$CONFIG_STATUS <<_ACEOF
4097 Splint config.status 3.1.1
4098 configured by $0, generated by GNU Autoconf 2.53,
4099 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4101 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4102 Free Software Foundation, Inc.
4103 This config.status script is free software; the Free Software Foundation
4104 gives unlimited permission to copy, distribute and modify it."
4109 cat >>$CONFIG_STATUS <<\_ACEOF
4110 # If no file are specified by the user, then we need to provide default
4111 # value. By we need to know if files were specified by the user.
4117 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4118 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4120 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4124 *) # This is not an option, so the user has probably given explicit
4126 ac_need_defaults=false;;
4130 # Handling of the options.
4132 cat >>$CONFIG_STATUS <<_ACEOF
4133 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4134 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4135 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4137 cat >>$CONFIG_STATUS <<\_ACEOF
4138 --version | --vers* | -V )
4139 echo "$ac_cs_version"; exit 0 ;;
4141 # Conflict between --help and --header
4142 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4143 Try \`$0 --help' for more information." >&5
4144 echo "$as_me: error: ambiguous option: $1
4145 Try \`$0 --help' for more information." >&2;}
4146 { (exit 1); exit 1; }; };;
4147 --help | --hel | -h )
4148 echo "$ac_cs_usage"; exit 0 ;;
4149 --debug | --d* | -d )
4151 --file | --fil | --fi | --f )
4153 CONFIG_FILES="$CONFIG_FILES $1"
4154 ac_need_defaults=false;;
4155 --header | --heade | --head | --hea )
4157 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4158 ac_need_defaults=false;;
4161 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4162 Try \`$0 --help' for more information." >&5
4163 echo "$as_me: error: unrecognized option: $1
4164 Try \`$0 --help' for more information." >&2;}
4165 { (exit 1); exit 1; }; } ;;
4167 *) ac_config_targets="$ac_config_targets $1" ;;
4175 cat >>$CONFIG_STATUS <<_ACEOF
4177 # INIT-COMMANDS section.
4180 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4186 cat >>$CONFIG_STATUS <<\_ACEOF
4187 for ac_config_target in $ac_config_targets
4189 case "$ac_config_target" in
4190 # Handling of arguments.
4191 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4192 "imports/Makefile" ) CONFIG_FILES="$CONFIG_FILES imports/Makefile" ;;
4193 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
4194 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4195 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
4196 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4197 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
4198 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4199 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4200 { (exit 1); exit 1; }; };;
4204 # If the user did not use the arguments to specify the items to instantiate,
4205 # then the envvar interface is used. Set only those that are not.
4206 # We use the long form for the default assignment because of an extremely
4207 # bizarre bug on SunOS 4.1.3.
4208 if $ac_need_defaults; then
4209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4210 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4214 # Create a temporary directory, and hook for its removal unless debugging.
4217 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4218 trap '{ (exit 1); exit 1; }' 1 2 13 15
4221 # Create a (secure) tmp directory for tmp files.
4224 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4225 test -n "$tmp" && test -d "$tmp"
4228 tmp=$TMPDIR/cs$$-$RANDOM
4229 (umask 077 && mkdir $tmp)
4232 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4233 { (exit 1); exit 1; }
4238 cat >>$CONFIG_STATUS <<_ACEOF
4241 # CONFIG_FILES section.
4244 # No need to generate the scripts if there are no CONFIG_FILES.
4245 # This happens for instance when ./config.status config.h
4246 if test -n "\$CONFIG_FILES"; then
4247 # Protect against being on the right side of a sed subst in config.status.
4248 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4249 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4250 s,@SHELL@,$SHELL,;t t
4251 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4252 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4253 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4254 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4255 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4256 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4257 s,@exec_prefix@,$exec_prefix,;t t
4258 s,@prefix@,$prefix,;t t
4259 s,@program_transform_name@,$program_transform_name,;t t
4260 s,@bindir@,$bindir,;t t
4261 s,@sbindir@,$sbindir,;t t
4262 s,@libexecdir@,$libexecdir,;t t
4263 s,@datadir@,$datadir,;t t
4264 s,@sysconfdir@,$sysconfdir,;t t
4265 s,@sharedstatedir@,$sharedstatedir,;t t
4266 s,@localstatedir@,$localstatedir,;t t
4267 s,@libdir@,$libdir,;t t
4268 s,@includedir@,$includedir,;t t
4269 s,@oldincludedir@,$oldincludedir,;t t
4270 s,@infodir@,$infodir,;t t
4271 s,@mandir@,$mandir,;t t
4272 s,@build_alias@,$build_alias,;t t
4273 s,@host_alias@,$host_alias,;t t
4274 s,@target_alias@,$target_alias,;t t
4276 s,@ECHO_C@,$ECHO_C,;t t
4277 s,@ECHO_N@,$ECHO_N,;t t
4278 s,@ECHO_T@,$ECHO_T,;t t
4280 s,@build@,$build,;t t
4281 s,@build_cpu@,$build_cpu,;t t
4282 s,@build_vendor@,$build_vendor,;t t
4283 s,@build_os@,$build_os,;t t
4285 s,@host_cpu@,$host_cpu,;t t
4286 s,@host_vendor@,$host_vendor,;t t
4287 s,@host_os@,$host_os,;t t
4288 s,@target@,$target,;t t
4289 s,@target_cpu@,$target_cpu,;t t
4290 s,@target_vendor@,$target_vendor,;t t
4291 s,@target_os@,$target_os,;t t
4292 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4293 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4294 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4295 s,@PACKAGE@,$PACKAGE,;t t
4296 s,@VERSION@,$VERSION,;t t
4297 s,@ACLOCAL@,$ACLOCAL,;t t
4298 s,@AUTOCONF@,$AUTOCONF,;t t
4299 s,@AUTOMAKE@,$AUTOMAKE,;t t
4300 s,@AUTOHEADER@,$AUTOHEADER,;t t
4301 s,@MAKEINFO@,$MAKEINFO,;t t
4302 s,@AMTAR@,$AMTAR,;t t
4303 s,@install_sh@,$install_sh,;t t
4304 s,@STRIP@,$STRIP,;t t
4305 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4306 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4308 s,@SET_MAKE@,$SET_MAKE,;t t
4310 s,@CFLAGS@,$CFLAGS,;t t
4311 s,@LDFLAGS@,$LDFLAGS,;t t
4312 s,@CPPFLAGS@,$CPPFLAGS,;t t
4313 s,@ac_ct_CC@,$ac_ct_CC,;t t
4314 s,@EXEEXT@,$EXEEXT,;t t
4315 s,@OBJEXT@,$OBJEXT,;t t
4316 s,@DEPDIR@,$DEPDIR,;t t
4317 s,@am__include@,$am__include,;t t
4318 s,@am__quote@,$am__quote,;t t
4319 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4320 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4321 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4322 s,@CCDEPMODE@,$CCDEPMODE,;t t
4325 s,@LEXLIB@,$LEXLIB,;t t
4326 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4328 s,@BISON@,$BISON,;t t
4336 s,@LCLOBJ@,$LCLOBJ,;t t
4341 cat >>$CONFIG_STATUS <<\_ACEOF
4342 # Split the substitutions into bite-sized pieces for seds with
4343 # small command number limits, like on Digital OSF/1 and HP-UX.
4345 ac_sed_frag=1 # Number of current file.
4346 ac_beg=1 # First line for current file.
4347 ac_end=$ac_max_sed_lines # Line after last line for current file.
4350 while $ac_more_lines; do
4351 if test $ac_beg -gt 1; then
4352 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4354 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4356 if test ! -s $tmp/subs.frag; then
4359 # The purpose of the label and of the branching condition is to
4360 # speed up the sed processing (if there are no `@' at all, there
4361 # is no need to browse any of the substitutions).
4362 # These are the two extra sed commands mentioned above.
4364 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4365 if test -z "$ac_sed_cmds"; then
4366 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4368 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4370 ac_sed_frag=`expr $ac_sed_frag + 1`
4372 ac_end=`expr $ac_end + $ac_max_sed_lines`
4375 if test -z "$ac_sed_cmds"; then
4378 fi # test -n "$CONFIG_FILES"
4381 cat >>$CONFIG_STATUS <<\_ACEOF
4382 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4383 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4385 - | *:- | *:-:* ) # input from stdin
4387 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4388 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4389 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4390 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4391 * ) ac_file_in=$ac_file.in ;;
4394 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4395 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4397 X"$ac_file" : 'X\(//\)[^/]' \| \
4398 X"$ac_file" : 'X\(//\)$' \| \
4399 X"$ac_file" : 'X\(/\)' \| \
4400 . : '\(.\)' 2>/dev/null ||
4402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4404 /^X\(\/\/\)$/{ s//\1/; q; }
4405 /^X\(\/\).*/{ s//\1/; q; }
4408 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4412 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4413 case $as_mkdir_dir in
4414 # Skip DOS drivespec
4415 ?:) as_incr_dir=$as_mkdir_dir ;;
4417 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4418 test -d "$as_incr_dir" ||
4419 mkdir "$as_incr_dir" ||
4420 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4421 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4422 { (exit 1); exit 1; }; }
4429 if test "$ac_dir" != .; then
4430 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4431 # A "../" for each directory in $ac_dir_suffix.
4432 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4434 ac_dir_suffix= ac_top_builddir=
4438 .) # No --srcdir option. We are building in place.
4440 if test -z "$ac_top_builddir"; then
4443 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4445 [\\/]* | ?:[\\/]* ) # Absolute path.
4446 ac_srcdir=$srcdir$ac_dir_suffix;
4447 ac_top_srcdir=$srcdir ;;
4449 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4450 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4452 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4454 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4455 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4456 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4457 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4461 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4462 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4465 if test x"$ac_file" != x-; then
4466 { echo "$as_me:$LINENO: creating $ac_file" >&5
4467 echo "$as_me: creating $ac_file" >&6;}
4470 # Let's still pretend it is `configure' which instantiates (i.e., don't
4471 # use $as_me), people would be surprised to read:
4472 # /* config.h. Generated by config.status. */
4473 if test x"$ac_file" = x-; then
4476 configure_input="$ac_file. "
4478 configure_input=$configure_input"Generated from `echo $ac_file_in |
4479 sed 's,.*/,,'` by configure."
4481 # First look for the input files in the build tree, otherwise in the
4483 ac_file_inputs=`IFS=:
4484 for f in $ac_file_in; do
4486 -) echo $tmp/stdin ;;
4488 # Absolute (can't be DOS-style, as IFS=:)
4489 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4490 echo "$as_me: error: cannot find input file: $f" >&2;}
4491 { (exit 1); exit 1; }; }
4494 if test -f "$f"; then
4497 elif test -f "$srcdir/$f"; then
4502 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4503 echo "$as_me: error: cannot find input file: $f" >&2;}
4504 { (exit 1); exit 1; }; }
4507 done` || { (exit 1); exit 1; }
4509 cat >>$CONFIG_STATUS <<_ACEOF
4513 cat >>$CONFIG_STATUS <<\_ACEOF
4515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4516 s,@configure_input@,$configure_input,;t t
4517 s,@srcdir@,$ac_srcdir,;t t
4518 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4519 s,@top_srcdir@,$ac_top_srcdir,;t t
4520 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4521 s,@builddir@,$ac_builddir,;t t
4522 s,@abs_builddir@,$ac_abs_builddir,;t t
4523 s,@top_builddir@,$ac_top_builddir,;t t
4524 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4525 s,@INSTALL@,$ac_INSTALL,;t t
4526 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4528 if test x"$ac_file" != x-; then
4529 mv $tmp/out $ac_file
4537 cat >>$CONFIG_STATUS <<\_ACEOF
4540 # CONFIG_HEADER section.
4543 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4544 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4546 # ac_d sets the value in "#define NAME VALUE" lines.
4547 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4548 ac_dB='[ ].*$,\1#\2'
4551 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4552 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4553 ac_uB='$,\1#\2define\3'
4557 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4558 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4560 - | *:- | *:-:* ) # input from stdin
4562 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4563 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4564 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4565 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4566 * ) ac_file_in=$ac_file.in ;;
4569 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4570 echo "$as_me: creating $ac_file" >&6;}
4572 # First look for the input files in the build tree, otherwise in the
4574 ac_file_inputs=`IFS=:
4575 for f in $ac_file_in; do
4577 -) echo $tmp/stdin ;;
4579 # Absolute (can't be DOS-style, as IFS=:)
4580 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4581 echo "$as_me: error: cannot find input file: $f" >&2;}
4582 { (exit 1); exit 1; }; }
4585 if test -f "$f"; then
4588 elif test -f "$srcdir/$f"; then
4593 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4594 echo "$as_me: error: cannot find input file: $f" >&2;}
4595 { (exit 1); exit 1; }; }
4598 done` || { (exit 1); exit 1; }
4599 # Remove the trailing spaces.
4600 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4604 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4605 # `conftest.undefs', that substitutes the proper values into
4606 # config.h.in to produce config.h. The first handles `#define'
4607 # templates, and the second `#undef' templates.
4608 # And first: Protect against being on the right side of a sed subst in
4609 # config.status. Protect against being in an unquoted here document
4611 rm -f conftest.defines conftest.undefs
4612 # Using a here document instead of a string reduces the quoting nightmare.
4613 # Putting comments in sed scripts is not portable.
4615 # `end' is used to avoid that the second main sed command (meant for
4616 # 0-ary CPP macros) applies to n-ary macro definitions.
4617 # See the Autoconf documentation for `clear'.
4618 cat >confdef2sed.sed <<\_ACEOF
4623 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4625 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4628 # If some macros were called several times there might be several times
4629 # the same #defines, which is useless. Nevertheless, we may not want to
4630 # sort them, since we want the *last* AC-DEFINE to be honored.
4631 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4632 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4633 rm -f confdef2sed.sed
4635 # This sed command replaces #undef with comments. This is necessary, for
4636 # example, in the case of _POSIX_SOURCE, which is predefined and required
4637 # on some systems where configure will not decide to define it.
4638 cat >>conftest.undefs <<\_ACEOF
4639 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4642 # Break up conftest.defines because some shells have a limit on the size
4643 # of here documents, and old seds have small limits too (100 cmds).
4644 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4645 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4646 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4647 echo ' :' >>$CONFIG_STATUS
4649 while grep . conftest.defines >/dev/null
4651 # Write a limited-size here document to $tmp/defines.sed.
4652 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4653 # Speed up: don't consider the non `#define' lines.
4654 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4655 # Work around the forget-to-reset-the-flag bug.
4656 echo 't clr' >>$CONFIG_STATUS
4657 echo ': clr' >>$CONFIG_STATUS
4658 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4660 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4664 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4665 rm -f conftest.defines
4666 mv conftest.tail conftest.defines
4668 rm -f conftest.defines
4669 echo ' fi # egrep' >>$CONFIG_STATUS
4670 echo >>$CONFIG_STATUS
4672 # Break up conftest.undefs because some shells have a limit on the size
4673 # of here documents, and old seds have small limits too (100 cmds).
4674 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4676 while grep . conftest.undefs >/dev/null
4678 # Write a limited-size here document to $tmp/undefs.sed.
4679 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4680 # Speed up: don't consider the non `#undef'
4681 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4682 # Work around the forget-to-reset-the-flag bug.
4683 echo 't clr' >>$CONFIG_STATUS
4684 echo ': clr' >>$CONFIG_STATUS
4685 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4687 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4691 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4692 rm -f conftest.undefs
4693 mv conftest.tail conftest.undefs
4695 rm -f conftest.undefs
4697 cat >>$CONFIG_STATUS <<\_ACEOF
4698 # Let's still pretend it is `configure' which instantiates (i.e., don't
4699 # use $as_me), people would be surprised to read:
4700 # /* config.h. Generated by config.status. */
4701 if test x"$ac_file" = x-; then
4702 echo "/* Generated by configure. */" >$tmp/config.h
4704 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4706 cat $tmp/in >>$tmp/config.h
4708 if test x"$ac_file" != x-; then
4709 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4710 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4711 echo "$as_me: $ac_file is unchanged" >&6;}
4713 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4715 X"$ac_file" : 'X\(//\)[^/]' \| \
4716 X"$ac_file" : 'X\(//\)$' \| \
4717 X"$ac_file" : 'X\(/\)' \| \
4718 . : '\(.\)' 2>/dev/null ||
4720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4722 /^X\(\/\/\)$/{ s//\1/; q; }
4723 /^X\(\/\).*/{ s//\1/; q; }
4726 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4730 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4731 case $as_mkdir_dir in
4732 # Skip DOS drivespec
4733 ?:) as_incr_dir=$as_mkdir_dir ;;
4735 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4736 test -d "$as_incr_dir" ||
4737 mkdir "$as_incr_dir" ||
4738 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4739 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4740 { (exit 1); exit 1; }; }
4746 mv $tmp/config.h $ac_file
4752 # Run the commands associated with the file.
4754 config.h ) # update the timestamp
4755 echo 'timestamp for config.h:config.hin' >"./stamp-h1"
4760 cat >>$CONFIG_STATUS <<\_ACEOF
4763 # CONFIG_COMMANDS section.
4765 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4766 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4767 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4768 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4769 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4770 X"$ac_dest" : 'X\(//\)[^/]' \| \
4771 X"$ac_dest" : 'X\(//\)$' \| \
4772 X"$ac_dest" : 'X\(/\)' \| \
4773 . : '\(.\)' 2>/dev/null ||
4775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4777 /^X\(\/\/\)$/{ s//\1/; q; }
4778 /^X\(\/\).*/{ s//\1/; q; }
4782 if test "$ac_dir" != .; then
4783 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4784 # A "../" for each directory in $ac_dir_suffix.
4785 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4787 ac_dir_suffix= ac_top_builddir=
4791 .) # No --srcdir option. We are building in place.
4793 if test -z "$ac_top_builddir"; then
4796 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4798 [\\/]* | ?:[\\/]* ) # Absolute path.
4799 ac_srcdir=$srcdir$ac_dir_suffix;
4800 ac_top_srcdir=$srcdir ;;
4802 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4803 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4805 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4807 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4808 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4809 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4810 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4813 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4814 echo "$as_me: executing $ac_dest commands" >&6;}
4816 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4817 # Strip MF so we end up with the name of the file.
4818 mf=`echo "$mf" | sed -e 's/:.*$//'`
4819 # Check whether this is an Automake generated Makefile or not.
4820 # We used to match only the files named `Makefile.in', but
4821 # some people rename them; so instead we look at the file content.
4822 # Grep'ing the first line is not enough: some people post-process
4823 # each Makefile.in and add a new line on top of each file to say so.
4824 # So let's grep whole file.
4825 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4826 dirpart=`(dirname "$mf") 2>/dev/null ||
4827 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4828 X"$mf" : 'X\(//\)[^/]' \| \
4829 X"$mf" : 'X\(//\)$' \| \
4830 X"$mf" : 'X\(/\)' \| \
4831 . : '\(.\)' 2>/dev/null ||
4833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4835 /^X\(\/\/\)$/{ s//\1/; q; }
4836 /^X\(\/\).*/{ s//\1/; q; }
4841 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4842 # Extract the definition of DEP_FILES from the Makefile without
4844 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4845 test -z "$DEPDIR" && continue
4846 # When using ansi2knr, U may be empty or an underscore; expand it
4847 U=`sed -n -e '/^U = / s///p' < "$mf"`
4848 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4849 # We invoke sed twice because it is the simplest approach to
4850 # changing $(DEPDIR) to its actual value in the expansion.
4851 for file in `sed -n -e '
4852 /^DEP_FILES = .*\\\\$/ {
4861 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4862 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4863 # Make sure the directory exists.
4864 test -f "$dirpart/$file" && continue
4865 fdir=`(dirname "$file") 2>/dev/null ||
4866 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4867 X"$file" : 'X\(//\)[^/]' \| \
4868 X"$file" : 'X\(//\)$' \| \
4869 X"$file" : 'X\(/\)' \| \
4870 . : '\(.\)' 2>/dev/null ||
4872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4874 /^X\(\/\/\)$/{ s//\1/; q; }
4875 /^X\(\/\).*/{ s//\1/; q; }
4877 { case $dirpart/$fdir in
4878 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4881 as_dummy=$dirpart/$fdir
4882 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4883 case $as_mkdir_dir in
4884 # Skip DOS drivespec
4885 ?:) as_incr_dir=$as_mkdir_dir ;;
4887 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4888 test -d "$as_incr_dir" ||
4889 mkdir "$as_incr_dir" ||
4890 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
4891 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
4892 { (exit 1); exit 1; }; }
4897 # echo "creating $dirpart/$file"
4898 echo '# dummy' > "$dirpart/$file"
4906 cat >>$CONFIG_STATUS <<\_ACEOF
4908 { (exit 0); exit 0; }
4910 chmod +x $CONFIG_STATUS
4911 ac_clean_files=$ac_clean_files_save
4914 # configure is writing to config.log, and then calls config.status.
4915 # config.status does its own redirection, appending to config.log.
4916 # Unfortunately, on DOS this fails, as config.log is still kept open
4917 # by configure, so config.status won't be able to write to it; its
4918 # output is simply discarded. So we exec the FD to /dev/null,
4919 # effectively closing config.log, so it can be properly (re)opened and
4920 # appended to by config.status. When coming back to configure, we
4921 # need to make the FD available again.
4922 if test "$no_create" != yes; then
4925 $SHELL $CONFIG_STATUS || ac_cs_success=false
4927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4928 # would make configure fail if this is the last instruction.
4929 $ac_cs_success || { (exit 1); exit 1; }