2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="cxref.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subdirs_all
="$ac_subdirs_all cpp"
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AWK YACC CPP LEX LEXLIB LEX_OUTPUT_ROOT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE PERL LATEX DVIPS EGREP ALLOCA objdir subdirs LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
843 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
844 --enable-us-paper use US paper instead of A4
847 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
848 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
849 --with-cxref-cpp use the supplied cpp instead of trying to use gcc
851 Some influential environment variables
:
852 CC C compiler
command
853 CFLAGS C compiler flags
854 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
855 nonstandard directory
<lib dir
>
856 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
857 headers
in a nonstandard directory
<include dir
>
860 Use these variables to override the choices made by
`configure' or to help
861 it to find libraries and programs with nonstandard names/locations.
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
878 ac_dir_suffix= ac_top_builddir=
882 .) # No --srcdir option. We are building in place.
884 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
897 # Do not use `cd foo
&& pwd` to compute absolute paths, because
898 # the directories may not exist.
900 .) ac_abs_builddir="$ac_dir";;
903 .) ac_abs_builddir=`pwd`;;
904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
908 case $ac_abs_builddir in
909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
911 case ${ac_top_builddir}. in
912 .) ac_abs_top_builddir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917 case $ac_abs_builddir in
918 .) ac_abs_srcdir=$ac_srcdir;;
921 .) ac_abs_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926 case $ac_abs_builddir in
927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
929 case $ac_top_srcdir in
930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
959 Copyright (C) 2003 Free Software Foundation, Inc.
960 This configure script is free software; the Free Software Foundation
961 gives unlimited permission to copy, distribute and modify it.
967 This file contains any messages produced by compilers while
968 running configure, to aid debugging if configure makes a mistake.
970 It was created by $as_me, which was
971 generated by GNU Autoconf 2.59. Invocation command line was
982 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
983 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
984 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
985 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
986 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
988 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
989 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
991 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
992 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
993 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
994 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
995 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
996 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
997 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1005 test -z "$as_dir" && as_dir=.
1006 echo "PATH: $as_dir"
1021 # Keep a trace of the command line.
1022 # Strip out --no-create and --no-recursion so they do not pile up.
1023 # Strip out --silent because we don't want to record it for future runs.
1024 # Also quote any args containing shell meta-characters.
1025 # Make two passes to allow for proper duplicate-argument suppression.
1030 ac_must_keep_next=false
1036 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1040 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1041 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1044 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1046 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1047 if test $ac_must_keep_next = true; then
1048 ac_must_keep_next=false # Got value, back to normal.
1051 *=* | --config-cache | -C | -disable-* | --disable-* \
1052 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1053 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1054 | -with-* | --with-* | -without-* | --without-* | --x)
1055 case "$ac_configure_args0 " in
1056 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059 -* ) ac_must_keep_next=true ;;
1062 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1063 # Get rid of the leading space.
1069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1072 # When interrupted or exit'd, cleanup temporary files, and complete
1073 # config.log. We remove comments because anyway the quotes in there
1074 # would cause problems or look ugly.
1075 # WARNING: Be sure not to use single quotes in there, as some shells,
1076 # such as our DU 5.0 friend, will then `close
' the trap.
1077 trap 'exit_status
=$?
1078 # Save into config.log some information that might help in debugging.
1083 ## ---------------- ##
1084 ## Cache variables. ##
1085 ## ---------------- ##
1088 # The following way of writing the cache mishandles newlines in values,
1091 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1099 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106 ## ----------------- ##
1107 ## Output variables. ##
1108 ## ----------------- ##
1111 for ac_var
in $ac_subst_vars
1113 eval ac_val
=$
`echo $ac_var`
1114 echo "$ac_var='"'"'$ac_val'"'"'"
1118 if test -n "$ac_subst_files"; then
1125 for ac_var
in $ac_subst_files
1127 eval ac_val
=$
`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -s confdefs.h
; then
1140 sed "/^$/d" confdefs.h |
sort
1143 test "$ac_signal" != 0 &&
1144 echo "$as_me: caught signal $ac_signal"
1145 echo "$as_me: exit $exit_status"
1147 rm -f core
*.core
&&
1148 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1151 for ac_signal in 1 2 13 15; do
1152 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1156 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1157 rm -rf conftest* confdefs.h
1158 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1161 # Predefined preprocessor variables.
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_NAME "$PACKAGE_NAME"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_STRING "$PACKAGE_STRING"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1188 # Let the site file select an alternate cache file if it wants to.
1189 # Prefer explicitly selected file to automatically selected ones.
1190 if test -z "$CONFIG_SITE"; then
1191 if test "x$prefix" != xNONE; then
1192 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1194 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1197 for ac_site_file in $CONFIG_SITE; do
1198 if test -r "$ac_site_file"; then
1199 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1200 echo "$as_me: loading site script $ac_site_file" >&6;}
1201 sed 's
/^
/|
/' "$ac_site_file" >&5
1206 if test -r "$cache_file"; then
1207 # Some versions of bash will fail to source /dev/null (special
1208 # files actually), so we avoid doing that.
1209 if test -f "$cache_file"; then
1210 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1211 echo "$as_me: loading cache $cache_file" >&6;}
1213 [\\/]* | ?:[\\/]* ) . $cache_file;;
1214 *) . ./$cache_file;;
1218 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1219 echo "$as_me: creating cache $cache_file" >&6;}
1223 # Check that the precious variables saved in the cache have kept the same
1225 ac_cache_corrupted=false
1226 for ac_var in `(set) 2>&1 |
1227 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1229 eval ac_new_set=\$ac_env_${ac_var}_set
1230 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1231 eval ac_new_val="\$ac_env_${ac_var}_value"
1232 case $ac_old_set,$ac_new_set in
1234 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1236 ac_cache_corrupted=: ;;
1238 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1239 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1240 ac_cache_corrupted=: ;;
1243 if test "x$ac_old_val" != "x$ac_new_val"; then
1244 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1245 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1246 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1247 echo "$as_me: former value: $ac_old_val" >&2;}
1248 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1249 echo "$as_me: current value: $ac_new_val" >&2;}
1250 ac_cache_corrupted=:
1253 # Pass precious variables to config.status.
1254 if test "$ac_new_set" = set; then
1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1257 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1258 *) ac_arg=$ac_var=$ac_new_val ;;
1260 case " $ac_configure_args " in
1261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1262 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1266 if $ac_cache_corrupted; then
1267 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1268 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1269 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1270 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1271 { (exit 1); exit 1; }; }
1275 ac_cpp='$CPP $CPPFLAGS'
1276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1277 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1299 ac_config_headers="$ac_config_headers autoconfig.h"
1303 # Check whether --enable-us-paper or --disable-us-paper was given.
1304 if test "${enable_us_paper+set}" = set; then
1305 enableval="$enable_us_paper"
1306 if test "$enableval" = "yes"; then PAGE=US; fi
1312 # Check whether --with-cxref-cpp or --without-cxref-cpp was given.
1313 if test "${with_cxref_cpp+set}" = set; then
1314 withval="$with_cxref_cpp"
1315 if test "$withval" = "yes"; then WITH_CXREF_CPP=yes; fi
1319 ac_cpp='$CPP $CPPFLAGS'
1320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1321 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 if test -n "$ac_tool_prefix"; then
1324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1325 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1326 echo "$as_me:$LINENO: checking for $ac_word" >&5
1327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1328 if test "${ac_cv_prog_CC+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 if test -n "$CC"; then
1332 ac_cv_prog_CC="$CC" # Let the user override the test.
1334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 test -z "$as_dir" && as_dir=.
1339 for ac_exec_ext in '' $ac_executable_extensions; do
1340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1341 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1351 if test -n "$CC"; then
1352 echo "$as_me:$LINENO: result: $CC" >&5
1353 echo "${ECHO_T}$CC" >&6
1355 echo "$as_me:$LINENO: result: no" >&5
1356 echo "${ECHO_T}no" >&6
1360 if test -z "$ac_cv_prog_CC"; then
1362 # Extract the first word of "gcc", so it can be a program name with args.
1363 set dummy gcc; ac_word=$2
1364 echo "$as_me:$LINENO: checking for $ac_word" >&5
1365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 if test -n "$ac_ct_CC"; then
1370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 test -z "$as_dir" && as_dir=.
1377 for ac_exec_ext in '' $ac_executable_extensions; do
1378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379 ac_cv_prog_ac_ct_CC="gcc"
1380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1389 if test -n "$ac_ct_CC"; then
1390 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1391 echo "${ECHO_T}$ac_ct_CC" >&6
1393 echo "$as_me:$LINENO: result: no" >&5
1394 echo "${ECHO_T}no" >&6
1402 if test -z "$CC"; then
1403 if test -n "$ac_tool_prefix"; then
1404 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1405 set dummy ${ac_tool_prefix}cc; ac_word=$2
1406 echo "$as_me:$LINENO: checking for $ac_word" >&5
1407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1408 if test "${ac_cv_prog_CC+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 if test -n "$CC"; then
1412 ac_cv_prog_CC="$CC" # Let the user override the test.
1414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 test -z "$as_dir" && as_dir=.
1419 for ac_exec_ext in '' $ac_executable_extensions; do
1420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421 ac_cv_prog_CC="${ac_tool_prefix}cc"
1422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1431 if test -n "$CC"; then
1432 echo "$as_me:$LINENO: result: $CC" >&5
1433 echo "${ECHO_T}$CC" >&6
1435 echo "$as_me:$LINENO: result: no" >&5
1436 echo "${ECHO_T}no" >&6
1440 if test -z "$ac_cv_prog_CC"; then
1442 # Extract the first word of "cc", so it can be a program name with args.
1443 set dummy cc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$ac_ct_CC"; then
1450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_ac_ct_CC="cc"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1469 if test -n "$ac_ct_CC"; then
1470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1471 echo "${ECHO_T}$ac_ct_CC" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1483 if test -z "$CC"; then
1484 # Extract the first word of "cc", so it can be a program name with args.
1485 set dummy cc; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_CC+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 if test -n "$CC"; then
1492 ac_cv_prog_CC="$CC" # Let the user override the test.
1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 test -z "$as_dir" && as_dir=.
1500 for ac_exec_ext in '' $ac_executable_extensions; do
1501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1502 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1503 ac_prog_rejected=yes
1507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513 if test $ac_prog_rejected = yes; then
1514 # We found a bogon in the path, so make sure we never use it.
1515 set dummy $ac_cv_prog_CC
1517 if test $# != 0; then
1518 # We chose a different compiler from the bogus one.
1519 # However, it has the same basename, so the bogon will be chosen
1520 # first if we set CC to just the basename; use the full file name.
1522 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1528 if test -n "$CC"; then
1529 echo "$as_me:$LINENO: result: $CC" >&5
1530 echo "${ECHO_T}$CC" >&6
1532 echo "$as_me:$LINENO: result: no" >&5
1533 echo "${ECHO_T}no" >&6
1537 if test -z "$CC"; then
1538 if test -n "$ac_tool_prefix"; then
1541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_CC+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 if test -n "$CC"; then
1549 ac_cv_prog_CC="$CC" # Let the user override the test.
1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555 test -z "$as_dir" && as_dir=.
1556 for ac_exec_ext in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 if test -n "$CC"; then
1569 echo "$as_me:$LINENO: result: $CC" >&5
1570 echo "${ECHO_T}$CC" >&6
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1576 test -n "$CC" && break
1579 if test -z "$CC"; then
1583 # Extract the first word of "$ac_prog", so it can be a program name with args.
1584 set dummy $ac_prog; ac_word=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$ac_ct_CC"; then
1591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir=.
1598 for ac_exec_ext in '' $ac_executable_extensions; do
1599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1600 ac_cv_prog_ac_ct_CC="$ac_prog"
1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1609 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1610 if test -n "$ac_ct_CC"; then
1611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1612 echo "${ECHO_T}$ac_ct_CC" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1618 test -n "$ac_ct_CC" && break
1627 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1628 See \`config.log' for more details.
" >&5
1629 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1630 See \
`config.log' for more details." >&2;}
1631 { (exit 1); exit 1; }; }
1633 # Provide some information about the compiler.
1634 echo "$as_me:$LINENO:" \
1635 "checking for C compiler version" >&5
1636 ac_compiler=`set X
$ac_compile; echo $2`
1637 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1638 (eval $ac_compiler --version </dev/null >&5) 2>&5
1640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1641 (exit $ac_status); }
1642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1643 (eval $ac_compiler -v </dev/null >&5) 2>&5
1645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646 (exit $ac_status); }
1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1648 (eval $ac_compiler -V </dev/null >&5) 2>&5
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651 (exit $ac_status); }
1653 cat >conftest.$ac_ext <<_ACEOF
1656 cat confdefs.h >>conftest.$ac_ext
1657 cat >>conftest.$ac_ext <<_ACEOF
1658 /* end confdefs.h. */
1668 ac_clean_files_save=$ac_clean_files
1669 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1670 # Try to create an executable without -o first, disregard a.out.
1671 # It will help us diagnose broken compilers, and finding out an intuition
1673 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1674 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1675 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1676 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1677 (eval $ac_link_default) 2>&5
1679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1680 (exit $ac_status); }; then
1681 # Find the output, starting from the most likely. This scheme is
1682 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1685 # Be careful to initialize this variable, since it used to be cached.
1686 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1688 # b.out is created by i960 compilers.
1689 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1691 test -f "$ac_file" || continue
1693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1696 # This is the source file.
1699 # We found the default executable, but exeext='' is most
1703 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1704 # FIXME: I believe we export ac_cv_exeext for Libtool,
1705 # but it would be cool to find out if it's true. Does anybody
1706 # maintain Libtool? --akim.
1714 echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1717 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1718 See \`config.log
' for more details." >&5
1719 echo "$as_me: error: C compiler cannot create executables
1720 See \`config.log' for more details.
" >&2;}
1721 { (exit 77); exit 77; }; }
1724 ac_exeext=$ac_cv_exeext
1725 echo "$as_me:$LINENO: result
: $ac_file" >&5
1726 echo "${ECHO_T}$ac_file" >&6
1728 # Check the compiler produces executables we can run. If not, either
1729 # the compiler is broken, or we cross compile.
1730 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1731 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1733 # If not cross compiling, check that we can run a simple program.
1734 if test "$cross_compiling" != yes; then
1735 if { ac_try='./$ac_file'
1736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1740 (exit $ac_status); }; }; then
1743 if test "$cross_compiling" = maybe; then
1746 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1747 If you meant to cross compile
, use \
`--host'.
1748 See \`config.log
' for more details." >&5
1749 echo "$as_me: error: cannot run C compiled programs.
1750 If you meant to cross compile, use \`--host'.
1751 See \
`config.log' for more details." >&2;}
1752 { (exit 1); exit 1; }; }
1756 echo "$as_me:$LINENO: result: yes" >&5
1757 echo "${ECHO_T}yes" >&6
1759 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1760 ac_clean_files=$ac_clean_files_save
1761 # Check the compiler produces executables we can run. If not, either
1762 # the compiler is broken, or we cross compile.
1763 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1764 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1765 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1766 echo "${ECHO_T}$cross_compiling" >&6
1768 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1769 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1771 (eval $ac_link) 2>&5
1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 (exit $ac_status); }; then
1775 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1776 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1777 # work properly (i.e., refer to `conftest.exe'), while it won't with
1779 for ac_file
in conftest.exe conftest conftest.
*; do
1780 test -f "$ac_file" ||
continue
1782 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1783 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1790 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1791 See \`config.log' for more details." >&5
1792 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1793 See \`config.log' for more details." >&2;}
1794 { (exit 1); exit 1; }; }
1797 rm -f conftest
$ac_cv_exeext
1798 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1799 echo "${ECHO_T}$ac_cv_exeext" >&6
1801 rm -f conftest.
$ac_ext
1802 EXEEXT
=$ac_cv_exeext
1804 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1805 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1806 if test "${ac_cv_objext+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 cat >conftest.
$ac_ext <<_ACEOF
1812 cat confdefs.h
>>conftest.
$ac_ext
1813 cat >>conftest.
$ac_ext <<_ACEOF
1814 /* end confdefs.h. */
1824 rm -f conftest.o conftest.obj
1825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1826 (eval $ac_compile) 2>&5
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); }; then
1830 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1832 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1833 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1838 echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.
$ac_ext >&5
1841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1842 See \`config.log' for more details." >&5
1843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1844 See \`config.log' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1848 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1850 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1851 echo "${ECHO_T}$ac_cv_objext" >&6
1852 OBJEXT
=$ac_cv_objext
1854 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 cat >conftest.
$ac_ext <<_ACEOF
1862 cat confdefs.h
>>conftest.
$ac_ext
1863 cat >>conftest.
$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1877 rm -f conftest.
$ac_objext
1878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1879 (eval $ac_compile) 2>conftest.er1
1881 grep -v '^ *+' conftest.er1
>conftest.err
1883 cat conftest.err
>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); } &&
1886 { ac_try
='test -z "$ac_c_werror_flag"
1887 || test ! -s conftest.err'
1888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 (exit $ac_status); }; } &&
1893 { ac_try
='test -s conftest.$ac_objext'
1894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898 (exit $ac_status); }; }; then
1901 echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.
$ac_ext >&5
1906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1907 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1910 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1911 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1912 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1913 ac_test_CFLAGS
=${CFLAGS+set}
1914 ac_save_CFLAGS
=$CFLAGS
1916 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1917 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1918 if test "${ac_cv_prog_cc_g+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1936 rm -f conftest.
$ac_objext
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>conftest.er1
1940 grep -v '^ *+' conftest.er1
>conftest.err
1942 cat conftest.err
>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); } &&
1945 { ac_try
='test -z "$ac_c_werror_flag"
1946 || test ! -s conftest.err'
1947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }; } &&
1952 { ac_try
='test -s conftest.$ac_objext'
1953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }; }; then
1960 echo "$as_me: failed program was:" >&5
1961 sed 's/^/| /' conftest.
$ac_ext >&5
1965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1967 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1968 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1969 if test "$ac_test_CFLAGS" = set; then
1970 CFLAGS
=$ac_save_CFLAGS
1971 elif test $ac_cv_prog_cc_g = yes; then
1972 if test "$GCC" = yes; then
1978 if test "$GCC" = yes; then
1984 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1985 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1986 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 ac_cv_prog_cc_stdc
=no
1991 cat >conftest.
$ac_ext <<_ACEOF
1994 cat confdefs.h
>>conftest.
$ac_ext
1995 cat >>conftest.
$ac_ext <<_ACEOF
1996 /* end confdefs.h. */
1999 #include <sys/types.h>
2000 #include <sys/stat.h>
2001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2002 struct buf { int x; };
2003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2004 static char *e (p, i)
2010 static char *f (char * (*g) (char **, int), char **p, ...)
2015 s = g (p, va_arg (v,int));
2020 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2021 function prototypes and stuff, but not '\xHH' hex character constants.
2022 These don't provoke an error unfortunately, instead are silently treated
2023 as 'x'. The following induces an error, until -std1 is added to get
2024 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2025 array size at least. It's necessary to write '\x00'==0 to get something
2026 that's true only with -std1. */
2027 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2029 int test (int i, double x);
2030 struct s1 {int (*f) (int a);};
2031 struct s2 {int (*f) (double a);};
2032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2043 # Don't try gcc -ansi; that turns off useful extensions and
2044 # breaks some systems' header files.
2045 # AIX -qlanglvl=ansi
2046 # Ultrix and OSF/1 -std1
2047 # HP-UX 10.20 and later -Ae
2048 # HP-UX older versions -Aa -D_HPUX_SOURCE
2049 # SVR4 -Xc -D__EXTENSIONS__
2050 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2052 CC
="$ac_save_CC $ac_arg"
2053 rm -f conftest.
$ac_objext
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>conftest.er1
2057 grep -v '^ *+' conftest.er1
>conftest.err
2059 cat conftest.err
>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); } &&
2062 { ac_try
='test -z "$ac_c_werror_flag"
2063 || test ! -s conftest.err'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; } &&
2069 { ac_try
='test -s conftest.$ac_objext'
2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }; }; then
2075 ac_cv_prog_cc_stdc
=$ac_arg
2078 echo "$as_me: failed program was:" >&5
2079 sed 's/^/| /' conftest.
$ac_ext >&5
2082 rm -f conftest.err conftest.
$ac_objext
2084 rm -f conftest.
$ac_ext conftest.
$ac_objext
2089 case "x$ac_cv_prog_cc_stdc" in
2091 echo "$as_me:$LINENO: result: none needed" >&5
2092 echo "${ECHO_T}none needed" >&6 ;;
2094 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2095 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2096 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2099 # Some people use a C++ compiler to compile C. Since we use `exit',
2100 # in C++ we need to declare it. In case someone uses the same compiler
2101 # for both compiling C and C++ we need to have the C++ compiler decide
2102 # the declaration of exit, since it's the most demanding environment.
2103 cat >conftest.
$ac_ext <<_ACEOF
2108 rm -f conftest.
$ac_objext
2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>conftest.er1
2112 grep -v '^ *+' conftest.er1
>conftest.err
2114 cat conftest.err
>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); } &&
2117 { ac_try
='test -z "$ac_c_werror_flag"
2118 || test ! -s conftest.err'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; } &&
2124 { ac_try
='test -s conftest.$ac_objext'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; }; then
2130 for ac_declaration
in \
2132 'extern "C" void std::exit (int) throw (); using std::exit;' \
2133 'extern "C" void std::exit (int); using std::exit;' \
2134 'extern "C" void exit (int) throw ();' \
2135 'extern "C" void exit (int);' \
2138 cat >conftest.
$ac_ext <<_ACEOF
2141 cat confdefs.h
>>conftest.
$ac_ext
2142 cat >>conftest.
$ac_ext <<_ACEOF
2143 /* end confdefs.h. */
2154 rm -f conftest.
$ac_objext
2155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2156 (eval $ac_compile) 2>conftest.er1
2158 grep -v '^ *+' conftest.er1
>conftest.err
2160 cat conftest.err
>&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); } &&
2163 { ac_try
='test -z "$ac_c_werror_flag"
2164 || test ! -s conftest.err'
2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; } &&
2170 { ac_try
='test -s conftest.$ac_objext'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; }; then
2178 echo "$as_me: failed program was:" >&5
2179 sed 's/^/| /' conftest.
$ac_ext >&5
2183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 cat >conftest.
$ac_ext <<_ACEOF
2187 cat confdefs.h
>>conftest.
$ac_ext
2188 cat >>conftest.
$ac_ext <<_ACEOF
2189 /* end confdefs.h. */
2199 rm -f conftest.
$ac_objext
2200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2201 (eval $ac_compile) 2>conftest.er1
2203 grep -v '^ *+' conftest.er1
>conftest.err
2205 cat conftest.err
>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); } &&
2208 { ac_try
='test -z "$ac_c_werror_flag"
2209 || test ! -s conftest.err'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } &&
2215 { ac_try
='test -s conftest.$ac_objext'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.
$ac_ext >&5
2227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2230 if test -n "$ac_declaration"; then
2231 echo '#ifdef __cplusplus' >>confdefs.h
2232 echo $ac_declaration >>confdefs.h
2233 echo '#endif' >>confdefs.h
2237 echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.
$ac_ext >&5
2241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 ac_cpp
='$CPP $CPPFLAGS'
2244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2248 for ac_prog
in gawk mawk nawk
awk
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy
$ac_prog; ac_word
=$2
2252 echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254 if test "${ac_cv_prog_AWK+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$AWK"; then
2258 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 for ac_exec_ext
in '' $ac_executable_extensions; do
2266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_AWK
="$ac_prog"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 if test -n "$AWK"; then
2278 echo "$as_me:$LINENO: result: $AWK" >&5
2279 echo "${ECHO_T}$AWK" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2285 test -n "$AWK" && break
2288 for ac_prog
in 'bison -y' byacc
2290 # Extract the first word of "$ac_prog", so it can be a program name with args.
2291 set dummy
$ac_prog; ac_word
=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_YACC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$YACC"; then
2298 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_YACC
="$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 YACC
=$ac_cv_prog_YACC
2317 if test -n "$YACC"; then
2318 echo "$as_me:$LINENO: result: $YACC" >&5
2319 echo "${ECHO_T}$YACC" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$YACC" && break
2327 test -n "$YACC" || YACC
="yacc"
2330 ac_cpp
='$CPP $CPPFLAGS'
2331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2334 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2335 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2336 # On Suns, sometimes $CPP names a directory.
2337 if test -n "$CPP" && test -d "$CPP"; then
2340 if test -z "$CPP"; then
2341 if test "${ac_cv_prog_CPP+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 # Double quotes because CPP needs to be expanded
2345 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2348 for ac_c_preproc_warn_flag
in '' yes
2350 # Use a header file that comes with gcc, so configuring glibc
2351 # with a fresh cross-compiler works.
2352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2353 # <limits.h> exists even on freestanding compilers.
2354 # On the NeXT, cc -E runs the code through the compiler's parser,
2355 # not just through cpp. "Syntax error" is here to catch this case.
2356 cat >conftest.
$ac_ext <<_ACEOF
2359 cat confdefs.h
>>conftest.
$ac_ext
2360 cat >>conftest.
$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2363 # include <limits.h>
2365 # include <assert.h>
2369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2372 grep -v '^ *+' conftest.er1
>conftest.err
2374 cat conftest.err
>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } >/dev
/null
; then
2377 if test -s conftest.err
; then
2378 ac_cpp_err
=$ac_c_preproc_warn_flag
2379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2386 if test -z "$ac_cpp_err"; then
2389 echo "$as_me: failed program was:" >&5
2390 sed 's/^/| /' conftest.
$ac_ext >&5
2392 # Broken: fails on valid input.
2395 rm -f conftest.err conftest.
$ac_ext
2397 # OK, works on sane cases. Now check whether non-existent headers
2398 # can be detected and how.
2399 cat >conftest.
$ac_ext <<_ACEOF
2402 cat confdefs.h
>>conftest.
$ac_ext
2403 cat >>conftest.
$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2405 #include <ac_nonexistent.h>
2407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2410 grep -v '^ *+' conftest.er1
>conftest.err
2412 cat conftest.err
>&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } >/dev
/null
; then
2415 if test -s conftest.err
; then
2416 ac_cpp_err
=$ac_c_preproc_warn_flag
2417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2424 if test -z "$ac_cpp_err"; then
2425 # Broken: success on invalid input.
2428 echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.
$ac_ext >&5
2431 # Passes both tests.
2435 rm -f conftest.err conftest.
$ac_ext
2438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2439 rm -f conftest.err conftest.
$ac_ext
2440 if $ac_preproc_ok; then
2452 echo "$as_me:$LINENO: result: $CPP" >&5
2453 echo "${ECHO_T}$CPP" >&6
2455 for ac_c_preproc_warn_flag
in '' yes
2457 # Use a header file that comes with gcc, so configuring glibc
2458 # with a fresh cross-compiler works.
2459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2460 # <limits.h> exists even on freestanding compilers.
2461 # On the NeXT, cc -E runs the code through the compiler's parser,
2462 # not just through cpp. "Syntax error" is here to catch this case.
2463 cat >conftest.
$ac_ext <<_ACEOF
2466 cat confdefs.h
>>conftest.
$ac_ext
2467 cat >>conftest.
$ac_ext <<_ACEOF
2468 /* end confdefs.h. */
2470 # include <limits.h>
2472 # include <assert.h>
2476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2477 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2479 grep -v '^ *+' conftest.er1
>conftest.err
2481 cat conftest.err
>&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); } >/dev
/null
; then
2484 if test -s conftest.err
; then
2485 ac_cpp_err
=$ac_c_preproc_warn_flag
2486 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2493 if test -z "$ac_cpp_err"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2499 # Broken: fails on valid input.
2502 rm -f conftest.err conftest.
$ac_ext
2504 # OK, works on sane cases. Now check whether non-existent headers
2505 # can be detected and how.
2506 cat >conftest.
$ac_ext <<_ACEOF
2509 cat confdefs.h
>>conftest.
$ac_ext
2510 cat >>conftest.
$ac_ext <<_ACEOF
2511 /* end confdefs.h. */
2512 #include <ac_nonexistent.h>
2514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } >/dev
/null
; then
2522 if test -s conftest.err
; then
2523 ac_cpp_err
=$ac_c_preproc_warn_flag
2524 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2531 if test -z "$ac_cpp_err"; then
2532 # Broken: success on invalid input.
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2538 # Passes both tests.
2542 rm -f conftest.err conftest.
$ac_ext
2545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2546 rm -f conftest.err conftest.
$ac_ext
2547 if $ac_preproc_ok; then
2550 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2551 See \`config.log' for more details." >&5
2552 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2553 See \`config.log' for more details." >&2;}
2554 { (exit 1); exit 1; }; }
2558 ac_cpp
='$CPP $CPPFLAGS'
2559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2564 for ac_prog
in flex
lex
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy
$ac_prog; ac_word
=$2
2568 echo "$as_me:$LINENO: checking for $ac_word" >&5
2569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2570 if test "${ac_cv_prog_LEX+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 if test -n "$LEX"; then
2574 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_LEX
="$ac_prog"
2584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test -n "$LEX"; then
2594 echo "$as_me:$LINENO: result: $LEX" >&5
2595 echo "${ECHO_T}$LEX" >&6
2597 echo "$as_me:$LINENO: result: no" >&5
2598 echo "${ECHO_T}no" >&6
2601 test -n "$LEX" && break
2603 test -n "$LEX" || LEX
=":"
2605 if test -z "$LEXLIB"
2607 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2608 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2609 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 ac_check_lib_save_LIBS
=$LIBS
2614 cat >conftest.
$ac_ext <<_ACEOF
2617 cat confdefs.h
>>conftest.
$ac_ext
2618 cat >>conftest.
$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2621 /* Override any gcc2 internal prototype to avoid an error. */
2625 /* We use char because int might match the return type of a gcc2
2626 builtin and then its argument prototype would still apply. */
2636 rm -f conftest.
$ac_objext conftest
$ac_exeext
2637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2638 (eval $ac_link) 2>conftest.er1
2640 grep -v '^ *+' conftest.er1
>conftest.err
2642 cat conftest.err
>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try
='test -z "$ac_c_werror_flag"
2646 || test ! -s conftest.err'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; } &&
2652 { ac_try
='test -s conftest$ac_exeext'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; }; then
2658 ac_cv_lib_fl_yywrap
=yes
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2663 ac_cv_lib_fl_yywrap
=no
2665 rm -f conftest.err conftest.
$ac_objext \
2666 conftest
$ac_exeext conftest.
$ac_ext
2667 LIBS
=$ac_check_lib_save_LIBS
2669 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2670 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2671 if test $ac_cv_lib_fl_yywrap = yes; then
2674 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2675 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2676 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 ac_check_lib_save_LIBS
=$LIBS
2681 cat >conftest.
$ac_ext <<_ACEOF
2684 cat confdefs.h
>>conftest.
$ac_ext
2685 cat >>conftest.
$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2688 /* Override any gcc2 internal prototype to avoid an error. */
2692 /* We use char because int might match the return type of a gcc2
2693 builtin and then its argument prototype would still apply. */
2703 rm -f conftest.
$ac_objext conftest
$ac_exeext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2705 (eval $ac_link) 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } &&
2712 { ac_try
='test -z "$ac_c_werror_flag"
2713 || test ! -s conftest.err'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; } &&
2719 { ac_try
='test -s conftest$ac_exeext'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; }; then
2725 ac_cv_lib_l_yywrap
=yes
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.
$ac_ext >&5
2730 ac_cv_lib_l_yywrap
=no
2732 rm -f conftest.err conftest.
$ac_objext \
2733 conftest
$ac_exeext conftest.
$ac_ext
2734 LIBS
=$ac_check_lib_save_LIBS
2736 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2737 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2738 if test $ac_cv_lib_l_yywrap = yes; then
2746 if test "x$LEX" != "x:"; then
2747 echo "$as_me:$LINENO: checking lex output file root" >&5
2748 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2749 if test "${ac_cv_prog_lex_root+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 # The minimal lex program is just a single line: %%. But some broken lexes
2753 # (Solaris, I think it was) want two %% lines, so accommodate them.
2754 cat >conftest.l
<<_ACEOF
2758 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2759 (eval $LEX conftest.l
) 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }
2763 if test -f lex.yy.c
; then
2764 ac_cv_prog_lex_root
=lex.yy
2765 elif test -f lexyy.c
; then
2766 ac_cv_prog_lex_root
=lexyy
2768 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2769 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2770 { (exit 1); exit 1; }; }
2773 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2774 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2776 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
2778 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2779 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2780 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 # POSIX says lex can declare yytext either as a pointer or an array; the
2784 # default is implementation-dependent. Figure out which it is, since
2785 # not all implementations provide the %pointer and %array declarations.
2786 ac_cv_prog_lex_yytext_pointer
=no
2787 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2789 LIBS
="$LIBS $LEXLIB"
2790 cat >conftest.
$ac_ext <<_ACEOF
2791 `cat $LEX_OUTPUT_ROOT.c`
2793 rm -f conftest.
$ac_objext conftest
$ac_exeext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2795 (eval $ac_link) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1
>conftest.err
2799 cat conftest.err
>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try
='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try
='test -s conftest$ac_exeext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 ac_cv_prog_lex_yytext_pointer
=yes
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2821 rm -f conftest.err conftest.
$ac_objext \
2822 conftest
$ac_exeext conftest.
$ac_ext
2824 rm -f "${LEX_OUTPUT_ROOT}.c"
2827 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2828 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2829 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2831 cat >>confdefs.h
<<\_ACEOF
2832 #define YYTEXT_POINTER 1
2839 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2840 if test -f $ac_dir/install-sh
; then
2842 ac_install_sh
="$ac_aux_dir/install-sh -c"
2844 elif test -f $ac_dir/install.sh
; then
2846 ac_install_sh
="$ac_aux_dir/install.sh -c"
2848 elif test -f $ac_dir/shtool
; then
2850 ac_install_sh
="$ac_aux_dir/shtool install -c"
2854 if test -z "$ac_aux_dir"; then
2855 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2856 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2857 { (exit 1); exit 1; }; }
2859 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2860 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2861 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2863 # Find a good install program. We prefer a C program (faster),
2864 # so one script is as good as another. But avoid the broken or
2865 # incompatible versions:
2866 # SysV /etc/install, /usr/sbin/install
2867 # SunOS /usr/etc/install
2868 # IRIX /sbin/install
2870 # AmigaOS /C/install, which installs bootblocks on floppy discs
2871 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2872 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2873 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2874 # OS/2's system install, which has a completely different semantic
2875 # ./install, which can be erroneously created by make from ./install.sh.
2876 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2877 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2878 if test -z "$INSTALL"; then
2879 if test "${ac_cv_path_install+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 # Account for people who put trailing slashes in PATH elements.
2889 .
/ | .
// |
/cC
/* | \
2890 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2891 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2894 # OSF1 and SCO ODT 3.0 have their own names for install.
2895 # Don't use installbsd from OSF since it installs stuff as root
2897 for ac_prog
in ginstall scoinst
install; do
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2900 if test $ac_prog = install &&
2901 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2902 # AIX install. It has an incompatible calling convention.
2904 elif test $ac_prog = install &&
2905 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2906 # program-specific install script used by HP pwplus--don't use.
2909 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2921 if test "${ac_cv_path_install+set}" = set; then
2922 INSTALL
=$ac_cv_path_install
2924 # As a last resort, use the slow shell script. We don't cache a
2925 # path for INSTALL within a source directory, because that will
2926 # break other packages using the cache if that directory is
2927 # removed, or if the path is relative.
2928 INSTALL
=$ac_install_sh
2931 echo "$as_me:$LINENO: result: $INSTALL" >&5
2932 echo "${ECHO_T}$INSTALL" >&6
2934 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2935 # It thinks the first close brace ends the variable substitution.
2936 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2938 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2940 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2942 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2945 if test "$LN_S" = "ln -s"; then
2946 echo "$as_me:$LINENO: result: yes" >&5
2947 echo "${ECHO_T}yes" >&6
2949 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2950 echo "${ECHO_T}no, using $LN_S" >&6
2953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2955 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 cat >conftest.
make <<\_ACEOF
2961 @
echo 'ac_maketemp="$(MAKE)"'
2963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2965 if test -n "$ac_maketemp"; then
2966 eval ac_cv_prog_make_
${ac_make}_set
=yes
2968 eval ac_cv_prog_make_
${ac_make}_set
=no
2972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2973 echo "$as_me:$LINENO: result: yes" >&5
2974 echo "${ECHO_T}yes" >&6
2977 echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6
2979 SET_MAKE
="MAKE=${MAKE-make}"
2982 # Extract the first word of "perl", so it can be a program name with args.
2983 set dummy perl
; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_PERL+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$PERL"; then
2990 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_PERL
="perl"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 PERL
=$ac_cv_prog_PERL
3009 if test -n "$PERL"; then
3010 echo "$as_me:$LINENO: result: $PERL" >&5
3011 echo "${ECHO_T}$PERL" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3017 # Extract the first word of "latex", so it can be a program name with args.
3018 set dummy latex
; ac_word
=$2
3019 echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3021 if test "${ac_cv_prog_LATEX+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -n "$LATEX"; then
3025 ac_cv_prog_LATEX
="$LATEX" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_LATEX
="latex"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 LATEX
=$ac_cv_prog_LATEX
3044 if test -n "$LATEX"; then
3045 echo "$as_me:$LINENO: result: $LATEX" >&5
3046 echo "${ECHO_T}$LATEX" >&6
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3052 # Extract the first word of "dvips", so it can be a program name with args.
3053 set dummy dvips
; ac_word
=$2
3054 echo "$as_me:$LINENO: checking for $ac_word" >&5
3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3056 if test "${ac_cv_prog_DVIPS+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 if test -n "$DVIPS"; then
3060 ac_cv_prog_DVIPS
="$DVIPS" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir
=.
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_DVIPS
="dvips"
3070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 DVIPS
=$ac_cv_prog_DVIPS
3079 if test -n "$DVIPS"; then
3080 echo "$as_me:$LINENO: result: $DVIPS" >&5
3081 echo "${ECHO_T}$DVIPS" >&6
3083 echo "$as_me:$LINENO: result: no" >&5
3084 echo "${ECHO_T}no" >&6
3090 echo "$as_me:$LINENO: checking for egrep" >&5
3091 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3092 if test "${ac_cv_prog_egrep+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3096 then ac_cv_prog_egrep
='grep -E'
3097 else ac_cv_prog_egrep
='egrep'
3100 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3101 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3102 EGREP
=$ac_cv_prog_egrep
3105 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3106 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3107 if test "${ac_cv_header_stdc+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3129 rm -f conftest.
$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131 (eval $ac_compile) 2>conftest.er1
3133 grep -v '^ *+' conftest.er1
>conftest.err
3135 cat conftest.err
>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try
='test -z "$ac_c_werror_flag"
3139 || test ! -s conftest.err'
3140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }; } &&
3145 { ac_try
='test -s conftest.$ac_objext'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; }; then
3151 ac_cv_header_stdc
=yes
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.
$ac_ext >&5
3156 ac_cv_header_stdc
=no
3158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3160 if test $ac_cv_header_stdc = yes; then
3161 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3162 cat >conftest.
$ac_ext <<_ACEOF
3165 cat confdefs.h
>>conftest.
$ac_ext
3166 cat >>conftest.
$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3172 $EGREP "memchr" >/dev
/null
2>&1; then
3175 ac_cv_header_stdc
=no
3181 if test $ac_cv_header_stdc = yes; then
3182 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3183 cat >conftest.
$ac_ext <<_ACEOF
3186 cat confdefs.h
>>conftest.
$ac_ext
3187 cat >>conftest.
$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3193 $EGREP "free" >/dev
/null
2>&1; then
3196 ac_cv_header_stdc
=no
3202 if test $ac_cv_header_stdc = yes; then
3203 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3204 if test "$cross_compiling" = yes; then
3207 cat >conftest.
$ac_ext <<_ACEOF
3210 cat confdefs.h
>>conftest.
$ac_ext
3211 cat >>conftest.
$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3214 #if ((' ' & 0x0FF) == 0x020)
3215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3218 # define ISLOWER(c) \
3219 (('a' <= (c) && (c) <= 'i') \
3220 || ('j' <= (c) && (c) <= 'r') \
3221 || ('s' <= (c) && (c) <= 'z'))
3222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3230 for (i = 0; i < 256; i++)
3231 if (XOR (islower (i), ISLOWER (i))
3232 || toupper (i) != TOUPPER (i))
3237 rm -f conftest
$ac_exeext
3238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3239 (eval $ac_link) 2>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; }; then
3250 echo "$as_me: program exited with status $ac_status" >&5
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.
$ac_ext >&5
3255 ac_cv_header_stdc
=no
3257 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3261 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3262 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3263 if test $ac_cv_header_stdc = yes; then
3265 cat >>confdefs.h
<<\_ACEOF
3266 #define STDC_HEADERS 1
3271 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3272 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3273 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3282 #include <sys/types.h>
3283 #include <sys/wait.h>
3285 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3288 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3296 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3301 rm -f conftest.
$ac_objext
3302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3303 (eval $ac_compile) 2>conftest.er1
3305 grep -v '^ *+' conftest.er1
>conftest.err
3307 cat conftest.err
>&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } &&
3310 { ac_try
='test -z "$ac_c_werror_flag"
3311 || test ! -s conftest.err'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; } &&
3317 { ac_try
='test -s conftest.$ac_objext'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; }; then
3323 ac_cv_header_sys_wait_h
=yes
3325 echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3328 ac_cv_header_sys_wait_h
=no
3330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3332 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3333 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3334 if test $ac_cv_header_sys_wait_h = yes; then
3336 cat >>confdefs.h
<<\_ACEOF
3337 #define HAVE_SYS_WAIT_H 1
3342 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3352 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3353 inttypes.h stdint.h unistd.h
3355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3356 echo "$as_me:$LINENO: checking for $ac_header" >&5
3357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 cat >conftest.
$ac_ext <<_ACEOF
3364 cat confdefs.h
>>conftest.
$ac_ext
3365 cat >>conftest.
$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3367 $ac_includes_default
3369 #include <$ac_header>
3371 rm -f conftest.
$ac_objext
3372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3373 (eval $ac_compile) 2>conftest.er1
3375 grep -v '^ *+' conftest.er1
>conftest.err
3377 cat conftest.err
>&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } &&
3380 { ac_try
='test -z "$ac_c_werror_flag"
3381 || test ! -s conftest.err'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; } &&
3387 { ac_try
='test -s conftest.$ac_objext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3393 eval "$as_ac_Header=yes"
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 eval "$as_ac_Header=no"
3400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3405 cat >>confdefs.h
<<_ACEOF
3406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3416 for ac_header
in malloc.h unistd.h
3418 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3420 echo "$as_me:$LINENO: checking for $ac_header" >&5
3421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3428 # Is the header compilable?
3429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 $ac_includes_default
3438 #include <$ac_header>
3440 rm -f conftest.
$ac_objext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3442 (eval $ac_compile) 2>conftest.er1
3444 grep -v '^ *+' conftest.er1
>conftest.err
3446 cat conftest.err
>&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } &&
3449 { ac_try
='test -z "$ac_c_werror_flag"
3450 || test ! -s conftest.err'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; } &&
3456 { ac_try
='test -s conftest.$ac_objext'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; }; then
3462 ac_header_compiler
=yes
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.
$ac_ext >&5
3467 ac_header_compiler
=no
3469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3471 echo "${ECHO_T}$ac_header_compiler" >&6
3473 # Is the header present?
3474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3476 cat >conftest.
$ac_ext <<_ACEOF
3479 cat confdefs.h
>>conftest.
$ac_ext
3480 cat >>conftest.
$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #include <$ac_header>
3484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3487 grep -v '^ *+' conftest.er1
>conftest.err
3489 cat conftest.err
>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } >/dev
/null
; then
3492 if test -s conftest.err
; then
3493 ac_cpp_err
=$ac_c_preproc_warn_flag
3494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3501 if test -z "$ac_cpp_err"; then
3502 ac_header_preproc
=yes
3504 echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3507 ac_header_preproc
=no
3509 rm -f conftest.err conftest.
$ac_ext
3510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3511 echo "${ECHO_T}$ac_header_preproc" >&6
3513 # So? What about this header?
3514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3520 ac_header_preproc
=yes
3523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3537 ## ------------------------------------------ ##
3538 ## Report this to the AC_PACKAGE_NAME lists. ##
3539 ## ------------------------------------------ ##
3542 sed "s/^/$as_me: WARNING: /" >&2
3545 echo "$as_me:$LINENO: checking for $ac_header" >&5
3546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 eval "$as_ac_Header=\$ac_header_preproc"
3552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3557 cat >>confdefs.h
<<_ACEOF
3558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3566 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3567 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3568 if test "${ac_cv_c_const+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 cat >conftest.
$ac_ext <<_ACEOF
3574 cat confdefs.h
>>conftest.
$ac_ext
3575 cat >>conftest.
$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3581 /* FIXME: Include the comments suggested by Paul. */
3583 /* Ultrix mips cc rejects this. */
3584 typedef int charset[2];
3586 /* SunOS 4.1.1 cc rejects this. */
3587 char const *const *ccp;
3589 /* NEC SVR4.0.2 mips cc rejects this. */
3590 struct point {int x, y;};
3591 static struct point const zero = {0,0};
3592 /* AIX XL C 1.02.0.0 rejects this.
3593 It does not let you subtract one const X* pointer from another in
3594 an arm of an if-expression whose if-part is not a constant
3596 const char *g = "string";
3597 ccp = &g + (g ? g-g : 0);
3598 /* HPUX 7.0 cc rejects these. */
3601 ccp = (char const *const *) p;
3602 { /* SCO 3.2v4 cc rejects this. */
3604 char const *s = 0 ? (char *) 0 : (char const *) 0;
3608 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3610 const int *foo = &x[0];
3613 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3614 typedef const int *iptr;
3618 { /* AIX XL C 1.02.0.0 rejects this saying
3619 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3620 struct s { int j; const int *ap[3]; };
3621 struct s *b; b->j = 5;
3623 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3632 rm -f conftest.
$ac_objext
3633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 (eval $ac_compile) 2>conftest.er1
3636 grep -v '^ *+' conftest.er1
>conftest.err
3638 cat conftest.err
>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try
='test -z "$ac_c_werror_flag"
3642 || test ! -s conftest.err'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; } &&
3648 { ac_try
='test -s conftest.$ac_objext'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; }; then
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.
$ac_ext >&5
3661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3663 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3664 echo "${ECHO_T}$ac_cv_c_const" >&6
3665 if test $ac_cv_c_const = no
; then
3667 cat >>confdefs.h
<<\_ACEOF
3673 echo "$as_me:$LINENO: checking for pid_t" >&5
3674 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3675 if test "${ac_cv_type_pid_t+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 cat >conftest.
$ac_ext <<_ACEOF
3681 cat confdefs.h
>>conftest.
$ac_ext
3682 cat >>conftest.
$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3684 $ac_includes_default
3696 rm -f conftest.
$ac_objext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3698 (eval $ac_compile) 2>conftest.er1
3700 grep -v '^ *+' conftest.er1
>conftest.err
3702 cat conftest.err
>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } &&
3705 { ac_try
='test -z "$ac_c_werror_flag"
3706 || test ! -s conftest.err'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; } &&
3712 { ac_try
='test -s conftest.$ac_objext'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; }; then
3718 ac_cv_type_pid_t
=yes
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.
$ac_ext >&5
3725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3727 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3728 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3729 if test $ac_cv_type_pid_t = yes; then
3733 cat >>confdefs.h
<<_ACEOF
3740 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3741 # for constant arguments. Useless!
3742 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3743 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3744 if test "${ac_cv_working_alloca_h+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 cat >conftest.
$ac_ext <<_ACEOF
3750 cat confdefs.h
>>conftest.
$ac_ext
3751 cat >>conftest.
$ac_ext <<_ACEOF
3752 /* end confdefs.h. */
3757 char *p = (char *) alloca (2 * sizeof (int));
3762 rm -f conftest.
$ac_objext conftest
$ac_exeext
3763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3764 (eval $ac_link) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } &&
3771 { ac_try
='test -z "$ac_c_werror_flag"
3772 || test ! -s conftest.err'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; } &&
3778 { ac_try
='test -s conftest$ac_exeext'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then
3784 ac_cv_working_alloca_h
=yes
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.
$ac_ext >&5
3789 ac_cv_working_alloca_h
=no
3791 rm -f conftest.err conftest.
$ac_objext \
3792 conftest
$ac_exeext conftest.
$ac_ext
3794 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3795 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3796 if test $ac_cv_working_alloca_h = yes; then
3798 cat >>confdefs.h
<<\_ACEOF
3799 #define HAVE_ALLOCA_H 1
3804 echo "$as_me:$LINENO: checking for alloca" >&5
3805 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3806 if test "${ac_cv_func_alloca_works+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 cat >conftest.
$ac_ext <<_ACEOF
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3816 # define alloca __builtin_alloca
3819 # include <malloc.h>
3820 # define alloca _alloca
3823 # include <alloca.h>
3828 # ifndef alloca /* predefined by HP cc +Olibcalls */
3839 char *p = (char *) alloca (1);
3844 rm -f conftest.
$ac_objext conftest
$ac_exeext
3845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3846 (eval $ac_link) 2>conftest.er1
3848 grep -v '^ *+' conftest.er1
>conftest.err
3850 cat conftest.err
>&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } &&
3853 { ac_try
='test -z "$ac_c_werror_flag"
3854 || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_func_alloca_works
=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 ac_cv_func_alloca_works
=no
3873 rm -f conftest.err conftest.
$ac_objext \
3874 conftest
$ac_exeext conftest.
$ac_ext
3876 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3877 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3879 if test $ac_cv_func_alloca_works = yes; then
3881 cat >>confdefs.h
<<\_ACEOF
3882 #define HAVE_ALLOCA 1
3886 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3887 # that cause trouble. Some versions do not even contain alloca or
3888 # contain a buggy version. If you still want to use their alloca,
3889 # use ar to extract alloca.o from them instead of compiling alloca.c.
3891 ALLOCA
=alloca.
$ac_objext
3893 cat >>confdefs.h
<<\_ACEOF
3898 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3899 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3900 if test "${ac_cv_os_cray+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3909 #if defined(CRAY) && ! defined(CRAY2)
3916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3917 $EGREP "webecray" >/dev
/null
2>&1; then
3925 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3926 echo "${ECHO_T}$ac_cv_os_cray" >&6
3927 if test $ac_cv_os_cray = yes; then
3928 for ac_func
in _getb67 GETB67 getb67
; do
3929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3930 echo "$as_me:$LINENO: checking for $ac_func" >&5
3931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3932 if eval "test \"\${$as_ac_var+set}\" = set"; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 cat >conftest.
$ac_ext <<_ACEOF
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3943 #define $ac_func innocuous_$ac_func
3945 /* System header to define __stub macros and hopefully few prototypes,
3946 which can conflict with char $ac_func (); below.
3947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3948 <limits.h> exists even on freestanding compilers. */
3951 # include <limits.h>
3953 # include <assert.h>
3958 /* Override any gcc2 internal prototype to avoid an error. */
3963 /* We use char because int might match the return type of a gcc2
3964 builtin and then its argument prototype would still apply. */
3966 /* The GNU C library defines this for functions which it implements
3967 to always fail with ENOSYS. Some functions are actually named
3968 something starting with __ and the normal name is an alias. */
3969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3972 char (*f) () = $ac_func;
3981 return f != $ac_func;
3986 rm -f conftest.
$ac_objext conftest
$ac_exeext
3987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3988 (eval $ac_link) 2>conftest.er1
3990 grep -v '^ *+' conftest.er1
>conftest.err
3992 cat conftest.err
>&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } &&
3995 { ac_try
='test -z "$ac_c_werror_flag"
3996 || test ! -s conftest.err'
3997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; } &&
4002 { ac_try
='test -s conftest$ac_exeext'
4003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); }; }; then
4008 eval "$as_ac_var=yes"
4010 echo "$as_me: failed program was:" >&5
4011 sed 's/^/| /' conftest.
$ac_ext >&5
4013 eval "$as_ac_var=no"
4015 rm -f conftest.err conftest.
$ac_objext \
4016 conftest
$ac_exeext conftest.
$ac_ext
4018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4020 if test `eval echo '${'$as_ac_var'}'` = yes; then
4022 cat >>confdefs.h
<<_ACEOF
4023 #define CRAY_STACKSEG_END $ac_func
4032 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4033 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4034 if test "${ac_cv_c_stack_direction+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 if test "$cross_compiling" = yes; then
4038 ac_cv_c_stack_direction
=0
4040 cat >conftest.
$ac_ext <<_ACEOF
4043 cat confdefs.h
>>conftest.
$ac_ext
4044 cat >>conftest.
$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4047 find_stack_direction ()
4049 static char *addr = 0;
4054 return find_stack_direction ();
4057 return (&dummy > addr) ? 1 : -1;
4063 exit (find_stack_direction () < 0);
4066 rm -f conftest
$ac_exeext
4067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4068 (eval $ac_link) 2>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); }; }; then
4077 ac_cv_c_stack_direction
=1
4079 echo "$as_me: program exited with status $ac_status" >&5
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4084 ac_cv_c_stack_direction
=-1
4086 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4089 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4090 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4092 cat >>confdefs.h
<<_ACEOF
4093 #define STACK_DIRECTION $ac_cv_c_stack_direction
4103 for ac_func
in getcwd mkdir strerror strstr
4105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4106 echo "$as_me:$LINENO: checking for $ac_func" >&5
4107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4108 if eval "test \"\${$as_ac_var+set}\" = set"; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 cat >conftest.
$ac_ext <<_ACEOF
4114 cat confdefs.h
>>conftest.
$ac_ext
4115 cat >>conftest.
$ac_ext <<_ACEOF
4116 /* end confdefs.h. */
4117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4119 #define $ac_func innocuous_$ac_func
4121 /* System header to define __stub macros and hopefully few prototypes,
4122 which can conflict with char $ac_func (); below.
4123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4124 <limits.h> exists even on freestanding compilers. */
4127 # include <limits.h>
4129 # include <assert.h>
4134 /* Override any gcc2 internal prototype to avoid an error. */
4139 /* We use char because int might match the return type of a gcc2
4140 builtin and then its argument prototype would still apply. */
4142 /* The GNU C library defines this for functions which it implements
4143 to always fail with ENOSYS. Some functions are actually named
4144 something starting with __ and the normal name is an alias. */
4145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4148 char (*f) () = $ac_func;
4157 return f != $ac_func;
4162 rm -f conftest.
$ac_objext conftest
$ac_exeext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4164 (eval $ac_link) 2>conftest.er1
4166 grep -v '^ *+' conftest.er1
>conftest.err
4168 cat conftest.err
>&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } &&
4171 { ac_try
='test -z "$ac_c_werror_flag"
4172 || test ! -s conftest.err'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; } &&
4178 { ac_try
='test -s conftest$ac_exeext'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then
4184 eval "$as_ac_var=yes"
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 eval "$as_ac_var=no"
4191 rm -f conftest.err conftest.
$ac_objext \
4192 conftest
$ac_exeext conftest.
$ac_ext
4194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4196 if test `eval echo '${'$as_ac_var'}'` = yes; then
4197 cat >>confdefs.h
<<_ACEOF
4198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4212 #include <varargs.h>
4218 int foo(void *s, ...)
4228 rm -f conftest.
$ac_objext
4229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230 (eval $ac_compile) 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -z "$ac_c_werror_flag"
4238 || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest.$ac_objext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 cat >>confdefs.h
<<_ACEOF
4260 #define USE_STD_ARG $USE_STD_ARG
4269 subdirs
="$subdirs cpp"
4272 ac_config_files
="$ac_config_files Makefile doc/Makefile query/Makefile"
4273 cat >confcache
<<\_ACEOF
4274 # This file is a shell script that caches the results of configure
4275 # tests run on this system so they can be shared between configure
4276 # scripts and configure runs, see configure's option --config-cache.
4277 # It is not useful on other systems. If it contains results you don't
4278 # want to keep, you may remove or edit it.
4280 # config.status only pays attention to the cache file if you give it
4281 # the --recheck option to rerun configure.
4283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4289 # The following way of writing the cache mishandles newlines in values,
4290 # but we know of no workaround that is simple, portable, and efficient.
4291 # So, don't put newlines in cache variables' values.
4292 # Ultrix sh set writes to stderr and can't be redirected directly,
4293 # and sets the high bit in the cache file unless we assign to the vars.
4296 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4298 # `set' does not quote correctly, so add quotes (double-quote
4299 # substitution turns \\\\ into \\, and sed turns \\ into \).
4302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4305 # `set' quotes correctly as required by POSIX, so do not add quotes.
4307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4316 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4318 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4319 if test -w $cache_file; then
4320 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4321 cat confcache
>$cache_file
4323 echo "not updating unwritable cache $cache_file"
4328 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4329 # Let make expand exec_prefix.
4330 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4332 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4333 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4334 # trailing colons and then remove the whole line if VPATH becomes empty
4335 # (actually we leave an empty line to preserve line numbers).
4336 if test "x$srcdir" = x.
; then
4337 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4338 s/:*\$(srcdir):*/:/;
4339 s/:*\${srcdir}:*/:/;
4341 s/^\([^=]*=[ ]*\):*/\1/;
4347 DEFS
=-DHAVE_CONFIG_H
4351 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4352 # 1. Remove the extension, and $U if already installed.
4353 ac_i
=`echo "$ac_i" |
4354 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4356 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4357 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4361 LTLIBOBJS
=$ac_ltlibobjs
4365 : ${CONFIG_STATUS=./config.status}
4366 ac_clean_files_save
=$ac_clean_files
4367 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4368 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4369 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4370 cat >$CONFIG_STATUS <<_ACEOF
4372 # Generated by $as_me.
4373 # Run this file to recreate the current configuration.
4374 # Compiler output produced by configure, useful for debugging
4375 # configure, is in config.log if it exists.
4380 SHELL=\${CONFIG_SHELL-$SHELL}
4383 cat >>$CONFIG_STATUS <<\_ACEOF
4384 ## --------------------- ##
4385 ## M4sh Initialization. ##
4386 ## --------------------- ##
4388 # Be Bourne compatible
4389 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4392 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4393 # is contrary to our usage. Disable this feature.
4394 alias -g '${1+"$@"}'='"$@"'
4395 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4398 DUALCASE
=1; export DUALCASE
# for MKS sh
4400 # Support unset when possible.
4401 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4408 # Work around bugs in pre-3.0 UWIN ksh.
4409 $as_unset ENV MAIL MAILPATH
4416 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4417 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4418 LC_TELEPHONE LC_TIME
4420 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4421 eval $as_var=C
; export $as_var
4427 # Required to use basename.
4428 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4434 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4435 as_basename
=basename
4441 # Name of the executable.
4442 as_me
=`$as_basename "$0" ||
4443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4444 X"$0" : 'X\(//\)$' \| \
4445 X"$0" : 'X\(/\)$' \| \
4446 . : '\(.\)' 2>/dev/null ||
4448 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4449 /^X\/\(\/\/\)$/{ s//\1/; q; }
4450 /^X\/\(\/\).*/{ s//\1/; q; }
4454 # PATH needs CR, and LINENO needs CR and PATH.
4455 # Avoid depending upon Character Ranges.
4456 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4457 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4458 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4459 as_cr_digits
='0123456789'
4460 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4462 # The user is always right.
4463 if test "${PATH_SEPARATOR+set}" != set; then
4464 echo "#! /bin/sh" >conf$$.sh
4465 echo "exit 0" >>conf$$.sh
4467 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4478 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4479 test "x$as_lineno_1" != "x$as_lineno_2" &&
4480 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4481 # Find who we are. Look in the path if we contain no path at all
4484 *[\\/]* ) as_myself
=$0 ;;
4485 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4495 # We did not find ourselves, most probably we were run as `sh COMMAND'
4496 # in which case we are not to be found in the path.
4497 if test "x$as_myself" = x
; then
4500 if test ! -f "$as_myself"; then
4501 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4502 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4503 { (exit 1); exit 1; }; }
4505 case $CONFIG_SHELL in
4507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4511 test -z "$as_dir" && as_dir
=.
4512 for as_base
in sh bash ksh sh5
; do
4515 if ("$as_dir/$as_base" -c '
4518 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4519 test "x$as_lineno_1" != "x$as_lineno_2" &&
4520 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4521 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4522 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4523 CONFIG_SHELL
=$as_dir/$as_base
4525 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4533 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4534 # uniformly replaced by the line number. The first 'sed' inserts a
4535 # line-number line before each line; the second 'sed' does the real
4536 # work. The second script uses 'N' to pair each line-number line
4537 # with the numbered line, and appends trailing '-' during
4538 # substitution so that $LINENO is not a special case at line end.
4539 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4540 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4541 sed '=' <$as_myself |
4546 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4549 s,^['$as_cr_digits']*\n,,
4551 chmod +x
$as_me.lineno ||
4552 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4553 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4554 { (exit 1); exit 1; }; }
4556 # Don't try to exec as it changes $[0], causing all sort of problems
4557 # (the dirname of $[0] is not the place where we might find the
4558 # original and so on. Autoconf is especially sensible to this).
4560 # Exit status is that of the last command.
4565 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4566 *c
*,-n*) ECHO_N
= ECHO_C
='
4568 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4569 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4572 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4578 rm -f conf$$ conf$$.exe conf$$.
file
4580 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4581 # We could just check for DJGPP; but this test a) works b) is more generic
4582 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4583 if test -f conf$$.exe
; then
4584 # Don't use ln at all; we don't have any links
4589 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4594 rm -f conf$$ conf$$.exe conf$$.
file
4596 if mkdir
-p .
2>/dev
/null
; then
4599 test -d .
/-p && rmdir .
/-p
4603 as_executable_p
="test -f"
4605 # Sed expression to map a string onto a valid CPP name.
4606 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4608 # Sed expression to map a string onto a valid variable name.
4609 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4613 # We need space, tab and new line, in precisely that order.
4623 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4624 # report actual input values of CONFIG_FILES etc. instead of their
4625 # values after options handling. Logging --version etc. is OK.
4629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4630 ## Running $as_me. ##
4635 This file was extended by $as_me, which was
4636 generated by GNU Autoconf 2.59. Invocation command line was
4638 CONFIG_FILES = $CONFIG_FILES
4639 CONFIG_HEADERS = $CONFIG_HEADERS
4640 CONFIG_LINKS = $CONFIG_LINKS
4641 CONFIG_COMMANDS = $CONFIG_COMMANDS
4645 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4649 # Files that config.status was made for.
4650 if test -n "$ac_config_files"; then
4651 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4654 if test -n "$ac_config_headers"; then
4655 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4658 if test -n "$ac_config_links"; then
4659 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4662 if test -n "$ac_config_commands"; then
4663 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4666 cat >>$CONFIG_STATUS <<\_ACEOF
4669 \`$as_me' instantiates files from templates according to the
4670 current configuration.
4672 Usage: $0 [OPTIONS] [FILE]...
4674 -h, --help print this help, then exit
4675 -V, --version print version number, then exit
4676 -q, --quiet do not print progress messages
4677 -d, --debug don't remove temporary files
4678 --recheck update $as_me by reconfiguring in the same conditions
4679 --file=FILE[:TEMPLATE]
4680 instantiate the configuration file FILE
4681 --header=FILE[:TEMPLATE]
4682 instantiate the configuration header FILE
4684 Configuration files:
4687 Configuration headers:
4690 Report bugs to <bug-autoconf@gnu.org>."
4693 cat >>$CONFIG_STATUS <<_ACEOF
4696 configured by $0, generated by GNU Autoconf 2.59,
4697 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4699 Copyright (C) 2003 Free Software Foundation, Inc.
4700 This config.status script is free software; the Free Software Foundation
4701 gives unlimited permission to copy, distribute and modify it."
4706 cat >>$CONFIG_STATUS <<\_ACEOF
4707 # If no file are specified by the user, then we need to provide default
4708 # value. By we need to know if files were specified by the user.
4714 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4715 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4723 *) # This is not an option, so the user has probably given explicit
4726 ac_need_defaults
=false
;;
4730 # Handling of the options.
4732 cat >>$CONFIG_STATUS <<\_ACEOF
4733 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4735 --version |
--vers* |
-V )
4736 echo "$ac_cs_version"; exit 0 ;;
4738 # Conflict between --help and --header
4739 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4740 Try \`$0 --help' for more information." >&5
4741 echo "$as_me: error: ambiguous option: $1
4742 Try \`$0 --help' for more information." >&2;}
4743 { (exit 1); exit 1; }; };;
4744 --help |
--hel |
-h )
4745 echo "$ac_cs_usage"; exit 0 ;;
4746 --debug |
--d* |
-d )
4748 --file |
--fil |
--fi |
--f )
4750 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4751 ac_need_defaults
=false
;;
4752 --header |
--heade |
--head |
--hea )
4754 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4755 ac_need_defaults
=false
;;
4756 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4757 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4761 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4762 Try \`$0 --help' for more information." >&5
4763 echo "$as_me: error: unrecognized option: $1
4764 Try \`$0 --help' for more information." >&2;}
4765 { (exit 1); exit 1; }; } ;;
4767 *) ac_config_targets
="$ac_config_targets $1" ;;
4773 ac_configure_extra_args
=
4775 if $ac_cs_silent; then
4777 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4781 cat >>$CONFIG_STATUS <<_ACEOF
4782 if \$ac_cs_recheck; then
4783 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4784 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4793 cat >>$CONFIG_STATUS <<\_ACEOF
4794 for ac_config_target
in $ac_config_targets
4796 case "$ac_config_target" in
4797 # Handling of arguments.
4798 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4799 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
4800 "query/Makefile" ) CONFIG_FILES
="$CONFIG_FILES query/Makefile" ;;
4801 "autoconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS autoconfig.h" ;;
4802 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4803 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4804 { (exit 1); exit 1; }; };;
4808 # If the user did not use the arguments to specify the items to instantiate,
4809 # then the envvar interface is used. Set only those that are not.
4810 # We use the long form for the default assignment because of an extremely
4811 # bizarre bug on SunOS 4.1.3.
4812 if $ac_need_defaults; then
4813 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4814 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4817 # Have a temporary directory for convenience. Make it in the build tree
4818 # simply because there is no reason to put it here, and in addition,
4819 # creating and moving files from /tmp can sometimes cause problems.
4820 # Create a temporary directory, and hook for its removal unless debugging.
4823 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4824 trap '{ (exit 1); exit 1; }' 1 2 13 15
4827 # Create a (secure) tmp directory for tmp files.
4830 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4831 test -n "$tmp" && test -d "$tmp"
4834 tmp
=.
/confstat$$
-$RANDOM
4835 (umask 077 && mkdir
$tmp)
4838 echo "$me: cannot create a temporary directory in ." >&2
4839 { (exit 1); exit 1; }
4844 cat >>$CONFIG_STATUS <<_ACEOF
4847 # CONFIG_FILES section.
4850 # No need to generate the scripts if there are no CONFIG_FILES.
4851 # This happens for instance when ./config.status config.h
4852 if test -n "\$CONFIG_FILES"; then
4853 # Protect against being on the right side of a sed subst in config.status.
4854 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4855 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4856 s,@SHELL@,$SHELL,;t t
4857 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4858 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4859 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4860 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4861 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4862 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4863 s,@exec_prefix@,$exec_prefix,;t t
4864 s,@prefix@,$prefix,;t t
4865 s,@program_transform_name@,$program_transform_name,;t t
4866 s,@bindir@,$bindir,;t t
4867 s,@sbindir@,$sbindir,;t t
4868 s,@libexecdir@,$libexecdir,;t t
4869 s,@datadir@,$datadir,;t t
4870 s,@sysconfdir@,$sysconfdir,;t t
4871 s,@sharedstatedir@,$sharedstatedir,;t t
4872 s,@localstatedir@,$localstatedir,;t t
4873 s,@libdir@,$libdir,;t t
4874 s,@includedir@,$includedir,;t t
4875 s,@oldincludedir@,$oldincludedir,;t t
4876 s,@infodir@,$infodir,;t t
4877 s,@mandir@,$mandir,;t t
4878 s,@build_alias@,$build_alias,;t t
4879 s,@host_alias@,$host_alias,;t t
4880 s,@target_alias@,$target_alias,;t t
4882 s,@ECHO_C@,$ECHO_C,;t t
4883 s,@ECHO_N@,$ECHO_N,;t t
4884 s,@ECHO_T@,$ECHO_T,;t t
4888 s,@CFLAGS@,$CFLAGS,;t t
4889 s,@LDFLAGS@,$LDFLAGS,;t t
4890 s,@CPPFLAGS@,$CPPFLAGS,;t t
4891 s,@ac_ct_CC@,$ac_ct_CC,;t t
4892 s,@EXEEXT@,$EXEEXT,;t t
4893 s,@OBJEXT@,$OBJEXT,;t t
4898 s,@LEXLIB@,$LEXLIB,;t t
4899 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4900 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4901 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4902 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4904 s,@SET_MAKE@,$SET_MAKE,;t t
4906 s,@LATEX@,$LATEX,;t t
4907 s,@DVIPS@,$DVIPS,;t t
4908 s,@EGREP@,$EGREP,;t t
4909 s,@ALLOCA@,$ALLOCA,;t t
4910 s,@objdir@,$objdir,;t t
4911 s,@subdirs@,$subdirs,;t t
4912 s,@LIBOBJS@,$LIBOBJS,;t t
4913 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4918 cat >>$CONFIG_STATUS <<\_ACEOF
4919 # Split the substitutions into bite-sized pieces for seds with
4920 # small command number limits, like on Digital OSF/1 and HP-UX.
4922 ac_sed_frag
=1 # Number of current file.
4923 ac_beg
=1 # First line for current file.
4924 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4927 while $ac_more_lines; do
4928 if test $ac_beg -gt 1; then
4929 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4931 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4933 if test ! -s $tmp/subs.frag
; then
4936 # The purpose of the label and of the branching condition is to
4937 # speed up the sed processing (if there are no `@' at all, there
4938 # is no need to browse any of the substitutions).
4939 # These are the two extra sed commands mentioned above.
4941 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4942 if test -z "$ac_sed_cmds"; then
4943 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4945 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4947 ac_sed_frag
=`expr $ac_sed_frag + 1`
4949 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4952 if test -z "$ac_sed_cmds"; then
4955 fi # test -n "$CONFIG_FILES"
4958 cat >>$CONFIG_STATUS <<\_ACEOF
4959 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4960 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4962 - |
*:- |
*:-:* ) # input from stdin
4964 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4965 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4966 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4967 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4968 * ) ac_file_in
=$ac_file.
in ;;
4971 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4972 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974 X"$ac_file" : 'X\(//\)[^/]' \| \
4975 X"$ac_file" : 'X\(//\)$' \| \
4976 X"$ac_file" : 'X\(/\)' \| \
4977 . : '\(.\)' 2>/dev/null ||
4979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4981 /^X\(\/\/\)$/{ s//\1/; q; }
4982 /^X\(\/\).*/{ s//\1/; q; }
4984 { if $as_mkdir_p; then
4989 while test ! -d "$as_dir"; do
4990 as_dirs
="$as_dir $as_dirs"
4991 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4993 X"$as_dir" : 'X\(//\)[^/]' \| \
4994 X"$as_dir" : 'X\(//\)$' \| \
4995 X"$as_dir" : 'X\(/\)' \| \
4996 . : '\(.\)' 2>/dev/null ||
4998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5000 /^X\(\/\/\)$/{ s//\1/; q; }
5001 /^X\(\/\).*/{ s//\1/; q; }
5004 test ! -n "$as_dirs" || mkdir
$as_dirs
5005 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5006 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5007 { (exit 1); exit 1; }; }; }
5011 if test "$ac_dir" != .
; then
5012 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5013 # A "../" for each directory in $ac_dir_suffix.
5014 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5016 ac_dir_suffix
= ac_top_builddir
=
5020 .
) # No --srcdir option. We are building in place.
5022 if test -z "$ac_top_builddir"; then
5025 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5027 [\\/]* | ?
:[\\/]* ) # Absolute path.
5028 ac_srcdir
=$srcdir$ac_dir_suffix;
5029 ac_top_srcdir
=$srcdir ;;
5031 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5032 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5035 # Do not use `cd foo && pwd` to compute absolute paths, because
5036 # the directories may not exist.
5038 .
) ac_abs_builddir
="$ac_dir";;
5041 .
) ac_abs_builddir
=`pwd`;;
5042 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5043 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5046 case $ac_abs_builddir in
5047 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5049 case ${ac_top_builddir}.
in
5050 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5051 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5052 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5055 case $ac_abs_builddir in
5056 .
) ac_abs_srcdir
=$ac_srcdir;;
5059 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5060 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5061 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5064 case $ac_abs_builddir in
5065 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5067 case $ac_top_srcdir in
5068 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5069 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5070 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5076 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5077 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5080 if test x
"$ac_file" != x-
; then
5081 { echo "$as_me:$LINENO: creating $ac_file" >&5
5082 echo "$as_me: creating $ac_file" >&6;}
5085 # Let's still pretend it is `configure' which instantiates (i.e., don't
5086 # use $as_me), people would be surprised to read:
5087 # /* config.h. Generated by config.status. */
5088 if test x
"$ac_file" = x-
; then
5091 configure_input
="$ac_file. "
5093 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5094 sed 's,.*/,,'` by configure."
5096 # First look for the input files in the build tree, otherwise in the
5098 ac_file_inputs
=`IFS=:
5099 for f in $ac_file_in; do
5101 -) echo $tmp/stdin ;;
5103 # Absolute (can't be DOS-style, as IFS=:)
5104 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5105 echo "$as_me: error: cannot find input file: $f" >&2;}
5106 { (exit 1); exit 1; }; }
5109 if test -f "$f"; then
5112 elif test -f "$srcdir/$f"; then
5117 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5118 echo "$as_me: error: cannot find input file: $f" >&2;}
5119 { (exit 1); exit 1; }; }
5122 done` ||
{ (exit 1); exit 1; }
5124 cat >>$CONFIG_STATUS <<_ACEOF
5128 cat >>$CONFIG_STATUS <<\_ACEOF
5130 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5131 s
,@configure_input@
,$configure_input,;t t
5132 s
,@srcdir@
,$ac_srcdir,;t t
5133 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5134 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5135 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5136 s
,@builddir@
,$ac_builddir,;t t
5137 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5138 s
,@top_builddir@
,$ac_top_builddir,;t t
5139 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5140 s
,@INSTALL@
,$ac_INSTALL,;t t
5141 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5143 if test x"$ac_file" != x-; then
5144 mv $tmp/out $ac_file
5152 cat >>$CONFIG_STATUS <<\_ACEOF
5155 # CONFIG_HEADER section.
5158 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5159 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5161 # ac_d sets the value in "#define NAME VALUE" lines.
5162 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5163 ac_dB
='[ ].*$,\1#\2'
5166 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5167 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5168 ac_uB
='$,\1#\2define\3'
5172 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5173 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5175 - |
*:- |
*:-:* ) # input from stdin
5177 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5178 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5179 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5180 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5181 * ) ac_file_in
=$ac_file.
in ;;
5184 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5185 echo "$as_me: creating $ac_file" >&6;}
5187 # First look for the input files in the build tree, otherwise in the
5189 ac_file_inputs
=`IFS=:
5190 for f in $ac_file_in; do
5192 -) echo $tmp/stdin ;;
5194 # Absolute (can't be DOS-style, as IFS=:)
5195 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5196 echo "$as_me: error: cannot find input file: $f" >&2;}
5197 { (exit 1); exit 1; }; }
5198 # Do quote $f, to prevent DOS paths from being IFS'd.
5201 if test -f "$f"; then
5204 elif test -f "$srcdir/$f"; then
5209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5210 echo "$as_me: error: cannot find input file: $f" >&2;}
5211 { (exit 1); exit 1; }; }
5214 done` ||
{ (exit 1); exit 1; }
5215 # Remove the trailing spaces.
5216 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5220 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5221 # `conftest.undefs', that substitutes the proper values into
5222 # config.h.in to produce config.h. The first handles `#define'
5223 # templates, and the second `#undef' templates.
5224 # And first: Protect against being on the right side of a sed subst in
5225 # config.status. Protect against being in an unquoted here document
5227 rm -f conftest.defines conftest.undefs
5228 # Using a here document instead of a string reduces the quoting nightmare.
5229 # Putting comments in sed scripts is not portable.
5231 # `end' is used to avoid that the second main sed command (meant for
5232 # 0-ary CPP macros) applies to n-ary macro definitions.
5233 # See the Autoconf documentation for `clear'.
5234 cat >confdef2sed.
sed <<\_ACEOF
5239 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5241 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5244 # If some macros were called several times there might be several times
5245 # the same #defines, which is useless. Nevertheless, we may not want to
5246 # sort them, since we want the *last* AC-DEFINE to be honored.
5247 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5248 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5249 rm -f confdef2sed.sed
5251 # This sed command replaces #undef with comments. This is necessary, for
5252 # example, in the case of _POSIX_SOURCE, which is predefined and required
5253 # on some systems where configure will not decide to define it.
5254 cat >>conftest.undefs <<\_ACEOF
5255 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5258 # Break up conftest.defines because some shells have a limit on the size
5259 # of here documents, and old seds have small limits too (100 cmds).
5260 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5261 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5262 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5263 echo ' :' >>$CONFIG_STATUS
5265 while grep . conftest.defines >/dev/null
5267 # Write a limited-size here document to $tmp/defines.sed.
5268 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5269 # Speed up: don't consider the non `#define' lines.
5270 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5271 # Work around the forget-to-reset-the-flag bug.
5272 echo 't clr' >>$CONFIG_STATUS
5273 echo ': clr' >>$CONFIG_STATUS
5274 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5276 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5280 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5281 rm -f conftest.defines
5282 mv conftest.
tail conftest.defines
5284 rm -f conftest.defines
5285 echo ' fi # grep' >>$CONFIG_STATUS
5286 echo >>$CONFIG_STATUS
5288 # Break up conftest.undefs because some shells have a limit on the size
5289 # of here documents, and old seds have small limits too (100 cmds).
5290 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5292 while grep . conftest.undefs
>/dev
/null
5294 # Write a limited-size here document to $tmp/undefs.sed.
5295 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5296 # Speed up: don't consider the non
`#undef'
5297 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5298 # Work around the forget-to-reset-the-flag bug.
5299 echo 't clr' >>$CONFIG_STATUS
5300 echo ': clr' >>$CONFIG_STATUS
5301 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5303 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5307 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5308 rm -f conftest.undefs
5309 mv conftest.tail conftest.undefs
5311 rm -f conftest.undefs
5313 cat >>$CONFIG_STATUS <<\_ACEOF
5314 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5315 # use $as_me), people would be surprised to read:
5316 # /* config.h. Generated by config.status. */
5317 if test x
"$ac_file" = x-
; then
5318 echo "/* Generated by configure. */" >$tmp/config.h
5320 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5322 cat $tmp/in >>$tmp/config.h
5324 if test x
"$ac_file" != x-
; then
5325 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5326 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5327 echo "$as_me: $ac_file is unchanged" >&6;}
5329 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5331 X"$ac_file" : 'X\(//\)[^/]' \| \
5332 X"$ac_file" : 'X\(//\)$' \| \
5333 X"$ac_file" : 'X\(/\)' \| \
5334 . : '\(.\)' 2>/dev/null ||
5336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5338 /^X\(\/\/\)$/{ s//\1/; q; }
5339 /^X\(\/\).*/{ s//\1/; q; }
5341 { if $as_mkdir_p; then
5346 while test ! -d "$as_dir"; do
5347 as_dirs
="$as_dir $as_dirs"
5348 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5350 X"$as_dir" : 'X\(//\)[^/]' \| \
5351 X"$as_dir" : 'X\(//\)$' \| \
5352 X"$as_dir" : 'X\(/\)' \| \
5353 . : '\(.\)' 2>/dev/null ||
5355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5357 /^X\(\/\/\)$/{ s//\1/; q; }
5358 /^X\(\/\).*/{ s//\1/; q; }
5361 test ! -n "$as_dirs" || mkdir
$as_dirs
5362 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5364 { (exit 1); exit 1; }; }; }
5367 mv $tmp/config.h
$ac_file
5376 cat >>$CONFIG_STATUS <<\_ACEOF
5378 { (exit 0); exit 0; }
5380 chmod +x
$CONFIG_STATUS
5381 ac_clean_files
=$ac_clean_files_save
5384 # configure is writing to config.log, and then calls config.status.
5385 # config.status does its own redirection, appending to config.log.
5386 # Unfortunately, on DOS this fails, as config.log is still kept open
5387 # by configure, so config.status won't be able to write to it; its
5388 # output is simply discarded. So we exec the FD to /dev/null,
5389 # effectively closing config.log, so it can be properly (re)opened and
5390 # appended to by config.status. When coming back to configure, we
5391 # need to make the FD available again.
5392 if test "$no_create" != yes; then
5394 ac_config_status_args
=
5395 test "$silent" = yes &&
5396 ac_config_status_args
="$ac_config_status_args --quiet"
5398 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5400 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5401 # would make configure fail if this is the last instruction.
5402 $ac_cs_success ||
{ (exit 1); exit 1; }
5406 # CONFIG_SUBDIRS section.
5408 if test "$no_recursion" != yes; then
5410 # Remove --cache-file and --srcdir arguments so they do not pile up.
5411 ac_sub_configure_args
=
5413 for ac_arg
in $ac_configure_args; do
5414 if test -n "$ac_prev"; then
5419 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
5420 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
5421 ac_prev
=cache_file
;;
5422 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
5423 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
5426 --config-cache |
-C)
5428 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
5430 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
5432 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
5434 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
5436 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
5440 # Always prepend --prefix to ensure using the same prefix
5441 # in subdir configurations.
5442 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
5445 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
5447 # Do not complain, so a configure script can configure whichever
5448 # parts of a large source tree are present.
5449 test -d $srcdir/$ac_dir ||
continue
5451 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
5452 echo "$as_me: configuring in $ac_dir" >&6;}
5453 { if $as_mkdir_p; then
5458 while test ! -d "$as_dir"; do
5459 as_dirs
="$as_dir $as_dirs"
5460 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5461 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5462 X"$as_dir" : 'X\(//\)[^/]' \| \
5463 X"$as_dir" : 'X\(//\)$' \| \
5464 X"$as_dir" : 'X\(/\)' \| \
5465 . : '\(.\)' 2>/dev/null ||
5467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5469 /^X\(\/\/\)$/{ s//\1/; q; }
5470 /^X\(\/\).*/{ s//\1/; q; }
5473 test ! -n "$as_dirs" || mkdir
$as_dirs
5474 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5475 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5476 { (exit 1); exit 1; }; }; }
5480 if test "$ac_dir" != .
; then
5481 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5482 # A "../" for each directory in $ac_dir_suffix.
5483 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5485 ac_dir_suffix
= ac_top_builddir
=
5489 .
) # No --srcdir option. We are building in place.
5491 if test -z "$ac_top_builddir"; then
5494 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5496 [\\/]* | ?
:[\\/]* ) # Absolute path.
5497 ac_srcdir
=$srcdir$ac_dir_suffix;
5498 ac_top_srcdir
=$srcdir ;;
5500 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5501 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5504 # Do not use `cd foo && pwd` to compute absolute paths, because
5505 # the directories may not exist.
5507 .
) ac_abs_builddir
="$ac_dir";;
5510 .
) ac_abs_builddir
=`pwd`;;
5511 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5512 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5515 case $ac_abs_builddir in
5516 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5518 case ${ac_top_builddir}.
in
5519 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5520 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5521 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5524 case $ac_abs_builddir in
5525 .
) ac_abs_srcdir
=$ac_srcdir;;
5528 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5529 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5530 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5533 case $ac_abs_builddir in
5534 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5536 case $ac_top_srcdir in
5537 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5538 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5539 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5546 # Check for guested configure; otherwise get Cygnus style configure.
5547 if test -f $ac_srcdir/configure.gnu
; then
5548 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
5549 elif test -f $ac_srcdir/configure
; then
5550 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
5551 elif test -f $ac_srcdir/configure.
in; then
5552 ac_sub_configure
=$ac_configure
5554 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5555 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5559 # The recursion is here.
5560 if test -n "$ac_sub_configure"; then
5561 # Make the cache file name correct relative to the subdirectory.
5563 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
5565 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
5568 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5569 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5570 # The eval makes quoting arguments work.
5571 eval $ac_sub_configure $ac_sub_configure_args \
5572 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
5573 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5574 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5575 { (exit 1); exit 1; }; }