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