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