]> andersk Git - splint.git/blame - configure
Remove unused cpplib_createDefinition.
[splint.git] / configure
CommitLineData
fbb86200 1#! /bin/sh
508533c5 2# Guess values for system-dependent variables and create Makefiles.
e32d7527 3# Generated by GNU Autoconf 2.61 for Splint 3.1.2.
fbb86200 4#
5# Report bugs to <splint-bug@splint.org>.
6#
e32d7527 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
fbb86200 9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
fbb86200 11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
e32d7527 15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
fbb86200 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
08cf8642 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
e32d7527 23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
fbb86200 53fi
54
fbb86200 55# Support unset when possible.
08cf8642 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
fbb86200 57 as_unset=unset
58else
59 as_unset=false
60fi
61
08cf8642 62
e32d7527 63# IFS
64# We need space, tab and new line, in precisely that order. Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" "" $as_nl"
71
72# Find who we are. Look in the path if we contain no directory separator.
73case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84 ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89 as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94fi
95
08cf8642 96# Work around bugs in pre-3.0 UWIN ksh.
e32d7527 97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
08cf8642 100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
e32d7527 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
08cf8642 114 fi
115done
116
117# Required to use basename.
e32d7527 118if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
08cf8642 120 as_expr=expr
121else
122 as_expr=false
123fi
124
e32d7527 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
08cf8642 126 as_basename=basename
127else
128 as_basename=false
129fi
fbb86200 130
131
132# Name of the executable.
e32d7527 133as_me=`$as_basename -- "$0" ||
fbb86200 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
e32d7527 136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 137echo X/"$0" |
e32d7527 138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
fbb86200 151
e32d7527 152# CDPATH.
153$as_unset CDPATH
08cf8642 154
fbb86200 155
e32d7527 156if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159else
160 as_have_required=no
fbb86200 161fi
162
e32d7527 163 if test $as_have_required = yes && (eval ":
164(as_func_return () {
165 (exit \$1)
166}
167as_func_success () {
168 as_func_return 0
169}
170as_func_failure () {
171 as_func_return 1
172}
173as_func_ret_success () {
174 return 0
175}
176as_func_ret_failure () {
177 return 1
178}
fbb86200 179
e32d7527 180exitcode=0
181if as_func_success; then
182 :
183else
184 exitcode=1
185 echo as_func_success failed.
186fi
fbb86200 187
e32d7527 188if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194 :
195else
196 exitcode=1
197 echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207else
208 exitcode=1
209 echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220 :
221else
222 as_candidate_shells=
fbb86200 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
e32d7527 228 case $as_dir in
fbb86200 229 /*)
e32d7527 230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234done
235IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280 (exit $1)
281}
282as_func_success () {
283 as_func_return 0
284}
285as_func_failure () {
286 as_func_return 1
287}
288as_func_ret_success () {
289 return 0
290}
291as_func_ret_failure () {
292 return 1
293}
294
295exitcode=0
296if as_func_success; then
297 :
298else
299 exitcode=1
300 echo as_func_success failed.
301fi
302
303if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309 :
310else
311 exitcode=1
312 echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322else
323 exitcode=1
324 echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
fbb86200 330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
fbb86200 332 test "x$as_lineno_1" != "x$as_lineno_2" &&
e32d7527 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337 break
338fi
339
340fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369 (exit \$1)
370}
371as_func_success () {
372 as_func_return 0
373}
374as_func_failure () {
375 as_func_return 1
376}
377as_func_ret_success () {
378 return 0
379}
380as_func_ret_failure () {
381 return 1
382}
383
384exitcode=0
385if as_func_success; then
386 :
387else
388 exitcode=1
389 echo as_func_success failed.
390fi
391
392if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398 :
399else
400 exitcode=1
401 echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411else
412 exitcode=1
413 echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421}
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
fbb86200 429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
e32d7527 432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
fbb86200 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
e32d7527 438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
fbb86200 444 sed '
e32d7527 445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
fbb86200 449 N
e32d7527 450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
fbb86200 452 t loop
e32d7527 453 s/-\n.*//
fbb86200 454 ' >$as_me.lineno &&
e32d7527 455 chmod +x "$as_me.lineno" ||
fbb86200 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
e32d7527 461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
fbb86200 463 # Exit status is that of the last command.
464 exit
465}
466
467
e32d7527 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470else
471 as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481*)
482 ECHO_N='-n';;
fbb86200 483esac
484
e32d7527 485if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fbb86200 487 as_expr=expr
488else
489 as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
e32d7527 493if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498fi
fbb86200 499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
e32d7527 501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
fbb86200 507 as_ln_s='cp -p'
fbb86200 508elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510else
511 as_ln_s='cp -p'
512fi
e32d7527 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
fbb86200 515
08cf8642 516if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521fi
522
e32d7527 523if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543fi
544as_executable_p=$as_test_x
fbb86200 545
546# Sed expression to map a string onto a valid CPP name.
08cf8642 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
fbb86200 548
549# Sed expression to map a string onto a valid variable name.
08cf8642 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
fbb86200 551
552
fbb86200 553
e32d7527 554exec 7<&0 </dev/null 6>&1
fbb86200 555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
fbb86200 561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
e32d7527 565ac_clean_files=
08cf8642 566ac_config_libobj_dir=.
e32d7527 567LIBOBJS=
fbb86200 568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
fbb86200 574# Identity of this package.
575PACKAGE_NAME='Splint'
576PACKAGE_TARNAME='splint'
a9ec3280 577PACKAGE_VERSION='3.1.2'
578PACKAGE_STRING='Splint 3.1.2'
fbb86200 579PACKAGE_BUGREPORT='splint-bug@splint.org'
580
581ac_unique_file="src/lclinit.c"
e32d7527 582ac_subst_vars='SHELL
583PATH_SEPARATOR
584PACKAGE_NAME
585PACKAGE_TARNAME
586PACKAGE_VERSION
587PACKAGE_STRING
588PACKAGE_BUGREPORT
589exec_prefix
590prefix
591program_transform_name
592bindir
593sbindir
594libexecdir
595datarootdir
596datadir
597sysconfdir
598sharedstatedir
599localstatedir
600includedir
601oldincludedir
602docdir
603infodir
604htmldir
605dvidir
606pdfdir
607psdir
608libdir
609localedir
610mandir
611DEFS
612ECHO_C
613ECHO_N
614ECHO_T
615LIBS
616build_alias
617host_alias
618target_alias
619build
620build_cpu
621build_vendor
622build_os
623host
624host_cpu
625host_vendor
626host_os
627target
628target_cpu
629target_vendor
630target_os
631INSTALL_PROGRAM
632INSTALL_SCRIPT
633INSTALL_DATA
634am__isrc
635CYGPATH_W
636PACKAGE
637VERSION
638ACLOCAL
639AUTOCONF
640AUTOMAKE
641AUTOHEADER
642MAKEINFO
643install_sh
644STRIP
645INSTALL_STRIP_PROGRAM
646mkdir_p
647AWK
648SET_MAKE
649am__leading_dot
650AMTAR
651am__tar
652am__untar
653CC
654CFLAGS
655LDFLAGS
656CPPFLAGS
657ac_ct_CC
658EXEEXT
659OBJEXT
660DEPDIR
661am__include
662am__quote
663AMDEP_TRUE
664AMDEP_FALSE
665AMDEPBACKSLASH
666CCDEPMODE
667am__fastdepCC_TRUE
668am__fastdepCC_FALSE
669CPP
670LEX
671LEX_OUTPUT_ROOT
672LEXLIB
673LN_S
674BISON
675GREP
676DIFF
677CAT
678RM
679MV
680CP
681SED
682LCLOBJ
683LIBOBJS
684LTLIBOBJS'
08cf8642 685ac_subst_files=''
e32d7527 686 ac_precious_vars='build_alias
687host_alias
688target_alias
689CC
690CFLAGS
691LDFLAGS
692LIBS
693CPPFLAGS
694CPP'
695
fbb86200 696
697# Initialize some variables set by options.
698ac_init_help=
699ac_init_version=false
700# The variables have the same names as the options, with
701# dashes changed to underlines.
702cache_file=/dev/null
703exec_prefix=NONE
704no_create=
705no_recursion=
706prefix=NONE
707program_prefix=NONE
708program_suffix=NONE
709program_transform_name=s,x,x,
710silent=
711site=
712srcdir=
713verbose=
714x_includes=NONE
715x_libraries=NONE
716
717# Installation directory options.
718# These are left unexpanded so users can "make install exec_prefix=/foo"
719# and all the variables that are supposed to be based on exec_prefix
720# by default will actually change.
721# Use braces instead of parens because sh, perl, etc. also accept them.
e32d7527 722# (The list follows the same order as the GNU Coding Standards.)
fbb86200 723bindir='${exec_prefix}/bin'
724sbindir='${exec_prefix}/sbin'
725libexecdir='${exec_prefix}/libexec'
e32d7527 726datarootdir='${prefix}/share'
727datadir='${datarootdir}'
fbb86200 728sysconfdir='${prefix}/etc'
729sharedstatedir='${prefix}/com'
730localstatedir='${prefix}/var'
fbb86200 731includedir='${prefix}/include'
732oldincludedir='/usr/include'
e32d7527 733docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734infodir='${datarootdir}/info'
735htmldir='${docdir}'
736dvidir='${docdir}'
737pdfdir='${docdir}'
738psdir='${docdir}'
739libdir='${exec_prefix}/lib'
740localedir='${datarootdir}/locale'
741mandir='${datarootdir}/man'
fbb86200 742
743ac_prev=
e32d7527 744ac_dashdash=
fbb86200 745for ac_option
746do
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
e32d7527 749 eval $ac_prev=\$ac_option
fbb86200 750 ac_prev=
751 continue
752 fi
753
e32d7527 754 case $ac_option in
755 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 *) ac_optarg=yes ;;
757 esac
fbb86200 758
759 # Accept the important Cygnus configure options, so we can diagnose typos.
760
e32d7527 761 case $ac_dashdash$ac_option in
762 --)
763 ac_dashdash=yes ;;
fbb86200 764
765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 ac_prev=bindir ;;
767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
768 bindir=$ac_optarg ;;
769
770 -build | --build | --buil | --bui | --bu)
771 ac_prev=build_alias ;;
772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
773 build_alias=$ac_optarg ;;
774
775 -cache-file | --cache-file | --cache-fil | --cache-fi \
776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777 ac_prev=cache_file ;;
778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780 cache_file=$ac_optarg ;;
781
782 --config-cache | -C)
783 cache_file=config.cache ;;
784
e32d7527 785 -datadir | --datadir | --datadi | --datad)
fbb86200 786 ac_prev=datadir ;;
e32d7527 787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
fbb86200 788 datadir=$ac_optarg ;;
789
e32d7527 790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791 | --dataroo | --dataro | --datar)
792 ac_prev=datarootdir ;;
793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795 datarootdir=$ac_optarg ;;
796
fbb86200 797 -disable-* | --disable-*)
798 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
e32d7527 800 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
fbb86200 801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
802 { (exit 1); exit 1; }; }
e32d7527 803 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
804 eval enable_$ac_feature=no ;;
805
806 -docdir | --docdir | --docdi | --doc | --do)
807 ac_prev=docdir ;;
808 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
809 docdir=$ac_optarg ;;
810
811 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 ac_prev=dvidir ;;
813 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
814 dvidir=$ac_optarg ;;
fbb86200 815
816 -enable-* | --enable-*)
817 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
e32d7527 819 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
fbb86200 820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
e32d7527 822 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
823 eval enable_$ac_feature=\$ac_optarg ;;
fbb86200 824
825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
827 | --exec | --exe | --ex)
828 ac_prev=exec_prefix ;;
829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
831 | --exec=* | --exe=* | --ex=*)
832 exec_prefix=$ac_optarg ;;
833
834 -gas | --gas | --ga | --g)
835 # Obsolete; use --with-gas.
836 with_gas=yes ;;
837
838 -help | --help | --hel | --he | -h)
839 ac_init_help=long ;;
840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
841 ac_init_help=recursive ;;
842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
843 ac_init_help=short ;;
844
845 -host | --host | --hos | --ho)
846 ac_prev=host_alias ;;
847 -host=* | --host=* | --hos=* | --ho=*)
848 host_alias=$ac_optarg ;;
849
e32d7527 850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851 ac_prev=htmldir ;;
852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853 | --ht=*)
854 htmldir=$ac_optarg ;;
855
fbb86200 856 -includedir | --includedir | --includedi | --included | --include \
857 | --includ | --inclu | --incl | --inc)
858 ac_prev=includedir ;;
859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
860 | --includ=* | --inclu=* | --incl=* | --inc=*)
861 includedir=$ac_optarg ;;
862
863 -infodir | --infodir | --infodi | --infod | --info | --inf)
864 ac_prev=infodir ;;
865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
866 infodir=$ac_optarg ;;
867
868 -libdir | --libdir | --libdi | --libd)
869 ac_prev=libdir ;;
870 -libdir=* | --libdir=* | --libdi=* | --libd=*)
871 libdir=$ac_optarg ;;
872
873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
874 | --libexe | --libex | --libe)
875 ac_prev=libexecdir ;;
876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
877 | --libexe=* | --libex=* | --libe=*)
878 libexecdir=$ac_optarg ;;
879
e32d7527 880 -localedir | --localedir | --localedi | --localed | --locale)
881 ac_prev=localedir ;;
882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
883 localedir=$ac_optarg ;;
884
fbb86200 885 -localstatedir | --localstatedir | --localstatedi | --localstated \
e32d7527 886 | --localstate | --localstat | --localsta | --localst | --locals)
fbb86200 887 ac_prev=localstatedir ;;
888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
e32d7527 889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
fbb86200 890 localstatedir=$ac_optarg ;;
891
892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893 ac_prev=mandir ;;
894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
895 mandir=$ac_optarg ;;
896
897 -nfp | --nfp | --nf)
898 # Obsolete; use --without-fp.
899 with_fp=no ;;
900
901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
902 | --no-cr | --no-c | -n)
903 no_create=yes ;;
904
905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
907 no_recursion=yes ;;
908
909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
911 | --oldin | --oldi | --old | --ol | --o)
912 ac_prev=oldincludedir ;;
913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
916 oldincludedir=$ac_optarg ;;
917
918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919 ac_prev=prefix ;;
920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
921 prefix=$ac_optarg ;;
922
923 -program-prefix | --program-prefix | --program-prefi | --program-pref \
924 | --program-pre | --program-pr | --program-p)
925 ac_prev=program_prefix ;;
926 -program-prefix=* | --program-prefix=* | --program-prefi=* \
927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
928 program_prefix=$ac_optarg ;;
929
930 -program-suffix | --program-suffix | --program-suffi | --program-suff \
931 | --program-suf | --program-su | --program-s)
932 ac_prev=program_suffix ;;
933 -program-suffix=* | --program-suffix=* | --program-suffi=* \
934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
935 program_suffix=$ac_optarg ;;
936
937 -program-transform-name | --program-transform-name \
938 | --program-transform-nam | --program-transform-na \
939 | --program-transform-n | --program-transform- \
940 | --program-transform | --program-transfor \
941 | --program-transfo | --program-transf \
942 | --program-trans | --program-tran \
943 | --progr-tra | --program-tr | --program-t)
944 ac_prev=program_transform_name ;;
945 -program-transform-name=* | --program-transform-name=* \
946 | --program-transform-nam=* | --program-transform-na=* \
947 | --program-transform-n=* | --program-transform-=* \
948 | --program-transform=* | --program-transfor=* \
949 | --program-transfo=* | --program-transf=* \
950 | --program-trans=* | --program-tran=* \
951 | --progr-tra=* | --program-tr=* | --program-t=*)
952 program_transform_name=$ac_optarg ;;
953
e32d7527 954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955 ac_prev=pdfdir ;;
956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
957 pdfdir=$ac_optarg ;;
958
959 -psdir | --psdir | --psdi | --psd | --ps)
960 ac_prev=psdir ;;
961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
962 psdir=$ac_optarg ;;
963
fbb86200 964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
965 | -silent | --silent | --silen | --sile | --sil)
966 silent=yes ;;
967
968 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 ac_prev=sbindir ;;
970 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971 | --sbi=* | --sb=*)
972 sbindir=$ac_optarg ;;
973
974 -sharedstatedir | --sharedstatedir | --sharedstatedi \
975 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
976 | --sharedst | --shareds | --shared | --share | --shar \
977 | --sha | --sh)
978 ac_prev=sharedstatedir ;;
979 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
980 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
981 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982 | --sha=* | --sh=*)
983 sharedstatedir=$ac_optarg ;;
984
985 -site | --site | --sit)
986 ac_prev=site ;;
987 -site=* | --site=* | --sit=*)
988 site=$ac_optarg ;;
989
990 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991 ac_prev=srcdir ;;
992 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
993 srcdir=$ac_optarg ;;
994
995 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
996 | --syscon | --sysco | --sysc | --sys | --sy)
997 ac_prev=sysconfdir ;;
998 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
999 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1000 sysconfdir=$ac_optarg ;;
1001
1002 -target | --target | --targe | --targ | --tar | --ta | --t)
1003 ac_prev=target_alias ;;
1004 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1005 target_alias=$ac_optarg ;;
1006
1007 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1008 verbose=yes ;;
1009
1010 -version | --version | --versio | --versi | --vers | -V)
1011 ac_init_version=: ;;
1012
1013 -with-* | --with-*)
1014 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
e32d7527 1016 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
fbb86200 1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
e32d7527 1019 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1020 eval with_$ac_package=\$ac_optarg ;;
fbb86200 1021
1022 -without-* | --without-*)
1023 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
e32d7527 1025 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
fbb86200 1026 { echo "$as_me: error: invalid package name: $ac_package" >&2
1027 { (exit 1); exit 1; }; }
e32d7527 1028 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1029 eval with_$ac_package=no ;;
fbb86200 1030
1031 --x)
1032 # Obsolete; use --with-x.
1033 with_x=yes ;;
1034
1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1036 | --x-incl | --x-inc | --x-in | --x-i)
1037 ac_prev=x_includes ;;
1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1040 x_includes=$ac_optarg ;;
1041
1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1044 ac_prev=x_libraries ;;
1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1047 x_libraries=$ac_optarg ;;
1048
1049 -*) { echo "$as_me: error: unrecognized option: $ac_option
1050Try \`$0 --help' for more information." >&2
1051 { (exit 1); exit 1; }; }
1052 ;;
1053
1054 *=*)
1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1058 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1059 { (exit 1); exit 1; }; }
e32d7527 1060 eval $ac_envvar=\$ac_optarg
fbb86200 1061 export $ac_envvar ;;
1062
1063 *)
1064 # FIXME: should be removed in autoconf 3.0.
1065 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1069 ;;
1070
1071 esac
1072done
1073
1074if test -n "$ac_prev"; then
1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1076 { echo "$as_me: error: missing argument to $ac_option" >&2
1077 { (exit 1); exit 1; }; }
1078fi
1079
e32d7527 1080# Be sure to have absolute directory names.
1081for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
fbb86200 1085do
e32d7527 1086 eval ac_val=\$$ac_var
fbb86200 1087 case $ac_val in
e32d7527 1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
fbb86200 1090 esac
e32d7527 1091 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1092 { (exit 1); exit 1; }; }
fbb86200 1093done
1094
1095# There might be people who depend on the old broken behavior: `$host'
1096# used to hold the argument of --host etc.
1097# FIXME: To remove some day.
1098build=$build_alias
1099host=$host_alias
1100target=$target_alias
1101
1102# FIXME: To remove some day.
1103if test "x$host_alias" != x; then
1104 if test "x$build_alias" = x; then
1105 cross_compiling=maybe
1106 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107 If a cross compiler is detected then cross compile mode will be used." >&2
1108 elif test "x$build_alias" != "x$host_alias"; then
1109 cross_compiling=yes
1110 fi
1111fi
1112
1113ac_tool_prefix=
1114test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115
1116test "$silent" = yes && exec 6>/dev/null
1117
1118
e32d7527 1119ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120ac_ls_di=`ls -di .` &&
1121ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122 { echo "$as_me: error: Working directory cannot be determined" >&2
1123 { (exit 1); exit 1; }; }
1124test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125 { echo "$as_me: error: pwd does not report name of working directory" >&2
1126 { (exit 1); exit 1; }; }
1127
1128
fbb86200 1129# Find the source files, if location was not specified.
1130if test -z "$srcdir"; then
1131 ac_srcdir_defaulted=yes
e32d7527 1132 # Try the directory containing this script, then the parent directory.
1133 ac_confdir=`$as_dirname -- "$0" ||
fbb86200 1134$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 1135 X"$0" : 'X\(//\)[^/]' \| \
1136 X"$0" : 'X\(//\)$' \| \
e32d7527 1137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 1138echo X"$0" |
e32d7527 1139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140 s//\1/
1141 q
1142 }
1143 /^X\(\/\/\)[^/].*/{
1144 s//\1/
1145 q
1146 }
1147 /^X\(\/\/\)$/{
1148 s//\1/
1149 q
1150 }
1151 /^X\(\/\).*/{
1152 s//\1/
1153 q
1154 }
1155 s/.*/./; q'`
fbb86200 1156 srcdir=$ac_confdir
e32d7527 1157 if test ! -r "$srcdir/$ac_unique_file"; then
fbb86200 1158 srcdir=..
1159 fi
1160else
1161 ac_srcdir_defaulted=no
1162fi
e32d7527 1163if test ! -r "$srcdir/$ac_unique_file"; then
1164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1165 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
fbb86200 1166 { (exit 1); exit 1; }; }
e32d7527 1167fi
1168ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
fbb86200 1171 { (exit 1); exit 1; }; }
e32d7527 1172 pwd)`
1173# When building in place, set srcdir=.
1174if test "$ac_abs_confdir" = "$ac_pwd"; then
1175 srcdir=.
1176fi
1177# Remove unnecessary trailing slashes from srcdir.
1178# Double slashes in file names in object file debugging info
1179# mess up M-x gdb in Emacs.
1180case $srcdir in
1181*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182esac
1183for ac_var in $ac_precious_vars; do
1184 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_${ac_var}_value=\$${ac_var}
1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188done
fbb86200 1189
1190#
1191# Report the --help message.
1192#
1193if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1196 cat <<_ACEOF
a9ec3280 1197\`configure' configures Splint 3.1.2 to adapt to many kinds of systems.
fbb86200 1198
1199Usage: $0 [OPTION]... [VAR=VALUE]...
1200
1201To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202VAR=VALUE. See below for descriptions of some of the useful variables.
1203
1204Defaults for the options are specified in brackets.
1205
1206Configuration:
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1216
fbb86200 1217Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
08cf8642 1219 [$ac_default_prefix]
fbb86200 1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
08cf8642 1221 [PREFIX]
fbb86200 1222
1223By default, \`make install' will install all the files in
1224\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226for instance \`--prefix=\$HOME'.
1227
1228For better control, use the options below.
1229
1230Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
fbb86200 1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
e32d7527 1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/splint]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
fbb86200 1250_ACEOF
1251
1252 cat <<\_ACEOF
1253
1254Program names:
1255 --program-prefix=PREFIX prepend PREFIX to installed program names
1256 --program-suffix=SUFFIX append SUFFIX to installed program names
1257 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1258
1259System types:
1260 --build=BUILD configure for building on BUILD [guessed]
1261 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1262 --target=TARGET configure for building compilers for TARGET [HOST]
1263_ACEOF
1264fi
1265
1266if test -n "$ac_init_help"; then
1267 case $ac_init_help in
a9ec3280 1268 short | recursive ) echo "Configuration of Splint 3.1.2:";;
fbb86200 1269 esac
1270 cat <<\_ACEOF
1271
1272Optional Features:
1273 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1274 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
e32d7527 1275 --disable-dependency-tracking speeds up one-time build
1276 --enable-dependency-tracking do not reject slow dependency extractors
fbb86200 1277
1278Optional Packages:
1279 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1280 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1281 --without-lcl don't include support for LCL files
1282
1283Some influential environment variables:
1284 CC C compiler command
1285 CFLAGS C compiler flags
1286 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1287 nonstandard directory <lib dir>
e32d7527 1288 LIBS libraries to pass to the linker, e.g. -l<library>
1289 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1290 you have headers in a nonstandard directory <include dir>
fbb86200 1291 CPP C preprocessor
1292
1293Use these variables to override the choices made by `configure' or to help
1294it to find libraries and programs with nonstandard names/locations.
1295
1296Report bugs to <splint-bug@splint.org>.
1297_ACEOF
e32d7527 1298ac_status=$?
fbb86200 1299fi
1300
1301if test "$ac_init_help" = "recursive"; then
1302 # If there are subdirs, report their specific --help.
fbb86200 1303 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
e32d7527 1304 test -d "$ac_dir" || continue
fbb86200 1305 ac_builddir=.
1306
e32d7527 1307case "$ac_dir" in
1308.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309*)
fbb86200 1310 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
e32d7527 1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316 esac ;;
1317esac
1318ac_abs_top_builddir=$ac_pwd
1319ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320# for backward compatibility:
1321ac_top_builddir=$ac_top_build_prefix
fbb86200 1322
1323case $srcdir in
e32d7527 1324 .) # We are building in place.
fbb86200 1325 ac_srcdir=.
e32d7527 1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
fbb86200 1329 ac_srcdir=$srcdir$ac_dir_suffix;
e32d7527 1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1332 *) # Relative name.
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
08cf8642 1336esac
e32d7527 1337ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1338
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1342 echo &&
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1345 echo &&
1346 $SHELL "$ac_srcdir/configure" --help=recursive
fbb86200 1347 else
1348 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
e32d7527 1349 fi || ac_status=$?
1350 cd "$ac_pwd" || { ac_status=$?; break; }
fbb86200 1351 done
1352fi
1353
e32d7527 1354test -n "$ac_init_help" && exit $ac_status
fbb86200 1355if $ac_init_version; then
1356 cat <<\_ACEOF
a9ec3280 1357Splint configure 3.1.2
e32d7527 1358generated by GNU Autoconf 2.61
fbb86200 1359
e32d7527 1360Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13612002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
fbb86200 1362This configure script is free software; the Free Software Foundation
1363gives unlimited permission to copy, distribute and modify it.
1364_ACEOF
e32d7527 1365 exit
fbb86200 1366fi
e32d7527 1367cat >config.log <<_ACEOF
fbb86200 1368This file contains any messages produced by compilers while
1369running configure, to aid debugging if configure makes a mistake.
1370
a9ec3280 1371It was created by Splint $as_me 3.1.2, which was
e32d7527 1372generated by GNU Autoconf 2.61. Invocation command line was
fbb86200 1373
1374 $ $0 $@
1375
1376_ACEOF
e32d7527 1377exec 5>>config.log
fbb86200 1378{
1379cat <<_ASUNAME
1380## --------- ##
1381## Platform. ##
1382## --------- ##
1383
1384hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1385uname -m = `(uname -m) 2>/dev/null || echo unknown`
1386uname -r = `(uname -r) 2>/dev/null || echo unknown`
1387uname -s = `(uname -s) 2>/dev/null || echo unknown`
1388uname -v = `(uname -v) 2>/dev/null || echo unknown`
1389
1390/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1391/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1392
1393/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1394/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1395/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
e32d7527 1396/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
fbb86200 1397/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1398/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1399/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1400
1401_ASUNAME
1402
1403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404for as_dir in $PATH
1405do
1406 IFS=$as_save_IFS
1407 test -z "$as_dir" && as_dir=.
1408 echo "PATH: $as_dir"
1409done
e32d7527 1410IFS=$as_save_IFS
fbb86200 1411
1412} >&5
1413
1414cat >&5 <<_ACEOF
1415
1416
1417## ----------- ##
1418## Core tests. ##
1419## ----------- ##
1420
1421_ACEOF
1422
1423
1424# Keep a trace of the command line.
1425# Strip out --no-create and --no-recursion so they do not pile up.
08cf8642 1426# Strip out --silent because we don't want to record it for future runs.
fbb86200 1427# Also quote any args containing shell meta-characters.
08cf8642 1428# Make two passes to allow for proper duplicate-argument suppression.
fbb86200 1429ac_configure_args=
08cf8642 1430ac_configure_args0=
1431ac_configure_args1=
08cf8642 1432ac_must_keep_next=false
1433for ac_pass in 1 2
fbb86200 1434do
08cf8642 1435 for ac_arg
1436 do
1437 case $ac_arg in
1438 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1440 | -silent | --silent | --silen | --sile | --sil)
1441 continue ;;
e32d7527 1442 *\'*)
08cf8642 1443 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1444 esac
1445 case $ac_pass in
1446 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1447 2)
1448 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1449 if test $ac_must_keep_next = true; then
1450 ac_must_keep_next=false # Got value, back to normal.
1451 else
1452 case $ac_arg in
1453 *=* | --config-cache | -C | -disable-* | --disable-* \
1454 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1455 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1456 | -with-* | --with-* | -without-* | --without-* | --x)
1457 case "$ac_configure_args0 " in
1458 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1459 esac
1460 ;;
1461 -* ) ac_must_keep_next=true ;;
1462 esac
1463 fi
e32d7527 1464 ac_configure_args="$ac_configure_args '$ac_arg'"
08cf8642 1465 ;;
1466 esac
1467 done
fbb86200 1468done
08cf8642 1469$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1470$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
fbb86200 1471
1472# When interrupted or exit'd, cleanup temporary files, and complete
1473# config.log. We remove comments because anyway the quotes in there
1474# would cause problems or look ugly.
e32d7527 1475# WARNING: Use '\'' to represent an apostrophe within the trap.
1476# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
fbb86200 1477trap 'exit_status=$?
1478 # Save into config.log some information that might help in debugging.
1479 {
1480 echo
08cf8642 1481
fbb86200 1482 cat <<\_ASBOX
1483## ---------------- ##
1484## Cache variables. ##
1485## ---------------- ##
1486_ASBOX
1487 echo
1488 # The following way of writing the cache mishandles newlines in values,
e32d7527 1489(
1490 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1491 eval ac_val=\$$ac_var
1492 case $ac_val in #(
1493 *${as_nl}*)
1494 case $ac_var in #(
1495 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1496echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1497 esac
1498 case $ac_var in #(
1499 _ | IFS | as_nl) ;; #(
1500 *) $as_unset $ac_var ;;
1501 esac ;;
1502 esac
1503 done
fbb86200 1504 (set) 2>&1 |
e32d7527 1505 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1506 *${as_nl}ac_space=\ *)
fbb86200 1507 sed -n \
e32d7527 1508 "s/'\''/'\''\\\\'\'''\''/g;
1509 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1510 ;; #(
fbb86200 1511 *)
e32d7527 1512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
fbb86200 1513 ;;
e32d7527 1514 esac |
1515 sort
1516)
fbb86200 1517 echo
08cf8642 1518
1519 cat <<\_ASBOX
1520## ----------------- ##
1521## Output variables. ##
1522## ----------------- ##
1523_ASBOX
1524 echo
1525 for ac_var in $ac_subst_vars
1526 do
e32d7527 1527 eval ac_val=\$$ac_var
1528 case $ac_val in
1529 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1530 esac
1531 echo "$ac_var='\''$ac_val'\''"
08cf8642 1532 done | sort
1533 echo
1534
1535 if test -n "$ac_subst_files"; then
1536 cat <<\_ASBOX
e32d7527 1537## ------------------- ##
1538## File substitutions. ##
1539## ------------------- ##
08cf8642 1540_ASBOX
1541 echo
1542 for ac_var in $ac_subst_files
1543 do
e32d7527 1544 eval ac_val=\$$ac_var
1545 case $ac_val in
1546 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547 esac
1548 echo "$ac_var='\''$ac_val'\''"
08cf8642 1549 done | sort
1550 echo
1551 fi
1552
fbb86200 1553 if test -s confdefs.h; then
1554 cat <<\_ASBOX
1555## ----------- ##
1556## confdefs.h. ##
1557## ----------- ##
1558_ASBOX
1559 echo
e32d7527 1560 cat confdefs.h
fbb86200 1561 echo
1562 fi
1563 test "$ac_signal" != 0 &&
1564 echo "$as_me: caught signal $ac_signal"
1565 echo "$as_me: exit $exit_status"
1566 } >&5
e32d7527 1567 rm -f core *.core core.conftest.* &&
1568 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
fbb86200 1569 exit $exit_status
e32d7527 1570' 0
fbb86200 1571for ac_signal in 1 2 13 15; do
1572 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1573done
1574ac_signal=0
1575
1576# confdefs.h avoids OS command line length limits that DEFS can exceed.
e32d7527 1577rm -f -r conftest* confdefs.h
fbb86200 1578
1579# Predefined preprocessor variables.
1580
1581cat >>confdefs.h <<_ACEOF
1582#define PACKAGE_NAME "$PACKAGE_NAME"
1583_ACEOF
1584
1585
1586cat >>confdefs.h <<_ACEOF
1587#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1588_ACEOF
1589
1590
1591cat >>confdefs.h <<_ACEOF
1592#define PACKAGE_VERSION "$PACKAGE_VERSION"
1593_ACEOF
1594
1595
1596cat >>confdefs.h <<_ACEOF
1597#define PACKAGE_STRING "$PACKAGE_STRING"
1598_ACEOF
1599
1600
1601cat >>confdefs.h <<_ACEOF
1602#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1603_ACEOF
1604
1605
1606# Let the site file select an alternate cache file if it wants to.
1607# Prefer explicitly selected file to automatically selected ones.
e32d7527 1608if test -n "$CONFIG_SITE"; then
1609 set x "$CONFIG_SITE"
1610elif test "x$prefix" != xNONE; then
1611 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1612else
1613 set x "$ac_default_prefix/share/config.site" \
1614 "$ac_default_prefix/etc/config.site"
fbb86200 1615fi
e32d7527 1616shift
1617for ac_site_file
1618do
fbb86200 1619 if test -r "$ac_site_file"; then
1620 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1621echo "$as_me: loading site script $ac_site_file" >&6;}
1622 sed 's/^/| /' "$ac_site_file" >&5
1623 . "$ac_site_file"
1624 fi
1625done
1626
1627if test -r "$cache_file"; then
1628 # Some versions of bash will fail to source /dev/null (special
1629 # files actually), so we avoid doing that.
1630 if test -f "$cache_file"; then
1631 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1632echo "$as_me: loading cache $cache_file" >&6;}
1633 case $cache_file in
e32d7527 1634 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1635 *) . "./$cache_file";;
fbb86200 1636 esac
1637 fi
1638else
1639 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1640echo "$as_me: creating cache $cache_file" >&6;}
1641 >$cache_file
1642fi
1643
1644# Check that the precious variables saved in the cache have kept the same
1645# value.
1646ac_cache_corrupted=false
e32d7527 1647for ac_var in $ac_precious_vars; do
fbb86200 1648 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1649 eval ac_new_set=\$ac_env_${ac_var}_set
e32d7527 1650 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1651 eval ac_new_val=\$ac_env_${ac_var}_value
fbb86200 1652 case $ac_old_set,$ac_new_set in
1653 set,)
1654 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1655echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1656 ac_cache_corrupted=: ;;
1657 ,set)
1658 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1659echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1660 ac_cache_corrupted=: ;;
1661 ,);;
1662 *)
1663 if test "x$ac_old_val" != "x$ac_new_val"; then
08cf8642 1664 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
fbb86200 1665echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
08cf8642 1666 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
fbb86200 1667echo "$as_me: former value: $ac_old_val" >&2;}
08cf8642 1668 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
fbb86200 1669echo "$as_me: current value: $ac_new_val" >&2;}
08cf8642 1670 ac_cache_corrupted=:
fbb86200 1671 fi;;
1672 esac
1673 # Pass precious variables to config.status.
1674 if test "$ac_new_set" = set; then
1675 case $ac_new_val in
e32d7527 1676 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
fbb86200 1677 *) ac_arg=$ac_var=$ac_new_val ;;
1678 esac
1679 case " $ac_configure_args " in
1680 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1681 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
508533c5 1682 esac
1683 fi
1684done
fbb86200 1685if $ac_cache_corrupted; then
1686 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1687echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1688 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1689echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1690 { (exit 1); exit 1; }; }
1691fi
1692
fbb86200 1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
e32d7527 1717ac_ext=c
1718ac_cpp='$CPP $CPPFLAGS'
1719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721ac_compiler_gnu=$ac_cv_c_compiler_gnu
08cf8642 1722
fbb86200 1723
1724
1725ac_aux_dir=
e32d7527 1726for ac_dir in config "$srcdir"/config; do
1727 if test -f "$ac_dir/install-sh"; then
fbb86200 1728 ac_aux_dir=$ac_dir
1729 ac_install_sh="$ac_aux_dir/install-sh -c"
1730 break
e32d7527 1731 elif test -f "$ac_dir/install.sh"; then
fbb86200 1732 ac_aux_dir=$ac_dir
1733 ac_install_sh="$ac_aux_dir/install.sh -c"
1734 break
e32d7527 1735 elif test -f "$ac_dir/shtool"; then
fbb86200 1736 ac_aux_dir=$ac_dir
1737 ac_install_sh="$ac_aux_dir/shtool install -c"
1738 break
1739 fi
1740done
1741if test -z "$ac_aux_dir"; then
e32d7527 1742 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1743echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
fbb86200 1744 { (exit 1); exit 1; }; }
1745fi
e32d7527 1746
1747# These three variables are undocumented and unsupported,
1748# and are intended to be withdrawn in a future Autoconf release.
1749# They can cause serious problems if a builder's source tree is in a directory
1750# whose full name contains unusual characters.
1751ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1752ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1753ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1754
fbb86200 1755
1756
1757
1758
1759# Make sure we can run config.sub.
e32d7527 1760$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1761 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1762echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
fbb86200 1763 { (exit 1); exit 1; }; }
1764
e32d7527 1765{ echo "$as_me:$LINENO: checking build system type" >&5
1766echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
fbb86200 1767if test "${ac_cv_build+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1769else
e32d7527 1770 ac_build_alias=$build_alias
1771test "x$ac_build_alias" = x &&
1772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1773test "x$ac_build_alias" = x &&
fbb86200 1774 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1775echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1776 { (exit 1); exit 1; }; }
e32d7527 1777ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1779echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
fbb86200 1780 { (exit 1); exit 1; }; }
1781
1782fi
e32d7527 1783{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1784echo "${ECHO_T}$ac_cv_build" >&6; }
1785case $ac_cv_build in
1786*-*-*) ;;
1787*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1788echo "$as_me: error: invalid value of canonical build" >&2;}
1789 { (exit 1); exit 1; }; };;
1790esac
fbb86200 1791build=$ac_cv_build
e32d7527 1792ac_save_IFS=$IFS; IFS='-'
1793set x $ac_cv_build
1794shift
1795build_cpu=$1
1796build_vendor=$2
1797shift; shift
1798# Remember, the first character of IFS is used to create $*,
1799# except with old shells:
1800build_os=$*
1801IFS=$ac_save_IFS
1802case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1803
1804
1805{ echo "$as_me:$LINENO: checking host system type" >&5
1806echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
fbb86200 1807if test "${ac_cv_host+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809else
e32d7527 1810 if test "x$host_alias" = x; then
1811 ac_cv_host=$ac_cv_build
1812else
1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1815echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
fbb86200 1816 { (exit 1); exit 1; }; }
e32d7527 1817fi
fbb86200 1818
1819fi
e32d7527 1820{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1821echo "${ECHO_T}$ac_cv_host" >&6; }
1822case $ac_cv_host in
1823*-*-*) ;;
1824*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1825echo "$as_me: error: invalid value of canonical host" >&2;}
1826 { (exit 1); exit 1; }; };;
1827esac
fbb86200 1828host=$ac_cv_host
e32d7527 1829ac_save_IFS=$IFS; IFS='-'
1830set x $ac_cv_host
1831shift
1832host_cpu=$1
1833host_vendor=$2
1834shift; shift
1835# Remember, the first character of IFS is used to create $*,
1836# except with old shells:
1837host_os=$*
1838IFS=$ac_save_IFS
1839case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1840
1841
1842{ echo "$as_me:$LINENO: checking target system type" >&5
1843echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
fbb86200 1844if test "${ac_cv_target+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1846else
e32d7527 1847 if test "x$target_alias" = x; then
1848 ac_cv_target=$ac_cv_host
1849else
1850 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1852echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
fbb86200 1853 { (exit 1); exit 1; }; }
e32d7527 1854fi
fbb86200 1855
1856fi
e32d7527 1857{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1858echo "${ECHO_T}$ac_cv_target" >&6; }
1859case $ac_cv_target in
1860*-*-*) ;;
1861*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1862echo "$as_me: error: invalid value of canonical target" >&2;}
1863 { (exit 1); exit 1; }; };;
1864esac
fbb86200 1865target=$ac_cv_target
e32d7527 1866ac_save_IFS=$IFS; IFS='-'
1867set x $ac_cv_target
1868shift
1869target_cpu=$1
1870target_vendor=$2
1871shift; shift
1872# Remember, the first character of IFS is used to create $*,
1873# except with old shells:
1874target_os=$*
1875IFS=$ac_save_IFS
1876case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
fbb86200 1877
1878
1879# The aliases save the names the user supplied, while $host etc.
1880# will get canonicalized.
1881test -n "$target_alias" &&
1882 test "$program_prefix$program_suffix$program_transform_name" = \
1883 NONENONEs,x,x, &&
1884 program_prefix=${target_alias}-
1885
e32d7527 1886am__api_version='1.10'
1887
fbb86200 1888# Find a good install program. We prefer a C program (faster),
1889# so one script is as good as another. But avoid the broken or
1890# incompatible versions:
1891# SysV /etc/install, /usr/sbin/install
1892# SunOS /usr/etc/install
1893# IRIX /sbin/install
1894# AIX /bin/install
1895# AmigaOS /C/install, which installs bootblocks on floppy discs
1896# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1897# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1898# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
08cf8642 1899# OS/2's system install, which has a completely different semantic
fbb86200 1900# ./install, which can be erroneously created by make from ./install.sh.
e32d7527 1901{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1902echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
fbb86200 1903if test -z "$INSTALL"; then
1904if test "${ac_cv_path_install+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906else
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908for as_dir in $PATH
1909do
1910 IFS=$as_save_IFS
1911 test -z "$as_dir" && as_dir=.
1912 # Account for people who put trailing slashes in PATH elements.
1913case $as_dir/ in
1914 ./ | .// | /cC/* | \
1915 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
08cf8642 1916 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
fbb86200 1917 /usr/ucb/* ) ;;
1918 *)
1919 # OSF1 and SCO ODT 3.0 have their own names for install.
1920 # Don't use installbsd from OSF since it installs stuff as root
1921 # by default.
1922 for ac_prog in ginstall scoinst install; do
1923 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 1924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
08cf8642 1925 if test $ac_prog = install &&
1926 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # AIX install. It has an incompatible calling convention.
1928 :
1929 elif test $ac_prog = install &&
1930 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # program-specific install script used by HP pwplus--don't use.
1932 :
1933 else
1934 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1935 break 3
1936 fi
1937 fi
fbb86200 1938 done
1939 done
1940 ;;
1941esac
1942done
e32d7527 1943IFS=$as_save_IFS
fbb86200 1944
1945
1946fi
1947 if test "${ac_cv_path_install+set}" = set; then
1948 INSTALL=$ac_cv_path_install
1949 else
e32d7527 1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
fbb86200 1952 # break other packages using the cache if that directory is
e32d7527 1953 # removed, or if the value is a relative name.
fbb86200 1954 INSTALL=$ac_install_sh
1955 fi
1956fi
e32d7527 1957{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1958echo "${ECHO_T}$INSTALL" >&6; }
fbb86200 1959
1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961# It thinks the first close brace ends the variable substitution.
1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
e32d7527 1968{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1969echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
fbb86200 1970# Just in case
1971sleep 1
1972echo timestamp > conftest.file
1973# Do `set' in a subshell so we don't clobber the current shell's
1974# arguments. Must try -L first in case configure is actually a
1975# symlink; some systems play weird games with the mod time of symlinks
1976# (eg FreeBSD returns the mod time of the symlink's containing
1977# directory).
1978if (
1979 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1980 if test "$*" = "X"; then
1981 # -L didn't work.
1982 set X `ls -t $srcdir/configure conftest.file`
1983 fi
1984 rm -f conftest.file
1985 if test "$*" != "X $srcdir/configure conftest.file" \
1986 && test "$*" != "X conftest.file $srcdir/configure"; then
1987
1988 # If neither matched, then we have a broken ls. This can happen
1989 # if, for instance, CONFIG_SHELL is bash and it inherits a
1990 # broken ls alias from the environment. This has actually
1991 # happened. Such a system could not be considered "sane".
1992 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1993alias in your environment" >&5
1994echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1995alias in your environment" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 test "$2" = conftest.file
2000 )
2001then
2002 # Ok.
2003 :
2004else
2005 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2006Check your system clock" >&5
2007echo "$as_me: error: newly created file is older than distributed files!
2008Check your system clock" >&2;}
2009 { (exit 1); exit 1; }; }
2010fi
e32d7527 2011{ echo "$as_me:$LINENO: result: yes" >&5
2012echo "${ECHO_T}yes" >&6; }
fbb86200 2013test "$program_prefix" != NONE &&
e32d7527 2014 program_transform_name="s&^&$program_prefix&;$program_transform_name"
fbb86200 2015# Use a double $ so make ignores it.
2016test "$program_suffix" != NONE &&
e32d7527 2017 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
fbb86200 2018# Double any \ or $. echo might interpret backslashes.
2019# By default was `s,x,x', remove it if useless.
2020cat <<\_ACEOF >conftest.sed
2021s/[\\$]/&&/g;s/;s,x,x,$//
2022_ACEOF
2023program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
e32d7527 2024rm -f conftest.sed
fbb86200 2025
2026# expand $ac_aux_dir to an absolute path
2027am_aux_dir=`cd $ac_aux_dir && pwd`
2028
2029test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2030# Use eval to expand $SHELL
2031if eval "$MISSING --run true"; then
2032 am_missing_run="$MISSING --run "
2033else
2034 am_missing_run=
2035 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2036echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2037fi
2038
e32d7527 2039{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2040echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2041if test -z "$MKDIR_P"; then
2042 if test "${ac_cv_path_mkdir+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2047do
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 for ac_prog in mkdir gmkdir; do
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2053 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2054 'mkdir (GNU coreutils) '* | \
2055 'mkdir (coreutils) '* | \
2056 'mkdir (fileutils) '4.1*)
2057 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2058 break 3;;
2059 esac
2060 done
2061 done
2062done
2063IFS=$as_save_IFS
2064
2065fi
2066
2067 if test "${ac_cv_path_mkdir+set}" = set; then
2068 MKDIR_P="$ac_cv_path_mkdir -p"
2069 else
2070 # As a last resort, use the slow shell script. Don't cache a
2071 # value for MKDIR_P within a source directory, because that will
2072 # break other packages using the cache if that directory is
2073 # removed, or if the value is a relative name.
2074 test -d ./--version && rmdir ./--version
2075 MKDIR_P="$ac_install_sh -d"
2076 fi
2077fi
2078{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2079echo "${ECHO_T}$MKDIR_P" >&6; }
2080
2081mkdir_p="$MKDIR_P"
2082case $mkdir_p in
2083 [\\/$]* | ?:[\\/]*) ;;
2084 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2085esac
2086
fbb86200 2087for ac_prog in gawk mawk nawk awk
2088do
2089 # Extract the first word of "$ac_prog", so it can be a program name with args.
2090set dummy $ac_prog; ac_word=$2
e32d7527 2091{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2092echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2093if test "${ac_cv_prog_AWK+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2095else
2096 if test -n "$AWK"; then
2097 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2098else
2099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100for as_dir in $PATH
2101do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2106 ac_cv_prog_AWK="$ac_prog"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 break 2
2109 fi
2110done
2111done
e32d7527 2112IFS=$as_save_IFS
fbb86200 2113
2114fi
2115fi
2116AWK=$ac_cv_prog_AWK
2117if test -n "$AWK"; then
e32d7527 2118 { echo "$as_me:$LINENO: result: $AWK" >&5
2119echo "${ECHO_T}$AWK" >&6; }
fbb86200 2120else
e32d7527 2121 { echo "$as_me:$LINENO: result: no" >&5
2122echo "${ECHO_T}no" >&6; }
fbb86200 2123fi
2124
e32d7527 2125
fbb86200 2126 test -n "$AWK" && break
2127done
2128
e32d7527 2129{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2130echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2131set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2132if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
fbb86200 2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134else
2135 cat >conftest.make <<\_ACEOF
e32d7527 2136SHELL = /bin/sh
fbb86200 2137all:
e32d7527 2138 @echo '@@@%%%=$(MAKE)=@@@%%%'
fbb86200 2139_ACEOF
2140# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
e32d7527 2141case `${MAKE-make} -f conftest.make 2>/dev/null` in
2142 *@@@%%%=?*=@@@%%%*)
2143 eval ac_cv_prog_make_${ac_make}_set=yes;;
2144 *)
2145 eval ac_cv_prog_make_${ac_make}_set=no;;
2146esac
fbb86200 2147rm -f conftest.make
2148fi
e32d7527 2149if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2150 { echo "$as_me:$LINENO: result: yes" >&5
2151echo "${ECHO_T}yes" >&6; }
fbb86200 2152 SET_MAKE=
2153else
e32d7527 2154 { echo "$as_me:$LINENO: result: no" >&5
2155echo "${ECHO_T}no" >&6; }
fbb86200 2156 SET_MAKE="MAKE=${MAKE-make}"
2157fi
2158
e32d7527 2159rm -rf .tst 2>/dev/null
2160mkdir .tst 2>/dev/null
2161if test -d .tst; then
2162 am__leading_dot=.
2163else
2164 am__leading_dot=_
2165fi
2166rmdir .tst 2>/dev/null
2167
2168if test "`cd $srcdir && pwd`" != "`pwd`"; then
2169 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2170 # is not polluted with repeated "-I."
2171 am__isrc=' -I$(srcdir)'
2172 # test to see if srcdir already configured
2173 if test -f $srcdir/config.status; then
2174 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
fbb86200 2175echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2176 { (exit 1); exit 1; }; }
e32d7527 2177 fi
fbb86200 2178fi
2179
e32d7527 2180# test whether we have cygpath
2181if test -z "$CYGPATH_W"; then
2182 if (cygpath --version) >/dev/null 2>/dev/null; then
2183 CYGPATH_W='cygpath -w'
2184 else
2185 CYGPATH_W=echo
2186 fi
2187fi
2188
2189
fbb86200 2190# Define the identity of the package.
2191 PACKAGE=splint
a9ec3280 2192 VERSION=3.1.2
fbb86200 2193
2194
2195# Some tools Automake needs.
2196
2197ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2198
2199
2200AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2201
2202
2203AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2204
2205
2206AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2207
2208
2209MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2210
e32d7527 2211install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
fbb86200 2212
2213# Installed binaries are usually stripped using `strip' when the user
2214# run `make install-strip'. However `strip' might not be the right
2215# tool to use in cross-compilation environments, therefore Automake
2216# will honor the `STRIP' environment variable to overrule this program.
2217if test "$cross_compiling" != no; then
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2220set dummy ${ac_tool_prefix}strip; ac_word=$2
e32d7527 2221{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2222echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2223if test "${ac_cv_prog_STRIP+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2225else
2226 if test -n "$STRIP"; then
2227 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2228else
2229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230for as_dir in $PATH
2231do
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2236 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 break 2
2239 fi
2240done
2241done
e32d7527 2242IFS=$as_save_IFS
fbb86200 2243
2244fi
2245fi
2246STRIP=$ac_cv_prog_STRIP
2247if test -n "$STRIP"; then
e32d7527 2248 { echo "$as_me:$LINENO: result: $STRIP" >&5
2249echo "${ECHO_T}$STRIP" >&6; }
fbb86200 2250else
e32d7527 2251 { echo "$as_me:$LINENO: result: no" >&5
2252echo "${ECHO_T}no" >&6; }
fbb86200 2253fi
2254
e32d7527 2255
fbb86200 2256fi
2257if test -z "$ac_cv_prog_STRIP"; then
2258 ac_ct_STRIP=$STRIP
2259 # Extract the first word of "strip", so it can be a program name with args.
2260set dummy strip; ac_word=$2
e32d7527 2261{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2263if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2265else
2266 if test -n "$ac_ct_STRIP"; then
2267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2268else
2269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270for as_dir in $PATH
2271do
2272 IFS=$as_save_IFS
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2276 ac_cv_prog_ac_ct_STRIP="strip"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 break 2
2279 fi
2280done
2281done
e32d7527 2282IFS=$as_save_IFS
fbb86200 2283
fbb86200 2284fi
2285fi
2286ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2287if test -n "$ac_ct_STRIP"; then
e32d7527 2288 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2289echo "${ECHO_T}$ac_ct_STRIP" >&6; }
fbb86200 2290else
e32d7527 2291 { echo "$as_me:$LINENO: result: no" >&5
2292echo "${ECHO_T}no" >&6; }
fbb86200 2293fi
2294
e32d7527 2295 if test "x$ac_ct_STRIP" = x; then
2296 STRIP=":"
2297 else
2298 case $cross_compiling:$ac_tool_warned in
2299yes:)
2300{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2301whose name does not start with the host triplet. If you think this
2302configuration is useful to you, please write to autoconf@gnu.org." >&5
2303echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2304whose name does not start with the host triplet. If you think this
2305configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2306ac_tool_warned=yes ;;
2307esac
2308 STRIP=$ac_ct_STRIP
2309 fi
fbb86200 2310else
2311 STRIP="$ac_cv_prog_STRIP"
2312fi
2313
2314fi
e32d7527 2315INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
fbb86200 2316
2317# We need awk for the "check" target. The system "awk" is bad on
2318# some platforms.
e32d7527 2319# Always define AMTAR for backward compatibility.
fbb86200 2320
e32d7527 2321AMTAR=${AMTAR-"${am_missing_run}tar"}
2322
2323am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
fbb86200 2324
2325
fbb86200 2326
2327
2328
e32d7527 2329ac_config_headers="$ac_config_headers config.h:config.hin"
2330
fbb86200 2331
2332
2333
2334
2335
2336
2337#drl 12-19-2001 commented out so Splint won't depend on C++
2338#AC_PROG_CXX
2339ac_ext=c
2340ac_cpp='$CPP $CPPFLAGS'
2341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2343ac_compiler_gnu=$ac_cv_c_compiler_gnu
2344if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2346set dummy ${ac_tool_prefix}gcc; ac_word=$2
e32d7527 2347{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2348echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2349if test "${ac_cv_prog_CC+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2351else
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2354else
2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356for as_dir in $PATH
2357do
2358 IFS=$as_save_IFS
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 break 2
2365 fi
2366done
2367done
e32d7527 2368IFS=$as_save_IFS
fbb86200 2369
2370fi
2371fi
2372CC=$ac_cv_prog_CC
2373if test -n "$CC"; then
e32d7527 2374 { echo "$as_me:$LINENO: result: $CC" >&5
2375echo "${ECHO_T}$CC" >&6; }
fbb86200 2376else
e32d7527 2377 { echo "$as_me:$LINENO: result: no" >&5
2378echo "${ECHO_T}no" >&6; }
fbb86200 2379fi
2380
e32d7527 2381
fbb86200 2382fi
2383if test -z "$ac_cv_prog_CC"; then
2384 ac_ct_CC=$CC
2385 # Extract the first word of "gcc", so it can be a program name with args.
2386set dummy gcc; ac_word=$2
e32d7527 2387{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2388echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2389if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2391else
2392 if test -n "$ac_ct_CC"; then
2393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2394else
2395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396for as_dir in $PATH
2397do
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2402 ac_cv_prog_ac_ct_CC="gcc"
2403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2405 fi
2406done
2407done
e32d7527 2408IFS=$as_save_IFS
fbb86200 2409
2410fi
2411fi
2412ac_ct_CC=$ac_cv_prog_ac_ct_CC
2413if test -n "$ac_ct_CC"; then
e32d7527 2414 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2415echo "${ECHO_T}$ac_ct_CC" >&6; }
fbb86200 2416else
e32d7527 2417 { echo "$as_me:$LINENO: result: no" >&5
2418echo "${ECHO_T}no" >&6; }
fbb86200 2419fi
2420
e32d7527 2421 if test "x$ac_ct_CC" = x; then
2422 CC=""
2423 else
2424 case $cross_compiling:$ac_tool_warned in
2425yes:)
2426{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2427whose name does not start with the host triplet. If you think this
2428configuration is useful to you, please write to autoconf@gnu.org." >&5
2429echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2430whose name does not start with the host triplet. If you think this
2431configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2432ac_tool_warned=yes ;;
2433esac
2434 CC=$ac_ct_CC
2435 fi
fbb86200 2436else
2437 CC="$ac_cv_prog_CC"
2438fi
2439
2440if test -z "$CC"; then
e32d7527 2441 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
fbb86200 2443set dummy ${ac_tool_prefix}cc; ac_word=$2
e32d7527 2444{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2446if test "${ac_cv_prog_CC+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448else
2449 if test -n "$CC"; then
2450 ac_cv_prog_CC="$CC" # Let the user override the test.
2451else
2452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453for as_dir in $PATH
2454do
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2459 ac_cv_prog_CC="${ac_tool_prefix}cc"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 break 2
2462 fi
2463done
2464done
e32d7527 2465IFS=$as_save_IFS
fbb86200 2466
2467fi
2468fi
2469CC=$ac_cv_prog_CC
2470if test -n "$CC"; then
e32d7527 2471 { echo "$as_me:$LINENO: result: $CC" >&5
2472echo "${ECHO_T}$CC" >&6; }
fbb86200 2473else
e32d7527 2474 { echo "$as_me:$LINENO: result: no" >&5
2475echo "${ECHO_T}no" >&6; }
fbb86200 2476fi
2477
fbb86200 2478
e32d7527 2479 fi
fbb86200 2480fi
2481if test -z "$CC"; then
2482 # Extract the first word of "cc", so it can be a program name with args.
2483set dummy cc; ac_word=$2
e32d7527 2484{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2485echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2486if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491else
2492 ac_prog_rejected=no
2493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494for as_dir in $PATH
2495do
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501 ac_prog_rejected=yes
2502 continue
2503 fi
2504 ac_cv_prog_CC="cc"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2507 fi
2508done
2509done
e32d7527 2510IFS=$as_save_IFS
fbb86200 2511
2512if test $ac_prog_rejected = yes; then
2513 # We found a bogon in the path, so make sure we never use it.
2514 set dummy $ac_cv_prog_CC
2515 shift
2516 if test $# != 0; then
2517 # We chose a different compiler from the bogus one.
2518 # However, it has the same basename, so the bogon will be chosen
2519 # first if we set CC to just the basename; use the full file name.
2520 shift
08cf8642 2521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fbb86200 2522 fi
2523fi
2524fi
2525fi
2526CC=$ac_cv_prog_CC
2527if test -n "$CC"; then
e32d7527 2528 { echo "$as_me:$LINENO: result: $CC" >&5
2529echo "${ECHO_T}$CC" >&6; }
fbb86200 2530else
e32d7527 2531 { echo "$as_me:$LINENO: result: no" >&5
2532echo "${ECHO_T}no" >&6; }
fbb86200 2533fi
2534
e32d7527 2535
fbb86200 2536fi
2537if test -z "$CC"; then
2538 if test -n "$ac_tool_prefix"; then
e32d7527 2539 for ac_prog in cl.exe
fbb86200 2540 do
2541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2542set dummy $ac_tool_prefix$ac_prog; ac_word=$2
e32d7527 2543{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2544echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2545if test "${ac_cv_prog_CC+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2547else
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2550else
2551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552for as_dir in $PATH
2553do
2554 IFS=$as_save_IFS
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 break 2
2561 fi
2562done
2563done
e32d7527 2564IFS=$as_save_IFS
fbb86200 2565
2566fi
2567fi
2568CC=$ac_cv_prog_CC
2569if test -n "$CC"; then
e32d7527 2570 { echo "$as_me:$LINENO: result: $CC" >&5
2571echo "${ECHO_T}$CC" >&6; }
fbb86200 2572else
e32d7527 2573 { echo "$as_me:$LINENO: result: no" >&5
2574echo "${ECHO_T}no" >&6; }
fbb86200 2575fi
2576
e32d7527 2577
fbb86200 2578 test -n "$CC" && break
2579 done
2580fi
2581if test -z "$CC"; then
2582 ac_ct_CC=$CC
e32d7527 2583 for ac_prog in cl.exe
fbb86200 2584do
2585 # Extract the first word of "$ac_prog", so it can be a program name with args.
2586set dummy $ac_prog; ac_word=$2
e32d7527 2587{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 2589if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2591else
2592 if test -n "$ac_ct_CC"; then
2593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2594else
2595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596for as_dir in $PATH
2597do
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 2602 ac_cv_prog_ac_ct_CC="$ac_prog"
2603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 break 2
2605 fi
2606done
2607done
e32d7527 2608IFS=$as_save_IFS
fbb86200 2609
2610fi
2611fi
2612ac_ct_CC=$ac_cv_prog_ac_ct_CC
2613if test -n "$ac_ct_CC"; then
e32d7527 2614 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2615echo "${ECHO_T}$ac_ct_CC" >&6; }
fbb86200 2616else
e32d7527 2617 { echo "$as_me:$LINENO: result: no" >&5
2618echo "${ECHO_T}no" >&6; }
fbb86200 2619fi
2620
e32d7527 2621
fbb86200 2622 test -n "$ac_ct_CC" && break
2623done
2624
e32d7527 2625 if test "x$ac_ct_CC" = x; then
2626 CC=""
2627 else
2628 case $cross_compiling:$ac_tool_warned in
2629yes:)
2630{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2631whose name does not start with the host triplet. If you think this
2632configuration is useful to you, please write to autoconf@gnu.org." >&5
2633echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2634whose name does not start with the host triplet. If you think this
2635configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2636ac_tool_warned=yes ;;
2637esac
2638 CC=$ac_ct_CC
2639 fi
fbb86200 2640fi
2641
2642fi
2643
2644
08cf8642 2645test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2646See \`config.log' for more details." >&5
2647echo "$as_me: error: no acceptable C compiler found in \$PATH
2648See \`config.log' for more details." >&2;}
fbb86200 2649 { (exit 1); exit 1; }; }
2650
2651# Provide some information about the compiler.
e32d7527 2652echo "$as_me:$LINENO: checking for C compiler version" >&5
fbb86200 2653ac_compiler=`set X $ac_compile; echo $2`
e32d7527 2654{ (ac_try="$ac_compiler --version >&5"
2655case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658esac
2659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compiler --version >&5") 2>&5
fbb86200 2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }
e32d7527 2664{ (ac_try="$ac_compiler -v >&5"
2665case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668esac
2669eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2670 (eval "$ac_compiler -v >&5") 2>&5
fbb86200 2671 ac_status=$?
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }
e32d7527 2674{ (ac_try="$ac_compiler -V >&5"
2675case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678esac
2679eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compiler -V >&5") 2>&5
fbb86200 2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }
2684
2685cat >conftest.$ac_ext <<_ACEOF
08cf8642 2686/* confdefs.h. */
2687_ACEOF
2688cat confdefs.h >>conftest.$ac_ext
2689cat >>conftest.$ac_ext <<_ACEOF
2690/* end confdefs.h. */
2691
fbb86200 2692int
2693main ()
2694{
2695
2696 ;
2697 return 0;
2698}
2699_ACEOF
2700ac_clean_files_save=$ac_clean_files
08cf8642 2701ac_clean_files="$ac_clean_files a.out a.exe b.out"
fbb86200 2702# Try to create an executable without -o first, disregard a.out.
2703# It will help us diagnose broken compilers, and finding out an intuition
2704# of exeext.
e32d7527 2705{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2706echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
fbb86200 2707ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
e32d7527 2708#
2709# List of possible output files, starting from the most likely.
2710# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2711# only as a last resort. b.out is created by i960 compilers.
2712ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2713#
2714# The IRIX 6 linker writes into existing files which may not be
2715# executable, retaining their permissions. Remove them first so a
2716# subsequent execution test works.
2717ac_rmfiles=
2718for ac_file in $ac_files
2719do
2720 case $ac_file in
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2722 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2723 esac
2724done
2725rm -f $ac_rmfiles
2726
2727if { (ac_try="$ac_link_default"
2728case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731esac
2732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_link_default") 2>&5
fbb86200 2734 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; then
e32d7527 2737 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2738# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2739# in a Makefile. We should not override ac_cv_exeext if it was cached,
2740# so that the user can short-circuit this test for compilers unknown to
2741# Autoconf.
2742for ac_file in $ac_files ''
08cf8642 2743do
2744 test -f "$ac_file" || continue
fbb86200 2745 case $ac_file in
e32d7527 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
08cf8642 2747 ;;
2748 [ab].out )
2749 # We found the default executable, but exeext='' is most
2750 # certainly right.
2751 break;;
2752 *.* )
e32d7527 2753 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2754 then :; else
2755 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2756 fi
2757 # We set ac_cv_exeext here because the later test for it is not
2758 # safe: cross compilers may not add the suffix if given an `-o'
2759 # argument, so we may need to know it at that point already.
2760 # Even if this section looks crufty: it has the advantage of
2761 # actually working.
08cf8642 2762 break;;
2763 * )
2764 break;;
fbb86200 2765 esac
2766done
e32d7527 2767test "$ac_cv_exeext" = no && ac_cv_exeext=
2768
fbb86200 2769else
e32d7527 2770 ac_file=''
2771fi
2772
2773{ echo "$as_me:$LINENO: result: $ac_file" >&5
2774echo "${ECHO_T}$ac_file" >&6; }
2775if test -z "$ac_file"; then
fbb86200 2776 echo "$as_me: failed program was:" >&5
08cf8642 2777sed 's/^/| /' conftest.$ac_ext >&5
2778
2779{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2780See \`config.log' for more details." >&5
2781echo "$as_me: error: C compiler cannot create executables
2782See \`config.log' for more details." >&2;}
fbb86200 2783 { (exit 77); exit 77; }; }
2784fi
2785
2786ac_exeext=$ac_cv_exeext
fbb86200 2787
e32d7527 2788# Check that the compiler produces executables we can run. If not, either
fbb86200 2789# the compiler is broken, or we cross compile.
e32d7527 2790{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2791echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
fbb86200 2792# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2793# If not cross compiling, check that we can run a simple program.
2794if test "$cross_compiling" != yes; then
2795 if { ac_try='./$ac_file'
e32d7527 2796 { (case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799esac
2800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_try") 2>&5
fbb86200 2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2805 cross_compiling=no
2806 else
2807 if test "$cross_compiling" = maybe; then
2808 cross_compiling=yes
2809 else
2810 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
08cf8642 2811If you meant to cross compile, use \`--host'.
2812See \`config.log' for more details." >&5
fbb86200 2813echo "$as_me: error: cannot run C compiled programs.
08cf8642 2814If you meant to cross compile, use \`--host'.
2815See \`config.log' for more details." >&2;}
fbb86200 2816 { (exit 1); exit 1; }; }
2817 fi
2818 fi
2819fi
e32d7527 2820{ echo "$as_me:$LINENO: result: yes" >&5
2821echo "${ECHO_T}yes" >&6; }
fbb86200 2822
08cf8642 2823rm -f a.out a.exe conftest$ac_cv_exeext b.out
fbb86200 2824ac_clean_files=$ac_clean_files_save
e32d7527 2825# Check that the compiler produces executables we can run. If not, either
fbb86200 2826# the compiler is broken, or we cross compile.
e32d7527 2827{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2828echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2829{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2830echo "${ECHO_T}$cross_compiling" >&6; }
2831
2832{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2833echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2834if { (ac_try="$ac_link"
2835case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838esac
2839eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840 (eval "$ac_link") 2>&5
fbb86200 2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; then
2844 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2845# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2846# work properly (i.e., refer to `conftest.exe'), while it won't with
2847# `rm'.
08cf8642 2848for ac_file in conftest.exe conftest conftest.*; do
2849 test -f "$ac_file" || continue
fbb86200 2850 case $ac_file in
e32d7527 2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
fbb86200 2852 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
08cf8642 2853 break;;
fbb86200 2854 * ) break;;
2855 esac
2856done
2857else
08cf8642 2858 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2859See \`config.log' for more details." >&5
2860echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2861See \`config.log' for more details." >&2;}
fbb86200 2862 { (exit 1); exit 1; }; }
2863fi
2864
2865rm -f conftest$ac_cv_exeext
e32d7527 2866{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2867echo "${ECHO_T}$ac_cv_exeext" >&6; }
fbb86200 2868
2869rm -f conftest.$ac_ext
2870EXEEXT=$ac_cv_exeext
2871ac_exeext=$EXEEXT
e32d7527 2872{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2873echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
fbb86200 2874if test "${ac_cv_objext+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2876else
2877 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2878/* confdefs.h. */
2879_ACEOF
2880cat confdefs.h >>conftest.$ac_ext
2881cat >>conftest.$ac_ext <<_ACEOF
2882/* end confdefs.h. */
2883
fbb86200 2884int
2885main ()
2886{
2887
2888 ;
2889 return 0;
2890}
2891_ACEOF
2892rm -f conftest.o conftest.obj
e32d7527 2893if { (ac_try="$ac_compile"
2894case "(($ac_try" in
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2897esac
2898eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compile") 2>&5
fbb86200 2900 ac_status=$?
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; then
e32d7527 2903 for ac_file in conftest.o conftest.obj conftest.*; do
2904 test -f "$ac_file" || continue;
fbb86200 2905 case $ac_file in
e32d7527 2906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
fbb86200 2907 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2908 break;;
2909 esac
2910done
2911else
2912 echo "$as_me: failed program was:" >&5
08cf8642 2913sed 's/^/| /' conftest.$ac_ext >&5
2914
2915{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2916See \`config.log' for more details." >&5
2917echo "$as_me: error: cannot compute suffix of object files: cannot compile
2918See \`config.log' for more details." >&2;}
fbb86200 2919 { (exit 1); exit 1; }; }
2920fi
2921
2922rm -f conftest.$ac_cv_objext conftest.$ac_ext
2923fi
e32d7527 2924{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2925echo "${ECHO_T}$ac_cv_objext" >&6; }
fbb86200 2926OBJEXT=$ac_cv_objext
2927ac_objext=$OBJEXT
e32d7527 2928{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2929echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
fbb86200 2930if test "${ac_cv_c_compiler_gnu+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2932else
2933 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2934/* confdefs.h. */
2935_ACEOF
2936cat confdefs.h >>conftest.$ac_ext
2937cat >>conftest.$ac_ext <<_ACEOF
2938/* end confdefs.h. */
2939
fbb86200 2940int
2941main ()
2942{
2943#ifndef __GNUC__
2944 choke me
2945#endif
2946
2947 ;
2948 return 0;
2949}
2950_ACEOF
2951rm -f conftest.$ac_objext
e32d7527 2952if { (ac_try="$ac_compile"
2953case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956esac
2957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_compile") 2>conftest.er1
fbb86200 2959 ac_status=$?
08cf8642 2960 grep -v '^ *+' conftest.er1 >conftest.err
2961 rm -f conftest.er1
2962 cat conftest.err >&5
fbb86200 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 2964 (exit $ac_status); } && {
2965 test -z "$ac_c_werror_flag" ||
2966 test ! -s conftest.err
2967 } && test -s conftest.$ac_objext; then
fbb86200 2968 ac_compiler_gnu=yes
2969else
2970 echo "$as_me: failed program was:" >&5
08cf8642 2971sed 's/^/| /' conftest.$ac_ext >&5
2972
e32d7527 2973 ac_compiler_gnu=no
fbb86200 2974fi
e32d7527 2975
2976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2977ac_cv_c_compiler_gnu=$ac_compiler_gnu
2978
2979fi
e32d7527 2980{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2981echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
fbb86200 2982GCC=`test $ac_compiler_gnu = yes && echo yes`
2983ac_test_CFLAGS=${CFLAGS+set}
2984ac_save_CFLAGS=$CFLAGS
e32d7527 2985{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2986echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
fbb86200 2987if test "${ac_cv_prog_cc_g+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2989else
e32d7527 2990 ac_save_c_werror_flag=$ac_c_werror_flag
2991 ac_c_werror_flag=yes
2992 ac_cv_prog_cc_g=no
2993 CFLAGS="-g"
2994 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2995/* confdefs.h. */
2996_ACEOF
2997cat confdefs.h >>conftest.$ac_ext
2998cat >>conftest.$ac_ext <<_ACEOF
2999/* end confdefs.h. */
3000
fbb86200 3001int
3002main ()
3003{
3004
3005 ;
3006 return 0;
3007}
3008_ACEOF
3009rm -f conftest.$ac_objext
e32d7527 3010if { (ac_try="$ac_compile"
3011case "(($ac_try" in
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3014esac
3015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_compile") 2>conftest.er1
fbb86200 3017 ac_status=$?
08cf8642 3018 grep -v '^ *+' conftest.er1 >conftest.err
3019 rm -f conftest.er1
3020 cat conftest.err >&5
fbb86200 3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3022 (exit $ac_status); } && {
3023 test -z "$ac_c_werror_flag" ||
3024 test ! -s conftest.err
3025 } && test -s conftest.$ac_objext; then
3026 ac_cv_prog_cc_g=yes
3027else
3028 echo "$as_me: failed program was:" >&5
3029sed 's/^/| /' conftest.$ac_ext >&5
3030
3031 CFLAGS=""
3032 cat >conftest.$ac_ext <<_ACEOF
3033/* confdefs.h. */
3034_ACEOF
3035cat confdefs.h >>conftest.$ac_ext
3036cat >>conftest.$ac_ext <<_ACEOF
3037/* end confdefs.h. */
3038
3039int
3040main ()
3041{
3042
3043 ;
3044 return 0;
3045}
3046_ACEOF
3047rm -f conftest.$ac_objext
3048if { (ac_try="$ac_compile"
3049case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052esac
3053eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_compile") 2>conftest.er1
08cf8642 3055 ac_status=$?
e32d7527 3056 grep -v '^ *+' conftest.er1 >conftest.err
3057 rm -f conftest.er1
3058 cat conftest.err >&5
08cf8642 3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3060 (exit $ac_status); } && {
3061 test -z "$ac_c_werror_flag" ||
3062 test ! -s conftest.err
3063 } && test -s conftest.$ac_objext; then
3064 :
3065else
3066 echo "$as_me: failed program was:" >&5
3067sed 's/^/| /' conftest.$ac_ext >&5
3068
3069 ac_c_werror_flag=$ac_save_c_werror_flag
3070 CFLAGS="-g"
3071 cat >conftest.$ac_ext <<_ACEOF
3072/* confdefs.h. */
3073_ACEOF
3074cat confdefs.h >>conftest.$ac_ext
3075cat >>conftest.$ac_ext <<_ACEOF
3076/* end confdefs.h. */
3077
3078int
3079main ()
3080{
3081
3082 ;
3083 return 0;
3084}
3085_ACEOF
3086rm -f conftest.$ac_objext
3087if { (ac_try="$ac_compile"
3088case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091esac
3092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compile") 2>conftest.er1
fbb86200 3094 ac_status=$?
e32d7527 3095 grep -v '^ *+' conftest.er1 >conftest.err
3096 rm -f conftest.er1
3097 cat conftest.err >&5
fbb86200 3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3099 (exit $ac_status); } && {
3100 test -z "$ac_c_werror_flag" ||
3101 test ! -s conftest.err
3102 } && test -s conftest.$ac_objext; then
fbb86200 3103 ac_cv_prog_cc_g=yes
3104else
3105 echo "$as_me: failed program was:" >&5
08cf8642 3106sed 's/^/| /' conftest.$ac_ext >&5
3107
e32d7527 3108
3109fi
3110
3111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 3112fi
e32d7527 3113
3114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115fi
3116
3117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 ac_c_werror_flag=$ac_save_c_werror_flag
fbb86200 3119fi
e32d7527 3120{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3121echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
fbb86200 3122if test "$ac_test_CFLAGS" = set; then
3123 CFLAGS=$ac_save_CFLAGS
3124elif test $ac_cv_prog_cc_g = yes; then
3125 if test "$GCC" = yes; then
3126 CFLAGS="-g -O2"
3127 else
3128 CFLAGS="-g"
3129 fi
3130else
3131 if test "$GCC" = yes; then
3132 CFLAGS="-O2"
3133 else
3134 CFLAGS=
3135 fi
3136fi
e32d7527 3137{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3138echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3139if test "${ac_cv_prog_cc_c89+set}" = set; then
08cf8642 3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3141else
e32d7527 3142 ac_cv_prog_cc_c89=no
08cf8642 3143ac_save_CC=$CC
3144cat >conftest.$ac_ext <<_ACEOF
3145/* confdefs.h. */
3146_ACEOF
3147cat confdefs.h >>conftest.$ac_ext
3148cat >>conftest.$ac_ext <<_ACEOF
3149/* end confdefs.h. */
3150#include <stdarg.h>
3151#include <stdio.h>
3152#include <sys/types.h>
3153#include <sys/stat.h>
3154/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3155struct buf { int x; };
3156FILE * (*rcsopen) (struct buf *, struct stat *, int);
3157static char *e (p, i)
3158 char **p;
3159 int i;
3160{
3161 return p[i];
3162}
3163static char *f (char * (*g) (char **, int), char **p, ...)
3164{
3165 char *s;
3166 va_list v;
3167 va_start (v,p);
3168 s = g (p, va_arg (v,int));
3169 va_end (v);
3170 return s;
3171}
3172
3173/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3174 function prototypes and stuff, but not '\xHH' hex character constants.
3175 These don't provoke an error unfortunately, instead are silently treated
e32d7527 3176 as 'x'. The following induces an error, until -std is added to get
08cf8642 3177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3178 array size at least. It's necessary to write '\x00'==0 to get something
e32d7527 3179 that's true only with -std. */
08cf8642 3180int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3181
e32d7527 3182/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3183 inside strings and character constants. */
3184#define FOO(x) 'x'
3185int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3186
08cf8642 3187int test (int i, double x);
3188struct s1 {int (*f) (int a);};
3189struct s2 {int (*f) (double a);};
3190int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3191int argc;
3192char **argv;
3193int
3194main ()
3195{
3196return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3197 ;
3198 return 0;
3199}
3200_ACEOF
e32d7527 3201for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3202 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
08cf8642 3203do
3204 CC="$ac_save_CC $ac_arg"
3205 rm -f conftest.$ac_objext
e32d7527 3206if { (ac_try="$ac_compile"
3207case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210esac
3211eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3212 (eval "$ac_compile") 2>conftest.er1
08cf8642 3213 ac_status=$?
3214 grep -v '^ *+' conftest.er1 >conftest.err
3215 rm -f conftest.er1
3216 cat conftest.err >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3218 (exit $ac_status); } && {
3219 test -z "$ac_c_werror_flag" ||
3220 test ! -s conftest.err
3221 } && test -s conftest.$ac_objext; then
3222 ac_cv_prog_cc_c89=$ac_arg
08cf8642 3223else
3224 echo "$as_me: failed program was:" >&5
3225sed 's/^/| /' conftest.$ac_ext >&5
3226
e32d7527 3227
08cf8642 3228fi
e32d7527 3229
3230rm -f core conftest.err conftest.$ac_objext
3231 test "x$ac_cv_prog_cc_c89" != "xno" && break
08cf8642 3232done
e32d7527 3233rm -f conftest.$ac_ext
08cf8642 3234CC=$ac_save_CC
3235
3236fi
e32d7527 3237# AC_CACHE_VAL
3238case "x$ac_cv_prog_cc_c89" in
3239 x)
3240 { echo "$as_me:$LINENO: result: none needed" >&5
3241echo "${ECHO_T}none needed" >&6; } ;;
3242 xno)
3243 { echo "$as_me:$LINENO: result: unsupported" >&5
3244echo "${ECHO_T}unsupported" >&6; } ;;
08cf8642 3245 *)
e32d7527 3246 CC="$CC $ac_cv_prog_cc_c89"
3247 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3248echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
08cf8642 3249esac
3250
08cf8642 3251
fbb86200 3252ac_ext=c
3253ac_cpp='$CPP $CPPFLAGS'
3254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256ac_compiler_gnu=$ac_cv_c_compiler_gnu
e32d7527 3257DEPDIR="${am__leading_dot}deps"
fbb86200 3258
e32d7527 3259ac_config_commands="$ac_config_commands depfiles"
fbb86200 3260
3261
3262am_make=${MAKE-make}
3263cat > confinc << 'END'
e32d7527 3264am__doit:
fbb86200 3265 @echo done
e32d7527 3266.PHONY: am__doit
fbb86200 3267END
3268# If we don't find an include directive, just comment out the code.
e32d7527 3269{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3270echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
fbb86200 3271am__include="#"
3272am__quote=
3273_am_result=none
3274# First try GNU make style include.
3275echo "include confinc" > confmf
3276# We grep out `Entering directory' and `Leaving directory'
3277# messages which can occur if `w' ends up in MAKEFLAGS.
3278# In particular we don't look at `^make:' because GNU make might
3279# be invoked under some other name (usually "gmake"), in which
3280# case it prints its new name instead of `make'.
e32d7527 3281if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
fbb86200 3282 am__include=include
3283 am__quote=
3284 _am_result=GNU
3285fi
3286# Now try BSD make style include.
3287if test "$am__include" = "#"; then
3288 echo '.include "confinc"' > confmf
3289 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3290 am__include=.include
3291 am__quote="\""
3292 _am_result=BSD
3293 fi
3294fi
3295
3296
e32d7527 3297{ echo "$as_me:$LINENO: result: $_am_result" >&5
3298echo "${ECHO_T}$_am_result" >&6; }
fbb86200 3299rm -f confinc confmf
3300
e32d7527 3301# Check whether --enable-dependency-tracking was given.
fbb86200 3302if test "${enable_dependency_tracking+set}" = set; then
e32d7527 3303 enableval=$enable_dependency_tracking;
3304fi
fbb86200 3305
fbb86200 3306if test "x$enable_dependency_tracking" != xno; then
3307 am_depcomp="$ac_aux_dir/depcomp"
3308 AMDEPBACKSLASH='\'
3309fi
e32d7527 3310 if test "x$enable_dependency_tracking" != xno; then
fbb86200 3311 AMDEP_TRUE=
3312 AMDEP_FALSE='#'
3313else
3314 AMDEP_TRUE='#'
3315 AMDEP_FALSE=
3316fi
3317
3318
3319
fbb86200 3320depcc="$CC" am_compiler_list=
3321
e32d7527 3322{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3323echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
fbb86200 3324if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3326else
3327 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3328 # We make a subdir and do the tests there. Otherwise we can end up
3329 # making bogus files that we don't know about and never remove. For
3330 # instance it was reported that on HP-UX the gcc test will end up
3331 # making a dummy file named `D' -- because `-MD' means `put the output
3332 # in D'.
3333 mkdir conftest.dir
3334 # Copy depcomp to subdir because otherwise we won't find it if we're
3335 # using a relative directory.
3336 cp "$am_depcomp" conftest.dir
3337 cd conftest.dir
e32d7527 3338 # We will build objects and dependencies in a subdirectory because
3339 # it helps to detect inapplicable dependency modes. For instance
3340 # both Tru64's cc and ICC support -MD to output dependencies as a
3341 # side effect of compilation, but ICC will put the dependencies in
3342 # the current directory while Tru64 will put them in the object
3343 # directory.
3344 mkdir sub
fbb86200 3345
3346 am_cv_CC_dependencies_compiler_type=none
3347 if test "$am_compiler_list" = ""; then
3348 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3349 fi
3350 for depmode in $am_compiler_list; do
e32d7527 3351 # Setup a source with many dependencies, because some compilers
3352 # like to wrap large dependency lists on column 80 (with \), and
3353 # we should not choose a depcomp mode which is confused by this.
3354 #
fbb86200 3355 # We need to recreate these files for each test, as the compiler may
3356 # overwrite some of them when testing with obscure command lines.
3357 # This happens at least with the AIX C compiler.
e32d7527 3358 : > sub/conftest.c
3359 for i in 1 2 3 4 5 6; do
3360 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3361 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3362 # Solaris 8's {/usr,}/bin/sh.
3363 touch sub/conftst$i.h
3364 done
3365 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
fbb86200 3366
3367 case $depmode in
3368 nosideeffect)
3369 # after this tag, mechanisms are not by side-effect, so they'll
3370 # only be used when explicitly requested
3371 if test "x$enable_dependency_tracking" = xyes; then
3372 continue
3373 else
3374 break
3375 fi
3376 ;;
3377 none) break ;;
3378 esac
3379 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3380 # mode. It turns out that the SunPro C++ compiler does not properly
3381 # handle `-M -o', and we need to detect this.
3382 if depmode=$depmode \
e32d7527 3383 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3384 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3385 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3386 >/dev/null 2>conftest.err &&
3387 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3388 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3389 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
fbb86200 3390 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
e32d7527 3391 # icc doesn't choke on unknown options, it will just issue warnings
3392 # or remarks (even with -Werror). So we grep stderr for any message
3393 # that says an option was ignored or not supported.
3394 # When given -MP, icc 7.0 and 7.1 complain thusly:
3395 # icc: Command line warning: ignoring option '-M'; no argument required
3396 # The diagnosis changed in icc 8.0:
3397 # icc: Command line remark: option '-MP' not supported
3398 if (grep 'ignoring option' conftest.err ||
3399 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3400 am_cv_CC_dependencies_compiler_type=$depmode
3401 break
3402 fi
fbb86200 3403 fi
3404 done
3405
3406 cd ..
3407 rm -rf conftest.dir
3408else
3409 am_cv_CC_dependencies_compiler_type=none
3410fi
3411
3412fi
e32d7527 3413{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3414echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
fbb86200 3415CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3416
e32d7527 3417 if
3418 test "x$enable_dependency_tracking" != xno \
3419 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3420 am__fastdepCC_TRUE=
3421 am__fastdepCC_FALSE='#'
3422else
3423 am__fastdepCC_TRUE='#'
3424 am__fastdepCC_FALSE=
3425fi
3426
fbb86200 3427
3428ac_ext=c
3429ac_cpp='$CPP $CPPFLAGS'
3430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432ac_compiler_gnu=$ac_cv_c_compiler_gnu
e32d7527 3433{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3434echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
fbb86200 3435# On Suns, sometimes $CPP names a directory.
3436if test -n "$CPP" && test -d "$CPP"; then
3437 CPP=
3438fi
3439if test -z "$CPP"; then
3440 if test "${ac_cv_prog_CPP+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3442else
3443 # Double quotes because CPP needs to be expanded
3444 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3445 do
3446 ac_preproc_ok=false
3447for ac_c_preproc_warn_flag in '' yes
3448do
3449 # Use a header file that comes with gcc, so configuring glibc
3450 # with a fresh cross-compiler works.
08cf8642 3451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3452 # <limits.h> exists even on freestanding compilers.
fbb86200 3453 # On the NeXT, cc -E runs the code through the compiler's parser,
3454 # not just through cpp. "Syntax error" is here to catch this case.
3455 cat >conftest.$ac_ext <<_ACEOF
08cf8642 3456/* confdefs.h. */
3457_ACEOF
3458cat confdefs.h >>conftest.$ac_ext
3459cat >>conftest.$ac_ext <<_ACEOF
3460/* end confdefs.h. */
3461#ifdef __STDC__
3462# include <limits.h>
3463#else
3464# include <assert.h>
3465#endif
3466 Syntax error
fbb86200 3467_ACEOF
e32d7527 3468if { (ac_try="$ac_cpp conftest.$ac_ext"
3469case "(($ac_try" in
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3472esac
3473eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
fbb86200 3475 ac_status=$?
08cf8642 3476 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 3477 rm -f conftest.er1
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3480 (exit $ac_status); } >/dev/null && {
3481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3483 }; then
fbb86200 3484 :
3485else
3486 echo "$as_me: failed program was:" >&5
08cf8642 3487sed 's/^/| /' conftest.$ac_ext >&5
3488
fbb86200 3489 # Broken: fails on valid input.
3490continue
3491fi
e32d7527 3492
fbb86200 3493rm -f conftest.err conftest.$ac_ext
3494
e32d7527 3495 # OK, works on sane cases. Now check whether nonexistent headers
fbb86200 3496 # can be detected and how.
3497 cat >conftest.$ac_ext <<_ACEOF
08cf8642 3498/* confdefs.h. */
3499_ACEOF
3500cat confdefs.h >>conftest.$ac_ext
3501cat >>conftest.$ac_ext <<_ACEOF
3502/* end confdefs.h. */
fbb86200 3503#include <ac_nonexistent.h>
3504_ACEOF
e32d7527 3505if { (ac_try="$ac_cpp conftest.$ac_ext"
3506case "(($ac_try" in
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3509esac
3510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
fbb86200 3512 ac_status=$?
08cf8642 3513 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 3514 rm -f conftest.er1
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3517 (exit $ac_status); } >/dev/null && {
3518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3520 }; then
fbb86200 3521 # Broken: success on invalid input.
3522continue
3523else
3524 echo "$as_me: failed program was:" >&5
08cf8642 3525sed 's/^/| /' conftest.$ac_ext >&5
3526
fbb86200 3527 # Passes both tests.
3528ac_preproc_ok=:
3529break
3530fi
e32d7527 3531
fbb86200 3532rm -f conftest.err conftest.$ac_ext
3533
3534done
3535# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536rm -f conftest.err conftest.$ac_ext
3537if $ac_preproc_ok; then
3538 break
3539fi
3540
3541 done
3542 ac_cv_prog_CPP=$CPP
3543
3544fi
3545 CPP=$ac_cv_prog_CPP
3546else
3547 ac_cv_prog_CPP=$CPP
3548fi
e32d7527 3549{ echo "$as_me:$LINENO: result: $CPP" >&5
3550echo "${ECHO_T}$CPP" >&6; }
fbb86200 3551ac_preproc_ok=false
3552for ac_c_preproc_warn_flag in '' yes
3553do
3554 # Use a header file that comes with gcc, so configuring glibc
3555 # with a fresh cross-compiler works.
08cf8642 3556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3557 # <limits.h> exists even on freestanding compilers.
fbb86200 3558 # On the NeXT, cc -E runs the code through the compiler's parser,
3559 # not just through cpp. "Syntax error" is here to catch this case.
3560 cat >conftest.$ac_ext <<_ACEOF
08cf8642 3561/* confdefs.h. */
3562_ACEOF
3563cat confdefs.h >>conftest.$ac_ext
3564cat >>conftest.$ac_ext <<_ACEOF
3565/* end confdefs.h. */
3566#ifdef __STDC__
3567# include <limits.h>
3568#else
3569# include <assert.h>
3570#endif
3571 Syntax error
fbb86200 3572_ACEOF
e32d7527 3573if { (ac_try="$ac_cpp conftest.$ac_ext"
3574case "(($ac_try" in
3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3577esac
3578eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
fbb86200 3580 ac_status=$?
08cf8642 3581 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 3582 rm -f conftest.er1
3583 cat conftest.err >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3585 (exit $ac_status); } >/dev/null && {
3586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3587 test ! -s conftest.err
3588 }; then
fbb86200 3589 :
3590else
3591 echo "$as_me: failed program was:" >&5
08cf8642 3592sed 's/^/| /' conftest.$ac_ext >&5
3593
fbb86200 3594 # Broken: fails on valid input.
3595continue
3596fi
e32d7527 3597
fbb86200 3598rm -f conftest.err conftest.$ac_ext
3599
e32d7527 3600 # OK, works on sane cases. Now check whether nonexistent headers
fbb86200 3601 # can be detected and how.
3602 cat >conftest.$ac_ext <<_ACEOF
08cf8642 3603/* confdefs.h. */
3604_ACEOF
3605cat confdefs.h >>conftest.$ac_ext
3606cat >>conftest.$ac_ext <<_ACEOF
3607/* end confdefs.h. */
fbb86200 3608#include <ac_nonexistent.h>
3609_ACEOF
e32d7527 3610if { (ac_try="$ac_cpp conftest.$ac_ext"
3611case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3614esac
3615eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
fbb86200 3617 ac_status=$?
08cf8642 3618 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 3619 rm -f conftest.er1
3620 cat conftest.err >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3622 (exit $ac_status); } >/dev/null && {
3623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3624 test ! -s conftest.err
3625 }; then
fbb86200 3626 # Broken: success on invalid input.
3627continue
3628else
3629 echo "$as_me: failed program was:" >&5
08cf8642 3630sed 's/^/| /' conftest.$ac_ext >&5
3631
fbb86200 3632 # Passes both tests.
3633ac_preproc_ok=:
3634break
3635fi
e32d7527 3636
fbb86200 3637rm -f conftest.err conftest.$ac_ext
3638
3639done
3640# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3641rm -f conftest.err conftest.$ac_ext
3642if $ac_preproc_ok; then
3643 :
3644else
08cf8642 3645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3646See \`config.log' for more details." >&5
3647echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3648See \`config.log' for more details." >&2;}
fbb86200 3649 { (exit 1); exit 1; }; }
3650fi
3651
3652ac_ext=c
3653ac_cpp='$CPP $CPPFLAGS'
3654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657
3658
3659for ac_prog in flex lex
3660do
3661 # Extract the first word of "$ac_prog", so it can be a program name with args.
3662set dummy $ac_prog; ac_word=$2
e32d7527 3663{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3664echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 3665if test "${ac_cv_prog_LEX+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3667else
3668 if test -n "$LEX"; then
3669 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3670else
3671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672for as_dir in $PATH
3673do
3674 IFS=$as_save_IFS
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 3678 ac_cv_prog_LEX="$ac_prog"
3679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 break 2
3681 fi
3682done
3683done
e32d7527 3684IFS=$as_save_IFS
fbb86200 3685
3686fi
3687fi
3688LEX=$ac_cv_prog_LEX
3689if test -n "$LEX"; then
e32d7527 3690 { echo "$as_me:$LINENO: result: $LEX" >&5
3691echo "${ECHO_T}$LEX" >&6; }
fbb86200 3692else
e32d7527 3693 { echo "$as_me:$LINENO: result: no" >&5
3694echo "${ECHO_T}no" >&6; }
fbb86200 3695fi
3696
e32d7527 3697
fbb86200 3698 test -n "$LEX" && break
3699done
3700test -n "$LEX" || LEX=":"
3701
e32d7527 3702if test "x$LEX" != "x:"; then
3703 cat >conftest.l <<_ACEOF
3704%%
3705a { ECHO; }
3706b { REJECT; }
3707c { yymore (); }
3708d { yyless (1); }
3709e { yyless (input () != 0); }
3710f { unput (yytext[0]); }
3711. { BEGIN INITIAL; }
3712%%
3713#ifdef YYTEXT_POINTER
3714extern char *yytext;
fbb86200 3715#endif
fbb86200 3716int
e32d7527 3717main (void)
fbb86200 3718{
e32d7527 3719 return ! yylex () + ! yywrap ();
fbb86200 3720}
3721_ACEOF
e32d7527 3722{ (ac_try="$LEX conftest.l"
3723case "(($ac_try" in
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3726esac
3727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$LEX conftest.l") 2>&5
fbb86200 3729 ac_status=$?
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3731 (exit $ac_status); }
3732{ echo "$as_me:$LINENO: checking lex output file root" >&5
3733echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3734if test "${ac_cv_prog_lex_root+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
fbb86200 3736else
08cf8642 3737
e32d7527 3738if test -f lex.yy.c; then
3739 ac_cv_prog_lex_root=lex.yy
3740elif test -f lexyy.c; then
3741 ac_cv_prog_lex_root=lexyy
3742else
3743 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3744echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3745 { (exit 1); exit 1; }; }
fbb86200 3746fi
fbb86200 3747fi
e32d7527 3748{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3749echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
3750LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3751
3752if test -z "${LEXLIB+set}"; then
3753 { echo "$as_me:$LINENO: checking lex library" >&5
3754echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3755if test "${ac_cv_lib_lex+set}" = set; then
fbb86200 3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3757else
fbb86200 3758
e32d7527 3759 ac_save_LIBS=$LIBS
3760 ac_cv_lib_lex='none needed'
3761 for ac_lib in '' -lfl -ll; do
3762 LIBS="$ac_lib $ac_save_LIBS"
3763 cat >conftest.$ac_ext <<_ACEOF
3764`cat $LEX_OUTPUT_ROOT.c`
fbb86200 3765_ACEOF
3766rm -f conftest.$ac_objext conftest$ac_exeext
e32d7527 3767if { (ac_try="$ac_link"
3768case "(($ac_try" in
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3771esac
3772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_link") 2>conftest.er1
fbb86200 3774 ac_status=$?
08cf8642 3775 grep -v '^ *+' conftest.er1 >conftest.err
3776 rm -f conftest.er1
3777 cat conftest.err >&5
fbb86200 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3779 (exit $ac_status); } && {
3780 test -z "$ac_c_werror_flag" ||
3781 test ! -s conftest.err
3782 } && test -s conftest$ac_exeext &&
3783 $as_test_x conftest$ac_exeext; then
3784 ac_cv_lib_lex=$ac_lib
fbb86200 3785else
3786 echo "$as_me: failed program was:" >&5
08cf8642 3787sed 's/^/| /' conftest.$ac_ext >&5
3788
fbb86200 3789
3790fi
3791
e32d7527 3792rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3793 conftest$ac_exeext conftest.$ac_ext
3794 test "$ac_cv_lib_lex" != 'none needed' && break
3795 done
3796 LIBS=$ac_save_LIBS
fbb86200 3797
fbb86200 3798fi
e32d7527 3799{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3800echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
3801 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
fbb86200 3802fi
fbb86200 3803
e32d7527 3804
3805{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3806echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
fbb86200 3807if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3809else
3810 # POSIX says lex can declare yytext either as a pointer or an array; the
e32d7527 3811# default is implementation-dependent. Figure out which it is, since
fbb86200 3812# not all implementations provide the %pointer and %array declarations.
3813ac_cv_prog_lex_yytext_pointer=no
fbb86200 3814ac_save_LIBS=$LIBS
e32d7527 3815LIBS="$LEXLIB $ac_save_LIBS"
fbb86200 3816cat >conftest.$ac_ext <<_ACEOF
e32d7527 3817#define YYTEXT_POINTER 1
fbb86200 3818`cat $LEX_OUTPUT_ROOT.c`
3819_ACEOF
3820rm -f conftest.$ac_objext conftest$ac_exeext
e32d7527 3821if { (ac_try="$ac_link"
3822case "(($ac_try" in
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3825esac
3826eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827 (eval "$ac_link") 2>conftest.er1
fbb86200 3828 ac_status=$?
08cf8642 3829 grep -v '^ *+' conftest.er1 >conftest.err
3830 rm -f conftest.er1
3831 cat conftest.err >&5
fbb86200 3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 3833 (exit $ac_status); } && {
3834 test -z "$ac_c_werror_flag" ||
3835 test ! -s conftest.err
3836 } && test -s conftest$ac_exeext &&
3837 $as_test_x conftest$ac_exeext; then
fbb86200 3838 ac_cv_prog_lex_yytext_pointer=yes
3839else
3840 echo "$as_me: failed program was:" >&5
08cf8642 3841sed 's/^/| /' conftest.$ac_ext >&5
3842
e32d7527 3843
fbb86200 3844fi
e32d7527 3845
3846rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
08cf8642 3847 conftest$ac_exeext conftest.$ac_ext
fbb86200 3848LIBS=$ac_save_LIBS
fbb86200 3849
3850fi
e32d7527 3851{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3852echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
fbb86200 3853if test $ac_cv_prog_lex_yytext_pointer = yes; then
3854
3855cat >>confdefs.h <<\_ACEOF
3856#define YYTEXT_POINTER 1
3857_ACEOF
3858
3859fi
e32d7527 3860rm -f conftest.l $LEX_OUTPUT_ROOT.c
fbb86200 3861
3862fi
3863if test "$LEX" = :; then
3864 LEX=${am_missing_run}flex
3865fi
3866# Find a good install program. We prefer a C program (faster),
3867# so one script is as good as another. But avoid the broken or
3868# incompatible versions:
3869# SysV /etc/install, /usr/sbin/install
3870# SunOS /usr/etc/install
3871# IRIX /sbin/install
3872# AIX /bin/install
3873# AmigaOS /C/install, which installs bootblocks on floppy discs
3874# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3875# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3876# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
08cf8642 3877# OS/2's system install, which has a completely different semantic
fbb86200 3878# ./install, which can be erroneously created by make from ./install.sh.
e32d7527 3879{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3880echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
fbb86200 3881if test -z "$INSTALL"; then
3882if test "${ac_cv_path_install+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3884else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886for as_dir in $PATH
3887do
3888 IFS=$as_save_IFS
3889 test -z "$as_dir" && as_dir=.
3890 # Account for people who put trailing slashes in PATH elements.
3891case $as_dir/ in
3892 ./ | .// | /cC/* | \
3893 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
08cf8642 3894 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
fbb86200 3895 /usr/ucb/* ) ;;
3896 *)
3897 # OSF1 and SCO ODT 3.0 have their own names for install.
3898 # Don't use installbsd from OSF since it installs stuff as root
3899 # by default.
3900 for ac_prog in ginstall scoinst install; do
3901 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 3902 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
08cf8642 3903 if test $ac_prog = install &&
3904 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3905 # AIX install. It has an incompatible calling convention.
3906 :
3907 elif test $ac_prog = install &&
3908 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3909 # program-specific install script used by HP pwplus--don't use.
3910 :
3911 else
3912 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3913 break 3
3914 fi
3915 fi
fbb86200 3916 done
3917 done
3918 ;;
3919esac
3920done
e32d7527 3921IFS=$as_save_IFS
fbb86200 3922
3923
3924fi
3925 if test "${ac_cv_path_install+set}" = set; then
3926 INSTALL=$ac_cv_path_install
3927 else
e32d7527 3928 # As a last resort, use the slow shell script. Don't cache a
3929 # value for INSTALL within a source directory, because that will
fbb86200 3930 # break other packages using the cache if that directory is
e32d7527 3931 # removed, or if the value is a relative name.
fbb86200 3932 INSTALL=$ac_install_sh
3933 fi
3934fi
e32d7527 3935{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3936echo "${ECHO_T}$INSTALL" >&6; }
fbb86200 3937
3938# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3939# It thinks the first close brace ends the variable substitution.
3940test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3941
3942test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3943
3944test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3945
e32d7527 3946{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3947echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3948set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3949if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
fbb86200 3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951else
3952 cat >conftest.make <<\_ACEOF
e32d7527 3953SHELL = /bin/sh
fbb86200 3954all:
e32d7527 3955 @echo '@@@%%%=$(MAKE)=@@@%%%'
fbb86200 3956_ACEOF
3957# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
e32d7527 3958case `${MAKE-make} -f conftest.make 2>/dev/null` in
3959 *@@@%%%=?*=@@@%%%*)
3960 eval ac_cv_prog_make_${ac_make}_set=yes;;
3961 *)
3962 eval ac_cv_prog_make_${ac_make}_set=no;;
3963esac
fbb86200 3964rm -f conftest.make
3965fi
e32d7527 3966if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3967 { echo "$as_me:$LINENO: result: yes" >&5
3968echo "${ECHO_T}yes" >&6; }
fbb86200 3969 SET_MAKE=
3970else
e32d7527 3971 { echo "$as_me:$LINENO: result: no" >&5
3972echo "${ECHO_T}no" >&6; }
fbb86200 3973 SET_MAKE="MAKE=${MAKE-make}"
3974fi
3975
e32d7527 3976{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3977echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
fbb86200 3978LN_S=$as_ln_s
3979if test "$LN_S" = "ln -s"; then
e32d7527 3980 { echo "$as_me:$LINENO: result: yes" >&5
3981echo "${ECHO_T}yes" >&6; }
fbb86200 3982else
e32d7527 3983 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3984echo "${ECHO_T}no, using $LN_S" >&6; }
fbb86200 3985fi
3986
3987# Extract the first word of "bison", so it can be a program name with args.
3988set dummy bison; ac_word=$2
e32d7527 3989{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 3991if test "${ac_cv_prog_BISON+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3993else
3994 if test -n "$BISON"; then
3995 ac_cv_prog_BISON="$BISON" # Let the user override the test.
3996else
3997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998for as_dir in $PATH
3999do
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4004 ac_cv_prog_BISON="bison"
4005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4007 fi
4008done
4009done
e32d7527 4010IFS=$as_save_IFS
fbb86200 4011
4012 test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="no"
4013fi
4014fi
4015BISON=$ac_cv_prog_BISON
4016if test -n "$BISON"; then
e32d7527 4017 { echo "$as_me:$LINENO: result: $BISON" >&5
4018echo "${ECHO_T}$BISON" >&6; }
fbb86200 4019else
e32d7527 4020 { echo "$as_me:$LINENO: result: no" >&5
4021echo "${ECHO_T}no" >&6; }
fbb86200 4022fi
4023
e32d7527 4024
fbb86200 4025# Extract the first word of "grep", so it can be a program name with args.
4026set dummy grep; ac_word=$2
e32d7527 4027{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4029if test "${ac_cv_prog_GREP+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4031else
4032 if test -n "$GREP"; then
4033 ac_cv_prog_GREP="$GREP" # Let the user override the test.
4034else
4035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036for as_dir in $PATH
4037do
4038 IFS=$as_save_IFS
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4042 ac_cv_prog_GREP="grep"
4043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 break 2
4045 fi
4046done
4047done
e32d7527 4048IFS=$as_save_IFS
fbb86200 4049
4050 test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="grep-is-missing"
4051fi
4052fi
4053GREP=$ac_cv_prog_GREP
4054if test -n "$GREP"; then
e32d7527 4055 { echo "$as_me:$LINENO: result: $GREP" >&5
4056echo "${ECHO_T}$GREP" >&6; }
fbb86200 4057else
e32d7527 4058 { echo "$as_me:$LINENO: result: no" >&5
4059echo "${ECHO_T}no" >&6; }
fbb86200 4060fi
4061
e32d7527 4062
fbb86200 4063# Extract the first word of "diff", so it can be a program name with args.
4064set dummy diff; ac_word=$2
e32d7527 4065{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4066echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4067if test "${ac_cv_prog_DIFF+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4069else
4070 if test -n "$DIFF"; then
4071 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
4072else
4073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074for as_dir in $PATH
4075do
4076 IFS=$as_save_IFS
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4080 ac_cv_prog_DIFF="diff"
4081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 break 2
4083 fi
4084done
4085done
e32d7527 4086IFS=$as_save_IFS
fbb86200 4087
4088 test -z "$ac_cv_prog_DIFF" && ac_cv_prog_DIFF="diff-is-missing"
4089fi
4090fi
4091DIFF=$ac_cv_prog_DIFF
4092if test -n "$DIFF"; then
e32d7527 4093 { echo "$as_me:$LINENO: result: $DIFF" >&5
4094echo "${ECHO_T}$DIFF" >&6; }
fbb86200 4095else
e32d7527 4096 { echo "$as_me:$LINENO: result: no" >&5
4097echo "${ECHO_T}no" >&6; }
fbb86200 4098fi
4099
e32d7527 4100
fbb86200 4101# Extract the first word of "cat", so it can be a program name with args.
4102set dummy cat; ac_word=$2
e32d7527 4103{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4105if test "${ac_cv_prog_CAT+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4107else
4108 if test -n "$CAT"; then
4109 ac_cv_prog_CAT="$CAT" # Let the user override the test.
4110else
4111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112for as_dir in $PATH
4113do
4114 IFS=$as_save_IFS
4115 test -z "$as_dir" && as_dir=.
4116 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4118 ac_cv_prog_CAT="cat"
4119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 break 2
4121 fi
4122done
4123done
e32d7527 4124IFS=$as_save_IFS
fbb86200 4125
4126 test -z "$ac_cv_prog_CAT" && ac_cv_prog_CAT="cat-is-missing"
4127fi
4128fi
4129CAT=$ac_cv_prog_CAT
4130if test -n "$CAT"; then
e32d7527 4131 { echo "$as_me:$LINENO: result: $CAT" >&5
4132echo "${ECHO_T}$CAT" >&6; }
fbb86200 4133else
e32d7527 4134 { echo "$as_me:$LINENO: result: no" >&5
4135echo "${ECHO_T}no" >&6; }
fbb86200 4136fi
4137
e32d7527 4138
fbb86200 4139# Extract the first word of "rm", so it can be a program name with args.
4140set dummy rm; ac_word=$2
e32d7527 4141{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4142echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4143if test "${ac_cv_prog_RM+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4145else
4146 if test -n "$RM"; then
4147 ac_cv_prog_RM="$RM" # Let the user override the test.
4148else
4149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150for as_dir in $PATH
4151do
4152 IFS=$as_save_IFS
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4156 ac_cv_prog_RM="rm"
4157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4159 fi
4160done
4161done
e32d7527 4162IFS=$as_save_IFS
fbb86200 4163
4164 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM="rm-is-missing"
4165fi
4166fi
4167RM=$ac_cv_prog_RM
4168if test -n "$RM"; then
e32d7527 4169 { echo "$as_me:$LINENO: result: $RM" >&5
4170echo "${ECHO_T}$RM" >&6; }
fbb86200 4171else
e32d7527 4172 { echo "$as_me:$LINENO: result: no" >&5
4173echo "${ECHO_T}no" >&6; }
fbb86200 4174fi
4175
e32d7527 4176
fbb86200 4177# Extract the first word of "mv", so it can be a program name with args.
4178set dummy mv; ac_word=$2
e32d7527 4179{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4180echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4181if test "${ac_cv_prog_MV+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4183else
4184 if test -n "$MV"; then
4185 ac_cv_prog_MV="$MV" # Let the user override the test.
4186else
4187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188for as_dir in $PATH
4189do
4190 IFS=$as_save_IFS
4191 test -z "$as_dir" && as_dir=.
4192 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4194 ac_cv_prog_MV="mv"
4195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 break 2
4197 fi
4198done
4199done
e32d7527 4200IFS=$as_save_IFS
fbb86200 4201
4202 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV="mv-is-missing"
4203fi
4204fi
4205MV=$ac_cv_prog_MV
4206if test -n "$MV"; then
e32d7527 4207 { echo "$as_me:$LINENO: result: $MV" >&5
4208echo "${ECHO_T}$MV" >&6; }
fbb86200 4209else
e32d7527 4210 { echo "$as_me:$LINENO: result: no" >&5
4211echo "${ECHO_T}no" >&6; }
fbb86200 4212fi
4213
e32d7527 4214
fbb86200 4215# Extract the first word of "cp", so it can be a program name with args.
4216set dummy cp; ac_word=$2
e32d7527 4217{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4218echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4219if test "${ac_cv_prog_CP+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4221else
4222 if test -n "$CP"; then
4223 ac_cv_prog_CP="$CP" # Let the user override the test.
4224else
4225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226for as_dir in $PATH
4227do
4228 IFS=$as_save_IFS
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4232 ac_cv_prog_CP="cp"
4233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 break 2
4235 fi
4236done
4237done
e32d7527 4238IFS=$as_save_IFS
fbb86200 4239
4240 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP="cp-is-missing"
4241fi
4242fi
4243CP=$ac_cv_prog_CP
4244if test -n "$CP"; then
e32d7527 4245 { echo "$as_me:$LINENO: result: $CP" >&5
4246echo "${ECHO_T}$CP" >&6; }
fbb86200 4247else
e32d7527 4248 { echo "$as_me:$LINENO: result: no" >&5
4249echo "${ECHO_T}no" >&6; }
fbb86200 4250fi
4251
e32d7527 4252
fbb86200 4253# Extract the first word of "sed", so it can be a program name with args.
4254set dummy sed; ac_word=$2
e32d7527 4255{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4256echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
fbb86200 4257if test "${ac_cv_prog_SED+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4259else
4260 if test -n "$SED"; then
4261 ac_cv_prog_SED="$SED" # Let the user override the test.
4262else
4263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264for as_dir in $PATH
4265do
4266 IFS=$as_save_IFS
4267 test -z "$as_dir" && as_dir=.
4268 for ac_exec_ext in '' $ac_executable_extensions; do
e32d7527 4269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
fbb86200 4270 ac_cv_prog_SED="sed"
4271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 break 2
4273 fi
4274done
4275done
e32d7527 4276IFS=$as_save_IFS
fbb86200 4277
4278 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="sed-is-missing"
4279fi
4280fi
4281SED=$ac_cv_prog_SED
4282if test -n "$SED"; then
e32d7527 4283 { echo "$as_me:$LINENO: result: $SED" >&5
4284echo "${ECHO_T}$SED" >&6; }
fbb86200 4285else
e32d7527 4286 { echo "$as_me:$LINENO: result: no" >&5
4287echo "${ECHO_T}no" >&6; }
fbb86200 4288fi
4289
4290
4291
4292
4293
4294
e32d7527 4295
4296{ echo "$as_me:$LINENO: checking whether we need _ALL_SOURCE to expose mode_t" >&5
4297echo $ECHO_N "checking whether we need _ALL_SOURCE to expose mode_t... $ECHO_C" >&6; }
fbb86200 4298all=no
4299cat >conftest.$ac_ext <<_ACEOF
08cf8642 4300/* confdefs.h. */
4301_ACEOF
4302cat confdefs.h >>conftest.$ac_ext
4303cat >>conftest.$ac_ext <<_ACEOF
4304/* end confdefs.h. */
fbb86200 4305
4306#include <stdio.h>
4307mode_t x;
4308
fbb86200 4309int
4310main ()
4311{
4312
4313 ;
4314 return 0;
4315}
4316_ACEOF
4317rm -f conftest.$ac_objext
e32d7527 4318if { (ac_try="$ac_compile"
4319case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322esac
4323eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_compile") 2>conftest.er1
fbb86200 4325 ac_status=$?
08cf8642 4326 grep -v '^ *+' conftest.er1 >conftest.err
4327 rm -f conftest.er1
4328 cat conftest.err >&5
fbb86200 4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest.$ac_objext; then
fbb86200 4334 :
4335else
4336 echo "$as_me: failed program was:" >&5
08cf8642 4337sed 's/^/| /' conftest.$ac_ext >&5
4338
e32d7527 4339 all=maybe
fbb86200 4340fi
e32d7527 4341
4342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 4343if test $all = maybe ; then
4344cat >conftest.$ac_ext <<_ACEOF
08cf8642 4345/* confdefs.h. */
4346_ACEOF
4347cat confdefs.h >>conftest.$ac_ext
4348cat >>conftest.$ac_ext <<_ACEOF
4349/* end confdefs.h. */
fbb86200 4350
4351#define _ALL_SOURCE
4352#include <stdio.h>
4353mode_t x;
4354
fbb86200 4355int
4356main ()
4357{
4358
4359 ;
4360 return 0;
4361}
4362_ACEOF
4363rm -f conftest.$ac_objext
e32d7527 4364if { (ac_try="$ac_compile"
4365case "(($ac_try" in
4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4368esac
4369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_compile") 2>conftest.er1
fbb86200 4371 ac_status=$?
08cf8642 4372 grep -v '^ *+' conftest.er1 >conftest.err
4373 rm -f conftest.er1
4374 cat conftest.err >&5
fbb86200 4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
e32d7527 4376 (exit $ac_status); } && {
4377 test -z "$ac_c_werror_flag" ||
4378 test ! -s conftest.err
4379 } && test -s conftest.$ac_objext; then
fbb86200 4380 cat >>confdefs.h <<\_ACEOF
4381#define _ALL_SOURCE 1
4382_ACEOF
4383 all=yes
4384else
4385 echo "$as_me: failed program was:" >&5
08cf8642 4386sed 's/^/| /' conftest.$ac_ext >&5
4387
e32d7527 4388
fbb86200 4389fi
e32d7527 4390
4391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 4392fi
4393if test $all = maybe ; then all=no ; fi
e32d7527 4394{ echo "$as_me:$LINENO: result: $all" >&5
4395echo "${ECHO_T}$all" >&6; }
fbb86200 4396
36ba812d 4397
4398
fbb86200 4399LCLOBJ='$(lcl_OBJECTS)'
4400
e32d7527 4401# Check whether --with-lcl was given.
fbb86200 4402if test "${with_lcl+set}" = set; then
e32d7527 4403 withval=$with_lcl; ac_cv_use_lcl=$withval
fbb86200 4404else
e32d7527 4405 { echo "$as_me:$LINENO: checking whether to include support for LCL files" >&5
4406echo $ECHO_N "checking whether to include support for LCL files... $ECHO_C" >&6; }
fbb86200 4407if test "${ac_cv_use_lcl+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4409else
4410 ac_cv_use_lcl=yes
4411fi
e32d7527 4412{ echo "$as_me:$LINENO: result: $ac_cv_use_lcl" >&5
4413echo "${ECHO_T}$ac_cv_use_lcl" >&6; }
4414fi
4415
fbb86200 4416if test x$ac_cv_use_lcl != xyes; then
4417 LCLOBJ=
4418
4419cat >>confdefs.h <<\_ACEOF
4420#define NOLCL 1
4421_ACEOF
4422
4423fi
4424
4425
4426# Make sure we have an actual value for $prefix
4427myprefix=$prefix
4428test x$myprefix = xNONE && myprefix=$ac_default_prefix
4429
4430
4431### Yuck! This is really kludgey, but I don't understand autoconf well
4432### enough to do something simple that always works. Hopefully this does.
4433
4434# cpplib.h defines 2 include dirs; one is $includedir, the other is gcc's
4435# include dir. Not the most portable setup, but let's do our best.
4436
4437if test x$GCC = xyes; then
4438
4439# This breaks on gcc-3.0 on redhat fixing drl 11-15-2001
4440# GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/'`
4441GCC_INCLUDE_DIR=/usr/include
4442# was /usr/lib/gcc-lib/i386-linux/2.7.2.1/include
4443# GCC_INCLUDE_DIR=`LANGUAGE= LANG= $CC -v 2>&1 | sed -n -e '/^gcc/ d' -e 's/.* \(.*\)specs/\1include/p'`
4444
4445cat >>confdefs.h <<_ACEOF
4446#define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
4447_ACEOF
4448
4449else
4450GCC_INCLUDE_DIR=/usr/include
4451
4452cat >>confdefs.h <<_ACEOF
4453#define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
4454_ACEOF
4455
4456fi
4457
4458
4459cat >>confdefs.h <<_ACEOF
4460#define GCC_INCLUDE_DIR2 "$myprefix/include"
4461_ACEOF
4462
4463
4464# These used to be in local_constants.h
4465
4466cat >>confdefs.h <<_ACEOF
4467#define SYSTEM_LIBDIR "$myprefix/include"
4468_ACEOF
4469
4470
4471cat >>confdefs.h <<_ACEOF
4472#define DEFAULT_LARCHPATH ".$PATH_SEPARATOR$myprefix/share/splint/lib$PATH_SEPARATOR`pwd`/lib$PATH_SEPARATOR"
4473_ACEOF
4474
4475
4476cat >>confdefs.h <<_ACEOF
4477#define DEFAULT_LCLIMPORTDIR ".$PATH_SEPARATOR$myprefix/share/splint/imports$PATH_SEPARATOR`pwd`/imports"
4478_ACEOF
4479
4480
4481# These used to be in herald.h
a9ec3280 4482LCL_PARSE_VERSION="Splint 3.1.2"
fbb86200 4483
4484cat >>confdefs.h <<_ACEOF
4485#define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`"
4486_ACEOF
4487
4488
4489cat >>confdefs.h <<_ACEOF
4490#define LCL_PARSE_VERSION "$LCL_PARSE_VERSION"
4491_ACEOF
4492
4493
4494cat >>confdefs.h <<_ACEOF
4495#define LCL_COMPILE "Compiled using $CC $CFLAGS on `uname -a` by `whoami`"
4496_ACEOF
4497
4498
4499
4500
4501cat >>confdefs.h <<\_ACEOF
4502#define UNIX 1
4503_ACEOF
4504
4505
4506#just define some Header constants for now...
4507
4508UNAME=`uname`
36ba812d 4509
fbb86200 4510cat >>confdefs.h <<_ACEOF
4511#define UNAME "${UNAME}"
4512_ACEOF
4513
4514
36ba812d 4515
fbb86200 4516cat >>confdefs.h <<_ACEOF
4517#define BUILD "${build}"
4518_ACEOF
4519
36ba812d 4520
fbb86200 4521cat >>confdefs.h <<_ACEOF
4522#define HOST "${host}"
4523_ACEOF
4524
36ba812d 4525
fbb86200 4526cat >>confdefs.h <<_ACEOF
4527#define TARGET "${target}"
4528_ACEOF
4529
4530
36ba812d 4531
fbb86200 4532cat >>confdefs.h <<_ACEOF
4533#define BUILD_ALIAS "${build_alias}"
4534_ACEOF
4535
36ba812d 4536
fbb86200 4537cat >>confdefs.h <<_ACEOF
4538#define HOST_ALIAS "${host_alias}"
4539_ACEOF
4540
36ba812d 4541
fbb86200 4542cat >>confdefs.h <<_ACEOF
4543#define TARGET_ALIAS "${TARGET_ALIAS}"
4544_ACEOF
4545
4546
36ba812d 4547
fbb86200 4548cat >>confdefs.h <<_ACEOF
4549#define BUILD_CPU "${build_cpu}"
4550_ACEOF
4551
36ba812d 4552
fbb86200 4553cat >>confdefs.h <<_ACEOF
4554#define HOST_CPU "$host_cpu"
4555_ACEOF
508533c5 4556
36ba812d 4557
fbb86200 4558cat >>confdefs.h <<_ACEOF
4559#define TARGET_CPU "${target_cpu}"
4560_ACEOF
508533c5 4561
508533c5 4562
36ba812d 4563
fbb86200 4564cat >>confdefs.h <<_ACEOF
4565#define BUILD_VENDOR "${build_vendor}"
4566_ACEOF
508533c5 4567
36ba812d 4568
fbb86200 4569cat >>confdefs.h <<_ACEOF
4570#define HOST_VENDOR "${host_vendor}"
4571_ACEOF
508533c5 4572
36ba812d 4573
fbb86200 4574cat >>confdefs.h <<_ACEOF
4575#define TARGET_VENDOR "${target_vendor}"
4576_ACEOF
4577
4578
36ba812d 4579
fbb86200 4580cat >>confdefs.h <<_ACEOF
4581#define BUILD_OS "${build_os}"
4582_ACEOF
4583
36ba812d 4584
fbb86200 4585cat >>confdefs.h <<_ACEOF
4586#define HOST_OS "${host_os}"
4587_ACEOF
4588
36ba812d 4589
fbb86200 4590cat >>confdefs.h <<_ACEOF
4591#define TARGET_OS "${target_os}"
4592_ACEOF
4593
4594
4595
4596
4597
e32d7527 4598ac_config_files="$ac_config_files Makefile imports/Makefile lib/Makefile src/Makefile test/Makefile doc/Makefile bin/Makefile"
fbb86200 4599
4600cat >confcache <<\_ACEOF
4601# This file is a shell script that caches the results of configure
4602# tests run on this system so they can be shared between configure
4603# scripts and configure runs, see configure's option --config-cache.
4604# It is not useful on other systems. If it contains results you don't
4605# want to keep, you may remove or edit it.
4606#
4607# config.status only pays attention to the cache file if you give it
4608# the --recheck option to rerun configure.
4609#
08cf8642 4610# `ac_cv_env_foo' variables (set or unset) will be overridden when
fbb86200 4611# loading this file, other *unset* `ac_cv_foo' will be assigned the
4612# following values.
4613
4614_ACEOF
4615
4616# The following way of writing the cache mishandles newlines in values,
4617# but we know of no workaround that is simple, portable, and efficient.
e32d7527 4618# So, we kill variables containing newlines.
fbb86200 4619# Ultrix sh set writes to stderr and can't be redirected directly,
4620# and sets the high bit in the cache file unless we assign to the vars.
e32d7527 4621(
4622 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4623 eval ac_val=\$$ac_var
4624 case $ac_val in #(
4625 *${as_nl}*)
4626 case $ac_var in #(
4627 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4628echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4629 esac
4630 case $ac_var in #(
4631 _ | IFS | as_nl) ;; #(
4632 *) $as_unset $ac_var ;;
4633 esac ;;
4634 esac
4635 done
4636
4637 (set) 2>&1 |
4638 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4639 *${as_nl}ac_space=\ *)
4640 # `set' does not quote correctly, so add quotes (double-quote
4641 # substitution turns \\\\ into \\, and sed turns \\ into \).
fbb86200 4642 sed -n \
08cf8642 4643 "s/'/'\\\\''/g;
4644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
e32d7527 4645 ;; #(
fbb86200 4646 *)
4647 # `set' quotes correctly as required by POSIX, so do not add quotes.
e32d7527 4648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
fbb86200 4649 ;;
e32d7527 4650 esac |
4651 sort
4652) |
fbb86200 4653 sed '
e32d7527 4654 /^ac_cv_env_/b end
fbb86200 4655 t clear
e32d7527 4656 :clear
fbb86200 4657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4658 t end
e32d7527 4659 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4660 :end' >>confcache
4661if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4662 if test -w "$cache_file"; then
4663 test "x$cache_file" != "x/dev/null" &&
4664 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4665echo "$as_me: updating cache $cache_file" >&6;}
fbb86200 4666 cat confcache >$cache_file
508533c5 4667 else
e32d7527 4668 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4669echo "$as_me: not updating unwritable cache $cache_file" >&6;}
508533c5 4670 fi
508533c5 4671fi
fbb86200 4672rm -f confcache
508533c5 4673
fbb86200 4674test "x$prefix" = xNONE && prefix=$ac_default_prefix
4675# Let make expand exec_prefix.
4676test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
508533c5 4677
fbb86200 4678DEFS=-DHAVE_CONFIG_H
508533c5 4679
08cf8642 4680ac_libobjs=
4681ac_ltlibobjs=
4682for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4683 # 1. Remove the extension, and $U if already installed.
e32d7527 4684 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4685 ac_i=`echo "$ac_i" | sed "$ac_script"`
4686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4687 # will be set to the directory where LIBOBJS objects are built.
4688 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4689 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
08cf8642 4690done
4691LIBOBJS=$ac_libobjs
4692
4693LTLIBOBJS=$ac_ltlibobjs
4694
4695
fbb86200 4696if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4697 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4698Usually this means the macro was only invoked conditionally." >&5
4699echo "$as_me: error: conditional \"AMDEP\" was never defined.
4700Usually this means the macro was only invoked conditionally." >&2;}
4701 { (exit 1); exit 1; }; }
508533c5 4702fi
e32d7527 4703if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4704 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4705Usually this means the macro was only invoked conditionally." >&5
4706echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4707Usually this means the macro was only invoked conditionally." >&2;}
4708 { (exit 1); exit 1; }; }
4709fi
508533c5 4710
fbb86200 4711: ${CONFIG_STATUS=./config.status}
4712ac_clean_files_save=$ac_clean_files
4713ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4714{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4715echo "$as_me: creating $CONFIG_STATUS" >&6;}
4716cat >$CONFIG_STATUS <<_ACEOF
4717#! $SHELL
4718# Generated by $as_me.
4719# Run this file to recreate the current configuration.
4720# Compiler output produced by configure, useful for debugging
4721# configure, is in config.log if it exists.
508533c5 4722
fbb86200 4723debug=false
08cf8642 4724ac_cs_recheck=false
4725ac_cs_silent=false
fbb86200 4726SHELL=\${CONFIG_SHELL-$SHELL}
4727_ACEOF
4728
4729cat >>$CONFIG_STATUS <<\_ACEOF
fbb86200 4730## --------------------- ##
4731## M4sh Initialization. ##
4732## --------------------- ##
508533c5 4733
e32d7527 4734# Be more Bourne compatible
4735DUALCASE=1; export DUALCASE # for MKS sh
fbb86200 4736if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4737 emulate sh
4738 NULLCMD=:
08cf8642 4739 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4740 # is contrary to our usage. Disable this feature.
4741 alias -g '${1+"$@"}'='"$@"'
e32d7527 4742 setopt NO_GLOB_SUBST
4743else
4744 case `(set -o) 2>/dev/null` in
4745 *posix*) set -o posix ;;
4746esac
4747
4748fi
4749
4750
4751
4752
4753# PATH needs CR
4754# Avoid depending upon Character Ranges.
4755as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4756as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4757as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4758as_cr_digits='0123456789'
4759as_cr_alnum=$as_cr_Letters$as_cr_digits
4760
4761# The user is always right.
4762if test "${PATH_SEPARATOR+set}" != set; then
4763 echo "#! /bin/sh" >conf$$.sh
4764 echo "exit 0" >>conf$$.sh
4765 chmod +x conf$$.sh
4766 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4767 PATH_SEPARATOR=';'
4768 else
4769 PATH_SEPARATOR=:
4770 fi
4771 rm -f conf$$.sh
508533c5 4772fi
4773
fbb86200 4774# Support unset when possible.
08cf8642 4775if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
fbb86200 4776 as_unset=unset
508533c5 4777else
fbb86200 4778 as_unset=false
508533c5 4779fi
508533c5 4780
08cf8642 4781
e32d7527 4782# IFS
4783# We need space, tab and new line, in precisely that order. Quoting is
4784# there to prevent editors from complaining about space-tab.
4785# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4786# splitting by setting IFS to empty value.)
4787as_nl='
4788'
4789IFS=" "" $as_nl"
4790
4791# Find who we are. Look in the path if we contain no directory separator.
4792case $0 in
4793 *[\\/]* ) as_myself=$0 ;;
4794 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795for as_dir in $PATH
4796do
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4800done
4801IFS=$as_save_IFS
4802
4803 ;;
4804esac
4805# We did not find ourselves, most probably we were run as `sh COMMAND'
4806# in which case we are not to be found in the path.
4807if test "x$as_myself" = x; then
4808 as_myself=$0
4809fi
4810if test ! -f "$as_myself"; then
4811 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4812 { (exit 1); exit 1; }
4813fi
4814
08cf8642 4815# Work around bugs in pre-3.0 UWIN ksh.
e32d7527 4816for as_var in ENV MAIL MAILPATH
4817do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4818done
08cf8642 4819PS1='$ '
4820PS2='> '
4821PS4='+ '
4822
4823# NLS nuisances.
4824for as_var in \
4825 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4826 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4827 LC_TELEPHONE LC_TIME
4828do
4829 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4830 eval $as_var=C; export $as_var
4831 else
e32d7527 4832 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
08cf8642 4833 fi
4834done
4835
4836# Required to use basename.
e32d7527 4837if expr a : '\(a\)' >/dev/null 2>&1 &&
4838 test "X`expr 00001 : '.*\(...\)'`" = X001; then
08cf8642 4839 as_expr=expr
4840else
4841 as_expr=false
4842fi
4843
e32d7527 4844if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
08cf8642 4845 as_basename=basename
4846else
4847 as_basename=false
4848fi
fbb86200 4849
4850
4851# Name of the executable.
e32d7527 4852as_me=`$as_basename -- "$0" ||
fbb86200 4853$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4854 X"$0" : 'X\(//\)$' \| \
e32d7527 4855 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 4856echo X/"$0" |
e32d7527 4857 sed '/^.*\/\([^/][^/]*\)\/*$/{
4858 s//\1/
4859 q
4860 }
4861 /^X\/\(\/\/\)$/{
4862 s//\1/
4863 q
4864 }
4865 /^X\/\(\/\).*/{
4866 s//\1/
4867 q
4868 }
4869 s/.*/./; q'`
fbb86200 4870
e32d7527 4871# CDPATH.
4872$as_unset CDPATH
08cf8642 4873
508533c5 4874
fbb86200 4875
4876 as_lineno_1=$LINENO
4877 as_lineno_2=$LINENO
fbb86200 4878 test "x$as_lineno_1" != "x$as_lineno_2" &&
e32d7527 4879 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
fbb86200 4880
4881 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4882 # uniformly replaced by the line number. The first 'sed' inserts a
e32d7527 4883 # line-number line after each line using $LINENO; the second 'sed'
4884 # does the real work. The second script uses 'N' to pair each
4885 # line-number line with the line containing $LINENO, and appends
4886 # trailing '-' during substitution so that $LINENO is not a special
4887 # case at line end.
fbb86200 4888 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
e32d7527 4889 # scripts with optimization help from Paolo Bonzini. Blame Lee
4890 # E. McMahon (1931-1989) for sed's syntax. :-)
4891 sed -n '
4892 p
4893 /[$]LINENO/=
4894 ' <$as_myself |
fbb86200 4895 sed '
e32d7527 4896 s/[$]LINENO.*/&-/
4897 t lineno
4898 b
4899 :lineno
fbb86200 4900 N
e32d7527 4901 :loop
4902 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
fbb86200 4903 t loop
e32d7527 4904 s/-\n.*//
fbb86200 4905 ' >$as_me.lineno &&
e32d7527 4906 chmod +x "$as_me.lineno" ||
4907 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
fbb86200 4908 { (exit 1); exit 1; }; }
4909
4910 # Don't try to exec as it changes $[0], causing all sort of problems
4911 # (the dirname of $[0] is not the place where we might find the
e32d7527 4912 # original and so on. Autoconf is especially sensitive to this).
4913 . "./$as_me.lineno"
fbb86200 4914 # Exit status is that of the last command.
4915 exit
508533c5 4916}
4917
508533c5 4918
e32d7527 4919if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4920 as_dirname=dirname
4921else
4922 as_dirname=false
4923fi
4924
4925ECHO_C= ECHO_N= ECHO_T=
4926case `echo -n x` in
4927-n*)
4928 case `echo 'x\c'` in
4929 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4930 *) ECHO_C='\c';;
4931 esac;;
4932*)
4933 ECHO_N='-n';;
fbb86200 4934esac
508533c5 4935
e32d7527 4936if expr a : '\(a\)' >/dev/null 2>&1 &&
4937 test "X`expr 00001 : '.*\(...\)'`" = X001; then
fbb86200 4938 as_expr=expr
508533c5 4939else
fbb86200 4940 as_expr=false
508533c5 4941fi
4942
fbb86200 4943rm -f conf$$ conf$$.exe conf$$.file
e32d7527 4944if test -d conf$$.dir; then
4945 rm -f conf$$.dir/conf$$.file
4946else
4947 rm -f conf$$.dir
4948 mkdir conf$$.dir
4949fi
fbb86200 4950echo >conf$$.file
4951if ln -s conf$$.file conf$$ 2>/dev/null; then
e32d7527 4952 as_ln_s='ln -s'
4953 # ... but there are two gotchas:
4954 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4955 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4956 # In both cases, we have to default to `cp -p'.
4957 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
fbb86200 4958 as_ln_s='cp -p'
fbb86200 4959elif ln conf$$.file conf$$ 2>/dev/null; then
4960 as_ln_s=ln
508533c5 4961else
fbb86200 4962 as_ln_s='cp -p'
508533c5 4963fi
e32d7527 4964rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4965rmdir conf$$.dir 2>/dev/null
508533c5 4966
08cf8642 4967if mkdir -p . 2>/dev/null; then
4968 as_mkdir_p=:
4969else
4970 test -d ./-p && rmdir ./-p
4971 as_mkdir_p=false
4972fi
4973
e32d7527 4974if test -x / >/dev/null 2>&1; then
4975 as_test_x='test -x'
4976else
4977 if ls -dL / >/dev/null 2>&1; then
4978 as_ls_L_option=L
4979 else
4980 as_ls_L_option=
4981 fi
4982 as_test_x='
4983 eval sh -c '\''
4984 if test -d "$1"; then
4985 test -d "$1/.";
4986 else
4987 case $1 in
4988 -*)set "./$1";;
4989 esac;
4990 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4991 ???[sx]*):;;*)false;;esac;fi
4992 '\'' sh
4993 '
4994fi
4995as_executable_p=$as_test_x
508533c5 4996
fbb86200 4997# Sed expression to map a string onto a valid CPP name.
08cf8642 4998as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
508533c5 4999
fbb86200 5000# Sed expression to map a string onto a valid variable name.
08cf8642 5001as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
508533c5 5002
508533c5 5003
fbb86200 5004exec 6>&1
5005
e32d7527 5006# Save the log message, to keep $[0] and so on meaningful, and to
fbb86200 5007# report actual input values of CONFIG_FILES etc. instead of their
e32d7527 5008# values after options handling.
5009ac_log="
a9ec3280 5010This file was extended by Splint $as_me 3.1.2, which was
e32d7527 5011generated by GNU Autoconf 2.61. Invocation command line was
fbb86200 5012
5013 CONFIG_FILES = $CONFIG_FILES
5014 CONFIG_HEADERS = $CONFIG_HEADERS
5015 CONFIG_LINKS = $CONFIG_LINKS
5016 CONFIG_COMMANDS = $CONFIG_COMMANDS
5017 $ $0 $@
5018
e32d7527 5019on `(hostname || uname -n) 2>/dev/null | sed 1q`
5020"
5021
fbb86200 5022_ACEOF
5023
e32d7527 5024cat >>$CONFIG_STATUS <<_ACEOF
fbb86200 5025# Files that config.status was made for.
e32d7527 5026config_files="$ac_config_files"
5027config_headers="$ac_config_headers"
5028config_commands="$ac_config_commands"
508533c5 5029
e32d7527 5030_ACEOF
fbb86200 5031
5032cat >>$CONFIG_STATUS <<\_ACEOF
fbb86200 5033ac_cs_usage="\
5034\`$as_me' instantiates files from templates according to the
5035current configuration.
5036
5037Usage: $0 [OPTIONS] [FILE]...
5038
5039 -h, --help print this help, then exit
e32d7527 5040 -V, --version print version number and configuration settings, then exit
08cf8642 5041 -q, --quiet do not print progress messages
fbb86200 5042 -d, --debug don't remove temporary files
5043 --recheck update $as_me by reconfiguring in the same conditions
5044 --file=FILE[:TEMPLATE]
08cf8642 5045 instantiate the configuration file FILE
fbb86200 5046 --header=FILE[:TEMPLATE]
08cf8642 5047 instantiate the configuration header FILE
fbb86200 5048
5049Configuration files:
5050$config_files
5051
5052Configuration headers:
5053$config_headers
5054
5055Configuration commands:
5056$config_commands
5057
5058Report bugs to <bug-autoconf@gnu.org>."
fbb86200 5059
e32d7527 5060_ACEOF
fbb86200 5061cat >>$CONFIG_STATUS <<_ACEOF
5062ac_cs_version="\\
a9ec3280 5063Splint config.status 3.1.2
e32d7527 5064configured by $0, generated by GNU Autoconf 2.61,
5065 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
fbb86200 5066
e32d7527 5067Copyright (C) 2006 Free Software Foundation, Inc.
fbb86200 5068This config.status script is free software; the Free Software Foundation
5069gives unlimited permission to copy, distribute and modify it."
e32d7527 5070
5071ac_pwd='$ac_pwd'
5072srcdir='$srcdir'
5073INSTALL='$INSTALL'
5074MKDIR_P='$MKDIR_P'
fbb86200 5075_ACEOF
5076
5077cat >>$CONFIG_STATUS <<\_ACEOF
5078# If no file are specified by the user, then we need to provide default
5079# value. By we need to know if files were specified by the user.
5080ac_need_defaults=:
5081while test $# != 0
5082do
5083 case $1 in
5084 --*=*)
e32d7527 5085 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5086 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
08cf8642 5087 ac_shift=:
5088 ;;
e32d7527 5089 *)
08cf8642 5090 ac_option=$1
5091 ac_optarg=$2
5092 ac_shift=shift
fbb86200 5093 ;;
fbb86200 5094 esac
5095
08cf8642 5096 case $ac_option in
fbb86200 5097 # Handling of the options.
08cf8642 5098 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5099 ac_cs_recheck=: ;;
e32d7527 5100 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5101 echo "$ac_cs_version"; exit ;;
5102 --debug | --debu | --deb | --de | --d | -d )
fbb86200 5103 debug=: ;;
5104 --file | --fil | --fi | --f )
08cf8642 5105 $ac_shift
5106 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
fbb86200 5107 ac_need_defaults=false;;
5108 --header | --heade | --head | --hea )
08cf8642 5109 $ac_shift
5110 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
fbb86200 5111 ac_need_defaults=false;;
e32d7527 5112 --he | --h)
5113 # Conflict between --help and --header
5114 { echo "$as_me: error: ambiguous option: $1
5115Try \`$0 --help' for more information." >&2
5116 { (exit 1); exit 1; }; };;
5117 --help | --hel | -h )
5118 echo "$ac_cs_usage"; exit ;;
08cf8642 5119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5121 ac_cs_silent=: ;;
fbb86200 5122
5123 # This is an error.
e32d7527 5124 -*) { echo "$as_me: error: unrecognized option: $1
5125Try \`$0 --help' for more information." >&2
fbb86200 5126 { (exit 1); exit 1; }; } ;;
5127
e32d7527 5128 *) ac_config_targets="$ac_config_targets $1"
5129 ac_need_defaults=false ;;
fbb86200 5130
5131 esac
5132 shift
5133done
5134
08cf8642 5135ac_configure_extra_args=
5136
5137if $ac_cs_silent; then
5138 exec 6>/dev/null
5139 ac_configure_extra_args="$ac_configure_extra_args --silent"
5140fi
5141
5142_ACEOF
5143cat >>$CONFIG_STATUS <<_ACEOF
5144if \$ac_cs_recheck; then
e32d7527 5145 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5146 CONFIG_SHELL=$SHELL
5147 export CONFIG_SHELL
5148 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
08cf8642 5149fi
5150
fbb86200 5151_ACEOF
e32d7527 5152cat >>$CONFIG_STATUS <<\_ACEOF
5153exec 5>>config.log
5154{
5155 echo
5156 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5157## Running $as_me. ##
5158_ASBOX
5159 echo "$ac_log"
5160} >&5
fbb86200 5161
e32d7527 5162_ACEOF
fbb86200 5163cat >>$CONFIG_STATUS <<_ACEOF
5164#
e32d7527 5165# INIT-COMMANDS
fbb86200 5166#
fbb86200 5167AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5168
5169_ACEOF
5170
fbb86200 5171cat >>$CONFIG_STATUS <<\_ACEOF
e32d7527 5172
5173# Handling of arguments.
fbb86200 5174for ac_config_target in $ac_config_targets
5175do
e32d7527 5176 case $ac_config_target in
5177 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
5178 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5179 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5180 "imports/Makefile") CONFIG_FILES="$CONFIG_FILES imports/Makefile" ;;
5181 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5182 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5183 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5184 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5185 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
5186
fbb86200 5187 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5188echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5189 { (exit 1); exit 1; }; };;
5190 esac
5191done
5192
e32d7527 5193
fbb86200 5194# If the user did not use the arguments to specify the items to instantiate,
5195# then the envvar interface is used. Set only those that are not.
5196# We use the long form for the default assignment because of an extremely
5197# bizarre bug on SunOS 4.1.3.
5198if $ac_need_defaults; then
5199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
508533c5 5202fi
508533c5 5203
08cf8642 5204# Have a temporary directory for convenience. Make it in the build tree
e32d7527 5205# simply because there is no reason against having it here, and in addition,
08cf8642 5206# creating and moving files from /tmp can sometimes cause problems.
e32d7527 5207# Hook for its removal unless debugging.
5208# Note that there is a small window in which the directory will not be cleaned:
5209# after its creation but before its name has been assigned to `$tmp'.
fbb86200 5210$debug ||
5211{
e32d7527 5212 tmp=
5213 trap 'exit_status=$?
5214 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5215' 0
fbb86200 5216 trap '{ (exit 1); exit 1; }' 1 2 13 15
5217}
fbb86200 5218# Create a (secure) tmp directory for tmp files.
08cf8642 5219
fbb86200 5220{
e32d7527 5221 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
fbb86200 5222 test -n "$tmp" && test -d "$tmp"
5223} ||
5224{
e32d7527 5225 tmp=./conf$$-$RANDOM
5226 (umask 077 && mkdir "$tmp")
fbb86200 5227} ||
5228{
08cf8642 5229 echo "$me: cannot create a temporary directory in ." >&2
fbb86200 5230 { (exit 1); exit 1; }
5231}
5232
fbb86200 5233#
e32d7527 5234# Set up the sed scripts for CONFIG_FILES section.
fbb86200 5235#
5236
5237# No need to generate the scripts if there are no CONFIG_FILES.
5238# This happens for instance when ./config.status config.h
e32d7527 5239if test -n "$CONFIG_FILES"; then
fbb86200 5240
5241_ACEOF
5242
e32d7527 5243
5244
5245ac_delim='%!_!# '
5246for ac_last_try in false false false false false :; do
5247 cat >conf$$subs.sed <<_ACEOF
5248SHELL!$SHELL$ac_delim
5249PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5250PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5251PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5252PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5253PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5254PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5255exec_prefix!$exec_prefix$ac_delim
5256prefix!$prefix$ac_delim
5257program_transform_name!$program_transform_name$ac_delim
5258bindir!$bindir$ac_delim
5259sbindir!$sbindir$ac_delim
5260libexecdir!$libexecdir$ac_delim
5261datarootdir!$datarootdir$ac_delim
5262datadir!$datadir$ac_delim
5263sysconfdir!$sysconfdir$ac_delim
5264sharedstatedir!$sharedstatedir$ac_delim
5265localstatedir!$localstatedir$ac_delim
5266includedir!$includedir$ac_delim
5267oldincludedir!$oldincludedir$ac_delim
5268docdir!$docdir$ac_delim
5269infodir!$infodir$ac_delim
5270htmldir!$htmldir$ac_delim
5271dvidir!$dvidir$ac_delim
5272pdfdir!$pdfdir$ac_delim
5273psdir!$psdir$ac_delim
5274libdir!$libdir$ac_delim
5275localedir!$localedir$ac_delim
5276mandir!$mandir$ac_delim
5277DEFS!$DEFS$ac_delim
5278ECHO_C!$ECHO_C$ac_delim
5279ECHO_N!$ECHO_N$ac_delim
5280ECHO_T!$ECHO_T$ac_delim
5281LIBS!$LIBS$ac_delim
5282build_alias!$build_alias$ac_delim
5283host_alias!$host_alias$ac_delim
5284target_alias!$target_alias$ac_delim
5285build!$build$ac_delim
5286build_cpu!$build_cpu$ac_delim
5287build_vendor!$build_vendor$ac_delim
5288build_os!$build_os$ac_delim
5289host!$host$ac_delim
5290host_cpu!$host_cpu$ac_delim
5291host_vendor!$host_vendor$ac_delim
5292host_os!$host_os$ac_delim
5293target!$target$ac_delim
5294target_cpu!$target_cpu$ac_delim
5295target_vendor!$target_vendor$ac_delim
5296target_os!$target_os$ac_delim
5297INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5298INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5299INSTALL_DATA!$INSTALL_DATA$ac_delim
5300am__isrc!$am__isrc$ac_delim
5301CYGPATH_W!$CYGPATH_W$ac_delim
5302PACKAGE!$PACKAGE$ac_delim
5303VERSION!$VERSION$ac_delim
5304ACLOCAL!$ACLOCAL$ac_delim
5305AUTOCONF!$AUTOCONF$ac_delim
5306AUTOMAKE!$AUTOMAKE$ac_delim
5307AUTOHEADER!$AUTOHEADER$ac_delim
5308MAKEINFO!$MAKEINFO$ac_delim
5309install_sh!$install_sh$ac_delim
5310STRIP!$STRIP$ac_delim
5311INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5312mkdir_p!$mkdir_p$ac_delim
5313AWK!$AWK$ac_delim
5314SET_MAKE!$SET_MAKE$ac_delim
5315am__leading_dot!$am__leading_dot$ac_delim
5316AMTAR!$AMTAR$ac_delim
5317am__tar!$am__tar$ac_delim
5318am__untar!$am__untar$ac_delim
5319CC!$CC$ac_delim
5320CFLAGS!$CFLAGS$ac_delim
5321LDFLAGS!$LDFLAGS$ac_delim
5322CPPFLAGS!$CPPFLAGS$ac_delim
5323ac_ct_CC!$ac_ct_CC$ac_delim
5324EXEEXT!$EXEEXT$ac_delim
5325OBJEXT!$OBJEXT$ac_delim
5326DEPDIR!$DEPDIR$ac_delim
5327am__include!$am__include$ac_delim
5328am__quote!$am__quote$ac_delim
5329AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5330AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5331AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5332CCDEPMODE!$CCDEPMODE$ac_delim
5333am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5334am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5335CPP!$CPP$ac_delim
5336LEX!$LEX$ac_delim
5337LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
5338LEXLIB!$LEXLIB$ac_delim
5339LN_S!$LN_S$ac_delim
5340BISON!$BISON$ac_delim
5341GREP!$GREP$ac_delim
5342DIFF!$DIFF$ac_delim
5343CAT!$CAT$ac_delim
5344RM!$RM$ac_delim
5345_ACEOF
5346
5347 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5348 break
5349 elif $ac_last_try; then
5350 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5351echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5352 { (exit 1); exit 1; }; }
5353 else
5354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
508533c5 5355 fi
e32d7527 5356done
508533c5 5357
e32d7527 5358ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5359if test -n "$ac_eof"; then
5360 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5361 ac_eof=`expr $ac_eof + 1`
5362fi
5363
5364cat >>$CONFIG_STATUS <<_ACEOF
5365cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5366/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5367_ACEOF
5368sed '
5369s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5370s/^/s,@/; s/!/@,|#_!!_#|/
5371:n
5372t n
5373s/'"$ac_delim"'$/,g/; t
5374s/$/\\/; p
5375N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5376' >>$CONFIG_STATUS <conf$$subs.sed
5377rm -f conf$$subs.sed
5378cat >>$CONFIG_STATUS <<_ACEOF
5379CEOF$ac_eof
fbb86200 5380_ACEOF
e32d7527 5381
5382
5383ac_delim='%!_!# '
5384for ac_last_try in false false false false false :; do
5385 cat >conf$$subs.sed <<_ACEOF
5386MV!$MV$ac_delim
5387CP!$CP$ac_delim
5388SED!$SED$ac_delim
5389LCLOBJ!$LCLOBJ$ac_delim
5390LIBOBJS!$LIBOBJS$ac_delim
5391LTLIBOBJS!$LTLIBOBJS$ac_delim
5392_ACEOF
5393
5394 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
5395 break
5396 elif $ac_last_try; then
5397 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5398echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5399 { (exit 1); exit 1; }; }
5400 else
5401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5402 fi
5403done
5404
5405ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5406if test -n "$ac_eof"; then
5407 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5408 ac_eof=`expr $ac_eof + 1`
5409fi
5410
5411cat >>$CONFIG_STATUS <<_ACEOF
5412cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
5413/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5414_ACEOF
5415sed '
5416s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5417s/^/s,@/; s/!/@,|#_!!_#|/
5418:n
5419t n
5420s/'"$ac_delim"'$/,g/; t
5421s/$/\\/; p
5422N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5423' >>$CONFIG_STATUS <conf$$subs.sed
5424rm -f conf$$subs.sed
5425cat >>$CONFIG_STATUS <<_ACEOF
5426:end
5427s/|#_!!_#|//g
5428CEOF$ac_eof
5429_ACEOF
5430
5431
5432# VPATH may cause trouble with some makes, so we remove $(srcdir),
5433# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5434# trailing colons and then remove the whole line if VPATH becomes empty
5435# (actually we leave an empty line to preserve line numbers).
5436if test "x$srcdir" = x.; then
5437 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5438s/:*\$(srcdir):*/:/
5439s/:*\${srcdir}:*/:/
5440s/:*@srcdir@:*/:/
5441s/^\([^=]*=[ ]*\):*/\1/
5442s/:*$//
5443s/^[^=]*=[ ]*$//
5444}'
5445fi
5446
fbb86200 5447cat >>$CONFIG_STATUS <<\_ACEOF
e32d7527 5448fi # test -n "$CONFIG_FILES"
5449
5450
5451for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5452do
5453 case $ac_tag in
5454 :[FHLC]) ac_mode=$ac_tag; continue;;
5455 esac
5456 case $ac_mode$ac_tag in
5457 :[FHL]*:*);;
5458 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5459echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5460 { (exit 1); exit 1; }; };;
5461 :[FH]-) ac_tag=-:-;;
5462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5463 esac
5464 ac_save_IFS=$IFS
5465 IFS=:
5466 set x $ac_tag
5467 IFS=$ac_save_IFS
5468 shift
5469 ac_file=$1
5470 shift
5471
5472 case $ac_mode in
5473 :L) ac_source=$1;;
5474 :[FH])
5475 ac_file_inputs=
5476 for ac_f
5477 do
5478 case $ac_f in
5479 -) ac_f="$tmp/stdin";;
5480 *) # Look for the file first in the build tree, then in the source tree
5481 # (if the path is not absolute). The absolute path cannot be DOS-style,
5482 # because $ac_f cannot contain `:'.
5483 test -f "$ac_f" ||
5484 case $ac_f in
5485 [\\/$]*) false;;
5486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5487 esac ||
5488 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5489echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5490 { (exit 1); exit 1; }; };;
5491 esac
5492 ac_file_inputs="$ac_file_inputs $ac_f"
5493 done
5494
5495 # Let's still pretend it is `configure' which instantiates (i.e., don't
5496 # use $as_me), people would be surprised to read:
5497 # /* config.h. Generated by config.status. */
5498 configure_input="Generated from "`IFS=:
5499 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5500 if test x"$ac_file" != x-; then
5501 configure_input="$ac_file. $configure_input"
5502 { echo "$as_me:$LINENO: creating $ac_file" >&5
5503echo "$as_me: creating $ac_file" >&6;}
5504 fi
5505
5506 case $ac_tag in
5507 *:-:* | *:-) cat >"$tmp/stdin";;
5508 esac
5509 ;;
fbb86200 5510 esac
5511
e32d7527 5512 ac_dir=`$as_dirname -- "$ac_file" ||
fbb86200 5513$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5514 X"$ac_file" : 'X\(//\)[^/]' \| \
5515 X"$ac_file" : 'X\(//\)$' \| \
e32d7527 5516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 5517echo X"$ac_file" |
e32d7527 5518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5519 s//\1/
5520 q
5521 }
5522 /^X\(\/\/\)[^/].*/{
5523 s//\1/
5524 q
5525 }
5526 /^X\(\/\/\)$/{
5527 s//\1/
5528 q
5529 }
5530 /^X\(\/\).*/{
5531 s//\1/
5532 q
5533 }
5534 s/.*/./; q'`
5535 { as_dir="$ac_dir"
5536 case $as_dir in #(
5537 -*) as_dir=./$as_dir;;
5538 esac
5539 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
08cf8642 5540 as_dirs=
e32d7527 5541 while :; do
5542 case $as_dir in #(
5543 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5544 *) as_qdir=$as_dir;;
5545 esac
5546 as_dirs="'$as_qdir' $as_dirs"
5547 as_dir=`$as_dirname -- "$as_dir" ||
08cf8642 5548$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5549 X"$as_dir" : 'X\(//\)[^/]' \| \
5550 X"$as_dir" : 'X\(//\)$' \| \
e32d7527 5551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
08cf8642 5552echo X"$as_dir" |
e32d7527 5553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5554 s//\1/
5555 q
5556 }
5557 /^X\(\/\/\)[^/].*/{
5558 s//\1/
5559 q
5560 }
5561 /^X\(\/\/\)$/{
5562 s//\1/
5563 q
5564 }
5565 /^X\(\/\).*/{
5566 s//\1/
5567 q
5568 }
5569 s/.*/./; q'`
5570 test -d "$as_dir" && break
08cf8642 5571 done
e32d7527 5572 test -z "$as_dirs" || eval "mkdir $as_dirs"
5573 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5574echo "$as_me: error: cannot create directory $as_dir" >&2;}
08cf8642 5575 { (exit 1); exit 1; }; }; }
fbb86200 5576 ac_builddir=.
508533c5 5577
e32d7527 5578case "$ac_dir" in
5579.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5580*)
fbb86200 5581 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
e32d7527 5582 # A ".." for each directory in $ac_dir_suffix.
5583 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5584 case $ac_top_builddir_sub in
5585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5587 esac ;;
5588esac
5589ac_abs_top_builddir=$ac_pwd
5590ac_abs_builddir=$ac_pwd$ac_dir_suffix
5591# for backward compatibility:
5592ac_top_builddir=$ac_top_build_prefix
fbb86200 5593
5594case $srcdir in
e32d7527 5595 .) # We are building in place.
fbb86200 5596 ac_srcdir=.
e32d7527 5597 ac_top_srcdir=$ac_top_builddir_sub
5598 ac_abs_top_srcdir=$ac_pwd ;;
5599 [\\/]* | ?:[\\/]* ) # Absolute name.
fbb86200 5600 ac_srcdir=$srcdir$ac_dir_suffix;
e32d7527 5601 ac_top_srcdir=$srcdir
5602 ac_abs_top_srcdir=$srcdir ;;
5603 *) # Relative name.
5604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5605 ac_top_srcdir=$ac_top_build_prefix$srcdir
5606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
fbb86200 5607esac
e32d7527 5608ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
08cf8642 5609
fbb86200 5610
e32d7527 5611 case $ac_mode in
5612 :F)
5613 #
5614 # CONFIG_FILE
5615 #
fbb86200 5616
5617 case $INSTALL in
5618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
e32d7527 5619 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5620 esac
5621 ac_MKDIR_P=$MKDIR_P
5622 case $MKDIR_P in
5623 [\\/$]* | ?:[\\/]* ) ;;
5624 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
fbb86200 5625 esac
e32d7527 5626_ACEOF
fbb86200 5627
e32d7527 5628cat >>$CONFIG_STATUS <<\_ACEOF
5629# If the template does not know about datarootdir, expand it.
5630# FIXME: This hack should be removed a few years after 2.60.
5631ac_datarootdir_hack=; ac_datarootdir_seen=
5632
5633case `sed -n '/datarootdir/ {
5634 p
5635 q
5636}
5637/@datadir@/p
5638/@docdir@/p
5639/@infodir@/p
5640/@localedir@/p
5641/@mandir@/p
5642' $ac_file_inputs` in
5643*datarootdir*) ac_datarootdir_seen=yes;;
5644*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5645 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5646echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5647_ACEOF
5648cat >>$CONFIG_STATUS <<_ACEOF
5649 ac_datarootdir_hack='
5650 s&@datadir@&$datadir&g
5651 s&@docdir@&$docdir&g
5652 s&@infodir@&$infodir&g
5653 s&@localedir@&$localedir&g
5654 s&@mandir@&$mandir&g
5655 s&\\\${datarootdir}&$datarootdir&g' ;;
5656esac
fbb86200 5657_ACEOF
e32d7527 5658
5659# Neutralize VPATH when `$srcdir' = `.'.
5660# Shell code in configure.ac might set extrasub.
5661# FIXME: do we really want to maintain this feature?
fbb86200 5662cat >>$CONFIG_STATUS <<_ACEOF
5663 sed "$ac_vpsub
5664$extrasub
5665_ACEOF
5666cat >>$CONFIG_STATUS <<\_ACEOF
5667:t
5668/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
e32d7527 5669s&@configure_input@&$configure_input&;t t
5670s&@top_builddir@&$ac_top_builddir_sub&;t t
5671s&@srcdir@&$ac_srcdir&;t t
5672s&@abs_srcdir@&$ac_abs_srcdir&;t t
5673s&@top_srcdir@&$ac_top_srcdir&;t t
5674s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5675s&@builddir@&$ac_builddir&;t t
5676s&@abs_builddir@&$ac_abs_builddir&;t t
5677s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5678s&@INSTALL@&$ac_INSTALL&;t t
5679s&@MKDIR_P@&$ac_MKDIR_P&;t t
5680$ac_datarootdir_hack
5681" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5682
5683test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5684 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5685 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5686 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5687which seems to be undefined. Please make sure it is defined." >&5
5688echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5689which seems to be undefined. Please make sure it is defined." >&2;}
5690
5691 rm -f "$tmp/stdin"
fbb86200 5692 case $ac_file in
e32d7527 5693 -) cat "$tmp/out"; rm -f "$tmp/out";;
5694 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
fbb86200 5695 esac
e32d7527 5696 ;;
5697 :H)
5698 #
5699 # CONFIG_HEADER
5700 #
fbb86200 5701_ACEOF
5702
e32d7527 5703# Transform confdefs.h into a sed script `conftest.defines', that
5704# substitutes the proper values into config.h.in to produce config.h.
5705rm -f conftest.defines conftest.tail
5706# First, append a space to every undef/define line, to ease matching.
5707echo 's/$/ /' >conftest.defines
5708# Then, protect against being on the right side of a sed subst, or in
5709# an unquoted here document, in config.status. If some macros were
5710# called several times there might be several #defines for the same
5711# symbol, which is useless. But do not sort them, since the last
5712# AC_DEFINE must be honored.
5713ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5714# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5715# NAME is the cpp macro being defined, VALUE is the value it is being given.
5716# PARAMS is the parameter list in the macro definition--in most cases, it's
5717# just an empty string.
5718ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5719ac_dB='\\)[ (].*,\\1define\\2'
5720ac_dC=' '
5721ac_dD=' ,'
5722
5723uniq confdefs.h |
5724 sed -n '
5725 t rset
5726 :rset
5727 s/^[ ]*#[ ]*define[ ][ ]*//
5728 t ok
5729 d
5730 :ok
5731 s/[\\&,]/\\&/g
5732 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5733 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5734 ' >>conftest.defines
5735
5736# Remove the space that was appended to ease matching.
5737# Then replace #undef with comments. This is necessary, for
fbb86200 5738# example, in the case of _POSIX_SOURCE, which is predefined and required
5739# on some systems where configure will not decide to define it.
e32d7527 5740# (The regexp can be short, since the line contains either #define or #undef.)
5741echo 's/ $//
5742s,^[ #]*u.*,/* & */,' >>conftest.defines
5743
5744# Break up conftest.defines:
5745ac_max_sed_lines=50
5746
5747# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5748# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5749# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5750# et cetera.
5751ac_in='$ac_file_inputs'
5752ac_out='"$tmp/out1"'
5753ac_nxt='"$tmp/out2"'
5754
5755while :
508533c5 5756do
e32d7527 5757 # Write a here document:
5758 cat >>$CONFIG_STATUS <<_ACEOF
5759 # First, check the format of the line:
5760 cat >"\$tmp/defines.sed" <<\\CEOF
5761/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5762/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5763b
5764:def
5765_ACEOF
5766 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
fbb86200 5767 echo 'CEOF
e32d7527 5768 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5769 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5770 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5771 grep . conftest.tail >/dev/null || break
fbb86200 5772 rm -f conftest.defines
5773 mv conftest.tail conftest.defines
5774done
e32d7527 5775rm -f conftest.defines conftest.tail
fbb86200 5776
e32d7527 5777echo "ac_result=$ac_in" >>$CONFIG_STATUS
fbb86200 5778cat >>$CONFIG_STATUS <<\_ACEOF
fbb86200 5779 if test x"$ac_file" != x-; then
e32d7527 5780 echo "/* $configure_input */" >"$tmp/config.h"
5781 cat "$ac_result" >>"$tmp/config.h"
5782 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
fbb86200 5783 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5784echo "$as_me: $ac_file is unchanged" >&6;}
5785 else
fbb86200 5786 rm -f $ac_file
e32d7527 5787 mv "$tmp/config.h" $ac_file
fbb86200 5788 fi
5789 else
e32d7527 5790 echo "/* $configure_input */"
5791 cat "$ac_result"
fbb86200 5792 fi
e32d7527 5793 rm -f "$tmp/out12"
5794# Compute $ac_file's index in $config_headers.
5795_am_arg=$ac_file
5796_am_stamp_count=1
5797for _am_header in $config_headers :; do
5798 case $_am_header in
5799 $_am_arg | $_am_arg:* )
5800 break ;;
5801 * )
5802 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
fbb86200 5803 esac
5804done
e32d7527 5805echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5806$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5807 X"$_am_arg" : 'X\(//\)[^/]' \| \
5808 X"$_am_arg" : 'X\(//\)$' \| \
5809 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5810echo X"$_am_arg" |
5811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5812 s//\1/
5813 q
5814 }
5815 /^X\(\/\/\)[^/].*/{
5816 s//\1/
5817 q
5818 }
5819 /^X\(\/\/\)$/{
5820 s//\1/
5821 q
5822 }
5823 /^X\(\/\).*/{
5824 s//\1/
5825 q
5826 }
5827 s/.*/./; q'`/stamp-h$_am_stamp_count
5828 ;;
08cf8642 5829
e32d7527 5830 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5831echo "$as_me: executing $ac_file commands" >&6;}
5832 ;;
5833 esac
fbb86200 5834
5835
e32d7527 5836 case $ac_file$ac_mode in
5837 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
fbb86200 5838 # Strip MF so we end up with the name of the file.
5839 mf=`echo "$mf" | sed -e 's/:.*$//'`
5840 # Check whether this is an Automake generated Makefile or not.
5841 # We used to match only the files named `Makefile.in', but
5842 # some people rename them; so instead we look at the file content.
5843 # Grep'ing the first line is not enough: some people post-process
5844 # each Makefile.in and add a new line on top of each file to say so.
e32d7527 5845 # Grep'ing the whole file is not good either: AIX grep has a line
5846 # limit of 2048, but all sed's we know have understand at least 4000.
5847 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5848 dirpart=`$as_dirname -- "$mf" ||
fbb86200 5849$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5850 X"$mf" : 'X\(//\)[^/]' \| \
5851 X"$mf" : 'X\(//\)$' \| \
e32d7527 5852 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 5853echo X"$mf" |
e32d7527 5854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5855 s//\1/
5856 q
5857 }
5858 /^X\(\/\/\)[^/].*/{
5859 s//\1/
5860 q
5861 }
5862 /^X\(\/\/\)$/{
5863 s//\1/
5864 q
5865 }
5866 /^X\(\/\).*/{
5867 s//\1/
5868 q
5869 }
5870 s/.*/./; q'`
fbb86200 5871 else
5872 continue
5873 fi
e32d7527 5874 # Extract the definition of DEPDIR, am__include, and am__quote
5875 # from the Makefile without running `make'.
5876 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
fbb86200 5877 test -z "$DEPDIR" && continue
e32d7527 5878 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5879 test -z "am__include" && continue
5880 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
fbb86200 5881 # When using ansi2knr, U may be empty or an underscore; expand it
e32d7527 5882 U=`sed -n 's/^U = //p' < "$mf"`
5883 # Find all dependency output files, they are included files with
5884 # $(DEPDIR) in their names. We invoke sed twice because it is the
5885 # simplest approach to changing $(DEPDIR) to its actual value in the
5886 # expansion.
5887 for file in `sed -n "
5888 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
fbb86200 5889 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5890 # Make sure the directory exists.
5891 test -f "$dirpart/$file" && continue
e32d7527 5892 fdir=`$as_dirname -- "$file" ||
fbb86200 5893$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5894 X"$file" : 'X\(//\)[^/]' \| \
5895 X"$file" : 'X\(//\)$' \| \
e32d7527 5896 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
fbb86200 5897echo X"$file" |
e32d7527 5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5899 s//\1/
5900 q
5901 }
5902 /^X\(\/\/\)[^/].*/{
5903 s//\1/
5904 q
5905 }
5906 /^X\(\/\/\)$/{
5907 s//\1/
5908 q
5909 }
5910 /^X\(\/\).*/{
5911 s//\1/
5912 q
5913 }
5914 s/.*/./; q'`
5915 { as_dir=$dirpart/$fdir
5916 case $as_dir in #(
5917 -*) as_dir=./$as_dir;;
5918 esac
5919 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
08cf8642 5920 as_dirs=
e32d7527 5921 while :; do
5922 case $as_dir in #(
5923 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5924 *) as_qdir=$as_dir;;
5925 esac
5926 as_dirs="'$as_qdir' $as_dirs"
5927 as_dir=`$as_dirname -- "$as_dir" ||
08cf8642 5928$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5929 X"$as_dir" : 'X\(//\)[^/]' \| \
5930 X"$as_dir" : 'X\(//\)$' \| \
e32d7527 5931 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
08cf8642 5932echo X"$as_dir" |
e32d7527 5933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5934 s//\1/
5935 q
5936 }
5937 /^X\(\/\/\)[^/].*/{
5938 s//\1/
5939 q
5940 }
5941 /^X\(\/\/\)$/{
5942 s//\1/
5943 q
5944 }
5945 /^X\(\/\).*/{
5946 s//\1/
5947 q
5948 }
5949 s/.*/./; q'`
5950 test -d "$as_dir" && break
08cf8642 5951 done
e32d7527 5952 test -z "$as_dirs" || eval "mkdir $as_dirs"
5953 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5954echo "$as_me: error: cannot create directory $as_dir" >&2;}
08cf8642 5955 { (exit 1); exit 1; }; }; }
fbb86200 5956 # echo "creating $dirpart/$file"
5957 echo '# dummy' > "$dirpart/$file"
5958 done
5959done
5960 ;;
e32d7527 5961
508533c5 5962 esac
e32d7527 5963done # for ac_tag
fbb86200 5964
fbb86200 5965
5966{ (exit 0); exit 0; }
5967_ACEOF
5968chmod +x $CONFIG_STATUS
5969ac_clean_files=$ac_clean_files_save
5970
5971
5972# configure is writing to config.log, and then calls config.status.
5973# config.status does its own redirection, appending to config.log.
5974# Unfortunately, on DOS this fails, as config.log is still kept open
5975# by configure, so config.status won't be able to write to it; its
5976# output is simply discarded. So we exec the FD to /dev/null,
5977# effectively closing config.log, so it can be properly (re)opened and
5978# appended to by config.status. When coming back to configure, we
5979# need to make the FD available again.
5980if test "$no_create" != yes; then
5981 ac_cs_success=:
08cf8642 5982 ac_config_status_args=
5983 test "$silent" = yes &&
5984 ac_config_status_args="$ac_config_status_args --quiet"
fbb86200 5985 exec 5>/dev/null
08cf8642 5986 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
fbb86200 5987 exec 5>>config.log
5988 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5989 # would make configure fail if this is the last instruction.
5990 $ac_cs_success || { (exit 1); exit 1; }
5991fi
5992
5993
5994
5995
5996
5997
5998
5999
508533c5 6000
508533c5 6001
This page took 0.980941 seconds and 5 git commands to generate.