]> andersk Git - splint.git/blame - configure
Fix DPRINTF bit rot.
[splint.git] / configure
CommitLineData
fbb86200 1#! /bin/sh
508533c5 2# Guess values for system-dependent variables and create Makefiles.
a9ec3280 3# Generated by GNU Autoconf 2.59 for Splint 3.1.2.
fbb86200 4#
5# Report bugs to <splint-bug@splint.org>.
6#
08cf8642 7# Copyright (C) 2003 Free Software Foundation, Inc.
fbb86200 8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
fbb86200 10## --------------------- ##
11## M4sh Initialization. ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
08cf8642 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+"$@"}'='"$@"'
fbb86200 21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23fi
08cf8642 24DUALCASE=1; export DUALCASE # for MKS sh
fbb86200 25
fbb86200 26# Support unset when possible.
08cf8642 27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
fbb86200 28 as_unset=unset
29else
30 as_unset=false
31fi
32
08cf8642 33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for 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
45do
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
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
fbb86200 65
66
67# Name of the executable.
08cf8642 68as_me=`$as_basename "$0" ||
fbb86200 69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
08cf8642 79
fbb86200 80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
08cf8642 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
fbb86200 94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
08cf8642 98 rm -f conf$$.sh
fbb86200 99fi
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
112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
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
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
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
08cf8642 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; }
fbb86200 148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154done
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
189case `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= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198else
199 as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if 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
213elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215else
216 as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
08cf8642 220if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225fi
226
fbb86200 227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
08cf8642 230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
fbb86200 231
232# Sed expression to map a string onto a valid variable name.
08cf8642 233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
fbb86200 234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
08cf8642 243$as_unset CDPATH
fbb86200 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.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
08cf8642 257ac_config_libobj_dir=.
fbb86200 258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${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.
270PACKAGE_NAME='Splint'
271PACKAGE_TARNAME='splint'
a9ec3280 272PACKAGE_VERSION='3.1.2'
273PACKAGE_STRING='Splint 3.1.2'
fbb86200 274PACKAGE_BUGREPORT='splint-bug@splint.org'
275
276ac_unique_file="src/lclinit.c"
08cf8642 277ac_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'
278ac_subst_files=''
fbb86200 279
280# Initialize some variables set by options.
281ac_init_help=
282ac_init_version=false
283# The variables have the same names as the options, with
284# dashes changed to underlines.
285cache_file=/dev/null
286exec_prefix=NONE
287no_create=
288no_recursion=
289prefix=NONE
290program_prefix=NONE
291program_suffix=NONE
292program_transform_name=s,x,x,
293silent=
294site=
295srcdir=
296verbose=
297x_includes=NONE
298x_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.
305bindir='${exec_prefix}/bin'
306sbindir='${exec_prefix}/sbin'
307libexecdir='${exec_prefix}/libexec'
308datadir='${prefix}/share'
309sysconfdir='${prefix}/etc'
310sharedstatedir='${prefix}/com'
311localstatedir='${prefix}/var'
312libdir='${exec_prefix}/lib'
313includedir='${prefix}/include'
314oldincludedir='/usr/include'
315infodir='${prefix}/info'
316mandir='${prefix}/man'
317
318ac_prev=
319for ac_option
320do
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
592Try \`$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
615done
616
617if 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; }; }
621fi
622
623# Be sure to have absolute paths.
624for ac_var in exec_prefix prefix
625do
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
632done
633
634# Be sure to have absolute paths.
635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
08cf8642 636 localstatedir libdir includedir oldincludedir infodir mandir
fbb86200 637do
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
644done
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.
649build=$build_alias
650host=$host_alias
651target=$target_alias
652
653# FIXME: To remove some day.
654if 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
662fi
663
664ac_tool_prefix=
665test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667test "$silent" = yes && exec 6>/dev/null
668
669
670# Find the source files, if location was not specified.
671if 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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
fbb86200 680echo 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
690else
691 ac_srcdir_defaulted=no
692fi
693if 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
701fi
08cf8642 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; }; }
fbb86200 705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706ac_env_build_alias_set=${build_alias+set}
707ac_env_build_alias_value=$build_alias
708ac_cv_env_build_alias_set=${build_alias+set}
709ac_cv_env_build_alias_value=$build_alias
710ac_env_host_alias_set=${host_alias+set}
711ac_env_host_alias_value=$host_alias
712ac_cv_env_host_alias_set=${host_alias+set}
713ac_cv_env_host_alias_value=$host_alias
714ac_env_target_alias_set=${target_alias+set}
715ac_env_target_alias_value=$target_alias
716ac_cv_env_target_alias_set=${target_alias+set}
717ac_cv_env_target_alias_value=$target_alias
718ac_env_CC_set=${CC+set}
719ac_env_CC_value=$CC
720ac_cv_env_CC_set=${CC+set}
721ac_cv_env_CC_value=$CC
722ac_env_CFLAGS_set=${CFLAGS+set}
723ac_env_CFLAGS_value=$CFLAGS
724ac_cv_env_CFLAGS_set=${CFLAGS+set}
725ac_cv_env_CFLAGS_value=$CFLAGS
726ac_env_LDFLAGS_set=${LDFLAGS+set}
727ac_env_LDFLAGS_value=$LDFLAGS
728ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729ac_cv_env_LDFLAGS_value=$LDFLAGS
730ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_env_CPPFLAGS_value=$CPPFLAGS
732ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734ac_env_CPP_set=${CPP+set}
735ac_env_CPP_value=$CPP
736ac_cv_env_CPP_set=${CPP+set}
737ac_cv_env_CPP_value=$CPP
738
739#
740# Report the --help message.
741#
742if 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
a9ec3280 746\`configure' configures Splint 3.1.2 to adapt to many kinds of systems.
fbb86200 747
748Usage: $0 [OPTION]... [VAR=VALUE]...
749
750To assign environment variables (e.g., CC, CFLAGS...), specify them as
751VAR=VALUE. See below for descriptions of some of the useful variables.
752
753Defaults for the options are specified in brackets.
754
755Configuration:
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
769Installation directories:
770 --prefix=PREFIX install architecture-independent files in PREFIX
08cf8642 771 [$ac_default_prefix]
fbb86200 772 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
08cf8642 773 [PREFIX]
fbb86200 774
775By default, \`make install' will install all the files in
776\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
777an installation prefix other than \`$ac_default_prefix' using \`--prefix',
778for instance \`--prefix=\$HOME'.
779
780For better control, use the options below.
781
782Fine 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
799Program 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
804System 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
809fi
810
811if test -n "$ac_init_help"; then
812 case $ac_init_help in
a9ec3280 813 short | recursive ) echo "Configuration of Splint 3.1.2:";;
fbb86200 814 esac
815 cat <<\_ACEOF
816
817Optional 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
823Optional 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
828Some 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
837Use these variables to override the choices made by `configure' or to help
838it to find libraries and programs with nonstandard names/locations.
839
840Report bugs to <splint-bug@splint.org>.
841_ACEOF
842fi
843
844if 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
851if 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'`
855else
856 ac_dir_suffix= ac_top_builddir=
857fi
858
859case $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 ;;
873esac
08cf8642 874
875# Do not use `cd foo && pwd` to compute absolute paths, because
876# the directories may not exist.
877case `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;;
885esac
886case $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;;
894esac
895case $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;;
903esac
904case $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;;
912esac
fbb86200 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 ||
08cf8642 923 test -f $ac_srcdir/configure.in; then
fbb86200 924 echo
925 $ac_configure --help
926 else
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928 fi
368f75ae 929 cd $ac_popdir
fbb86200 930 done
931fi
932
933test -n "$ac_init_help" && exit 0
934if $ac_init_version; then
935 cat <<\_ACEOF
a9ec3280 936Splint configure 3.1.2
08cf8642 937generated by GNU Autoconf 2.59
fbb86200 938
08cf8642 939Copyright (C) 2003 Free Software Foundation, Inc.
fbb86200 940This configure script is free software; the Free Software Foundation
941gives unlimited permission to copy, distribute and modify it.
942_ACEOF
943 exit 0
944fi
945exec 5>config.log
946cat >&5 <<_ACEOF
947This file contains any messages produced by compilers while
948running configure, to aid debugging if configure makes a mistake.
949
a9ec3280 950It was created by Splint $as_me 3.1.2, which was
08cf8642 951generated by GNU Autoconf 2.59. Invocation command line was
fbb86200 952
953 $ $0 $@
954
955_ACEOF
956{
957cat <<_ASUNAME
958## --------- ##
959## Platform. ##
960## --------- ##
961
962hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963uname -m = `(uname -m) 2>/dev/null || echo unknown`
964uname -r = `(uname -r) 2>/dev/null || echo unknown`
965uname -s = `(uname -s) 2>/dev/null || echo unknown`
966uname -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`
974hostinfo = `(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
981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982for as_dir in $PATH
983do
984 IFS=$as_save_IFS
985 test -z "$as_dir" && as_dir=.
986 echo "PATH: $as_dir"
987done
988
989} >&5
990
991cat >&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.
08cf8642 1003# Strip out --silent because we don't want to record it for future runs.
fbb86200 1004# Also quote any args containing shell meta-characters.
08cf8642 1005# Make two passes to allow for proper duplicate-argument suppression.
fbb86200 1006ac_configure_args=
08cf8642 1007ac_configure_args0=
1008ac_configure_args1=
fbb86200 1009ac_sep=
08cf8642 1010ac_must_keep_next=false
1011for ac_pass in 1 2
fbb86200 1012do
08cf8642 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
fbb86200 1048done
08cf8642 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; }
fbb86200 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.
1057trap 'exit_status=$?
1058 # Save into config.log some information that might help in debugging.
1059 {
1060 echo
08cf8642 1061
fbb86200 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 \
08cf8642 1074 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
fbb86200 1076 ;;
1077 *)
1078 sed -n \
08cf8642 1079 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
fbb86200 1080 ;;
1081 esac;
1082}
1083 echo
08cf8642 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
fbb86200 1113 if test -s confdefs.h; then
1114 cat <<\_ASBOX
1115## ----------- ##
1116## confdefs.h. ##
1117## ----------- ##
1118_ASBOX
1119 echo
08cf8642 1120 sed "/^$/d" confdefs.h | sort
fbb86200 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
08cf8642 1127 rm -f core *.core &&
fbb86200 1128 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129 exit $exit_status
1130 ' 0
1131for ac_signal in 1 2 13 15; do
1132 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133done
1134ac_signal=0
1135
1136# confdefs.h avoids OS command line length limits that DEFS can exceed.
1137rm -rf conftest* confdefs.h
1138# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139echo >confdefs.h
1140
1141# Predefined preprocessor variables.
1142
1143cat >>confdefs.h <<_ACEOF
1144#define PACKAGE_NAME "$PACKAGE_NAME"
1145_ACEOF
1146
1147
1148cat >>confdefs.h <<_ACEOF
1149#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150_ACEOF
1151
1152
1153cat >>confdefs.h <<_ACEOF
1154#define PACKAGE_VERSION "$PACKAGE_VERSION"
1155_ACEOF
1156
1157
1158cat >>confdefs.h <<_ACEOF
1159#define PACKAGE_STRING "$PACKAGE_STRING"
1160_ACEOF
1161
1162
1163cat >>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.
1170if test -z "$CONFIG_SITE"; then
1171 if test "x$prefix" != xNONE; then
1172 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
508533c5 1173 else
fbb86200 1174 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 fi
1176fi
1177for 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
1180echo "$as_me: loading site script $ac_site_file" >&6;}
1181 sed 's/^/| /' "$ac_site_file" >&5
1182 . "$ac_site_file"
1183 fi
1184done
1185
1186if 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
1191echo "$as_me: loading cache $cache_file" >&6;}
1192 case $cache_file in
1193 [\\/]* | ?:[\\/]* ) . $cache_file;;
1194 *) . ./$cache_file;;
1195 esac
1196 fi
1197else
1198 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1199echo "$as_me: creating cache $cache_file" >&6;}
1200 >$cache_file
1201fi
1202
1203# Check that the precious variables saved in the cache have kept the same
1204# value.
1205ac_cache_corrupted=false
1206for ac_var in `(set) 2>&1 |
08cf8642 1207 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
fbb86200 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
1215echo "$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
1219echo "$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
08cf8642 1224 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
fbb86200 1225echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
08cf8642 1226 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
fbb86200 1227echo "$as_me: former value: $ac_old_val" >&2;}
08cf8642 1228 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
fbb86200 1229echo "$as_me: current value: $ac_new_val" >&2;}
08cf8642 1230 ac_cache_corrupted=:
fbb86200 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'" ;;
508533c5 1243 esac
1244 fi
1245done
fbb86200 1246if $ac_cache_corrupted; then
1247 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1248echo "$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
1250echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1251 { (exit 1); exit 1; }; }
1252fi
1253
1254ac_ext=c
1255ac_cpp='$CPP $CPPFLAGS'
1256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258ac_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
08cf8642 1284
fbb86200 1285
1286
1287ac_aux_dir=
1288for 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
1302done
1303if test -z "$ac_aux_dir"; then
1304 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1305echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1306 { (exit 1); exit 1; }; }
1307fi
1308ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1309ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1310ac_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
1318echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1319 { (exit 1); exit 1; }; }
1320
1321echo "$as_me:$LINENO: checking build system type" >&5
1322echo $ECHO_N "checking build system type... $ECHO_C" >&6
1323if test "${ac_cv_build+set}" = set; then
1324 echo $ECHO_N "(cached) $ECHO_C" >&6
1325else
1326 ac_cv_build_alias=$build_alias
1327test -z "$ac_cv_build_alias" &&
1328 ac_cv_build_alias=`$ac_config_guess`
1329test -z "$ac_cv_build_alias" &&
1330 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1331echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1332 { (exit 1); exit 1; }; }
1333ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1334 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1335echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1336 { (exit 1); exit 1; }; }
1337
1338fi
1339echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1340echo "${ECHO_T}$ac_cv_build" >&6
1341build=$ac_cv_build
1342build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1343build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1344build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1345
1346
1347echo "$as_me:$LINENO: checking host system type" >&5
1348echo $ECHO_N "checking host system type... $ECHO_C" >&6
1349if test "${ac_cv_host+set}" = set; then
1350 echo $ECHO_N "(cached) $ECHO_C" >&6
1351else
1352 ac_cv_host_alias=$host_alias
1353test -z "$ac_cv_host_alias" &&
1354 ac_cv_host_alias=$ac_cv_build_alias
1355ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1356 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1357echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1358 { (exit 1); exit 1; }; }
1359
1360fi
1361echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1362echo "${ECHO_T}$ac_cv_host" >&6
1363host=$ac_cv_host
1364host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1365host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1366host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1367
1368
1369echo "$as_me:$LINENO: checking target system type" >&5
1370echo $ECHO_N "checking target system type... $ECHO_C" >&6
1371if test "${ac_cv_target+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1373else
1374 ac_cv_target_alias=$target_alias
1375test "x$ac_cv_target_alias" = "x" &&
1376 ac_cv_target_alias=$ac_cv_host_alias
1377ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1379echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1381
1382fi
1383echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1384echo "${ECHO_T}$ac_cv_target" >&6
1385target=$ac_cv_target
1386target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388target_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.
1393test -n "$target_alias" &&
1394 test "$program_prefix$program_suffix$program_transform_name" = \
1395 NONENONEs,x,x, &&
1396 program_prefix=${target_alias}-
1397
1398am__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"
08cf8642 1410# OS/2's system install, which has a completely different semantic
fbb86200 1411# ./install, which can be erroneously created by make from ./install.sh.
1412echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1413echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1414if test -z "$INSTALL"; then
1415if test "${ac_cv_path_install+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1417else
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419for as_dir in $PATH
1420do
1421 IFS=$as_save_IFS
1422 test -z "$as_dir" && as_dir=.
1423 # Account for people who put trailing slashes in PATH elements.
1424case $as_dir/ in
1425 ./ | .// | /cC/* | \
1426 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
08cf8642 1427 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
fbb86200 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
08cf8642 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
fbb86200 1449 done
1450 done
1451 ;;
1452esac
1453done
1454
1455
1456fi
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
1466fi
1467echo "$as_me:$LINENO: result: $INSTALL" >&5
1468echo "${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.
1472test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1473
1474test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1475
1476test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1477
1478echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1479echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1480# Just in case
1481sleep 1
1482echo 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).
1488if (
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
1503alias in your environment" >&5
1504echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1505alias in your environment" >&2;}
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 test "$2" = conftest.file
1510 )
1511then
1512 # Ok.
1513 :
1514else
1515 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1516Check your system clock" >&5
1517echo "$as_me: error: newly created file is older than distributed files!
1518Check your system clock" >&2;}
1519 { (exit 1); exit 1; }; }
1520fi
1521echo "$as_me:$LINENO: result: yes" >&5
1522echo "${ECHO_T}yes" >&6
1523test "$program_prefix" != NONE &&
1524 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1525# Use a double $ so make ignores it.
1526test "$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.
1530cat <<\_ACEOF >conftest.sed
1531s/[\\$]/&&/g;s/;s,x,x,$//
1532_ACEOF
1533program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1534rm conftest.sed
1535
1536
1537# expand $ac_aux_dir to an absolute path
1538am_aux_dir=`cd $ac_aux_dir && pwd`
1539
1540test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1541# Use eval to expand $SHELL
1542if eval "$MISSING --run true"; then
1543 am_missing_run="$MISSING --run "
1544else
1545 am_missing_run=
1546 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1547echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1548fi
1549
1550for ac_prog in gawk mawk nawk awk
1551do
1552 # Extract the first word of "$ac_prog", so it can be a program name with args.
1553set dummy $ac_prog; ac_word=$2
1554echo "$as_me:$LINENO: checking for $ac_word" >&5
1555echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556if test "${ac_cv_prog_AWK+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1558else
1559 if test -n "$AWK"; then
1560 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1561else
1562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563for as_dir in $PATH
1564do
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
1573done
1574done
1575
1576fi
1577fi
1578AWK=$ac_cv_prog_AWK
1579if test -n "$AWK"; then
1580 echo "$as_me:$LINENO: result: $AWK" >&5
1581echo "${ECHO_T}$AWK" >&6
1582else
1583 echo "$as_me:$LINENO: result: no" >&5
1584echo "${ECHO_T}no" >&6
1585fi
1586
1587 test -n "$AWK" && break
1588done
1589
08cf8642 1590echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1591echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1592set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
fbb86200 1593if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1595else
1596 cat >conftest.make <<\_ACEOF
1597all:
08cf8642 1598 @echo 'ac_maketemp="$(MAKE)"'
fbb86200 1599_ACEOF
1600# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1601eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1602if test -n "$ac_maketemp"; then
1603 eval ac_cv_prog_make_${ac_make}_set=yes
1604else
1605 eval ac_cv_prog_make_${ac_make}_set=no
1606fi
1607rm -f conftest.make
1608fi
1609if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1610 echo "$as_me:$LINENO: result: yes" >&5
1611echo "${ECHO_T}yes" >&6
1612 SET_MAKE=
1613else
1614 echo "$as_me:$LINENO: result: no" >&5
1615echo "${ECHO_T}no" >&6
1616 SET_MAKE="MAKE=${MAKE-make}"
1617fi
1618
1619 # test to see if srcdir already configured
1620if 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
1623echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1624 { (exit 1); exit 1; }; }
1625fi
1626
1627# Define the identity of the package.
1628 PACKAGE=splint
a9ec3280 1629 VERSION=3.1.2
fbb86200 1630
1631
1632# Some tools Automake needs.
1633
1634ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1635
1636
1637AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1638
1639
1640AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1641
1642
1643AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1644
1645
1646MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1647
1648
1649AMTAR=${AMTAR-"${am_missing_run}tar"}
1650
1651install_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.
1657if 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.
1660set dummy ${ac_tool_prefix}strip; ac_word=$2
1661echo "$as_me:$LINENO: checking for $ac_word" >&5
1662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663if test "${ac_cv_prog_STRIP+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1665else
1666 if test -n "$STRIP"; then
1667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1668else
1669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670for as_dir in $PATH
1671do
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
1680done
1681done
1682
1683fi
1684fi
1685STRIP=$ac_cv_prog_STRIP
1686if test -n "$STRIP"; then
1687 echo "$as_me:$LINENO: result: $STRIP" >&5
1688echo "${ECHO_T}$STRIP" >&6
1689else
1690 echo "$as_me:$LINENO: result: no" >&5
1691echo "${ECHO_T}no" >&6
1692fi
1693
1694fi
1695if 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.
1698set dummy strip; ac_word=$2
1699echo "$as_me:$LINENO: checking for $ac_word" >&5
1700echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1703else
1704 if test -n "$ac_ct_STRIP"; then
1705 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1706else
1707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708for as_dir in $PATH
1709do
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
1718done
1719done
1720
1721 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1722fi
1723fi
1724ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1725if test -n "$ac_ct_STRIP"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1727echo "${ECHO_T}$ac_ct_STRIP" >&6
1728else
1729 echo "$as_me:$LINENO: result: no" >&5
1730echo "${ECHO_T}no" >&6
1731fi
1732
1733 STRIP=$ac_ct_STRIP
1734else
1735 STRIP="$ac_cv_prog_STRIP"
1736fi
1737
1738fi
1739INSTALL_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.
08cf8642 1748 ac_config_headers="$ac_config_headers config.h:config.hin"
fbb86200 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
1760ac_ext=c
1761ac_cpp='$CPP $CPPFLAGS'
1762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765if 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.
1767set dummy ${ac_tool_prefix}gcc; ac_word=$2
1768echo "$as_me:$LINENO: checking for $ac_word" >&5
1769echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770if test "${ac_cv_prog_CC+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772else
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC="$CC" # Let the user override the test.
1775else
1776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777for as_dir in $PATH
1778do
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
1787done
1788done
1789
1790fi
1791fi
1792CC=$ac_cv_prog_CC
1793if test -n "$CC"; then
1794 echo "$as_me:$LINENO: result: $CC" >&5
1795echo "${ECHO_T}$CC" >&6
1796else
1797 echo "$as_me:$LINENO: result: no" >&5
1798echo "${ECHO_T}no" >&6
1799fi
1800
1801fi
1802if 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.
1805set dummy gcc; ac_word=$2
1806echo "$as_me:$LINENO: checking for $ac_word" >&5
1807echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1810else
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1813else
1814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815for as_dir in $PATH
1816do
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
1825done
1826done
1827
1828fi
1829fi
1830ac_ct_CC=$ac_cv_prog_ac_ct_CC
1831if test -n "$ac_ct_CC"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1833echo "${ECHO_T}$ac_ct_CC" >&6
1834else
1835 echo "$as_me:$LINENO: result: no" >&5
1836echo "${ECHO_T}no" >&6
1837fi
1838
1839 CC=$ac_ct_CC
1840else
1841 CC="$ac_cv_prog_CC"
1842fi
1843
1844if 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.
1847set dummy ${ac_tool_prefix}cc; ac_word=$2
1848echo "$as_me:$LINENO: checking for $ac_word" >&5
1849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850if test "${ac_cv_prog_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852else
1853 if test -n "$CC"; then
1854 ac_cv_prog_CC="$CC" # Let the user override the test.
1855else
1856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857for as_dir in $PATH
1858do
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
1867done
1868done
1869
1870fi
1871fi
1872CC=$ac_cv_prog_CC
1873if test -n "$CC"; then
1874 echo "$as_me:$LINENO: result: $CC" >&5
1875echo "${ECHO_T}$CC" >&6
1876else
1877 echo "$as_me:$LINENO: result: no" >&5
1878echo "${ECHO_T}no" >&6
1879fi
1880
1881fi
1882if 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.
1885set dummy cc; ac_word=$2
1886echo "$as_me:$LINENO: checking for $ac_word" >&5
1887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890else
1891 if test -n "$ac_ct_CC"; then
1892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1893else
1894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895for as_dir in $PATH
1896do
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
1905done
1906done
1907
1908fi
1909fi
1910ac_ct_CC=$ac_cv_prog_ac_ct_CC
1911if test -n "$ac_ct_CC"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1913echo "${ECHO_T}$ac_ct_CC" >&6
1914else
1915 echo "$as_me:$LINENO: result: no" >&5
1916echo "${ECHO_T}no" >&6
1917fi
1918
1919 CC=$ac_ct_CC
1920else
1921 CC="$ac_cv_prog_CC"
1922fi
1923
1924fi
1925if test -z "$CC"; then
1926 # Extract the first word of "cc", so it can be a program name with args.
1927set dummy cc; ac_word=$2
1928echo "$as_me:$LINENO: checking for $ac_word" >&5
1929echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930if test "${ac_cv_prog_CC+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932else
1933 if test -n "$CC"; then
1934 ac_cv_prog_CC="$CC" # Let the user override the test.
1935else
1936 ac_prog_rejected=no
1937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH
1939do
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
1952done
1953done
1954
1955if 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
08cf8642 1964 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fbb86200 1965 fi
1966fi
1967fi
1968fi
1969CC=$ac_cv_prog_CC
1970if test -n "$CC"; then
1971 echo "$as_me:$LINENO: result: $CC" >&5
1972echo "${ECHO_T}$CC" >&6
1973else
1974 echo "$as_me:$LINENO: result: no" >&5
1975echo "${ECHO_T}no" >&6
1976fi
1977
1978fi
1979if 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.
1984set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1985echo "$as_me:$LINENO: checking for $ac_word" >&5
1986echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987if test "${ac_cv_prog_CC+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1989else
1990 if test -n "$CC"; then
1991 ac_cv_prog_CC="$CC" # Let the user override the test.
1992else
1993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994for as_dir in $PATH
1995do
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
2004done
2005done
2006
2007fi
2008fi
2009CC=$ac_cv_prog_CC
2010if test -n "$CC"; then
2011 echo "$as_me:$LINENO: result: $CC" >&5
2012echo "${ECHO_T}$CC" >&6
2013else
2014 echo "$as_me:$LINENO: result: no" >&5
2015echo "${ECHO_T}no" >&6
2016fi
2017
2018 test -n "$CC" && break
2019 done
2020fi
2021if test -z "$CC"; then
2022 ac_ct_CC=$CC
2023 for ac_prog in cl
2024do
2025 # Extract the first word of "$ac_prog", so it can be a program name with args.
2026set dummy $ac_prog; ac_word=$2
2027echo "$as_me:$LINENO: checking for $ac_word" >&5
2028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2031else
2032 if test -n "$ac_ct_CC"; then
2033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2034else
2035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036for as_dir in $PATH
2037do
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
2046done
2047done
2048
2049fi
2050fi
2051ac_ct_CC=$ac_cv_prog_ac_ct_CC
2052if test -n "$ac_ct_CC"; then
2053 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2054echo "${ECHO_T}$ac_ct_CC" >&6
2055else
2056 echo "$as_me:$LINENO: result: no" >&5
2057echo "${ECHO_T}no" >&6
2058fi
2059
2060 test -n "$ac_ct_CC" && break
2061done
2062
2063 CC=$ac_ct_CC
2064fi
2065
2066fi
2067
2068
08cf8642 2069test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2070See \`config.log' for more details." >&5
2071echo "$as_me: error: no acceptable C compiler found in \$PATH
2072See \`config.log' for more details." >&2;}
fbb86200 2073 { (exit 1); exit 1; }; }
2074
2075# Provide some information about the compiler.
2076echo "$as_me:$LINENO:" \
2077 "checking for C compiler version" >&5
2078ac_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
2095cat >conftest.$ac_ext <<_ACEOF
08cf8642 2096/* confdefs.h. */
2097_ACEOF
2098cat confdefs.h >>conftest.$ac_ext
2099cat >>conftest.$ac_ext <<_ACEOF
2100/* end confdefs.h. */
2101
fbb86200 2102int
2103main ()
2104{
2105
2106 ;
2107 return 0;
2108}
2109_ACEOF
2110ac_clean_files_save=$ac_clean_files
08cf8642 2111ac_clean_files="$ac_clean_files a.out a.exe b.out"
fbb86200 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.
08cf8642 2115echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2116echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
fbb86200 2117ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2118if { (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.
2129ac_cv_exeext=
08cf8642 2130# b.out is created by i960 compilers.
2131for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2132do
2133 test -f "$ac_file" || continue
fbb86200 2134 case $ac_file in
08cf8642 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;;
fbb86200 2153 esac
2154done
2155else
2156 echo "$as_me: failed program was:" >&5
08cf8642 2157sed 's/^/| /' conftest.$ac_ext >&5
2158
2159{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2160See \`config.log' for more details." >&5
2161echo "$as_me: error: C compiler cannot create executables
2162See \`config.log' for more details." >&2;}
fbb86200 2163 { (exit 77); exit 77; }; }
2164fi
2165
2166ac_exeext=$ac_cv_exeext
2167echo "$as_me:$LINENO: result: $ac_file" >&5
2168echo "${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.
2172echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2173echo $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.
2176if 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.
08cf8642 2189If you meant to cross compile, use \`--host'.
2190See \`config.log' for more details." >&5
fbb86200 2191echo "$as_me: error: cannot run C compiled programs.
08cf8642 2192If you meant to cross compile, use \`--host'.
2193See \`config.log' for more details." >&2;}
fbb86200 2194 { (exit 1); exit 1; }; }
2195 fi
2196 fi
2197fi
2198echo "$as_me:$LINENO: result: yes" >&5
2199echo "${ECHO_T}yes" >&6
2200
08cf8642 2201rm -f a.out a.exe conftest$ac_cv_exeext b.out
fbb86200 2202ac_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.
2205echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2206echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2207echo "$as_me:$LINENO: result: $cross_compiling" >&5
2208echo "${ECHO_T}$cross_compiling" >&6
2209
2210echo "$as_me:$LINENO: checking for suffix of executables" >&5
2211echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2212if { (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'.
08cf8642 2221for ac_file in conftest.exe conftest conftest.*; do
2222 test -f "$ac_file" || continue
fbb86200 2223 case $ac_file in
08cf8642 2224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
fbb86200 2225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
08cf8642 2226 export ac_cv_exeext
2227 break;;
fbb86200 2228 * ) break;;
2229 esac
2230done
2231else
08cf8642 2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2233See \`config.log' for more details." >&5
2234echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2235See \`config.log' for more details." >&2;}
fbb86200 2236 { (exit 1); exit 1; }; }
2237fi
2238
2239rm -f conftest$ac_cv_exeext
2240echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2241echo "${ECHO_T}$ac_cv_exeext" >&6
2242
2243rm -f conftest.$ac_ext
2244EXEEXT=$ac_cv_exeext
2245ac_exeext=$EXEEXT
2246echo "$as_me:$LINENO: checking for suffix of object files" >&5
2247echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2248if test "${ac_cv_objext+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2250else
2251 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2252/* confdefs.h. */
2253_ACEOF
2254cat confdefs.h >>conftest.$ac_ext
2255cat >>conftest.$ac_ext <<_ACEOF
2256/* end confdefs.h. */
2257
fbb86200 2258int
2259main ()
2260{
2261
2262 ;
2263 return 0;
2264}
2265_ACEOF
2266rm -f conftest.o conftest.obj
2267if { (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
08cf8642 2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
fbb86200 2275 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2276 break;;
2277 esac
2278done
2279else
2280 echo "$as_me: failed program was:" >&5
08cf8642 2281sed 's/^/| /' conftest.$ac_ext >&5
2282
2283{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2284See \`config.log' for more details." >&5
2285echo "$as_me: error: cannot compute suffix of object files: cannot compile
2286See \`config.log' for more details." >&2;}
fbb86200 2287 { (exit 1); exit 1; }; }
2288fi
2289
2290rm -f conftest.$ac_cv_objext conftest.$ac_ext
2291fi
2292echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2293echo "${ECHO_T}$ac_cv_objext" >&6
2294OBJEXT=$ac_cv_objext
2295ac_objext=$OBJEXT
2296echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2297echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2298if test "${ac_cv_c_compiler_gnu+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2300else
2301 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2302/* confdefs.h. */
2303_ACEOF
2304cat confdefs.h >>conftest.$ac_ext
2305cat >>conftest.$ac_ext <<_ACEOF
2306/* end confdefs.h. */
2307
fbb86200 2308int
2309main ()
2310{
2311#ifndef __GNUC__
2312 choke me
2313#endif
2314
2315 ;
2316 return 0;
2317}
2318_ACEOF
2319rm -f conftest.$ac_objext
2320if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 2321 (eval $ac_compile) 2>conftest.er1
fbb86200 2322 ac_status=$?
08cf8642 2323 grep -v '^ *+' conftest.er1 >conftest.err
2324 rm -f conftest.er1
2325 cat conftest.err >&5
fbb86200 2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
2342else
2343 echo "$as_me: failed program was:" >&5
08cf8642 2344sed 's/^/| /' conftest.$ac_ext >&5
2345
fbb86200 2346ac_compiler_gnu=no
2347fi
08cf8642 2348rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2349ac_cv_c_compiler_gnu=$ac_compiler_gnu
2350
2351fi
2352echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2353echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2354GCC=`test $ac_compiler_gnu = yes && echo yes`
2355ac_test_CFLAGS=${CFLAGS+set}
2356ac_save_CFLAGS=$CFLAGS
2357CFLAGS="-g"
2358echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2359echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2360if test "${ac_cv_prog_cc_g+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2362else
2363 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2364/* confdefs.h. */
2365_ACEOF
2366cat confdefs.h >>conftest.$ac_ext
2367cat >>conftest.$ac_ext <<_ACEOF
2368/* end confdefs.h. */
2369
fbb86200 2370int
2371main ()
2372{
2373
2374 ;
2375 return 0;
2376}
2377_ACEOF
2378rm -f conftest.$ac_objext
2379if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 2380 (eval $ac_compile) 2>conftest.er1
fbb86200 2381 ac_status=$?
08cf8642 2382 grep -v '^ *+' conftest.er1 >conftest.err
2383 rm -f conftest.er1
2384 cat conftest.err >&5
fbb86200 2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
2401else
2402 echo "$as_me: failed program was:" >&5
08cf8642 2403sed 's/^/| /' conftest.$ac_ext >&5
2404
fbb86200 2405ac_cv_prog_cc_g=no
2406fi
08cf8642 2407rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2408fi
2409echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2410echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2411if test "$ac_test_CFLAGS" = set; then
2412 CFLAGS=$ac_save_CFLAGS
2413elif 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
2419else
2420 if test "$GCC" = yes; then
2421 CFLAGS="-O2"
2422 else
2423 CFLAGS=
2424 fi
2425fi
08cf8642 2426echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2427echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2428if test "${ac_cv_prog_cc_stdc+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2430else
2431 ac_cv_prog_cc_stdc=no
2432ac_save_CC=$CC
2433cat >conftest.$ac_ext <<_ACEOF
2434/* confdefs.h. */
2435_ACEOF
2436cat confdefs.h >>conftest.$ac_ext
2437cat >>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. */
2444struct buf { int x; };
2445FILE * (*rcsopen) (struct buf *, struct stat *, int);
2446static char *e (p, i)
2447 char **p;
2448 int i;
2449{
2450 return p[i];
2451}
2452static 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. */
2469int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2470
2471int test (int i, double x);
2472struct s1 {int (*f) (int a);};
2473struct s2 {int (*f) (double a);};
2474int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2475int argc;
2476char **argv;
2477int
2478main ()
2479{
2480return 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__
2492for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2493do
2494 CC="$ac_save_CC $ac_arg"
2495 rm -f conftest.$ac_objext
2496if { (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
2518break
2519else
2520 echo "$as_me: failed program was:" >&5
2521sed 's/^/| /' conftest.$ac_ext >&5
2522
2523fi
2524rm -f conftest.err conftest.$ac_objext
2525done
2526rm -f conftest.$ac_ext conftest.$ac_objext
2527CC=$ac_save_CC
2528
2529fi
2530
2531case "x$ac_cv_prog_cc_stdc" in
2532 x|xno)
2533 echo "$as_me:$LINENO: result: none needed" >&5
2534echo "${ECHO_T}none needed" >&6 ;;
2535 *)
2536 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2537echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2538 CC="$CC $ac_cv_prog_cc_stdc" ;;
2539esac
2540
fbb86200 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.
2545cat >conftest.$ac_ext <<_ACEOF
2546#ifndef __cplusplus
2547 choke me
2548#endif
2549_ACEOF
2550rm -f conftest.$ac_objext
2551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 2552 (eval $ac_compile) 2>conftest.er1
fbb86200 2553 ac_status=$?
08cf8642 2554 grep -v '^ *+' conftest.er1 >conftest.err
2555 rm -f conftest.er1
2556 cat conftest.err >&5
fbb86200 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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 \
08cf8642 2573 '' \
fbb86200 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);'
2579do
2580 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2581/* confdefs.h. */
2582_ACEOF
2583cat confdefs.h >>conftest.$ac_ext
2584cat >>conftest.$ac_ext <<_ACEOF
2585/* end confdefs.h. */
368f75ae 2586$ac_declaration
08cf8642 2587#include <stdlib.h>
fbb86200 2588int
2589main ()
2590{
2591exit (42);
2592 ;
2593 return 0;
2594}
2595_ACEOF
2596rm -f conftest.$ac_objext
2597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 2598 (eval $ac_compile) 2>conftest.er1
fbb86200 2599 ac_status=$?
08cf8642 2600 grep -v '^ *+' conftest.er1 >conftest.err
2601 rm -f conftest.er1
2602 cat conftest.err >&5
fbb86200 2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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 :
2619else
2620 echo "$as_me: failed program was:" >&5
08cf8642 2621sed 's/^/| /' conftest.$ac_ext >&5
2622
fbb86200 2623continue
2624fi
08cf8642 2625rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2626 cat >conftest.$ac_ext <<_ACEOF
08cf8642 2627/* confdefs.h. */
2628_ACEOF
2629cat confdefs.h >>conftest.$ac_ext
2630cat >>conftest.$ac_ext <<_ACEOF
2631/* end confdefs.h. */
fbb86200 2632$ac_declaration
fbb86200 2633int
2634main ()
2635{
2636exit (42);
2637 ;
2638 return 0;
2639}
2640_ACEOF
2641rm -f conftest.$ac_objext
2642if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 2643 (eval $ac_compile) 2>conftest.er1
fbb86200 2644 ac_status=$?
08cf8642 2645 grep -v '^ *+' conftest.er1 >conftest.err
2646 rm -f conftest.er1
2647 cat conftest.err >&5
fbb86200 2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
2664else
2665 echo "$as_me: failed program was:" >&5
08cf8642 2666sed 's/^/| /' conftest.$ac_ext >&5
2667
fbb86200 2668fi
08cf8642 2669rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2670done
2671rm -f conftest*
2672if test -n "$ac_declaration"; then
2673 echo '#ifdef __cplusplus' >>confdefs.h
2674 echo $ac_declaration >>confdefs.h
2675 echo '#endif' >>confdefs.h
2676fi
2677
2678else
2679 echo "$as_me: failed program was:" >&5
08cf8642 2680sed 's/^/| /' conftest.$ac_ext >&5
2681
fbb86200 2682fi
08cf8642 2683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 2684ac_ext=c
2685ac_cpp='$CPP $CPPFLAGS'
2686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688ac_compiler_gnu=$ac_cv_c_compiler_gnu
2689rm -f .deps 2>/dev/null
2690mkdir .deps 2>/dev/null
2691if test -d .deps; then
2692 DEPDIR=.deps
2693else
2694 # MS-DOS does not allow filenames that begin with a dot.
2695 DEPDIR=_deps
2696fi
2697rmdir .deps 2>/dev/null
2698
2699
08cf8642 2700 ac_config_commands="$ac_config_commands depfiles"
fbb86200 2701
2702
2703am_make=${MAKE-make}
2704cat > confinc << 'END'
2705doit:
2706 @echo done
2707END
2708# If we don't find an include directive, just comment out the code.
2709echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2710echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2711am__include="#"
2712am__quote=
2713_am_result=none
2714# First try GNU make style include.
2715echo "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'.
2721if 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
2725fi
2726# Now try BSD make style include.
2727if 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
2734fi
2735
2736
2737echo "$as_me:$LINENO: result: $_am_result" >&5
2738echo "${ECHO_T}$_am_result" >&6
2739rm -f confinc confmf
2740
2741# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2742if test "${enable_dependency_tracking+set}" = set; then
2743 enableval="$enable_dependency_tracking"
2744
2745fi;
2746if test "x$enable_dependency_tracking" != xno; then
2747 am_depcomp="$ac_aux_dir/depcomp"
2748 AMDEPBACKSLASH='\'
2749fi
2750
2751
2752if test "x$enable_dependency_tracking" != xno; then
2753 AMDEP_TRUE=
2754 AMDEP_FALSE='#'
2755else
2756 AMDEP_TRUE='#'
2757 AMDEP_FALSE=
2758fi
2759
2760
2761
2762
2763depcc="$CC" am_compiler_list=
2764
2765echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2766echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2767if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2769else
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
2822else
2823 am_cv_CC_dependencies_compiler_type=none
2824fi
2825
2826fi
2827echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2828echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2829CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2830
2831
2832ac_ext=c
2833ac_cpp='$CPP $CPPFLAGS'
2834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2838echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2839# On Suns, sometimes $CPP names a directory.
2840if test -n "$CPP" && test -d "$CPP"; then
2841 CPP=
2842fi
2843if test -z "$CPP"; then
2844 if test "${ac_cv_prog_CPP+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2846else
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
2851for ac_c_preproc_warn_flag in '' yes
2852do
2853 # Use a header file that comes with gcc, so configuring glibc
2854 # with a fresh cross-compiler works.
08cf8642 2855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2856 # <limits.h> exists even on freestanding compilers.
fbb86200 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
08cf8642 2860/* confdefs.h. */
2861_ACEOF
2862cat confdefs.h >>conftest.$ac_ext
2863cat >>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
fbb86200 2871_ACEOF
2872if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2874 ac_status=$?
08cf8642 2875 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 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
08cf8642 2882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
fbb86200 2883 else
2884 ac_cpp_err=
2885 fi
2886else
2887 ac_cpp_err=yes
2888fi
2889if test -z "$ac_cpp_err"; then
2890 :
2891else
2892 echo "$as_me: failed program was:" >&5
08cf8642 2893sed 's/^/| /' conftest.$ac_ext >&5
2894
fbb86200 2895 # Broken: fails on valid input.
2896continue
2897fi
2898rm -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
08cf8642 2903/* confdefs.h. */
2904_ACEOF
2905cat confdefs.h >>conftest.$ac_ext
2906cat >>conftest.$ac_ext <<_ACEOF
2907/* end confdefs.h. */
fbb86200 2908#include <ac_nonexistent.h>
2909_ACEOF
2910if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2912 ac_status=$?
08cf8642 2913 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 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
08cf8642 2920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
fbb86200 2921 else
2922 ac_cpp_err=
2923 fi
2924else
2925 ac_cpp_err=yes
2926fi
2927if test -z "$ac_cpp_err"; then
2928 # Broken: success on invalid input.
2929continue
2930else
2931 echo "$as_me: failed program was:" >&5
08cf8642 2932sed 's/^/| /' conftest.$ac_ext >&5
2933
fbb86200 2934 # Passes both tests.
2935ac_preproc_ok=:
2936break
2937fi
2938rm -f conftest.err conftest.$ac_ext
2939
2940done
2941# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2942rm -f conftest.err conftest.$ac_ext
2943if $ac_preproc_ok; then
2944 break
2945fi
2946
2947 done
2948 ac_cv_prog_CPP=$CPP
2949
2950fi
2951 CPP=$ac_cv_prog_CPP
2952else
2953 ac_cv_prog_CPP=$CPP
2954fi
2955echo "$as_me:$LINENO: result: $CPP" >&5
2956echo "${ECHO_T}$CPP" >&6
2957ac_preproc_ok=false
2958for ac_c_preproc_warn_flag in '' yes
2959do
2960 # Use a header file that comes with gcc, so configuring glibc
2961 # with a fresh cross-compiler works.
08cf8642 2962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2963 # <limits.h> exists even on freestanding compilers.
fbb86200 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
08cf8642 2967/* confdefs.h. */
2968_ACEOF
2969cat confdefs.h >>conftest.$ac_ext
2970cat >>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
fbb86200 2978_ACEOF
2979if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2981 ac_status=$?
08cf8642 2982 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 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
08cf8642 2989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
fbb86200 2990 else
2991 ac_cpp_err=
2992 fi
2993else
2994 ac_cpp_err=yes
2995fi
2996if test -z "$ac_cpp_err"; then
2997 :
2998else
2999 echo "$as_me: failed program was:" >&5
08cf8642 3000sed 's/^/| /' conftest.$ac_ext >&5
3001
fbb86200 3002 # Broken: fails on valid input.
3003continue
3004fi
3005rm -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
08cf8642 3010/* confdefs.h. */
3011_ACEOF
3012cat confdefs.h >>conftest.$ac_ext
3013cat >>conftest.$ac_ext <<_ACEOF
3014/* end confdefs.h. */
fbb86200 3015#include <ac_nonexistent.h>
3016_ACEOF
3017if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3019 ac_status=$?
08cf8642 3020 grep -v '^ *+' conftest.er1 >conftest.err
fbb86200 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
08cf8642 3027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
fbb86200 3028 else
3029 ac_cpp_err=
3030 fi
3031else
3032 ac_cpp_err=yes
3033fi
3034if test -z "$ac_cpp_err"; then
3035 # Broken: success on invalid input.
3036continue
3037else
3038 echo "$as_me: failed program was:" >&5
08cf8642 3039sed 's/^/| /' conftest.$ac_ext >&5
3040
fbb86200 3041 # Passes both tests.
3042ac_preproc_ok=:
3043break
3044fi
3045rm -f conftest.err conftest.$ac_ext
3046
3047done
3048# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3049rm -f conftest.err conftest.$ac_ext
3050if $ac_preproc_ok; then
3051 :
3052else
08cf8642 3053 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3054See \`config.log' for more details." >&5
3055echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3056See \`config.log' for more details." >&2;}
fbb86200 3057 { (exit 1); exit 1; }; }
3058fi
3059
3060ac_ext=c
3061ac_cpp='$CPP $CPPFLAGS'
3062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065
3066
3067for ac_prog in flex lex
3068do
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070set dummy $ac_prog; ac_word=$2
3071echo "$as_me:$LINENO: checking for $ac_word" >&5
3072echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073if test "${ac_cv_prog_LEX+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075else
3076 if test -n "$LEX"; then
3077 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3078else
3079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080for as_dir in $PATH
3081do
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
3090done
3091done
3092
3093fi
3094fi
3095LEX=$ac_cv_prog_LEX
3096if test -n "$LEX"; then
3097 echo "$as_me:$LINENO: result: $LEX" >&5
3098echo "${ECHO_T}$LEX" >&6
3099else
3100 echo "$as_me:$LINENO: result: no" >&5
3101echo "${ECHO_T}no" >&6
3102fi
3103
3104 test -n "$LEX" && break
3105done
3106test -n "$LEX" || LEX=":"
3107
3108if test -z "$LEXLIB"
3109then
3110 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3111echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3112if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3114else
3115 ac_check_lib_save_LIBS=$LIBS
3116LIBS="-lfl $LIBS"
3117cat >conftest.$ac_ext <<_ACEOF
08cf8642 3118/* confdefs.h. */
3119_ACEOF
3120cat confdefs.h >>conftest.$ac_ext
3121cat >>conftest.$ac_ext <<_ACEOF
3122/* end confdefs.h. */
fbb86200 3123
3124/* Override any gcc2 internal prototype to avoid an error. */
3125#ifdef __cplusplus
3126extern "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. */
3130char yywrap ();
fbb86200 3131int
3132main ()
3133{
3134yywrap ();
3135 ;
3136 return 0;
3137}
3138_ACEOF
3139rm -f conftest.$ac_objext conftest$ac_exeext
3140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
08cf8642 3141 (eval $ac_link) 2>conftest.er1
fbb86200 3142 ac_status=$?
08cf8642 3143 grep -v '^ *+' conftest.er1 >conftest.err
3144 rm -f conftest.er1
3145 cat conftest.err >&5
fbb86200 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
3162else
3163 echo "$as_me: failed program was:" >&5
08cf8642 3164sed 's/^/| /' conftest.$ac_ext >&5
3165
fbb86200 3166ac_cv_lib_fl_yywrap=no
3167fi
08cf8642 3168rm -f conftest.err conftest.$ac_objext \
3169 conftest$ac_exeext conftest.$ac_ext
fbb86200 3170LIBS=$ac_check_lib_save_LIBS
3171fi
3172echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3173echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3174if test $ac_cv_lib_fl_yywrap = yes; then
3175 LEXLIB="-lfl"
3176else
3177 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3178echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3179if test "${ac_cv_lib_l_yywrap+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3181else
3182 ac_check_lib_save_LIBS=$LIBS
3183LIBS="-ll $LIBS"
3184cat >conftest.$ac_ext <<_ACEOF
08cf8642 3185/* confdefs.h. */
3186_ACEOF
3187cat confdefs.h >>conftest.$ac_ext
3188cat >>conftest.$ac_ext <<_ACEOF
3189/* end confdefs.h. */
fbb86200 3190
3191/* Override any gcc2 internal prototype to avoid an error. */
3192#ifdef __cplusplus
3193extern "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. */
3197char yywrap ();
fbb86200 3198int
3199main ()
3200{
3201yywrap ();
3202 ;
3203 return 0;
3204}
3205_ACEOF
3206rm -f conftest.$ac_objext conftest$ac_exeext
3207if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
08cf8642 3208 (eval $ac_link) 2>conftest.er1
fbb86200 3209 ac_status=$?
08cf8642 3210 grep -v '^ *+' conftest.er1 >conftest.err
3211 rm -f conftest.er1
3212 cat conftest.err >&5
fbb86200 3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
3229else
3230 echo "$as_me: failed program was:" >&5
08cf8642 3231sed 's/^/| /' conftest.$ac_ext >&5
3232
fbb86200 3233ac_cv_lib_l_yywrap=no
3234fi
08cf8642 3235rm -f conftest.err conftest.$ac_objext \
3236 conftest$ac_exeext conftest.$ac_ext
fbb86200 3237LIBS=$ac_check_lib_save_LIBS
3238fi
3239echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3240echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3241if test $ac_cv_lib_l_yywrap = yes; then
3242 LEXLIB="-ll"
3243fi
3244
3245fi
3246
3247fi
3248
3249if test "x$LEX" != "x:"; then
3250 echo "$as_me:$LINENO: checking lex output file root" >&5
3251echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3252if test "${ac_cv_prog_lex_root+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3254else
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.
3257cat >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); }
3266if test -f lex.yy.c; then
3267 ac_cv_prog_lex_root=lex.yy
3268elif test -f lexyy.c; then
3269 ac_cv_prog_lex_root=lexyy
3270else
3271 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3272echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3273 { (exit 1); exit 1; }; }
3274fi
3275fi
3276echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3277echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3278rm -f conftest.l
3279LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3280
3281echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3282echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3283if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3285else
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.
3289ac_cv_prog_lex_yytext_pointer=no
3290echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3291ac_save_LIBS=$LIBS
3292LIBS="$LIBS $LEXLIB"
3293cat >conftest.$ac_ext <<_ACEOF
3294`cat $LEX_OUTPUT_ROOT.c`
3295_ACEOF
3296rm -f conftest.$ac_objext conftest$ac_exeext
3297if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
08cf8642 3298 (eval $ac_link) 2>conftest.er1
fbb86200 3299 ac_status=$?
08cf8642 3300 grep -v '^ *+' conftest.er1 >conftest.err
3301 rm -f conftest.er1
3302 cat conftest.err >&5
fbb86200 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
3319else
3320 echo "$as_me: failed program was:" >&5
08cf8642 3321sed 's/^/| /' conftest.$ac_ext >&5
3322
fbb86200 3323fi
08cf8642 3324rm -f conftest.err conftest.$ac_objext \
3325 conftest$ac_exeext conftest.$ac_ext
fbb86200 3326LIBS=$ac_save_LIBS
3327rm -f "${LEX_OUTPUT_ROOT}.c"
3328
3329fi
3330echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3331echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3332if test $ac_cv_prog_lex_yytext_pointer = yes; then
3333
3334cat >>confdefs.h <<\_ACEOF
3335#define YYTEXT_POINTER 1
3336_ACEOF
3337
3338fi
3339
3340fi
3341if test "$LEX" = :; then
3342 LEX=${am_missing_run}flex
3343fi
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"
08cf8642 3355# OS/2's system install, which has a completely different semantic
fbb86200 3356# ./install, which can be erroneously created by make from ./install.sh.
3357echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3358echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3359if test -z "$INSTALL"; then
3360if test "${ac_cv_path_install+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3362else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364for as_dir in $PATH
3365do
3366 IFS=$as_save_IFS
3367 test -z "$as_dir" && as_dir=.
3368 # Account for people who put trailing slashes in PATH elements.
3369case $as_dir/ in
3370 ./ | .// | /cC/* | \
3371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
08cf8642 3372 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
fbb86200 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
08cf8642 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
fbb86200 3394 done
3395 done
3396 ;;
3397esac
3398done
3399
3400
3401fi
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
3411fi
3412echo "$as_me:$LINENO: result: $INSTALL" >&5
3413echo "${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.
3417test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3418
3419test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3420
3421test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3422
08cf8642 3423echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3424echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3425set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
fbb86200 3426if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3427 echo $ECHO_N "(cached) $ECHO_C" >&6
3428else
3429 cat >conftest.make <<\_ACEOF
3430all:
08cf8642 3431 @echo 'ac_maketemp="$(MAKE)"'
fbb86200 3432_ACEOF
3433# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3434eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3435if test -n "$ac_maketemp"; then
3436 eval ac_cv_prog_make_${ac_make}_set=yes
3437else
3438 eval ac_cv_prog_make_${ac_make}_set=no
3439fi
3440rm -f conftest.make
3441fi
3442if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444echo "${ECHO_T}yes" >&6
3445 SET_MAKE=
3446else
3447 echo "$as_me:$LINENO: result: no" >&5
3448echo "${ECHO_T}no" >&6
3449 SET_MAKE="MAKE=${MAKE-make}"
3450fi
3451
3452echo "$as_me:$LINENO: checking whether ln -s works" >&5
3453echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3454LN_S=$as_ln_s
3455if test "$LN_S" = "ln -s"; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457echo "${ECHO_T}yes" >&6
3458else
3459 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3460echo "${ECHO_T}no, using $LN_S" >&6
3461fi
3462
3463# Extract the first word of "bison", so it can be a program name with args.
3464set dummy bison; ac_word=$2
3465echo "$as_me:$LINENO: checking for $ac_word" >&5
3466echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467if test "${ac_cv_prog_BISON+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469else
3470 if test -n "$BISON"; then
3471 ac_cv_prog_BISON="$BISON" # Let the user override the test.
3472else
3473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474for as_dir in $PATH
3475do
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
3484done
3485done
3486
3487 test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="no"
3488fi
3489fi
3490BISON=$ac_cv_prog_BISON
3491if test -n "$BISON"; then
3492 echo "$as_me:$LINENO: result: $BISON" >&5
3493echo "${ECHO_T}$BISON" >&6
3494else
3495 echo "$as_me:$LINENO: result: no" >&5
3496echo "${ECHO_T}no" >&6
3497fi
3498
3499# Extract the first word of "grep", so it can be a program name with args.
3500set dummy grep; ac_word=$2
3501echo "$as_me:$LINENO: checking for $ac_word" >&5
3502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3503if test "${ac_cv_prog_GREP+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3505else
3506 if test -n "$GREP"; then
3507 ac_cv_prog_GREP="$GREP" # Let the user override the test.
3508else
3509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510for as_dir in $PATH
3511do
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
3520done
3521done
3522
3523 test -z "$ac_cv_prog_GREP" && ac_cv_prog_GREP="grep-is-missing"
3524fi
3525fi
3526GREP=$ac_cv_prog_GREP
3527if test -n "$GREP"; then
3528 echo "$as_me:$LINENO: result: $GREP" >&5
3529echo "${ECHO_T}$GREP" >&6
3530else
3531 echo "$as_me:$LINENO: result: no" >&5
3532echo "${ECHO_T}no" >&6
3533fi
3534
3535# Extract the first word of "diff", so it can be a program name with args.
3536set dummy diff; ac_word=$2
3537echo "$as_me:$LINENO: checking for $ac_word" >&5
3538echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3539if test "${ac_cv_prog_DIFF+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3541else
3542 if test -n "$DIFF"; then
3543 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
3544else
3545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546for as_dir in $PATH
3547do
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
3556done
3557done
3558
3559 test -z "$ac_cv_prog_DIFF" && ac_cv_prog_DIFF="diff-is-missing"
3560fi
3561fi
3562DIFF=$ac_cv_prog_DIFF
3563if test -n "$DIFF"; then
3564 echo "$as_me:$LINENO: result: $DIFF" >&5
3565echo "${ECHO_T}$DIFF" >&6
3566else
3567 echo "$as_me:$LINENO: result: no" >&5
3568echo "${ECHO_T}no" >&6
3569fi
3570
3571# Extract the first word of "cat", so it can be a program name with args.
3572set dummy cat; ac_word=$2
3573echo "$as_me:$LINENO: checking for $ac_word" >&5
3574echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3575if test "${ac_cv_prog_CAT+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3577else
3578 if test -n "$CAT"; then
3579 ac_cv_prog_CAT="$CAT" # Let the user override the test.
3580else
3581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582for as_dir in $PATH
3583do
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
3592done
3593done
3594
3595 test -z "$ac_cv_prog_CAT" && ac_cv_prog_CAT="cat-is-missing"
3596fi
3597fi
3598CAT=$ac_cv_prog_CAT
3599if test -n "$CAT"; then
3600 echo "$as_me:$LINENO: result: $CAT" >&5
3601echo "${ECHO_T}$CAT" >&6
3602else
3603 echo "$as_me:$LINENO: result: no" >&5
3604echo "${ECHO_T}no" >&6
3605fi
3606
3607# Extract the first word of "rm", so it can be a program name with args.
3608set dummy rm; ac_word=$2
3609echo "$as_me:$LINENO: checking for $ac_word" >&5
3610echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3611if test "${ac_cv_prog_RM+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3613else
3614 if test -n "$RM"; then
3615 ac_cv_prog_RM="$RM" # Let the user override the test.
3616else
3617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618for as_dir in $PATH
3619do
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
3628done
3629done
3630
3631 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM="rm-is-missing"
3632fi
3633fi
3634RM=$ac_cv_prog_RM
3635if test -n "$RM"; then
3636 echo "$as_me:$LINENO: result: $RM" >&5
3637echo "${ECHO_T}$RM" >&6
3638else
3639 echo "$as_me:$LINENO: result: no" >&5
3640echo "${ECHO_T}no" >&6
3641fi
3642
3643# Extract the first word of "mv", so it can be a program name with args.
3644set dummy mv; ac_word=$2
3645echo "$as_me:$LINENO: checking for $ac_word" >&5
3646echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3647if test "${ac_cv_prog_MV+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3649else
3650 if test -n "$MV"; then
3651 ac_cv_prog_MV="$MV" # Let the user override the test.
3652else
3653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654for as_dir in $PATH
3655do
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
3664done
3665done
3666
3667 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV="mv-is-missing"
3668fi
3669fi
3670MV=$ac_cv_prog_MV
3671if test -n "$MV"; then
3672 echo "$as_me:$LINENO: result: $MV" >&5
3673echo "${ECHO_T}$MV" >&6
3674else
3675 echo "$as_me:$LINENO: result: no" >&5
3676echo "${ECHO_T}no" >&6
3677fi
3678
3679# Extract the first word of "cp", so it can be a program name with args.
3680set dummy cp; ac_word=$2
3681echo "$as_me:$LINENO: checking for $ac_word" >&5
3682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683if test "${ac_cv_prog_CP+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3685else
3686 if test -n "$CP"; then
3687 ac_cv_prog_CP="$CP" # Let the user override the test.
3688else
3689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690for as_dir in $PATH
3691do
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
3700done
3701done
3702
3703 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP="cp-is-missing"
3704fi
3705fi
3706CP=$ac_cv_prog_CP
3707if test -n "$CP"; then
3708 echo "$as_me:$LINENO: result: $CP" >&5
3709echo "${ECHO_T}$CP" >&6
3710else
3711 echo "$as_me:$LINENO: result: no" >&5
3712echo "${ECHO_T}no" >&6
3713fi
3714
3715# Extract the first word of "sed", so it can be a program name with args.
3716set dummy sed; ac_word=$2
3717echo "$as_me:$LINENO: checking for $ac_word" >&5
3718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719if test "${ac_cv_prog_SED+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3721else
3722 if test -n "$SED"; then
3723 ac_cv_prog_SED="$SED" # Let the user override the test.
3724else
3725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726for as_dir in $PATH
3727do
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
3736done
3737done
3738
3739 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="sed-is-missing"
3740fi
3741fi
3742SED=$ac_cv_prog_SED
3743if test -n "$SED"; then
3744 echo "$as_me:$LINENO: result: $SED" >&5
3745echo "${ECHO_T}$SED" >&6
3746else
3747 echo "$as_me:$LINENO: result: no" >&5
3748echo "${ECHO_T}no" >&6
3749fi
3750
3751
3752
3753
3754
3755
3756echo "$as_me:$LINENO: checking whether we need _ALL_SOURCE to expose mode_t" >&5
3757echo $ECHO_N "checking whether we need _ALL_SOURCE to expose mode_t... $ECHO_C" >&6
3758all=no
3759cat >conftest.$ac_ext <<_ACEOF
08cf8642 3760/* confdefs.h. */
3761_ACEOF
3762cat confdefs.h >>conftest.$ac_ext
3763cat >>conftest.$ac_ext <<_ACEOF
3764/* end confdefs.h. */
fbb86200 3765
3766#include <stdio.h>
3767mode_t x;
3768
fbb86200 3769int
3770main ()
3771{
3772
3773 ;
3774 return 0;
3775}
3776_ACEOF
3777rm -f conftest.$ac_objext
3778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 3779 (eval $ac_compile) 2>conftest.er1
fbb86200 3780 ac_status=$?
08cf8642 3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
fbb86200 3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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 :
3800else
3801 echo "$as_me: failed program was:" >&5
08cf8642 3802sed 's/^/| /' conftest.$ac_ext >&5
3803
fbb86200 3804all=maybe
3805fi
08cf8642 3806rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 3807if test $all = maybe ; then
3808cat >conftest.$ac_ext <<_ACEOF
08cf8642 3809/* confdefs.h. */
3810_ACEOF
3811cat confdefs.h >>conftest.$ac_ext
3812cat >>conftest.$ac_ext <<_ACEOF
3813/* end confdefs.h. */
fbb86200 3814
3815#define _ALL_SOURCE
3816#include <stdio.h>
3817mode_t x;
3818
fbb86200 3819int
3820main ()
3821{
3822
3823 ;
3824 return 0;
3825}
3826_ACEOF
3827rm -f conftest.$ac_objext
3828if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
08cf8642 3829 (eval $ac_compile) 2>conftest.er1
fbb86200 3830 ac_status=$?
08cf8642 3831 grep -v '^ *+' conftest.er1 >conftest.err
3832 rm -f conftest.er1
3833 cat conftest.err >&5
fbb86200 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } &&
08cf8642 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'
fbb86200 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
3853else
3854 echo "$as_me: failed program was:" >&5
08cf8642 3855sed 's/^/| /' conftest.$ac_ext >&5
3856
fbb86200 3857fi
08cf8642 3858rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fbb86200 3859fi
3860if test $all = maybe ; then all=no ; fi
3861echo "$as_me:$LINENO: result: $all" >&5
3862echo "${ECHO_T}$all" >&6
3863
36ba812d 3864
3865
fbb86200 3866LCLOBJ='$(lcl_OBJECTS)'
3867
3868# Check whether --with-lcl or --without-lcl was given.
3869if test "${with_lcl+set}" = set; then
3870 withval="$with_lcl"
3871 ac_cv_use_lcl=$withval
3872else
3873 echo "$as_me:$LINENO: checking whether to include support for LCL files" >&5
3874echo $ECHO_N "checking whether to include support for LCL files... $ECHO_C" >&6
3875if test "${ac_cv_use_lcl+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3877else
3878 ac_cv_use_lcl=yes
3879fi
3880echo "$as_me:$LINENO: result: $ac_cv_use_lcl" >&5
3881echo "${ECHO_T}$ac_cv_use_lcl" >&6
3882fi;
3883if test x$ac_cv_use_lcl != xyes; then
3884 LCLOBJ=
3885
3886cat >>confdefs.h <<\_ACEOF
3887#define NOLCL 1
3888_ACEOF
3889
3890fi
3891
3892
3893# Make sure we have an actual value for $prefix
3894myprefix=$prefix
3895test 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
3904if 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/'`
3908GCC_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
3912cat >>confdefs.h <<_ACEOF
3913#define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3914_ACEOF
3915
3916else
3917GCC_INCLUDE_DIR=/usr/include
3918
3919cat >>confdefs.h <<_ACEOF
3920#define GCC_INCLUDE_DIR "$GCC_INCLUDE_DIR"
3921_ACEOF
3922
3923fi
3924
3925
3926cat >>confdefs.h <<_ACEOF
3927#define GCC_INCLUDE_DIR2 "$myprefix/include"
3928_ACEOF
3929
3930
3931# These used to be in local_constants.h
3932
3933cat >>confdefs.h <<_ACEOF
3934#define SYSTEM_LIBDIR "$myprefix/include"
3935_ACEOF
3936
3937
3938cat >>confdefs.h <<_ACEOF
3939#define DEFAULT_LARCHPATH ".$PATH_SEPARATOR$myprefix/share/splint/lib$PATH_SEPARATOR`pwd`/lib$PATH_SEPARATOR"
3940_ACEOF
3941
3942
3943cat >>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
a9ec3280 3949LCL_PARSE_VERSION="Splint 3.1.2"
fbb86200 3950
3951cat >>confdefs.h <<_ACEOF
3952#define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`"
3953_ACEOF
3954
3955
3956cat >>confdefs.h <<_ACEOF
3957#define LCL_PARSE_VERSION "$LCL_PARSE_VERSION"
3958_ACEOF
3959
3960
3961cat >>confdefs.h <<_ACEOF
3962#define LCL_COMPILE "Compiled using $CC $CFLAGS on `uname -a` by `whoami`"
3963_ACEOF
3964
3965
3966
3967
3968cat >>confdefs.h <<\_ACEOF
3969#define UNIX 1
3970_ACEOF
3971
3972
3973#just define some Header constants for now...
3974
3975UNAME=`uname`
36ba812d 3976
fbb86200 3977cat >>confdefs.h <<_ACEOF
3978#define UNAME "${UNAME}"
3979_ACEOF
3980
3981
36ba812d 3982
fbb86200 3983cat >>confdefs.h <<_ACEOF
3984#define BUILD "${build}"
3985_ACEOF
3986
36ba812d 3987
fbb86200 3988cat >>confdefs.h <<_ACEOF
3989#define HOST "${host}"
3990_ACEOF
3991
36ba812d 3992
fbb86200 3993cat >>confdefs.h <<_ACEOF
3994#define TARGET "${target}"
3995_ACEOF
3996
3997
36ba812d 3998
fbb86200 3999cat >>confdefs.h <<_ACEOF
4000#define BUILD_ALIAS "${build_alias}"
4001_ACEOF
4002
36ba812d 4003
fbb86200 4004cat >>confdefs.h <<_ACEOF
4005#define HOST_ALIAS "${host_alias}"
4006_ACEOF
4007
36ba812d 4008
fbb86200 4009cat >>confdefs.h <<_ACEOF
4010#define TARGET_ALIAS "${TARGET_ALIAS}"
4011_ACEOF
4012
4013
36ba812d 4014
fbb86200 4015cat >>confdefs.h <<_ACEOF
4016#define BUILD_CPU "${build_cpu}"
4017_ACEOF
4018
36ba812d 4019
fbb86200 4020cat >>confdefs.h <<_ACEOF
4021#define HOST_CPU "$host_cpu"
4022_ACEOF
508533c5 4023
36ba812d 4024
fbb86200 4025cat >>confdefs.h <<_ACEOF
4026#define TARGET_CPU "${target_cpu}"
4027_ACEOF
508533c5 4028
508533c5 4029
36ba812d 4030
fbb86200 4031cat >>confdefs.h <<_ACEOF
4032#define BUILD_VENDOR "${build_vendor}"
4033_ACEOF
508533c5 4034
36ba812d 4035
fbb86200 4036cat >>confdefs.h <<_ACEOF
4037#define HOST_VENDOR "${host_vendor}"
4038_ACEOF
508533c5 4039
36ba812d 4040
fbb86200 4041cat >>confdefs.h <<_ACEOF
4042#define TARGET_VENDOR "${target_vendor}"
4043_ACEOF
4044
4045
36ba812d 4046
fbb86200 4047cat >>confdefs.h <<_ACEOF
4048#define BUILD_OS "${build_os}"
4049_ACEOF
4050
36ba812d 4051
fbb86200 4052cat >>confdefs.h <<_ACEOF
4053#define HOST_OS "${host_os}"
4054_ACEOF
4055
36ba812d 4056
fbb86200 4057cat >>confdefs.h <<_ACEOF
4058#define TARGET_OS "${target_os}"
4059_ACEOF
4060
4061
4062
4063
4064
08cf8642 4065 ac_config_files="$ac_config_files Makefile imports/Makefile lib/Makefile src/Makefile test/Makefile doc/Makefile bin/Makefile"
fbb86200 4066
4067cat >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#
08cf8642 4077# `ac_cv_env_foo' variables (set or unset) will be overridden when
fbb86200 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 \
08cf8642 4095 "s/'/'\\\\''/g;
4096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
fbb86200 4097 ;;
4098 *)
4099 # `set' quotes correctly as required by POSIX, so do not add quotes.
4100 sed -n \
08cf8642 4101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
fbb86200 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
08cf8642 4112if diff $cache_file confcache >/dev/null 2>&1; then :; else
fbb86200 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
508533c5 4116 else
fbb86200 4117 echo "not updating unwritable cache $cache_file"
508533c5 4118 fi
508533c5 4119fi
fbb86200 4120rm -f confcache
508533c5 4121
fbb86200 4122test "x$prefix" = xNONE && prefix=$ac_default_prefix
4123# Let make expand exec_prefix.
4124test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
508533c5 4125
fbb86200 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).
4130if test "x$srcdir" = x.; then
08cf8642 4131 ac_vpsub='/^[ ]*VPATH[ ]*=/{
fbb86200 4132s/:*\$(srcdir):*/:/;
4133s/:*\${srcdir}:*/:/;
4134s/:*@srcdir@:*/:/;
08cf8642 4135s/^\([^=]*=[ ]*\):*/\1/;
fbb86200 4136s/:*$//;
08cf8642 4137s/^[^=]*=[ ]*$//;
fbb86200 4138}'
508533c5 4139fi
508533c5 4140
fbb86200 4141DEFS=-DHAVE_CONFIG_H
508533c5 4142
08cf8642 4143ac_libobjs=
4144ac_ltlibobjs=
4145for 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'
4152done
4153LIBOBJS=$ac_libobjs
4154
4155LTLIBOBJS=$ac_ltlibobjs
4156
4157
fbb86200 4158if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4159 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4160Usually this means the macro was only invoked conditionally." >&5
4161echo "$as_me: error: conditional \"AMDEP\" was never defined.
4162Usually this means the macro was only invoked conditionally." >&2;}
4163 { (exit 1); exit 1; }; }
508533c5 4164fi
4165
fbb86200 4166: ${CONFIG_STATUS=./config.status}
4167ac_clean_files_save=$ac_clean_files
4168ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4169{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4170echo "$as_me: creating $CONFIG_STATUS" >&6;}
4171cat >$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.
508533c5 4177
fbb86200 4178debug=false
08cf8642 4179ac_cs_recheck=false
4180ac_cs_silent=false
fbb86200 4181SHELL=\${CONFIG_SHELL-$SHELL}
4182_ACEOF
4183
4184cat >>$CONFIG_STATUS <<\_ACEOF
fbb86200 4185## --------------------- ##
4186## M4sh Initialization. ##
4187## --------------------- ##
508533c5 4188
fbb86200 4189# Be Bourne compatible
4190if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4191 emulate sh
4192 NULLCMD=:
08cf8642 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+"$@"}'='"$@"'
fbb86200 4196elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4197 set -o posix
508533c5 4198fi
08cf8642 4199DUALCASE=1; export DUALCASE # for MKS sh
508533c5 4200
fbb86200 4201# Support unset when possible.
08cf8642 4202if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
fbb86200 4203 as_unset=unset
508533c5 4204else
fbb86200 4205 as_unset=false
508533c5 4206fi
508533c5 4207
08cf8642 4208
4209# Work around bugs in pre-3.0 UWIN ksh.
4210$as_unset ENV MAIL MAILPATH
4211PS1='$ '
4212PS2='> '
4213PS4='+ '
4214
4215# NLS nuisances.
4216for 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
4220do
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
4226done
4227
4228# Required to use basename.
4229if expr a : '\(a\)' >/dev/null 2>&1; then
4230 as_expr=expr
4231else
4232 as_expr=false
4233fi
4234
4235if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4236 as_basename=basename
4237else
4238 as_basename=false
4239fi
fbb86200 4240
4241
4242# Name of the executable.
08cf8642 4243as_me=`$as_basename "$0" ||
fbb86200 4244$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4245 X"$0" : 'X\(//\)$' \| \
4246 X"$0" : 'X\(/\)$' \| \
4247 . : '\(.\)' 2>/dev/null ||
4248echo X/"$0" |
4249 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4250 /^X\/\(\/\/\)$/{ s//\1/; q; }
4251 /^X\/\(\/\).*/{ s//\1/; q; }
4252 s/.*/./; q'`
4253
08cf8642 4254
fbb86200 4255# PATH needs CR, and LINENO needs CR and PATH.
4256# Avoid depending upon Character Ranges.
4257as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4258as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4259as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4260as_cr_digits='0123456789'
4261as_cr_alnum=$as_cr_Letters$as_cr_digits
4262
4263# The user is always right.
4264if test "${PATH_SEPARATOR+set}" != set; then
08cf8642 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
fbb86200 4269 PATH_SEPARATOR=';'
4270 else
4271 PATH_SEPARATOR=:
4272 fi
08cf8642 4273 rm -f conf$$.sh
508533c5 4274fi
508533c5 4275
fbb86200 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
4287for as_dir in $PATH
4288do
4289 IFS=$as_save_IFS
4290 test -z "$as_dir" && as_dir=.
4291 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4292done
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
4303echo "$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
4309for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4310do
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
08cf8642 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; }
fbb86200 4324 CONFIG_SHELL=$as_dir/$as_base
4325 export CONFIG_SHELL
4326 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4327 fi;;
4328 esac
4329 done
4330done
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
4354echo "$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
508533c5 4363}
4364
508533c5 4365
fbb86200 4366case `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= ;;
4371esac
508533c5 4372
fbb86200 4373if expr a : '\(a\)' >/dev/null 2>&1; then
4374 as_expr=expr
508533c5 4375else
fbb86200 4376 as_expr=false
508533c5 4377fi
4378
fbb86200 4379rm -f conf$$ conf$$.exe conf$$.file
4380echo >conf$$.file
4381if 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
4390elif ln conf$$.file conf$$ 2>/dev/null; then
4391 as_ln_s=ln
508533c5 4392else
fbb86200 4393 as_ln_s='cp -p'
508533c5 4394fi
fbb86200 4395rm -f conf$$ conf$$.exe conf$$.file
508533c5 4396
08cf8642 4397if mkdir -p . 2>/dev/null; then
4398 as_mkdir_p=:
4399else
4400 test -d ./-p && rmdir ./-p
4401 as_mkdir_p=false
4402fi
4403
fbb86200 4404as_executable_p="test -f"
508533c5 4405
fbb86200 4406# Sed expression to map a string onto a valid CPP name.
08cf8642 4407as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
508533c5 4408
fbb86200 4409# Sed expression to map a string onto a valid variable name.
08cf8642 4410as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
508533c5 4411
508533c5 4412
fbb86200 4413# IFS
4414# We need space, tab and new line, in precisely that order.
4415as_nl='
4416'
4417IFS=" $as_nl"
4418
4419# CDPATH.
08cf8642 4420$as_unset CDPATH
fbb86200 4421
4422exec 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.
4427exec 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
4434cat >&5 <<_CSEOF
4435
a9ec3280 4436This file was extended by Splint $as_me 3.1.2, which was
08cf8642 4437generated by GNU Autoconf 2.59. Invocation command line was
fbb86200 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
4446echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4447echo >&5
4448_ACEOF
4449
4450# Files that config.status was made for.
4451if test -n "$ac_config_files"; then
4452 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
508533c5 4453fi
4454
fbb86200 4455if test -n "$ac_config_headers"; then
4456 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
508533c5 4457fi
4458
fbb86200 4459if test -n "$ac_config_links"; then
4460 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
508533c5 4461fi
4462
fbb86200 4463if test -n "$ac_config_commands"; then
4464 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
508533c5 4465fi
fbb86200 4466
4467cat >>$CONFIG_STATUS <<\_ACEOF
4468
4469ac_cs_usage="\
4470\`$as_me' instantiates files from templates according to the
4471current configuration.
4472
4473Usage: $0 [OPTIONS] [FILE]...
4474
4475 -h, --help print this help, then exit
4476 -V, --version print version number, then exit
08cf8642 4477 -q, --quiet do not print progress messages
fbb86200 4478 -d, --debug don't remove temporary files
4479 --recheck update $as_me by reconfiguring in the same conditions
4480 --file=FILE[:TEMPLATE]
08cf8642 4481 instantiate the configuration file FILE
fbb86200 4482 --header=FILE[:TEMPLATE]
08cf8642 4483 instantiate the configuration header FILE
fbb86200 4484
4485Configuration files:
4486$config_files
4487
4488Configuration headers:
4489$config_headers
4490
4491Configuration commands:
4492$config_commands
4493
4494Report bugs to <bug-autoconf@gnu.org>."
4495_ACEOF
4496
4497cat >>$CONFIG_STATUS <<_ACEOF
4498ac_cs_version="\\
a9ec3280 4499Splint config.status 3.1.2
08cf8642 4500configured by $0, generated by GNU Autoconf 2.59,
fbb86200 4501 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4502
08cf8642 4503Copyright (C) 2003 Free Software Foundation, Inc.
fbb86200 4504This config.status script is free software; the Free Software Foundation
4505gives unlimited permission to copy, distribute and modify it."
4506srcdir=$srcdir
4507INSTALL="$INSTALL"
4508_ACEOF
4509
4510cat >>$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.
4513ac_need_defaults=:
4514while test $# != 0
4515do
4516 case $1 in
4517 --*=*)
4518 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4519 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
08cf8642 4520 ac_shift=:
4521 ;;
4522 -*)
4523 ac_option=$1
4524 ac_optarg=$2
4525 ac_shift=shift
fbb86200 4526 ;;
fbb86200 4527 *) # This is not an option, so the user has probably given explicit
4528 # arguments.
08cf8642 4529 ac_option=$1
fbb86200 4530 ac_need_defaults=false;;
4531 esac
4532
08cf8642 4533 case $ac_option in
fbb86200 4534 # Handling of the options.
4535_ACEOF
368f75ae 4536cat >>$CONFIG_STATUS <<\_ACEOF
08cf8642 4537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4538 ac_cs_recheck=: ;;
fbb86200 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
4544Try \`$0 --help' for more information." >&5
4545echo "$as_me: error: ambiguous option: $1
4546Try \`$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 )
08cf8642 4553 $ac_shift
4554 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
fbb86200 4555 ac_need_defaults=false;;
4556 --header | --heade | --head | --hea )
08cf8642 4557 $ac_shift
4558 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
fbb86200 4559 ac_need_defaults=false;;
08cf8642 4560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4561 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4562 ac_cs_silent=: ;;
fbb86200 4563
4564 # This is an error.
4565 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4566Try \`$0 --help' for more information." >&5
4567echo "$as_me: error: unrecognized option: $1
4568Try \`$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
4575done
4576
08cf8642 4577ac_configure_extra_args=
4578
4579if $ac_cs_silent; then
4580 exec 6>/dev/null
4581 ac_configure_extra_args="$ac_configure_extra_args --silent"
4582fi
4583
4584_ACEOF
4585cat >>$CONFIG_STATUS <<_ACEOF
4586if \$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
4589fi
4590
fbb86200 4591_ACEOF
4592
4593cat >>$CONFIG_STATUS <<_ACEOF
4594#
4595# INIT-COMMANDS section.
4596#
4597
4598AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4599
4600_ACEOF
4601
4602
4603
4604cat >>$CONFIG_STATUS <<\_ACEOF
4605for ac_config_target in $ac_config_targets
4606do
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
4619echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4620 { (exit 1); exit 1; }; };;
4621 esac
4622done
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.
4628if $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
508533c5 4632fi
508533c5 4633
08cf8642 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.
fbb86200 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.
08cf8642 4645
fbb86200 4646{
08cf8642 4647 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
fbb86200 4648 test -n "$tmp" && test -d "$tmp"
4649} ||
4650{
08cf8642 4651 tmp=./confstat$$-$RANDOM
fbb86200 4652 (umask 077 && mkdir $tmp)
4653} ||
4654{
08cf8642 4655 echo "$me: cannot create a temporary directory in ." >&2
fbb86200 4656 { (exit 1); exit 1; }
4657}
4658
4659_ACEOF
4660
4661cat >>$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
4669if 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
4673s,@SHELL@,$SHELL,;t t
4674s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4675s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4676s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4677s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4678s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4679s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4680s,@exec_prefix@,$exec_prefix,;t t
4681s,@prefix@,$prefix,;t t
4682s,@program_transform_name@,$program_transform_name,;t t
4683s,@bindir@,$bindir,;t t
4684s,@sbindir@,$sbindir,;t t
4685s,@libexecdir@,$libexecdir,;t t
4686s,@datadir@,$datadir,;t t
4687s,@sysconfdir@,$sysconfdir,;t t
4688s,@sharedstatedir@,$sharedstatedir,;t t
4689s,@localstatedir@,$localstatedir,;t t
4690s,@libdir@,$libdir,;t t
4691s,@includedir@,$includedir,;t t
4692s,@oldincludedir@,$oldincludedir,;t t
4693s,@infodir@,$infodir,;t t
4694s,@mandir@,$mandir,;t t
4695s,@build_alias@,$build_alias,;t t
4696s,@host_alias@,$host_alias,;t t
4697s,@target_alias@,$target_alias,;t t
4698s,@DEFS@,$DEFS,;t t
4699s,@ECHO_C@,$ECHO_C,;t t
4700s,@ECHO_N@,$ECHO_N,;t t
4701s,@ECHO_T@,$ECHO_T,;t t
4702s,@LIBS@,$LIBS,;t t
4703s,@build@,$build,;t t
4704s,@build_cpu@,$build_cpu,;t t
4705s,@build_vendor@,$build_vendor,;t t
4706s,@build_os@,$build_os,;t t
4707s,@host@,$host,;t t
4708s,@host_cpu@,$host_cpu,;t t
4709s,@host_vendor@,$host_vendor,;t t
4710s,@host_os@,$host_os,;t t
4711s,@target@,$target,;t t
4712s,@target_cpu@,$target_cpu,;t t
4713s,@target_vendor@,$target_vendor,;t t
4714s,@target_os@,$target_os,;t t
4715s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4716s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4717s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4718s,@PACKAGE@,$PACKAGE,;t t
4719s,@VERSION@,$VERSION,;t t
4720s,@ACLOCAL@,$ACLOCAL,;t t
4721s,@AUTOCONF@,$AUTOCONF,;t t
4722s,@AUTOMAKE@,$AUTOMAKE,;t t
4723s,@AUTOHEADER@,$AUTOHEADER,;t t
4724s,@MAKEINFO@,$MAKEINFO,;t t
4725s,@AMTAR@,$AMTAR,;t t
4726s,@install_sh@,$install_sh,;t t
4727s,@STRIP@,$STRIP,;t t
4728s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4729s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4730s,@AWK@,$AWK,;t t
4731s,@SET_MAKE@,$SET_MAKE,;t t
4732s,@CC@,$CC,;t t
4733s,@CFLAGS@,$CFLAGS,;t t
4734s,@LDFLAGS@,$LDFLAGS,;t t
4735s,@CPPFLAGS@,$CPPFLAGS,;t t
4736s,@ac_ct_CC@,$ac_ct_CC,;t t
4737s,@EXEEXT@,$EXEEXT,;t t
4738s,@OBJEXT@,$OBJEXT,;t t
4739s,@DEPDIR@,$DEPDIR,;t t
4740s,@am__include@,$am__include,;t t
4741s,@am__quote@,$am__quote,;t t
4742s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4743s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4744s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4745s,@CCDEPMODE@,$CCDEPMODE,;t t
4746s,@CPP@,$CPP,;t t
4747s,@LEX@,$LEX,;t t
4748s,@LEXLIB@,$LEXLIB,;t t
4749s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4750s,@LN_S@,$LN_S,;t t
4751s,@BISON@,$BISON,;t t
4752s,@GREP@,$GREP,;t t
4753s,@DIFF@,$DIFF,;t t
4754s,@CAT@,$CAT,;t t
4755s,@RM@,$RM,;t t
4756s,@MV@,$MV,;t t
4757s,@CP@,$CP,;t t
4758s,@SED@,$SED,;t t
4759s,@LCLOBJ@,$LCLOBJ,;t t
08cf8642 4760s,@LIBOBJS@,$LIBOBJS,;t t
4761s,@LTLIBOBJS@,$LTLIBOBJS,;t t
fbb86200 4762CEOF
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
08cf8642 4791 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
fbb86200 4792 else
08cf8642 4793 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
fbb86200 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
508533c5 4802 fi
fbb86200 4803fi # test -n "$CONFIG_FILES"
508533c5 4804
fbb86200 4805_ACEOF
4806cat >>$CONFIG_STATUS <<\_ACEOF
4807for 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
08cf8642 4811 cat >$tmp/stdin
4812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
fbb86200 4814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
08cf8642 4815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
fbb86200 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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 4822 X"$ac_file" : 'X\(//\)[^/]' \| \
4823 X"$ac_file" : 'X\(//\)$' \| \
4824 X"$ac_file" : 'X\(/\)' \| \
4825 . : '\(.\)' 2>/dev/null ||
fbb86200 4826echo 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'`
08cf8642 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 ||
4845echo 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
4854echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4855 { (exit 1); exit 1; }; }; }
fbb86200 4856
4857 ac_builddir=.
508533c5 4858
fbb86200 4859if 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'`
4863else
4864 ac_dir_suffix= ac_top_builddir=
508533c5 4865fi
fbb86200 4866
4867case $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 ;;
4881esac
08cf8642 4882
4883# Do not use `cd foo && pwd` to compute absolute paths, because
4884# the directories may not exist.
4885case `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;;
4893esac
4894case $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;;
4902esac
4903case $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;;
4911esac
4912case $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;;
4920esac
fbb86200 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
4930echo "$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=
508533c5 4938 else
fbb86200 4939 configure_input="$ac_file. "
4940 fi
4941 configure_input=$configure_input"Generated from `echo $ac_file_in |
08cf8642 4942 sed 's,.*/,,'` by configure."
fbb86200 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 [\\/$]*)
08cf8642 4951 # Absolute (can't be DOS-style, as IFS=:)
4952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
fbb86200 4953echo "$as_me: error: cannot find input file: $f" >&2;}
4954 { (exit 1); exit 1; }; }
08cf8642 4955 echo "$f";;
fbb86200 4956 *) # Relative
08cf8642 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
fbb86200 4966echo "$as_me: error: cannot find input file: $f" >&2;}
4967 { (exit 1); exit 1; }; }
08cf8642 4968 fi;;
fbb86200 4969 esac
4970 done` || { (exit 1); exit 1; }
4971_ACEOF
4972cat >>$CONFIG_STATUS <<_ACEOF
4973 sed "$ac_vpsub
4974$extrasub
4975_ACEOF
4976cat >>$CONFIG_STATUS <<\_ACEOF
4977:t
4978/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4979s,@configure_input@,$configure_input,;t t
4980s,@srcdir@,$ac_srcdir,;t t
4981s,@abs_srcdir@,$ac_abs_srcdir,;t t
4982s,@top_srcdir@,$ac_top_srcdir,;t t
4983s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4984s,@builddir@,$ac_builddir,;t t
4985s,@abs_builddir@,$ac_abs_builddir,;t t
4986s,@top_builddir@,$ac_top_builddir,;t t
4987s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4988s,@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
4998done
4999_ACEOF
5000cat >>$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.
508533c5 5008#
fbb86200 5009# ac_d sets the value in "#define NAME VALUE" lines.
08cf8642 5010ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5011ac_dB='[ ].*$,\1#\2'
fbb86200 5012ac_dC=' '
5013ac_dD=',;t'
5014# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
08cf8642 5015ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
fbb86200 5016ac_uB='$,\1#\2define\3'
5017ac_uC=' '
5018ac_uD=',;t'
5019
5020for 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
08cf8642 5024 cat >$tmp/stdin
5025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
fbb86200 5027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
08cf8642 5028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
fbb86200 5029 * ) ac_file_in=$ac_file.in ;;
5030 esac
5031
5032 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5033echo "$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 [\\/$]*)
08cf8642 5042 # Absolute (can't be DOS-style, as IFS=:)
5043 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
fbb86200 5044echo "$as_me: error: cannot find input file: $f" >&2;}
5045 { (exit 1); exit 1; }; }
08cf8642 5046 # Do quote $f, to prevent DOS paths from being IFS'd.
5047 echo "$f";;
fbb86200 5048 *) # Relative
08cf8642 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
fbb86200 5058echo "$as_me: error: cannot find input file: $f" >&2;}
5059 { (exit 1); exit 1; }; }
08cf8642 5060 fi;;
fbb86200 5061 esac
5062 done` || { (exit 1); exit 1; }
5063 # Remove the trailing spaces.
08cf8642 5064 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
fbb86200 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.
5075rm -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'.
5082cat >confdef2sed.sed <<\_ACEOF
5083s/[\\&,]/\\&/g
5084s,[\\$`],\\&,g
5085t clear
5086: clear
08cf8642 5087s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
fbb86200 5088t end
08cf8642 5089s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
fbb86200 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.
5095uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5096sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5097rm -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.
5102cat >>conftest.undefs <<\_ACEOF
08cf8642 5103s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
fbb86200 5104_ACEOF
508533c5 5105
fbb86200 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).
5108echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
08cf8642 5109echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
fbb86200 5110echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5111echo ' :' >>$CONFIG_STATUS
5112rm -f conftest.tail
5113while grep . conftest.defines >/dev/null
508533c5 5114do
fbb86200 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.
08cf8642 5118 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
fbb86200 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
5131done
5132rm -f conftest.defines
08cf8642 5133echo ' fi # grep' >>$CONFIG_STATUS
fbb86200 5134echo >>$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).
5138echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5139rm -f conftest.tail
5140while grep . conftest.undefs >/dev/null
5141do
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'
08cf8642 5145 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
fbb86200 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
5158done
5159rm -f conftest.undefs
5160
5161cat >>$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
08cf8642 5173 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
fbb86200 5174 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5175echo "$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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5179 X"$ac_file" : 'X\(//\)[^/]' \| \
5180 X"$ac_file" : 'X\(//\)$' \| \
5181 X"$ac_file" : 'X\(/\)' \| \
5182 . : '\(.\)' 2>/dev/null ||
fbb86200 5183echo 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'`
08cf8642 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 ||
5202echo 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
5211echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5212 { (exit 1); exit 1; }; }; }
fbb86200 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
5224echo 'timestamp for config.h:config.hin' >"./stamp-h1"
5225 ;;
5226 esac
5227done
5228_ACEOF
5229cat >>$CONFIG_STATUS <<\_ACEOF
5230
5231#
5232# CONFIG_COMMANDS section.
5233#
5234for 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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5239 X"$ac_dest" : 'X\(//\)[^/]' \| \
5240 X"$ac_dest" : 'X\(//\)$' \| \
5241 X"$ac_dest" : 'X\(/\)' \| \
5242 . : '\(.\)' 2>/dev/null ||
fbb86200 5243echo 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'`
08cf8642 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 ||
5262echo 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
5271echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5272 { (exit 1); exit 1; }; }; }
5273
fbb86200 5274 ac_builddir=.
5275
5276if 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'`
5280else
5281 ac_dir_suffix= ac_top_builddir=
5282fi
5283
5284case $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 ;;
5298esac
08cf8642 5299
5300# Do not use `cd foo && pwd` to compute absolute paths, because
5301# the directories may not exist.
5302case `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;;
5310esac
5311case $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;;
5319esac
5320case $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;;
5328esac
5329case $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;;
5337esac
fbb86200 5338
5339
5340 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5341echo "$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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5355 X"$mf" : 'X\(//\)[^/]' \| \
5356 X"$mf" : 'X\(//\)$' \| \
5357 X"$mf" : 'X\(/\)' \| \
5358 . : '\(.\)' 2>/dev/null ||
fbb86200 5359echo 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\(.*[^/]\)//*[^/][^/]*/*$' \| \
08cf8642 5394 X"$file" : 'X\(//\)[^/]' \| \
5395 X"$file" : 'X\(//\)$' \| \
5396 X"$file" : 'X\(/\)' \| \
5397 . : '\(.\)' 2>/dev/null ||
fbb86200 5398echo 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'`
08cf8642 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 ||
5417echo 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
5426echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5427 { (exit 1); exit 1; }; }; }
fbb86200 5428
5429 # echo "creating $dirpart/$file"
5430 echo '# dummy' > "$dirpart/$file"
5431 done
5432done
5433 ;;
508533c5 5434 esac
5435done
fbb86200 5436_ACEOF
5437
5438cat >>$CONFIG_STATUS <<\_ACEOF
5439
5440{ (exit 0); exit 0; }
5441_ACEOF
5442chmod +x $CONFIG_STATUS
5443ac_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.
5454if test "$no_create" != yes; then
5455 ac_cs_success=:
08cf8642 5456 ac_config_status_args=
5457 test "$silent" = yes &&
5458 ac_config_status_args="$ac_config_status_args --quiet"
fbb86200 5459 exec 5>/dev/null
08cf8642 5460 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
fbb86200 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; }
5465fi
5466
5467
5468
5469
5470
5471
5472
5473
508533c5 5474
508533c5 5475
This page took 0.827443 seconds and 5 git commands to generate.